@syncfusion/ej2-angular-treemap 20.4.42 → 20.4.48-ngcc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@syncfusion/ej2-angular-treemap.es5.js +387 -0
- package/@syncfusion/ej2-angular-treemap.es5.js.map +1 -0
- package/@syncfusion/ej2-angular-treemap.js +355 -0
- package/@syncfusion/ej2-angular-treemap.js.map +1 -0
- package/CHANGELOG.md +90 -0
- package/dist/ej2-angular-treemap.umd.js +520 -0
- package/dist/ej2-angular-treemap.umd.js.map +1 -0
- package/dist/ej2-angular-treemap.umd.min.js +11 -0
- package/dist/ej2-angular-treemap.umd.min.js.map +1 -0
- package/ej2-angular-treemap.d.ts +5 -0
- package/ej2-angular-treemap.metadata.json +1 -0
- package/package.json +15 -29
- package/postinstall/tagchange.js +18 -0
- package/schematics/utils/lib-details.d.ts +2 -2
- package/schematics/utils/lib-details.js +2 -2
- package/schematics/utils/lib-details.ts +2 -2
- package/src/treemap/colormapping.directive.d.ts +0 -5
- package/src/treemap/levels.directive.d.ts +0 -5
- package/src/treemap/treemap-all.module.d.ts +0 -6
- package/src/treemap/treemap.component.d.ts +0 -3
- package/src/treemap/treemap.module.d.ts +0 -8
- package/esm2020/public_api.mjs +0 -3
- package/esm2020/src/index.mjs +0 -7
- package/esm2020/src/treemap/colormapping.directive.mjs +0 -46
- package/esm2020/src/treemap/levels.directive.mjs +0 -66
- package/esm2020/src/treemap/treemap-all.module.mjs +0 -47
- package/esm2020/src/treemap/treemap.component.mjs +0 -126
- package/esm2020/src/treemap/treemap.module.mjs +0 -43
- package/esm2020/syncfusion-ej2-angular-treemap.mjs +0 -5
- package/fesm2015/syncfusion-ej2-angular-treemap.mjs +0 -316
- package/fesm2015/syncfusion-ej2-angular-treemap.mjs.map +0 -1
- package/fesm2020/syncfusion-ej2-angular-treemap.mjs +0 -316
- package/fesm2020/syncfusion-ej2-angular-treemap.mjs.map +0 -1
- package/syncfusion-ej2-angular-treemap.d.ts +0 -5
|
@@ -0,0 +1,355 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, ContentChild, ContentChildren, Directive, ElementRef, Injector, NgModule, Renderer2, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { ArrayBase, ComplexBase, ComponentBase, ComponentMixins, Template, setValue } from '@syncfusion/ej2-angular-base';
|
|
3
|
+
import { ImageExport, PdfExport, Print, TreeMap, TreeMapHighlight, TreeMapLegend, TreeMapSelection, TreeMapTooltip } from '@syncfusion/ej2-treemap';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
5
|
+
|
|
6
|
+
let input = ['color', 'from', 'label', 'maxOpacity', 'minOpacity', 'showLegend', 'to', 'value'];
|
|
7
|
+
let outputs = [];
|
|
8
|
+
class ColorMappingDirective extends ComplexBase {
|
|
9
|
+
/**
|
|
10
|
+
* @param {?} viewContainerRef
|
|
11
|
+
*/
|
|
12
|
+
constructor(viewContainerRef) {
|
|
13
|
+
super();
|
|
14
|
+
this.viewContainerRef = viewContainerRef;
|
|
15
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
16
|
+
this.registerEvents(outputs);
|
|
17
|
+
this.directivePropList = input;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
ColorMappingDirective.decorators = [
|
|
21
|
+
{ type: Directive, args: [{
|
|
22
|
+
selector: 'e-levels>e-colorMappings>e-colorMapping',
|
|
23
|
+
inputs: input,
|
|
24
|
+
outputs: outputs,
|
|
25
|
+
queries: {}
|
|
26
|
+
},] },
|
|
27
|
+
];
|
|
28
|
+
/**
|
|
29
|
+
* @nocollapse
|
|
30
|
+
*/
|
|
31
|
+
ColorMappingDirective.ctorParameters = () => [
|
|
32
|
+
{ type: ViewContainerRef, },
|
|
33
|
+
];
|
|
34
|
+
/**
|
|
35
|
+
* ColorMapping Array Directive
|
|
36
|
+
*/
|
|
37
|
+
class ColorMappingsDirective extends ArrayBase {
|
|
38
|
+
constructor() {
|
|
39
|
+
super('colormapping');
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
ColorMappingsDirective.decorators = [
|
|
43
|
+
{ type: Directive, args: [{
|
|
44
|
+
selector: 'e-levels>e-colorMappings',
|
|
45
|
+
queries: {
|
|
46
|
+
children: new ContentChildren(ColorMappingDirective)
|
|
47
|
+
},
|
|
48
|
+
},] },
|
|
49
|
+
];
|
|
50
|
+
/**
|
|
51
|
+
* @nocollapse
|
|
52
|
+
*/
|
|
53
|
+
ColorMappingsDirective.ctorParameters = () => [];
|
|
54
|
+
|
|
55
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
56
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
57
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
58
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
59
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
60
|
+
};
|
|
61
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
62
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
63
|
+
};
|
|
64
|
+
let input$1 = ['autoFill', 'border', 'colorMapping', 'fill', 'groupGap', 'groupPadding', 'groupPath', 'headerAlignment', 'headerFormat', 'headerHeight', 'headerStyle', 'headerTemplate', 'opacity', 'showHeader', 'templatePosition'];
|
|
65
|
+
let outputs$1 = [];
|
|
66
|
+
/**
|
|
67
|
+
* Level Directive
|
|
68
|
+
* ```html
|
|
69
|
+
* <e-levels>
|
|
70
|
+
* <e-level></e-level>
|
|
71
|
+
* </e-levels>
|
|
72
|
+
* ```
|
|
73
|
+
*/
|
|
74
|
+
class LevelDirective extends ComplexBase {
|
|
75
|
+
/**
|
|
76
|
+
* @param {?} viewContainerRef
|
|
77
|
+
*/
|
|
78
|
+
constructor(viewContainerRef) {
|
|
79
|
+
super();
|
|
80
|
+
this.viewContainerRef = viewContainerRef;
|
|
81
|
+
this.tags = ['colorMapping'];
|
|
82
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
83
|
+
this.registerEvents(outputs$1);
|
|
84
|
+
this.directivePropList = input$1;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
LevelDirective.decorators = [
|
|
88
|
+
{ type: Directive, args: [{
|
|
89
|
+
selector: 'e-levels>e-level',
|
|
90
|
+
inputs: input$1,
|
|
91
|
+
outputs: outputs$1,
|
|
92
|
+
queries: {
|
|
93
|
+
childColorMapping: new ContentChild(ColorMappingsDirective)
|
|
94
|
+
}
|
|
95
|
+
},] },
|
|
96
|
+
];
|
|
97
|
+
/**
|
|
98
|
+
* @nocollapse
|
|
99
|
+
*/
|
|
100
|
+
LevelDirective.ctorParameters = () => [
|
|
101
|
+
{ type: ViewContainerRef, },
|
|
102
|
+
];
|
|
103
|
+
LevelDirective.propDecorators = {
|
|
104
|
+
'headerTemplate': [{ type: ContentChild, args: ['headerTemplate',] },],
|
|
105
|
+
};
|
|
106
|
+
__decorate([
|
|
107
|
+
Template(),
|
|
108
|
+
__metadata("design:type", Object)
|
|
109
|
+
], LevelDirective.prototype, "headerTemplate", void 0);
|
|
110
|
+
/**
|
|
111
|
+
* Level Array Directive
|
|
112
|
+
*/
|
|
113
|
+
class LevelsDirective extends ArrayBase {
|
|
114
|
+
constructor() {
|
|
115
|
+
super('levels');
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
LevelsDirective.decorators = [
|
|
119
|
+
{ type: Directive, args: [{
|
|
120
|
+
selector: 'ej-treemap>e-levels',
|
|
121
|
+
queries: {
|
|
122
|
+
children: new ContentChildren(LevelDirective)
|
|
123
|
+
},
|
|
124
|
+
},] },
|
|
125
|
+
];
|
|
126
|
+
/**
|
|
127
|
+
* @nocollapse
|
|
128
|
+
*/
|
|
129
|
+
LevelsDirective.ctorParameters = () => [];
|
|
130
|
+
|
|
131
|
+
var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
132
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
133
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
134
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
135
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
136
|
+
};
|
|
137
|
+
var __metadata$1 = (this && this.__metadata) || function (k, v) {
|
|
138
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
139
|
+
};
|
|
140
|
+
const inputs = ['allowImageExport', 'allowPdfExport', 'allowPrint', 'background', 'border', 'breadcrumbConnector', 'colorValuePath', 'dataSource', 'description', 'drillDownView', 'enableBreadcrumb', 'enableDrillDown', 'enablePersistence', 'enableRtl', 'equalColorValuePath', 'format', 'height', 'highlightSettings', 'initialDrillDown', 'layoutType', 'leafItemSettings', 'legendSettings', 'levels', 'locale', 'margin', 'palette', 'query', 'rangeColorValuePath', 'renderDirection', 'selectionSettings', 'tabIndex', 'theme', 'titleSettings', 'tooltipSettings', 'useGroupingSeparator', 'weightValuePath', 'width'];
|
|
141
|
+
const outputs$2 = ['beforePrint', 'click', 'doubleClick', 'drillEnd', 'drillStart', 'itemClick', 'itemHighlight', 'itemMove', 'itemRendering', 'itemSelected', 'legendItemRendering', 'legendRendering', 'load', 'loaded', 'mouseMove', 'resize', 'rightClick', 'tooltipRendering'];
|
|
142
|
+
const twoWays = [''];
|
|
143
|
+
/**
|
|
144
|
+
* TreeMap Component
|
|
145
|
+
* ```html
|
|
146
|
+
* <ej-treemap></ej-treemap>
|
|
147
|
+
* ```
|
|
148
|
+
*/
|
|
149
|
+
let TreeMapComponent = class TreeMapComponent extends TreeMap {
|
|
150
|
+
/**
|
|
151
|
+
* @param {?} ngEle
|
|
152
|
+
* @param {?} srenderer
|
|
153
|
+
* @param {?} viewContainerRef
|
|
154
|
+
* @param {?} injector
|
|
155
|
+
*/
|
|
156
|
+
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
|
157
|
+
super();
|
|
158
|
+
this.ngEle = ngEle;
|
|
159
|
+
this.srenderer = srenderer;
|
|
160
|
+
this.viewContainerRef = viewContainerRef;
|
|
161
|
+
this.injector = injector;
|
|
162
|
+
this.tags = ['levels'];
|
|
163
|
+
this.element = this.ngEle.nativeElement;
|
|
164
|
+
this.injectedModules = this.injectedModules || [];
|
|
165
|
+
try {
|
|
166
|
+
let mod = this.injector.get('TreeMapTreeMapTooltip');
|
|
167
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
168
|
+
this.injectedModules.push(mod);
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
catch (_a) { }
|
|
172
|
+
try {
|
|
173
|
+
let mod = this.injector.get('TreeMapTreeMapLegend');
|
|
174
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
175
|
+
this.injectedModules.push(mod);
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
catch (_b) { }
|
|
179
|
+
try {
|
|
180
|
+
let mod = this.injector.get('TreeMapTreeMapHighlight');
|
|
181
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
182
|
+
this.injectedModules.push(mod);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
catch (_c) { }
|
|
186
|
+
try {
|
|
187
|
+
let mod = this.injector.get('TreeMapTreeMapSelection');
|
|
188
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
189
|
+
this.injectedModules.push(mod);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
catch (_d) { }
|
|
193
|
+
try {
|
|
194
|
+
let mod = this.injector.get('TreeMapPrint');
|
|
195
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
196
|
+
this.injectedModules.push(mod);
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
catch (_e) { }
|
|
200
|
+
try {
|
|
201
|
+
let mod = this.injector.get('TreeMapPdfExport');
|
|
202
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
203
|
+
this.injectedModules.push(mod);
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
catch (_f) { }
|
|
207
|
+
try {
|
|
208
|
+
let mod = this.injector.get('TreeMapImageExport');
|
|
209
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
210
|
+
this.injectedModules.push(mod);
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
catch (_g) { }
|
|
214
|
+
this.registerEvents(outputs$2);
|
|
215
|
+
this.addTwoWay.call(this, twoWays);
|
|
216
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
217
|
+
this.context = new ComponentBase();
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* @return {?}
|
|
221
|
+
*/
|
|
222
|
+
ngOnInit() {
|
|
223
|
+
this.context.ngOnInit(this);
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* @return {?}
|
|
227
|
+
*/
|
|
228
|
+
ngAfterViewInit() {
|
|
229
|
+
this.context.ngAfterViewInit(this);
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* @return {?}
|
|
233
|
+
*/
|
|
234
|
+
ngOnDestroy() {
|
|
235
|
+
this.context.ngOnDestroy(this);
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* @return {?}
|
|
239
|
+
*/
|
|
240
|
+
ngAfterContentChecked() {
|
|
241
|
+
this.tagObjects[0].instance = this.childLevels;
|
|
242
|
+
this.context.ngAfterContentChecked(this);
|
|
243
|
+
}
|
|
244
|
+
};
|
|
245
|
+
TreeMapComponent.decorators = [
|
|
246
|
+
{ type: Component, args: [{
|
|
247
|
+
selector: 'ejs-treemap',
|
|
248
|
+
inputs: inputs,
|
|
249
|
+
outputs: outputs$2,
|
|
250
|
+
template: '',
|
|
251
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
252
|
+
queries: {
|
|
253
|
+
childLevels: new ContentChild(LevelsDirective)
|
|
254
|
+
}
|
|
255
|
+
},] },
|
|
256
|
+
];
|
|
257
|
+
/**
|
|
258
|
+
* @nocollapse
|
|
259
|
+
*/
|
|
260
|
+
TreeMapComponent.ctorParameters = () => [
|
|
261
|
+
{ type: ElementRef, },
|
|
262
|
+
{ type: Renderer2, },
|
|
263
|
+
{ type: ViewContainerRef, },
|
|
264
|
+
{ type: Injector, },
|
|
265
|
+
];
|
|
266
|
+
TreeMapComponent.propDecorators = {
|
|
267
|
+
'tooltipSettings_template': [{ type: ContentChild, args: ['tooltipSettingsTemplate',] },],
|
|
268
|
+
'leafItemSettings_labelTemplate': [{ type: ContentChild, args: ['leafItemSettingsLabelTemplate',] },],
|
|
269
|
+
};
|
|
270
|
+
__decorate$1([
|
|
271
|
+
Template(),
|
|
272
|
+
__metadata$1("design:type", Object)
|
|
273
|
+
], TreeMapComponent.prototype, "tooltipSettings_template", void 0);
|
|
274
|
+
__decorate$1([
|
|
275
|
+
Template(),
|
|
276
|
+
__metadata$1("design:type", Object)
|
|
277
|
+
], TreeMapComponent.prototype, "leafItemSettings_labelTemplate", void 0);
|
|
278
|
+
TreeMapComponent = __decorate$1([
|
|
279
|
+
ComponentMixins([ComponentBase]),
|
|
280
|
+
__metadata$1("design:paramtypes", [ElementRef,
|
|
281
|
+
Renderer2,
|
|
282
|
+
ViewContainerRef,
|
|
283
|
+
Injector])
|
|
284
|
+
], TreeMapComponent);
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* NgModule definition for the TreeMap component.
|
|
288
|
+
*/
|
|
289
|
+
class TreeMapModule {
|
|
290
|
+
}
|
|
291
|
+
TreeMapModule.decorators = [
|
|
292
|
+
{ type: NgModule, args: [{
|
|
293
|
+
imports: [CommonModule],
|
|
294
|
+
declarations: [
|
|
295
|
+
TreeMapComponent,
|
|
296
|
+
ColorMappingDirective,
|
|
297
|
+
ColorMappingsDirective,
|
|
298
|
+
LevelDirective,
|
|
299
|
+
LevelsDirective
|
|
300
|
+
],
|
|
301
|
+
exports: [
|
|
302
|
+
TreeMapComponent,
|
|
303
|
+
ColorMappingDirective,
|
|
304
|
+
ColorMappingsDirective,
|
|
305
|
+
LevelDirective,
|
|
306
|
+
LevelsDirective
|
|
307
|
+
]
|
|
308
|
+
},] },
|
|
309
|
+
];
|
|
310
|
+
/**
|
|
311
|
+
* @nocollapse
|
|
312
|
+
*/
|
|
313
|
+
TreeMapModule.ctorParameters = () => [];
|
|
314
|
+
|
|
315
|
+
const TreeMapTooltipService = { provide: 'TreeMapTreeMapTooltip', useValue: TreeMapTooltip };
|
|
316
|
+
const TreeMapLegendService = { provide: 'TreeMapTreeMapLegend', useValue: TreeMapLegend };
|
|
317
|
+
const TreeMapHighlightService = { provide: 'TreeMapTreeMapHighlight', useValue: TreeMapHighlight };
|
|
318
|
+
const TreeMapSelectionService = { provide: 'TreeMapTreeMapSelection', useValue: TreeMapSelection };
|
|
319
|
+
const PrintService = { provide: 'TreeMapPrint', useValue: Print };
|
|
320
|
+
const PdfExportService = { provide: 'TreeMapPdfExport', useValue: PdfExport };
|
|
321
|
+
const ImageExportService = { provide: 'TreeMapImageExport', useValue: ImageExport };
|
|
322
|
+
/**
|
|
323
|
+
* NgModule definition for the TreeMap component with providers.
|
|
324
|
+
*/
|
|
325
|
+
class TreeMapAllModule {
|
|
326
|
+
}
|
|
327
|
+
TreeMapAllModule.decorators = [
|
|
328
|
+
{ type: NgModule, args: [{
|
|
329
|
+
imports: [CommonModule, TreeMapModule],
|
|
330
|
+
exports: [
|
|
331
|
+
TreeMapModule
|
|
332
|
+
],
|
|
333
|
+
providers: [
|
|
334
|
+
TreeMapTooltipService,
|
|
335
|
+
TreeMapLegendService,
|
|
336
|
+
TreeMapHighlightService,
|
|
337
|
+
TreeMapSelectionService,
|
|
338
|
+
PrintService,
|
|
339
|
+
PdfExportService,
|
|
340
|
+
ImageExportService
|
|
341
|
+
]
|
|
342
|
+
},] },
|
|
343
|
+
];
|
|
344
|
+
/**
|
|
345
|
+
* @nocollapse
|
|
346
|
+
*/
|
|
347
|
+
TreeMapAllModule.ctorParameters = () => [];
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* Generated bundle index. Do not edit.
|
|
351
|
+
*/
|
|
352
|
+
|
|
353
|
+
export { ColorMappingDirective, ColorMappingsDirective, LevelDirective, LevelsDirective, TreeMapComponent, TreeMapModule, TreeMapAllModule, TreeMapTooltipService, TreeMapLegendService, TreeMapHighlightService, TreeMapSelectionService, PrintService, PdfExportService, ImageExportService, inputs as ɵa, outputs$2 as ɵb };
|
|
354
|
+
export { TreeMap, LevelsData, Border, Margin, Font, CommonTitleSettings, SubTitleSettings, TitleSettings, ColorMapping, LegendSettings, InitialDrillSettings, LeafItemSettings, TooltipSettings, SelectionSettings, HighlightSettings, LevelSettings, load, loaded, beforePrint, itemRendering, drillStart, drillEnd, itemSelected, itemHighlight, tooltipRendering, itemClick, itemMove, click, doubleClick, rightClick, mouseMove, legendItemRendering, legendRendering, resize, defaultFont, Theme, getThemeStyle, Size, stringToNumber, Rect, RectOption, PathOption, measureText, TextOption, textTrim, Location, findPosition, createTextStyle, renderTextElement, setItemTemplateContent, getElement, itemsToOrder, isContainsData, findChildren, findHightLightItems, getTemplateFunction, convertElement, findLabelLocation, measureElement, getArea, getShortestEdge, convertToContainer, convertToRect, getMousePosition, colorMap, deSaturationColor, colorCollections, rgbToHex, getColorByValue, getGradientColor, getPercentageColor, getPercentage, wordWrap, textWrap, hide, orderByArea, maintainSelection, legendMaintain, removeClassNames, applyOptions, textFormatter, formatValue, ColorValue, convertToHexCode, componentToHex, convertHexToColor, colorNameToHex, drawSymbol, renderLegendShape, isParentItem, TreeMapAjax, removeShape, removeLegend, setColor, removeSelectionWithHighlight, getLegendIndex, pushCollection, triggerDownload, removeElement, TreeMapLegend, LayoutPanel, TreeMapHighlight, TreeMapSelection, TreeMapTooltip, ImageExport, PdfExport, Print } from '@syncfusion/ej2-treemap';
|
|
355
|
+
//# sourceMappingURL=ej2-angular-treemap.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ej2-angular-treemap.js","sources":["~/@syncfusion/ej2-angular-treemap/ej2-angular-treemap.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/treemap-all.module.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/treemap.module.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/treemap.component.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/levels.directive.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/colormapping.directive.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport {ColorMappingDirective,ColorMappingsDirective,LevelDirective,LevelsDirective,TreeMapComponent,TreeMapModule,TreeMapAllModule,TreeMapTooltipService,TreeMapLegendService,TreeMapHighlightService,TreeMapSelectionService,PrintService,PdfExportService,ImageExportService,TreeMap,LevelsData,TreeMapModel,LevelsDataModel,MarkerShape,Border,Margin,Font,CommonTitleSettings,SubTitleSettings,TitleSettings,ColorMapping,LegendSettings,InitialDrillSettings,LeafItemSettings,TooltipSettings,SelectionSettings,HighlightSettings,LevelSettings,BorderModel,MarginModel,FontModel,CommonTitleSettingsModel,SubTitleSettingsModel,TitleSettingsModel,ColorMappingModel,LegendSettingsModel,InitialDrillSettingsModel,LeafItemSettingsModel,TooltipSettingsModel,SelectionSettingsModel,HighlightSettingsModel,LevelSettingsModel,load,loaded,beforePrint,itemRendering,drillStart,drillEnd,itemSelected,itemHighlight,tooltipRendering,itemClick,itemMove,click,doubleClick,rightClick,mouseMove,legendItemRendering,legendRendering,resize,defaultFont,ITreeMapEventArgs,IPrintEventArgs,ILoadEventArgs,ILoadedEventArgs,IItemRenderingEventArgs,IDrillStartEventArgs,IDrillEndEventArgs,IItemClickEventArgs,IItemDataEventArgs,IItemMoveEventArgs,IClickEventArgs,IDoubleClickEventArgs,IRightClickEventArgs,IMouseMoveEventArgs,IItemSelectedEventArgs,IItemHighlightEventArgs,ITreeMapTooltipRenderEventArgs,ITreeMapTooltipArgs,ILegendItemRenderingEventArgs,ILegendRenderingEventArgs,IResizeEventArgs,IFontMapping,IShapes,IThemeStyle,Theme,getThemeStyle,LabelPosition,LayoutMode,Alignment,HighLightMode,SelectionMode,ExportType,LabelAlignment,LegendShape,LegendPosition,LegendMode,LegendOrientation,LabelIntersectAction,LabelPlacement,TreeMapTheme,RenderingMode,Size,stringToNumber,Rect,RectOption,PathOption,measureText,TextOption,textTrim,Location,findPosition,createTextStyle,renderTextElement,setItemTemplateContent,getElement,itemsToOrder,isContainsData,findChildren,findHightLightItems,getTemplateFunction,convertElement,findLabelLocation,measureElement,getArea,getShortestEdge,convertToContainer,convertToRect,getMousePosition,colorMap,deSaturationColor,colorCollections,rgbToHex,getColorByValue,getGradientColor,getPercentageColor,getPercentage,wordWrap,textWrap,hide,orderByArea,maintainSelection,legendMaintain,removeClassNames,applyOptions,textFormatter,formatValue,ColorValue,convertToHexCode,componentToHex,convertHexToColor,colorNameToHex,drawSymbol,renderLegendShape,isParentItem,TreeMapAjax,removeShape,removeLegend,setColor,removeSelectionWithHighlight,getLegendIndex,pushCollection,triggerDownload,removeElement,TreeMapLegend,LayoutPanel,TreeMapHighlight,TreeMapSelection,TreeMapTooltip,ImageExport,PdfExport,Print} from './public_api';\n\nexport {inputs as ɵa,outputs as ɵb} from './src/treemap/treemap.component';","import { NgModule, ValueProvider } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColorMappingDirective, ColorMappingsDirective } from './colormapping.directive';\nimport { LevelDirective, LevelsDirective } from './levels.directive';\nimport { TreeMapComponent } from './treemap.component';\nimport { TreeMapModule } from './treemap.module';\nimport {TreeMapTooltip, TreeMapLegend, TreeMapHighlight, TreeMapSelection, Print, PdfExport, ImageExport} from '@syncfusion/ej2-treemap';\n\n\nexport const /** @type {?} */ TreeMapTooltipService: ValueProvider = { provide: 'TreeMapTreeMapTooltip', useValue: TreeMapTooltip};\nexport const /** @type {?} */ TreeMapLegendService: ValueProvider = { provide: 'TreeMapTreeMapLegend', useValue: TreeMapLegend};\nexport const /** @type {?} */ TreeMapHighlightService: ValueProvider = { provide: 'TreeMapTreeMapHighlight', useValue: TreeMapHighlight};\nexport const /** @type {?} */ TreeMapSelectionService: ValueProvider = { provide: 'TreeMapTreeMapSelection', useValue: TreeMapSelection};\nexport const /** @type {?} */ PrintService: ValueProvider = { provide: 'TreeMapPrint', useValue: Print};\nexport const /** @type {?} */ PdfExportService: ValueProvider = { provide: 'TreeMapPdfExport', useValue: PdfExport};\nexport const /** @type {?} */ ImageExportService: ValueProvider = { provide: 'TreeMapImageExport', useValue: ImageExport};\n/**\n * NgModule definition for the TreeMap component with providers.\n */\nexport class TreeMapAllModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule, TreeMapModule],\n exports: [\n TreeMapModule\n ],\n providers:[\n TreeMapTooltipService,\n TreeMapLegendService,\n TreeMapHighlightService,\n TreeMapSelectionService,\n PrintService,\n PdfExportService,\n ImageExportService\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction TreeMapAllModule_tsickle_Closure_declarations() {\n/** @type {?} */\nTreeMapAllModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nTreeMapAllModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColorMappingDirective, ColorMappingsDirective } from './colormapping.directive';\nimport { LevelDirective, LevelsDirective } from './levels.directive';\nimport { TreeMapComponent } from './treemap.component';\n/**\n * NgModule definition for the TreeMap component.\n */\nexport class TreeMapModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule],\n declarations: [\n TreeMapComponent,\n ColorMappingDirective,\n ColorMappingsDirective,\n LevelDirective,\n LevelsDirective\n ],\n exports: [\n TreeMapComponent,\n ColorMappingDirective,\n ColorMappingsDirective,\n LevelDirective,\n LevelsDirective\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction TreeMapModule_tsickle_Closure_declarations() {\n/** @type {?} */\nTreeMapModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nTreeMapModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Component, ElementRef, ViewContainerRef, ChangeDetectionStrategy, QueryList, Renderer2, Injector, ValueProvider, ContentChild } from '@angular/core';\nimport { ComponentBase, IComponentBase, applyMixins, ComponentMixins, PropertyCollectionInfo, setValue } from '@syncfusion/ej2-angular-base';\nimport { TreeMap } from '@syncfusion/ej2-treemap';\nimport { Template } from '@syncfusion/ej2-angular-base';\nimport { LevelsDirective } from './levels.directive';\n\nexport const /** @type {?} */ inputs: string[] = ['allowImageExport','allowPdfExport','allowPrint','background','border','breadcrumbConnector','colorValuePath','dataSource','description','drillDownView','enableBreadcrumb','enableDrillDown','enablePersistence','enableRtl','equalColorValuePath','format','height','highlightSettings','initialDrillDown','layoutType','leafItemSettings','legendSettings','levels','locale','margin','palette','query','rangeColorValuePath','renderDirection','selectionSettings','tabIndex','theme','titleSettings','tooltipSettings','useGroupingSeparator','weightValuePath','width'];\nexport const /** @type {?} */ outputs: string[] = ['beforePrint','click','doubleClick','drillEnd','drillStart','itemClick','itemHighlight','itemMove','itemRendering','itemSelected','legendItemRendering','legendRendering','load','loaded','mouseMove','resize','rightClick','tooltipRendering'];\nexport const /** @type {?} */ twoWays: string[] = [''];\n/**\n * TreeMap Component\n * ```html\n * <ej-treemap></ej-treemap>\n * ```\n */\n@ComponentMixins([ComponentBase])\nexport class TreeMapComponent extends TreeMap implements IComponentBase {\npublic context : any;\npublic tagObjects: any;\n\tbeforePrint: any;\n\tclick: any;\n\tdoubleClick: any;\n\tdrillEnd: any;\n\tdrillStart: any;\n\titemClick: any;\n\titemHighlight: any;\n\titemMove: any;\n\titemRendering: any;\n\titemSelected: any;\n\tlegendItemRendering: any;\n\tlegendRendering: any;\n\tload: any;\n\tloaded: any;\n\tmouseMove: any;\n\tresize: any;\n\trightClick: any;\npublic tooltipRendering: any;\npublic childLevels: QueryList<LevelsDirective>;\npublic tags: string[] = ['levels'];\n \n @Template()\npublic tooltipSettings_template: any;\n \n @Template()\npublic leafItemSettings_labelTemplate: any;\n/**\n * @param {?} ngEle\n * @param {?} srenderer\n * @param {?} viewContainerRef\n * @param {?} injector\n */\nconstructor(private ngEle: ElementRef,\nprivate srenderer: Renderer2,\nprivate viewContainerRef:ViewContainerRef,\nprivate injector: Injector) {\n super();\n this.element = this.ngEle.nativeElement;\n this.injectedModules = this.injectedModules || [];\n try {\n let mod = this.injector.get('TreeMapTreeMapTooltip');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapTreeMapLegend');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapTreeMapHighlight');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapTreeMapSelection');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapPrint');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapPdfExport');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapImageExport');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.context = new ComponentBase();\n }\n/**\n * @return {?}\n */\npublic ngOnInit() {\n this.context.ngOnInit(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterViewInit(): void {\n this.context.ngAfterViewInit(this);\n }\n/**\n * @return {?}\n */\npublic ngOnDestroy(): void {\n this.context.ngOnDestroy(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterContentChecked(): void {\n this.tagObjects[0].instance = this.childLevels;\n this.context.ngAfterContentChecked(this);\n }\npublic registerEvents: (eventList: string[]) => void;\npublic addTwoWay: (propList: string[]) => void;\nstatic decorators: DecoratorInvocation[] = [\n{ type: Component, args: [{\n selector: 'ejs-treemap',\n inputs: inputs,\n outputs: outputs,\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n queries: {\n childLevels: new ContentChild(LevelsDirective)\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ElementRef, },\n{type: Renderer2, },\n{type: ViewContainerRef, },\n{type: Injector, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'tooltipSettings_template': [{ type: ContentChild, args: ['tooltipSettingsTemplate', ] },],\n'leafItemSettings_labelTemplate': [{ type: ContentChild, args: ['leafItemSettingsLabelTemplate', ] },],\n};\n}\n\nfunction TreeMapComponent_tsickle_Closure_declarations() {\n/** @type {?} */\nTreeMapComponent.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nTreeMapComponent.ctorParameters;\n/** @type {?} */\nTreeMapComponent.propDecorators;\n/** @type {?} */\nTreeMapComponent.prototype.context;\n/** @type {?} */\nTreeMapComponent.prototype.tagObjects;\n/** @type {?} */\nTreeMapComponent.prototype.beforePrint;\n/** @type {?} */\nTreeMapComponent.prototype.click;\n/** @type {?} */\nTreeMapComponent.prototype.doubleClick;\n/** @type {?} */\nTreeMapComponent.prototype.drillEnd;\n/** @type {?} */\nTreeMapComponent.prototype.drillStart;\n/** @type {?} */\nTreeMapComponent.prototype.itemClick;\n/** @type {?} */\nTreeMapComponent.prototype.itemHighlight;\n/** @type {?} */\nTreeMapComponent.prototype.itemMove;\n/** @type {?} */\nTreeMapComponent.prototype.itemRendering;\n/** @type {?} */\nTreeMapComponent.prototype.itemSelected;\n/** @type {?} */\nTreeMapComponent.prototype.legendItemRendering;\n/** @type {?} */\nTreeMapComponent.prototype.legendRendering;\n/** @type {?} */\nTreeMapComponent.prototype.load;\n/** @type {?} */\nTreeMapComponent.prototype.loaded;\n/** @type {?} */\nTreeMapComponent.prototype.mouseMove;\n/** @type {?} */\nTreeMapComponent.prototype.resize;\n/** @type {?} */\nTreeMapComponent.prototype.rightClick;\n/** @type {?} */\nTreeMapComponent.prototype.tooltipRendering;\n/** @type {?} */\nTreeMapComponent.prototype.childLevels;\n/** @type {?} */\nTreeMapComponent.prototype.tags;\n/** @type {?} */\nTreeMapComponent.prototype.tooltipSettings_template;\n/** @type {?} */\nTreeMapComponent.prototype.leafItemSettings_labelTemplate;\n/** @type {?} */\nTreeMapComponent.prototype.registerEvents;\n/** @type {?} */\nTreeMapComponent.prototype.addTwoWay;\n/** @type {?} */\nTreeMapComponent.prototype.ngEle;\n/** @type {?} */\nTreeMapComponent.prototype.srenderer;\n/** @type {?} */\nTreeMapComponent.prototype.viewContainerRef;\n/** @type {?} */\nTreeMapComponent.prototype.injector;\n}\n\n\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Directive, ViewContainerRef, ContentChildren, ContentChild } from '@angular/core';\nimport { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';\nimport { Template } from '@syncfusion/ej2-angular-base';\nimport { ColorMappingsDirective } from './colormapping.directive';\n\nlet /** @type {?} */ input: string[] = ['autoFill', 'border', 'colorMapping', 'fill', 'groupGap', 'groupPadding', 'groupPath', 'headerAlignment', 'headerFormat', 'headerHeight', 'headerStyle', 'headerTemplate', 'opacity', 'showHeader', 'templatePosition'];\nlet /** @type {?} */ outputs: string[] = [];\n/**\n * Level Directive\n * ```html\n * <e-levels>\n * <e-level></e-level>\n * </e-levels>\n * ```\n */\nexport class LevelDirective extends ComplexBase<LevelDirective> {\npublic directivePropList: any;\npublic childColorMapping: any;\npublic tags: string[] = ['colorMapping'];\n/**\n * Enables or disables the automatic filling of the colors in the items in the treemap component.\n * \\@default false\n */\npublic autoFill: any;\n/**\n * Sets and gets the options for customizing the color and width of the border of \n * the levels of the treemap component.\n */\npublic border: any;\n/**\n * Sets and gets the options for customizing the color-mapping in the treemap component.\n */\npublic colorMapping: any;\n/**\n * Sets and gets the fill color of the level in the treemap component.\n * \\@default null\n */\npublic fill: any;\n/**\n * Sets and gets the gap between the levels in the treemap component.\n * \\@default 0\n */\npublic groupGap: any;\n/**\n * Sets and gets the padding of levels in the treemap component.\n * \\@default 10\n */\npublic groupPadding: any;\n/**\n * Sets and gets the value path from the data source in the treemap component to render the item.\n * \\@default null\n */\npublic groupPath: any;\n/**\n * Sets and gets the alignment of the header of the treemap component.\n * \\@default 'Near'\n */\npublic headerAlignment: any;\n/**\n * Sets and gets the format of header of the levels in the treemap component.\n * \\@default null\n */\npublic headerFormat: any;\n/**\n * Sets and gets the height of header in the treemap component.\n * \\@default 20\n */\npublic headerHeight: any;\n/**\n * Sets and gets the options for customizing the style of header of the treemap component.\n */\npublic headerStyle: any;\n/**\n * Sets and gets the opacity in the treemap component.\n * \\@default 1\n */\npublic opacity: any;\n/**\n * Shows or hides the header in level of the treemap component.\n * \\@default true\n */\npublic showHeader: any;\n/**\n * Sets and gets the options for customizing the template position of the treemap component.\n * \\@default 'TopLeft'\n */\npublic templatePosition: any;\n/**\n * Sets and gets the template for header in the treemap component.\n * \\@default null\n */\n@Template()\n public headerTemplate: any;\n/**\n * @param {?} viewContainerRef\n */\nconstructor(private viewContainerRef:ViewContainerRef) {\n super();\n setValue('currentInstance', this, this.viewContainerRef);\n this.registerEvents(outputs);\n this.directivePropList = input;\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'e-levels>e-level',\n inputs: input,\n outputs: outputs, \n queries: {\n childColorMapping: new ContentChild(ColorMappingsDirective)\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ViewContainerRef, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'headerTemplate': [{ type: ContentChild, args: ['headerTemplate', ] },],\n};\n}\n\nfunction LevelDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nLevelDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nLevelDirective.ctorParameters;\n/** @type {?} */\nLevelDirective.propDecorators;\n/** @type {?} */\nLevelDirective.prototype.directivePropList;\n/** @type {?} */\nLevelDirective.prototype.childColorMapping;\n/** @type {?} */\nLevelDirective.prototype.tags;\n/**\n * Enables or disables the automatic filling of the colors in the items in the treemap component.\n * \\@default false\n * @type {?}\n */\nLevelDirective.prototype.autoFill;\n/**\n * Sets and gets the options for customizing the color and width of the border of \n * the levels of the treemap component.\n * @type {?}\n */\nLevelDirective.prototype.border;\n/**\n * Sets and gets the options for customizing the color-mapping in the treemap component.\n * @type {?}\n */\nLevelDirective.prototype.colorMapping;\n/**\n * Sets and gets the fill color of the level in the treemap component.\n * \\@default null\n * @type {?}\n */\nLevelDirective.prototype.fill;\n/**\n * Sets and gets the gap between the levels in the treemap component.\n * \\@default 0\n * @type {?}\n */\nLevelDirective.prototype.groupGap;\n/**\n * Sets and gets the padding of levels in the treemap component.\n * \\@default 10\n * @type {?}\n */\nLevelDirective.prototype.groupPadding;\n/**\n * Sets and gets the value path from the data source in the treemap component to render the item.\n * \\@default null\n * @type {?}\n */\nLevelDirective.prototype.groupPath;\n/**\n * Sets and gets the alignment of the header of the treemap component.\n * \\@default 'Near'\n * @type {?}\n */\nLevelDirective.prototype.headerAlignment;\n/**\n * Sets and gets the format of header of the levels in the treemap component.\n * \\@default null\n * @type {?}\n */\nLevelDirective.prototype.headerFormat;\n/**\n * Sets and gets the height of header in the treemap component.\n * \\@default 20\n * @type {?}\n */\nLevelDirective.prototype.headerHeight;\n/**\n * Sets and gets the options for customizing the style of header of the treemap component.\n * @type {?}\n */\nLevelDirective.prototype.headerStyle;\n/**\n * Sets and gets the opacity in the treemap component.\n * \\@default 1\n * @type {?}\n */\nLevelDirective.prototype.opacity;\n/**\n * Shows or hides the header in level of the treemap component.\n * \\@default true\n * @type {?}\n */\nLevelDirective.prototype.showHeader;\n/**\n * Sets and gets the options for customizing the template position of the treemap component.\n * \\@default 'TopLeft'\n * @type {?}\n */\nLevelDirective.prototype.templatePosition;\n/**\n * Sets and gets the template for header in the treemap component.\n * \\@default null\n * @type {?}\n */\nLevelDirective.prototype.headerTemplate;\n/** @type {?} */\nLevelDirective.prototype.viewContainerRef;\n}\n\n/**\n * Level Array Directive\n */\nexport class LevelsDirective extends ArrayBase<LevelsDirective> {\nconstructor() {\n super('levels');\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'ej-treemap>e-levels',\n queries: {\n children: new ContentChildren(LevelDirective)\n },\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction LevelsDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nLevelsDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nLevelsDirective.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Directive, ViewContainerRef, ContentChildren } from '@angular/core';\nimport { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';\n\n\n\nlet /** @type {?} */ input: string[] = ['color', 'from', 'label', 'maxOpacity', 'minOpacity', 'showLegend', 'to', 'value'];\nlet /** @type {?} */ outputs: string[] = [];\nexport class ColorMappingDirective extends ComplexBase<ColorMappingDirective> {\npublic directivePropList: any;\n/**\n * Sets and gets the color for the color-mapping in treemap.\n * \\@default null\n */\npublic color: any;\n/**\n * Sets and gets the value from which the range of color mapping starts.\n * \\@default null\n */\npublic from: any;\n/**\n * Sets and gets the label text for the legend based on color mapping.\n * \\@default null\n */\npublic label: any;\n/**\n * Sets and gets the maximum opacity for the color-mapping in the treemap component.\n * \\@default null\n */\npublic maxOpacity: any;\n/**\n * Sets and gets the minimum opacity for the color-mapping in the treemap component.\n * \\@default null\n */\npublic minOpacity: any;\n/**\n * Enables or disables the visibility of the legend for color mapping in the treemap component.\n * \\@default true\n */\npublic showLegend: any;\n/**\n * Sets and gets the value to which the range of color mapping ends.\n * \\@default null\n */\npublic to: any;\n/**\n * Sets and gets the value for the color-mapping from the data source.\n * \\@default null\n */\npublic value: any;\n/**\n * @param {?} viewContainerRef\n */\nconstructor(private viewContainerRef:ViewContainerRef) {\n super();\n setValue('currentInstance', this, this.viewContainerRef);\n this.registerEvents(outputs);\n this.directivePropList = input;\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'e-levels>e-colorMappings>e-colorMapping',\n inputs: input,\n outputs: outputs, \n queries: {\n\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ViewContainerRef, },\n];\n}\n\nfunction ColorMappingDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColorMappingDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColorMappingDirective.ctorParameters;\n/** @type {?} */\nColorMappingDirective.prototype.directivePropList;\n/**\n * Sets and gets the color for the color-mapping in treemap.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.color;\n/**\n * Sets and gets the value from which the range of color mapping starts.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.from;\n/**\n * Sets and gets the label text for the legend based on color mapping.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.label;\n/**\n * Sets and gets the maximum opacity for the color-mapping in the treemap component.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.maxOpacity;\n/**\n * Sets and gets the minimum opacity for the color-mapping in the treemap component.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.minOpacity;\n/**\n * Enables or disables the visibility of the legend for color mapping in the treemap component.\n * \\@default true\n * @type {?}\n */\nColorMappingDirective.prototype.showLegend;\n/**\n * Sets and gets the value to which the range of color mapping ends.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.to;\n/**\n * Sets and gets the value for the color-mapping from the data source.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.value;\n/** @type {?} */\nColorMappingDirective.prototype.viewContainerRef;\n}\n\n/**\n * ColorMapping Array Directive\n */\nexport class ColorMappingsDirective extends ArrayBase<ColorMappingsDirective> {\nconstructor() {\n super('colormapping');\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'e-levels>e-colorMappings',\n queries: {\n children: new ContentChildren(ColorMappingDirective)\n },\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction ColorMappingsDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColorMappingsDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColorMappingsDirective.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"],"names":["__metadata","__decorate","outputs","input"],"mappings":";;;;;AKKA,IAAI,KAAA,GAAkB,CAAA,OAAE,EAAQ,MAAA,EAAQ,OAAA,EAAS,YAAA,EAAc,YAAA,EAAc,YAAA,EAAc,IAAA,EAAM,OAAA,CAAQ,CAAC;AAC1G,IAAI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|
+
<!-- markdownlint-disable MD030 -->
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
<!-- markdownlint-disable MD004 -->
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
# Changelog
|
|
11
|
+
|
|
12
|
+
## [Unreleased]
|
|
13
|
+
|
|
14
|
+
## 18.2.44 (2020-07-07)
|
|
15
|
+
|
|
16
|
+
### TreeMap
|
|
17
|
+
|
|
18
|
+
#### New Features
|
|
19
|
+
|
|
20
|
+
- `#280380` - `isResized` argument is exposed in the `loaded` event arguments for indicating that the component is resized.
|
|
21
|
+
|
|
22
|
+
#### Bug Fixes
|
|
23
|
+
|
|
24
|
+
- `#280380` - Color of the treemap item will be maintained when the fill color of the selection settings is not provided.
|
|
25
|
+
|
|
26
|
+
## 17.1.48 (2019-05-21)
|
|
27
|
+
|
|
28
|
+
### TreeMap
|
|
29
|
+
|
|
30
|
+
#### Bug Fixes
|
|
31
|
+
|
|
32
|
+
- `#I235721` - The issue with color value in individual nodes of levels in treemap has been resolved.
|
|
33
|
+
|
|
34
|
+
## 17.1.44 (2019-05-07)
|
|
35
|
+
|
|
36
|
+
### TreeMap
|
|
37
|
+
|
|
38
|
+
#### Bug Fixes
|
|
39
|
+
|
|
40
|
+
- `#I234615` - The issue with value from the "fill" property is not applied when we have both the "fill" and "colorValuePath" APIs has been fixed.
|
|
41
|
+
|
|
42
|
+
## 17.1.42 (2019-04-23)
|
|
43
|
+
|
|
44
|
+
### TreeMap
|
|
45
|
+
|
|
46
|
+
#### Bug Fixes
|
|
47
|
+
|
|
48
|
+
- `#I233284` – The issue of breaking the treemap, if data contains the "_" character in its value has been fixed.
|
|
49
|
+
|
|
50
|
+
## 17.1.32-beta (2019-03-13)
|
|
51
|
+
|
|
52
|
+
### TreeMap
|
|
53
|
+
|
|
54
|
+
#### New Features
|
|
55
|
+
|
|
56
|
+
- The right-to-left (RTL) rendering support has been provided.
|
|
57
|
+
- Load on-demand option has been provided to load and render the child items dynamically.
|
|
58
|
+
- Responsive support has been provided to the TreeMap legend.
|
|
59
|
+
- The 'doubleClick', 'rightClick', and 'legendRendering' events have been provided in TreeMap.
|
|
60
|
+
|
|
61
|
+
## 16.4.40-beta (2018-12-10)
|
|
62
|
+
|
|
63
|
+
### TreeMap
|
|
64
|
+
|
|
65
|
+
#### New Features
|
|
66
|
+
|
|
67
|
+
- Support has been added for desaturation color mapping.
|
|
68
|
+
- Support has been added to hide specific legend items and bind legend text from data source.
|
|
69
|
+
- Support has been added for highlighting or selecting the legend items along with shapes.
|
|
70
|
+
- Support has been added to bind colors for the items from the data source.
|
|
71
|
+
|
|
72
|
+
## 16.2.41 (2018-06-25)
|
|
73
|
+
|
|
74
|
+
### TreeMap
|
|
75
|
+
|
|
76
|
+
The TreeMap is used to displayed the hierarchical or multi-level data to visualize the nested rectangles.
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
- **Layout Mode** - TreeMap supports different type of layouts like Squarified, SliceAndDiceHorizontal, SliceAndDiceVertical and SliceAndDiceAuto.
|
|
80
|
+
- **Legend** - TreeMap supports legend feature with different mode. Default and Interactive.
|
|
81
|
+
- **LabelTemplate** - Leaf item labels can be customized by the label template.
|
|
82
|
+
- **ColorMapping** - TreeMap supports the color mapping feature. It used to customize the leaf item fill colors based on range or values.
|
|
83
|
+
- **User-Interactions** - TreeMap supports the Drilldown, Tooltip, Highlight and Selection user interaction features.
|
|
84
|
+
- **Print and Export** - TreeMap supports printing and exporting as different file types.
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
## 18.1.36-beta (2020-03-19)
|
|
88
|
+
|
|
89
|
+
- `#258211` - Support to customize the header of the treemap items is provided in the `itemRendering` and `itemClick` events.
|
|
90
|
+
|