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