@syncfusion/ej2-treemap 34.2.6 → 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.
@@ -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
- this.tooltipSettings.textStyle.size = this.tooltipSettings.textStyle.size || this.treemap.themeStyle.tooltipFontSize;
6959
- this.tooltipSettings.textStyle.fontFamily = this.tooltipSettings.textStyle.fontFamily || this.treemap.themeStyle.fontFamily;
6960
- this.tooltipSettings.textStyle.fontStyle = !isNullOrUndefined(this.tooltipSettings.textStyle.fontStyle) ? this.tooltipSettings.textStyle.fontStyle : 'Normal';
6961
- this.tooltipSettings.textStyle.fontWeight = this.tooltipSettings.textStyle.fontWeight || this.treemap.themeStyle.fontWeight;
6962
- this.tooltipSettings.textStyle.color = this.tooltipSettings.textStyle.color || this.treemap.themeStyle.tooltipFontColor;
6963
- // eslint-disable-next-line max-len
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: this.tooltipSettings.textStyle, template: this.tooltipSettings.template
6977
+ textStyle: tooltipTextStyle, template: this.tooltipSettings.template
6979
6978
  },
6980
6979
  treemap: this.treemap,
6981
6980
  element: target, eventArgs: e