bkui-vue 0.0.1-beta.34 → 0.0.1-beta.341
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 +173 -0
- package/dist/index.esm.js +38482 -0
- package/dist/index.umd.js +173 -0
- package/dist/style.css +1 -5865
- package/dist/style.variable.css +1 -0
- package/lib/affix/affix.css +360 -0
- package/lib/affix/affix.d.ts +47 -0
- package/lib/affix/affix.less +5 -0
- package/lib/affix/affix.variable.css +836 -0
- package/lib/affix/index.d.ts +143 -0
- package/lib/affix/index.js +1 -0
- package/lib/alert/alert.css +369 -6
- package/lib/alert/alert.d.ts +5 -5
- package/lib/alert/alert.less +29 -20
- package/lib/alert/alert.variable.css +753 -7
- package/lib/alert/index.d.ts +11 -11
- package/lib/alert/index.js +1 -0
- package/lib/animate-number/animate-number.d.ts +1 -1
- package/lib/animate-number/index.d.ts +4 -4
- package/lib/animate-number/{animate-number.js → index.js} +1 -1
- package/lib/backtop/backtop.css +367 -2
- package/lib/backtop/backtop.d.ts +1 -1
- package/lib/backtop/backtop.less +8 -0
- package/lib/backtop/backtop.variable.css +752 -4
- package/lib/backtop/index.d.ts +4 -4
- package/lib/backtop/index.js +1 -0
- package/lib/badge/badge.css +388 -31
- package/lib/badge/badge.d.ts +28 -7
- package/lib/badge/badge.less +5 -6
- package/lib/badge/badge.variable.css +749 -9
- package/lib/badge/index.d.ts +68 -18
- package/lib/badge/index.js +1 -0
- package/lib/breadcrumb/breadcrumb.css +413 -5
- package/lib/breadcrumb/breadcrumb.variable.css +795 -4
- package/lib/breadcrumb/index.js +1 -0
- package/lib/button/button-group.d.ts +2 -2
- package/lib/button/button.css +534 -139
- package/lib/button/button.d.ts +44 -24
- package/lib/button/button.less +74 -41
- package/lib/button/button.variable.css +831 -53
- package/lib/button/index.d.ts +70 -40
- package/lib/button/index.js +1 -0
- package/lib/card/card.css +457 -5
- package/lib/card/card.d.ts +47 -6
- package/lib/card/card.less +50 -2
- package/lib/card/card.variable.css +840 -5
- package/lib/card/index.d.ts +113 -17
- package/lib/card/index.js +1 -0
- package/lib/cascader/cascader-panel.d.ts +100 -0
- package/lib/cascader/cascader.css +530 -0
- package/lib/cascader/cascader.d.ts +303 -0
- package/lib/cascader/cascader.less +196 -0
- package/lib/cascader/cascader.variable.css +1006 -0
- package/lib/cascader/index.d.ts +868 -0
- package/lib/cascader/index.js +1 -0
- package/lib/cascader/interface.d.ts +51 -0
- package/lib/cascader/node.d.ts +31 -0
- package/lib/cascader/store.d.ts +23 -0
- package/lib/checkbox/checkbox-group.d.ts +16 -0
- package/lib/checkbox/checkbox.css +408 -15
- package/lib/checkbox/checkbox.d.ts +16 -14
- package/lib/checkbox/checkbox.less +79 -31
- package/lib/checkbox/checkbox.variable.css +790 -14
- package/lib/checkbox/common.d.ts +3 -3
- package/lib/checkbox/index.d.ts +40 -23
- package/lib/checkbox/index.js +1 -0
- package/lib/checkbox/type.d.ts +2 -6
- package/lib/code-diff/code-diff.css +384 -7
- package/lib/code-diff/code-diff.d.ts +1 -1
- package/lib/code-diff/code-diff.less +42 -7
- package/lib/code-diff/code-diff.variable.css +771 -11
- package/lib/code-diff/index.js +1 -0
- package/lib/collapse/collapse-panel.d.ts +67 -0
- package/lib/collapse/collapse.css +385 -12
- package/lib/collapse/collapse.d.ts +11 -52
- package/lib/collapse/collapse.less +54 -29
- package/lib/collapse/collapse.variable.css +861 -12
- package/lib/collapse/index.d.ts +108 -16
- package/lib/collapse/index.js +1 -0
- package/lib/collapse/props.d.ts +79 -0
- package/lib/collapse/utils.d.ts +11 -0
- package/lib/color-picker/color-picker.css +632 -0
- package/lib/color-picker/color-picker.d.ts +144 -0
- package/lib/color-picker/color-picker.less +325 -0
- package/lib/color-picker/color-picker.variable.css +1108 -0
- package/lib/color-picker/components/color-input.d.ts +42 -0
- package/lib/color-picker/components/hue-slider.d.ts +41 -0
- package/lib/color-picker/components/input-container.d.ts +42 -0
- package/lib/color-picker/components/recommend-colors.d.ts +51 -0
- package/lib/color-picker/components/saturation-panel.d.ts +41 -0
- package/lib/color-picker/index.d.ts +254 -0
- package/lib/color-picker/index.js +1 -0
- package/lib/color-picker/utils.d.ts +37 -0
- package/lib/components.d.ts +26 -7
- package/lib/components.js +1 -0
- package/lib/container/col.d.ts +51 -0
- package/lib/container/container.css +448 -0
- package/lib/container/container.d.ts +83 -0
- package/lib/container/container.less +20 -0
- package/lib/container/container.variable.css +924 -0
- package/lib/container/index.d.ts +223 -0
- package/lib/container/index.js +1 -0
- package/lib/container/row.d.ts +4 -0
- package/lib/date-picker/base/confirm.d.ts +74 -0
- package/lib/date-picker/base/date-table.d.ts +102 -0
- package/lib/date-picker/base/picker-dropdown.d.ts +73 -0
- package/lib/date-picker/base/time-spinner.d.ts +153 -0
- package/lib/date-picker/date-picker.css +403 -20
- package/lib/date-picker/date-picker.d.ts +49 -20
- package/lib/date-picker/date-picker.less +36 -3
- package/lib/date-picker/date-picker.variable.css +773 -7
- package/lib/date-picker/index.d.ts +121 -54
- package/lib/date-picker/index.js +1 -0
- package/lib/date-picker/interface.d.ts +11 -1
- package/lib/date-picker/panel/date-range.d.ts +309 -0
- package/lib/date-picker/panel/date.d.ts +206 -0
- package/lib/date-picker/panel/time-range.d.ts +489 -0
- package/lib/date-picker/panel/time.d.ts +448 -0
- package/lib/date-picker/props.d.ts +55 -5
- package/lib/date-picker/time-picker.d.ts +381 -0
- package/lib/date-picker/utils.d.ts +22 -2
- package/lib/dialog/dialog.css +144 -22
- package/lib/dialog/dialog.d.ts +251 -58
- package/lib/dialog/dialog.less +97 -23
- package/lib/dialog/dialog.variable.css +144 -22
- package/lib/dialog/index.d.ts +551 -126
- package/lib/dialog/index.js +1 -0
- package/lib/dialog/props.d.ts +128 -0
- package/lib/directives/ellipsis.d.ts +7 -0
- package/lib/directives/index.d.ts +1 -0
- package/lib/directives/index.js +2 -0
- package/lib/directives/{directives.js.LICENSE.txt → index.js.LICENSE.txt} +0 -0
- package/lib/directives/tooltips.d.ts +1 -1
- package/lib/dist.index.js +1 -0
- package/lib/divider/divider.css +360 -3
- package/lib/divider/divider.d.ts +15 -15
- package/lib/divider/divider.variable.css +744 -4
- package/lib/divider/index.d.ts +34 -34
- package/lib/divider/index.js +1 -0
- package/lib/divider/props.d.ts +6 -6
- package/lib/dropdown/dropdown.css +370 -7
- package/lib/dropdown/dropdown.d.ts +44 -13
- package/lib/dropdown/dropdown.less +47 -34
- package/lib/dropdown/dropdown.variable.css +757 -11
- package/lib/dropdown/index.d.ts +93 -32
- package/lib/dropdown/index.js +1 -0
- package/lib/exception/exception.css +397 -14
- package/lib/exception/exception.d.ts +18 -11
- package/lib/exception/exception.less +59 -22
- package/lib/exception/exception.variable.css +784 -18
- package/lib/exception/index.d.ts +41 -26
- package/lib/exception/index.js +1 -0
- package/lib/exception/typings/index.d.ts +4 -0
- package/lib/fixed-navbar/fixed-navbar.css +361 -4
- package/lib/fixed-navbar/fixed-navbar.d.ts +16 -2
- package/lib/fixed-navbar/fixed-navbar.variable.css +744 -4
- package/lib/fixed-navbar/index.d.ts +40 -5
- package/lib/fixed-navbar/{fixed-navbar.js → index.js} +1 -1
- package/lib/form/compose-form-item.d.ts +16 -0
- package/lib/form/form-item.d.ts +30 -8
- package/lib/form/form.css +461 -14
- package/lib/form/form.d.ts +28 -11
- package/lib/form/form.less +153 -45
- package/lib/form/form.variable.css +937 -14
- package/lib/form/index.d.ts +99 -32
- package/lib/form/index.js +1 -0
- package/lib/form/type.d.ts +8 -7
- package/lib/form/utils.d.ts +2 -0
- package/lib/form/validator.d.ts +1 -0
- package/lib/icon/angle-double-down-line.js +1 -1
- package/lib/icon/angle-double-left-line.js +1 -1
- package/lib/icon/angle-double-left.js +1 -1
- package/lib/icon/angle-double-right-line.js +1 -1
- package/lib/icon/angle-double-right.js +1 -1
- package/lib/icon/angle-double-up-line.js +1 -1
- package/lib/icon/angle-down-fill.js +1 -1
- package/lib/icon/angle-down-line.js +1 -1
- package/lib/icon/angle-down.js +1 -1
- package/lib/icon/angle-left.js +1 -1
- package/lib/icon/angle-right.js +1 -1
- package/lib/icon/angle-up-fill.js +1 -1
- package/lib/icon/angle-up.js +1 -1
- package/lib/icon/archive-fill.d.ts +4 -0
- package/lib/icon/archive-fill.js +1 -0
- package/lib/icon/arrows-left.js +1 -1
- package/lib/icon/arrows-right.js +1 -1
- package/lib/icon/audio-fill.d.ts +4 -0
- package/lib/icon/audio-fill.js +1 -0
- package/lib/icon/bk.js +1 -1
- package/lib/icon/circle.js +1 -1
- package/lib/icon/close-line.d.ts +4 -0
- package/lib/icon/close-line.js +1 -0
- package/lib/icon/close.js +1 -1
- package/lib/icon/code.js +1 -1
- package/lib/icon/cog-shape.js +1 -1
- package/lib/icon/collapse-left.js +1 -1
- package/lib/icon/copy.js +1 -1
- package/lib/icon/data-shape.d.ts +4 -0
- package/lib/icon/data-shape.js +1 -0
- package/lib/icon/del.d.ts +4 -0
- package/lib/icon/del.js +1 -0
- package/lib/icon/doc-fill.d.ts +4 -0
- package/lib/icon/doc-fill.js +1 -0
- package/lib/icon/done.js +1 -1
- package/lib/icon/down-shape.js +1 -1
- package/lib/icon/down-small.js +1 -1
- package/lib/icon/edit-line.d.ts +4 -0
- package/lib/icon/edit-line.js +1 -0
- package/lib/icon/ellipsis.js +1 -1
- package/lib/icon/enlarge-line.d.ts +4 -0
- package/lib/icon/enlarge-line.js +1 -0
- package/lib/icon/error.js +1 -1
- package/lib/icon/excel-fill.d.ts +4 -0
- package/lib/icon/excel-fill.js +1 -0
- package/lib/icon/exclamation-circle-shape.d.ts +4 -0
- package/lib/icon/exclamation-circle-shape.js +1 -0
- package/lib/icon/eye.js +1 -1
- package/lib/icon/filliscreen-line.d.ts +4 -0
- package/lib/icon/filliscreen-line.js +1 -0
- package/lib/icon/folder-open.js +1 -1
- package/lib/icon/folder-shape-open.js +1 -1
- package/lib/icon/folder-shape.js +1 -1
- package/lib/icon/folder.js +1 -1
- package/lib/icon/funnel.d.ts +4 -0
- package/lib/icon/funnel.js +1 -0
- package/lib/icon/help-document-fill.js +1 -1
- package/lib/icon/help-fill.js +1 -1
- package/lib/icon/help.js +1 -1
- package/lib/icon/image-fill.d.ts +4 -0
- package/lib/icon/img-error.d.ts +4 -0
- package/lib/icon/img-error.js +1 -0
- package/lib/icon/img-placehoulder.d.ts +4 -0
- package/lib/icon/img-placehoulder.js +1 -0
- package/lib/icon/index.d.ts +27 -1
- package/lib/icon/index.js +1 -0
- package/lib/icon/info-line.js +1 -1
- package/lib/icon/info.js +1 -1
- package/lib/icon/left-shape.js +1 -1
- package/lib/icon/left-turn-line.d.ts +4 -0
- package/lib/icon/left-turn-line.js +1 -0
- package/lib/icon/narrow-line.d.ts +4 -0
- package/lib/icon/narrow-line.js +1 -0
- package/lib/icon/original.d.ts +4 -0
- package/lib/icon/original.js +1 -0
- package/lib/icon/pdf-fill.d.ts +4 -0
- package/lib/icon/pdf-fill.js +1 -0
- package/lib/icon/play-shape.js +1 -1
- package/lib/icon/plus.js +1 -1
- package/lib/icon/ppt-fill.d.ts +4 -0
- package/lib/icon/ppt-fill.js +1 -0
- package/lib/icon/qq.js +1 -1
- package/lib/icon/right-shape.js +1 -1
- package/lib/icon/right-turn-line.d.ts +4 -0
- package/lib/icon/right-turn-line.js +1 -0
- package/lib/icon/search.js +1 -1
- package/lib/icon/share.js +1 -1
- package/lib/icon/spinner.js +1 -1
- package/lib/icon/success.js +1 -1
- package/lib/icon/switcher-loading.js +1 -1
- package/lib/icon/text-file.js +1 -1
- package/lib/icon/text-fill.d.ts +4 -0
- package/lib/icon/text-fill.js +1 -0
- package/lib/icon/transfer.d.ts +4 -0
- package/lib/icon/transfer.js +1 -0
- package/lib/icon/tree-application-shape.js +1 -1
- package/lib/icon/unfull-screen.d.ts +4 -0
- package/lib/icon/unfull-screen.js +1 -0
- package/lib/icon/unvisible.js +1 -1
- package/lib/icon/up-shape.js +1 -1
- package/lib/icon/upload.d.ts +4 -0
- package/lib/icon/upload.js +1 -0
- package/lib/icon/video-fill.d.ts +4 -0
- package/lib/icon/video-fill.js +1 -0
- package/lib/icon/warn.js +1 -1
- package/lib/icon/weixin.js +1 -1
- package/lib/image/image-viewer.css +142 -0
- package/lib/image/image-viewer.d.ts +73 -0
- package/lib/image/image-viewer.less +168 -0
- package/lib/image/image-viewer.variable.css +142 -0
- package/lib/image/image.css +37 -0
- package/lib/image/image.d.ts +93 -0
- package/lib/image/image.less +44 -0
- package/lib/image/image.variable.css +37 -0
- package/lib/image/index.d.ts +246 -0
- package/lib/image/index.js +1 -0
- package/lib/image/props.d.ts +71 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -0
- package/lib/info-box/index.d.ts +6 -0
- package/lib/info-box/index.js +1 -0
- package/lib/info-box/info-box.css +37 -0
- package/lib/info-box/info-box.d.ts +26 -0
- package/lib/info-box/info-box.less +50 -0
- package/lib/info-box/info-box.variable.css +37 -0
- package/lib/input/index.d.ts +183 -72
- package/lib/input/index.js +1 -0
- package/lib/input/input.css +600 -41
- package/lib/input/input.d.ts +125 -25
- package/lib/input/input.less +158 -17
- package/lib/input/input.variable.css +960 -18
- package/lib/link/index.d.ts +15 -15
- package/lib/link/index.js +1 -0
- package/lib/link/link.css +381 -24
- package/lib/link/link.d.ts +6 -6
- package/lib/link/link.less +16 -14
- package/lib/link/link.variable.css +756 -16
- package/lib/loading/index.d.ts +112 -19
- package/lib/loading/index.js +1 -0
- package/lib/loading/loading.css +450 -50
- package/lib/loading/loading.d.ts +78 -12
- package/lib/loading/loading.less +17 -22
- package/lib/loading/loading.variable.css +821 -38
- package/lib/menu/index.d.ts +16 -24
- package/lib/menu/index.js +1 -0
- package/lib/menu/menu.css +426 -18
- package/lib/menu/menu.d.ts +7 -16
- package/lib/menu/menu.variable.css +795 -4
- package/lib/menu/submenu.css +357 -0
- package/lib/menu/submenu.variable.css +744 -4
- package/lib/message/index.js +1 -0
- package/lib/message/message.css +397 -19
- package/lib/message/message.less +28 -3
- package/lib/message/message.variable.css +769 -8
- package/lib/message/messageConstructor.d.ts +47 -11
- package/lib/modal/index.d.ts +456 -78
- package/lib/modal/index.js +1 -0
- package/lib/modal/modal.css +63 -1
- package/lib/modal/modal.d.ts +174 -30
- package/lib/modal/modal.less +36 -1
- package/lib/modal/modal.variable.css +63 -1
- package/lib/modal/props.mixin.d.ts +74 -13
- package/lib/navigation/index.d.ts +310 -1
- package/lib/navigation/index.js +1 -0
- package/lib/navigation/navigation.css +360 -3
- package/lib/navigation/navigation.d.ts +10 -1
- package/lib/navigation/navigation.less +1 -1
- package/lib/navigation/navigation.variable.css +745 -5
- package/lib/notify/index.js +1 -0
- package/lib/notify/notify.css +386 -9
- package/lib/notify/notify.less +27 -4
- package/lib/notify/notify.variable.css +768 -8
- package/lib/notify/notifyConstructor.d.ts +56 -12
- package/lib/pagination/index.d.ts +35 -20
- package/lib/pagination/index.js +1 -0
- package/lib/pagination/pagination.css +412 -29
- package/lib/pagination/pagination.d.ts +18 -8
- package/lib/pagination/pagination.less +59 -30
- package/lib/pagination/pagination.variable.css +798 -32
- package/lib/plugin-popover/index.d.ts +27 -0
- package/lib/plugin-popover/index.js +1 -0
- package/lib/plugins/index.d.ts +1 -0
- package/lib/plugins/index.js +1 -0
- package/lib/popover/arrow.d.ts +2 -0
- package/lib/popover/const.d.ts +16 -0
- package/lib/popover/content.d.ts +24 -0
- package/lib/popover/index.d.ts +375 -101
- package/lib/popover/index.js +1 -0
- package/lib/popover/plugin-popover.d.ts +12 -0
- package/lib/popover/popover.css +364 -47
- package/lib/popover/popover.d.ts +162 -44
- package/lib/popover/popover.less +19 -66
- package/lib/popover/popover.variable.css +751 -51
- package/lib/popover/props.d.ts +79 -31
- package/lib/popover/reference.d.ts +2 -0
- package/lib/popover/root.d.ts +16 -0
- package/lib/popover/use-floating.d.ts +34 -0
- package/lib/popover/use-platform.d.ts +30 -0
- package/lib/popover/use-popover-init.d.ts +22 -0
- package/lib/popover/use-popper-id.d.ts +6 -0
- package/lib/popover/utils.d.ts +2 -0
- package/lib/popover2/index.d.ts +44 -0
- package/lib/popover2/index.js +1 -0
- package/lib/popover2/popover.d.ts +2 -0
- package/lib/preset.js +1 -0
- package/lib/process/index.d.ts +9 -9
- package/lib/process/index.js +1 -0
- package/lib/process/process.css +381 -11
- package/lib/process/process.d.ts +2 -2
- package/lib/process/process.less +17 -0
- package/lib/process/process.variable.css +757 -4
- package/lib/progress/index.d.ts +25 -25
- package/lib/progress/index.js +1 -0
- package/lib/progress/progress.css +412 -4
- package/lib/progress/progress.d.ts +10 -10
- package/lib/progress/progress.variable.css +795 -4
- package/lib/radio/common.d.ts +5 -5
- package/lib/radio/index.d.ts +29 -18
- package/lib/radio/index.js +1 -0
- package/lib/radio/radio-button.d.ts +7 -8
- package/lib/radio/radio-group.d.ts +16 -0
- package/lib/radio/radio.css +418 -60
- package/lib/radio/radio.d.ts +4 -4
- package/lib/radio/radio.less +177 -173
- package/lib/radio/radio.variable.css +795 -54
- package/lib/radio/type.d.ts +9 -4
- package/lib/rate/index.d.ts +28 -5
- package/lib/rate/index.js +1 -0
- package/lib/rate/rate.d.ts +13 -2
- package/lib/rate/star.d.ts +1 -1
- package/lib/resize-layout/index.d.ts +18 -18
- package/lib/resize-layout/index.js +1 -0
- package/lib/resize-layout/resize-layout.css +360 -15
- package/lib/resize-layout/resize-layout.d.ts +7 -7
- package/lib/resize-layout/resize-layout.less +3 -19
- package/lib/resize-layout/resize-layout.variable.css +747 -19
- package/lib/search-select/index.d.ts +681 -0
- package/lib/search-select/index.js +1 -0
- package/lib/search-select/input.d.ts +85 -0
- package/lib/search-select/menu.d.ts +83 -0
- package/lib/search-select/search-select.css +780 -0
- package/lib/search-select/search-select.d.ts +273 -0
- package/lib/search-select/search-select.less +375 -0
- package/lib/search-select/search-select.variable.css +1256 -0
- package/lib/search-select/selected.d.ts +137 -0
- package/lib/search-select/utils.d.ts +79 -0
- package/lib/select/common.d.ts +5 -12
- package/lib/select/index.d.ts +1181 -598
- package/lib/select/index.js +1 -0
- package/lib/select/option.d.ts +16 -4
- package/lib/select/optionGroup.d.ts +1 -1
- package/lib/select/select.css +553 -121
- package/lib/select/select.d.ts +448 -131
- package/lib/select/select.less +317 -197
- package/lib/select/select.variable.css +931 -116
- package/lib/select/selectTagInput.d.ts +88 -0
- package/lib/select/type.d.ts +21 -13
- package/lib/shared/dom.d.ts +3 -0
- package/lib/shared/hooks/use-form-item.d.ts +2 -0
- package/lib/shared/hooks/use-form.d.ts +2 -0
- package/lib/shared/index.d.ts +23 -0
- package/lib/shared/index.js +1 -0
- package/lib/shared/mask-manager.d.ts +6 -2
- package/lib/shared/pop-manager.d.ts +16 -4
- package/lib/shared/popover.d.ts +6 -2
- package/lib/shared/token.d.ts +4 -0
- package/lib/shared/utils.d.ts +13 -0
- package/lib/shared/vue-types.d.ts +89 -7
- package/lib/sideslider/index.d.ts +343 -72
- package/lib/sideslider/index.js +1 -0
- package/lib/sideslider/sideslider.css +413 -11
- package/lib/sideslider/sideslider.d.ts +160 -32
- package/lib/sideslider/sideslider.less +72 -13
- package/lib/sideslider/sideslider.variable.css +799 -14
- package/lib/slider/index.d.ts +414 -1
- package/lib/slider/index.js +1 -0
- package/lib/slider/slider-button.d.ts +2 -1
- package/lib/slider/slider.css +361 -4
- package/lib/slider/slider.d.ts +4 -4
- package/lib/slider/slider.variable.css +744 -4
- package/lib/steps/index.d.ts +52 -52
- package/lib/steps/index.js +1 -0
- package/lib/steps/steps.css +405 -36
- package/lib/steps/steps.d.ts +32 -32
- package/lib/steps/steps.less +24 -3
- package/lib/steps/steps.variable.css +759 -7
- package/lib/styles/index.d.ts +7 -1
- package/lib/styles/mixins/clearfix.css +8 -0
- package/lib/styles/mixins/clearfix.less +10 -0
- package/lib/styles/mixins/clearfix.variable.css +8 -0
- package/lib/styles/mixins/mixins.css +51 -0
- package/lib/styles/mixins/mixins.less +2 -0
- package/lib/styles/mixins/mixins.variable.css +51 -0
- package/lib/styles/mixins/scroll.css +374 -0
- package/lib/styles/mixins/scroll.less +22 -0
- package/lib/styles/mixins/scroll.variable.css +850 -0
- package/lib/styles/reset.css +36 -0
- package/lib/styles/reset.less +26 -0
- package/lib/styles/reset.variable.css +36 -0
- package/lib/styles/themes/themes.css +357 -0
- package/lib/styles/themes/themes.less +622 -90
- package/lib/styles/themes/themes.variable.css +357 -0
- package/lib/swiper/index.js +1 -0
- package/lib/switcher/index.d.ts +42 -30
- package/lib/switcher/index.js +1 -0
- package/lib/switcher/switcher.css +431 -23
- package/lib/switcher/switcher.d.ts +19 -13
- package/lib/switcher/switcher.less +5 -26
- package/lib/switcher/switcher.variable.css +801 -10
- package/lib/tab/index.d.ts +53 -61
- package/lib/tab/index.js +1 -0
- package/lib/tab/props.d.ts +12 -11
- package/lib/tab/tab-nav.d.ts +17 -13
- package/lib/tab/tab-panel.d.ts +5 -10
- package/lib/tab/tab.css +400 -20
- package/lib/tab/tab.d.ts +19 -20
- package/lib/tab/tab.less +29 -18
- package/lib/tab/tab.variable.css +767 -4
- package/lib/table/components/index.d.ts +3 -0
- package/lib/table/components/table-cell.d.ts +38 -0
- package/lib/table/components/table-column.d.ts +137 -0
- package/lib/table/components/table-row.d.ts +2 -0
- package/lib/table/const.d.ts +109 -1
- package/lib/table/index.d.ts +841 -41
- package/lib/table/index.js +1 -0
- package/lib/table/plugins/body-empty.d.ts +40 -0
- package/lib/table/plugins/col-group.d.ts +38 -0
- package/lib/table/plugins/common.d.ts +6 -0
- package/lib/table/plugins/head-filter.css +429 -0
- package/lib/table/plugins/head-filter.d.ts +26 -0
- package/lib/table/plugins/head-filter.less +93 -0
- package/lib/table/plugins/head-filter.variable.css +905 -0
- package/lib/table/plugins/head-sort.css +382 -0
- package/lib/table/plugins/head-sort.d.ts +22 -0
- package/lib/table/plugins/head-sort.less +31 -0
- package/lib/table/plugins/head-sort.variable.css +858 -0
- package/lib/table/plugins/index.d.ts +5 -0
- package/lib/table/plugins/settings.css +502 -0
- package/lib/table/plugins/settings.d.ts +37 -0
- package/lib/table/plugins/settings.less +179 -0
- package/lib/table/plugins/settings.variable.css +978 -0
- package/lib/table/plugins/use-active-columns.d.ts +16 -0
- package/lib/table/plugins/use-column-resize.d.ts +15 -0
- package/lib/table/plugins/use-fixed-column.d.ts +12 -0
- package/lib/table/plugins/use-pagination.d.ts +16 -0
- package/lib/table/plugins/use-scroll-loading.d.ts +5 -0
- package/lib/table/props.d.ts +308 -8
- package/lib/table/render.d.ts +43 -3
- package/lib/table/table.css +1540 -29
- package/lib/table/table.d.ts +231 -17
- package/lib/table/table.less +254 -25
- package/lib/table/table.variable.css +2341 -90
- package/lib/table/use-column.d.ts +11 -0
- package/lib/table/use-common.d.ts +97 -0
- package/lib/table/utils.d.ts +65 -9
- package/lib/table-column/index.d.ts +325 -0
- package/lib/table-column/index.js +1 -0
- package/lib/tag/index.d.ts +22 -33
- package/lib/tag/index.js +1 -0
- package/lib/tag/tag.css +408 -18
- package/lib/tag/tag.d.ts +9 -14
- package/lib/tag/tag.less +46 -10
- package/lib/tag/tag.variable.css +790 -17
- package/lib/tag-input/common.d.ts +13 -1
- package/lib/tag-input/index.d.ts +1266 -1
- package/lib/tag-input/index.js +1 -0
- package/lib/tag-input/list-tag-render.d.ts +0 -3
- package/lib/tag-input/tag-input.css +399 -41
- package/lib/tag-input/tag-input.d.ts +224 -34
- package/lib/tag-input/tag-input.less +102 -101
- package/lib/tag-input/tag-input.variable.css +768 -27
- package/lib/tag-input/tag-props.d.ts +106 -7
- package/lib/tag-input/tag-render.d.ts +0 -3
- package/lib/time-picker/index.d.ts +904 -0
- package/lib/time-picker/index.js +1 -0
- package/lib/time-picker/time-picker.css +572 -0
- package/lib/time-picker/time-picker.less +260 -0
- package/lib/time-picker/time-picker.variable.css +1048 -0
- package/lib/timeline/index.d.ts +6 -6
- package/lib/timeline/index.js +1 -0
- package/lib/timeline/timeline.css +392 -28
- package/lib/timeline/timeline.d.ts +1 -1
- package/lib/timeline/timeline.less +22 -9
- package/lib/timeline/timeline.variable.css +760 -13
- package/lib/transfer/const.d.ts +5 -0
- package/lib/transfer/index.d.ts +164 -150
- package/lib/transfer/index.js +1 -0
- package/lib/transfer/props.d.ts +54 -0
- package/lib/transfer/transfer.css +451 -91
- package/lib/transfer/transfer.d.ts +70 -95
- package/lib/transfer/transfer.less +93 -113
- package/lib/transfer/transfer.variable.css +838 -95
- package/lib/tree/constant.d.ts +62 -0
- package/lib/tree/index.d.ts +417 -57
- package/lib/tree/index.js +1 -0
- package/lib/tree/props.d.ts +124 -0
- package/lib/tree/tree.css +534 -9
- package/lib/tree/tree.d.ts +190 -18
- package/lib/tree/tree.less +54 -3
- package/lib/tree/tree.variable.css +1278 -13
- package/lib/tree/use-empty.d.ts +6 -0
- package/lib/tree/use-node-action.d.ts +12 -0
- package/lib/tree/use-node-async.d.ts +5 -0
- package/lib/tree/use-node-attribute.d.ts +33 -0
- package/lib/tree/use-node-drag.d.ts +3 -0
- package/lib/tree/use-search.d.ts +11 -0
- package/lib/tree/use-tree-init.d.ts +15 -0
- package/lib/tree/util.d.ts +4 -6
- package/lib/upload/index.d.ts +566 -0
- package/lib/upload/index.js +1 -0
- package/lib/upload/props.d.ts +111 -0
- package/lib/upload/upload-list.d.ts +47 -0
- package/lib/upload/upload-trigger.d.ts +51 -0
- package/lib/upload/upload.css +782 -0
- package/lib/upload/upload.d.ts +246 -0
- package/lib/upload/upload.less +464 -0
- package/lib/upload/upload.type.d.ts +78 -0
- package/lib/upload/upload.variable.css +1258 -0
- package/lib/upload/use-ajax-upload.d.ts +3 -0
- package/lib/upload/use-file-handler.d.ts +44 -0
- package/lib/virtual-render/index.d.ts +27 -4
- package/lib/virtual-render/index.js +1 -0
- package/lib/virtual-render/props.d.ts +10 -0
- package/lib/virtual-render/use-tag-render.d.ts +7 -0
- package/lib/virtual-render/v-virtual-render.d.ts +0 -1
- package/lib/virtual-render/virtual-render.css +374 -24
- package/lib/virtual-render/virtual-render.d.ts +12 -1
- package/lib/virtual-render/virtual-render.less +2 -31
- package/lib/virtual-render/virtual-render.variable.css +1207 -24
- package/lib/volar.components.d.ts +101 -0
- package/package.json +61 -42
- package/README_EN.md +0 -93
- package/dist/bkui-vue.cjs.js +0 -20212
- package/dist/bkui-vue.esm.js +0 -20159
- package/dist/bkui-vue.umd.js +0 -20215
- package/lib/alert/alert.js +0 -1
- package/lib/backtop/backtop.js +0 -1
- package/lib/badge/badge.js +0 -1
- package/lib/breadcrumb/breadcrumb.js +0 -1
- package/lib/button/button.js +0 -1
- package/lib/card/card.js +0 -1
- package/lib/checkbox/checkbox.js +0 -1
- package/lib/code-diff/code-diff.js +0 -1
- package/lib/collapse/collapse.js +0 -1
- package/lib/date-picker/date-picker.js +0 -1
- package/lib/dialog/dialog.js +0 -1
- package/lib/directives/directives.js +0 -2
- package/lib/divider/divider.js +0 -1
- package/lib/dropdown/dropdown.js +0 -1
- package/lib/exception/exception.js +0 -1
- package/lib/form/common.d.ts +0 -3
- package/lib/form/form.js +0 -1
- package/lib/icon/icon.js +0 -1
- package/lib/input/input.js +0 -1
- package/lib/link/link.js +0 -1
- package/lib/loading/loading.js +0 -1
- package/lib/menu/menu.js +0 -1
- package/lib/message/message.js +0 -1
- package/lib/modal/modal.js +0 -1
- package/lib/navigation/navigation.js +0 -1
- package/lib/notify/notify.js +0 -1
- package/lib/pagination/pagination.js +0 -1
- package/lib/popover/popover.js +0 -1
- package/lib/process/process.js +0 -1
- package/lib/progress/progress.js +0 -1
- package/lib/radio/radio.js +0 -1
- package/lib/rate/rate.js +0 -1
- package/lib/resize-layout/resize-layout.js +0 -1
- package/lib/select/select.js +0 -1
- package/lib/shared/shared.js +0 -1
- package/lib/sideslider/sideslider.js +0 -1
- package/lib/slider/slider.js +0 -1
- package/lib/steps/steps.js +0 -1
- package/lib/swiper/swiper.js +0 -1
- package/lib/switcher/switcher.js +0 -1
- package/lib/tab/tab.js +0 -1
- package/lib/table/table.js +0 -1
- package/lib/tag/tag.js +0 -1
- package/lib/tag-input/tag-input.js +0 -1
- package/lib/timeline/timeline.js +0 -1
- package/lib/transfer/transfer.js +0 -1
- package/lib/tree/tree.js +0 -1
- package/lib/use-form.d.ts +0 -3
- package/lib/virtual-render/virtual-render.js +0 -1
@@ -0,0 +1 @@
|
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"),require("../icon"),require("lodash"),require("../directives"),require("../input"),require("../loading"),require("../popover"),require("../virtual-render"),require("../tag"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../icon","lodash","../directives","../input","../loading","../popover","../virtual-render","../tag"],t);else{var r="object"==typeof exports?t(require("../shared"),require("vue"),require("../icon"),require("lodash"),require("../directives"),require("../input"),require("../loading"),require("../popover"),require("../virtual-render"),require("../tag")):t(e["../shared"],e.vue,e["../icon"],e.lodash,e["../directives"],e["../input"],e["../loading"],e["../popover"],e["../virtual-render"],e["../tag"]);for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(self,((e,t,r,n,o,l,a,i,u,s)=>(()=>{var c={7162:(e,t,r)=>{e.exports=r(5047)},5047:e=>{var t=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},l=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",i=o.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,r){return e[t]=r}}function s(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,l=Object.create(o.prototype),a=new C(n||[]);return l._invoke=function(e,t,r){var n=d;return function(o,l){if(n===p)throw new Error("Generator is already running");if(n===f){if("throw"===o)throw l;return I()}for(r.method=o,r.arg=l;;){var a=r.delegate;if(a){var i=V(a,r);if(i){if(i===h)continue;return i}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===d)throw n=f,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var u=c(e,t,r);if("normal"===u.type){if(n=r.done?f:v,u.arg===h)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=f,r.method="throw",r.arg=u.arg)}}}(e,r,a),l}function c(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var d="suspendedStart",v="suspendedYield",p="executing",f="completed",h={};function g(){}function y(){}function b(){}var m={};u(m,l,(function(){return this}));var w=Object.getPrototypeOf,T=w&&w(w(N([])));T&&T!==r&&n.call(T,l)&&(m=T);var x=b.prototype=g.prototype=Object.create(m);function P(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function r(o,l,a,i){var u=c(e[o],e,l);if("throw"!==u.type){var s=u.arg,d=s.value;return d&&"object"==typeof d&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,a,i)}),(function(e){r("throw",e,a,i)})):t.resolve(d).then((function(e){s.value=e,a(s)}),(function(e){return r("throw",e,a,i)}))}i(u.arg)}var o;this._invoke=function(e,n){function l(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(l,l):l()}}function V(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,V(e,r),"throw"===r.method))return h;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var o=c(n,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,h;var l=o.arg;return l?l.done?(r[e.resultName]=l.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,h):l:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,h)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function N(e){if(e){var r=e[l];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}return{next:I}}function I(){return{value:t,done:!0}}return y.prototype=b,u(x,"constructor",b),u(b,"constructor",y),y.displayName=u(b,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,u(e,i,"GeneratorFunction")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},P(S.prototype),u(S.prototype,a,(function(){return this})),e.AsyncIterator=S,e.async=function(t,r,n,o,l){void 0===l&&(l=Promise);var a=new S(s(t,r,n,o),l);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},P(x),u(x,i,"Generator"),u(x,l,(function(){return this})),u(x,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=N,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(O),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return i.type="throw",i.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var l=this.tryEntries.length-1;l>=0;--l){var a=this.tryEntries[l],i=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var l=o;break}}l&&("break"===e||"continue"===e)&&l.tryLoc<=t&&t<=l.finallyLoc&&(l=null);var a=l?l.completion:{};return a.type=e,a.arg=t,l?(this.method="next",this.next=l.finallyLoc,h):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),O(r),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},4061:e=>{"use strict";e.exports=o},6870:e=>{"use strict";e.exports=r},8133:e=>{"use strict";e.exports=l},4870:e=>{"use strict";e.exports=a},5537:e=>{"use strict";e.exports=i},4212:t=>{"use strict";t.exports=e},7739:e=>{"use strict";e.exports=s},3511:e=>{"use strict";e.exports=u},467:e=>{"use strict";e.exports=n},748:e=>{"use strict";e.exports=t}},d={};function v(e){var t=d[e];if(void 0!==t)return t.exports;var r=d[e]={exports:{}};return c[e](r,r.exports,v),r.exports}v.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return v.d(t,{a:t}),t},v.d=(e,t)=>{for(var r in t)v.o(t,r)&&!v.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},v.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),v.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var p={};return(()=>{"use strict";v.r(p),v.d(p,{BkOption:()=>c,BkOptionGroup:()=>h,BkSelect:()=>L,default:()=>E});var e=v(4212),t=v(748),r=v(6870),n=v(7162),o=v.n(n);Object.create,Object.create;var l=Symbol("BkSelect"),a=Symbol("BkOptionGroup");function i(e){return{register:function(t,r){if(r){if(!e.value.has(t))return e.value.set(t,r);console.warn("repeat ".concat(t),r)}},unregister:function(t){e.value.delete(t)}}}function u(e,r){var n=this,l=function(e){var r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,o=e;return(0,t.customRef)((function(e,t){return{get:function(){return e(),o},set:function(e){clearTimeout(r),void 0===e||""===e?(o=e,t()):r=setTimeout((function(){o=e,t()}),n)}}}))}(""),a=(0,t.ref)(!1);return(0,t.watch)(l,(function(){return t=n,i=void 0,u=void 0,s=o().mark((function t(){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,a.value=!0,t.next=4,e(l.value);case 4:a.value=!1,t.next=10;break;case 7:t.prev=7,t.t0=t.catch(0),console.error(t.t0);case 10:return t.prev=10,null==r||r(),t.finish(10);case 13:case"end":return t.stop()}}),t,null,[[0,7,10,13]])})),new(u||(u=Promise))((function(e,r){function n(e){try{l(s.next(e))}catch(e){r(e)}}function o(e){try{l(s.throw(e))}catch(e){r(e)}}function l(t){var r;t.done?e(t.value):(r=t.value,r instanceof u?r:new u((function(e){e(r)}))).then(n,o)}l((s=s.apply(t,i||[])).next())}));var t,i,u,s})),{searchKey:l,searchLoading:a}}function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?String(e).trim().toLowerCase():e}const c=(0,t.defineComponent)({name:"Option",props:{value:e.PropTypes.any,label:e.PropTypes.string.def(""),disabled:e.PropTypes.bool.def(!1)},setup:function(e){var r=(0,t.getCurrentInstance)().proxy,n=(0,t.reactive)({visible:!0}),o=(0,t.toRefs)(e),i=o.disabled,u=o.value,s=(0,t.inject)(l,null),c=(0,t.inject)(a,null),d=(0,t.computed)((function(){var e;return null===(e=null==s?void 0:s.selected)||void 0===e?void 0:e.some((function(e){return e.value===u.value}))})),v=(0,t.computed)((function(){return null==s?void 0:s.multiple})),p=(0,t.computed)((function(){return(null==s?void 0:s.activeOptionValue)===u.value})),f=(0,t.computed)((function(){return null==s?void 0:s.showSelectedIcon}));return(0,t.onBeforeMount)((function(){null==s||s.register(u.value,r),null==c||c.register(u.value,r)})),(0,t.onBeforeUnmount)((function(){null==s||s.unregister(u.value),null==c||c.unregister(u.value)})),Object.assign(Object.assign({},(0,t.toRefs)(n)),{selected:d,multiple:v,isHover:p,showSelectedIcon:f,handleOptionClick:function(){i.value||null==s||s.handleOptionSelected(r)},handleMouseEnter:function(){s.activeOptionValue=u.value}})},render:function(){var n,o,l,a=(0,e.classes)({"is-selected":this.selected,"is-disabled":this.disabled,"is-multiple":this.multiple,"is-hover":this.isHover,"bk-select-option":!0});return(0,t.withDirectives)((0,t.createVNode)("li",{class:a,onClick:this.handleOptionClick,onMouseenter:this.handleMouseEnter},[null!==(l=null===(o=(n=this.$slots).default)||void 0===o?void 0:o.call(n))&&void 0!==l?l:(0,t.createVNode)("span",{class:"bk-select-option-item",title:this.label},[this.label]),this.multiple&&this.selected&&this.showSelectedIcon&&(0,t.createVNode)(r.Done,{class:"bk-select-selected-icon",width:22,height:22},null)]),[[t.vShow,this.visible]])}});function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function f(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const h=(0,t.defineComponent)({name:"Group",props:{label:e.PropTypes.string.def(""),disabled:e.PropTypes.bool.def(!1),collapsible:e.PropTypes.bool.def(!1),collapse:e.PropTypes.bool.def(!1)},setup:function(e,r){var n=r.emit,o=(0,t.getCurrentInstance)(),u=o.proxy,s=(0,t.inject)(l,null),c=(0,t.reactive)({groupCollapse:e.collapse,visible:!0}),d=(0,t.ref)(new Map),v=i(d),p=v.register,h=v.unregister,g=(0,t.computed)((function(){return"".concat(e.label," (").concat(f(d.value.values()).filter((function(e){return e.visible})).length,")")}));return(0,t.provide)(a,(0,t.reactive)(Object.assign(Object.assign({},(0,t.toRefs)(e)),{register:p,unregister:h,groupCollapse:(0,t.toRef)(c,"groupCollapse")}))),(0,t.onBeforeMount)((function(){null==s||s.registerGroup(o.uid,u)})),(0,t.onBeforeUnmount)((function(){null==s||s.unregisterGroup(o.uid)})),Object.assign(Object.assign({},(0,t.toRefs)(c)),{groupLabel:g,handleToggleCollapse:function(){e.collapsible&&!e.disabled&&(c.groupCollapse=!c.groupCollapse,n("update:collapse",c.groupCollapse))}})},render:function(){var n,o,l=(0,e.classes)({"bk-option-group":!0,collapsible:this.collapsible,disabled:this.disabled}),a=(0,e.classes)({"bk-option-group-label":!0,collapsible:this.collapsible}),i=(0,e.classes)({"default-group-label-icon":!0,collapse:this.groupCollapse});return(0,t.withDirectives)((0,t.createVNode)("ul",{class:l},[(0,t.createVNode)("li",{class:a,onClick:this.handleToggleCollapse},[this.$slots.label?this.$slots.label():(0,t.createVNode)("span",{class:"default-group-label"},[this.collapsible&&(0,t.createVNode)(r.AngleUpFill,{class:i},null),(0,t.createVNode)("span",{class:"default-group-label-title"},[this.groupLabel])])]),(0,t.withDirectives)((0,t.createVNode)("ul",{class:"bk-option-group-content"},[null===(o=(n=this.$slots).default)||void 0===o?void 0:o.call(n)]),[[t.vShow,!this.groupCollapse]])]),[[t.vShow,this.visible]])}});function g(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var y=v(467),b=v(4061),m=v(8133),w=v.n(m),T=v(4870),x=v.n(T),P=v(5537),S=v.n(P),V=v(3511),k=v.n(V),O=v(7739),C=v.n(O);const N=(0,t.defineComponent)({name:"SelectTagInput",props:{selected:{type:Array,default:function(){return[]}},tagTheme:e.TagThemeType,placeholder:e.PropTypes.string.def(""),filterable:e.PropTypes.bool.def(!1),allowCreate:e.PropTypes.bool.def(!1),disabled:e.PropTypes.bool.def(!1),modelValue:e.PropTypes.any,collapseTags:e.PropTypes.bool.def(!1)},emits:["update:modelValue","remove","enter"],setup:function(e,r){var n=r.emit,o=(0,t.getCurrentInstance)().proxy,a=(0,t.inject)(l,null),i=(0,t.toRefs)(e),u=i.modelValue,s=i.collapseTags,c=i.selected,d=(0,t.ref)(u.value),v=(0,t.ref)(),p=(0,t.ref)(null);(0,t.watch)(u,(function(){d.value=u.value})),(0,t.watch)([c,s],(function(){h()}),{flush:"post"});var h=function(){s.value&&(p.value=null,setTimeout((function(){var e=function(e){var t=f(o.$el.querySelectorAll(".bk-tag"));return t}(),t=e.findIndex((function(t,r){return!!r&&e[r-1].offsetTop!==t.offsetTop}));p.value=t>0?t:null})))};return{select:a,overflowTagIndex:p,value:d,inputRef:v,handleRemoveTag:function(e){n("remove",e)},focus:function(){var e;null===(e=v.value)||void 0===e||e.focus()},handleInput:function(e){n("update:modelValue",e.target.value)},handleKeydown:function(e){"Enter"===e.code&&n("enter",e.target.value,e)}}},render:function(){var r,n,o,l,a,i,u,s=this,c=(0,e.classes)({"bk-select-tag":!0,"bk-select-tag--default":!0,"is-disabled":this.disabled,"collapse-tag":this.collapseTags}),d=(0,e.classes)({"bk-select-tag-wrapper":!0}),v={display:this.selected.length&&!this.filterable?"none":""};return(0,t.createVNode)("div",{class:c},[null===(n=null===(r=this.$slots)||void 0===r?void 0:r.prefix)||void 0===n?void 0:n.call(r),(0,t.createVNode)("span",{class:d},[null!==(a=null===(l=(o=this.$slots).default)||void 0===l?void 0:l.call(o))&&void 0!==a?a:this.selected.map((function(e,r){var n;return(0,t.createVNode)(C(),{closable:!0,theme:s.tagTheme,style:{display:s.collapseTags&&s.overflowTagIndex&&r>=s.overflowTagIndex?"none":""},onClose:function(){return s.handleRemoveTag(e.value)}},{default:function(){return[null===(n=s.select)||void 0===n?void 0:n.handleGetLabelByValue(e.value)]}})})),!!this.overflowTagIndex&&this.collapseTags&&(0,t.createVNode)(C(),{class:"bk-select-overflow-tag"},{default:function(){return[(0,t.createTextVNode)("+"),s.selected.length-s.overflowTagIndex]}})]),(0,t.createVNode)("input",{class:"bk-select-tag-input",ref:"inputRef",type:"text",style:v,placeholder:this.selected.length?"":this.placeholder,readonly:!this.filterable,disabled:this.disabled,value:this.filterable?this.value:"",onInput:this.handleInput,onKeydown:this.handleKeydown},null),null===(u=null===(i=this.$slots)||void 0===i?void 0:i.suffix)||void 0===u?void 0:u.call(i)])}}),I=(0,t.defineComponent)({name:"Select",directives:{clickoutside:b.clickoutside},props:{modelValue:e.PropTypes.any,multiple:e.PropTypes.bool.def(!1),disabled:e.PropTypes.bool.def(!1),size:e.PropTypes.size().def(e.SizeEnum.DEFAULT),clearable:e.PropTypes.bool.def(!0),loading:e.PropTypes.bool.def(!1),filterable:e.PropTypes.bool.def(!1),remoteMethod:e.PropTypes.func,scrollHeight:e.PropTypes.number.def(200),showSelectAll:e.PropTypes.bool.def(!1),popoverMinWidth:e.PropTypes.number.def(0),showOnInit:e.PropTypes.bool.def(!1),multipleMode:e.PropTypes.oneOf(["default","tag"]).def("default"),tagTheme:e.TagThemeType,behavior:e.InputBehaviorType,collapseTags:e.PropTypes.bool.def(!1),autoHeight:e.PropTypes.bool.def(!0),noDataText:e.PropTypes.string.def("无数据"),noMatchText:e.PropTypes.string.def("无匹配数据"),loadingText:e.PropTypes.string.def("加载中..."),placeholder:e.PropTypes.string.def("请选择"),searchPlaceholder:e.PropTypes.string.def("请输入关键字"),selectAllText:e.PropTypes.string.def("全部"),scrollLoading:e.PropTypes.bool.def(!1),allowCreate:e.PropTypes.bool.def(!1),popoverOptions:e.PropTypes.object.def({}),customContent:e.PropTypes.bool.def(!1),list:e.PropTypes.array.def([]),idKey:e.PropTypes.string.def("value"),displayKey:e.PropTypes.string.def("label"),withValidate:e.PropTypes.bool.def(!0),showSelectedIcon:e.PropTypes.bool.def(!0),inputSearch:e.PropTypes.bool.def(!0),enableVirtualRender:e.PropTypes.bool.def(!1),allowEmptyValues:e.PropTypes.array.def([]),autoFocus:e.PropTypes.bool.def(!1)},emits:["update:modelValue","change","toggle","clear","scroll-end","focus","blur"],setup:function(r,n){var o=n.emit,a=(0,t.toRefs)(r),c=a.modelValue,d=a.disabled,v=a.filterable,p=a.multiple,h=a.remoteMethod,g=a.loading,b=a.loadingText,m=a.noDataText,w=a.noMatchText,T=a.popoverMinWidth,x=a.showOnInit,P=a.multipleMode,S=a.allowCreate,V=a.customContent,k=a.showSelectedIcon,O=a.inputSearch,C=a.enableVirtualRender,N=a.showSelectAll,I=a.scrollHeight,L=a.list,E=a.displayKey,j=a.collapseTags,R=a.autoHeight,M=a.popoverOptions,A=a.allowEmptyValues,H=a.autoFocus,q=(0,e.useFormItem)(),K=(0,t.ref)(),D=(0,t.ref)(),G=(0,t.ref)(),_=(0,t.ref)(),B=(0,t.ref)(),$=(0,t.ref)(),F=(0,t.ref)(),z=(0,t.ref)(new Map),U=(0,t.computed)((function(){return f(z.value.values())})),W=(0,t.ref)(new Map),Y=(0,t.ref)([]),J=(0,t.computed)((function(){return Y.value.reduce((function(e,t){return e[t.value]=t.label,e}),{})})),Q=(0,t.ref)();(0,t.watch)(c,(function(){var e;De(),r.withValidate&&(null===(e=null==q?void 0:q.validate)||void 0===e||e.call(q,"blur"))}),{deep:!0}),(0,t.watch)(Y,(function(){var e;null===(e=F.value)||void 0===e||e.updatePopover(null,de.value)}));var X=(0,t.computed)((function(){return le.value?L.value:L.value.filter((function(e){var t;return null===(t=s(String(e[E.value])))||void 0===t?void 0:t.includes(s(Re.value))}))})),Z=(0,t.computed)((function(){return d.value||g.value})),ee=(0,t.computed)((function(){return Y.value.map((function(e){var t,r;return(null===(r=null===(t=z.value)||void 0===t?void 0:t.get(e.value))||void 0===r?void 0:r.label)||e.label}))})),te=(0,t.computed)((function(){var e=U.value.reduce((function(e,t){return t.disabled||e.push(t.value),e}),[]);return e.length<=Y.value.length&&e.every((function(e){return Y.value.some((function(t){return t.value===e}))}))})),re=(0,t.computed)((function(){return!!W.value.size})),ne=(0,t.computed)((function(){return!U.value.length})),oe=(0,t.computed)((function(){return U.value.length&&U.value.every((function(e){return!e.visible}))})),le=(0,t.computed)((function(){return v.value&&"function"==typeof h.value})),ae=(0,t.computed)((function(){return!(Me.value||ne.value||oe.value)||V.value})),ie=(0,t.computed)((function(){return p.value&&N.value&&(!Re.value||!v.value)})),ue=(0,t.computed)((function(){return I.value-12-(ie.value?32:0)})),se=(0,t.computed)((function(){return Me.value?b.value:ne.value?m.value:oe.value?w.value:""})),ce=(0,t.computed)((function(){return R.value?j.value&&!Oe.value:j.value})),de=(0,t.computed)((function(){return(0,y.merge)({theme:"light bk-select-popover",trigger:"manual",width:ke.value,arrow:!1,placement:"bottom-start",isShow:Oe.value,reference:B.value,offset:6},M.value)})),ve=i(z),pe=ve.register,fe=ve.unregister,he=i(W),ge=he.register,ye=he.unregister,be=function(){var e=(0,t.ref)(!1);return{isHover:e,setHover:function(){e.value=!0},cancelHover:function(){e.value=!1}}}(),me=be.isHover,we=be.setHover,Te=be.cancelHover,xe=(0,t.ref)(!1),Pe=function(){xe.value||(xe.value=!0,o("focus"))},Se=function(){xe.value&&(xe.value=!1,o("blur"))},Ve=function(r,n){var o=r.popoverMinWidth,l=null,a=(0,t.ref)("auto"),i=(0,t.ref)(!1),u=function(){var e;a.value=Math.max(null===(e=n.value)||void 0===e?void 0:e.offsetWidth,o)};return(0,t.onMounted)((function(){n.value&&(l=(0,e.observerResize)(n.value,u,60,!0)).start()})),(0,t.onBeforeUnmount)((function(){null==l||l.stop(),l=null})),{isPopoverShow:i,popperWidth:a,togglePopover:function(){i.value=!i.value},hidePopover:function(){i.value=!1},showPopover:function(){i.value=!0}}}({popoverMinWidth:T.value},D),ke=Ve.popperWidth,Oe=Ve.isPopoverShow,Ce=Ve.hidePopover,Ne=Ve.showPopover,Ie=Ve.togglePopover;(0,t.watch)(Oe,(function(){o("toggle",Oe.value)}));var Le=(0,t.computed)((function(){return(v.value&&O.value||S.value)&&Oe.value}));(0,t.watch)(Oe,(function(e){e?(qe(),Ee()):Re.value=""}));var Ee=function(){var e,t=Y.value[0],r=z.value.get(null==t?void 0:t.value);r&&!r.disabled&&r.visible?Q.value=null==t?void 0:t.value:Q.value=null===(e=U.value.find((function(e){return!e.disabled&&e.visible})))||void 0===e?void 0:e.value},je=u(le.value?h.value:function(e){v.value&&U.value.forEach((function(t){var r;t.visible=null===(r=s(String(t.label)))||void 0===r?void 0:r.includes(s(e))}))},Ee),Re=je.searchKey,Me=je.searchLoading,Ae=function(e){e!==c.value&&(o("update:modelValue",e,c.value),o("change",e,c.value))},He=function(e){if(!Z.value&&e){if(p.value){var t=Y.value.findIndex((function(t){return t.value===e.value}));t>-1?Y.value.splice(t,1):Y.value.push({value:e.value,label:e.label||e.value}),Ae(Y.value.map((function(e){return e.value})))}else Y.value=[{label:e.label||e.value,value:e.value}],Ae(e.value),Ce();qe()}},qe=function(){setTimeout((function(){var e,t,r;O.value||S.value?"tag"===P.value?null===(t=B.value)||void 0===t||t.focus():null===(r=K.value)||void 0===r||r.focus():null===(e=_.value)||void 0===e||e.focus()}),0)},Ke=function(e){var t,r;return(null===(r=null===(t=z.value)||void 0===t?void 0:t.get(e))||void 0===r?void 0:r.label)||J.value[e]||e},De=function(){Array.isArray(c.value)?Y.value=f(c.value.map((function(e){return{value:e,label:Ke(e)}}))):c.value||A.value.includes(c.value)?Y.value=[{value:c.value,label:Ke(c.value)}]:Y.value=[]},Ge=function(e){var t,r,n,o;if((null===(t=D.value)||void 0===t?void 0:t.contains(e.target))||(null===(r=G.value)||void 0===r?void 0:r.contains(e.target))||V.value){var l=U.value.filter((function(e){return!e.disabled&&e.visible})),a=l.findIndex((function(e){return e.value===Q.value}));if(l.length&&-1!==a)switch(e.code){case"ArrowDown":e.preventDefault();var i=a>=l.length-1?0:a+1;Q.value=null===(n=l[i])||void 0===n?void 0:n.value;break;case"ArrowUp":e.preventDefault();var u=0===a?l.length-1:a-1;Q.value=null===(o=l[u])||void 0===o?void 0:o.value;break;case"Backspace":if(!p.value||!Y.value.length||Re.value.length||e.target===_.value)return;Y.value.pop(),Ae(Y.value.map((function(e){return e.value})));break;case"Enter":if(Oe.value){var s=z.value.get(Q.value);He(s)}else Oe.value=!0}}};return(0,t.provide)(l,(0,t.reactive)({multiple:p,selected:Y,activeOptionValue:Q,showSelectedIcon:k,register:pe,unregister:fe,registerGroup:ge,unregisterGroup:ye,handleOptionSelected:He,handleGetLabelByValue:Ke})),(0,t.onMounted)((function(){De(),setTimeout((function(){x.value&&Ne(),H.value&&qe()})),(0,e.on)(document,"keydown",Ge)})),(0,t.onBeforeMount)((function(){(0,e.off)(document,"keydown",Ge)})),{selected:Y,isInput:Le,options:U,isDisabled:Z,selectedLabel:ee,isPopoverShow:Oe,isHover:me,popperWidth:ke,inputRef:K,triggerRef:D,contentRef:G,searchRef:_,selectTagInputRef:B,virtualRenderRef:$,popoverRef:F,searchLoading:Me,isOptionsEmpty:ne,isSearchEmpty:oe,isFocus:xe,isShowSelectContent:ae,curContentText:se,isGroup:re,searchKey:Re,isShowSelectAll:ie,virtualHeight:ue,filterList:X,isCollapseTags:ce,popoverConfig:de,focusInput:qe,setHover:we,cancelHover:Te,handleFocus:Pe,handleBlur:Se,handleTogglePopover:function(){Z.value||(Pe(),Ie())},handleClear:function(e){e.stopPropagation(),Y.value=[],Ae(p.value?[]:""),o("clear",p.value?[]:""),Ce()},hidePopover:Ce,showPopover:Ne,handleToggleAll:function(){te.value?Y.value=[]:U.value.forEach((function(e){e.disabled||Y.value.find((function(t){return t.value===e.value}))||Y.value.push({value:e.value,label:e.label||e.value})})),Ae(Y.value.map((function(e){return e.value}))),qe()},handleOptionSelected:He,handleClickOutside:function(e){var t,r=e.event.target;(null===(t=D.value)||void 0===t?void 0:t.contains(r))||D.value===r||(Ce(),Se())},handleScroll:function(e){var t=e.target;t.scrollTop+t.clientHeight===t.scrollHeight&&o("scroll-end")},handleDeleteTag:function(e){if(!Z.value){var t=Y.value.findIndex((function(t){return t.value===e}));t>-1&&(Y.value.splice(t,1),Ae(Y.value.map((function(e){return e.value}))))}},handleInputChange:function(e){v.value&&(Re.value=e)},handleInputEnter:function(e,t){var r=String(e);!S.value||!r||v.value&&U.value.find((function(e){return s(String(e.label))===s(r)}))||z.value.get(r)||(t.stopPropagation(),p.value?(Y.value.push({value:r,label:r}),Ae(Y.value.map((function(e){return e.value})))):(Y.value=[{value:r,label:r}],Ae(r),Ce()),Re.value="")},handleKeydown:Ge,handleSelectedAllOptionMouseEnter:function(){Q.value=""},handlePopoverShow:function(){setTimeout((function(){var e,t;C.value&&(null===(t=null===(e=$.value)||void 0===e?void 0:e.reset)||void 0===t||t.call(e))}))}}},render:function(){var n,o=this,l=(0,e.classes)((g(n={"bk-select":!0,"popover-show":this.isPopoverShow,"is-disabled":this.isDisabled,"is-focus":this.isFocus,"is-filterable":this.filterable},this.size,!0),g(n,this.behavior,!0),n)),a=function(){return o.loading?(0,t.createVNode)(x(),{loading:!0,theme:"primary",class:"spinner",mode:"spin",size:"mini"},null):o.clearable&&o.isHover&&o.selected.length&&!o.isDisabled?(0,t.createVNode)(r.Close,{class:"clear-icon",onClick:o.handleClear},null):(0,t.createVNode)(r.AngleUp,{class:"angle-up"},null)};return(0,t.createVNode)("div",{class:l},[(0,t.createVNode)(S(),(0,t.mergeProps)(this.popoverConfig,{onClickoutside:this.handleClickOutside,onAfterShow:this.handlePopoverShow,ref:"popoverRef"}),{default:function(){return(0,t.createVNode)("div",{class:"bk-select-trigger",style:{height:o.autoHeight&&o.collapseTags?"32px":""},ref:"triggerRef",onClick:o.handleTogglePopover,onMouseenter:o.setHover,onMouseleave:o.cancelHover},["tag"===o.multipleMode?(0,t.createVNode)(N,{ref:"selectTagInputRef",modelValue:o.searchKey,"onUpdate:modelValue":function(e){return o.searchKey=e},selected:o.selected,tagTheme:o.tagTheme,placeholder:o.placeholder,filterable:o.isInput,disabled:o.isDisabled,onRemove:o.handleDeleteTag,collapseTags:o.isCollapseTags,onEnter:o.handleInputEnter},{prefix:function(){var e,t;return null===(t=(e=o.$slots).prefix)||void 0===t?void 0:t.call(e)},default:o.$slots.tag&&function(){return o.$slots.tag({selected:o.selected})},suffix:function(){return a()}}):(0,t.createVNode)(w(),{ref:"inputRef",type:"text",modelValue:o.isInput?o.searchKey:o.selectedLabel.join(","),placeholder:o.isInput&&o.selectedLabel.join(",")||o.placeholder,readonly:!o.isInput,selectReadonly:!0,disabled:o.isDisabled,behavior:o.behavior,size:o.size,withValidate:!1,onInput:o.handleInputChange,onEnter:o.handleInputEnter},{prefix:function(){var e,t;return null===(t=(e=o.$slots).prefix)||void 0===t?void 0:t.call(e)},suffix:function(){return a()}})])},content:function(){return(0,t.createVNode)("div",{class:"bk-select-content-wrapper",ref:"contentRef"},[o.filterable&&!o.inputSearch&&(0,t.createVNode)("div",{class:"bk-select-search-wrapper"},[(0,t.createVNode)(r.Search,{class:"icon-search",width:16,height:16},null),(0,t.withDirectives)((0,t.createVNode)("input",{ref:"searchRef",class:"bk-select-search-input",placeholder:o.searchPlaceholder,"onUpdate:modelValue":function(e){return o.searchKey=e}},null),[[t.vModelText,o.searchKey]])]),!o.isShowSelectContent&&(0,t.createVNode)("div",{class:"bk-select-empty"},[o.searchLoading&&(0,t.createVNode)(x(),{class:"mr5",theme:"primary",loading:!0,mode:"spin",size:"mini"},null),(0,t.createVNode)("span",null,[o.curContentText])]),(0,t.createVNode)("div",{class:"bk-select-content"},[(0,t.createVNode)("div",{class:"bk-select-dropdown",style:{maxHeight:"".concat(o.scrollHeight,"px")},onScroll:o.handleScroll},[(0,t.withDirectives)((0,t.createVNode)("ul",{class:"bk-select-options"},[o.isShowSelectAll&&(0,t.createVNode)("li",{class:"bk-select-option",onMouseenter:o.handleSelectedAllOptionMouseEnter,onClick:o.handleToggleAll},[o.selectAllText]),o.enableVirtualRender?(0,t.createVNode)(k(),{list:o.filterList,height:o.virtualHeight,lineHeight:32,ref:"virtualRenderRef"},{default:function(e){return e.data.map((function(e){return(0,t.createVNode)(c,{key:e[o.idKey],value:e[o.idKey],label:e[o.displayKey]},null)}))}}):o.filterList.map((function(e){return(0,t.createVNode)(c,{value:e[o.idKey],label:e[o.displayKey]},null)})),null===(n=(e=o.$slots).default)||void 0===n?void 0:n.call(e),o.scrollLoading&&(0,t.createVNode)("li",{class:"bk-select-options-loading"},[(0,t.createVNode)(x(),{class:"spinner mr5",theme:"primary",loading:!0,mode:"spin",size:"mini"},null),(0,t.createVNode)("span",null,[o.loadingText])])]),[[t.vShow,o.isShowSelectContent]])]),o.$slots.extension&&(0,t.createVNode)("div",{class:"bk-select-extension"},[o.$slots.extension()])])]);var e,n}})])}});var L=(0,e.withInstallProps)(I,{Option:c,Group:h});const E=L})(),p})()));
|
package/lib/select/option.d.ts
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
2
|
-
value: import("vue-types").
|
3
|
-
label: import("vue-types").
|
2
|
+
value: import("vue-types").VueTypeValidableDef<any>;
|
3
|
+
label: import("vue-types").VueTypeValidableDef<string> & {
|
4
|
+
default: string;
|
5
|
+
} & {
|
6
|
+
default: string;
|
7
|
+
};
|
4
8
|
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
5
9
|
default: boolean;
|
6
10
|
} & {
|
@@ -9,17 +13,25 @@ declare const _default: import("vue").DefineComponent<{
|
|
9
13
|
}, {
|
10
14
|
selected: import("vue").ComputedRef<boolean>;
|
11
15
|
multiple: import("vue").ComputedRef<boolean>;
|
16
|
+
isHover: import("vue").ComputedRef<boolean>;
|
17
|
+
showSelectedIcon: import("vue").ComputedRef<boolean>;
|
12
18
|
handleOptionClick: () => void;
|
19
|
+
handleMouseEnter: () => void;
|
13
20
|
visible: import("vue").Ref<boolean>;
|
14
21
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
15
|
-
value: import("vue-types").
|
16
|
-
label: import("vue-types").
|
22
|
+
value: import("vue-types").VueTypeValidableDef<any>;
|
23
|
+
label: import("vue-types").VueTypeValidableDef<string> & {
|
24
|
+
default: string;
|
25
|
+
} & {
|
26
|
+
default: string;
|
27
|
+
};
|
17
28
|
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
18
29
|
default: boolean;
|
19
30
|
} & {
|
20
31
|
default: boolean;
|
21
32
|
};
|
22
33
|
}>>, {
|
34
|
+
label: string;
|
23
35
|
disabled: boolean;
|
24
36
|
}>;
|
25
37
|
export default _default;
|