bkui-vue 2.0.2-beta.48 → 2.0.2-beta.49

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.
Files changed (154) hide show
  1. package/dist/index.cjs.js +42 -47
  2. package/dist/index.esm.js +7009 -7201
  3. package/dist/index.umd.js +45 -50
  4. package/lib/affix/index.js +14 -12
  5. package/lib/alert/index.js +14 -12
  6. package/lib/animate-number/index.js +12 -11
  7. package/lib/backtop/index.js +11 -10
  8. package/lib/badge/index.js +14 -12
  9. package/lib/breadcrumb/index.js +14 -12
  10. package/lib/button/index.js +14 -12
  11. package/lib/card/index.js +14 -12
  12. package/lib/cascader/index.js +101 -94
  13. package/lib/checkbox/index.js +35 -37
  14. package/lib/code-diff/index.js +674 -1170
  15. package/lib/collapse/index.js +42 -44
  16. package/lib/collapse-transition/index.js +4 -3
  17. package/lib/color-picker/index.js +60 -59
  18. package/lib/config-provider/index.js +14 -12
  19. package/lib/container/index.js +25 -21
  20. package/lib/date-picker/index.js +51 -58
  21. package/lib/dialog/index.js +441 -43
  22. package/lib/directives/index.js +34 -37
  23. package/lib/divider/index.js +3 -2
  24. package/lib/dropdown/index.js +21 -17
  25. package/lib/exception/index.js +17 -14
  26. package/lib/fixed-navbar/index.js +3 -2
  27. package/lib/form/index.js +34 -37
  28. package/lib/icon/angle-double-down-line.js +36 -29
  29. package/lib/icon/angle-double-left-line.js +36 -29
  30. package/lib/icon/angle-double-left.js +36 -29
  31. package/lib/icon/angle-double-right-line.js +36 -29
  32. package/lib/icon/angle-double-right.js +36 -29
  33. package/lib/icon/angle-double-up-line.js +36 -29
  34. package/lib/icon/angle-down-fill.js +36 -29
  35. package/lib/icon/angle-down-line.js +36 -29
  36. package/lib/icon/angle-down.js +36 -29
  37. package/lib/icon/angle-left.js +36 -29
  38. package/lib/icon/angle-right.js +36 -29
  39. package/lib/icon/angle-up-fill.js +36 -29
  40. package/lib/icon/angle-up.js +36 -29
  41. package/lib/icon/archive-fill.js +36 -29
  42. package/lib/icon/arrows-left.js +36 -29
  43. package/lib/icon/arrows-right.js +36 -29
  44. package/lib/icon/assistant.js +36 -29
  45. package/lib/icon/audio-fill.js +36 -29
  46. package/lib/icon/bk.js +36 -29
  47. package/lib/icon/circle.js +36 -29
  48. package/lib/icon/close-line.js +36 -29
  49. package/lib/icon/close.js +36 -29
  50. package/lib/icon/code.js +36 -29
  51. package/lib/icon/cog-shape.js +36 -29
  52. package/lib/icon/collapse-left.js +36 -29
  53. package/lib/icon/copy-shape.js +36 -29
  54. package/lib/icon/copy.js +36 -29
  55. package/lib/icon/data-shape.js +36 -29
  56. package/lib/icon/del.js +36 -29
  57. package/lib/icon/doc-fill.js +36 -29
  58. package/lib/icon/done.js +36 -29
  59. package/lib/icon/down-shape.js +36 -29
  60. package/lib/icon/down-small.js +36 -29
  61. package/lib/icon/edit-line.js +36 -29
  62. package/lib/icon/ellipsis.js +36 -29
  63. package/lib/icon/enlarge-line.js +36 -29
  64. package/lib/icon/error.js +36 -29
  65. package/lib/icon/excel-fill.js +36 -29
  66. package/lib/icon/exclamation-circle-shape.js +36 -29
  67. package/lib/icon/eye.js +36 -29
  68. package/lib/icon/filliscreen-line.js +36 -29
  69. package/lib/icon/fix-line.js +36 -29
  70. package/lib/icon/fix-shape.js +36 -29
  71. package/lib/icon/folder-open.js +36 -29
  72. package/lib/icon/folder-shape-open.js +36 -29
  73. package/lib/icon/folder-shape.js +36 -29
  74. package/lib/icon/folder.js +36 -29
  75. package/lib/icon/funnel.js +36 -29
  76. package/lib/icon/grag-fill.js +36 -29
  77. package/lib/icon/help-document-fill.js +36 -29
  78. package/lib/icon/help-fill.js +36 -29
  79. package/lib/icon/help.js +36 -29
  80. package/lib/icon/image-fill.js +36 -29
  81. package/lib/icon/img-error.js +36 -29
  82. package/lib/icon/img-placehoulder.js +36 -29
  83. package/lib/icon/info-line.js +36 -29
  84. package/lib/icon/info.js +36 -29
  85. package/lib/icon/left-shape.js +36 -29
  86. package/lib/icon/left-turn-line.js +36 -29
  87. package/lib/icon/loading.js +36 -29
  88. package/lib/icon/narrow-line.js +36 -29
  89. package/lib/icon/original.js +36 -29
  90. package/lib/icon/pdf-fill.js +36 -29
  91. package/lib/icon/play-shape.js +36 -29
  92. package/lib/icon/plus.js +36 -29
  93. package/lib/icon/ppt-fill.js +36 -29
  94. package/lib/icon/qq.js +36 -29
  95. package/lib/icon/right-shape.js +36 -29
  96. package/lib/icon/right-turn-line.js +36 -29
  97. package/lib/icon/search.js +36 -29
  98. package/lib/icon/share.js +36 -29
  99. package/lib/icon/spinner.js +36 -29
  100. package/lib/icon/success.js +36 -29
  101. package/lib/icon/switcher-loading.js +36 -29
  102. package/lib/icon/text-all.js +36 -29
  103. package/lib/icon/text-file.js +36 -29
  104. package/lib/icon/text-fill.js +36 -29
  105. package/lib/icon/transfer.js +36 -29
  106. package/lib/icon/tree-application-shape.js +36 -29
  107. package/lib/icon/unfull-screen.js +36 -29
  108. package/lib/icon/unvisible.js +36 -29
  109. package/lib/icon/up-shape.js +36 -29
  110. package/lib/icon/upload.js +36 -29
  111. package/lib/icon/video-fill.js +36 -29
  112. package/lib/icon/warn.js +36 -29
  113. package/lib/icon/weixin-pro.js +36 -29
  114. package/lib/icon/weixin.js +36 -29
  115. package/lib/image/index.js +47 -49
  116. package/lib/index.js +1 -1
  117. package/lib/info-box/index.js +461 -62
  118. package/lib/input/index.js +60 -62
  119. package/lib/link/index.js +2 -2
  120. package/lib/loading/index.js +25 -22
  121. package/lib/menu/index.js +34 -36
  122. package/lib/message/index.js +31 -34
  123. package/lib/modal/index.js +14 -12
  124. package/lib/navigation/index.js +9 -7
  125. package/lib/notify/index.js +14 -12
  126. package/lib/overflow-title/index.js +10 -9
  127. package/lib/pagination/index.js +29 -32
  128. package/lib/pop-confirm/index.js +5 -4
  129. package/lib/popover/index.js +136 -209
  130. package/lib/popover2/index.js +2 -2
  131. package/lib/process/index.js +452 -59
  132. package/lib/progress/index.js +19 -16
  133. package/lib/radio/index.js +34 -37
  134. package/lib/rate/index.js +14 -12
  135. package/lib/resize-layout/index.js +20 -18
  136. package/lib/scrollbar/index.js +58 -51
  137. package/lib/search-select/index.js +595 -222
  138. package/lib/select/index.js +463 -111
  139. package/lib/shared/index.js +95 -83
  140. package/lib/sideslider/index.js +441 -43
  141. package/lib/slider/index.js +446 -49
  142. package/lib/steps/index.js +458 -60
  143. package/lib/swiper/index.js +17 -15
  144. package/lib/switcher/index.js +14 -12
  145. package/lib/tab/index.js +40 -42
  146. package/lib/table/index.js +501 -152
  147. package/lib/tag/index.js +14 -12
  148. package/lib/tag-input/index.js +41 -47
  149. package/lib/timeline/index.js +0 -1
  150. package/lib/transfer/index.js +17 -22
  151. package/lib/tree/index.js +66 -73
  152. package/lib/upload/index.js +487 -136
  153. package/lib/virtual-render/index.js +51 -47
  154. package/package.json +1 -2
@@ -104,6 +104,7 @@ var containerKey = Symbol('containerProps');
104
104
 
105
105
 
106
106
 
107
+
107
108
  var colProps = {
108
109
  // 栅格的占位格数,可选值为 0~24 的整数,为 0 时,则为 col 相当于 width: 100%
109
110
  span: shared_namespaceObject.PropTypes.number.def(1),
@@ -114,12 +115,12 @@ var colProps = {
114
115
  // 栅格向右移动格数
115
116
  push: shared_namespaceObject.PropTypes.number.def(0)
116
117
  };
117
- /* harmony default export */ const col = (defineComponent({
118
+ /* harmony default export */ const col = ((0,external_vue_namespaceObject.defineComponent)({
118
119
  name: 'Col',
119
120
  props: colProps,
120
121
  emits: [],
121
122
  setup: function setup(props, ctx) {
122
- var _inject = inject(containerKey),
123
+ var _inject = (0,external_vue_namespaceObject.inject)(containerKey),
123
124
  col = _inject.col,
124
125
  gutter = _inject.gutter,
125
126
  flex = _inject.flex;
@@ -127,10 +128,10 @@ var colProps = {
127
128
  offset = props.offset,
128
129
  pull = props.pull,
129
130
  push = props.push;
130
- var realSpan = computed(function () {
131
+ var realSpan = (0,external_vue_namespaceObject.computed)(function () {
131
132
  return span || col;
132
133
  });
133
- provide('containerProps', {
134
+ (0,external_vue_namespaceObject.provide)('containerProps', {
134
135
  col: realSpan.value,
135
136
  gutter: gutter,
136
137
  flex: flex
@@ -138,7 +139,7 @@ var colProps = {
138
139
  var formatPercentage = function formatPercentage(val) {
139
140
  return "".concat(Number((val * 100).toFixed(3)), "%");
140
141
  };
141
- var style = computed(function () {
142
+ var style = (0,external_vue_namespaceObject.computed)(function () {
142
143
  return {
143
144
  width: formatPercentage(realSpan.value / col),
144
145
  'padding-right': "".concat(gutter / 2, "px"),
@@ -189,6 +190,7 @@ var colProps = {
189
190
 
190
191
 
191
192
 
193
+
192
194
  var containerProps = {
193
195
  // 栅格数,默认 24
194
196
  col: shared_namespaceObject.PropTypes.number.def(24),
@@ -201,7 +203,7 @@ var containerProps = {
201
203
  // 外部设置的 class name
202
204
  extCls: shared_namespaceObject.PropTypes.string
203
205
  };
204
- /* harmony default export */ const container = (defineComponent({
206
+ /* harmony default export */ const container = ((0,external_vue_namespaceObject.defineComponent)({
205
207
  name: 'Container',
206
208
  props: containerProps,
207
209
  emits: [],
@@ -210,17 +212,17 @@ var containerProps = {
210
212
  gutter = props.gutter,
211
213
  flex = props.flex,
212
214
  extCls = props.extCls;
213
- provide(containerKey, {
215
+ (0,external_vue_namespaceObject.provide)(containerKey, {
214
216
  col: col,
215
217
  gutter: gutter,
216
218
  flex: flex
217
219
  });
218
220
  var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
219
221
  resolveClassName = _usePrefix.resolveClassName;
220
- var classes = computed(function () {
222
+ var classes = (0,external_vue_namespaceObject.computed)(function () {
221
223
  return extCls ? "".concat(resolveClassName('grid-container'), " ").concat(extCls) : "".concat(resolveClassName('grid-container'));
222
224
  });
223
- var style = computed(function () {
225
+ var style = (0,external_vue_namespaceObject.computed)(function () {
224
226
  var margin = props.margin;
225
227
  return {
226
228
  'padding-right': "".concat(margin, "px"),
@@ -246,7 +248,6 @@ function _typeof(o) {
246
248
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
247
249
  }, _typeof(o);
248
250
  }
249
-
250
251
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
251
252
 
252
253
  function toPrimitive(t, r) {
@@ -259,26 +260,29 @@ function toPrimitive(t, r) {
259
260
  }
260
261
  return ("string" === r ? String : Number)(t);
261
262
  }
262
-
263
263
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
264
264
 
265
265
 
266
266
  function toPropertyKey(t) {
267
267
  var i = toPrimitive(t, "string");
268
- return "symbol" == _typeof(i) ? i : i + "";
268
+ return "symbol" == _typeof(i) ? i : String(i);
269
269
  }
270
-
271
270
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
272
271
 
273
- function _defineProperty(e, r, t) {
274
- return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
275
- value: t,
276
- enumerable: !0,
277
- configurable: !0,
278
- writable: !0
279
- }) : e[r] = t, e;
272
+ function _defineProperty(obj, key, value) {
273
+ key = toPropertyKey(key);
274
+ if (key in obj) {
275
+ Object.defineProperty(obj, key, {
276
+ value: value,
277
+ enumerable: true,
278
+ configurable: true,
279
+ writable: true
280
+ });
281
+ } else {
282
+ obj[key] = value;
283
+ }
284
+ return obj;
280
285
  }
281
-
282
286
  ;// CONCATENATED MODULE: ../../packages/container/src/row.tsx
283
287
 
284
288
 
@@ -28,9 +28,9 @@ __webpack_require__.d(__webpack_exports__, {
28
28
  // UNUSED EXPORTS: bkEllipsis, bkEllipsisInstance, bkLoading, bkTooltips, mousewheel, overflowTitle
29
29
 
30
30
  ;// CONCATENATED MODULE: ../../packages/directives/src/clickoutside.ts
31
- function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
32
- function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
33
- function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
31
+ function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
32
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
33
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
34
34
  /*
35
35
  * Tencent is pleased to support the open source community by making
36
36
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -1295,13 +1295,12 @@ module.exports = x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragmen
1295
1295
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1296
1296
  /* harmony export */ "default": () => (/* binding */ _arrayLikeToArray)
1297
1297
  /* harmony export */ });
1298
- function _arrayLikeToArray(r, a) {
1299
- (null == a || a > r.length) && (a = r.length);
1300
- for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
1301
- return n;
1298
+ function _arrayLikeToArray(arr, len) {
1299
+ if (len == null || len > arr.length) len = arr.length;
1300
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
1301
+ return arr2;
1302
1302
  }
1303
1303
 
1304
-
1305
1304
  /***/ }),
1306
1305
 
1307
1306
  /***/ 74:
@@ -1312,11 +1311,10 @@ function _arrayLikeToArray(r, a) {
1312
1311
  /* harmony export */ });
1313
1312
  /* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(926);
1314
1313
 
1315
- function _arrayWithoutHoles(r) {
1316
- if (Array.isArray(r)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(r);
1314
+ function _arrayWithoutHoles(arr) {
1315
+ if (Array.isArray(arr)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(arr);
1317
1316
  }
1318
1317
 
1319
-
1320
1318
  /***/ }),
1321
1319
 
1322
1320
  /***/ 6666:
@@ -1327,16 +1325,21 @@ function _arrayWithoutHoles(r) {
1327
1325
  /* harmony export */ });
1328
1326
  /* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3795);
1329
1327
 
1330
- function _defineProperty(e, r, t) {
1331
- return (r = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(r)) in e ? Object.defineProperty(e, r, {
1332
- value: t,
1333
- enumerable: !0,
1334
- configurable: !0,
1335
- writable: !0
1336
- }) : e[r] = t, e;
1328
+ function _defineProperty(obj, key, value) {
1329
+ key = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(key);
1330
+ if (key in obj) {
1331
+ Object.defineProperty(obj, key, {
1332
+ value: value,
1333
+ enumerable: true,
1334
+ configurable: true,
1335
+ writable: true
1336
+ });
1337
+ } else {
1338
+ obj[key] = value;
1339
+ }
1340
+ return obj;
1337
1341
  }
1338
1342
 
1339
-
1340
1343
  /***/ }),
1341
1344
 
1342
1345
  /***/ 1079:
@@ -1345,11 +1348,10 @@ function _defineProperty(e, r, t) {
1345
1348
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1346
1349
  /* harmony export */ "default": () => (/* binding */ _iterableToArray)
1347
1350
  /* harmony export */ });
1348
- function _iterableToArray(r) {
1349
- if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
1351
+ function _iterableToArray(iter) {
1352
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
1350
1353
  }
1351
1354
 
1352
-
1353
1355
  /***/ }),
1354
1356
 
1355
1357
  /***/ 6098:
@@ -1362,7 +1364,6 @@ function _nonIterableSpread() {
1362
1364
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1363
1365
  }
1364
1366
 
1365
-
1366
1367
  /***/ }),
1367
1368
 
1368
1369
  /***/ 7930:
@@ -1379,11 +1380,10 @@ function _nonIterableSpread() {
1379
1380
 
1380
1381
 
1381
1382
 
1382
- function _toConsumableArray(r) {
1383
- return (0,_arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__["default"])(r) || (0,_iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__["default"])(r) || (0,_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__["default"])(r) || (0,_nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__["default"])();
1383
+ function _toConsumableArray(arr) {
1384
+ return (0,_arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__["default"])(arr) || (0,_iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__["default"])(arr) || (0,_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__["default"])(arr) || (0,_nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__["default"])();
1384
1385
  }
1385
1386
 
1386
-
1387
1387
  /***/ }),
1388
1388
 
1389
1389
  /***/ 9745:
@@ -1405,7 +1405,6 @@ function toPrimitive(t, r) {
1405
1405
  return ("string" === r ? String : Number)(t);
1406
1406
  }
1407
1407
 
1408
-
1409
1408
  /***/ }),
1410
1409
 
1411
1410
  /***/ 3795:
@@ -1420,10 +1419,9 @@ function toPrimitive(t, r) {
1420
1419
 
1421
1420
  function toPropertyKey(t) {
1422
1421
  var i = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t, "string");
1423
- return "symbol" == (0,_typeof_js__WEBPACK_IMPORTED_MODULE_1__["default"])(i) ? i : i + "";
1422
+ return "symbol" == (0,_typeof_js__WEBPACK_IMPORTED_MODULE_1__["default"])(i) ? i : String(i);
1424
1423
  }
1425
1424
 
1426
-
1427
1425
  /***/ }),
1428
1426
 
1429
1427
  /***/ 6522:
@@ -1442,7 +1440,6 @@ function _typeof(o) {
1442
1440
  }, _typeof(o);
1443
1441
  }
1444
1442
 
1445
-
1446
1443
  /***/ }),
1447
1444
 
1448
1445
  /***/ 9147:
@@ -1453,15 +1450,15 @@ function _typeof(o) {
1453
1450
  /* harmony export */ });
1454
1451
  /* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(926);
1455
1452
 
1456
- function _unsupportedIterableToArray(r, a) {
1457
- if (r) {
1458
- if ("string" == typeof r) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(r, a);
1459
- var t = {}.toString.call(r).slice(8, -1);
1460
- return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(r, a) : void 0;
1461
- }
1453
+ function _unsupportedIterableToArray(o, minLen) {
1454
+ if (!o) return;
1455
+ if (typeof o === "string") return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(o, minLen);
1456
+ var n = Object.prototype.toString.call(o).slice(8, -1);
1457
+ if (n === "Object" && o.constructor) n = o.constructor.name;
1458
+ if (n === "Map" || n === "Set") return Array.from(o);
1459
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(o, minLen);
1462
1460
  }
1463
1461
 
1464
-
1465
1462
  /***/ })
1466
1463
 
1467
1464
  /******/ });
@@ -1794,10 +1791,9 @@ var pickerDropdownProps = {
1794
1791
  }
1795
1792
  }));
1796
1793
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
1797
- function _arrayWithHoles(r) {
1798
- if (Array.isArray(r)) return r;
1794
+ function _arrayWithHoles(arr) {
1795
+ if (Array.isArray(arr)) return arr;
1799
1796
  }
1800
-
1801
1797
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
1802
1798
  function _iterableToArrayLimit(r, l) {
1803
1799
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
@@ -1826,23 +1822,20 @@ function _iterableToArrayLimit(r, l) {
1826
1822
  return a;
1827
1823
  }
1828
1824
  }
1829
-
1830
1825
  // EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
1831
1826
  var unsupportedIterableToArray = __webpack_require__(9147);
1832
1827
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
1833
1828
  function _nonIterableRest() {
1834
1829
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1835
1830
  }
1836
-
1837
1831
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js
1838
1832
 
1839
1833
 
1840
1834
 
1841
1835
 
1842
- function _slicedToArray(r, e) {
1843
- return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || (0,unsupportedIterableToArray["default"])(r, e) || _nonIterableRest();
1836
+ function _slicedToArray(arr, i) {
1837
+ return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || (0,unsupportedIterableToArray["default"])(arr, i) || _nonIterableRest();
1844
1838
  }
1845
-
1846
1839
  // EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
1847
1840
  var toConsumableArray = __webpack_require__(7930);
1848
1841
  // EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
@@ -5107,7 +5100,7 @@ var dateRangePanelProps = {
5107
5100
  timeSpinnerEnd === null || timeSpinnerEnd === void 0 || (_timeSpinnerEnd$value = timeSpinnerEnd.value) === null || _timeSpinnerEnd$value === void 0 || _timeSpinnerEnd$value.updateScroll();
5108
5101
  }
5109
5102
  };
5110
- var _changePanelDate = function changePanelDate(panel, type, increment) {
5103
+ var changePanelDate = function changePanelDate(panel, type, increment) {
5111
5104
  var updateOtherPanel = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;
5112
5105
  var current = new Date(state["".concat(panel, "PanelDate")]);
5113
5106
  current["set".concat(type)](current["get".concat(type)]() + increment);
@@ -5120,19 +5113,19 @@ var dateRangePanelProps = {
5120
5113
  if (panel === 'left' && state.leftPanelDate >= state.rightPanelDate) {
5121
5114
  if (state.currentView === 'year') {
5122
5115
  if (Math.floor(state.leftPanelDate.getFullYear() / 10) * 10 === Math.floor(state.rightPanelDate.getFullYear() / 10) * 10) {
5123
- _changePanelDate(otherPanel, type, 10);
5116
+ changePanelDate(otherPanel, type, 10);
5124
5117
  }
5125
5118
  } else {
5126
- _changePanelDate(otherPanel, type, 1);
5119
+ changePanelDate(otherPanel, type, 1);
5127
5120
  }
5128
5121
  }
5129
5122
  if (panel === 'right' && state.rightPanelDate <= state.leftPanelDate) {
5130
5123
  if (state.currentView === 'year') {
5131
5124
  if (Math.floor(state.leftPanelDate.getFullYear() / 10) * 10 === Math.floor(state.rightPanelDate.getFullYear() / 10) * 10) {
5132
- _changePanelDate(otherPanel, type, -10);
5125
+ changePanelDate(otherPanel, type, -10);
5133
5126
  }
5134
5127
  } else {
5135
- _changePanelDate(otherPanel, type, -1);
5128
+ changePanelDate(otherPanel, type, -1);
5136
5129
  }
5137
5130
  }
5138
5131
  } else {
@@ -5152,26 +5145,26 @@ var dateRangePanelProps = {
5152
5145
  */
5153
5146
  var prevYear = function prevYear(panel) {
5154
5147
  var increment = state.currentView === 'year' ? -10 : -1;
5155
- _changePanelDate(panel, 'FullYear', increment);
5148
+ changePanelDate(panel, 'FullYear', increment);
5156
5149
  };
5157
5150
  /**
5158
5151
  * nextYear
5159
5152
  */
5160
5153
  var nextYear = function nextYear(panel) {
5161
5154
  var increment = state.currentView === 'year' ? 10 : 1;
5162
- _changePanelDate(panel, 'FullYear', increment);
5155
+ changePanelDate(panel, 'FullYear', increment);
5163
5156
  };
5164
5157
  /**
5165
5158
  * prevMonth
5166
5159
  */
5167
5160
  var prevMonth = function prevMonth(panel) {
5168
- _changePanelDate(panel, 'Month', -1);
5161
+ changePanelDate(panel, 'Month', -1);
5169
5162
  };
5170
5163
  /**
5171
5164
  * nextMonth
5172
5165
  */
5173
5166
  var nextMonth = function nextMonth(panel) {
5174
- _changePanelDate(panel, 'Month', 1);
5167
+ changePanelDate(panel, 'Month', 1);
5175
5168
  };
5176
5169
  /**
5177
5170
  * showYearPicker
@@ -5272,7 +5265,7 @@ var dateRangePanelProps = {
5272
5265
  var otherPanel = panelPosition === 'left' ? 'right' : 'left';
5273
5266
  state["".concat(otherPanel, "PanelDate")] = value;
5274
5267
  var increment = otherPanel === 'left' ? -1 : 1;
5275
- _changePanelDate(otherPanel, 'Month', increment, false);
5268
+ changePanelDate(otherPanel, 'Month', increment, false);
5276
5269
  }
5277
5270
  };
5278
5271
  var handleShortcutClick = function handleShortcutClick(shortcut, index) {
@@ -5338,13 +5331,13 @@ var dateRangePanelProps = {
5338
5331
  var rightMonth = state.rightPanelDate.getMonth();
5339
5332
  var isSameYear = state.leftPanelDate.getFullYear() === state.rightPanelDate.getFullYear();
5340
5333
  if (v === 'date' && isSameYear && leftMonth === rightMonth) {
5341
- _changePanelDate('right', 'Month', 1);
5334
+ changePanelDate('right', 'Month', 1);
5342
5335
  }
5343
5336
  if (v === 'month' && isSameYear) {
5344
- _changePanelDate('right', 'FullYear', 1);
5337
+ changePanelDate('right', 'FullYear', 1);
5345
5338
  }
5346
5339
  if (v === 'year' && isSameYear) {
5347
- _changePanelDate('right', 'FullYear', 10);
5340
+ changePanelDate('right', 'FullYear', 10);
5348
5341
  }
5349
5342
  if (state.currentView === 'time') {
5350
5343
  (0,external_vue_.nextTick)(function () {