@syncfusion/ej2-treemap 24.1.41 → 25.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,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 24.1.41
3
+ * version : 25.1.35
4
4
  * Copyright Syncfusion Inc. 2001 - 2023. 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
@@ -2,7 +2,7 @@
2
2
  "_from": "@syncfusion/ej2-treemap@*",
3
3
  "_id": "@syncfusion/ej2-treemap@16.31.24",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-iLjN870QJS4LWfXDhTQCkG1eczZO71KXGlmg70Z15PmXQL1SEca0W0JkTycKQr9QejvYFVsrLxE4A46DlDKxgQ==",
5
+ "_integrity": "sha512-M7wDWdumPsBh/y8Gu2LFXBbVkACeJ7mBkOQpbx4p/sTEox27aAS8IYQcbHWHIlgluXzY9hZxQGJ0VBW7wZsIfA==",
6
6
  "_location": "/@syncfusion/ej2-treemap",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -23,10 +23,10 @@
23
23
  "/@syncfusion/ej2-react-treemap",
24
24
  "/@syncfusion/ej2-vue-treemap"
25
25
  ],
26
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-treemap/-/ej2-treemap-16.31.24.tgz",
27
- "_shasum": "3d98e2f1c1eceb2ace072ad89f4154c6376db718",
26
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-release/@syncfusion/ej2-treemap/-/ej2-treemap-16.31.24.tgz",
27
+ "_shasum": "d048a4830bb8785823ecf0f51980fc3fac6f4c22",
28
28
  "_spec": "@syncfusion/ej2-treemap@*",
29
- "_where": "/jenkins/workspace/elease-automation_release_24.1.1/packages/included",
29
+ "_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included",
30
30
  "author": {
31
31
  "name": "Syncfusion Inc."
32
32
  },
@@ -35,12 +35,12 @@
35
35
  },
36
36
  "bundleDependencies": false,
37
37
  "dependencies": {
38
- "@syncfusion/ej2-base": "~24.1.41",
39
- "@syncfusion/ej2-compression": "~24.1.41",
40
- "@syncfusion/ej2-data": "~24.1.41",
41
- "@syncfusion/ej2-file-utils": "~24.1.41",
42
- "@syncfusion/ej2-pdf-export": "~24.1.41",
43
- "@syncfusion/ej2-svg-base": "~24.1.41"
38
+ "@syncfusion/ej2-base": "~25.1.35",
39
+ "@syncfusion/ej2-compression": "~25.1.35",
40
+ "@syncfusion/ej2-data": "~25.1.35",
41
+ "@syncfusion/ej2-file-utils": "~25.1.35",
42
+ "@syncfusion/ej2-pdf-export": "~25.1.35",
43
+ "@syncfusion/ej2-svg-base": "~25.1.35"
44
44
  },
45
45
  "deprecated": false,
46
46
  "description": "Essential JS 2 TreeMap Components",
@@ -81,6 +81,6 @@
81
81
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
82
82
  },
83
83
  "typings": "index.d.ts",
84
- "version": "24.1.41",
84
+ "version": "25.1.35",
85
85
  "sideEffects": false
86
86
  }
@@ -716,7 +716,9 @@ var TreeMapLegend = /** @class */ (function () {
716
716
  'text-anchor': 'middle',
717
717
  'transform': '',
718
718
  'opacity': 1,
719
- 'dominant-baseline': ''
719
+ 'dominant-baseline': '',
720
+ 'role': 'region',
721
+ 'aria-label': pagingText
720
722
  };
721
723
  pagingGroup.appendChild(render.createText(pageTextOptions, pagingText));
722
724
  this.legendGroup.appendChild(pagingGroup);
@@ -752,7 +754,9 @@ var TreeMapLegend = /** @class */ (function () {
752
754
  var textSize = measureText(trimTitle, textStyle);
753
755
  if (legendTitle) {
754
756
  textOptions = new TextOption(this.treemap.element.id + '_LegendTitle', (this.legendItemRect.x) + (this.legendItemRect.width / 2), this.legendItemRect.y - (textSize.height / 2) - (spacing / 2), 'middle', trimTitle, '');
755
- renderTextElement(textOptions, textStyle, textStyle.color || this.treemap.themeStyle.legendTitleColor, this.legendGroup);
757
+ var textElement = renderTextElement(textOptions, textStyle, textStyle.color || this.treemap.themeStyle.legendTitleColor, this.legendGroup);
758
+ textElement.setAttribute('role', 'region');
759
+ textElement.setAttribute('aria-label', legendTitle);
756
760
  }
757
761
  };
758
762
  /**
@@ -986,6 +990,8 @@ var TreeMapLegend = /** @class */ (function () {
986
990
  * @private
987
991
  */
988
992
  TreeMapLegend.prototype.destroy = function () {
993
+ clearTimeout(this.clearTimeout);
994
+ this.clearTimeout = null;
989
995
  this.legendRenderingCollections = [];
990
996
  this.legendCollections = [];
991
997
  this.outOfRangeLegend = null;
@@ -999,8 +1005,7 @@ var TreeMapLegend = /** @class */ (function () {
999
1005
  this.legendInteractiveGradient = [];
1000
1006
  this.legendItemRect = null;
1001
1007
  this.removeEventListener();
1002
- //TODO: The removeInteractivePointer method (calling method) is called in a timer in the mouseUpHandler method. Because of this handling, adding the below code results in a spec failure.
1003
- //this.treemap = null;
1008
+ this.treemap = null;
1004
1009
  };
1005
1010
  /**
1006
1011
  * Get the gradient color for interactive legend.
@@ -256,7 +256,7 @@ var TreeMap = /** @class */ (function (_super) {
256
256
  var titleBounds = new Rect(location_1.x, location_1.y, elementSize.width, elementSize.height);
257
257
  var element = renderTextElement(options, style, style.color || (type === 'title' ? this.themeStyle.titleFontColor : this.themeStyle.subTitleFontColor), groupEle);
258
258
  element.setAttribute('aria-label', title.description || title.text);
259
- element.setAttribute('role', '');
259
+ element.setAttribute('role', 'region');
260
260
  element.setAttribute('tabindex', this.tabIndex.toString());
261
261
  if ((type === 'title' && !title.subtitleSettings.text) || (type === 'subtitle')) {
262
262
  height = (this.availableSize.height - titleBounds.y - titlePadding - this.margin.bottom);
@@ -1082,43 +1082,50 @@ var TreeMap = /** @class */ (function (_super) {
1082
1082
  if (this.tooltipSettings.visible) {
1083
1083
  modules.push({
1084
1084
  member: 'treeMapTooltip',
1085
- args: [this]
1085
+ args: [this],
1086
+ name: 'TreeMapTooltip'
1086
1087
  });
1087
1088
  }
1088
1089
  if (this.highlightSettings.enable) {
1089
1090
  modules.push({
1090
1091
  member: 'treeMapHighlight',
1091
- args: [this]
1092
+ args: [this],
1093
+ name: 'TreeMapHighlight'
1092
1094
  });
1093
1095
  }
1094
1096
  if (this.selectionSettings.enable) {
1095
1097
  modules.push({
1096
1098
  member: 'treeMapSelection',
1097
- args: [this]
1099
+ args: [this],
1100
+ name: 'TreeMapSelection'
1098
1101
  });
1099
1102
  }
1100
1103
  if (this.legendSettings.visible) {
1101
1104
  modules.push({
1102
1105
  member: 'treeMapLegend',
1103
- args: [this]
1106
+ args: [this],
1107
+ name: 'TreeMapLegend'
1104
1108
  });
1105
1109
  }
1106
1110
  if (this.allowPrint) {
1107
1111
  modules.push({
1108
1112
  member: 'Print',
1109
- args: [this, Print]
1113
+ args: [this, Print],
1114
+ name: 'Print'
1110
1115
  });
1111
1116
  }
1112
1117
  if (this.allowImageExport) {
1113
1118
  modules.push({
1114
1119
  member: 'ImageExport',
1115
- args: [this, ImageExport]
1120
+ args: [this, ImageExport],
1121
+ name: 'ImageExport'
1116
1122
  });
1117
1123
  }
1118
1124
  if (this.allowPdfExport) {
1119
1125
  modules.push({
1120
1126
  member: 'PdfExport',
1121
- args: [this, PdfExport]
1127
+ args: [this, PdfExport],
1128
+ name: 'PdfExport'
1122
1129
  });
1123
1130
  }
1124
1131
  return modules;
@@ -1180,6 +1187,20 @@ var TreeMap = /** @class */ (function (_super) {
1180
1187
  this.legendId = [];
1181
1188
  this.removeSvg();
1182
1189
  _super.prototype.destroy.call(this);
1190
+ this.areaRect = null;
1191
+ this.themeStyle = null;
1192
+ this.totalRect = null;
1193
+ this.drilledLegendItems = null;
1194
+ this.doubleTapTimer = null;
1195
+ this.treemapLevelData = null;
1196
+ this.resizeEvent = null;
1197
+ this.availableSize = null;
1198
+ this.intl = null;
1199
+ if (!isNullOrUndefined(this.layout)) {
1200
+ this.layout.destroy();
1201
+ }
1202
+ this.layout = null;
1203
+ this.renderer = null;
1183
1204
  };
1184
1205
  TreeMap.prototype.removeSvg = function () {
1185
1206
  removeElement(this.element.id + '_Secondary_Element');
@@ -1,72 +0,0 @@
1
- # Bug description
2
-
3
- Clearly and concisely describe the problem or feature (this cannot be empty).
4
-
5
- ## Root cause
6
-
7
- Briefly describe the root cause and analysis of the problem.
8
- If there is an internal discussion on the forum, provide the link.
9
-
10
- ## Reason for not identifying earlier
11
-
12
- Find how it was missed in our earlier testing and development and by whom it was missed. This will help prevent similar mistakes in the future.
13
-
14
- ### Reason
15
-
16
- Provide reason for missing.
17
-
18
- ### Action taken:
19
-
20
- Provide the action plan taken to avoid this issue further. Also, mention if we addressed any other area in the same product based on this learning.
21
-
22
- ### Related Area for missing test case:
23
-
24
- Unit test case / E2E test case / Manual testing
25
-
26
- ## Is it a breaking issue?
27
-
28
- If it is a breaking issue, provide the commit detail which caused this break.
29
-
30
- ## Solution description
31
-
32
- Describe your code changes in detail for reviewers.
33
-
34
- ### Cause:
35
-
36
- Technical explanation for cause.
37
-
38
- ### Fix:
39
-
40
- Technical explanation for your fix.
41
-
42
- ## Output screenshots
43
-
44
- Post the output screenshots if an UI is affected or added due to this bug.
45
-
46
- ### Before issue fix output image:
47
-
48
- Provide issue image before fix.
49
-
50
- ### After issue fix output image:
51
-
52
- Provide issue fixed image with your fix.
53
-
54
- ## Areas affected and ensured
55
-
56
- List the areas affected by your code changes.
57
-
58
- ## Additional checklist
59
-
60
- - [ ] Did you run the automation against your fix? <b> Yes | No Your Explanation </b>
61
-
62
- - [ ] Is there any API name change? <b> Yes | No Your Explanation </b>
63
-
64
- - [ ] Is there any existing behavior change of other features due to this code change? <b> Yes | No Your Explanation </b>
65
-
66
- - [ ] Did you record this case in the unit test or UI test? <b> Yes | No Your Explanation </b>
67
-
68
- - [ ] Did you added issue fix comment? <b> Yes | No Your Explanation </b>
69
-
70
- - [ ] Did you tested this issue fix for all browsers? <b> [ ] Chrome [ ] Firefox [ ] Edge [ ] Internet Explorer </b>
71
-
72
- - [ ] Does it have any known issues? <b> Yes | No Your Explanation </b>
@@ -1,49 +0,0 @@
1
- # Feature description
2
-
3
- Clearly and concisely describe the problem/feature (this cannot be empty)
4
-
5
- ## Analysis / Design
6
-
7
- If there is an external design, link to it project documentation area
8
- If there is an internal discussion on the Forum, provide the link.
9
-
10
- ## Solution Description
11
-
12
- Describe your code changes in detail for reviewers
13
-
14
- ## Output screenshots
15
-
16
- Post the output screenshots if an UI is affected or added due to this feature.
17
-
18
- ## Areas affected and ensured
19
-
20
- List out the areas are affected by your code changes.
21
-
22
- ## Test cases
23
-
24
- Provide the unit testing written file details to understand the use cases considered in this implementation.
25
- If there is no TDD (if it’s not possible to follow), provide the UI automation script location and the Excel file that contains the use cases considered in this implementation.
26
- Provide the test cases Excel file alone if the feature cannot be automated in any case.
27
-
28
- ## Test bed sample location
29
-
30
- Provide the test bed sample location where code reviewers can review the new feature’s behaviors. It can be from NPMCI, staging site, local server, etc.
31
-
32
- ## Additional checklist
33
-
34
- - [ ] Did you run the automation against your feature? <b> Yes | No Your Explanation </b>
35
-
36
- - [ ] Is there any API name change? <b> Yes | No Your Explanation </b>
37
-
38
- - [ ] Is there any existing behavior change of other features due to this code change? <b> Yes | No Your Explanation </b>
39
-
40
- - [ ] Did you record this case in the unit test or UI test? <b> Yes | No Your Explanation </b>
41
-
42
- - [ ] Did you add comment for your new code (Method / Class / API / Interface / Event)? <b> Yes | No Your Explanation </b>
43
-
44
- - [ ] Did you configured third party config your feature? <b> Yes | No Your Explanation </b>
45
-
46
- - [ ] Did you tested this feature with all browsers? <b> [ ] Chrome [ ] Firefox [ ] Edge [ ] Internet Explorer </b>
47
-
48
-
49
-