@syncfusion/ej2-treemap 19.4.38 → 20.1.47
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/README.md +1 -1
- 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 +10 -5
- package/dist/es6/ej2-treemap.es2015.js.map +1 -1
- package/dist/es6/ej2-treemap.es5.js +10 -5
- 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 +11 -11
- package/src/treemap/model/pdf-export.js +2 -2
- package/src/treemap/model/theme.js +2 -2
- package/src/treemap/treemap.js +2 -1
- package/src/treemap/user-interaction/tooltip.js +4 -0
- package/src/treemap/utils/enum.d.ts +5 -1
- package/dist/ts/treemap/layout/legend.ts +0 -991
- package/dist/ts/treemap/layout/render-panel.ts +0 -717
- package/dist/ts/treemap/model/base.ts +0 -800
- package/dist/ts/treemap/model/constants.ts +0 -118
- package/dist/ts/treemap/model/image-export.ts +0 -109
- package/dist/ts/treemap/model/interface.ts +0 -554
- package/dist/ts/treemap/model/pdf-export.ts +0 -103
- package/dist/ts/treemap/model/print.ts +0 -93
- package/dist/ts/treemap/model/theme.ts +0 -202
- package/dist/ts/treemap/treemap.ts +0 -1571
- package/dist/ts/treemap/user-interaction/highlight-selection.ts +0 -530
- package/dist/ts/treemap/user-interaction/tooltip.ts +0 -199
- package/dist/ts/treemap/utils/enum.ts +0 -218
- package/dist/ts/treemap/utils/helper.ts +0 -1181
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version :
|
|
3
|
+
* version : 20.1.47
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. 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,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-treemap@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-treemap@16.
|
|
3
|
+
"_id": "@syncfusion/ej2-treemap@16.30.0",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-i83IhaEJA73qbu4DcCcSWmrAL5NSpcEFL1GOeyqPcrJBgX5+gNPLsxmWtkc99ucRsB7m4ens6r8ObQGiSCV/IQ==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-treemap",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"/@syncfusion/ej2-react-treemap",
|
|
24
24
|
"/@syncfusion/ej2-vue-treemap"
|
|
25
25
|
],
|
|
26
|
-
"_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-treemap/-/ej2-treemap-16.
|
|
27
|
-
"_shasum": "
|
|
26
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-treemap/-/ej2-treemap-16.30.0.tgz",
|
|
27
|
+
"_shasum": "59e551156bb37ac70fadb6f78d1880c897926ef4",
|
|
28
28
|
"_spec": "@syncfusion/ej2-treemap@*",
|
|
29
29
|
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
|
|
30
30
|
"author": {
|
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
},
|
|
36
36
|
"bundleDependencies": false,
|
|
37
37
|
"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": "~
|
|
38
|
+
"@syncfusion/ej2-base": "~20.1.47",
|
|
39
|
+
"@syncfusion/ej2-compression": "~20.1.47",
|
|
40
|
+
"@syncfusion/ej2-data": "~20.1.47",
|
|
41
|
+
"@syncfusion/ej2-file-utils": "~20.1.47",
|
|
42
|
+
"@syncfusion/ej2-pdf-export": "~20.1.47",
|
|
43
|
+
"@syncfusion/ej2-svg-base": "~20.1.47"
|
|
44
44
|
},
|
|
45
45
|
"deprecated": false,
|
|
46
46
|
"description": "Essential JS 2 TreeMap Components",
|
|
@@ -73,6 +73,6 @@
|
|
|
73
73
|
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
74
74
|
},
|
|
75
75
|
"typings": "index.d.ts",
|
|
76
|
-
"version": "
|
|
76
|
+
"version": "20.1.47",
|
|
77
77
|
"sideEffects": false
|
|
78
78
|
}
|
|
@@ -42,8 +42,8 @@ var PdfExport = /** @class */ (function () {
|
|
|
42
42
|
var backgroundElement = exportElement.childNodes[0];
|
|
43
43
|
if (!isNullOrUndefined(backgroundElement)) {
|
|
44
44
|
var backgroundColor = backgroundElement.getAttribute('fill');
|
|
45
|
-
if ((_this.control.theme === 'Tailwind' || _this.control.theme === 'TailwindDark' || _this.control.theme === 'Bootstrap5' || _this.control.theme === 'Bootstrap5Dark'
|
|
46
|
-
&& (backgroundColor === 'rgba(255,255,255, 0.0)' || backgroundColor === 'transparent')) {
|
|
45
|
+
if ((_this.control.theme === 'Tailwind' || _this.control.theme === 'TailwindDark' || _this.control.theme === 'Bootstrap5' || _this.control.theme === 'Bootstrap5Dark'
|
|
46
|
+
|| _this.control.theme === 'Fluent' || _this.control.theme === 'FluentDark') && (backgroundColor === 'rgba(255,255,255, 0.0)' || backgroundColor === 'transparent')) {
|
|
47
47
|
exportElement.childNodes[0].setAttribute('fill', 'rgba(255,255,255, 1)');
|
|
48
48
|
}
|
|
49
49
|
}
|
|
@@ -148,7 +148,7 @@ export function getThemeStyle(theme) {
|
|
|
148
148
|
labelFontFamily: 'Helvetica Neue'
|
|
149
149
|
};
|
|
150
150
|
break;
|
|
151
|
-
case '
|
|
151
|
+
case 'fluent':
|
|
152
152
|
style = {
|
|
153
153
|
backgroundColor: 'rgba(255,255,255, 0.0)',
|
|
154
154
|
titleFontColor: '#201F1E',
|
|
@@ -165,7 +165,7 @@ export function getThemeStyle(theme) {
|
|
|
165
165
|
labelFontFamily: 'Segoe UI'
|
|
166
166
|
};
|
|
167
167
|
break;
|
|
168
|
-
case '
|
|
168
|
+
case 'fluentdark':
|
|
169
169
|
style = {
|
|
170
170
|
backgroundColor: 'rgba(255,255,255, 0.0)',
|
|
171
171
|
titleFontColor: '#F3F2F1',
|
package/src/treemap/treemap.js
CHANGED
|
@@ -192,7 +192,8 @@ var TreeMap = /** @class */ (function (_super) {
|
|
|
192
192
|
}
|
|
193
193
|
};
|
|
194
194
|
TreeMap.prototype.elementChange = function () {
|
|
195
|
-
if (this.treeMapLegendModule && this.legendSettings.visible && this.treeMapLegendModule.legendGroup && this.layout.layoutGroup
|
|
195
|
+
if (this.treeMapLegendModule && this.legendSettings.visible && this.treeMapLegendModule.legendGroup && this.layout.layoutGroup
|
|
196
|
+
&& !isNullOrUndefined(this.svgObject)) {
|
|
196
197
|
this.svgObject.insertBefore(this.layout.layoutGroup, this.treeMapLegendModule.legendGroup);
|
|
197
198
|
}
|
|
198
199
|
};
|
|
@@ -134,6 +134,10 @@ var TreeMapTooltip = /** @class */ (function () {
|
|
|
134
134
|
textStyle: args['textStyle'],
|
|
135
135
|
fill: this.treemap.tooltipSettings.fill ? this.treemap.tooltipSettings.fill : this.treemap.themeStyle.tooltipFillColor
|
|
136
136
|
});
|
|
137
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
138
|
+
if (this.treemap.isVue || this.treemap.isVue3) {
|
|
139
|
+
this.svgTooltip.controlInstance = this.treemap;
|
|
140
|
+
}
|
|
137
141
|
this.svgTooltip.opacity = this.treemap.themeStyle.tooltipFillOpacity || this.svgTooltip.opacity;
|
|
138
142
|
this.svgTooltip.appendTo(tooltipEle);
|
|
139
143
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
@@ -197,7 +197,11 @@ export declare type TreeMapTheme =
|
|
|
197
197
|
/** Render a treemap with Bootstrap5 theme. */
|
|
198
198
|
'Bootstrap5' |
|
|
199
199
|
/** Render a treemap with Bootstrap5 dark theme. */
|
|
200
|
-
'Bootstrap5Dark'
|
|
200
|
+
'Bootstrap5Dark' |
|
|
201
|
+
/** Render a treemap with Fluent theme. */
|
|
202
|
+
'Fluent' |
|
|
203
|
+
/** Render a treemap with Fluent dark theme. */
|
|
204
|
+
'FluentDark';
|
|
201
205
|
/**
|
|
202
206
|
* Defines the rendering directions to render the treemap items in the treemap.
|
|
203
207
|
*/
|