@syncfusion/ej2-treemap 34.2.8 → 35.1.37

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,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 34.2.8
3
+ * version : 35.1.37
4
4
  * Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@syncfusion/ej2-treemap",
3
- "version": "34.2.8",
3
+ "version": "35.1.37",
4
4
  "description": "Essential JS 2 TreeMap Components",
5
5
  "author": "Syncfusion Inc.",
6
6
  "license": "SEE LICENSE IN license",
7
7
  "dependencies": {
8
- "@syncfusion/ej2-base": "~34.2.8",
9
- "@syncfusion/ej2-compression": "~34.2.8",
10
- "@syncfusion/ej2-data": "~34.2.8",
11
- "@syncfusion/ej2-file-utils": "~34.2.8",
12
- "@syncfusion/ej2-pdf-export": "~34.2.8",
13
- "@syncfusion/ej2-svg-base": "~34.2.8"
8
+ "@syncfusion/ej2-base": "~35.1.37",
9
+ "@syncfusion/ej2-compression": "~35.1.37",
10
+ "@syncfusion/ej2-data": "~35.1.37",
11
+ "@syncfusion/ej2-file-utils": "~35.1.37",
12
+ "@syncfusion/ej2-pdf-export": "~35.1.37",
13
+ "@syncfusion/ej2-svg-base": "~35.1.37"
14
14
  },
15
15
  "devDependencies": {},
16
16
  "keywords": [
@@ -82,13 +82,12 @@ var TreeMapTooltip = /** @class */ (function () {
82
82
  }
83
83
  location = getMousePosition(pageX, pageY, this.treemap.svgObject);
84
84
  location.y = (this.tooltipSettings.template) ? location.y + 10 : location.y;
85
- this.tooltipSettings.textStyle.size = this.tooltipSettings.textStyle.size || this.treemap.themeStyle.tooltipFontSize;
86
- this.tooltipSettings.textStyle.fontFamily = this.tooltipSettings.textStyle.fontFamily || this.treemap.themeStyle.fontFamily;
87
- this.tooltipSettings.textStyle.fontStyle = !isNullOrUndefined(this.tooltipSettings.textStyle.fontStyle) ? this.tooltipSettings.textStyle.fontStyle : 'Normal';
88
- this.tooltipSettings.textStyle.fontWeight = this.tooltipSettings.textStyle.fontWeight || this.treemap.themeStyle.fontWeight;
89
- this.tooltipSettings.textStyle.color = this.tooltipSettings.textStyle.color || this.treemap.themeStyle.tooltipFontColor;
90
- // eslint-disable-next-line max-len
91
- this.tooltipSettings.textStyle.opacity = this.tooltipSettings.textStyle.opacity || this.treemap.themeStyle.tooltipTextOpacity;
85
+ var tooltipTextStyle = {
86
+ // eslint-disable-next-line max-len
87
+ color: this.tooltipSettings.textStyle.color || this.treemap.themeStyle.tooltipFontColor, fontFamily: this.tooltipSettings.textStyle.fontFamily || this.treemap.themeStyle.fontFamily, fontStyle: !isNullOrUndefined(this.tooltipSettings.textStyle.fontStyle) ? this.tooltipSettings.textStyle.fontStyle : 'Normal',
88
+ // eslint-disable-next-line max-len
89
+ fontWeight: this.tooltipSettings.textStyle.fontWeight || this.treemap.themeStyle.fontWeight, opacity: this.tooltipSettings.textStyle.opacity || this.treemap.themeStyle.tooltipTextOpacity, size: this.tooltipSettings.textStyle.size || this.treemap.themeStyle.tooltipFontSize
90
+ };
92
91
  var border = {
93
92
  width: this.tooltipSettings.border.width || this.treemap.themeStyle.tooltipBorderWidth || 0,
94
93
  color: this.tooltipSettings.border.color || this.treemap.themeStyle.tooltipBorderColor || 'transparent'
@@ -102,7 +101,7 @@ var TreeMapTooltip = /** @class */ (function () {
102
101
  cancel: false, name: tooltipRendering, item: item,
103
102
  options: {
104
103
  location: location, text: tooltipContent, data: toolTipData, border: border,
105
- textStyle: this.tooltipSettings.textStyle, template: this.tooltipSettings.template
104
+ textStyle: tooltipTextStyle, template: this.tooltipSettings.template
106
105
  },
107
106
  treemap: this.treemap,
108
107
  element: target, eventArgs: e
@@ -1 +0,0 @@
1
- export * from './treemap-helper';
@@ -1,8 +0,0 @@
1
- define(["require", "exports", "./treemap-helper"], function (require, exports, treemap_helper_1) {
2
- "use strict";
3
- function __export(m) {
4
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
5
- }
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- __export(treemap_helper_1);
8
- });
@@ -1,15 +0,0 @@
1
- import { TestHelper } from '@syncfusion/ej2-base/helpers/e2e';
2
- export declare class TreeMapHelper extends TestHelper {
3
- id: string;
4
- wrapperFn: Function;
5
- constructor(id: string, wrapperFn: Function);
6
- getTreeMapContainer(): any;
7
- getTitlegroupElement(): any;
8
- getSquarifiedLayoutElement(): any;
9
- getSliceAndDiceHorizontalLayoutElement(): any;
10
- getSliceAndDiceVerticaLayoutElement(): any;
11
- getSliceAndDiceAutoLayoutElement(): any;
12
- getLegendGroupElement(): any;
13
- getLevelGroupElement(): any;
14
- getLevelTextGroupElement(): any;
15
- }
@@ -1,57 +0,0 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
14
- define(["require", "exports", "@syncfusion/ej2-base/helpers/e2e"], function (require, exports, e2e_1) {
15
- "use strict";
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- var TreeMapHelper = (function (_super) {
18
- __extends(TreeMapHelper, _super);
19
- function TreeMapHelper(id, wrapperFn) {
20
- var _this = _super.call(this) || this;
21
- _this.id = id;
22
- if (wrapperFn !== undefined) {
23
- _this.wrapperFn = wrapperFn;
24
- }
25
- return _this;
26
- }
27
- TreeMapHelper.prototype.getTreeMapContainer = function () {
28
- return this.selector('#' + this.id);
29
- };
30
- TreeMapHelper.prototype.getTitlegroupElement = function () {
31
- return this.selector('#' + this.id + 'Title_Group');
32
- };
33
- TreeMapHelper.prototype.getSquarifiedLayoutElement = function () {
34
- return this.selector('#' + this.id + '_TreeMap_Squarified_Layout');
35
- };
36
- TreeMapHelper.prototype.getSliceAndDiceHorizontalLayoutElement = function () {
37
- return this.selector('#' + this.id + '_TreeMap_SliceAndDiceHorizontal_Layout');
38
- };
39
- TreeMapHelper.prototype.getSliceAndDiceVerticaLayoutElement = function () {
40
- return this.selector('#' + this.id + '_TreeMap_SliceAndDiceVertical_Layout');
41
- };
42
- TreeMapHelper.prototype.getSliceAndDiceAutoLayoutElement = function () {
43
- return this.selector('#' + this.id + '_TreeMap_SliceAndDiceAuto_Layout');
44
- };
45
- TreeMapHelper.prototype.getLegendGroupElement = function () {
46
- return this.selector('#' + this.id + '_Legend_Group');
47
- };
48
- TreeMapHelper.prototype.getLevelGroupElement = function () {
49
- return this.selector('#' + this.id + '_Level_Index_0_Item_Index_0_Group');
50
- };
51
- TreeMapHelper.prototype.getLevelTextGroupElement = function () {
52
- return this.selector('#' + this.id + '_Level_Index_0_Item_Index_0_Text');
53
- };
54
- return TreeMapHelper;
55
- }(e2e_1.TestHelper));
56
- exports.TreeMapHelper = TreeMapHelper;
57
- });