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.
@@ -7836,7 +7836,7 @@ $({ target: 'Number', stat: true }, {
7836
7836
  /***/ "9224":
7837
7837
  /***/ (function(module) {
7838
7838
 
7839
- module.exports = JSON.parse("{\"a\":\"3.2.2\"}");
7839
+ module.exports = JSON.parse("{\"a\":\"3.2.3\"}");
7840
7840
 
7841
7841
  /***/ }),
7842
7842
 
@@ -37247,7 +37247,9 @@ var plugins_interaction_modules = {
37247
37247
 
37248
37248
  this.onDblClick = function (e) {
37249
37249
  var selectItem = _this.options.selectItem;
37250
- var args = {};
37250
+ var args = {
37251
+ e: e
37252
+ };
37251
37253
 
37252
37254
  if (selectItem.use) {
37253
37255
  var offset = _this.getMousePosition(e);
@@ -37275,7 +37277,9 @@ var plugins_interaction_modules = {
37275
37277
 
37276
37278
 
37277
37279
  this.onClick = function (e) {
37278
- var args = {};
37280
+ var args = {
37281
+ e: e
37282
+ };
37279
37283
 
37280
37284
  if (_this.options.selectItem.use) {
37281
37285
  var offset = _this.getMousePosition(e);
@@ -37292,7 +37296,9 @@ var plugins_interaction_modules = {
37292
37296
  }
37293
37297
 
37294
37298
  if (typeof _this.listeners.click === 'function') {
37295
- _this.listeners.click(args);
37299
+ if (!_this.dragInfoBackup) {
37300
+ _this.listeners.click(args);
37301
+ }
37296
37302
  }
37297
37303
  };
37298
37304
  /**
@@ -37429,11 +37435,12 @@ var plugins_interaction_modules = {
37429
37435
  */
37430
37436
 
37431
37437
 
37432
- var dragEnd = function dragEnd() {
37438
+ var dragEnd = function dragEnd(e) {
37433
37439
  var dragInfo = _this2.dragInfo;
37434
37440
 
37435
37441
  if (dragInfo !== null && dragInfo !== void 0 && dragInfo.isMove) {
37436
37442
  var args = {
37443
+ e: e,
37437
37444
  data: _this2.findSelectedItems(dragInfo),
37438
37445
  range: _this2.getSelectionRage(dragInfo)
37439
37446
  };
@@ -39809,7 +39816,7 @@ var chart_uses_useModel = function useModel() {
39809
39816
  var getNormalizedOptions = function getNormalizedOptions(options) {
39810
39817
  var normalizedOptions = lodash_es_defaultsDeep({}, options, DEFAULT_OPTIONS);
39811
39818
 
39812
- if (options.type === 'scatter') {
39819
+ if (options.type === 'scatter' && !(options !== null && options !== void 0 && options.tooltip)) {
39813
39820
  normalizedOptions.tooltip.use = false;
39814
39821
  }
39815
39822