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