bkui-vue 2.0.2-beta.45 → 2.0.2-beta.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.
Files changed (157) hide show
  1. package/dist/index.cjs.js +47 -42
  2. package/dist/index.esm.js +7204 -7010
  3. package/dist/index.umd.js +50 -45
  4. package/lib/affix/index.js +12 -14
  5. package/lib/alert/index.js +12 -14
  6. package/lib/animate-number/index.js +11 -12
  7. package/lib/backtop/index.js +10 -11
  8. package/lib/badge/index.js +12 -14
  9. package/lib/breadcrumb/index.js +12 -14
  10. package/lib/button/index.js +12 -14
  11. package/lib/card/index.js +12 -14
  12. package/lib/cascader/index.js +94 -101
  13. package/lib/checkbox/index.js +37 -35
  14. package/lib/code-diff/index.js +1171 -675
  15. package/lib/collapse/index.js +44 -42
  16. package/lib/collapse-transition/index.js +3 -4
  17. package/lib/color-picker/index.js +59 -60
  18. package/lib/config-provider/index.js +12 -14
  19. package/lib/container/index.js +21 -25
  20. package/lib/date-picker/index.js +58 -51
  21. package/lib/dialog/index.js +53 -474
  22. package/lib/directives/index.js +37 -34
  23. package/lib/divider/index.js +2 -3
  24. package/lib/dropdown/index.js +17 -21
  25. package/lib/exception/index.js +14 -17
  26. package/lib/fixed-navbar/index.js +2 -3
  27. package/lib/form/index.js +37 -34
  28. package/lib/icon/angle-double-down-line.js +29 -36
  29. package/lib/icon/angle-double-left-line.js +29 -36
  30. package/lib/icon/angle-double-left.js +29 -36
  31. package/lib/icon/angle-double-right-line.js +29 -36
  32. package/lib/icon/angle-double-right.js +29 -36
  33. package/lib/icon/angle-double-up-line.js +29 -36
  34. package/lib/icon/angle-down-fill.js +29 -36
  35. package/lib/icon/angle-down-line.js +29 -36
  36. package/lib/icon/angle-down.js +29 -36
  37. package/lib/icon/angle-left.js +29 -36
  38. package/lib/icon/angle-right.js +29 -36
  39. package/lib/icon/angle-up-fill.js +29 -36
  40. package/lib/icon/angle-up.js +29 -36
  41. package/lib/icon/archive-fill.js +29 -36
  42. package/lib/icon/arrows-left.js +29 -36
  43. package/lib/icon/arrows-right.js +29 -36
  44. package/lib/icon/assistant.js +29 -36
  45. package/lib/icon/audio-fill.js +29 -36
  46. package/lib/icon/bk.js +29 -36
  47. package/lib/icon/circle.js +29 -36
  48. package/lib/icon/close-line.js +29 -36
  49. package/lib/icon/close.js +29 -36
  50. package/lib/icon/code.js +29 -36
  51. package/lib/icon/cog-shape.js +29 -36
  52. package/lib/icon/collapse-left.js +29 -36
  53. package/lib/icon/copy-shape.js +29 -36
  54. package/lib/icon/copy.js +29 -36
  55. package/lib/icon/data-shape.js +29 -36
  56. package/lib/icon/del.js +29 -36
  57. package/lib/icon/doc-fill.js +29 -36
  58. package/lib/icon/done.js +29 -36
  59. package/lib/icon/down-shape.js +29 -36
  60. package/lib/icon/down-small.js +29 -36
  61. package/lib/icon/edit-line.js +29 -36
  62. package/lib/icon/ellipsis.js +29 -36
  63. package/lib/icon/enlarge-line.js +29 -36
  64. package/lib/icon/error.js +29 -36
  65. package/lib/icon/excel-fill.js +29 -36
  66. package/lib/icon/exclamation-circle-shape.js +29 -36
  67. package/lib/icon/eye.js +29 -36
  68. package/lib/icon/filliscreen-line.js +29 -36
  69. package/lib/icon/fix-line.js +29 -36
  70. package/lib/icon/fix-shape.js +29 -36
  71. package/lib/icon/folder-open.js +29 -36
  72. package/lib/icon/folder-shape-open.js +29 -36
  73. package/lib/icon/folder-shape.js +29 -36
  74. package/lib/icon/folder.js +29 -36
  75. package/lib/icon/funnel.js +29 -36
  76. package/lib/icon/grag-fill.js +29 -36
  77. package/lib/icon/help-document-fill.js +29 -36
  78. package/lib/icon/help-fill.js +29 -36
  79. package/lib/icon/help.js +29 -36
  80. package/lib/icon/image-fill.js +29 -36
  81. package/lib/icon/img-error.js +29 -36
  82. package/lib/icon/img-placehoulder.js +29 -36
  83. package/lib/icon/info-line.js +29 -36
  84. package/lib/icon/info.js +29 -36
  85. package/lib/icon/left-shape.js +29 -36
  86. package/lib/icon/left-turn-line.js +29 -36
  87. package/lib/icon/loading.js +29 -36
  88. package/lib/icon/narrow-line.js +29 -36
  89. package/lib/icon/original.js +29 -36
  90. package/lib/icon/pdf-fill.js +29 -36
  91. package/lib/icon/play-shape.js +29 -36
  92. package/lib/icon/plus.js +29 -36
  93. package/lib/icon/ppt-fill.js +29 -36
  94. package/lib/icon/qq.js +29 -36
  95. package/lib/icon/right-shape.js +29 -36
  96. package/lib/icon/right-turn-line.js +29 -36
  97. package/lib/icon/search.js +29 -36
  98. package/lib/icon/share.js +29 -36
  99. package/lib/icon/spinner.js +29 -36
  100. package/lib/icon/success.js +29 -36
  101. package/lib/icon/switcher-loading.js +29 -36
  102. package/lib/icon/text-all.js +29 -36
  103. package/lib/icon/text-file.js +29 -36
  104. package/lib/icon/text-fill.js +29 -36
  105. package/lib/icon/transfer.js +29 -36
  106. package/lib/icon/tree-application-shape.js +29 -36
  107. package/lib/icon/unfull-screen.js +29 -36
  108. package/lib/icon/unvisible.js +29 -36
  109. package/lib/icon/up-shape.js +29 -36
  110. package/lib/icon/upload.js +29 -36
  111. package/lib/icon/video-fill.js +29 -36
  112. package/lib/icon/warn.js +29 -36
  113. package/lib/icon/weixin-pro.js +29 -36
  114. package/lib/icon/weixin.js +29 -36
  115. package/lib/image/index.js +49 -47
  116. package/lib/index.js +1 -1
  117. package/lib/info-box/index.js +62 -461
  118. package/lib/input/index.js +62 -60
  119. package/lib/link/index.js +2 -2
  120. package/lib/loading/index.js +22 -25
  121. package/lib/menu/index.js +36 -34
  122. package/lib/message/index.js +34 -31
  123. package/lib/modal/index.js +12 -14
  124. package/lib/navigation/index.js +7 -9
  125. package/lib/notify/index.js +12 -14
  126. package/lib/overflow-title/index.js +9 -10
  127. package/lib/pagination/index.js +32 -29
  128. package/lib/pop-confirm/index.js +4 -5
  129. package/lib/popover/index.js +209 -136
  130. package/lib/popover2/index.js +2 -2
  131. package/lib/process/index.js +59 -452
  132. package/lib/progress/index.js +16 -19
  133. package/lib/radio/index.js +37 -34
  134. package/lib/rate/index.js +12 -14
  135. package/lib/resize-layout/index.js +18 -20
  136. package/lib/scrollbar/index.js +51 -58
  137. package/lib/search-select/index.js +222 -595
  138. package/lib/select/index.js +111 -463
  139. package/lib/shared/index.js +83 -95
  140. package/lib/sideslider/index.js +43 -441
  141. package/lib/slider/index.js +49 -446
  142. package/lib/steps/index.js +60 -458
  143. package/lib/swiper/index.js +15 -17
  144. package/lib/switcher/index.js +12 -14
  145. package/lib/tab/index.d.ts +12 -0
  146. package/lib/tab/index.js +53 -45
  147. package/lib/tab/props.d.ts +3 -0
  148. package/lib/tab/tab.d.ts +6 -0
  149. package/lib/table/index.js +152 -501
  150. package/lib/tag/index.js +12 -14
  151. package/lib/tag-input/index.js +47 -41
  152. package/lib/timeline/index.js +1 -0
  153. package/lib/transfer/index.js +22 -17
  154. package/lib/tree/index.js +73 -66
  155. package/lib/upload/index.js +136 -487
  156. package/lib/virtual-render/index.js +47 -51
  157. package/package.json +1 -1
@@ -46,6 +46,7 @@ function _typeof(o) {
46
46
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
47
47
  }, _typeof(o);
48
48
  }
49
+
49
50
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
50
51
 
51
52
  function toPrimitive(t, r) {
@@ -58,33 +59,30 @@ function toPrimitive(t, r) {
58
59
  }
59
60
  return ("string" === r ? String : Number)(t);
60
61
  }
62
+
61
63
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
62
64
 
63
65
 
64
66
  function toPropertyKey(t) {
65
67
  var i = toPrimitive(t, "string");
66
- return "symbol" == _typeof(i) ? i : String(i);
68
+ return "symbol" == _typeof(i) ? i : i + "";
67
69
  }
70
+
68
71
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
69
72
 
70
- function _defineProperty(obj, key, value) {
71
- key = toPropertyKey(key);
72
- if (key in obj) {
73
- Object.defineProperty(obj, key, {
74
- value: value,
75
- enumerable: true,
76
- configurable: true,
77
- writable: true
78
- });
79
- } else {
80
- obj[key] = value;
81
- }
82
- return obj;
73
+ function _defineProperty(e, r, t) {
74
+ return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
75
+ value: t,
76
+ enumerable: !0,
77
+ configurable: !0,
78
+ writable: !0
79
+ }) : e[r] = t, e;
83
80
  }
81
+
84
82
  ;// CONCATENATED MODULE: external "vue"
85
83
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
86
84
  var external_vue_y = x => () => x
87
- const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["isVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isVNode });
85
+ const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["isVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isVNode });
88
86
  ;// CONCATENATED MODULE: external "../config-provider"
89
87
  var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
90
88
  var config_provider_y = x => () => x
@@ -273,9 +271,6 @@ var Line = function Line(_, _ref) {
273
271
  /* harmony default export */ const line = (Line);
274
272
  ;// CONCATENATED MODULE: ../../packages/progress/src/progress.tsx
275
273
 
276
-
277
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
278
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
279
274
  /*
280
275
  * Tencent is pleased to support the open source community by making
281
276
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -302,6 +297,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
302
297
  * IN THE SOFTWARE.
303
298
  */
304
299
 
300
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
301
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
305
302
 
306
303
 
307
304
 
@@ -333,7 +330,7 @@ var progressType = {
333
330
  verticalAlign: 'middle'
334
331
  })
335
332
  };
336
- /* harmony default export */ const progress = ((0,external_vue_namespaceObject.defineComponent)({
333
+ /* harmony default export */ const progress = (defineComponent({
337
334
  name: 'Progress',
338
335
  props: progressType,
339
336
  setup: function setup() {
@@ -50,6 +50,7 @@ function _typeof(o) {
50
50
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
51
51
  }, _typeof(o);
52
52
  }
53
+
53
54
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
54
55
 
55
56
  function toPrimitive(t, r) {
@@ -62,33 +63,31 @@ function toPrimitive(t, r) {
62
63
  }
63
64
  return ("string" === r ? String : Number)(t);
64
65
  }
66
+
65
67
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
66
68
 
67
69
 
68
70
  function toPropertyKey(t) {
69
71
  var i = toPrimitive(t, "string");
70
- return "symbol" == _typeof(i) ? i : String(i);
72
+ return "symbol" == _typeof(i) ? i : i + "";
71
73
  }
74
+
72
75
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
73
76
 
74
- function _defineProperty(obj, key, value) {
75
- key = toPropertyKey(key);
76
- if (key in obj) {
77
- Object.defineProperty(obj, key, {
78
- value: value,
79
- enumerable: true,
80
- configurable: true,
81
- writable: true
82
- });
83
- } else {
84
- obj[key] = value;
85
- }
86
- return obj;
77
+ function _defineProperty(e, r, t) {
78
+ return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
79
+ value: t,
80
+ enumerable: !0,
81
+ configurable: !0,
82
+ writable: !0
83
+ }) : e[r] = t, e;
87
84
  }
85
+
88
86
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
89
- function _arrayWithHoles(arr) {
90
- if (Array.isArray(arr)) return arr;
87
+ function _arrayWithHoles(r) {
88
+ if (Array.isArray(r)) return r;
91
89
  }
90
+
92
91
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
93
92
  function _iterableToArrayLimit(r, l) {
94
93
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
@@ -117,38 +116,42 @@ function _iterableToArrayLimit(r, l) {
117
116
  return a;
118
117
  }
119
118
  }
119
+
120
120
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
121
- function _arrayLikeToArray(arr, len) {
122
- if (len == null || len > arr.length) len = arr.length;
123
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
124
- return arr2;
121
+ function _arrayLikeToArray(r, a) {
122
+ (null == a || a > r.length) && (a = r.length);
123
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
124
+ return n;
125
125
  }
126
+
126
127
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
127
128
 
128
- function _unsupportedIterableToArray(o, minLen) {
129
- if (!o) return;
130
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
131
- var n = Object.prototype.toString.call(o).slice(8, -1);
132
- if (n === "Object" && o.constructor) n = o.constructor.name;
133
- if (n === "Map" || n === "Set") return Array.from(o);
134
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
129
+ function _unsupportedIterableToArray(r, a) {
130
+ if (r) {
131
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
132
+ var t = {}.toString.call(r).slice(8, -1);
133
+ 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;
134
+ }
135
135
  }
136
+
136
137
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
137
138
  function _nonIterableRest() {
138
139
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
139
140
  }
141
+
140
142
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js
141
143
 
142
144
 
143
145
 
144
146
 
145
- function _slicedToArray(arr, i) {
146
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
147
+ function _slicedToArray(r, e) {
148
+ return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
147
149
  }
150
+
148
151
  ;// CONCATENATED MODULE: external "vue"
149
152
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
150
153
  var external_vue_y = x => () => x
151
- const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["getCurrentInstance"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.getCurrentInstance, ["inject"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.inject, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["provide"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.provide, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch });
154
+ const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["getCurrentInstance"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.getCurrentInstance, ["inject"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.inject, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch });
152
155
  ;// CONCATENATED MODULE: external "vue-types"
153
156
  var external_vue_types_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
154
157
  var external_vue_types_y = x => () => x
@@ -553,7 +556,7 @@ var radioGroupProps = {
553
556
  return true;
554
557
  })
555
558
  };
556
- /* harmony default export */ const radio_group = ((0,external_vue_namespaceObject.defineComponent)({
559
+ /* harmony default export */ const radio_group = (defineComponent({
557
560
  name: 'RadioGroup',
558
561
  props: radioGroupProps,
559
562
  emits: {
@@ -586,13 +589,13 @@ var radioGroupProps = {
586
589
  context.emit('update:modelValue', nextValue);
587
590
  context.emit('change', nextValue);
588
591
  };
589
- (0,external_vue_namespaceObject.provide)(radioGroupKey, {
592
+ provide(radioGroupKey, {
590
593
  props: props,
591
594
  register: register,
592
595
  unregister: unregister,
593
596
  handleChange: handleChange
594
597
  });
595
- (0,external_vue_namespaceObject.watch)(function () {
598
+ watch(function () {
596
599
  return props.modelValue;
597
600
  }, function () {
598
601
  if (props.withValidate) {
@@ -600,7 +603,7 @@ var radioGroupProps = {
600
603
  formItem === null || formItem === void 0 || (_formItem$validate = formItem.validate) === null || _formItem$validate === void 0 || _formItem$validate.call(formItem, 'change');
601
604
  }
602
605
  });
603
- (0,external_vue_namespaceObject.onMounted)(function () {
606
+ onMounted(function () {
604
607
  if (props.modelValue === '') {
605
608
  return;
606
609
  }
package/lib/rate/index.js CHANGED
@@ -46,6 +46,7 @@ function _typeof(o) {
46
46
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
47
47
  }, _typeof(o);
48
48
  }
49
+
49
50
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
50
51
 
51
52
  function toPrimitive(t, r) {
@@ -58,29 +59,26 @@ function toPrimitive(t, r) {
58
59
  }
59
60
  return ("string" === r ? String : Number)(t);
60
61
  }
62
+
61
63
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
62
64
 
63
65
 
64
66
  function toPropertyKey(t) {
65
67
  var i = toPrimitive(t, "string");
66
- return "symbol" == _typeof(i) ? i : String(i);
68
+ return "symbol" == _typeof(i) ? i : i + "";
67
69
  }
70
+
68
71
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
69
72
 
70
- function _defineProperty(obj, key, value) {
71
- key = toPropertyKey(key);
72
- if (key in obj) {
73
- Object.defineProperty(obj, key, {
74
- value: value,
75
- enumerable: true,
76
- configurable: true,
77
- writable: true
78
- });
79
- } else {
80
- obj[key] = value;
81
- }
82
- return obj;
73
+ function _defineProperty(e, r, t) {
74
+ return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
75
+ value: t,
76
+ enumerable: !0,
77
+ configurable: !0,
78
+ writable: !0
79
+ }) : e[r] = t, e;
83
80
  }
81
+
84
82
  ;// CONCATENATED MODULE: external "vue"
85
83
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
86
84
  var external_vue_y = x => () => x
@@ -47,6 +47,7 @@ function _typeof(o) {
47
47
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
48
48
  }, _typeof(o);
49
49
  }
50
+
50
51
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
51
52
 
52
53
  function toPrimitive(t, r) {
@@ -59,29 +60,26 @@ function toPrimitive(t, r) {
59
60
  }
60
61
  return ("string" === r ? String : Number)(t);
61
62
  }
63
+
62
64
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
63
65
 
64
66
 
65
67
  function toPropertyKey(t) {
66
68
  var i = toPrimitive(t, "string");
67
- return "symbol" == _typeof(i) ? i : String(i);
69
+ return "symbol" == _typeof(i) ? i : i + "";
68
70
  }
71
+
69
72
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
70
73
 
71
- function _defineProperty(obj, key, value) {
72
- key = toPropertyKey(key);
73
- if (key in obj) {
74
- Object.defineProperty(obj, key, {
75
- value: value,
76
- enumerable: true,
77
- configurable: true,
78
- writable: true
79
- });
80
- } else {
81
- obj[key] = value;
82
- }
83
- return obj;
74
+ function _defineProperty(e, r, t) {
75
+ return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
76
+ value: t,
77
+ enumerable: !0,
78
+ configurable: !0,
79
+ writable: !0
80
+ }) : e[r] = t, e;
84
81
  }
82
+
85
83
  ;// CONCATENATED MODULE: external "vue"
86
84
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
87
85
  var external_vue_y = x => () => x
@@ -283,11 +281,11 @@ const icon_namespaceObject = icon_x({ ["AngleLeft"]: () => __WEBPACK_EXTERNAL_MO
283
281
  }
284
282
  resizingCallback(realValue);
285
283
  };
286
- var handleMouseUp = function handleMouseUp() {
284
+ var _handleMouseUp = function handleMouseUp() {
287
285
  resizeProxyRef.value.style.visibility = 'hidden';
288
286
  resizeMaskRef.value.style.display = 'none';
289
287
  document.removeEventListener('mousemove', handleMouseMove);
290
- document.removeEventListener('mouseup', handleMouseUp);
288
+ document.removeEventListener('mouseup', _handleMouseUp);
291
289
  document.onselectstart = null;
292
290
  document.ondragstart = null;
293
291
  (0,external_vue_namespaceObject.nextTick)(function () {
@@ -300,7 +298,7 @@ const icon_namespaceObject = icon_x({ ["AngleLeft"]: () => __WEBPACK_EXTERNAL_MO
300
298
  asideRef.value.style[cssPropKey.value] = resizeProxyRef.value.style[placement.value];
301
299
  };
302
300
  document.addEventListener('mousemove', handleMouseMove);
303
- document.addEventListener('mouseup', handleMouseUp);
301
+ document.addEventListener('mouseup', _handleMouseUp);
304
302
  };
305
303
  var setupAutoMinimize = function setupAutoMinimize() {
306
304
  if (!autoMinimize.value) {
@@ -335,12 +333,12 @@ const icon_namespaceObject = icon_x({ ["AngleLeft"]: () => __WEBPACK_EXTERNAL_MO
335
333
  }
336
334
  };
337
335
  var setupAsideListener = function setupAsideListener(visible) {
338
- var removeClass = function removeClass() {
336
+ var _removeClass = function removeClass() {
339
337
  asideContentVisible.value = visible;
340
338
  asideRef.value.style.transition = '';
341
- asideRef.value.removeEventListener('transitionend', removeClass);
339
+ asideRef.value.removeEventListener('transitionend', _removeClass);
342
340
  };
343
- asideRef.value.addEventListener('transitionend', removeClass);
341
+ asideRef.value.addEventListener('transitionend', _removeClass);
344
342
  asideRef.value.style.transition = "".concat(cssPropKey.value, " cubic-bezier(0.4, 0, 0.2, 1) .3s");
345
343
  };
346
344
  // 监听折叠状态变化
@@ -31,11 +31,10 @@ __webpack_require__.d(__webpack_exports__, {
31
31
  });
32
32
 
33
33
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/classCallCheck.js
34
- function _classCallCheck(instance, Constructor) {
35
- if (!(instance instanceof Constructor)) {
36
- throw new TypeError("Cannot call a class as a function");
37
- }
34
+ function _classCallCheck(a, n) {
35
+ if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
38
36
  }
37
+
39
38
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
40
39
  function _typeof(o) {
41
40
  "@babel/helpers - typeof";
@@ -46,6 +45,7 @@ function _typeof(o) {
46
45
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
47
46
  }, _typeof(o);
48
47
  }
48
+
49
49
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
50
50
 
51
51
  function toPrimitive(t, r) {
@@ -58,48 +58,40 @@ function toPrimitive(t, r) {
58
58
  }
59
59
  return ("string" === r ? String : Number)(t);
60
60
  }
61
+
61
62
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
62
63
 
63
64
 
64
65
  function toPropertyKey(t) {
65
66
  var i = toPrimitive(t, "string");
66
- return "symbol" == _typeof(i) ? i : String(i);
67
+ return "symbol" == _typeof(i) ? i : i + "";
67
68
  }
69
+
68
70
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/createClass.js
69
71
 
70
- function _defineProperties(target, props) {
71
- for (var i = 0; i < props.length; i++) {
72
- var descriptor = props[i];
73
- descriptor.enumerable = descriptor.enumerable || false;
74
- descriptor.configurable = true;
75
- if ("value" in descriptor) descriptor.writable = true;
76
- Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);
72
+ function _defineProperties(e, r) {
73
+ for (var t = 0; t < r.length; t++) {
74
+ var o = r[t];
75
+ o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o);
77
76
  }
78
77
  }
79
- function _createClass(Constructor, protoProps, staticProps) {
80
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
81
- if (staticProps) _defineProperties(Constructor, staticProps);
82
- Object.defineProperty(Constructor, "prototype", {
83
- writable: false
84
- });
85
- return Constructor;
78
+ function _createClass(e, r, t) {
79
+ return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
80
+ writable: !1
81
+ }), e;
86
82
  }
83
+
87
84
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
88
85
 
89
- function _defineProperty(obj, key, value) {
90
- key = toPropertyKey(key);
91
- if (key in obj) {
92
- Object.defineProperty(obj, key, {
93
- value: value,
94
- enumerable: true,
95
- configurable: true,
96
- writable: true
97
- });
98
- } else {
99
- obj[key] = value;
100
- }
101
- return obj;
86
+ function _defineProperty(e, r, t) {
87
+ return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
88
+ value: t,
89
+ enumerable: !0,
90
+ configurable: !0,
91
+ writable: !0
92
+ }) : e[r] = t, e;
102
93
  }
94
+
103
95
  ;// CONCATENATED MODULE: ../../packages/scrollbar/src/helper/dom.ts
104
96
  /*
105
97
  * Tencent is pleased to support the open source community by making
@@ -353,9 +345,10 @@ function updateCss(element, i) {
353
345
  });
354
346
  }
355
347
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
356
- function _arrayWithHoles(arr) {
357
- if (Array.isArray(arr)) return arr;
348
+ function _arrayWithHoles(r) {
349
+ if (Array.isArray(r)) return r;
358
350
  }
351
+
359
352
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
360
353
  function _iterableToArrayLimit(r, l) {
361
354
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
@@ -384,34 +377,38 @@ function _iterableToArrayLimit(r, l) {
384
377
  return a;
385
378
  }
386
379
  }
380
+
387
381
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
388
- function _arrayLikeToArray(arr, len) {
389
- if (len == null || len > arr.length) len = arr.length;
390
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
391
- return arr2;
382
+ function _arrayLikeToArray(r, a) {
383
+ (null == a || a > r.length) && (a = r.length);
384
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
385
+ return n;
392
386
  }
387
+
393
388
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
394
389
 
395
- function _unsupportedIterableToArray(o, minLen) {
396
- if (!o) return;
397
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
398
- var n = Object.prototype.toString.call(o).slice(8, -1);
399
- if (n === "Object" && o.constructor) n = o.constructor.name;
400
- if (n === "Map" || n === "Set") return Array.from(o);
401
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
390
+ function _unsupportedIterableToArray(r, a) {
391
+ if (r) {
392
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
393
+ var t = {}.toString.call(r).slice(8, -1);
394
+ 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;
395
+ }
402
396
  }
397
+
403
398
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
404
399
  function _nonIterableRest() {
405
400
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
406
401
  }
402
+
407
403
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js
408
404
 
409
405
 
410
406
 
411
407
 
412
- function _slicedToArray(arr, i) {
413
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
408
+ function _slicedToArray(r, e) {
409
+ return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
414
410
  }
411
+
415
412
  ;// CONCATENATED MODULE: ../../packages/scrollbar/src/helper/class-names.ts
416
413
 
417
414
 
@@ -1091,7 +1088,7 @@ var EventElement = /*#__PURE__*/function () {
1091
1088
  this.element = element;
1092
1089
  this.handlers = {};
1093
1090
  }
1094
- _createClass(EventElement, [{
1091
+ return _createClass(EventElement, [{
1095
1092
  key: "bind",
1096
1093
  value: function bind(eventName, handler) {
1097
1094
  if (typeof this.handlers[eventName] === 'undefined') {
@@ -1128,14 +1125,13 @@ var EventElement = /*#__PURE__*/function () {
1128
1125
  });
1129
1126
  }
1130
1127
  }]);
1131
- return EventElement;
1132
1128
  }();
1133
1129
  var EventManager = /*#__PURE__*/function () {
1134
1130
  function EventManager() {
1135
1131
  _classCallCheck(this, EventManager);
1136
1132
  this.eventElements = [];
1137
1133
  }
1138
- _createClass(EventManager, [{
1134
+ return _createClass(EventManager, [{
1139
1135
  key: "eventElement",
1140
1136
  value: function eventElement(element) {
1141
1137
  var ee = this.eventElements.filter(function (ee) {
@@ -1174,14 +1170,13 @@ var EventManager = /*#__PURE__*/function () {
1174
1170
  key: "once",
1175
1171
  value: function once(element, eventName, handler) {
1176
1172
  var ee = this.eventElement(element);
1177
- var onceHandler = function onceHandler(evt) {
1178
- ee.unbind(eventName, onceHandler);
1173
+ var _onceHandler = function onceHandler(evt) {
1174
+ ee.unbind(eventName, _onceHandler);
1179
1175
  handler(evt);
1180
1176
  };
1181
- ee.bind(eventName, onceHandler);
1177
+ ee.bind(eventName, _onceHandler);
1182
1178
  }
1183
1179
  }]);
1184
- return EventManager;
1185
1180
  }();
1186
1181
 
1187
1182
  ;// CONCATENATED MODULE: ../../packages/scrollbar/src/process-scroll-diff.ts
@@ -1402,7 +1397,7 @@ var VirtualElement = /*#__PURE__*/function () {
1402
1397
  }
1403
1398
  });
1404
1399
  }
1405
- _createClass(VirtualElement, [{
1400
+ return _createClass(VirtualElement, [{
1406
1401
  key: "handleScrollChanged",
1407
1402
  value: function handleScrollChanged(prop) {
1408
1403
  if (['scrollLeft', 'scrollTop'].includes(prop)) {
@@ -1426,7 +1421,6 @@ var VirtualElement = /*#__PURE__*/function () {
1426
1421
  this.delegateElement.scrollTo(x, y);
1427
1422
  }
1428
1423
  }]);
1429
- return VirtualElement;
1430
1424
  }();
1431
1425
  // 自定义滚动条类
1432
1426
  var BkScrollbar = /*#__PURE__*/function () {
@@ -1555,7 +1549,7 @@ var BkScrollbar = /*#__PURE__*/function () {
1555
1549
  /**
1556
1550
  * 更新滚动条
1557
1551
  */
1558
- _createClass(BkScrollbar, [{
1552
+ return _createClass(BkScrollbar, [{
1559
1553
  key: "update",
1560
1554
  value: function update(virtaulElement) {
1561
1555
  if (!this.isAlive) {
@@ -1652,7 +1646,6 @@ var BkScrollbar = /*#__PURE__*/function () {
1652
1646
  }).join(' ');
1653
1647
  }
1654
1648
  }]);
1655
- return BkScrollbar;
1656
1649
  }();
1657
1650
 
1658
1651
  var __webpack_exports__IScrollbarSize = __webpack_exports__.IScrollbarSize;