bkui-vue 1.0.3-beta.60.scrollbar.4 → 1.0.3-beta.60.scrollbar.5

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 (150) hide show
  1. package/dist/index.cjs.js +29 -29
  2. package/dist/index.esm.js +2584 -2585
  3. package/dist/index.umd.js +30 -30
  4. package/lib/affix/index.js +1 -1
  5. package/lib/alert/index.js +1 -1
  6. package/lib/animate-number/index.js +7 -8
  7. package/lib/badge/index.js +1 -1
  8. package/lib/breadcrumb/index.js +1 -1
  9. package/lib/button/index.js +1 -1
  10. package/lib/card/index.js +1 -1
  11. package/lib/cascader/index.js +38 -42
  12. package/lib/checkbox/index.js +6 -7
  13. package/lib/collapse/index.js +11 -12
  14. package/lib/collapse-transition/index.js +3 -4
  15. package/lib/color-picker/index.js +10 -13
  16. package/lib/config-provider/index.js +1 -1
  17. package/lib/container/index.js +10 -12
  18. package/lib/date-picker/index.js +1 -1
  19. package/lib/dialog/index.js +4 -4
  20. package/lib/directives/index.js +1 -1
  21. package/lib/divider/index.js +2 -3
  22. package/lib/dropdown/index.js +6 -8
  23. package/lib/exception/index.js +1 -1
  24. package/lib/fixed-navbar/index.js +2 -3
  25. package/lib/form/index.js +1 -1
  26. package/lib/icon/angle-double-down-line.js +1 -1
  27. package/lib/icon/angle-double-left-line.js +1 -1
  28. package/lib/icon/angle-double-left.js +1 -1
  29. package/lib/icon/angle-double-right-line.js +1 -1
  30. package/lib/icon/angle-double-right.js +1 -1
  31. package/lib/icon/angle-double-up-line.js +1 -1
  32. package/lib/icon/angle-down-fill.js +1 -1
  33. package/lib/icon/angle-down-line.js +1 -1
  34. package/lib/icon/angle-down.js +1 -1
  35. package/lib/icon/angle-left.js +1 -1
  36. package/lib/icon/angle-right.js +1 -1
  37. package/lib/icon/angle-up-fill.js +1 -1
  38. package/lib/icon/angle-up.js +1 -1
  39. package/lib/icon/archive-fill.js +1 -1
  40. package/lib/icon/arrows-left.js +1 -1
  41. package/lib/icon/arrows-right.js +1 -1
  42. package/lib/icon/assistant.js +1 -1
  43. package/lib/icon/audio-fill.js +1 -1
  44. package/lib/icon/bk.js +1 -1
  45. package/lib/icon/circle.js +1 -1
  46. package/lib/icon/close-line.js +1 -1
  47. package/lib/icon/close.js +1 -1
  48. package/lib/icon/code.js +1 -1
  49. package/lib/icon/cog-shape.js +1 -1
  50. package/lib/icon/collapse-left.js +1 -1
  51. package/lib/icon/copy-shape.js +1 -1
  52. package/lib/icon/copy.js +1 -1
  53. package/lib/icon/data-shape.js +1 -1
  54. package/lib/icon/del.js +1 -1
  55. package/lib/icon/doc-fill.js +1 -1
  56. package/lib/icon/done.js +1 -1
  57. package/lib/icon/down-shape.js +1 -1
  58. package/lib/icon/down-small.js +1 -1
  59. package/lib/icon/edit-line.js +1 -1
  60. package/lib/icon/ellipsis.js +1 -1
  61. package/lib/icon/enlarge-line.js +1 -1
  62. package/lib/icon/error.js +1 -1
  63. package/lib/icon/excel-fill.js +1 -1
  64. package/lib/icon/exclamation-circle-shape.js +1 -1
  65. package/lib/icon/eye.js +1 -1
  66. package/lib/icon/filliscreen-line.js +1 -1
  67. package/lib/icon/fix-line.js +1 -1
  68. package/lib/icon/fix-shape.js +1 -1
  69. package/lib/icon/folder-open.js +1 -1
  70. package/lib/icon/folder-shape-open.js +1 -1
  71. package/lib/icon/folder-shape.js +1 -1
  72. package/lib/icon/folder.js +1 -1
  73. package/lib/icon/funnel.js +1 -1
  74. package/lib/icon/grag-fill.js +1 -1
  75. package/lib/icon/help-document-fill.js +1 -1
  76. package/lib/icon/help-fill.js +1 -1
  77. package/lib/icon/help.js +1 -1
  78. package/lib/icon/image-fill.js +1 -1
  79. package/lib/icon/img-error.js +1 -1
  80. package/lib/icon/img-placehoulder.js +1 -1
  81. package/lib/icon/info-line.js +1 -1
  82. package/lib/icon/info.js +1 -1
  83. package/lib/icon/left-shape.js +1 -1
  84. package/lib/icon/left-turn-line.js +1 -1
  85. package/lib/icon/loading.js +1 -1
  86. package/lib/icon/narrow-line.js +1 -1
  87. package/lib/icon/original.js +1 -1
  88. package/lib/icon/pdf-fill.js +1 -1
  89. package/lib/icon/play-shape.js +1 -1
  90. package/lib/icon/plus.js +1 -1
  91. package/lib/icon/ppt-fill.js +1 -1
  92. package/lib/icon/qq.js +1 -1
  93. package/lib/icon/right-shape.js +1 -1
  94. package/lib/icon/right-turn-line.js +1 -1
  95. package/lib/icon/search.js +1 -1
  96. package/lib/icon/share.js +1 -1
  97. package/lib/icon/spinner.js +1 -1
  98. package/lib/icon/success.js +1 -1
  99. package/lib/icon/switcher-loading.js +1 -1
  100. package/lib/icon/text-all.js +1 -1
  101. package/lib/icon/text-file.js +1 -1
  102. package/lib/icon/text-fill.js +1 -1
  103. package/lib/icon/transfer.js +1 -1
  104. package/lib/icon/tree-application-shape.js +1 -1
  105. package/lib/icon/unfull-screen.js +1 -1
  106. package/lib/icon/unvisible.js +1 -1
  107. package/lib/icon/up-shape.js +1 -1
  108. package/lib/icon/upload.js +1 -1
  109. package/lib/icon/video-fill.js +1 -1
  110. package/lib/icon/warn.js +1 -1
  111. package/lib/icon/weixin-pro.js +1 -1
  112. package/lib/icon/weixin.js +1 -1
  113. package/lib/image/index.js +10 -11
  114. package/lib/info-box/index.js +4 -4
  115. package/lib/input/index.js +4 -4
  116. package/lib/link/index.js +2 -2
  117. package/lib/loading/index.js +11 -12
  118. package/lib/menu/index.js +2 -3
  119. package/lib/message/index.js +1 -1
  120. package/lib/modal/index.js +4 -4
  121. package/lib/navigation/index.js +7 -9
  122. package/lib/notify/index.js +1 -1
  123. package/lib/overflow-title/index.js +9 -10
  124. package/lib/pagination/index.js +1 -1
  125. package/lib/plugin-popover/index.js +26 -30
  126. package/lib/pop-confirm/index.js +4 -5
  127. package/lib/popover/index.js +26 -30
  128. package/lib/popover2/index.js +2 -2
  129. package/lib/process/index.js +4 -4
  130. package/lib/progress/index.js +5 -6
  131. package/lib/radio/index.js +6 -7
  132. package/lib/rate/index.js +1 -1
  133. package/lib/resize-layout/index.js +1 -1
  134. package/lib/search-select/index.js +10 -13
  135. package/lib/select/index.js +4 -4
  136. package/lib/shared/index.js +5 -8
  137. package/lib/sideslider/index.js +4 -4
  138. package/lib/slider/index.js +19 -20
  139. package/lib/steps/index.js +4 -4
  140. package/lib/swiper/index.js +1 -1
  141. package/lib/switcher/index.js +1 -1
  142. package/lib/tab/index.js +3 -4
  143. package/lib/table/index.js +6 -8
  144. package/lib/table-column/index.js +1 -1
  145. package/lib/tag/index.js +1 -1
  146. package/lib/tag-input/index.js +3 -4
  147. package/lib/tree/index.js +10 -12
  148. package/lib/upload/index.js +4 -4
  149. package/lib/virtual-render/index.js +39 -126
  150. package/package.json +1 -4
@@ -43,7 +43,7 @@ const shared_namespaceObject = x({ ["PlacementEnum"]: () => __WEBPACK_EXTERNAL_M
43
43
  ;// CONCATENATED MODULE: external "vue"
44
44
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
45
45
  var external_vue_y = x => () => x
46
- const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["Teleport"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Teleport, ["Text"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Text, ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createApp"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createApp, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["isVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isVNode, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["toRefs"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRefs, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
46
+ const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createApp"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createApp, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["isVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isVNode, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
47
47
  ;// CONCATENATED MODULE: ../../packages/directives/src/clickoutside.ts
48
48
  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; } } }; }
49
49
  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); }
@@ -202,8 +202,7 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
202
202
  * IN THE SOFTWARE.
203
203
  */
204
204
 
205
-
206
- /* harmony default export */ const src_arrow = ((0,external_vue_namespaceObject.defineComponent)({
205
+ /* harmony default export */ const src_arrow = (defineComponent({
207
206
  name: 'PopArrow',
208
207
  render: function render() {
209
208
  var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
@@ -241,7 +240,7 @@ function toPrimitive(t, r) {
241
240
 
242
241
  function toPropertyKey(t) {
243
242
  var i = toPrimitive(t, "string");
244
- return "symbol" == _typeof(i) ? i : String(i);
243
+ return "symbol" == _typeof(i) ? i : i + "";
245
244
  }
246
245
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
247
246
 
@@ -335,8 +334,7 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
335
334
  */
336
335
 
337
336
 
338
-
339
- /* harmony default export */ const content = ((0,external_vue_namespaceObject.defineComponent)({
337
+ /* harmony default export */ const content = (defineComponent({
340
338
  name: 'PopContent',
341
339
  props: {
342
340
  width: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.string, shared_namespaceObject.PropTypes.number]).def('auto'),
@@ -354,7 +352,7 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
354
352
  }
355
353
  return val;
356
354
  };
357
- var style = (0,external_vue_namespaceObject.computed)(function () {
355
+ var style = computed(function () {
358
356
  return {
359
357
  width: resolveValToPix(props.width),
360
358
  height: resolveValToPix(props.height),
@@ -362,8 +360,8 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
362
360
  maxWidth: resolveValToPix(props.maxWidth)
363
361
  };
364
362
  });
365
- var refContent = (0,external_vue_namespaceObject.ref)(null);
366
- var refTimer = (0,external_vue_namespaceObject.ref)(null);
363
+ var refContent = ref(null);
364
+ var refTimer = ref(null);
367
365
  var resetPointerEvent = function resetPointerEvent() {
368
366
  var _props$eventDelay;
369
367
  if (props.eventDelay === 0) {
@@ -383,7 +381,7 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
383
381
  };
384
382
  var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
385
383
  resolveClassName = _usePrefix.resolveClassName;
386
- var contentClassName = (0,external_vue_namespaceObject.computed)(function () {
384
+ var contentClassName = computed(function () {
387
385
  return [resolveClassName('popover'), resolveClassName('pop2-content'), props.visible ? 'visible' : 'hidden', props.extCls];
388
386
  });
389
387
  return {
@@ -406,8 +404,8 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
406
404
  _this$$slots3;
407
405
  var resolveContentStyle = function resolveContentStyle(slot) {
408
406
  var _slot$;
409
- if (external_vue_namespaceObject.Fragment === (slot === null || slot === void 0 || (_slot$ = slot[0]) === null || _slot$ === void 0 ? void 0 : _slot$.type)) {
410
- (0,external_vue_namespaceObject.nextTick)(function () {
407
+ if (Fragment === (slot === null || slot === void 0 || (_slot$ = slot[0]) === null || _slot$ === void 0 ? void 0 : _slot$.type)) {
408
+ nextTick(function () {
411
409
  _this.setContentPointerEvent('none');
412
410
  _this.resetPointerEvent();
413
411
  });
@@ -582,8 +580,7 @@ var PopoverProps = {
582
580
  * IN THE SOFTWARE.
583
581
  */
584
582
 
585
-
586
- /* harmony default export */ const root = ((0,external_vue_namespaceObject.defineComponent)({
583
+ /* harmony default export */ const root = (defineComponent({
587
584
  props: {
588
585
  "class": shared_namespaceObject.PropTypes.string.def(''),
589
586
  mode: shared_namespaceObject.PropTypes.string.def('')
@@ -3563,11 +3560,10 @@ var parentNodeReferId = null;
3563
3560
 
3564
3561
 
3565
3562
 
3566
-
3567
3563
  function _isSlot(s) {
3568
3564
  return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !(0,external_vue_namespaceObject.isVNode)(s);
3569
3565
  }
3570
- /* harmony default export */ const popover = ((0,external_vue_namespaceObject.defineComponent)({
3566
+ /* harmony default export */ const popover = (defineComponent({
3571
3567
  name: 'Popover',
3572
3568
  components: {
3573
3569
  // eslint-disable-next-line vue/no-reserved-component-names
@@ -3581,13 +3577,13 @@ function _isSlot(s) {
3581
3577
  props: PopoverProps,
3582
3578
  emits: EMIT_EVENT_TYPES,
3583
3579
  setup: function setup(props, ctx) {
3584
- var _toRefs = (0,external_vue_namespaceObject.toRefs)(props),
3580
+ var _toRefs = toRefs(props),
3585
3581
  reference = _toRefs.reference;
3586
- var refDefaultReference = (0,external_vue_namespaceObject.ref)();
3587
- var refContent = (0,external_vue_namespaceObject.ref)();
3588
- var refArrow = (0,external_vue_namespaceObject.ref)();
3589
- var refRoot = (0,external_vue_namespaceObject.ref)();
3590
- var refReference = (0,external_vue_namespaceObject.computed)(function () {
3582
+ var refDefaultReference = ref();
3583
+ var refContent = ref();
3584
+ var refArrow = ref();
3585
+ var refRoot = ref();
3586
+ var refReference = computed(function () {
3591
3587
  return reference.value || refDefaultReference.value;
3592
3588
  });
3593
3589
  var _usePopoverInit = use_popover_init(props, ctx, {
@@ -3612,7 +3608,7 @@ function _isSlot(s) {
3612
3608
  localIsShow = _usePopoverInit.localIsShow,
3613
3609
  boundary = _usePopoverInit.boundary;
3614
3610
  if (!props.always && !props.disabled) {
3615
- (0,external_vue_namespaceObject.watch)(function () {
3611
+ watch(function () {
3616
3612
  return props.isShow;
3617
3613
  }, function () {
3618
3614
  props.isShow ? showPopover() : hidePopover();
@@ -3620,7 +3616,7 @@ function _isSlot(s) {
3620
3616
  immediate: true
3621
3617
  });
3622
3618
  }
3623
- (0,external_vue_namespaceObject.watch)(function () {
3619
+ watch(function () {
3624
3620
  return [props.disabled];
3625
3621
  }, function (val) {
3626
3622
  if (val[0]) {
@@ -3630,9 +3626,9 @@ function _isSlot(s) {
3630
3626
  }
3631
3627
  });
3632
3628
  updateBoundary();
3633
- (0,external_vue_namespaceObject.onMounted)(onMountedFn);
3634
- (0,external_vue_namespaceObject.onBeforeUnmount)(onUnmountedFn);
3635
- var transBoundary = (0,external_vue_namespaceObject.computed)(function () {
3629
+ onMounted(onMountedFn);
3630
+ onBeforeUnmount(onUnmountedFn);
3631
+ var transBoundary = computed(function () {
3636
3632
  return localIsShow.value && !props.disableTeleport;
3637
3633
  });
3638
3634
  var show = function show() {
@@ -3641,7 +3637,7 @@ function _isSlot(s) {
3641
3637
  var hide = function hide() {
3642
3638
  hideFn();
3643
3639
  };
3644
- var contentIsShow = (0,external_vue_namespaceObject.computed)(function () {
3640
+ var contentIsShow = computed(function () {
3645
3641
  if (props.renderType === shared_namespaceObject.RenderType.AUTO) {
3646
3642
  return true;
3647
3643
  }
@@ -3686,7 +3682,7 @@ function _isSlot(s) {
3686
3682
  _this$$slots3;
3687
3683
  var renderReferSlot = function renderReferSlot(slot) {
3688
3684
  var _slot$;
3689
- if (external_vue_namespaceObject.Text === (slot === null || slot === void 0 || (_slot$ = slot[0]) === null || _slot$ === void 0 ? void 0 : _slot$.type)) {
3685
+ if (Text === (slot === null || slot === void 0 || (_slot$ = slot[0]) === null || _slot$ === void 0 ? void 0 : _slot$.type)) {
3690
3686
  return (0,external_vue_namespaceObject.createVNode)("span", null, [slot]);
3691
3687
  }
3692
3688
  return slot;
@@ -3701,7 +3697,7 @@ function _isSlot(s) {
3701
3697
  "default": function _default() {
3702
3698
  return [_slot];
3703
3699
  }
3704
- }), (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Teleport, {
3700
+ }), (0,external_vue_namespaceObject.createVNode)(Teleport, {
3705
3701
  "to": _this.boundary,
3706
3702
  "disabled": !_this.transBoundary
3707
3703
  }, {
@@ -37,7 +37,7 @@ const shared_namespaceObject = x({ ["withInstall"]: () => __WEBPACK_EXTERNAL_MOD
37
37
  ;// CONCATENATED MODULE: external "vue"
38
38
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
39
39
  var external_vue_y = x => () => x
40
- const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent });
40
+ const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode });
41
41
  ;// CONCATENATED MODULE: ../../packages/popover2/src/popover.tsx
42
42
 
43
43
  /*
@@ -66,7 +66,7 @@ const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __W
66
66
  * IN THE SOFTWARE.
67
67
  */
68
68
 
69
- /* harmony default export */ const popover = ((0,external_vue_namespaceObject.defineComponent)({
69
+ /* harmony default export */ const popover = (defineComponent({
70
70
  name: 'Popover2',
71
71
  setup: function setup() {
72
72
  return function () {
@@ -119,7 +119,7 @@ function _regeneratorRuntime() {
119
119
  function makeInvokeMethod(e, r, n) {
120
120
  var o = h;
121
121
  return function (i, a) {
122
- if (o === f) throw new Error("Generator is already running");
122
+ if (o === f) throw Error("Generator is already running");
123
123
  if (o === s) {
124
124
  if ("throw" === i) throw a;
125
125
  return {
@@ -261,7 +261,7 @@ function _regeneratorRuntime() {
261
261
  } else if (c) {
262
262
  if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
263
263
  } else {
264
- if (!u) throw new Error("try statement without catch or finally");
264
+ if (!u) throw Error("try statement without catch or finally");
265
265
  if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
266
266
  }
267
267
  }
@@ -301,7 +301,7 @@ function _regeneratorRuntime() {
301
301
  return o;
302
302
  }
303
303
  }
304
- throw new Error("illegal catch attempt");
304
+ throw Error("illegal catch attempt");
305
305
  },
306
306
  delegateYield: function delegateYield(e, r, n) {
307
307
  return this.delegate = {
@@ -451,7 +451,7 @@ function toPrimitive(t, r) {
451
451
 
452
452
  function toPropertyKey(t) {
453
453
  var i = toPrimitive(t, "string");
454
- return "symbol" == _typeof(i) ? i : String(i);
454
+ return "symbol" == _typeof(i) ? i : i + "";
455
455
  }
456
456
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
457
457
 
@@ -63,7 +63,7 @@ function toPrimitive(t, r) {
63
63
 
64
64
  function toPropertyKey(t) {
65
65
  var i = toPrimitive(t, "string");
66
- return "symbol" == _typeof(i) ? i : String(i);
66
+ return "symbol" == _typeof(i) ? i : i + "";
67
67
  }
68
68
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
69
69
 
@@ -84,7 +84,7 @@ function _defineProperty(obj, key, value) {
84
84
  ;// CONCATENATED MODULE: external "vue"
85
85
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
86
86
  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 });
87
+ const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["isVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isVNode });
88
88
  ;// CONCATENATED MODULE: external "../config-provider"
89
89
  var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
90
90
  var config_provider_y = x => () => x
@@ -273,9 +273,6 @@ var Line = function Line(_, _ref) {
273
273
  /* harmony default export */ const line = (Line);
274
274
  ;// CONCATENATED MODULE: ../../packages/progress/src/progress.tsx
275
275
 
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
276
  /*
280
277
  * Tencent is pleased to support the open source community by making
281
278
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -302,6 +299,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
302
299
  * IN THE SOFTWARE.
303
300
  */
304
301
 
302
+ 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; }
303
+ 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
304
 
306
305
 
307
306
 
@@ -333,7 +332,7 @@ var progressType = {
333
332
  verticalAlign: 'middle'
334
333
  })
335
334
  };
336
- /* harmony default export */ const progress = ((0,external_vue_namespaceObject.defineComponent)({
335
+ /* harmony default export */ const progress = (defineComponent({
337
336
  // eslint-disable-next-line vue/no-reserved-component-names
338
337
  name: 'Progress',
339
338
  props: progressType,
@@ -66,7 +66,7 @@ function toPrimitive(t, r) {
66
66
 
67
67
  function toPropertyKey(t) {
68
68
  var i = toPrimitive(t, "string");
69
- return "symbol" == _typeof(i) ? i : String(i);
69
+ return "symbol" == _typeof(i) ? i : i + "";
70
70
  }
71
71
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
72
72
 
@@ -147,7 +147,7 @@ function _slicedToArray(arr, i) {
147
147
  ;// CONCATENATED MODULE: external "vue"
148
148
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
149
149
  var external_vue_y = x => () => x
150
- 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 });
150
+ 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 });
151
151
  ;// CONCATENATED MODULE: external "../config-provider"
152
152
  var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
153
153
  var config_provider_y = x => () => x
@@ -515,7 +515,6 @@ var radioButtonProps = {
515
515
 
516
516
 
517
517
 
518
-
519
518
  var radioGroupProps = {
520
519
  name: shared_namespaceObject.PropTypes.string.def(''),
521
520
  modelValue: shared_namespaceObject.PropTypes.oneOfType([String, Number, Boolean]),
@@ -524,7 +523,7 @@ var radioGroupProps = {
524
523
  type: shared_namespaceObject.PropTypes.oneOf(['tab', 'capsule', 'card']).def('tab'),
525
524
  size: shared_namespaceObject.PropTypes.size()
526
525
  };
527
- /* harmony default export */ const radio_group = ((0,external_vue_namespaceObject.defineComponent)({
526
+ /* harmony default export */ const radio_group = (defineComponent({
528
527
  name: 'RadioGroup',
529
528
  props: radioGroupProps,
530
529
  emits: {
@@ -557,13 +556,13 @@ var radioGroupProps = {
557
556
  context.emit('update:modelValue', nextValue);
558
557
  context.emit('change', nextValue);
559
558
  };
560
- (0,external_vue_namespaceObject.provide)(radioGroupKey, {
559
+ provide(radioGroupKey, {
561
560
  props: props,
562
561
  register: register,
563
562
  unregister: unregister,
564
563
  handleChange: handleChange
565
564
  });
566
- (0,external_vue_namespaceObject.watch)(function () {
565
+ watch(function () {
567
566
  return props.modelValue;
568
567
  }, function () {
569
568
  if (props.withValidate) {
@@ -571,7 +570,7 @@ var radioGroupProps = {
571
570
  formItem === null || formItem === void 0 || (_formItem$validate = formItem.validate) === null || _formItem$validate === void 0 || _formItem$validate.call(formItem, 'change');
572
571
  }
573
572
  });
574
- (0,external_vue_namespaceObject.onMounted)(function () {
573
+ onMounted(function () {
575
574
  if (props.modelValue === '') {
576
575
  return;
577
576
  }
package/lib/rate/index.js CHANGED
@@ -63,7 +63,7 @@ function toPrimitive(t, r) {
63
63
 
64
64
  function toPropertyKey(t) {
65
65
  var i = toPrimitive(t, "string");
66
- return "symbol" == _typeof(i) ? i : String(i);
66
+ return "symbol" == _typeof(i) ? i : i + "";
67
67
  }
68
68
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
69
69
 
@@ -64,7 +64,7 @@ function toPrimitive(t, r) {
64
64
 
65
65
  function toPropertyKey(t) {
66
66
  var i = toPrimitive(t, "string");
67
- return "symbol" == _typeof(i) ? i : String(i);
67
+ return "symbol" == _typeof(i) ? i : i + "";
68
68
  }
69
69
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
70
70
 
@@ -126,7 +126,7 @@ function _regeneratorRuntime() {
126
126
  function makeInvokeMethod(e, r, n) {
127
127
  var o = h;
128
128
  return function (i, a) {
129
- if (o === f) throw new Error("Generator is already running");
129
+ if (o === f) throw Error("Generator is already running");
130
130
  if (o === s) {
131
131
  if ("throw" === i) throw a;
132
132
  return {
@@ -268,7 +268,7 @@ function _regeneratorRuntime() {
268
268
  } else if (c) {
269
269
  if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
270
270
  } else {
271
- if (!u) throw new Error("try statement without catch or finally");
271
+ if (!u) throw Error("try statement without catch or finally");
272
272
  if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
273
273
  }
274
274
  }
@@ -308,7 +308,7 @@ function _regeneratorRuntime() {
308
308
  return o;
309
309
  }
310
310
  }
311
- throw new Error("illegal catch attempt");
311
+ throw Error("illegal catch attempt");
312
312
  },
313
313
  delegateYield: function delegateYield(e, r, n) {
314
314
  return this.delegate = {
@@ -459,7 +459,7 @@ function toPrimitive(t, r) {
459
459
 
460
460
  function toPropertyKey(t) {
461
461
  var i = toPrimitive(t, "string");
462
- return "symbol" == _typeof(i) ? i : String(i);
462
+ return "symbol" == _typeof(i) ? i : i + "";
463
463
  }
464
464
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
465
465
 
@@ -961,7 +961,7 @@ var SelectedItem = /*#__PURE__*/function () {
961
961
  this.name = searchItem.name;
962
962
  this.logical = searchItem.logical || SearchLogical.OR;
963
963
  }
964
- _createClass(SelectedItem, [{
964
+ return _createClass(SelectedItem, [{
965
965
  key: "multiple",
966
966
  get: function get() {
967
967
  return !!this.searchItem.multiple;
@@ -1074,7 +1074,6 @@ var SelectedItem = /*#__PURE__*/function () {
1074
1074
  });
1075
1075
  }
1076
1076
  }]);
1077
- return SelectedItem;
1078
1077
  }();
1079
1078
  ;// CONCATENATED MODULE: ../../packages/search-select/src/menu.tsx
1080
1079
 
@@ -1107,10 +1106,9 @@ var SelectedItem = /*#__PURE__*/function () {
1107
1106
 
1108
1107
 
1109
1108
 
1110
-
1111
1109
  // import { Done } from '@bkui-vue/icon';
1112
1110
 
1113
- /* harmony default export */ const menu = ((0,external_vue_namespaceObject.defineComponent)({
1111
+ /* harmony default export */ const menu = (defineComponent({
1114
1112
  name: 'SearchSelectMenu',
1115
1113
  props: {
1116
1114
  list: {
@@ -1155,7 +1153,7 @@ var SelectedItem = /*#__PURE__*/function () {
1155
1153
  var t = (0,config_provider_namespaceObject.useLocale)('searchSelect');
1156
1154
  var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
1157
1155
  resolveClassName = _usePrefix.resolveClassName;
1158
- var localFooterBtns = (0,external_vue_namespaceObject.computed)(function () {
1156
+ var localFooterBtns = computed(function () {
1159
1157
  if (props.footerBtns === undefined || props.footerBtns.length === 0) {
1160
1158
  return [{
1161
1159
  id: 'confirm',
@@ -1178,7 +1176,7 @@ var SelectedItem = /*#__PURE__*/function () {
1178
1176
  function handleClickFooterBtn(item) {
1179
1177
  emit('footerClick', item);
1180
1178
  }
1181
- var filterList = (0,external_vue_namespaceObject.computed)(function () {
1179
+ var filterList = computed(function () {
1182
1180
  var _props$list, _props$keyword;
1183
1181
  if (!((_props$list = props.list) !== null && _props$list !== void 0 && _props$list.length)) return [];
1184
1182
  if (!((_props$keyword = props.keyword) !== null && _props$keyword !== void 0 && _props$keyword.length)) return props.list;
@@ -2205,8 +2203,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
2205
2203
 
2206
2204
 
2207
2205
 
2208
-
2209
- /* harmony default export */ const selected = ((0,external_vue_namespaceObject.defineComponent)({
2206
+ /* harmony default export */ const selected = (defineComponent({
2210
2207
  name: 'SearchSelected',
2211
2208
  props: {
2212
2209
  data: {
@@ -2234,7 +2231,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
2234
2231
  emits: ['delete'],
2235
2232
  setup: function setup(_props, _ref) {
2236
2233
  var emit = _ref.emit;
2237
- var inputRef = (0,external_vue_namespaceObject.ref)(null);
2234
+ var inputRef = ref(null);
2238
2235
  var _useSearchSelectInjec = useSearchSelectInject(),
2239
2236
  onEditClick = _useSearchSelectInjec.onEditClick,
2240
2237
  onEditEnter = _useSearchSelectInjec.onEditEnter,
@@ -135,7 +135,7 @@ function _regeneratorRuntime() {
135
135
  function makeInvokeMethod(e, r, n) {
136
136
  var o = h;
137
137
  return function (i, a) {
138
- if (o === f) throw new Error("Generator is already running");
138
+ if (o === f) throw Error("Generator is already running");
139
139
  if (o === s) {
140
140
  if ("throw" === i) throw a;
141
141
  return {
@@ -277,7 +277,7 @@ function _regeneratorRuntime() {
277
277
  } else if (c) {
278
278
  if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
279
279
  } else {
280
- if (!u) throw new Error("try statement without catch or finally");
280
+ if (!u) throw Error("try statement without catch or finally");
281
281
  if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
282
282
  }
283
283
  }
@@ -317,7 +317,7 @@ function _regeneratorRuntime() {
317
317
  return o;
318
318
  }
319
319
  }
320
- throw new Error("illegal catch attempt");
320
+ throw Error("illegal catch attempt");
321
321
  },
322
322
  delegateYield: function delegateYield(e, r, n) {
323
323
  return this.delegate = {
@@ -470,7 +470,7 @@ function toPrimitive(t, r) {
470
470
 
471
471
  function toPropertyKey(t) {
472
472
  var i = toPrimitive(t, "string");
473
- return "symbol" == _typeof(i) ? i : String(i);
473
+ return "symbol" == _typeof(i) ? i : i + "";
474
474
  }
475
475
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
476
476
 
@@ -625,7 +625,7 @@ function toPrimitive(t, r) {
625
625
 
626
626
  function toPropertyKey(t) {
627
627
  var i = toPrimitive(t, "string");
628
- return "symbol" == _typeof(i) ? i : String(i);
628
+ return "symbol" == _typeof(i) ? i : i + "";
629
629
  }
630
630
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/createClass.js
631
631
 
@@ -848,7 +848,7 @@ var BKPopover = /*#__PURE__*/function () {
848
848
  }
849
849
  // Synchronously updates the popper instance. Use this for low-frequency
850
850
  // updates.
851
- _createClass(BKPopover, [{
851
+ return _createClass(BKPopover, [{
852
852
  key: "forceUpdate",
853
853
  value: function forceUpdate() {
854
854
  var _this$instance;
@@ -1143,7 +1143,6 @@ var BKPopover = /*#__PURE__*/function () {
1143
1143
  return source && (source === target || source === target.firstElementChild);
1144
1144
  }
1145
1145
  }]);
1146
- return BKPopover;
1147
1146
  }();
1148
1147
  var popContainerId = null;
1149
1148
  var getPopContainerId = function getPopContainerId() {
@@ -1613,12 +1612,12 @@ function InputBehaviorType() {
1613
1612
  return (0,external_vue_types_namespaceObject.toType)('behavior', {}).def(InputBehaviorEnum.NORMAL);
1614
1613
  }
1615
1614
  var PropTypes = /*#__PURE__*/function (_propTypesNS) {
1616
- _inherits(PropTypes, _propTypesNS);
1617
1615
  function PropTypes() {
1618
1616
  _classCallCheck(this, PropTypes);
1619
1617
  return _callSuper(this, PropTypes, arguments);
1620
1618
  }
1621
- _createClass(PropTypes, null, [{
1619
+ _inherits(PropTypes, _propTypesNS);
1620
+ return _createClass(PropTypes, null, [{
1622
1621
  key: "size",
1623
1622
  value: function size() {
1624
1623
  var defaultList = ['small', 'default', 'large', 'huge'];
@@ -1711,7 +1710,6 @@ var PropTypes = /*#__PURE__*/function (_propTypesNS) {
1711
1710
  });
1712
1711
  }
1713
1712
  }]);
1714
- return PropTypes;
1715
1713
  }(propTypesNS);
1716
1714
  var SelectedTypeEnum;
1717
1715
  (function (SelectedTypeEnum) {
@@ -1785,7 +1783,7 @@ var BKZIndexManager = /*#__PURE__*/function () {
1785
1783
  * @param type
1786
1784
  * @returns
1787
1785
  */
1788
- _createClass(BKZIndexManager, [{
1786
+ return _createClass(BKZIndexManager, [{
1789
1787
  key: "getNextIndex",
1790
1788
  value: function getNextIndex(type) {
1791
1789
  if (Object.prototype.hasOwnProperty.call(this.storageLayerIndexValue, type)) {
@@ -1869,7 +1867,6 @@ var BKZIndexManager = /*#__PURE__*/function () {
1869
1867
  this.storageLayerIndexValue = Object.create(BKLAYERD_INDEX_EFAULT_VALUE, properties);
1870
1868
  }
1871
1869
  }]);
1872
- return BKZIndexManager;
1873
1870
  }();
1874
1871
  var bkZIndexManager = new BKZIndexManager();
1875
1872
  ;// CONCATENATED MODULE: ../../packages/shared/src/mask.ts
@@ -120,7 +120,7 @@ function _regeneratorRuntime() {
120
120
  function makeInvokeMethod(e, r, n) {
121
121
  var o = h;
122
122
  return function (i, a) {
123
- if (o === f) throw new Error("Generator is already running");
123
+ if (o === f) throw Error("Generator is already running");
124
124
  if (o === s) {
125
125
  if ("throw" === i) throw a;
126
126
  return {
@@ -262,7 +262,7 @@ function _regeneratorRuntime() {
262
262
  } else if (c) {
263
263
  if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
264
264
  } else {
265
- if (!u) throw new Error("try statement without catch or finally");
265
+ if (!u) throw Error("try statement without catch or finally");
266
266
  if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
267
267
  }
268
268
  }
@@ -302,7 +302,7 @@ function _regeneratorRuntime() {
302
302
  return o;
303
303
  }
304
304
  }
305
- throw new Error("illegal catch attempt");
305
+ throw Error("illegal catch attempt");
306
306
  },
307
307
  delegateYield: function delegateYield(e, r, n) {
308
308
  return this.delegate = {
@@ -483,7 +483,7 @@ function toPrimitive(t, r) {
483
483
 
484
484
  function toPropertyKey(t) {
485
485
  var i = toPrimitive(t, "string");
486
- return "symbol" == _typeof(i) ? i : String(i);
486
+ return "symbol" == _typeof(i) ? i : i + "";
487
487
  }
488
488
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
489
489