evui 3.4.63 → 3.4.64

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.
@@ -11161,7 +11161,7 @@ $({ target: 'Number', stat: true }, {
11161
11161
  /***/ "9224":
11162
11162
  /***/ (function(module) {
11163
11163
 
11164
- module.exports = JSON.parse("{\"a\":\"3.4.63\"}");
11164
+ module.exports = JSON.parse("{\"a\":\"3.4.64\"}");
11165
11165
 
11166
11166
  /***/ }),
11167
11167
 
@@ -50854,9 +50854,7 @@ var plugins_tooltip_modules = {
50854
50854
  this.tooltipDOM.style.display = 'none';
50855
50855
 
50856
50856
  if (!((_this$options$tooltip = this.options.tooltip) !== null && _this$options$tooltip !== void 0 && (_this$options$tooltip2 = _this$options$tooltip.formatter) !== null && _this$options$tooltip2 !== void 0 && _this$options$tooltip2.html)) {
50857
- this.tooltipBodyDOM.appendChild(this.tooltipCanvas);
50858
- this.tooltipDOM.appendChild(this.tooltipHeaderDOM);
50859
- this.tooltipDOM.appendChild(this.tooltipBodyDOM);
50857
+ this.setDefaultTooltipLayout();
50860
50858
  }
50861
50859
 
50862
50860
  document.body.appendChild(this.tooltipDOM);
@@ -50871,6 +50869,11 @@ var plugins_tooltip_modules = {
50871
50869
  };
50872
50870
  }
50873
50871
  },
50872
+ setDefaultTooltipLayout: function setDefaultTooltipLayout() {
50873
+ this.tooltipBodyDOM.appendChild(this.tooltipCanvas);
50874
+ this.tooltipDOM.appendChild(this.tooltipHeaderDOM);
50875
+ this.tooltipDOM.appendChild(this.tooltipBodyDOM);
50876
+ },
50874
50877
 
50875
50878
  /**
50876
50879
  * get Tooltip's font style by Type ('title' | 'contents')
@@ -53753,8 +53756,13 @@ var chart_core_EvChart = /*#__PURE__*/function () {
53753
53756
 
53754
53757
 
53755
53758
  if (updateTooltipFormatter) {
53759
+ var _options$tooltip, _options$tooltip$form;
53760
+
53756
53761
  this.tooltipDOM.innerHTML = '';
53757
- this.createTooltipDOM();
53762
+
53763
+ if (!((_options$tooltip = options.tooltip) !== null && _options$tooltip !== void 0 && (_options$tooltip$form = _options$tooltip.formatter) !== null && _options$tooltip$form !== void 0 && _options$tooltip$form.html)) {
53764
+ this.setDefaultTooltipLayout();
53765
+ }
53758
53766
  }
53759
53767
 
53760
53768
  this.chartRect = this.getChartRect();