@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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 29.2.4
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
- "_from": "@syncfusion/ej2-treemap@*",
3
- "_id": "@syncfusion/ej2-treemap@29.1.33",
4
- "_inBundle": false,
5
- "_integrity": "sha512-c4+GalY/uXYir4R/a+qktPV0KsYQHMxVGCewFUPph0w2G5n4Ffs8uxgI3NdeA7gRSVoGjuhSvdWy4cWcxHHuuw==",
6
- "_location": "/@syncfusion/ej2-treemap",
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": "~29.2.4",
39
- "@syncfusion/ej2-compression": "~29.2.4",
40
- "@syncfusion/ej2-data": "~29.2.4",
41
- "@syncfusion/ej2-file-utils": "~29.2.4",
42
- "@syncfusion/ej2-pdf-export": "~29.2.4",
43
- "@syncfusion/ej2-svg-base": "~29.2.4"
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": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
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
- "version": "29.2.4",
85
- "sideEffects": false
49
+ "sideEffects": false,
50
+ "homepage": "https://www.syncfusion.com/javascript-ui-controls"
86
51
  }
@@ -541,6 +541,7 @@ export declare class TreeMap extends Component<HTMLElement> implements INotifyPr
541
541
  * @returns {void}
542
542
  */
543
543
  private wireEVents;
544
+ private setStyle;
544
545
  /**
545
546
  * Method to set culture for maps
546
547
  *
@@ -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.search(options.connectorText[1]) >= 0) : false;
243
+ (text.includes(options.connectorText[1])) : false;
244
244
  if (breadCrumbText) {
245
245
  var drilledLabel = text;
246
246
  var spacing = 5;