@syncfusion/ej2-angular-treemap 29.2.4-ngcc → 30.1.37-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.
@@ -1,387 +1,387 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = Object.setPrototypeOf ||
3
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
4
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
5
- return function (d, b) {
6
- extendStatics(d, b);
7
- function __() { this.constructor = d; }
8
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
9
- };
10
- })();
11
- import { ChangeDetectionStrategy, Component, ContentChild, ContentChildren, Directive, ElementRef, Injector, NgModule, Renderer2, ViewContainerRef } from '@angular/core';
12
- import { ArrayBase, ComplexBase, ComponentBase, ComponentMixins, Template, setValue } from '@syncfusion/ej2-angular-base';
13
- import { ImageExport, PdfExport, Print, TreeMap, TreeMapHighlight, TreeMapLegend, TreeMapSelection, TreeMapTooltip } from '@syncfusion/ej2-treemap';
14
- import { CommonModule } from '@angular/common';
15
- var input = ['color', 'from', 'label', 'maxOpacity', 'minOpacity', 'showLegend', 'to', 'value'];
16
- var outputs = [];
17
- var ColorMappingDirective = /** @class */ (function (_super) {
18
- __extends(ColorMappingDirective, _super);
19
- /**
20
- * @param {?} viewContainerRef
21
- */
22
- function ColorMappingDirective(viewContainerRef) {
23
- var _this = _super.call(this) || this;
24
- _this.viewContainerRef = viewContainerRef;
25
- setValue('currentInstance', _this, _this.viewContainerRef);
26
- _this.registerEvents(outputs);
27
- _this.directivePropList = input;
28
- return _this;
29
- }
30
- return ColorMappingDirective;
31
- }(ComplexBase));
32
- ColorMappingDirective.decorators = [
33
- { type: Directive, args: [{
34
- selector: 'e-levels>e-colorMappings>e-colorMapping',
35
- inputs: input,
36
- outputs: outputs,
37
- queries: {}
38
- },] },
39
- ];
40
- /**
41
- * @nocollapse
42
- */
43
- ColorMappingDirective.ctorParameters = function () { return [
44
- { type: ViewContainerRef, },
45
- ]; };
46
- /**
47
- * ColorMapping Array Directive
48
- */
49
- var ColorMappingsDirective = /** @class */ (function (_super) {
50
- __extends(ColorMappingsDirective, _super);
51
- function ColorMappingsDirective() {
52
- return _super.call(this, 'colormapping') || this;
53
- }
54
- return ColorMappingsDirective;
55
- }(ArrayBase));
56
- ColorMappingsDirective.decorators = [
57
- { type: Directive, args: [{
58
- selector: 'e-levels>e-colorMappings',
59
- queries: {
60
- children: new ContentChildren(ColorMappingDirective)
61
- },
62
- },] },
63
- ];
64
- /**
65
- * @nocollapse
66
- */
67
- ColorMappingsDirective.ctorParameters = function () { return []; };
68
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
69
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
70
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
71
- r = Reflect.decorate(decorators, target, key, desc);
72
- else
73
- for (var i = decorators.length - 1; i >= 0; i--)
74
- if (d = decorators[i])
75
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
76
- return c > 3 && r && Object.defineProperty(target, key, r), r;
77
- };
78
- var __metadata = (this && this.__metadata) || function (k, v) {
79
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
80
- return Reflect.metadata(k, v);
81
- };
82
- var input$1 = ['autoFill', 'border', 'colorMapping', 'fill', 'groupGap', 'groupPadding', 'groupPath', 'headerAlignment', 'headerFormat', 'headerHeight', 'headerStyle', 'headerTemplate', 'opacity', 'showHeader', 'templatePosition'];
83
- var outputs$1 = [];
84
- /**
85
- * Represents the directive to configure and render level leaf items in the treemap.
86
- * ```html
87
- * <e-levels>
88
- * <e-level></e-level>
89
- * </e-levels>
90
- * ```
91
- */
92
- var LevelDirective = /** @class */ (function (_super) {
93
- __extends(LevelDirective, _super);
94
- /**
95
- * @param {?} viewContainerRef
96
- */
97
- function LevelDirective(viewContainerRef) {
98
- var _this = _super.call(this) || this;
99
- _this.viewContainerRef = viewContainerRef;
100
- _this.tags = ['colorMapping'];
101
- setValue('currentInstance', _this, _this.viewContainerRef);
102
- _this.registerEvents(outputs$1);
103
- _this.directivePropList = input$1;
104
- return _this;
105
- }
106
- return LevelDirective;
107
- }(ComplexBase));
108
- LevelDirective.decorators = [
109
- { type: Directive, args: [{
110
- selector: 'e-levels>e-level',
111
- inputs: input$1,
112
- outputs: outputs$1,
113
- queries: {
114
- childColorMapping: new ContentChild(ColorMappingsDirective)
115
- }
116
- },] },
117
- ];
118
- /**
119
- * @nocollapse
120
- */
121
- LevelDirective.ctorParameters = function () { return [
122
- { type: ViewContainerRef, },
123
- ]; };
124
- LevelDirective.propDecorators = {
125
- 'headerTemplate': [{ type: ContentChild, args: ['headerTemplate',] },],
126
- };
127
- __decorate([
128
- Template(),
129
- __metadata("design:type", Object)
130
- ], LevelDirective.prototype, "headerTemplate", void 0);
131
- /**
132
- * Level Array Directive
133
- */
134
- var LevelsDirective = /** @class */ (function (_super) {
135
- __extends(LevelsDirective, _super);
136
- function LevelsDirective() {
137
- return _super.call(this, 'levels') || this;
138
- }
139
- return LevelsDirective;
140
- }(ArrayBase));
141
- LevelsDirective.decorators = [
142
- { type: Directive, args: [{
143
- selector: 'ej-treemap>e-levels',
144
- queries: {
145
- children: new ContentChildren(LevelDirective)
146
- },
147
- },] },
148
- ];
149
- /**
150
- * @nocollapse
151
- */
152
- LevelsDirective.ctorParameters = function () { return []; };
153
- var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
154
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
155
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
156
- r = Reflect.decorate(decorators, target, key, desc);
157
- else
158
- for (var i = decorators.length - 1; i >= 0; i--)
159
- if (d = decorators[i])
160
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
161
- return c > 3 && r && Object.defineProperty(target, key, r), r;
162
- };
163
- var __metadata$1 = (this && this.__metadata) || function (k, v) {
164
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
165
- return Reflect.metadata(k, v);
166
- };
167
- var inputs = ['allowImageExport', 'allowPdfExport', 'allowPrint', 'background', 'border', 'breadcrumbConnector', 'colorValuePath', 'dataSource', 'description', 'drillDownView', 'enableBreadcrumb', 'enableDrillDown', 'enableHtmlSanitizer', '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'];
168
- var outputs$2 = ['beforePrint', 'click', 'doubleClick', 'drillEnd', 'drillStart', 'itemClick', 'itemHighlight', 'itemMove', 'itemRendering', 'itemSelected', 'legendItemRendering', 'legendRendering', 'load', 'loaded', 'mouseMove', 'resize', 'rightClick', 'tooltipRendering'];
169
- var twoWays = [''];
170
- /**
171
- * Represents the Angular TreeMap component. It is used to visualize both hierarchical and flat data.
172
- * ```html
173
- * <ej-treemap></ej-treemap>
174
- * ```
175
- */
176
- var TreeMapComponent = /** @class */ (function (_super) {
177
- __extends(TreeMapComponent, _super);
178
- /**
179
- * @param {?} ngEle
180
- * @param {?} srenderer
181
- * @param {?} viewContainerRef
182
- * @param {?} injector
183
- */
184
- function TreeMapComponent(ngEle, srenderer, viewContainerRef, injector) {
185
- var _this = _super.call(this) || this;
186
- _this.ngEle = ngEle;
187
- _this.srenderer = srenderer;
188
- _this.viewContainerRef = viewContainerRef;
189
- _this.injector = injector;
190
- _this.tags = ['levels'];
191
- _this.element = _this.ngEle.nativeElement;
192
- _this.injectedModules = _this.injectedModules || [];
193
- try {
194
- var mod = _this.injector.get('TreeMapTreeMapTooltip');
195
- if (_this.injectedModules.indexOf(mod) === -1) {
196
- _this.injectedModules.push(mod);
197
- }
198
- }
199
- catch (_a) { }
200
- try {
201
- var mod = _this.injector.get('TreeMapTreeMapLegend');
202
- if (_this.injectedModules.indexOf(mod) === -1) {
203
- _this.injectedModules.push(mod);
204
- }
205
- }
206
- catch (_b) { }
207
- try {
208
- var mod = _this.injector.get('TreeMapTreeMapHighlight');
209
- if (_this.injectedModules.indexOf(mod) === -1) {
210
- _this.injectedModules.push(mod);
211
- }
212
- }
213
- catch (_c) { }
214
- try {
215
- var mod = _this.injector.get('TreeMapTreeMapSelection');
216
- if (_this.injectedModules.indexOf(mod) === -1) {
217
- _this.injectedModules.push(mod);
218
- }
219
- }
220
- catch (_d) { }
221
- try {
222
- var mod = _this.injector.get('TreeMapPrint');
223
- if (_this.injectedModules.indexOf(mod) === -1) {
224
- _this.injectedModules.push(mod);
225
- }
226
- }
227
- catch (_e) { }
228
- try {
229
- var mod = _this.injector.get('TreeMapPdfExport');
230
- if (_this.injectedModules.indexOf(mod) === -1) {
231
- _this.injectedModules.push(mod);
232
- }
233
- }
234
- catch (_f) { }
235
- try {
236
- var mod = _this.injector.get('TreeMapImageExport');
237
- if (_this.injectedModules.indexOf(mod) === -1) {
238
- _this.injectedModules.push(mod);
239
- }
240
- }
241
- catch (_g) { }
242
- _this.registerEvents(outputs$2);
243
- _this.addTwoWay.call(_this, twoWays);
244
- setValue('currentInstance', _this, _this.viewContainerRef);
245
- _this.context = new ComponentBase();
246
- return _this;
247
- }
248
- /**
249
- * @return {?}
250
- */
251
- TreeMapComponent.prototype.ngOnInit = function () {
252
- this.context.ngOnInit(this);
253
- };
254
- /**
255
- * @return {?}
256
- */
257
- TreeMapComponent.prototype.ngAfterViewInit = function () {
258
- this.context.ngAfterViewInit(this);
259
- };
260
- /**
261
- * @return {?}
262
- */
263
- TreeMapComponent.prototype.ngOnDestroy = function () {
264
- this.context.ngOnDestroy(this);
265
- };
266
- /**
267
- * @return {?}
268
- */
269
- TreeMapComponent.prototype.ngAfterContentChecked = function () {
270
- this.tagObjects[0].instance = this.childLevels;
271
- this.context.ngAfterContentChecked(this);
272
- };
273
- return TreeMapComponent;
274
- }(TreeMap));
275
- TreeMapComponent.decorators = [
276
- { type: Component, args: [{
277
- selector: 'ejs-treemap',
278
- inputs: inputs,
279
- outputs: outputs$2,
280
- template: '',
281
- changeDetection: ChangeDetectionStrategy.OnPush,
282
- queries: {
283
- childLevels: new ContentChild(LevelsDirective)
284
- }
285
- },] },
286
- ];
287
- /**
288
- * @nocollapse
289
- */
290
- TreeMapComponent.ctorParameters = function () { return [
291
- { type: ElementRef, },
292
- { type: Renderer2, },
293
- { type: ViewContainerRef, },
294
- { type: Injector, },
295
- ]; };
296
- TreeMapComponent.propDecorators = {
297
- 'tooltipSettings_template': [{ type: ContentChild, args: ['tooltipSettingsTemplate',] },],
298
- 'leafItemSettings_labelTemplate': [{ type: ContentChild, args: ['leafItemSettingsLabelTemplate',] },],
299
- };
300
- __decorate$1([
301
- Template(),
302
- __metadata$1("design:type", Object)
303
- ], TreeMapComponent.prototype, "tooltipSettings_template", void 0);
304
- __decorate$1([
305
- Template(),
306
- __metadata$1("design:type", Object)
307
- ], TreeMapComponent.prototype, "leafItemSettings_labelTemplate", void 0);
308
- TreeMapComponent = __decorate$1([
309
- ComponentMixins([ComponentBase]),
310
- __metadata$1("design:paramtypes", [ElementRef,
311
- Renderer2,
312
- ViewContainerRef,
313
- Injector])
314
- ], TreeMapComponent);
315
- /**
316
- * NgModule definition for the TreeMap component.
317
- */
318
- var TreeMapModule = /** @class */ (function () {
319
- function TreeMapModule() {
320
- }
321
- return TreeMapModule;
322
- }());
323
- TreeMapModule.decorators = [
324
- { type: NgModule, args: [{
325
- imports: [CommonModule],
326
- declarations: [
327
- TreeMapComponent,
328
- ColorMappingDirective,
329
- ColorMappingsDirective,
330
- LevelDirective,
331
- LevelsDirective
332
- ],
333
- exports: [
334
- TreeMapComponent,
335
- ColorMappingDirective,
336
- ColorMappingsDirective,
337
- LevelDirective,
338
- LevelsDirective
339
- ]
340
- },] },
341
- ];
342
- /**
343
- * @nocollapse
344
- */
345
- TreeMapModule.ctorParameters = function () { return []; };
346
- var TreeMapTooltipService = { provide: 'TreeMapTreeMapTooltip', useValue: TreeMapTooltip };
347
- var TreeMapLegendService = { provide: 'TreeMapTreeMapLegend', useValue: TreeMapLegend };
348
- var TreeMapHighlightService = { provide: 'TreeMapTreeMapHighlight', useValue: TreeMapHighlight };
349
- var TreeMapSelectionService = { provide: 'TreeMapTreeMapSelection', useValue: TreeMapSelection };
350
- var PrintService = { provide: 'TreeMapPrint', useValue: Print };
351
- var PdfExportService = { provide: 'TreeMapPdfExport', useValue: PdfExport };
352
- var ImageExportService = { provide: 'TreeMapImageExport', useValue: ImageExport };
353
- /**
354
- * NgModule definition for the TreeMap component with providers.
355
- */
356
- var TreeMapAllModule = /** @class */ (function () {
357
- function TreeMapAllModule() {
358
- }
359
- return TreeMapAllModule;
360
- }());
361
- TreeMapAllModule.decorators = [
362
- { type: NgModule, args: [{
363
- imports: [CommonModule, TreeMapModule],
364
- exports: [
365
- TreeMapModule
366
- ],
367
- providers: [
368
- TreeMapTooltipService,
369
- TreeMapLegendService,
370
- TreeMapHighlightService,
371
- TreeMapSelectionService,
372
- PrintService,
373
- PdfExportService,
374
- ImageExportService
375
- ]
376
- },] },
377
- ];
378
- /**
379
- * @nocollapse
380
- */
381
- TreeMapAllModule.ctorParameters = function () { return []; };
382
- /**
383
- * Generated bundle index. Do not edit.
384
- */
385
- export { ColorMappingDirective, ColorMappingsDirective, LevelDirective, LevelsDirective, TreeMapComponent, TreeMapModule, TreeMapAllModule, TreeMapTooltipService, TreeMapLegendService, TreeMapHighlightService, TreeMapSelectionService, PrintService, PdfExportService, ImageExportService, inputs as ɵa, outputs$2 as ɵb };
386
- 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';
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = Object.setPrototypeOf ||
3
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
4
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
5
+ return function (d, b) {
6
+ extendStatics(d, b);
7
+ function __() { this.constructor = d; }
8
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
9
+ };
10
+ })();
11
+ import { ChangeDetectionStrategy, Component, ContentChild, ContentChildren, Directive, ElementRef, Injector, NgModule, Renderer2, ViewContainerRef } from '@angular/core';
12
+ import { ArrayBase, ComplexBase, ComponentBase, ComponentMixins, Template, setValue } from '@syncfusion/ej2-angular-base';
13
+ import { ImageExport, PdfExport, Print, TreeMap, TreeMapHighlight, TreeMapLegend, TreeMapSelection, TreeMapTooltip } from '@syncfusion/ej2-treemap';
14
+ import { CommonModule } from '@angular/common';
15
+ var input = ['color', 'from', 'label', 'maxOpacity', 'minOpacity', 'showLegend', 'to', 'value'];
16
+ var outputs = [];
17
+ var ColorMappingDirective = /** @class */ (function (_super) {
18
+ __extends(ColorMappingDirective, _super);
19
+ /**
20
+ * @param {?} viewContainerRef
21
+ */
22
+ function ColorMappingDirective(viewContainerRef) {
23
+ var _this = _super.call(this) || this;
24
+ _this.viewContainerRef = viewContainerRef;
25
+ setValue('currentInstance', _this, _this.viewContainerRef);
26
+ _this.registerEvents(outputs);
27
+ _this.directivePropList = input;
28
+ return _this;
29
+ }
30
+ return ColorMappingDirective;
31
+ }(ComplexBase));
32
+ ColorMappingDirective.decorators = [
33
+ { type: Directive, args: [{
34
+ selector: 'e-levels>e-colorMappings>e-colorMapping',
35
+ inputs: input,
36
+ outputs: outputs,
37
+ queries: {}
38
+ },] },
39
+ ];
40
+ /**
41
+ * @nocollapse
42
+ */
43
+ ColorMappingDirective.ctorParameters = function () { return [
44
+ { type: ViewContainerRef, },
45
+ ]; };
46
+ /**
47
+ * ColorMapping Array Directive
48
+ */
49
+ var ColorMappingsDirective = /** @class */ (function (_super) {
50
+ __extends(ColorMappingsDirective, _super);
51
+ function ColorMappingsDirective() {
52
+ return _super.call(this, 'colormapping') || this;
53
+ }
54
+ return ColorMappingsDirective;
55
+ }(ArrayBase));
56
+ ColorMappingsDirective.decorators = [
57
+ { type: Directive, args: [{
58
+ selector: 'e-levels>e-colorMappings',
59
+ queries: {
60
+ children: new ContentChildren(ColorMappingDirective)
61
+ },
62
+ },] },
63
+ ];
64
+ /**
65
+ * @nocollapse
66
+ */
67
+ ColorMappingsDirective.ctorParameters = function () { return []; };
68
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
69
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
70
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
71
+ r = Reflect.decorate(decorators, target, key, desc);
72
+ else
73
+ for (var i = decorators.length - 1; i >= 0; i--)
74
+ if (d = decorators[i])
75
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
76
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
77
+ };
78
+ var __metadata = (this && this.__metadata) || function (k, v) {
79
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
80
+ return Reflect.metadata(k, v);
81
+ };
82
+ var input$1 = ['autoFill', 'border', 'colorMapping', 'fill', 'groupGap', 'groupPadding', 'groupPath', 'headerAlignment', 'headerFormat', 'headerHeight', 'headerStyle', 'headerTemplate', 'opacity', 'showHeader', 'templatePosition'];
83
+ var outputs$1 = [];
84
+ /**
85
+ * Represents the directive to configure and render level leaf items in the treemap.
86
+ * ```html
87
+ * <e-levels>
88
+ * <e-level></e-level>
89
+ * </e-levels>
90
+ * ```
91
+ */
92
+ var LevelDirective = /** @class */ (function (_super) {
93
+ __extends(LevelDirective, _super);
94
+ /**
95
+ * @param {?} viewContainerRef
96
+ */
97
+ function LevelDirective(viewContainerRef) {
98
+ var _this = _super.call(this) || this;
99
+ _this.viewContainerRef = viewContainerRef;
100
+ _this.tags = ['colorMapping'];
101
+ setValue('currentInstance', _this, _this.viewContainerRef);
102
+ _this.registerEvents(outputs$1);
103
+ _this.directivePropList = input$1;
104
+ return _this;
105
+ }
106
+ return LevelDirective;
107
+ }(ComplexBase));
108
+ LevelDirective.decorators = [
109
+ { type: Directive, args: [{
110
+ selector: 'e-levels>e-level',
111
+ inputs: input$1,
112
+ outputs: outputs$1,
113
+ queries: {
114
+ childColorMapping: new ContentChild(ColorMappingsDirective)
115
+ }
116
+ },] },
117
+ ];
118
+ /**
119
+ * @nocollapse
120
+ */
121
+ LevelDirective.ctorParameters = function () { return [
122
+ { type: ViewContainerRef, },
123
+ ]; };
124
+ LevelDirective.propDecorators = {
125
+ 'headerTemplate': [{ type: ContentChild, args: ['headerTemplate',] },],
126
+ };
127
+ __decorate([
128
+ Template(),
129
+ __metadata("design:type", Object)
130
+ ], LevelDirective.prototype, "headerTemplate", void 0);
131
+ /**
132
+ * Level Array Directive
133
+ */
134
+ var LevelsDirective = /** @class */ (function (_super) {
135
+ __extends(LevelsDirective, _super);
136
+ function LevelsDirective() {
137
+ return _super.call(this, 'levels') || this;
138
+ }
139
+ return LevelsDirective;
140
+ }(ArrayBase));
141
+ LevelsDirective.decorators = [
142
+ { type: Directive, args: [{
143
+ selector: 'ej-treemap>e-levels',
144
+ queries: {
145
+ children: new ContentChildren(LevelDirective)
146
+ },
147
+ },] },
148
+ ];
149
+ /**
150
+ * @nocollapse
151
+ */
152
+ LevelsDirective.ctorParameters = function () { return []; };
153
+ var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
154
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
155
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
156
+ r = Reflect.decorate(decorators, target, key, desc);
157
+ else
158
+ for (var i = decorators.length - 1; i >= 0; i--)
159
+ if (d = decorators[i])
160
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
161
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
162
+ };
163
+ var __metadata$1 = (this && this.__metadata) || function (k, v) {
164
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
165
+ return Reflect.metadata(k, v);
166
+ };
167
+ var inputs = ['allowImageExport', 'allowPdfExport', 'allowPrint', 'background', 'border', 'breadcrumbConnector', 'colorValuePath', 'dataSource', 'description', 'drillDownView', 'enableBreadcrumb', 'enableDrillDown', 'enableHtmlSanitizer', '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'];
168
+ var outputs$2 = ['beforePrint', 'click', 'doubleClick', 'drillEnd', 'drillStart', 'itemClick', 'itemHighlight', 'itemMove', 'itemRendering', 'itemSelected', 'legendItemRendering', 'legendRendering', 'load', 'loaded', 'mouseMove', 'resize', 'rightClick', 'tooltipRendering'];
169
+ var twoWays = [''];
170
+ /**
171
+ * Represents the Angular TreeMap component. It is used to visualize both hierarchical and flat data.
172
+ * ```html
173
+ * <ej-treemap></ej-treemap>
174
+ * ```
175
+ */
176
+ var TreeMapComponent = /** @class */ (function (_super) {
177
+ __extends(TreeMapComponent, _super);
178
+ /**
179
+ * @param {?} ngEle
180
+ * @param {?} srenderer
181
+ * @param {?} viewContainerRef
182
+ * @param {?} injector
183
+ */
184
+ function TreeMapComponent(ngEle, srenderer, viewContainerRef, injector) {
185
+ var _this = _super.call(this) || this;
186
+ _this.ngEle = ngEle;
187
+ _this.srenderer = srenderer;
188
+ _this.viewContainerRef = viewContainerRef;
189
+ _this.injector = injector;
190
+ _this.tags = ['levels'];
191
+ _this.element = _this.ngEle.nativeElement;
192
+ _this.injectedModules = _this.injectedModules || [];
193
+ try {
194
+ var mod = _this.injector.get('TreeMapTreeMapTooltip');
195
+ if (_this.injectedModules.indexOf(mod) === -1) {
196
+ _this.injectedModules.push(mod);
197
+ }
198
+ }
199
+ catch (_a) { }
200
+ try {
201
+ var mod = _this.injector.get('TreeMapTreeMapLegend');
202
+ if (_this.injectedModules.indexOf(mod) === -1) {
203
+ _this.injectedModules.push(mod);
204
+ }
205
+ }
206
+ catch (_b) { }
207
+ try {
208
+ var mod = _this.injector.get('TreeMapTreeMapHighlight');
209
+ if (_this.injectedModules.indexOf(mod) === -1) {
210
+ _this.injectedModules.push(mod);
211
+ }
212
+ }
213
+ catch (_c) { }
214
+ try {
215
+ var mod = _this.injector.get('TreeMapTreeMapSelection');
216
+ if (_this.injectedModules.indexOf(mod) === -1) {
217
+ _this.injectedModules.push(mod);
218
+ }
219
+ }
220
+ catch (_d) { }
221
+ try {
222
+ var mod = _this.injector.get('TreeMapPrint');
223
+ if (_this.injectedModules.indexOf(mod) === -1) {
224
+ _this.injectedModules.push(mod);
225
+ }
226
+ }
227
+ catch (_e) { }
228
+ try {
229
+ var mod = _this.injector.get('TreeMapPdfExport');
230
+ if (_this.injectedModules.indexOf(mod) === -1) {
231
+ _this.injectedModules.push(mod);
232
+ }
233
+ }
234
+ catch (_f) { }
235
+ try {
236
+ var mod = _this.injector.get('TreeMapImageExport');
237
+ if (_this.injectedModules.indexOf(mod) === -1) {
238
+ _this.injectedModules.push(mod);
239
+ }
240
+ }
241
+ catch (_g) { }
242
+ _this.registerEvents(outputs$2);
243
+ _this.addTwoWay.call(_this, twoWays);
244
+ setValue('currentInstance', _this, _this.viewContainerRef);
245
+ _this.context = new ComponentBase();
246
+ return _this;
247
+ }
248
+ /**
249
+ * @return {?}
250
+ */
251
+ TreeMapComponent.prototype.ngOnInit = function () {
252
+ this.context.ngOnInit(this);
253
+ };
254
+ /**
255
+ * @return {?}
256
+ */
257
+ TreeMapComponent.prototype.ngAfterViewInit = function () {
258
+ this.context.ngAfterViewInit(this);
259
+ };
260
+ /**
261
+ * @return {?}
262
+ */
263
+ TreeMapComponent.prototype.ngOnDestroy = function () {
264
+ this.context.ngOnDestroy(this);
265
+ };
266
+ /**
267
+ * @return {?}
268
+ */
269
+ TreeMapComponent.prototype.ngAfterContentChecked = function () {
270
+ this.tagObjects[0].instance = this.childLevels;
271
+ this.context.ngAfterContentChecked(this);
272
+ };
273
+ return TreeMapComponent;
274
+ }(TreeMap));
275
+ TreeMapComponent.decorators = [
276
+ { type: Component, args: [{
277
+ selector: 'ejs-treemap',
278
+ inputs: inputs,
279
+ outputs: outputs$2,
280
+ template: '',
281
+ changeDetection: ChangeDetectionStrategy.OnPush,
282
+ queries: {
283
+ childLevels: new ContentChild(LevelsDirective)
284
+ }
285
+ },] },
286
+ ];
287
+ /**
288
+ * @nocollapse
289
+ */
290
+ TreeMapComponent.ctorParameters = function () { return [
291
+ { type: ElementRef, },
292
+ { type: Renderer2, },
293
+ { type: ViewContainerRef, },
294
+ { type: Injector, },
295
+ ]; };
296
+ TreeMapComponent.propDecorators = {
297
+ 'tooltipSettings_template': [{ type: ContentChild, args: ['tooltipSettingsTemplate',] },],
298
+ 'leafItemSettings_labelTemplate': [{ type: ContentChild, args: ['leafItemSettingsLabelTemplate',] },],
299
+ };
300
+ __decorate$1([
301
+ Template(),
302
+ __metadata$1("design:type", Object)
303
+ ], TreeMapComponent.prototype, "tooltipSettings_template", void 0);
304
+ __decorate$1([
305
+ Template(),
306
+ __metadata$1("design:type", Object)
307
+ ], TreeMapComponent.prototype, "leafItemSettings_labelTemplate", void 0);
308
+ TreeMapComponent = __decorate$1([
309
+ ComponentMixins([ComponentBase]),
310
+ __metadata$1("design:paramtypes", [ElementRef,
311
+ Renderer2,
312
+ ViewContainerRef,
313
+ Injector])
314
+ ], TreeMapComponent);
315
+ /**
316
+ * NgModule definition for the TreeMap component.
317
+ */
318
+ var TreeMapModule = /** @class */ (function () {
319
+ function TreeMapModule() {
320
+ }
321
+ return TreeMapModule;
322
+ }());
323
+ TreeMapModule.decorators = [
324
+ { type: NgModule, args: [{
325
+ imports: [CommonModule],
326
+ declarations: [
327
+ TreeMapComponent,
328
+ ColorMappingDirective,
329
+ ColorMappingsDirective,
330
+ LevelDirective,
331
+ LevelsDirective
332
+ ],
333
+ exports: [
334
+ TreeMapComponent,
335
+ ColorMappingDirective,
336
+ ColorMappingsDirective,
337
+ LevelDirective,
338
+ LevelsDirective
339
+ ]
340
+ },] },
341
+ ];
342
+ /**
343
+ * @nocollapse
344
+ */
345
+ TreeMapModule.ctorParameters = function () { return []; };
346
+ var TreeMapTooltipService = { provide: 'TreeMapTreeMapTooltip', useValue: TreeMapTooltip };
347
+ var TreeMapLegendService = { provide: 'TreeMapTreeMapLegend', useValue: TreeMapLegend };
348
+ var TreeMapHighlightService = { provide: 'TreeMapTreeMapHighlight', useValue: TreeMapHighlight };
349
+ var TreeMapSelectionService = { provide: 'TreeMapTreeMapSelection', useValue: TreeMapSelection };
350
+ var PrintService = { provide: 'TreeMapPrint', useValue: Print };
351
+ var PdfExportService = { provide: 'TreeMapPdfExport', useValue: PdfExport };
352
+ var ImageExportService = { provide: 'TreeMapImageExport', useValue: ImageExport };
353
+ /**
354
+ * NgModule definition for the TreeMap component with providers.
355
+ */
356
+ var TreeMapAllModule = /** @class */ (function () {
357
+ function TreeMapAllModule() {
358
+ }
359
+ return TreeMapAllModule;
360
+ }());
361
+ TreeMapAllModule.decorators = [
362
+ { type: NgModule, args: [{
363
+ imports: [CommonModule, TreeMapModule],
364
+ exports: [
365
+ TreeMapModule
366
+ ],
367
+ providers: [
368
+ TreeMapTooltipService,
369
+ TreeMapLegendService,
370
+ TreeMapHighlightService,
371
+ TreeMapSelectionService,
372
+ PrintService,
373
+ PdfExportService,
374
+ ImageExportService
375
+ ]
376
+ },] },
377
+ ];
378
+ /**
379
+ * @nocollapse
380
+ */
381
+ TreeMapAllModule.ctorParameters = function () { return []; };
382
+ /**
383
+ * Generated bundle index. Do not edit.
384
+ */
385
+ export { ColorMappingDirective, ColorMappingsDirective, LevelDirective, LevelsDirective, TreeMapComponent, TreeMapModule, TreeMapAllModule, TreeMapTooltipService, TreeMapLegendService, TreeMapHighlightService, TreeMapSelectionService, PrintService, PdfExportService, ImageExportService, inputs as ɵa, outputs$2 as ɵb };
386
+ 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';
387
387
  //# sourceMappingURL=ej2-angular-treemap.es5.js.map