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