@syncfusion/ej2-treemap 29.2.4 → 30.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.json +2 -0
- package/dist/ej2-treemap.min.js +2 -2
- package/dist/ej2-treemap.umd.min.js +2 -2
- package/dist/ej2-treemap.umd.min.js.map +1 -1
- package/dist/es6/ej2-treemap.es2015.js +5 -1
- package/dist/es6/ej2-treemap.es2015.js.map +1 -1
- package/dist/es6/ej2-treemap.es5.js +5 -1
- package/dist/es6/ej2-treemap.es5.js.map +1 -1
- package/dist/global/ej2-treemap.min.js +2 -2
- package/dist/global/ej2-treemap.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +17 -52
- package/src/treemap/treemap.d.ts +1 -0
- package/src/treemap/treemap.js +4 -0
- package/src/treemap/utils/helper.js +1 -1
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version :
|
|
3
|
+
* version : 30.2.4
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2024. 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,52 +1,18 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"_phantomChildren": {},
|
|
8
|
-
"_requested": {
|
|
9
|
-
"type": "range",
|
|
10
|
-
"registry": true,
|
|
11
|
-
"raw": "@syncfusion/ej2-treemap@*",
|
|
12
|
-
"name": "@syncfusion/ej2-treemap",
|
|
13
|
-
"escapedName": "@syncfusion%2fej2-treemap",
|
|
14
|
-
"scope": "@syncfusion",
|
|
15
|
-
"rawSpec": "*",
|
|
16
|
-
"saveSpec": null,
|
|
17
|
-
"fetchSpec": "*"
|
|
18
|
-
},
|
|
19
|
-
"_requiredBy": [
|
|
20
|
-
"/",
|
|
21
|
-
"/@syncfusion/ej2",
|
|
22
|
-
"/@syncfusion/ej2-angular-treemap",
|
|
23
|
-
"/@syncfusion/ej2-react-treemap",
|
|
24
|
-
"/@syncfusion/ej2-vue-treemap"
|
|
25
|
-
],
|
|
26
|
-
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-treemap/-/ej2-treemap-29.1.33.tgz",
|
|
27
|
-
"_shasum": "b74275a8385a9337085d38d7060d46f105411f95",
|
|
28
|
-
"_spec": "@syncfusion/ej2-treemap@*",
|
|
29
|
-
"_where": "/jenkins/workspace/elease-automation_release_29.1.1/packages/included",
|
|
30
|
-
"author": {
|
|
31
|
-
"name": "Syncfusion Inc."
|
|
32
|
-
},
|
|
33
|
-
"bugs": {
|
|
34
|
-
"url": "https://github.com/syncfusion/ej2-javascript-ui-controls/issues"
|
|
35
|
-
},
|
|
36
|
-
"bundleDependencies": false,
|
|
2
|
+
"name": "@syncfusion/ej2-treemap",
|
|
3
|
+
"version": "30.2.4",
|
|
4
|
+
"description": "Essential JS 2 TreeMap Components",
|
|
5
|
+
"author": "Syncfusion Inc.",
|
|
6
|
+
"license": "SEE LICENSE IN license",
|
|
37
7
|
"dependencies": {
|
|
38
|
-
"@syncfusion/ej2-base": "~
|
|
39
|
-
"@syncfusion/ej2-compression": "~
|
|
40
|
-
"@syncfusion/ej2-data": "~
|
|
41
|
-
"@syncfusion/ej2-file-utils": "~
|
|
42
|
-
"@syncfusion/ej2-pdf-export": "~
|
|
43
|
-
"@syncfusion/ej2-svg-base": "~
|
|
8
|
+
"@syncfusion/ej2-base": "~30.2.4",
|
|
9
|
+
"@syncfusion/ej2-compression": "~30.2.4",
|
|
10
|
+
"@syncfusion/ej2-data": "~30.2.4",
|
|
11
|
+
"@syncfusion/ej2-file-utils": "~30.2.4",
|
|
12
|
+
"@syncfusion/ej2-pdf-export": "~30.2.4",
|
|
13
|
+
"@syncfusion/ej2-svg-base": "~30.2.4"
|
|
44
14
|
},
|
|
45
|
-
"deprecated": false,
|
|
46
|
-
"description": "Essential JS 2 TreeMap Components",
|
|
47
15
|
"devDependencies": {},
|
|
48
|
-
"es2015": "./dist/es6/ej2-treemap.es5.js",
|
|
49
|
-
"homepage": "https://www.syncfusion.com/javascript-ui-controls",
|
|
50
16
|
"keywords": [
|
|
51
17
|
"ej2",
|
|
52
18
|
"syncfusion",
|
|
@@ -72,15 +38,14 @@
|
|
|
72
38
|
"legend",
|
|
73
39
|
"template"
|
|
74
40
|
],
|
|
75
|
-
"license": "SEE LICENSE IN license",
|
|
76
|
-
"main": "./dist/ej2-treemap.umd.min.js",
|
|
77
|
-
"module": "./index.js",
|
|
78
|
-
"name": "@syncfusion/ej2-treemap",
|
|
79
41
|
"repository": {
|
|
80
42
|
"type": "git",
|
|
81
|
-
"url": "
|
|
43
|
+
"url": "https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
82
44
|
},
|
|
45
|
+
"main": "./dist/ej2-treemap.umd.min.js",
|
|
46
|
+
"module": "./index.js",
|
|
47
|
+
"es2015": "./dist/es6/ej2-treemap.es5.js",
|
|
83
48
|
"typings": "index.d.ts",
|
|
84
|
-
"
|
|
85
|
-
"
|
|
49
|
+
"sideEffects": false,
|
|
50
|
+
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
|
|
86
51
|
}
|
package/src/treemap/treemap.d.ts
CHANGED
package/src/treemap/treemap.js
CHANGED
|
@@ -631,6 +631,10 @@ var TreeMap = /** @class */ (function (_super) {
|
|
|
631
631
|
EventHandler.add(this.element, 'focusout', this.focusHandler, this);
|
|
632
632
|
this.resizeEvent = this.resizeOnTreeMap.bind(this);
|
|
633
633
|
window.addEventListener('resize', this.resizeEvent);
|
|
634
|
+
this.setStyle(this.element);
|
|
635
|
+
};
|
|
636
|
+
TreeMap.prototype.setStyle = function (element) {
|
|
637
|
+
element.style.overflow = 'hidden';
|
|
634
638
|
};
|
|
635
639
|
/**
|
|
636
640
|
* Method to set culture for maps
|
|
@@ -240,7 +240,7 @@ export function renderTextElement(options, font, color, parent, isMinus) {
|
|
|
240
240
|
var height;
|
|
241
241
|
var htmlObject;
|
|
242
242
|
var breadCrumbText = !isNullOrUndefined(text) && !isNullOrUndefined(options.connectorText) ?
|
|
243
|
-
(text.
|
|
243
|
+
(text.includes(options.connectorText[1])) : false;
|
|
244
244
|
if (breadCrumbText) {
|
|
245
245
|
var drilledLabel = text;
|
|
246
246
|
var spacing = 5;
|