evui 3.4.105 → 3.4.106

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.
@@ -11164,7 +11164,7 @@ module.exports = exports;
11164
11164
  /***/ "9224":
11165
11165
  /***/ (function(module) {
11166
11166
 
11167
- module.exports = JSON.parse("{\"a\":\"3.4.105\"}");
11167
+ module.exports = JSON.parse("{\"a\":\"3.4.106\"}");
11168
11168
 
11169
11169
  /***/ }),
11170
11170
 
@@ -50123,10 +50123,10 @@ var plugins_interaction_modules = {
50123
50123
  */
50124
50124
  createEventFunctions: function createEventFunctions() {
50125
50125
  var _this = this,
50126
- _this$options5,
50127
- _this$options5$toolti,
50128
50126
  _this$options6,
50129
- _this$options6$toolti;
50127
+ _this$options6$toolti,
50128
+ _this$options7,
50129
+ _this$options7$toolti;
50130
50130
 
50131
50131
  /**
50132
50132
  * To show tooltip and item highlighting, add event listener on mousemove
@@ -50248,23 +50248,105 @@ var plugins_interaction_modules = {
50248
50248
 
50249
50249
 
50250
50250
  this.onDblClick = function (e) {
50251
- var selectItem = _this.options.selectItem;
50252
50251
  var args = {
50253
50252
  e: e
50254
50253
  };
50255
50254
 
50256
50255
  var offset = _this.getMousePosition(e);
50257
50256
 
50258
- var hitInfo = _this.getItemByPosition(offset, selectItem.useApproximateValue);
50257
+ var _this$options3 = _this.options,
50258
+ chartType = _this$options3.type,
50259
+ selectItemOpt = _this$options3.selectItem,
50260
+ selectLabelOpt = _this$options3.selectLabel,
50261
+ selectSeriesOpt = _this$options3.selectSeries;
50262
+ var useSelectItem = (selectItemOpt === null || selectItemOpt === void 0 ? void 0 : selectItemOpt.use) && (selectItemOpt === null || selectItemOpt === void 0 ? void 0 : selectItemOpt.useClick);
50263
+ var useSelectLabel = (selectLabelOpt === null || selectLabelOpt === void 0 ? void 0 : selectLabelOpt.use) && (selectLabelOpt === null || selectLabelOpt === void 0 ? void 0 : selectLabelOpt.useClick);
50264
+ var useSelectSeries = (selectSeriesOpt === null || selectSeriesOpt === void 0 ? void 0 : selectSeriesOpt.use) && (selectSeriesOpt === null || selectSeriesOpt === void 0 ? void 0 : selectSeriesOpt.useClick);
50259
50265
 
50260
- if (hitInfo.label !== null) {
50261
- _this.render(hitInfo);
50266
+ if (useSelectItem) {
50267
+ args.eventTarget = 'item';
50268
+ } else if (useSelectLabel) {
50269
+ args.eventTarget = 'label';
50270
+ } else if (useSelectSeries) {
50271
+ args.eventTarget = 'series';
50262
50272
  }
50263
50273
 
50264
- args.label = hitInfo.label;
50265
- args.value = hitInfo.value;
50266
- args.seriesId = hitInfo.sId;
50267
- args.acc = hitInfo.acc;
50274
+ var setSelectedItemInfo = function setSelectedItemInfo() {
50275
+ var hitInfo = _this.getItemByPosition(offset, false);
50276
+
50277
+ args.label = hitInfo.label;
50278
+ args.value = hitInfo.value;
50279
+ args.seriesId = hitInfo.sId;
50280
+ args.dataIndex = hitInfo.maxIndex;
50281
+ args.acc = hitInfo.acc;
50282
+ };
50283
+
50284
+ var setSelectedLabelInfo = function setSelectedLabelInfo(targetAxis) {
50285
+ var itemHitInfo = _this.getItemByPosition(offset, false);
50286
+
50287
+ var _this$getLabelInfoByP = _this.getLabelInfoByPosition(offset, targetAxis),
50288
+ clickedLabelIndex = _this$getLabelInfoByP.labelIndex;
50289
+
50290
+ var _this$regulateSelecte = _this.regulateSelectedLabelInfo(clickedLabelIndex, targetAxis),
50291
+ dataIndexList = _this$regulateSelecte.dataIndex;
50292
+
50293
+ _this.defaultSelectInfo = _this.getSelectedLabelInfoWithLabelData(dataIndexList, targetAxis);
50294
+ args.label = itemHitInfo.label;
50295
+ args.seriesId = itemHitInfo.sId;
50296
+ args.value = itemHitInfo.value;
50297
+ args.acc = itemHitInfo.acc;
50298
+ args.dataIndex = itemHitInfo.maxIndex;
50299
+ };
50300
+
50301
+ var setSelectedSeriesInfo = function setSelectedSeriesInfo() {
50302
+ var itemHitInfo = _this.getItemByPosition(offset, false);
50303
+
50304
+ var hitInfo = _this.getSeriesInfoByPosition(offset);
50305
+
50306
+ if (hitInfo.sId !== null) {
50307
+ var _allSelectedList$seri;
50308
+
50309
+ var allSelectedList = _this.updateSelectedSeriesInfo(hitInfo.sId, true);
50310
+
50311
+ args.label = itemHitInfo.label;
50312
+ args.value = itemHitInfo.value;
50313
+ args.seriesId = (_allSelectedList$seri = allSelectedList.seriesId) === null || _allSelectedList$seri === void 0 ? void 0 : _allSelectedList$seri.at(0);
50314
+ args.acc = itemHitInfo.acc;
50315
+ args.dataIndex = itemHitInfo.maxIndex;
50316
+ }
50317
+ };
50318
+
50319
+ switch (chartType) {
50320
+ case 'bar':
50321
+ {
50322
+ if (useSelectLabel) {
50323
+ setSelectedLabelInfo(_this.options.horizontal ? 'yAxis' : 'xAxis');
50324
+ } else {
50325
+ setSelectedItemInfo();
50326
+ }
50327
+
50328
+ break;
50329
+ }
50330
+
50331
+ case 'line':
50332
+ {
50333
+ if (useSelectItem) {
50334
+ setSelectedItemInfo();
50335
+ } else if (useSelectLabel) {
50336
+ setSelectedLabelInfo();
50337
+ } else if (useSelectSeries) {
50338
+ setSelectedSeriesInfo();
50339
+ }
50340
+
50341
+ break;
50342
+ }
50343
+
50344
+ default:
50345
+ {
50346
+ setSelectedItemInfo();
50347
+ break;
50348
+ }
50349
+ }
50268
50350
 
50269
50351
  if (typeof _this.listeners['dbl-click'] === 'function') {
50270
50352
  _this.listeners['dbl-click'](args);
@@ -50289,11 +50371,11 @@ var plugins_interaction_modules = {
50289
50371
 
50290
50372
  var offset = _this.getMousePosition(e);
50291
50373
 
50292
- var _this$options3 = _this.options,
50293
- chartType = _this$options3.type,
50294
- selectItemOpt = _this$options3.selectItem,
50295
- selectLabelOpt = _this$options3.selectLabel,
50296
- selectSeriesOpt = _this$options3.selectSeries;
50374
+ var _this$options4 = _this.options,
50375
+ chartType = _this$options4.type,
50376
+ selectItemOpt = _this$options4.selectItem,
50377
+ selectLabelOpt = _this$options4.selectLabel,
50378
+ selectSeriesOpt = _this$options4.selectSeries;
50297
50379
  var useSelectItem = (selectItemOpt === null || selectItemOpt === void 0 ? void 0 : selectItemOpt.use) && (selectItemOpt === null || selectItemOpt === void 0 ? void 0 : selectItemOpt.useClick);
50298
50380
  var useSelectLabel = (selectLabelOpt === null || selectLabelOpt === void 0 ? void 0 : selectLabelOpt.use) && (selectLabelOpt === null || selectLabelOpt === void 0 ? void 0 : selectLabelOpt.useClick);
50299
50381
  var useSelectSeries = (selectSeriesOpt === null || selectSeriesOpt === void 0 ? void 0 : selectSeriesOpt.use) && (selectSeriesOpt === null || selectSeriesOpt === void 0 ? void 0 : selectSeriesOpt.useClick);
@@ -50319,11 +50401,11 @@ var plugins_interaction_modules = {
50319
50401
  var setSelectedLabelInfo = function setSelectedLabelInfo(targetAxis) {
50320
50402
  var itemHitInfo = _this.getItemByPosition(offset, false);
50321
50403
 
50322
- var _this$getLabelInfoByP = _this.getLabelInfoByPosition(offset, targetAxis),
50323
- clickedLabelIndex = _this$getLabelInfoByP.labelIndex;
50404
+ var _this$getLabelInfoByP2 = _this.getLabelInfoByPosition(offset, targetAxis),
50405
+ clickedLabelIndex = _this$getLabelInfoByP2.labelIndex;
50324
50406
 
50325
- var _this$regulateSelecte = _this.regulateSelectedLabelInfo(clickedLabelIndex, targetAxis),
50326
- dataIndexList = _this$regulateSelecte.dataIndex;
50407
+ var _this$regulateSelecte2 = _this.regulateSelectedLabelInfo(clickedLabelIndex, targetAxis),
50408
+ dataIndexList = _this$regulateSelecte2.dataIndex;
50327
50409
 
50328
50410
  _this.defaultSelectInfo = _this.getSelectedLabelInfoWithLabelData(dataIndexList, targetAxis);
50329
50411
 
@@ -50344,7 +50426,7 @@ var plugins_interaction_modules = {
50344
50426
  var hitInfo = _this.getSeriesInfoByPosition(offset);
50345
50427
 
50346
50428
  if (hitInfo.sId !== null) {
50347
- var allSelectedList = _this.updateSelectedSeriesInfo(hitInfo.sId);
50429
+ var allSelectedList = _this.updateSelectedSeriesInfo(hitInfo.sId, false);
50348
50430
 
50349
50431
  _this.defaultSelectInfo.seriesId = allSelectedList.seriesId;
50350
50432
  args.selected = _objectSpread2({
@@ -50505,9 +50587,9 @@ var plugins_interaction_modules = {
50505
50587
 
50506
50588
 
50507
50589
  this.onMouseDown = function (e) {
50508
- var _this$options4 = _this.options,
50509
- dragSelection = _this$options4.dragSelection,
50510
- type = _this$options4.type;
50590
+ var _this$options5 = _this.options,
50591
+ dragSelection = _this$options5.dragSelection,
50592
+ type = _this$options5.type;
50511
50593
 
50512
50594
  if (dragSelection.use && (type === 'scatter' || type === 'line' || type === 'heatMap')) {
50513
50595
  _this.removeSelectionArea();
@@ -50535,13 +50617,13 @@ var plugins_interaction_modules = {
50535
50617
  }
50536
50618
  };
50537
50619
 
50538
- if ((_this$options5 = this.options) !== null && _this$options5 !== void 0 && (_this$options5$toolti = _this$options5.tooltip) !== null && _this$options5$toolti !== void 0 && _this$options5$toolti.useScrollbar) {
50620
+ if ((_this$options6 = this.options) !== null && _this$options6 !== void 0 && (_this$options6$toolti = _this$options6.tooltip) !== null && _this$options6$toolti !== void 0 && _this$options6$toolti.useScrollbar) {
50539
50621
  this.overlayCanvas.addEventListener('wheel', this.onWheel, {
50540
50622
  passive: false
50541
50623
  });
50542
50624
  }
50543
50625
 
50544
- if ((_this$options6 = this.options) !== null && _this$options6 !== void 0 && (_this$options6$toolti = _this$options6.tooltip) !== null && _this$options6$toolti !== void 0 && _this$options6$toolti.throttledMove) {
50626
+ if ((_this$options7 = this.options) !== null && _this$options7 !== void 0 && (_this$options7$toolti = _this$options7.tooltip) !== null && _this$options7$toolti !== void 0 && _this$options7$toolti.throttledMove) {
50545
50627
  this.onMouseMove = utils_throttle(this.onMouseMove, 30);
50546
50628
  }
50547
50629
 
@@ -50825,9 +50907,9 @@ var plugins_interaction_modules = {
50825
50907
  }
50826
50908
  }
50827
50909
  } else if (location === 'xAxis' || location === 'yAxis') {
50828
- var _this$options7 = this.options,
50829
- axesX = _this$options7.axesX,
50830
- axesY = _this$options7.axesY;
50910
+ var _this$options8 = this.options,
50911
+ axesX = _this$options8.axesX,
50912
+ axesY = _this$options8.axesY;
50831
50913
 
50832
50914
  var setCurMouseLabelVal = function setCurMouseLabelVal(axes, labelIdx, labelVal) {
50833
50915
  curMouseTargetVal.labelIdx = labelIdx;
@@ -51266,10 +51348,10 @@ var plugins_interaction_modules = {
51266
51348
  getSelectedLabelInfoWithLabelData: function getSelectedLabelInfoWithLabelData(labelIndexList, targetAxis) {
51267
51349
  var _this4 = this;
51268
51350
 
51269
- var _this$options8 = this.options,
51270
- selectLabelOpt = _this$options8.selectLabel,
51271
- chartType = _this$options8.type,
51272
- horizontal = _this$options8.horizontal;
51351
+ var _this$options9 = this.options,
51352
+ selectLabelOpt = _this$options9.selectLabel,
51353
+ chartType = _this$options9.type,
51354
+ horizontal = _this$options9.horizontal;
51273
51355
  var result = lodash_es_cloneDeep(this.defaultSelectInfo);
51274
51356
  result.dataIndex = labelIndexList;
51275
51357
 
@@ -51332,9 +51414,9 @@ var plugins_interaction_modules = {
51332
51414
  * @returns after {number[]} '[0, 1 ...]' result Label index List
51333
51415
  */
51334
51416
  regulateSelectedLabelInfo: function regulateSelectedLabelInfo(labelIndex, targetAxis) {
51335
- var _this$options$selectL2, _this$options9, _this$defaultSelectIn;
51417
+ var _this$options$selectL2, _this$options10, _this$defaultSelectIn;
51336
51418
 
51337
- var option = (_this$options$selectL2 = (_this$options9 = this.options) === null || _this$options9 === void 0 ? void 0 : _this$options9.selectLabel) !== null && _this$options$selectL2 !== void 0 ? _this$options$selectL2 : {};
51419
+ var option = (_this$options$selectL2 = (_this$options10 = this.options) === null || _this$options10 === void 0 ? void 0 : _this$options10.selectLabel) !== null && _this$options$selectL2 !== void 0 ? _this$options$selectL2 : {};
51338
51420
  var before = targetAxis === null || ((_this$defaultSelectIn = this.defaultSelectInfo) === null || _this$defaultSelectIn === void 0 ? void 0 : _this$defaultSelectIn.targetAxis) === targetAxis ? _objectSpread2(_objectSpread2({}, this.defaultSelectInfo), {}, {
51339
51421
  targetAxis: targetAxis
51340
51422
  }) : {
@@ -51364,20 +51446,28 @@ var plugins_interaction_modules = {
51364
51446
  /**
51365
51447
  * Add or delete selected series Index,according to policy and option
51366
51448
  * @param seriesId {number}
51449
+ * @param keepSelection {boolean}
51367
51450
  * @returns after {number[]} '[0, 1 ...]' result series Id List
51368
51451
  */
51369
- updateSelectedSeriesInfo: function updateSelectedSeriesInfo(seriesId) {
51370
- var _this$options$selectS, _this$options10, _this$defaultSelectIn2;
51452
+ updateSelectedSeriesInfo: function updateSelectedSeriesInfo(seriesId, keepSelection) {
51453
+ var _this$options$selectS, _this$options11, _this$defaultSelectIn2;
51371
51454
 
51372
- var option = (_this$options$selectS = (_this$options10 = this.options) === null || _this$options10 === void 0 ? void 0 : _this$options10.selectSeries) !== null && _this$options$selectS !== void 0 ? _this$options$selectS : {};
51455
+ var option = (_this$options$selectS = (_this$options11 = this.options) === null || _this$options11 === void 0 ? void 0 : _this$options11.selectSeries) !== null && _this$options$selectS !== void 0 ? _this$options$selectS : {};
51373
51456
  var before = (_this$defaultSelectIn2 = this.defaultSelectInfo) !== null && _this$defaultSelectIn2 !== void 0 ? _this$defaultSelectIn2 : {
51374
51457
  seriesId: []
51375
51458
  };
51459
+
51460
+ if (typeof before.seriesId === 'string') {
51461
+ before.seriesId = [before.seriesId];
51462
+ }
51463
+
51376
51464
  var after = lodash_es_cloneDeep(before);
51377
51465
 
51378
51466
  if (before.seriesId.includes(seriesId)) {
51379
- var idx = before.seriesId.indexOf(seriesId);
51380
- after.seriesId.splice(idx, 1);
51467
+ if (!keepSelection) {
51468
+ var idx = before.seriesId.indexOf(seriesId);
51469
+ after.seriesId.splice(idx, 1);
51470
+ }
51381
51471
  } else if (seriesId) {
51382
51472
  after.seriesId.push(seriesId);
51383
51473
 
@@ -55702,6 +55792,42 @@ var DEFAULT_DATA = {
55702
55792
  labels: [],
55703
55793
  data: {}
55704
55794
  };
55795
+
55796
+ var useWidgetClickEvent = function useWidgetClickEvent() {
55797
+ var timer = null;
55798
+ var clickCount = 0;
55799
+ var Delay = 200;
55800
+
55801
+ var clickEventCallback = function clickEventCallback(callback) {
55802
+ clickCount++;
55803
+
55804
+ if (clickCount === 1) {
55805
+ timer = setTimeout(function () {
55806
+ if (clickCount === 1) {
55807
+ callback();
55808
+ }
55809
+
55810
+ clickCount = 0;
55811
+ }, Delay);
55812
+ }
55813
+ };
55814
+
55815
+ var dblClickEventCallback = function dblClickEventCallback(callback) {
55816
+ if (timer) {
55817
+ clearTimeout(timer);
55818
+ timer = null;
55819
+ }
55820
+
55821
+ callback();
55822
+ clickCount = 0;
55823
+ };
55824
+
55825
+ return {
55826
+ clickEventCallback: clickEventCallback,
55827
+ dblClickEventCallback: dblClickEventCallback
55828
+ };
55829
+ };
55830
+
55705
55831
  var chart_uses_useModel = function useModel(injectGroupSelectedLabel, injectGroupHoveredLabel) {
55706
55832
  var _props$selectedLabel;
55707
55833
 
@@ -55735,13 +55861,14 @@ var chart_uses_useModel = function useModel(injectGroupSelectedLabel, injectGrou
55735
55861
  var selectItemInfo = lodash_es_cloneDeep(props.selectedItem);
55736
55862
  var selectLabelInfo = lodash_es_cloneDeep((_props$selectedLabel = props.selectedLabel) !== null && _props$selectedLabel !== void 0 ? _props$selectedLabel : injectGroupSelectedLabel === null || injectGroupSelectedLabel === void 0 ? void 0 : injectGroupSelectedLabel.value);
55737
55863
  var selectSeriesInfo = lodash_es_cloneDeep(props.selectedSeries);
55864
+
55865
+ var _useWidgetClickEvent = useWidgetClickEvent(),
55866
+ clickEventCallback = _useWidgetClickEvent.clickEventCallback,
55867
+ dblClickEventCallback = _useWidgetClickEvent.dblClickEventCallback;
55868
+
55738
55869
  var eventListeners = {
55739
55870
  click: function () {
55740
55871
  var _click = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(e) {
55741
- var _e$selected, _e$deselected;
55742
-
55743
- var _ref, seriesId, dataIndex, eventTarget, targetAxis, _ref2, deselectedEventTarget;
55744
-
55745
55872
  return regeneratorRuntime.wrap(function _callee$(_context) {
55746
55873
  while (1) {
55747
55874
  switch (_context.prev = _context.next) {
@@ -55750,59 +55877,73 @@ var chart_uses_useModel = function useModel(injectGroupSelectedLabel, injectGrou
55750
55877
  return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["nextTick"])();
55751
55878
 
55752
55879
  case 2:
55753
- _ref = (_e$selected = e === null || e === void 0 ? void 0 : e.selected) !== null && _e$selected !== void 0 ? _e$selected : {}, seriesId = _ref.seriesId, dataIndex = _ref.dataIndex, eventTarget = _ref.eventTarget, targetAxis = _ref.targetAxis;
55754
- _ref2 = (_e$deselected = e === null || e === void 0 ? void 0 : e.deselected) !== null && _e$deselected !== void 0 ? _e$deselected : {}, deselectedEventTarget = _ref2.eventTarget;
55755
- _context.t0 = eventTarget;
55756
- _context.next = _context.t0 === 'item' ? 7 : _context.t0 === 'label' ? 9 : _context.t0 === 'series' ? 11 : 13;
55757
- break;
55758
-
55759
- case 7:
55760
- if (seriesId !== null) {
55761
- emit('update:selectedItem', {
55762
- seriesID: seriesId,
55763
- dataIndex: dataIndex
55764
- });
55765
-
55766
- if (deselectedEventTarget === 'label') {
55767
- emit('update:selectedLabel', {
55768
- dataIndex: []
55769
- });
55880
+ clickEventCallback(function () {
55881
+ var _e$selected, _e$deselected;
55882
+
55883
+ var _ref = (_e$selected = e === null || e === void 0 ? void 0 : e.selected) !== null && _e$selected !== void 0 ? _e$selected : {},
55884
+ seriesId = _ref.seriesId,
55885
+ dataIndex = _ref.dataIndex,
55886
+ eventTarget = _ref.eventTarget,
55887
+ targetAxis = _ref.targetAxis;
55888
+
55889
+ var _ref2 = (_e$deselected = e === null || e === void 0 ? void 0 : e.deselected) !== null && _e$deselected !== void 0 ? _e$deselected : {},
55890
+ deselectedEventTarget = _ref2.eventTarget;
55891
+
55892
+ switch (eventTarget) {
55893
+ case 'item':
55894
+ {
55895
+ if (seriesId !== null) {
55896
+ emit('update:selectedItem', {
55897
+ seriesID: seriesId,
55898
+ dataIndex: dataIndex
55899
+ });
55900
+
55901
+ if (deselectedEventTarget === 'label') {
55902
+ emit('update:selectedLabel', {
55903
+ dataIndex: []
55904
+ });
55905
+ }
55906
+ } else {
55907
+ emit('update:selectedItem', null);
55908
+ }
55909
+
55910
+ break;
55911
+ }
55912
+
55913
+ case 'label':
55914
+ {
55915
+ if (injectGroupSelectedLabel !== null && injectGroupSelectedLabel !== void 0 && injectGroupSelectedLabel.value) {
55916
+ injectGroupSelectedLabel.value.dataIndex = dataIndex;
55917
+ } else {
55918
+ emit('update:selectedLabel', {
55919
+ dataIndex: dataIndex,
55920
+ targetAxis: targetAxis
55921
+ });
55922
+
55923
+ if (deselectedEventTarget === 'item') {
55924
+ emit('update:selectedItem', null);
55925
+ }
55926
+ }
55927
+
55928
+ break;
55929
+ }
55930
+
55931
+ case 'series':
55932
+ {
55933
+ emit('update:selectedSeries', {
55934
+ seriesId: seriesId
55935
+ });
55936
+ break;
55937
+ }
55938
+
55939
+ default:
55940
+ break;
55770
55941
  }
55771
- } else {
55772
- emit('update:selectedItem', null);
55773
- }
55774
-
55775
- return _context.abrupt("break", 14);
55776
-
55777
- case 9:
55778
- if (injectGroupSelectedLabel !== null && injectGroupSelectedLabel !== void 0 && injectGroupSelectedLabel.value) {
55779
- injectGroupSelectedLabel.value.dataIndex = dataIndex;
55780
- } else {
55781
- emit('update:selectedLabel', {
55782
- dataIndex: dataIndex,
55783
- targetAxis: targetAxis
55784
- });
55785
-
55786
- if (deselectedEventTarget === 'item') {
55787
- emit('update:selectedItem', null);
55788
- }
55789
- }
55790
-
55791
- return _context.abrupt("break", 14);
55792
55942
 
55793
- case 11:
55794
- emit('update:selectedSeries', {
55795
- seriesId: seriesId
55943
+ emit('click', e);
55796
55944
  });
55797
- return _context.abrupt("break", 14);
55798
-
55799
- case 13:
55800
- return _context.abrupt("break", 14);
55801
-
55802
- case 14:
55803
- emit('click', e);
55804
55945
 
55805
- case 15:
55946
+ case 3:
55806
55947
  case "end":
55807
55948
  return _context.stop();
55808
55949
  }
@@ -55826,7 +55967,24 @@ var chart_uses_useModel = function useModel(injectGroupSelectedLabel, injectGrou
55826
55967
  return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["nextTick"])();
55827
55968
 
55828
55969
  case 2:
55829
- emit('dbl-click', e);
55970
+ dblClickEventCallback(function () {
55971
+ var eventTarget = e.eventTarget;
55972
+
55973
+ switch (eventTarget) {
55974
+ case 'series':
55975
+ {
55976
+ emit('update:selectedSeries', {
55977
+ seriesId: e.seriesId ? [e.seriesId] : []
55978
+ });
55979
+ break;
55980
+ }
55981
+
55982
+ default:
55983
+ break;
55984
+ }
55985
+
55986
+ emit('dbl-click', e);
55987
+ });
55830
55988
 
55831
55989
  case 3:
55832
55990
  case "end":