@syncfusion/ej2-treemap 19.4.52 → 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/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 +8 -4
- package/dist/es6/ej2-treemap.es2015.js.map +1 -1
- package/dist/es6/ej2-treemap.es5.js +8 -4
- 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/user-interaction/tooltip.js +4 -0
- package/src/treemap/utils/enum.d.ts +5 -1
|
@@ -2529,7 +2529,7 @@ function getThemeStyle(theme) {
|
|
|
2529
2529
|
labelFontFamily: 'Helvetica Neue'
|
|
2530
2530
|
};
|
|
2531
2531
|
break;
|
|
2532
|
-
case '
|
|
2532
|
+
case 'fluent':
|
|
2533
2533
|
style = {
|
|
2534
2534
|
backgroundColor: 'rgba(255,255,255, 0.0)',
|
|
2535
2535
|
titleFontColor: '#201F1E',
|
|
@@ -2546,7 +2546,7 @@ function getThemeStyle(theme) {
|
|
|
2546
2546
|
labelFontFamily: 'Segoe UI'
|
|
2547
2547
|
};
|
|
2548
2548
|
break;
|
|
2549
|
-
case '
|
|
2549
|
+
case 'fluentdark':
|
|
2550
2550
|
style = {
|
|
2551
2551
|
backgroundColor: 'rgba(255,255,255, 0.0)',
|
|
2552
2552
|
titleFontColor: '#F3F2F1',
|
|
@@ -2797,8 +2797,8 @@ var PdfExport = /** @__PURE__ @class */ (function () {
|
|
|
2797
2797
|
var backgroundElement = exportElement.childNodes[0];
|
|
2798
2798
|
if (!isNullOrUndefined(backgroundElement)) {
|
|
2799
2799
|
var backgroundColor = backgroundElement.getAttribute('fill');
|
|
2800
|
-
if ((_this.control.theme === 'Tailwind' || _this.control.theme === 'TailwindDark' || _this.control.theme === 'Bootstrap5' || _this.control.theme === 'Bootstrap5Dark'
|
|
2801
|
-
&& (backgroundColor === 'rgba(255,255,255, 0.0)' || backgroundColor === 'transparent')) {
|
|
2800
|
+
if ((_this.control.theme === 'Tailwind' || _this.control.theme === 'TailwindDark' || _this.control.theme === 'Bootstrap5' || _this.control.theme === 'Bootstrap5Dark'
|
|
2801
|
+
|| _this.control.theme === 'Fluent' || _this.control.theme === 'FluentDark') && (backgroundColor === 'rgba(255,255,255, 0.0)' || backgroundColor === 'transparent')) {
|
|
2802
2802
|
exportElement.childNodes[0].setAttribute('fill', 'rgba(255,255,255, 1)');
|
|
2803
2803
|
}
|
|
2804
2804
|
}
|
|
@@ -5754,6 +5754,10 @@ var TreeMapTooltip = /** @__PURE__ @class */ (function () {
|
|
|
5754
5754
|
textStyle: args['textStyle'],
|
|
5755
5755
|
fill: this.treemap.tooltipSettings.fill ? this.treemap.tooltipSettings.fill : this.treemap.themeStyle.tooltipFillColor
|
|
5756
5756
|
});
|
|
5757
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5758
|
+
if (this.treemap.isVue || this.treemap.isVue3) {
|
|
5759
|
+
this.svgTooltip.controlInstance = this.treemap;
|
|
5760
|
+
}
|
|
5757
5761
|
this.svgTooltip.opacity = this.treemap.themeStyle.tooltipFillOpacity || this.svgTooltip.opacity;
|
|
5758
5762
|
this.svgTooltip.appendTo(tooltipEle);
|
|
5759
5763
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|