@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.
Files changed (34) hide show
  1. package/@syncfusion/ej2-angular-treemap.es5.js +387 -0
  2. package/@syncfusion/ej2-angular-treemap.es5.js.map +1 -0
  3. package/@syncfusion/ej2-angular-treemap.js +355 -0
  4. package/@syncfusion/ej2-angular-treemap.js.map +1 -0
  5. package/CHANGELOG.md +90 -0
  6. package/dist/ej2-angular-treemap.umd.js +520 -0
  7. package/dist/ej2-angular-treemap.umd.js.map +1 -0
  8. package/dist/ej2-angular-treemap.umd.min.js +11 -0
  9. package/dist/ej2-angular-treemap.umd.min.js.map +1 -0
  10. package/ej2-angular-treemap.d.ts +5 -0
  11. package/ej2-angular-treemap.metadata.json +1 -0
  12. package/package.json +15 -29
  13. package/postinstall/tagchange.js +18 -0
  14. package/schematics/utils/lib-details.d.ts +2 -2
  15. package/schematics/utils/lib-details.js +2 -2
  16. package/schematics/utils/lib-details.ts +2 -2
  17. package/src/treemap/colormapping.directive.d.ts +0 -5
  18. package/src/treemap/levels.directive.d.ts +0 -5
  19. package/src/treemap/treemap-all.module.d.ts +0 -6
  20. package/src/treemap/treemap.component.d.ts +0 -3
  21. package/src/treemap/treemap.module.d.ts +0 -8
  22. package/esm2020/public_api.mjs +0 -3
  23. package/esm2020/src/index.mjs +0 -7
  24. package/esm2020/src/treemap/colormapping.directive.mjs +0 -46
  25. package/esm2020/src/treemap/levels.directive.mjs +0 -66
  26. package/esm2020/src/treemap/treemap-all.module.mjs +0 -47
  27. package/esm2020/src/treemap/treemap.component.mjs +0 -126
  28. package/esm2020/src/treemap/treemap.module.mjs +0 -43
  29. package/esm2020/syncfusion-ej2-angular-treemap.mjs +0 -5
  30. package/fesm2015/syncfusion-ej2-angular-treemap.mjs +0 -316
  31. package/fesm2015/syncfusion-ej2-angular-treemap.mjs.map +0 -1
  32. package/fesm2020/syncfusion-ej2-angular-treemap.mjs +0 -316
  33. package/fesm2020/syncfusion-ej2-angular-treemap.mjs.map +0 -1
  34. package/syncfusion-ej2-angular-treemap.d.ts +0 -5
@@ -0,0 +1,520 @@
1
+ /*!
2
+ * filename: ej2-angular-treemap.umd.js
3
+ * version : 20.4.48
4
+ * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
+ * Use of this code is subject to the terms of our license.
6
+ * A copy of the current license can be obtained at any time by e-mailing
7
+ * licensing@syncfusion.com. Any infringement will be prosecuted under
8
+ * applicable laws.
9
+ */
10
+ (function (global, factory) {
11
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@syncfusion/ej2-angular-base'), require('@syncfusion/ej2-treemap'), require('@angular/common')) :
12
+ typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@syncfusion/ej2-angular-base', '@syncfusion/ej2-treemap', '@angular/common'], factory) :
13
+ (factory((global['ej2-angular-treemap'] = {}),global.ng.core,global.ej2.angular.base,global.ej2.treemap,global.ng.common));
14
+ }(this, (function (exports,core,ej2AngularBase,ej2Treemap,common) { 'use strict';
15
+
16
+ var __extends = (this && this.__extends) || (function () {
17
+ var extendStatics = Object.setPrototypeOf ||
18
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
20
+ return function (d, b) {
21
+ extendStatics(d, b);
22
+ function __() { this.constructor = d; }
23
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
24
+ };
25
+ })();
26
+ var input = ['color', 'from', 'label', 'maxOpacity', 'minOpacity', 'showLegend', 'to', 'value'];
27
+ var outputs = [];
28
+ var ColorMappingDirective = /** @class */ (function (_super) {
29
+ __extends(ColorMappingDirective, _super);
30
+ /**
31
+ * @param {?} viewContainerRef
32
+ */
33
+ function ColorMappingDirective(viewContainerRef) {
34
+ var _this = _super.call(this) || this;
35
+ _this.viewContainerRef = viewContainerRef;
36
+ ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
37
+ _this.registerEvents(outputs);
38
+ _this.directivePropList = input;
39
+ return _this;
40
+ }
41
+ return ColorMappingDirective;
42
+ }(ej2AngularBase.ComplexBase));
43
+ ColorMappingDirective.decorators = [
44
+ { type: core.Directive, args: [{
45
+ selector: 'e-levels>e-colorMappings>e-colorMapping',
46
+ inputs: input,
47
+ outputs: outputs,
48
+ queries: {}
49
+ },] },
50
+ ];
51
+ /**
52
+ * @nocollapse
53
+ */
54
+ ColorMappingDirective.ctorParameters = function () { return [
55
+ { type: core.ViewContainerRef, },
56
+ ]; };
57
+ /**
58
+ * ColorMapping Array Directive
59
+ */
60
+ var ColorMappingsDirective = /** @class */ (function (_super) {
61
+ __extends(ColorMappingsDirective, _super);
62
+ function ColorMappingsDirective() {
63
+ return _super.call(this, 'colormapping') || this;
64
+ }
65
+ return ColorMappingsDirective;
66
+ }(ej2AngularBase.ArrayBase));
67
+ ColorMappingsDirective.decorators = [
68
+ { type: core.Directive, args: [{
69
+ selector: 'e-levels>e-colorMappings',
70
+ queries: {
71
+ children: new core.ContentChildren(ColorMappingDirective)
72
+ },
73
+ },] },
74
+ ];
75
+ /**
76
+ * @nocollapse
77
+ */
78
+ ColorMappingsDirective.ctorParameters = function () { return []; };
79
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
80
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
81
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
82
+ r = Reflect.decorate(decorators, target, key, desc);
83
+ else
84
+ for (var i = decorators.length - 1; i >= 0; i--)
85
+ if (d = decorators[i])
86
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
87
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
88
+ };
89
+ var __metadata = (this && this.__metadata) || function (k, v) {
90
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
91
+ return Reflect.metadata(k, v);
92
+ };
93
+ var input$1 = ['autoFill', 'border', 'colorMapping', 'fill', 'groupGap', 'groupPadding', 'groupPath', 'headerAlignment', 'headerFormat', 'headerHeight', 'headerStyle', 'headerTemplate', 'opacity', 'showHeader', 'templatePosition'];
94
+ var outputs$1 = [];
95
+ /**
96
+ * Level Directive
97
+ * ```html
98
+ * <e-levels>
99
+ * <e-level></e-level>
100
+ * </e-levels>
101
+ * ```
102
+ */
103
+ var LevelDirective = /** @class */ (function (_super) {
104
+ __extends(LevelDirective, _super);
105
+ /**
106
+ * @param {?} viewContainerRef
107
+ */
108
+ function LevelDirective(viewContainerRef) {
109
+ var _this = _super.call(this) || this;
110
+ _this.viewContainerRef = viewContainerRef;
111
+ _this.tags = ['colorMapping'];
112
+ ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
113
+ _this.registerEvents(outputs$1);
114
+ _this.directivePropList = input$1;
115
+ return _this;
116
+ }
117
+ return LevelDirective;
118
+ }(ej2AngularBase.ComplexBase));
119
+ LevelDirective.decorators = [
120
+ { type: core.Directive, args: [{
121
+ selector: 'e-levels>e-level',
122
+ inputs: input$1,
123
+ outputs: outputs$1,
124
+ queries: {
125
+ childColorMapping: new core.ContentChild(ColorMappingsDirective)
126
+ }
127
+ },] },
128
+ ];
129
+ /**
130
+ * @nocollapse
131
+ */
132
+ LevelDirective.ctorParameters = function () { return [
133
+ { type: core.ViewContainerRef, },
134
+ ]; };
135
+ LevelDirective.propDecorators = {
136
+ 'headerTemplate': [{ type: core.ContentChild, args: ['headerTemplate',] },],
137
+ };
138
+ __decorate([
139
+ ej2AngularBase.Template(),
140
+ __metadata("design:type", Object)
141
+ ], LevelDirective.prototype, "headerTemplate", void 0);
142
+ /**
143
+ * Level Array Directive
144
+ */
145
+ var LevelsDirective = /** @class */ (function (_super) {
146
+ __extends(LevelsDirective, _super);
147
+ function LevelsDirective() {
148
+ return _super.call(this, 'levels') || this;
149
+ }
150
+ return LevelsDirective;
151
+ }(ej2AngularBase.ArrayBase));
152
+ LevelsDirective.decorators = [
153
+ { type: core.Directive, args: [{
154
+ selector: 'ej-treemap>e-levels',
155
+ queries: {
156
+ children: new core.ContentChildren(LevelDirective)
157
+ },
158
+ },] },
159
+ ];
160
+ /**
161
+ * @nocollapse
162
+ */
163
+ LevelsDirective.ctorParameters = function () { return []; };
164
+ var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
165
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
166
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
167
+ r = Reflect.decorate(decorators, target, key, desc);
168
+ else
169
+ for (var i = decorators.length - 1; i >= 0; i--)
170
+ if (d = decorators[i])
171
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
172
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
173
+ };
174
+ var __metadata$1 = (this && this.__metadata) || function (k, v) {
175
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
176
+ return Reflect.metadata(k, v);
177
+ };
178
+ var 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'];
179
+ var outputs$2 = ['beforePrint', 'click', 'doubleClick', 'drillEnd', 'drillStart', 'itemClick', 'itemHighlight', 'itemMove', 'itemRendering', 'itemSelected', 'legendItemRendering', 'legendRendering', 'load', 'loaded', 'mouseMove', 'resize', 'rightClick', 'tooltipRendering'];
180
+ var twoWays = [''];
181
+ /**
182
+ * TreeMap Component
183
+ * ```html
184
+ * <ej-treemap></ej-treemap>
185
+ * ```
186
+ */
187
+ exports.TreeMapComponent = /** @class */ (function (_super) {
188
+ __extends(TreeMapComponent, _super);
189
+ /**
190
+ * @param {?} ngEle
191
+ * @param {?} srenderer
192
+ * @param {?} viewContainerRef
193
+ * @param {?} injector
194
+ */
195
+ function TreeMapComponent(ngEle, srenderer, viewContainerRef, injector) {
196
+ var _this = _super.call(this) || this;
197
+ _this.ngEle = ngEle;
198
+ _this.srenderer = srenderer;
199
+ _this.viewContainerRef = viewContainerRef;
200
+ _this.injector = injector;
201
+ _this.tags = ['levels'];
202
+ _this.element = _this.ngEle.nativeElement;
203
+ _this.injectedModules = _this.injectedModules || [];
204
+ try {
205
+ var mod = _this.injector.get('TreeMapTreeMapTooltip');
206
+ if (_this.injectedModules.indexOf(mod) === -1) {
207
+ _this.injectedModules.push(mod);
208
+ }
209
+ }
210
+ catch (_a) { }
211
+ try {
212
+ var mod = _this.injector.get('TreeMapTreeMapLegend');
213
+ if (_this.injectedModules.indexOf(mod) === -1) {
214
+ _this.injectedModules.push(mod);
215
+ }
216
+ }
217
+ catch (_b) { }
218
+ try {
219
+ var mod = _this.injector.get('TreeMapTreeMapHighlight');
220
+ if (_this.injectedModules.indexOf(mod) === -1) {
221
+ _this.injectedModules.push(mod);
222
+ }
223
+ }
224
+ catch (_c) { }
225
+ try {
226
+ var mod = _this.injector.get('TreeMapTreeMapSelection');
227
+ if (_this.injectedModules.indexOf(mod) === -1) {
228
+ _this.injectedModules.push(mod);
229
+ }
230
+ }
231
+ catch (_d) { }
232
+ try {
233
+ var mod = _this.injector.get('TreeMapPrint');
234
+ if (_this.injectedModules.indexOf(mod) === -1) {
235
+ _this.injectedModules.push(mod);
236
+ }
237
+ }
238
+ catch (_e) { }
239
+ try {
240
+ var mod = _this.injector.get('TreeMapPdfExport');
241
+ if (_this.injectedModules.indexOf(mod) === -1) {
242
+ _this.injectedModules.push(mod);
243
+ }
244
+ }
245
+ catch (_f) { }
246
+ try {
247
+ var mod = _this.injector.get('TreeMapImageExport');
248
+ if (_this.injectedModules.indexOf(mod) === -1) {
249
+ _this.injectedModules.push(mod);
250
+ }
251
+ }
252
+ catch (_g) { }
253
+ _this.registerEvents(outputs$2);
254
+ _this.addTwoWay.call(_this, twoWays);
255
+ ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
256
+ _this.context = new ej2AngularBase.ComponentBase();
257
+ return _this;
258
+ }
259
+ /**
260
+ * @return {?}
261
+ */
262
+ TreeMapComponent.prototype.ngOnInit = function () {
263
+ this.context.ngOnInit(this);
264
+ };
265
+ /**
266
+ * @return {?}
267
+ */
268
+ TreeMapComponent.prototype.ngAfterViewInit = function () {
269
+ this.context.ngAfterViewInit(this);
270
+ };
271
+ /**
272
+ * @return {?}
273
+ */
274
+ TreeMapComponent.prototype.ngOnDestroy = function () {
275
+ this.context.ngOnDestroy(this);
276
+ };
277
+ /**
278
+ * @return {?}
279
+ */
280
+ TreeMapComponent.prototype.ngAfterContentChecked = function () {
281
+ this.tagObjects[0].instance = this.childLevels;
282
+ this.context.ngAfterContentChecked(this);
283
+ };
284
+ return TreeMapComponent;
285
+ }(ej2Treemap.TreeMap));
286
+ exports.TreeMapComponent.decorators = [
287
+ { type: core.Component, args: [{
288
+ selector: 'ejs-treemap',
289
+ inputs: inputs,
290
+ outputs: outputs$2,
291
+ template: '',
292
+ changeDetection: core.ChangeDetectionStrategy.OnPush,
293
+ queries: {
294
+ childLevels: new core.ContentChild(LevelsDirective)
295
+ }
296
+ },] },
297
+ ];
298
+ /**
299
+ * @nocollapse
300
+ */
301
+ exports.TreeMapComponent.ctorParameters = function () { return [
302
+ { type: core.ElementRef, },
303
+ { type: core.Renderer2, },
304
+ { type: core.ViewContainerRef, },
305
+ { type: core.Injector, },
306
+ ]; };
307
+ exports.TreeMapComponent.propDecorators = {
308
+ 'tooltipSettings_template': [{ type: core.ContentChild, args: ['tooltipSettingsTemplate',] },],
309
+ 'leafItemSettings_labelTemplate': [{ type: core.ContentChild, args: ['leafItemSettingsLabelTemplate',] },],
310
+ };
311
+ __decorate$1([
312
+ ej2AngularBase.Template(),
313
+ __metadata$1("design:type", Object)
314
+ ], exports.TreeMapComponent.prototype, "tooltipSettings_template", void 0);
315
+ __decorate$1([
316
+ ej2AngularBase.Template(),
317
+ __metadata$1("design:type", Object)
318
+ ], exports.TreeMapComponent.prototype, "leafItemSettings_labelTemplate", void 0);
319
+ exports.TreeMapComponent = __decorate$1([
320
+ ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase]),
321
+ __metadata$1("design:paramtypes", [core.ElementRef,
322
+ core.Renderer2,
323
+ core.ViewContainerRef,
324
+ core.Injector])
325
+ ], exports.TreeMapComponent);
326
+ /**
327
+ * NgModule definition for the TreeMap component.
328
+ */
329
+ var TreeMapModule = /** @class */ (function () {
330
+ function TreeMapModule() {
331
+ }
332
+ return TreeMapModule;
333
+ }());
334
+ TreeMapModule.decorators = [
335
+ { type: core.NgModule, args: [{
336
+ imports: [common.CommonModule],
337
+ declarations: [
338
+ exports.TreeMapComponent,
339
+ ColorMappingDirective,
340
+ ColorMappingsDirective,
341
+ LevelDirective,
342
+ LevelsDirective
343
+ ],
344
+ exports: [
345
+ exports.TreeMapComponent,
346
+ ColorMappingDirective,
347
+ ColorMappingsDirective,
348
+ LevelDirective,
349
+ LevelsDirective
350
+ ]
351
+ },] },
352
+ ];
353
+ /**
354
+ * @nocollapse
355
+ */
356
+ TreeMapModule.ctorParameters = function () { return []; };
357
+ var TreeMapTooltipService = { provide: 'TreeMapTreeMapTooltip', useValue: ej2Treemap.TreeMapTooltip };
358
+ var TreeMapLegendService = { provide: 'TreeMapTreeMapLegend', useValue: ej2Treemap.TreeMapLegend };
359
+ var TreeMapHighlightService = { provide: 'TreeMapTreeMapHighlight', useValue: ej2Treemap.TreeMapHighlight };
360
+ var TreeMapSelectionService = { provide: 'TreeMapTreeMapSelection', useValue: ej2Treemap.TreeMapSelection };
361
+ var PrintService = { provide: 'TreeMapPrint', useValue: ej2Treemap.Print };
362
+ var PdfExportService = { provide: 'TreeMapPdfExport', useValue: ej2Treemap.PdfExport };
363
+ var ImageExportService = { provide: 'TreeMapImageExport', useValue: ej2Treemap.ImageExport };
364
+ /**
365
+ * NgModule definition for the TreeMap component with providers.
366
+ */
367
+ var TreeMapAllModule = /** @class */ (function () {
368
+ function TreeMapAllModule() {
369
+ }
370
+ return TreeMapAllModule;
371
+ }());
372
+ TreeMapAllModule.decorators = [
373
+ { type: core.NgModule, args: [{
374
+ imports: [common.CommonModule, TreeMapModule],
375
+ exports: [
376
+ TreeMapModule
377
+ ],
378
+ providers: [
379
+ TreeMapTooltipService,
380
+ TreeMapLegendService,
381
+ TreeMapHighlightService,
382
+ TreeMapSelectionService,
383
+ PrintService,
384
+ PdfExportService,
385
+ ImageExportService
386
+ ]
387
+ },] },
388
+ ];
389
+ /**
390
+ * @nocollapse
391
+ */
392
+ TreeMapAllModule.ctorParameters = function () { return []; };
393
+
394
+ exports.ColorMappingDirective = ColorMappingDirective;
395
+ exports.ColorMappingsDirective = ColorMappingsDirective;
396
+ exports.LevelDirective = LevelDirective;
397
+ exports.LevelsDirective = LevelsDirective;
398
+ exports.TreeMapModule = TreeMapModule;
399
+ exports.TreeMapAllModule = TreeMapAllModule;
400
+ exports.TreeMapTooltipService = TreeMapTooltipService;
401
+ exports.TreeMapLegendService = TreeMapLegendService;
402
+ exports.TreeMapHighlightService = TreeMapHighlightService;
403
+ exports.TreeMapSelectionService = TreeMapSelectionService;
404
+ exports.PrintService = PrintService;
405
+ exports.PdfExportService = PdfExportService;
406
+ exports.ImageExportService = ImageExportService;
407
+ exports.ɵa = inputs;
408
+ exports.ɵb = outputs$2;
409
+ exports.TreeMap = ej2Treemap.TreeMap;
410
+ exports.LevelsData = ej2Treemap.LevelsData;
411
+ exports.Border = ej2Treemap.Border;
412
+ exports.Margin = ej2Treemap.Margin;
413
+ exports.Font = ej2Treemap.Font;
414
+ exports.CommonTitleSettings = ej2Treemap.CommonTitleSettings;
415
+ exports.SubTitleSettings = ej2Treemap.SubTitleSettings;
416
+ exports.TitleSettings = ej2Treemap.TitleSettings;
417
+ exports.ColorMapping = ej2Treemap.ColorMapping;
418
+ exports.LegendSettings = ej2Treemap.LegendSettings;
419
+ exports.InitialDrillSettings = ej2Treemap.InitialDrillSettings;
420
+ exports.LeafItemSettings = ej2Treemap.LeafItemSettings;
421
+ exports.TooltipSettings = ej2Treemap.TooltipSettings;
422
+ exports.SelectionSettings = ej2Treemap.SelectionSettings;
423
+ exports.HighlightSettings = ej2Treemap.HighlightSettings;
424
+ exports.LevelSettings = ej2Treemap.LevelSettings;
425
+ exports.load = ej2Treemap.load;
426
+ exports.loaded = ej2Treemap.loaded;
427
+ exports.beforePrint = ej2Treemap.beforePrint;
428
+ exports.itemRendering = ej2Treemap.itemRendering;
429
+ exports.drillStart = ej2Treemap.drillStart;
430
+ exports.drillEnd = ej2Treemap.drillEnd;
431
+ exports.itemSelected = ej2Treemap.itemSelected;
432
+ exports.itemHighlight = ej2Treemap.itemHighlight;
433
+ exports.tooltipRendering = ej2Treemap.tooltipRendering;
434
+ exports.itemClick = ej2Treemap.itemClick;
435
+ exports.itemMove = ej2Treemap.itemMove;
436
+ exports.click = ej2Treemap.click;
437
+ exports.doubleClick = ej2Treemap.doubleClick;
438
+ exports.rightClick = ej2Treemap.rightClick;
439
+ exports.mouseMove = ej2Treemap.mouseMove;
440
+ exports.legendItemRendering = ej2Treemap.legendItemRendering;
441
+ exports.legendRendering = ej2Treemap.legendRendering;
442
+ exports.resize = ej2Treemap.resize;
443
+ exports.defaultFont = ej2Treemap.defaultFont;
444
+ exports.Theme = ej2Treemap.Theme;
445
+ exports.getThemeStyle = ej2Treemap.getThemeStyle;
446
+ exports.Size = ej2Treemap.Size;
447
+ exports.stringToNumber = ej2Treemap.stringToNumber;
448
+ exports.Rect = ej2Treemap.Rect;
449
+ exports.RectOption = ej2Treemap.RectOption;
450
+ exports.PathOption = ej2Treemap.PathOption;
451
+ exports.measureText = ej2Treemap.measureText;
452
+ exports.TextOption = ej2Treemap.TextOption;
453
+ exports.textTrim = ej2Treemap.textTrim;
454
+ exports.Location = ej2Treemap.Location;
455
+ exports.findPosition = ej2Treemap.findPosition;
456
+ exports.createTextStyle = ej2Treemap.createTextStyle;
457
+ exports.renderTextElement = ej2Treemap.renderTextElement;
458
+ exports.setItemTemplateContent = ej2Treemap.setItemTemplateContent;
459
+ exports.getElement = ej2Treemap.getElement;
460
+ exports.itemsToOrder = ej2Treemap.itemsToOrder;
461
+ exports.isContainsData = ej2Treemap.isContainsData;
462
+ exports.findChildren = ej2Treemap.findChildren;
463
+ exports.findHightLightItems = ej2Treemap.findHightLightItems;
464
+ exports.getTemplateFunction = ej2Treemap.getTemplateFunction;
465
+ exports.convertElement = ej2Treemap.convertElement;
466
+ exports.findLabelLocation = ej2Treemap.findLabelLocation;
467
+ exports.measureElement = ej2Treemap.measureElement;
468
+ exports.getArea = ej2Treemap.getArea;
469
+ exports.getShortestEdge = ej2Treemap.getShortestEdge;
470
+ exports.convertToContainer = ej2Treemap.convertToContainer;
471
+ exports.convertToRect = ej2Treemap.convertToRect;
472
+ exports.getMousePosition = ej2Treemap.getMousePosition;
473
+ exports.colorMap = ej2Treemap.colorMap;
474
+ exports.deSaturationColor = ej2Treemap.deSaturationColor;
475
+ exports.colorCollections = ej2Treemap.colorCollections;
476
+ exports.rgbToHex = ej2Treemap.rgbToHex;
477
+ exports.getColorByValue = ej2Treemap.getColorByValue;
478
+ exports.getGradientColor = ej2Treemap.getGradientColor;
479
+ exports.getPercentageColor = ej2Treemap.getPercentageColor;
480
+ exports.getPercentage = ej2Treemap.getPercentage;
481
+ exports.wordWrap = ej2Treemap.wordWrap;
482
+ exports.textWrap = ej2Treemap.textWrap;
483
+ exports.hide = ej2Treemap.hide;
484
+ exports.orderByArea = ej2Treemap.orderByArea;
485
+ exports.maintainSelection = ej2Treemap.maintainSelection;
486
+ exports.legendMaintain = ej2Treemap.legendMaintain;
487
+ exports.removeClassNames = ej2Treemap.removeClassNames;
488
+ exports.applyOptions = ej2Treemap.applyOptions;
489
+ exports.textFormatter = ej2Treemap.textFormatter;
490
+ exports.formatValue = ej2Treemap.formatValue;
491
+ exports.ColorValue = ej2Treemap.ColorValue;
492
+ exports.convertToHexCode = ej2Treemap.convertToHexCode;
493
+ exports.componentToHex = ej2Treemap.componentToHex;
494
+ exports.convertHexToColor = ej2Treemap.convertHexToColor;
495
+ exports.colorNameToHex = ej2Treemap.colorNameToHex;
496
+ exports.drawSymbol = ej2Treemap.drawSymbol;
497
+ exports.renderLegendShape = ej2Treemap.renderLegendShape;
498
+ exports.isParentItem = ej2Treemap.isParentItem;
499
+ exports.TreeMapAjax = ej2Treemap.TreeMapAjax;
500
+ exports.removeShape = ej2Treemap.removeShape;
501
+ exports.removeLegend = ej2Treemap.removeLegend;
502
+ exports.setColor = ej2Treemap.setColor;
503
+ exports.removeSelectionWithHighlight = ej2Treemap.removeSelectionWithHighlight;
504
+ exports.getLegendIndex = ej2Treemap.getLegendIndex;
505
+ exports.pushCollection = ej2Treemap.pushCollection;
506
+ exports.triggerDownload = ej2Treemap.triggerDownload;
507
+ exports.removeElement = ej2Treemap.removeElement;
508
+ exports.TreeMapLegend = ej2Treemap.TreeMapLegend;
509
+ exports.LayoutPanel = ej2Treemap.LayoutPanel;
510
+ exports.TreeMapHighlight = ej2Treemap.TreeMapHighlight;
511
+ exports.TreeMapSelection = ej2Treemap.TreeMapSelection;
512
+ exports.TreeMapTooltip = ej2Treemap.TreeMapTooltip;
513
+ exports.ImageExport = ej2Treemap.ImageExport;
514
+ exports.PdfExport = ej2Treemap.PdfExport;
515
+ exports.Print = ej2Treemap.Print;
516
+
517
+ Object.defineProperty(exports, '__esModule', { value: true });
518
+
519
+ })));
520
+ //# sourceMappingURL=ej2-angular-treemap.umd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ej2-angular-treemap.umd.js","sources":["~/@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":["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":["CommonModule","NgModule","ImageExport","PdfExport","Print","TreeMapSelection","TreeMapHighlight","TreeMapLegend","TreeMapTooltip","TreeMapComponent","Injector","ViewContainerRef","Renderer2","__metadata","ElementRef","ComponentMixins","ComponentBase","__decorate","Template","ContentChild","ChangeDetectionStrategy","outputs","Component","TreeMap","setValue","ContentChildren","Directive","ArrayBase","input","ComplexBase"],"mappings":";;;;;;;;;;;;;;;;AIKA,IAAI,KAAA,GAAkB,CAAA,OAAE,EAAQ,MAAA,EAAQ,OAAA,EAAS,YAAA,EAAc,YAAA,EAAc,YAAA,EAAc,IAAA,EAAM,OAAA,CAAQ,CAAC;AAC1G,IAAI,OAAA,GAAoB,EAAA,CAAG;AAC3B,IAAA,qBAAA,kBAAA,UAAA,MAAA,EAAA;IAEC,SAAD,CAAA,qBAAA,EAAA,MAAA,CAAA,CAAC;;;;IA2CD,SAAA,qBAAA,CAGwB,gBAAkB,EAH1C;QAAA,IAAA,KAAA,GACQ,MADR,CAAA,IAAA,CAAA,IAAA,CACe,IADf,IAAA,CAKK;QAFmB,KAAxB,CAAA,gBAAwB,GAAA,gBAAA,CAAkB;QADlCwB,uBAAQ,CAAC,iBAAiB,EAAE,KAAI,EAAE,KAAI,CAAC,gBAAgB,CAAC,CAAC;QACzD,KAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;QAC7B,KAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;;KAClC;;CAlDL,CAECK,0BAAA,CAFD,CAAA,CAAA;AAsDO,qBAAP,CAAA,U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IAAA,gBAAA,kBAAA,YAAA;IAAA,SAAA,gBAAA,GAAA;;;CAAA,EAAA,CAAA,CAAA;AAEuC,gBAAvC,CAAA,UAAuC,GAAoC;IAD3E,EAEE,IAAA,EAAMD,aAAA,EAAU,IAAA,EAAM,CAAA;gBADpB,OAAO,EAEE,CAAAD,mBAAE,EAAa,aAAA,CAAc;gBADtC,OAAO,EAEE;oBADL,aAAa;iBAChB;gBACD,SAAS,EAEC;oBADN,qBAAqB;oBACrB,oBAAoB;oBACpB,uBAAuB;oBACvB,uBAAuB;oBACvB,YAAY;oBACZ,gBAAgB;oBAChB,kBAAkB;iBACrB;aACJ,EAEC,EAAG;CADJ,CAEC;;;;AAED,gBAAD,CAAA,cAAC,GAAA,YAAD,EAAC,OAAA,EACA,CADD,EACC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * filename: ej2-angular-treemap.umd.min.js
3
+ * version : 20.4.48
4
+ * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
+ * Use of this code is subject to the terms of our license.
6
+ * A copy of the current license can be obtained at any time by e-mailing
7
+ * licensing@syncfusion.com. Any infringement will be prosecuted under
8
+ * applicable laws.
9
+ */
10
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@syncfusion/ej2-angular-base"),require("@syncfusion/ej2-treemap"),require("@angular/common")):"function"==typeof define&&define.amd?define(["exports","@angular/core","@syncfusion/ej2-angular-base","@syncfusion/ej2-treemap","@angular/common"],t):t(e["ej2-angular-treemap"]={},e.ng.core,e.ej2.angular.base,e.ej2.treemap,e.ng.common)}(this,function(e,t,r,n,o){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),a=["color","from","label","maxOpacity","minOpacity","showLegend","to","value"],l=[],c=function(e){function t(t){var n=e.call(this)||this;return n.viewContainerRef=t,r.setValue("currentInstance",n,n.viewContainerRef),n.registerEvents(l),n.directivePropList=a,n}return i(t,e),t}(r.ComplexBase);c.decorators=[{type:t.Directive,args:[{selector:"e-levels>e-colorMappings>e-colorMapping",inputs:a,outputs:l,queries:{}}]}],c.ctorParameters=function(){return[{type:t.ViewContainerRef}]};var p=function(e){function t(){return e.call(this,"colormapping")||this}return i(t,e),t}(r.ArrayBase);p.decorators=[{type:t.Directive,args:[{selector:"e-levels>e-colorMappings",queries:{children:new t.ContentChildren(c)}}]}],p.ctorParameters=function(){return[]};var s=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},g=["autoFill","border","colorMapping","fill","groupGap","groupPadding","groupPath","headerAlignment","headerFormat","headerHeight","headerStyle","headerTemplate","opacity","showHeader","templatePosition"],u=[],m=function(e){function t(t){var n=e.call(this)||this;return n.viewContainerRef=t,n.tags=["colorMapping"],r.setValue("currentInstance",n,n.viewContainerRef),n.registerEvents(u),n.directivePropList=g,n}return i(t,e),t}(r.ComplexBase);m.decorators=[{type:t.Directive,args:[{selector:"e-levels>e-level",inputs:g,outputs:u,queries:{childColorMapping:new t.ContentChild(p)}}]}],m.ctorParameters=function(){return[{type:t.ViewContainerRef}]},m.propDecorators={headerTemplate:[{type:t.ContentChild,args:["headerTemplate"]}]},s([r.Template(),d("design:type",Object)],m.prototype,"headerTemplate",void 0);var h=function(e){function t(){return e.call(this,"levels")||this}return i(t,e),t}(r.ArrayBase);h.decorators=[{type:t.Directive,args:[{selector:"ej-treemap>e-levels",queries:{children:new t.ContentChildren(m)}}]}],h.ctorParameters=function(){return[]};var f=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},T=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},M=["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"],v=["beforePrint","click","doubleClick","drillEnd","drillStart","itemClick","itemHighlight","itemMove","itemRendering","itemSelected","legendItemRendering","legendRendering","load","loaded","mouseMove","resize","rightClick","tooltipRendering"],C=[""];e.TreeMapComponent=function(e){function t(t,n,o,i){var a=e.call(this)||this;a.ngEle=t,a.srenderer=n,a.viewContainerRef=o,a.injector=i,a.tags=["levels"],a.element=a.ngEle.nativeElement,a.injectedModules=a.injectedModules||[];try{var l=a.injector.get("TreeMapTreeMapTooltip");-1===a.injectedModules.indexOf(l)&&a.injectedModules.push(l)}catch(c){}try{l=a.injector.get("TreeMapTreeMapLegend");-1===a.injectedModules.indexOf(l)&&a.injectedModules.push(l)}catch(p){}try{l=a.injector.get("TreeMapTreeMapHighlight");-1===a.injectedModules.indexOf(l)&&a.injectedModules.push(l)}catch(s){}try{l=a.injector.get("TreeMapTreeMapSelection");-1===a.injectedModules.indexOf(l)&&a.injectedModules.push(l)}catch(d){}try{l=a.injector.get("TreeMapPrint");-1===a.injectedModules.indexOf(l)&&a.injectedModules.push(l)}catch(g){}try{l=a.injector.get("TreeMapPdfExport");-1===a.injectedModules.indexOf(l)&&a.injectedModules.push(l)}catch(u){}try{l=a.injector.get("TreeMapImageExport");-1===a.injectedModules.indexOf(l)&&a.injectedModules.push(l)}catch(m){}return a.registerEvents(v),a.addTwoWay.call(a,C),r.setValue("currentInstance",a,a.viewContainerRef),a.context=new r.ComponentBase,a}return i(t,e),t.prototype.ngOnInit=function(){this.context.ngOnInit(this)},t.prototype.ngAfterViewInit=function(){this.context.ngAfterViewInit(this)},t.prototype.ngOnDestroy=function(){this.context.ngOnDestroy(this)},t.prototype.ngAfterContentChecked=function(){this.tagObjects[0].instance=this.childLevels,this.context.ngAfterContentChecked(this)},t}(n.TreeMap),e.TreeMapComponent.decorators=[{type:t.Component,args:[{selector:"ejs-treemap",inputs:M,outputs:v,template:"",changeDetection:t.ChangeDetectionStrategy.OnPush,queries:{childLevels:new t.ContentChild(h)}}]}],e.TreeMapComponent.ctorParameters=function(){return[{type:t.ElementRef},{type:t.Renderer2},{type:t.ViewContainerRef},{type:t.Injector}]},e.TreeMapComponent.propDecorators={tooltipSettings_template:[{type:t.ContentChild,args:["tooltipSettingsTemplate"]}],leafItemSettings_labelTemplate:[{type:t.ContentChild,args:["leafItemSettingsLabelTemplate"]}]},f([r.Template(),T("design:type",Object)],e.TreeMapComponent.prototype,"tooltipSettings_template",void 0),f([r.Template(),T("design:type",Object)],e.TreeMapComponent.prototype,"leafItemSettings_labelTemplate",void 0),e.TreeMapComponent=f([r.ComponentMixins([r.ComponentBase]),T("design:paramtypes",[t.ElementRef,t.Renderer2,t.ViewContainerRef,t.Injector])],e.TreeMapComponent);var y=function(){return function(){}}();y.decorators=[{type:t.NgModule,args:[{imports:[o.CommonModule],declarations:[e.TreeMapComponent,c,p,m,h],exports:[e.TreeMapComponent,c,p,m,h]}]}],y.ctorParameters=function(){return[]};var S={provide:"TreeMapTreeMapTooltip",useValue:n.TreeMapTooltip},x={provide:"TreeMapTreeMapLegend",useValue:n.TreeMapLegend},P={provide:"TreeMapTreeMapHighlight",useValue:n.TreeMapHighlight},j={provide:"TreeMapTreeMapSelection",useValue:n.TreeMapSelection},b={provide:"TreeMapPrint",useValue:n.Print},R={provide:"TreeMapPdfExport",useValue:n.PdfExport},w={provide:"TreeMapImageExport",useValue:n.ImageExport},O=function(){return function(){}}();O.decorators=[{type:t.NgModule,args:[{imports:[o.CommonModule,y],exports:[y],providers:[S,x,P,j,b,R,w]}]}],O.ctorParameters=function(){return[]},e.ColorMappingDirective=c,e.ColorMappingsDirective=p,e.LevelDirective=m,e.LevelsDirective=h,e.TreeMapModule=y,e.TreeMapAllModule=O,e.TreeMapTooltipService=S,e.TreeMapLegendService=x,e.TreeMapHighlightService=P,e.TreeMapSelectionService=j,e.PrintService=b,e.PdfExportService=R,e.ImageExportService=w,e.ɵa=M,e.ɵb=v,e.TreeMap=n.TreeMap,e.LevelsData=n.LevelsData,e.Border=n.Border,e.Margin=n.Margin,e.Font=n.Font,e.CommonTitleSettings=n.CommonTitleSettings,e.SubTitleSettings=n.SubTitleSettings,e.TitleSettings=n.TitleSettings,e.ColorMapping=n.ColorMapping,e.LegendSettings=n.LegendSettings,e.InitialDrillSettings=n.InitialDrillSettings,e.LeafItemSettings=n.LeafItemSettings,e.TooltipSettings=n.TooltipSettings,e.SelectionSettings=n.SelectionSettings,e.HighlightSettings=n.HighlightSettings,e.LevelSettings=n.LevelSettings,e.load=n.load,e.loaded=n.loaded,e.beforePrint=n.beforePrint,e.itemRendering=n.itemRendering,e.drillStart=n.drillStart,e.drillEnd=n.drillEnd,e.itemSelected=n.itemSelected,e.itemHighlight=n.itemHighlight,e.tooltipRendering=n.tooltipRendering,e.itemClick=n.itemClick,e.itemMove=n.itemMove,e.click=n.click,e.doubleClick=n.doubleClick,e.rightClick=n.rightClick,e.mouseMove=n.mouseMove,e.legendItemRendering=n.legendItemRendering,e.legendRendering=n.legendRendering,e.resize=n.resize,e.defaultFont=n.defaultFont,e.Theme=n.Theme,e.getThemeStyle=n.getThemeStyle,e.Size=n.Size,e.stringToNumber=n.stringToNumber,e.Rect=n.Rect,e.RectOption=n.RectOption,e.PathOption=n.PathOption,e.measureText=n.measureText,e.TextOption=n.TextOption,e.textTrim=n.textTrim,e.Location=n.Location,e.findPosition=n.findPosition,e.createTextStyle=n.createTextStyle,e.renderTextElement=n.renderTextElement,e.setItemTemplateContent=n.setItemTemplateContent,e.getElement=n.getElement,e.itemsToOrder=n.itemsToOrder,e.isContainsData=n.isContainsData,e.findChildren=n.findChildren,e.findHightLightItems=n.findHightLightItems,e.getTemplateFunction=n.getTemplateFunction,e.convertElement=n.convertElement,e.findLabelLocation=n.findLabelLocation,e.measureElement=n.measureElement,e.getArea=n.getArea,e.getShortestEdge=n.getShortestEdge,e.convertToContainer=n.convertToContainer,e.convertToRect=n.convertToRect,e.getMousePosition=n.getMousePosition,e.colorMap=n.colorMap,e.deSaturationColor=n.deSaturationColor,e.colorCollections=n.colorCollections,e.rgbToHex=n.rgbToHex,e.getColorByValue=n.getColorByValue,e.getGradientColor=n.getGradientColor,e.getPercentageColor=n.getPercentageColor,e.getPercentage=n.getPercentage,e.wordWrap=n.wordWrap,e.textWrap=n.textWrap,e.hide=n.hide,e.orderByArea=n.orderByArea,e.maintainSelection=n.maintainSelection,e.legendMaintain=n.legendMaintain,e.removeClassNames=n.removeClassNames,e.applyOptions=n.applyOptions,e.textFormatter=n.textFormatter,e.formatValue=n.formatValue,e.ColorValue=n.ColorValue,e.convertToHexCode=n.convertToHexCode,e.componentToHex=n.componentToHex,e.convertHexToColor=n.convertHexToColor,e.colorNameToHex=n.colorNameToHex,e.drawSymbol=n.drawSymbol,e.renderLegendShape=n.renderLegendShape,e.isParentItem=n.isParentItem,e.TreeMapAjax=n.TreeMapAjax,e.removeShape=n.removeShape,e.removeLegend=n.removeLegend,e.setColor=n.setColor,e.removeSelectionWithHighlight=n.removeSelectionWithHighlight,e.getLegendIndex=n.getLegendIndex,e.pushCollection=n.pushCollection,e.triggerDownload=n.triggerDownload,e.removeElement=n.removeElement,e.TreeMapLegend=n.TreeMapLegend,e.LayoutPanel=n.LayoutPanel,e.TreeMapHighlight=n.TreeMapHighlight,e.TreeMapSelection=n.TreeMapSelection,e.TreeMapTooltip=n.TreeMapTooltip,e.ImageExport=n.ImageExport,e.PdfExport=n.PdfExport,e.Print=n.Print,Object.defineProperty(e,"__esModule",{value:!0})});
11
+ //# sourceMappingURL=ej2-angular-treemap.umd.min.js.map