evui 3.2.2 → 3.2.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/dist/evui.umd.js CHANGED
@@ -7845,7 +7845,7 @@ $({ target: 'Number', stat: true }, {
7845
7845
  /***/ "9224":
7846
7846
  /***/ (function(module) {
7847
7847
 
7848
- module.exports = JSON.parse("{\"a\":\"3.2.2\"}");
7848
+ module.exports = JSON.parse("{\"a\":\"3.2.3\"}");
7849
7849
 
7850
7850
  /***/ }),
7851
7851
 
@@ -37256,7 +37256,9 @@ var plugins_interaction_modules = {
37256
37256
 
37257
37257
  this.onDblClick = function (e) {
37258
37258
  var selectItem = _this.options.selectItem;
37259
- var args = {};
37259
+ var args = {
37260
+ e: e
37261
+ };
37260
37262
 
37261
37263
  if (selectItem.use) {
37262
37264
  var offset = _this.getMousePosition(e);
@@ -37284,7 +37286,9 @@ var plugins_interaction_modules = {
37284
37286
 
37285
37287
 
37286
37288
  this.onClick = function (e) {
37287
- var args = {};
37289
+ var args = {
37290
+ e: e
37291
+ };
37288
37292
 
37289
37293
  if (_this.options.selectItem.use) {
37290
37294
  var offset = _this.getMousePosition(e);
@@ -37301,7 +37305,9 @@ var plugins_interaction_modules = {
37301
37305
  }
37302
37306
 
37303
37307
  if (typeof _this.listeners.click === 'function') {
37304
- _this.listeners.click(args);
37308
+ if (!_this.dragInfoBackup) {
37309
+ _this.listeners.click(args);
37310
+ }
37305
37311
  }
37306
37312
  };
37307
37313
  /**
@@ -37438,11 +37444,12 @@ var plugins_interaction_modules = {
37438
37444
  */
37439
37445
 
37440
37446
 
37441
- var dragEnd = function dragEnd() {
37447
+ var dragEnd = function dragEnd(e) {
37442
37448
  var dragInfo = _this2.dragInfo;
37443
37449
 
37444
37450
  if (dragInfo !== null && dragInfo !== void 0 && dragInfo.isMove) {
37445
37451
  var args = {
37452
+ e: e,
37446
37453
  data: _this2.findSelectedItems(dragInfo),
37447
37454
  range: _this2.getSelectionRage(dragInfo)
37448
37455
  };
@@ -39818,7 +39825,7 @@ var chart_uses_useModel = function useModel() {
39818
39825
  var getNormalizedOptions = function getNormalizedOptions(options) {
39819
39826
  var normalizedOptions = lodash_es_defaultsDeep({}, options, DEFAULT_OPTIONS);
39820
39827
 
39821
- if (options.type === 'scatter') {
39828
+ if (options.type === 'scatter' && !(options !== null && options !== void 0 && options.tooltip)) {
39822
39829
  normalizedOptions.tooltip.use = false;
39823
39830
  }
39824
39831