evui 3.4.104 → 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.104\"}");
11167
+ module.exports = JSON.parse("{\"a\":\"3.4.106\"}");
11168
11168
 
11169
11169
  /***/ }),
11170
11170
 
@@ -35420,17 +35420,19 @@ var uses_resizeEvent = function resizeEvent(params) {
35420
35420
  }
35421
35421
  });
35422
35422
 
35423
- if (remainWidth) {
35423
+ if (remainWidth && stores.orderedColumns.length) {
35424
35424
  var index = stores.orderedColumns.length - 1;
35425
35425
  var lastColumn = stores.orderedColumns[index]; // orderedColumns에 hiddenDisplay === true 컬럼은 포함되어 있지 않다.
35426
35426
  // 하지만 hide === true 컬럼은 포함되어 있다. 그래서 hiddenDisplay 조건은 필요없지만 조건을 추가해서 코드 가독성과 안정성을 높였다.
35427
35427
 
35428
- while (lastColumn.hide || lastColumn.hiddenDisplay) {
35428
+ while (index > 0 && lastColumn && (lastColumn.hide || lastColumn.hiddenDisplay)) {
35429
35429
  index -= 1;
35430
35430
  lastColumn = stores.orderedColumns[index];
35431
35431
  }
35432
35432
 
35433
- lastColumn.width += remainWidth;
35433
+ if (lastColumn) {
35434
+ lastColumn.width += remainWidth;
35435
+ }
35434
35436
  }
35435
35437
  };
35436
35438
  /**
@@ -50121,10 +50123,10 @@ var plugins_interaction_modules = {
50121
50123
  */
50122
50124
  createEventFunctions: function createEventFunctions() {
50123
50125
  var _this = this,
50124
- _this$options5,
50125
- _this$options5$toolti,
50126
50126
  _this$options6,
50127
- _this$options6$toolti;
50127
+ _this$options6$toolti,
50128
+ _this$options7,
50129
+ _this$options7$toolti;
50128
50130
 
50129
50131
  /**
50130
50132
  * To show tooltip and item highlighting, add event listener on mousemove
@@ -50246,23 +50248,105 @@ var plugins_interaction_modules = {
50246
50248
 
50247
50249
 
50248
50250
  this.onDblClick = function (e) {
50249
- var selectItem = _this.options.selectItem;
50250
50251
  var args = {
50251
50252
  e: e
50252
50253
  };
50253
50254
 
50254
50255
  var offset = _this.getMousePosition(e);
50255
50256
 
50256
- 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);
50257
50265
 
50258
- if (hitInfo.label !== null) {
50259
- _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';
50260
50272
  }
50261
50273
 
50262
- args.label = hitInfo.label;
50263
- args.value = hitInfo.value;
50264
- args.seriesId = hitInfo.sId;
50265
- 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
+ }
50266
50350
 
50267
50351
  if (typeof _this.listeners['dbl-click'] === 'function') {
50268
50352
  _this.listeners['dbl-click'](args);
@@ -50287,11 +50371,11 @@ var plugins_interaction_modules = {
50287
50371
 
50288
50372
  var offset = _this.getMousePosition(e);
50289
50373
 
50290
- var _this$options3 = _this.options,
50291
- chartType = _this$options3.type,
50292
- selectItemOpt = _this$options3.selectItem,
50293
- selectLabelOpt = _this$options3.selectLabel,
50294
- 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;
50295
50379
  var useSelectItem = (selectItemOpt === null || selectItemOpt === void 0 ? void 0 : selectItemOpt.use) && (selectItemOpt === null || selectItemOpt === void 0 ? void 0 : selectItemOpt.useClick);
50296
50380
  var useSelectLabel = (selectLabelOpt === null || selectLabelOpt === void 0 ? void 0 : selectLabelOpt.use) && (selectLabelOpt === null || selectLabelOpt === void 0 ? void 0 : selectLabelOpt.useClick);
50297
50381
  var useSelectSeries = (selectSeriesOpt === null || selectSeriesOpt === void 0 ? void 0 : selectSeriesOpt.use) && (selectSeriesOpt === null || selectSeriesOpt === void 0 ? void 0 : selectSeriesOpt.useClick);
@@ -50317,11 +50401,11 @@ var plugins_interaction_modules = {
50317
50401
  var setSelectedLabelInfo = function setSelectedLabelInfo(targetAxis) {
50318
50402
  var itemHitInfo = _this.getItemByPosition(offset, false);
50319
50403
 
50320
- var _this$getLabelInfoByP = _this.getLabelInfoByPosition(offset, targetAxis),
50321
- clickedLabelIndex = _this$getLabelInfoByP.labelIndex;
50404
+ var _this$getLabelInfoByP2 = _this.getLabelInfoByPosition(offset, targetAxis),
50405
+ clickedLabelIndex = _this$getLabelInfoByP2.labelIndex;
50322
50406
 
50323
- var _this$regulateSelecte = _this.regulateSelectedLabelInfo(clickedLabelIndex, targetAxis),
50324
- dataIndexList = _this$regulateSelecte.dataIndex;
50407
+ var _this$regulateSelecte2 = _this.regulateSelectedLabelInfo(clickedLabelIndex, targetAxis),
50408
+ dataIndexList = _this$regulateSelecte2.dataIndex;
50325
50409
 
50326
50410
  _this.defaultSelectInfo = _this.getSelectedLabelInfoWithLabelData(dataIndexList, targetAxis);
50327
50411
 
@@ -50342,7 +50426,7 @@ var plugins_interaction_modules = {
50342
50426
  var hitInfo = _this.getSeriesInfoByPosition(offset);
50343
50427
 
50344
50428
  if (hitInfo.sId !== null) {
50345
- var allSelectedList = _this.updateSelectedSeriesInfo(hitInfo.sId);
50429
+ var allSelectedList = _this.updateSelectedSeriesInfo(hitInfo.sId, false);
50346
50430
 
50347
50431
  _this.defaultSelectInfo.seriesId = allSelectedList.seriesId;
50348
50432
  args.selected = _objectSpread2({
@@ -50503,9 +50587,9 @@ var plugins_interaction_modules = {
50503
50587
 
50504
50588
 
50505
50589
  this.onMouseDown = function (e) {
50506
- var _this$options4 = _this.options,
50507
- dragSelection = _this$options4.dragSelection,
50508
- type = _this$options4.type;
50590
+ var _this$options5 = _this.options,
50591
+ dragSelection = _this$options5.dragSelection,
50592
+ type = _this$options5.type;
50509
50593
 
50510
50594
  if (dragSelection.use && (type === 'scatter' || type === 'line' || type === 'heatMap')) {
50511
50595
  _this.removeSelectionArea();
@@ -50533,13 +50617,13 @@ var plugins_interaction_modules = {
50533
50617
  }
50534
50618
  };
50535
50619
 
50536
- 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) {
50537
50621
  this.overlayCanvas.addEventListener('wheel', this.onWheel, {
50538
50622
  passive: false
50539
50623
  });
50540
50624
  }
50541
50625
 
50542
- 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) {
50543
50627
  this.onMouseMove = utils_throttle(this.onMouseMove, 30);
50544
50628
  }
50545
50629
 
@@ -50823,9 +50907,9 @@ var plugins_interaction_modules = {
50823
50907
  }
50824
50908
  }
50825
50909
  } else if (location === 'xAxis' || location === 'yAxis') {
50826
- var _this$options7 = this.options,
50827
- axesX = _this$options7.axesX,
50828
- axesY = _this$options7.axesY;
50910
+ var _this$options8 = this.options,
50911
+ axesX = _this$options8.axesX,
50912
+ axesY = _this$options8.axesY;
50829
50913
 
50830
50914
  var setCurMouseLabelVal = function setCurMouseLabelVal(axes, labelIdx, labelVal) {
50831
50915
  curMouseTargetVal.labelIdx = labelIdx;
@@ -51264,10 +51348,10 @@ var plugins_interaction_modules = {
51264
51348
  getSelectedLabelInfoWithLabelData: function getSelectedLabelInfoWithLabelData(labelIndexList, targetAxis) {
51265
51349
  var _this4 = this;
51266
51350
 
51267
- var _this$options8 = this.options,
51268
- selectLabelOpt = _this$options8.selectLabel,
51269
- chartType = _this$options8.type,
51270
- 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;
51271
51355
  var result = lodash_es_cloneDeep(this.defaultSelectInfo);
51272
51356
  result.dataIndex = labelIndexList;
51273
51357
 
@@ -51330,9 +51414,9 @@ var plugins_interaction_modules = {
51330
51414
  * @returns after {number[]} '[0, 1 ...]' result Label index List
51331
51415
  */
51332
51416
  regulateSelectedLabelInfo: function regulateSelectedLabelInfo(labelIndex, targetAxis) {
51333
- var _this$options$selectL2, _this$options9, _this$defaultSelectIn;
51417
+ var _this$options$selectL2, _this$options10, _this$defaultSelectIn;
51334
51418
 
51335
- 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 : {};
51336
51420
  var before = targetAxis === null || ((_this$defaultSelectIn = this.defaultSelectInfo) === null || _this$defaultSelectIn === void 0 ? void 0 : _this$defaultSelectIn.targetAxis) === targetAxis ? _objectSpread2(_objectSpread2({}, this.defaultSelectInfo), {}, {
51337
51421
  targetAxis: targetAxis
51338
51422
  }) : {
@@ -51362,20 +51446,28 @@ var plugins_interaction_modules = {
51362
51446
  /**
51363
51447
  * Add or delete selected series Index,according to policy and option
51364
51448
  * @param seriesId {number}
51449
+ * @param keepSelection {boolean}
51365
51450
  * @returns after {number[]} '[0, 1 ...]' result series Id List
51366
51451
  */
51367
- updateSelectedSeriesInfo: function updateSelectedSeriesInfo(seriesId) {
51368
- var _this$options$selectS, _this$options10, _this$defaultSelectIn2;
51452
+ updateSelectedSeriesInfo: function updateSelectedSeriesInfo(seriesId, keepSelection) {
51453
+ var _this$options$selectS, _this$options11, _this$defaultSelectIn2;
51369
51454
 
51370
- 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 : {};
51371
51456
  var before = (_this$defaultSelectIn2 = this.defaultSelectInfo) !== null && _this$defaultSelectIn2 !== void 0 ? _this$defaultSelectIn2 : {
51372
51457
  seriesId: []
51373
51458
  };
51459
+
51460
+ if (typeof before.seriesId === 'string') {
51461
+ before.seriesId = [before.seriesId];
51462
+ }
51463
+
51374
51464
  var after = lodash_es_cloneDeep(before);
51375
51465
 
51376
51466
  if (before.seriesId.includes(seriesId)) {
51377
- var idx = before.seriesId.indexOf(seriesId);
51378
- after.seriesId.splice(idx, 1);
51467
+ if (!keepSelection) {
51468
+ var idx = before.seriesId.indexOf(seriesId);
51469
+ after.seriesId.splice(idx, 1);
51470
+ }
51379
51471
  } else if (seriesId) {
51380
51472
  after.seriesId.push(seriesId);
51381
51473
 
@@ -55700,6 +55792,42 @@ var DEFAULT_DATA = {
55700
55792
  labels: [],
55701
55793
  data: {}
55702
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
+
55703
55831
  var chart_uses_useModel = function useModel(injectGroupSelectedLabel, injectGroupHoveredLabel) {
55704
55832
  var _props$selectedLabel;
55705
55833
 
@@ -55733,13 +55861,14 @@ var chart_uses_useModel = function useModel(injectGroupSelectedLabel, injectGrou
55733
55861
  var selectItemInfo = lodash_es_cloneDeep(props.selectedItem);
55734
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);
55735
55863
  var selectSeriesInfo = lodash_es_cloneDeep(props.selectedSeries);
55864
+
55865
+ var _useWidgetClickEvent = useWidgetClickEvent(),
55866
+ clickEventCallback = _useWidgetClickEvent.clickEventCallback,
55867
+ dblClickEventCallback = _useWidgetClickEvent.dblClickEventCallback;
55868
+
55736
55869
  var eventListeners = {
55737
55870
  click: function () {
55738
55871
  var _click = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(e) {
55739
- var _e$selected, _e$deselected;
55740
-
55741
- var _ref, seriesId, dataIndex, eventTarget, targetAxis, _ref2, deselectedEventTarget;
55742
-
55743
55872
  return regeneratorRuntime.wrap(function _callee$(_context) {
55744
55873
  while (1) {
55745
55874
  switch (_context.prev = _context.next) {
@@ -55748,59 +55877,73 @@ var chart_uses_useModel = function useModel(injectGroupSelectedLabel, injectGrou
55748
55877
  return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["nextTick"])();
55749
55878
 
55750
55879
  case 2:
55751
- _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;
55752
- _ref2 = (_e$deselected = e === null || e === void 0 ? void 0 : e.deselected) !== null && _e$deselected !== void 0 ? _e$deselected : {}, deselectedEventTarget = _ref2.eventTarget;
55753
- _context.t0 = eventTarget;
55754
- _context.next = _context.t0 === 'item' ? 7 : _context.t0 === 'label' ? 9 : _context.t0 === 'series' ? 11 : 13;
55755
- break;
55756
-
55757
- case 7:
55758
- if (seriesId !== null) {
55759
- emit('update:selectedItem', {
55760
- seriesID: seriesId,
55761
- dataIndex: dataIndex
55762
- });
55763
-
55764
- if (deselectedEventTarget === 'label') {
55765
- emit('update:selectedLabel', {
55766
- dataIndex: []
55767
- });
55768
- }
55769
- } else {
55770
- emit('update:selectedItem', null);
55771
- }
55772
-
55773
- return _context.abrupt("break", 14);
55774
-
55775
- case 9:
55776
- if (injectGroupSelectedLabel !== null && injectGroupSelectedLabel !== void 0 && injectGroupSelectedLabel.value) {
55777
- injectGroupSelectedLabel.value.dataIndex = dataIndex;
55778
- } else {
55779
- emit('update:selectedLabel', {
55780
- dataIndex: dataIndex,
55781
- targetAxis: targetAxis
55782
- });
55783
-
55784
- if (deselectedEventTarget === 'item') {
55785
- emit('update:selectedItem', null);
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;
55786
55941
  }
55787
- }
55788
55942
 
55789
- return _context.abrupt("break", 14);
55790
-
55791
- case 11:
55792
- emit('update:selectedSeries', {
55793
- seriesId: seriesId
55943
+ emit('click', e);
55794
55944
  });
55795
- return _context.abrupt("break", 14);
55796
-
55797
- case 13:
55798
- return _context.abrupt("break", 14);
55799
55945
 
55800
- case 14:
55801
- emit('click', e);
55802
-
55803
- case 15:
55946
+ case 3:
55804
55947
  case "end":
55805
55948
  return _context.stop();
55806
55949
  }
@@ -55824,7 +55967,24 @@ var chart_uses_useModel = function useModel(injectGroupSelectedLabel, injectGrou
55824
55967
  return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["nextTick"])();
55825
55968
 
55826
55969
  case 2:
55827
- 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
+ });
55828
55988
 
55829
55989
  case 3:
55830
55990
  case "end":
@@ -59020,17 +59180,19 @@ var treeGrid_uses_resizeEvent = function resizeEvent(params) {
59020
59180
  }
59021
59181
  });
59022
59182
 
59023
- if (remainWidth) {
59183
+ if (remainWidth && stores.orderedColumns.length) {
59024
59184
  var index = stores.orderedColumns.length - 1;
59025
59185
  var lastColumn = stores.orderedColumns[index]; // orderedColumns에 hiddenDisplay === true 컬럼은 포함되어 있지 않다.
59026
59186
  // 하지만 hide === true 컬럼은 포함되어 있다. 그래서 hiddenDisplay 조건은 필요없지만 조건을 추가해서 코드 가독성과 안정성을 높였다.
59027
59187
 
59028
- while (lastColumn.hide || lastColumn.hiddenDisplay) {
59188
+ while (index > 0 && lastColumn && (lastColumn.hide || lastColumn.hiddenDisplay)) {
59029
59189
  index -= 1;
59030
59190
  lastColumn = stores.orderedColumns[index];
59031
59191
  }
59032
59192
 
59033
- lastColumn.width += remainWidth;
59193
+ if (lastColumn) {
59194
+ lastColumn.width += remainWidth;
59195
+ }
59034
59196
  }
59035
59197
 
59036
59198
  resizeInfo.isResize = !resizeInfo.isResize;