ej-angular2/ej/heatmaplegend.component.ts

40 строки
1.6 KiB
TypeScript
Исходник Обычный вид История

import { CreateComponent, Utils, Type, CreateArrayTagDirective, CreateComplexDirective, ContentChild, forwardRef } from './core';
2017-03-02 10:00:00 +03:00
let HeatMapLegendLegendcolorMappingInputs = Utils.AngularizeInputs(['color', 'value', 'label', 'label.bold', 'label.italic',
'label.text', 'label.textDecoration', 'label.fontSize', 'label.fontFamily', 'label.fontColor'], []);
export let HeatMapLegendLegendcolorMappingDirective = CreateComplexDirective({
selector: 'e-legendcolormappings>e-legendcolormapping',
2017-03-02 10:00:00 +03:00
inputs: HeatMapLegendLegendcolorMappingInputs,
queries: {
}
}, {
tags: [ ],
complexes: ['label'],
type: forwardRef(() => HeatMapLegendComponent)
});
2017-03-02 10:00:00 +03:00
export let HeatMapLegendLegendcolorMappingsDirective = CreateArrayTagDirective('colorMappingCollection', 'ej-heatmaplegend>e-legendcolormappings', HeatMapLegendLegendcolorMappingDirective);
let Outputs = [];
let ComplexProperties = [];
let Inputs = Utils.AngularizeInputs(['width', 'height', 'isResponsive', 'showLabel', 'orientation',
'legendMode', 'colorMappingCollection'], []);
export let HeatMapLegendComponent = CreateComponent('HeatMapLegend', {
selector: 'ej-heatmaplegend',
inputs: Inputs,
outputs: Outputs,
template: '',
queries: {
2017-03-02 10:00:00 +03:00
_colorMappingCollection : new ContentChild(HeatMapLegendLegendcolorMappingsDirective),
}
}, {
tags: ['colorMappingCollection'],
twoways: [],
complexes: ComplexProperties,
});
2017-03-02 10:00:00 +03:00
export const EJ_HEATMAPLEGEND_COMPONENTS: Type<any>[] = [HeatMapLegendComponent , HeatMapLegendLegendcolorMappingsDirective, HeatMapLegendLegendcolorMappingDirective];