bkui-vue 2.0.1-beta.106 → 2.0.1-beta.108

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.
Files changed (253) hide show
  1. package/dist/index.cjs.js +71 -71
  2. package/dist/index.esm.js +18609 -18772
  3. package/dist/index.umd.js +70 -70
  4. package/dist/style.css +1 -1
  5. package/lib/affix/index.d.ts +111 -57
  6. package/lib/affix/index.js +17 -17
  7. package/lib/alert/index.d.ts +126 -73
  8. package/lib/alert/index.js +20 -20
  9. package/lib/animate-number/index.d.ts +96 -33
  10. package/lib/animate-number/index.js +7 -8
  11. package/lib/backtop/index.d.ts +117 -69
  12. package/lib/backtop/index.js +10 -11
  13. package/lib/badge/index.d.ts +152 -119
  14. package/lib/badge/index.js +19 -19
  15. package/lib/breadcrumb/index.d.ts +119 -67
  16. package/lib/breadcrumb/index.js +17 -17
  17. package/lib/button/button.d.ts +2 -2
  18. package/lib/button/index.d.ts +155 -119
  19. package/lib/button/index.js +20 -19
  20. package/lib/card/index.d.ts +157 -128
  21. package/lib/card/index.js +22 -20
  22. package/lib/cascader/cascader.d.ts +3 -3
  23. package/lib/cascader/index.d.ts +354 -393
  24. package/lib/cascader/index.js +268 -270
  25. package/lib/checkbox/checkbox.d.ts +1 -1
  26. package/lib/checkbox/index.d.ts +175 -143
  27. package/lib/checkbox/index.js +45 -45
  28. package/lib/code-diff/index.d.ts +82 -65
  29. package/lib/code-diff/index.js +438 -381
  30. package/lib/collapse/index.d.ts +175 -156
  31. package/lib/collapse/index.js +27 -28
  32. package/lib/collapse-transition/index.d.ts +94 -19
  33. package/lib/collapse-transition/index.js +3 -4
  34. package/lib/color-picker/color-picker.d.ts +1 -1
  35. package/lib/color-picker/index.d.ts +165 -144
  36. package/lib/color-picker/index.js +41 -43
  37. package/lib/config-provider/index.d.ts +227 -160
  38. package/lib/config-provider/index.js +22 -25
  39. package/lib/config-provider/use-global-config.d.ts +0 -1
  40. package/lib/container/container.d.ts +1 -1
  41. package/lib/container/index.d.ts +85 -74
  42. package/lib/container/index.js +26 -28
  43. package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
  44. package/lib/date-picker/base/time-spinner.d.ts +3 -3
  45. package/lib/date-picker/date-picker.d.ts +4 -4
  46. package/lib/date-picker/index.d.ts +351 -380
  47. package/lib/date-picker/index.js +79 -80
  48. package/lib/date-picker/panel/date-range.d.ts +1 -1
  49. package/lib/date-picker/panel/date.d.ts +1 -1
  50. package/lib/date-picker/panel/time-range.d.ts +2 -2
  51. package/lib/date-picker/panel/time.d.ts +2 -2
  52. package/lib/date-picker/time-picker.d.ts +4 -4
  53. package/lib/dialog/index.d.ts +269 -299
  54. package/lib/dialog/index.js +228 -227
  55. package/lib/directives/index.js +33 -41
  56. package/lib/divider/index.d.ts +111 -57
  57. package/lib/divider/index.js +2 -3
  58. package/lib/dropdown/dropdown.d.ts +1 -1
  59. package/lib/dropdown/index.d.ts +136 -94
  60. package/lib/dropdown/index.js +22 -24
  61. package/lib/exception/index.d.ts +102 -41
  62. package/lib/exception/index.js +21 -21
  63. package/lib/fixed-navbar/index.d.ts +113 -59
  64. package/lib/fixed-navbar/index.js +2 -3
  65. package/lib/form/form.d.ts +1 -1
  66. package/lib/form/index.d.ts +132 -80
  67. package/lib/form/index.js +22 -21
  68. package/lib/icon/angle-double-down-line.js +17 -17
  69. package/lib/icon/angle-double-left-line.js +17 -17
  70. package/lib/icon/angle-double-left.js +17 -17
  71. package/lib/icon/angle-double-right-line.js +17 -17
  72. package/lib/icon/angle-double-right.js +17 -17
  73. package/lib/icon/angle-double-up-line.js +17 -17
  74. package/lib/icon/angle-down-fill.js +17 -17
  75. package/lib/icon/angle-down-line.js +17 -17
  76. package/lib/icon/angle-down.js +17 -17
  77. package/lib/icon/angle-left.js +17 -17
  78. package/lib/icon/angle-right.js +17 -17
  79. package/lib/icon/angle-up-fill.js +17 -17
  80. package/lib/icon/angle-up.js +17 -17
  81. package/lib/icon/archive-fill.js +17 -17
  82. package/lib/icon/arrows-left.js +17 -17
  83. package/lib/icon/arrows-right.js +17 -17
  84. package/lib/icon/assistant.js +17 -17
  85. package/lib/icon/audio-fill.js +17 -17
  86. package/lib/icon/bk.js +17 -17
  87. package/lib/icon/circle.js +17 -17
  88. package/lib/icon/close-line.js +17 -17
  89. package/lib/icon/close.js +17 -17
  90. package/lib/icon/code.js +17 -17
  91. package/lib/icon/cog-shape.js +17 -17
  92. package/lib/icon/collapse-left.js +17 -17
  93. package/lib/icon/copy-shape.js +17 -17
  94. package/lib/icon/copy.js +17 -17
  95. package/lib/icon/data-shape.js +17 -17
  96. package/lib/icon/del.js +17 -17
  97. package/lib/icon/doc-fill.js +17 -17
  98. package/lib/icon/done.js +17 -17
  99. package/lib/icon/down-shape.js +17 -17
  100. package/lib/icon/down-small.js +17 -17
  101. package/lib/icon/edit-line.js +17 -17
  102. package/lib/icon/ellipsis.js +17 -17
  103. package/lib/icon/enlarge-line.js +17 -17
  104. package/lib/icon/error.js +17 -17
  105. package/lib/icon/excel-fill.js +17 -17
  106. package/lib/icon/exclamation-circle-shape.js +17 -17
  107. package/lib/icon/eye.js +17 -17
  108. package/lib/icon/filliscreen-line.js +17 -17
  109. package/lib/icon/fix-line.js +17 -17
  110. package/lib/icon/fix-shape.js +17 -17
  111. package/lib/icon/folder-open.js +17 -17
  112. package/lib/icon/folder-shape-open.js +17 -17
  113. package/lib/icon/folder-shape.js +17 -17
  114. package/lib/icon/folder.js +17 -17
  115. package/lib/icon/funnel.js +17 -17
  116. package/lib/icon/grag-fill.js +17 -17
  117. package/lib/icon/help-document-fill.js +17 -17
  118. package/lib/icon/help-fill.js +17 -17
  119. package/lib/icon/help.js +17 -17
  120. package/lib/icon/image-fill.js +17 -17
  121. package/lib/icon/img-error.js +17 -17
  122. package/lib/icon/img-placehoulder.js +17 -17
  123. package/lib/icon/info-line.js +17 -17
  124. package/lib/icon/info.js +17 -17
  125. package/lib/icon/left-shape.js +17 -17
  126. package/lib/icon/left-turn-line.js +17 -17
  127. package/lib/icon/loading.js +17 -17
  128. package/lib/icon/narrow-line.js +17 -17
  129. package/lib/icon/original.js +17 -17
  130. package/lib/icon/pdf-fill.js +17 -17
  131. package/lib/icon/play-shape.js +17 -17
  132. package/lib/icon/plus.js +17 -17
  133. package/lib/icon/ppt-fill.js +17 -17
  134. package/lib/icon/qq.js +17 -17
  135. package/lib/icon/right-shape.js +17 -17
  136. package/lib/icon/right-turn-line.js +17 -17
  137. package/lib/icon/search.js +17 -17
  138. package/lib/icon/share.js +17 -17
  139. package/lib/icon/spinner.js +17 -17
  140. package/lib/icon/success.js +17 -17
  141. package/lib/icon/switcher-loading.js +17 -17
  142. package/lib/icon/text-all.js +17 -17
  143. package/lib/icon/text-file.js +17 -17
  144. package/lib/icon/text-fill.js +17 -17
  145. package/lib/icon/transfer.js +17 -17
  146. package/lib/icon/tree-application-shape.js +17 -17
  147. package/lib/icon/unfull-screen.js +17 -17
  148. package/lib/icon/unvisible.js +17 -17
  149. package/lib/icon/up-shape.js +17 -17
  150. package/lib/icon/upload.js +17 -17
  151. package/lib/icon/video-fill.js +17 -17
  152. package/lib/icon/warn.js +17 -17
  153. package/lib/icon/weixin-pro.js +17 -17
  154. package/lib/icon/weixin.js +17 -17
  155. package/lib/image/index.d.ts +149 -113
  156. package/lib/image/index.js +26 -27
  157. package/lib/index.js +1 -1
  158. package/lib/info-box/index.js +233 -232
  159. package/lib/input/index.d.ts +293 -326
  160. package/lib/input/index.js +48 -46
  161. package/lib/link/index.d.ts +122 -73
  162. package/lib/link/index.js +2 -2
  163. package/lib/loading/index.d.ts +156 -130
  164. package/lib/loading/index.js +33 -32
  165. package/lib/loading/loading.d.ts +1 -1
  166. package/lib/menu/index.d.ts +116 -55
  167. package/lib/menu/index.js +25 -26
  168. package/lib/message/index.js +25 -24
  169. package/lib/message/messageConstructor.d.ts +5 -5
  170. package/lib/modal/index.d.ts +185 -171
  171. package/lib/modal/index.js +19 -19
  172. package/lib/navigation/index.d.ts +188 -152
  173. package/lib/navigation/index.js +7 -9
  174. package/lib/notify/index.js +21 -20
  175. package/lib/overflow-title/index.d.ts +256 -343
  176. package/lib/overflow-title/index.js +10 -11
  177. package/lib/pagination/index.d.ts +198 -184
  178. package/lib/pagination/index.js +56 -49
  179. package/lib/plugin-popover/index.js +135 -233
  180. package/lib/pop-confirm/index.d.ts +153 -115
  181. package/lib/pop-confirm/index.js +4 -5
  182. package/lib/pop-confirm/pop-confirm.d.ts +1 -1
  183. package/lib/popover/content.d.ts +1 -1
  184. package/lib/popover/index.d.ts +361 -423
  185. package/lib/popover/index.js +135 -233
  186. package/lib/popover/popover.d.ts +1 -1
  187. package/lib/popover/use-popover-init.d.ts +1 -2
  188. package/lib/popover2/index.d.ts +83 -8
  189. package/lib/popover2/index.js +2 -2
  190. package/lib/process/index.d.ts +137 -93
  191. package/lib/process/index.js +226 -226
  192. package/lib/progress/index.d.ts +187 -178
  193. package/lib/progress/index.js +21 -22
  194. package/lib/progress/progress.d.ts +2 -2
  195. package/lib/radio/index.d.ts +140 -91
  196. package/lib/radio/index.js +48 -46
  197. package/lib/rate/index.d.ts +112 -55
  198. package/lib/rate/index.js +20 -19
  199. package/lib/resize-layout/index.d.ts +192 -168
  200. package/lib/resize-layout/index.js +21 -20
  201. package/lib/resize-layout/resize-layout.d.ts +2 -2
  202. package/lib/scrollbar/index.js +38 -38
  203. package/lib/search-select/index.d.ts +901 -684
  204. package/lib/search-select/index.js +274 -274
  205. package/lib/search-select/input.d.ts +2 -2
  206. package/lib/search-select/search-select.d.ts +188 -133
  207. package/lib/search-select/selected.d.ts +188 -133
  208. package/lib/select/index.d.ts +1333 -1491
  209. package/lib/select/index.js +280 -279
  210. package/lib/select/select.d.ts +169 -132
  211. package/lib/select/selectTagInput.d.ts +2 -2
  212. package/lib/shared/index.js +56 -54
  213. package/lib/sideslider/index.d.ts +201 -197
  214. package/lib/sideslider/index.js +228 -227
  215. package/lib/slider/index.d.ts +210 -214
  216. package/lib/slider/index.js +225 -226
  217. package/lib/steps/index.d.ts +149 -110
  218. package/lib/steps/index.js +231 -230
  219. package/lib/swiper/index.d.ts +127 -81
  220. package/lib/swiper/index.js +18 -18
  221. package/lib/switcher/index.d.ts +174 -152
  222. package/lib/switcher/index.js +22 -20
  223. package/lib/tab/index.d.ts +183 -151
  224. package/lib/tab/index.js +19 -20
  225. package/lib/table/components/table-column.d.ts +1 -1
  226. package/lib/table/hooks/use-columns.d.ts +1 -1
  227. package/lib/table/hooks/use-layout.d.ts +2 -2
  228. package/lib/table/hooks/use-rows.d.ts +1 -1
  229. package/lib/table/index.d.ts +362 -457
  230. package/lib/table/index.js +350 -338
  231. package/lib/table/table.d.ts +1 -1
  232. package/lib/table-column/index.d.ts +150 -104
  233. package/lib/table-column/index.js +19 -18
  234. package/lib/tag/index.d.ts +142 -95
  235. package/lib/tag/index.js +19 -19
  236. package/lib/tag-input/index.d.ts +540 -755
  237. package/lib/tag-input/index.js +58 -52
  238. package/lib/tag-input/tag-input.d.ts +5 -5
  239. package/lib/time-picker/index.d.ts +386 -439
  240. package/lib/timeline/index.d.ts +131 -64
  241. package/lib/timeline/index.js +6 -6
  242. package/lib/transfer/index.d.ts +206 -191
  243. package/lib/tree/index.d.ts +308 -350
  244. package/lib/tree/index.js +74 -71
  245. package/lib/tree/tree.d.ts +1 -1
  246. package/lib/tree/use-tree-init.d.ts +1 -1
  247. package/lib/upload/index.d.ts +273 -311
  248. package/lib/upload/index.js +264 -261
  249. package/lib/upload/upload.d.ts +2 -2
  250. package/lib/virtual-render/index.d.ts +241 -333
  251. package/lib/virtual-render/index.js +29 -29
  252. package/lib/virtual-render/virtual-render.d.ts +1 -1
  253. package/package.json +1 -1
@@ -1,298 +1,416 @@
1
1
  declare const BkSearchSelect: {
2
- new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
3
- data: {
4
- type: import("vue").PropType<Omit<import("./utils").ISearchItem, "value" | "isSelected">[]>;
5
- default: () => any[];
6
- };
7
- modelValue: {
8
- type: import("vue").PropType<import("./utils").ISearchValue[]>;
9
- default: () => any[];
10
- };
11
- maxHeight: {
12
- type: NumberConstructor;
13
- default: number;
14
- };
15
- conditions: {
16
- type: import("vue").PropType<import("./utils").ICommonItem[]>;
17
- default: () => any[];
18
- };
19
- clearable: {
20
- type: BooleanConstructor;
21
- default: boolean;
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
- placeholder: StringConstructor;
24
- getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
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
- valueBehavior: {
31
- type: import("vue").PropType<"all" | "need-key">;
32
- default: import("./utils").ValueBehavior;
33
- validator(v: import("./utils").ValueBehavior): boolean;
67
+ $refs: {
68
+ [x: string]: unknown;
34
69
  };
35
- }>> & {
36
- "onUpdate:modelValue"?: (...args: any[]) => any;
37
- onSelectKey?: (...args: any[]) => any;
38
- onSearch?: (...args: any[]) => any;
39
- }, {
40
- inputRef: import("vue").Ref<import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
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
- defaultUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
54
- mode: {
55
- type: import("vue").PropType<import("./utils").SearchInputMode>;
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: () => number;
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
- defaultUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
142
- mode: {
143
- type: import("vue").PropType<import("./utils").SearchInputMode>;
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
- valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
153
- }>> & {
154
- onFocus?: (...args: any[]) => any;
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
- defaultUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
187
- mode: {
188
- type: import("vue").PropType<import("./utils").SearchInputMode>;
189
- default: import("./utils").SearchInputMode;
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
- onFocus?: (...args: any[]) => any;
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
- popoverRef: import("vue").Ref<HTMLDivElement>;
205
- inputRef: import("vue").Ref<HTMLDivElement>;
206
- keyword: import("vue").Ref<string>;
207
- loading: import("vue").Ref<boolean>;
208
- remoteMenuList: import("vue").Ref<{
209
- id: string;
210
- name: string;
211
- disabled?: boolean;
212
- realId?: string;
213
- value?: {
214
- name: string;
215
- id: string;
216
- realId?: string;
217
- isSelected?: boolean;
218
- logical?: import("./utils").SearchLogical;
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
- isSelected?: boolean;
221
- logical?: import("./utils").SearchLogical;
222
- }[]>;
223
- menuList: import("vue").Ref<import("./utils").ISearchItem[]>;
224
- menuHoverId: import("vue").Ref<string>;
225
- isFocus: import("vue").Ref<boolean>;
226
- usingItem: import("vue").Ref<import("./utils").SelectedItem>;
227
- showPopover: import("vue").Ref<boolean>;
228
- showNoSelectValueError: import("vue").Ref<boolean>;
229
- debounceSetMenuList: {
230
- (this: any): any;
231
- cancel(): void;
232
- };
233
- documentArrowEvent: (e: KeyboardEvent) => void;
234
- handleClickOutside: (e: MouseEvent) => void;
235
- handleInputFocus: (event?: FocusEvent) => void;
236
- handleInputChange: (event: Event) => void;
237
- handleInputPaste: (event: ClipboardEvent) => void;
238
- handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
239
- handleInputKeyup: (event: KeyboardEvent) => void;
240
- handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
241
- handleSelectConditionItem: (item: import("./utils").ICommonItem) => void;
242
- handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
243
- resolveClassName: (cls: string) => string;
244
- inputFocusForWrapper: () => void;
245
- inputEnterForWrapper: () => Promise<void>;
246
- inputClearForWrapper: () => void;
247
- deleteInputTextNode: () => void;
248
- customPanelSubmit: (value: string) => void;
249
- refleshMenuHover: () => void;
250
- t: import("vue").ComputedRef<{
251
- pleaseSelect: string;
252
- loading: string;
253
- filterQueryMustHasValue: string;
254
- ok: string;
255
- cancel: string;
256
- or: string;
257
- and: string;
258
- logical: string;
259
- }>;
260
- inputKey: import("vue").Ref<string>;
261
- }, {}, {}, {}, {
262
- maxHeight: number;
263
- mode: import("./utils").SearchInputMode;
264
- conditions: import("./utils").ICommonItem[];
265
- showInputBefore: boolean;
266
- showCondition: boolean;
267
- }>>;
268
- wrapRef: import("vue").Ref<HTMLDivElement>;
269
- isFocus: import("vue").Ref<boolean>;
270
- copyData: import("vue").ShallowRef<import("./utils").ISearchItem[]>;
271
- selectedList: import("vue").Ref<{
272
- id: string;
273
- name: string;
274
- values: {
275
- id: string;
276
- name: string;
277
- disabled?: boolean;
278
- realId?: string;
279
- value?: {
280
- name: string;
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
- isSelected?: boolean;
287
- logical?: import("./utils").SearchLogical;
288
- }[];
289
- condition: string;
290
- logical: import("./utils").SearchLogical;
291
- nameRenderKey: string;
292
- searchItem: {
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
- children?: {
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
- multiple?: boolean;
311
- async?: boolean;
312
- noValidate?: boolean;
313
- placeholder?: string;
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
- isSelected?: boolean;
331
- onlyRecommendChildren?: boolean;
332
- logical?: import("./utils").SearchLogical;
333
- showLogicalPanel?: boolean;
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
- isSelected?: boolean;
352
- logical?: import("./utils").SearchLogical;
353
- }[];
354
- readonly validate: boolean;
355
- readonly inputInnerHtml: string;
356
- readonly inputInnerText: string;
357
- readonly keyInnerHtml: string;
358
- readonly keyInnerText: string;
359
- readonly showLogical: boolean;
360
- readonly isCustomMenu: boolean;
361
- isSpecialType: () => boolean;
362
- addValue: (item: import("./utils").ICommonItem) => void;
363
- str2Values: (str: string) => import("./utils").ICommonItem[];
364
- addValues: (str: string, mergeValues?: boolean) => void;
365
- getValue: (str: string) => import("./utils").ICommonItem;
366
- toValue: () => import("./utils").ISearchValue;
367
- toValueKey: () => string;
368
- isInValueList: (item: import("./utils").ICommonItem) => boolean;
369
- }[]>;
370
- overflowIndex: import("vue").Ref<number>;
371
- validateStr: import("vue").Ref<string>;
372
- onEditClick: (item: import("./utils").SelectedItem, index: number) => void;
373
- onEditEnter: (item: import("./utils").SelectedItem, index: number) => void;
374
- handleWrapClick: () => void;
375
- handleInputFocus: (v: boolean) => void;
376
- handleResize: () => void;
377
- handleClearAll: () => void;
378
- handleInputOutside: (target: Node) => boolean;
379
- handleAddSelected: (item: import("./utils").SelectedItem) => void;
380
- handleDeleteSelected: (index?: number) => void;
381
- handleClickSearch: (e: MouseEvent) => void;
382
- localConditions: import("vue").ComputedRef<import("./utils").ICommonItem[]>;
383
- resolveClassName: (cls: string) => string;
384
- handleSelectedKey: (a: import("./utils").ICommonItem) => void;
385
- t: import("vue").ComputedRef<{
386
- pleaseSelect: string;
387
- loading: string;
388
- filterQueryMustHasValue: string;
389
- ok: string;
390
- cancel: string;
391
- or: string;
392
- and: string;
393
- logical: string;
394
- }>;
395
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "update:modelValue" | "selectKey")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
396
- data: {
397
- type: import("vue").PropType<Omit<import("./utils").ISearchItem, "value" | "isSelected">[]>;
398
- default: () => any[];
399
- };
400
- modelValue: {
401
- type: import("vue").PropType<import("./utils").ISearchValue[]>;
402
- default: () => any[];
403
- };
404
- maxHeight: {
405
- type: NumberConstructor;
406
- default: number;
407
- };
408
- conditions: {
409
- type: import("vue").PropType<import("./utils").ICommonItem[]>;
410
- default: () => any[];
411
- };
412
- clearable: {
413
- type: BooleanConstructor;
414
- default: boolean;
415
- };
416
- placeholder: StringConstructor;
417
- getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
418
- validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
419
- uniqueSelect: {
420
- type: BooleanConstructor;
421
- default: boolean;
422
- };
423
- valueBehavior: {
424
- type: import("vue").PropType<"all" | "need-key">;
425
- default: import("./utils").ValueBehavior;
426
- validator(v: import("./utils").ValueBehavior): boolean;
492
+ }[];
493
+ readonly validate: boolean;
494
+ readonly inputInnerHtml: string;
495
+ readonly inputInnerText: string;
496
+ readonly keyInnerHtml: string;
497
+ readonly keyInnerText: string;
498
+ readonly showLogical: boolean;
499
+ readonly isCustomMenu: boolean;
500
+ isSpecialType: () => boolean;
501
+ addValue: (item: import("./utils").ICommonItem) => void;
502
+ str2Values: (str: string) => import("./utils").ICommonItem[];
503
+ addValues: (str: string, mergeValues?: boolean) => void;
504
+ getValue: (str: string) => import("./utils").ICommonItem;
505
+ toValue: () => import("./utils").ISearchValue;
506
+ toValueKey: () => string;
507
+ isInValueList: (item: import("./utils").ICommonItem) => boolean;
508
+ }[]>;
509
+ overflowIndex: import("vue").Ref<number>;
510
+ validateStr: import("vue").Ref<string>;
511
+ onEditClick: (item: import("./utils").SelectedItem, index: number) => void;
512
+ onEditEnter: (item: import("./utils").SelectedItem, index: number) => void;
513
+ handleWrapClick: () => void;
514
+ handleInputFocus: (v: boolean) => void;
515
+ handleResize: () => void;
516
+ handleClearAll: () => void;
517
+ handleInputOutside: (target: Node) => boolean;
518
+ handleAddSelected: (item: import("./utils").SelectedItem) => void;
519
+ handleDeleteSelected: (index?: number) => void;
520
+ handleClickSearch: (e: MouseEvent) => void;
521
+ localConditions: import("vue").ComputedRef<import("./utils").ICommonItem[]>;
522
+ resolveClassName: (cls: string) => string;
523
+ handleSelectedKey: (a: import("./utils").ICommonItem) => void;
524
+ t: import("vue").ComputedRef<{
525
+ pleaseSelect: string;
526
+ loading: string;
527
+ filterQueryMustHasValue: string;
528
+ ok: string;
529
+ cancel: string;
530
+ or: string;
531
+ and: string;
532
+ logical: string;
533
+ }>;
534
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "update:modelValue" | "selectKey")[], string, {
535
+ data: Omit<import("./utils").ISearchItem, "value" | "isSelected">[];
536
+ maxHeight: number;
537
+ clearable: boolean;
538
+ modelValue: import("./utils").ISearchValue[];
539
+ conditions: import("./utils").ICommonItem[];
540
+ valueBehavior: "all" | "need-key";
541
+ uniqueSelect: boolean;
542
+ }, {}, string, import("vue").SlotsType<{
543
+ menu: import("./utils").MenuSlotParams;
544
+ prepend: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
545
+ [key: string]: any;
546
+ }>;
547
+ append: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
548
+ [key: string]: any;
549
+ }>;
550
+ validate: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
551
+ [key: string]: any;
552
+ }>;
553
+ }>> & {
554
+ beforeCreate?: (() => void) | (() => void)[];
555
+ created?: (() => void) | (() => void)[];
556
+ beforeMount?: (() => void) | (() => void)[];
557
+ mounted?: (() => void) | (() => void)[];
558
+ beforeUpdate?: (() => void) | (() => void)[];
559
+ updated?: (() => void) | (() => void)[];
560
+ activated?: (() => void) | (() => void)[];
561
+ deactivated?: (() => void) | (() => void)[];
562
+ beforeDestroy?: (() => void) | (() => void)[];
563
+ beforeUnmount?: (() => void) | (() => void)[];
564
+ destroyed?: (() => void) | (() => void)[];
565
+ unmounted?: (() => void) | (() => void)[];
566
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
567
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
568
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
427
569
  };
428
- }>> & {
429
- "onUpdate:modelValue"?: (...args: any[]) => any;
430
- onSelectKey?: (...args: any[]) => any;
431
- onSearch?: (...args: any[]) => any;
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<import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
497
- data: {
498
- type: import("vue").PropType<import("./utils").ISearchItem[]>;
499
- required: true;
500
- };
501
- showInputBefore: BooleanConstructor;
502
- showCondition: BooleanConstructor;
503
- clickOutside: FunctionConstructor;
504
- placeholder: StringConstructor;
505
- conditions: {
506
- type: import("vue").PropType<import("./utils").ICommonItem[]>;
507
- default: () => any[];
508
- };
509
- defaultUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
510
- mode: {
511
- type: import("vue").PropType<import("./utils").SearchInputMode>;
512
- default: import("./utils").SearchInputMode;
513
- };
514
- maxHeight: {
515
- type: NumberConstructor;
516
- default: () => number;
517
- };
518
- getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
519
- validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
520
- valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
521
- }>> & {
522
- onFocus?: (...args: any[]) => any;
523
- onDelete?: (...args: any[]) => any;
524
- onAdd?: (...args: any[]) => any;
525
- onSelectKey?: (...args: any[]) => any;
526
- }, {
527
- popoverRef: import("vue").Ref<HTMLDivElement>;
528
- inputRef: import("vue").Ref<HTMLDivElement>;
529
- keyword: import("vue").Ref<string>;
530
- loading: import("vue").Ref<boolean>;
531
- remoteMenuList: import("vue").Ref<{
532
- id: string;
533
- name: string;
534
- disabled?: boolean;
535
- realId?: string;
536
- value?: {
537
- name: string;
538
- id: string;
539
- realId?: string;
540
- isSelected?: boolean;
541
- logical?: import("./utils").SearchLogical;
542
- };
543
- isSelected?: boolean;
544
- logical?: import("./utils").SearchLogical;
545
- }[]>;
546
- menuList: import("vue").Ref<import("./utils").ISearchItem[]>;
547
- menuHoverId: import("vue").Ref<string>;
548
- isFocus: import("vue").Ref<boolean>;
549
- usingItem: import("vue").Ref<import("./utils").SelectedItem>;
550
- showPopover: import("vue").Ref<boolean>;
551
- showNoSelectValueError: import("vue").Ref<boolean>;
552
- debounceSetMenuList: {
553
- (this: any): any;
554
- cancel(): void;
555
- };
556
- documentArrowEvent: (e: KeyboardEvent) => void;
557
- handleClickOutside: (e: MouseEvent) => void;
558
- handleInputFocus: (event?: FocusEvent) => void;
559
- handleInputChange: (event: Event) => void;
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
- defaultUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
598
- mode: {
599
- type: import("vue").PropType<import("./utils").SearchInputMode>;
600
- default: import("./utils").SearchInputMode;
676
+ $attrs: {
677
+ [x: string]: unknown;
601
678
  };
602
- maxHeight: {
603
- type: NumberConstructor;
604
- default: () => number;
679
+ $refs: {
680
+ [x: string]: unknown;
605
681
  };
606
- getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
607
- validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
608
- valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
609
- }>> & {
610
- onFocus?: (...args: any[]) => any;
611
- onDelete?: (...args: any[]) => any;
612
- onAdd?: (...args: any[]) => any;
613
- onSelectKey?: (...args: any[]) => any;
614
- }, {
615
- maxHeight: number;
616
- mode: import("./utils").SearchInputMode;
617
- conditions: import("./utils").ICommonItem[];
618
- showInputBefore: boolean;
619
- showCondition: boolean;
620
- }, true, {}, import("vue").SlotsType<{
621
- menu: import("./utils").MenuSlotParams;
622
- }>, {
623
- P: {};
624
- B: {};
625
- D: {};
626
- C: {};
627
- M: {};
628
- Defaults: {};
629
- }, Readonly<import("vue").ExtractPropTypes<{
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<import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
902
- data: {
903
- type: import("vue").PropType<import("./utils").ISearchItem[]>;
904
- required: true;
905
- };
906
- showInputBefore: BooleanConstructor;
907
- showCondition: BooleanConstructor;
908
- clickOutside: FunctionConstructor;
909
- placeholder: StringConstructor;
910
- conditions: {
911
- type: import("vue").PropType<import("./utils").ICommonItem[]>;
912
- default: () => any[];
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
- defaultUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
915
- mode: {
916
- type: import("vue").PropType<import("./utils").SearchInputMode>;
917
- default: import("./utils").SearchInputMode;
1128
+ $attrs: {
1129
+ [x: string]: unknown;
918
1130
  };
919
- maxHeight: {
920
- type: NumberConstructor;
921
- default: () => number;
1131
+ $refs: {
1132
+ [x: string]: unknown;
922
1133
  };
923
- getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
924
- validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
925
- valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
926
- }>> & {
927
- onFocus?: (...args: any[]) => any;
928
- onDelete?: (...args: any[]) => any;
929
- onAdd?: (...args: any[]) => any;
930
- onSelectKey?: (...args: any[]) => any;
931
- }, {
932
- popoverRef: import("vue").Ref<HTMLDivElement>;
933
- inputRef: import("vue").Ref<HTMLDivElement>;
934
- keyword: import("vue").Ref<string>;
935
- loading: import("vue").Ref<boolean>;
936
- remoteMenuList: import("vue").Ref<{
937
- id: string;
938
- name: string;
939
- disabled?: boolean;
940
- realId?: string;
941
- value?: {
942
- name: string;
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
- isSelected?: boolean;
949
- logical?: import("./utils").SearchLogical;
950
- }[]>;
951
- menuList: import("vue").Ref<import("./utils").ISearchItem[]>;
952
- menuHoverId: import("vue").Ref<string>;
953
- isFocus: import("vue").Ref<boolean>;
954
- usingItem: import("vue").Ref<import("./utils").SelectedItem>;
955
- showPopover: import("vue").Ref<boolean>;
956
- showNoSelectValueError: import("vue").Ref<boolean>;
957
- debounceSetMenuList: {
958
- (this: any): any;
959
- cancel(): void;
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
- documentArrowEvent: (e: KeyboardEvent) => void;
962
- handleClickOutside: (e: MouseEvent) => void;
963
- handleInputFocus: (event?: FocusEvent) => void;
964
- handleInputChange: (event: Event) => void;
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[]>;