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.
package/dist/evui.umd.js CHANGED
@@ -11170,7 +11170,7 @@ $({ target: 'Number', stat: true }, {
11170
11170
  /***/ "9224":
11171
11171
  /***/ (function(module) {
11172
11172
 
11173
- module.exports = JSON.parse("{\"a\":\"3.4.63\"}");
11173
+ module.exports = JSON.parse("{\"a\":\"3.4.64\"}");
11174
11174
 
11175
11175
  /***/ }),
11176
11176
 
@@ -50863,9 +50863,7 @@ var plugins_tooltip_modules = {
50863
50863
  this.tooltipDOM.style.display = 'none';
50864
50864
 
50865
50865
  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)) {
50866
- this.tooltipBodyDOM.appendChild(this.tooltipCanvas);
50867
- this.tooltipDOM.appendChild(this.tooltipHeaderDOM);
50868
- this.tooltipDOM.appendChild(this.tooltipBodyDOM);
50866
+ this.setDefaultTooltipLayout();
50869
50867
  }
50870
50868
 
50871
50869
  document.body.appendChild(this.tooltipDOM);
@@ -50880,6 +50878,11 @@ var plugins_tooltip_modules = {
50880
50878
  };
50881
50879
  }
50882
50880
  },
50881
+ setDefaultTooltipLayout: function setDefaultTooltipLayout() {
50882
+ this.tooltipBodyDOM.appendChild(this.tooltipCanvas);
50883
+ this.tooltipDOM.appendChild(this.tooltipHeaderDOM);
50884
+ this.tooltipDOM.appendChild(this.tooltipBodyDOM);
50885
+ },
50883
50886
 
50884
50887
  /**
50885
50888
  * get Tooltip's font style by Type ('title' | 'contents')
@@ -53762,8 +53765,13 @@ var chart_core_EvChart = /*#__PURE__*/function () {
53762
53765
 
53763
53766
 
53764
53767
  if (updateTooltipFormatter) {
53768
+ var _options$tooltip, _options$tooltip$form;
53769
+
53765
53770
  this.tooltipDOM.innerHTML = '';
53766
- this.createTooltipDOM();
53771
+
53772
+ 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)) {
53773
+ this.setDefaultTooltipLayout();
53774
+ }
53767
53775
  }
53768
53776
 
53769
53777
  this.chartRect = this.getChartRect();