bkui-vue 0.0.1-beta.14 → 0.0.1-beta.17
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 +25 -17
- package/README_EN.md +89 -0
- package/dist/bkui-vue.cjs.js +2266 -535
- package/dist/bkui-vue.esm.js +2308 -582
- package/dist/bkui-vue.umd.js +2266 -535
- package/dist/style.css +601 -189
- package/lib/alert/alert.d.ts +24 -15
- package/lib/alert/alert.variable.css +6 -0
- package/lib/alert/index.d.ts +96 -60
- package/lib/alert/index.js +1 -1
- package/lib/animate-number/animate-number.d.ts +12 -7
- package/lib/animate-number/index.d.ts +48 -28
- package/lib/backtop/backtop.d.ts +27 -13
- package/lib/backtop/backtop.variable.css +6 -0
- package/lib/backtop/index.d.ts +108 -52
- package/lib/backtop/index.js +1 -1
- package/lib/badge/badge.d.ts +40 -19
- package/lib/badge/badge.variable.css +6 -0
- package/lib/badge/index.d.ts +144 -76
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/breadcrumb-item.d.ts +13 -9
- package/lib/breadcrumb/breadcrumb.css +10 -1
- package/lib/breadcrumb/breadcrumb.d.ts +37 -9
- package/lib/breadcrumb/breadcrumb.less +13 -2
- package/lib/breadcrumb/breadcrumb.variable.css +16 -1
- package/lib/breadcrumb/index.d.ts +117 -45
- package/lib/breadcrumb/index.js +1 -1
- package/lib/button/button-group.d.ts +3 -5
- package/lib/button/button.d.ts +27 -22
- package/lib/button/button.variable.css +6 -0
- package/lib/button/index.d.ts +111 -93
- package/lib/button/index.js +1 -1
- package/lib/card/card.d.ts +30 -15
- package/lib/card/card.variable.css +6 -0
- package/lib/card/index.d.ts +120 -60
- package/lib/card/index.js +1 -1
- package/lib/checkbox/checkbox-group.d.ts +13 -9
- package/lib/checkbox/checkbox.d.ts +31 -22
- package/lib/checkbox/checkbox.variable.css +6 -0
- package/lib/checkbox/index.d.ts +137 -97
- package/lib/checkbox/index.js +1 -1
- package/lib/collapse/collapse.d.ts +50 -18
- package/lib/collapse/index.d.ts +108 -72
- package/lib/collapse/index.js +1 -1
- package/lib/components.d.ts +4 -0
- package/lib/date-picker/date-picker.d.ts +110 -63
- package/lib/date-picker/date-picker.variable.css +6 -0
- package/lib/date-picker/index.d.ts +437 -249
- package/lib/date-picker/index.js +1 -1
- package/lib/dialog/dialog.d.ts +46 -25
- package/lib/dialog/index.d.ts +179 -95
- package/lib/directives/index.js +1 -1
- package/lib/divider/divider.d.ts +21 -13
- package/lib/divider/divider.variable.css +6 -0
- package/lib/divider/index.d.ts +84 -52
- package/lib/dropdown/dropdown-item.d.ts +6 -5
- package/lib/dropdown/dropdown-menu.d.ts +6 -5
- package/lib/dropdown/dropdown.d.ts +25 -13
- package/lib/dropdown/dropdown.variable.css +6 -0
- package/lib/dropdown/index.d.ts +94 -62
- package/lib/exception/exception.d.ts +11 -9
- package/lib/exception/exception.variable.css +6 -0
- package/lib/exception/index.d.ts +44 -36
- package/lib/fixed-navbar/fixed-navbar.d.ts +15 -9
- package/lib/fixed-navbar/fixed-navbar.variable.css +6 -0
- package/lib/fixed-navbar/index.d.ts +60 -36
- package/lib/form/form-item.d.ts +46 -27
- package/lib/form/form.d.ts +21 -13
- package/lib/form/index.js +1 -1
- package/lib/icon/angle-double-left.js +15 -0
- package/lib/icon/angle-double-right.js +15 -0
- package/lib/icon/angle-down-fill.d.ts +4 -0
- package/lib/icon/angle-down-fill.js +15 -0
- package/lib/icon/angle-down-line.js +15 -0
- package/lib/icon/angle-down.js +15 -0
- package/lib/icon/angle-left.js +15 -0
- package/lib/icon/angle-right.js +15 -0
- package/lib/icon/angle-up-fill.d.ts +4 -0
- package/lib/icon/angle-up-fill.js +15 -0
- package/lib/icon/angle-up.js +15 -0
- package/lib/icon/arrows-left.d.ts +4 -0
- package/lib/icon/arrows-left.js +15 -0
- package/lib/icon/circle.js +15 -0
- package/lib/icon/close.js +15 -0
- package/lib/icon/code.js +15 -0
- package/lib/icon/cog-shape.js +15 -0
- package/lib/icon/collapse-left.js +15 -0
- package/lib/icon/copy.js +15 -0
- package/lib/icon/done.js +15 -0
- package/lib/icon/down-shape.js +15 -0
- package/lib/icon/down-small.js +15 -0
- package/lib/icon/error.js +15 -0
- package/lib/icon/eye.js +15 -0
- package/lib/icon/folder-open.js +15 -0
- package/lib/icon/folder-shape-open.js +15 -0
- package/lib/icon/folder-shape.js +15 -0
- package/lib/icon/folder.js +15 -0
- package/lib/icon/help-document-fill.js +15 -0
- package/lib/icon/help-fill.js +15 -0
- package/lib/icon/help.js +15 -0
- package/lib/icon/icon.js +15 -0
- package/lib/icon/index.d.ts +7 -3
- package/lib/icon/index.js +1 -1
- package/lib/icon/info-line.js +15 -0
- package/lib/icon/info.js +15 -0
- package/lib/icon/play-shape.js +15 -0
- package/lib/icon/plus.js +15 -0
- package/lib/icon/right-shape.js +15 -0
- package/lib/icon/search.js +15 -0
- package/lib/icon/share.js +15 -0
- package/lib/icon/spinner.d.ts +4 -0
- package/lib/icon/spinner.js +15 -0
- package/lib/icon/success.js +15 -0
- package/lib/icon/switcher-loading.js +15 -0
- package/lib/icon/text-file.js +15 -0
- package/lib/icon/tree-application-shape.js +15 -0
- package/lib/icon/unvisible.js +15 -0
- package/lib/icon/warn.js +15 -0
- package/lib/input/index.d.ts +251 -163
- package/lib/input/index.js +2 -2
- package/lib/input/input.css +1 -0
- package/lib/input/input.d.ts +62 -40
- package/lib/input/input.less +4 -3
- package/lib/input/input.variable.css +7 -0
- package/lib/link/index.d.ts +100 -52
- package/lib/link/link.d.ts +25 -13
- package/lib/link/link.variable.css +6 -0
- package/lib/loading/index.d.ts +64 -64
- package/lib/loading/index.js +1 -1
- package/lib/loading/loading.d.ts +16 -16
- package/lib/loading/loading.variable.css +6 -0
- package/lib/menu/index.d.ts +90 -71
- package/lib/menu/index.js +1 -1
- package/lib/menu/menu-group.d.ts +6 -5
- package/lib/menu/menu-item.d.ts +6 -5
- package/lib/menu/menu.d.ts +18 -14
- package/lib/menu/menu.variable.css +6 -0
- package/lib/menu/submenu.css +3 -0
- package/lib/menu/submenu.d.ts +6 -5
- package/lib/menu/submenu.less +1 -1
- package/lib/menu/submenu.variable.css +9 -0
- package/lib/message/index.js +1 -1
- package/lib/message/message.variable.css +6 -0
- package/lib/message/messageConstructor.d.ts +28 -16
- package/lib/modal/index.d.ts +92 -56
- package/lib/modal/index.js +1 -1
- package/lib/modal/modal.d.ts +24 -15
- package/lib/modal/props.mixin.d.ts +1 -1
- package/lib/navigation/index.js +1 -1
- package/lib/navigation/navigation-title.d.ts +10 -7
- package/lib/navigation/navigation.d.ts +40 -23
- package/lib/navigation/navigation.variable.css +6 -0
- package/lib/notify/index.js +1 -1
- package/lib/notify/notify.variable.css +6 -0
- package/lib/notify/notifyConstructor.d.ts +37 -21
- package/lib/popover/index.d.ts +219 -134
- package/lib/popover/index.js +1 -1
- package/lib/popover/popover.css +22 -13
- package/lib/popover/popover.d.ts +73 -44
- package/lib/popover/popover.less +55 -45
- package/lib/popover/popover.variable.css +28 -13
- package/lib/popover/props.d.ts +77 -0
- package/lib/process/index.d.ts +120 -60
- package/lib/process/index.js +1 -1
- package/lib/process/process.css +2 -3
- package/lib/process/process.d.ts +30 -15
- package/lib/process/process.less +2 -3
- package/lib/process/process.variable.css +8 -3
- package/lib/progress/index.d.ts +290 -120
- package/lib/progress/index.js +1 -1
- package/lib/progress/progress.css +0 -3
- package/lib/progress/progress.d.ts +84 -31
- package/lib/progress/progress.less +0 -4
- package/lib/progress/progress.variable.css +6 -3
- package/lib/radio/index.d.ts +127 -78
- package/lib/radio/index.js +1 -1
- package/lib/radio/radio-button.d.ts +24 -16
- package/lib/radio/radio-group.d.ts +11 -10
- package/lib/radio/radio.d.ts +23 -13
- package/lib/radio/radio.variable.css +6 -0
- package/lib/rate/index.d.ts +52 -40
- package/lib/rate/rate.d.ts +13 -10
- package/lib/rate/star.d.ts +32 -15
- package/lib/select/common.d.ts +10 -1
- package/lib/select/index.d.ts +515 -503
- package/lib/select/index.js +2 -2
- package/lib/select/option.d.ts +10 -17
- package/lib/select/optionGroup.d.ts +67 -52
- package/lib/select/select.css +71 -14
- package/lib/select/select.d.ts +136 -137
- package/lib/select/select.less +73 -14
- package/lib/select/select.variable.css +77 -14
- package/lib/shared/bk-helper-core.d.ts +6 -0
- package/lib/shared/bk-popover.d.ts +45 -4
- package/lib/shared/index.d.ts +10 -0
- package/lib/shared/index.js +1 -1
- package/lib/shared/utils.d.ts +6 -0
- package/lib/sideslider/index.d.ts +111 -63
- package/lib/sideslider/sideslider.d.ts +29 -17
- package/lib/sideslider/sideslider.variable.css +6 -0
- package/lib/slider/slider-button.d.ts +10 -7
- package/lib/slider/slider.d.ts +70 -40
- package/lib/slider/slider.variable.css +6 -0
- package/lib/steps/index.d.ts +156 -104
- package/lib/steps/index.js +1 -1
- package/lib/steps/steps.css +3 -0
- package/lib/steps/steps.d.ts +39 -26
- package/lib/steps/steps.less +4 -0
- package/lib/steps/steps.variable.css +9 -0
- package/lib/styles/index.d.ts +2 -0
- package/lib/styles/index.js +1 -1
- package/lib/styles/themes/themes.less +10 -0
- package/lib/switcher/index.d.ts +192 -128
- package/lib/switcher/index.js +1 -1
- package/lib/switcher/switcher.css +149 -135
- package/lib/switcher/switcher.d.ts +48 -32
- package/lib/switcher/switcher.less +210 -154
- package/lib/switcher/switcher.variable.css +155 -135
- package/lib/tab/index.d.ts +344 -208
- package/lib/tab/index.js +1 -1
- package/lib/tab/tab-nav.d.ts +74 -38
- package/lib/tab/tab-panel.d.ts +22 -20
- package/lib/tab/tab.d.ts +64 -32
- package/lib/tab/tab.variable.css +6 -0
- package/lib/table/const.d.ts +4 -0
- package/lib/table/index.d.ts +169 -70
- package/lib/table/index.js +1 -1
- package/lib/table/props.d.ts +56 -0
- package/lib/table/render.d.ts +19 -3
- package/lib/table/table.css +52 -13
- package/lib/table/table.d.ts +71 -12
- package/lib/table/table.less +62 -18
- package/lib/table/table.variable.css +60 -15
- package/lib/table/utils.d.ts +34 -1
- package/lib/tag/index.d.ts +10 -286
- package/lib/tag/tag.d.ts +2 -48
- package/lib/tag/tag.variable.css +6 -0
- package/lib/timeline/index.d.ts +129 -0
- package/lib/timeline/index.js +1 -0
- package/lib/timeline/timeline.css +235 -0
- package/lib/timeline/timeline.d.ts +81 -0
- package/lib/timeline/timeline.less +239 -0
- package/lib/timeline/timeline.variable.css +327 -0
- package/lib/tree/index.d.ts +148 -69
- package/lib/tree/index.js +1 -1
- package/lib/tree/props.d.ts +70 -0
- package/lib/tree/tree.css +16 -7
- package/lib/tree/tree.d.ts +51 -23
- package/lib/tree/tree.less +24 -24
- package/lib/tree/tree.variable.css +16 -7
- package/lib/tree/util.d.ts +3 -44
- package/lib/virtual-render/index.d.ts +556 -0
- package/lib/virtual-render/index.js +1 -0
- package/lib/virtual-render/props.d.ts +157 -0
- package/lib/virtual-render/v-virtual-render.d.ts +7 -0
- package/lib/virtual-render/virtual-render.css +40 -0
- package/lib/virtual-render/virtual-render.d.ts +244 -0
- package/lib/virtual-render/virtual-render.less +51 -0
- package/lib/virtual-render/virtual-render.variable.css +40 -0
- package/package.json +9 -7
package/lib/select/index.d.ts
CHANGED
@@ -13,32 +13,55 @@ declare const BkSelect: {
|
|
13
13
|
clearable: boolean;
|
14
14
|
filterable: boolean;
|
15
15
|
remoteMethod: (...args: any[]) => any;
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
16
|
+
scrollHeight: number;
|
17
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
18
|
+
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
19
|
+
multiple: import("vue-types").VueTypeValidableDef<boolean> & {
|
20
|
+
default: boolean;
|
21
|
+
} & {
|
22
|
+
default: boolean;
|
23
|
+
};
|
24
|
+
placeholder: import("vue-types").VueTypeValidableDef<string> & {
|
25
|
+
default: string;
|
26
|
+
} & {
|
27
|
+
default: string;
|
28
|
+
};
|
29
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
30
|
+
default: boolean;
|
31
|
+
} & {
|
32
|
+
default: boolean;
|
33
|
+
};
|
34
|
+
size: import("vue-types").VueTypeDef<string> & {
|
35
|
+
default: string;
|
36
|
+
};
|
37
|
+
clearable: import("vue-types").VueTypeValidableDef<boolean> & {
|
38
|
+
default: boolean;
|
39
|
+
} & {
|
40
|
+
default: boolean;
|
41
|
+
};
|
42
|
+
loading: import("vue-types").VueTypeValidableDef<boolean> & {
|
43
|
+
default: boolean;
|
44
|
+
} & {
|
45
|
+
default: boolean;
|
46
|
+
};
|
47
|
+
filterable: import("vue-types").VueTypeValidableDef<boolean> & {
|
48
|
+
default: boolean;
|
49
|
+
} & {
|
50
|
+
default: boolean;
|
51
|
+
};
|
52
|
+
remoteMethod: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
53
|
+
default: (...args: any[]) => any;
|
54
|
+
};
|
55
|
+
scrollHeight: import("vue-types").VueTypeValidableDef<number> & {
|
56
|
+
default: number;
|
57
|
+
} & {
|
58
|
+
default: number;
|
59
|
+
};
|
60
|
+
}>> & {
|
38
61
|
onChange?: (...args: any[]) => any;
|
39
62
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
40
63
|
onToggle?: (...args: any[]) => any;
|
41
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placeholder" | "size" | "multiple" | "disabled" | "loading" | "clearable" | "filterable" | "remoteMethod">;
|
64
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placeholder" | "size" | "multiple" | "disabled" | "loading" | "clearable" | "filterable" | "remoteMethod" | "scrollHeight">;
|
42
65
|
$attrs: {
|
43
66
|
[x: string]: unknown;
|
44
67
|
};
|
@@ -52,47 +75,95 @@ declare const BkSelect: {
|
|
52
75
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
53
76
|
$emit: (event: "change" | "toggle" | "update:modelValue", ...args: any[]) => void;
|
54
77
|
$el: any;
|
55
|
-
$options: import("vue").ComponentOptionsBase<Readonly<{
|
56
|
-
modelValue
|
57
|
-
multiple
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
78
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
79
|
+
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
80
|
+
multiple: import("vue-types").VueTypeValidableDef<boolean> & {
|
81
|
+
default: boolean;
|
82
|
+
} & {
|
83
|
+
default: boolean;
|
84
|
+
};
|
85
|
+
placeholder: import("vue-types").VueTypeValidableDef<string> & {
|
86
|
+
default: string;
|
87
|
+
} & {
|
88
|
+
default: string;
|
89
|
+
};
|
90
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
91
|
+
default: boolean;
|
92
|
+
} & {
|
93
|
+
default: boolean;
|
94
|
+
};
|
95
|
+
size: import("vue-types").VueTypeDef<string> & {
|
96
|
+
default: string;
|
97
|
+
};
|
98
|
+
clearable: import("vue-types").VueTypeValidableDef<boolean> & {
|
99
|
+
default: boolean;
|
100
|
+
} & {
|
101
|
+
default: boolean;
|
102
|
+
};
|
103
|
+
loading: import("vue-types").VueTypeValidableDef<boolean> & {
|
104
|
+
default: boolean;
|
105
|
+
} & {
|
106
|
+
default: boolean;
|
107
|
+
};
|
108
|
+
filterable: import("vue-types").VueTypeValidableDef<boolean> & {
|
109
|
+
default: boolean;
|
110
|
+
} & {
|
111
|
+
default: boolean;
|
112
|
+
};
|
113
|
+
remoteMethod: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
114
|
+
default: (...args: any[]) => any;
|
115
|
+
};
|
116
|
+
scrollHeight: import("vue-types").VueTypeValidableDef<number> & {
|
117
|
+
default: number;
|
118
|
+
} & {
|
119
|
+
default: number;
|
120
|
+
};
|
121
|
+
}>> & {
|
77
122
|
onChange?: (...args: any[]) => any;
|
78
123
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
79
124
|
onToggle?: (...args: any[]) => any;
|
80
125
|
}, {
|
126
|
+
selectedLabel: import("vue").ComputedRef<string>;
|
127
|
+
selectClass: import("vue").ComputedRef<{
|
128
|
+
[x: string]: boolean;
|
129
|
+
'bk-select': boolean;
|
130
|
+
'popover-show': boolean;
|
131
|
+
'is-disabled': boolean;
|
132
|
+
'is-focus': boolean;
|
133
|
+
}>;
|
134
|
+
isPopoverShow: import("vue").Ref<boolean>;
|
135
|
+
isHover: import("vue").Ref<boolean>;
|
136
|
+
popperWidth: import("vue").Ref<string | number>;
|
137
|
+
selectTriggerRef: import("vue").Ref<HTMLElement>;
|
138
|
+
inputRef: import("vue").Ref<HTMLElement>;
|
139
|
+
searchKey: import("vue").Ref<string>;
|
140
|
+
searchLoading: import("vue").Ref<boolean>;
|
141
|
+
isEmpty: import("vue").ComputedRef<boolean>;
|
142
|
+
isFocus: import("vue").Ref<boolean>;
|
143
|
+
setHover: () => void;
|
144
|
+
cancelHover: () => void;
|
145
|
+
handleFocus: () => void;
|
146
|
+
handleInput: (e: any) => void;
|
147
|
+
toggleMenu: () => void;
|
148
|
+
handleClear: (e: Event) => void;
|
149
|
+
onPopoverFirstUpdate: import("@bkui-vue/shared").OnFirstUpdateFnType;
|
150
|
+
hidePopover: () => void;
|
151
|
+
showPopover: () => void;
|
152
|
+
currentPlaceholder: import("vue").Ref<string>;
|
81
153
|
options: import("vue").Ref<Set<{
|
82
154
|
$: import("vue").ComponentInternalInstance;
|
83
155
|
$data: {};
|
84
156
|
$props: Partial<{
|
85
157
|
disabled: boolean;
|
86
|
-
}> & Omit<Readonly<{
|
87
|
-
value
|
88
|
-
label
|
89
|
-
disabled
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
}> & {} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled">;
|
158
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
159
|
+
value: import("vue-types").VueTypeDef<string | number | boolean>;
|
160
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
161
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
162
|
+
default: boolean;
|
163
|
+
} & {
|
164
|
+
default: boolean;
|
165
|
+
};
|
166
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled">;
|
96
167
|
$attrs: {
|
97
168
|
[x: string]: unknown;
|
98
169
|
};
|
@@ -106,24 +177,17 @@ declare const BkSelect: {
|
|
106
177
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
107
178
|
$emit: (event: string, ...args: any[]) => void;
|
108
179
|
$el: any;
|
109
|
-
$options: import("vue").ComponentOptionsBase<Readonly<{
|
110
|
-
value
|
111
|
-
label
|
112
|
-
disabled
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
}> & {}, {
|
119
|
-
selectItemClass: import("vue").ComputedRef<{
|
120
|
-
'is-selected': boolean;
|
121
|
-
'is-disabled': boolean;
|
122
|
-
'is-multiple': boolean;
|
123
|
-
'is-hover': boolean;
|
124
|
-
'bk-select-option': boolean;
|
125
|
-
}>;
|
180
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
181
|
+
value: import("vue-types").VueTypeDef<string | number | boolean>;
|
182
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
183
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
184
|
+
default: boolean;
|
185
|
+
} & {
|
186
|
+
default: boolean;
|
187
|
+
};
|
188
|
+
}>>, {
|
126
189
|
selected: import("vue").ComputedRef<boolean>;
|
190
|
+
multiple: import("vue").ComputedRef<boolean>;
|
127
191
|
handleOptionClick: () => void;
|
128
192
|
visible: import("vue").Ref<boolean>;
|
129
193
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
@@ -148,24 +212,17 @@ declare const BkSelect: {
|
|
148
212
|
$forceUpdate: () => void;
|
149
213
|
$nextTick: typeof import("vue").nextTick;
|
150
214
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
151
|
-
} & Readonly<{
|
152
|
-
value
|
153
|
-
label
|
154
|
-
disabled
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
}> & {} & import("vue").ShallowUnwrapRef<{
|
161
|
-
selectItemClass: import("vue").ComputedRef<{
|
162
|
-
'is-selected': boolean;
|
163
|
-
'is-disabled': boolean;
|
164
|
-
'is-multiple': boolean;
|
165
|
-
'is-hover': boolean;
|
166
|
-
'bk-select-option': boolean;
|
167
|
-
}>;
|
215
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
216
|
+
value: import("vue-types").VueTypeDef<string | number | boolean>;
|
217
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
218
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
219
|
+
default: boolean;
|
220
|
+
} & {
|
221
|
+
default: boolean;
|
222
|
+
};
|
223
|
+
}>> & import("vue").ShallowUnwrapRef<{
|
168
224
|
selected: import("vue").ComputedRef<boolean>;
|
225
|
+
multiple: import("vue").ComputedRef<boolean>;
|
169
226
|
handleOptionClick: () => void;
|
170
227
|
visible: import("vue").Ref<boolean>;
|
171
228
|
}> & {} & {} & import("vue").ComponentCustomProperties>>;
|
@@ -174,16 +231,15 @@ declare const BkSelect: {
|
|
174
231
|
$data: {};
|
175
232
|
$props: Partial<{
|
176
233
|
disabled: boolean;
|
177
|
-
}> & Omit<Readonly<{
|
178
|
-
value
|
179
|
-
label
|
180
|
-
disabled
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
}> & {} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled">;
|
234
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
235
|
+
value: import("vue-types").VueTypeDef<string | number | boolean>;
|
236
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
237
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
238
|
+
default: boolean;
|
239
|
+
} & {
|
240
|
+
default: boolean;
|
241
|
+
};
|
242
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled">;
|
187
243
|
$attrs: {
|
188
244
|
[x: string]: unknown;
|
189
245
|
};
|
@@ -197,24 +253,17 @@ declare const BkSelect: {
|
|
197
253
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
198
254
|
$emit: (event: string, ...args: any[]) => void;
|
199
255
|
$el: any;
|
200
|
-
$options: import("vue").ComponentOptionsBase<Readonly<{
|
201
|
-
value
|
202
|
-
label
|
203
|
-
disabled
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
}> & {}, {
|
210
|
-
selectItemClass: import("vue").ComputedRef<{
|
211
|
-
'is-selected': boolean;
|
212
|
-
'is-disabled': boolean;
|
213
|
-
'is-multiple': boolean;
|
214
|
-
'is-hover': boolean;
|
215
|
-
'bk-select-option': boolean;
|
216
|
-
}>;
|
256
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
257
|
+
value: import("vue-types").VueTypeDef<string | number | boolean>;
|
258
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
259
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
260
|
+
default: boolean;
|
261
|
+
} & {
|
262
|
+
default: boolean;
|
263
|
+
};
|
264
|
+
}>>, {
|
217
265
|
selected: import("vue").ComputedRef<boolean>;
|
266
|
+
multiple: import("vue").ComputedRef<boolean>;
|
218
267
|
handleOptionClick: () => void;
|
219
268
|
visible: import("vue").Ref<boolean>;
|
220
269
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
@@ -239,54 +288,21 @@ declare const BkSelect: {
|
|
239
288
|
$forceUpdate: () => void;
|
240
289
|
$nextTick: typeof import("vue").nextTick;
|
241
290
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
242
|
-
} & Readonly<{
|
243
|
-
value
|
244
|
-
label
|
245
|
-
disabled
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
}> & {} & import("vue").ShallowUnwrapRef<{
|
252
|
-
selectItemClass: import("vue").ComputedRef<{
|
253
|
-
'is-selected': boolean;
|
254
|
-
'is-disabled': boolean;
|
255
|
-
'is-multiple': boolean;
|
256
|
-
'is-hover': boolean;
|
257
|
-
'bk-select-option': boolean;
|
258
|
-
}>;
|
291
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
292
|
+
value: import("vue-types").VueTypeDef<string | number | boolean>;
|
293
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
294
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
295
|
+
default: boolean;
|
296
|
+
} & {
|
297
|
+
default: boolean;
|
298
|
+
};
|
299
|
+
}>> & import("vue").ShallowUnwrapRef<{
|
259
300
|
selected: import("vue").ComputedRef<boolean>;
|
301
|
+
multiple: import("vue").ComputedRef<boolean>;
|
260
302
|
handleOptionClick: () => void;
|
261
303
|
visible: import("vue").Ref<boolean>;
|
262
304
|
}> & {} & {} & import("vue").ComponentCustomProperties>>;
|
263
|
-
|
264
|
-
selectClass: import("vue").ComputedRef<{
|
265
|
-
[x: string]: boolean;
|
266
|
-
'bk-select': boolean;
|
267
|
-
'popover-show': boolean;
|
268
|
-
'is-disabled': boolean;
|
269
|
-
'is-focus': boolean;
|
270
|
-
}>;
|
271
|
-
isPopoverShow: import("vue").Ref<boolean>;
|
272
|
-
placeholder: import("vue").Ref<string>;
|
273
|
-
filterable: import("vue").Ref<boolean>;
|
274
|
-
clearable: import("vue").Ref<boolean>;
|
275
|
-
isHover: import("vue").Ref<boolean>;
|
276
|
-
popperWidth: import("vue").Ref<string | number>;
|
277
|
-
selectTriggerRef: import("vue").Ref<HTMLElement>;
|
278
|
-
searchKey: import("vue").Ref<string>;
|
279
|
-
searchLoading: import("vue").Ref<boolean>;
|
280
|
-
isEmpty: import("vue").ComputedRef<boolean>;
|
281
|
-
setHover: () => void;
|
282
|
-
cancelHover: () => void;
|
283
|
-
handleFocus: () => void;
|
284
|
-
handleBlur: () => void;
|
285
|
-
toggleMenu: () => void;
|
286
|
-
handleClear: (e: Event) => void;
|
287
|
-
onPopoverFirstUpdate: import("@bkui-vue/shared").OnFirstUpdateFnType;
|
288
|
-
hidePopover: () => void;
|
289
|
-
showPopover: () => void;
|
305
|
+
currentSelectedLabel: import("vue").Ref<string>;
|
290
306
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "toggle" | "update:modelValue")[], string, {
|
291
307
|
placeholder: string;
|
292
308
|
size: string;
|
@@ -296,6 +312,7 @@ declare const BkSelect: {
|
|
296
312
|
clearable: boolean;
|
297
313
|
filterable: boolean;
|
298
314
|
remoteMethod: (...args: any[]) => any;
|
315
|
+
scrollHeight: number;
|
299
316
|
}> & {
|
300
317
|
beforeCreate?: (() => void) | (() => void)[];
|
301
318
|
created?: (() => void) | (() => void)[];
|
@@ -316,47 +333,95 @@ declare const BkSelect: {
|
|
316
333
|
$forceUpdate: () => void;
|
317
334
|
$nextTick: typeof import("vue").nextTick;
|
318
335
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
319
|
-
} & Readonly<{
|
320
|
-
modelValue
|
321
|
-
multiple
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
336
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
337
|
+
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
338
|
+
multiple: import("vue-types").VueTypeValidableDef<boolean> & {
|
339
|
+
default: boolean;
|
340
|
+
} & {
|
341
|
+
default: boolean;
|
342
|
+
};
|
343
|
+
placeholder: import("vue-types").VueTypeValidableDef<string> & {
|
344
|
+
default: string;
|
345
|
+
} & {
|
346
|
+
default: string;
|
347
|
+
};
|
348
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
349
|
+
default: boolean;
|
350
|
+
} & {
|
351
|
+
default: boolean;
|
352
|
+
};
|
353
|
+
size: import("vue-types").VueTypeDef<string> & {
|
354
|
+
default: string;
|
355
|
+
};
|
356
|
+
clearable: import("vue-types").VueTypeValidableDef<boolean> & {
|
357
|
+
default: boolean;
|
358
|
+
} & {
|
359
|
+
default: boolean;
|
360
|
+
};
|
361
|
+
loading: import("vue-types").VueTypeValidableDef<boolean> & {
|
362
|
+
default: boolean;
|
363
|
+
} & {
|
364
|
+
default: boolean;
|
365
|
+
};
|
366
|
+
filterable: import("vue-types").VueTypeValidableDef<boolean> & {
|
367
|
+
default: boolean;
|
368
|
+
} & {
|
369
|
+
default: boolean;
|
370
|
+
};
|
371
|
+
remoteMethod: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
372
|
+
default: (...args: any[]) => any;
|
373
|
+
};
|
374
|
+
scrollHeight: import("vue-types").VueTypeValidableDef<number> & {
|
375
|
+
default: number;
|
376
|
+
} & {
|
377
|
+
default: number;
|
378
|
+
};
|
379
|
+
}>> & {
|
341
380
|
onChange?: (...args: any[]) => any;
|
342
381
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
343
382
|
onToggle?: (...args: any[]) => any;
|
344
383
|
} & import("vue").ShallowUnwrapRef<{
|
384
|
+
selectedLabel: import("vue").ComputedRef<string>;
|
385
|
+
selectClass: import("vue").ComputedRef<{
|
386
|
+
[x: string]: boolean;
|
387
|
+
'bk-select': boolean;
|
388
|
+
'popover-show': boolean;
|
389
|
+
'is-disabled': boolean;
|
390
|
+
'is-focus': boolean;
|
391
|
+
}>;
|
392
|
+
isPopoverShow: import("vue").Ref<boolean>;
|
393
|
+
isHover: import("vue").Ref<boolean>;
|
394
|
+
popperWidth: import("vue").Ref<string | number>;
|
395
|
+
selectTriggerRef: import("vue").Ref<HTMLElement>;
|
396
|
+
inputRef: import("vue").Ref<HTMLElement>;
|
397
|
+
searchKey: import("vue").Ref<string>;
|
398
|
+
searchLoading: import("vue").Ref<boolean>;
|
399
|
+
isEmpty: import("vue").ComputedRef<boolean>;
|
400
|
+
isFocus: import("vue").Ref<boolean>;
|
401
|
+
setHover: () => void;
|
402
|
+
cancelHover: () => void;
|
403
|
+
handleFocus: () => void;
|
404
|
+
handleInput: (e: any) => void;
|
405
|
+
toggleMenu: () => void;
|
406
|
+
handleClear: (e: Event) => void;
|
407
|
+
onPopoverFirstUpdate: import("@bkui-vue/shared").OnFirstUpdateFnType;
|
408
|
+
hidePopover: () => void;
|
409
|
+
showPopover: () => void;
|
410
|
+
currentPlaceholder: import("vue").Ref<string>;
|
345
411
|
options: import("vue").Ref<Set<{
|
346
412
|
$: import("vue").ComponentInternalInstance;
|
347
413
|
$data: {};
|
348
414
|
$props: Partial<{
|
349
415
|
disabled: boolean;
|
350
|
-
}> & Omit<Readonly<{
|
351
|
-
value
|
352
|
-
label
|
353
|
-
disabled
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
}> & {} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled">;
|
416
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
417
|
+
value: import("vue-types").VueTypeDef<string | number | boolean>;
|
418
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
419
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
420
|
+
default: boolean;
|
421
|
+
} & {
|
422
|
+
default: boolean;
|
423
|
+
};
|
424
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled">;
|
360
425
|
$attrs: {
|
361
426
|
[x: string]: unknown;
|
362
427
|
};
|
@@ -370,24 +435,17 @@ declare const BkSelect: {
|
|
370
435
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
371
436
|
$emit: (event: string, ...args: any[]) => void;
|
372
437
|
$el: any;
|
373
|
-
$options: import("vue").ComponentOptionsBase<Readonly<{
|
374
|
-
value
|
375
|
-
label
|
376
|
-
disabled
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
}> & {}, {
|
383
|
-
selectItemClass: import("vue").ComputedRef<{
|
384
|
-
'is-selected': boolean;
|
385
|
-
'is-disabled': boolean;
|
386
|
-
'is-multiple': boolean;
|
387
|
-
'is-hover': boolean;
|
388
|
-
'bk-select-option': boolean;
|
389
|
-
}>;
|
438
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
439
|
+
value: import("vue-types").VueTypeDef<string | number | boolean>;
|
440
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
441
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
442
|
+
default: boolean;
|
443
|
+
} & {
|
444
|
+
default: boolean;
|
445
|
+
};
|
446
|
+
}>>, {
|
390
447
|
selected: import("vue").ComputedRef<boolean>;
|
448
|
+
multiple: import("vue").ComputedRef<boolean>;
|
391
449
|
handleOptionClick: () => void;
|
392
450
|
visible: import("vue").Ref<boolean>;
|
393
451
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
@@ -412,24 +470,17 @@ declare const BkSelect: {
|
|
412
470
|
$forceUpdate: () => void;
|
413
471
|
$nextTick: typeof import("vue").nextTick;
|
414
472
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
415
|
-
} & Readonly<{
|
416
|
-
value
|
417
|
-
label
|
418
|
-
disabled
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
}> & {} & import("vue").ShallowUnwrapRef<{
|
425
|
-
selectItemClass: import("vue").ComputedRef<{
|
426
|
-
'is-selected': boolean;
|
427
|
-
'is-disabled': boolean;
|
428
|
-
'is-multiple': boolean;
|
429
|
-
'is-hover': boolean;
|
430
|
-
'bk-select-option': boolean;
|
431
|
-
}>;
|
473
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
474
|
+
value: import("vue-types").VueTypeDef<string | number | boolean>;
|
475
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
476
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
477
|
+
default: boolean;
|
478
|
+
} & {
|
479
|
+
default: boolean;
|
480
|
+
};
|
481
|
+
}>> & import("vue").ShallowUnwrapRef<{
|
432
482
|
selected: import("vue").ComputedRef<boolean>;
|
483
|
+
multiple: import("vue").ComputedRef<boolean>;
|
433
484
|
handleOptionClick: () => void;
|
434
485
|
visible: import("vue").Ref<boolean>;
|
435
486
|
}> & {} & {} & import("vue").ComponentCustomProperties>>;
|
@@ -438,16 +489,15 @@ declare const BkSelect: {
|
|
438
489
|
$data: {};
|
439
490
|
$props: Partial<{
|
440
491
|
disabled: boolean;
|
441
|
-
}> & Omit<Readonly<{
|
442
|
-
value
|
443
|
-
label
|
444
|
-
disabled
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
}> & {} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled">;
|
492
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
493
|
+
value: import("vue-types").VueTypeDef<string | number | boolean>;
|
494
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
495
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
496
|
+
default: boolean;
|
497
|
+
} & {
|
498
|
+
default: boolean;
|
499
|
+
};
|
500
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled">;
|
451
501
|
$attrs: {
|
452
502
|
[x: string]: unknown;
|
453
503
|
};
|
@@ -461,24 +511,17 @@ declare const BkSelect: {
|
|
461
511
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
462
512
|
$emit: (event: string, ...args: any[]) => void;
|
463
513
|
$el: any;
|
464
|
-
$options: import("vue").ComponentOptionsBase<Readonly<{
|
465
|
-
value
|
466
|
-
label
|
467
|
-
disabled
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
}> & {}, {
|
474
|
-
selectItemClass: import("vue").ComputedRef<{
|
475
|
-
'is-selected': boolean;
|
476
|
-
'is-disabled': boolean;
|
477
|
-
'is-multiple': boolean;
|
478
|
-
'is-hover': boolean;
|
479
|
-
'bk-select-option': boolean;
|
480
|
-
}>;
|
514
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
515
|
+
value: import("vue-types").VueTypeDef<string | number | boolean>;
|
516
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
517
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
518
|
+
default: boolean;
|
519
|
+
} & {
|
520
|
+
default: boolean;
|
521
|
+
};
|
522
|
+
}>>, {
|
481
523
|
selected: import("vue").ComputedRef<boolean>;
|
524
|
+
multiple: import("vue").ComputedRef<boolean>;
|
482
525
|
handleOptionClick: () => void;
|
483
526
|
visible: import("vue").Ref<boolean>;
|
484
527
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
@@ -503,99 +546,114 @@ declare const BkSelect: {
|
|
503
546
|
$forceUpdate: () => void;
|
504
547
|
$nextTick: typeof import("vue").nextTick;
|
505
548
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
506
|
-
} & Readonly<{
|
507
|
-
value
|
508
|
-
label
|
509
|
-
disabled
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
}> & {} & import("vue").ShallowUnwrapRef<{
|
516
|
-
selectItemClass: import("vue").ComputedRef<{
|
517
|
-
'is-selected': boolean;
|
518
|
-
'is-disabled': boolean;
|
519
|
-
'is-multiple': boolean;
|
520
|
-
'is-hover': boolean;
|
521
|
-
'bk-select-option': boolean;
|
522
|
-
}>;
|
549
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
550
|
+
value: import("vue-types").VueTypeDef<string | number | boolean>;
|
551
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
552
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
553
|
+
default: boolean;
|
554
|
+
} & {
|
555
|
+
default: boolean;
|
556
|
+
};
|
557
|
+
}>> & import("vue").ShallowUnwrapRef<{
|
523
558
|
selected: import("vue").ComputedRef<boolean>;
|
559
|
+
multiple: import("vue").ComputedRef<boolean>;
|
524
560
|
handleOptionClick: () => void;
|
525
561
|
visible: import("vue").Ref<boolean>;
|
526
562
|
}> & {} & {} & import("vue").ComponentCustomProperties>>;
|
527
|
-
|
528
|
-
selectClass: import("vue").ComputedRef<{
|
529
|
-
[x: string]: boolean;
|
530
|
-
'bk-select': boolean;
|
531
|
-
'popover-show': boolean;
|
532
|
-
'is-disabled': boolean;
|
533
|
-
'is-focus': boolean;
|
534
|
-
}>;
|
535
|
-
isPopoverShow: import("vue").Ref<boolean>;
|
536
|
-
placeholder: import("vue").Ref<string>;
|
537
|
-
filterable: import("vue").Ref<boolean>;
|
538
|
-
clearable: import("vue").Ref<boolean>;
|
539
|
-
isHover: import("vue").Ref<boolean>;
|
540
|
-
popperWidth: import("vue").Ref<string | number>;
|
541
|
-
selectTriggerRef: import("vue").Ref<HTMLElement>;
|
542
|
-
searchKey: import("vue").Ref<string>;
|
543
|
-
searchLoading: import("vue").Ref<boolean>;
|
544
|
-
isEmpty: import("vue").ComputedRef<boolean>;
|
545
|
-
setHover: () => void;
|
546
|
-
cancelHover: () => void;
|
547
|
-
handleFocus: () => void;
|
548
|
-
handleBlur: () => void;
|
549
|
-
toggleMenu: () => void;
|
550
|
-
handleClear: (e: Event) => void;
|
551
|
-
onPopoverFirstUpdate: import("@bkui-vue/shared").OnFirstUpdateFnType;
|
552
|
-
hidePopover: () => void;
|
553
|
-
showPopover: () => void;
|
563
|
+
currentSelectedLabel: import("vue").Ref<string>;
|
554
564
|
}> & {} & {} & import("vue").ComponentCustomProperties;
|
555
565
|
__isFragment?: never;
|
556
566
|
__isTeleport?: never;
|
557
567
|
__isSuspense?: never;
|
558
|
-
} & import("vue").ComponentOptionsBase<Readonly<{
|
559
|
-
modelValue
|
560
|
-
multiple
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
568
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
569
|
+
modelValue: import("vue-types").VueTypeValidableDef<any>;
|
570
|
+
multiple: import("vue-types").VueTypeValidableDef<boolean> & {
|
571
|
+
default: boolean;
|
572
|
+
} & {
|
573
|
+
default: boolean;
|
574
|
+
};
|
575
|
+
placeholder: import("vue-types").VueTypeValidableDef<string> & {
|
576
|
+
default: string;
|
577
|
+
} & {
|
578
|
+
default: string;
|
579
|
+
};
|
580
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
581
|
+
default: boolean;
|
582
|
+
} & {
|
583
|
+
default: boolean;
|
584
|
+
};
|
585
|
+
size: import("vue-types").VueTypeDef<string> & {
|
586
|
+
default: string;
|
587
|
+
};
|
588
|
+
clearable: import("vue-types").VueTypeValidableDef<boolean> & {
|
589
|
+
default: boolean;
|
590
|
+
} & {
|
591
|
+
default: boolean;
|
592
|
+
};
|
593
|
+
loading: import("vue-types").VueTypeValidableDef<boolean> & {
|
594
|
+
default: boolean;
|
595
|
+
} & {
|
596
|
+
default: boolean;
|
597
|
+
};
|
598
|
+
filterable: import("vue-types").VueTypeValidableDef<boolean> & {
|
599
|
+
default: boolean;
|
600
|
+
} & {
|
601
|
+
default: boolean;
|
602
|
+
};
|
603
|
+
remoteMethod: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
604
|
+
default: (...args: any[]) => any;
|
605
|
+
};
|
606
|
+
scrollHeight: import("vue-types").VueTypeValidableDef<number> & {
|
607
|
+
default: number;
|
608
|
+
} & {
|
609
|
+
default: number;
|
610
|
+
};
|
611
|
+
}>> & {
|
580
612
|
onChange?: (...args: any[]) => any;
|
581
613
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
582
614
|
onToggle?: (...args: any[]) => any;
|
583
615
|
}, {
|
616
|
+
selectedLabel: import("vue").ComputedRef<string>;
|
617
|
+
selectClass: import("vue").ComputedRef<{
|
618
|
+
[x: string]: boolean;
|
619
|
+
'bk-select': boolean;
|
620
|
+
'popover-show': boolean;
|
621
|
+
'is-disabled': boolean;
|
622
|
+
'is-focus': boolean;
|
623
|
+
}>;
|
624
|
+
isPopoverShow: import("vue").Ref<boolean>;
|
625
|
+
isHover: import("vue").Ref<boolean>;
|
626
|
+
popperWidth: import("vue").Ref<string | number>;
|
627
|
+
selectTriggerRef: import("vue").Ref<HTMLElement>;
|
628
|
+
inputRef: import("vue").Ref<HTMLElement>;
|
629
|
+
searchKey: import("vue").Ref<string>;
|
630
|
+
searchLoading: import("vue").Ref<boolean>;
|
631
|
+
isEmpty: import("vue").ComputedRef<boolean>;
|
632
|
+
isFocus: import("vue").Ref<boolean>;
|
633
|
+
setHover: () => void;
|
634
|
+
cancelHover: () => void;
|
635
|
+
handleFocus: () => void;
|
636
|
+
handleInput: (e: any) => void;
|
637
|
+
toggleMenu: () => void;
|
638
|
+
handleClear: (e: Event) => void;
|
639
|
+
onPopoverFirstUpdate: import("@bkui-vue/shared").OnFirstUpdateFnType;
|
640
|
+
hidePopover: () => void;
|
641
|
+
showPopover: () => void;
|
642
|
+
currentPlaceholder: import("vue").Ref<string>;
|
584
643
|
options: import("vue").Ref<Set<{
|
585
644
|
$: import("vue").ComponentInternalInstance;
|
586
645
|
$data: {};
|
587
646
|
$props: Partial<{
|
588
647
|
disabled: boolean;
|
589
|
-
}> & Omit<Readonly<{
|
590
|
-
value
|
591
|
-
label
|
592
|
-
disabled
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
}> & {} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled">;
|
648
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
649
|
+
value: import("vue-types").VueTypeDef<string | number | boolean>;
|
650
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
651
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
652
|
+
default: boolean;
|
653
|
+
} & {
|
654
|
+
default: boolean;
|
655
|
+
};
|
656
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled">;
|
599
657
|
$attrs: {
|
600
658
|
[x: string]: unknown;
|
601
659
|
};
|
@@ -609,24 +667,17 @@ declare const BkSelect: {
|
|
609
667
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
610
668
|
$emit: (event: string, ...args: any[]) => void;
|
611
669
|
$el: any;
|
612
|
-
$options: import("vue").ComponentOptionsBase<Readonly<{
|
613
|
-
value
|
614
|
-
label
|
615
|
-
disabled
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
}> & {}, {
|
622
|
-
selectItemClass: import("vue").ComputedRef<{
|
623
|
-
'is-selected': boolean;
|
624
|
-
'is-disabled': boolean;
|
625
|
-
'is-multiple': boolean;
|
626
|
-
'is-hover': boolean;
|
627
|
-
'bk-select-option': boolean;
|
628
|
-
}>;
|
670
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
671
|
+
value: import("vue-types").VueTypeDef<string | number | boolean>;
|
672
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
673
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
674
|
+
default: boolean;
|
675
|
+
} & {
|
676
|
+
default: boolean;
|
677
|
+
};
|
678
|
+
}>>, {
|
629
679
|
selected: import("vue").ComputedRef<boolean>;
|
680
|
+
multiple: import("vue").ComputedRef<boolean>;
|
630
681
|
handleOptionClick: () => void;
|
631
682
|
visible: import("vue").Ref<boolean>;
|
632
683
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
@@ -651,24 +702,17 @@ declare const BkSelect: {
|
|
651
702
|
$forceUpdate: () => void;
|
652
703
|
$nextTick: typeof import("vue").nextTick;
|
653
704
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
654
|
-
} & Readonly<{
|
655
|
-
value
|
656
|
-
label
|
657
|
-
disabled
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
}> & {} & import("vue").ShallowUnwrapRef<{
|
664
|
-
selectItemClass: import("vue").ComputedRef<{
|
665
|
-
'is-selected': boolean;
|
666
|
-
'is-disabled': boolean;
|
667
|
-
'is-multiple': boolean;
|
668
|
-
'is-hover': boolean;
|
669
|
-
'bk-select-option': boolean;
|
670
|
-
}>;
|
705
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
706
|
+
value: import("vue-types").VueTypeDef<string | number | boolean>;
|
707
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
708
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
709
|
+
default: boolean;
|
710
|
+
} & {
|
711
|
+
default: boolean;
|
712
|
+
};
|
713
|
+
}>> & import("vue").ShallowUnwrapRef<{
|
671
714
|
selected: import("vue").ComputedRef<boolean>;
|
715
|
+
multiple: import("vue").ComputedRef<boolean>;
|
672
716
|
handleOptionClick: () => void;
|
673
717
|
visible: import("vue").Ref<boolean>;
|
674
718
|
}> & {} & {} & import("vue").ComponentCustomProperties>>;
|
@@ -677,16 +721,15 @@ declare const BkSelect: {
|
|
677
721
|
$data: {};
|
678
722
|
$props: Partial<{
|
679
723
|
disabled: boolean;
|
680
|
-
}> & Omit<Readonly<{
|
681
|
-
value
|
682
|
-
label
|
683
|
-
disabled
|
684
|
-
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
}> & {} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled">;
|
724
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
725
|
+
value: import("vue-types").VueTypeDef<string | number | boolean>;
|
726
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
727
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
728
|
+
default: boolean;
|
729
|
+
} & {
|
730
|
+
default: boolean;
|
731
|
+
};
|
732
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled">;
|
690
733
|
$attrs: {
|
691
734
|
[x: string]: unknown;
|
692
735
|
};
|
@@ -700,24 +743,17 @@ declare const BkSelect: {
|
|
700
743
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
701
744
|
$emit: (event: string, ...args: any[]) => void;
|
702
745
|
$el: any;
|
703
|
-
$options: import("vue").ComponentOptionsBase<Readonly<{
|
704
|
-
value
|
705
|
-
label
|
706
|
-
disabled
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
}> & {}, {
|
713
|
-
selectItemClass: import("vue").ComputedRef<{
|
714
|
-
'is-selected': boolean;
|
715
|
-
'is-disabled': boolean;
|
716
|
-
'is-multiple': boolean;
|
717
|
-
'is-hover': boolean;
|
718
|
-
'bk-select-option': boolean;
|
719
|
-
}>;
|
746
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
747
|
+
value: import("vue-types").VueTypeDef<string | number | boolean>;
|
748
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
749
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
750
|
+
default: boolean;
|
751
|
+
} & {
|
752
|
+
default: boolean;
|
753
|
+
};
|
754
|
+
}>>, {
|
720
755
|
selected: import("vue").ComputedRef<boolean>;
|
756
|
+
multiple: import("vue").ComputedRef<boolean>;
|
721
757
|
handleOptionClick: () => void;
|
722
758
|
visible: import("vue").Ref<boolean>;
|
723
759
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
@@ -742,54 +778,21 @@ declare const BkSelect: {
|
|
742
778
|
$forceUpdate: () => void;
|
743
779
|
$nextTick: typeof import("vue").nextTick;
|
744
780
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
745
|
-
} & Readonly<{
|
746
|
-
value
|
747
|
-
label
|
748
|
-
disabled
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
}> & {} & import("vue").ShallowUnwrapRef<{
|
755
|
-
selectItemClass: import("vue").ComputedRef<{
|
756
|
-
'is-selected': boolean;
|
757
|
-
'is-disabled': boolean;
|
758
|
-
'is-multiple': boolean;
|
759
|
-
'is-hover': boolean;
|
760
|
-
'bk-select-option': boolean;
|
761
|
-
}>;
|
781
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
782
|
+
value: import("vue-types").VueTypeDef<string | number | boolean>;
|
783
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
784
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
785
|
+
default: boolean;
|
786
|
+
} & {
|
787
|
+
default: boolean;
|
788
|
+
};
|
789
|
+
}>> & import("vue").ShallowUnwrapRef<{
|
762
790
|
selected: import("vue").ComputedRef<boolean>;
|
791
|
+
multiple: import("vue").ComputedRef<boolean>;
|
763
792
|
handleOptionClick: () => void;
|
764
793
|
visible: import("vue").Ref<boolean>;
|
765
794
|
}> & {} & {} & import("vue").ComponentCustomProperties>>;
|
766
|
-
|
767
|
-
selectClass: import("vue").ComputedRef<{
|
768
|
-
[x: string]: boolean;
|
769
|
-
'bk-select': boolean;
|
770
|
-
'popover-show': boolean;
|
771
|
-
'is-disabled': boolean;
|
772
|
-
'is-focus': boolean;
|
773
|
-
}>;
|
774
|
-
isPopoverShow: import("vue").Ref<boolean>;
|
775
|
-
placeholder: import("vue").Ref<string>;
|
776
|
-
filterable: import("vue").Ref<boolean>;
|
777
|
-
clearable: import("vue").Ref<boolean>;
|
778
|
-
isHover: import("vue").Ref<boolean>;
|
779
|
-
popperWidth: import("vue").Ref<string | number>;
|
780
|
-
selectTriggerRef: import("vue").Ref<HTMLElement>;
|
781
|
-
searchKey: import("vue").Ref<string>;
|
782
|
-
searchLoading: import("vue").Ref<boolean>;
|
783
|
-
isEmpty: import("vue").ComputedRef<boolean>;
|
784
|
-
setHover: () => void;
|
785
|
-
cancelHover: () => void;
|
786
|
-
handleFocus: () => void;
|
787
|
-
handleBlur: () => void;
|
788
|
-
toggleMenu: () => void;
|
789
|
-
handleClear: (e: Event) => void;
|
790
|
-
onPopoverFirstUpdate: import("@bkui-vue/shared").OnFirstUpdateFnType;
|
791
|
-
hidePopover: () => void;
|
792
|
-
showPopover: () => void;
|
795
|
+
currentSelectedLabel: import("vue").Ref<string>;
|
793
796
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "toggle" | "update:modelValue")[], "change" | "toggle" | "update:modelValue", {
|
794
797
|
placeholder: string;
|
795
798
|
size: string;
|
@@ -799,6 +802,7 @@ declare const BkSelect: {
|
|
799
802
|
clearable: boolean;
|
800
803
|
filterable: boolean;
|
801
804
|
remoteMethod: (...args: any[]) => any;
|
805
|
+
scrollHeight: number;
|
802
806
|
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & Readonly<{
|
803
807
|
Option: import("vue").DefineComponent<{
|
804
808
|
value: import("vue-types").VueTypeDef<string | number | boolean>;
|
@@ -809,26 +813,19 @@ declare const BkSelect: {
|
|
809
813
|
default: boolean;
|
810
814
|
};
|
811
815
|
}, {
|
812
|
-
selectItemClass: import("vue").ComputedRef<{
|
813
|
-
'is-selected': boolean;
|
814
|
-
'is-disabled': boolean;
|
815
|
-
'is-multiple': boolean;
|
816
|
-
'is-hover': boolean;
|
817
|
-
'bk-select-option': boolean;
|
818
|
-
}>;
|
819
816
|
selected: import("vue").ComputedRef<boolean>;
|
817
|
+
multiple: import("vue").ComputedRef<boolean>;
|
820
818
|
handleOptionClick: () => void;
|
821
819
|
visible: import("vue").Ref<boolean>;
|
822
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
823
|
-
value
|
824
|
-
label
|
825
|
-
disabled
|
826
|
-
|
827
|
-
|
828
|
-
|
829
|
-
|
830
|
-
|
831
|
-
}> & {}, {
|
820
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
821
|
+
value: import("vue-types").VueTypeDef<string | number | boolean>;
|
822
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
823
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
824
|
+
default: boolean;
|
825
|
+
} & {
|
826
|
+
default: boolean;
|
827
|
+
};
|
828
|
+
}>>, {
|
832
829
|
disabled: boolean;
|
833
830
|
}>;
|
834
831
|
Group: import("vue").DefineComponent<{
|
@@ -842,23 +839,31 @@ declare const BkSelect: {
|
|
842
839
|
} & {
|
843
840
|
default: boolean;
|
844
841
|
};
|
842
|
+
collapsible: import("vue-types").VueTypeValidableDef<boolean> & {
|
843
|
+
default: boolean;
|
844
|
+
} & {
|
845
|
+
default: boolean;
|
846
|
+
};
|
847
|
+
collapse: import("vue-types").VueTypeValidableDef<boolean> & {
|
848
|
+
default: boolean;
|
849
|
+
} & {
|
850
|
+
default: boolean;
|
851
|
+
};
|
845
852
|
}, {
|
846
|
-
visible: import("vue").ComputedRef<boolean>;
|
847
853
|
children: import("vue").Ref<({
|
848
854
|
$: import("vue").ComponentInternalInstance;
|
849
855
|
$data: {};
|
850
856
|
$props: Partial<{
|
851
857
|
disabled: boolean;
|
852
|
-
}> & Omit<Readonly<{
|
853
|
-
value
|
854
|
-
label
|
855
|
-
disabled
|
856
|
-
|
857
|
-
|
858
|
-
|
859
|
-
|
860
|
-
|
861
|
-
}> & {} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled">;
|
858
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
859
|
+
value: import("vue-types").VueTypeDef<string | number | boolean>;
|
860
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
861
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
862
|
+
default: boolean;
|
863
|
+
} & {
|
864
|
+
default: boolean;
|
865
|
+
};
|
866
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled">;
|
862
867
|
$attrs: {
|
863
868
|
[x: string]: unknown;
|
864
869
|
};
|
@@ -872,24 +877,17 @@ declare const BkSelect: {
|
|
872
877
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
873
878
|
$emit: (event: string, ...args: any[]) => void;
|
874
879
|
$el: any;
|
875
|
-
$options: import("vue").ComponentOptionsBase<Readonly<{
|
876
|
-
value
|
877
|
-
label
|
878
|
-
disabled
|
879
|
-
|
880
|
-
|
881
|
-
|
882
|
-
|
883
|
-
|
884
|
-
}> & {}, {
|
885
|
-
selectItemClass: import("vue").ComputedRef<{
|
886
|
-
'is-selected': boolean;
|
887
|
-
'is-disabled': boolean;
|
888
|
-
'is-multiple': boolean;
|
889
|
-
'is-hover': boolean;
|
890
|
-
'bk-select-option': boolean;
|
891
|
-
}>;
|
880
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
881
|
+
value: import("vue-types").VueTypeDef<string | number | boolean>;
|
882
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
883
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
884
|
+
default: boolean;
|
885
|
+
} & {
|
886
|
+
default: boolean;
|
887
|
+
};
|
888
|
+
}>>, {
|
892
889
|
selected: import("vue").ComputedRef<boolean>;
|
890
|
+
multiple: import("vue").ComputedRef<boolean>;
|
893
891
|
handleOptionClick: () => void;
|
894
892
|
visible: import("vue").Ref<boolean>;
|
895
893
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
@@ -914,36 +912,50 @@ declare const BkSelect: {
|
|
914
912
|
$forceUpdate: () => void;
|
915
913
|
$nextTick: typeof import("vue").nextTick;
|
916
914
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
917
|
-
} & Readonly<{
|
918
|
-
value
|
919
|
-
label
|
920
|
-
disabled
|
921
|
-
|
922
|
-
|
923
|
-
|
924
|
-
|
925
|
-
|
926
|
-
}> & {} & import("vue").ShallowUnwrapRef<{
|
927
|
-
selectItemClass: import("vue").ComputedRef<{
|
928
|
-
'is-selected': boolean;
|
929
|
-
'is-disabled': boolean;
|
930
|
-
'is-multiple': boolean;
|
931
|
-
'is-hover': boolean;
|
932
|
-
'bk-select-option': boolean;
|
933
|
-
}>;
|
915
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
916
|
+
value: import("vue-types").VueTypeDef<string | number | boolean>;
|
917
|
+
label: import("vue-types").VueTypeDef<string | number>;
|
918
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
919
|
+
default: boolean;
|
920
|
+
} & {
|
921
|
+
default: boolean;
|
922
|
+
};
|
923
|
+
}>> & import("vue").ShallowUnwrapRef<{
|
934
924
|
selected: import("vue").ComputedRef<boolean>;
|
925
|
+
multiple: import("vue").ComputedRef<boolean>;
|
935
926
|
handleOptionClick: () => void;
|
936
927
|
visible: import("vue").Ref<boolean>;
|
937
928
|
}> & {} & {} & import("vue").ComponentCustomProperties)[]>;
|
938
|
-
|
939
|
-
|
940
|
-
|
941
|
-
|
942
|
-
|
943
|
-
|
944
|
-
|
929
|
+
groupLabel: import("vue").ComputedRef<string>;
|
930
|
+
handleToggleCollapse: () => void;
|
931
|
+
groupCollapse: import("vue").Ref<boolean>;
|
932
|
+
visible: import("vue").Ref<boolean>;
|
933
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
934
|
+
label: import("vue-types").VueTypeValidableDef<string> & {
|
935
|
+
default: string;
|
936
|
+
} & {
|
937
|
+
default: string;
|
938
|
+
};
|
939
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
940
|
+
default: boolean;
|
941
|
+
} & {
|
942
|
+
default: boolean;
|
943
|
+
};
|
944
|
+
collapsible: import("vue-types").VueTypeValidableDef<boolean> & {
|
945
|
+
default: boolean;
|
946
|
+
} & {
|
947
|
+
default: boolean;
|
948
|
+
};
|
949
|
+
collapse: import("vue-types").VueTypeValidableDef<boolean> & {
|
950
|
+
default: boolean;
|
951
|
+
} & {
|
952
|
+
default: boolean;
|
953
|
+
};
|
954
|
+
}>>, {
|
945
955
|
label: string;
|
956
|
+
collapse: boolean;
|
946
957
|
disabled: boolean;
|
958
|
+
collapsible: boolean;
|
947
959
|
}>;
|
948
960
|
}>;
|
949
961
|
export default BkSelect;
|