@silver-formily/element-plus 2.2.0 → 2.3.0

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 (81) hide show
  1. package/README.en-US.md +32 -32
  2. package/README.md +32 -32
  3. package/esm/__builtins__/index.mjs +19 -23
  4. package/esm/__builtins__/index.mjs.map +1 -1
  5. package/esm/__builtins__/shared/index.d.ts +0 -1
  6. package/esm/__builtins__/shared/index.mjs +17 -21
  7. package/esm/__builtins__/shared/index.mjs.map +1 -1
  8. package/esm/__builtins__/shared/loading.mjs +5 -5
  9. package/esm/__builtins__/shared/loading.mjs.map +1 -1
  10. package/esm/__builtins__/shared/use-enter-submit.d.ts +9 -0
  11. package/esm/__builtins__/shared/use-enter-submit.mjs +25 -0
  12. package/esm/__builtins__/shared/use-enter-submit.mjs.map +1 -0
  13. package/esm/autocomplete/autocomplete.d.ts +1222 -0
  14. package/esm/autocomplete/index.d.ts +639 -0
  15. package/esm/autocomplete/index.mjs +110 -0
  16. package/esm/autocomplete/index.mjs.map +1 -0
  17. package/esm/checkbox/index.d.ts +42 -42
  18. package/esm/color-picker/index.d.ts +210 -0
  19. package/esm/color-picker/index.mjs +14 -0
  20. package/esm/color-picker/index.mjs.map +1 -0
  21. package/esm/color-picker-panel/index.d.ts +129 -0
  22. package/esm/color-picker-panel/index.mjs +22 -0
  23. package/esm/color-picker-panel/index.mjs.map +1 -0
  24. package/esm/date-picker/index.mjs +12 -34
  25. package/esm/date-picker/index.mjs.map +1 -1
  26. package/esm/date-picker/utils.d.ts +4 -0
  27. package/esm/date-picker/utils.mjs +27 -0
  28. package/esm/date-picker/utils.mjs.map +1 -0
  29. package/esm/date-picker-panel/index.d.ts +143 -0
  30. package/esm/date-picker-panel/index.mjs +27 -0
  31. package/esm/date-picker-panel/index.mjs.map +1 -0
  32. package/esm/env.d.mjs +2 -0
  33. package/esm/env.d.mjs.map +1 -0
  34. package/esm/form-button-group/form-button-group.d.ts +1 -1
  35. package/esm/form-button-group/index.d.ts +3 -3
  36. package/esm/form-dialog/dialog-content.d.ts +789 -3
  37. package/esm/form-dialog/index.mjs +98 -87
  38. package/esm/form-dialog/index.mjs.map +1 -1
  39. package/esm/form-dialog/types.d.ts +1 -0
  40. package/esm/form-drawer/drawer-content.d.ts +919 -3
  41. package/esm/form-drawer/index.mjs +91 -81
  42. package/esm/form-drawer/index.mjs.map +1 -1
  43. package/esm/form-drawer/types.d.ts +1 -0
  44. package/esm/form-item/index.mjs +17 -17
  45. package/esm/form-item/index.mjs.map +1 -1
  46. package/esm/form-layout/form-layout.mjs +10 -10
  47. package/esm/form-layout/form-layout.mjs.map +1 -1
  48. package/esm/form-layout/utils.mjs +1 -1
  49. package/esm/form-layout/utils.mjs.map +1 -1
  50. package/esm/index.d.ts +6 -0
  51. package/esm/index.mjs +90 -78
  52. package/esm/index.mjs.map +1 -1
  53. package/esm/input-number/index.d.ts +21 -21
  54. package/esm/input-tag/index.d.ts +32 -0
  55. package/esm/input-tag/index.mjs +46 -0
  56. package/esm/input-tag/index.mjs.map +1 -0
  57. package/esm/input-tag/input-tag.d.ts +32 -0
  58. package/esm/mention/index.d.ts +50 -0
  59. package/esm/mention/index.mjs +93 -0
  60. package/esm/mention/index.mjs.map +1 -0
  61. package/esm/mention/mention.d.ts +51 -0
  62. package/esm/pagination/pagination.mjs.map +1 -1
  63. package/esm/preview-text/color-picker.d.ts +5 -0
  64. package/esm/preview-text/index.d.ts +5 -0
  65. package/esm/preview-text/index.mjs +180 -145
  66. package/esm/preview-text/index.mjs.map +1 -1
  67. package/esm/radio/index.d.ts +36 -36
  68. package/esm/rate/index.mjs.map +1 -1
  69. package/esm/segmented/index.mjs.map +1 -1
  70. package/esm/shared/overlay-elements.d.ts +6 -0
  71. package/esm/shared/overlay-elements.mjs +16 -0
  72. package/esm/shared/overlay-elements.mjs.map +1 -0
  73. package/esm/slider/index.mjs.map +1 -1
  74. package/esm/styles/preview-text/index.css +1 -1
  75. package/esm/switch/index.d.ts +12 -12
  76. package/esm/upload/index.d.ts +1 -1
  77. package/esm/upload/upload.d.ts +2 -2
  78. package/package.json +3 -1
  79. package/esm/__builtins__/shared/hooks.d.ts +0 -7
  80. package/esm/__builtins__/shared/hooks.mjs +0 -59
  81. package/esm/__builtins__/shared/hooks.mjs.map +0 -1
@@ -0,0 +1,1222 @@
1
+ import { Field } from '@formily/core';
2
+ import { AutocompleteData, AutocompleteFetchSuggestions } from 'element-plus/es/components/autocomplete';
3
+ type __VLS_Props = {
4
+ options?: AutocompleteData;
5
+ };
6
+ declare function __VLS_template(): {
7
+ attrs: Partial<{}>;
8
+ slots: Readonly<{
9
+ default?: (scope: {
10
+ item: AutocompleteData[number];
11
+ field: Field | undefined;
12
+ }) => any;
13
+ header?: (scope: {
14
+ field: Field | undefined;
15
+ }) => any;
16
+ footer?: (scope: {
17
+ field: Field | undefined;
18
+ }) => any;
19
+ loading?: () => any;
20
+ prefix?: () => any;
21
+ suffix?: () => any;
22
+ prepend?: () => any;
23
+ append?: () => any;
24
+ }> & {
25
+ default?: (scope: {
26
+ item: AutocompleteData[number];
27
+ field: Field | undefined;
28
+ }) => any;
29
+ header?: (scope: {
30
+ field: Field | undefined;
31
+ }) => any;
32
+ footer?: (scope: {
33
+ field: Field | undefined;
34
+ }) => any;
35
+ loading?: () => any;
36
+ prefix?: () => any;
37
+ suffix?: () => any;
38
+ prepend?: () => any;
39
+ append?: () => any;
40
+ };
41
+ refs: {
42
+ autocompleteRef: {
43
+ $: import('vue').ComponentInternalInstance;
44
+ $data: {};
45
+ $props: Partial<{
46
+ disabled: boolean;
47
+ tabindex: string | number;
48
+ type: import('element-plus').InputType;
49
+ modelValue: string | number;
50
+ placement: import('element-plus').AutocompletePlacement;
51
+ teleported: boolean;
52
+ modelModifiers: import('element-plus').InputModelModifiers;
53
+ autocomplete: string;
54
+ clearIcon: string | import('vue').Component;
55
+ wordLimitPosition: "inside" | "outside";
56
+ validateEvent: boolean;
57
+ inputStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
58
+ rows: number;
59
+ valueKey: string;
60
+ debounce: number;
61
+ fetchSuggestions: import('element-plus/es/components/autocomplete/src/autocomplete.mjs').AutocompleteFetchSuggestions;
62
+ triggerOnFocus: boolean;
63
+ loopNavigation: boolean;
64
+ }> & Omit<{
65
+ readonly type: import('element-plus').InputType;
66
+ readonly placement: import('element-plus').AutocompletePlacement;
67
+ readonly modelValue: string | number;
68
+ readonly tabindex: string | number;
69
+ readonly teleported: import('element-plus').ElTooltipContentProps["teleported"];
70
+ readonly modelModifiers: import('element-plus').InputModelModifiers;
71
+ readonly autocomplete: string;
72
+ readonly wordLimitPosition: "inside" | "outside";
73
+ readonly validateEvent: boolean;
74
+ readonly inputStyle: import('vue').StyleValue;
75
+ readonly rows: number;
76
+ readonly debounce: number;
77
+ readonly valueKey: string;
78
+ readonly fetchSuggestions: AutocompleteFetchSuggestions;
79
+ readonly triggerOnFocus: boolean;
80
+ readonly loopNavigation: boolean;
81
+ readonly size?: import('element-plus').ComponentSize;
82
+ readonly form?: string;
83
+ readonly name?: string;
84
+ readonly disabled?: boolean;
85
+ readonly resize?: "none" | "both" | "horizontal" | "vertical";
86
+ readonly id?: string;
87
+ readonly placeholder?: string;
88
+ readonly ariaLabel?: string;
89
+ readonly popperClass?: import('element-plus').ElTooltipContentProps["popperClass"];
90
+ readonly popperStyle?: import('element-plus').ElTooltipContentProps["popperStyle"];
91
+ readonly maxlength?: string | number;
92
+ readonly minlength?: string | number;
93
+ readonly autosize?: unknown;
94
+ readonly formatter?: (value: string) => string;
95
+ readonly parser?: (value: string) => string;
96
+ readonly readonly?: boolean;
97
+ readonly clearable?: boolean;
98
+ readonly clearIcon?: any;
99
+ readonly showPassword?: boolean;
100
+ readonly showWordLimit?: boolean;
101
+ readonly suffixIcon?: unknown;
102
+ readonly prefixIcon?: unknown;
103
+ readonly containerRole?: string;
104
+ readonly autofocus?: boolean;
105
+ readonly inputmode?: import('vue').HTMLAttributes["inputmode"];
106
+ readonly fitInputWidth?: boolean;
107
+ readonly appendTo?: import('element-plus').ElTooltipContentProps["appendTo"];
108
+ readonly selectWhenUnmatched?: boolean;
109
+ readonly hideLoading?: boolean;
110
+ readonly highlightFirstItem?: boolean;
111
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
112
+ onSelect?: ((item: Record<string, any>) => any) | undefined;
113
+ onInput?: ((value: string | number) => any) | undefined;
114
+ onFocus?: ((evt: FocusEvent) => any) | undefined;
115
+ onChange?: ((value: string | number) => any) | undefined;
116
+ onBlur?: ((evt: FocusEvent) => any) | undefined;
117
+ onClear?: (() => any) | undefined;
118
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "type" | "placement" | "disabled" | "modelValue" | "tabindex" | "teleported" | "modelModifiers" | "autocomplete" | "clearIcon" | "wordLimitPosition" | "validateEvent" | "inputStyle" | "rows" | "debounce" | "valueKey" | "fetchSuggestions" | "triggerOnFocus" | "loopNavigation">;
119
+ $attrs: {
120
+ [x: string]: unknown;
121
+ };
122
+ $refs: {
123
+ [x: string]: unknown;
124
+ };
125
+ $slots: Readonly<{
126
+ [name: string]: import('vue').Slot<any>;
127
+ }>;
128
+ $root: import('vue').ComponentPublicInstance | null;
129
+ $parent: import('vue').ComponentPublicInstance | null;
130
+ $host: Element | null;
131
+ $emit: ((event: "input", value: string | number) => void) & ((event: "select", item: Record<string, any>) => void) & ((event: "clear") => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "change", value: string | number) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "update:modelValue", value: string | number) => void);
132
+ $el: any;
133
+ $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
134
+ size: {
135
+ type: import('vue').PropType<"" | "small" | "default" | "large">;
136
+ };
137
+ type: {
138
+ type: import('vue').PropType<import('element-plus').InputType>;
139
+ default: import('element-plus').InputType;
140
+ };
141
+ form: {
142
+ type: import('vue').PropType<string>;
143
+ };
144
+ name: {
145
+ type: import('vue').PropType<string>;
146
+ };
147
+ placement: {
148
+ type: import('vue').PropType<import('element-plus').AutocompletePlacement>;
149
+ default: string;
150
+ };
151
+ disabled: {
152
+ type: import('vue').PropType<boolean>;
153
+ default: undefined;
154
+ };
155
+ resize: {
156
+ type: import('vue').PropType<"none" | "horizontal" | "vertical" | "both">;
157
+ };
158
+ id: {
159
+ type: import('vue').PropType<string>;
160
+ };
161
+ placeholder: {
162
+ type: import('vue').PropType<string>;
163
+ };
164
+ modelValue: {
165
+ type: import('vue').PropType<string | number>;
166
+ default: string;
167
+ };
168
+ tabindex: {
169
+ type: import('vue').PropType<string | number>;
170
+ default: 0;
171
+ };
172
+ ariaLabel: {
173
+ type: import('vue').PropType<string>;
174
+ };
175
+ popperClass: {
176
+ type: import('vue').PropType<string | {
177
+ [x: string]: boolean;
178
+ } | (string | {
179
+ [x: string]: boolean;
180
+ } | (string | {
181
+ [x: string]: boolean;
182
+ } | (string | {
183
+ [x: string]: boolean;
184
+ } | (string | {
185
+ [x: string]: boolean;
186
+ } | (string | {
187
+ [x: string]: boolean;
188
+ } | (string | {
189
+ [x: string]: boolean;
190
+ } | (string | {
191
+ [x: string]: boolean;
192
+ } | (string | {
193
+ [x: string]: boolean;
194
+ } | (string | {
195
+ [x: string]: boolean;
196
+ } | (string | {
197
+ [x: string]: boolean;
198
+ } | (string | {
199
+ [x: string]: boolean;
200
+ } | /*elided*/ any)[])[])[])[])[])[])[])[])[])[])[]>;
201
+ };
202
+ popperStyle: {
203
+ type: import('vue').PropType<import('vue').StyleValue>;
204
+ };
205
+ teleported: {
206
+ type: import('vue').PropType<boolean>;
207
+ default: boolean;
208
+ };
209
+ modelModifiers: {
210
+ type: import('vue').PropType<import('element-plus').InputModelModifiers>;
211
+ default: () => {};
212
+ };
213
+ maxlength: {
214
+ type: import('vue').PropType<string | number>;
215
+ };
216
+ minlength: {
217
+ type: import('vue').PropType<string | number>;
218
+ };
219
+ autosize: {
220
+ type: import('vue').PropType<import('element-plus').InputAutoSize>;
221
+ };
222
+ autocomplete: {
223
+ type: import('vue').PropType<string>;
224
+ default: "off";
225
+ };
226
+ formatter: {
227
+ type: import('vue').PropType<(value: string) => string>;
228
+ };
229
+ parser: {
230
+ type: import('vue').PropType<(value: string) => string>;
231
+ };
232
+ readonly: {
233
+ type: import('vue').PropType<boolean>;
234
+ };
235
+ clearable: {
236
+ type: import('vue').PropType<boolean>;
237
+ };
238
+ clearIcon: {
239
+ type: import('vue').PropType<string | import('vue').Component>;
240
+ default: any;
241
+ };
242
+ showPassword: {
243
+ type: import('vue').PropType<boolean>;
244
+ };
245
+ showWordLimit: {
246
+ type: import('vue').PropType<boolean>;
247
+ };
248
+ wordLimitPosition: {
249
+ type: import('vue').PropType<"inside" | "outside">;
250
+ default: "inside";
251
+ };
252
+ suffixIcon: {
253
+ type: import('vue').PropType<string | import('vue').Component>;
254
+ };
255
+ prefixIcon: {
256
+ type: import('vue').PropType<string | import('vue').Component>;
257
+ };
258
+ containerRole: {
259
+ type: import('vue').PropType<string>;
260
+ };
261
+ validateEvent: {
262
+ type: import('vue').PropType<boolean>;
263
+ default: true;
264
+ };
265
+ inputStyle: {
266
+ type: import('vue').PropType<import('vue').StyleValue>;
267
+ default: () => {};
268
+ };
269
+ autofocus: {
270
+ type: import('vue').PropType<boolean>;
271
+ };
272
+ rows: {
273
+ type: import('vue').PropType<number>;
274
+ default: 2;
275
+ };
276
+ inputmode: {
277
+ type: import('vue').PropType<"search" | "text" | "url" | "email" | "none" | "tel" | "numeric" | "decimal">;
278
+ };
279
+ debounce: {
280
+ type: import('vue').PropType<number>;
281
+ default: number;
282
+ };
283
+ valueKey: {
284
+ type: import('vue').PropType<string>;
285
+ default: string;
286
+ };
287
+ fitInputWidth: {
288
+ type: import('vue').PropType<boolean>;
289
+ };
290
+ appendTo: {
291
+ type: import('vue').PropType<string | HTMLElement>;
292
+ };
293
+ fetchSuggestions: {
294
+ type: import('vue').PropType<AutocompleteFetchSuggestions>;
295
+ default: () => void;
296
+ };
297
+ triggerOnFocus: {
298
+ type: import('vue').PropType<boolean>;
299
+ default: boolean;
300
+ };
301
+ selectWhenUnmatched: {
302
+ type: import('vue').PropType<boolean>;
303
+ };
304
+ hideLoading: {
305
+ type: import('vue').PropType<boolean>;
306
+ };
307
+ highlightFirstItem: {
308
+ type: import('vue').PropType<boolean>;
309
+ };
310
+ loopNavigation: {
311
+ type: import('vue').PropType<boolean>;
312
+ default: boolean;
313
+ };
314
+ }>> & {
315
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
316
+ onSelect?: ((item: Record<string, any>) => any) | undefined;
317
+ onInput?: ((value: string | number) => any) | undefined;
318
+ onFocus?: ((evt: FocusEvent) => any) | undefined;
319
+ onChange?: ((value: string | number) => any) | undefined;
320
+ onBlur?: ((evt: FocusEvent) => any) | undefined;
321
+ onClear?: (() => any) | undefined;
322
+ }, {
323
+ highlightedIndex: import('vue').Ref<number>;
324
+ activated: import('vue').Ref<boolean>;
325
+ loading: import('vue').Ref<boolean>;
326
+ inputRef: import('vue').Ref<import('element-plus').InputInstance | undefined>;
327
+ popperRef: import('vue').Ref<import('element-plus').TooltipInstance | undefined>;
328
+ suggestions: import('vue').Ref<Record<string, any>[]>;
329
+ handleSelect: (item: any) => Promise<void>;
330
+ handleKeyEnter: () => Promise<void>;
331
+ focus: () => void;
332
+ blur: () => void;
333
+ close: () => void;
334
+ highlight: (index: number) => void;
335
+ getData: (queryString: string) => Promise<void>;
336
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
337
+ select: (item: Record<string, any>) => void;
338
+ focus: (evt: FocusEvent) => void;
339
+ "update:modelValue": (value: string | number) => void;
340
+ change: (value: string | number) => void;
341
+ input: (value: string | number) => void;
342
+ clear: () => void;
343
+ blur: (evt: FocusEvent) => void;
344
+ }, string, {
345
+ disabled: boolean;
346
+ tabindex: string | number;
347
+ type: import('element-plus').InputType;
348
+ modelValue: string | number;
349
+ placement: import('element-plus').AutocompletePlacement;
350
+ teleported: boolean;
351
+ modelModifiers: import('element-plus').InputModelModifiers;
352
+ autocomplete: string;
353
+ clearIcon: string | import('vue').Component;
354
+ wordLimitPosition: "inside" | "outside";
355
+ validateEvent: boolean;
356
+ inputStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
357
+ rows: number;
358
+ valueKey: string;
359
+ debounce: number;
360
+ fetchSuggestions: import('element-plus/es/components/autocomplete/src/autocomplete.mjs').AutocompleteFetchSuggestions;
361
+ triggerOnFocus: boolean;
362
+ loopNavigation: boolean;
363
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
364
+ beforeCreate?: (() => void) | (() => void)[];
365
+ created?: (() => void) | (() => void)[];
366
+ beforeMount?: (() => void) | (() => void)[];
367
+ mounted?: (() => void) | (() => void)[];
368
+ beforeUpdate?: (() => void) | (() => void)[];
369
+ updated?: (() => void) | (() => void)[];
370
+ activated?: (() => void) | (() => void)[];
371
+ deactivated?: (() => void) | (() => void)[];
372
+ beforeDestroy?: (() => void) | (() => void)[];
373
+ beforeUnmount?: (() => void) | (() => void)[];
374
+ destroyed?: (() => void) | (() => void)[];
375
+ unmounted?: (() => void) | (() => void)[];
376
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
377
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
378
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
379
+ };
380
+ $forceUpdate: () => void;
381
+ $nextTick: typeof import('vue').nextTick;
382
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
383
+ } & Readonly<{
384
+ disabled: boolean;
385
+ tabindex: string | number;
386
+ type: import('element-plus').InputType;
387
+ modelValue: string | number;
388
+ placement: import('element-plus').AutocompletePlacement;
389
+ teleported: boolean;
390
+ modelModifiers: import('element-plus').InputModelModifiers;
391
+ autocomplete: string;
392
+ clearIcon: string | import('vue').Component;
393
+ wordLimitPosition: "inside" | "outside";
394
+ validateEvent: boolean;
395
+ inputStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
396
+ rows: number;
397
+ valueKey: string;
398
+ debounce: number;
399
+ fetchSuggestions: import('element-plus/es/components/autocomplete/src/autocomplete.mjs').AutocompleteFetchSuggestions;
400
+ triggerOnFocus: boolean;
401
+ loopNavigation: boolean;
402
+ }> & Omit<Readonly<import('vue').ExtractPropTypes<{
403
+ size: {
404
+ type: import('vue').PropType<"" | "small" | "default" | "large">;
405
+ };
406
+ type: {
407
+ type: import('vue').PropType<import('element-plus').InputType>;
408
+ default: import('element-plus').InputType;
409
+ };
410
+ form: {
411
+ type: import('vue').PropType<string>;
412
+ };
413
+ name: {
414
+ type: import('vue').PropType<string>;
415
+ };
416
+ placement: {
417
+ type: import('vue').PropType<import('element-plus').AutocompletePlacement>;
418
+ default: string;
419
+ };
420
+ disabled: {
421
+ type: import('vue').PropType<boolean>;
422
+ default: undefined;
423
+ };
424
+ resize: {
425
+ type: import('vue').PropType<"none" | "horizontal" | "vertical" | "both">;
426
+ };
427
+ id: {
428
+ type: import('vue').PropType<string>;
429
+ };
430
+ placeholder: {
431
+ type: import('vue').PropType<string>;
432
+ };
433
+ modelValue: {
434
+ type: import('vue').PropType<string | number>;
435
+ default: string;
436
+ };
437
+ tabindex: {
438
+ type: import('vue').PropType<string | number>;
439
+ default: 0;
440
+ };
441
+ ariaLabel: {
442
+ type: import('vue').PropType<string>;
443
+ };
444
+ popperClass: {
445
+ type: import('vue').PropType<string | {
446
+ [x: string]: boolean;
447
+ } | (string | {
448
+ [x: string]: boolean;
449
+ } | (string | {
450
+ [x: string]: boolean;
451
+ } | (string | {
452
+ [x: string]: boolean;
453
+ } | (string | {
454
+ [x: string]: boolean;
455
+ } | (string | {
456
+ [x: string]: boolean;
457
+ } | (string | {
458
+ [x: string]: boolean;
459
+ } | (string | {
460
+ [x: string]: boolean;
461
+ } | (string | {
462
+ [x: string]: boolean;
463
+ } | (string | {
464
+ [x: string]: boolean;
465
+ } | (string | {
466
+ [x: string]: boolean;
467
+ } | (string | {
468
+ [x: string]: boolean;
469
+ } | /*elided*/ any)[])[])[])[])[])[])[])[])[])[])[]>;
470
+ };
471
+ popperStyle: {
472
+ type: import('vue').PropType<import('vue').StyleValue>;
473
+ };
474
+ teleported: {
475
+ type: import('vue').PropType<boolean>;
476
+ default: boolean;
477
+ };
478
+ modelModifiers: {
479
+ type: import('vue').PropType<import('element-plus').InputModelModifiers>;
480
+ default: () => {};
481
+ };
482
+ maxlength: {
483
+ type: import('vue').PropType<string | number>;
484
+ };
485
+ minlength: {
486
+ type: import('vue').PropType<string | number>;
487
+ };
488
+ autosize: {
489
+ type: import('vue').PropType<import('element-plus').InputAutoSize>;
490
+ };
491
+ autocomplete: {
492
+ type: import('vue').PropType<string>;
493
+ default: "off";
494
+ };
495
+ formatter: {
496
+ type: import('vue').PropType<(value: string) => string>;
497
+ };
498
+ parser: {
499
+ type: import('vue').PropType<(value: string) => string>;
500
+ };
501
+ readonly: {
502
+ type: import('vue').PropType<boolean>;
503
+ };
504
+ clearable: {
505
+ type: import('vue').PropType<boolean>;
506
+ };
507
+ clearIcon: {
508
+ type: import('vue').PropType<string | import('vue').Component>;
509
+ default: any;
510
+ };
511
+ showPassword: {
512
+ type: import('vue').PropType<boolean>;
513
+ };
514
+ showWordLimit: {
515
+ type: import('vue').PropType<boolean>;
516
+ };
517
+ wordLimitPosition: {
518
+ type: import('vue').PropType<"inside" | "outside">;
519
+ default: "inside";
520
+ };
521
+ suffixIcon: {
522
+ type: import('vue').PropType<string | import('vue').Component>;
523
+ };
524
+ prefixIcon: {
525
+ type: import('vue').PropType<string | import('vue').Component>;
526
+ };
527
+ containerRole: {
528
+ type: import('vue').PropType<string>;
529
+ };
530
+ validateEvent: {
531
+ type: import('vue').PropType<boolean>;
532
+ default: true;
533
+ };
534
+ inputStyle: {
535
+ type: import('vue').PropType<import('vue').StyleValue>;
536
+ default: () => {};
537
+ };
538
+ autofocus: {
539
+ type: import('vue').PropType<boolean>;
540
+ };
541
+ rows: {
542
+ type: import('vue').PropType<number>;
543
+ default: 2;
544
+ };
545
+ inputmode: {
546
+ type: import('vue').PropType<"search" | "text" | "url" | "email" | "none" | "tel" | "numeric" | "decimal">;
547
+ };
548
+ debounce: {
549
+ type: import('vue').PropType<number>;
550
+ default: number;
551
+ };
552
+ valueKey: {
553
+ type: import('vue').PropType<string>;
554
+ default: string;
555
+ };
556
+ fitInputWidth: {
557
+ type: import('vue').PropType<boolean>;
558
+ };
559
+ appendTo: {
560
+ type: import('vue').PropType<string | HTMLElement>;
561
+ };
562
+ fetchSuggestions: {
563
+ type: import('vue').PropType<AutocompleteFetchSuggestions>;
564
+ default: () => void;
565
+ };
566
+ triggerOnFocus: {
567
+ type: import('vue').PropType<boolean>;
568
+ default: boolean;
569
+ };
570
+ selectWhenUnmatched: {
571
+ type: import('vue').PropType<boolean>;
572
+ };
573
+ hideLoading: {
574
+ type: import('vue').PropType<boolean>;
575
+ };
576
+ highlightFirstItem: {
577
+ type: import('vue').PropType<boolean>;
578
+ };
579
+ loopNavigation: {
580
+ type: import('vue').PropType<boolean>;
581
+ default: boolean;
582
+ };
583
+ }>> & {
584
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
585
+ onSelect?: ((item: Record<string, any>) => any) | undefined;
586
+ onInput?: ((value: string | number) => any) | undefined;
587
+ onFocus?: ((evt: FocusEvent) => any) | undefined;
588
+ onChange?: ((value: string | number) => any) | undefined;
589
+ onBlur?: ((evt: FocusEvent) => any) | undefined;
590
+ onClear?: (() => any) | undefined;
591
+ }, "type" | "placement" | "disabled" | "blur" | "close" | "focus" | "activated" | "loading" | "modelValue" | "tabindex" | "teleported" | "modelModifiers" | "autocomplete" | "clearIcon" | "wordLimitPosition" | "validateEvent" | "inputStyle" | "rows" | "debounce" | "valueKey" | "popperRef" | "inputRef" | "fetchSuggestions" | "triggerOnFocus" | "loopNavigation" | "highlightedIndex" | "suggestions" | "handleSelect" | "handleKeyEnter" | "highlight" | "getData"> & import('vue').ShallowUnwrapRef<{
592
+ highlightedIndex: import('vue').Ref<number>;
593
+ activated: import('vue').Ref<boolean>;
594
+ loading: import('vue').Ref<boolean>;
595
+ inputRef: import('vue').Ref<import('element-plus').InputInstance | undefined>;
596
+ popperRef: import('vue').Ref<import('element-plus').TooltipInstance | undefined>;
597
+ suggestions: import('vue').Ref<Record<string, any>[]>;
598
+ handleSelect: (item: any) => Promise<void>;
599
+ handleKeyEnter: () => Promise<void>;
600
+ focus: () => void;
601
+ blur: () => void;
602
+ close: () => void;
603
+ highlight: (index: number) => void;
604
+ getData: (queryString: string) => Promise<void>;
605
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
606
+ $slots: {
607
+ prepend?: (props: {}) => any;
608
+ } & {
609
+ append?: (props: {}) => any;
610
+ } & {
611
+ prefix?: (props: {}) => any;
612
+ } & {
613
+ suffix?: (props: {}) => any;
614
+ } & {
615
+ header?: (props: {}) => any;
616
+ } & {
617
+ loading?: (props: {}) => any;
618
+ } & {
619
+ default?: (props: {
620
+ item: Record<string, any>;
621
+ }) => any;
622
+ } & {
623
+ footer?: (props: {}) => any;
624
+ };
625
+ };
626
+ };
627
+ rootEl: any;
628
+ };
629
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
630
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
631
+ autocompleteRef: {
632
+ $: import('vue').ComponentInternalInstance;
633
+ $data: {};
634
+ $props: Partial<{
635
+ disabled: boolean;
636
+ tabindex: string | number;
637
+ type: import('element-plus').InputType;
638
+ modelValue: string | number;
639
+ placement: import('element-plus').AutocompletePlacement;
640
+ teleported: boolean;
641
+ modelModifiers: import('element-plus').InputModelModifiers;
642
+ autocomplete: string;
643
+ clearIcon: string | import('vue').Component;
644
+ wordLimitPosition: "inside" | "outside";
645
+ validateEvent: boolean;
646
+ inputStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
647
+ rows: number;
648
+ valueKey: string;
649
+ debounce: number;
650
+ fetchSuggestions: import('element-plus/es/components/autocomplete/src/autocomplete.mjs').AutocompleteFetchSuggestions;
651
+ triggerOnFocus: boolean;
652
+ loopNavigation: boolean;
653
+ }> & Omit<{
654
+ readonly type: import('element-plus').InputType;
655
+ readonly placement: import('element-plus').AutocompletePlacement;
656
+ readonly modelValue: string | number;
657
+ readonly tabindex: string | number;
658
+ readonly teleported: import('element-plus').ElTooltipContentProps["teleported"];
659
+ readonly modelModifiers: import('element-plus').InputModelModifiers;
660
+ readonly autocomplete: string;
661
+ readonly wordLimitPosition: "inside" | "outside";
662
+ readonly validateEvent: boolean;
663
+ readonly inputStyle: import('vue').StyleValue;
664
+ readonly rows: number;
665
+ readonly debounce: number;
666
+ readonly valueKey: string;
667
+ readonly fetchSuggestions: AutocompleteFetchSuggestions;
668
+ readonly triggerOnFocus: boolean;
669
+ readonly loopNavigation: boolean;
670
+ readonly size?: import('element-plus').ComponentSize;
671
+ readonly form?: string;
672
+ readonly name?: string;
673
+ readonly disabled?: boolean;
674
+ readonly resize?: "none" | "both" | "horizontal" | "vertical";
675
+ readonly id?: string;
676
+ readonly placeholder?: string;
677
+ readonly ariaLabel?: string;
678
+ readonly popperClass?: import('element-plus').ElTooltipContentProps["popperClass"];
679
+ readonly popperStyle?: import('element-plus').ElTooltipContentProps["popperStyle"];
680
+ readonly maxlength?: string | number;
681
+ readonly minlength?: string | number;
682
+ readonly autosize?: unknown;
683
+ readonly formatter?: (value: string) => string;
684
+ readonly parser?: (value: string) => string;
685
+ readonly readonly?: boolean;
686
+ readonly clearable?: boolean;
687
+ readonly clearIcon?: any;
688
+ readonly showPassword?: boolean;
689
+ readonly showWordLimit?: boolean;
690
+ readonly suffixIcon?: unknown;
691
+ readonly prefixIcon?: unknown;
692
+ readonly containerRole?: string;
693
+ readonly autofocus?: boolean;
694
+ readonly inputmode?: import('vue').HTMLAttributes["inputmode"];
695
+ readonly fitInputWidth?: boolean;
696
+ readonly appendTo?: import('element-plus').ElTooltipContentProps["appendTo"];
697
+ readonly selectWhenUnmatched?: boolean;
698
+ readonly hideLoading?: boolean;
699
+ readonly highlightFirstItem?: boolean;
700
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
701
+ onSelect?: ((item: Record<string, any>) => any) | undefined;
702
+ onInput?: ((value: string | number) => any) | undefined;
703
+ onFocus?: ((evt: FocusEvent) => any) | undefined;
704
+ onChange?: ((value: string | number) => any) | undefined;
705
+ onBlur?: ((evt: FocusEvent) => any) | undefined;
706
+ onClear?: (() => any) | undefined;
707
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "type" | "placement" | "disabled" | "modelValue" | "tabindex" | "teleported" | "modelModifiers" | "autocomplete" | "clearIcon" | "wordLimitPosition" | "validateEvent" | "inputStyle" | "rows" | "debounce" | "valueKey" | "fetchSuggestions" | "triggerOnFocus" | "loopNavigation">;
708
+ $attrs: {
709
+ [x: string]: unknown;
710
+ };
711
+ $refs: {
712
+ [x: string]: unknown;
713
+ };
714
+ $slots: Readonly<{
715
+ [name: string]: import('vue').Slot<any>;
716
+ }>;
717
+ $root: import('vue').ComponentPublicInstance | null;
718
+ $parent: import('vue').ComponentPublicInstance | null;
719
+ $host: Element | null;
720
+ $emit: ((event: "input", value: string | number) => void) & ((event: "select", item: Record<string, any>) => void) & ((event: "clear") => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "change", value: string | number) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "update:modelValue", value: string | number) => void);
721
+ $el: any;
722
+ $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
723
+ size: {
724
+ type: import('vue').PropType<"" | "small" | "default" | "large">;
725
+ };
726
+ type: {
727
+ type: import('vue').PropType<import('element-plus').InputType>;
728
+ default: import('element-plus').InputType;
729
+ };
730
+ form: {
731
+ type: import('vue').PropType<string>;
732
+ };
733
+ name: {
734
+ type: import('vue').PropType<string>;
735
+ };
736
+ placement: {
737
+ type: import('vue').PropType<import('element-plus').AutocompletePlacement>;
738
+ default: string;
739
+ };
740
+ disabled: {
741
+ type: import('vue').PropType<boolean>;
742
+ default: undefined;
743
+ };
744
+ resize: {
745
+ type: import('vue').PropType<"none" | "horizontal" | "vertical" | "both">;
746
+ };
747
+ id: {
748
+ type: import('vue').PropType<string>;
749
+ };
750
+ placeholder: {
751
+ type: import('vue').PropType<string>;
752
+ };
753
+ modelValue: {
754
+ type: import('vue').PropType<string | number>;
755
+ default: string;
756
+ };
757
+ tabindex: {
758
+ type: import('vue').PropType<string | number>;
759
+ default: 0;
760
+ };
761
+ ariaLabel: {
762
+ type: import('vue').PropType<string>;
763
+ };
764
+ popperClass: {
765
+ type: import('vue').PropType<string | {
766
+ [x: string]: boolean;
767
+ } | (string | {
768
+ [x: string]: boolean;
769
+ } | (string | {
770
+ [x: string]: boolean;
771
+ } | (string | {
772
+ [x: string]: boolean;
773
+ } | (string | {
774
+ [x: string]: boolean;
775
+ } | (string | {
776
+ [x: string]: boolean;
777
+ } | (string | {
778
+ [x: string]: boolean;
779
+ } | (string | {
780
+ [x: string]: boolean;
781
+ } | (string | {
782
+ [x: string]: boolean;
783
+ } | (string | {
784
+ [x: string]: boolean;
785
+ } | (string | {
786
+ [x: string]: boolean;
787
+ } | (string | {
788
+ [x: string]: boolean;
789
+ } | /*elided*/ any)[])[])[])[])[])[])[])[])[])[])[]>;
790
+ };
791
+ popperStyle: {
792
+ type: import('vue').PropType<import('vue').StyleValue>;
793
+ };
794
+ teleported: {
795
+ type: import('vue').PropType<boolean>;
796
+ default: boolean;
797
+ };
798
+ modelModifiers: {
799
+ type: import('vue').PropType<import('element-plus').InputModelModifiers>;
800
+ default: () => {};
801
+ };
802
+ maxlength: {
803
+ type: import('vue').PropType<string | number>;
804
+ };
805
+ minlength: {
806
+ type: import('vue').PropType<string | number>;
807
+ };
808
+ autosize: {
809
+ type: import('vue').PropType<import('element-plus').InputAutoSize>;
810
+ };
811
+ autocomplete: {
812
+ type: import('vue').PropType<string>;
813
+ default: "off";
814
+ };
815
+ formatter: {
816
+ type: import('vue').PropType<(value: string) => string>;
817
+ };
818
+ parser: {
819
+ type: import('vue').PropType<(value: string) => string>;
820
+ };
821
+ readonly: {
822
+ type: import('vue').PropType<boolean>;
823
+ };
824
+ clearable: {
825
+ type: import('vue').PropType<boolean>;
826
+ };
827
+ clearIcon: {
828
+ type: import('vue').PropType<string | import('vue').Component>;
829
+ default: any;
830
+ };
831
+ showPassword: {
832
+ type: import('vue').PropType<boolean>;
833
+ };
834
+ showWordLimit: {
835
+ type: import('vue').PropType<boolean>;
836
+ };
837
+ wordLimitPosition: {
838
+ type: import('vue').PropType<"inside" | "outside">;
839
+ default: "inside";
840
+ };
841
+ suffixIcon: {
842
+ type: import('vue').PropType<string | import('vue').Component>;
843
+ };
844
+ prefixIcon: {
845
+ type: import('vue').PropType<string | import('vue').Component>;
846
+ };
847
+ containerRole: {
848
+ type: import('vue').PropType<string>;
849
+ };
850
+ validateEvent: {
851
+ type: import('vue').PropType<boolean>;
852
+ default: true;
853
+ };
854
+ inputStyle: {
855
+ type: import('vue').PropType<import('vue').StyleValue>;
856
+ default: () => {};
857
+ };
858
+ autofocus: {
859
+ type: import('vue').PropType<boolean>;
860
+ };
861
+ rows: {
862
+ type: import('vue').PropType<number>;
863
+ default: 2;
864
+ };
865
+ inputmode: {
866
+ type: import('vue').PropType<"search" | "text" | "url" | "email" | "none" | "tel" | "numeric" | "decimal">;
867
+ };
868
+ debounce: {
869
+ type: import('vue').PropType<number>;
870
+ default: number;
871
+ };
872
+ valueKey: {
873
+ type: import('vue').PropType<string>;
874
+ default: string;
875
+ };
876
+ fitInputWidth: {
877
+ type: import('vue').PropType<boolean>;
878
+ };
879
+ appendTo: {
880
+ type: import('vue').PropType<string | HTMLElement>;
881
+ };
882
+ fetchSuggestions: {
883
+ type: import('vue').PropType<AutocompleteFetchSuggestions>;
884
+ default: () => void;
885
+ };
886
+ triggerOnFocus: {
887
+ type: import('vue').PropType<boolean>;
888
+ default: boolean;
889
+ };
890
+ selectWhenUnmatched: {
891
+ type: import('vue').PropType<boolean>;
892
+ };
893
+ hideLoading: {
894
+ type: import('vue').PropType<boolean>;
895
+ };
896
+ highlightFirstItem: {
897
+ type: import('vue').PropType<boolean>;
898
+ };
899
+ loopNavigation: {
900
+ type: import('vue').PropType<boolean>;
901
+ default: boolean;
902
+ };
903
+ }>> & {
904
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
905
+ onSelect?: ((item: Record<string, any>) => any) | undefined;
906
+ onInput?: ((value: string | number) => any) | undefined;
907
+ onFocus?: ((evt: FocusEvent) => any) | undefined;
908
+ onChange?: ((value: string | number) => any) | undefined;
909
+ onBlur?: ((evt: FocusEvent) => any) | undefined;
910
+ onClear?: (() => any) | undefined;
911
+ }, {
912
+ highlightedIndex: import('vue').Ref<number>;
913
+ activated: import('vue').Ref<boolean>;
914
+ loading: import('vue').Ref<boolean>;
915
+ inputRef: import('vue').Ref<import('element-plus').InputInstance | undefined>;
916
+ popperRef: import('vue').Ref<import('element-plus').TooltipInstance | undefined>;
917
+ suggestions: import('vue').Ref<Record<string, any>[]>;
918
+ handleSelect: (item: any) => Promise<void>;
919
+ handleKeyEnter: () => Promise<void>;
920
+ focus: () => void;
921
+ blur: () => void;
922
+ close: () => void;
923
+ highlight: (index: number) => void;
924
+ getData: (queryString: string) => Promise<void>;
925
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
926
+ select: (item: Record<string, any>) => void;
927
+ focus: (evt: FocusEvent) => void;
928
+ "update:modelValue": (value: string | number) => void;
929
+ change: (value: string | number) => void;
930
+ input: (value: string | number) => void;
931
+ clear: () => void;
932
+ blur: (evt: FocusEvent) => void;
933
+ }, string, {
934
+ disabled: boolean;
935
+ tabindex: string | number;
936
+ type: import('element-plus').InputType;
937
+ modelValue: string | number;
938
+ placement: import('element-plus').AutocompletePlacement;
939
+ teleported: boolean;
940
+ modelModifiers: import('element-plus').InputModelModifiers;
941
+ autocomplete: string;
942
+ clearIcon: string | import('vue').Component;
943
+ wordLimitPosition: "inside" | "outside";
944
+ validateEvent: boolean;
945
+ inputStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
946
+ rows: number;
947
+ valueKey: string;
948
+ debounce: number;
949
+ fetchSuggestions: import('element-plus/es/components/autocomplete/src/autocomplete.mjs').AutocompleteFetchSuggestions;
950
+ triggerOnFocus: boolean;
951
+ loopNavigation: boolean;
952
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
953
+ beforeCreate?: (() => void) | (() => void)[];
954
+ created?: (() => void) | (() => void)[];
955
+ beforeMount?: (() => void) | (() => void)[];
956
+ mounted?: (() => void) | (() => void)[];
957
+ beforeUpdate?: (() => void) | (() => void)[];
958
+ updated?: (() => void) | (() => void)[];
959
+ activated?: (() => void) | (() => void)[];
960
+ deactivated?: (() => void) | (() => void)[];
961
+ beforeDestroy?: (() => void) | (() => void)[];
962
+ beforeUnmount?: (() => void) | (() => void)[];
963
+ destroyed?: (() => void) | (() => void)[];
964
+ unmounted?: (() => void) | (() => void)[];
965
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
966
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
967
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
968
+ };
969
+ $forceUpdate: () => void;
970
+ $nextTick: typeof import('vue').nextTick;
971
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
972
+ } & Readonly<{
973
+ disabled: boolean;
974
+ tabindex: string | number;
975
+ type: import('element-plus').InputType;
976
+ modelValue: string | number;
977
+ placement: import('element-plus').AutocompletePlacement;
978
+ teleported: boolean;
979
+ modelModifiers: import('element-plus').InputModelModifiers;
980
+ autocomplete: string;
981
+ clearIcon: string | import('vue').Component;
982
+ wordLimitPosition: "inside" | "outside";
983
+ validateEvent: boolean;
984
+ inputStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
985
+ rows: number;
986
+ valueKey: string;
987
+ debounce: number;
988
+ fetchSuggestions: import('element-plus/es/components/autocomplete/src/autocomplete.mjs').AutocompleteFetchSuggestions;
989
+ triggerOnFocus: boolean;
990
+ loopNavigation: boolean;
991
+ }> & Omit<Readonly<import('vue').ExtractPropTypes<{
992
+ size: {
993
+ type: import('vue').PropType<"" | "small" | "default" | "large">;
994
+ };
995
+ type: {
996
+ type: import('vue').PropType<import('element-plus').InputType>;
997
+ default: import('element-plus').InputType;
998
+ };
999
+ form: {
1000
+ type: import('vue').PropType<string>;
1001
+ };
1002
+ name: {
1003
+ type: import('vue').PropType<string>;
1004
+ };
1005
+ placement: {
1006
+ type: import('vue').PropType<import('element-plus').AutocompletePlacement>;
1007
+ default: string;
1008
+ };
1009
+ disabled: {
1010
+ type: import('vue').PropType<boolean>;
1011
+ default: undefined;
1012
+ };
1013
+ resize: {
1014
+ type: import('vue').PropType<"none" | "horizontal" | "vertical" | "both">;
1015
+ };
1016
+ id: {
1017
+ type: import('vue').PropType<string>;
1018
+ };
1019
+ placeholder: {
1020
+ type: import('vue').PropType<string>;
1021
+ };
1022
+ modelValue: {
1023
+ type: import('vue').PropType<string | number>;
1024
+ default: string;
1025
+ };
1026
+ tabindex: {
1027
+ type: import('vue').PropType<string | number>;
1028
+ default: 0;
1029
+ };
1030
+ ariaLabel: {
1031
+ type: import('vue').PropType<string>;
1032
+ };
1033
+ popperClass: {
1034
+ type: import('vue').PropType<string | {
1035
+ [x: string]: boolean;
1036
+ } | (string | {
1037
+ [x: string]: boolean;
1038
+ } | (string | {
1039
+ [x: string]: boolean;
1040
+ } | (string | {
1041
+ [x: string]: boolean;
1042
+ } | (string | {
1043
+ [x: string]: boolean;
1044
+ } | (string | {
1045
+ [x: string]: boolean;
1046
+ } | (string | {
1047
+ [x: string]: boolean;
1048
+ } | (string | {
1049
+ [x: string]: boolean;
1050
+ } | (string | {
1051
+ [x: string]: boolean;
1052
+ } | (string | {
1053
+ [x: string]: boolean;
1054
+ } | (string | {
1055
+ [x: string]: boolean;
1056
+ } | (string | {
1057
+ [x: string]: boolean;
1058
+ } | /*elided*/ any)[])[])[])[])[])[])[])[])[])[])[]>;
1059
+ };
1060
+ popperStyle: {
1061
+ type: import('vue').PropType<import('vue').StyleValue>;
1062
+ };
1063
+ teleported: {
1064
+ type: import('vue').PropType<boolean>;
1065
+ default: boolean;
1066
+ };
1067
+ modelModifiers: {
1068
+ type: import('vue').PropType<import('element-plus').InputModelModifiers>;
1069
+ default: () => {};
1070
+ };
1071
+ maxlength: {
1072
+ type: import('vue').PropType<string | number>;
1073
+ };
1074
+ minlength: {
1075
+ type: import('vue').PropType<string | number>;
1076
+ };
1077
+ autosize: {
1078
+ type: import('vue').PropType<import('element-plus').InputAutoSize>;
1079
+ };
1080
+ autocomplete: {
1081
+ type: import('vue').PropType<string>;
1082
+ default: "off";
1083
+ };
1084
+ formatter: {
1085
+ type: import('vue').PropType<(value: string) => string>;
1086
+ };
1087
+ parser: {
1088
+ type: import('vue').PropType<(value: string) => string>;
1089
+ };
1090
+ readonly: {
1091
+ type: import('vue').PropType<boolean>;
1092
+ };
1093
+ clearable: {
1094
+ type: import('vue').PropType<boolean>;
1095
+ };
1096
+ clearIcon: {
1097
+ type: import('vue').PropType<string | import('vue').Component>;
1098
+ default: any;
1099
+ };
1100
+ showPassword: {
1101
+ type: import('vue').PropType<boolean>;
1102
+ };
1103
+ showWordLimit: {
1104
+ type: import('vue').PropType<boolean>;
1105
+ };
1106
+ wordLimitPosition: {
1107
+ type: import('vue').PropType<"inside" | "outside">;
1108
+ default: "inside";
1109
+ };
1110
+ suffixIcon: {
1111
+ type: import('vue').PropType<string | import('vue').Component>;
1112
+ };
1113
+ prefixIcon: {
1114
+ type: import('vue').PropType<string | import('vue').Component>;
1115
+ };
1116
+ containerRole: {
1117
+ type: import('vue').PropType<string>;
1118
+ };
1119
+ validateEvent: {
1120
+ type: import('vue').PropType<boolean>;
1121
+ default: true;
1122
+ };
1123
+ inputStyle: {
1124
+ type: import('vue').PropType<import('vue').StyleValue>;
1125
+ default: () => {};
1126
+ };
1127
+ autofocus: {
1128
+ type: import('vue').PropType<boolean>;
1129
+ };
1130
+ rows: {
1131
+ type: import('vue').PropType<number>;
1132
+ default: 2;
1133
+ };
1134
+ inputmode: {
1135
+ type: import('vue').PropType<"search" | "text" | "url" | "email" | "none" | "tel" | "numeric" | "decimal">;
1136
+ };
1137
+ debounce: {
1138
+ type: import('vue').PropType<number>;
1139
+ default: number;
1140
+ };
1141
+ valueKey: {
1142
+ type: import('vue').PropType<string>;
1143
+ default: string;
1144
+ };
1145
+ fitInputWidth: {
1146
+ type: import('vue').PropType<boolean>;
1147
+ };
1148
+ appendTo: {
1149
+ type: import('vue').PropType<string | HTMLElement>;
1150
+ };
1151
+ fetchSuggestions: {
1152
+ type: import('vue').PropType<AutocompleteFetchSuggestions>;
1153
+ default: () => void;
1154
+ };
1155
+ triggerOnFocus: {
1156
+ type: import('vue').PropType<boolean>;
1157
+ default: boolean;
1158
+ };
1159
+ selectWhenUnmatched: {
1160
+ type: import('vue').PropType<boolean>;
1161
+ };
1162
+ hideLoading: {
1163
+ type: import('vue').PropType<boolean>;
1164
+ };
1165
+ highlightFirstItem: {
1166
+ type: import('vue').PropType<boolean>;
1167
+ };
1168
+ loopNavigation: {
1169
+ type: import('vue').PropType<boolean>;
1170
+ default: boolean;
1171
+ };
1172
+ }>> & {
1173
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
1174
+ onSelect?: ((item: Record<string, any>) => any) | undefined;
1175
+ onInput?: ((value: string | number) => any) | undefined;
1176
+ onFocus?: ((evt: FocusEvent) => any) | undefined;
1177
+ onChange?: ((value: string | number) => any) | undefined;
1178
+ onBlur?: ((evt: FocusEvent) => any) | undefined;
1179
+ onClear?: (() => any) | undefined;
1180
+ }, "type" | "placement" | "disabled" | "blur" | "close" | "focus" | "activated" | "loading" | "modelValue" | "tabindex" | "teleported" | "modelModifiers" | "autocomplete" | "clearIcon" | "wordLimitPosition" | "validateEvent" | "inputStyle" | "rows" | "debounce" | "valueKey" | "popperRef" | "inputRef" | "fetchSuggestions" | "triggerOnFocus" | "loopNavigation" | "highlightedIndex" | "suggestions" | "handleSelect" | "handleKeyEnter" | "highlight" | "getData"> & import('vue').ShallowUnwrapRef<{
1181
+ highlightedIndex: import('vue').Ref<number>;
1182
+ activated: import('vue').Ref<boolean>;
1183
+ loading: import('vue').Ref<boolean>;
1184
+ inputRef: import('vue').Ref<import('element-plus').InputInstance | undefined>;
1185
+ popperRef: import('vue').Ref<import('element-plus').TooltipInstance | undefined>;
1186
+ suggestions: import('vue').Ref<Record<string, any>[]>;
1187
+ handleSelect: (item: any) => Promise<void>;
1188
+ handleKeyEnter: () => Promise<void>;
1189
+ focus: () => void;
1190
+ blur: () => void;
1191
+ close: () => void;
1192
+ highlight: (index: number) => void;
1193
+ getData: (queryString: string) => Promise<void>;
1194
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
1195
+ $slots: {
1196
+ prepend?: (props: {}) => any;
1197
+ } & {
1198
+ append?: (props: {}) => any;
1199
+ } & {
1200
+ prefix?: (props: {}) => any;
1201
+ } & {
1202
+ suffix?: (props: {}) => any;
1203
+ } & {
1204
+ header?: (props: {}) => any;
1205
+ } & {
1206
+ loading?: (props: {}) => any;
1207
+ } & {
1208
+ default?: (props: {
1209
+ item: Record<string, any>;
1210
+ }) => any;
1211
+ } & {
1212
+ footer?: (props: {}) => any;
1213
+ };
1214
+ };
1215
+ }, any>;
1216
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
1217
+ export default _default;
1218
+ type __VLS_WithTemplateSlots<T, S> = T & {
1219
+ new (): {
1220
+ $slots: S;
1221
+ };
1222
+ };