bkui-vue 2.0.1-beta.8 → 2.0.1-beta.80
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 +15 -0
- package/dist/index.cjs.js +167 -167
- package/dist/index.esm.js +32462 -31824
- package/dist/index.umd.js +167 -167
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.css +130 -0
- package/lib/affix/affix.variable.css +262 -1
- package/lib/affix/index.js +7 -7
- package/lib/alert/alert.css +133 -3
- package/lib/alert/alert.d.ts +5 -12
- package/lib/alert/alert.variable.css +262 -1
- package/lib/alert/index.d.ts +11 -26
- package/lib/alert/index.js +6 -6
- package/lib/backtop/backtop.css +133 -3
- package/lib/backtop/backtop.d.ts +1 -1
- package/lib/backtop/backtop.variable.css +395 -4
- package/lib/backtop/index.d.ts +3 -3
- package/lib/backtop/index.js +6 -6
- package/lib/badge/badge.css +156 -26
- package/lib/badge/badge.variable.css +262 -1
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/breadcrumb.css +135 -5
- package/lib/breadcrumb/breadcrumb.variable.css +397 -6
- package/lib/button/button.css +417 -243
- package/lib/button/button.d.ts +8 -8
- package/lib/button/button.less +74 -71
- package/lib/button/button.variable.css +450 -145
- package/lib/button/index.d.ts +11 -11
- package/lib/button/index.js +6 -7
- package/lib/card/card.css +134 -4
- package/lib/card/card.variable.css +396 -5
- package/lib/cascader/cascader-panel.d.ts +6 -1
- package/lib/cascader/cascader.css +153 -23
- package/lib/cascader/cascader.d.ts +5 -1
- package/lib/cascader/cascader.variable.css +415 -24
- package/lib/cascader/index.d.ts +1 -0
- package/lib/cascader/index.js +110 -40
- package/lib/cascader/interface.d.ts +1 -1
- package/lib/checkbox/checkbox-group.d.ts +0 -16
- package/lib/checkbox/checkbox.css +147 -9
- package/lib/checkbox/checkbox.d.ts +39 -7
- package/lib/checkbox/checkbox.less +12 -0
- package/lib/checkbox/checkbox.variable.css +270 -1
- package/lib/checkbox/index.d.ts +57 -22
- package/lib/checkbox/index.js +21 -8
- package/lib/checkbox/type.d.ts +1 -1
- package/lib/code-diff/code-diff.css +130 -0
- package/lib/code-diff/code-diff.variable.css +262 -1
- package/lib/code-diff/index.js +8 -8
- package/lib/collapse/collapse.css +131 -1
- package/lib/collapse/collapse.variable.css +262 -1
- package/lib/collapse/index.js +2 -2
- package/lib/collapse/utils.d.ts +2 -2
- package/lib/collapse-transition/collapse-transition.css +130 -0
- package/lib/collapse-transition/collapse-transition.variable.css +262 -1
- package/lib/color-picker/color-picker.css +130 -0
- package/lib/color-picker/color-picker.d.ts +16 -0
- package/lib/color-picker/color-picker.variable.css +262 -1
- package/lib/color-picker/index.d.ts +23 -0
- package/lib/color-picker/index.js +52 -45
- package/lib/components.d.ts +32 -32
- package/lib/components.js +31 -31
- package/lib/config-provider/config-provider.css +130 -0
- package/lib/config-provider/config-provider.variable.css +262 -1
- package/lib/config-provider/index.d.ts +1 -1
- package/lib/container/container.css +130 -0
- package/lib/container/container.variable.css +392 -1
- package/lib/container/index.js +6 -7
- package/lib/date-picker/base/date-table.d.ts +1 -1
- package/lib/date-picker/base/month-table.d.ts +1 -1
- package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
- package/lib/date-picker/base/year-table.d.ts +1 -1
- package/lib/date-picker/date-picker.css +147 -17
- package/lib/date-picker/date-picker.d.ts +0 -10
- package/lib/date-picker/date-picker.variable.css +262 -1
- package/lib/date-picker/index.d.ts +0 -22
- package/lib/date-picker/index.js +256 -219
- package/lib/date-picker/interface.d.ts +9 -9
- package/lib/date-picker/panel/date-range.d.ts +5 -5
- package/lib/date-picker/panel/date.d.ts +1 -1
- package/lib/date-picker/panel/time-range.d.ts +1 -10
- package/lib/date-picker/panel/time.d.ts +2 -11
- package/lib/date-picker/props.d.ts +1 -5
- package/lib/date-picker/time-picker.d.ts +0 -9
- package/lib/date-picker/utils.d.ts +1 -1
- package/lib/dialog/dialog.css +138 -8
- package/lib/dialog/dialog.d.ts +42 -26
- package/lib/dialog/dialog.variable.css +400 -9
- package/lib/dialog/index.d.ts +90 -56
- package/lib/dialog/index.js +25 -23
- package/lib/dialog/props.d.ts +18 -11
- package/lib/directives/index.d.ts +4 -3
- package/lib/directives/index.js +198 -176
- package/lib/directives/tooltips.d.ts +1 -1
- package/lib/dist.index.js +2 -4
- package/lib/divider/divider.css +133 -3
- package/lib/divider/divider.d.ts +5 -5
- package/lib/divider/divider.variable.css +262 -1
- package/lib/divider/index.d.ts +11 -11
- package/lib/divider/index.js +2 -2
- package/lib/divider/props.d.ts +2 -2
- package/lib/dropdown/dropdown-item.d.ts +1 -1
- package/lib/dropdown/dropdown-menu.d.ts +1 -1
- package/lib/dropdown/dropdown.css +130 -0
- package/lib/dropdown/dropdown.d.ts +5 -5
- package/lib/dropdown/dropdown.variable.css +392 -1
- package/lib/dropdown/index.d.ts +13 -13
- package/lib/dropdown/index.js +7 -7
- package/lib/exception/exception.css +130 -0
- package/lib/exception/exception.d.ts +9 -9
- package/lib/exception/exception.variable.css +262 -1
- package/lib/exception/index.d.ts +11 -11
- package/lib/exception/index.js +10 -10
- package/lib/exception/typings/index.d.ts +1 -1
- package/lib/fixed-navbar/fixed-navbar.css +134 -4
- package/lib/fixed-navbar/fixed-navbar.variable.css +262 -1
- package/lib/fixed-navbar/index.js +2 -2
- package/lib/form/form-item.d.ts +7 -19
- package/lib/form/form.css +130 -0
- package/lib/form/form.d.ts +2 -2
- package/lib/form/form.variable.css +262 -1
- package/lib/form/index.d.ts +7 -14
- package/lib/form/index.js +22 -21
- package/lib/form/type.d.ts +2 -2
- package/lib/icon/index.d.ts +11 -11
- package/lib/icon/index.js +11 -11
- package/lib/image/image-viewer.css +130 -0
- package/lib/image/image-viewer.d.ts +1 -1
- package/lib/image/image-viewer.variable.css +262 -1
- package/lib/image/image.css +130 -0
- package/lib/image/image.variable.css +392 -1
- package/lib/image/index.js +20 -21
- package/lib/index.d.ts +9 -3
- package/lib/index.js +5 -29
- package/lib/info-box/index.js +17 -18
- package/lib/info-box/info-box.css +134 -4
- package/lib/info-box/info-box.d.ts +15 -15
- package/lib/info-box/info-box.variable.css +262 -1
- package/lib/input/index.d.ts +15 -15
- package/lib/input/index.js +63 -516
- package/lib/input/input.css +225 -73
- package/lib/input/input.d.ts +15 -15
- package/lib/input/input.less +30 -1
- package/lib/input/input.variable.css +487 -74
- package/lib/link/index.d.ts +11 -11
- package/lib/link/index.js +3 -3
- package/lib/link/link.css +146 -16
- package/lib/link/link.d.ts +5 -5
- package/lib/link/link.variable.css +262 -1
- package/lib/loading/index.d.ts +12 -11
- package/lib/loading/index.js +10 -8
- package/lib/loading/loading.css +146 -16
- package/lib/loading/loading.d.ts +8 -8
- package/lib/loading/loading.variable.css +408 -17
- package/lib/locale/index.d.ts +1 -1
- package/lib/menu/index.js +0 -1
- package/lib/menu/menu.css +148 -18
- package/lib/menu/menu.variable.css +410 -19
- package/lib/menu/submenu.css +130 -0
- package/lib/menu/submenu.variable.css +262 -1
- package/lib/menu/utils.d.ts +3 -3
- package/lib/message/index.js +18 -18
- package/lib/message/message.css +153 -22
- package/lib/message/message.less +3 -2
- package/lib/message/message.variable.css +264 -2
- package/lib/message/messageConstructor.d.ts +16 -16
- package/lib/modal/index.d.ts +49 -8
- package/lib/modal/index.js +49 -28
- package/lib/modal/modal.css +134 -4
- package/lib/modal/modal.d.ts +19 -3
- package/lib/modal/modal.variable.css +396 -5
- package/lib/modal/props.mixin.d.ts +8 -1
- package/lib/navigation/index.js +20 -20
- package/lib/navigation/navigation.css +132 -2
- package/lib/navigation/navigation.d.ts +1 -1
- package/lib/navigation/navigation.variable.css +262 -1
- package/lib/notify/index.js +4 -4
- package/lib/notify/notify.css +137 -7
- package/lib/notify/notify.variable.css +262 -1
- package/lib/notify/notifyConstructor.d.ts +5 -5
- package/lib/overflow-title/components/overflow-title.d.ts +9 -16
- package/lib/overflow-title/index.d.ts +19 -34
- package/lib/overflow-title/index.js +75 -18
- package/lib/overflow-title/props.d.ts +18 -21
- package/lib/pagination/index.d.ts +0 -19
- package/lib/pagination/index.js +61 -23
- package/lib/pagination/pagination.css +139 -9
- package/lib/pagination/pagination.d.ts +0 -13
- package/lib/pagination/pagination.less +14 -13
- package/lib/pagination/pagination.variable.css +270 -9
- package/lib/pagination/type.d.ts +1 -1
- package/lib/pagination/use-limit.d.ts +1 -1
- package/lib/pagination/use-total.d.ts +1 -1
- package/lib/plugin-popover/index.js +20 -21
- package/lib/pop-confirm/index.d.ts +11 -43
- package/lib/pop-confirm/index.js +27 -28
- package/lib/pop-confirm/pop-confirm.css +133 -1
- package/lib/pop-confirm/pop-confirm.d.ts +5 -19
- package/lib/pop-confirm/pop-confirm.less +3 -1
- package/lib/pop-confirm/pop-confirm.variable.css +265 -2
- package/lib/pop-confirm/props.d.ts +5 -11
- package/lib/popover/const.d.ts +3 -3
- package/lib/popover/index.d.ts +19 -19
- package/lib/popover/index.js +20 -21
- package/lib/popover/plugin-popover.d.ts +1 -1
- package/lib/popover/popover.css +130 -0
- package/lib/popover/popover.d.ts +7 -7
- package/lib/popover/popover.variable.css +262 -1
- package/lib/popover/props.d.ts +4 -4
- package/lib/preset.d.ts +0 -1
- package/lib/preset.js +0 -1
- package/lib/process/index.js +3 -3
- package/lib/process/process.css +143 -13
- package/lib/process/process.variable.css +262 -1
- package/lib/progress/index.d.ts +11 -11
- package/lib/progress/index.js +10 -11
- package/lib/progress/progress.css +134 -4
- package/lib/progress/progress.d.ts +7 -7
- package/lib/progress/progress.variable.css +396 -5
- package/lib/radio/index.d.ts +21 -21
- package/lib/radio/index.js +28 -17
- package/lib/radio/radio-button.d.ts +7 -7
- package/lib/radio/radio-group.d.ts +7 -7
- package/lib/radio/radio.css +172 -42
- package/lib/radio/radio.d.ts +7 -7
- package/lib/radio/radio.variable.css +262 -1
- package/lib/radio/type.d.ts +1 -1
- package/lib/rate/index.js +8 -8
- package/lib/rate/rate.css +130 -0
- package/lib/rate/rate.variable.css +262 -1
- package/lib/resize-layout/index.d.ts +34 -11
- package/lib/resize-layout/index.js +33 -14
- package/lib/resize-layout/resize-layout.css +130 -0
- package/lib/resize-layout/resize-layout.d.ts +16 -5
- package/lib/resize-layout/resize-layout.variable.css +262 -1
- package/lib/scrollbar/css/scrollbar.css +239 -0
- package/lib/scrollbar/css/scrollbar.less +139 -0
- package/lib/scrollbar/css/scrollbar.variable.css +499 -0
- package/lib/scrollbar/handlers/click-rail.d.ts +2 -0
- package/lib/scrollbar/handlers/drag-thumb.d.ts +1 -0
- package/lib/scrollbar/handlers/keyboard.d.ts +2 -0
- package/lib/scrollbar/handlers/mouse-wheel.d.ts +2 -0
- package/lib/scrollbar/handlers/touch.d.ts +4 -0
- package/lib/scrollbar/helper/class-names.d.ts +21 -0
- package/lib/scrollbar/helper/css.d.ts +3 -0
- package/lib/scrollbar/helper/dom.d.ts +4 -0
- package/lib/scrollbar/helper/event-manager.d.ts +20 -0
- package/lib/scrollbar/helper/util.d.ts +11 -0
- package/lib/scrollbar/index.d.ts +133 -13
- package/lib/scrollbar/index.js +1332 -18434
- package/lib/scrollbar/process-scroll-diff.d.ts +1 -0
- package/lib/scrollbar/update-geometry.d.ts +8 -0
- package/lib/search-select/index.d.ts +100 -78
- package/lib/search-select/index.js +343 -213
- package/lib/search-select/input.d.ts +17 -6
- package/lib/search-select/menu.d.ts +13 -1
- package/lib/search-select/search-select.css +163 -35
- package/lib/search-select/search-select.d.ts +33 -43
- package/lib/search-select/search-select.less +2 -2
- package/lib/search-select/search-select.variable.css +425 -36
- package/lib/search-select/selected.d.ts +35 -10
- package/lib/search-select/utils.d.ts +6 -6
- package/lib/select/common.d.ts +4 -4
- package/lib/select/index.d.ts +155 -77
- package/lib/select/index.js +296 -197
- package/lib/select/option.d.ts +5 -6
- package/lib/select/select.css +175 -43
- package/lib/select/select.d.ts +62 -28
- package/lib/select/select.less +7 -4
- package/lib/select/select.variable.css +437 -44
- package/lib/select/selectTagInput.d.ts +7 -6
- package/lib/select/type.d.ts +10 -11
- package/lib/shared/frame-throttle.d.ts +15 -0
- package/lib/shared/index.d.ts +2 -1
- package/lib/shared/index.js +110 -47
- package/lib/shared/popover.d.ts +3 -3
- package/lib/shared/token.d.ts +1 -1
- package/lib/shared/vue-types.d.ts +48 -48
- package/lib/shared/z-index-manager.d.ts +6 -6
- package/lib/sideslider/index.d.ts +41 -7
- package/lib/sideslider/index.js +12 -11
- package/lib/sideslider/sideslider.css +138 -9
- package/lib/sideslider/sideslider.d.ts +19 -3
- package/lib/sideslider/sideslider.less +7 -8
- package/lib/sideslider/sideslider.variable.css +269 -9
- package/lib/slider/index.js +21 -23
- package/lib/slider/slider.css +135 -5
- package/lib/slider/slider.variable.css +262 -1
- package/lib/steps/index.d.ts +14 -29
- package/lib/steps/index.js +3 -4
- package/lib/steps/steps.css +168 -38
- package/lib/steps/steps.d.ts +8 -18
- package/lib/steps/steps.variable.css +262 -1
- package/lib/styles/index.d.ts +1 -0
- package/lib/styles/mixins/animate.css +130 -0
- package/lib/styles/mixins/animate.variable.css +262 -1
- package/lib/styles/mixins/mixins.css +130 -0
- package/lib/styles/mixins/mixins.variable.css +130 -0
- package/lib/styles/mixins/popper.css +130 -0
- package/lib/styles/mixins/popper.variable.css +262 -1
- package/lib/styles/mixins/scroll.css +130 -0
- package/lib/styles/mixins/scroll.variable.css +262 -1
- package/lib/styles/reset.css +130 -0
- package/lib/styles/reset.variable.css +262 -1
- package/lib/{scrollbar/scrollbar.variable.css → styles/themes/themes.css} +2 -76
- package/lib/styles/themes/themes.less +299 -129
- package/lib/styles/themes/themes.variable.css +130 -0
- package/lib/swiper/index.js +5 -5
- package/lib/swiper/swiper.css +130 -0
- package/lib/swiper/swiper.variable.css +262 -1
- package/lib/switcher/index.d.ts +11 -11
- package/lib/switcher/index.js +2 -2
- package/lib/switcher/switcher.css +147 -17
- package/lib/switcher/switcher.d.ts +9 -9
- package/lib/switcher/switcher.variable.css +409 -18
- package/lib/tab/index.d.ts +44 -114
- package/lib/tab/index.js +60 -49
- package/lib/tab/props.d.ts +25 -50
- package/lib/tab/tab-nav.d.ts +26 -66
- package/lib/tab/tab-panel.d.ts +22 -0
- package/lib/tab/tab.css +211 -17
- package/lib/tab/tab.d.ts +10 -54
- package/lib/tab/tab.less +91 -4
- package/lib/tab/tab.variable.css +326 -1
- package/lib/table/components/ghost-body.d.ts +2 -0
- package/lib/table/components/table-cell.d.ts +22 -0
- package/lib/table/components/table-column.d.ts +23 -126
- package/lib/table/const.d.ts +23 -10
- package/lib/table/events.d.ts +16 -112
- package/lib/table/hooks/use-cell.d.ts +20 -0
- package/lib/table/hooks/use-column-resize.d.ts +7 -0
- package/lib/table/hooks/use-column-template.d.ts +5 -0
- package/lib/table/hooks/use-columns.d.ts +69 -0
- package/lib/table/{plugins → hooks}/use-draggable.d.ts +2 -2
- package/lib/table/hooks/use-fixed-column.d.ts +10 -0
- package/lib/table/hooks/use-head.d.ts +16 -0
- package/lib/table/hooks/use-layout.d.ts +25 -0
- package/lib/table/hooks/use-pagination.d.ts +16 -0
- package/lib/table/hooks/use-render.d.ts +21 -0
- package/lib/table/hooks/use-rows.d.ts +30 -0
- package/lib/table/hooks/use-settings.d.ts +136 -0
- package/lib/table/{plugins → hooks}/use-shift-key.d.ts +4 -2
- package/lib/table/index.d.ts +112 -634
- package/lib/table/index.js +4089 -3559
- package/lib/table/plugins/head-filter.css +135 -0
- package/lib/table/plugins/head-filter.d.ts +2 -1
- package/lib/table/plugins/head-filter.less +4 -0
- package/lib/table/plugins/head-filter.variable.css +267 -1
- package/lib/table/plugins/head-sort.css +130 -0
- package/lib/table/plugins/head-sort.variable.css +262 -1
- package/lib/table/plugins/settings.css +131 -0
- package/lib/table/plugins/settings.less +1 -0
- package/lib/table/plugins/settings.variable.css +263 -1
- package/lib/table/props.d.ts +125 -62
- package/lib/table/table.css +753 -431
- package/lib/table/table.d.ts +51 -185
- package/lib/table/table.less +244 -112
- package/lib/table/table.variable.css +1058 -475
- package/lib/table/utils.d.ts +49 -21
- package/lib/table-column/index.d.ts +30 -289
- package/lib/table-column/index.js +17385 -46
- package/lib/tag/index.d.ts +11 -11
- package/lib/tag/index.js +2 -3
- package/lib/tag/tag.css +136 -6
- package/lib/tag/tag.d.ts +5 -5
- package/lib/tag/tag.less +1 -1
- package/lib/tag/tag.variable.css +263 -2
- package/lib/tag-input/common.d.ts +2 -2
- package/lib/tag-input/index.d.ts +14 -11
- package/lib/tag-input/index.js +72 -52
- package/lib/tag-input/tag-input.css +157 -27
- package/lib/tag-input/tag-input.d.ts +8 -19
- package/lib/tag-input/tag-input.less +9 -9
- package/lib/tag-input/tag-input.variable.css +271 -10
- package/lib/tag-input/tag-props.d.ts +2 -2
- package/lib/time-picker/index.d.ts +0 -19
- package/lib/time-picker/time-picker.css +130 -0
- package/lib/time-picker/time-picker.variable.css +262 -1
- package/lib/timeline/index.js +2 -2
- package/lib/timeline/timeline.css +149 -19
- package/lib/timeline/timeline.variable.css +262 -1
- package/lib/transfer/const.d.ts +2 -2
- package/lib/transfer/index.js +3 -5
- package/lib/transfer/transfer.css +149 -19
- package/lib/transfer/transfer.variable.css +262 -1
- package/lib/tree/constant.d.ts +22 -20
- package/lib/tree/index.d.ts +41 -27
- package/lib/tree/index.js +109 -58
- package/lib/tree/props.d.ts +18 -11
- package/lib/tree/tree.css +242 -78
- package/lib/tree/tree.d.ts +17 -17
- package/lib/tree/tree.variable.css +504 -79
- package/lib/tree/use-empty.d.ts +1 -1
- package/lib/tree/use-node-action.d.ts +10 -9
- package/lib/tree/use-node-async.d.ts +2 -1
- package/lib/tree/use-node-attribute.d.ts +42 -34
- package/lib/tree/use-search.d.ts +1 -1
- package/lib/tree/use-tree-init.d.ts +8 -5
- package/lib/tree/util.d.ts +21 -21
- package/lib/upload/index.d.ts +27 -4
- package/lib/upload/index.js +86 -42
- package/lib/upload/props.d.ts +7 -2
- package/lib/upload/upload.css +157 -27
- package/lib/upload/upload.d.ts +13 -2
- package/lib/upload/upload.type.d.ts +12 -6
- package/lib/upload/upload.variable.css +419 -28
- package/lib/upload/use-file-handler.d.ts +1 -1
- package/lib/virtual-render/index.d.ts +12 -46
- package/lib/virtual-render/index.js +17468 -148
- package/lib/virtual-render/props.d.ts +2 -9
- package/lib/virtual-render/use-fix-top.d.ts +1 -1
- package/lib/virtual-render/use-scrollbar.d.ts +4 -17
- package/lib/virtual-render/v-virtual-render.d.ts +7 -1
- package/lib/virtual-render/virtual-render.css +225 -69
- package/lib/virtual-render/virtual-render.d.ts +6 -22
- package/lib/virtual-render/virtual-render.less +2 -11
- package/lib/virtual-render/virtual-render.variable.css +487 -70
- package/lib/volar.components.d.ts +2 -0
- package/package.json +17 -55
- package/lib/scrollbar/scrollbar-core/can-use-dom.d.ts +0 -2
- package/lib/scrollbar/scrollbar-core/helpers.d.ts +0 -5
- package/lib/scrollbar/scrollbar-core/index.d.ts +0 -241
- package/lib/scrollbar/scrollbar-core/mouse-wheel.d.ts +0 -5
- package/lib/scrollbar/scrollbar-core/scrollbar-width.d.ts +0 -1
- package/lib/scrollbar/scrollbar.css +0 -75
- package/lib/scrollbar/scrollbar.less +0 -94
- package/lib/table/plugins/col-group.d.ts +0 -38
- package/lib/table/plugins/settings.d.ts +0 -16
- package/lib/table/plugins/use-active-columns.d.ts +0 -16
- package/lib/table/plugins/use-column-resize.d.ts +0 -35
- package/lib/table/plugins/use-column-template.d.ts +0 -7
- package/lib/table/plugins/use-fixed-column.d.ts +0 -27
- package/lib/table/plugins/use-head-cell.d.ts +0 -7
- package/lib/table/plugins/use-pagination.d.ts +0 -23
- package/lib/table/use-attributes.d.ts +0 -62
- package/lib/table/use-column.d.ts +0 -275
- package/lib/table/use-common.d.ts +0 -1679
- package/lib/table/use-render.d.ts +0 -11
- /package/lib/table/{plugins → components}/body-empty.d.ts +0 -0
- /package/lib/table/{plugins → hooks}/use-observer-resize.d.ts +0 -0
- /package/lib/table/{plugins → hooks}/use-scroll-loading.d.ts +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
export default function (i: any, axis: any, diff: any, useScrollingClass?: boolean, forceFireReachEvent?: boolean): void;
|
@@ -1,25 +1,17 @@
|
|
1
1
|
declare const BkSearchSelect: {
|
2
2
|
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
3
3
|
data: {
|
4
|
-
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
4
|
+
type: import("vue").PropType<Omit<import("./utils").ISearchItem, "value" | "isSelected">[]>;
|
5
5
|
default: () => any[];
|
6
6
|
};
|
7
7
|
modelValue: {
|
8
8
|
type: import("vue").PropType<import("./utils").ISearchValue[]>;
|
9
9
|
default: () => any[];
|
10
10
|
};
|
11
|
-
shrink: {
|
12
|
-
type: BooleanConstructor;
|
13
|
-
default: boolean;
|
14
|
-
};
|
15
11
|
maxHeight: {
|
16
12
|
type: NumberConstructor;
|
17
13
|
default: number;
|
18
14
|
};
|
19
|
-
minHeight: {
|
20
|
-
type: NumberConstructor;
|
21
|
-
default: number;
|
22
|
-
};
|
23
15
|
conditions: {
|
24
16
|
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
25
17
|
default: () => any[];
|
@@ -58,11 +50,15 @@ declare const BkSearchSelect: {
|
|
58
50
|
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
59
51
|
default: () => any[];
|
60
52
|
};
|
61
|
-
|
53
|
+
defaultUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
|
62
54
|
mode: {
|
63
55
|
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
64
56
|
default: import("./utils").SearchInputMode;
|
65
57
|
};
|
58
|
+
maxHeight: {
|
59
|
+
type: NumberConstructor;
|
60
|
+
default: () => number;
|
61
|
+
};
|
66
62
|
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
67
63
|
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
68
64
|
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
@@ -103,13 +99,13 @@ declare const BkSearchSelect: {
|
|
103
99
|
};
|
104
100
|
documentArrowEvent: (e: KeyboardEvent) => void;
|
105
101
|
handleClickOutside: (e: MouseEvent) => void;
|
106
|
-
handleInputFocus: () => void;
|
102
|
+
handleInputFocus: (event?: FocusEvent) => void;
|
107
103
|
handleInputChange: (event: Event) => void;
|
108
104
|
handleInputPaste: (event: ClipboardEvent) => void;
|
109
105
|
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
110
106
|
handleInputKeyup: (event: KeyboardEvent) => void;
|
111
107
|
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
112
|
-
|
108
|
+
handleSelectConditionItem: (item: import("./utils").ICommonItem) => void;
|
113
109
|
handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
|
114
110
|
resolveClassName: (cls: string) => string;
|
115
111
|
inputFocusForWrapper: () => void;
|
@@ -117,6 +113,7 @@ declare const BkSearchSelect: {
|
|
117
113
|
inputClearForWrapper: () => void;
|
118
114
|
deleteInputTextNode: () => void;
|
119
115
|
customPanelSubmit: (value: string) => void;
|
116
|
+
refleshMenuHover: () => void;
|
120
117
|
t: import("vue").ComputedRef<{
|
121
118
|
pleaseSelect: string;
|
122
119
|
loading: string;
|
@@ -140,11 +137,15 @@ declare const BkSearchSelect: {
|
|
140
137
|
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
141
138
|
default: () => any[];
|
142
139
|
};
|
143
|
-
|
140
|
+
defaultUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
|
144
141
|
mode: {
|
145
142
|
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
146
143
|
default: import("./utils").SearchInputMode;
|
147
144
|
};
|
145
|
+
maxHeight: {
|
146
|
+
type: NumberConstructor;
|
147
|
+
default: () => number;
|
148
|
+
};
|
148
149
|
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
149
150
|
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
150
151
|
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
@@ -154,6 +155,7 @@ declare const BkSearchSelect: {
|
|
154
155
|
onAdd?: (...args: any[]) => any;
|
155
156
|
onSelectKey?: (...args: any[]) => any;
|
156
157
|
}, {
|
158
|
+
maxHeight: number;
|
157
159
|
mode: import("./utils").SearchInputMode;
|
158
160
|
conditions: import("./utils").ICommonItem[];
|
159
161
|
showInputBefore: boolean;
|
@@ -180,11 +182,15 @@ declare const BkSearchSelect: {
|
|
180
182
|
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
181
183
|
default: () => any[];
|
182
184
|
};
|
183
|
-
|
185
|
+
defaultUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
|
184
186
|
mode: {
|
185
187
|
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
186
188
|
default: import("./utils").SearchInputMode;
|
187
189
|
};
|
190
|
+
maxHeight: {
|
191
|
+
type: NumberConstructor;
|
192
|
+
default: () => number;
|
193
|
+
};
|
188
194
|
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
189
195
|
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
190
196
|
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
@@ -225,13 +231,13 @@ declare const BkSearchSelect: {
|
|
225
231
|
};
|
226
232
|
documentArrowEvent: (e: KeyboardEvent) => void;
|
227
233
|
handleClickOutside: (e: MouseEvent) => void;
|
228
|
-
handleInputFocus: () => void;
|
234
|
+
handleInputFocus: (event?: FocusEvent) => void;
|
229
235
|
handleInputChange: (event: Event) => void;
|
230
236
|
handleInputPaste: (event: ClipboardEvent) => void;
|
231
237
|
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
232
238
|
handleInputKeyup: (event: KeyboardEvent) => void;
|
233
239
|
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
234
|
-
|
240
|
+
handleSelectConditionItem: (item: import("./utils").ICommonItem) => void;
|
235
241
|
handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
|
236
242
|
resolveClassName: (cls: string) => string;
|
237
243
|
inputFocusForWrapper: () => void;
|
@@ -239,6 +245,7 @@ declare const BkSearchSelect: {
|
|
239
245
|
inputClearForWrapper: () => void;
|
240
246
|
deleteInputTextNode: () => void;
|
241
247
|
customPanelSubmit: (value: string) => void;
|
248
|
+
refleshMenuHover: () => void;
|
242
249
|
t: import("vue").ComputedRef<{
|
243
250
|
pleaseSelect: string;
|
244
251
|
loading: string;
|
@@ -250,6 +257,7 @@ declare const BkSearchSelect: {
|
|
250
257
|
logical: string;
|
251
258
|
}>;
|
252
259
|
}, {}, {}, {}, {
|
260
|
+
maxHeight: number;
|
253
261
|
mode: import("./utils").SearchInputMode;
|
254
262
|
conditions: import("./utils").ICommonItem[];
|
255
263
|
showInputBefore: boolean;
|
@@ -278,7 +286,7 @@ declare const BkSearchSelect: {
|
|
278
286
|
}[];
|
279
287
|
condition: string;
|
280
288
|
logical: import("./utils").SearchLogical;
|
281
|
-
|
289
|
+
nameRenderKey: string;
|
282
290
|
searchItem: {
|
283
291
|
id: string;
|
284
292
|
name: string;
|
@@ -371,7 +379,7 @@ declare const BkSearchSelect: {
|
|
371
379
|
handleClickSearch: (e: MouseEvent) => void;
|
372
380
|
localConditions: import("vue").ComputedRef<import("./utils").ICommonItem[]>;
|
373
381
|
resolveClassName: (cls: string) => string;
|
374
|
-
handleSelectedKey: (a:
|
382
|
+
handleSelectedKey: (a: import("./utils").ICommonItem) => void;
|
375
383
|
t: import("vue").ComputedRef<{
|
376
384
|
pleaseSelect: string;
|
377
385
|
loading: string;
|
@@ -384,25 +392,17 @@ declare const BkSearchSelect: {
|
|
384
392
|
}>;
|
385
393
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "update:modelValue" | "selectKey")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
386
394
|
data: {
|
387
|
-
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
395
|
+
type: import("vue").PropType<Omit<import("./utils").ISearchItem, "value" | "isSelected">[]>;
|
388
396
|
default: () => any[];
|
389
397
|
};
|
390
398
|
modelValue: {
|
391
399
|
type: import("vue").PropType<import("./utils").ISearchValue[]>;
|
392
400
|
default: () => any[];
|
393
401
|
};
|
394
|
-
shrink: {
|
395
|
-
type: BooleanConstructor;
|
396
|
-
default: boolean;
|
397
|
-
};
|
398
402
|
maxHeight: {
|
399
403
|
type: NumberConstructor;
|
400
404
|
default: number;
|
401
405
|
};
|
402
|
-
minHeight: {
|
403
|
-
type: NumberConstructor;
|
404
|
-
default: number;
|
405
|
-
};
|
406
406
|
conditions: {
|
407
407
|
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
408
408
|
default: () => any[];
|
@@ -428,20 +428,24 @@ declare const BkSearchSelect: {
|
|
428
428
|
onSelectKey?: (...args: any[]) => any;
|
429
429
|
onSearch?: (...args: any[]) => any;
|
430
430
|
}, {
|
431
|
-
data: import("./utils").ISearchItem[];
|
431
|
+
data: Omit<import("./utils").ISearchItem, "value" | "isSelected">[];
|
432
432
|
maxHeight: number;
|
433
433
|
clearable: boolean;
|
434
434
|
modelValue: import("./utils").ISearchValue[];
|
435
|
-
minHeight: number;
|
436
435
|
conditions: import("./utils").ICommonItem[];
|
437
436
|
valueBehavior: "all" | "need-key";
|
438
|
-
shrink: boolean;
|
439
437
|
uniqueSelect: boolean;
|
440
438
|
}, true, {}, import("vue").SlotsType<{
|
441
439
|
menu: import("./utils").MenuSlotParams;
|
442
|
-
prepend:
|
443
|
-
|
444
|
-
|
440
|
+
prepend: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
441
|
+
[key: string]: any;
|
442
|
+
}>;
|
443
|
+
append: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
444
|
+
[key: string]: any;
|
445
|
+
}>;
|
446
|
+
validate: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
447
|
+
[key: string]: any;
|
448
|
+
}>;
|
445
449
|
}>, {
|
446
450
|
P: {};
|
447
451
|
B: {};
|
@@ -451,25 +455,17 @@ declare const BkSearchSelect: {
|
|
451
455
|
Defaults: {};
|
452
456
|
}, Readonly<import("vue").ExtractPropTypes<{
|
453
457
|
data: {
|
454
|
-
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
458
|
+
type: import("vue").PropType<Omit<import("./utils").ISearchItem, "value" | "isSelected">[]>;
|
455
459
|
default: () => any[];
|
456
460
|
};
|
457
461
|
modelValue: {
|
458
462
|
type: import("vue").PropType<import("./utils").ISearchValue[]>;
|
459
463
|
default: () => any[];
|
460
464
|
};
|
461
|
-
shrink: {
|
462
|
-
type: BooleanConstructor;
|
463
|
-
default: boolean;
|
464
|
-
};
|
465
465
|
maxHeight: {
|
466
466
|
type: NumberConstructor;
|
467
467
|
default: number;
|
468
468
|
};
|
469
|
-
minHeight: {
|
470
|
-
type: NumberConstructor;
|
471
|
-
default: number;
|
472
|
-
};
|
473
469
|
conditions: {
|
474
470
|
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
475
471
|
default: () => any[];
|
@@ -508,11 +504,15 @@ declare const BkSearchSelect: {
|
|
508
504
|
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
509
505
|
default: () => any[];
|
510
506
|
};
|
511
|
-
|
507
|
+
defaultUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
|
512
508
|
mode: {
|
513
509
|
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
514
510
|
default: import("./utils").SearchInputMode;
|
515
511
|
};
|
512
|
+
maxHeight: {
|
513
|
+
type: NumberConstructor;
|
514
|
+
default: () => number;
|
515
|
+
};
|
516
516
|
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
517
517
|
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
518
518
|
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
@@ -553,13 +553,13 @@ declare const BkSearchSelect: {
|
|
553
553
|
};
|
554
554
|
documentArrowEvent: (e: KeyboardEvent) => void;
|
555
555
|
handleClickOutside: (e: MouseEvent) => void;
|
556
|
-
handleInputFocus: () => void;
|
556
|
+
handleInputFocus: (event?: FocusEvent) => void;
|
557
557
|
handleInputChange: (event: Event) => void;
|
558
558
|
handleInputPaste: (event: ClipboardEvent) => void;
|
559
559
|
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
560
560
|
handleInputKeyup: (event: KeyboardEvent) => void;
|
561
561
|
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
562
|
-
|
562
|
+
handleSelectConditionItem: (item: import("./utils").ICommonItem) => void;
|
563
563
|
handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
|
564
564
|
resolveClassName: (cls: string) => string;
|
565
565
|
inputFocusForWrapper: () => void;
|
@@ -567,6 +567,7 @@ declare const BkSearchSelect: {
|
|
567
567
|
inputClearForWrapper: () => void;
|
568
568
|
deleteInputTextNode: () => void;
|
569
569
|
customPanelSubmit: (value: string) => void;
|
570
|
+
refleshMenuHover: () => void;
|
570
571
|
t: import("vue").ComputedRef<{
|
571
572
|
pleaseSelect: string;
|
572
573
|
loading: string;
|
@@ -590,11 +591,15 @@ declare const BkSearchSelect: {
|
|
590
591
|
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
591
592
|
default: () => any[];
|
592
593
|
};
|
593
|
-
|
594
|
+
defaultUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
|
594
595
|
mode: {
|
595
596
|
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
596
597
|
default: import("./utils").SearchInputMode;
|
597
598
|
};
|
599
|
+
maxHeight: {
|
600
|
+
type: NumberConstructor;
|
601
|
+
default: () => number;
|
602
|
+
};
|
598
603
|
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
599
604
|
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
600
605
|
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
@@ -604,6 +609,7 @@ declare const BkSearchSelect: {
|
|
604
609
|
onAdd?: (...args: any[]) => any;
|
605
610
|
onSelectKey?: (...args: any[]) => any;
|
606
611
|
}, {
|
612
|
+
maxHeight: number;
|
607
613
|
mode: import("./utils").SearchInputMode;
|
608
614
|
conditions: import("./utils").ICommonItem[];
|
609
615
|
showInputBefore: boolean;
|
@@ -630,11 +636,15 @@ declare const BkSearchSelect: {
|
|
630
636
|
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
631
637
|
default: () => any[];
|
632
638
|
};
|
633
|
-
|
639
|
+
defaultUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
|
634
640
|
mode: {
|
635
641
|
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
636
642
|
default: import("./utils").SearchInputMode;
|
637
643
|
};
|
644
|
+
maxHeight: {
|
645
|
+
type: NumberConstructor;
|
646
|
+
default: () => number;
|
647
|
+
};
|
638
648
|
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
639
649
|
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
640
650
|
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
@@ -675,13 +685,13 @@ declare const BkSearchSelect: {
|
|
675
685
|
};
|
676
686
|
documentArrowEvent: (e: KeyboardEvent) => void;
|
677
687
|
handleClickOutside: (e: MouseEvent) => void;
|
678
|
-
handleInputFocus: () => void;
|
688
|
+
handleInputFocus: (event?: FocusEvent) => void;
|
679
689
|
handleInputChange: (event: Event) => void;
|
680
690
|
handleInputPaste: (event: ClipboardEvent) => void;
|
681
691
|
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
682
692
|
handleInputKeyup: (event: KeyboardEvent) => void;
|
683
693
|
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
684
|
-
|
694
|
+
handleSelectConditionItem: (item: import("./utils").ICommonItem) => void;
|
685
695
|
handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
|
686
696
|
resolveClassName: (cls: string) => string;
|
687
697
|
inputFocusForWrapper: () => void;
|
@@ -689,6 +699,7 @@ declare const BkSearchSelect: {
|
|
689
699
|
inputClearForWrapper: () => void;
|
690
700
|
deleteInputTextNode: () => void;
|
691
701
|
customPanelSubmit: (value: string) => void;
|
702
|
+
refleshMenuHover: () => void;
|
692
703
|
t: import("vue").ComputedRef<{
|
693
704
|
pleaseSelect: string;
|
694
705
|
loading: string;
|
@@ -700,6 +711,7 @@ declare const BkSearchSelect: {
|
|
700
711
|
logical: string;
|
701
712
|
}>;
|
702
713
|
}, {}, {}, {}, {
|
714
|
+
maxHeight: number;
|
703
715
|
mode: import("./utils").SearchInputMode;
|
704
716
|
conditions: import("./utils").ICommonItem[];
|
705
717
|
showInputBefore: boolean;
|
@@ -728,7 +740,7 @@ declare const BkSearchSelect: {
|
|
728
740
|
}[];
|
729
741
|
condition: string;
|
730
742
|
logical: import("./utils").SearchLogical;
|
731
|
-
|
743
|
+
nameRenderKey: string;
|
732
744
|
searchItem: {
|
733
745
|
id: string;
|
734
746
|
name: string;
|
@@ -821,7 +833,7 @@ declare const BkSearchSelect: {
|
|
821
833
|
handleClickSearch: (e: MouseEvent) => void;
|
822
834
|
localConditions: import("vue").ComputedRef<import("./utils").ICommonItem[]>;
|
823
835
|
resolveClassName: (cls: string) => string;
|
824
|
-
handleSelectedKey: (a:
|
836
|
+
handleSelectedKey: (a: import("./utils").ICommonItem) => void;
|
825
837
|
t: import("vue").ComputedRef<{
|
826
838
|
pleaseSelect: string;
|
827
839
|
loading: string;
|
@@ -833,14 +845,12 @@ declare const BkSearchSelect: {
|
|
833
845
|
logical: string;
|
834
846
|
}>;
|
835
847
|
}, {}, {}, {}, {
|
836
|
-
data: import("./utils").ISearchItem[];
|
848
|
+
data: Omit<import("./utils").ISearchItem, "value" | "isSelected">[];
|
837
849
|
maxHeight: number;
|
838
850
|
clearable: boolean;
|
839
851
|
modelValue: import("./utils").ISearchValue[];
|
840
|
-
minHeight: number;
|
841
852
|
conditions: import("./utils").ICommonItem[];
|
842
853
|
valueBehavior: "all" | "need-key";
|
843
|
-
shrink: boolean;
|
844
854
|
uniqueSelect: boolean;
|
845
855
|
}>;
|
846
856
|
__isFragment?: never;
|
@@ -848,25 +858,17 @@ declare const BkSearchSelect: {
|
|
848
858
|
__isSuspense?: never;
|
849
859
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
850
860
|
data: {
|
851
|
-
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
861
|
+
type: import("vue").PropType<Omit<import("./utils").ISearchItem, "value" | "isSelected">[]>;
|
852
862
|
default: () => any[];
|
853
863
|
};
|
854
864
|
modelValue: {
|
855
865
|
type: import("vue").PropType<import("./utils").ISearchValue[]>;
|
856
866
|
default: () => any[];
|
857
867
|
};
|
858
|
-
shrink: {
|
859
|
-
type: BooleanConstructor;
|
860
|
-
default: boolean;
|
861
|
-
};
|
862
868
|
maxHeight: {
|
863
869
|
type: NumberConstructor;
|
864
870
|
default: number;
|
865
871
|
};
|
866
|
-
minHeight: {
|
867
|
-
type: NumberConstructor;
|
868
|
-
default: number;
|
869
|
-
};
|
870
872
|
conditions: {
|
871
873
|
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
872
874
|
default: () => any[];
|
@@ -905,11 +907,15 @@ declare const BkSearchSelect: {
|
|
905
907
|
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
906
908
|
default: () => any[];
|
907
909
|
};
|
908
|
-
|
910
|
+
defaultUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
|
909
911
|
mode: {
|
910
912
|
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
911
913
|
default: import("./utils").SearchInputMode;
|
912
914
|
};
|
915
|
+
maxHeight: {
|
916
|
+
type: NumberConstructor;
|
917
|
+
default: () => number;
|
918
|
+
};
|
913
919
|
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
914
920
|
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
915
921
|
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
@@ -950,13 +956,13 @@ declare const BkSearchSelect: {
|
|
950
956
|
};
|
951
957
|
documentArrowEvent: (e: KeyboardEvent) => void;
|
952
958
|
handleClickOutside: (e: MouseEvent) => void;
|
953
|
-
handleInputFocus: () => void;
|
959
|
+
handleInputFocus: (event?: FocusEvent) => void;
|
954
960
|
handleInputChange: (event: Event) => void;
|
955
961
|
handleInputPaste: (event: ClipboardEvent) => void;
|
956
962
|
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
957
963
|
handleInputKeyup: (event: KeyboardEvent) => void;
|
958
964
|
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
959
|
-
|
965
|
+
handleSelectConditionItem: (item: import("./utils").ICommonItem) => void;
|
960
966
|
handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
|
961
967
|
resolveClassName: (cls: string) => string;
|
962
968
|
inputFocusForWrapper: () => void;
|
@@ -964,6 +970,7 @@ declare const BkSearchSelect: {
|
|
964
970
|
inputClearForWrapper: () => void;
|
965
971
|
deleteInputTextNode: () => void;
|
966
972
|
customPanelSubmit: (value: string) => void;
|
973
|
+
refleshMenuHover: () => void;
|
967
974
|
t: import("vue").ComputedRef<{
|
968
975
|
pleaseSelect: string;
|
969
976
|
loading: string;
|
@@ -987,11 +994,15 @@ declare const BkSearchSelect: {
|
|
987
994
|
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
988
995
|
default: () => any[];
|
989
996
|
};
|
990
|
-
|
997
|
+
defaultUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
|
991
998
|
mode: {
|
992
999
|
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
993
1000
|
default: import("./utils").SearchInputMode;
|
994
1001
|
};
|
1002
|
+
maxHeight: {
|
1003
|
+
type: NumberConstructor;
|
1004
|
+
default: () => number;
|
1005
|
+
};
|
995
1006
|
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
996
1007
|
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
997
1008
|
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
@@ -1001,6 +1012,7 @@ declare const BkSearchSelect: {
|
|
1001
1012
|
onAdd?: (...args: any[]) => any;
|
1002
1013
|
onSelectKey?: (...args: any[]) => any;
|
1003
1014
|
}, {
|
1015
|
+
maxHeight: number;
|
1004
1016
|
mode: import("./utils").SearchInputMode;
|
1005
1017
|
conditions: import("./utils").ICommonItem[];
|
1006
1018
|
showInputBefore: boolean;
|
@@ -1027,11 +1039,15 @@ declare const BkSearchSelect: {
|
|
1027
1039
|
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
1028
1040
|
default: () => any[];
|
1029
1041
|
};
|
1030
|
-
|
1042
|
+
defaultUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
|
1031
1043
|
mode: {
|
1032
1044
|
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
1033
1045
|
default: import("./utils").SearchInputMode;
|
1034
1046
|
};
|
1047
|
+
maxHeight: {
|
1048
|
+
type: NumberConstructor;
|
1049
|
+
default: () => number;
|
1050
|
+
};
|
1035
1051
|
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
1036
1052
|
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
1037
1053
|
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
@@ -1072,13 +1088,13 @@ declare const BkSearchSelect: {
|
|
1072
1088
|
};
|
1073
1089
|
documentArrowEvent: (e: KeyboardEvent) => void;
|
1074
1090
|
handleClickOutside: (e: MouseEvent) => void;
|
1075
|
-
handleInputFocus: () => void;
|
1091
|
+
handleInputFocus: (event?: FocusEvent) => void;
|
1076
1092
|
handleInputChange: (event: Event) => void;
|
1077
1093
|
handleInputPaste: (event: ClipboardEvent) => void;
|
1078
1094
|
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
1079
1095
|
handleInputKeyup: (event: KeyboardEvent) => void;
|
1080
1096
|
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
1081
|
-
|
1097
|
+
handleSelectConditionItem: (item: import("./utils").ICommonItem) => void;
|
1082
1098
|
handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
|
1083
1099
|
resolveClassName: (cls: string) => string;
|
1084
1100
|
inputFocusForWrapper: () => void;
|
@@ -1086,6 +1102,7 @@ declare const BkSearchSelect: {
|
|
1086
1102
|
inputClearForWrapper: () => void;
|
1087
1103
|
deleteInputTextNode: () => void;
|
1088
1104
|
customPanelSubmit: (value: string) => void;
|
1105
|
+
refleshMenuHover: () => void;
|
1089
1106
|
t: import("vue").ComputedRef<{
|
1090
1107
|
pleaseSelect: string;
|
1091
1108
|
loading: string;
|
@@ -1097,6 +1114,7 @@ declare const BkSearchSelect: {
|
|
1097
1114
|
logical: string;
|
1098
1115
|
}>;
|
1099
1116
|
}, {}, {}, {}, {
|
1117
|
+
maxHeight: number;
|
1100
1118
|
mode: import("./utils").SearchInputMode;
|
1101
1119
|
conditions: import("./utils").ICommonItem[];
|
1102
1120
|
showInputBefore: boolean;
|
@@ -1125,7 +1143,7 @@ declare const BkSearchSelect: {
|
|
1125
1143
|
}[];
|
1126
1144
|
condition: string;
|
1127
1145
|
logical: import("./utils").SearchLogical;
|
1128
|
-
|
1146
|
+
nameRenderKey: string;
|
1129
1147
|
searchItem: {
|
1130
1148
|
id: string;
|
1131
1149
|
name: string;
|
@@ -1218,7 +1236,7 @@ declare const BkSearchSelect: {
|
|
1218
1236
|
handleClickSearch: (e: MouseEvent) => void;
|
1219
1237
|
localConditions: import("vue").ComputedRef<import("./utils").ICommonItem[]>;
|
1220
1238
|
resolveClassName: (cls: string) => string;
|
1221
|
-
handleSelectedKey: (a:
|
1239
|
+
handleSelectedKey: (a: import("./utils").ICommonItem) => void;
|
1222
1240
|
t: import("vue").ComputedRef<{
|
1223
1241
|
pleaseSelect: string;
|
1224
1242
|
loading: string;
|
@@ -1230,20 +1248,24 @@ declare const BkSearchSelect: {
|
|
1230
1248
|
logical: string;
|
1231
1249
|
}>;
|
1232
1250
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "update:modelValue" | "selectKey")[], "search" | "update:modelValue" | "selectKey", {
|
1233
|
-
data: import("./utils").ISearchItem[];
|
1251
|
+
data: Omit<import("./utils").ISearchItem, "value" | "isSelected">[];
|
1234
1252
|
maxHeight: number;
|
1235
1253
|
clearable: boolean;
|
1236
1254
|
modelValue: import("./utils").ISearchValue[];
|
1237
|
-
minHeight: number;
|
1238
1255
|
conditions: import("./utils").ICommonItem[];
|
1239
1256
|
valueBehavior: "all" | "need-key";
|
1240
|
-
shrink: boolean;
|
1241
1257
|
uniqueSelect: boolean;
|
1242
1258
|
}, {}, string, import("vue").SlotsType<{
|
1243
1259
|
menu: import("./utils").MenuSlotParams;
|
1244
|
-
prepend:
|
1245
|
-
|
1246
|
-
|
1260
|
+
prepend: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
1261
|
+
[key: string]: any;
|
1262
|
+
}>;
|
1263
|
+
append: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
1264
|
+
[key: string]: any;
|
1265
|
+
}>;
|
1266
|
+
validate: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
1267
|
+
[key: string]: any;
|
1268
|
+
}>;
|
1247
1269
|
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
|
1248
1270
|
export default BkSearchSelect;
|
1249
1271
|
export { BkSearchSelect };
|