@syncfusion/ej2-treemap 25.2.3 → 26.1.35

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,7 +1,7 @@
1
- import { Browser, ChildProperty, Collection, Complex, Component, Event, EventHandler, Fetch, Internationalization, NotifyPropertyChanges, Property, SanitizeHtmlHelper, compile, createElement, extend, isNullOrUndefined, merge, print, remove } from '@syncfusion/ej2-base';
1
+ import { ChildProperty, Property, Complex, Collection, createElement, SanitizeHtmlHelper, isNullOrUndefined, compile, merge, remove, extend, print, Browser, Component, Fetch, EventHandler, Internationalization, Event, NotifyPropertyChanges } from '@syncfusion/ej2-base';
2
2
  import { SvgRenderer, Tooltip } from '@syncfusion/ej2-svg-base';
3
3
  import { DataManager, Query } from '@syncfusion/ej2-data';
4
- import { PdfBitmap, PdfDocument, PdfPageOrientation } from '@syncfusion/ej2-pdf-export';
4
+ import { PdfPageOrientation, PdfDocument, PdfBitmap } from '@syncfusion/ej2-pdf-export';
5
5
 
6
6
  /**
7
7
  * TreeMap constants doc
@@ -121,24 +121,21 @@ const resize = 'resize';
121
121
  */
122
122
  const defaultFont = 'Roboto, Segoe UI, Noto, Sans-serif';
123
123
 
124
- var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
124
+ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
125
125
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
126
126
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
127
127
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
128
128
  return c > 3 && r && Object.defineProperty(target, key, r), r;
129
129
  };
130
- /**
131
- * Maps base doc
132
- */
133
130
  /**
134
131
  * Sets and gets the options for customizing the color and width of the border in treemap.
135
132
  */
136
133
  class Border extends ChildProperty {
137
134
  }
138
- __decorate$1([
135
+ __decorate([
139
136
  Property('#808080')
140
137
  ], Border.prototype, "color", void 0);
141
- __decorate$1([
138
+ __decorate([
142
139
  Property(0)
143
140
  ], Border.prototype, "width", void 0);
144
141
  /**
@@ -146,16 +143,16 @@ __decorate$1([
146
143
  */
147
144
  class Margin extends ChildProperty {
148
145
  }
149
- __decorate$1([
146
+ __decorate([
150
147
  Property(10)
151
148
  ], Margin.prototype, "left", void 0);
152
- __decorate$1([
149
+ __decorate([
153
150
  Property(10)
154
151
  ], Margin.prototype, "right", void 0);
155
- __decorate$1([
152
+ __decorate([
156
153
  Property(10)
157
154
  ], Margin.prototype, "top", void 0);
158
- __decorate$1([
155
+ __decorate([
159
156
  Property(10)
160
157
  ], Margin.prototype, "bottom", void 0);
161
158
  /**
@@ -163,22 +160,22 @@ __decorate$1([
163
160
  */
164
161
  class Font extends ChildProperty {
165
162
  }
166
- __decorate$1([
163
+ __decorate([
167
164
  Property(null)
168
165
  ], Font.prototype, "size", void 0);
169
- __decorate$1([
166
+ __decorate([
170
167
  Property(null)
171
168
  ], Font.prototype, "color", void 0);
172
- __decorate$1([
169
+ __decorate([
173
170
  Property(defaultFont)
174
171
  ], Font.prototype, "fontFamily", void 0);
175
- __decorate$1([
172
+ __decorate([
176
173
  Property('')
177
174
  ], Font.prototype, "fontWeight", void 0);
178
- __decorate$1([
175
+ __decorate([
179
176
  Property('Normal')
180
177
  ], Font.prototype, "fontStyle", void 0);
181
- __decorate$1([
178
+ __decorate([
182
179
  Property(1)
183
180
  ], Font.prototype, "opacity", void 0);
184
181
  /**
@@ -186,10 +183,10 @@ __decorate$1([
186
183
  */
187
184
  class CommonTitleSettings extends ChildProperty {
188
185
  }
189
- __decorate$1([
186
+ __decorate([
190
187
  Property('')
191
188
  ], CommonTitleSettings.prototype, "text", void 0);
192
- __decorate$1([
189
+ __decorate([
193
190
  Property('')
194
191
  ], CommonTitleSettings.prototype, "description", void 0);
195
192
  /**
@@ -197,10 +194,10 @@ __decorate$1([
197
194
  */
198
195
  class SubTitleSettings extends CommonTitleSettings {
199
196
  }
200
- __decorate$1([
197
+ __decorate([
201
198
  Complex({ fontFamily: null, fontWeight: null }, Font)
202
199
  ], SubTitleSettings.prototype, "textStyle", void 0);
203
- __decorate$1([
200
+ __decorate([
204
201
  Property('Center')
205
202
  ], SubTitleSettings.prototype, "alignment", void 0);
206
203
  /**
@@ -208,13 +205,13 @@ __decorate$1([
208
205
  */
209
206
  class TitleSettings extends CommonTitleSettings {
210
207
  }
211
- __decorate$1([
208
+ __decorate([
212
209
  Complex({ fontFamily: null, fontWeight: null }, Font)
213
210
  ], TitleSettings.prototype, "textStyle", void 0);
214
- __decorate$1([
211
+ __decorate([
215
212
  Property('Center')
216
213
  ], TitleSettings.prototype, "alignment", void 0);
217
- __decorate$1([
214
+ __decorate([
218
215
  Complex({}, SubTitleSettings)
219
216
  ], TitleSettings.prototype, "subtitleSettings", void 0);
220
217
  /**
@@ -222,28 +219,28 @@ __decorate$1([
222
219
  */
223
220
  class ColorMapping extends ChildProperty {
224
221
  }
225
- __decorate$1([
222
+ __decorate([
226
223
  Property(null)
227
224
  ], ColorMapping.prototype, "from", void 0);
228
- __decorate$1([
225
+ __decorate([
229
226
  Property(null)
230
227
  ], ColorMapping.prototype, "to", void 0);
231
- __decorate$1([
228
+ __decorate([
232
229
  Property(null)
233
230
  ], ColorMapping.prototype, "color", void 0);
234
- __decorate$1([
231
+ __decorate([
235
232
  Property(null)
236
233
  ], ColorMapping.prototype, "label", void 0);
237
- __decorate$1([
234
+ __decorate([
238
235
  Property(null)
239
236
  ], ColorMapping.prototype, "value", void 0);
240
- __decorate$1([
237
+ __decorate([
241
238
  Property(null)
242
239
  ], ColorMapping.prototype, "minOpacity", void 0);
243
- __decorate$1([
240
+ __decorate([
244
241
  Property(null)
245
242
  ], ColorMapping.prototype, "maxOpacity", void 0);
246
- __decorate$1([
243
+ __decorate([
247
244
  Property(true)
248
245
  ], ColorMapping.prototype, "showLegend", void 0);
249
246
  /**
@@ -251,85 +248,85 @@ __decorate$1([
251
248
  */
252
249
  class LegendSettings extends ChildProperty {
253
250
  }
254
- __decorate$1([
251
+ __decorate([
255
252
  Property(false)
256
253
  ], LegendSettings.prototype, "visible", void 0);
257
- __decorate$1([
254
+ __decorate([
258
255
  Property('Default')
259
256
  ], LegendSettings.prototype, "mode", void 0);
260
- __decorate$1([
257
+ __decorate([
261
258
  Property('transparent')
262
259
  ], LegendSettings.prototype, "background", void 0);
263
- __decorate$1([
260
+ __decorate([
264
261
  Property('Circle')
265
262
  ], LegendSettings.prototype, "shape", void 0);
266
- __decorate$1([
263
+ __decorate([
267
264
  Property('')
268
265
  ], LegendSettings.prototype, "width", void 0);
269
- __decorate$1([
266
+ __decorate([
270
267
  Property('')
271
268
  ], LegendSettings.prototype, "height", void 0);
272
- __decorate$1([
269
+ __decorate([
273
270
  Complex({ size: null, fontFamily: null, fontWeight: null }, Font)
274
271
  ], LegendSettings.prototype, "textStyle", void 0);
275
- __decorate$1([
272
+ __decorate([
276
273
  Property(null)
277
274
  ], LegendSettings.prototype, "fill", void 0);
278
- __decorate$1([
275
+ __decorate([
279
276
  Property(1)
280
277
  ], LegendSettings.prototype, "opacity", void 0);
281
- __decorate$1([
278
+ __decorate([
282
279
  Property(15)
283
280
  ], LegendSettings.prototype, "shapeWidth", void 0);
284
- __decorate$1([
281
+ __decorate([
285
282
  Property(15)
286
283
  ], LegendSettings.prototype, "shapeHeight", void 0);
287
- __decorate$1([
284
+ __decorate([
288
285
  Property(10)
289
286
  ], LegendSettings.prototype, "shapePadding", void 0);
290
- __decorate$1([
287
+ __decorate([
291
288
  Property(null)
292
289
  ], LegendSettings.prototype, "imageUrl", void 0);
293
- __decorate$1([
294
- Complex({ color: '#000000', width: 0 }, Border)
290
+ __decorate([
291
+ Complex({ color: null, width: null }, Border)
295
292
  ], LegendSettings.prototype, "border", void 0);
296
- __decorate$1([
293
+ __decorate([
297
294
  Complex({ color: '#000000', width: 0 }, Border)
298
295
  ], LegendSettings.prototype, "shapeBorder", void 0);
299
- __decorate$1([
296
+ __decorate([
300
297
  Complex({}, CommonTitleSettings)
301
298
  ], LegendSettings.prototype, "title", void 0);
302
- __decorate$1([
299
+ __decorate([
303
300
  Complex({ size: null, fontFamily: null, fontWeight: null }, Font)
304
301
  ], LegendSettings.prototype, "titleStyle", void 0);
305
- __decorate$1([
302
+ __decorate([
306
303
  Property('Bottom')
307
304
  ], LegendSettings.prototype, "position", void 0);
308
- __decorate$1([
305
+ __decorate([
309
306
  Property('None')
310
307
  ], LegendSettings.prototype, "orientation", void 0);
311
- __decorate$1([
308
+ __decorate([
312
309
  Property(false)
313
310
  ], LegendSettings.prototype, "invertedPointer", void 0);
314
- __decorate$1([
311
+ __decorate([
315
312
  Property('After')
316
313
  ], LegendSettings.prototype, "labelPosition", void 0);
317
- __decorate$1([
314
+ __decorate([
318
315
  Property('None')
319
316
  ], LegendSettings.prototype, "labelDisplayMode", void 0);
320
- __decorate$1([
317
+ __decorate([
321
318
  Property('Center')
322
319
  ], LegendSettings.prototype, "alignment", void 0);
323
- __decorate$1([
320
+ __decorate([
324
321
  Property({ x: 0, y: 0 })
325
322
  ], LegendSettings.prototype, "location", void 0);
326
- __decorate$1([
323
+ __decorate([
327
324
  Property(null)
328
325
  ], LegendSettings.prototype, "showLegendPath", void 0);
329
- __decorate$1([
326
+ __decorate([
330
327
  Property(null)
331
328
  ], LegendSettings.prototype, "valuePath", void 0);
332
- __decorate$1([
329
+ __decorate([
333
330
  Property(false)
334
331
  ], LegendSettings.prototype, "removeDuplicateLegend", void 0);
335
332
  /**
@@ -337,10 +334,10 @@ __decorate$1([
337
334
  */
338
335
  class InitialDrillSettings extends ChildProperty {
339
336
  }
340
- __decorate$1([
337
+ __decorate([
341
338
  Property(null)
342
339
  ], InitialDrillSettings.prototype, "groupIndex", void 0);
343
- __decorate$1([
340
+ __decorate([
344
341
  Property(null)
345
342
  ], InitialDrillSettings.prototype, "groupName", void 0);
346
343
  /**
@@ -348,49 +345,49 @@ __decorate$1([
348
345
  */
349
346
  class LeafItemSettings extends ChildProperty {
350
347
  }
351
- __decorate$1([
348
+ __decorate([
352
349
  Property(null)
353
350
  ], LeafItemSettings.prototype, "fill", void 0);
354
- __decorate$1([
351
+ __decorate([
355
352
  Property(false)
356
353
  ], LeafItemSettings.prototype, "autoFill", void 0);
357
- __decorate$1([
354
+ __decorate([
358
355
  Complex({}, Border)
359
356
  ], LeafItemSettings.prototype, "border", void 0);
360
- __decorate$1([
357
+ __decorate([
361
358
  Property(0)
362
359
  ], LeafItemSettings.prototype, "gap", void 0);
363
- __decorate$1([
360
+ __decorate([
364
361
  Property(10)
365
362
  ], LeafItemSettings.prototype, "padding", void 0);
366
- __decorate$1([
363
+ __decorate([
367
364
  Property(1)
368
365
  ], LeafItemSettings.prototype, "opacity", void 0);
369
- __decorate$1([
366
+ __decorate([
370
367
  Property(true)
371
368
  ], LeafItemSettings.prototype, "showLabels", void 0);
372
- __decorate$1([
369
+ __decorate([
373
370
  Property(null)
374
371
  ], LeafItemSettings.prototype, "labelPath", void 0);
375
- __decorate$1([
372
+ __decorate([
376
373
  Property(null)
377
374
  ], LeafItemSettings.prototype, "labelFormat", void 0);
378
- __decorate$1([
375
+ __decorate([
379
376
  Property('TopLeft')
380
377
  ], LeafItemSettings.prototype, "labelPosition", void 0);
381
- __decorate$1([
382
- Complex({ color: null, size: '12px' }, Font)
378
+ __decorate([
379
+ Complex({ color: null, size: null }, Font)
383
380
  ], LeafItemSettings.prototype, "labelStyle", void 0);
384
- __decorate$1([
381
+ __decorate([
385
382
  Property(null)
386
383
  ], LeafItemSettings.prototype, "labelTemplate", void 0);
387
- __decorate$1([
384
+ __decorate([
388
385
  Property('Center')
389
386
  ], LeafItemSettings.prototype, "templatePosition", void 0);
390
- __decorate$1([
387
+ __decorate([
391
388
  Property('Trim')
392
389
  ], LeafItemSettings.prototype, "interSectAction", void 0);
393
- __decorate$1([
390
+ __decorate([
394
391
  Collection([], ColorMapping)
395
392
  ], LeafItemSettings.prototype, "colorMapping", void 0);
396
393
  /**
@@ -398,28 +395,28 @@ __decorate$1([
398
395
  */
399
396
  class TooltipSettings extends ChildProperty {
400
397
  }
401
- __decorate$1([
398
+ __decorate([
402
399
  Property(false)
403
400
  ], TooltipSettings.prototype, "visible", void 0);
404
- __decorate$1([
401
+ __decorate([
405
402
  Property('')
406
403
  ], TooltipSettings.prototype, "template", void 0);
407
- __decorate$1([
404
+ __decorate([
408
405
  Property(null)
409
406
  ], TooltipSettings.prototype, "format", void 0);
410
- __decorate$1([
407
+ __decorate([
411
408
  Property(null)
412
409
  ], TooltipSettings.prototype, "fill", void 0);
413
- __decorate$1([
410
+ __decorate([
414
411
  Property(0.75)
415
412
  ], TooltipSettings.prototype, "opacity", void 0);
416
- __decorate$1([
413
+ __decorate([
417
414
  Property(['Circle'])
418
415
  ], TooltipSettings.prototype, "markerShapes", void 0);
419
- __decorate$1([
420
- Complex({}, Border)
416
+ __decorate([
417
+ Complex({ width: null, color: null }, Border)
421
418
  ], TooltipSettings.prototype, "border", void 0);
422
- __decorate$1([
419
+ __decorate([
423
420
  Complex({ fontFamily: null, size: null, fontWeight: null }, Font)
424
421
  ], TooltipSettings.prototype, "textStyle", void 0);
425
422
  /**
@@ -427,19 +424,19 @@ __decorate$1([
427
424
  */
428
425
  class SelectionSettings extends ChildProperty {
429
426
  }
430
- __decorate$1([
427
+ __decorate([
431
428
  Property(false)
432
429
  ], SelectionSettings.prototype, "enable", void 0);
433
- __decorate$1([
430
+ __decorate([
434
431
  Property(null)
435
432
  ], SelectionSettings.prototype, "fill", void 0);
436
- __decorate$1([
433
+ __decorate([
437
434
  Property('0.5')
438
435
  ], SelectionSettings.prototype, "opacity", void 0);
439
- __decorate$1([
436
+ __decorate([
440
437
  Complex({}, Border)
441
438
  ], SelectionSettings.prototype, "border", void 0);
442
- __decorate$1([
439
+ __decorate([
443
440
  Property('Item')
444
441
  ], SelectionSettings.prototype, "mode", void 0);
445
442
  /**
@@ -448,19 +445,19 @@ __decorate$1([
448
445
  */
449
446
  class HighlightSettings extends ChildProperty {
450
447
  }
451
- __decorate$1([
448
+ __decorate([
452
449
  Property(false)
453
450
  ], HighlightSettings.prototype, "enable", void 0);
454
- __decorate$1([
451
+ __decorate([
455
452
  Property('#808080')
456
453
  ], HighlightSettings.prototype, "fill", void 0);
457
- __decorate$1([
454
+ __decorate([
458
455
  Property('0.5')
459
456
  ], HighlightSettings.prototype, "opacity", void 0);
460
- __decorate$1([
457
+ __decorate([
461
458
  Complex({}, Border)
462
459
  ], HighlightSettings.prototype, "border", void 0);
463
- __decorate$1([
460
+ __decorate([
464
461
  Property('Item')
465
462
  ], HighlightSettings.prototype, "mode", void 0);
466
463
  /**
@@ -468,49 +465,49 @@ __decorate$1([
468
465
  */
469
466
  class LevelSettings extends ChildProperty {
470
467
  }
471
- __decorate$1([
468
+ __decorate([
472
469
  Property(null)
473
470
  ], LevelSettings.prototype, "groupPath", void 0);
474
- __decorate$1([
471
+ __decorate([
475
472
  Property(0)
476
473
  ], LevelSettings.prototype, "groupGap", void 0);
477
- __decorate$1([
474
+ __decorate([
478
475
  Property(10)
479
476
  ], LevelSettings.prototype, "groupPadding", void 0);
480
- __decorate$1([
477
+ __decorate([
481
478
  Complex({}, Border)
482
479
  ], LevelSettings.prototype, "border", void 0);
483
- __decorate$1([
480
+ __decorate([
484
481
  Property(null)
485
482
  ], LevelSettings.prototype, "fill", void 0);
486
- __decorate$1([
483
+ __decorate([
487
484
  Property(false)
488
485
  ], LevelSettings.prototype, "autoFill", void 0);
489
- __decorate$1([
486
+ __decorate([
490
487
  Property(1)
491
488
  ], LevelSettings.prototype, "opacity", void 0);
492
- __decorate$1([
489
+ __decorate([
493
490
  Property(true)
494
491
  ], LevelSettings.prototype, "showHeader", void 0);
495
- __decorate$1([
492
+ __decorate([
496
493
  Property(20)
497
494
  ], LevelSettings.prototype, "headerHeight", void 0);
498
- __decorate$1([
495
+ __decorate([
499
496
  Property(null)
500
497
  ], LevelSettings.prototype, "headerTemplate", void 0);
501
- __decorate$1([
498
+ __decorate([
502
499
  Property(null)
503
500
  ], LevelSettings.prototype, "headerFormat", void 0);
504
- __decorate$1([
501
+ __decorate([
505
502
  Property('Near')
506
503
  ], LevelSettings.prototype, "headerAlignment", void 0);
507
- __decorate$1([
504
+ __decorate([
508
505
  Complex({ color: null, size: '13px' }, Font)
509
506
  ], LevelSettings.prototype, "headerStyle", void 0);
510
- __decorate$1([
507
+ __decorate([
511
508
  Property('TopLeft')
512
509
  ], LevelSettings.prototype, "templatePosition", void 0);
513
- __decorate$1([
510
+ __decorate([
514
511
  Collection([], ColorMapping)
515
512
  ], LevelSettings.prototype, "colorMapping", void 0);
516
513
 
@@ -1741,7 +1738,6 @@ function setColor(element, fill, opacity, borderColor, borderWidth) {
1741
1738
  */
1742
1739
  function removeSelectionWithHighlight(collection, element, treemap) {
1743
1740
  removeShape(collection);
1744
- element = [];
1745
1741
  removeClassNames(document.getElementsByClassName('treeMapHighLight'), 'treeMapHighLight', treemap);
1746
1742
  }
1747
1743
  /**
@@ -1889,7 +1885,7 @@ class LayoutPanel {
1889
1885
  }
1890
1886
  return drillData;
1891
1887
  }
1892
- // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
1888
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
1893
1889
  calculateLayoutItems(data, rect) {
1894
1890
  this.renderItems = [];
1895
1891
  this.parentData = [];
@@ -2194,7 +2190,7 @@ class LayoutPanel {
2194
2190
  }
2195
2191
  return result;
2196
2192
  }
2197
- // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
2193
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
2198
2194
  onDemandProcess(childItems) {
2199
2195
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
2200
2196
  let parentItem = {};
@@ -2333,6 +2329,7 @@ class LayoutPanel {
2333
2329
  textStyle = (isLeafItem ? leaf.labelStyle : levels[index].headerStyle);
2334
2330
  textStyle.fontFamily = this.treemap.themeStyle.labelFontFamily || textStyle.fontFamily;
2335
2331
  textStyle.fontWeight = textStyle.fontWeight || this.treemap.themeStyle.fontWeight;
2332
+ textStyle.size = textStyle.size || this.treemap.themeStyle.labelFontSize;
2336
2333
  border = isLeafItem ? leaf.border : levels[index].border;
2337
2334
  position = !isLeafItem ? (levels[index].headerAlignment) === 'Near' ? 'TopLeft' : (levels[index].headerAlignment) === 'Center' ?
2338
2335
  'TopCenter' : 'TopRight' : leaf.labelPosition;
@@ -2464,14 +2461,16 @@ class LayoutPanel {
2464
2461
  if (colorMapping.length > 0) {
2465
2462
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
2466
2463
  const option = colorMap(colorMapping, item['data'][treemap.equalColorValuePath], item['data'][treemap.rangeColorValuePath]);
2467
- itemFill = !isNullOrUndefined(option['fill']) ? option['fill'] : treemap.leafItemSettings.fill;
2468
- itemOpacity = option['opacity'];
2464
+ if (!isNullOrUndefined(option)) {
2465
+ itemFill = !isNullOrUndefined(option['fill']) ? option['fill'] : treemap.leafItemSettings.fill;
2466
+ itemOpacity = option['opacity'];
2467
+ }
2469
2468
  }
2470
2469
  else {
2471
2470
  for (let i = 0; i < parentData.length; i++) {
2472
2471
  if (parentData[i]['levelOrderName'] === item['levelOrderName'].split('#')[0]) {
2473
2472
  itemFill = !isNullOrUndefined(itemFill) ? itemFill : !isNullOrUndefined(treemap.colorValuePath) ?
2474
- parentData[i]['data'][treemap.colorValuePath] : treemap.palette.length > 0 ?
2473
+ parentData[i]['data'][treemap.colorValuePath] : (!isNullOrUndefined(treemap.palette) && treemap.palette.length > 0) ?
2475
2474
  treemap.palette[i % treemap.palette.length] : '#808080';
2476
2475
  }
2477
2476
  }
@@ -2607,7 +2606,10 @@ function getThemeStyle(theme) {
2607
2606
  fontWeight: 'Normal',
2608
2607
  subtitleFontSize: '14px',
2609
2608
  legendFontSize: '13px',
2610
- fontFamily: 'Roboto, Noto, Sans-serif'
2609
+ fontFamily: 'Roboto, Noto, Sans-serif',
2610
+ labelFontSize: '12px',
2611
+ legendBorderColor: '#000000',
2612
+ legendBorderWidth: 0
2611
2613
  };
2612
2614
  break;
2613
2615
  case 'highcontrast':
@@ -2625,7 +2627,10 @@ function getThemeStyle(theme) {
2625
2627
  fontWeight: 'Normal',
2626
2628
  subtitleFontSize: '14px',
2627
2629
  legendFontSize: '13px',
2628
- fontFamily: 'Roboto, Noto, Sans-serif'
2630
+ fontFamily: 'Roboto, Noto, Sans-serif',
2631
+ labelFontSize: '12px',
2632
+ legendBorderColor: '#000000',
2633
+ legendBorderWidth: 0
2629
2634
  };
2630
2635
  break;
2631
2636
  case 'bootstrap4':
@@ -2646,7 +2651,10 @@ function getThemeStyle(theme) {
2646
2651
  fontWeight: 'Normal',
2647
2652
  subtitleFontSize: '14px',
2648
2653
  legendFontSize: '14px',
2649
- labelFontFamily: 'HelveticaNeue'
2654
+ labelFontFamily: 'HelveticaNeue',
2655
+ labelFontSize: '12px',
2656
+ legendBorderColor: '#000000',
2657
+ legendBorderWidth: 0
2650
2658
  };
2651
2659
  break;
2652
2660
  case 'tailwind':
@@ -2667,7 +2675,10 @@ function getThemeStyle(theme) {
2667
2675
  fontWeight: 'Normal',
2668
2676
  subtitleFontSize: '12px',
2669
2677
  legendFontSize: '12px',
2670
- labelFontFamily: 'Inter'
2678
+ labelFontFamily: 'Inter',
2679
+ labelFontSize: '12px',
2680
+ legendBorderColor: '#000000',
2681
+ legendBorderWidth: 0
2671
2682
  };
2672
2683
  break;
2673
2684
  case 'tailwinddark':
@@ -2688,7 +2699,10 @@ function getThemeStyle(theme) {
2688
2699
  fontSize: '14px',
2689
2700
  subtitleFontSize: '12px',
2690
2701
  legendFontSize: '12px',
2691
- labelFontFamily: 'Inter'
2702
+ labelFontFamily: 'Inter',
2703
+ labelFontSize: '12px',
2704
+ legendBorderColor: '#000000',
2705
+ legendBorderWidth: 0
2692
2706
  };
2693
2707
  break;
2694
2708
  case 'bootstrap5':
@@ -2709,7 +2723,10 @@ function getThemeStyle(theme) {
2709
2723
  fontWeight: 'Normal',
2710
2724
  subtitleFontSize: '12px',
2711
2725
  legendFontSize: '12px',
2712
- labelFontFamily: 'Helvetica Neue'
2726
+ labelFontFamily: 'Helvetica Neue',
2727
+ labelFontSize: '12px',
2728
+ legendBorderColor: '#000000',
2729
+ legendBorderWidth: 0
2713
2730
  };
2714
2731
  break;
2715
2732
  case 'bootstrap5dark':
@@ -2730,7 +2747,10 @@ function getThemeStyle(theme) {
2730
2747
  fontWeight: 'Normal',
2731
2748
  subtitleFontSize: '12px',
2732
2749
  legendFontSize: '12px',
2733
- labelFontFamily: 'Helvetica Neue'
2750
+ labelFontFamily: 'Helvetica Neue',
2751
+ labelFontSize: '12px',
2752
+ legendBorderColor: '#000000',
2753
+ legendBorderWidth: 0
2734
2754
  };
2735
2755
  break;
2736
2756
  case 'fluent':
@@ -2751,7 +2771,10 @@ function getThemeStyle(theme) {
2751
2771
  fontWeight: 'Normal',
2752
2772
  subtitleFontSize: '12px',
2753
2773
  legendFontSize: '12px',
2754
- labelFontFamily: 'Segoe UI'
2774
+ labelFontFamily: 'Segoe UI',
2775
+ labelFontSize: '12px',
2776
+ legendBorderColor: '#000000',
2777
+ legendBorderWidth: 0
2755
2778
  };
2756
2779
  break;
2757
2780
  case 'fluentdark':
@@ -2772,7 +2795,10 @@ function getThemeStyle(theme) {
2772
2795
  fontWeight: 'Normal',
2773
2796
  subtitleFontSize: '12px',
2774
2797
  legendFontSize: '12px',
2775
- labelFontFamily: 'Segoe UI'
2798
+ labelFontFamily: 'Segoe UI',
2799
+ labelFontSize: '12px',
2800
+ legendBorderColor: '#000000',
2801
+ legendBorderWidth: 0
2776
2802
  };
2777
2803
  break;
2778
2804
  case 'material3':
@@ -2793,7 +2819,10 @@ function getThemeStyle(theme) {
2793
2819
  fontWeight: '400',
2794
2820
  subtitleFontSize: '14px',
2795
2821
  legendFontSize: '14px',
2796
- labelFontFamily: 'Roboto'
2822
+ labelFontFamily: 'Roboto',
2823
+ labelFontSize: '12px',
2824
+ legendBorderColor: '#000000',
2825
+ legendBorderWidth: 0
2797
2826
  };
2798
2827
  break;
2799
2828
  case 'material3dark':
@@ -2814,7 +2843,84 @@ function getThemeStyle(theme) {
2814
2843
  fontWeight: '400',
2815
2844
  subtitleFontSize: '14px',
2816
2845
  legendFontSize: '14px',
2817
- labelFontFamily: 'Roboto'
2846
+ labelFontFamily: 'Roboto',
2847
+ labelFontSize: '12px',
2848
+ legendBorderColor: '#000000',
2849
+ legendBorderWidth: 0
2850
+ };
2851
+ break;
2852
+ case 'fluent2':
2853
+ style = {
2854
+ backgroundColor: 'transparent',
2855
+ titleFontColor: '#242424',
2856
+ titleFontWeight: '600',
2857
+ subTitleFontColor: '#242424',
2858
+ tooltipFillColor: '#FFFFFF',
2859
+ tooltipFontColor: '#242424',
2860
+ tooltipFontSize: '12px',
2861
+ tooltipFillOpacity: 1,
2862
+ tooltipTextOpacity: 1,
2863
+ legendTitleColor: '#242424',
2864
+ legendTextColor: '#242424',
2865
+ fontFamily: 'Segoe UI',
2866
+ fontSize: '14px',
2867
+ fontWeight: '400',
2868
+ subtitleFontSize: '12px',
2869
+ legendFontSize: '12px',
2870
+ labelFontFamily: 'Segoe UI',
2871
+ labelFontSize: '10px',
2872
+ legendBorderColor: '#000000',
2873
+ legendBorderWidth: 0
2874
+ };
2875
+ break;
2876
+ case 'fluent2dark':
2877
+ style = {
2878
+ backgroundColor: 'transparent',
2879
+ titleFontColor: '#FFFFFF',
2880
+ titleFontWeight: '600',
2881
+ subTitleFontColor: '#FFFFFF',
2882
+ tooltipFillColor: '#292929',
2883
+ tooltipFontColor: '#FFFFFF',
2884
+ tooltipFontSize: '12px',
2885
+ tooltipFillOpacity: 1,
2886
+ tooltipTextOpacity: 1,
2887
+ legendTitleColor: '#FFFFFF',
2888
+ legendTextColor: '#FFFFFF',
2889
+ fontFamily: 'Segoe UI',
2890
+ fontSize: '14px',
2891
+ fontWeight: '400',
2892
+ subtitleFontSize: '12px',
2893
+ legendFontSize: '12px',
2894
+ labelFontFamily: 'Segoe UI',
2895
+ labelFontSize: '10px',
2896
+ legendBorderColor: '#000000',
2897
+ legendBorderWidth: 0
2898
+ };
2899
+ break;
2900
+ case 'fluent2highcontrast':
2901
+ style = {
2902
+ backgroundColor: 'transparent',
2903
+ titleFontColor: '#FFFFFF',
2904
+ titleFontWeight: '600',
2905
+ subTitleFontColor: '#FFFFFF',
2906
+ tooltipFillColor: '#000000',
2907
+ tooltipFontColor: '#FFFFFF',
2908
+ tooltipFontSize: '12px',
2909
+ tooltipFillOpacity: 1,
2910
+ tooltipTextOpacity: 1,
2911
+ legendTitleColor: '#FFFFFF',
2912
+ legendTextColor: '#FFFFFF',
2913
+ fontFamily: 'Segoe UI',
2914
+ fontSize: '14px',
2915
+ fontWeight: '400',
2916
+ subtitleFontSize: '12px',
2917
+ legendFontSize: '12px',
2918
+ labelFontFamily: 'Segoe UI',
2919
+ labelFontSize: '10px',
2920
+ legendBorderColor: '#FFF',
2921
+ legendBorderWidth: 1,
2922
+ tooltipBorderColor: '#FFF',
2923
+ tooltipBorderWidth: 1
2818
2924
  };
2819
2925
  break;
2820
2926
  default:
@@ -2832,7 +2938,10 @@ function getThemeStyle(theme) {
2832
2938
  fontWeight: 'Normal',
2833
2939
  subtitleFontSize: '14px',
2834
2940
  legendFontSize: '13px',
2835
- fontFamily: 'Roboto, Noto, Sans-serif'
2941
+ fontFamily: 'Roboto, Noto, Sans-serif',
2942
+ labelFontSize: '12px',
2943
+ legendBorderColor: '#000000',
2944
+ legendBorderWidth: 0
2836
2945
  };
2837
2946
  break;
2838
2947
  }
@@ -2905,10 +3014,13 @@ class Print {
2905
3014
  backgroundElement = backgroundElement.childNodes[0];
2906
3015
  if (!isNullOrUndefined(backgroundElement)) {
2907
3016
  const backgroundColor = backgroundElement.getAttribute('fill');
2908
- if ((treeMap.theme === 'Tailwind' || treeMap.theme === 'Bootstrap5' || treeMap.theme === 'Fluent' || treeMap.theme === 'Material3') && (backgroundColor === 'rgba(255,255,255, 0.0)' || backgroundColor === 'transparent')) {
3017
+ if ((treeMap.theme === 'Tailwind' || treeMap.theme === 'Bootstrap5' || treeMap.theme === 'Fluent' || treeMap.theme === 'Material3' || treeMap.theme === 'Fluent2')
3018
+ && (backgroundColor === 'rgba(255,255,255, 0.0)' || backgroundColor === 'transparent')) {
2909
3019
  backgroundElement.setAttribute('fill', 'rgba(255,255,255, 1)');
2910
3020
  }
2911
- else if ((treeMap.theme === 'TailwindDark' || treeMap.theme === 'Bootstrap5Dark' || treeMap.theme === 'FluentDark' || treeMap.theme === 'Material3Dark') && (backgroundColor === 'rgba(255,255,255, 0.0)' || backgroundColor === 'transparent')) {
3021
+ else if ((treeMap.theme === 'TailwindDark' || treeMap.theme === 'Bootstrap5Dark' || treeMap.theme === 'FluentDark' || treeMap.theme === 'Material3Dark' ||
3022
+ treeMap.theme === 'Fluent2Dark' || treeMap.theme === 'Fluent2HighContrast')
3023
+ && (backgroundColor === 'rgba(255,255,255, 0.0)' || backgroundColor === 'transparent')) {
2912
3024
  backgroundElement.setAttribute('fill', 'rgba(0, 0, 0, 1)');
2913
3025
  }
2914
3026
  }
@@ -2974,10 +3086,13 @@ class ImageExport {
2974
3086
  const backgroundElement = exportElement.childNodes[0];
2975
3087
  if (!isNullOrUndefined(backgroundElement)) {
2976
3088
  const backgroundColor = backgroundElement.getAttribute('fill');
2977
- if ((treeMap.theme === 'Tailwind' || treeMap.theme === 'Bootstrap5' || treeMap.theme === 'Fluent' || treeMap.theme === 'Material3') && (backgroundColor === 'rgba(255,255,255, 0.0)' || backgroundColor === 'transparent')) {
3089
+ if ((treeMap.theme === 'Tailwind' || treeMap.theme === 'Bootstrap5' || treeMap.theme === 'Fluent' || treeMap.theme === 'Material3' || treeMap.theme === 'Fluent2')
3090
+ && (backgroundColor === 'rgba(255,255,255, 0.0)' || backgroundColor === 'transparent')) {
2978
3091
  exportElement.childNodes[0].setAttribute('fill', 'rgba(255,255,255, 1)');
2979
3092
  }
2980
- else if ((treeMap.theme === 'TailwindDark' || treeMap.theme === 'Bootstrap5Dark' || treeMap.theme === 'FluentDark' || treeMap.theme === 'Material3Dark') && (backgroundColor === 'rgba(255,255,255, 0.0)' || backgroundColor === 'transparent')) {
3093
+ else if ((treeMap.theme === 'TailwindDark' || treeMap.theme === 'Bootstrap5Dark' || treeMap.theme === 'FluentDark' || treeMap.theme === 'Material3Dark' ||
3094
+ treeMap.theme === 'Fluent2Dark' || treeMap.theme === 'Fluent2HighContrast')
3095
+ && (backgroundColor === 'rgba(255,255,255, 0.0)' || backgroundColor === 'transparent')) {
2981
3096
  exportElement.childNodes[0].setAttribute('fill', 'rgba(0, 0, 0, 1)');
2982
3097
  }
2983
3098
  }
@@ -3072,10 +3187,13 @@ class PdfExport {
3072
3187
  const backgroundElement = exportElement.childNodes[0];
3073
3188
  if (!isNullOrUndefined(backgroundElement)) {
3074
3189
  const backgroundColor = backgroundElement.getAttribute('fill');
3075
- if ((treeMap.theme === 'Tailwind' || treeMap.theme === 'Bootstrap5' || treeMap.theme === 'Fluent' || treeMap.theme === 'Material3') && (backgroundColor === 'rgba(255,255,255, 0.0)' || backgroundColor === 'transparent')) {
3190
+ if ((treeMap.theme === 'Tailwind' || treeMap.theme === 'Bootstrap5' || treeMap.theme === 'Fluent' || treeMap.theme === 'Material3' || treeMap.theme === 'Fluent2')
3191
+ && (backgroundColor === 'rgba(255,255,255, 0.0)' || backgroundColor === 'transparent')) {
3076
3192
  exportElement.childNodes[0].setAttribute('fill', 'rgba(255,255,255, 1)');
3077
3193
  }
3078
- else if ((treeMap.theme === 'TailwindDark' || treeMap.theme === 'Bootstrap5Dark' || treeMap.theme === 'FluentDark' || treeMap.theme === 'Material3Dark') && (backgroundColor === 'rgba(255,255,255, 0.0)' || backgroundColor === 'transparent')) {
3194
+ else if ((treeMap.theme === 'TailwindDark' || treeMap.theme === 'Bootstrap5Dark' || treeMap.theme === 'FluentDark' || treeMap.theme === 'Material3Dark' ||
3195
+ treeMap.theme === 'Fluent2Dark' || treeMap.theme === 'Fluent2HighContrast')
3196
+ && (backgroundColor === 'rgba(255,255,255, 0.0)' || backgroundColor === 'transparent')) {
3079
3197
  exportElement.childNodes[0].setAttribute('fill', 'rgba(0, 0, 0, 1)');
3080
3198
  }
3081
3199
  }
@@ -3119,7 +3237,7 @@ class PdfExport {
3119
3237
  /**
3120
3238
  * Tree Map Components
3121
3239
  */
3122
- var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
3240
+ var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
3123
3241
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3124
3242
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
3125
3243
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
@@ -3488,19 +3606,21 @@ let TreeMap = class TreeMap extends Component {
3488
3606
  if (dataCount === this.treemapLevelData.hierarchyData.length - 1) {
3489
3607
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3490
3608
  let mainData = this.treemapLevelData.hierarchyData[0][this.levels[0].groupPath];
3491
- for (let k = 0; k < this.treemapLevelData.hierarchyData.length; k++) {
3492
- childData = findChildren(this.treemapLevelData.hierarchyData[k])['values'];
3493
- if (k !== 0 && childData) {
3494
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
3495
- childData.forEach((currentData) => { mainData.push(currentData); });
3496
- this.treemapLevelData.hierarchyData.splice(k, 1);
3497
- k -= 1;
3609
+ if (!isNullOrUndefined(mainData)) {
3610
+ for (let k = 0; k < this.treemapLevelData.hierarchyData.length; k++) {
3611
+ childData = findChildren(this.treemapLevelData.hierarchyData[k])['values'];
3612
+ if (k !== 0 && childData) {
3613
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
3614
+ childData.forEach((currentData) => { mainData.push(currentData); });
3615
+ this.treemapLevelData.hierarchyData.splice(k, 1);
3616
+ k -= 1;
3617
+ }
3618
+ }
3619
+ mainData = this.treemapLevelData.hierarchyData[0][this.levels[0].groupPath];
3620
+ for (let l = 0; l < mainData.length; l++) {
3621
+ newData[this.levels[0].groupPath] = mainData;
3622
+ mainData[l]['parent'] = newData;
3498
3623
  }
3499
- }
3500
- mainData = this.treemapLevelData.hierarchyData[0][this.levels[0].groupPath];
3501
- for (let l = 0; l < mainData.length; l++) {
3502
- newData[this.levels[0].groupPath] = mainData;
3503
- mainData[l]['parent'] = newData;
3504
3624
  }
3505
3625
  }
3506
3626
  }
@@ -3868,7 +3988,7 @@ let TreeMap = class TreeMap extends Component {
3868
3988
  * @returns {any} - Returns label of the drilled level.
3869
3989
  * @private
3870
3990
  */
3871
- // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
3991
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
3872
3992
  calculateSelectedTextLevels(labelText, item) {
3873
3993
  //to find the levels by clicking the particular text both for drillDownView as true / false.
3874
3994
  let drillLevel;
@@ -3893,7 +4013,7 @@ let TreeMap = class TreeMap extends Component {
3893
4013
  * @returns {boolean} - check whether it is previous level or not.
3894
4014
  * @private
3895
4015
  */
3896
- // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
4016
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
3897
4017
  calculatePreviousLevelChildItems(drillLevelValues, item, directLevel) {
3898
4018
  //By clicking any child items drilldown to the particular level.
3899
4019
  //At the time store all the previous drilled level items in drilledItems
@@ -3934,7 +4054,7 @@ let TreeMap = class TreeMap extends Component {
3934
4054
  * @returns {any} - return the new drill down object.
3935
4055
  * @private
3936
4056
  */
3937
- // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
4057
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
3938
4058
  compareSelectedLabelWithDrillDownItems(drillLevelValues, item, i) {
3939
4059
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3940
4060
  let drillLevelChild;
@@ -3972,7 +4092,6 @@ let TreeMap = class TreeMap extends Component {
3972
4092
  let index;
3973
4093
  let newDrillItem = {};
3974
4094
  let item;
3975
- const process = true;
3976
4095
  const layoutID = this.element.id + '_TreeMap_' + this.layoutType + '_Layout';
3977
4096
  let drillLevel;
3978
4097
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -4087,7 +4206,7 @@ let TreeMap = class TreeMap extends Component {
4087
4206
  });
4088
4207
  endEvent = { cancel: false, name: drillEnd, treemap: this, renderItems: this.layout.renderItems };
4089
4208
  this.trigger(drillEnd, endEvent);
4090
- if (process) {
4209
+ {
4091
4210
  if (!directLevel && isNullOrUndefined(drillLevel)) {
4092
4211
  this.drilledItems.push({ name: item['levelOrderName'], data: item });
4093
4212
  }
@@ -4293,163 +4412,163 @@ let TreeMap = class TreeMap extends Component {
4293
4412
  return '';
4294
4413
  }
4295
4414
  };
4296
- __decorate([
4415
+ __decorate$1([
4297
4416
  Property(false)
4298
4417
  ], TreeMap.prototype, "allowPrint", void 0);
4299
- __decorate([
4418
+ __decorate$1([
4300
4419
  Property(false)
4301
4420
  ], TreeMap.prototype, "allowImageExport", void 0);
4302
- __decorate([
4421
+ __decorate$1([
4303
4422
  Property(false)
4304
4423
  ], TreeMap.prototype, "allowPdfExport", void 0);
4305
- __decorate([
4424
+ __decorate$1([
4306
4425
  Property(null)
4307
4426
  ], TreeMap.prototype, "width", void 0);
4308
- __decorate([
4427
+ __decorate$1([
4309
4428
  Property(null)
4310
4429
  ], TreeMap.prototype, "height", void 0);
4311
- __decorate([
4430
+ __decorate$1([
4312
4431
  Complex({}, Border)
4313
4432
  ], TreeMap.prototype, "border", void 0);
4314
- __decorate([
4433
+ __decorate$1([
4315
4434
  Complex({}, Margin)
4316
4435
  ], TreeMap.prototype, "margin", void 0);
4317
- __decorate([
4436
+ __decorate$1([
4318
4437
  Property(null)
4319
4438
  ], TreeMap.prototype, "background", void 0);
4320
- __decorate([
4439
+ __decorate$1([
4321
4440
  Property('Material')
4322
4441
  ], TreeMap.prototype, "theme", void 0);
4323
- __decorate([
4442
+ __decorate$1([
4324
4443
  Complex({}, TitleSettings)
4325
4444
  ], TreeMap.prototype, "titleSettings", void 0);
4326
- __decorate([
4445
+ __decorate$1([
4327
4446
  Property('Squarified')
4328
4447
  ], TreeMap.prototype, "layoutType", void 0);
4329
- __decorate([
4448
+ __decorate$1([
4330
4449
  Property(null)
4331
4450
  ], TreeMap.prototype, "dataSource", void 0);
4332
- __decorate([
4451
+ __decorate$1([
4333
4452
  Property(null)
4334
4453
  ], TreeMap.prototype, "query", void 0);
4335
- __decorate([
4454
+ __decorate$1([
4336
4455
  Property(null)
4337
4456
  ], TreeMap.prototype, "weightValuePath", void 0);
4338
- __decorate([
4457
+ __decorate$1([
4339
4458
  Property('')
4340
4459
  ], TreeMap.prototype, "rangeColorValuePath", void 0);
4341
- __decorate([
4460
+ __decorate$1([
4342
4461
  Property('')
4343
4462
  ], TreeMap.prototype, "equalColorValuePath", void 0);
4344
- __decorate([
4463
+ __decorate$1([
4345
4464
  Property(null)
4346
4465
  ], TreeMap.prototype, "colorValuePath", void 0);
4347
- __decorate([
4466
+ __decorate$1([
4348
4467
  Property([])
4349
4468
  ], TreeMap.prototype, "palette", void 0);
4350
- __decorate([
4469
+ __decorate$1([
4351
4470
  Property('TopLeftBottomRight')
4352
4471
  ], TreeMap.prototype, "renderDirection", void 0);
4353
- __decorate([
4472
+ __decorate$1([
4354
4473
  Property(false)
4355
4474
  ], TreeMap.prototype, "enableDrillDown", void 0);
4356
- __decorate([
4475
+ __decorate$1([
4357
4476
  Property(false)
4358
4477
  ], TreeMap.prototype, "enableBreadcrumb", void 0);
4359
- __decorate([
4478
+ __decorate$1([
4360
4479
  Property(' - ')
4361
4480
  ], TreeMap.prototype, "breadcrumbConnector", void 0);
4362
- __decorate([
4481
+ __decorate$1([
4363
4482
  Property(false)
4364
4483
  ], TreeMap.prototype, "drillDownView", void 0);
4365
- __decorate([
4484
+ __decorate$1([
4366
4485
  Complex({}, InitialDrillSettings)
4367
4486
  ], TreeMap.prototype, "initialDrillDown", void 0);
4368
- __decorate([
4487
+ __decorate$1([
4369
4488
  Complex({}, LeafItemSettings)
4370
4489
  ], TreeMap.prototype, "leafItemSettings", void 0);
4371
- __decorate([
4490
+ __decorate$1([
4372
4491
  Collection([], LevelSettings)
4373
4492
  ], TreeMap.prototype, "levels", void 0);
4374
- __decorate([
4493
+ __decorate$1([
4375
4494
  Complex({}, HighlightSettings)
4376
4495
  ], TreeMap.prototype, "highlightSettings", void 0);
4377
- __decorate([
4496
+ __decorate$1([
4378
4497
  Complex({}, SelectionSettings)
4379
4498
  ], TreeMap.prototype, "selectionSettings", void 0);
4380
- __decorate([
4499
+ __decorate$1([
4381
4500
  Complex({}, TooltipSettings)
4382
4501
  ], TreeMap.prototype, "tooltipSettings", void 0);
4383
- __decorate([
4502
+ __decorate$1([
4384
4503
  Complex({}, LegendSettings)
4385
4504
  ], TreeMap.prototype, "legendSettings", void 0);
4386
- __decorate([
4505
+ __decorate$1([
4387
4506
  Property(false)
4388
4507
  ], TreeMap.prototype, "useGroupingSeparator", void 0);
4389
- __decorate([
4508
+ __decorate$1([
4390
4509
  Property(null)
4391
4510
  ], TreeMap.prototype, "description", void 0);
4392
- __decorate([
4511
+ __decorate$1([
4393
4512
  Property(0)
4394
4513
  ], TreeMap.prototype, "tabIndex", void 0);
4395
- __decorate([
4514
+ __decorate$1([
4396
4515
  Property(null)
4397
4516
  ], TreeMap.prototype, "format", void 0);
4398
- __decorate([
4517
+ __decorate$1([
4399
4518
  Event()
4400
4519
  ], TreeMap.prototype, "load", void 0);
4401
- __decorate([
4520
+ __decorate$1([
4402
4521
  Event()
4403
4522
  ], TreeMap.prototype, "beforePrint", void 0);
4404
- __decorate([
4523
+ __decorate$1([
4405
4524
  Event()
4406
4525
  ], TreeMap.prototype, "loaded", void 0);
4407
- __decorate([
4526
+ __decorate$1([
4408
4527
  Event()
4409
4528
  ], TreeMap.prototype, "itemRendering", void 0);
4410
- __decorate([
4529
+ __decorate$1([
4411
4530
  Event()
4412
4531
  ], TreeMap.prototype, "drillStart", void 0);
4413
- __decorate([
4532
+ __decorate$1([
4414
4533
  Event()
4415
4534
  ], TreeMap.prototype, "drillEnd", void 0);
4416
- __decorate([
4535
+ __decorate$1([
4417
4536
  Event()
4418
4537
  ], TreeMap.prototype, "itemSelected", void 0);
4419
- __decorate([
4538
+ __decorate$1([
4420
4539
  Event()
4421
4540
  ], TreeMap.prototype, "itemHighlight", void 0);
4422
- __decorate([
4541
+ __decorate$1([
4423
4542
  Event()
4424
4543
  ], TreeMap.prototype, "tooltipRendering", void 0);
4425
- __decorate([
4544
+ __decorate$1([
4426
4545
  Event()
4427
4546
  ], TreeMap.prototype, "itemClick", void 0);
4428
- __decorate([
4547
+ __decorate$1([
4429
4548
  Event()
4430
4549
  ], TreeMap.prototype, "itemMove", void 0);
4431
- __decorate([
4550
+ __decorate$1([
4432
4551
  Event()
4433
4552
  ], TreeMap.prototype, "click", void 0);
4434
- __decorate([
4553
+ __decorate$1([
4435
4554
  Event()
4436
4555
  ], TreeMap.prototype, "doubleClick", void 0);
4437
- __decorate([
4556
+ __decorate$1([
4438
4557
  Event()
4439
4558
  ], TreeMap.prototype, "rightClick", void 0);
4440
- __decorate([
4559
+ __decorate$1([
4441
4560
  Event()
4442
4561
  ], TreeMap.prototype, "mouseMove", void 0);
4443
- __decorate([
4562
+ __decorate$1([
4444
4563
  Event()
4445
4564
  ], TreeMap.prototype, "resize", void 0);
4446
- __decorate([
4565
+ __decorate$1([
4447
4566
  Event()
4448
4567
  ], TreeMap.prototype, "legendItemRendering", void 0);
4449
- __decorate([
4568
+ __decorate$1([
4450
4569
  Event()
4451
4570
  ], TreeMap.prototype, "legendRendering", void 0);
4452
- TreeMap = __decorate([
4571
+ TreeMap = __decorate$1([
4453
4572
  NotifyPropertyChanges
4454
4573
  ], TreeMap);
4455
4574
  /**
@@ -4514,7 +4633,7 @@ class TreeMapLegend {
4514
4633
  const treemap = this.treemap;
4515
4634
  const legend = treemap.legendSettings;
4516
4635
  this.findColorMappingLegendItems(treemap.treemapLevelData.levelsData[0]);
4517
- if ((this.treemap.palette.length > 0 || !isNullOrUndefined(treemap.colorValuePath))
4636
+ if (((!isNullOrUndefined(this.treemap.palette) && this.treemap.palette.length > 0) || !isNullOrUndefined(treemap.colorValuePath))
4518
4637
  && this.legendCollections.length === 0) {
4519
4638
  this.findPaletteLegendItems(treemap.treemapLevelData.levelsData[0]);
4520
4639
  }
@@ -4865,38 +4984,38 @@ class TreeMapLegend {
4865
4984
  isLeafItem = (this.treemap.levels.length === 0 || groupIndex === this.treemap.levels.length);
4866
4985
  colorMapping = isLeafItem ? leaf.colorMapping : levels[groupIndex].colorMapping;
4867
4986
  for (let j = 0; j < colorMapping.length; j++) {
4868
- const colorMap$$1 = colorMapping[j];
4987
+ const colorMap = colorMapping[j];
4869
4988
  gradientElement = null;
4870
4989
  rangeValue = Number(currentData[this.treemap.rangeColorValuePath]);
4871
4990
  equalValue = currentData[this.treemap.equalColorValuePath];
4872
- colorMap$$1.value = !isNullOrUndefined(colorMap$$1.value) ? colorMap$$1.value.toString() : colorMap$$1.value;
4873
- if (!isNullOrUndefined(colorMap$$1.from) && !isNullOrUndefined(colorMap$$1.to) &&
4874
- rangeValue >= colorMap$$1.from && rangeValue <= colorMap$$1.to && colorMap$$1.showLegend) {
4991
+ colorMap.value = !isNullOrUndefined(colorMap.value) ? colorMap.value.toString() : colorMap.value;
4992
+ if (!isNullOrUndefined(colorMap.from) && !isNullOrUndefined(colorMap.to) &&
4993
+ rangeValue >= colorMap.from && rangeValue <= colorMap.to && colorMap.showLegend) {
4875
4994
  colorMapProcess = true;
4876
4995
  isRange = true;
4877
- actualValue = colorMap$$1.from + ' - ' + colorMap$$1.to;
4878
- legendText = !isNullOrUndefined(colorMap$$1.label) ? colorMap$$1.label : colorMap$$1.from + ' - ' + colorMap$$1.to;
4879
- fill = isNullOrUndefined(colorMap$$1.color) ? fill : colorMap$$1.color;
4996
+ actualValue = colorMap.from + ' - ' + colorMap.to;
4997
+ legendText = !isNullOrUndefined(colorMap.label) ? colorMap.label : colorMap.from + ' - ' + colorMap.to;
4998
+ fill = isNullOrUndefined(colorMap.color) ? fill : colorMap.color;
4880
4999
  isAddData = this.isAddNewLegendData(actualValue);
4881
5000
  }
4882
- else if (!isNullOrUndefined(colorMap$$1.value) && equalValue === colorMap$$1.value && colorMap$$1.showLegend) {
5001
+ else if (!isNullOrUndefined(colorMap.value) && equalValue === colorMap.value && colorMap.showLegend) {
4883
5002
  colorMapProcess = true;
4884
5003
  isEqualColor = true;
4885
- actualValue = colorMap$$1.value.toString();
4886
- legendText = !isNullOrUndefined(colorMap$$1.label) ? colorMap$$1.label : colorMap$$1.value.toString();
4887
- fill = isNullOrUndefined(colorMap$$1.color) ? fill :
4888
- Object.prototype.toString.call(colorMap$$1.color) === '[object Array]' ? colorMap$$1.color[0] : colorMap$$1.color;
5004
+ actualValue = colorMap.value.toString();
5005
+ legendText = !isNullOrUndefined(colorMap.label) ? colorMap.label : colorMap.value.toString();
5006
+ fill = isNullOrUndefined(colorMap.color) ? fill :
5007
+ Object.prototype.toString.call(colorMap.color) === '[object Array]' ? colorMap.color[0] : colorMap.color;
4889
5008
  isAddData = this.isAddNewLegendData(actualValue);
4890
5009
  }
4891
- if (colorMapProcess && isNullOrUndefined(colorMap$$1.value) && colorMap$$1.maxOpacity && colorMap$$1.minOpacity
5010
+ if (colorMapProcess && isNullOrUndefined(colorMap.value) && colorMap.maxOpacity && colorMap.minOpacity
4892
5011
  && this.treemap.legendSettings.mode === 'Interactive') {
4893
5012
  const colors = [];
4894
5013
  isDesaturation = true;
4895
- if (Object.prototype.toString.call(colorMap$$1.color) === '[object Array]') {
4896
- for (let q = 0; q < colorMap$$1.color.length; q++) {
4897
- const offsetColor = 100 / (colorMap$$1.color.length - 1);
5014
+ if (Object.prototype.toString.call(colorMap.color) === '[object Array]') {
5015
+ for (let q = 0; q < colorMap.color.length; q++) {
5016
+ const offsetColor = 100 / (colorMap.color.length - 1);
4898
5017
  const offsetValue = q * offsetColor + '%';
4899
- const stop1Color = { colorStop: offsetValue.toString(), color: colorMap$$1.color[q] };
5018
+ const stop1Color = { colorStop: offsetValue.toString(), color: colorMap.color[q] };
4900
5019
  colors.push(stop1Color);
4901
5020
  }
4902
5021
  }
@@ -4912,9 +5031,9 @@ class TreeMapLegend {
4912
5031
  id: 'groupIndex_' + groupIndex + '_colorIndex_' + this.gradientCount, x1: '0%', y1: '0%', x2: x2, y2: y2
4913
5032
  };
4914
5033
  gradientElement = this.treemap.renderer.drawGradient('linearGradient', gradient, colors).childNodes[0];
4915
- if (Object.prototype.toString.call(colorMap$$1.color) !== '[object Array]') {
4916
- gradientElement.childNodes[0].setAttribute('stop-opacity', colorMap$$1.minOpacity.toString());
4917
- gradientElement.childNodes[1].setAttribute('stop-opacity', colorMap$$1.maxOpacity.toString());
5034
+ if (Object.prototype.toString.call(colorMap.color) !== '[object Array]') {
5035
+ gradientElement.childNodes[0].setAttribute('stop-opacity', colorMap.minOpacity.toString());
5036
+ gradientElement.childNodes[1].setAttribute('stop-opacity', colorMap.maxOpacity.toString());
4918
5037
  }
4919
5038
  this.defsElement.appendChild(gradientElement);
4920
5039
  this.gradientCount++;
@@ -4923,12 +5042,12 @@ class TreeMapLegend {
4923
5042
  this.removeDuplicates(this.legendCollections, legendText) : false;
4924
5043
  if (isAddData && isAddData['process'] && colorMapProcess && !isDuplicate) {
4925
5044
  colorMapProcess = false;
4926
- fill = ((Object.prototype.toString.call(colorMap$$1.color) === '[object Array]')) && isNullOrUndefined(gradientElement)
4927
- && isNullOrUndefined(colorMap$$1.value) ? this.legendGradientColor(colorMap$$1, legendIndex) : fill;
5045
+ fill = ((Object.prototype.toString.call(colorMap.color) === '[object Array]')) && isNullOrUndefined(gradientElement)
5046
+ && isNullOrUndefined(colorMap.value) ? this.legendGradientColor(colorMap, legendIndex) : fill;
4928
5047
  this.legendCollections.push({
4929
5048
  actualValue: actualValue, levelIndex: !isLeafItem ? j : -1, leafIndex: isLeafItem ? j : -1,
4930
5049
  legendName: legendText, legendFill: fill, legendData: [], groupIndex: !isLeafItem ? groupIndex : -1,
4931
- gradientElement: !isNullOrUndefined(gradientElement) ? gradientElement : isNullOrUndefined(colorMap$$1.value)
5050
+ gradientElement: !isNullOrUndefined(gradientElement) ? gradientElement : isNullOrUndefined(colorMap.value)
4932
5051
  ? this.legendLinearGradient : null, name: data[i]['name'],
4933
5052
  opacity: this.treemap.legendSettings.opacity, borderColor: this.treemap.legendSettings.border.color,
4934
5053
  borderWidth: this.treemap.legendSettings.border.width
@@ -4943,13 +5062,13 @@ class TreeMapLegend {
4943
5062
  this.legendCollections[isAddData['value']]['legendData'].push(data[i]);
4944
5063
  }
4945
5064
  if (!isRange && !isDesaturation && !isEqualColor) {
4946
- if (isNullOrUndefined(colorMap$$1.from) && isNullOrUndefined(colorMap$$1.to)
4947
- && isNullOrUndefined(colorMap$$1.minOpacity) &&
4948
- isNullOrUndefined(colorMap$$1.maxOpacity) && isNullOrUndefined(colorMap$$1.value) &&
4949
- !isNullOrUndefined(colorMap$$1.color)) {
4950
- outfill = ((Object.prototype.toString.call(colorMap$$1.color) === '[object Array]'))
4951
- ? colorMap$$1.color[0] : colorMap$$1.color;
4952
- labelLegend = !isNullOrUndefined(colorMap$$1.label) ? colorMap$$1.label : 'Others';
5065
+ if (isNullOrUndefined(colorMap.from) && isNullOrUndefined(colorMap.to)
5066
+ && isNullOrUndefined(colorMap.minOpacity) &&
5067
+ isNullOrUndefined(colorMap.maxOpacity) && isNullOrUndefined(colorMap.value) &&
5068
+ !isNullOrUndefined(colorMap.color)) {
5069
+ outfill = ((Object.prototype.toString.call(colorMap.color) === '[object Array]'))
5070
+ ? colorMap.color[0] : colorMap.color;
5071
+ labelLegend = !isNullOrUndefined(colorMap.label) ? colorMap.label : 'Others';
4953
5072
  if (isNullOrUndefined(this.outOfRangeLegend)) {
4954
5073
  this.legendCollections.push({
4955
5074
  actualValue: labelLegend, legendData: [],
@@ -5186,7 +5305,11 @@ class TreeMapLegend {
5186
5305
  const textSize = measureText(title, textStyle);
5187
5306
  this.legendBorderRect = new Rect((this.legendItemRect.x - spacing), (this.legendItemRect.y - spacing - textSize.height), (this.legendItemRect.width) + (spacing * 2), (this.legendItemRect.height) + (spacing * 2) + textSize.height +
5188
5307
  (legend.mode === 'Interactive' ? 0 : (this.page !== 0) ? spacing : 0));
5189
- const renderOptions = new RectOption(treemap.element.id + '_Legend_Border', legend.background, legend.border, 1, this.legendBorderRect, '');
5308
+ let borderStyle = {
5309
+ color: legend.border.color || this.treemap.themeStyle.legendBorderColor,
5310
+ width: legend.border.width || this.treemap.themeStyle.legendBorderWidth
5311
+ };
5312
+ const renderOptions = new RectOption(treemap.element.id + '_Legend_Border', legend.background, borderStyle, 1, this.legendBorderRect, '');
5190
5313
  const legendBorder = treemap.renderer.drawRectangle(renderOptions);
5191
5314
  legendBorder.style.pointerEvents = 'none';
5192
5315
  this.legendGroup.appendChild(legendBorder);
@@ -5473,10 +5596,10 @@ class TreeMapLegend {
5473
5596
  * @returns {string} - Returns the legend color.
5474
5597
  * @private
5475
5598
  */
5476
- legendGradientColor(colorMap$$1, legendIndex) {
5599
+ legendGradientColor(colorMap, legendIndex) {
5477
5600
  let legendFillColor;
5478
5601
  const xmlns = 'http://www.w3.org/2000/svg';
5479
- if (!isNullOrUndefined(colorMap$$1.color) && Object.prototype.toString.call(colorMap$$1.color) === '[object Array]') {
5602
+ if (!isNullOrUndefined(colorMap.color) && Object.prototype.toString.call(colorMap.color) === '[object Array]') {
5480
5603
  const defElement = this.treemap.renderer.createDefs();
5481
5604
  const linerGradientEle = document.createElementNS(xmlns, 'linearGradient');
5482
5605
  const opacity = 1;
@@ -5488,11 +5611,11 @@ class TreeMapLegend {
5488
5611
  linerGradientEle.setAttribute('y1', 0 + '%');
5489
5612
  linerGradientEle.setAttribute('x2', x2 + '%');
5490
5613
  linerGradientEle.setAttribute('y2', y2 + '%');
5491
- for (let b = 0; b < colorMap$$1.color.length; b++) {
5492
- const offsetColor = 100 / (colorMap$$1.color.length - 1);
5614
+ for (let b = 0; b < colorMap.color.length; b++) {
5615
+ const offsetColor = 100 / (colorMap.color.length - 1);
5493
5616
  const stopEle = document.createElementNS(xmlns, 'stop');
5494
5617
  stopEle.setAttribute('offset', b * offsetColor + '%');
5495
- stopEle.setAttribute('stop-color', colorMap$$1.color[b]);
5618
+ stopEle.setAttribute('stop-color', colorMap.color[b]);
5496
5619
  stopEle.setAttribute('stop-opacity', opacity.toString());
5497
5620
  linerGradientEle.appendChild(stopEle);
5498
5621
  }
@@ -5652,13 +5775,13 @@ class TreeMapHighlight {
5652
5775
  }
5653
5776
  else {
5654
5777
  if (selectionModule ? this.shapeElement ? this.shapeElement.getAttribute('id') !== selectionModule.legendSelectId : true : true) {
5655
- if (selectionModule ? this.shapeElement !== selectionModule.shapeElement : true && this.treemap.legendSettings.visible) {
5778
+ if (selectionModule ? this.shapeElement !== selectionModule.shapeElement : this.treemap.legendSettings.visible) {
5656
5779
  removeClassNames(document.getElementsByClassName('treeMapHighLight'), 'treeMapHighLight', treemap);
5657
5780
  }
5658
5781
  }
5659
5782
  if ((this.shapeTarget === 'highlight' || this.target === 'highlight') && this.treemap.legendSettings.visible) {
5660
5783
  if (selectionModule ? this.shapeElement ? this.shapeElement.getAttribute('id') !== selectionModule.legendSelectId : true : true) {
5661
- if (selectionModule ? this.shapeElement !== selectionModule.shapeElement : true && selectionModule ?
5784
+ if (selectionModule ? this.shapeElement !== selectionModule.shapeElement : selectionModule ?
5662
5785
  selectionModule.legendSelect : true) {
5663
5786
  removeShape(this.shapeHighlightCollection);
5664
5787
  this.shapeHighlightCollection = [];
@@ -6103,10 +6226,14 @@ class TreeMapTooltip {
6103
6226
  || this.tooltipSettings.textStyle.color;
6104
6227
  this.tooltipSettings.textStyle.opacity = this.treemap.themeStyle.tooltipTextOpacity
6105
6228
  || this.tooltipSettings.textStyle.opacity;
6229
+ let border = {
6230
+ width: this.tooltipSettings.border.width || this.treemap.themeStyle.tooltipBorderWidth || 0,
6231
+ color: this.tooltipSettings.border.color || this.treemap.themeStyle.tooltipBorderColor || 'transparent'
6232
+ };
6106
6233
  tootipArgs = {
6107
6234
  cancel: false, name: tooltipRendering, item: item,
6108
6235
  options: {
6109
- location: location, text: tooltipContent, data: toolTipData,
6236
+ location: location, text: tooltipContent, data: toolTipData, border: border,
6110
6237
  textStyle: this.tooltipSettings.textStyle, template: this.tooltipSettings.template
6111
6238
  },
6112
6239
  treemap: this.treemap,
@@ -6140,6 +6267,7 @@ class TreeMapTooltip {
6140
6267
  }
6141
6268
  if (!cancel) {
6142
6269
  this.svgTooltip = new Tooltip({
6270
+ theme: this.treemap.theme,
6143
6271
  enable: true,
6144
6272
  header: '',
6145
6273
  data: args['data'],
@@ -6152,6 +6280,7 @@ class TreeMapTooltip {
6152
6280
  areaBounds: this.treemap.areaRect,
6153
6281
  textStyle: args['textStyle'],
6154
6282
  fill: this.treemap.tooltipSettings.fill ? this.treemap.tooltipSettings.fill : this.treemap.themeStyle.tooltipFillColor,
6283
+ border: args['border'],
6155
6284
  enableShadow: true
6156
6285
  });
6157
6286
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -6231,13 +6360,5 @@ class TreeMapTooltip {
6231
6360
  }
6232
6361
  }
6233
6362
 
6234
- /**
6235
- * export all modules from treemap component
6236
- */
6237
-
6238
- /**
6239
- * exporting all modules from tree map index
6240
- */
6241
-
6242
- 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 };
6363
+ export { Border, ColorMapping, ColorValue, CommonTitleSettings, Font, HighlightSettings, ImageExport, InitialDrillSettings, LayoutPanel, LeafItemSettings, LegendSettings, LevelSettings, LevelsData, Location, Margin, PathOption, PdfExport, Print, Rect, RectOption, SelectionSettings, Size, SubTitleSettings, TextOption, Theme, TitleSettings, TooltipSettings, TreeMap, TreeMapAjax, TreeMapHighlight, TreeMapLegend, TreeMapSelection, TreeMapTooltip, applyOptions, beforePrint, click, colorCollections, colorMap, colorNameToHex, componentToHex, convertElement, convertHexToColor, convertToContainer, convertToHexCode, convertToRect, createTextStyle, deSaturationColor, defaultFont, doubleClick, drawSymbol, drillEnd, drillStart, findChildren, findHightLightItems, findLabelLocation, findPosition, formatValue, getArea, getColorByValue, getElement, getGradientColor, getLegendIndex, getMousePosition, getPercentage, getPercentageColor, getShortestEdge, getTemplateFunction, getThemeStyle, hide, isContainsData, isParentItem, itemClick, itemHighlight, itemMove, itemRendering, itemSelected, itemsToOrder, legendItemRendering, legendMaintain, legendRendering, load, loaded, maintainSelection, measureElement, measureText, mouseMove, orderByArea, pushCollection, removeClassNames, removeElement, removeLegend, removeSelectionWithHighlight, removeShape, renderLegendShape, renderTextElement, resize, rgbToHex, rightClick, setColor, setItemTemplateContent, stringToNumber, textFormatter, textTrim, textWrap, tooltipRendering, triggerDownload, wordWrap };
6243
6364
  //# sourceMappingURL=ej2-treemap.es2015.js.map