bkui-vue 1.0.3-beta.9 → 2.0.1-beta.1
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.
- package/dist/index.cjs.js +71 -73
- package/dist/index.esm.js +20956 -18684
- package/dist/index.umd.js +71 -73
- package/dist/locale/en.esm.js +1 -1
- package/dist/locale/en.esm.js.map +1 -1
- package/dist/locale/en.umd.js +1 -1
- package/dist/locale/en.umd.js.map +1 -1
- package/dist/locale/zh-cn.esm.js +1 -1
- package/dist/locale/zh-cn.esm.js.map +1 -1
- package/dist/locale/zh-cn.umd.js +1 -1
- package/dist/locale/zh-cn.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.variable.css +3 -0
- package/lib/alert/alert.variable.css +3 -0
- package/lib/backtop/backtop.variable.css +3 -0
- package/lib/badge/badge.variable.css +3 -0
- package/lib/breadcrumb/breadcrumb.variable.css +3 -0
- package/lib/button/button.variable.css +3 -0
- package/lib/card/card.variable.css +3 -0
- package/lib/cascader/cascader.variable.css +3 -0
- package/lib/checkbox/checkbox.variable.css +3 -0
- package/lib/checkbox/index.js +4 -4
- package/lib/code-diff/code-diff.variable.css +3 -0
- package/lib/collapse/collapse.css +11 -0
- package/lib/collapse/collapse.d.ts +11 -0
- package/lib/collapse/collapse.less +15 -1
- package/lib/collapse/collapse.variable.css +14 -0
- package/lib/collapse/index.d.ts +23 -0
- package/lib/collapse/index.js +9 -1
- package/lib/collapse/props.d.ts +8 -0
- package/lib/collapse-transition/collapse-transition.variable.css +3 -0
- package/lib/color-picker/color-picker.variable.css +3 -0
- package/lib/components.d.ts +2 -0
- package/lib/components.js +3 -1
- package/lib/config-provider/config-provider.d.ts +3 -0
- package/lib/config-provider/config-provider.variable.css +3 -0
- package/lib/config-provider/index.d.ts +4 -0
- package/lib/config-provider/token.d.ts +1 -0
- package/lib/container/container.variable.css +3 -0
- package/lib/date-picker/base/month-table.d.ts +2 -2
- package/lib/date-picker/date-picker.d.ts +1 -0
- package/lib/date-picker/date-picker.variable.css +3 -0
- package/lib/date-picker/index.d.ts +3 -0
- package/lib/date-picker/index.js +70 -32
- package/lib/date-picker/interface.d.ts +1 -1
- package/lib/date-picker/time-picker.d.ts +1 -0
- package/lib/date-picker/utils.d.ts +4 -0
- package/lib/dialog/dialog.css +176 -150
- package/lib/dialog/dialog.d.ts +40 -109
- package/lib/dialog/dialog.less +51 -124
- package/lib/dialog/dialog.variable.css +179 -150
- package/lib/dialog/index.d.ts +99 -263
- package/lib/dialog/index.js +244 -246
- package/lib/dialog/props.d.ts +10 -35
- package/lib/directives/index.js +0 -1
- package/lib/divider/divider.variable.css +3 -0
- package/lib/dropdown/dropdown.css +3 -1
- package/lib/dropdown/dropdown.variable.css +6 -1
- package/lib/exception/exception.variable.css +3 -0
- package/lib/fixed-navbar/fixed-navbar.variable.css +3 -0
- package/lib/form/form.variable.css +3 -0
- package/lib/form/index.js +3 -1
- package/lib/icon/image-fill.js +82 -167
- package/lib/icon/img-error.js +82 -167
- package/lib/icon/img-placehoulder.js +82 -167
- package/lib/icon/index.d.ts +1 -0
- package/lib/icon/index.js +87 -2427
- package/lib/icon/info-line.js +82 -167
- package/lib/icon/info.js +82 -167
- package/lib/icon/left-shape.js +82 -167
- package/lib/icon/left-turn-line.js +82 -167
- package/lib/icon/loading.js +82 -167
- package/lib/icon/narrow-line.js +82 -167
- package/lib/icon/original.js +82 -167
- package/lib/icon/pdf-fill.js +82 -167
- package/lib/icon/play-shape.js +82 -167
- package/lib/icon/plus.js +82 -167
- package/lib/icon/ppt-fill.js +82 -167
- package/lib/icon/qq.js +82 -167
- package/lib/icon/right-shape.js +82 -167
- package/lib/icon/right-turn-line.js +82 -167
- package/lib/icon/search.js +82 -167
- package/lib/icon/share.js +82 -167
- package/lib/icon/spinner.js +82 -167
- package/lib/icon/success.js +82 -167
- package/lib/icon/switcher-loading.js +82 -167
- package/lib/icon/text-all.d.ts +4 -0
- package/lib/icon/text-all.js +191 -0
- package/lib/icon/text-file.js +82 -167
- package/lib/icon/text-fill.js +82 -167
- package/lib/icon/transfer.js +82 -167
- package/lib/icon/tree-application-shape.js +82 -167
- package/lib/icon/unfull-screen.js +82 -167
- package/lib/icon/unvisible.js +82 -167
- package/lib/icon/up-shape.js +82 -167
- package/lib/icon/upload.js +82 -167
- package/lib/icon/video-fill.js +82 -167
- package/lib/icon/warn.js +82 -167
- package/lib/icon/weixin-pro.js +82 -167
- package/lib/icon/weixin.js +82 -167
- package/lib/image/image-viewer.variable.css +3 -0
- package/lib/image/image.variable.css +3 -0
- package/lib/image/index.js +5 -2
- package/lib/info-box/index.d.ts +2 -2
- package/lib/info-box/index.js +257 -516
- package/lib/info-box/info-box.css +58 -28
- package/lib/info-box/info-box.d.ts +18 -16
- package/lib/info-box/info-box.less +82 -51
- package/lib/info-box/info-box.variable.css +61 -28
- package/lib/info-box/render-component.d.ts +4 -0
- package/lib/input/index.js +7 -1
- package/lib/input/input.variable.css +3 -0
- package/lib/link/link.variable.css +3 -0
- package/lib/loading/loading.variable.css +3 -0
- package/lib/locale/index.js +4 -2
- package/lib/locale/lang/en.d.ts +1 -0
- package/lib/menu/menu.variable.css +3 -0
- package/lib/menu/submenu.variable.css +3 -0
- package/lib/message/message.variable.css +3 -0
- package/lib/modal/hooks.d.ts +6 -0
- package/lib/modal/index.d.ts +41 -309
- package/lib/modal/index.js +285 -671
- package/lib/modal/mask.d.ts +6 -0
- package/lib/modal/modal.css +155 -76
- package/lib/modal/modal.d.ts +18 -116
- package/lib/modal/modal.less +107 -55
- package/lib/modal/modal.variable.css +158 -76
- package/lib/modal/props.mixin.d.ts +5 -41
- package/lib/navigation/navigation.variable.css +3 -0
- package/lib/notify/notify.variable.css +3 -0
- package/lib/overflow-title/index.js +46 -52
- package/lib/pagination/index.js +2 -1
- package/lib/pagination/pagination.variable.css +3 -0
- package/lib/plugin-popover/index.d.ts +1 -1
- package/lib/plugin-popover/index.js +45 -26
- package/lib/pop-confirm/index.js +8 -5
- package/lib/pop-confirm/pop-confirm.variable.css +3 -0
- package/lib/popover/content.d.ts +1 -1
- package/lib/popover/index.js +45 -26
- package/lib/popover/plugin-popover.d.ts +4 -1
- package/lib/popover/popover.css +3 -1
- package/lib/popover/popover.less +4 -1
- package/lib/popover/popover.variable.css +6 -1
- package/lib/preset.d.ts +2 -0
- package/lib/process/process.variable.css +3 -0
- package/lib/progress/progress.variable.css +3 -0
- package/lib/radio/index.d.ts +29 -0
- package/lib/radio/index.js +49 -26
- package/lib/radio/radio-button.d.ts +10 -0
- package/lib/radio/radio-group.d.ts +10 -0
- package/lib/radio/radio.d.ts +10 -0
- package/lib/radio/radio.variable.css +3 -0
- package/lib/rate/rate.variable.css +3 -0
- package/lib/rate/star.variable.css +3 -0
- package/lib/resize-layout/index.js +1 -1
- package/lib/resize-layout/resize-layout.variable.css +3 -0
- package/lib/scrollbar/index.d.ts +15 -0
- package/lib/scrollbar/index.js +18763 -0
- package/lib/scrollbar/scrollbar-core/can-use-dom.d.ts +2 -0
- package/lib/scrollbar/scrollbar-core/helpers.d.ts +5 -0
- package/lib/scrollbar/scrollbar-core/index.d.ts +241 -0
- package/lib/scrollbar/scrollbar-core/mouse-wheel.d.ts +5 -0
- package/lib/scrollbar/scrollbar-core/scrollbar-width.d.ts +1 -0
- package/lib/scrollbar/scrollbar.css +75 -0
- package/lib/scrollbar/scrollbar.less +94 -0
- package/lib/scrollbar/scrollbar.variable.css +204 -0
- package/lib/search-select/index.d.ts +375 -16
- package/lib/search-select/index.js +701 -366
- package/lib/search-select/input.d.ts +14 -5
- package/lib/search-select/search-select.css +20 -6
- package/lib/search-select/search-select.d.ts +129 -7
- package/lib/search-select/search-select.less +16 -12
- package/lib/search-select/search-select.variable.css +23 -6
- package/lib/search-select/selected.d.ts +116 -6
- package/lib/search-select/utils.d.ts +19 -6
- package/lib/select/index.d.ts +124 -6
- package/lib/select/index.js +1336 -72
- package/lib/select/option.d.ts +3 -1
- package/lib/select/pinyin/core.d.ts +14 -0
- package/lib/select/pinyin/dict.d.ts +34 -0
- package/lib/select/pinyin/index.d.ts +2 -0
- package/lib/select/select.css +55 -12
- package/lib/select/select.d.ts +50 -2
- package/lib/select/select.less +69 -19
- package/lib/select/select.variable.css +58 -12
- package/lib/select/selectTagInput.d.ts +7 -0
- package/lib/select/type.d.ts +2 -3
- package/lib/shared/index.d.ts +0 -1
- package/lib/shared/index.js +70 -50
- package/lib/shared/utils.d.ts +12 -0
- package/lib/shared/vue-types.d.ts +5 -0
- package/lib/sideslider/index.d.ts +55 -185
- package/lib/sideslider/index.js +81 -55
- package/lib/sideslider/sideslider.css +26 -90
- package/lib/sideslider/sideslider.d.ts +25 -87
- package/lib/sideslider/sideslider.less +56 -132
- package/lib/sideslider/sideslider.variable.css +29 -90
- package/lib/slider/index.d.ts +19 -0
- package/lib/slider/index.js +45 -5
- package/lib/slider/slider.css +14 -0
- package/lib/slider/slider.d.ts +9 -0
- package/lib/slider/slider.less +15 -0
- package/lib/slider/slider.variable.css +17 -0
- package/lib/steps/steps.variable.css +3 -0
- package/lib/styles/mixins/animate.variable.css +3 -0
- package/lib/styles/mixins/popper.variable.css +3 -0
- package/lib/styles/mixins/scroll.variable.css +3 -0
- package/lib/styles/reset.css +1 -3
- package/lib/styles/reset.less +3 -6
- package/lib/styles/reset.variable.css +4 -3
- package/lib/styles/themes/themes.less +5 -0
- package/lib/swiper/swiper.variable.css +3 -0
- package/lib/switcher/switcher.variable.css +3 -0
- package/lib/tab/tab.variable.css +3 -0
- package/lib/table/cache.d.ts +11 -3
- package/lib/table/components/table-cell.d.ts +3 -2
- package/lib/table/components/table-column.d.ts +7 -17
- package/lib/table/const.d.ts +4 -4
- package/lib/table/index.d.ts +29 -64
- package/lib/table/index.js +18068 -613
- package/lib/table/plugins/head-filter.css +8 -4
- package/lib/table/plugins/head-filter.less +6 -3
- package/lib/table/plugins/head-filter.variable.css +11 -4
- package/lib/table/plugins/head-sort.variable.css +3 -0
- package/lib/table/plugins/settings.variable.css +3 -0
- package/lib/table/plugins/use-active-columns.d.ts +2 -2
- package/lib/table/plugins/use-column-template.d.ts +7 -0
- package/lib/table/plugins/use-draggable.d.ts +2 -2
- package/lib/table/plugins/use-fixed-column.d.ts +1 -1
- package/lib/table/plugins/use-observer-resize.d.ts +5 -0
- package/lib/table/plugins/use-pagination.d.ts +3 -1
- package/lib/table/plugins/use-shift-key.d.ts +11 -0
- package/lib/table/props.d.ts +17 -7
- package/lib/table/table.css +112 -58
- package/lib/table/table.d.ts +11 -0
- package/lib/table/table.less +46 -58
- package/lib/table/table.variable.css +115 -58
- package/lib/table/use-attributes.d.ts +6 -43
- package/lib/table/use-column.d.ts +9 -10
- package/lib/table/use-common.d.ts +1 -1
- package/lib/table/use-render.d.ts +1 -1
- package/lib/table/utils.d.ts +1 -1
- package/lib/table-column/index.d.ts +92 -266
- package/lib/table-column/index.js +24 -98
- package/lib/tag/tag.variable.css +3 -0
- package/lib/tag-input/index.d.ts +4 -4
- package/lib/tag-input/tag-input.d.ts +2 -2
- package/lib/tag-input/tag-input.variable.css +3 -0
- package/lib/tag-input/tag-props.d.ts +1 -1
- package/lib/tag-input/tag-render.d.ts +1 -1
- package/lib/time-picker/index.d.ts +38 -35
- package/lib/time-picker/time-picker.variable.css +3 -0
- package/lib/timeline/index.d.ts +80 -44
- package/lib/timeline/index.js +54 -65
- package/lib/timeline/timeline.d.ts +46 -29
- package/lib/timeline/timeline.variable.css +3 -0
- package/lib/transfer/transfer.variable.css +3 -0
- package/lib/tree/constant.d.ts +3 -1
- package/lib/tree/index.d.ts +44 -0
- package/lib/tree/index.js +17548 -25
- package/lib/tree/props.d.ts +18 -0
- package/lib/tree/tree.css +76 -2
- package/lib/tree/tree.d.ts +28 -2
- package/lib/tree/tree.variable.css +79 -2
- package/lib/tree/use-intersection-observer.d.ts +27 -0
- package/lib/tree/use-node-attribute.d.ts +9 -0
- package/lib/upload/index.d.ts +12 -0
- package/lib/upload/index.js +21 -30
- package/lib/upload/props.d.ts +3 -0
- package/lib/upload/upload-trigger.d.ts +6 -0
- package/lib/upload/upload.d.ts +6 -0
- package/lib/upload/upload.variable.css +3 -0
- package/lib/virtual-render/index.d.ts +36 -9
- package/lib/virtual-render/index.js +295 -80
- package/lib/virtual-render/props.d.ts +16 -0
- package/lib/virtual-render/use-fix-top.d.ts +2 -7
- package/lib/virtual-render/use-scrollbar.d.ts +24 -0
- package/lib/virtual-render/v-virtual-render.d.ts +2 -1
- package/lib/virtual-render/virtual-render.css +76 -2
- package/lib/virtual-render/virtual-render.d.ts +16 -3
- package/lib/virtual-render/virtual-render.less +3 -3
- package/lib/virtual-render/virtual-render.variable.css +79 -2
- package/package.json +1 -1
- package/lib/shared/mask.d.ts +0 -11
@@ -380,10 +380,13 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
|
|
380
380
|
};
|
381
381
|
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
382
382
|
resolveClassName = _usePrefix.resolveClassName;
|
383
|
+
var contentClassName = (0,external_vue_namespaceObject.computed)(function () {
|
384
|
+
return [resolveClassName('popover'), resolveClassName('pop2-content'), props.visible ? 'visible' : 'hidden', props.extCls];
|
385
|
+
});
|
383
386
|
return {
|
384
387
|
style: style,
|
385
388
|
refContent: refContent,
|
386
|
-
|
389
|
+
contentClassName: contentClassName,
|
387
390
|
resetPointerEvent: resetPointerEvent,
|
388
391
|
setContentPointerEvent: setContentPointerEvent
|
389
392
|
};
|
@@ -398,7 +401,6 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
|
|
398
401
|
_this$$slots$default2,
|
399
402
|
_this$$slots$default3,
|
400
403
|
_this$$slots3;
|
401
|
-
var className = [this.resolveClassName('popover'), this.resolveClassName('pop2-content'), this.extCls];
|
402
404
|
var resolveContentStyle = function resolveContentStyle(slot) {
|
403
405
|
var _slot$;
|
404
406
|
if (external_vue_namespaceObject.Fragment === (slot === null || slot === void 0 || (_slot$ = slot[0]) === null || _slot$ === void 0 ? void 0 : _slot$.type)) {
|
@@ -411,7 +413,7 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
|
|
411
413
|
};
|
412
414
|
var style = resolveContentStyle((_this$$slots$default = (_this$$slots = this.$slots)["default"]) === null || _this$$slots$default === void 0 ? void 0 : _this$$slots$default.call(_this$$slots));
|
413
415
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
414
|
-
"class":
|
416
|
+
"class": this.contentClassName,
|
415
417
|
"style": style,
|
416
418
|
"ref": "refContent"
|
417
419
|
}, [(_this$$slots$arrow = (_this$$slots$arrow2 = (_this$$slots2 = this.$slots).arrow) === null || _this$$slots$arrow2 === void 0 ? void 0 : _this$$slots$arrow2.call(_this$$slots2)) !== null && _this$$slots$arrow !== void 0 ? _this$$slots$arrow : '', (_this$$slots$default2 = (_this$$slots$default3 = (_this$$slots3 = this.$slots)["default"]) === null || _this$$slots$default3 === void 0 ? void 0 : _this$$slots$default3.call(_this$$slots3)) !== null && _this$$slots$default2 !== void 0 ? _this$$slots$default2 : '']);
|
@@ -3085,9 +3087,9 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
3085
3087
|
var delay = resolvePopoverDelay()[0];
|
3086
3088
|
// 设置settimeout避免hidePopover导致显示问题
|
3087
3089
|
popShowTimerId = setTimeout(function () {
|
3088
|
-
if (popHideTimerId) {
|
3089
|
-
|
3090
|
-
}
|
3090
|
+
// if (popHideTimerId) {
|
3091
|
+
// clearTimeout(popHideTimerId);
|
3092
|
+
// }
|
3091
3093
|
if (!props.disabled) {
|
3092
3094
|
localIsShow.value = true;
|
3093
3095
|
}
|
@@ -3628,7 +3630,7 @@ function _isSlot(s) {
|
|
3628
3630
|
(0,external_vue_namespaceObject.onMounted)(onMountedFn);
|
3629
3631
|
(0,external_vue_namespaceObject.onBeforeUnmount)(onUnmountedFn);
|
3630
3632
|
var transBoundary = (0,external_vue_namespaceObject.computed)(function () {
|
3631
|
-
return !props.disableTeleport;
|
3633
|
+
return localIsShow.value && !props.disableTeleport;
|
3632
3634
|
});
|
3633
3635
|
var show = function show() {
|
3634
3636
|
showFn();
|
@@ -3767,9 +3769,11 @@ function plugin_popover_objectSpread(e) { for (var r = 1; r < arguments.length;
|
|
3767
3769
|
|
3768
3770
|
|
3769
3771
|
function createPopoverComponent(options) {
|
3772
|
+
var _options$immediate;
|
3770
3773
|
var $PopoverInstance = null;
|
3771
3774
|
var $PopoverInstanceVm = null;
|
3772
3775
|
var $PopoverInstanceEl = null;
|
3776
|
+
var immediate = (_options$immediate = options.immediate) !== null && _options$immediate !== void 0 ? _options$immediate : true;
|
3773
3777
|
var resolvedOptions = plugin_popover_objectSpread(plugin_popover_objectSpread({
|
3774
3778
|
boundary: 'body',
|
3775
3779
|
placement: 'top',
|
@@ -3862,37 +3866,52 @@ function createPopoverComponent(options) {
|
|
3862
3866
|
}
|
3863
3867
|
return document.body;
|
3864
3868
|
}
|
3865
|
-
|
3866
|
-
$
|
3867
|
-
|
3868
|
-
|
3869
|
-
|
3870
|
-
|
3871
|
-
function close() {
|
3872
|
-
if ($PopoverInstance) {
|
3873
|
-
$PopoverInstance.unmount();
|
3874
|
-
$PopoverInstanceVm = null;
|
3875
|
-
$PopoverInstance = null;
|
3876
|
-
$PopoverInstanceEl.remove();
|
3869
|
+
var install = function install() {
|
3870
|
+
if ($PopoverInstance === null) {
|
3871
|
+
$PopoverInstanceEl = document.createElement('div');
|
3872
|
+
getBoundaryDom(resolvedOptions.boundary).append($PopoverInstanceEl);
|
3873
|
+
$PopoverInstance = (0,external_vue_namespaceObject.createApp)(popoverComponent);
|
3874
|
+
$PopoverInstanceVm = $PopoverInstance.mount($PopoverInstanceEl);
|
3877
3875
|
}
|
3876
|
+
};
|
3877
|
+
var uninstall = function uninstall() {
|
3878
|
+
var _$PopoverInstanceEl;
|
3879
|
+
if (utils_isElement(options.content)) {
|
3880
|
+
options.content.remove();
|
3881
|
+
}
|
3882
|
+
$PopoverInstance.unmount();
|
3883
|
+
$PopoverInstance = null;
|
3884
|
+
(_$PopoverInstanceEl = $PopoverInstanceEl) === null || _$PopoverInstanceEl === void 0 || _$PopoverInstanceEl.remove();
|
3885
|
+
};
|
3886
|
+
function close() {
|
3887
|
+
uninstall();
|
3888
|
+
$PopoverInstanceVm = null;
|
3878
3889
|
}
|
3879
|
-
function show() {
|
3880
|
-
var _$
|
3881
|
-
(
|
3890
|
+
function show(target) {
|
3891
|
+
var _$PopoverInstanceVm2;
|
3892
|
+
install();
|
3893
|
+
if (target) {
|
3894
|
+
var _$PopoverInstanceVm;
|
3895
|
+
(_$PopoverInstanceVm = $PopoverInstanceVm) === null || _$PopoverInstanceVm === void 0 || _$PopoverInstanceVm.updateTarget(target);
|
3896
|
+
}
|
3897
|
+
(_$PopoverInstanceVm2 = $PopoverInstanceVm) === null || _$PopoverInstanceVm2 === void 0 || _$PopoverInstanceVm2.show();
|
3882
3898
|
}
|
3883
3899
|
function update(e) {
|
3884
|
-
var _$
|
3885
|
-
(_$
|
3900
|
+
var _$PopoverInstanceVm3;
|
3901
|
+
(_$PopoverInstanceVm3 = $PopoverInstanceVm) === null || _$PopoverInstanceVm3 === void 0 || _$PopoverInstanceVm3.updateTarget(e);
|
3886
3902
|
}
|
3887
3903
|
function hide() {
|
3888
|
-
var _$
|
3889
|
-
(_$
|
3904
|
+
var _$PopoverInstanceVm4;
|
3905
|
+
(_$PopoverInstanceVm4 = $PopoverInstanceVm) === null || _$PopoverInstanceVm4 === void 0 || _$PopoverInstanceVm4.hide();
|
3890
3906
|
}
|
3907
|
+
immediate && install();
|
3891
3908
|
return {
|
3909
|
+
install: install,
|
3892
3910
|
close: close,
|
3893
3911
|
show: show,
|
3894
3912
|
hide: hide,
|
3895
3913
|
update: update,
|
3914
|
+
uninstall: uninstall,
|
3896
3915
|
get vm() {
|
3897
3916
|
return $PopoverInstanceVm;
|
3898
3917
|
},
|
package/lib/pop-confirm/index.js
CHANGED
@@ -215,6 +215,13 @@ var PopConfirmProps = {
|
|
215
215
|
},
|
216
216
|
render: function render() {
|
217
217
|
var _this = this;
|
218
|
+
var titleRender = function titleRender() {
|
219
|
+
return _this.title ? (0,external_vue_namespaceObject.createVNode)("div", {
|
220
|
+
"class": "".concat(_this.resolveClassName('pop-confirm-title'))
|
221
|
+
}, [_this.icon ? (0,external_vue_namespaceObject.createVNode)("span", {
|
222
|
+
"class": "".concat(_this.resolveClassName('pop-confirm-icon'))
|
223
|
+
}, [_this.icon]) : '', (0,external_vue_namespaceObject.createVNode)("span", null, [_this.title])]) : '';
|
224
|
+
};
|
218
225
|
return (0,external_vue_namespaceObject.createVNode)(popover_namespaceObject["default"], {
|
219
226
|
"ref": "popoverRef",
|
220
227
|
"isShow": this.visible,
|
@@ -232,11 +239,7 @@ var PopConfirmProps = {
|
|
232
239
|
content: function content() {
|
233
240
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
234
241
|
"class": "".concat(_this.resolveClassName('pop-confirm'))
|
235
|
-
}, [typeof _this.$slots.content === 'function' ? _this.$slots.content() : (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [
|
236
|
-
"class": "".concat(_this.resolveClassName('pop-confirm-title'))
|
237
|
-
}, [_this.icon ? (0,external_vue_namespaceObject.createVNode)("span", {
|
238
|
-
"class": "".concat(_this.resolveClassName('pop-confirm-icon'))
|
239
|
-
}, [_this.icon]) : '', (0,external_vue_namespaceObject.createVNode)("span", null, [_this.title])]) : '', (0,external_vue_namespaceObject.createVNode)("div", {
|
242
|
+
}, [typeof _this.$slots.content === 'function' ? (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [titleRender(), _this.$slots.content()]) : (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [titleRender(), (0,external_vue_namespaceObject.createVNode)("div", {
|
240
243
|
"class": "".concat(_this.resolveClassName('pop-confirm-content'))
|
241
244
|
}, [!_this.title ? _this.icon : '', _this.content])]), (0,external_vue_namespaceObject.createVNode)("div", {
|
242
245
|
"class": "".concat(_this.resolveClassName('pop-confirm-footer'))
|
@@ -12,6 +12,7 @@
|
|
12
12
|
--whitesmoke-color: #fafbfd;
|
13
13
|
--disable-color: #dcdee5;
|
14
14
|
--disable-bg-color: #f9fafd;
|
15
|
+
--border-color: #dcdee5;
|
15
16
|
--font-size-base: 12px;
|
16
17
|
--font-size-medium: 14px;
|
17
18
|
--font-size-large: 16px;
|
@@ -123,6 +124,8 @@
|
|
123
124
|
--search-select-placeholder-color: var(--light-gray);
|
124
125
|
--search-select-message-color: var(--danger-color);
|
125
126
|
--search-select-menu-border-color: var(--disable-color);
|
127
|
+
--select-active-color: #e1ecff;
|
128
|
+
--select-hover-color: #f5f7fa;
|
126
129
|
}
|
127
130
|
.bk-popover.bk-pop-confirm-box {
|
128
131
|
padding: 16px;
|
package/lib/popover/content.d.ts
CHANGED
@@ -34,7 +34,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
34
34
|
maxWidth: string | number;
|
35
35
|
}>;
|
36
36
|
refContent: import("vue").Ref<any>;
|
37
|
-
|
37
|
+
contentClassName: import("vue").ComputedRef<string[]>;
|
38
38
|
resetPointerEvent: () => void;
|
39
39
|
setContentPointerEvent: (val: string) => void;
|
40
40
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
package/lib/popover/index.js
CHANGED
@@ -383,10 +383,13 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
|
|
383
383
|
};
|
384
384
|
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
385
385
|
resolveClassName = _usePrefix.resolveClassName;
|
386
|
+
var contentClassName = (0,external_vue_namespaceObject.computed)(function () {
|
387
|
+
return [resolveClassName('popover'), resolveClassName('pop2-content'), props.visible ? 'visible' : 'hidden', props.extCls];
|
388
|
+
});
|
386
389
|
return {
|
387
390
|
style: style,
|
388
391
|
refContent: refContent,
|
389
|
-
|
392
|
+
contentClassName: contentClassName,
|
390
393
|
resetPointerEvent: resetPointerEvent,
|
391
394
|
setContentPointerEvent: setContentPointerEvent
|
392
395
|
};
|
@@ -401,7 +404,6 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
|
|
401
404
|
_this$$slots$default2,
|
402
405
|
_this$$slots$default3,
|
403
406
|
_this$$slots3;
|
404
|
-
var className = [this.resolveClassName('popover'), this.resolveClassName('pop2-content'), this.extCls];
|
405
407
|
var resolveContentStyle = function resolveContentStyle(slot) {
|
406
408
|
var _slot$;
|
407
409
|
if (external_vue_namespaceObject.Fragment === (slot === null || slot === void 0 || (_slot$ = slot[0]) === null || _slot$ === void 0 ? void 0 : _slot$.type)) {
|
@@ -414,7 +416,7 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
|
|
414
416
|
};
|
415
417
|
var style = resolveContentStyle((_this$$slots$default = (_this$$slots = this.$slots)["default"]) === null || _this$$slots$default === void 0 ? void 0 : _this$$slots$default.call(_this$$slots));
|
416
418
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
417
|
-
"class":
|
419
|
+
"class": this.contentClassName,
|
418
420
|
"style": style,
|
419
421
|
"ref": "refContent"
|
420
422
|
}, [(_this$$slots$arrow = (_this$$slots$arrow2 = (_this$$slots2 = this.$slots).arrow) === null || _this$$slots$arrow2 === void 0 ? void 0 : _this$$slots$arrow2.call(_this$$slots2)) !== null && _this$$slots$arrow !== void 0 ? _this$$slots$arrow : '', (_this$$slots$default2 = (_this$$slots$default3 = (_this$$slots3 = this.$slots)["default"]) === null || _this$$slots$default3 === void 0 ? void 0 : _this$$slots$default3.call(_this$$slots3)) !== null && _this$$slots$default2 !== void 0 ? _this$$slots$default2 : '']);
|
@@ -3088,9 +3090,9 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
3088
3090
|
var delay = resolvePopoverDelay()[0];
|
3089
3091
|
// 设置settimeout避免hidePopover导致显示问题
|
3090
3092
|
popShowTimerId = setTimeout(function () {
|
3091
|
-
if (popHideTimerId) {
|
3092
|
-
|
3093
|
-
}
|
3093
|
+
// if (popHideTimerId) {
|
3094
|
+
// clearTimeout(popHideTimerId);
|
3095
|
+
// }
|
3094
3096
|
if (!props.disabled) {
|
3095
3097
|
localIsShow.value = true;
|
3096
3098
|
}
|
@@ -3631,7 +3633,7 @@ function _isSlot(s) {
|
|
3631
3633
|
(0,external_vue_namespaceObject.onMounted)(onMountedFn);
|
3632
3634
|
(0,external_vue_namespaceObject.onBeforeUnmount)(onUnmountedFn);
|
3633
3635
|
var transBoundary = (0,external_vue_namespaceObject.computed)(function () {
|
3634
|
-
return !props.disableTeleport;
|
3636
|
+
return localIsShow.value && !props.disableTeleport;
|
3635
3637
|
});
|
3636
3638
|
var show = function show() {
|
3637
3639
|
showFn();
|
@@ -3770,9 +3772,11 @@ function plugin_popover_objectSpread(e) { for (var r = 1; r < arguments.length;
|
|
3770
3772
|
|
3771
3773
|
|
3772
3774
|
function createPopoverComponent(options) {
|
3775
|
+
var _options$immediate;
|
3773
3776
|
var $PopoverInstance = null;
|
3774
3777
|
var $PopoverInstanceVm = null;
|
3775
3778
|
var $PopoverInstanceEl = null;
|
3779
|
+
var immediate = (_options$immediate = options.immediate) !== null && _options$immediate !== void 0 ? _options$immediate : true;
|
3776
3780
|
var resolvedOptions = plugin_popover_objectSpread(plugin_popover_objectSpread({
|
3777
3781
|
boundary: 'body',
|
3778
3782
|
placement: 'top',
|
@@ -3865,37 +3869,52 @@ function createPopoverComponent(options) {
|
|
3865
3869
|
}
|
3866
3870
|
return document.body;
|
3867
3871
|
}
|
3868
|
-
|
3869
|
-
$
|
3870
|
-
|
3871
|
-
|
3872
|
-
|
3873
|
-
|
3874
|
-
function close() {
|
3875
|
-
if ($PopoverInstance) {
|
3876
|
-
$PopoverInstance.unmount();
|
3877
|
-
$PopoverInstanceVm = null;
|
3878
|
-
$PopoverInstance = null;
|
3879
|
-
$PopoverInstanceEl.remove();
|
3872
|
+
var install = function install() {
|
3873
|
+
if ($PopoverInstance === null) {
|
3874
|
+
$PopoverInstanceEl = document.createElement('div');
|
3875
|
+
getBoundaryDom(resolvedOptions.boundary).append($PopoverInstanceEl);
|
3876
|
+
$PopoverInstance = (0,external_vue_namespaceObject.createApp)(popoverComponent);
|
3877
|
+
$PopoverInstanceVm = $PopoverInstance.mount($PopoverInstanceEl);
|
3880
3878
|
}
|
3879
|
+
};
|
3880
|
+
var uninstall = function uninstall() {
|
3881
|
+
var _$PopoverInstanceEl;
|
3882
|
+
if (utils_isElement(options.content)) {
|
3883
|
+
options.content.remove();
|
3884
|
+
}
|
3885
|
+
$PopoverInstance.unmount();
|
3886
|
+
$PopoverInstance = null;
|
3887
|
+
(_$PopoverInstanceEl = $PopoverInstanceEl) === null || _$PopoverInstanceEl === void 0 || _$PopoverInstanceEl.remove();
|
3888
|
+
};
|
3889
|
+
function close() {
|
3890
|
+
uninstall();
|
3891
|
+
$PopoverInstanceVm = null;
|
3881
3892
|
}
|
3882
|
-
function show() {
|
3883
|
-
var _$
|
3884
|
-
(
|
3893
|
+
function show(target) {
|
3894
|
+
var _$PopoverInstanceVm2;
|
3895
|
+
install();
|
3896
|
+
if (target) {
|
3897
|
+
var _$PopoverInstanceVm;
|
3898
|
+
(_$PopoverInstanceVm = $PopoverInstanceVm) === null || _$PopoverInstanceVm === void 0 || _$PopoverInstanceVm.updateTarget(target);
|
3899
|
+
}
|
3900
|
+
(_$PopoverInstanceVm2 = $PopoverInstanceVm) === null || _$PopoverInstanceVm2 === void 0 || _$PopoverInstanceVm2.show();
|
3885
3901
|
}
|
3886
3902
|
function update(e) {
|
3887
|
-
var _$
|
3888
|
-
(_$
|
3903
|
+
var _$PopoverInstanceVm3;
|
3904
|
+
(_$PopoverInstanceVm3 = $PopoverInstanceVm) === null || _$PopoverInstanceVm3 === void 0 || _$PopoverInstanceVm3.updateTarget(e);
|
3889
3905
|
}
|
3890
3906
|
function hide() {
|
3891
|
-
var _$
|
3892
|
-
(_$
|
3907
|
+
var _$PopoverInstanceVm4;
|
3908
|
+
(_$PopoverInstanceVm4 = $PopoverInstanceVm) === null || _$PopoverInstanceVm4 === void 0 || _$PopoverInstanceVm4.hide();
|
3893
3909
|
}
|
3910
|
+
immediate && install();
|
3894
3911
|
return {
|
3912
|
+
install: install,
|
3895
3913
|
close: close,
|
3896
3914
|
show: show,
|
3897
3915
|
hide: hide,
|
3898
3916
|
update: update,
|
3917
|
+
uninstall: uninstall,
|
3899
3918
|
get vm() {
|
3900
3919
|
return $PopoverInstanceVm;
|
3901
3920
|
},
|
@@ -1,12 +1,15 @@
|
|
1
1
|
import { PopoverPropTypes } from './props';
|
2
2
|
export type $Popover = PopoverPropTypes & {
|
3
3
|
target: HTMLElement | HTMLElement | MouseEvent;
|
4
|
+
immediate: boolean;
|
4
5
|
};
|
5
6
|
export default function createPopoverComponent(options: $Popover): {
|
7
|
+
install: () => void;
|
6
8
|
close: () => void;
|
7
|
-
show: () => void;
|
9
|
+
show: (target?: MouseEvent | HTMLElement) => void;
|
8
10
|
hide: () => void;
|
9
11
|
update: (e: MouseEvent) => void;
|
12
|
+
uninstall: () => void;
|
10
13
|
readonly vm: any;
|
11
14
|
readonly $el: HTMLElement;
|
12
15
|
};
|
package/lib/popover/popover.css
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
.bk-popover.bk-pop2-content {
|
2
2
|
position: absolute;
|
3
|
-
display: none;
|
4
3
|
padding: 12px;
|
5
4
|
font-size: 12px;
|
6
5
|
color: #fff;
|
@@ -8,6 +7,9 @@
|
|
8
7
|
border-radius: 4px;
|
9
8
|
box-sizing: border-box;
|
10
9
|
}
|
10
|
+
.bk-popover.bk-pop2-content.hidden {
|
11
|
+
display: none;
|
12
|
+
}
|
11
13
|
.bk-popover.bk-pop2-content .bk-pop2-arrow {
|
12
14
|
position: absolute;
|
13
15
|
z-index: -1;
|
package/lib/popover/popover.less
CHANGED
@@ -12,6 +12,7 @@
|
|
12
12
|
--whitesmoke-color: #fafbfd;
|
13
13
|
--disable-color: #dcdee5;
|
14
14
|
--disable-bg-color: #f9fafd;
|
15
|
+
--border-color: #dcdee5;
|
15
16
|
--font-size-base: 12px;
|
16
17
|
--font-size-medium: 14px;
|
17
18
|
--font-size-large: 16px;
|
@@ -123,10 +124,11 @@
|
|
123
124
|
--search-select-placeholder-color: var(--light-gray);
|
124
125
|
--search-select-message-color: var(--danger-color);
|
125
126
|
--search-select-menu-border-color: var(--disable-color);
|
127
|
+
--select-active-color: #e1ecff;
|
128
|
+
--select-hover-color: #f5f7fa;
|
126
129
|
}
|
127
130
|
.bk-popover.bk-pop2-content {
|
128
131
|
position: absolute;
|
129
|
-
display: none;
|
130
132
|
padding: 12px;
|
131
133
|
font-size: 12px;
|
132
134
|
color: #fff;
|
@@ -134,6 +136,9 @@
|
|
134
136
|
border-radius: 4px;
|
135
137
|
box-sizing: border-box;
|
136
138
|
}
|
139
|
+
.bk-popover.bk-pop2-content.hidden {
|
140
|
+
display: none;
|
141
|
+
}
|
137
142
|
.bk-popover.bk-pop2-content .bk-pop2-arrow {
|
138
143
|
position: absolute;
|
139
144
|
z-index: -1;
|
package/lib/preset.d.ts
CHANGED
@@ -118,6 +118,7 @@ declare const _default: {
|
|
118
118
|
};
|
119
119
|
input: {
|
120
120
|
placeholder: string;
|
121
|
+
maxlengthLimitTips: string;
|
121
122
|
};
|
122
123
|
tagInput: {
|
123
124
|
placeholder: string;
|
@@ -261,6 +262,7 @@ declare const _default: {
|
|
261
262
|
};
|
262
263
|
input: {
|
263
264
|
placeholder: string;
|
265
|
+
maxlengthLimitTips: string;
|
264
266
|
};
|
265
267
|
tagInput: {
|
266
268
|
placeholder: string;
|
@@ -12,6 +12,7 @@
|
|
12
12
|
--whitesmoke-color: #fafbfd;
|
13
13
|
--disable-color: #dcdee5;
|
14
14
|
--disable-bg-color: #f9fafd;
|
15
|
+
--border-color: #dcdee5;
|
15
16
|
--font-size-base: 12px;
|
16
17
|
--font-size-medium: 14px;
|
17
18
|
--font-size-large: 16px;
|
@@ -123,6 +124,8 @@
|
|
123
124
|
--search-select-placeholder-color: var(--light-gray);
|
124
125
|
--search-select-message-color: var(--danger-color);
|
125
126
|
--search-select-menu-border-color: var(--disable-color);
|
127
|
+
--select-active-color: #e1ecff;
|
128
|
+
--select-hover-color: #f5f7fa;
|
126
129
|
}
|
127
130
|
* {
|
128
131
|
box-sizing: border-box;
|
@@ -12,6 +12,7 @@
|
|
12
12
|
--whitesmoke-color: #fafbfd;
|
13
13
|
--disable-color: #dcdee5;
|
14
14
|
--disable-bg-color: #f9fafd;
|
15
|
+
--border-color: #dcdee5;
|
15
16
|
--font-size-base: 12px;
|
16
17
|
--font-size-medium: 14px;
|
17
18
|
--font-size-large: 16px;
|
@@ -123,6 +124,8 @@
|
|
123
124
|
--search-select-placeholder-color: var(--light-gray);
|
124
125
|
--search-select-message-color: var(--danger-color);
|
125
126
|
--search-select-menu-border-color: var(--disable-color);
|
127
|
+
--select-active-color: #e1ecff;
|
128
|
+
--select-hover-color: #f5f7fa;
|
126
129
|
}
|
127
130
|
@keyframes loading-scale-animate {
|
128
131
|
0% {
|
package/lib/radio/index.d.ts
CHANGED
@@ -23,6 +23,9 @@ declare const BkRadio: {
|
|
23
23
|
} & {
|
24
24
|
default: boolean;
|
25
25
|
};
|
26
|
+
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
27
|
+
default: (...args: any[]) => any;
|
28
|
+
};
|
26
29
|
}>> & {
|
27
30
|
onChange?: (value: any) => any;
|
28
31
|
"onUpdate:modelValue"?: (value: any) => any;
|
@@ -61,6 +64,9 @@ declare const BkRadio: {
|
|
61
64
|
} & {
|
62
65
|
default: boolean;
|
63
66
|
};
|
67
|
+
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
68
|
+
default: (...args: any[]) => any;
|
69
|
+
};
|
64
70
|
}>> & {
|
65
71
|
onChange?: (value: any) => any;
|
66
72
|
"onUpdate:modelValue"?: (value: any) => any;
|
@@ -69,6 +75,7 @@ declare const BkRadio: {
|
|
69
75
|
disabled: boolean;
|
70
76
|
modelValue: string | number | boolean;
|
71
77
|
checked: boolean;
|
78
|
+
beforeChange: (...args: any[]) => any;
|
72
79
|
}, true, {}, {}, {
|
73
80
|
P: {};
|
74
81
|
B: {};
|
@@ -98,6 +105,9 @@ declare const BkRadio: {
|
|
98
105
|
} & {
|
99
106
|
default: boolean;
|
100
107
|
};
|
108
|
+
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
109
|
+
default: (...args: any[]) => any;
|
110
|
+
};
|
101
111
|
}>> & {
|
102
112
|
onChange?: (value: any) => any;
|
103
113
|
"onUpdate:modelValue"?: (value: any) => any;
|
@@ -116,6 +126,7 @@ declare const BkRadio: {
|
|
116
126
|
disabled: boolean;
|
117
127
|
modelValue: string | number | boolean;
|
118
128
|
checked: boolean;
|
129
|
+
beforeChange: (...args: any[]) => any;
|
119
130
|
}>;
|
120
131
|
__isFragment?: never;
|
121
132
|
__isTeleport?: never;
|
@@ -142,6 +153,9 @@ declare const BkRadio: {
|
|
142
153
|
} & {
|
143
154
|
default: boolean;
|
144
155
|
};
|
156
|
+
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
157
|
+
default: (...args: any[]) => any;
|
158
|
+
};
|
145
159
|
}>> & {
|
146
160
|
onChange?: (value: any) => any;
|
147
161
|
"onUpdate:modelValue"?: (value: any) => any;
|
@@ -163,6 +177,7 @@ declare const BkRadio: {
|
|
163
177
|
disabled: boolean;
|
164
178
|
modelValue: string | number | boolean;
|
165
179
|
checked: boolean;
|
180
|
+
beforeChange: (...args: any[]) => any;
|
166
181
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Readonly<{
|
167
182
|
Group: import("vue").DefineComponent<{
|
168
183
|
name: import("vue-types").VueTypeValidableDef<string> & {
|
@@ -183,6 +198,9 @@ declare const BkRadio: {
|
|
183
198
|
default: string;
|
184
199
|
};
|
185
200
|
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
|
201
|
+
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
202
|
+
default: (...args: any[]) => any;
|
203
|
+
};
|
186
204
|
}, {
|
187
205
|
resolveClassName: (cls: string) => string;
|
188
206
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
@@ -207,6 +225,9 @@ declare const BkRadio: {
|
|
207
225
|
default: string;
|
208
226
|
};
|
209
227
|
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
|
228
|
+
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
229
|
+
default: (...args: any[]) => any;
|
230
|
+
};
|
210
231
|
}>> & {
|
211
232
|
onChange?: (value: any) => any;
|
212
233
|
"onUpdate:modelValue"?: (value: any) => any;
|
@@ -215,6 +236,7 @@ declare const BkRadio: {
|
|
215
236
|
type: string;
|
216
237
|
disabled: boolean;
|
217
238
|
withValidate: boolean;
|
239
|
+
beforeChange: (...args: any[]) => any;
|
218
240
|
}, {}>;
|
219
241
|
Button: import("vue").DefineComponent<{
|
220
242
|
name: import("vue-types").VueTypeValidableDef<string> & {
|
@@ -239,6 +261,9 @@ declare const BkRadio: {
|
|
239
261
|
default: boolean;
|
240
262
|
};
|
241
263
|
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
|
264
|
+
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
265
|
+
default: (...args: any[]) => any;
|
266
|
+
};
|
242
267
|
}, {
|
243
268
|
isFocused: import("vue").Ref<boolean>;
|
244
269
|
size: import("vue").Ref<string>;
|
@@ -275,6 +300,9 @@ declare const BkRadio: {
|
|
275
300
|
default: boolean;
|
276
301
|
};
|
277
302
|
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
|
303
|
+
beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
304
|
+
default: (...args: any[]) => any;
|
305
|
+
};
|
278
306
|
}>> & {
|
279
307
|
onChange?: (value: any) => any;
|
280
308
|
"onUpdate:modelValue"?: (value: any) => any;
|
@@ -283,6 +311,7 @@ declare const BkRadio: {
|
|
283
311
|
disabled: boolean;
|
284
312
|
modelValue: string | number | boolean;
|
285
313
|
checked: boolean;
|
314
|
+
beforeChange: (...args: any[]) => any;
|
286
315
|
}, {}>;
|
287
316
|
}>;
|
288
317
|
export default BkRadio;
|