@visactor/vchart 1.12.9-alpha.2 → 1.12.9-alpha.3

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/build/index.js CHANGED
@@ -61645,7 +61645,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
61645
61645
  };
61646
61646
  registerVChartCore();
61647
61647
 
61648
- const version = "1.12.9-alpha.2";
61648
+ const version = "1.12.9-alpha.3";
61649
61649
 
61650
61650
  const addVChartProperty = (data, op) => {
61651
61651
  const context = op.beforeCall();
@@ -90731,6 +90731,9 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
90731
90731
  }
90732
90732
  if (this._spec.triggerOff !== 'none') {
90733
90733
  this._hideTooltipByHandler(Object.assign(Object.assign({}, params), { tooltip: this }));
90734
+ if (this._handleMouseMove && this._handleMouseMove.cancel) {
90735
+ this._handleMouseMove.cancel();
90736
+ }
90734
90737
  this._cacheEnterableRect = null;
90735
90738
  this._cacheInfo = undefined;
90736
90739
  this._cacheParams = undefined;
@@ -91016,12 +91019,13 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
91016
91019
  const trigger = array((_a = this._spec.trigger) !== null && _a !== void 0 ? _a : 'hover');
91017
91020
  const mode = this._option.mode;
91018
91021
  if (trigger.includes('hover')) {
91019
- this._mountEvent('pointermove', { source: 'chart' }, this._throttle(this._getMouseMoveHandler(false)));
91022
+ this._handleMouseMove = this._throttle(this._getMouseMoveHandler(false));
91023
+ this._mountEvent('pointermove', { source: 'chart' }, this._handleMouseMove);
91020
91024
  if (isMobileLikeMode(mode) || isMiniAppLikeMode(mode)) {
91021
91025
  this._mountEvent('pointerdown', { source: 'chart' }, this._getMouseMoveHandler(false));
91022
91026
  this._mountEvent('pointerup', { source: 'window' }, this._getMouseOutHandler(true));
91023
91027
  }
91024
- this._mountEvent('pointerout', { source: 'chart' }, this._getMouseOutHandler(false));
91028
+ this._mountEvent('pointerleave', { source: 'chart' }, this._getMouseOutHandler(false));
91025
91029
  }
91026
91030
  if (trigger.includes('click')) {
91027
91031
  this._mountEvent('pointertap', { source: 'chart' }, this._getMouseMoveHandler(true));