bkui-vue 2.0.1-beta.11 → 2.0.1-beta.111
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 +142 -168
- package/dist/index.esm.js +29125 -32074
- package/dist/index.umd.js +142 -168
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.variable.css +1 -0
- package/lib/affix/index.d.ts +111 -57
- package/lib/affix/index.js +24 -24
- package/lib/alert/alert.d.ts +5 -12
- package/lib/alert/alert.variable.css +1 -0
- package/lib/alert/index.d.ts +131 -93
- package/lib/alert/index.js +25 -25
- package/lib/animate-number/index.d.ts +96 -33
- package/lib/animate-number/index.js +7 -8
- package/lib/backtop/backtop.d.ts +1 -1
- package/lib/backtop/backtop.variable.css +1 -0
- package/lib/backtop/index.d.ts +118 -70
- package/lib/backtop/index.js +16 -17
- package/lib/badge/badge.variable.css +1 -0
- package/lib/badge/index.d.ts +152 -119
- package/lib/badge/index.js +20 -20
- package/lib/breadcrumb/breadcrumb.variable.css +1 -0
- package/lib/breadcrumb/index.d.ts +119 -67
- package/lib/breadcrumb/index.js +17 -17
- package/lib/button/button.css +188 -144
- package/lib/button/button.d.ts +10 -10
- package/lib/button/button.less +74 -71
- package/lib/button/button.variable.css +189 -144
- package/lib/button/index.d.ts +160 -124
- package/lib/button/index.js +26 -26
- package/lib/card/card.variable.css +1 -0
- package/lib/card/index.d.ts +157 -128
- package/lib/card/index.js +22 -20
- package/lib/cascader/cascader-panel.d.ts +6 -1
- package/lib/cascader/cascader.css +4 -0
- package/lib/cascader/cascader.d.ts +8 -4
- package/lib/cascader/cascader.less +5 -0
- package/lib/cascader/cascader.variable.css +5 -0
- package/lib/cascader/index.d.ts +355 -393
- package/lib/cascader/index.js +377 -308
- package/lib/cascader/interface.d.ts +1 -1
- package/lib/checkbox/checkbox-group.d.ts +0 -16
- package/lib/checkbox/checkbox.css +8 -0
- package/lib/checkbox/checkbox.d.ts +40 -8
- package/lib/checkbox/checkbox.less +12 -0
- package/lib/checkbox/checkbox.variable.css +9 -0
- package/lib/checkbox/index.d.ts +194 -127
- package/lib/checkbox/index.js +65 -52
- package/lib/checkbox/type.d.ts +1 -1
- package/lib/code-diff/code-diff.variable.css +1 -0
- package/lib/code-diff/index.d.ts +82 -65
- package/lib/code-diff/index.js +446 -389
- package/lib/collapse/collapse-panel.d.ts +5 -5
- package/lib/collapse/collapse.variable.css +1 -0
- package/lib/collapse/index.d.ts +180 -161
- package/lib/collapse/index.js +31 -30
- package/lib/collapse/props.d.ts +2 -2
- package/lib/collapse/utils.d.ts +2 -2
- package/lib/collapse-transition/collapse-transition.variable.css +1 -0
- package/lib/collapse-transition/index.d.ts +94 -19
- package/lib/collapse-transition/index.js +3 -4
- package/lib/color-picker/color-picker.d.ts +17 -1
- package/lib/color-picker/color-picker.variable.css +1 -0
- package/lib/color-picker/index.d.ts +168 -124
- package/lib/color-picker/index.js +93 -88
- package/lib/components.d.ts +30 -32
- package/lib/components.js +29 -31
- package/lib/config-provider/config-provider.variable.css +1 -0
- package/lib/config-provider/index.d.ts +228 -161
- package/lib/config-provider/index.js +17 -17
- package/lib/container/container.d.ts +1 -1
- package/lib/container/container.variable.css +1 -0
- package/lib/container/index.d.ts +85 -74
- package/lib/container/index.js +32 -35
- 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 +2 -2
- package/lib/date-picker/base/time-spinner.d.ts +3 -3
- package/lib/date-picker/base/year-table.d.ts +1 -1
- package/lib/date-picker/date-picker.d.ts +7 -15
- package/lib/date-picker/date-picker.variable.css +1 -0
- package/lib/date-picker/index.d.ts +356 -399
- package/lib/date-picker/index.js +343 -297
- package/lib/date-picker/interface.d.ts +9 -9
- package/lib/date-picker/panel/date-range.d.ts +6 -6
- package/lib/date-picker/panel/date.d.ts +2 -2
- package/lib/date-picker/panel/time-range.d.ts +3 -12
- package/lib/date-picker/panel/time.d.ts +3 -12
- package/lib/date-picker/props.d.ts +1 -5
- package/lib/date-picker/time-picker.d.ts +7 -14
- package/lib/date-picker/utils.d.ts +1 -1
- package/lib/dialog/dialog.d.ts +47 -31
- package/lib/dialog/dialog.variable.css +1 -0
- package/lib/dialog/index.d.ts +309 -305
- package/lib/dialog/index.js +252 -249
- package/lib/dialog/props.d.ts +20 -13
- package/lib/directives/index.d.ts +4 -3
- package/lib/directives/index.js +219 -197
- package/lib/directives/tooltips.d.ts +1 -1
- package/lib/dist.index.js +2 -4
- package/lib/divider/divider.d.ts +5 -5
- package/lib/divider/divider.variable.css +1 -0
- package/lib/divider/index.d.ts +116 -62
- package/lib/divider/index.js +4 -5
- 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.d.ts +7 -7
- package/lib/dropdown/dropdown.variable.css +1 -0
- package/lib/dropdown/index.d.ts +144 -102
- package/lib/dropdown/index.js +32 -32
- package/lib/exception/exception.d.ts +9 -9
- package/lib/exception/exception.variable.css +1 -0
- package/lib/exception/index.d.ts +107 -46
- package/lib/exception/index.js +31 -31
- package/lib/exception/typings/index.d.ts +1 -1
- package/lib/fixed-navbar/fixed-navbar.variable.css +1 -0
- package/lib/fixed-navbar/index.d.ts +113 -59
- package/lib/fixed-navbar/index.js +4 -5
- package/lib/form/form-item.d.ts +7 -19
- package/lib/form/form.d.ts +3 -3
- package/lib/form/form.variable.css +1 -0
- package/lib/form/index.d.ts +139 -94
- package/lib/form/index.js +44 -42
- package/lib/form/type.d.ts +2 -2
- package/lib/icon/angle-double-down-line.js +17 -17
- package/lib/icon/angle-double-left-line.js +17 -17
- package/lib/icon/angle-double-left.js +17 -17
- package/lib/icon/angle-double-right-line.js +17 -17
- package/lib/icon/angle-double-right.js +17 -17
- package/lib/icon/angle-double-up-line.js +17 -17
- package/lib/icon/angle-down-fill.js +17 -17
- package/lib/icon/angle-down-line.js +17 -17
- package/lib/icon/angle-down.js +17 -17
- package/lib/icon/angle-left.js +17 -17
- package/lib/icon/angle-right.js +17 -17
- package/lib/icon/angle-up-fill.js +17 -17
- package/lib/icon/angle-up.js +17 -17
- package/lib/icon/archive-fill.js +17 -17
- package/lib/icon/arrows-left.js +17 -17
- package/lib/icon/arrows-right.js +17 -17
- package/lib/icon/assistant.js +17 -17
- package/lib/icon/audio-fill.js +17 -17
- package/lib/icon/bk.js +17 -17
- package/lib/icon/circle.js +17 -17
- package/lib/icon/close-line.js +17 -17
- package/lib/icon/close.js +17 -17
- package/lib/icon/code.js +17 -17
- package/lib/icon/cog-shape.js +17 -17
- package/lib/icon/collapse-left.js +17 -17
- package/lib/icon/copy-shape.js +17 -17
- package/lib/icon/copy.js +17 -17
- package/lib/icon/data-shape.js +17 -17
- package/lib/icon/del.js +17 -17
- package/lib/icon/doc-fill.js +17 -17
- package/lib/icon/done.js +17 -17
- package/lib/icon/down-shape.js +17 -17
- package/lib/icon/down-small.js +17 -17
- package/lib/icon/edit-line.js +17 -17
- package/lib/icon/ellipsis.js +17 -17
- package/lib/icon/enlarge-line.js +17 -17
- package/lib/icon/error.js +17 -17
- package/lib/icon/excel-fill.js +17 -17
- package/lib/icon/exclamation-circle-shape.js +17 -17
- package/lib/icon/eye.js +17 -17
- package/lib/icon/filliscreen-line.js +17 -17
- package/lib/icon/fix-line.js +17 -17
- package/lib/icon/fix-shape.js +17 -17
- package/lib/icon/folder-open.js +17 -17
- package/lib/icon/folder-shape-open.js +17 -17
- package/lib/icon/folder-shape.js +17 -17
- package/lib/icon/folder.js +17 -17
- package/lib/icon/funnel.js +17 -17
- package/lib/icon/grag-fill.js +17 -17
- package/lib/icon/help-document-fill.js +17 -17
- package/lib/icon/help-fill.js +17 -17
- package/lib/icon/help.js +17 -17
- package/lib/icon/image-fill.js +17 -17
- package/lib/icon/img-error.js +17 -17
- package/lib/icon/img-placehoulder.js +17 -17
- package/lib/icon/index.d.ts +11 -11
- package/lib/icon/index.js +11 -11
- package/lib/icon/info-line.js +17 -17
- package/lib/icon/info.js +17 -17
- package/lib/icon/left-shape.js +17 -17
- package/lib/icon/left-turn-line.js +17 -17
- package/lib/icon/loading.js +17 -17
- package/lib/icon/narrow-line.js +17 -17
- package/lib/icon/original.js +17 -17
- package/lib/icon/pdf-fill.js +17 -17
- package/lib/icon/play-shape.js +17 -17
- package/lib/icon/plus.js +17 -17
- package/lib/icon/ppt-fill.js +17 -17
- package/lib/icon/qq.js +17 -17
- package/lib/icon/right-shape.js +17 -17
- package/lib/icon/right-turn-line.js +17 -17
- package/lib/icon/search.js +17 -17
- package/lib/icon/share.js +17 -17
- package/lib/icon/spinner.js +17 -17
- package/lib/icon/success.js +17 -17
- package/lib/icon/switcher-loading.js +17 -17
- package/lib/icon/text-all.js +17 -17
- package/lib/icon/text-file.js +17 -17
- package/lib/icon/text-fill.js +17 -17
- package/lib/icon/transfer.js +17 -17
- package/lib/icon/tree-application-shape.js +17 -17
- package/lib/icon/unfull-screen.js +17 -17
- package/lib/icon/unvisible.js +17 -17
- package/lib/icon/up-shape.js +17 -17
- package/lib/icon/upload.js +17 -17
- package/lib/icon/video-fill.js +17 -17
- package/lib/icon/warn.js +17 -17
- package/lib/icon/weixin-pro.js +17 -17
- package/lib/icon/weixin.js +17 -17
- package/lib/image/image-viewer.d.ts +1 -1
- package/lib/image/image-viewer.variable.css +1 -0
- package/lib/image/image.variable.css +1 -0
- package/lib/image/index.d.ts +149 -113
- package/lib/image/index.js +46 -48
- package/lib/index.d.ts +9 -3
- package/lib/index.js +5 -29
- package/lib/info-box/index.js +250 -250
- package/lib/info-box/info-box.d.ts +15 -15
- package/lib/info-box/info-box.variable.css +1 -0
- package/lib/input/index.d.ts +299 -332
- package/lib/input/index.js +110 -561
- package/lib/input/input.css +23 -1
- package/lib/input/input.d.ts +15 -15
- package/lib/input/input.less +30 -1
- package/lib/input/input.variable.css +24 -1
- package/lib/link/index.d.ts +127 -78
- package/lib/link/index.js +5 -5
- package/lib/link/link.d.ts +5 -5
- package/lib/link/link.variable.css +1 -0
- package/lib/loading/index.d.ts +162 -135
- package/lib/loading/index.js +43 -40
- package/lib/loading/loading.d.ts +9 -9
- package/lib/loading/loading.variable.css +1 -0
- package/lib/locale/index.d.ts +1 -1
- package/lib/menu/index.d.ts +131 -51
- package/lib/menu/index.js +46 -27
- package/lib/menu/menu-group.d.ts +9 -0
- package/lib/menu/menu-item.d.ts +9 -0
- package/lib/menu/menu.css +29 -17
- package/lib/menu/menu.less +33 -18
- package/lib/menu/menu.variable.css +30 -17
- package/lib/menu/submenu.d.ts +1 -0
- package/lib/menu/submenu.variable.css +1 -0
- package/lib/menu/utils.d.ts +3 -3
- package/lib/message/index.js +43 -42
- package/lib/message/message.css +2 -1
- package/lib/message/message.less +3 -2
- package/lib/message/message.variable.css +3 -1
- package/lib/message/messageConstructor.d.ts +21 -21
- package/lib/modal/index.d.ts +214 -159
- package/lib/modal/index.js +68 -47
- package/lib/modal/modal.d.ts +24 -8
- package/lib/modal/modal.variable.css +1 -0
- package/lib/modal/props.mixin.d.ts +10 -3
- package/lib/navigation/index.d.ts +188 -152
- package/lib/navigation/index.js +27 -29
- package/lib/navigation/navigation.d.ts +1 -1
- package/lib/navigation/navigation.variable.css +1 -0
- package/lib/notify/index.js +25 -24
- package/lib/notify/notify.variable.css +1 -0
- package/lib/notify/notifyConstructor.d.ts +5 -5
- package/lib/overflow-title/components/overflow-title.d.ts +45 -16
- package/lib/overflow-title/index.d.ts +298 -328
- package/lib/overflow-title/index.js +85 -28
- package/lib/overflow-title/overflow-title.css +3 -0
- package/lib/overflow-title/overflow-title.less +4 -0
- package/lib/overflow-title/overflow-title.variable.css +3 -0
- package/lib/overflow-title/props.d.ts +36 -21
- package/lib/pagination/index.d.ts +198 -203
- package/lib/pagination/index.js +128 -68
- package/lib/pagination/pagination.css +8 -8
- package/lib/pagination/pagination.d.ts +0 -13
- package/lib/pagination/pagination.less +14 -13
- package/lib/pagination/pagination.variable.css +9 -8
- 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 +328 -442
- package/lib/pop-confirm/index.d.ts +162 -148
- package/lib/pop-confirm/index.js +40 -35
- package/lib/pop-confirm/pop-confirm.css +3 -1
- package/lib/pop-confirm/pop-confirm.d.ts +10 -20
- package/lib/pop-confirm/pop-confirm.less +3 -1
- package/lib/pop-confirm/pop-confirm.variable.css +4 -1
- package/lib/pop-confirm/props.d.ts +8 -11
- package/lib/popover/const.d.ts +3 -3
- package/lib/popover/content.d.ts +6 -3
- package/lib/popover/index.d.ts +411 -380
- package/lib/popover/index.js +328 -442
- package/lib/popover/plugin-popover.d.ts +1 -1
- package/lib/popover/popover.d.ts +51 -8
- package/lib/popover/popover.variable.css +1 -0
- package/lib/popover/props.d.ts +28 -4
- package/lib/popover/use-floating.d.ts +2 -2
- package/lib/popover/use-popover-init.d.ts +2 -1
- package/lib/popover/utils.d.ts +2 -0
- package/lib/popover2/index.d.ts +83 -8
- package/lib/popover2/index.js +2 -2
- package/lib/preset.d.ts +0 -1
- package/lib/preset.js +0 -1
- package/lib/process/index.d.ts +137 -93
- package/lib/process/index.js +229 -229
- package/lib/process/process.variable.css +1 -0
- package/lib/progress/index.d.ts +192 -183
- package/lib/progress/index.js +31 -33
- package/lib/progress/progress.d.ts +9 -9
- package/lib/progress/progress.variable.css +1 -0
- package/lib/radio/index.d.ts +155 -106
- package/lib/radio/index.js +76 -63
- package/lib/radio/radio-button.d.ts +7 -7
- package/lib/radio/radio-group.d.ts +7 -7
- package/lib/radio/radio.d.ts +7 -7
- package/lib/radio/radio.variable.css +1 -0
- package/lib/radio/type.d.ts +1 -1
- package/lib/rate/index.d.ts +112 -55
- package/lib/rate/index.js +28 -27
- package/lib/rate/rate.variable.css +1 -0
- package/lib/resize-layout/index.d.ts +204 -157
- package/lib/resize-layout/index.js +54 -34
- package/lib/resize-layout/resize-layout.d.ts +18 -7
- package/lib/resize-layout/resize-layout.variable.css +1 -0
- package/lib/scrollbar/css/scrollbar.css +109 -0
- package/lib/scrollbar/css/scrollbar.less +139 -0
- package/lib/scrollbar/{scrollbar.variable.css → css/scrollbar.variable.css} +96 -61
- 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 +1380 -18482
- 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 +946 -701
- package/lib/search-select/index.js +644 -486
- package/lib/search-select/input.d.ts +20 -8
- package/lib/search-select/menu.d.ts +13 -1
- package/lib/search-select/search-select.css +45 -47
- package/lib/search-select/search-select.d.ts +207 -160
- package/lib/search-select/search-select.less +41 -41
- package/lib/search-select/search-select.variable.css +46 -47
- package/lib/search-select/selected.d.ts +209 -127
- package/lib/search-select/utils.d.ts +6 -6
- package/lib/select/common.d.ts +4 -4
- package/lib/select/index.d.ts +1457 -1384
- package/lib/select/index.js +603 -477
- package/lib/select/option.d.ts +6 -6
- package/lib/select/select.css +9 -4
- package/lib/select/select.d.ts +285 -148
- package/lib/select/select.less +11 -4
- package/lib/select/select.variable.css +10 -4
- package/lib/select/selectTagInput.d.ts +9 -8
- 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 +166 -101
- package/lib/shared/popover.d.ts +3 -3
- package/lib/shared/token.d.ts +1 -1
- package/lib/shared/vue-types.d.ts +50 -50
- package/lib/shared/z-index-manager.d.ts +6 -6
- package/lib/sideslider/index.d.ts +220 -182
- package/lib/sideslider/index.js +239 -237
- package/lib/sideslider/sideslider.css +7 -8
- package/lib/sideslider/sideslider.d.ts +24 -8
- package/lib/sideslider/sideslider.less +7 -8
- package/lib/sideslider/sideslider.variable.css +8 -8
- package/lib/slider/index.d.ts +210 -214
- package/lib/slider/index.js +246 -249
- package/lib/slider/slider.variable.css +1 -0
- package/lib/steps/index.d.ts +155 -131
- package/lib/steps/index.js +234 -234
- package/lib/steps/steps.d.ts +8 -18
- package/lib/steps/steps.variable.css +1 -0
- package/lib/styles/index.d.ts +1 -0
- package/lib/styles/mixins/animate.variable.css +1 -0
- package/lib/styles/mixins/popper.variable.css +1 -0
- package/lib/styles/mixins/scroll.variable.css +1 -0
- package/lib/styles/reset.variable.css +1 -0
- package/lib/styles/themes/themes.less +1 -0
- package/lib/swiper/index.d.ts +127 -81
- package/lib/swiper/index.js +23 -23
- package/lib/swiper/swiper.variable.css +1 -0
- package/lib/switcher/index.d.ts +179 -157
- package/lib/switcher/index.js +24 -22
- package/lib/switcher/switcher.d.ts +9 -9
- package/lib/switcher/switcher.variable.css +1 -0
- package/lib/tab/index.d.ts +220 -258
- package/lib/tab/index.js +79 -69
- package/lib/tab/props.d.ts +27 -52
- package/lib/tab/tab-nav.d.ts +26 -66
- package/lib/tab/tab-panel.d.ts +27 -5
- package/lib/tab/tab.css +64 -0
- package/lib/tab/tab.d.ts +10 -54
- package/lib/tab/tab.less +91 -4
- package/lib/tab/tab.variable.css +65 -0
- 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 +24 -127
- 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-checkbox-tooltip.d.ts +11 -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 +138 -0
- package/lib/table/{plugins → hooks}/use-shift-key.d.ts +4 -2
- package/lib/table/index.d.ts +412 -1029
- package/lib/table/index.js +4698 -20825
- package/lib/table/plugins/head-filter.css +5 -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 +6 -0
- package/lib/table/plugins/head-sort.variable.css +1 -0
- package/lib/table/plugins/settings.css +11 -1
- package/lib/table/plugins/settings.less +12 -1
- package/lib/table/plugins/settings.variable.css +12 -1
- package/lib/table/props.d.ts +127 -62
- package/lib/table/table.css +503 -302
- package/lib/table/table.d.ts +51 -185
- package/lib/table/table.less +244 -112
- package/lib/table/table.variable.css +504 -302
- package/lib/table/utils.d.ts +44 -21
- package/lib/table-column/index.d.ts +156 -369
- package/lib/table-column/index.js +143 -62
- package/lib/tag/index.d.ts +147 -100
- package/lib/tag/index.js +21 -22
- package/lib/tag/tag.css +1 -1
- package/lib/tag/tag.d.ts +5 -5
- package/lib/tag/tag.less +1 -1
- package/lib/tag/tag.variable.css +2 -1
- package/lib/tag-input/common.d.ts +2 -2
- package/lib/tag-input/index.d.ts +595 -712
- package/lib/tag-input/index.js +150 -17391
- package/lib/tag-input/tag-input.css +12 -9
- package/lib/tag-input/tag-input.d.ts +60 -24
- package/lib/tag-input/tag-input.less +13 -9
- package/lib/tag-input/tag-input.variable.css +13 -9
- package/lib/tag-input/tag-props.d.ts +25 -2
- package/lib/time-picker/index.d.ts +391 -455
- package/lib/time-picker/time-picker.variable.css +1 -0
- package/lib/timeline/index.d.ts +131 -64
- package/lib/timeline/index.js +8 -8
- package/lib/timeline/timeline.variable.css +1 -0
- package/lib/transfer/const.d.ts +2 -2
- package/lib/transfer/index.d.ts +206 -191
- package/lib/transfer/index.js +3 -5
- package/lib/transfer/transfer.variable.css +1 -0
- package/lib/tree/constant.d.ts +22 -20
- package/lib/tree/index.d.ts +329 -357
- package/lib/tree/index.js +176 -17389
- package/lib/tree/props.d.ts +18 -11
- package/lib/tree/tree.css +103 -69
- package/lib/tree/tree.d.ts +16 -10
- package/lib/tree/tree.variable.css +104 -69
- 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 +294 -286
- package/lib/upload/index.js +398 -316
- package/lib/upload/props.d.ts +11 -2
- package/lib/upload/upload-list.d.ts +11 -1
- package/lib/upload/upload-trigger.d.ts +11 -1
- package/lib/upload/upload.d.ts +25 -4
- package/lib/upload/upload.type.d.ts +12 -6
- package/lib/upload/upload.variable.css +1 -0
- package/lib/upload/use-file-handler.d.ts +1 -1
- package/lib/virtual-render/index.d.ts +247 -373
- package/lib/virtual-render/index.js +223 -162
- 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 +96 -70
- package/lib/virtual-render/virtual-render.d.ts +7 -23
- package/lib/virtual-render/virtual-render.less +2 -11
- package/lib/virtual-render/virtual-render.variable.css +96 -69
- 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
@@ -1,288 +1,416 @@
|
|
1
1
|
declare const BkSearchSelect: {
|
2
|
-
new (...args: any[]):
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
2
|
+
new (...args: any[]): {
|
3
|
+
$: import("vue").ComponentInternalInstance;
|
4
|
+
$data: {};
|
5
|
+
$props: {
|
6
|
+
data?: Omit<import("./utils").ISearchItem, "value" | "isSelected">[];
|
7
|
+
maxHeight?: number;
|
8
|
+
clearable?: boolean;
|
9
|
+
modelValue?: import("./utils").ISearchValue[];
|
10
|
+
conditions?: import("./utils").ICommonItem[];
|
11
|
+
valueBehavior?: "all" | "need-key";
|
12
|
+
uniqueSelect?: boolean;
|
13
|
+
class?: unknown;
|
14
|
+
style?: unknown;
|
15
|
+
ref?: import("vue").VNodeRef;
|
16
|
+
key?: string | number | symbol;
|
17
|
+
ref_for?: boolean;
|
18
|
+
ref_key?: string;
|
19
|
+
onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
20
|
+
[key: string]: any;
|
21
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
22
|
+
[key: string]: any;
|
23
|
+
}>) => void)[];
|
24
|
+
onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
25
|
+
[key: string]: any;
|
26
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
27
|
+
[key: string]: any;
|
28
|
+
}>) => void)[];
|
29
|
+
onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
30
|
+
[key: string]: any;
|
31
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
32
|
+
[key: string]: any;
|
33
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
34
|
+
[key: string]: any;
|
35
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
36
|
+
[key: string]: any;
|
37
|
+
}>) => void)[];
|
38
|
+
onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
39
|
+
[key: string]: any;
|
40
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
41
|
+
[key: string]: any;
|
42
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
43
|
+
[key: string]: any;
|
44
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
45
|
+
[key: string]: any;
|
46
|
+
}>) => void)[];
|
47
|
+
onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
48
|
+
[key: string]: any;
|
49
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
50
|
+
[key: string]: any;
|
51
|
+
}>) => void)[];
|
52
|
+
onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
53
|
+
[key: string]: any;
|
54
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
55
|
+
[key: string]: any;
|
56
|
+
}>) => void)[];
|
57
|
+
readonly placeholder?: string;
|
58
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
59
|
+
onSelectKey?: (...args: any[]) => any;
|
60
|
+
readonly getMenuList?: import("./utils").GetMenuListFunc;
|
61
|
+
readonly validateValues?: import("./utils").ValidateValuesFunc;
|
62
|
+
onSearch?: (...args: any[]) => any;
|
30
63
|
};
|
31
|
-
|
32
|
-
|
33
|
-
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
34
|
-
uniqueSelect: {
|
35
|
-
type: BooleanConstructor;
|
36
|
-
default: boolean;
|
64
|
+
$attrs: {
|
65
|
+
[x: string]: unknown;
|
37
66
|
};
|
38
|
-
|
39
|
-
|
40
|
-
default: import("./utils").ValueBehavior;
|
41
|
-
validator(v: import("./utils").ValueBehavior): boolean;
|
67
|
+
$refs: {
|
68
|
+
[x: string]: unknown;
|
42
69
|
};
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
70
|
+
$slots: Readonly<{
|
71
|
+
menu: import("vue").Slot<import("./utils").MenuSlotParams>;
|
72
|
+
prepend: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
73
|
+
[key: string]: any;
|
74
|
+
}>;
|
75
|
+
append: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
76
|
+
[key: string]: any;
|
77
|
+
}>;
|
78
|
+
validate: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
79
|
+
[key: string]: any;
|
80
|
+
}>;
|
81
|
+
}>;
|
82
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
83
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
84
|
+
$emit: (event: "search" | "update:modelValue" | "selectKey", ...args: any[]) => void;
|
85
|
+
$el: any;
|
86
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
49
87
|
data: {
|
50
|
-
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
51
|
-
required: true;
|
52
|
-
};
|
53
|
-
showInputBefore: BooleanConstructor;
|
54
|
-
showCondition: BooleanConstructor;
|
55
|
-
clickOutside: FunctionConstructor;
|
56
|
-
placeholder: StringConstructor;
|
57
|
-
conditions: {
|
58
|
-
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
88
|
+
type: import("vue").PropType<Omit<import("./utils").ISearchItem, "value" | "isSelected">[]>;
|
59
89
|
default: () => any[];
|
60
90
|
};
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
default: import("./utils").SearchInputMode;
|
65
|
-
};
|
66
|
-
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
67
|
-
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
68
|
-
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
69
|
-
}>> & {
|
70
|
-
onFocus?: (...args: any[]) => any;
|
71
|
-
onDelete?: (...args: any[]) => any;
|
72
|
-
onAdd?: (...args: any[]) => any;
|
73
|
-
onSelectKey?: (...args: any[]) => any;
|
74
|
-
}, {
|
75
|
-
popoverRef: import("vue").Ref<HTMLDivElement>;
|
76
|
-
inputRef: import("vue").Ref<HTMLDivElement>;
|
77
|
-
keyword: import("vue").Ref<string>;
|
78
|
-
loading: import("vue").Ref<boolean>;
|
79
|
-
remoteMenuList: import("vue").Ref<{
|
80
|
-
id: string;
|
81
|
-
name: string;
|
82
|
-
disabled?: boolean;
|
83
|
-
realId?: string;
|
84
|
-
value?: {
|
85
|
-
name: string;
|
86
|
-
id: string;
|
87
|
-
realId?: string;
|
88
|
-
isSelected?: boolean;
|
89
|
-
logical?: import("./utils").SearchLogical;
|
90
|
-
};
|
91
|
-
isSelected?: boolean;
|
92
|
-
logical?: import("./utils").SearchLogical;
|
93
|
-
}[]>;
|
94
|
-
menuList: import("vue").Ref<import("./utils").ISearchItem[]>;
|
95
|
-
menuHoverId: import("vue").Ref<string>;
|
96
|
-
isFocus: import("vue").Ref<boolean>;
|
97
|
-
usingItem: import("vue").Ref<import("./utils").SelectedItem>;
|
98
|
-
showPopover: import("vue").Ref<boolean>;
|
99
|
-
showNoSelectValueError: import("vue").Ref<boolean>;
|
100
|
-
debounceSetMenuList: {
|
101
|
-
(this: any): any;
|
102
|
-
cancel(): void;
|
91
|
+
modelValue: {
|
92
|
+
type: import("vue").PropType<import("./utils").ISearchValue[]>;
|
93
|
+
default: () => any[];
|
103
94
|
};
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
handleInputChange: (event: Event) => void;
|
108
|
-
handleInputPaste: (event: ClipboardEvent) => void;
|
109
|
-
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
110
|
-
handleInputKeyup: (event: KeyboardEvent) => void;
|
111
|
-
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
112
|
-
handleSelectCondtionItem: (item: import("./utils").ICommonItem) => void;
|
113
|
-
handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
|
114
|
-
resolveClassName: (cls: string) => string;
|
115
|
-
inputFocusForWrapper: () => void;
|
116
|
-
inputEnterForWrapper: () => Promise<void>;
|
117
|
-
inputClearForWrapper: () => void;
|
118
|
-
deleteInputTextNode: () => void;
|
119
|
-
customPanelSubmit: (value: string) => void;
|
120
|
-
t: import("vue").ComputedRef<{
|
121
|
-
pleaseSelect: string;
|
122
|
-
loading: string;
|
123
|
-
filterQueryMustHasValue: string;
|
124
|
-
ok: string;
|
125
|
-
cancel: string;
|
126
|
-
or: string;
|
127
|
-
and: string;
|
128
|
-
logical: string;
|
129
|
-
}>;
|
130
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "delete" | "add" | "selectKey")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
131
|
-
data: {
|
132
|
-
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
133
|
-
required: true;
|
95
|
+
maxHeight: {
|
96
|
+
type: NumberConstructor;
|
97
|
+
default: number;
|
134
98
|
};
|
135
|
-
showInputBefore: BooleanConstructor;
|
136
|
-
showCondition: BooleanConstructor;
|
137
|
-
clickOutside: FunctionConstructor;
|
138
|
-
placeholder: StringConstructor;
|
139
99
|
conditions: {
|
140
100
|
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
141
101
|
default: () => any[];
|
142
102
|
};
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
default: import("./utils").SearchInputMode;
|
103
|
+
clearable: {
|
104
|
+
type: BooleanConstructor;
|
105
|
+
default: boolean;
|
147
106
|
};
|
107
|
+
placeholder: StringConstructor;
|
148
108
|
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
149
109
|
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
onDelete?: (...args: any[]) => any;
|
154
|
-
onAdd?: (...args: any[]) => any;
|
155
|
-
onSelectKey?: (...args: any[]) => any;
|
156
|
-
}, {
|
157
|
-
mode: import("./utils").SearchInputMode;
|
158
|
-
conditions: import("./utils").ICommonItem[];
|
159
|
-
showInputBefore: boolean;
|
160
|
-
showCondition: boolean;
|
161
|
-
}, true, {}, import("vue").SlotsType<{
|
162
|
-
menu: import("./utils").MenuSlotParams;
|
163
|
-
}>, {
|
164
|
-
P: {};
|
165
|
-
B: {};
|
166
|
-
D: {};
|
167
|
-
C: {};
|
168
|
-
M: {};
|
169
|
-
Defaults: {};
|
170
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
171
|
-
data: {
|
172
|
-
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
173
|
-
required: true;
|
174
|
-
};
|
175
|
-
showInputBefore: BooleanConstructor;
|
176
|
-
showCondition: BooleanConstructor;
|
177
|
-
clickOutside: FunctionConstructor;
|
178
|
-
placeholder: StringConstructor;
|
179
|
-
conditions: {
|
180
|
-
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
181
|
-
default: () => any[];
|
110
|
+
uniqueSelect: {
|
111
|
+
type: BooleanConstructor;
|
112
|
+
default: boolean;
|
182
113
|
};
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
114
|
+
valueBehavior: {
|
115
|
+
type: import("vue").PropType<"all" | "need-key">;
|
116
|
+
default: import("./utils").ValueBehavior;
|
117
|
+
validator(v: import("./utils").ValueBehavior): boolean;
|
187
118
|
};
|
188
|
-
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
189
|
-
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
190
|
-
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
191
119
|
}>> & {
|
192
|
-
|
193
|
-
onDelete?: (...args: any[]) => any;
|
194
|
-
onAdd?: (...args: any[]) => any;
|
120
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
195
121
|
onSelectKey?: (...args: any[]) => any;
|
122
|
+
onSearch?: (...args: any[]) => any;
|
196
123
|
}, {
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
124
|
+
inputRef: import("vue").Ref<{
|
125
|
+
$: import("vue").ComponentInternalInstance;
|
126
|
+
$data: {};
|
127
|
+
$props: {
|
128
|
+
maxHeight?: number;
|
129
|
+
mode?: import("./utils").SearchInputMode;
|
130
|
+
conditions?: import("./utils").ICommonItem[];
|
131
|
+
showInputBefore?: boolean;
|
132
|
+
showCondition?: boolean;
|
133
|
+
class?: unknown;
|
134
|
+
readonly data: import("./utils").ISearchItem[];
|
135
|
+
style?: unknown;
|
136
|
+
onFocus?: (...args: any[]) => any;
|
137
|
+
ref?: import("vue").VNodeRef;
|
138
|
+
key?: string | number | symbol;
|
139
|
+
ref_for?: boolean;
|
140
|
+
ref_key?: string;
|
141
|
+
onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
142
|
+
[key: string]: any;
|
143
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
144
|
+
[key: string]: any;
|
145
|
+
}>) => void)[];
|
146
|
+
onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
147
|
+
[key: string]: any;
|
148
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
149
|
+
[key: string]: any;
|
150
|
+
}>) => void)[];
|
151
|
+
onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
152
|
+
[key: string]: any;
|
153
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
154
|
+
[key: string]: any;
|
155
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
156
|
+
[key: string]: any;
|
157
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
158
|
+
[key: string]: any;
|
159
|
+
}>) => void)[];
|
160
|
+
onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
161
|
+
[key: string]: any;
|
162
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
163
|
+
[key: string]: any;
|
164
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
165
|
+
[key: string]: any;
|
166
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
167
|
+
[key: string]: any;
|
168
|
+
}>) => void)[];
|
169
|
+
onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
170
|
+
[key: string]: any;
|
171
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
172
|
+
[key: string]: any;
|
173
|
+
}>) => void)[];
|
174
|
+
onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
175
|
+
[key: string]: any;
|
176
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
177
|
+
[key: string]: any;
|
178
|
+
}>) => void)[];
|
179
|
+
readonly placeholder?: string;
|
180
|
+
onAdd?: (...args: any[]) => any;
|
181
|
+
onDelete?: (...args: any[]) => any;
|
182
|
+
onSelectKey?: (...args: any[]) => any;
|
183
|
+
readonly clickOutside?: Function;
|
184
|
+
readonly defaultUsingItem?: import("./utils").SelectedItem;
|
185
|
+
readonly getMenuList?: import("./utils").GetMenuListFunc;
|
186
|
+
readonly validateValues?: import("./utils").ValidateValuesFunc;
|
187
|
+
readonly valueBehavior?: import("./utils").ValueBehavior;
|
212
188
|
};
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
189
|
+
$attrs: {
|
190
|
+
[x: string]: unknown;
|
191
|
+
};
|
192
|
+
$refs: {
|
193
|
+
[x: string]: unknown;
|
194
|
+
};
|
195
|
+
$slots: Readonly<{
|
196
|
+
menu: import("vue").Slot<import("./utils").MenuSlotParams>;
|
197
|
+
}>;
|
198
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
199
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
200
|
+
$emit: (event: "focus" | "add" | "delete" | "selectKey", ...args: any[]) => void;
|
201
|
+
$el: any;
|
202
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
203
|
+
data: {
|
204
|
+
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
205
|
+
required: true;
|
206
|
+
};
|
207
|
+
showInputBefore: BooleanConstructor;
|
208
|
+
showCondition: BooleanConstructor;
|
209
|
+
clickOutside: FunctionConstructor;
|
210
|
+
placeholder: StringConstructor;
|
211
|
+
conditions: {
|
212
|
+
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
213
|
+
default: () => any[];
|
214
|
+
};
|
215
|
+
defaultUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
|
216
|
+
mode: {
|
217
|
+
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
218
|
+
default: import("./utils").SearchInputMode;
|
219
|
+
};
|
220
|
+
maxHeight: {
|
221
|
+
type: NumberConstructor;
|
222
|
+
default: () => number;
|
223
|
+
};
|
224
|
+
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
225
|
+
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
226
|
+
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
227
|
+
}>> & {
|
228
|
+
onFocus?: (...args: any[]) => any;
|
229
|
+
onAdd?: (...args: any[]) => any;
|
230
|
+
onDelete?: (...args: any[]) => any;
|
231
|
+
onSelectKey?: (...args: any[]) => any;
|
232
|
+
}, {
|
233
|
+
popoverRef: import("vue").Ref<HTMLDivElement>;
|
234
|
+
inputRef: import("vue").Ref<HTMLDivElement>;
|
235
|
+
keyword: import("vue").Ref<string>;
|
236
|
+
loading: import("vue").Ref<boolean>;
|
237
|
+
remoteMenuList: import("vue").Ref<{
|
238
|
+
id: string;
|
239
|
+
name: string;
|
240
|
+
disabled?: boolean;
|
241
|
+
realId?: string;
|
242
|
+
value?: {
|
243
|
+
name: string;
|
244
|
+
id: string;
|
245
|
+
realId?: string;
|
246
|
+
isSelected?: boolean;
|
247
|
+
logical?: import("./utils").SearchLogical;
|
248
|
+
};
|
249
|
+
isSelected?: boolean;
|
250
|
+
logical?: import("./utils").SearchLogical;
|
251
|
+
}[]>;
|
252
|
+
menuList: import("vue").Ref<import("./utils").ISearchItem[]>;
|
253
|
+
menuHoverId: import("vue").Ref<string>;
|
254
|
+
isFocus: import("vue").Ref<boolean>;
|
255
|
+
usingItem: import("vue").Ref<import("./utils").SelectedItem>;
|
256
|
+
showPopover: import("vue").Ref<boolean>;
|
257
|
+
showNoSelectValueError: import("vue").Ref<boolean>;
|
258
|
+
debounceSetMenuList: {
|
259
|
+
(this: any): any;
|
260
|
+
cancel(): void;
|
261
|
+
};
|
262
|
+
documentArrowEvent: (e: KeyboardEvent) => void;
|
263
|
+
handleClickOutside: (e: MouseEvent) => void;
|
264
|
+
handleInputFocus: (event?: FocusEvent) => void;
|
265
|
+
handleInputChange: (event: Event) => void;
|
266
|
+
handleInputPaste: (event: ClipboardEvent) => void;
|
267
|
+
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
268
|
+
handleInputKeyup: (event: KeyboardEvent) => void;
|
269
|
+
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
270
|
+
handleSelectConditionItem: (item: import("./utils").ICommonItem) => void;
|
271
|
+
handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
|
272
|
+
resolveClassName: (cls: string) => string;
|
273
|
+
inputFocusForWrapper: () => void;
|
274
|
+
inputEnterForWrapper: () => Promise<void>;
|
275
|
+
inputClearForWrapper: () => void;
|
276
|
+
deleteInputTextNode: () => void;
|
277
|
+
customPanelSubmit: (value: string) => void;
|
278
|
+
refleshMenuHover: () => void;
|
279
|
+
t: import("vue").ComputedRef<{
|
280
|
+
pleaseSelect: string;
|
281
|
+
loading: string;
|
282
|
+
filterQueryMustHasValue: string;
|
283
|
+
ok: string;
|
284
|
+
cancel: string;
|
285
|
+
or: string;
|
286
|
+
and: string;
|
287
|
+
logical: string;
|
288
|
+
}>;
|
289
|
+
inputKey: import("vue").Ref<string>;
|
290
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "add" | "delete" | "selectKey")[], string, {
|
291
|
+
maxHeight: number;
|
292
|
+
mode: import("./utils").SearchInputMode;
|
293
|
+
conditions: import("./utils").ICommonItem[];
|
294
|
+
showInputBefore: boolean;
|
295
|
+
showCondition: boolean;
|
296
|
+
}, {}, string, import("vue").SlotsType<{
|
297
|
+
menu: import("./utils").MenuSlotParams;
|
298
|
+
}>> & {
|
299
|
+
beforeCreate?: (() => void) | (() => void)[];
|
300
|
+
created?: (() => void) | (() => void)[];
|
301
|
+
beforeMount?: (() => void) | (() => void)[];
|
302
|
+
mounted?: (() => void) | (() => void)[];
|
303
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
304
|
+
updated?: (() => void) | (() => void)[];
|
305
|
+
activated?: (() => void) | (() => void)[];
|
306
|
+
deactivated?: (() => void) | (() => void)[];
|
307
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
308
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
309
|
+
destroyed?: (() => void) | (() => void)[];
|
310
|
+
unmounted?: (() => void) | (() => void)[];
|
311
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
312
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
313
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
|
314
|
+
};
|
315
|
+
$forceUpdate: () => void;
|
316
|
+
$nextTick: typeof import("vue").nextTick;
|
317
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
318
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
319
|
+
data: {
|
320
|
+
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
321
|
+
required: true;
|
322
|
+
};
|
323
|
+
showInputBefore: BooleanConstructor;
|
324
|
+
showCondition: BooleanConstructor;
|
325
|
+
clickOutside: FunctionConstructor;
|
326
|
+
placeholder: StringConstructor;
|
327
|
+
conditions: {
|
328
|
+
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
329
|
+
default: () => any[];
|
330
|
+
};
|
331
|
+
defaultUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
|
332
|
+
mode: {
|
333
|
+
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
334
|
+
default: import("./utils").SearchInputMode;
|
335
|
+
};
|
336
|
+
maxHeight: {
|
337
|
+
type: NumberConstructor;
|
338
|
+
default: () => number;
|
339
|
+
};
|
340
|
+
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
341
|
+
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
342
|
+
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
343
|
+
}>> & {
|
344
|
+
onFocus?: (...args: any[]) => any;
|
345
|
+
onAdd?: (...args: any[]) => any;
|
346
|
+
onDelete?: (...args: any[]) => any;
|
347
|
+
onSelectKey?: (...args: any[]) => any;
|
348
|
+
} & import("vue").ShallowUnwrapRef<{
|
349
|
+
popoverRef: import("vue").Ref<HTMLDivElement>;
|
350
|
+
inputRef: import("vue").Ref<HTMLDivElement>;
|
351
|
+
keyword: import("vue").Ref<string>;
|
352
|
+
loading: import("vue").Ref<boolean>;
|
353
|
+
remoteMenuList: import("vue").Ref<{
|
271
354
|
id: string;
|
355
|
+
name: string;
|
356
|
+
disabled?: boolean;
|
272
357
|
realId?: string;
|
358
|
+
value?: {
|
359
|
+
name: string;
|
360
|
+
id: string;
|
361
|
+
realId?: string;
|
362
|
+
isSelected?: boolean;
|
363
|
+
logical?: import("./utils").SearchLogical;
|
364
|
+
};
|
273
365
|
isSelected?: boolean;
|
274
366
|
logical?: import("./utils").SearchLogical;
|
367
|
+
}[]>;
|
368
|
+
menuList: import("vue").Ref<import("./utils").ISearchItem[]>;
|
369
|
+
menuHoverId: import("vue").Ref<string>;
|
370
|
+
isFocus: import("vue").Ref<boolean>;
|
371
|
+
usingItem: import("vue").Ref<import("./utils").SelectedItem>;
|
372
|
+
showPopover: import("vue").Ref<boolean>;
|
373
|
+
showNoSelectValueError: import("vue").Ref<boolean>;
|
374
|
+
debounceSetMenuList: {
|
375
|
+
(this: any): any;
|
376
|
+
cancel(): void;
|
275
377
|
};
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
378
|
+
documentArrowEvent: (e: KeyboardEvent) => void;
|
379
|
+
handleClickOutside: (e: MouseEvent) => void;
|
380
|
+
handleInputFocus: (event?: FocusEvent) => void;
|
381
|
+
handleInputChange: (event: Event) => void;
|
382
|
+
handleInputPaste: (event: ClipboardEvent) => void;
|
383
|
+
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
384
|
+
handleInputKeyup: (event: KeyboardEvent) => void;
|
385
|
+
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
386
|
+
handleSelectConditionItem: (item: import("./utils").ICommonItem) => void;
|
387
|
+
handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
|
388
|
+
resolveClassName: (cls: string) => string;
|
389
|
+
inputFocusForWrapper: () => void;
|
390
|
+
inputEnterForWrapper: () => Promise<void>;
|
391
|
+
inputClearForWrapper: () => void;
|
392
|
+
deleteInputTextNode: () => void;
|
393
|
+
customPanelSubmit: (value: string) => void;
|
394
|
+
refleshMenuHover: () => void;
|
395
|
+
t: import("vue").ComputedRef<{
|
396
|
+
pleaseSelect: string;
|
397
|
+
loading: string;
|
398
|
+
filterQueryMustHasValue: string;
|
399
|
+
ok: string;
|
400
|
+
cancel: string;
|
401
|
+
or: string;
|
402
|
+
and: string;
|
403
|
+
logical: string;
|
404
|
+
}>;
|
405
|
+
inputKey: import("vue").Ref<string>;
|
406
|
+
}> & {} & import("vue").ComponentCustomProperties & {}>;
|
407
|
+
wrapRef: import("vue").Ref<HTMLDivElement>;
|
408
|
+
isFocus: import("vue").Ref<boolean>;
|
409
|
+
copyData: import("vue").ShallowRef<import("./utils").ISearchItem[]>;
|
410
|
+
selectedList: import("vue").Ref<{
|
283
411
|
id: string;
|
284
412
|
name: string;
|
285
|
-
|
413
|
+
values: {
|
286
414
|
id: string;
|
287
415
|
name: string;
|
288
416
|
disabled?: boolean;
|
@@ -297,179 +425,164 @@ declare const BkSearchSelect: {
|
|
297
425
|
isSelected?: boolean;
|
298
426
|
logical?: import("./utils").SearchLogical;
|
299
427
|
}[];
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
disabled?: boolean;
|
305
|
-
value?: {
|
428
|
+
condition: string;
|
429
|
+
logical: import("./utils").SearchLogical;
|
430
|
+
nameRenderKey: string;
|
431
|
+
searchItem: {
|
306
432
|
id: string;
|
307
433
|
name: string;
|
434
|
+
children?: {
|
435
|
+
id: string;
|
436
|
+
name: string;
|
437
|
+
disabled?: boolean;
|
438
|
+
realId?: string;
|
439
|
+
value?: {
|
440
|
+
name: string;
|
441
|
+
id: string;
|
442
|
+
realId?: string;
|
443
|
+
isSelected?: boolean;
|
444
|
+
logical?: import("./utils").SearchLogical;
|
445
|
+
};
|
446
|
+
isSelected?: boolean;
|
447
|
+
logical?: import("./utils").SearchLogical;
|
448
|
+
}[];
|
449
|
+
multiple?: boolean;
|
450
|
+
async?: boolean;
|
451
|
+
noValidate?: boolean;
|
452
|
+
placeholder?: string;
|
308
453
|
disabled?: boolean;
|
309
|
-
realId?: string;
|
310
454
|
value?: {
|
311
|
-
name: string;
|
312
455
|
id: string;
|
456
|
+
name: string;
|
457
|
+
disabled?: boolean;
|
313
458
|
realId?: string;
|
459
|
+
value?: {
|
460
|
+
name: string;
|
461
|
+
id: string;
|
462
|
+
realId?: string;
|
463
|
+
isSelected?: boolean;
|
464
|
+
logical?: import("./utils").SearchLogical;
|
465
|
+
};
|
314
466
|
isSelected?: boolean;
|
315
467
|
logical?: import("./utils").SearchLogical;
|
316
468
|
};
|
317
469
|
isSelected?: boolean;
|
470
|
+
onlyRecommendChildren?: boolean;
|
318
471
|
logical?: import("./utils").SearchLogical;
|
472
|
+
showLogicalPanel?: boolean;
|
473
|
+
isCustomMenu?: boolean;
|
319
474
|
};
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
isCustomMenu?: boolean;
|
325
|
-
};
|
326
|
-
type: import("./utils").SearchItemType;
|
327
|
-
readonly multiple: boolean;
|
328
|
-
readonly placeholder: string;
|
329
|
-
readonly children: {
|
330
|
-
id: string;
|
331
|
-
name: string;
|
332
|
-
disabled?: boolean;
|
333
|
-
realId?: string;
|
334
|
-
value?: {
|
335
|
-
name: string;
|
475
|
+
type: import("./utils").SearchItemType;
|
476
|
+
readonly multiple: boolean;
|
477
|
+
readonly placeholder: string;
|
478
|
+
readonly children: {
|
336
479
|
id: string;
|
480
|
+
name: string;
|
481
|
+
disabled?: boolean;
|
337
482
|
realId?: string;
|
483
|
+
value?: {
|
484
|
+
name: string;
|
485
|
+
id: string;
|
486
|
+
realId?: string;
|
487
|
+
isSelected?: boolean;
|
488
|
+
logical?: import("./utils").SearchLogical;
|
489
|
+
};
|
338
490
|
isSelected?: boolean;
|
339
491
|
logical?: import("./utils").SearchLogical;
|
340
|
-
};
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
}
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
uniqueSelect: {
|
418
|
-
type: BooleanConstructor;
|
419
|
-
default: boolean;
|
420
|
-
};
|
421
|
-
valueBehavior: {
|
422
|
-
type: import("vue").PropType<"all" | "need-key">;
|
423
|
-
default: import("./utils").ValueBehavior;
|
424
|
-
validator(v: import("./utils").ValueBehavior): boolean;
|
492
|
+
}[];
|
493
|
+
readonly validate: boolean;
|
494
|
+
readonly inputInnerHtml: string;
|
495
|
+
readonly inputInnerText: string;
|
496
|
+
readonly keyInnerHtml: string;
|
497
|
+
readonly keyInnerText: string;
|
498
|
+
readonly showLogical: boolean;
|
499
|
+
readonly isCustomMenu: boolean;
|
500
|
+
isSpecialType: () => boolean;
|
501
|
+
addValue: (item: import("./utils").ICommonItem) => void;
|
502
|
+
str2Values: (str: string) => import("./utils").ICommonItem[];
|
503
|
+
addValues: (str: string, mergeValues?: boolean) => void;
|
504
|
+
getValue: (str: string) => import("./utils").ICommonItem;
|
505
|
+
toValue: () => import("./utils").ISearchValue;
|
506
|
+
toValueKey: () => string;
|
507
|
+
isInValueList: (item: import("./utils").ICommonItem) => boolean;
|
508
|
+
}[]>;
|
509
|
+
overflowIndex: import("vue").Ref<number>;
|
510
|
+
validateStr: import("vue").Ref<string>;
|
511
|
+
onEditClick: (item: import("./utils").SelectedItem, index: number) => void;
|
512
|
+
onEditEnter: (item: import("./utils").SelectedItem, index: number) => void;
|
513
|
+
handleWrapClick: () => void;
|
514
|
+
handleInputFocus: (v: boolean) => void;
|
515
|
+
handleResize: () => void;
|
516
|
+
handleClearAll: () => void;
|
517
|
+
handleInputOutside: (target: Node) => boolean;
|
518
|
+
handleAddSelected: (item: import("./utils").SelectedItem) => void;
|
519
|
+
handleDeleteSelected: (index?: number) => void;
|
520
|
+
handleClickSearch: (e: MouseEvent) => void;
|
521
|
+
localConditions: import("vue").ComputedRef<import("./utils").ICommonItem[]>;
|
522
|
+
resolveClassName: (cls: string) => string;
|
523
|
+
handleSelectedKey: (a: import("./utils").ICommonItem) => void;
|
524
|
+
t: import("vue").ComputedRef<{
|
525
|
+
pleaseSelect: string;
|
526
|
+
loading: string;
|
527
|
+
filterQueryMustHasValue: string;
|
528
|
+
ok: string;
|
529
|
+
cancel: string;
|
530
|
+
or: string;
|
531
|
+
and: string;
|
532
|
+
logical: string;
|
533
|
+
}>;
|
534
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "update:modelValue" | "selectKey")[], string, {
|
535
|
+
data: Omit<import("./utils").ISearchItem, "value" | "isSelected">[];
|
536
|
+
maxHeight: number;
|
537
|
+
clearable: boolean;
|
538
|
+
modelValue: import("./utils").ISearchValue[];
|
539
|
+
conditions: import("./utils").ICommonItem[];
|
540
|
+
valueBehavior: "all" | "need-key";
|
541
|
+
uniqueSelect: boolean;
|
542
|
+
}, {}, string, import("vue").SlotsType<{
|
543
|
+
menu: import("./utils").MenuSlotParams;
|
544
|
+
prepend: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
545
|
+
[key: string]: any;
|
546
|
+
}>;
|
547
|
+
append: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
548
|
+
[key: string]: any;
|
549
|
+
}>;
|
550
|
+
validate: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
551
|
+
[key: string]: any;
|
552
|
+
}>;
|
553
|
+
}>> & {
|
554
|
+
beforeCreate?: (() => void) | (() => void)[];
|
555
|
+
created?: (() => void) | (() => void)[];
|
556
|
+
beforeMount?: (() => void) | (() => void)[];
|
557
|
+
mounted?: (() => void) | (() => void)[];
|
558
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
559
|
+
updated?: (() => void) | (() => void)[];
|
560
|
+
activated?: (() => void) | (() => void)[];
|
561
|
+
deactivated?: (() => void) | (() => void)[];
|
562
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
563
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
564
|
+
destroyed?: (() => void) | (() => void)[];
|
565
|
+
unmounted?: (() => void) | (() => void)[];
|
566
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
567
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
568
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
|
425
569
|
};
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
}, {
|
431
|
-
data: import("./utils").ISearchItem[];
|
432
|
-
maxHeight: number;
|
433
|
-
clearable: boolean;
|
434
|
-
modelValue: import("./utils").ISearchValue[];
|
435
|
-
minHeight: number;
|
436
|
-
conditions: import("./utils").ICommonItem[];
|
437
|
-
valueBehavior: "all" | "need-key";
|
438
|
-
shrink: boolean;
|
439
|
-
uniqueSelect: boolean;
|
440
|
-
}, true, {}, import("vue").SlotsType<{
|
441
|
-
menu: import("./utils").MenuSlotParams;
|
442
|
-
prepend: void;
|
443
|
-
append: void;
|
444
|
-
validate: void;
|
445
|
-
}>, {
|
446
|
-
P: {};
|
447
|
-
B: {};
|
448
|
-
D: {};
|
449
|
-
C: {};
|
450
|
-
M: {};
|
451
|
-
Defaults: {};
|
452
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
570
|
+
$forceUpdate: () => void;
|
571
|
+
$nextTick: typeof import("vue").nextTick;
|
572
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
573
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
453
574
|
data: {
|
454
|
-
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
575
|
+
type: import("vue").PropType<Omit<import("./utils").ISearchItem, "value" | "isSelected">[]>;
|
455
576
|
default: () => any[];
|
456
577
|
};
|
457
578
|
modelValue: {
|
458
579
|
type: import("vue").PropType<import("./utils").ISearchValue[]>;
|
459
580
|
default: () => any[];
|
460
581
|
};
|
461
|
-
shrink: {
|
462
|
-
type: BooleanConstructor;
|
463
|
-
default: boolean;
|
464
|
-
};
|
465
582
|
maxHeight: {
|
466
583
|
type: NumberConstructor;
|
467
584
|
default: number;
|
468
585
|
};
|
469
|
-
minHeight: {
|
470
|
-
type: NumberConstructor;
|
471
|
-
default: number;
|
472
|
-
};
|
473
586
|
conditions: {
|
474
587
|
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
475
588
|
default: () => any[];
|
@@ -480,144 +593,216 @@ declare const BkSearchSelect: {
|
|
480
593
|
};
|
481
594
|
placeholder: StringConstructor;
|
482
595
|
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
483
|
-
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
484
|
-
uniqueSelect: {
|
485
|
-
type: BooleanConstructor;
|
486
|
-
default: boolean;
|
487
|
-
};
|
488
|
-
valueBehavior: {
|
489
|
-
type: import("vue").PropType<"all" | "need-key">;
|
490
|
-
default: import("./utils").ValueBehavior;
|
491
|
-
validator(v: import("./utils").ValueBehavior): boolean;
|
492
|
-
};
|
493
|
-
}>> & {
|
494
|
-
"onUpdate:modelValue"?: (...args: any[]) => any;
|
495
|
-
onSelectKey?: (...args: any[]) => any;
|
496
|
-
onSearch?: (...args: any[]) => any;
|
497
|
-
}
|
498
|
-
inputRef: import("vue").Ref<
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
}
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
handleSelectCondtionItem: (item: import("./utils").ICommonItem) => void;
|
563
|
-
handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
|
564
|
-
resolveClassName: (cls: string) => string;
|
565
|
-
inputFocusForWrapper: () => void;
|
566
|
-
inputEnterForWrapper: () => Promise<void>;
|
567
|
-
inputClearForWrapper: () => void;
|
568
|
-
deleteInputTextNode: () => void;
|
569
|
-
customPanelSubmit: (value: string) => void;
|
570
|
-
t: import("vue").ComputedRef<{
|
571
|
-
pleaseSelect: string;
|
572
|
-
loading: string;
|
573
|
-
filterQueryMustHasValue: string;
|
574
|
-
ok: string;
|
575
|
-
cancel: string;
|
576
|
-
or: string;
|
577
|
-
and: string;
|
578
|
-
logical: string;
|
579
|
-
}>;
|
580
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "delete" | "add" | "selectKey")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
581
|
-
data: {
|
582
|
-
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
583
|
-
required: true;
|
596
|
+
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
597
|
+
uniqueSelect: {
|
598
|
+
type: BooleanConstructor;
|
599
|
+
default: boolean;
|
600
|
+
};
|
601
|
+
valueBehavior: {
|
602
|
+
type: import("vue").PropType<"all" | "need-key">;
|
603
|
+
default: import("./utils").ValueBehavior;
|
604
|
+
validator(v: import("./utils").ValueBehavior): boolean;
|
605
|
+
};
|
606
|
+
}>> & {
|
607
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
608
|
+
onSelectKey?: (...args: any[]) => any;
|
609
|
+
onSearch?: (...args: any[]) => any;
|
610
|
+
} & import("vue").ShallowUnwrapRef<{
|
611
|
+
inputRef: import("vue").Ref<{
|
612
|
+
$: import("vue").ComponentInternalInstance;
|
613
|
+
$data: {};
|
614
|
+
$props: {
|
615
|
+
maxHeight?: number;
|
616
|
+
mode?: import("./utils").SearchInputMode;
|
617
|
+
conditions?: import("./utils").ICommonItem[];
|
618
|
+
showInputBefore?: boolean;
|
619
|
+
showCondition?: boolean;
|
620
|
+
class?: unknown;
|
621
|
+
readonly data: import("./utils").ISearchItem[];
|
622
|
+
style?: unknown;
|
623
|
+
onFocus?: (...args: any[]) => any;
|
624
|
+
ref?: import("vue").VNodeRef;
|
625
|
+
key?: string | number | symbol;
|
626
|
+
ref_for?: boolean;
|
627
|
+
ref_key?: string;
|
628
|
+
onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
629
|
+
[key: string]: any;
|
630
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
631
|
+
[key: string]: any;
|
632
|
+
}>) => void)[];
|
633
|
+
onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
634
|
+
[key: string]: any;
|
635
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
636
|
+
[key: string]: any;
|
637
|
+
}>) => void)[];
|
638
|
+
onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
639
|
+
[key: string]: any;
|
640
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
641
|
+
[key: string]: any;
|
642
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
643
|
+
[key: string]: any;
|
644
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
645
|
+
[key: string]: any;
|
646
|
+
}>) => void)[];
|
647
|
+
onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
648
|
+
[key: string]: any;
|
649
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
650
|
+
[key: string]: any;
|
651
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
652
|
+
[key: string]: any;
|
653
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
654
|
+
[key: string]: any;
|
655
|
+
}>) => void)[];
|
656
|
+
onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
657
|
+
[key: string]: any;
|
658
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
659
|
+
[key: string]: any;
|
660
|
+
}>) => void)[];
|
661
|
+
onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
662
|
+
[key: string]: any;
|
663
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
664
|
+
[key: string]: any;
|
665
|
+
}>) => void)[];
|
666
|
+
readonly placeholder?: string;
|
667
|
+
onAdd?: (...args: any[]) => any;
|
668
|
+
onDelete?: (...args: any[]) => any;
|
669
|
+
onSelectKey?: (...args: any[]) => any;
|
670
|
+
readonly clickOutside?: Function;
|
671
|
+
readonly defaultUsingItem?: import("./utils").SelectedItem;
|
672
|
+
readonly getMenuList?: import("./utils").GetMenuListFunc;
|
673
|
+
readonly validateValues?: import("./utils").ValidateValuesFunc;
|
674
|
+
readonly valueBehavior?: import("./utils").ValueBehavior;
|
584
675
|
};
|
585
|
-
|
586
|
-
|
587
|
-
clickOutside: FunctionConstructor;
|
588
|
-
placeholder: StringConstructor;
|
589
|
-
conditions: {
|
590
|
-
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
591
|
-
default: () => any[];
|
676
|
+
$attrs: {
|
677
|
+
[x: string]: unknown;
|
592
678
|
};
|
593
|
-
|
594
|
-
|
595
|
-
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
596
|
-
default: import("./utils").SearchInputMode;
|
679
|
+
$refs: {
|
680
|
+
[x: string]: unknown;
|
597
681
|
};
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
682
|
+
$slots: Readonly<{
|
683
|
+
menu: import("vue").Slot<import("./utils").MenuSlotParams>;
|
684
|
+
}>;
|
685
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
686
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
687
|
+
$emit: (event: "focus" | "add" | "delete" | "selectKey", ...args: any[]) => void;
|
688
|
+
$el: any;
|
689
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
690
|
+
data: {
|
691
|
+
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
692
|
+
required: true;
|
693
|
+
};
|
694
|
+
showInputBefore: BooleanConstructor;
|
695
|
+
showCondition: BooleanConstructor;
|
696
|
+
clickOutside: FunctionConstructor;
|
697
|
+
placeholder: StringConstructor;
|
698
|
+
conditions: {
|
699
|
+
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
700
|
+
default: () => any[];
|
701
|
+
};
|
702
|
+
defaultUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
|
703
|
+
mode: {
|
704
|
+
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
705
|
+
default: import("./utils").SearchInputMode;
|
706
|
+
};
|
707
|
+
maxHeight: {
|
708
|
+
type: NumberConstructor;
|
709
|
+
default: () => number;
|
710
|
+
};
|
711
|
+
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
712
|
+
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
713
|
+
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
714
|
+
}>> & {
|
715
|
+
onFocus?: (...args: any[]) => any;
|
716
|
+
onAdd?: (...args: any[]) => any;
|
717
|
+
onDelete?: (...args: any[]) => any;
|
718
|
+
onSelectKey?: (...args: any[]) => any;
|
719
|
+
}, {
|
720
|
+
popoverRef: import("vue").Ref<HTMLDivElement>;
|
721
|
+
inputRef: import("vue").Ref<HTMLDivElement>;
|
722
|
+
keyword: import("vue").Ref<string>;
|
723
|
+
loading: import("vue").Ref<boolean>;
|
724
|
+
remoteMenuList: import("vue").Ref<{
|
725
|
+
id: string;
|
726
|
+
name: string;
|
727
|
+
disabled?: boolean;
|
728
|
+
realId?: string;
|
729
|
+
value?: {
|
730
|
+
name: string;
|
731
|
+
id: string;
|
732
|
+
realId?: string;
|
733
|
+
isSelected?: boolean;
|
734
|
+
logical?: import("./utils").SearchLogical;
|
735
|
+
};
|
736
|
+
isSelected?: boolean;
|
737
|
+
logical?: import("./utils").SearchLogical;
|
738
|
+
}[]>;
|
739
|
+
menuList: import("vue").Ref<import("./utils").ISearchItem[]>;
|
740
|
+
menuHoverId: import("vue").Ref<string>;
|
741
|
+
isFocus: import("vue").Ref<boolean>;
|
742
|
+
usingItem: import("vue").Ref<import("./utils").SelectedItem>;
|
743
|
+
showPopover: import("vue").Ref<boolean>;
|
744
|
+
showNoSelectValueError: import("vue").Ref<boolean>;
|
745
|
+
debounceSetMenuList: {
|
746
|
+
(this: any): any;
|
747
|
+
cancel(): void;
|
748
|
+
};
|
749
|
+
documentArrowEvent: (e: KeyboardEvent) => void;
|
750
|
+
handleClickOutside: (e: MouseEvent) => void;
|
751
|
+
handleInputFocus: (event?: FocusEvent) => void;
|
752
|
+
handleInputChange: (event: Event) => void;
|
753
|
+
handleInputPaste: (event: ClipboardEvent) => void;
|
754
|
+
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
755
|
+
handleInputKeyup: (event: KeyboardEvent) => void;
|
756
|
+
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
757
|
+
handleSelectConditionItem: (item: import("./utils").ICommonItem) => void;
|
758
|
+
handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
|
759
|
+
resolveClassName: (cls: string) => string;
|
760
|
+
inputFocusForWrapper: () => void;
|
761
|
+
inputEnterForWrapper: () => Promise<void>;
|
762
|
+
inputClearForWrapper: () => void;
|
763
|
+
deleteInputTextNode: () => void;
|
764
|
+
customPanelSubmit: (value: string) => void;
|
765
|
+
refleshMenuHover: () => void;
|
766
|
+
t: import("vue").ComputedRef<{
|
767
|
+
pleaseSelect: string;
|
768
|
+
loading: string;
|
769
|
+
filterQueryMustHasValue: string;
|
770
|
+
ok: string;
|
771
|
+
cancel: string;
|
772
|
+
or: string;
|
773
|
+
and: string;
|
774
|
+
logical: string;
|
775
|
+
}>;
|
776
|
+
inputKey: import("vue").Ref<string>;
|
777
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "add" | "delete" | "selectKey")[], string, {
|
778
|
+
maxHeight: number;
|
779
|
+
mode: import("./utils").SearchInputMode;
|
780
|
+
conditions: import("./utils").ICommonItem[];
|
781
|
+
showInputBefore: boolean;
|
782
|
+
showCondition: boolean;
|
783
|
+
}, {}, string, import("vue").SlotsType<{
|
784
|
+
menu: import("./utils").MenuSlotParams;
|
785
|
+
}>> & {
|
786
|
+
beforeCreate?: (() => void) | (() => void)[];
|
787
|
+
created?: (() => void) | (() => void)[];
|
788
|
+
beforeMount?: (() => void) | (() => void)[];
|
789
|
+
mounted?: (() => void) | (() => void)[];
|
790
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
791
|
+
updated?: (() => void) | (() => void)[];
|
792
|
+
activated?: (() => void) | (() => void)[];
|
793
|
+
deactivated?: (() => void) | (() => void)[];
|
794
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
795
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
796
|
+
destroyed?: (() => void) | (() => void)[];
|
797
|
+
unmounted?: (() => void) | (() => void)[];
|
798
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
799
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
800
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
|
801
|
+
};
|
802
|
+
$forceUpdate: () => void;
|
803
|
+
$nextTick: typeof import("vue").nextTick;
|
804
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
805
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
621
806
|
data: {
|
622
807
|
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
623
808
|
required: true;
|
@@ -630,20 +815,24 @@ declare const BkSearchSelect: {
|
|
630
815
|
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
631
816
|
default: () => any[];
|
632
817
|
};
|
633
|
-
|
818
|
+
defaultUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
|
634
819
|
mode: {
|
635
820
|
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
636
821
|
default: import("./utils").SearchInputMode;
|
637
822
|
};
|
823
|
+
maxHeight: {
|
824
|
+
type: NumberConstructor;
|
825
|
+
default: () => number;
|
826
|
+
};
|
638
827
|
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
639
828
|
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
640
829
|
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
641
830
|
}>> & {
|
642
831
|
onFocus?: (...args: any[]) => any;
|
643
|
-
onDelete?: (...args: any[]) => any;
|
644
832
|
onAdd?: (...args: any[]) => any;
|
833
|
+
onDelete?: (...args: any[]) => any;
|
645
834
|
onSelectKey?: (...args: any[]) => any;
|
646
|
-
}
|
835
|
+
} & import("vue").ShallowUnwrapRef<{
|
647
836
|
popoverRef: import("vue").Ref<HTMLDivElement>;
|
648
837
|
inputRef: import("vue").Ref<HTMLDivElement>;
|
649
838
|
keyword: import("vue").Ref<string>;
|
@@ -675,13 +864,13 @@ declare const BkSearchSelect: {
|
|
675
864
|
};
|
676
865
|
documentArrowEvent: (e: KeyboardEvent) => void;
|
677
866
|
handleClickOutside: (e: MouseEvent) => void;
|
678
|
-
handleInputFocus: () => void;
|
867
|
+
handleInputFocus: (event?: FocusEvent) => void;
|
679
868
|
handleInputChange: (event: Event) => void;
|
680
869
|
handleInputPaste: (event: ClipboardEvent) => void;
|
681
870
|
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
682
871
|
handleInputKeyup: (event: KeyboardEvent) => void;
|
683
872
|
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
684
|
-
|
873
|
+
handleSelectConditionItem: (item: import("./utils").ICommonItem) => void;
|
685
874
|
handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
|
686
875
|
resolveClassName: (cls: string) => string;
|
687
876
|
inputFocusForWrapper: () => void;
|
@@ -689,6 +878,7 @@ declare const BkSearchSelect: {
|
|
689
878
|
inputClearForWrapper: () => void;
|
690
879
|
deleteInputTextNode: () => void;
|
691
880
|
customPanelSubmit: (value: string) => void;
|
881
|
+
refleshMenuHover: () => void;
|
692
882
|
t: import("vue").ComputedRef<{
|
693
883
|
pleaseSelect: string;
|
694
884
|
loading: string;
|
@@ -699,12 +889,8 @@ declare const BkSearchSelect: {
|
|
699
889
|
and: string;
|
700
890
|
logical: string;
|
701
891
|
}>;
|
702
|
-
|
703
|
-
|
704
|
-
conditions: import("./utils").ICommonItem[];
|
705
|
-
showInputBefore: boolean;
|
706
|
-
showCondition: boolean;
|
707
|
-
}>>;
|
892
|
+
inputKey: import("vue").Ref<string>;
|
893
|
+
}> & {} & import("vue").ComponentCustomProperties & {}>;
|
708
894
|
wrapRef: import("vue").Ref<HTMLDivElement>;
|
709
895
|
isFocus: import("vue").Ref<boolean>;
|
710
896
|
copyData: import("vue").ShallowRef<import("./utils").ISearchItem[]>;
|
@@ -728,7 +914,7 @@ declare const BkSearchSelect: {
|
|
728
914
|
}[];
|
729
915
|
condition: string;
|
730
916
|
logical: import("./utils").SearchLogical;
|
731
|
-
|
917
|
+
nameRenderKey: string;
|
732
918
|
searchItem: {
|
733
919
|
id: string;
|
734
920
|
name: string;
|
@@ -821,7 +1007,7 @@ declare const BkSearchSelect: {
|
|
821
1007
|
handleClickSearch: (e: MouseEvent) => void;
|
822
1008
|
localConditions: import("vue").ComputedRef<import("./utils").ICommonItem[]>;
|
823
1009
|
resolveClassName: (cls: string) => string;
|
824
|
-
handleSelectedKey: (a:
|
1010
|
+
handleSelectedKey: (a: import("./utils").ICommonItem) => void;
|
825
1011
|
t: import("vue").ComputedRef<{
|
826
1012
|
pleaseSelect: string;
|
827
1013
|
loading: string;
|
@@ -832,41 +1018,23 @@ declare const BkSearchSelect: {
|
|
832
1018
|
and: string;
|
833
1019
|
logical: string;
|
834
1020
|
}>;
|
835
|
-
}
|
836
|
-
data: import("./utils").ISearchItem[];
|
837
|
-
maxHeight: number;
|
838
|
-
clearable: boolean;
|
839
|
-
modelValue: import("./utils").ISearchValue[];
|
840
|
-
minHeight: number;
|
841
|
-
conditions: import("./utils").ICommonItem[];
|
842
|
-
valueBehavior: "all" | "need-key";
|
843
|
-
shrink: boolean;
|
844
|
-
uniqueSelect: boolean;
|
845
|
-
}>;
|
1021
|
+
}> & {} & import("vue").ComponentCustomProperties & {};
|
846
1022
|
__isFragment?: never;
|
847
1023
|
__isTeleport?: never;
|
848
1024
|
__isSuspense?: never;
|
849
1025
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
850
1026
|
data: {
|
851
|
-
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
1027
|
+
type: import("vue").PropType<Omit<import("./utils").ISearchItem, "value" | "isSelected">[]>;
|
852
1028
|
default: () => any[];
|
853
1029
|
};
|
854
1030
|
modelValue: {
|
855
1031
|
type: import("vue").PropType<import("./utils").ISearchValue[]>;
|
856
1032
|
default: () => any[];
|
857
1033
|
};
|
858
|
-
shrink: {
|
859
|
-
type: BooleanConstructor;
|
860
|
-
default: boolean;
|
861
|
-
};
|
862
1034
|
maxHeight: {
|
863
1035
|
type: NumberConstructor;
|
864
1036
|
default: number;
|
865
1037
|
};
|
866
|
-
minHeight: {
|
867
|
-
type: NumberConstructor;
|
868
|
-
default: number;
|
869
|
-
};
|
870
1038
|
conditions: {
|
871
1039
|
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
872
1040
|
default: () => any[];
|
@@ -892,89 +1060,201 @@ declare const BkSearchSelect: {
|
|
892
1060
|
onSelectKey?: (...args: any[]) => any;
|
893
1061
|
onSearch?: (...args: any[]) => any;
|
894
1062
|
}, {
|
895
|
-
inputRef: import("vue").Ref<
|
896
|
-
|
897
|
-
|
898
|
-
|
1063
|
+
inputRef: import("vue").Ref<{
|
1064
|
+
$: import("vue").ComponentInternalInstance;
|
1065
|
+
$data: {};
|
1066
|
+
$props: {
|
1067
|
+
maxHeight?: number;
|
1068
|
+
mode?: import("./utils").SearchInputMode;
|
1069
|
+
conditions?: import("./utils").ICommonItem[];
|
1070
|
+
showInputBefore?: boolean;
|
1071
|
+
showCondition?: boolean;
|
1072
|
+
class?: unknown;
|
1073
|
+
readonly data: import("./utils").ISearchItem[];
|
1074
|
+
style?: unknown;
|
1075
|
+
onFocus?: (...args: any[]) => any;
|
1076
|
+
ref?: import("vue").VNodeRef;
|
1077
|
+
key?: string | number | symbol;
|
1078
|
+
ref_for?: boolean;
|
1079
|
+
ref_key?: string;
|
1080
|
+
onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
1081
|
+
[key: string]: any;
|
1082
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
1083
|
+
[key: string]: any;
|
1084
|
+
}>) => void)[];
|
1085
|
+
onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
1086
|
+
[key: string]: any;
|
1087
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
1088
|
+
[key: string]: any;
|
1089
|
+
}>) => void)[];
|
1090
|
+
onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
1091
|
+
[key: string]: any;
|
1092
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
1093
|
+
[key: string]: any;
|
1094
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
1095
|
+
[key: string]: any;
|
1096
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
1097
|
+
[key: string]: any;
|
1098
|
+
}>) => void)[];
|
1099
|
+
onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
1100
|
+
[key: string]: any;
|
1101
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
1102
|
+
[key: string]: any;
|
1103
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
1104
|
+
[key: string]: any;
|
1105
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
1106
|
+
[key: string]: any;
|
1107
|
+
}>) => void)[];
|
1108
|
+
onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
1109
|
+
[key: string]: any;
|
1110
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
1111
|
+
[key: string]: any;
|
1112
|
+
}>) => void)[];
|
1113
|
+
onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
1114
|
+
[key: string]: any;
|
1115
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
1116
|
+
[key: string]: any;
|
1117
|
+
}>) => void)[];
|
1118
|
+
readonly placeholder?: string;
|
1119
|
+
onAdd?: (...args: any[]) => any;
|
1120
|
+
onDelete?: (...args: any[]) => any;
|
1121
|
+
onSelectKey?: (...args: any[]) => any;
|
1122
|
+
readonly clickOutside?: Function;
|
1123
|
+
readonly defaultUsingItem?: import("./utils").SelectedItem;
|
1124
|
+
readonly getMenuList?: import("./utils").GetMenuListFunc;
|
1125
|
+
readonly validateValues?: import("./utils").ValidateValuesFunc;
|
1126
|
+
readonly valueBehavior?: import("./utils").ValueBehavior;
|
899
1127
|
};
|
900
|
-
|
901
|
-
|
902
|
-
clickOutside: FunctionConstructor;
|
903
|
-
placeholder: StringConstructor;
|
904
|
-
conditions: {
|
905
|
-
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
906
|
-
default: () => any[];
|
1128
|
+
$attrs: {
|
1129
|
+
[x: string]: unknown;
|
907
1130
|
};
|
908
|
-
|
909
|
-
|
910
|
-
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
911
|
-
default: import("./utils").SearchInputMode;
|
1131
|
+
$refs: {
|
1132
|
+
[x: string]: unknown;
|
912
1133
|
};
|
913
|
-
|
914
|
-
|
915
|
-
|
916
|
-
|
917
|
-
|
918
|
-
|
919
|
-
|
920
|
-
|
921
|
-
|
922
|
-
|
923
|
-
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
|
928
|
-
|
929
|
-
|
930
|
-
|
931
|
-
|
932
|
-
|
1134
|
+
$slots: Readonly<{
|
1135
|
+
menu: import("vue").Slot<import("./utils").MenuSlotParams>;
|
1136
|
+
}>;
|
1137
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
1138
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
1139
|
+
$emit: (event: "focus" | "add" | "delete" | "selectKey", ...args: any[]) => void;
|
1140
|
+
$el: any;
|
1141
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
1142
|
+
data: {
|
1143
|
+
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
1144
|
+
required: true;
|
1145
|
+
};
|
1146
|
+
showInputBefore: BooleanConstructor;
|
1147
|
+
showCondition: BooleanConstructor;
|
1148
|
+
clickOutside: FunctionConstructor;
|
1149
|
+
placeholder: StringConstructor;
|
1150
|
+
conditions: {
|
1151
|
+
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
1152
|
+
default: () => any[];
|
1153
|
+
};
|
1154
|
+
defaultUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
|
1155
|
+
mode: {
|
1156
|
+
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
1157
|
+
default: import("./utils").SearchInputMode;
|
1158
|
+
};
|
1159
|
+
maxHeight: {
|
1160
|
+
type: NumberConstructor;
|
1161
|
+
default: () => number;
|
1162
|
+
};
|
1163
|
+
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
1164
|
+
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
1165
|
+
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
1166
|
+
}>> & {
|
1167
|
+
onFocus?: (...args: any[]) => any;
|
1168
|
+
onAdd?: (...args: any[]) => any;
|
1169
|
+
onDelete?: (...args: any[]) => any;
|
1170
|
+
onSelectKey?: (...args: any[]) => any;
|
1171
|
+
}, {
|
1172
|
+
popoverRef: import("vue").Ref<HTMLDivElement>;
|
1173
|
+
inputRef: import("vue").Ref<HTMLDivElement>;
|
1174
|
+
keyword: import("vue").Ref<string>;
|
1175
|
+
loading: import("vue").Ref<boolean>;
|
1176
|
+
remoteMenuList: import("vue").Ref<{
|
933
1177
|
id: string;
|
1178
|
+
name: string;
|
1179
|
+
disabled?: boolean;
|
934
1180
|
realId?: string;
|
1181
|
+
value?: {
|
1182
|
+
name: string;
|
1183
|
+
id: string;
|
1184
|
+
realId?: string;
|
1185
|
+
isSelected?: boolean;
|
1186
|
+
logical?: import("./utils").SearchLogical;
|
1187
|
+
};
|
935
1188
|
isSelected?: boolean;
|
936
1189
|
logical?: import("./utils").SearchLogical;
|
1190
|
+
}[]>;
|
1191
|
+
menuList: import("vue").Ref<import("./utils").ISearchItem[]>;
|
1192
|
+
menuHoverId: import("vue").Ref<string>;
|
1193
|
+
isFocus: import("vue").Ref<boolean>;
|
1194
|
+
usingItem: import("vue").Ref<import("./utils").SelectedItem>;
|
1195
|
+
showPopover: import("vue").Ref<boolean>;
|
1196
|
+
showNoSelectValueError: import("vue").Ref<boolean>;
|
1197
|
+
debounceSetMenuList: {
|
1198
|
+
(this: any): any;
|
1199
|
+
cancel(): void;
|
937
1200
|
};
|
938
|
-
|
939
|
-
|
940
|
-
|
941
|
-
|
942
|
-
|
943
|
-
|
944
|
-
|
945
|
-
|
946
|
-
|
947
|
-
|
948
|
-
(
|
949
|
-
|
1201
|
+
documentArrowEvent: (e: KeyboardEvent) => void;
|
1202
|
+
handleClickOutside: (e: MouseEvent) => void;
|
1203
|
+
handleInputFocus: (event?: FocusEvent) => void;
|
1204
|
+
handleInputChange: (event: Event) => void;
|
1205
|
+
handleInputPaste: (event: ClipboardEvent) => void;
|
1206
|
+
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
1207
|
+
handleInputKeyup: (event: KeyboardEvent) => void;
|
1208
|
+
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
1209
|
+
handleSelectConditionItem: (item: import("./utils").ICommonItem) => void;
|
1210
|
+
handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
|
1211
|
+
resolveClassName: (cls: string) => string;
|
1212
|
+
inputFocusForWrapper: () => void;
|
1213
|
+
inputEnterForWrapper: () => Promise<void>;
|
1214
|
+
inputClearForWrapper: () => void;
|
1215
|
+
deleteInputTextNode: () => void;
|
1216
|
+
customPanelSubmit: (value: string) => void;
|
1217
|
+
refleshMenuHover: () => void;
|
1218
|
+
t: import("vue").ComputedRef<{
|
1219
|
+
pleaseSelect: string;
|
1220
|
+
loading: string;
|
1221
|
+
filterQueryMustHasValue: string;
|
1222
|
+
ok: string;
|
1223
|
+
cancel: string;
|
1224
|
+
or: string;
|
1225
|
+
and: string;
|
1226
|
+
logical: string;
|
1227
|
+
}>;
|
1228
|
+
inputKey: import("vue").Ref<string>;
|
1229
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "add" | "delete" | "selectKey")[], string, {
|
1230
|
+
maxHeight: number;
|
1231
|
+
mode: import("./utils").SearchInputMode;
|
1232
|
+
conditions: import("./utils").ICommonItem[];
|
1233
|
+
showInputBefore: boolean;
|
1234
|
+
showCondition: boolean;
|
1235
|
+
}, {}, string, import("vue").SlotsType<{
|
1236
|
+
menu: import("./utils").MenuSlotParams;
|
1237
|
+
}>> & {
|
1238
|
+
beforeCreate?: (() => void) | (() => void)[];
|
1239
|
+
created?: (() => void) | (() => void)[];
|
1240
|
+
beforeMount?: (() => void) | (() => void)[];
|
1241
|
+
mounted?: (() => void) | (() => void)[];
|
1242
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
1243
|
+
updated?: (() => void) | (() => void)[];
|
1244
|
+
activated?: (() => void) | (() => void)[];
|
1245
|
+
deactivated?: (() => void) | (() => void)[];
|
1246
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
1247
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
1248
|
+
destroyed?: (() => void) | (() => void)[];
|
1249
|
+
unmounted?: (() => void) | (() => void)[];
|
1250
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
1251
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
1252
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
|
950
1253
|
};
|
951
|
-
|
952
|
-
|
953
|
-
|
954
|
-
|
955
|
-
handleInputPaste: (event: ClipboardEvent) => void;
|
956
|
-
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
957
|
-
handleInputKeyup: (event: KeyboardEvent) => void;
|
958
|
-
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
959
|
-
handleSelectCondtionItem: (item: import("./utils").ICommonItem) => void;
|
960
|
-
handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
|
961
|
-
resolveClassName: (cls: string) => string;
|
962
|
-
inputFocusForWrapper: () => void;
|
963
|
-
inputEnterForWrapper: () => Promise<void>;
|
964
|
-
inputClearForWrapper: () => void;
|
965
|
-
deleteInputTextNode: () => void;
|
966
|
-
customPanelSubmit: (value: string) => void;
|
967
|
-
t: import("vue").ComputedRef<{
|
968
|
-
pleaseSelect: string;
|
969
|
-
loading: string;
|
970
|
-
filterQueryMustHasValue: string;
|
971
|
-
ok: string;
|
972
|
-
cancel: string;
|
973
|
-
or: string;
|
974
|
-
and: string;
|
975
|
-
logical: string;
|
976
|
-
}>;
|
977
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "delete" | "add" | "selectKey")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
1254
|
+
$forceUpdate: () => void;
|
1255
|
+
$nextTick: typeof import("vue").nextTick;
|
1256
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
1257
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
978
1258
|
data: {
|
979
1259
|
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
980
1260
|
required: true;
|
@@ -987,60 +1267,24 @@ declare const BkSearchSelect: {
|
|
987
1267
|
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
988
1268
|
default: () => any[];
|
989
1269
|
};
|
990
|
-
|
1270
|
+
defaultUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
|
991
1271
|
mode: {
|
992
1272
|
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
993
1273
|
default: import("./utils").SearchInputMode;
|
994
1274
|
};
|
995
|
-
|
996
|
-
|
997
|
-
|
998
|
-
}>> & {
|
999
|
-
onFocus?: (...args: any[]) => any;
|
1000
|
-
onDelete?: (...args: any[]) => any;
|
1001
|
-
onAdd?: (...args: any[]) => any;
|
1002
|
-
onSelectKey?: (...args: any[]) => any;
|
1003
|
-
}, {
|
1004
|
-
mode: import("./utils").SearchInputMode;
|
1005
|
-
conditions: import("./utils").ICommonItem[];
|
1006
|
-
showInputBefore: boolean;
|
1007
|
-
showCondition: boolean;
|
1008
|
-
}, true, {}, import("vue").SlotsType<{
|
1009
|
-
menu: import("./utils").MenuSlotParams;
|
1010
|
-
}>, {
|
1011
|
-
P: {};
|
1012
|
-
B: {};
|
1013
|
-
D: {};
|
1014
|
-
C: {};
|
1015
|
-
M: {};
|
1016
|
-
Defaults: {};
|
1017
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
1018
|
-
data: {
|
1019
|
-
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
1020
|
-
required: true;
|
1021
|
-
};
|
1022
|
-
showInputBefore: BooleanConstructor;
|
1023
|
-
showCondition: BooleanConstructor;
|
1024
|
-
clickOutside: FunctionConstructor;
|
1025
|
-
placeholder: StringConstructor;
|
1026
|
-
conditions: {
|
1027
|
-
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
1028
|
-
default: () => any[];
|
1029
|
-
};
|
1030
|
-
defautUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
|
1031
|
-
mode: {
|
1032
|
-
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
1033
|
-
default: import("./utils").SearchInputMode;
|
1275
|
+
maxHeight: {
|
1276
|
+
type: NumberConstructor;
|
1277
|
+
default: () => number;
|
1034
1278
|
};
|
1035
1279
|
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
1036
1280
|
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
1037
1281
|
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
1038
1282
|
}>> & {
|
1039
1283
|
onFocus?: (...args: any[]) => any;
|
1040
|
-
onDelete?: (...args: any[]) => any;
|
1041
1284
|
onAdd?: (...args: any[]) => any;
|
1285
|
+
onDelete?: (...args: any[]) => any;
|
1042
1286
|
onSelectKey?: (...args: any[]) => any;
|
1043
|
-
}
|
1287
|
+
} & import("vue").ShallowUnwrapRef<{
|
1044
1288
|
popoverRef: import("vue").Ref<HTMLDivElement>;
|
1045
1289
|
inputRef: import("vue").Ref<HTMLDivElement>;
|
1046
1290
|
keyword: import("vue").Ref<string>;
|
@@ -1072,13 +1316,13 @@ declare const BkSearchSelect: {
|
|
1072
1316
|
};
|
1073
1317
|
documentArrowEvent: (e: KeyboardEvent) => void;
|
1074
1318
|
handleClickOutside: (e: MouseEvent) => void;
|
1075
|
-
handleInputFocus: () => void;
|
1319
|
+
handleInputFocus: (event?: FocusEvent) => void;
|
1076
1320
|
handleInputChange: (event: Event) => void;
|
1077
1321
|
handleInputPaste: (event: ClipboardEvent) => void;
|
1078
1322
|
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
1079
1323
|
handleInputKeyup: (event: KeyboardEvent) => void;
|
1080
1324
|
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
1081
|
-
|
1325
|
+
handleSelectConditionItem: (item: import("./utils").ICommonItem) => void;
|
1082
1326
|
handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
|
1083
1327
|
resolveClassName: (cls: string) => string;
|
1084
1328
|
inputFocusForWrapper: () => void;
|
@@ -1086,6 +1330,7 @@ declare const BkSearchSelect: {
|
|
1086
1330
|
inputClearForWrapper: () => void;
|
1087
1331
|
deleteInputTextNode: () => void;
|
1088
1332
|
customPanelSubmit: (value: string) => void;
|
1333
|
+
refleshMenuHover: () => void;
|
1089
1334
|
t: import("vue").ComputedRef<{
|
1090
1335
|
pleaseSelect: string;
|
1091
1336
|
loading: string;
|
@@ -1096,12 +1341,8 @@ declare const BkSearchSelect: {
|
|
1096
1341
|
and: string;
|
1097
1342
|
logical: string;
|
1098
1343
|
}>;
|
1099
|
-
|
1100
|
-
|
1101
|
-
conditions: import("./utils").ICommonItem[];
|
1102
|
-
showInputBefore: boolean;
|
1103
|
-
showCondition: boolean;
|
1104
|
-
}>>;
|
1344
|
+
inputKey: import("vue").Ref<string>;
|
1345
|
+
}> & {} & import("vue").ComponentCustomProperties & {}>;
|
1105
1346
|
wrapRef: import("vue").Ref<HTMLDivElement>;
|
1106
1347
|
isFocus: import("vue").Ref<boolean>;
|
1107
1348
|
copyData: import("vue").ShallowRef<import("./utils").ISearchItem[]>;
|
@@ -1125,7 +1366,7 @@ declare const BkSearchSelect: {
|
|
1125
1366
|
}[];
|
1126
1367
|
condition: string;
|
1127
1368
|
logical: import("./utils").SearchLogical;
|
1128
|
-
|
1369
|
+
nameRenderKey: string;
|
1129
1370
|
searchItem: {
|
1130
1371
|
id: string;
|
1131
1372
|
name: string;
|
@@ -1218,7 +1459,7 @@ declare const BkSearchSelect: {
|
|
1218
1459
|
handleClickSearch: (e: MouseEvent) => void;
|
1219
1460
|
localConditions: import("vue").ComputedRef<import("./utils").ICommonItem[]>;
|
1220
1461
|
resolveClassName: (cls: string) => string;
|
1221
|
-
handleSelectedKey: (a:
|
1462
|
+
handleSelectedKey: (a: import("./utils").ICommonItem) => void;
|
1222
1463
|
t: import("vue").ComputedRef<{
|
1223
1464
|
pleaseSelect: string;
|
1224
1465
|
loading: string;
|
@@ -1230,20 +1471,24 @@ declare const BkSearchSelect: {
|
|
1230
1471
|
logical: string;
|
1231
1472
|
}>;
|
1232
1473
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "update:modelValue" | "selectKey")[], "search" | "update:modelValue" | "selectKey", {
|
1233
|
-
data: import("./utils").ISearchItem[];
|
1474
|
+
data: Omit<import("./utils").ISearchItem, "value" | "isSelected">[];
|
1234
1475
|
maxHeight: number;
|
1235
1476
|
clearable: boolean;
|
1236
1477
|
modelValue: import("./utils").ISearchValue[];
|
1237
|
-
minHeight: number;
|
1238
1478
|
conditions: import("./utils").ICommonItem[];
|
1239
1479
|
valueBehavior: "all" | "need-key";
|
1240
|
-
shrink: boolean;
|
1241
1480
|
uniqueSelect: boolean;
|
1242
1481
|
}, {}, string, import("vue").SlotsType<{
|
1243
1482
|
menu: import("./utils").MenuSlotParams;
|
1244
|
-
prepend:
|
1245
|
-
|
1246
|
-
|
1483
|
+
prepend: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
1484
|
+
[key: string]: any;
|
1485
|
+
}>;
|
1486
|
+
append: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
1487
|
+
[key: string]: any;
|
1488
|
+
}>;
|
1489
|
+
validate: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
1490
|
+
[key: string]: any;
|
1491
|
+
}>;
|
1247
1492
|
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
|
1248
1493
|
export default BkSearchSelect;
|
1249
1494
|
export { BkSearchSelect };
|