evui 3.1.43 → 3.1.47

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.
@@ -4874,13 +4874,16 @@ module.exports = function (it) {
4874
4874
 
4875
4875
  /***/ }),
4876
4876
 
4877
- /***/ "35cf":
4878
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
4877
+ /***/ "36b6":
4878
+ /***/ (function(module, exports, __webpack_require__) {
4879
4879
 
4880
- "use strict";
4881
- /* 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_195b5cf0_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("57a8");
4882
- /* 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_195b5cf0_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_195b5cf0_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
4883
- /* unused harmony reexport * */
4880
+ // Imports
4881
+ var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
4882
+ exports = ___CSS_LOADER_API_IMPORT___(false);
4883
+ // Module
4884
+ 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}", ""]);
4885
+ // Exports
4886
+ module.exports = exports;
4884
4887
 
4885
4888
 
4886
4889
  /***/ }),
@@ -6083,21 +6086,6 @@ module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
6083
6086
  };
6084
6087
 
6085
6088
 
6086
- /***/ }),
6087
-
6088
- /***/ "57a8":
6089
- /***/ (function(module, exports, __webpack_require__) {
6090
-
6091
- // style-loader: Adds some css to the DOM by adding a <style> tag
6092
-
6093
- // load the styles
6094
- var content = __webpack_require__("bd7d");
6095
- if(typeof content === 'string') content = [[module.i, content, '']];
6096
- if(content.locals) module.exports = content.locals;
6097
- // add the styles to the DOM
6098
- var add = __webpack_require__("499e").default
6099
- var update = add("41700f82", content, true, {"sourceMap":false,"shadowMode":false});
6100
-
6101
6089
  /***/ }),
6102
6090
 
6103
6091
  /***/ "5899":
@@ -6685,6 +6673,17 @@ module.exports = function (originalArray, length) {
6685
6673
  };
6686
6674
 
6687
6675
 
6676
+ /***/ }),
6677
+
6678
+ /***/ "6705":
6679
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6680
+
6681
+ "use strict";
6682
+ /* 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_6e6e2a6c_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("e665");
6683
+ /* 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_6e6e2a6c_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_6e6e2a6c_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
6684
+ /* unused harmony reexport * */
6685
+
6686
+
6688
6687
  /***/ }),
6689
6688
 
6690
6689
  /***/ "67cc":
@@ -7806,7 +7805,7 @@ $({ target: 'Number', stat: true }, {
7806
7805
  /***/ "9224":
7807
7806
  /***/ (function(module) {
7808
7807
 
7809
- module.exports = JSON.parse("{\"a\":\"3.1.43\"}");
7808
+ module.exports = JSON.parse("{\"a\":\"3.1.47\"}");
7810
7809
 
7811
7810
  /***/ }),
7812
7811
 
@@ -10162,20 +10161,6 @@ module.exports = !fails(function () {
10162
10161
  });
10163
10162
 
10164
10163
 
10165
- /***/ }),
10166
-
10167
- /***/ "bd7d":
10168
- /***/ (function(module, exports, __webpack_require__) {
10169
-
10170
- // Imports
10171
- var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
10172
- exports = ___CSS_LOADER_API_IMPORT___(false);
10173
- // Module
10174
- 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}", ""]);
10175
- // Exports
10176
- module.exports = exports;
10177
-
10178
-
10179
10164
  /***/ }),
10180
10165
 
10181
10166
  /***/ "c04e":
@@ -11589,6 +11574,21 @@ var update = add("285ed61d", content, true, {"sourceMap":false,"shadowMode":fals
11589
11574
 
11590
11575
  /***/ }),
11591
11576
 
11577
+ /***/ "e665":
11578
+ /***/ (function(module, exports, __webpack_require__) {
11579
+
11580
+ // style-loader: Adds some css to the DOM by adding a <style> tag
11581
+
11582
+ // load the styles
11583
+ var content = __webpack_require__("36b6");
11584
+ if(typeof content === 'string') content = [[module.i, content, '']];
11585
+ if(content.locals) module.exports = content.locals;
11586
+ // add the styles to the DOM
11587
+ var add = __webpack_require__("499e").default
11588
+ var update = add("e19e9116", content, true, {"sourceMap":false,"shadowMode":false});
11589
+
11590
+ /***/ }),
11591
+
11592
11592
  /***/ "e667":
11593
11593
  /***/ (function(module, exports) {
11594
11594
 
@@ -21562,6 +21562,8 @@ var uses_useShortcuts = function useShortcuts(param) {
21562
21562
 
21563
21563
 
21564
21564
  var clickShortcut = function clickShortcut(targetKey) {
21565
+ var _props$options3;
21566
+
21565
21567
  var isRange = ['dateRange', 'dateTimeRange'].includes(props.mode);
21566
21568
  var targetShortcut = usedShortcuts.find(function (_ref7) {
21567
21569
  var key = _ref7.key;
@@ -21573,6 +21575,7 @@ var uses_useShortcuts = function useShortcuts(param) {
21573
21575
  }
21574
21576
 
21575
21577
  var shortcutDate = targetShortcut.shortcutDate;
21578
+ var timeFormat = (_props$options3 = props.options) === null || _props$options3 === void 0 ? void 0 : _props$options3.timeFormat;
21576
21579
 
21577
21580
  if (isRange) {
21578
21581
  var _shortcutDate3 = shortcutDate(),
@@ -21581,35 +21584,35 @@ var uses_useShortcuts = function useShortcuts(param) {
21581
21584
  toDate = _shortcutDate4[1];
21582
21585
 
21583
21586
  if (props.mode === 'dateTimeRange') {
21584
- var _props$options3;
21585
-
21586
- var _props$options$timeFo = (_props$options3 = props.options) === null || _props$options3 === void 0 ? void 0 : _props$options3.timeFormat,
21587
- _props$options$timeFo2 = _slicedToArray(_props$options$timeFo, 2),
21588
- fromTimeFormat = _props$options$timeFo2[0],
21589
- toTimeFormat = _props$options$timeFo2[1];
21587
+ if (timeFormat !== null && timeFormat !== void 0 && timeFormat.length) {
21588
+ var _timeFormat3 = _slicedToArray(timeFormat, 2),
21589
+ fromTimeFormat = _timeFormat3[0],
21590
+ toTimeFormat = _timeFormat3[1];
21590
21591
 
21591
- mv.value = [getChangedValueByTimeFormat(fromTimeFormat, formatDateTime(fromDate)), getChangedValueByTimeFormat(toTimeFormat, formatDateTime(toDate))];
21592
+ mv.value = [getChangedValueByTimeFormat(fromTimeFormat, formatDateTime(fromDate)), getChangedValueByTimeFormat(toTimeFormat, formatDateTime(toDate))];
21593
+ } else {
21594
+ mv.value = [formatDateTime(fromDate), formatDateTime(toDate)];
21595
+ }
21592
21596
  } else {
21593
21597
  mv.value = [formatDate(fromDate), formatDate(toDate)];
21594
21598
  }
21595
21599
  } else {
21596
- var _props$options4;
21597
-
21598
21600
  var sDate = shortcutDate();
21599
- mv.value = props.mode === 'dateTime' ? getChangedValueByTimeFormat((_props$options4 = props.options) === null || _props$options4 === void 0 ? void 0 : _props$options4.timeFormat, formatDateTime(sDate)) : formatDate(sDate);
21601
+ mv.value = props.mode === 'dateTime' ? getChangedValueByTimeFormat(timeFormat, formatDateTime(sDate)) : formatDate(sDate);
21600
21602
  }
21601
21603
 
21602
21604
  clearShortcuts();
21605
+ activeShortcut(targetKey);
21603
21606
  };
21604
21607
 
21605
21608
  Object(external_commonjs_vue_commonjs2_vue_root_Vue_["watch"])(function () {
21606
21609
  return props.modelValue;
21607
21610
  }, function (curr) {
21608
- var _props$options5, _props$options6;
21611
+ var _props$options4, _props$options5;
21609
21612
 
21610
21613
  setActiveShortcut();
21611
21614
 
21612
- if (props.mode === 'dateMulti' && (props === null || props === void 0 ? void 0 : (_props$options5 = props.options) === null || _props$options5 === void 0 ? void 0 : _props$options5.multiType) === 'date' && (props === null || props === void 0 ? void 0 : (_props$options6 = props.options) === null || _props$options6 === void 0 ? void 0 : _props$options6.multiDayLimit) > curr.length) {
21615
+ if (props.mode === 'dateMulti' && (props === null || props === void 0 ? void 0 : (_props$options4 = props.options) === null || _props$options4 === void 0 ? void 0 : _props$options4.multiType) === 'date' && (props === null || props === void 0 ? void 0 : (_props$options5 = props.options) === null || _props$options5 === void 0 ? void 0 : _props$options5.multiDayLimit) > curr.length) {
21613
21616
  return;
21614
21617
  } else if (props.mode === 'dateTime' || props.mode === 'dateTimeRange') {
21615
21618
  currentValue.value = curr;
@@ -29247,9 +29250,9 @@ Grid.install = function (app) {
29247
29250
  };
29248
29251
 
29249
29252
  /* harmony default export */ var grid = (Grid);
29250
- // 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=195b5cf0
29253
+ // 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=6e6e2a6c
29251
29254
 
29252
- function Chartvue_type_template_id_195b5cf0_render(_ctx, _cache, $props, $setup, $data, $options) {
29255
+ function Chartvue_type_template_id_6e6e2a6c_render(_ctx, _cache, $props, $setup, $data, $options) {
29253
29256
  var _directive_resize = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveDirective"])("resize");
29254
29257
 
29255
29258
  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", {
@@ -29258,7 +29261,7 @@ function Chartvue_type_template_id_195b5cf0_render(_ctx, _cache, $props, $setup,
29258
29261
  class: "ev-chart"
29259
29262
  }, null, 4)), [[_directive_resize, $setup.onResize]]);
29260
29263
  }
29261
- // CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=template&id=195b5cf0
29264
+ // CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=template&id=6e6e2a6c
29262
29265
 
29263
29266
  // CONCATENATED MODULE: ./node_modules/lodash-es/_arrayEach.js
29264
29267
  /**
@@ -30603,7 +30606,7 @@ var modules = {
30603
30606
 
30604
30607
  if (series && sData) {
30605
30608
  if (series.isExistGrp && series.stackIndex) {
30606
- series.data = _this.addSeriesStackDS(sData, label, series.bsIds, series.stackIndex);
30609
+ series.data = _this.addSeriesStackDS(sData, label, series);
30607
30610
  } else {
30608
30611
  series.data = _this.addSeriesDS(sData, label);
30609
30612
  }
@@ -30823,15 +30826,15 @@ var modules = {
30823
30826
  * Take data and label to create stack data for each series
30824
30827
  * @param {object} data chart series info
30825
30828
  * @param {object} label chart label
30826
- * @param {array} bsIds stacked base data ID List
30827
- * @param {number} sIdx series ordered index
30829
+ * @param {object} series series Information
30828
30830
  *
30829
30831
  * @returns {array} data for each series
30830
30832
  */
30831
- addSeriesStackDS: function addSeriesStackDS(data, label, bsIds) {
30833
+ addSeriesStackDS: function addSeriesStackDS(data, label, series) {
30832
30834
  var _this3 = this;
30833
30835
 
30834
- var sIdx = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0;
30836
+ var bsIds = series.bsIds; // stacked base data ID List
30837
+
30835
30838
  var isHorizontal = this.options.horizontal;
30836
30839
  var sdata = [];
30837
30840
 
@@ -30854,6 +30857,10 @@ var modules = {
30854
30857
  };
30855
30858
 
30856
30859
  data.forEach(function (curr, index) {
30860
+ var stackIndex = series.stackIndex,
30861
+ isShowSeries = series.show;
30862
+ var isTop = true; // is top position on stack (Stacked or not, default is true)
30863
+
30857
30864
  var baseIndex = bsIds.length - 1 < 0 ? 0 : bsIds.length - 1;
30858
30865
  var bdata = getBaseDataPosition(baseIndex, index); // base(previous) series data
30859
30866
 
@@ -30873,7 +30880,7 @@ var modules = {
30873
30880
 
30874
30881
  var oData = (_odata$value = (_odata = odata) === null || _odata === void 0 ? void 0 : _odata.value) !== null && _odata$value !== void 0 ? _odata$value : odata;
30875
30882
 
30876
- if (sIdx > 0) {
30883
+ if (stackIndex > 0) {
30877
30884
  if (oData != null) {
30878
30885
  gdata = bdata + oData;
30879
30886
  } else {
@@ -30885,7 +30892,14 @@ var modules = {
30885
30892
  gdata = oData;
30886
30893
  }
30887
30894
 
30888
- sdata.push(_this3.addData(gdata, ldata, odata, bdata));
30895
+ if (gdata && isShowSeries) {
30896
+ for (var idx = baseIndex; idx > -1; idx--) {
30897
+ var prevSeriesData = _this3.seriesList[bsIds[idx]];
30898
+ prevSeriesData.data[index].isTop = false;
30899
+ }
30900
+ }
30901
+
30902
+ sdata.push(_this3.addData(gdata, ldata, odata, bdata, isTop));
30889
30903
  }
30890
30904
  });
30891
30905
  return sdata;
@@ -30925,6 +30939,7 @@ var modules = {
30925
30939
  * @param {object} ldata label data (x-axis value for vertical chart)
30926
30940
  * @param {object} odata original data (without stacked value)
30927
30941
  * @param {object} bdata base data (stacked value)
30942
+ * @param {boolean} isTop is top position on stack (Stacked or not, default is true)
30928
30943
  * @returns {object} data for each graph point
30929
30944
  */
30930
30945
  addData: function addData(gdata, ldata) {
@@ -30932,6 +30947,7 @@ var modules = {
30932
30947
 
30933
30948
  var odata = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
30934
30949
  var bdata = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;
30950
+ var isTop = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : true;
30935
30951
  var data;
30936
30952
  var gdataValue = (_gdata$value = gdata === null || gdata === void 0 ? void 0 : gdata.value) !== null && _gdata$value !== void 0 ? _gdata$value : gdata;
30937
30953
  var odataValue = (_odata$value2 = odata === null || odata === void 0 ? void 0 : odata.value) !== null && _odata$value2 !== void 0 ? _odata$value2 : odata;
@@ -30958,6 +30974,7 @@ var modules = {
30958
30974
  data.w = null;
30959
30975
  data.h = null;
30960
30976
  data.dataColor = dataColor || null;
30977
+ data.isTop = isTop;
30961
30978
  return data;
30962
30979
  },
30963
30980
 
@@ -32520,7 +32537,7 @@ var TIME_INTERVALS = {
32520
32537
  calculateX: function calculateX(value, min, max, area) {
32521
32538
  var startPoint = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0;
32522
32539
 
32523
- if (value === null) {
32540
+ if (value === null || value === undefined) {
32524
32541
  return null;
32525
32542
  }
32526
32543
 
@@ -32545,7 +32562,7 @@ var TIME_INTERVALS = {
32545
32562
  calculateSubX: function calculateSubX(value, min, max, area) {
32546
32563
  var startPoint = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0;
32547
32564
 
32548
- if (value === null) {
32565
+ if (value === null || value === undefined) {
32549
32566
  return null;
32550
32567
  }
32551
32568
 
@@ -32567,7 +32584,7 @@ var TIME_INTERVALS = {
32567
32584
  var startPoint = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0;
32568
32585
  var calcY;
32569
32586
 
32570
- if (value === null) {
32587
+ if (value === null || value === undefined) {
32571
32588
  return null;
32572
32589
  }
32573
32590
 
@@ -33493,7 +33510,8 @@ var element_bar_Bar = /*#__PURE__*/function () {
33493
33510
  y: y,
33494
33511
  w: w,
33495
33512
  h: h
33496
- }
33513
+ },
33514
+ isTop: item.isTop
33497
33515
  });
33498
33516
 
33499
33517
  if (showValue.use) {
@@ -33565,7 +33583,8 @@ var element_bar_Bar = /*#__PURE__*/function () {
33565
33583
  y: y,
33566
33584
  w: w,
33567
33585
  h: this.isHorizontal ? -h : h
33568
- }
33586
+ },
33587
+ isTop: item.data.isTop
33569
33588
  });
33570
33589
 
33571
33590
  if (showValue.use) {
@@ -33799,7 +33818,8 @@ var element_bar_Bar = /*#__PURE__*/function () {
33799
33818
  key: "drawBar",
33800
33819
  value: function drawBar(_ref2) {
33801
33820
  var ctx = _ref2.ctx,
33802
- positions = _ref2.positions;
33821
+ positions = _ref2.positions,
33822
+ isTop = _ref2.isTop;
33803
33823
  var isHorizontal = this.isHorizontal;
33804
33824
  var isStackBar = ('stackIndex' in this);
33805
33825
  var isBorderRadius = this.borderRadius && this.borderRadius > 0;
@@ -33812,7 +33832,7 @@ var element_bar_Bar = /*#__PURE__*/function () {
33812
33832
  return;
33813
33833
  }
33814
33834
 
33815
- if (isBorderRadius && !isStackBar) {
33835
+ if (!isStackBar && isBorderRadius || isStackBar && isBorderRadius && isTop) {
33816
33836
  try {
33817
33837
  this.drawRoundedRect(ctx, positions);
33818
33838
  } catch (e) {
@@ -39113,7 +39133,7 @@ var chart_core_EvChart = /*#__PURE__*/function () {
39113
39133
  pos: null,
39114
39134
  value: null
39115
39135
  };
39116
- this.createSeriesSet(series, options.type);
39136
+ this.createSeriesSet(series, options.type, options.horizontal);
39117
39137
 
39118
39138
  if (this.legendDOM) {
39119
39139
  this.resetLegend();
@@ -39632,7 +39652,7 @@ var uses_useWrapper = function useWrapper(options) {
39632
39652
  return props.data;
39633
39653
  }, function (chartData) {
39634
39654
  var newData = getNormalizedData(chartData);
39635
- var isUpdateSeries = !lodash_es_isEqual(newData.series, evChart.data.series);
39655
+ var isUpdateSeries = !lodash_es_isEqual(newData, evChart.data);
39636
39656
  evChart.data = lodash_es_cloneDeep(newData);
39637
39657
  evChart.update({
39638
39658
  updateSeries: isUpdateSeries,
@@ -39684,8 +39704,8 @@ var uses_useWrapper = function useWrapper(options) {
39684
39704
  });
39685
39705
  // CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=script&lang=js
39686
39706
 
39687
- // EXTERNAL MODULE: ./src/components/chart/Chart.vue?vue&type=style&index=0&id=195b5cf0&lang=scss
39688
- var Chartvue_type_style_index_0_id_195b5cf0_lang_scss = __webpack_require__("35cf");
39707
+ // EXTERNAL MODULE: ./src/components/chart/Chart.vue?vue&type=style&index=0&id=6e6e2a6c&lang=scss
39708
+ var Chartvue_type_style_index_0_id_6e6e2a6c_lang_scss = __webpack_require__("6705");
39689
39709
 
39690
39710
  // CONCATENATED MODULE: ./src/components/chart/Chart.vue
39691
39711
 
@@ -39693,7 +39713,7 @@ var Chartvue_type_style_index_0_id_195b5cf0_lang_scss = __webpack_require__("35c
39693
39713
 
39694
39714
 
39695
39715
 
39696
- Chartvue_type_script_lang_js.render = Chartvue_type_template_id_195b5cf0_render
39716
+ Chartvue_type_script_lang_js.render = Chartvue_type_template_id_6e6e2a6c_render
39697
39717
 
39698
39718
  /* harmony default export */ var Chart = (Chartvue_type_script_lang_js);
39699
39719
  // CONCATENATED MODULE: ./src/components/chart/index.js