evui 3.1.55 → 3.1.56

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.
@@ -4875,21 +4875,6 @@ function stubFalse() {
4875
4875
  /* harmony default export */ __webpack_exports__["a"] = (stubFalse);
4876
4876
 
4877
4877
 
4878
- /***/ }),
4879
-
4880
- /***/ "32a3":
4881
- /***/ (function(module, exports, __webpack_require__) {
4882
-
4883
- // style-loader: Adds some css to the DOM by adding a <style> tag
4884
-
4885
- // load the styles
4886
- var content = __webpack_require__("b240");
4887
- if(typeof content === 'string') content = [[module.i, content, '']];
4888
- if(content.locals) module.exports = content.locals;
4889
- // add the styles to the DOM
4890
- var add = __webpack_require__("499e").default
4891
- var update = add("5e96c528", content, true, {"sourceMap":false,"shadowMode":false});
4892
-
4893
4878
  /***/ }),
4894
4879
 
4895
4880
  /***/ "3410":
@@ -5005,6 +4990,17 @@ if(content.locals) module.exports = content.locals;
5005
4990
  var add = __webpack_require__("499e").default
5006
4991
  var update = add("290f76c2", content, true, {"sourceMap":false,"shadowMode":false});
5007
4992
 
4993
+ /***/ }),
4994
+
4995
+ /***/ "3930":
4996
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
4997
+
4998
+ "use strict";
4999
+ /* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_Chart_vue_vue_type_style_index_0_id_75d19318_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("56b5");
5000
+ /* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_Chart_vue_vue_type_style_index_0_id_75d19318_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_Chart_vue_vue_type_style_index_0_id_75d19318_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
5001
+ /* unused harmony reexport * */
5002
+
5003
+
5008
5004
  /***/ }),
5009
5005
 
5010
5006
  /***/ "3bbe":
@@ -6061,6 +6057,20 @@ fixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, ma
6061
6057
  });
6062
6058
 
6063
6059
 
6060
+ /***/ }),
6061
+
6062
+ /***/ "54bf":
6063
+ /***/ (function(module, exports, __webpack_require__) {
6064
+
6065
+ // Imports
6066
+ var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
6067
+ exports = ___CSS_LOADER_API_IMPORT___(false);
6068
+ // Module
6069
+ exports.push([module.i, ".ev-chart-wrapper{display:block}.ev-chart-container,.ev-chart-wrapper{position:relative;width:100%;height:100%}.ev-chart-container{overflow:hidden}.ev-chart-title{top:0;left:0;width:100%;padding-left:10px;word-wrap:normal;white-space:nowrap;text-overflow:ellipsis;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ev-chart-legend,.ev-chart-title{position:absolute;overflow:hidden}.ev-chart-legend-box{overflow-x:hidden;overflow-y:auto}.ev-chart-legend-container{position:relative;overflow:hidden}.ev-chart-legend-color,.ev-chart-legend-color--point-line{position:absolute;top:50%;left:0;transform:translateY(-50%);width:18px;height:4px}.ev-chart-legend-color--point-line:after{display:inline-block;position:absolute;top:-2px;left:5px;width:8px;height:8px;content:\" \";border-radius:50%;background-color:inherit}.ev-chart-legend-name{position:absolute;top:50%;left:0;width:100%;text-align:left;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;font-size:12px;margin-left:24px;padding-right:16px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-weight:400;transform:translateY(-50%)}.ev-chart-legend-name:hover{font-weight:700}.ev-chart-legend-value{float:right;text-align:left;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ev-chart-resize-bar{position:absolute;background:transparent;opacity:.5;z-index:10}.ev-chart-resize-bar:hover,.ev-chart-resize-ghost{background-color:#e2e2e2}.ev-chart-resize-ghost{position:absolute;width:4px;height:100%;cursor:col-resize;opacity:.5}.ev-chart-resize-ghost.horizontal{width:100%;height:4px;cursor:row-resize}.ev-chart-tooltip{position:absolute;z-index:850;top:0;left:0;overflow-y:hidden;overflow-x:hidden;border-radius:8px}.ev-chart-tooltip .ev-chart-tooltip-header{padding:8px 16px 0 16px;font-family:Roboto,serif;overflow:hidden;font-size:16px}.ev-chart-tooltip .ev-chart-tooltip-header--wrap{word-wrap:break-word}.ev-chart-tooltip .ev-chart-tooltip-header--ellipsis{text-overflow:ellipsis;white-space:nowrap}.ev-chart-tooltip .ev-chart-tooltip-body{overflow-x:hidden;overflow-y:hidden}", ""]);
6070
+ // Exports
6071
+ module.exports = exports;
6072
+
6073
+
6064
6074
  /***/ }),
6065
6075
 
6066
6076
  /***/ "5692":
@@ -6078,6 +6088,21 @@ var store = __webpack_require__("c6cd");
6078
6088
  });
6079
6089
 
6080
6090
 
6091
+ /***/ }),
6092
+
6093
+ /***/ "56b5":
6094
+ /***/ (function(module, exports, __webpack_require__) {
6095
+
6096
+ // style-loader: Adds some css to the DOM by adding a <style> tag
6097
+
6098
+ // load the styles
6099
+ var content = __webpack_require__("54bf");
6100
+ if(typeof content === 'string') content = [[module.i, content, '']];
6101
+ if(content.locals) module.exports = content.locals;
6102
+ // add the styles to the DOM
6103
+ var add = __webpack_require__("499e").default
6104
+ var update = add("c4fac5fa", content, true, {"sourceMap":false,"shadowMode":false});
6105
+
6081
6106
  /***/ }),
6082
6107
 
6083
6108
  /***/ "56ef":
@@ -7834,7 +7859,7 @@ $({ target: 'Number', stat: true }, {
7834
7859
  /***/ "9224":
7835
7860
  /***/ (function(module) {
7836
7861
 
7837
- module.exports = JSON.parse("{\"a\":\"3.1.55\"}");
7862
+ module.exports = JSON.parse("{\"a\":\"3.1.56\"}");
7838
7863
 
7839
7864
  /***/ }),
7840
7865
 
@@ -8897,17 +8922,6 @@ exports.f = DESCRIPTORS ? nativeDefineProperty : function defineProperty(O, P, A
8897
8922
  };
8898
8923
 
8899
8924
 
8900
- /***/ }),
8901
-
8902
- /***/ "9c0c":
8903
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
8904
-
8905
- "use strict";
8906
- /* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_Chart_vue_vue_type_style_index_0_id_67f836e2_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("32a3");
8907
- /* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_Chart_vue_vue_type_style_index_0_id_67f836e2_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_Chart_vue_vue_type_style_index_0_id_67f836e2_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
8908
- /* unused harmony reexport * */
8909
-
8910
-
8911
8925
  /***/ }),
8912
8926
 
8913
8927
  /***/ "9dba":
@@ -9841,20 +9855,6 @@ if (DESCRIPTORS && !(NAME in FunctionPrototype)) {
9841
9855
  }
9842
9856
 
9843
9857
 
9844
- /***/ }),
9845
-
9846
- /***/ "b240":
9847
- /***/ (function(module, exports, __webpack_require__) {
9848
-
9849
- // Imports
9850
- var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
9851
- exports = ___CSS_LOADER_API_IMPORT___(false);
9852
- // Module
9853
- exports.push([module.i, ".ev-chart-wrapper{display:block}.ev-chart-container,.ev-chart-wrapper{position:relative;width:100%;height:100%}.ev-chart-container{overflow:hidden}.ev-chart-title{top:0;left:0;width:100%;padding-left:10px;word-wrap:normal;white-space:nowrap;text-overflow:ellipsis;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ev-chart-legend,.ev-chart-title{position:absolute;overflow:hidden}.ev-chart-legend-box{overflow-x:hidden;overflow-y:auto}.ev-chart-legend-container{position:relative;overflow:hidden}.ev-chart-legend-color,.ev-chart-legend-color--point-line{position:absolute;top:50%;left:0;transform:translateY(-50%);width:18px;height:4px}.ev-chart-legend-color--point-line:after{display:inline-block;position:absolute;top:-2px;left:5px;width:8px;height:8px;content:\" \";border-radius:50%;background-color:inherit}.ev-chart-legend-name{position:absolute;top:50%;left:0;width:100%;text-align:left;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;font-size:12px;margin-left:24px;padding-right:16px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-weight:400;transform:translateY(-50%)}.ev-chart-legend-name:hover{font-weight:700}.ev-chart-legend-value{float:right;text-align:left;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ev-chart-resize-bar{position:absolute;background:transparent;opacity:.5;z-index:10}.ev-chart-resize-bar:hover,.ev-chart-resize-ghost{background-color:#e2e2e2}.ev-chart-resize-ghost{position:absolute;width:4px;height:100%;cursor:col-resize;opacity:.5}.ev-chart-resize-ghost.horizontal{width:100%;height:4px;cursor:row-resize}.ev-chart-tooltip{position:absolute;z-index:850;top:0;left:0;overflow-y:hidden;overflow-x:hidden;border-radius:8px}.ev-chart-tooltip .ev-chart-tooltip-header{padding:8px 16px 0 16px;font-family:Roboto,serif;overflow:hidden;font-size:16px}.ev-chart-tooltip .ev-chart-tooltip-header--wrap{word-wrap:break-word}.ev-chart-tooltip .ev-chart-tooltip-header--ellipsis{text-overflow:ellipsis;white-space:nowrap}.ev-chart-tooltip .ev-chart-tooltip-body{overflow-x:hidden;overflow-y:hidden}", ""]);
9854
- // Exports
9855
- module.exports = exports;
9856
-
9857
-
9858
9858
  /***/ }),
9859
9859
 
9860
9860
  /***/ "b575":
@@ -24197,10 +24197,7 @@ var activeWindows = function () {
24197
24197
  return windows.length <= 0;
24198
24198
  },
24199
24199
  isFirstWindowOpen: function isFirstWindowOpen() {
24200
- return windows.length === 1;
24201
- },
24202
- isLastWindowClose: function isLastWindowClose() {
24203
- return windows.length === 0;
24200
+ return sequence === 1;
24204
24201
  }
24205
24202
  };
24206
24203
  }();
@@ -24220,6 +24217,7 @@ var uses_useEscKeydownEvent = function useEscKeydownEvent(_ref2) {
24220
24217
  props = _getCurrentInstance3.props;
24221
24218
 
24222
24219
  var sequence = null;
24220
+ var isActiveStatus = false;
24223
24221
 
24224
24222
  var addActiveWindow = function addActiveWindow() {
24225
24223
  sequence = activeWindows.add({
@@ -24237,13 +24235,13 @@ var uses_useEscKeydownEvent = function useEscKeydownEvent(_ref2) {
24237
24235
  var keydownEsc = function keydownEsc(event) {
24238
24236
  if (activeWindows.isEmpty()) return;
24239
24237
  var code = event.code;
24240
- if (code !== 'Escape') return; // zIndex 클수록, 최근에 열린 것일수록(sequence 클수록) 앞에 위치
24238
+ if (code !== 'Escape') return; // zIndex 클수록, 최근에 열린 것일수록(sequence 클수록) 뒤에 위치
24241
24239
 
24242
24240
  var compare = function compare(window1, window2) {
24243
- if (window1.zIndex > window2.zIndex) return -1;
24244
- if (window1.zIndex < window2.zIndex) return 1;
24245
- if (window1.sequence > window2.sequence) return -1;
24246
- return 1;
24241
+ if (window1.zIndex > window2.zIndex) return 1;
24242
+ if (window1.zIndex < window2.zIndex) return -1;
24243
+ if (window1.sequence > window2.sequence) return 1;
24244
+ return -1;
24247
24245
  };
24248
24246
 
24249
24247
  var activeWindowSorted = Array.prototype.map.call(activeWindows.windows, function (activeWindow) {
@@ -24251,46 +24249,60 @@ var uses_useEscKeydownEvent = function useEscKeydownEvent(_ref2) {
24251
24249
  zIndex: getZIndexFromElement(activeWindow.elem)
24252
24250
  });
24253
24251
  }).sort(compare);
24254
- var topActiveWindow = activeWindowSorted[0]; // 예시 상황) Nested에서 외부 Window의 escClose는 true이고, 내부 Window의 escClose는 false인 경우,
24252
+ var topActiveWindow = activeWindowSorted[activeWindowSorted.length - 1]; // 예시 상황) Nested에서 외부 Window의 escClose는 true이고, 내부 Window의 escClose는 false인 경우,
24255
24253
  // esc 눌러도 외부 Window는 닫히지 않고, 가장 상단에 있는 내부 Window가 수동으로 닫힌 후에 닫히도록 하기 위해
24256
24254
 
24257
- if (topActiveWindow.escClose === false) return;
24255
+ if (!topActiveWindow.escClose) return;
24258
24256
  topActiveWindow.closeWin();
24259
24257
  };
24260
24258
 
24261
- var addKeydownEvtHandler = function addKeydownEvtHandler() {
24259
+ var setWindowActive = function setWindowActive() {
24260
+ isActiveStatus = true;
24261
+ addActiveWindow();
24262
+
24262
24263
  if (activeWindows.isFirstWindowOpen()) {
24263
24264
  document.addEventListener('keydown', keydownEsc);
24264
24265
  }
24265
24266
  };
24266
24267
 
24267
- var removeKeydownEvtHandler = function removeKeydownEvtHandler() {
24268
- if (activeWindows.isLastWindowClose()) {
24269
- document.removeEventListener('keydown', keydownEsc);
24270
- }
24268
+ var setWindowInactive = function setWindowInactive() {
24269
+ var inactiveWindow = activeWindows.getWindowBySequence(sequence);
24270
+ removeInactiveWindow(inactiveWindow);
24271
+ isActiveStatus = false;
24271
24272
  };
24272
24273
 
24273
24274
  Object(external_commonjs_vue_commonjs2_vue_root_Vue_["onMounted"])(function () {
24274
24275
  // visible 초기값이 true
24275
- if (props.visible) {
24276
- addActiveWindow();
24277
- addKeydownEvtHandler();
24276
+ if (props.visible && !isActiveStatus) {
24277
+ setWindowActive();
24278
+ }
24279
+ });
24280
+ Object(external_commonjs_vue_commonjs2_vue_root_Vue_["onBeforeUnmount"])(function () {
24281
+ if (props.visible && isActiveStatus) {
24282
+ setWindowInactive();
24278
24283
  }
24279
24284
  });
24280
24285
  Object(external_commonjs_vue_commonjs2_vue_root_Vue_["watch"])(function () {
24281
24286
  return props.visible;
24282
- }, function (newVal) {
24287
+ }, function (visible) {
24283
24288
  Object(external_commonjs_vue_commonjs2_vue_root_Vue_["nextTick"])(function () {
24284
- if (newVal) {
24285
- addActiveWindow();
24286
- addKeydownEvtHandler();
24287
- } else {
24288
- var inactiveWindow = activeWindows.getWindowBySequence(sequence);
24289
- removeInactiveWindow(inactiveWindow);
24290
- removeKeydownEvtHandler();
24289
+ if (visible && !isActiveStatus) {
24290
+ // visible 값이 false -> true로 변경되었을 때
24291
+ setWindowActive();
24292
+ } else if (!visible && isActiveStatus) {
24293
+ // visible 값이 true -> false로 변경되었을 때
24294
+ setWindowInactive();
24291
24295
  }
24292
24296
  });
24293
24297
  });
24298
+ Object(external_commonjs_vue_commonjs2_vue_root_Vue_["watch"])(function () {
24299
+ return props.escClose;
24300
+ }, function (escClose) {
24301
+ if (isActiveStatus) {
24302
+ var currentWindow = activeWindows.getWindowBySequence(sequence);
24303
+ if (currentWindow) currentWindow.escClose = escClose;
24304
+ }
24305
+ });
24294
24306
  };
24295
24307
 
24296
24308
 
@@ -29343,9 +29355,9 @@ Grid.install = function (app) {
29343
29355
  };
29344
29356
 
29345
29357
  /* harmony default export */ var grid = (Grid);
29346
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/chart/Chart.vue?vue&type=template&id=67f836e2
29358
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/chart/Chart.vue?vue&type=template&id=75d19318
29347
29359
 
29348
- function Chartvue_type_template_id_67f836e2_render(_ctx, _cache, $props, $setup, $data, $options) {
29360
+ function Chartvue_type_template_id_75d19318_render(_ctx, _cache, $props, $setup, $data, $options) {
29349
29361
  var _directive_resize = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveDirective"])("resize");
29350
29362
 
29351
29363
  return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])((Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("div", {
@@ -29354,7 +29366,7 @@ function Chartvue_type_template_id_67f836e2_render(_ctx, _cache, $props, $setup,
29354
29366
  class: "ev-chart"
29355
29367
  }, null, 4)), [[_directive_resize, $setup.onResize]]);
29356
29368
  }
29357
- // CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=template&id=67f836e2
29369
+ // CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=template&id=75d19318
29358
29370
 
29359
29371
  // CONCATENATED MODULE: ./node_modules/lodash-es/_arrayEach.js
29360
29372
  /**
@@ -30699,7 +30711,7 @@ var modules = {
30699
30711
 
30700
30712
  if (series && sData) {
30701
30713
  if (series.isExistGrp && series.stackIndex) {
30702
- series.data = _this.addSeriesStackDS(sData, label, series);
30714
+ series.data = _this.addSeriesStackDS(sData, label, series.bsIds, series.stackIndex);
30703
30715
  } else {
30704
30716
  series.data = _this.addSeriesDS(sData, label);
30705
30717
  }
@@ -30919,15 +30931,15 @@ var modules = {
30919
30931
  * Take data and label to create stack data for each series
30920
30932
  * @param {object} data chart series info
30921
30933
  * @param {object} label chart label
30922
- * @param {object} series series Information
30934
+ * @param {array} bsIds stacked base data ID List
30935
+ * @param {number} sIdx series ordered index
30923
30936
  *
30924
30937
  * @returns {array} data for each series
30925
30938
  */
30926
- addSeriesStackDS: function addSeriesStackDS(data, label, series) {
30939
+ addSeriesStackDS: function addSeriesStackDS(data, label, bsIds) {
30927
30940
  var _this3 = this;
30928
30941
 
30929
- var bsIds = series.bsIds; // stacked base data ID List
30930
-
30942
+ var sIdx = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0;
30931
30943
  var isHorizontal = this.options.horizontal;
30932
30944
  var sdata = [];
30933
30945
 
@@ -30950,10 +30962,6 @@ var modules = {
30950
30962
  };
30951
30963
 
30952
30964
  data.forEach(function (curr, index) {
30953
- var stackIndex = series.stackIndex,
30954
- isShowSeries = series.show;
30955
- var isTop = true; // is top position on stack (Stacked or not, default is true)
30956
-
30957
30965
  var baseIndex = bsIds.length - 1 < 0 ? 0 : bsIds.length - 1;
30958
30966
  var bdata = getBaseDataPosition(baseIndex, index); // base(previous) series data
30959
30967
 
@@ -30973,7 +30981,7 @@ var modules = {
30973
30981
 
30974
30982
  var oData = (_odata$value = (_odata = odata) === null || _odata === void 0 ? void 0 : _odata.value) !== null && _odata$value !== void 0 ? _odata$value : odata;
30975
30983
 
30976
- if (stackIndex > 0) {
30984
+ if (sIdx > 0) {
30977
30985
  if (oData != null) {
30978
30986
  gdata = bdata + oData;
30979
30987
  } else {
@@ -30985,14 +30993,7 @@ var modules = {
30985
30993
  gdata = oData;
30986
30994
  }
30987
30995
 
30988
- if (gdata && isShowSeries) {
30989
- for (var idx = baseIndex; idx > -1; idx--) {
30990
- var prevSeriesData = _this3.seriesList[bsIds[idx]];
30991
- prevSeriesData.data[index].isTop = false;
30992
- }
30993
- }
30994
-
30995
- sdata.push(_this3.addData(gdata, ldata, odata, bdata, isTop));
30996
+ sdata.push(_this3.addData(gdata, ldata, odata, bdata));
30996
30997
  }
30997
30998
  });
30998
30999
  return sdata;
@@ -31032,7 +31033,6 @@ var modules = {
31032
31033
  * @param {object} ldata label data (x-axis value for vertical chart)
31033
31034
  * @param {object} odata original data (without stacked value)
31034
31035
  * @param {object} bdata base data (stacked value)
31035
- * @param {boolean} isTop is top position on stack (Stacked or not, default is true)
31036
31036
  * @returns {object} data for each graph point
31037
31037
  */
31038
31038
  addData: function addData(gdata, ldata) {
@@ -31040,7 +31040,6 @@ var modules = {
31040
31040
 
31041
31041
  var odata = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
31042
31042
  var bdata = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;
31043
- var isTop = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : true;
31044
31043
  var data;
31045
31044
  var gdataValue = null;
31046
31045
  var odataValue = null;
@@ -31082,7 +31081,6 @@ var modules = {
31082
31081
  data.w = null;
31083
31082
  data.h = null;
31084
31083
  data.dataColor = (_gdataColor = gdataColor) !== null && _gdataColor !== void 0 ? _gdataColor : odataColor;
31085
- data.isTop = isTop;
31086
31084
  return data;
31087
31085
  },
31088
31086
 
@@ -33618,8 +33616,7 @@ var element_bar_Bar = /*#__PURE__*/function () {
33618
33616
  y: y,
33619
33617
  w: w,
33620
33618
  h: h
33621
- },
33622
- isTop: item.isTop
33619
+ }
33623
33620
  });
33624
33621
 
33625
33622
  if (showValue.use) {
@@ -33691,8 +33688,7 @@ var element_bar_Bar = /*#__PURE__*/function () {
33691
33688
  y: y,
33692
33689
  w: w,
33693
33690
  h: this.isHorizontal ? -h : h
33694
- },
33695
- isTop: item.data.isTop
33691
+ }
33696
33692
  });
33697
33693
 
33698
33694
  if (showValue.use) {
@@ -33926,8 +33922,7 @@ var element_bar_Bar = /*#__PURE__*/function () {
33926
33922
  key: "drawBar",
33927
33923
  value: function drawBar(_ref2) {
33928
33924
  var ctx = _ref2.ctx,
33929
- positions = _ref2.positions,
33930
- isTop = _ref2.isTop;
33925
+ positions = _ref2.positions;
33931
33926
  var isHorizontal = this.isHorizontal;
33932
33927
  var isStackBar = ('stackIndex' in this);
33933
33928
  var isBorderRadius = this.borderRadius && this.borderRadius > 0;
@@ -33940,7 +33935,7 @@ var element_bar_Bar = /*#__PURE__*/function () {
33940
33935
  return;
33941
33936
  }
33942
33937
 
33943
- if (!isStackBar && isBorderRadius || isStackBar && isBorderRadius && isTop) {
33938
+ if (isBorderRadius && !isStackBar) {
33944
33939
  try {
33945
33940
  this.drawRoundedRect(ctx, positions);
33946
33941
  } catch (e) {
@@ -38753,7 +38748,6 @@ var chart_core_EvChart = /*#__PURE__*/function () {
38753
38748
  this.axesY = this.createAxes('y', axesY);
38754
38749
  this.axesRange = this.getAxesRange();
38755
38750
  this.labelOffset = this.getLabelOffset();
38756
- this.initScale();
38757
38751
  this.drawChart();
38758
38752
 
38759
38753
  if (tooltip.use) {
@@ -38800,6 +38794,7 @@ var chart_core_EvChart = /*#__PURE__*/function () {
38800
38794
  }, {
38801
38795
  key: "drawChart",
38802
38796
  value: function drawChart(hitInfo) {
38797
+ this.initScale();
38803
38798
  this.labelRange = this.getAxesLabelRange();
38804
38799
  this.axesSteps = this.calculateSteps();
38805
38800
  this.drawAxis(hitInfo);
@@ -39380,8 +39375,8 @@ var chart_core_EvChart = /*#__PURE__*/function () {
39380
39375
  this.clear();
39381
39376
  this.bufferCtx.restore();
39382
39377
  this.bufferCtx.save();
39383
- this.getChartDOMRect();
39384
39378
  this.initScale();
39379
+ this.chartRect = this.getChartRect();
39385
39380
  this.drawChart();
39386
39381
  }
39387
39382
  /**
@@ -39396,7 +39391,6 @@ var chart_core_EvChart = /*#__PURE__*/function () {
39396
39391
  value: function render(hitInfo) {
39397
39392
  this.clear();
39398
39393
  this.chartRect = this.getChartRect();
39399
- this.initScale();
39400
39394
  this.drawChart(hitInfo);
39401
39395
  }
39402
39396
  /**
@@ -39818,14 +39812,8 @@ var uses_useWrapper = function useWrapper(options) {
39818
39812
  });
39819
39813
 
39820
39814
  var redrawChart = function redrawChart() {
39821
- if (isInit) {
39822
- evChart.update({
39823
- updateSeries: false,
39824
- updateSelTip: {
39825
- update: false,
39826
- keepDomain: false
39827
- }
39828
- });
39815
+ if (evChart && 'resize' in evChart && isInit) {
39816
+ evChart.resize();
39829
39817
  }
39830
39818
  };
39831
39819
 
@@ -39845,8 +39833,8 @@ var uses_useWrapper = function useWrapper(options) {
39845
39833
  });
39846
39834
  // CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=script&lang=js
39847
39835
 
39848
- // EXTERNAL MODULE: ./src/components/chart/Chart.vue?vue&type=style&index=0&id=67f836e2&lang=scss
39849
- var Chartvue_type_style_index_0_id_67f836e2_lang_scss = __webpack_require__("9c0c");
39836
+ // EXTERNAL MODULE: ./src/components/chart/Chart.vue?vue&type=style&index=0&id=75d19318&lang=scss
39837
+ var Chartvue_type_style_index_0_id_75d19318_lang_scss = __webpack_require__("3930");
39850
39838
 
39851
39839
  // CONCATENATED MODULE: ./src/components/chart/Chart.vue
39852
39840
 
@@ -39854,7 +39842,7 @@ var Chartvue_type_style_index_0_id_67f836e2_lang_scss = __webpack_require__("9c0
39854
39842
 
39855
39843
 
39856
39844
 
39857
- Chartvue_type_script_lang_js.render = Chartvue_type_template_id_67f836e2_render
39845
+ Chartvue_type_script_lang_js.render = Chartvue_type_template_id_75d19318_render
39858
39846
 
39859
39847
  /* harmony default export */ var Chart = (Chartvue_type_script_lang_js);
39860
39848
  // CONCATENATED MODULE: ./src/components/chart/index.js