bkui-vue 0.0.1-beta.10 → 0.0.1-beta.102
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/README.md +31 -19
- package/dist/index.cjs.js +57 -0
- package/dist/index.esm.js +26854 -0
- package/dist/index.umd.js +57 -0
- package/dist/style.css +1 -2348
- package/lib/affix/affix.css +3 -0
- package/lib/affix/affix.d.ts +47 -0
- package/lib/affix/affix.less +5 -0
- package/lib/affix/affix.variable.css +102 -0
- package/lib/affix/index.d.ts +143 -0
- package/lib/affix/index.js +1 -0
- package/lib/alert/alert.css +5 -3
- package/lib/alert/alert.d.ts +24 -15
- package/lib/alert/alert.less +7 -3
- package/lib/alert/alert.variable.css +34 -3
- package/lib/alert/index.d.ts +96 -60
- package/lib/alert/index.js +1 -1
- package/lib/animate-number/animate-number.d.ts +12 -7
- package/lib/animate-number/index.d.ts +48 -28
- package/lib/animate-number/index.js +1 -1
- package/lib/backtop/backtop.d.ts +27 -13
- package/lib/backtop/backtop.variable.css +29 -0
- package/lib/backtop/index.d.ts +108 -52
- package/lib/backtop/index.js +1 -1
- package/lib/badge/badge.css +5 -5
- package/lib/badge/badge.d.ts +64 -22
- package/lib/badge/badge.less +5 -6
- package/lib/badge/badge.variable.css +34 -5
- package/lib/badge/index.d.ts +202 -84
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/breadcrumb-item.d.ts +13 -9
- package/lib/breadcrumb/breadcrumb.css +18 -1
- package/lib/breadcrumb/breadcrumb.d.ts +37 -9
- package/lib/breadcrumb/breadcrumb.less +13 -2
- package/lib/breadcrumb/breadcrumb.variable.css +47 -1
- package/lib/breadcrumb/index.d.ts +118 -46
- package/lib/breadcrumb/index.js +1 -1
- package/lib/button/button-group.d.ts +3 -5
- package/lib/button/button.css +73 -44
- package/lib/button/button.d.ts +67 -31
- package/lib/button/button.less +68 -47
- package/lib/button/button.variable.css +102 -44
- package/lib/button/index.d.ts +172 -108
- package/lib/button/index.js +1 -1
- package/lib/card/card.css +53 -1
- package/lib/card/card.d.ts +74 -18
- package/lib/card/card.less +50 -2
- package/lib/card/card.variable.css +82 -1
- package/lib/card/index.d.ts +225 -69
- package/lib/card/index.js +1 -1
- package/lib/cascader/cascader-panel.d.ts +48 -0
- package/lib/cascader/cascader.css +130 -0
- package/lib/cascader/cascader.d.ts +271 -0
- package/lib/cascader/cascader.less +146 -0
- package/lib/cascader/cascader.variable.css +229 -0
- package/lib/cascader/index.d.ts +721 -0
- package/lib/cascader/index.js +1 -0
- package/lib/cascader/interface.d.ts +44 -0
- package/lib/cascader/node.d.ts +24 -0
- package/lib/cascader/store.d.ts +15 -0
- package/lib/checkbox/checkbox-group.d.ts +13 -9
- package/lib/checkbox/checkbox.css +15 -2
- package/lib/checkbox/checkbox.d.ts +33 -30
- package/lib/checkbox/checkbox.less +20 -2
- package/lib/checkbox/checkbox.variable.css +44 -2
- package/lib/checkbox/common.d.ts +3 -3
- package/lib/checkbox/index.d.ts +136 -104
- package/lib/checkbox/index.js +1 -1
- package/lib/checkbox/type.d.ts +4 -8
- package/lib/code-diff/code-diff.css +186 -0
- package/lib/code-diff/code-diff.d.ts +80 -0
- package/lib/code-diff/code-diff.less +238 -0
- package/lib/code-diff/code-diff.variable.css +285 -0
- package/lib/code-diff/index.d.ts +154 -0
- package/lib/code-diff/index.js +1 -0
- package/lib/collapse/collapse.css +25 -1
- package/lib/collapse/collapse.d.ts +51 -22
- package/lib/collapse/collapse.less +34 -2
- package/lib/collapse/collapse.variable.css +124 -1
- package/lib/collapse/index.d.ts +127 -75
- package/lib/collapse/index.js +1 -1
- package/lib/collapse/utils.d.ts +11 -0
- package/lib/components.d.ts +28 -4
- package/lib/components.js +1 -0
- package/lib/container/col.d.ts +51 -0
- package/lib/container/container.css +48 -0
- package/lib/container/container.d.ts +83 -0
- package/lib/container/container.less +20 -0
- package/lib/container/container.variable.css +147 -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/date-picker.css +408 -0
- package/lib/date-picker/date-picker.d.ts +312 -0
- package/lib/date-picker/date-picker.less +527 -0
- package/lib/date-picker/date-picker.variable.css +507 -0
- package/lib/date-picker/fecha.d.ts +6 -0
- package/lib/date-picker/index.d.ts +753 -0
- package/lib/date-picker/index.js +1 -0
- package/lib/date-picker/interface.d.ts +22 -0
- package/lib/date-picker/props.d.ts +118 -0
- package/lib/date-picker/utils.d.ts +97 -0
- package/lib/dialog/dialog.css +66 -14
- package/lib/dialog/dialog.d.ts +305 -52
- package/lib/dialog/dialog.less +34 -14
- package/lib/dialog/dialog.variable.css +66 -14
- package/lib/dialog/index.d.ts +704 -115
- package/lib/dialog/index.js +1 -1
- package/lib/directives/clickoutside.d.ts +3 -23
- package/lib/directives/index.d.ts +1 -0
- package/lib/directives/index.js +2 -15
- package/lib/directives/index.js.LICENSE.txt +14 -0
- package/lib/directives/tooltips.d.ts +17 -0
- package/lib/dist.index.js +1 -0
- package/lib/divider/divider.css +38 -0
- package/lib/divider/divider.d.ts +48 -0
- package/lib/divider/divider.less +53 -0
- package/lib/divider/divider.variable.css +137 -0
- package/lib/divider/index.d.ts +142 -0
- package/lib/divider/index.js +1 -0
- package/lib/divider/props.d.ts +21 -0
- package/lib/dropdown/dropdown-item.d.ts +19 -0
- package/lib/dropdown/dropdown-menu.d.ts +16 -0
- package/lib/dropdown/dropdown.css +47 -0
- package/lib/dropdown/dropdown.d.ts +63 -0
- package/lib/dropdown/dropdown.less +59 -0
- package/lib/dropdown/dropdown.variable.css +146 -0
- package/lib/dropdown/index.d.ts +200 -0
- package/lib/dropdown/index.js +1 -0
- package/lib/exception/exception.d.ts +11 -9
- package/lib/exception/exception.variable.css +29 -0
- package/lib/exception/index.d.ts +44 -36
- package/lib/exception/index.js +1 -1
- package/lib/fixed-navbar/fixed-navbar.d.ts +29 -9
- package/lib/fixed-navbar/fixed-navbar.variable.css +29 -0
- package/lib/fixed-navbar/index.d.ts +96 -37
- package/lib/fixed-navbar/index.js +1 -1
- package/lib/form/compose-form-item.d.ts +16 -0
- package/lib/form/form-item.d.ts +155 -0
- package/lib/form/form.css +125 -0
- package/lib/form/form.d.ts +81 -0
- package/lib/form/form.less +152 -0
- package/lib/form/form.variable.css +224 -0
- package/lib/form/index.d.ts +303 -0
- package/lib/form/index.js +1 -0
- package/lib/form/type.d.ts +23 -0
- package/lib/form/validator.d.ts +9 -0
- package/lib/icon/angle-double-down-line.d.ts +4 -0
- package/lib/icon/angle-double-down-line.js +1 -0
- package/lib/icon/angle-double-left-line.d.ts +4 -0
- package/lib/icon/angle-double-left-line.js +1 -0
- package/lib/icon/angle-double-left.d.ts +4 -0
- package/lib/icon/angle-double-left.js +1 -0
- package/lib/icon/angle-double-right-line.d.ts +4 -0
- package/lib/icon/angle-double-right-line.js +1 -0
- package/lib/icon/angle-double-right.d.ts +4 -0
- package/lib/icon/angle-double-right.js +1 -0
- package/lib/icon/angle-double-up-line.d.ts +4 -0
- package/lib/icon/angle-double-up-line.js +1 -0
- package/lib/icon/angle-down-fill.d.ts +4 -0
- package/lib/icon/angle-down-fill.js +1 -0
- package/lib/icon/angle-down-line.d.ts +4 -0
- package/lib/icon/angle-down-line.js +1 -0
- package/lib/icon/angle-down.d.ts +4 -0
- package/lib/icon/angle-down.js +1 -0
- package/lib/icon/angle-left.d.ts +4 -0
- package/lib/icon/angle-left.js +1 -0
- package/lib/icon/angle-right.d.ts +4 -0
- package/lib/icon/angle-right.js +1 -0
- package/lib/icon/angle-up-fill.d.ts +4 -0
- package/lib/icon/angle-up-fill.js +1 -0
- package/lib/icon/angle-up.js +1 -0
- package/lib/icon/archive-fill.d.ts +4 -0
- package/lib/icon/archive-fill.js +1 -0
- package/lib/icon/arrows-left.d.ts +4 -0
- package/lib/icon/arrows-left.js +1 -0
- package/lib/icon/arrows-right.d.ts +4 -0
- package/lib/icon/arrows-right.js +1 -0
- package/lib/icon/audio-fill.d.ts +4 -0
- package/lib/icon/audio-fill.js +1 -0
- package/lib/icon/bk.d.ts +4 -0
- package/lib/icon/bk.js +1 -0
- package/lib/icon/circle.d.ts +4 -0
- package/lib/icon/circle.js +1 -0
- package/lib/icon/close-line.d.ts +4 -0
- package/lib/icon/close-line.js +1 -0
- package/lib/icon/close.js +1 -0
- package/lib/icon/code.d.ts +4 -0
- package/lib/icon/code.js +1 -0
- package/lib/icon/cog-shape.d.ts +4 -0
- package/lib/icon/cog-shape.js +1 -0
- package/lib/icon/collapse-left.d.ts +4 -0
- package/lib/icon/collapse-left.js +1 -0
- package/lib/icon/copy.d.ts +4 -0
- package/lib/icon/copy.js +1 -0
- 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.d.ts +4 -0
- package/lib/icon/done.js +1 -0
- package/lib/icon/down-shape.d.ts +4 -0
- package/lib/icon/down-shape.js +1 -0
- package/lib/icon/down-small.js +1 -0
- package/lib/icon/edit-line.d.ts +4 -0
- package/lib/icon/edit-line.js +1 -0
- package/lib/icon/ellipsis.d.ts +4 -0
- package/lib/icon/ellipsis.js +1 -0
- package/lib/icon/error.d.ts +4 -0
- package/lib/icon/error.js +1 -0
- 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 -0
- package/lib/icon/folder-open.d.ts +4 -0
- package/lib/icon/folder-open.js +1 -0
- package/lib/icon/folder-shape-open.d.ts +4 -0
- package/lib/icon/folder-shape-open.js +1 -0
- package/lib/icon/folder-shape.d.ts +4 -0
- package/lib/icon/folder-shape.js +1 -0
- package/lib/icon/folder.d.ts +4 -0
- package/lib/icon/folder.js +1 -0
- package/lib/icon/funnel.d.ts +4 -0
- package/lib/icon/help-document-fill.js +1 -0
- package/lib/icon/help-fill.js +1 -0
- package/lib/icon/help.js +1 -0
- package/lib/icon/image-fill.d.ts +4 -0
- package/lib/icon/image-fill.js +1 -0
- package/lib/icon/index.d.ts +58 -0
- package/lib/icon/index.js +1 -15
- package/lib/icon/info-line.js +1 -0
- package/lib/icon/info.d.ts +4 -0
- package/lib/icon/info.js +1 -0
- package/lib/icon/left-shape.d.ts +4 -0
- package/lib/icon/left-shape.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.d.ts +4 -0
- package/lib/icon/play-shape.js +1 -0
- package/lib/icon/plus.d.ts +4 -0
- package/lib/icon/plus.js +1 -0
- package/lib/icon/ppt-fill.d.ts +4 -0
- package/lib/icon/ppt-fill.js +1 -0
- package/lib/icon/qq.d.ts +4 -0
- package/lib/icon/qq.js +1 -0
- package/lib/icon/right-shape.d.ts +4 -0
- package/lib/icon/right-shape.js +1 -0
- package/lib/icon/search.js +1 -0
- package/lib/icon/share.d.ts +4 -0
- package/lib/icon/share.js +1 -0
- package/lib/icon/spinner.d.ts +4 -0
- package/lib/icon/spinner.js +1 -0
- package/lib/icon/success.d.ts +4 -0
- package/lib/icon/success.js +1 -0
- package/lib/icon/switcher-loading.js +1 -0
- package/lib/icon/text-file.d.ts +4 -0
- package/lib/icon/text-file.js +1 -0
- package/lib/icon/text-fill.d.ts +4 -0
- package/lib/icon/text-fill.js +1 -0
- package/lib/icon/tree-application-shape.d.ts +4 -0
- package/lib/icon/tree-application-shape.js +1 -0
- package/lib/icon/unvisible.js +1 -0
- package/lib/icon/up-shape.d.ts +4 -0
- package/lib/icon/up-shape.js +1 -0
- 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.d.ts +4 -0
- package/lib/icon/warn.js +1 -0
- package/lib/icon/weixin.d.ts +4 -0
- package/lib/icon/weixin.js +1 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -0
- package/lib/input/index.d.ts +459 -193
- package/lib/input/index.js +1 -15
- package/lib/input/input.css +85 -5
- package/lib/input/input.d.ts +181 -51
- package/lib/input/input.less +96 -9
- package/lib/input/input.variable.css +115 -5
- package/lib/link/index.d.ts +102 -54
- package/lib/link/index.js +1 -1
- package/lib/link/link.d.ts +25 -13
- package/lib/link/link.variable.css +29 -0
- package/lib/loading/index.d.ts +190 -57
- package/lib/loading/index.js +1 -1
- package/lib/loading/loading.css +118 -84
- package/lib/loading/loading.d.ts +115 -20
- package/lib/loading/loading.less +76 -71
- package/lib/loading/loading.variable.css +147 -84
- package/lib/menu/index.d.ts +176 -0
- package/lib/menu/index.js +1 -0
- package/lib/menu/menu-group.d.ts +14 -0
- package/lib/menu/menu-item.d.ts +16 -0
- package/lib/menu/menu.css +190 -0
- package/lib/menu/menu.d.ts +55 -0
- package/lib/menu/menu.less +180 -0
- package/lib/menu/menu.variable.css +289 -0
- package/lib/menu/submenu.css +3 -0
- package/lib/menu/submenu.d.ts +22 -0
- package/lib/menu/submenu.less +5 -0
- package/lib/menu/submenu.variable.css +102 -0
- package/lib/menu/utils.d.ts +41 -0
- package/lib/message/index.d.ts +1 -1
- package/lib/message/index.js +1 -1
- package/lib/message/message.css +27 -1
- package/lib/message/message.less +30 -1
- package/lib/message/message.variable.css +56 -1
- package/lib/message/messageConstructor.d.ts +71 -20
- package/lib/modal/index.d.ts +517 -67
- package/lib/modal/index.js +1 -1
- package/lib/modal/modal.css +30 -1
- package/lib/modal/modal.d.ts +195 -24
- package/lib/modal/modal.less +39 -1
- package/lib/modal/modal.variable.css +30 -1
- package/lib/modal/props.mixin.d.ts +82 -10
- package/lib/navigation/index.d.ts +311 -0
- package/lib/navigation/index.js +1 -0
- package/lib/navigation/navigation-title.d.ts +25 -0
- package/lib/navigation/navigation.css +184 -0
- package/lib/navigation/navigation.d.ts +120 -0
- package/lib/navigation/navigation.less +210 -0
- package/lib/navigation/navigation.variable.css +283 -0
- package/lib/notify/index.d.ts +2 -0
- package/lib/notify/index.js +1 -0
- package/lib/notify/notify.css +65 -0
- package/lib/notify/notify.less +76 -0
- package/lib/notify/notify.variable.css +164 -0
- package/lib/notify/notifyConstructor.d.ts +135 -0
- package/lib/pagination/index.d.ts +395 -0
- package/lib/pagination/index.js +1 -0
- package/lib/pagination/pagination.css +179 -0
- package/lib/pagination/pagination.d.ts +220 -0
- package/lib/pagination/pagination.less +201 -0
- package/lib/pagination/pagination.variable.css +278 -0
- package/lib/pagination/type.d.ts +6 -0
- package/lib/pagination/use-limit.d.ts +8 -0
- package/lib/pagination/use-list.d.ts +8 -0
- package/lib/pagination/use-small-list.d.ts +5 -0
- package/lib/pagination/use-total.d.ts +5 -0
- package/lib/popover/index.d.ts +322 -137
- package/lib/popover/index.js +1 -1
- package/lib/popover/popover.css +28 -16
- package/lib/popover/popover.d.ts +122 -45
- package/lib/popover/popover.less +59 -46
- package/lib/popover/popover.variable.css +57 -16
- package/lib/popover/props.d.ts +104 -0
- package/lib/popover2/arrow.d.ts +2 -0
- package/lib/popover2/const.d.ts +10 -0
- package/lib/popover2/content.d.ts +24 -0
- package/lib/popover2/index.d.ts +501 -0
- package/lib/popover2/index.js +1 -0
- package/lib/popover2/popover2.css +24 -0
- package/lib/popover2/popover2.d.ts +211 -0
- package/lib/popover2/popover2.less +34 -0
- package/lib/popover2/popover2.variable.css +123 -0
- package/lib/popover2/props.d.ts +105 -0
- package/lib/popover2/reference.d.ts +2 -0
- package/lib/popover2/use-floating.d.ts +17 -0
- package/lib/popover2/use-popper-id.d.ts +5 -0
- package/lib/preset.d.ts +2 -3
- package/lib/preset.js +1 -0
- package/lib/process/index.d.ts +205 -0
- package/lib/process/index.js +1 -0
- package/lib/process/process.css +138 -0
- package/lib/process/process.d.ts +131 -0
- package/lib/process/process.less +178 -0
- package/lib/process/process.variable.css +237 -0
- package/lib/progress/index.d.ts +305 -135
- package/lib/progress/index.js +1 -1
- package/lib/progress/progress.css +8 -3
- package/lib/progress/progress.d.ts +89 -36
- package/lib/progress/progress.less +0 -4
- package/lib/progress/progress.variable.css +37 -3
- package/lib/radio/common.d.ts +5 -5
- package/lib/radio/index.d.ts +146 -97
- package/lib/radio/index.js +1 -1
- package/lib/radio/radio-button.d.ts +28 -20
- package/lib/radio/radio-group.d.ts +11 -10
- package/lib/radio/radio.css +14 -8
- package/lib/radio/radio.d.ts +27 -17
- package/lib/radio/radio.less +16 -9
- package/lib/radio/radio.variable.css +44 -9
- package/lib/radio/type.d.ts +10 -5
- package/lib/rate/index.d.ts +52 -40
- package/lib/rate/index.js +1 -1
- package/lib/rate/rate.d.ts +13 -10
- package/lib/rate/star.d.ts +33 -16
- package/lib/resize-layout/index.d.ts +336 -0
- package/lib/resize-layout/index.js +1 -0
- package/lib/resize-layout/resize-layout.css +189 -0
- package/lib/resize-layout/resize-layout.d.ts +127 -0
- package/lib/resize-layout/resize-layout.less +233 -0
- package/lib/resize-layout/resize-layout.variable.css +288 -0
- package/lib/select/common.d.ts +23 -17
- package/lib/select/index.d.ts +1430 -478
- package/lib/select/index.js +1 -1
- package/lib/select/option.d.ts +15 -20
- package/lib/select/optionGroup.d.ts +54 -0
- package/lib/select/select.css +283 -50
- package/lib/select/select.d.ts +417 -157
- package/lib/select/select.less +243 -53
- package/lib/select/select.variable.css +312 -50
- package/lib/select/selectTagInput.d.ts +71 -0
- package/lib/select/type.d.ts +35 -0
- package/lib/shared/{bk-helper-core.d.ts → helper.d.ts} +6 -1
- package/lib/shared/index.d.ts +33 -4
- package/lib/shared/index.js +1 -1
- package/lib/shared/{bk-mask-manager.d.ts → mask-manager.d.ts} +33 -3
- package/lib/shared/{bk-pop-manager.d.ts → pop-manager.d.ts} +10 -2
- package/lib/shared/popover.d.ts +131 -0
- package/lib/shared/token.d.ts +4 -0
- package/lib/shared/utils.d.ts +6 -0
- package/lib/shared/vue-types.d.ts +12 -7
- package/lib/shared/z-index-manager.d.ts +6 -1
- package/lib/sideslider/index.d.ts +474 -80
- package/lib/sideslider/index.js +1 -1
- package/lib/sideslider/sideslider.css +48 -3
- package/lib/sideslider/sideslider.d.ts +205 -30
- package/lib/sideslider/sideslider.less +65 -6
- package/lib/sideslider/sideslider.variable.css +77 -3
- package/lib/slider/index.d.ts +440 -0
- package/lib/slider/index.js +1 -0
- package/lib/slider/slider-button.d.ts +80 -0
- package/lib/slider/slider.css +149 -0
- package/lib/slider/slider.d.ts +201 -0
- package/lib/slider/slider.less +179 -0
- package/lib/slider/slider.variable.css +248 -0
- package/lib/steps/index.d.ts +164 -112
- package/lib/steps/index.js +1 -15
- package/lib/steps/steps.css +18 -4
- package/lib/steps/steps.d.ts +42 -29
- package/lib/steps/steps.less +28 -4
- package/lib/steps/steps.variable.css +47 -4
- package/lib/styles/index.d.ts +25 -0
- 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 +8 -0
- package/lib/styles/mixins/mixins.less +1 -0
- package/lib/styles/mixins/mixins.variable.css +8 -0
- package/lib/styles/mixins/popper.css +43 -0
- package/lib/styles/mixins/popper.less +52 -0
- package/lib/styles/mixins/popper.variable.css +43 -0
- package/lib/styles/mixins/size.less +9 -0
- package/lib/styles/reset.css +273 -0
- package/lib/styles/reset.less +313 -0
- package/lib/styles/reset.variable.css +273 -0
- package/lib/styles/themes/themes.less +45 -1
- package/lib/swiper/index.d.ts +181 -0
- package/lib/swiper/index.js +1 -0
- package/lib/swiper/swiper.css +91 -0
- package/lib/swiper/swiper.d.ts +65 -0
- package/lib/swiper/swiper.less +107 -0
- package/lib/swiper/swiper.variable.css +91 -0
- package/lib/switcher/index.d.ts +198 -134
- package/lib/switcher/index.js +1 -1
- package/lib/switcher/switcher.css +157 -135
- package/lib/switcher/switcher.d.ts +51 -35
- package/lib/switcher/switcher.less +211 -153
- package/lib/switcher/switcher.variable.css +186 -135
- package/lib/tab/index.d.ts +440 -0
- package/lib/tab/index.js +1 -0
- package/lib/tab/props.d.ts +194 -0
- package/lib/tab/tab-nav.d.ts +169 -0
- package/lib/tab/tab-panel.d.ts +73 -0
- package/lib/tab/tab.css +167 -0
- package/lib/tab/tab.d.ts +139 -0
- package/lib/tab/tab.less +228 -0
- package/lib/tab/tab.variable.css +266 -0
- package/lib/table/const.d.ts +49 -0
- package/lib/table/index.d.ts +491 -52
- package/lib/table/index.js +1 -1
- package/lib/table/plugins/head-filter.css +68 -0
- package/lib/table/plugins/head-filter.less +83 -0
- package/lib/table/plugins/head-filter.variable.css +167 -0
- package/lib/table/plugins/head-sort.css +22 -0
- package/lib/table/plugins/head-sort.less +28 -0
- package/lib/table/plugins/head-sort.variable.css +121 -0
- package/lib/table/plugins/settings.css +110 -0
- package/lib/table/plugins/settings.less +136 -0
- package/lib/table/plugins/settings.variable.css +209 -0
- package/lib/table/props.d.ts +243 -0
- package/lib/table/render.d.ts +118 -0
- package/lib/table/table.css +441 -0
- package/lib/table/table.d.ts +194 -32
- package/lib/table/table.less +288 -1
- package/lib/table/table.variable.css +470 -0
- package/lib/table/use-common.d.ts +54 -0
- package/lib/table/utils.d.ts +104 -0
- package/lib/tag/index.d.ts +165 -274
- package/lib/tag/index.js +1 -1
- package/lib/tag/tag.css +97 -0
- package/lib/tag/tag.d.ts +83 -53
- package/lib/tag/tag.less +110 -2
- package/lib/tag/tag.variable.css +126 -0
- package/lib/tag-input/common.d.ts +24 -0
- package/lib/tag-input/index.d.ts +894 -0
- package/lib/tag-input/index.js +1 -0
- package/lib/tag-input/list-tag-render.d.ts +47 -0
- package/lib/tag-input/tag-input.css +209 -0
- package/lib/tag-input/tag-input.d.ts +374 -0
- package/lib/tag-input/tag-input.less +251 -0
- package/lib/tag-input/tag-input.variable.css +308 -0
- package/lib/tag-input/tag-props.d.ts +131 -0
- package/lib/tag-input/tag-render.d.ts +38 -0
- package/lib/timeline/index.d.ts +129 -0
- package/lib/timeline/index.js +1 -0
- package/lib/timeline/timeline.css +235 -0
- package/lib/timeline/timeline.d.ts +81 -0
- package/lib/timeline/timeline.less +240 -0
- package/lib/timeline/timeline.variable.css +334 -0
- package/lib/transfer/const.d.ts +5 -0
- package/lib/transfer/index.d.ts +365 -0
- package/lib/transfer/index.js +1 -0
- package/lib/transfer/props.d.ts +54 -0
- package/lib/transfer/transfer.css +139 -0
- package/lib/transfer/transfer.d.ts +160 -0
- package/lib/transfer/transfer.less +144 -0
- package/lib/transfer/transfer.variable.css +238 -0
- package/lib/tree/constant.d.ts +43 -0
- package/lib/tree/index.d.ts +472 -0
- package/lib/tree/index.js +1 -0
- package/lib/tree/props.d.ts +168 -0
- package/lib/tree/tree.css +53 -0
- package/lib/tree/tree.d.ts +204 -0
- package/lib/tree/tree.less +66 -0
- package/lib/tree/tree.variable.css +152 -0
- package/lib/tree/use-empty.d.ts +6 -0
- package/lib/tree/use-node-action.d.ts +11 -0
- package/lib/tree/use-node-async.d.ts +5 -0
- package/lib/tree/use-node-attribute.d.ts +31 -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 +66 -0
- package/lib/upload/index.d.ts +2 -0
- package/lib/upload/index.js +1 -0
- package/lib/upload/props.d.ts +113 -0
- package/lib/upload/upload-list.d.ts +46 -0
- package/lib/upload/upload-trigger.d.ts +54 -0
- package/lib/upload/upload.css +374 -0
- package/lib/upload/upload.d.ts +252 -0
- package/lib/upload/upload.less +455 -0
- package/lib/upload/upload.type.d.ts +78 -0
- package/lib/upload/upload.variable.css +473 -0
- package/lib/upload/use-ajax-upload.d.ts +3 -0
- package/lib/upload/use-file-handler.d.ts +44 -0
- package/lib/use-message.d.ts +2 -0
- package/lib/virtual-render/index.d.ts +579 -0
- package/lib/virtual-render/index.js +1 -0
- package/lib/virtual-render/props.d.ts +167 -0
- package/lib/virtual-render/use-tag-render.d.ts +7 -0
- package/lib/virtual-render/v-virtual-render.d.ts +6 -0
- package/lib/virtual-render/virtual-render.css +33 -0
- package/lib/virtual-render/virtual-render.d.ts +255 -0
- package/lib/virtual-render/virtual-render.less +43 -0
- package/lib/virtual-render/virtual-render.variable.css +33 -0
- package/package.json +109 -81
- package/dist/bkui-vue.cjs.js +0 -5171
- package/dist/bkui-vue.esm.js +0 -5137
- package/dist/bkui-vue.umd.js +0 -5174
- package/lib/message/message.d.ts +0 -2
- package/lib/shared/bk-popover.d.ts +0 -76
- package/lib/styles/index.js +0 -1
- package/lib/table/common.d.ts +0 -3
- package/lib/table/table-layout.d.ts +0 -14
- package/lib/table/type.d.ts +0 -12
package/lib/select/index.d.ts
CHANGED
@@ -1,39 +1,161 @@
|
|
1
|
+
import Option from './option';
|
2
|
+
import OptionGroup from './optionGroup';
|
1
3
|
declare const BkSelect: {
|
2
4
|
new (...args: any[]): {
|
3
5
|
$: import("vue").ComponentInternalInstance;
|
4
6
|
$data: {};
|
5
7
|
$props: Partial<{
|
6
|
-
|
7
|
-
size: string;
|
8
|
-
multiple: boolean;
|
8
|
+
showOnInit: boolean;
|
9
9
|
disabled: boolean;
|
10
|
-
loading: boolean;
|
11
|
-
clearable: boolean;
|
12
|
-
filterable: boolean;
|
13
|
-
}> & Omit<Readonly<{
|
14
|
-
modelValue?: unknown;
|
15
|
-
multiple?: unknown;
|
16
|
-
placeholder?: unknown;
|
17
|
-
disabled?: unknown;
|
18
|
-
size?: unknown;
|
19
|
-
clearable?: unknown;
|
20
|
-
loading?: unknown;
|
21
|
-
filterable?: unknown;
|
22
|
-
} & {
|
23
10
|
placeholder: string;
|
24
11
|
size: string;
|
25
12
|
multiple: boolean;
|
26
|
-
disabled: boolean;
|
27
13
|
loading: boolean;
|
28
14
|
clearable: boolean;
|
15
|
+
behavior: string;
|
16
|
+
tagTheme: string;
|
29
17
|
filterable: boolean;
|
30
|
-
|
31
|
-
|
32
|
-
|
18
|
+
allowCreate: boolean;
|
19
|
+
popoverMinWidth: number;
|
20
|
+
remoteMethod: (...args: any[]) => any;
|
21
|
+
scrollHeight: number;
|
22
|
+
showSelectAll: boolean;
|
23
|
+
multipleMode: string;
|
24
|
+
collapseTags: boolean;
|
25
|
+
noDataText: string;
|
26
|
+
noMatchText: string;
|
27
|
+
loadingText: string;
|
28
|
+
selectAllText: string;
|
29
|
+
scrollLoading: boolean;
|
30
|
+
popoverOptions: {
|
31
|
+
[key: string]: any;
|
32
|
+
};
|
33
|
+
customContent: boolean;
|
34
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
35
|
+
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
36
|
+
multiple: import("vue-types").VueTypeValidableDef<boolean> & {
|
37
|
+
default: boolean;
|
38
|
+
} & {
|
39
|
+
default: boolean;
|
40
|
+
};
|
41
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
42
|
+
default: boolean;
|
43
|
+
} & {
|
44
|
+
default: boolean;
|
45
|
+
};
|
46
|
+
size: import("vue-types").VueTypeDef<string> & {
|
47
|
+
default: string;
|
48
|
+
};
|
49
|
+
clearable: import("vue-types").VueTypeValidableDef<boolean> & {
|
50
|
+
default: boolean;
|
51
|
+
} & {
|
52
|
+
default: boolean;
|
53
|
+
};
|
54
|
+
loading: import("vue-types").VueTypeValidableDef<boolean> & {
|
55
|
+
default: boolean;
|
56
|
+
} & {
|
57
|
+
default: boolean;
|
58
|
+
};
|
59
|
+
filterable: import("vue-types").VueTypeValidableDef<boolean> & {
|
60
|
+
default: boolean;
|
61
|
+
} & {
|
62
|
+
default: boolean;
|
63
|
+
};
|
64
|
+
remoteMethod: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
65
|
+
default: (...args: any[]) => any;
|
66
|
+
};
|
67
|
+
scrollHeight: import("vue-types").VueTypeValidableDef<number> & {
|
68
|
+
default: number;
|
69
|
+
} & {
|
70
|
+
default: number;
|
71
|
+
};
|
72
|
+
showSelectAll: import("vue-types").VueTypeValidableDef<boolean> & {
|
73
|
+
default: boolean;
|
74
|
+
} & {
|
75
|
+
default: boolean;
|
76
|
+
};
|
77
|
+
popoverMinWidth: import("vue-types").VueTypeValidableDef<number> & {
|
78
|
+
default: number;
|
79
|
+
} & {
|
80
|
+
default: number;
|
81
|
+
};
|
82
|
+
showOnInit: import("vue-types").VueTypeValidableDef<boolean> & {
|
83
|
+
default: boolean;
|
84
|
+
} & {
|
85
|
+
default: boolean;
|
86
|
+
};
|
87
|
+
multipleMode: import("vue-types").VueTypeDef<string> & {
|
88
|
+
default: string;
|
89
|
+
};
|
90
|
+
tagTheme: import("vue-types").VueTypeDef<string> & {
|
91
|
+
default: string;
|
92
|
+
};
|
93
|
+
behavior: import("vue-types").VueTypeDef<string> & {
|
94
|
+
default: string;
|
95
|
+
};
|
96
|
+
collapseTags: import("vue-types").VueTypeValidableDef<boolean> & {
|
97
|
+
default: boolean;
|
98
|
+
} & {
|
99
|
+
default: boolean;
|
100
|
+
};
|
101
|
+
noDataText: import("vue-types").VueTypeValidableDef<string> & {
|
102
|
+
default: string;
|
103
|
+
} & {
|
104
|
+
default: string;
|
105
|
+
};
|
106
|
+
noMatchText: import("vue-types").VueTypeValidableDef<string> & {
|
107
|
+
default: string;
|
108
|
+
} & {
|
109
|
+
default: string;
|
110
|
+
};
|
111
|
+
loadingText: import("vue-types").VueTypeValidableDef<string> & {
|
112
|
+
default: string;
|
113
|
+
} & {
|
114
|
+
default: string;
|
115
|
+
};
|
116
|
+
placeholder: import("vue-types").VueTypeValidableDef<string> & {
|
117
|
+
default: string;
|
118
|
+
} & {
|
119
|
+
default: string;
|
120
|
+
};
|
121
|
+
selectAllText: import("vue-types").VueTypeValidableDef<string> & {
|
122
|
+
default: string;
|
123
|
+
} & {
|
124
|
+
default: string;
|
125
|
+
};
|
126
|
+
scrollLoading: import("vue-types").VueTypeValidableDef<boolean> & {
|
127
|
+
default: boolean;
|
128
|
+
} & {
|
129
|
+
default: boolean;
|
130
|
+
};
|
131
|
+
allowCreate: import("vue-types").VueTypeValidableDef<boolean> & {
|
132
|
+
default: boolean;
|
133
|
+
} & {
|
134
|
+
default: boolean;
|
135
|
+
};
|
136
|
+
popoverOptions: import("vue-types").VueTypeValidableDef<{
|
137
|
+
[key: string]: any;
|
138
|
+
}> & {
|
139
|
+
default: () => {
|
140
|
+
[key: string]: any;
|
141
|
+
};
|
142
|
+
} & {
|
143
|
+
default: () => {
|
144
|
+
[key: string]: any;
|
145
|
+
};
|
146
|
+
};
|
147
|
+
customContent: import("vue-types").VueTypeValidableDef<boolean> & {
|
148
|
+
default: boolean;
|
149
|
+
} & {
|
150
|
+
default: boolean;
|
151
|
+
};
|
152
|
+
}>> & {
|
33
153
|
onChange?: (...args: any[]) => any;
|
34
154
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
155
|
+
onClear?: (...args: any[]) => any;
|
35
156
|
onToggle?: (...args: any[]) => any;
|
36
|
-
|
157
|
+
"onScroll-end"?: (...args: any[]) => any;
|
158
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "showOnInit" | "disabled" | "placeholder" | "size" | "multiple" | "loading" | "clearable" | "behavior" | "tagTheme" | "filterable" | "allowCreate" | "popoverMinWidth" | "remoteMethod" | "scrollHeight" | "showSelectAll" | "multipleMode" | "collapseTags" | "noDataText" | "noMatchText" | "loadingText" | "selectAllText" | "scrollLoading" | "popoverOptions" | "customContent">;
|
37
159
|
$attrs: {
|
38
160
|
[x: string]: unknown;
|
39
161
|
};
|
@@ -45,47 +167,152 @@ declare const BkSelect: {
|
|
45
167
|
}>;
|
46
168
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
47
169
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
48
|
-
$emit: (event: "change" | "toggle" | "update:modelValue", ...args: any[]) => void;
|
170
|
+
$emit: (event: "change" | "toggle" | "clear" | "update:modelValue" | "scroll-end", ...args: any[]) => void;
|
49
171
|
$el: any;
|
50
|
-
$options: import("vue").ComponentOptionsBase<Readonly<{
|
51
|
-
modelValue
|
52
|
-
multiple
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
clearable: boolean
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
172
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
173
|
+
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
174
|
+
multiple: import("vue-types").VueTypeValidableDef<boolean> & {
|
175
|
+
default: boolean;
|
176
|
+
} & {
|
177
|
+
default: boolean;
|
178
|
+
};
|
179
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
180
|
+
default: boolean;
|
181
|
+
} & {
|
182
|
+
default: boolean;
|
183
|
+
};
|
184
|
+
size: import("vue-types").VueTypeDef<string> & {
|
185
|
+
default: string;
|
186
|
+
};
|
187
|
+
clearable: import("vue-types").VueTypeValidableDef<boolean> & {
|
188
|
+
default: boolean;
|
189
|
+
} & {
|
190
|
+
default: boolean;
|
191
|
+
};
|
192
|
+
loading: import("vue-types").VueTypeValidableDef<boolean> & {
|
193
|
+
default: boolean;
|
194
|
+
} & {
|
195
|
+
default: boolean;
|
196
|
+
};
|
197
|
+
filterable: import("vue-types").VueTypeValidableDef<boolean> & {
|
198
|
+
default: boolean;
|
199
|
+
} & {
|
200
|
+
default: boolean;
|
201
|
+
};
|
202
|
+
remoteMethod: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
203
|
+
default: (...args: any[]) => any;
|
204
|
+
};
|
205
|
+
scrollHeight: import("vue-types").VueTypeValidableDef<number> & {
|
206
|
+
default: number;
|
207
|
+
} & {
|
208
|
+
default: number;
|
209
|
+
};
|
210
|
+
showSelectAll: import("vue-types").VueTypeValidableDef<boolean> & {
|
211
|
+
default: boolean;
|
212
|
+
} & {
|
213
|
+
default: boolean;
|
214
|
+
};
|
215
|
+
popoverMinWidth: import("vue-types").VueTypeValidableDef<number> & {
|
216
|
+
default: number;
|
217
|
+
} & {
|
218
|
+
default: number;
|
219
|
+
};
|
220
|
+
showOnInit: import("vue-types").VueTypeValidableDef<boolean> & {
|
221
|
+
default: boolean;
|
222
|
+
} & {
|
223
|
+
default: boolean;
|
224
|
+
};
|
225
|
+
multipleMode: import("vue-types").VueTypeDef<string> & {
|
226
|
+
default: string;
|
227
|
+
};
|
228
|
+
tagTheme: import("vue-types").VueTypeDef<string> & {
|
229
|
+
default: string;
|
230
|
+
};
|
231
|
+
behavior: import("vue-types").VueTypeDef<string> & {
|
232
|
+
default: string;
|
233
|
+
};
|
234
|
+
collapseTags: import("vue-types").VueTypeValidableDef<boolean> & {
|
235
|
+
default: boolean;
|
236
|
+
} & {
|
237
|
+
default: boolean;
|
238
|
+
};
|
239
|
+
noDataText: import("vue-types").VueTypeValidableDef<string> & {
|
240
|
+
default: string;
|
241
|
+
} & {
|
242
|
+
default: string;
|
243
|
+
};
|
244
|
+
noMatchText: import("vue-types").VueTypeValidableDef<string> & {
|
245
|
+
default: string;
|
246
|
+
} & {
|
247
|
+
default: string;
|
248
|
+
};
|
249
|
+
loadingText: import("vue-types").VueTypeValidableDef<string> & {
|
250
|
+
default: string;
|
251
|
+
} & {
|
252
|
+
default: string;
|
253
|
+
};
|
254
|
+
placeholder: import("vue-types").VueTypeValidableDef<string> & {
|
255
|
+
default: string;
|
256
|
+
} & {
|
257
|
+
default: string;
|
258
|
+
};
|
259
|
+
selectAllText: import("vue-types").VueTypeValidableDef<string> & {
|
260
|
+
default: string;
|
261
|
+
} & {
|
262
|
+
default: string;
|
263
|
+
};
|
264
|
+
scrollLoading: import("vue-types").VueTypeValidableDef<boolean> & {
|
265
|
+
default: boolean;
|
266
|
+
} & {
|
267
|
+
default: boolean;
|
268
|
+
};
|
269
|
+
allowCreate: import("vue-types").VueTypeValidableDef<boolean> & {
|
270
|
+
default: boolean;
|
271
|
+
} & {
|
272
|
+
default: boolean;
|
273
|
+
};
|
274
|
+
popoverOptions: import("vue-types").VueTypeValidableDef<{
|
275
|
+
[key: string]: any;
|
276
|
+
}> & {
|
277
|
+
default: () => {
|
278
|
+
[key: string]: any;
|
279
|
+
};
|
280
|
+
} & {
|
281
|
+
default: () => {
|
282
|
+
[key: string]: any;
|
283
|
+
};
|
284
|
+
};
|
285
|
+
customContent: import("vue-types").VueTypeValidableDef<boolean> & {
|
286
|
+
default: boolean;
|
287
|
+
} & {
|
288
|
+
default: boolean;
|
289
|
+
};
|
290
|
+
}>> & {
|
70
291
|
onChange?: (...args: any[]) => any;
|
71
292
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
293
|
+
onClear?: (...args: any[]) => any;
|
72
294
|
onToggle?: (...args: any[]) => any;
|
295
|
+
"onScroll-end"?: (...args: any[]) => any;
|
73
296
|
}, {
|
74
|
-
|
297
|
+
selected: import("vue").Ref<{
|
298
|
+
value: any;
|
299
|
+
label: string | number;
|
300
|
+
}[]>;
|
301
|
+
isInput: import("vue").ComputedRef<boolean>;
|
302
|
+
options: import("vue").Ref<({
|
75
303
|
$: import("vue").ComponentInternalInstance;
|
76
304
|
$data: {};
|
77
305
|
$props: Partial<{
|
78
306
|
disabled: boolean;
|
79
|
-
}> & Omit<Readonly<{
|
80
|
-
value
|
81
|
-
label
|
82
|
-
disabled
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
}> & {} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled">;
|
307
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
308
|
+
value: import("vue-types").VueTypeValidableDef<any>;
|
309
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
310
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
311
|
+
default: boolean;
|
312
|
+
} & {
|
313
|
+
default: boolean;
|
314
|
+
};
|
315
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled">;
|
89
316
|
$attrs: {
|
90
317
|
[x: string]: unknown;
|
91
318
|
};
|
@@ -99,26 +326,21 @@ declare const BkSelect: {
|
|
99
326
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
100
327
|
$emit: (event: string, ...args: any[]) => void;
|
101
328
|
$el: any;
|
102
|
-
$options: import("vue").ComponentOptionsBase<Readonly<{
|
103
|
-
value
|
104
|
-
label
|
105
|
-
disabled
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
}> & {}, {
|
112
|
-
selectItemClass: import("vue").ComputedRef<{
|
113
|
-
'is-selected': boolean;
|
114
|
-
'is-disabled': boolean;
|
115
|
-
'is-multiple': boolean;
|
116
|
-
'is-hover': boolean;
|
117
|
-
'bk-select-option': boolean;
|
118
|
-
}>;
|
329
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
330
|
+
value: import("vue-types").VueTypeValidableDef<any>;
|
331
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
332
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
333
|
+
default: boolean;
|
334
|
+
} & {
|
335
|
+
default: boolean;
|
336
|
+
};
|
337
|
+
}>>, {
|
119
338
|
selected: import("vue").ComputedRef<boolean>;
|
120
|
-
|
121
|
-
|
339
|
+
multiple: import("vue").ComputedRef<boolean>;
|
340
|
+
isHover: import("vue").ComputedRef<boolean>;
|
341
|
+
handleOptionClick: () => void;
|
342
|
+
handleMouseEnter: () => void;
|
343
|
+
visible: import("vue").Ref<boolean>;
|
122
344
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
123
345
|
disabled: boolean;
|
124
346
|
}> & {
|
@@ -141,42 +363,68 @@ declare const BkSelect: {
|
|
141
363
|
$forceUpdate: () => void;
|
142
364
|
$nextTick: typeof import("vue").nextTick;
|
143
365
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
144
|
-
} & Readonly<{
|
145
|
-
value
|
146
|
-
label
|
147
|
-
disabled
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
}> & {} & import("vue").ShallowUnwrapRef<{
|
154
|
-
selectItemClass: import("vue").ComputedRef<{
|
155
|
-
'is-selected': boolean;
|
156
|
-
'is-disabled': boolean;
|
157
|
-
'is-multiple': boolean;
|
158
|
-
'is-hover': boolean;
|
159
|
-
'bk-select-option': boolean;
|
160
|
-
}>;
|
366
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
367
|
+
value: import("vue-types").VueTypeValidableDef<any>;
|
368
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
369
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
370
|
+
default: boolean;
|
371
|
+
} & {
|
372
|
+
default: boolean;
|
373
|
+
};
|
374
|
+
}>> & import("vue").ShallowUnwrapRef<{
|
161
375
|
selected: import("vue").ComputedRef<boolean>;
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
376
|
+
multiple: import("vue").ComputedRef<boolean>;
|
377
|
+
isHover: import("vue").ComputedRef<boolean>;
|
378
|
+
handleOptionClick: () => void;
|
379
|
+
handleMouseEnter: () => void;
|
380
|
+
visible: import("vue").Ref<boolean>;
|
381
|
+
}> & {} & {} & import("vue").ComponentCustomProperties)[]>;
|
382
|
+
isDisabled: import("vue").ComputedRef<boolean>;
|
383
|
+
selectedLabel: import("vue").ComputedRef<(string | number)[]>;
|
384
|
+
isPopoverShow: import("vue").Ref<boolean>;
|
385
|
+
isHover: import("vue").Ref<boolean>;
|
386
|
+
popperWidth: import("vue").Ref<string | number>;
|
387
|
+
popoverRef: import("vue").Ref<any>;
|
388
|
+
inputRef: import("vue").Ref<HTMLElement>;
|
389
|
+
selectTagInputRef: import("vue").Ref<{
|
166
390
|
$: import("vue").ComponentInternalInstance;
|
167
391
|
$data: {};
|
168
392
|
$props: Partial<{
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
} & {
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
393
|
+
placeholder: string;
|
394
|
+
selected: import("./type").ISelectedData[];
|
395
|
+
tagTheme: string;
|
396
|
+
filterable: boolean;
|
397
|
+
allowCreate: boolean;
|
398
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
399
|
+
selected: {
|
400
|
+
type: import("vue-types/dist/types").PropType<import("./type").ISelectedData[]>;
|
401
|
+
default: () => any[];
|
402
|
+
};
|
403
|
+
tagTheme: import("vue-types").VueTypeDef<string> & {
|
404
|
+
default: string;
|
405
|
+
};
|
406
|
+
placeholder: import("vue-types").VueTypeValidableDef<string> & {
|
407
|
+
default: string;
|
408
|
+
} & {
|
409
|
+
default: string;
|
410
|
+
};
|
411
|
+
filterable: import("vue-types").VueTypeValidableDef<boolean> & {
|
412
|
+
default: boolean;
|
413
|
+
} & {
|
414
|
+
default: boolean;
|
415
|
+
};
|
416
|
+
allowCreate: import("vue-types").VueTypeValidableDef<boolean> & {
|
417
|
+
default: boolean;
|
418
|
+
} & {
|
419
|
+
default: boolean;
|
420
|
+
};
|
421
|
+
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
422
|
+
}>> & {
|
423
|
+
onFocus?: (...args: any[]) => any;
|
424
|
+
onEnter?: (...args: any[]) => any;
|
425
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
426
|
+
onRemove?: (...args: any[]) => any;
|
427
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placeholder" | "selected" | "tagTheme" | "filterable" | "allowCreate">;
|
180
428
|
$attrs: {
|
181
429
|
[x: string]: unknown;
|
182
430
|
};
|
@@ -188,30 +436,51 @@ declare const BkSelect: {
|
|
188
436
|
}>;
|
189
437
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
190
438
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
191
|
-
$emit: (event:
|
439
|
+
$emit: (event: "focus" | "update:modelValue" | "remove" | "enter", ...args: any[]) => void;
|
192
440
|
$el: any;
|
193
|
-
$options: import("vue").ComponentOptionsBase<Readonly<{
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
441
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
442
|
+
selected: {
|
443
|
+
type: import("vue-types/dist/types").PropType<import("./type").ISelectedData[]>;
|
444
|
+
default: () => any[];
|
445
|
+
};
|
446
|
+
tagTheme: import("vue-types").VueTypeDef<string> & {
|
447
|
+
default: string;
|
448
|
+
};
|
449
|
+
placeholder: import("vue-types").VueTypeValidableDef<string> & {
|
450
|
+
default: string;
|
451
|
+
} & {
|
452
|
+
default: string;
|
453
|
+
};
|
454
|
+
filterable: import("vue-types").VueTypeValidableDef<boolean> & {
|
455
|
+
default: boolean;
|
456
|
+
} & {
|
457
|
+
default: boolean;
|
458
|
+
};
|
459
|
+
allowCreate: import("vue-types").VueTypeValidableDef<boolean> & {
|
460
|
+
default: boolean;
|
461
|
+
} & {
|
462
|
+
default: boolean;
|
463
|
+
};
|
464
|
+
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
465
|
+
}>> & {
|
466
|
+
onFocus?: (...args: any[]) => any;
|
467
|
+
onEnter?: (...args: any[]) => any;
|
468
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
469
|
+
onRemove?: (...args: any[]) => any;
|
470
|
+
}, {
|
471
|
+
value: any;
|
472
|
+
inputRef: import("vue").Ref<HTMLElement>;
|
473
|
+
handleRemoveTag: (data: import("./type").ISelectedData) => void;
|
474
|
+
handleFocus: () => void;
|
475
|
+
focus: () => void;
|
476
|
+
handleInput: (e: any) => void;
|
477
|
+
handleKeydown: (e: any) => void;
|
478
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "update:modelValue" | "remove" | "enter")[], string, {
|
479
|
+
placeholder: string;
|
480
|
+
selected: import("./type").ISelectedData[];
|
481
|
+
tagTheme: string;
|
482
|
+
filterable: boolean;
|
483
|
+
allowCreate: boolean;
|
215
484
|
}> & {
|
216
485
|
beforeCreate?: (() => void) | (() => void)[];
|
217
486
|
created?: (() => void) | (() => void)[];
|
@@ -232,65 +501,174 @@ declare const BkSelect: {
|
|
232
501
|
$forceUpdate: () => void;
|
233
502
|
$nextTick: typeof import("vue").nextTick;
|
234
503
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
235
|
-
} & Readonly<{
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
} & {
|
240
|
-
disabled: boolean;
|
241
|
-
} & {
|
242
|
-
label?: string | number;
|
243
|
-
value?: string | number | boolean;
|
244
|
-
}> & {} & import("vue").ShallowUnwrapRef<{
|
245
|
-
selectItemClass: import("vue").ComputedRef<{
|
246
|
-
'is-selected': boolean;
|
247
|
-
'is-disabled': boolean;
|
248
|
-
'is-multiple': boolean;
|
249
|
-
'is-hover': boolean;
|
250
|
-
'bk-select-option': boolean;
|
251
|
-
}>;
|
252
|
-
selected: import("vue").ComputedRef<boolean>;
|
253
|
-
handleOptionClick: (e: Event) => void;
|
254
|
-
display: import("vue").Ref<boolean>;
|
255
|
-
}> & {} & {} & import("vue").ComponentCustomProperties)[]>;
|
256
|
-
selectedLabel: import("vue").ComputedRef<string>;
|
257
|
-
selectClass: import("vue").ComputedRef<{
|
258
|
-
[x: string]: boolean;
|
259
|
-
'bk-select': boolean;
|
260
|
-
'popover-show': boolean;
|
261
|
-
'is-disabled': boolean;
|
262
|
-
'is-focus': boolean;
|
263
|
-
}>;
|
264
|
-
isPopoverShow: import("vue").Ref<boolean>;
|
265
|
-
placeholder: import("vue").Ref<string>;
|
266
|
-
filterable: import("vue").Ref<boolean>;
|
267
|
-
clearable: import("vue").Ref<boolean>;
|
268
|
-
isHover: import("vue").Ref<boolean>;
|
269
|
-
modifiers: import("vue").Ref<{
|
270
|
-
name: string;
|
271
|
-
options: {
|
272
|
-
offset: number[];
|
504
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
505
|
+
selected: {
|
506
|
+
type: import("vue-types/dist/types").PropType<import("./type").ISelectedData[]>;
|
507
|
+
default: () => any[];
|
273
508
|
};
|
274
|
-
|
275
|
-
|
276
|
-
|
509
|
+
tagTheme: import("vue-types").VueTypeDef<string> & {
|
510
|
+
default: string;
|
511
|
+
};
|
512
|
+
placeholder: import("vue-types").VueTypeValidableDef<string> & {
|
513
|
+
default: string;
|
514
|
+
} & {
|
515
|
+
default: string;
|
516
|
+
};
|
517
|
+
filterable: import("vue-types").VueTypeValidableDef<boolean> & {
|
518
|
+
default: boolean;
|
519
|
+
} & {
|
520
|
+
default: boolean;
|
521
|
+
};
|
522
|
+
allowCreate: import("vue-types").VueTypeValidableDef<boolean> & {
|
523
|
+
default: boolean;
|
524
|
+
} & {
|
525
|
+
default: boolean;
|
526
|
+
};
|
527
|
+
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
528
|
+
}>> & {
|
529
|
+
onFocus?: (...args: any[]) => any;
|
530
|
+
onEnter?: (...args: any[]) => any;
|
531
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
532
|
+
onRemove?: (...args: any[]) => any;
|
533
|
+
} & import("vue").ShallowUnwrapRef<{
|
534
|
+
value: any;
|
535
|
+
inputRef: import("vue").Ref<HTMLElement>;
|
536
|
+
handleRemoveTag: (data: import("./type").ISelectedData) => void;
|
537
|
+
handleFocus: () => void;
|
538
|
+
focus: () => void;
|
539
|
+
handleInput: (e: any) => void;
|
540
|
+
handleKeydown: (e: any) => void;
|
541
|
+
}> & {} & {} & import("vue").ComponentCustomProperties>;
|
542
|
+
searchLoading: import("vue").Ref<boolean>;
|
543
|
+
isOptionsEmpty: import("vue").ComputedRef<boolean>;
|
544
|
+
isSearchEmpty: import("vue").ComputedRef<boolean>;
|
545
|
+
isFocus: import("vue").Ref<boolean>;
|
546
|
+
isShowSelectContent: import("vue").ComputedRef<boolean>;
|
547
|
+
curContentText: import("vue").ComputedRef<string>;
|
548
|
+
isGroup: import("vue").ComputedRef<boolean>;
|
549
|
+
searchKey: import("vue").Ref<string>;
|
277
550
|
setHover: () => void;
|
278
551
|
cancelHover: () => void;
|
279
552
|
handleFocus: () => void;
|
280
|
-
|
281
|
-
toggleMenu: () => void;
|
553
|
+
handleTogglePopover: () => void;
|
282
554
|
handleClear: (e: Event) => void;
|
283
|
-
onPopoverFirstUpdate:
|
555
|
+
onPopoverFirstUpdate: import("@bkui-vue/shared").OnFirstUpdateFnType;
|
284
556
|
hidePopover: () => void;
|
285
557
|
showPopover: () => void;
|
286
|
-
|
558
|
+
handleToggleAll: () => void;
|
559
|
+
handleOptionSelected: (option: {
|
560
|
+
$: import("vue").ComponentInternalInstance;
|
561
|
+
$data: {};
|
562
|
+
$props: Partial<{
|
563
|
+
disabled: boolean;
|
564
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
565
|
+
value: import("vue-types").VueTypeValidableDef<any>;
|
566
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
567
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
568
|
+
default: boolean;
|
569
|
+
} & {
|
570
|
+
default: boolean;
|
571
|
+
};
|
572
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled">;
|
573
|
+
$attrs: {
|
574
|
+
[x: string]: unknown;
|
575
|
+
};
|
576
|
+
$refs: {
|
577
|
+
[x: string]: unknown;
|
578
|
+
};
|
579
|
+
$slots: Readonly<{
|
580
|
+
[name: string]: import("vue").Slot;
|
581
|
+
}>;
|
582
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
583
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
584
|
+
$emit: (event: string, ...args: any[]) => void;
|
585
|
+
$el: any;
|
586
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
587
|
+
value: import("vue-types").VueTypeValidableDef<any>;
|
588
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
589
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
590
|
+
default: boolean;
|
591
|
+
} & {
|
592
|
+
default: boolean;
|
593
|
+
};
|
594
|
+
}>>, {
|
595
|
+
selected: import("vue").ComputedRef<boolean>;
|
596
|
+
multiple: import("vue").ComputedRef<boolean>;
|
597
|
+
isHover: import("vue").ComputedRef<boolean>;
|
598
|
+
handleOptionClick: () => void;
|
599
|
+
handleMouseEnter: () => void;
|
600
|
+
visible: import("vue").Ref<boolean>;
|
601
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
602
|
+
disabled: boolean;
|
603
|
+
}> & {
|
604
|
+
beforeCreate?: (() => void) | (() => void)[];
|
605
|
+
created?: (() => void) | (() => void)[];
|
606
|
+
beforeMount?: (() => void) | (() => void)[];
|
607
|
+
mounted?: (() => void) | (() => void)[];
|
608
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
609
|
+
updated?: (() => void) | (() => void)[];
|
610
|
+
activated?: (() => void) | (() => void)[];
|
611
|
+
deactivated?: (() => void) | (() => void)[];
|
612
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
613
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
614
|
+
destroyed?: (() => void) | (() => void)[];
|
615
|
+
unmounted?: (() => void) | (() => void)[];
|
616
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
617
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
618
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
|
619
|
+
};
|
620
|
+
$forceUpdate: () => void;
|
621
|
+
$nextTick: typeof import("vue").nextTick;
|
622
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
623
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
624
|
+
value: import("vue-types").VueTypeValidableDef<any>;
|
625
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
626
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
627
|
+
default: boolean;
|
628
|
+
} & {
|
629
|
+
default: boolean;
|
630
|
+
};
|
631
|
+
}>> & import("vue").ShallowUnwrapRef<{
|
632
|
+
selected: import("vue").ComputedRef<boolean>;
|
633
|
+
multiple: import("vue").ComputedRef<boolean>;
|
634
|
+
isHover: import("vue").ComputedRef<boolean>;
|
635
|
+
handleOptionClick: () => void;
|
636
|
+
handleMouseEnter: () => void;
|
637
|
+
visible: import("vue").Ref<boolean>;
|
638
|
+
}> & {} & {} & import("vue").ComponentCustomProperties) => void;
|
639
|
+
handleClickOutside: () => void;
|
640
|
+
handleScroll: (e: any) => void;
|
641
|
+
handleDeleteTag: (data: import("./type").ISelectedData) => void;
|
642
|
+
handleInputChange: (value: any) => void;
|
643
|
+
handleInputEnter: (value: any, e: Event) => void;
|
644
|
+
handleKeydown: (e: KeyboardEvent) => void;
|
645
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "toggle" | "clear" | "update:modelValue" | "scroll-end")[], string, {
|
646
|
+
showOnInit: boolean;
|
647
|
+
disabled: boolean;
|
287
648
|
placeholder: string;
|
288
649
|
size: string;
|
289
650
|
multiple: boolean;
|
290
|
-
disabled: boolean;
|
291
651
|
loading: boolean;
|
292
652
|
clearable: boolean;
|
653
|
+
behavior: string;
|
654
|
+
tagTheme: string;
|
293
655
|
filterable: boolean;
|
656
|
+
allowCreate: boolean;
|
657
|
+
popoverMinWidth: number;
|
658
|
+
remoteMethod: (...args: any[]) => any;
|
659
|
+
scrollHeight: number;
|
660
|
+
showSelectAll: boolean;
|
661
|
+
multipleMode: string;
|
662
|
+
collapseTags: boolean;
|
663
|
+
noDataText: string;
|
664
|
+
noMatchText: string;
|
665
|
+
loadingText: string;
|
666
|
+
selectAllText: string;
|
667
|
+
scrollLoading: boolean;
|
668
|
+
popoverOptions: {
|
669
|
+
[key: string]: any;
|
670
|
+
};
|
671
|
+
customContent: boolean;
|
294
672
|
}> & {
|
295
673
|
beforeCreate?: (() => void) | (() => void)[];
|
296
674
|
created?: (() => void) | (() => void)[];
|
@@ -311,45 +689,262 @@ declare const BkSelect: {
|
|
311
689
|
$forceUpdate: () => void;
|
312
690
|
$nextTick: typeof import("vue").nextTick;
|
313
691
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
314
|
-
} & Readonly<{
|
315
|
-
modelValue
|
316
|
-
multiple
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
clearable: boolean
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
692
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
693
|
+
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
694
|
+
multiple: import("vue-types").VueTypeValidableDef<boolean> & {
|
695
|
+
default: boolean;
|
696
|
+
} & {
|
697
|
+
default: boolean;
|
698
|
+
};
|
699
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
700
|
+
default: boolean;
|
701
|
+
} & {
|
702
|
+
default: boolean;
|
703
|
+
};
|
704
|
+
size: import("vue-types").VueTypeDef<string> & {
|
705
|
+
default: string;
|
706
|
+
};
|
707
|
+
clearable: import("vue-types").VueTypeValidableDef<boolean> & {
|
708
|
+
default: boolean;
|
709
|
+
} & {
|
710
|
+
default: boolean;
|
711
|
+
};
|
712
|
+
loading: import("vue-types").VueTypeValidableDef<boolean> & {
|
713
|
+
default: boolean;
|
714
|
+
} & {
|
715
|
+
default: boolean;
|
716
|
+
};
|
717
|
+
filterable: import("vue-types").VueTypeValidableDef<boolean> & {
|
718
|
+
default: boolean;
|
719
|
+
} & {
|
720
|
+
default: boolean;
|
721
|
+
};
|
722
|
+
remoteMethod: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
723
|
+
default: (...args: any[]) => any;
|
724
|
+
};
|
725
|
+
scrollHeight: import("vue-types").VueTypeValidableDef<number> & {
|
726
|
+
default: number;
|
727
|
+
} & {
|
728
|
+
default: number;
|
729
|
+
};
|
730
|
+
showSelectAll: import("vue-types").VueTypeValidableDef<boolean> & {
|
731
|
+
default: boolean;
|
732
|
+
} & {
|
733
|
+
default: boolean;
|
734
|
+
};
|
735
|
+
popoverMinWidth: import("vue-types").VueTypeValidableDef<number> & {
|
736
|
+
default: number;
|
737
|
+
} & {
|
738
|
+
default: number;
|
739
|
+
};
|
740
|
+
showOnInit: import("vue-types").VueTypeValidableDef<boolean> & {
|
741
|
+
default: boolean;
|
742
|
+
} & {
|
743
|
+
default: boolean;
|
744
|
+
};
|
745
|
+
multipleMode: import("vue-types").VueTypeDef<string> & {
|
746
|
+
default: string;
|
747
|
+
};
|
748
|
+
tagTheme: import("vue-types").VueTypeDef<string> & {
|
749
|
+
default: string;
|
750
|
+
};
|
751
|
+
behavior: import("vue-types").VueTypeDef<string> & {
|
752
|
+
default: string;
|
753
|
+
};
|
754
|
+
collapseTags: import("vue-types").VueTypeValidableDef<boolean> & {
|
755
|
+
default: boolean;
|
756
|
+
} & {
|
757
|
+
default: boolean;
|
758
|
+
};
|
759
|
+
noDataText: import("vue-types").VueTypeValidableDef<string> & {
|
760
|
+
default: string;
|
761
|
+
} & {
|
762
|
+
default: string;
|
763
|
+
};
|
764
|
+
noMatchText: import("vue-types").VueTypeValidableDef<string> & {
|
765
|
+
default: string;
|
766
|
+
} & {
|
767
|
+
default: string;
|
768
|
+
};
|
769
|
+
loadingText: import("vue-types").VueTypeValidableDef<string> & {
|
770
|
+
default: string;
|
771
|
+
} & {
|
772
|
+
default: string;
|
773
|
+
};
|
774
|
+
placeholder: import("vue-types").VueTypeValidableDef<string> & {
|
775
|
+
default: string;
|
776
|
+
} & {
|
777
|
+
default: string;
|
778
|
+
};
|
779
|
+
selectAllText: import("vue-types").VueTypeValidableDef<string> & {
|
780
|
+
default: string;
|
781
|
+
} & {
|
782
|
+
default: string;
|
783
|
+
};
|
784
|
+
scrollLoading: import("vue-types").VueTypeValidableDef<boolean> & {
|
785
|
+
default: boolean;
|
786
|
+
} & {
|
787
|
+
default: boolean;
|
788
|
+
};
|
789
|
+
allowCreate: import("vue-types").VueTypeValidableDef<boolean> & {
|
790
|
+
default: boolean;
|
791
|
+
} & {
|
792
|
+
default: boolean;
|
793
|
+
};
|
794
|
+
popoverOptions: import("vue-types").VueTypeValidableDef<{
|
795
|
+
[key: string]: any;
|
796
|
+
}> & {
|
797
|
+
default: () => {
|
798
|
+
[key: string]: any;
|
799
|
+
};
|
800
|
+
} & {
|
801
|
+
default: () => {
|
802
|
+
[key: string]: any;
|
803
|
+
};
|
804
|
+
};
|
805
|
+
customContent: import("vue-types").VueTypeValidableDef<boolean> & {
|
806
|
+
default: boolean;
|
807
|
+
} & {
|
808
|
+
default: boolean;
|
809
|
+
};
|
810
|
+
}>> & {
|
334
811
|
onChange?: (...args: any[]) => any;
|
335
812
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
813
|
+
onClear?: (...args: any[]) => any;
|
336
814
|
onToggle?: (...args: any[]) => any;
|
815
|
+
"onScroll-end"?: (...args: any[]) => any;
|
337
816
|
} & import("vue").ShallowUnwrapRef<{
|
338
|
-
|
817
|
+
selected: import("vue").Ref<{
|
818
|
+
value: any;
|
819
|
+
label: string | number;
|
820
|
+
}[]>;
|
821
|
+
isInput: import("vue").ComputedRef<boolean>;
|
822
|
+
options: import("vue").Ref<({
|
339
823
|
$: import("vue").ComponentInternalInstance;
|
340
824
|
$data: {};
|
341
825
|
$props: Partial<{
|
342
826
|
disabled: boolean;
|
343
|
-
}> & Omit<Readonly<{
|
344
|
-
value
|
345
|
-
label
|
346
|
-
disabled
|
347
|
-
|
827
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
828
|
+
value: import("vue-types").VueTypeValidableDef<any>;
|
829
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
830
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
831
|
+
default: boolean;
|
832
|
+
} & {
|
833
|
+
default: boolean;
|
834
|
+
};
|
835
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled">;
|
836
|
+
$attrs: {
|
837
|
+
[x: string]: unknown;
|
838
|
+
};
|
839
|
+
$refs: {
|
840
|
+
[x: string]: unknown;
|
841
|
+
};
|
842
|
+
$slots: Readonly<{
|
843
|
+
[name: string]: import("vue").Slot;
|
844
|
+
}>;
|
845
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
846
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
847
|
+
$emit: (event: string, ...args: any[]) => void;
|
848
|
+
$el: any;
|
849
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
850
|
+
value: import("vue-types").VueTypeValidableDef<any>;
|
851
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
852
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
853
|
+
default: boolean;
|
854
|
+
} & {
|
855
|
+
default: boolean;
|
856
|
+
};
|
857
|
+
}>>, {
|
858
|
+
selected: import("vue").ComputedRef<boolean>;
|
859
|
+
multiple: import("vue").ComputedRef<boolean>;
|
860
|
+
isHover: import("vue").ComputedRef<boolean>;
|
861
|
+
handleOptionClick: () => void;
|
862
|
+
handleMouseEnter: () => void;
|
863
|
+
visible: import("vue").Ref<boolean>;
|
864
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
348
865
|
disabled: boolean;
|
866
|
+
}> & {
|
867
|
+
beforeCreate?: (() => void) | (() => void)[];
|
868
|
+
created?: (() => void) | (() => void)[];
|
869
|
+
beforeMount?: (() => void) | (() => void)[];
|
870
|
+
mounted?: (() => void) | (() => void)[];
|
871
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
872
|
+
updated?: (() => void) | (() => void)[];
|
873
|
+
activated?: (() => void) | (() => void)[];
|
874
|
+
deactivated?: (() => void) | (() => void)[];
|
875
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
876
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
877
|
+
destroyed?: (() => void) | (() => void)[];
|
878
|
+
unmounted?: (() => void) | (() => void)[];
|
879
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
880
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
881
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
|
882
|
+
};
|
883
|
+
$forceUpdate: () => void;
|
884
|
+
$nextTick: typeof import("vue").nextTick;
|
885
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
886
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
887
|
+
value: import("vue-types").VueTypeValidableDef<any>;
|
888
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
889
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
890
|
+
default: boolean;
|
349
891
|
} & {
|
350
|
-
|
351
|
-
|
352
|
-
|
892
|
+
default: boolean;
|
893
|
+
};
|
894
|
+
}>> & import("vue").ShallowUnwrapRef<{
|
895
|
+
selected: import("vue").ComputedRef<boolean>;
|
896
|
+
multiple: import("vue").ComputedRef<boolean>;
|
897
|
+
isHover: import("vue").ComputedRef<boolean>;
|
898
|
+
handleOptionClick: () => void;
|
899
|
+
handleMouseEnter: () => void;
|
900
|
+
visible: import("vue").Ref<boolean>;
|
901
|
+
}> & {} & {} & import("vue").ComponentCustomProperties)[]>;
|
902
|
+
isDisabled: import("vue").ComputedRef<boolean>;
|
903
|
+
selectedLabel: import("vue").ComputedRef<(string | number)[]>;
|
904
|
+
isPopoverShow: import("vue").Ref<boolean>;
|
905
|
+
isHover: import("vue").Ref<boolean>;
|
906
|
+
popperWidth: import("vue").Ref<string | number>;
|
907
|
+
popoverRef: import("vue").Ref<any>;
|
908
|
+
inputRef: import("vue").Ref<HTMLElement>;
|
909
|
+
selectTagInputRef: import("vue").Ref<{
|
910
|
+
$: import("vue").ComponentInternalInstance;
|
911
|
+
$data: {};
|
912
|
+
$props: Partial<{
|
913
|
+
placeholder: string;
|
914
|
+
selected: import("./type").ISelectedData[];
|
915
|
+
tagTheme: string;
|
916
|
+
filterable: boolean;
|
917
|
+
allowCreate: boolean;
|
918
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
919
|
+
selected: {
|
920
|
+
type: import("vue-types/dist/types").PropType<import("./type").ISelectedData[]>;
|
921
|
+
default: () => any[];
|
922
|
+
};
|
923
|
+
tagTheme: import("vue-types").VueTypeDef<string> & {
|
924
|
+
default: string;
|
925
|
+
};
|
926
|
+
placeholder: import("vue-types").VueTypeValidableDef<string> & {
|
927
|
+
default: string;
|
928
|
+
} & {
|
929
|
+
default: string;
|
930
|
+
};
|
931
|
+
filterable: import("vue-types").VueTypeValidableDef<boolean> & {
|
932
|
+
default: boolean;
|
933
|
+
} & {
|
934
|
+
default: boolean;
|
935
|
+
};
|
936
|
+
allowCreate: import("vue-types").VueTypeValidableDef<boolean> & {
|
937
|
+
default: boolean;
|
938
|
+
} & {
|
939
|
+
default: boolean;
|
940
|
+
};
|
941
|
+
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
942
|
+
}>> & {
|
943
|
+
onFocus?: (...args: any[]) => any;
|
944
|
+
onEnter?: (...args: any[]) => any;
|
945
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
946
|
+
onRemove?: (...args: any[]) => any;
|
947
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placeholder" | "selected" | "tagTheme" | "filterable" | "allowCreate">;
|
353
948
|
$attrs: {
|
354
949
|
[x: string]: unknown;
|
355
950
|
};
|
@@ -361,30 +956,51 @@ declare const BkSelect: {
|
|
361
956
|
}>;
|
362
957
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
363
958
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
364
|
-
$emit: (event:
|
959
|
+
$emit: (event: "focus" | "update:modelValue" | "remove" | "enter", ...args: any[]) => void;
|
365
960
|
$el: any;
|
366
|
-
$options: import("vue").ComponentOptionsBase<Readonly<{
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
961
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
962
|
+
selected: {
|
963
|
+
type: import("vue-types/dist/types").PropType<import("./type").ISelectedData[]>;
|
964
|
+
default: () => any[];
|
965
|
+
};
|
966
|
+
tagTheme: import("vue-types").VueTypeDef<string> & {
|
967
|
+
default: string;
|
968
|
+
};
|
969
|
+
placeholder: import("vue-types").VueTypeValidableDef<string> & {
|
970
|
+
default: string;
|
971
|
+
} & {
|
972
|
+
default: string;
|
973
|
+
};
|
974
|
+
filterable: import("vue-types").VueTypeValidableDef<boolean> & {
|
975
|
+
default: boolean;
|
976
|
+
} & {
|
977
|
+
default: boolean;
|
978
|
+
};
|
979
|
+
allowCreate: import("vue-types").VueTypeValidableDef<boolean> & {
|
980
|
+
default: boolean;
|
981
|
+
} & {
|
982
|
+
default: boolean;
|
983
|
+
};
|
984
|
+
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
985
|
+
}>> & {
|
986
|
+
onFocus?: (...args: any[]) => any;
|
987
|
+
onEnter?: (...args: any[]) => any;
|
988
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
989
|
+
onRemove?: (...args: any[]) => any;
|
990
|
+
}, {
|
991
|
+
value: any;
|
992
|
+
inputRef: import("vue").Ref<HTMLElement>;
|
993
|
+
handleRemoveTag: (data: import("./type").ISelectedData) => void;
|
994
|
+
handleFocus: () => void;
|
995
|
+
focus: () => void;
|
996
|
+
handleInput: (e: any) => void;
|
997
|
+
handleKeydown: (e: any) => void;
|
998
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "update:modelValue" | "remove" | "enter")[], string, {
|
999
|
+
placeholder: string;
|
1000
|
+
selected: import("./type").ISelectedData[];
|
1001
|
+
tagTheme: string;
|
1002
|
+
filterable: boolean;
|
1003
|
+
allowCreate: boolean;
|
388
1004
|
}> & {
|
389
1005
|
beforeCreate?: (() => void) | (() => void)[];
|
390
1006
|
created?: (() => void) | (() => void)[];
|
@@ -405,42 +1021,75 @@ declare const BkSelect: {
|
|
405
1021
|
$forceUpdate: () => void;
|
406
1022
|
$nextTick: typeof import("vue").nextTick;
|
407
1023
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
408
|
-
} & Readonly<{
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
1024
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
1025
|
+
selected: {
|
1026
|
+
type: import("vue-types/dist/types").PropType<import("./type").ISelectedData[]>;
|
1027
|
+
default: () => any[];
|
1028
|
+
};
|
1029
|
+
tagTheme: import("vue-types").VueTypeDef<string> & {
|
1030
|
+
default: string;
|
1031
|
+
};
|
1032
|
+
placeholder: import("vue-types").VueTypeValidableDef<string> & {
|
1033
|
+
default: string;
|
1034
|
+
} & {
|
1035
|
+
default: string;
|
1036
|
+
};
|
1037
|
+
filterable: import("vue-types").VueTypeValidableDef<boolean> & {
|
1038
|
+
default: boolean;
|
1039
|
+
} & {
|
1040
|
+
default: boolean;
|
1041
|
+
};
|
1042
|
+
allowCreate: import("vue-types").VueTypeValidableDef<boolean> & {
|
1043
|
+
default: boolean;
|
1044
|
+
} & {
|
1045
|
+
default: boolean;
|
1046
|
+
};
|
1047
|
+
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
1048
|
+
}>> & {
|
1049
|
+
onFocus?: (...args: any[]) => any;
|
1050
|
+
onEnter?: (...args: any[]) => any;
|
1051
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
1052
|
+
onRemove?: (...args: any[]) => any;
|
1053
|
+
} & import("vue").ShallowUnwrapRef<{
|
1054
|
+
value: any;
|
1055
|
+
inputRef: import("vue").Ref<HTMLElement>;
|
1056
|
+
handleRemoveTag: (data: import("./type").ISelectedData) => void;
|
1057
|
+
handleFocus: () => void;
|
1058
|
+
focus: () => void;
|
1059
|
+
handleInput: (e: any) => void;
|
1060
|
+
handleKeydown: (e: any) => void;
|
1061
|
+
}> & {} & {} & import("vue").ComponentCustomProperties>;
|
1062
|
+
searchLoading: import("vue").Ref<boolean>;
|
1063
|
+
isOptionsEmpty: import("vue").ComputedRef<boolean>;
|
1064
|
+
isSearchEmpty: import("vue").ComputedRef<boolean>;
|
1065
|
+
isFocus: import("vue").Ref<boolean>;
|
1066
|
+
isShowSelectContent: import("vue").ComputedRef<boolean>;
|
1067
|
+
curContentText: import("vue").ComputedRef<string>;
|
1068
|
+
isGroup: import("vue").ComputedRef<boolean>;
|
1069
|
+
searchKey: import("vue").Ref<string>;
|
1070
|
+
setHover: () => void;
|
1071
|
+
cancelHover: () => void;
|
1072
|
+
handleFocus: () => void;
|
1073
|
+
handleTogglePopover: () => void;
|
1074
|
+
handleClear: (e: Event) => void;
|
1075
|
+
onPopoverFirstUpdate: import("@bkui-vue/shared").OnFirstUpdateFnType;
|
1076
|
+
hidePopover: () => void;
|
1077
|
+
showPopover: () => void;
|
1078
|
+
handleToggleAll: () => void;
|
1079
|
+
handleOptionSelected: (option: {
|
430
1080
|
$: import("vue").ComponentInternalInstance;
|
431
1081
|
$data: {};
|
432
1082
|
$props: Partial<{
|
433
1083
|
disabled: boolean;
|
434
|
-
}> & Omit<Readonly<{
|
435
|
-
value
|
436
|
-
label
|
437
|
-
disabled
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
}> & {} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled">;
|
1084
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
1085
|
+
value: import("vue-types").VueTypeValidableDef<any>;
|
1086
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
1087
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
1088
|
+
default: boolean;
|
1089
|
+
} & {
|
1090
|
+
default: boolean;
|
1091
|
+
};
|
1092
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled">;
|
444
1093
|
$attrs: {
|
445
1094
|
[x: string]: unknown;
|
446
1095
|
};
|
@@ -454,26 +1103,21 @@ declare const BkSelect: {
|
|
454
1103
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
455
1104
|
$emit: (event: string, ...args: any[]) => void;
|
456
1105
|
$el: any;
|
457
|
-
$options: import("vue").ComponentOptionsBase<Readonly<{
|
458
|
-
value
|
459
|
-
label
|
460
|
-
disabled
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
}> & {}, {
|
467
|
-
selectItemClass: import("vue").ComputedRef<{
|
468
|
-
'is-selected': boolean;
|
469
|
-
'is-disabled': boolean;
|
470
|
-
'is-multiple': boolean;
|
471
|
-
'is-hover': boolean;
|
472
|
-
'bk-select-option': boolean;
|
473
|
-
}>;
|
1106
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
1107
|
+
value: import("vue-types").VueTypeValidableDef<any>;
|
1108
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
1109
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
1110
|
+
default: boolean;
|
1111
|
+
} & {
|
1112
|
+
default: boolean;
|
1113
|
+
};
|
1114
|
+
}>>, {
|
474
1115
|
selected: import("vue").ComputedRef<boolean>;
|
475
|
-
|
476
|
-
|
1116
|
+
multiple: import("vue").ComputedRef<boolean>;
|
1117
|
+
isHover: import("vue").ComputedRef<boolean>;
|
1118
|
+
handleOptionClick: () => void;
|
1119
|
+
handleMouseEnter: () => void;
|
1120
|
+
visible: import("vue").Ref<boolean>;
|
477
1121
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
478
1122
|
disabled: boolean;
|
479
1123
|
}> & {
|
@@ -496,100 +1140,176 @@ declare const BkSelect: {
|
|
496
1140
|
$forceUpdate: () => void;
|
497
1141
|
$nextTick: typeof import("vue").nextTick;
|
498
1142
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
499
|
-
} & Readonly<{
|
500
|
-
value
|
501
|
-
label
|
502
|
-
disabled
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
label?: string | number;
|
507
|
-
value?: string | number | boolean;
|
508
|
-
}> & {} & import("vue").ShallowUnwrapRef<{
|
509
|
-
selectItemClass: import("vue").ComputedRef<{
|
510
|
-
'is-selected': boolean;
|
511
|
-
'is-disabled': boolean;
|
512
|
-
'is-multiple': boolean;
|
513
|
-
'is-hover': boolean;
|
514
|
-
'bk-select-option': boolean;
|
515
|
-
}>;
|
516
|
-
selected: import("vue").ComputedRef<boolean>;
|
517
|
-
handleOptionClick: (e: Event) => void;
|
518
|
-
display: import("vue").Ref<boolean>;
|
519
|
-
}> & {} & {} & import("vue").ComponentCustomProperties)[]>;
|
520
|
-
selectedLabel: import("vue").ComputedRef<string>;
|
521
|
-
selectClass: import("vue").ComputedRef<{
|
522
|
-
[x: string]: boolean;
|
523
|
-
'bk-select': boolean;
|
524
|
-
'popover-show': boolean;
|
525
|
-
'is-disabled': boolean;
|
526
|
-
'is-focus': boolean;
|
527
|
-
}>;
|
528
|
-
isPopoverShow: import("vue").Ref<boolean>;
|
529
|
-
placeholder: import("vue").Ref<string>;
|
530
|
-
filterable: import("vue").Ref<boolean>;
|
531
|
-
clearable: import("vue").Ref<boolean>;
|
532
|
-
isHover: import("vue").Ref<boolean>;
|
533
|
-
modifiers: import("vue").Ref<{
|
534
|
-
name: string;
|
535
|
-
options: {
|
536
|
-
offset: number[];
|
1143
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
1144
|
+
value: import("vue-types").VueTypeValidableDef<any>;
|
1145
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
1146
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
1147
|
+
default: boolean;
|
1148
|
+
} & {
|
1149
|
+
default: boolean;
|
537
1150
|
};
|
538
|
-
}
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
1151
|
+
}>> & import("vue").ShallowUnwrapRef<{
|
1152
|
+
selected: import("vue").ComputedRef<boolean>;
|
1153
|
+
multiple: import("vue").ComputedRef<boolean>;
|
1154
|
+
isHover: import("vue").ComputedRef<boolean>;
|
1155
|
+
handleOptionClick: () => void;
|
1156
|
+
handleMouseEnter: () => void;
|
1157
|
+
visible: import("vue").Ref<boolean>;
|
1158
|
+
}> & {} & {} & import("vue").ComponentCustomProperties) => void;
|
1159
|
+
handleClickOutside: () => void;
|
1160
|
+
handleScroll: (e: any) => void;
|
1161
|
+
handleDeleteTag: (data: import("./type").ISelectedData) => void;
|
1162
|
+
handleInputChange: (value: any) => void;
|
1163
|
+
handleInputEnter: (value: any, e: Event) => void;
|
1164
|
+
handleKeydown: (e: KeyboardEvent) => void;
|
550
1165
|
}> & {} & {} & import("vue").ComponentCustomProperties;
|
551
1166
|
__isFragment?: never;
|
552
1167
|
__isTeleport?: never;
|
553
1168
|
__isSuspense?: never;
|
554
|
-
} & import("vue").ComponentOptionsBase<Readonly<{
|
555
|
-
modelValue
|
556
|
-
multiple
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
} & {
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
clearable: boolean
|
570
|
-
|
571
|
-
} & {
|
572
|
-
|
573
|
-
}
|
1169
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
1170
|
+
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
1171
|
+
multiple: import("vue-types").VueTypeValidableDef<boolean> & {
|
1172
|
+
default: boolean;
|
1173
|
+
} & {
|
1174
|
+
default: boolean;
|
1175
|
+
};
|
1176
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
1177
|
+
default: boolean;
|
1178
|
+
} & {
|
1179
|
+
default: boolean;
|
1180
|
+
};
|
1181
|
+
size: import("vue-types").VueTypeDef<string> & {
|
1182
|
+
default: string;
|
1183
|
+
};
|
1184
|
+
clearable: import("vue-types").VueTypeValidableDef<boolean> & {
|
1185
|
+
default: boolean;
|
1186
|
+
} & {
|
1187
|
+
default: boolean;
|
1188
|
+
};
|
1189
|
+
loading: import("vue-types").VueTypeValidableDef<boolean> & {
|
1190
|
+
default: boolean;
|
1191
|
+
} & {
|
1192
|
+
default: boolean;
|
1193
|
+
};
|
1194
|
+
filterable: import("vue-types").VueTypeValidableDef<boolean> & {
|
1195
|
+
default: boolean;
|
1196
|
+
} & {
|
1197
|
+
default: boolean;
|
1198
|
+
};
|
1199
|
+
remoteMethod: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
1200
|
+
default: (...args: any[]) => any;
|
1201
|
+
};
|
1202
|
+
scrollHeight: import("vue-types").VueTypeValidableDef<number> & {
|
1203
|
+
default: number;
|
1204
|
+
} & {
|
1205
|
+
default: number;
|
1206
|
+
};
|
1207
|
+
showSelectAll: import("vue-types").VueTypeValidableDef<boolean> & {
|
1208
|
+
default: boolean;
|
1209
|
+
} & {
|
1210
|
+
default: boolean;
|
1211
|
+
};
|
1212
|
+
popoverMinWidth: import("vue-types").VueTypeValidableDef<number> & {
|
1213
|
+
default: number;
|
1214
|
+
} & {
|
1215
|
+
default: number;
|
1216
|
+
};
|
1217
|
+
showOnInit: import("vue-types").VueTypeValidableDef<boolean> & {
|
1218
|
+
default: boolean;
|
1219
|
+
} & {
|
1220
|
+
default: boolean;
|
1221
|
+
};
|
1222
|
+
multipleMode: import("vue-types").VueTypeDef<string> & {
|
1223
|
+
default: string;
|
1224
|
+
};
|
1225
|
+
tagTheme: import("vue-types").VueTypeDef<string> & {
|
1226
|
+
default: string;
|
1227
|
+
};
|
1228
|
+
behavior: import("vue-types").VueTypeDef<string> & {
|
1229
|
+
default: string;
|
1230
|
+
};
|
1231
|
+
collapseTags: import("vue-types").VueTypeValidableDef<boolean> & {
|
1232
|
+
default: boolean;
|
1233
|
+
} & {
|
1234
|
+
default: boolean;
|
1235
|
+
};
|
1236
|
+
noDataText: import("vue-types").VueTypeValidableDef<string> & {
|
1237
|
+
default: string;
|
1238
|
+
} & {
|
1239
|
+
default: string;
|
1240
|
+
};
|
1241
|
+
noMatchText: import("vue-types").VueTypeValidableDef<string> & {
|
1242
|
+
default: string;
|
1243
|
+
} & {
|
1244
|
+
default: string;
|
1245
|
+
};
|
1246
|
+
loadingText: import("vue-types").VueTypeValidableDef<string> & {
|
1247
|
+
default: string;
|
1248
|
+
} & {
|
1249
|
+
default: string;
|
1250
|
+
};
|
1251
|
+
placeholder: import("vue-types").VueTypeValidableDef<string> & {
|
1252
|
+
default: string;
|
1253
|
+
} & {
|
1254
|
+
default: string;
|
1255
|
+
};
|
1256
|
+
selectAllText: import("vue-types").VueTypeValidableDef<string> & {
|
1257
|
+
default: string;
|
1258
|
+
} & {
|
1259
|
+
default: string;
|
1260
|
+
};
|
1261
|
+
scrollLoading: import("vue-types").VueTypeValidableDef<boolean> & {
|
1262
|
+
default: boolean;
|
1263
|
+
} & {
|
1264
|
+
default: boolean;
|
1265
|
+
};
|
1266
|
+
allowCreate: import("vue-types").VueTypeValidableDef<boolean> & {
|
1267
|
+
default: boolean;
|
1268
|
+
} & {
|
1269
|
+
default: boolean;
|
1270
|
+
};
|
1271
|
+
popoverOptions: import("vue-types").VueTypeValidableDef<{
|
1272
|
+
[key: string]: any;
|
1273
|
+
}> & {
|
1274
|
+
default: () => {
|
1275
|
+
[key: string]: any;
|
1276
|
+
};
|
1277
|
+
} & {
|
1278
|
+
default: () => {
|
1279
|
+
[key: string]: any;
|
1280
|
+
};
|
1281
|
+
};
|
1282
|
+
customContent: import("vue-types").VueTypeValidableDef<boolean> & {
|
1283
|
+
default: boolean;
|
1284
|
+
} & {
|
1285
|
+
default: boolean;
|
1286
|
+
};
|
1287
|
+
}>> & {
|
574
1288
|
onChange?: (...args: any[]) => any;
|
575
1289
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
1290
|
+
onClear?: (...args: any[]) => any;
|
576
1291
|
onToggle?: (...args: any[]) => any;
|
1292
|
+
"onScroll-end"?: (...args: any[]) => any;
|
577
1293
|
}, {
|
578
|
-
|
1294
|
+
selected: import("vue").Ref<{
|
1295
|
+
value: any;
|
1296
|
+
label: string | number;
|
1297
|
+
}[]>;
|
1298
|
+
isInput: import("vue").ComputedRef<boolean>;
|
1299
|
+
options: import("vue").Ref<({
|
579
1300
|
$: import("vue").ComponentInternalInstance;
|
580
1301
|
$data: {};
|
581
1302
|
$props: Partial<{
|
582
1303
|
disabled: boolean;
|
583
|
-
}> & Omit<Readonly<{
|
584
|
-
value
|
585
|
-
label
|
586
|
-
disabled
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
}> & {} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled">;
|
1304
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
1305
|
+
value: import("vue-types").VueTypeValidableDef<any>;
|
1306
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
1307
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
1308
|
+
default: boolean;
|
1309
|
+
} & {
|
1310
|
+
default: boolean;
|
1311
|
+
};
|
1312
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled">;
|
593
1313
|
$attrs: {
|
594
1314
|
[x: string]: unknown;
|
595
1315
|
};
|
@@ -603,26 +1323,21 @@ declare const BkSelect: {
|
|
603
1323
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
604
1324
|
$emit: (event: string, ...args: any[]) => void;
|
605
1325
|
$el: any;
|
606
|
-
$options: import("vue").ComponentOptionsBase<Readonly<{
|
607
|
-
value
|
608
|
-
label
|
609
|
-
disabled
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
}> & {}, {
|
616
|
-
selectItemClass: import("vue").ComputedRef<{
|
617
|
-
'is-selected': boolean;
|
618
|
-
'is-disabled': boolean;
|
619
|
-
'is-multiple': boolean;
|
620
|
-
'is-hover': boolean;
|
621
|
-
'bk-select-option': boolean;
|
622
|
-
}>;
|
1326
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
1327
|
+
value: import("vue-types").VueTypeValidableDef<any>;
|
1328
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
1329
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
1330
|
+
default: boolean;
|
1331
|
+
} & {
|
1332
|
+
default: boolean;
|
1333
|
+
};
|
1334
|
+
}>>, {
|
623
1335
|
selected: import("vue").ComputedRef<boolean>;
|
624
|
-
|
625
|
-
|
1336
|
+
multiple: import("vue").ComputedRef<boolean>;
|
1337
|
+
isHover: import("vue").ComputedRef<boolean>;
|
1338
|
+
handleOptionClick: () => void;
|
1339
|
+
handleMouseEnter: () => void;
|
1340
|
+
visible: import("vue").Ref<boolean>;
|
626
1341
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
627
1342
|
disabled: boolean;
|
628
1343
|
}> & {
|
@@ -645,42 +1360,68 @@ declare const BkSelect: {
|
|
645
1360
|
$forceUpdate: () => void;
|
646
1361
|
$nextTick: typeof import("vue").nextTick;
|
647
1362
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
648
|
-
} & Readonly<{
|
649
|
-
value
|
650
|
-
label
|
651
|
-
disabled
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
}> & {} & import("vue").ShallowUnwrapRef<{
|
658
|
-
selectItemClass: import("vue").ComputedRef<{
|
659
|
-
'is-selected': boolean;
|
660
|
-
'is-disabled': boolean;
|
661
|
-
'is-multiple': boolean;
|
662
|
-
'is-hover': boolean;
|
663
|
-
'bk-select-option': boolean;
|
664
|
-
}>;
|
1363
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
1364
|
+
value: import("vue-types").VueTypeValidableDef<any>;
|
1365
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
1366
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
1367
|
+
default: boolean;
|
1368
|
+
} & {
|
1369
|
+
default: boolean;
|
1370
|
+
};
|
1371
|
+
}>> & import("vue").ShallowUnwrapRef<{
|
665
1372
|
selected: import("vue").ComputedRef<boolean>;
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
1373
|
+
multiple: import("vue").ComputedRef<boolean>;
|
1374
|
+
isHover: import("vue").ComputedRef<boolean>;
|
1375
|
+
handleOptionClick: () => void;
|
1376
|
+
handleMouseEnter: () => void;
|
1377
|
+
visible: import("vue").Ref<boolean>;
|
1378
|
+
}> & {} & {} & import("vue").ComponentCustomProperties)[]>;
|
1379
|
+
isDisabled: import("vue").ComputedRef<boolean>;
|
1380
|
+
selectedLabel: import("vue").ComputedRef<(string | number)[]>;
|
1381
|
+
isPopoverShow: import("vue").Ref<boolean>;
|
1382
|
+
isHover: import("vue").Ref<boolean>;
|
1383
|
+
popperWidth: import("vue").Ref<string | number>;
|
1384
|
+
popoverRef: import("vue").Ref<any>;
|
1385
|
+
inputRef: import("vue").Ref<HTMLElement>;
|
1386
|
+
selectTagInputRef: import("vue").Ref<{
|
670
1387
|
$: import("vue").ComponentInternalInstance;
|
671
1388
|
$data: {};
|
672
1389
|
$props: Partial<{
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
} & {
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
1390
|
+
placeholder: string;
|
1391
|
+
selected: import("./type").ISelectedData[];
|
1392
|
+
tagTheme: string;
|
1393
|
+
filterable: boolean;
|
1394
|
+
allowCreate: boolean;
|
1395
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
1396
|
+
selected: {
|
1397
|
+
type: import("vue-types/dist/types").PropType<import("./type").ISelectedData[]>;
|
1398
|
+
default: () => any[];
|
1399
|
+
};
|
1400
|
+
tagTheme: import("vue-types").VueTypeDef<string> & {
|
1401
|
+
default: string;
|
1402
|
+
};
|
1403
|
+
placeholder: import("vue-types").VueTypeValidableDef<string> & {
|
1404
|
+
default: string;
|
1405
|
+
} & {
|
1406
|
+
default: string;
|
1407
|
+
};
|
1408
|
+
filterable: import("vue-types").VueTypeValidableDef<boolean> & {
|
1409
|
+
default: boolean;
|
1410
|
+
} & {
|
1411
|
+
default: boolean;
|
1412
|
+
};
|
1413
|
+
allowCreate: import("vue-types").VueTypeValidableDef<boolean> & {
|
1414
|
+
default: boolean;
|
1415
|
+
} & {
|
1416
|
+
default: boolean;
|
1417
|
+
};
|
1418
|
+
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
1419
|
+
}>> & {
|
1420
|
+
onFocus?: (...args: any[]) => any;
|
1421
|
+
onEnter?: (...args: any[]) => any;
|
1422
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
1423
|
+
onRemove?: (...args: any[]) => any;
|
1424
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placeholder" | "selected" | "tagTheme" | "filterable" | "allowCreate">;
|
684
1425
|
$attrs: {
|
685
1426
|
[x: string]: unknown;
|
686
1427
|
};
|
@@ -692,30 +1433,51 @@ declare const BkSelect: {
|
|
692
1433
|
}>;
|
693
1434
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
694
1435
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
695
|
-
$emit: (event:
|
1436
|
+
$emit: (event: "focus" | "update:modelValue" | "remove" | "enter", ...args: any[]) => void;
|
696
1437
|
$el: any;
|
697
|
-
$options: import("vue").ComponentOptionsBase<Readonly<{
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
|
1438
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
1439
|
+
selected: {
|
1440
|
+
type: import("vue-types/dist/types").PropType<import("./type").ISelectedData[]>;
|
1441
|
+
default: () => any[];
|
1442
|
+
};
|
1443
|
+
tagTheme: import("vue-types").VueTypeDef<string> & {
|
1444
|
+
default: string;
|
1445
|
+
};
|
1446
|
+
placeholder: import("vue-types").VueTypeValidableDef<string> & {
|
1447
|
+
default: string;
|
1448
|
+
} & {
|
1449
|
+
default: string;
|
1450
|
+
};
|
1451
|
+
filterable: import("vue-types").VueTypeValidableDef<boolean> & {
|
1452
|
+
default: boolean;
|
1453
|
+
} & {
|
1454
|
+
default: boolean;
|
1455
|
+
};
|
1456
|
+
allowCreate: import("vue-types").VueTypeValidableDef<boolean> & {
|
1457
|
+
default: boolean;
|
1458
|
+
} & {
|
1459
|
+
default: boolean;
|
1460
|
+
};
|
1461
|
+
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
1462
|
+
}>> & {
|
1463
|
+
onFocus?: (...args: any[]) => any;
|
1464
|
+
onEnter?: (...args: any[]) => any;
|
1465
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
1466
|
+
onRemove?: (...args: any[]) => any;
|
1467
|
+
}, {
|
1468
|
+
value: any;
|
1469
|
+
inputRef: import("vue").Ref<HTMLElement>;
|
1470
|
+
handleRemoveTag: (data: import("./type").ISelectedData) => void;
|
1471
|
+
handleFocus: () => void;
|
1472
|
+
focus: () => void;
|
1473
|
+
handleInput: (e: any) => void;
|
1474
|
+
handleKeydown: (e: any) => void;
|
1475
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "update:modelValue" | "remove" | "enter")[], string, {
|
1476
|
+
placeholder: string;
|
1477
|
+
selected: import("./type").ISelectedData[];
|
1478
|
+
tagTheme: string;
|
1479
|
+
filterable: boolean;
|
1480
|
+
allowCreate: boolean;
|
719
1481
|
}> & {
|
720
1482
|
beforeCreate?: (() => void) | (() => void)[];
|
721
1483
|
created?: (() => void) | (() => void)[];
|
@@ -736,64 +1498,254 @@ declare const BkSelect: {
|
|
736
1498
|
$forceUpdate: () => void;
|
737
1499
|
$nextTick: typeof import("vue").nextTick;
|
738
1500
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
739
|
-
} & Readonly<{
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
} & {
|
744
|
-
disabled: boolean;
|
745
|
-
} & {
|
746
|
-
label?: string | number;
|
747
|
-
value?: string | number | boolean;
|
748
|
-
}> & {} & import("vue").ShallowUnwrapRef<{
|
749
|
-
selectItemClass: import("vue").ComputedRef<{
|
750
|
-
'is-selected': boolean;
|
751
|
-
'is-disabled': boolean;
|
752
|
-
'is-multiple': boolean;
|
753
|
-
'is-hover': boolean;
|
754
|
-
'bk-select-option': boolean;
|
755
|
-
}>;
|
756
|
-
selected: import("vue").ComputedRef<boolean>;
|
757
|
-
handleOptionClick: (e: Event) => void;
|
758
|
-
display: import("vue").Ref<boolean>;
|
759
|
-
}> & {} & {} & import("vue").ComponentCustomProperties)[]>;
|
760
|
-
selectedLabel: import("vue").ComputedRef<string>;
|
761
|
-
selectClass: import("vue").ComputedRef<{
|
762
|
-
[x: string]: boolean;
|
763
|
-
'bk-select': boolean;
|
764
|
-
'popover-show': boolean;
|
765
|
-
'is-disabled': boolean;
|
766
|
-
'is-focus': boolean;
|
767
|
-
}>;
|
768
|
-
isPopoverShow: import("vue").Ref<boolean>;
|
769
|
-
placeholder: import("vue").Ref<string>;
|
770
|
-
filterable: import("vue").Ref<boolean>;
|
771
|
-
clearable: import("vue").Ref<boolean>;
|
772
|
-
isHover: import("vue").Ref<boolean>;
|
773
|
-
modifiers: import("vue").Ref<{
|
774
|
-
name: string;
|
775
|
-
options: {
|
776
|
-
offset: number[];
|
1501
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
1502
|
+
selected: {
|
1503
|
+
type: import("vue-types/dist/types").PropType<import("./type").ISelectedData[]>;
|
1504
|
+
default: () => any[];
|
777
1505
|
};
|
778
|
-
|
779
|
-
|
780
|
-
|
1506
|
+
tagTheme: import("vue-types").VueTypeDef<string> & {
|
1507
|
+
default: string;
|
1508
|
+
};
|
1509
|
+
placeholder: import("vue-types").VueTypeValidableDef<string> & {
|
1510
|
+
default: string;
|
1511
|
+
} & {
|
1512
|
+
default: string;
|
1513
|
+
};
|
1514
|
+
filterable: import("vue-types").VueTypeValidableDef<boolean> & {
|
1515
|
+
default: boolean;
|
1516
|
+
} & {
|
1517
|
+
default: boolean;
|
1518
|
+
};
|
1519
|
+
allowCreate: import("vue-types").VueTypeValidableDef<boolean> & {
|
1520
|
+
default: boolean;
|
1521
|
+
} & {
|
1522
|
+
default: boolean;
|
1523
|
+
};
|
1524
|
+
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
1525
|
+
}>> & {
|
1526
|
+
onFocus?: (...args: any[]) => any;
|
1527
|
+
onEnter?: (...args: any[]) => any;
|
1528
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
1529
|
+
onRemove?: (...args: any[]) => any;
|
1530
|
+
} & import("vue").ShallowUnwrapRef<{
|
1531
|
+
value: any;
|
1532
|
+
inputRef: import("vue").Ref<HTMLElement>;
|
1533
|
+
handleRemoveTag: (data: import("./type").ISelectedData) => void;
|
1534
|
+
handleFocus: () => void;
|
1535
|
+
focus: () => void;
|
1536
|
+
handleInput: (e: any) => void;
|
1537
|
+
handleKeydown: (e: any) => void;
|
1538
|
+
}> & {} & {} & import("vue").ComponentCustomProperties>;
|
1539
|
+
searchLoading: import("vue").Ref<boolean>;
|
1540
|
+
isOptionsEmpty: import("vue").ComputedRef<boolean>;
|
1541
|
+
isSearchEmpty: import("vue").ComputedRef<boolean>;
|
1542
|
+
isFocus: import("vue").Ref<boolean>;
|
1543
|
+
isShowSelectContent: import("vue").ComputedRef<boolean>;
|
1544
|
+
curContentText: import("vue").ComputedRef<string>;
|
1545
|
+
isGroup: import("vue").ComputedRef<boolean>;
|
1546
|
+
searchKey: import("vue").Ref<string>;
|
781
1547
|
setHover: () => void;
|
782
1548
|
cancelHover: () => void;
|
783
1549
|
handleFocus: () => void;
|
784
|
-
|
785
|
-
toggleMenu: () => void;
|
1550
|
+
handleTogglePopover: () => void;
|
786
1551
|
handleClear: (e: Event) => void;
|
787
|
-
onPopoverFirstUpdate:
|
1552
|
+
onPopoverFirstUpdate: import("@bkui-vue/shared").OnFirstUpdateFnType;
|
788
1553
|
hidePopover: () => void;
|
789
1554
|
showPopover: () => void;
|
790
|
-
|
1555
|
+
handleToggleAll: () => void;
|
1556
|
+
handleOptionSelected: (option: {
|
1557
|
+
$: import("vue").ComponentInternalInstance;
|
1558
|
+
$data: {};
|
1559
|
+
$props: Partial<{
|
1560
|
+
disabled: boolean;
|
1561
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
1562
|
+
value: import("vue-types").VueTypeValidableDef<any>;
|
1563
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
1564
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
1565
|
+
default: boolean;
|
1566
|
+
} & {
|
1567
|
+
default: boolean;
|
1568
|
+
};
|
1569
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled">;
|
1570
|
+
$attrs: {
|
1571
|
+
[x: string]: unknown;
|
1572
|
+
};
|
1573
|
+
$refs: {
|
1574
|
+
[x: string]: unknown;
|
1575
|
+
};
|
1576
|
+
$slots: Readonly<{
|
1577
|
+
[name: string]: import("vue").Slot;
|
1578
|
+
}>;
|
1579
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
1580
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
1581
|
+
$emit: (event: string, ...args: any[]) => void;
|
1582
|
+
$el: any;
|
1583
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
1584
|
+
value: import("vue-types").VueTypeValidableDef<any>;
|
1585
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
1586
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
1587
|
+
default: boolean;
|
1588
|
+
} & {
|
1589
|
+
default: boolean;
|
1590
|
+
};
|
1591
|
+
}>>, {
|
1592
|
+
selected: import("vue").ComputedRef<boolean>;
|
1593
|
+
multiple: import("vue").ComputedRef<boolean>;
|
1594
|
+
isHover: import("vue").ComputedRef<boolean>;
|
1595
|
+
handleOptionClick: () => void;
|
1596
|
+
handleMouseEnter: () => void;
|
1597
|
+
visible: import("vue").Ref<boolean>;
|
1598
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
1599
|
+
disabled: boolean;
|
1600
|
+
}> & {
|
1601
|
+
beforeCreate?: (() => void) | (() => void)[];
|
1602
|
+
created?: (() => void) | (() => void)[];
|
1603
|
+
beforeMount?: (() => void) | (() => void)[];
|
1604
|
+
mounted?: (() => void) | (() => void)[];
|
1605
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
1606
|
+
updated?: (() => void) | (() => void)[];
|
1607
|
+
activated?: (() => void) | (() => void)[];
|
1608
|
+
deactivated?: (() => void) | (() => void)[];
|
1609
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
1610
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
1611
|
+
destroyed?: (() => void) | (() => void)[];
|
1612
|
+
unmounted?: (() => void) | (() => void)[];
|
1613
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
1614
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
1615
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
|
1616
|
+
};
|
1617
|
+
$forceUpdate: () => void;
|
1618
|
+
$nextTick: typeof import("vue").nextTick;
|
1619
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
1620
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
1621
|
+
value: import("vue-types").VueTypeValidableDef<any>;
|
1622
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
1623
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
1624
|
+
default: boolean;
|
1625
|
+
} & {
|
1626
|
+
default: boolean;
|
1627
|
+
};
|
1628
|
+
}>> & import("vue").ShallowUnwrapRef<{
|
1629
|
+
selected: import("vue").ComputedRef<boolean>;
|
1630
|
+
multiple: import("vue").ComputedRef<boolean>;
|
1631
|
+
isHover: import("vue").ComputedRef<boolean>;
|
1632
|
+
handleOptionClick: () => void;
|
1633
|
+
handleMouseEnter: () => void;
|
1634
|
+
visible: import("vue").Ref<boolean>;
|
1635
|
+
}> & {} & {} & import("vue").ComponentCustomProperties) => void;
|
1636
|
+
handleClickOutside: () => void;
|
1637
|
+
handleScroll: (e: any) => void;
|
1638
|
+
handleDeleteTag: (data: import("./type").ISelectedData) => void;
|
1639
|
+
handleInputChange: (value: any) => void;
|
1640
|
+
handleInputEnter: (value: any, e: Event) => void;
|
1641
|
+
handleKeydown: (e: KeyboardEvent) => void;
|
1642
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "toggle" | "clear" | "update:modelValue" | "scroll-end")[], "change" | "toggle" | "clear" | "update:modelValue" | "scroll-end", {
|
1643
|
+
showOnInit: boolean;
|
1644
|
+
disabled: boolean;
|
791
1645
|
placeholder: string;
|
792
1646
|
size: string;
|
793
1647
|
multiple: boolean;
|
794
|
-
disabled: boolean;
|
795
1648
|
loading: boolean;
|
796
1649
|
clearable: boolean;
|
1650
|
+
behavior: string;
|
1651
|
+
tagTheme: string;
|
797
1652
|
filterable: boolean;
|
798
|
-
|
1653
|
+
allowCreate: boolean;
|
1654
|
+
popoverMinWidth: number;
|
1655
|
+
remoteMethod: (...args: any[]) => any;
|
1656
|
+
scrollHeight: number;
|
1657
|
+
showSelectAll: boolean;
|
1658
|
+
multipleMode: string;
|
1659
|
+
collapseTags: boolean;
|
1660
|
+
noDataText: string;
|
1661
|
+
noMatchText: string;
|
1662
|
+
loadingText: string;
|
1663
|
+
selectAllText: string;
|
1664
|
+
scrollLoading: boolean;
|
1665
|
+
popoverOptions: {
|
1666
|
+
[key: string]: any;
|
1667
|
+
};
|
1668
|
+
customContent: boolean;
|
1669
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & Readonly<{
|
1670
|
+
Option: import("vue").DefineComponent<{
|
1671
|
+
value: import("vue-types").VueTypeValidableDef<any>;
|
1672
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
1673
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
1674
|
+
default: boolean;
|
1675
|
+
} & {
|
1676
|
+
default: boolean;
|
1677
|
+
};
|
1678
|
+
}, {
|
1679
|
+
selected: import("vue").ComputedRef<boolean>;
|
1680
|
+
multiple: import("vue").ComputedRef<boolean>;
|
1681
|
+
isHover: import("vue").ComputedRef<boolean>;
|
1682
|
+
handleOptionClick: () => void;
|
1683
|
+
handleMouseEnter: () => void;
|
1684
|
+
visible: import("vue").Ref<boolean>;
|
1685
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
1686
|
+
value: import("vue-types").VueTypeValidableDef<any>;
|
1687
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
1688
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
1689
|
+
default: boolean;
|
1690
|
+
} & {
|
1691
|
+
default: boolean;
|
1692
|
+
};
|
1693
|
+
}>>, {
|
1694
|
+
disabled: boolean;
|
1695
|
+
}>;
|
1696
|
+
Group: import("vue").DefineComponent<{
|
1697
|
+
label: import("vue-types").VueTypeValidableDef<string> & {
|
1698
|
+
default: string;
|
1699
|
+
} & {
|
1700
|
+
default: string;
|
1701
|
+
};
|
1702
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
1703
|
+
default: boolean;
|
1704
|
+
} & {
|
1705
|
+
default: boolean;
|
1706
|
+
};
|
1707
|
+
collapsible: import("vue-types").VueTypeValidableDef<boolean> & {
|
1708
|
+
default: boolean;
|
1709
|
+
} & {
|
1710
|
+
default: boolean;
|
1711
|
+
};
|
1712
|
+
collapse: import("vue-types").VueTypeValidableDef<boolean> & {
|
1713
|
+
default: boolean;
|
1714
|
+
} & {
|
1715
|
+
default: boolean;
|
1716
|
+
};
|
1717
|
+
}, {
|
1718
|
+
groupLabel: import("vue").ComputedRef<string>;
|
1719
|
+
handleToggleCollapse: () => void;
|
1720
|
+
groupCollapse: import("vue").Ref<boolean>;
|
1721
|
+
visible: import("vue").Ref<boolean>;
|
1722
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
1723
|
+
label: import("vue-types").VueTypeValidableDef<string> & {
|
1724
|
+
default: string;
|
1725
|
+
} & {
|
1726
|
+
default: string;
|
1727
|
+
};
|
1728
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
1729
|
+
default: boolean;
|
1730
|
+
} & {
|
1731
|
+
default: boolean;
|
1732
|
+
};
|
1733
|
+
collapsible: import("vue-types").VueTypeValidableDef<boolean> & {
|
1734
|
+
default: boolean;
|
1735
|
+
} & {
|
1736
|
+
default: boolean;
|
1737
|
+
};
|
1738
|
+
collapse: import("vue-types").VueTypeValidableDef<boolean> & {
|
1739
|
+
default: boolean;
|
1740
|
+
} & {
|
1741
|
+
default: boolean;
|
1742
|
+
};
|
1743
|
+
}>>, {
|
1744
|
+
label: string;
|
1745
|
+
disabled: boolean;
|
1746
|
+
collapse: boolean;
|
1747
|
+
collapsible: boolean;
|
1748
|
+
}>;
|
1749
|
+
}>;
|
799
1750
|
export default BkSelect;
|
1751
|
+
export { BkSelect, Option as BkOption, OptionGroup as BkOptionGroup, };
|