bkui-vue 2.0.1-beta.21 → 2.0.1-beta.23

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.
@@ -507,7 +507,7 @@ const config_provider_namespaceObject = config_provider_x({ ["useLocale"]: () =>
507
507
  ;// CONCATENATED MODULE: external "../icon"
508
508
  var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
509
509
  var icon_y = x => () => x
510
- const icon_namespaceObject = icon_x({ ["AngleUp"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleUp, ["AngleUpFill"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleUpFill, ["Close"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Close, ["Done"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Done, ["Search"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Search, ["TextAll"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.TextAll });
510
+ const icon_namespaceObject = icon_x({ ["AngleDown"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleDown, ["AngleUpFill"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleUpFill, ["Close"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Close, ["Done"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Done, ["Search"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Search, ["TextAll"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.TextAll });
511
511
  ;// CONCATENATED MODULE: external "lodash/isEqual"
512
512
  var isEqual_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
513
513
  var isEqual_y = x => () => x
@@ -3405,7 +3405,9 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
3405
3405
  render: function render() {
3406
3406
  var _this = this;
3407
3407
  var selectClass = (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(this.resolveClassName('select')), true), 'popover-show', this.isPopoverShow), 'is-disabled', this.isDisabled), 'is-focus', this.isFocus), 'is-filterable', this.filterable), this.size, true), this.behavior, true));
3408
+ // 右侧ICON
3408
3409
  var suffixIcon = function suffixIcon() {
3410
+ var _this$$slots, _this$$slots2, _this$$slots2$suffix;
3409
3411
  if (_this.loading) {
3410
3412
  return (0,external_vue_namespaceObject.createVNode)(loading_namespaceObject["default"], {
3411
3413
  "class": "spinner",
@@ -3421,12 +3423,14 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
3421
3423
  "onClick": _this.handleClear
3422
3424
  }, null);
3423
3425
  }
3424
- return (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.AngleUp, {
3425
- "class": "angle-up"
3426
+ return (_this$$slots = _this.$slots) !== null && _this$$slots !== void 0 && _this$$slots.suffix ? (0,external_vue_namespaceObject.createVNode)("span", {
3427
+ "class": "angle-down"
3428
+ }, [(_this$$slots2 = _this.$slots) === null || _this$$slots2 === void 0 || (_this$$slots2$suffix = _this$$slots2.suffix) === null || _this$$slots2$suffix === void 0 ? void 0 : _this$$slots2$suffix.call(_this$$slots2)]) : (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.AngleDown, {
3429
+ "class": "angle-down"
3426
3430
  }, null);
3427
3431
  };
3428
3432
  var renderPrefix = function renderPrefix() {
3429
- var _this$$slots;
3433
+ var _this$$slots3;
3430
3434
  if (_this.prefix) {
3431
3435
  return function () {
3432
3436
  return (0,external_vue_namespaceObject.createVNode)("div", {
@@ -3434,9 +3438,9 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
3434
3438
  }, [(0,external_vue_namespaceObject.createVNode)("span", null, [_this.prefix])]);
3435
3439
  };
3436
3440
  }
3437
- return (_this$$slots = _this.$slots) !== null && _this$$slots !== void 0 && _this$$slots.prefix ? function () {
3438
- var _this$$slots2, _this$$slots2$prefix;
3439
- return (_this$$slots2 = _this.$slots) === null || _this$$slots2 === void 0 || (_this$$slots2$prefix = _this$$slots2.prefix) === null || _this$$slots2$prefix === void 0 ? void 0 : _this$$slots2$prefix.call(_this$$slots2);
3441
+ return (_this$$slots3 = _this.$slots) !== null && _this$$slots3 !== void 0 && _this$$slots3.prefix ? function () {
3442
+ var _this$$slots4, _this$$slots4$prefix;
3443
+ return (_this$$slots4 = _this.$slots) === null || _this$$slots4 === void 0 || (_this$$slots4$prefix = _this$$slots4.prefix) === null || _this$$slots4$prefix === void 0 ? void 0 : _this$$slots4$prefix.call(_this$$slots4);
3440
3444
  } : undefined;
3441
3445
  };
3442
3446
  // 全选
@@ -3467,9 +3471,9 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
3467
3471
  };
3468
3472
  // 默认trigger输入框渲染
3469
3473
  var renderTriggerInput = function renderTriggerInput() {
3470
- var _this$$slots5;
3474
+ var _this$$slots7;
3471
3475
  if (_this.multipleMode === 'tag') {
3472
- var _this$$slots3;
3476
+ var _this$$slots5;
3473
3477
  return (0,external_vue_namespaceObject.createVNode)(selectTagInput, {
3474
3478
  "ref": "selectTagInputRef",
3475
3479
  "modelValue": _this.customOptionName,
@@ -3487,9 +3491,9 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
3487
3491
  "onRemove": _this.handleDeleteTag
3488
3492
  }, {
3489
3493
  prefix: renderPrefix(),
3490
- "default": ((_this$$slots3 = _this.$slots) === null || _this$$slots3 === void 0 ? void 0 : _this$$slots3.tag) && function () {
3491
- var _this$$slots4;
3492
- return (_this$$slots4 = _this.$slots) === null || _this$$slots4 === void 0 ? void 0 : _this$$slots4.tag({
3494
+ "default": ((_this$$slots5 = _this.$slots) === null || _this$$slots5 === void 0 ? void 0 : _this$$slots5.tag) && function () {
3495
+ var _this$$slots6;
3496
+ return (_this$$slots6 = _this.$slots) === null || _this$$slots6 === void 0 ? void 0 : _this$$slots6.tag({
3493
3497
  selected: _this.selected
3494
3498
  });
3495
3499
  },
@@ -3514,10 +3518,10 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
3514
3518
  "onInput": _this.handleInputChange
3515
3519
  }, _this.prefix ? {
3516
3520
  prefix: _this.prefix
3517
- } : null), select_objectSpread(select_objectSpread({}, typeof ((_this$$slots5 = _this.$slots) === null || _this$$slots5 === void 0 ? void 0 : _this$$slots5.prefix) === 'function' ? {
3521
+ } : null), select_objectSpread(select_objectSpread({}, typeof ((_this$$slots7 = _this.$slots) === null || _this$$slots7 === void 0 ? void 0 : _this$$slots7.prefix) === 'function' ? {
3518
3522
  prefix: function prefix() {
3519
- var _this$$slots6, _this$$slots6$prefix;
3520
- return (_this$$slots6 = _this.$slots) === null || _this$$slots6 === void 0 || (_this$$slots6$prefix = _this$$slots6.prefix) === null || _this$$slots6$prefix === void 0 ? void 0 : _this$$slots6$prefix.call(_this$$slots6);
3523
+ var _this$$slots8, _this$$slots8$prefix;
3524
+ return (_this$$slots8 = _this.$slots) === null || _this$$slots8 === void 0 || (_this$$slots8$prefix = _this$$slots8.prefix) === null || _this$$slots8$prefix === void 0 ? void 0 : _this$$slots8$prefix.call(_this$$slots8);
3521
3525
  }
3522
3526
  } : null), {}, {
3523
3527
  suffix: function suffix() {
@@ -3527,7 +3531,7 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
3527
3531
  };
3528
3532
  // 渲染trigger
3529
3533
  var renderSelectTrigger = function renderSelectTrigger() {
3530
- var _this$$slots7, _this$$slots7$trigger;
3534
+ var _this$$slots9, _this$$slots9$trigger;
3531
3535
  return (0,external_vue_namespaceObject.createVNode)("div", {
3532
3536
  "ref": "triggerRef",
3533
3537
  "style": {
@@ -3537,7 +3541,7 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
3537
3541
  "onClick": _this.handleTogglePopover,
3538
3542
  "onMouseenter": _this.setHover,
3539
3543
  "onMouseleave": _this.cancelHover
3540
- }, [((_this$$slots7 = _this.$slots) === null || _this$$slots7 === void 0 || (_this$$slots7$trigger = _this$$slots7.trigger) === null || _this$$slots7$trigger === void 0 ? void 0 : _this$$slots7$trigger.call(_this$$slots7, {
3544
+ }, [((_this$$slots9 = _this.$slots) === null || _this$$slots9 === void 0 || (_this$$slots9$trigger = _this$$slots9.trigger) === null || _this$$slots9$trigger === void 0 ? void 0 : _this$$slots9$trigger.call(_this$$slots9, {
3541
3545
  selected: _this.selected
3542
3546
  })) || renderTriggerInput()]);
3543
3547
  };
@@ -3550,9 +3554,9 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
3550
3554
  "preloadItemCount": _this.preloadItemCount
3551
3555
  }, {
3552
3556
  "default": function _default(_ref3) {
3553
- var _this$$slots8, _this$$slots9;
3557
+ var _this$$slots10, _this$$slots11;
3554
3558
  var data = _ref3.data;
3555
- var optionRender = ((_this$$slots8 = _this.$slots) === null || _this$$slots8 === void 0 ? void 0 : _this$$slots8.optionRender) || ((_this$$slots9 = _this.$slots) === null || _this$$slots9 === void 0 ? void 0 : _this$$slots9.virtualScrollRender);
3559
+ var optionRender = ((_this$$slots10 = _this.$slots) === null || _this$$slots10 === void 0 ? void 0 : _this$$slots10.optionRender) || ((_this$$slots11 = _this.$slots) === null || _this$$slots11 === void 0 ? void 0 : _this$$slots11.virtualScrollRender);
3556
3560
  return data.map(function (item) {
3557
3561
  return (0,external_vue_namespaceObject.createVNode)(src_option, {
3558
3562
  "id": item[_this.idKey],
@@ -3568,15 +3572,15 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
3568
3572
  });
3569
3573
  }
3570
3574
  }) : _this.filterList.map(function (item) {
3571
- var _this$$slots10;
3575
+ var _this$$slots12;
3572
3576
  return (0,external_vue_namespaceObject.createVNode)(src_option, {
3573
3577
  "id": item[_this.idKey],
3574
3578
  "key": item[_this.idKey],
3575
3579
  "name": item[_this.displayKey]
3576
- }, (_this$$slots10 = _this.$slots) !== null && _this$$slots10 !== void 0 && _this$$slots10.optionRender ? {
3580
+ }, (_this$$slots12 = _this.$slots) !== null && _this$$slots12 !== void 0 && _this$$slots12.optionRender ? {
3577
3581
  "default": function _default() {
3578
- var _this$$slots11, _this$$slots11$option;
3579
- return (_this$$slots11 = _this.$slots) === null || _this$$slots11 === void 0 || (_this$$slots11$option = _this$$slots11.optionRender) === null || _this$$slots11$option === void 0 ? void 0 : _this$$slots11$option.call(_this$$slots11, {
3582
+ var _this$$slots13, _this$$slots13$option;
3583
+ return (_this$$slots13 = _this.$slots) === null || _this$$slots13 === void 0 || (_this$$slots13$option = _this$$slots13.optionRender) === null || _this$$slots13$option === void 0 ? void 0 : _this$$slots13$option.call(_this$$slots13, {
3580
3584
  item: item
3581
3585
  });
3582
3586
  }
@@ -3585,7 +3589,7 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
3585
3589
  };
3586
3590
  // 渲染内容
3587
3591
  var renderSelectContent = function renderSelectContent() {
3588
- var _this$$slots12, _this$$slots12$defaul, _this$$slots13, _this$$slots14;
3592
+ var _this$$slots14, _this$$slots14$defaul, _this$$slots15, _this$$slots16;
3589
3593
  return (0,external_vue_namespaceObject.createVNode)("div", {
3590
3594
  "ref": "contentRef",
3591
3595
  "class": _this.resolveClassName('select-content-wrapper')
@@ -3621,7 +3625,7 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
3621
3625
  "onScroll": _this.handleScroll
3622
3626
  }, [(0,external_vue_namespaceObject.createVNode)("ul", {
3623
3627
  "class": _this.resolveClassName('select-options')
3624
- }, [renderSelectAll(), renderList(), (_this$$slots12 = _this.$slots) === null || _this$$slots12 === void 0 || (_this$$slots12$defaul = _this$$slots12["default"]) === null || _this$$slots12$defaul === void 0 ? void 0 : _this$$slots12$defaul.call(_this$$slots12), _this.scrollLoading && (0,external_vue_namespaceObject.createVNode)("li", {
3628
+ }, [renderSelectAll(), renderList(), (_this$$slots14 = _this.$slots) === null || _this$$slots14 === void 0 || (_this$$slots14$defaul = _this$$slots14["default"]) === null || _this$$slots14$defaul === void 0 ? void 0 : _this$$slots14$defaul.call(_this$$slots14), _this.scrollLoading && (0,external_vue_namespaceObject.createVNode)("li", {
3625
3629
  "class": _this.resolveClassName('select-options-loading')
3626
3630
  }, [(0,external_vue_namespaceObject.createVNode)(loading_namespaceObject["default"], {
3627
3631
  "class": "spinner mr5",
@@ -3629,9 +3633,9 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
3629
3633
  "mode": "spin",
3630
3634
  "size": "mini",
3631
3635
  "theme": "primary"
3632
- }, null), (0,external_vue_namespaceObject.createVNode)("span", null, [_this.localLoadingText])])])]), ((_this$$slots13 = _this.$slots) === null || _this$$slots13 === void 0 ? void 0 : _this$$slots13.extension) && (0,external_vue_namespaceObject.createVNode)("div", {
3636
+ }, null), (0,external_vue_namespaceObject.createVNode)("span", null, [_this.localLoadingText])])])]), ((_this$$slots15 = _this.$slots) === null || _this$$slots15 === void 0 ? void 0 : _this$$slots15.extension) && (0,external_vue_namespaceObject.createVNode)("div", {
3633
3637
  "class": _this.resolveClassName('select-extension')
3634
- }, [(_this$$slots14 = _this.$slots) === null || _this$$slots14 === void 0 ? void 0 : _this$$slots14.extension()])])]);
3638
+ }, [(_this$$slots16 = _this.$slots) === null || _this$$slots16 === void 0 ? void 0 : _this$$slots16.extension()])])]);
3635
3639
  };
3636
3640
  return (0,external_vue_namespaceObject.createVNode)("div", {
3637
3641
  "class": selectClass
@@ -54,8 +54,8 @@
54
54
  .bk-select.is-focus .bk-input.is-simplicity .bk-input--text {
55
55
  background-color: #f5f7fa;
56
56
  }
57
- .bk-select.popover-show .bk-select-trigger .angle-up {
58
- transform: rotate(0);
57
+ .bk-select.popover-show .bk-select-trigger .angle-down {
58
+ transform: rotate(180deg);
59
59
  }
60
60
  .bk-select.is-disabled .bk-input--text {
61
61
  cursor: not-allowed;
@@ -200,9 +200,8 @@
200
200
  max-width: 190px;
201
201
  padding: 0 4px;
202
202
  }
203
- .bk-select .bk-select-trigger .angle-up {
203
+ .bk-select .bk-select-trigger .angle-down {
204
204
  right: 4px;
205
- transform: rotate(180deg);
206
205
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
207
206
  display: flex;
208
207
  width: 20px;
@@ -127,8 +127,8 @@
127
127
  }
128
128
 
129
129
  &.popover-show {
130
- .@{bk-prefix}-select-trigger .angle-up {
131
- transform: rotate(0);
130
+ .@{bk-prefix}-select-trigger .angle-down {
131
+ transform: rotate(180deg);
132
132
  }
133
133
  }
134
134
 
@@ -257,9 +257,8 @@
257
257
  }
258
258
  }
259
259
 
260
- .angle-up {
260
+ .angle-down {
261
261
  right: 4px;
262
- transform: rotate(180deg);
263
262
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
264
263
  .select-icon();
265
264
  .fix-icon();
@@ -183,8 +183,8 @@
183
183
  .bk-select.is-focus .bk-input.is-simplicity .bk-input--text {
184
184
  background-color: #f5f7fa;
185
185
  }
186
- .bk-select.popover-show .bk-select-trigger .angle-up {
187
- transform: rotate(0);
186
+ .bk-select.popover-show .bk-select-trigger .angle-down {
187
+ transform: rotate(180deg);
188
188
  }
189
189
  .bk-select.is-disabled .bk-input--text {
190
190
  cursor: not-allowed;
@@ -329,9 +329,8 @@
329
329
  max-width: 190px;
330
330
  padding: 0 4px;
331
331
  }
332
- .bk-select .bk-select-trigger .angle-up {
332
+ .bk-select .bk-select-trigger .angle-down {
333
333
  right: 4px;
334
- transform: rotate(180deg);
335
334
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
336
335
  display: flex;
337
336
  width: 20px;
@@ -53,8 +53,8 @@ declare const BkSideslider: {
53
53
  renderDirective: import("vue-types").VueTypeValidableDef<"show" | "if"> & {
54
54
  default: "show" | "if";
55
55
  };
56
- beforeClose: import("vue-types").VueTypeValidableDef<() => boolean> & {
57
- default: () => boolean;
56
+ beforeClose: import("vue-types").VueTypeValidableDef<() => boolean | Promise<boolean>> & {
57
+ default: () => boolean | Promise<boolean>;
58
58
  };
59
59
  left: import("vue-types").VueTypeValidableDef<string> & {
60
60
  default: string;
@@ -125,8 +125,8 @@ declare const BkSideslider: {
125
125
  renderDirective: import("vue-types").VueTypeValidableDef<"show" | "if"> & {
126
126
  default: "show" | "if";
127
127
  };
128
- beforeClose: import("vue-types").VueTypeValidableDef<() => boolean> & {
129
- default: () => boolean;
128
+ beforeClose: import("vue-types").VueTypeValidableDef<() => boolean | Promise<boolean>> & {
129
+ default: () => boolean | Promise<boolean>;
130
130
  };
131
131
  left: import("vue-types").VueTypeValidableDef<string> & {
132
132
  default: string;
@@ -158,7 +158,7 @@ declare const BkSideslider: {
158
158
  escClose: boolean;
159
159
  quickClose: boolean;
160
160
  animateType: string;
161
- beforeClose: () => boolean;
161
+ beforeClose: () => boolean | Promise<boolean>;
162
162
  }, true, {}, {}, {
163
163
  P: {};
164
164
  B: {};
@@ -220,8 +220,8 @@ declare const BkSideslider: {
220
220
  renderDirective: import("vue-types").VueTypeValidableDef<"show" | "if"> & {
221
221
  default: "show" | "if";
222
222
  };
223
- beforeClose: import("vue-types").VueTypeValidableDef<() => boolean> & {
224
- default: () => boolean;
223
+ beforeClose: import("vue-types").VueTypeValidableDef<() => boolean | Promise<boolean>> & {
224
+ default: () => boolean | Promise<boolean>;
225
225
  };
226
226
  left: import("vue-types").VueTypeValidableDef<string> & {
227
227
  default: string;
@@ -253,7 +253,7 @@ declare const BkSideslider: {
253
253
  escClose: boolean;
254
254
  quickClose: boolean;
255
255
  animateType: string;
256
- beforeClose: () => boolean;
256
+ beforeClose: () => boolean | Promise<boolean>;
257
257
  }>;
258
258
  __isFragment?: never;
259
259
  __isTeleport?: never;
@@ -312,8 +312,8 @@ declare const BkSideslider: {
312
312
  renderDirective: import("vue-types").VueTypeValidableDef<"show" | "if"> & {
313
313
  default: "show" | "if";
314
314
  };
315
- beforeClose: import("vue-types").VueTypeValidableDef<() => boolean> & {
316
- default: () => boolean;
315
+ beforeClose: import("vue-types").VueTypeValidableDef<() => boolean | Promise<boolean>> & {
316
+ default: () => boolean | Promise<boolean>;
317
317
  };
318
318
  left: import("vue-types").VueTypeValidableDef<string> & {
319
319
  default: string;
@@ -345,6 +345,6 @@ declare const BkSideslider: {
345
345
  escClose: boolean;
346
346
  quickClose: boolean;
347
347
  animateType: string;
348
- beforeClose: () => boolean;
348
+ beforeClose: () => boolean | Promise<boolean>;
349
349
  }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
350
350
  export default BkSideslider;
@@ -52,8 +52,8 @@ declare const _default: import("vue").DefineComponent<{
52
52
  renderDirective: import("vue-types").VueTypeValidableDef<"show" | "if"> & {
53
53
  default: "show" | "if";
54
54
  };
55
- beforeClose: import("vue-types").VueTypeValidableDef<() => boolean> & {
56
- default: () => boolean;
55
+ beforeClose: import("vue-types").VueTypeValidableDef<() => boolean | Promise<boolean>> & {
56
+ default: () => boolean | Promise<boolean>;
57
57
  };
58
58
  left: import("vue-types").VueTypeValidableDef<string> & {
59
59
  default: string;
@@ -118,8 +118,8 @@ declare const _default: import("vue").DefineComponent<{
118
118
  renderDirective: import("vue-types").VueTypeValidableDef<"show" | "if"> & {
119
119
  default: "show" | "if";
120
120
  };
121
- beforeClose: import("vue-types").VueTypeValidableDef<() => boolean> & {
122
- default: () => boolean;
121
+ beforeClose: import("vue-types").VueTypeValidableDef<() => boolean | Promise<boolean>> & {
122
+ default: () => boolean | Promise<boolean>;
123
123
  };
124
124
  left: import("vue-types").VueTypeValidableDef<string> & {
125
125
  default: string;
@@ -151,6 +151,6 @@ declare const _default: import("vue").DefineComponent<{
151
151
  escClose: boolean;
152
152
  quickClose: boolean;
153
153
  animateType: string;
154
- beforeClose: () => boolean;
154
+ beforeClose: () => boolean | Promise<boolean>;
155
155
  }, {}>;
156
156
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bkui-vue",
3
- "version": "2.0.1-beta.21",
3
+ "version": "2.0.1-beta.23",
4
4
  "workspaces": [
5
5
  "packages/**",
6
6
  "scripts/cli",