bkui-vue 1.0.3-beta.9 → 2.0.1-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +162 -164
- package/dist/index.esm.js +31999 -29678
- package/dist/index.umd.js +162 -164
- package/dist/locale/en.esm.js +1 -1
- package/dist/locale/en.esm.js.map +1 -1
- package/dist/locale/en.umd.js +1 -1
- package/dist/locale/en.umd.js.map +1 -1
- package/dist/locale/zh-cn.esm.js +1 -1
- package/dist/locale/zh-cn.esm.js.map +1 -1
- package/dist/locale/zh-cn.umd.js +1 -1
- package/dist/locale/zh-cn.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.variable.css +3 -0
- package/lib/affix/index.js +7 -7
- package/lib/alert/alert.d.ts +5 -5
- package/lib/alert/alert.variable.css +3 -0
- package/lib/alert/index.d.ts +11 -11
- package/lib/backtop/backtop.d.ts +1 -1
- package/lib/backtop/backtop.variable.css +3 -0
- package/lib/backtop/index.d.ts +3 -3
- package/lib/backtop/index.js +6 -6
- package/lib/badge/badge.variable.css +3 -0
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/breadcrumb.variable.css +3 -0
- package/lib/button/button.d.ts +7 -7
- package/lib/button/button.variable.css +3 -0
- package/lib/button/index.d.ts +8 -8
- package/lib/button/index.js +6 -6
- package/lib/card/card.variable.css +3 -0
- package/lib/cascader/cascader-panel.d.ts +1 -1
- package/lib/cascader/cascader.css +3 -3
- package/lib/cascader/cascader.d.ts +1 -1
- package/lib/cascader/cascader.less +4 -4
- package/lib/cascader/cascader.variable.css +6 -3
- package/lib/cascader/index.js +35 -36
- package/lib/cascader/interface.d.ts +1 -1
- package/lib/checkbox/checkbox.variable.css +3 -0
- package/lib/checkbox/index.js +7 -7
- package/lib/checkbox/type.d.ts +1 -1
- package/lib/code-diff/code-diff.variable.css +3 -0
- package/lib/code-diff/index.js +8 -8
- package/lib/collapse/collapse.css +11 -0
- package/lib/collapse/collapse.d.ts +11 -0
- package/lib/collapse/collapse.less +15 -1
- package/lib/collapse/collapse.variable.css +14 -0
- package/lib/collapse/index.d.ts +23 -0
- package/lib/collapse/index.js +11 -3
- package/lib/collapse/props.d.ts +8 -0
- package/lib/collapse/utils.d.ts +2 -2
- package/lib/collapse-transition/collapse-transition.variable.css +3 -0
- package/lib/color-picker/color-picker.css +3 -3
- package/lib/color-picker/color-picker.less +3 -3
- package/lib/color-picker/color-picker.variable.css +6 -3
- package/lib/color-picker/index.js +45 -45
- package/lib/components.d.ts +32 -30
- package/lib/components.js +31 -29
- package/lib/config-provider/config-provider.d.ts +3 -0
- package/lib/config-provider/config-provider.variable.css +3 -0
- package/lib/config-provider/index.d.ts +5 -1
- package/lib/config-provider/token.d.ts +1 -0
- package/lib/container/container.variable.css +3 -0
- package/lib/container/index.js +6 -6
- package/lib/date-picker/base/date-table.d.ts +1 -1
- package/lib/date-picker/base/month-table.d.ts +3 -3
- package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
- package/lib/date-picker/base/year-table.d.ts +3 -3
- package/lib/date-picker/date-picker.d.ts +1 -0
- package/lib/date-picker/date-picker.variable.css +3 -0
- package/lib/date-picker/index.d.ts +3 -0
- package/lib/date-picker/index.js +340 -224
- package/lib/date-picker/interface.d.ts +9 -9
- package/lib/date-picker/panel/date-range.d.ts +2 -64
- package/lib/date-picker/panel/date.d.ts +1 -1
- package/lib/date-picker/panel/time-range.d.ts +1 -1
- package/lib/date-picker/panel/time.d.ts +1 -1
- package/lib/date-picker/props.d.ts +1 -1
- package/lib/date-picker/time-picker.d.ts +1 -0
- package/lib/date-picker/utils.d.ts +9 -1
- package/lib/dialog/dialog.css +172 -150
- package/lib/dialog/dialog.d.ts +55 -124
- package/lib/dialog/dialog.less +51 -124
- package/lib/dialog/dialog.variable.css +175 -150
- package/lib/dialog/index.d.ts +132 -296
- package/lib/dialog/index.js +244 -246
- package/lib/dialog/props.d.ts +16 -41
- package/lib/directives/index.d.ts +3 -3
- package/lib/directives/index.js +166 -167
- package/lib/directives/tooltips.d.ts +1 -1
- package/lib/dist.index.js +2 -2
- package/lib/divider/divider.d.ts +5 -5
- package/lib/divider/divider.variable.css +3 -0
- package/lib/divider/index.d.ts +11 -11
- package/lib/divider/index.js +2 -2
- package/lib/divider/props.d.ts +2 -2
- package/lib/dropdown/dropdown.css +3 -1
- package/lib/dropdown/dropdown.d.ts +5 -5
- package/lib/dropdown/dropdown.variable.css +6 -1
- package/lib/dropdown/index.d.ts +11 -11
- package/lib/dropdown/index.js +7 -7
- package/lib/exception/exception.d.ts +9 -9
- package/lib/exception/exception.variable.css +3 -0
- package/lib/exception/index.d.ts +11 -11
- package/lib/exception/index.js +10 -10
- package/lib/exception/typings/index.d.ts +1 -1
- package/lib/fixed-navbar/fixed-navbar.variable.css +3 -0
- package/lib/fixed-navbar/index.js +2 -2
- package/lib/form/form.d.ts +2 -2
- package/lib/form/form.variable.css +3 -0
- package/lib/form/index.js +17 -15
- package/lib/form/type.d.ts +2 -2
- package/lib/icon/image-fill.js +82 -167
- package/lib/icon/img-error.js +82 -167
- package/lib/icon/img-placehoulder.js +82 -167
- package/lib/icon/index.d.ts +12 -11
- package/lib/icon/index.js +87 -2427
- package/lib/icon/info-line.js +82 -167
- package/lib/icon/info.js +82 -167
- package/lib/icon/left-shape.js +82 -167
- package/lib/icon/left-turn-line.js +82 -167
- package/lib/icon/loading.js +82 -167
- package/lib/icon/narrow-line.js +82 -167
- package/lib/icon/original.js +82 -167
- package/lib/icon/pdf-fill.js +82 -167
- package/lib/icon/play-shape.js +82 -167
- package/lib/icon/plus.js +82 -167
- package/lib/icon/ppt-fill.js +82 -167
- package/lib/icon/qq.js +82 -167
- package/lib/icon/right-shape.js +82 -167
- package/lib/icon/right-turn-line.js +82 -167
- package/lib/icon/search.js +82 -167
- package/lib/icon/share.js +82 -167
- package/lib/icon/spinner.js +82 -167
- package/lib/icon/success.js +82 -167
- package/lib/icon/switcher-loading.js +82 -167
- package/lib/icon/text-all.d.ts +4 -0
- package/lib/icon/text-all.js +191 -0
- package/lib/icon/text-file.js +82 -167
- package/lib/icon/text-fill.js +82 -167
- package/lib/icon/transfer.js +82 -167
- package/lib/icon/tree-application-shape.js +82 -167
- package/lib/icon/unfull-screen.js +82 -167
- package/lib/icon/unvisible.js +82 -167
- package/lib/icon/up-shape.js +82 -167
- package/lib/icon/upload.js +82 -167
- package/lib/icon/video-fill.js +82 -167
- package/lib/icon/warn.js +82 -167
- package/lib/icon/weixin-pro.js +82 -167
- package/lib/icon/weixin.js +82 -167
- package/lib/image/image-viewer.d.ts +1 -1
- package/lib/image/image-viewer.variable.css +3 -0
- package/lib/image/image.variable.css +3 -0
- package/lib/image/index.js +25 -22
- package/lib/index.d.ts +3 -3
- package/lib/index.js +3 -3
- package/lib/info-box/index.d.ts +2 -2
- package/lib/info-box/index.js +257 -516
- package/lib/info-box/info-box.css +58 -28
- package/lib/info-box/info-box.d.ts +25 -23
- package/lib/info-box/info-box.less +82 -51
- package/lib/info-box/info-box.variable.css +61 -28
- package/lib/info-box/render-component.d.ts +4 -0
- package/lib/input/index.d.ts +15 -15
- package/lib/input/index.js +23 -17
- package/lib/input/input.d.ts +15 -15
- package/lib/input/input.variable.css +3 -0
- package/lib/link/index.d.ts +11 -11
- package/lib/link/index.js +3 -3
- package/lib/link/link.d.ts +5 -5
- package/lib/link/link.variable.css +3 -0
- package/lib/loading/index.d.ts +4 -4
- package/lib/loading/index.js +6 -6
- package/lib/loading/loading.d.ts +6 -6
- package/lib/loading/loading.variable.css +3 -0
- package/lib/locale/index.d.ts +1 -1
- package/lib/locale/index.js +4 -2
- package/lib/locale/lang/en.d.ts +1 -0
- package/lib/menu/index.js +0 -1
- package/lib/menu/menu.variable.css +3 -0
- package/lib/menu/submenu.variable.css +3 -0
- package/lib/menu/utils.d.ts +3 -3
- package/lib/message/index.js +18 -18
- package/lib/message/message.variable.css +3 -0
- package/lib/message/messageConstructor.d.ts +11 -11
- package/lib/modal/hooks.d.ts +6 -0
- package/lib/modal/index.d.ts +44 -312
- package/lib/modal/index.js +286 -672
- package/lib/modal/mask.d.ts +6 -0
- package/lib/modal/modal.css +151 -76
- package/lib/modal/modal.d.ts +19 -117
- package/lib/modal/modal.less +103 -56
- package/lib/modal/modal.variable.css +154 -76
- package/lib/modal/props.mixin.d.ts +5 -41
- package/lib/navigation/index.js +20 -20
- package/lib/navigation/navigation.d.ts +1 -1
- package/lib/navigation/navigation.variable.css +3 -0
- package/lib/notify/index.js +4 -4
- package/lib/notify/notify.variable.css +3 -0
- package/lib/overflow-title/components/overflow-title.d.ts +9 -9
- package/lib/overflow-title/index.d.ts +19 -19
- package/lib/overflow-title/index.js +107 -63
- package/lib/overflow-title/props.d.ts +18 -18
- package/lib/pagination/index.js +16 -15
- package/lib/pagination/pagination.variable.css +3 -0
- 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.d.ts +1 -1
- package/lib/plugin-popover/index.js +62 -44
- package/lib/pop-confirm/index.js +17 -14
- package/lib/pop-confirm/pop-confirm.variable.css +3 -0
- package/lib/pop-confirm/props.d.ts +2 -2
- package/lib/popover/const.d.ts +3 -3
- package/lib/popover/content.d.ts +1 -1
- package/lib/popover/index.d.ts +19 -19
- package/lib/popover/index.js +62 -44
- package/lib/popover/plugin-popover.d.ts +4 -1
- package/lib/popover/popover.css +3 -1
- package/lib/popover/popover.d.ts +7 -7
- package/lib/popover/popover.less +4 -1
- package/lib/popover/popover.variable.css +6 -1
- package/lib/popover/props.d.ts +4 -4
- package/lib/preset.d.ts +2 -0
- package/lib/process/index.js +3 -3
- package/lib/process/process.variable.css +3 -0
- package/lib/progress/index.d.ts +11 -11
- package/lib/progress/index.js +10 -10
- package/lib/progress/progress.d.ts +7 -7
- package/lib/progress/progress.variable.css +3 -0
- package/lib/radio/index.d.ts +29 -0
- package/lib/radio/index.js +49 -31
- package/lib/radio/radio-button.d.ts +10 -0
- package/lib/radio/radio-group.d.ts +10 -0
- package/lib/radio/radio.d.ts +10 -0
- package/lib/radio/radio.variable.css +3 -0
- package/lib/radio/type.d.ts +1 -1
- package/lib/rate/index.js +8 -8
- package/lib/rate/rate.css +27 -0
- package/lib/rate/rate.less +33 -0
- package/lib/rate/rate.variable.css +30 -0
- package/lib/resize-layout/index.d.ts +11 -11
- package/lib/resize-layout/index.js +8 -9
- package/lib/resize-layout/resize-layout.d.ts +5 -5
- package/lib/resize-layout/resize-layout.variable.css +3 -0
- package/lib/scrollbar/index.d.ts +15 -0
- package/lib/scrollbar/index.js +18762 -0
- package/lib/scrollbar/scrollbar-core/can-use-dom.d.ts +2 -0
- package/lib/scrollbar/scrollbar-core/helpers.d.ts +5 -0
- package/lib/scrollbar/scrollbar-core/index.d.ts +241 -0
- package/lib/scrollbar/scrollbar-core/mouse-wheel.d.ts +5 -0
- package/lib/scrollbar/scrollbar-core/scrollbar-width.d.ts +1 -0
- package/lib/scrollbar/scrollbar.css +75 -0
- package/lib/scrollbar/scrollbar.less +94 -0
- package/lib/{rate/star.variable.css → scrollbar/scrollbar.variable.css} +70 -19
- package/lib/search-select/index.d.ts +375 -16
- package/lib/search-select/index.js +754 -419
- package/lib/search-select/input.d.ts +14 -5
- package/lib/search-select/menu.d.ts +1 -1
- package/lib/search-select/search-select.css +20 -6
- package/lib/search-select/search-select.d.ts +129 -7
- package/lib/search-select/search-select.less +16 -12
- package/lib/search-select/search-select.variable.css +23 -6
- package/lib/search-select/selected.d.ts +117 -7
- package/lib/search-select/utils.d.ts +22 -9
- package/lib/select/index.d.ts +185 -67
- package/lib/select/index.js +1396 -136
- package/lib/select/option.d.ts +3 -1
- package/lib/select/pinyin/core.d.ts +14 -0
- package/lib/select/pinyin/dict.d.ts +34 -0
- package/lib/select/pinyin/index.d.ts +2 -0
- package/lib/select/select.css +56 -14
- package/lib/select/select.d.ts +74 -26
- package/lib/select/select.less +70 -21
- package/lib/select/select.variable.css +59 -14
- package/lib/select/selectTagInput.d.ts +13 -6
- package/lib/select/type.d.ts +4 -5
- package/lib/shared/index.d.ts +1 -2
- package/lib/shared/index.js +108 -96
- package/lib/shared/popover.d.ts +3 -3
- package/lib/shared/token.d.ts +1 -1
- package/lib/shared/utils.d.ts +12 -0
- package/lib/shared/vue-types.d.ts +51 -46
- package/lib/shared/z-index-manager.d.ts +6 -6
- package/lib/sideslider/index.d.ts +58 -188
- package/lib/sideslider/index.js +83 -57
- package/lib/sideslider/sideslider.css +26 -90
- package/lib/sideslider/sideslider.d.ts +26 -88
- package/lib/sideslider/sideslider.less +56 -132
- package/lib/sideslider/sideslider.variable.css +29 -90
- package/lib/slider/index.d.ts +19 -0
- package/lib/slider/index.js +64 -26
- package/lib/slider/slider.css +14 -0
- package/lib/slider/slider.d.ts +9 -0
- package/lib/slider/slider.less +15 -0
- package/lib/slider/slider.variable.css +17 -0
- package/lib/steps/index.d.ts +11 -11
- package/lib/steps/index.js +3 -3
- package/lib/steps/steps.d.ts +7 -7
- package/lib/steps/steps.variable.css +3 -0
- package/lib/styles/index.d.ts +0 -1
- package/lib/styles/mixins/animate.variable.css +3 -0
- package/lib/styles/mixins/popper.variable.css +3 -0
- package/lib/styles/mixins/scroll.variable.css +3 -0
- package/lib/styles/reset.css +1 -3
- package/lib/styles/reset.less +3 -6
- package/lib/styles/reset.variable.css +4 -3
- package/lib/styles/themes/themes.less +5 -0
- package/lib/swiper/index.js +5 -5
- package/lib/swiper/swiper.variable.css +3 -0
- package/lib/switcher/index.js +2 -2
- package/lib/switcher/switcher.d.ts +2 -2
- package/lib/switcher/switcher.variable.css +3 -0
- package/lib/tab/index.d.ts +22 -22
- package/lib/tab/index.js +15 -15
- package/lib/tab/props.d.ts +15 -15
- package/lib/tab/tab-nav.d.ts +10 -10
- package/lib/tab/tab.d.ts +10 -10
- package/lib/tab/tab.variable.css +3 -0
- package/lib/table/cache.d.ts +11 -3
- package/lib/table/components/table-cell.d.ts +3 -2
- package/lib/table/components/table-column.d.ts +30 -100
- package/lib/table/const.d.ts +12 -12
- package/lib/table/events.d.ts +21 -21
- package/lib/table/index.d.ts +220 -305
- package/lib/table/index.js +18165 -688
- package/lib/table/plugins/head-filter.css +8 -4
- package/lib/table/plugins/head-filter.less +6 -3
- package/lib/table/plugins/head-filter.variable.css +11 -4
- package/lib/table/plugins/head-sort.variable.css +3 -0
- package/lib/table/plugins/settings.variable.css +3 -0
- package/lib/table/plugins/use-active-columns.d.ts +2 -2
- package/lib/table/plugins/use-column-template.d.ts +7 -0
- package/lib/table/plugins/use-draggable.d.ts +2 -2
- package/lib/table/plugins/use-fixed-column.d.ts +1 -1
- package/lib/table/plugins/use-observer-resize.d.ts +5 -0
- package/lib/table/plugins/use-pagination.d.ts +3 -1
- package/lib/table/plugins/use-shift-key.d.ts +13 -0
- package/lib/table/props.d.ts +49 -39
- package/lib/table/table.css +112 -58
- package/lib/table/table.d.ts +58 -47
- package/lib/table/table.less +46 -58
- package/lib/table/table.variable.css +115 -58
- package/lib/table/use-attributes.d.ts +9 -46
- package/lib/table/use-column.d.ts +18 -139
- package/lib/table/use-common.d.ts +5 -5
- package/lib/table/use-render.d.ts +1 -1
- package/lib/table/utils.d.ts +6 -6
- package/lib/table-column/index.d.ts +127 -431
- package/lib/table-column/index.js +43 -117
- package/lib/tag/index.d.ts +11 -11
- package/lib/tag/index.js +2 -2
- package/lib/tag/tag.d.ts +5 -5
- package/lib/tag/tag.variable.css +3 -0
- package/lib/tag-input/common.d.ts +1 -1
- package/lib/tag-input/index.d.ts +12 -12
- package/lib/tag-input/index.js +30 -30
- package/lib/tag-input/tag-input.d.ts +6 -6
- package/lib/tag-input/tag-input.variable.css +3 -0
- package/lib/tag-input/tag-props.d.ts +3 -3
- package/lib/tag-input/tag-render.d.ts +1 -1
- package/lib/time-picker/index.d.ts +38 -35
- package/lib/time-picker/time-picker.variable.css +3 -0
- package/lib/timeline/index.d.ts +80 -44
- package/lib/timeline/index.js +56 -67
- package/lib/timeline/timeline.d.ts +46 -29
- package/lib/timeline/timeline.variable.css +3 -0
- package/lib/transfer/const.d.ts +2 -2
- package/lib/transfer/index.js +19 -19
- package/lib/transfer/transfer.css +9 -9
- package/lib/transfer/transfer.less +3 -3
- package/lib/transfer/transfer.variable.css +12 -9
- package/lib/tree/constant.d.ts +22 -20
- package/lib/tree/index.d.ts +64 -20
- package/lib/tree/index.js +17595 -72
- package/lib/tree/props.d.ts +24 -6
- package/lib/tree/tree.css +76 -2
- package/lib/tree/tree.d.ts +34 -8
- package/lib/tree/tree.less +1 -1
- package/lib/tree/tree.variable.css +79 -2
- package/lib/tree/use-empty.d.ts +1 -1
- package/lib/tree/use-intersection-observer.d.ts +27 -0
- package/lib/tree/use-node-action.d.ts +2 -2
- package/lib/tree/use-node-attribute.d.ts +9 -0
- package/lib/tree/use-search.d.ts +1 -1
- package/lib/tree/util.d.ts +1 -1
- package/lib/upload/index.d.ts +12 -0
- package/lib/upload/index.js +62 -65
- package/lib/upload/props.d.ts +4 -1
- package/lib/upload/upload-trigger.d.ts +6 -0
- package/lib/upload/upload.d.ts +6 -0
- package/lib/upload/upload.type.d.ts +7 -7
- package/lib/upload/upload.variable.css +3 -0
- package/lib/upload/use-file-handler.d.ts +1 -1
- package/lib/virtual-render/index.d.ts +36 -9
- package/lib/virtual-render/index.js +295 -80
- package/lib/virtual-render/props.d.ts +16 -0
- package/lib/virtual-render/use-fix-top.d.ts +2 -7
- package/lib/virtual-render/use-scrollbar.d.ts +24 -0
- package/lib/virtual-render/v-virtual-render.d.ts +2 -1
- package/lib/virtual-render/virtual-render.css +76 -2
- package/lib/virtual-render/virtual-render.d.ts +16 -3
- package/lib/virtual-render/virtual-render.less +3 -3
- package/lib/virtual-render/virtual-render.variable.css +79 -2
- package/package.json +13 -49
- package/lib/rate/star.css +0 -27
- package/lib/rate/star.less +0 -34
- package/lib/shared/mask.d.ts +0 -11
@@ -42,9 +42,10 @@ declare const BkSearchSelect: {
|
|
42
42
|
};
|
43
43
|
}>> & {
|
44
44
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
45
|
+
onSelectKey?: (...args: any[]) => any;
|
45
46
|
onSearch?: (...args: any[]) => any;
|
46
47
|
}, {
|
47
|
-
inputRef: import("vue").Ref<import("vue").
|
48
|
+
inputRef: import("vue").Ref<import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
48
49
|
data: {
|
49
50
|
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
50
51
|
required: true;
|
@@ -65,6 +66,11 @@ declare const BkSearchSelect: {
|
|
65
66
|
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
66
67
|
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
67
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;
|
68
74
|
}, {
|
69
75
|
popoverRef: import("vue").Ref<HTMLDivElement>;
|
70
76
|
inputRef: import("vue").Ref<HTMLDivElement>;
|
@@ -97,14 +103,20 @@ declare const BkSearchSelect: {
|
|
97
103
|
};
|
98
104
|
documentArrowEvent: (e: KeyboardEvent) => void;
|
99
105
|
handleClickOutside: (e: MouseEvent) => void;
|
100
|
-
handleInputFocus: (
|
106
|
+
handleInputFocus: () => void;
|
101
107
|
handleInputChange: (event: Event) => void;
|
108
|
+
handleInputPaste: (event: ClipboardEvent) => void;
|
102
109
|
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
103
110
|
handleInputKeyup: (event: KeyboardEvent) => void;
|
104
111
|
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
105
112
|
handleSelectCondtionItem: (item: import("./utils").ICommonItem) => void;
|
106
113
|
handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
|
107
114
|
resolveClassName: (cls: string) => string;
|
115
|
+
inputFocusForWrapper: () => void;
|
116
|
+
inputEnterForWrapper: () => Promise<void>;
|
117
|
+
inputClearForWrapper: () => void;
|
118
|
+
deleteInputTextNode: () => void;
|
119
|
+
customPanelSubmit: (value: string) => void;
|
108
120
|
t: import("vue").ComputedRef<{
|
109
121
|
pleaseSelect: string;
|
110
122
|
loading: string;
|
@@ -115,7 +127,7 @@ declare const BkSearchSelect: {
|
|
115
127
|
and: string;
|
116
128
|
logical: string;
|
117
129
|
}>;
|
118
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "delete" | "add"
|
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<{
|
119
131
|
data: {
|
120
132
|
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
121
133
|
required: true;
|
@@ -140,12 +152,109 @@ declare const BkSearchSelect: {
|
|
140
152
|
onFocus?: (...args: any[]) => any;
|
141
153
|
onDelete?: (...args: any[]) => any;
|
142
154
|
onAdd?: (...args: any[]) => any;
|
155
|
+
onSelectKey?: (...args: any[]) => any;
|
143
156
|
}, {
|
144
157
|
mode: import("./utils").SearchInputMode;
|
145
158
|
conditions: import("./utils").ICommonItem[];
|
146
159
|
showInputBefore: boolean;
|
147
160
|
showCondition: boolean;
|
148
|
-
}, {}
|
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[];
|
182
|
+
};
|
183
|
+
defautUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
|
184
|
+
mode: {
|
185
|
+
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
186
|
+
default: import("./utils").SearchInputMode;
|
187
|
+
};
|
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
|
+
}>> & {
|
192
|
+
onFocus?: (...args: any[]) => any;
|
193
|
+
onDelete?: (...args: any[]) => any;
|
194
|
+
onAdd?: (...args: any[]) => any;
|
195
|
+
onSelectKey?: (...args: any[]) => any;
|
196
|
+
}, {
|
197
|
+
popoverRef: import("vue").Ref<HTMLDivElement>;
|
198
|
+
inputRef: import("vue").Ref<HTMLDivElement>;
|
199
|
+
keyword: import("vue").Ref<string>;
|
200
|
+
loading: import("vue").Ref<boolean>;
|
201
|
+
remoteMenuList: import("vue").Ref<{
|
202
|
+
id: string;
|
203
|
+
name: string;
|
204
|
+
disabled?: boolean;
|
205
|
+
realId?: string;
|
206
|
+
value?: {
|
207
|
+
name: string;
|
208
|
+
id: string;
|
209
|
+
realId?: string;
|
210
|
+
isSelected?: boolean;
|
211
|
+
logical?: import("./utils").SearchLogical;
|
212
|
+
};
|
213
|
+
isSelected?: boolean;
|
214
|
+
logical?: import("./utils").SearchLogical;
|
215
|
+
}[]>;
|
216
|
+
menuList: import("vue").Ref<import("./utils").ISearchItem[]>;
|
217
|
+
menuHoverId: import("vue").Ref<string>;
|
218
|
+
isFocus: import("vue").Ref<boolean>;
|
219
|
+
usingItem: import("vue").Ref<import("./utils").SelectedItem>;
|
220
|
+
showPopover: import("vue").Ref<boolean>;
|
221
|
+
showNoSelectValueError: import("vue").Ref<boolean>;
|
222
|
+
debounceSetMenuList: {
|
223
|
+
(this: any): any;
|
224
|
+
cancel(): void;
|
225
|
+
};
|
226
|
+
documentArrowEvent: (e: KeyboardEvent) => void;
|
227
|
+
handleClickOutside: (e: MouseEvent) => void;
|
228
|
+
handleInputFocus: () => void;
|
229
|
+
handleInputChange: (event: Event) => void;
|
230
|
+
handleInputPaste: (event: ClipboardEvent) => void;
|
231
|
+
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
232
|
+
handleInputKeyup: (event: KeyboardEvent) => void;
|
233
|
+
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
234
|
+
handleSelectCondtionItem: (item: import("./utils").ICommonItem) => void;
|
235
|
+
handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
|
236
|
+
resolveClassName: (cls: string) => string;
|
237
|
+
inputFocusForWrapper: () => void;
|
238
|
+
inputEnterForWrapper: () => Promise<void>;
|
239
|
+
inputClearForWrapper: () => void;
|
240
|
+
deleteInputTextNode: () => void;
|
241
|
+
customPanelSubmit: (value: string) => void;
|
242
|
+
t: import("vue").ComputedRef<{
|
243
|
+
pleaseSelect: string;
|
244
|
+
loading: string;
|
245
|
+
filterQueryMustHasValue: string;
|
246
|
+
ok: string;
|
247
|
+
cancel: string;
|
248
|
+
or: string;
|
249
|
+
and: string;
|
250
|
+
logical: string;
|
251
|
+
}>;
|
252
|
+
}, {}, {}, {}, {
|
253
|
+
mode: import("./utils").SearchInputMode;
|
254
|
+
conditions: import("./utils").ICommonItem[];
|
255
|
+
showInputBefore: boolean;
|
256
|
+
showCondition: boolean;
|
257
|
+
}>>;
|
149
258
|
wrapRef: import("vue").Ref<HTMLDivElement>;
|
150
259
|
isFocus: import("vue").Ref<boolean>;
|
151
260
|
copyData: import("vue").ShallowRef<import("./utils").ISearchItem[]>;
|
@@ -169,6 +278,7 @@ declare const BkSearchSelect: {
|
|
169
278
|
}[];
|
170
279
|
condition: string;
|
171
280
|
logical: import("./utils").SearchLogical;
|
281
|
+
nameRenderkey: string;
|
172
282
|
searchItem: {
|
173
283
|
id: string;
|
174
284
|
name: string;
|
@@ -211,6 +321,7 @@ declare const BkSearchSelect: {
|
|
211
321
|
onlyRecommendChildren?: boolean;
|
212
322
|
logical?: import("./utils").SearchLogical;
|
213
323
|
showLogicalPanel?: boolean;
|
324
|
+
isCustomMenu?: boolean;
|
214
325
|
};
|
215
326
|
type: import("./utils").SearchItemType;
|
216
327
|
readonly multiple: boolean;
|
@@ -236,8 +347,12 @@ declare const BkSearchSelect: {
|
|
236
347
|
readonly keyInnerHtml: string;
|
237
348
|
readonly keyInnerText: string;
|
238
349
|
readonly showLogical: boolean;
|
350
|
+
readonly isCustomMenu: boolean;
|
239
351
|
isSpecialType: () => boolean;
|
240
352
|
addValue: (item: import("./utils").ICommonItem) => void;
|
353
|
+
str2Values: (str: string) => import("./utils").ICommonItem[];
|
354
|
+
addValues: (str: string, mergeValues?: boolean) => void;
|
355
|
+
getValue: (str: string) => import("./utils").ICommonItem;
|
241
356
|
toValue: () => import("./utils").ISearchValue;
|
242
357
|
toValueKey: () => string;
|
243
358
|
isInValueList: (item: import("./utils").ICommonItem) => boolean;
|
@@ -256,6 +371,7 @@ declare const BkSearchSelect: {
|
|
256
371
|
handleClickSearch: (e: MouseEvent) => void;
|
257
372
|
localConditions: import("vue").ComputedRef<import("./utils").ICommonItem[]>;
|
258
373
|
resolveClassName: (cls: string) => string;
|
374
|
+
handleSelectedKey: (a: any) => void;
|
259
375
|
t: import("vue").ComputedRef<{
|
260
376
|
pleaseSelect: string;
|
261
377
|
loading: string;
|
@@ -266,7 +382,7 @@ declare const BkSearchSelect: {
|
|
266
382
|
and: string;
|
267
383
|
logical: string;
|
268
384
|
}>;
|
269
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "update:modelValue")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
385
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "update:modelValue" | "selectKey")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
270
386
|
data: {
|
271
387
|
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
272
388
|
default: () => any[];
|
@@ -309,6 +425,7 @@ declare const BkSearchSelect: {
|
|
309
425
|
};
|
310
426
|
}>> & {
|
311
427
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
428
|
+
onSelectKey?: (...args: any[]) => any;
|
312
429
|
onSearch?: (...args: any[]) => any;
|
313
430
|
}, {
|
314
431
|
data: import("./utils").ISearchItem[];
|
@@ -320,7 +437,12 @@ declare const BkSearchSelect: {
|
|
320
437
|
valueBehavior: "all" | "need-key";
|
321
438
|
shrink: boolean;
|
322
439
|
uniqueSelect: boolean;
|
323
|
-
}, true, {}, {
|
440
|
+
}, true, {}, import("vue").SlotsType<{
|
441
|
+
menu: import("./utils").MenuSlotParams;
|
442
|
+
prepend: void;
|
443
|
+
append: void;
|
444
|
+
validate: void;
|
445
|
+
}>, {
|
324
446
|
P: {};
|
325
447
|
B: {};
|
326
448
|
D: {};
|
@@ -370,9 +492,10 @@ declare const BkSearchSelect: {
|
|
370
492
|
};
|
371
493
|
}>> & {
|
372
494
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
495
|
+
onSelectKey?: (...args: any[]) => any;
|
373
496
|
onSearch?: (...args: any[]) => any;
|
374
497
|
}, {
|
375
|
-
inputRef: import("vue").Ref<import("vue").
|
498
|
+
inputRef: import("vue").Ref<import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
376
499
|
data: {
|
377
500
|
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
378
501
|
required: true;
|
@@ -393,6 +516,11 @@ declare const BkSearchSelect: {
|
|
393
516
|
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
394
517
|
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
395
518
|
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
519
|
+
}>> & {
|
520
|
+
onFocus?: (...args: any[]) => any;
|
521
|
+
onDelete?: (...args: any[]) => any;
|
522
|
+
onAdd?: (...args: any[]) => any;
|
523
|
+
onSelectKey?: (...args: any[]) => any;
|
396
524
|
}, {
|
397
525
|
popoverRef: import("vue").Ref<HTMLDivElement>;
|
398
526
|
inputRef: import("vue").Ref<HTMLDivElement>;
|
@@ -425,14 +553,20 @@ declare const BkSearchSelect: {
|
|
425
553
|
};
|
426
554
|
documentArrowEvent: (e: KeyboardEvent) => void;
|
427
555
|
handleClickOutside: (e: MouseEvent) => void;
|
428
|
-
handleInputFocus: (
|
556
|
+
handleInputFocus: () => void;
|
429
557
|
handleInputChange: (event: Event) => void;
|
558
|
+
handleInputPaste: (event: ClipboardEvent) => void;
|
430
559
|
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
431
560
|
handleInputKeyup: (event: KeyboardEvent) => void;
|
432
561
|
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
433
562
|
handleSelectCondtionItem: (item: import("./utils").ICommonItem) => void;
|
434
563
|
handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
|
435
564
|
resolveClassName: (cls: string) => string;
|
565
|
+
inputFocusForWrapper: () => void;
|
566
|
+
inputEnterForWrapper: () => Promise<void>;
|
567
|
+
inputClearForWrapper: () => void;
|
568
|
+
deleteInputTextNode: () => void;
|
569
|
+
customPanelSubmit: (value: string) => void;
|
436
570
|
t: import("vue").ComputedRef<{
|
437
571
|
pleaseSelect: string;
|
438
572
|
loading: string;
|
@@ -443,7 +577,7 @@ declare const BkSearchSelect: {
|
|
443
577
|
and: string;
|
444
578
|
logical: string;
|
445
579
|
}>;
|
446
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "delete" | "add"
|
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<{
|
447
581
|
data: {
|
448
582
|
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
449
583
|
required: true;
|
@@ -468,12 +602,109 @@ declare const BkSearchSelect: {
|
|
468
602
|
onFocus?: (...args: any[]) => any;
|
469
603
|
onDelete?: (...args: any[]) => any;
|
470
604
|
onAdd?: (...args: any[]) => any;
|
605
|
+
onSelectKey?: (...args: any[]) => any;
|
471
606
|
}, {
|
472
607
|
mode: import("./utils").SearchInputMode;
|
473
608
|
conditions: import("./utils").ICommonItem[];
|
474
609
|
showInputBefore: boolean;
|
475
610
|
showCondition: boolean;
|
476
|
-
}, {}
|
611
|
+
}, true, {}, import("vue").SlotsType<{
|
612
|
+
menu: import("./utils").MenuSlotParams;
|
613
|
+
}>, {
|
614
|
+
P: {};
|
615
|
+
B: {};
|
616
|
+
D: {};
|
617
|
+
C: {};
|
618
|
+
M: {};
|
619
|
+
Defaults: {};
|
620
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
621
|
+
data: {
|
622
|
+
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
623
|
+
required: true;
|
624
|
+
};
|
625
|
+
showInputBefore: BooleanConstructor;
|
626
|
+
showCondition: BooleanConstructor;
|
627
|
+
clickOutside: FunctionConstructor;
|
628
|
+
placeholder: StringConstructor;
|
629
|
+
conditions: {
|
630
|
+
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
631
|
+
default: () => any[];
|
632
|
+
};
|
633
|
+
defautUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
|
634
|
+
mode: {
|
635
|
+
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
636
|
+
default: import("./utils").SearchInputMode;
|
637
|
+
};
|
638
|
+
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
639
|
+
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
640
|
+
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
641
|
+
}>> & {
|
642
|
+
onFocus?: (...args: any[]) => any;
|
643
|
+
onDelete?: (...args: any[]) => any;
|
644
|
+
onAdd?: (...args: any[]) => any;
|
645
|
+
onSelectKey?: (...args: any[]) => any;
|
646
|
+
}, {
|
647
|
+
popoverRef: import("vue").Ref<HTMLDivElement>;
|
648
|
+
inputRef: import("vue").Ref<HTMLDivElement>;
|
649
|
+
keyword: import("vue").Ref<string>;
|
650
|
+
loading: import("vue").Ref<boolean>;
|
651
|
+
remoteMenuList: import("vue").Ref<{
|
652
|
+
id: string;
|
653
|
+
name: string;
|
654
|
+
disabled?: boolean;
|
655
|
+
realId?: string;
|
656
|
+
value?: {
|
657
|
+
name: string;
|
658
|
+
id: string;
|
659
|
+
realId?: string;
|
660
|
+
isSelected?: boolean;
|
661
|
+
logical?: import("./utils").SearchLogical;
|
662
|
+
};
|
663
|
+
isSelected?: boolean;
|
664
|
+
logical?: import("./utils").SearchLogical;
|
665
|
+
}[]>;
|
666
|
+
menuList: import("vue").Ref<import("./utils").ISearchItem[]>;
|
667
|
+
menuHoverId: import("vue").Ref<string>;
|
668
|
+
isFocus: import("vue").Ref<boolean>;
|
669
|
+
usingItem: import("vue").Ref<import("./utils").SelectedItem>;
|
670
|
+
showPopover: import("vue").Ref<boolean>;
|
671
|
+
showNoSelectValueError: import("vue").Ref<boolean>;
|
672
|
+
debounceSetMenuList: {
|
673
|
+
(this: any): any;
|
674
|
+
cancel(): void;
|
675
|
+
};
|
676
|
+
documentArrowEvent: (e: KeyboardEvent) => void;
|
677
|
+
handleClickOutside: (e: MouseEvent) => void;
|
678
|
+
handleInputFocus: () => void;
|
679
|
+
handleInputChange: (event: Event) => void;
|
680
|
+
handleInputPaste: (event: ClipboardEvent) => void;
|
681
|
+
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
682
|
+
handleInputKeyup: (event: KeyboardEvent) => void;
|
683
|
+
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
684
|
+
handleSelectCondtionItem: (item: import("./utils").ICommonItem) => void;
|
685
|
+
handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
|
686
|
+
resolveClassName: (cls: string) => string;
|
687
|
+
inputFocusForWrapper: () => void;
|
688
|
+
inputEnterForWrapper: () => Promise<void>;
|
689
|
+
inputClearForWrapper: () => void;
|
690
|
+
deleteInputTextNode: () => void;
|
691
|
+
customPanelSubmit: (value: string) => void;
|
692
|
+
t: import("vue").ComputedRef<{
|
693
|
+
pleaseSelect: string;
|
694
|
+
loading: string;
|
695
|
+
filterQueryMustHasValue: string;
|
696
|
+
ok: string;
|
697
|
+
cancel: string;
|
698
|
+
or: string;
|
699
|
+
and: string;
|
700
|
+
logical: string;
|
701
|
+
}>;
|
702
|
+
}, {}, {}, {}, {
|
703
|
+
mode: import("./utils").SearchInputMode;
|
704
|
+
conditions: import("./utils").ICommonItem[];
|
705
|
+
showInputBefore: boolean;
|
706
|
+
showCondition: boolean;
|
707
|
+
}>>;
|
477
708
|
wrapRef: import("vue").Ref<HTMLDivElement>;
|
478
709
|
isFocus: import("vue").Ref<boolean>;
|
479
710
|
copyData: import("vue").ShallowRef<import("./utils").ISearchItem[]>;
|
@@ -497,6 +728,7 @@ declare const BkSearchSelect: {
|
|
497
728
|
}[];
|
498
729
|
condition: string;
|
499
730
|
logical: import("./utils").SearchLogical;
|
731
|
+
nameRenderkey: string;
|
500
732
|
searchItem: {
|
501
733
|
id: string;
|
502
734
|
name: string;
|
@@ -539,6 +771,7 @@ declare const BkSearchSelect: {
|
|
539
771
|
onlyRecommendChildren?: boolean;
|
540
772
|
logical?: import("./utils").SearchLogical;
|
541
773
|
showLogicalPanel?: boolean;
|
774
|
+
isCustomMenu?: boolean;
|
542
775
|
};
|
543
776
|
type: import("./utils").SearchItemType;
|
544
777
|
readonly multiple: boolean;
|
@@ -564,8 +797,12 @@ declare const BkSearchSelect: {
|
|
564
797
|
readonly keyInnerHtml: string;
|
565
798
|
readonly keyInnerText: string;
|
566
799
|
readonly showLogical: boolean;
|
800
|
+
readonly isCustomMenu: boolean;
|
567
801
|
isSpecialType: () => boolean;
|
568
802
|
addValue: (item: import("./utils").ICommonItem) => void;
|
803
|
+
str2Values: (str: string) => import("./utils").ICommonItem[];
|
804
|
+
addValues: (str: string, mergeValues?: boolean) => void;
|
805
|
+
getValue: (str: string) => import("./utils").ICommonItem;
|
569
806
|
toValue: () => import("./utils").ISearchValue;
|
570
807
|
toValueKey: () => string;
|
571
808
|
isInValueList: (item: import("./utils").ICommonItem) => boolean;
|
@@ -584,6 +821,7 @@ declare const BkSearchSelect: {
|
|
584
821
|
handleClickSearch: (e: MouseEvent) => void;
|
585
822
|
localConditions: import("vue").ComputedRef<import("./utils").ICommonItem[]>;
|
586
823
|
resolveClassName: (cls: string) => string;
|
824
|
+
handleSelectedKey: (a: any) => void;
|
587
825
|
t: import("vue").ComputedRef<{
|
588
826
|
pleaseSelect: string;
|
589
827
|
loading: string;
|
@@ -651,9 +889,10 @@ declare const BkSearchSelect: {
|
|
651
889
|
};
|
652
890
|
}>> & {
|
653
891
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
892
|
+
onSelectKey?: (...args: any[]) => any;
|
654
893
|
onSearch?: (...args: any[]) => any;
|
655
894
|
}, {
|
656
|
-
inputRef: import("vue").Ref<import("vue").
|
895
|
+
inputRef: import("vue").Ref<import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
657
896
|
data: {
|
658
897
|
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
659
898
|
required: true;
|
@@ -674,6 +913,11 @@ declare const BkSearchSelect: {
|
|
674
913
|
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
675
914
|
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
676
915
|
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
916
|
+
}>> & {
|
917
|
+
onFocus?: (...args: any[]) => any;
|
918
|
+
onDelete?: (...args: any[]) => any;
|
919
|
+
onAdd?: (...args: any[]) => any;
|
920
|
+
onSelectKey?: (...args: any[]) => any;
|
677
921
|
}, {
|
678
922
|
popoverRef: import("vue").Ref<HTMLDivElement>;
|
679
923
|
inputRef: import("vue").Ref<HTMLDivElement>;
|
@@ -706,14 +950,20 @@ declare const BkSearchSelect: {
|
|
706
950
|
};
|
707
951
|
documentArrowEvent: (e: KeyboardEvent) => void;
|
708
952
|
handleClickOutside: (e: MouseEvent) => void;
|
709
|
-
handleInputFocus: (
|
953
|
+
handleInputFocus: () => void;
|
710
954
|
handleInputChange: (event: Event) => void;
|
955
|
+
handleInputPaste: (event: ClipboardEvent) => void;
|
711
956
|
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
712
957
|
handleInputKeyup: (event: KeyboardEvent) => void;
|
713
958
|
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
714
959
|
handleSelectCondtionItem: (item: import("./utils").ICommonItem) => void;
|
715
960
|
handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
|
716
961
|
resolveClassName: (cls: string) => string;
|
962
|
+
inputFocusForWrapper: () => void;
|
963
|
+
inputEnterForWrapper: () => Promise<void>;
|
964
|
+
inputClearForWrapper: () => void;
|
965
|
+
deleteInputTextNode: () => void;
|
966
|
+
customPanelSubmit: (value: string) => void;
|
717
967
|
t: import("vue").ComputedRef<{
|
718
968
|
pleaseSelect: string;
|
719
969
|
loading: string;
|
@@ -724,7 +974,7 @@ declare const BkSearchSelect: {
|
|
724
974
|
and: string;
|
725
975
|
logical: string;
|
726
976
|
}>;
|
727
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "delete" | "add"
|
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<{
|
728
978
|
data: {
|
729
979
|
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
730
980
|
required: true;
|
@@ -749,12 +999,109 @@ declare const BkSearchSelect: {
|
|
749
999
|
onFocus?: (...args: any[]) => any;
|
750
1000
|
onDelete?: (...args: any[]) => any;
|
751
1001
|
onAdd?: (...args: any[]) => any;
|
1002
|
+
onSelectKey?: (...args: any[]) => any;
|
752
1003
|
}, {
|
753
1004
|
mode: import("./utils").SearchInputMode;
|
754
1005
|
conditions: import("./utils").ICommonItem[];
|
755
1006
|
showInputBefore: boolean;
|
756
1007
|
showCondition: boolean;
|
757
|
-
}, {}
|
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;
|
1034
|
+
};
|
1035
|
+
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
1036
|
+
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
1037
|
+
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
1038
|
+
}>> & {
|
1039
|
+
onFocus?: (...args: any[]) => any;
|
1040
|
+
onDelete?: (...args: any[]) => any;
|
1041
|
+
onAdd?: (...args: any[]) => any;
|
1042
|
+
onSelectKey?: (...args: any[]) => any;
|
1043
|
+
}, {
|
1044
|
+
popoverRef: import("vue").Ref<HTMLDivElement>;
|
1045
|
+
inputRef: import("vue").Ref<HTMLDivElement>;
|
1046
|
+
keyword: import("vue").Ref<string>;
|
1047
|
+
loading: import("vue").Ref<boolean>;
|
1048
|
+
remoteMenuList: import("vue").Ref<{
|
1049
|
+
id: string;
|
1050
|
+
name: string;
|
1051
|
+
disabled?: boolean;
|
1052
|
+
realId?: string;
|
1053
|
+
value?: {
|
1054
|
+
name: string;
|
1055
|
+
id: string;
|
1056
|
+
realId?: string;
|
1057
|
+
isSelected?: boolean;
|
1058
|
+
logical?: import("./utils").SearchLogical;
|
1059
|
+
};
|
1060
|
+
isSelected?: boolean;
|
1061
|
+
logical?: import("./utils").SearchLogical;
|
1062
|
+
}[]>;
|
1063
|
+
menuList: import("vue").Ref<import("./utils").ISearchItem[]>;
|
1064
|
+
menuHoverId: import("vue").Ref<string>;
|
1065
|
+
isFocus: import("vue").Ref<boolean>;
|
1066
|
+
usingItem: import("vue").Ref<import("./utils").SelectedItem>;
|
1067
|
+
showPopover: import("vue").Ref<boolean>;
|
1068
|
+
showNoSelectValueError: import("vue").Ref<boolean>;
|
1069
|
+
debounceSetMenuList: {
|
1070
|
+
(this: any): any;
|
1071
|
+
cancel(): void;
|
1072
|
+
};
|
1073
|
+
documentArrowEvent: (e: KeyboardEvent) => void;
|
1074
|
+
handleClickOutside: (e: MouseEvent) => void;
|
1075
|
+
handleInputFocus: () => void;
|
1076
|
+
handleInputChange: (event: Event) => void;
|
1077
|
+
handleInputPaste: (event: ClipboardEvent) => void;
|
1078
|
+
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
1079
|
+
handleInputKeyup: (event: KeyboardEvent) => void;
|
1080
|
+
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
1081
|
+
handleSelectCondtionItem: (item: import("./utils").ICommonItem) => void;
|
1082
|
+
handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
|
1083
|
+
resolveClassName: (cls: string) => string;
|
1084
|
+
inputFocusForWrapper: () => void;
|
1085
|
+
inputEnterForWrapper: () => Promise<void>;
|
1086
|
+
inputClearForWrapper: () => void;
|
1087
|
+
deleteInputTextNode: () => void;
|
1088
|
+
customPanelSubmit: (value: string) => void;
|
1089
|
+
t: import("vue").ComputedRef<{
|
1090
|
+
pleaseSelect: string;
|
1091
|
+
loading: string;
|
1092
|
+
filterQueryMustHasValue: string;
|
1093
|
+
ok: string;
|
1094
|
+
cancel: string;
|
1095
|
+
or: string;
|
1096
|
+
and: string;
|
1097
|
+
logical: string;
|
1098
|
+
}>;
|
1099
|
+
}, {}, {}, {}, {
|
1100
|
+
mode: import("./utils").SearchInputMode;
|
1101
|
+
conditions: import("./utils").ICommonItem[];
|
1102
|
+
showInputBefore: boolean;
|
1103
|
+
showCondition: boolean;
|
1104
|
+
}>>;
|
758
1105
|
wrapRef: import("vue").Ref<HTMLDivElement>;
|
759
1106
|
isFocus: import("vue").Ref<boolean>;
|
760
1107
|
copyData: import("vue").ShallowRef<import("./utils").ISearchItem[]>;
|
@@ -778,6 +1125,7 @@ declare const BkSearchSelect: {
|
|
778
1125
|
}[];
|
779
1126
|
condition: string;
|
780
1127
|
logical: import("./utils").SearchLogical;
|
1128
|
+
nameRenderkey: string;
|
781
1129
|
searchItem: {
|
782
1130
|
id: string;
|
783
1131
|
name: string;
|
@@ -820,6 +1168,7 @@ declare const BkSearchSelect: {
|
|
820
1168
|
onlyRecommendChildren?: boolean;
|
821
1169
|
logical?: import("./utils").SearchLogical;
|
822
1170
|
showLogicalPanel?: boolean;
|
1171
|
+
isCustomMenu?: boolean;
|
823
1172
|
};
|
824
1173
|
type: import("./utils").SearchItemType;
|
825
1174
|
readonly multiple: boolean;
|
@@ -845,8 +1194,12 @@ declare const BkSearchSelect: {
|
|
845
1194
|
readonly keyInnerHtml: string;
|
846
1195
|
readonly keyInnerText: string;
|
847
1196
|
readonly showLogical: boolean;
|
1197
|
+
readonly isCustomMenu: boolean;
|
848
1198
|
isSpecialType: () => boolean;
|
849
1199
|
addValue: (item: import("./utils").ICommonItem) => void;
|
1200
|
+
str2Values: (str: string) => import("./utils").ICommonItem[];
|
1201
|
+
addValues: (str: string, mergeValues?: boolean) => void;
|
1202
|
+
getValue: (str: string) => import("./utils").ICommonItem;
|
850
1203
|
toValue: () => import("./utils").ISearchValue;
|
851
1204
|
toValueKey: () => string;
|
852
1205
|
isInValueList: (item: import("./utils").ICommonItem) => boolean;
|
@@ -865,6 +1218,7 @@ declare const BkSearchSelect: {
|
|
865
1218
|
handleClickSearch: (e: MouseEvent) => void;
|
866
1219
|
localConditions: import("vue").ComputedRef<import("./utils").ICommonItem[]>;
|
867
1220
|
resolveClassName: (cls: string) => string;
|
1221
|
+
handleSelectedKey: (a: any) => void;
|
868
1222
|
t: import("vue").ComputedRef<{
|
869
1223
|
pleaseSelect: string;
|
870
1224
|
loading: string;
|
@@ -875,7 +1229,7 @@ declare const BkSearchSelect: {
|
|
875
1229
|
and: string;
|
876
1230
|
logical: string;
|
877
1231
|
}>;
|
878
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "update:modelValue")[], "search" | "update:modelValue", {
|
1232
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "update:modelValue" | "selectKey")[], "search" | "update:modelValue" | "selectKey", {
|
879
1233
|
data: import("./utils").ISearchItem[];
|
880
1234
|
maxHeight: number;
|
881
1235
|
clearable: boolean;
|
@@ -885,6 +1239,11 @@ declare const BkSearchSelect: {
|
|
885
1239
|
valueBehavior: "all" | "need-key";
|
886
1240
|
shrink: boolean;
|
887
1241
|
uniqueSelect: boolean;
|
888
|
-
}, {}, string,
|
1242
|
+
}, {}, string, import("vue").SlotsType<{
|
1243
|
+
menu: import("./utils").MenuSlotParams;
|
1244
|
+
prepend: void;
|
1245
|
+
append: void;
|
1246
|
+
validate: void;
|
1247
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
|
889
1248
|
export default BkSearchSelect;
|
890
1249
|
export { BkSearchSelect };
|