@syncfusion/ej2-treemap 34.2.8 → 35.1.37
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.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 +7 -8
- package/dist/es6/ej2-treemap.es2015.js.map +1 -1
- package/dist/es6/ej2-treemap.es5.js +7 -8
- 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 +7 -7
- package/src/treemap/user-interaction/tooltip.js +7 -8
- package/helper/e2e/index.d.ts +0 -1
- package/helper/e2e/index.js +0 -8
- package/helper/e2e/treemap-helper.d.ts +0 -15
- package/helper/e2e/treemap-helper.js +0 -57
|
@@ -6955,13 +6955,12 @@ var TreeMapTooltip = /** @__PURE__ @class */ (function () {
|
|
|
6955
6955
|
}
|
|
6956
6956
|
location = getMousePosition(pageX, pageY, this.treemap.svgObject);
|
|
6957
6957
|
location.y = (this.tooltipSettings.template) ? location.y + 10 : location.y;
|
|
6958
|
-
|
|
6959
|
-
|
|
6960
|
-
|
|
6961
|
-
|
|
6962
|
-
|
|
6963
|
-
|
|
6964
|
-
this.tooltipSettings.textStyle.opacity = this.tooltipSettings.textStyle.opacity || this.treemap.themeStyle.tooltipTextOpacity;
|
|
6958
|
+
var tooltipTextStyle = {
|
|
6959
|
+
// eslint-disable-next-line max-len
|
|
6960
|
+
color: this.tooltipSettings.textStyle.color || this.treemap.themeStyle.tooltipFontColor, fontFamily: this.tooltipSettings.textStyle.fontFamily || this.treemap.themeStyle.fontFamily, fontStyle: !isNullOrUndefined(this.tooltipSettings.textStyle.fontStyle) ? this.tooltipSettings.textStyle.fontStyle : 'Normal',
|
|
6961
|
+
// eslint-disable-next-line max-len
|
|
6962
|
+
fontWeight: this.tooltipSettings.textStyle.fontWeight || this.treemap.themeStyle.fontWeight, opacity: this.tooltipSettings.textStyle.opacity || this.treemap.themeStyle.tooltipTextOpacity, size: this.tooltipSettings.textStyle.size || this.treemap.themeStyle.tooltipFontSize
|
|
6963
|
+
};
|
|
6965
6964
|
var border = {
|
|
6966
6965
|
width: this.tooltipSettings.border.width || this.treemap.themeStyle.tooltipBorderWidth || 0,
|
|
6967
6966
|
color: this.tooltipSettings.border.color || this.treemap.themeStyle.tooltipBorderColor || 'transparent'
|
|
@@ -6975,7 +6974,7 @@ var TreeMapTooltip = /** @__PURE__ @class */ (function () {
|
|
|
6975
6974
|
cancel: false, name: tooltipRendering, item: item,
|
|
6976
6975
|
options: {
|
|
6977
6976
|
location: location, text: tooltipContent, data: toolTipData, border: border,
|
|
6978
|
-
textStyle:
|
|
6977
|
+
textStyle: tooltipTextStyle, template: this.tooltipSettings.template
|
|
6979
6978
|
},
|
|
6980
6979
|
treemap: this.treemap,
|
|
6981
6980
|
element: target, eventArgs: e
|