@dao-style/core 1.8.1-beta.2 → 1.8.1-beta.4

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,572 @@
1
+ import type { Options as PopperOptions } from '@popperjs/core';
2
+ import 'vue-virtual-scroller/dist/vue-virtual-scroller.css';
3
+ import type { OptionType } from './types';
4
+ import type { OptionValue } from '../select/types';
5
+ declare const _default: import("vue").DefineComponent<{
6
+ search: {
7
+ type: import("vue").PropType<boolean | import("./types").DaoVirtualSelectSearchFn>;
8
+ default: boolean;
9
+ };
10
+ options: {
11
+ type: import("vue").PropType<OptionType[]>;
12
+ default: () => never[];
13
+ };
14
+ labelKey: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ valueKey: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ };
22
+ itemHeight: {
23
+ type: NumberConstructor;
24
+ default: undefined;
25
+ };
26
+ modelValue: {
27
+ type: (StringConstructor | BooleanConstructor | ArrayConstructor | NumberConstructor)[];
28
+ default: undefined;
29
+ };
30
+ placeholder: {
31
+ type: StringConstructor;
32
+ default: string;
33
+ };
34
+ disabled: {
35
+ type: BooleanConstructor;
36
+ default: boolean;
37
+ };
38
+ size: {
39
+ type: StringConstructor;
40
+ default: string;
41
+ validator: (size: string) => boolean;
42
+ };
43
+ optionsPlaceholder: {
44
+ type: StringConstructor;
45
+ default: undefined;
46
+ };
47
+ searchPlaceholder: {
48
+ type: StringConstructor;
49
+ default: undefined;
50
+ };
51
+ menuClass: {
52
+ type: StringConstructor;
53
+ default: string;
54
+ };
55
+ appendTo: {
56
+ type: import("vue").PropType<string | false | HTMLElement>;
57
+ default: string;
58
+ };
59
+ multiple: {
60
+ type: BooleanConstructor;
61
+ default: boolean;
62
+ };
63
+ status: {
64
+ type: import("vue").PropType<"default" | "error" | "success" | "validating">;
65
+ default: string;
66
+ validator: (value: "default" | "error" | "success" | "validating") => boolean;
67
+ };
68
+ loading: {
69
+ type: BooleanConstructor;
70
+ default: boolean;
71
+ };
72
+ }, {
73
+ t: import("vue-i18n").ComposerTranslation<{
74
+ [x: string]: import("@intlify/core-base").LocaleMessage<import("vue-i18n").VueMessageType>;
75
+ }, string, import("@intlify/core-base").RemoveIndexSignature<{
76
+ [x: string]: import("vue-i18n").LocaleMessageValue<import("vue-i18n").VueMessageType>;
77
+ }>, never, string, string>;
78
+ computedItemHeight: import("vue").ComputedRef<number>;
79
+ popper: import("vue").Ref<({
80
+ new (...args: any[]): {
81
+ $: import("vue").ComponentInternalInstance;
82
+ $data: {};
83
+ $props: Partial<{
84
+ modelValue: boolean;
85
+ disabled: boolean;
86
+ offset: string | number;
87
+ placement: import("@popperjs/core").Placement;
88
+ content: string;
89
+ appendTo: string | false | HTMLElement;
90
+ boundary: import("@popperjs/core").Boundary;
91
+ delay: import("../popper").DelayProp;
92
+ width: string | number;
93
+ trigger: "manual" | import("../popper").PopperTrigger | import("../popper").PopperTrigger[];
94
+ visibleArrow: boolean;
95
+ popperClass: string;
96
+ popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("../popper").DaoModifiers>>;
97
+ transition: string;
98
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
99
+ modelValue: {
100
+ type: BooleanConstructor;
101
+ default: boolean;
102
+ };
103
+ content: {
104
+ type: StringConstructor;
105
+ default: string;
106
+ };
107
+ appendTo: {
108
+ type: import("vue").PropType<string | false | HTMLElement>;
109
+ default: string;
110
+ };
111
+ boundary: {
112
+ type: import("vue").PropType<import("@popperjs/core").Boundary>;
113
+ default: string;
114
+ };
115
+ delay: {
116
+ type: import("vue").PropType<import("../popper").DelayProp>;
117
+ default: () => import("../popper").DelayProp;
118
+ };
119
+ offset: {
120
+ type: (StringConstructor | NumberConstructor)[];
121
+ default: number;
122
+ };
123
+ width: {
124
+ type: (StringConstructor | NumberConstructor)[];
125
+ default: number;
126
+ };
127
+ placement: {
128
+ type: import("vue").PropType<import("@popperjs/core").Placement>;
129
+ default: string;
130
+ validator: (value: import("@popperjs/core").Placement) => boolean;
131
+ };
132
+ trigger: {
133
+ type: import("vue").PropType<"manual" | import("../popper").PopperTrigger | import("../popper").PopperTrigger[]>;
134
+ default: string;
135
+ };
136
+ visibleArrow: {
137
+ type: BooleanConstructor;
138
+ default: boolean;
139
+ };
140
+ popperClass: {
141
+ type: StringConstructor;
142
+ default: string;
143
+ };
144
+ popperOptions: {
145
+ type: import("vue").PropType<Partial<import("@popperjs/core").OptionsGeneric<import("../popper").DaoModifiers>>>;
146
+ default: () => Partial<import("@popperjs/core").OptionsGeneric<import("../popper").DaoModifiers>>;
147
+ };
148
+ disabled: {
149
+ type: BooleanConstructor;
150
+ default: boolean;
151
+ };
152
+ transition: {
153
+ type: StringConstructor;
154
+ default: string;
155
+ };
156
+ }>> & {
157
+ onHide?: ((...args: any[]) => any) | undefined;
158
+ onShow?: ((...args: any[]) => any) | undefined;
159
+ "onAfter-show"?: ((...args: any[]) => any) | undefined;
160
+ "onAfter-hide"?: ((...args: any[]) => any) | undefined;
161
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
162
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "modelValue" | "disabled" | "offset" | "placement" | "content" | "appendTo" | "boundary" | "delay" | "width" | "trigger" | "visibleArrow" | "popperClass" | "popperOptions" | "transition">;
163
+ $attrs: {
164
+ [x: string]: unknown;
165
+ };
166
+ $refs: {
167
+ [x: string]: unknown;
168
+ };
169
+ $slots: Readonly<{
170
+ [name: string]: import("vue").Slot | undefined;
171
+ }>;
172
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
173
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
174
+ $emit: (event: "hide" | "show" | "after-show" | "after-hide" | "update:modelValue", ...args: any[]) => void;
175
+ $el: any;
176
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
177
+ modelValue: {
178
+ type: BooleanConstructor;
179
+ default: boolean;
180
+ };
181
+ content: {
182
+ type: StringConstructor;
183
+ default: string;
184
+ };
185
+ appendTo: {
186
+ type: import("vue").PropType<string | false | HTMLElement>;
187
+ default: string;
188
+ };
189
+ boundary: {
190
+ type: import("vue").PropType<import("@popperjs/core").Boundary>;
191
+ default: string;
192
+ };
193
+ delay: {
194
+ type: import("vue").PropType<import("../popper").DelayProp>;
195
+ default: () => import("../popper").DelayProp;
196
+ };
197
+ offset: {
198
+ type: (StringConstructor | NumberConstructor)[];
199
+ default: number;
200
+ };
201
+ width: {
202
+ type: (StringConstructor | NumberConstructor)[];
203
+ default: number;
204
+ };
205
+ placement: {
206
+ type: import("vue").PropType<import("@popperjs/core").Placement>;
207
+ default: string;
208
+ validator: (value: import("@popperjs/core").Placement) => boolean;
209
+ };
210
+ trigger: {
211
+ type: import("vue").PropType<"manual" | import("../popper").PopperTrigger | import("../popper").PopperTrigger[]>;
212
+ default: string;
213
+ };
214
+ visibleArrow: {
215
+ type: BooleanConstructor;
216
+ default: boolean;
217
+ };
218
+ popperClass: {
219
+ type: StringConstructor;
220
+ default: string;
221
+ };
222
+ popperOptions: {
223
+ type: import("vue").PropType<Partial<import("@popperjs/core").OptionsGeneric<import("../popper").DaoModifiers>>>;
224
+ default: () => Partial<import("@popperjs/core").OptionsGeneric<import("../popper").DaoModifiers>>;
225
+ };
226
+ disabled: {
227
+ type: BooleanConstructor;
228
+ default: boolean;
229
+ };
230
+ transition: {
231
+ type: StringConstructor;
232
+ default: string;
233
+ };
234
+ }>> & {
235
+ onHide?: ((...args: any[]) => any) | undefined;
236
+ onShow?: ((...args: any[]) => any) | undefined;
237
+ "onAfter-show"?: ((...args: any[]) => any) | undefined;
238
+ "onAfter-hide"?: ((...args: any[]) => any) | undefined;
239
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
240
+ }, {
241
+ isOpen: import("vue").Ref<boolean>;
242
+ popper: import("vue").Ref<import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | undefined>;
243
+ reference: import("vue").Ref<HTMLElement | undefined>;
244
+ popperId: import("vue").Ref<string>;
245
+ themeClass: import("vue").ComputedRef<string>;
246
+ hide: () => void;
247
+ actualAppendTo: import("vue").ComputedRef<string | HTMLElement | undefined>;
248
+ isTelDisabled: import("vue").ComputedRef<boolean>;
249
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hide" | "show" | "after-show" | "after-hide" | "update:modelValue")[], string, {
250
+ modelValue: boolean;
251
+ disabled: boolean;
252
+ offset: string | number;
253
+ placement: import("@popperjs/core").Placement;
254
+ content: string;
255
+ appendTo: string | false | HTMLElement;
256
+ boundary: import("@popperjs/core").Boundary;
257
+ delay: import("../popper").DelayProp;
258
+ width: string | number;
259
+ trigger: "manual" | import("../popper").PopperTrigger | import("../popper").PopperTrigger[];
260
+ visibleArrow: boolean;
261
+ popperClass: string;
262
+ popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("../popper").DaoModifiers>>;
263
+ transition: string;
264
+ }, {}, string> & {
265
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
266
+ created?: ((() => void) | (() => void)[]) | undefined;
267
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
268
+ mounted?: ((() => void) | (() => void)[]) | undefined;
269
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
270
+ updated?: ((() => void) | (() => void)[]) | undefined;
271
+ activated?: ((() => void) | (() => void)[]) | undefined;
272
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
273
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
274
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
275
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
276
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
277
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
278
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
279
+ 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;
280
+ };
281
+ $forceUpdate: () => void;
282
+ $nextTick: typeof import("vue").nextTick;
283
+ $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;
284
+ } & Readonly<import("vue").ExtractPropTypes<{
285
+ modelValue: {
286
+ type: BooleanConstructor;
287
+ default: boolean;
288
+ };
289
+ content: {
290
+ type: StringConstructor;
291
+ default: string;
292
+ };
293
+ appendTo: {
294
+ type: import("vue").PropType<string | false | HTMLElement>;
295
+ default: string;
296
+ };
297
+ boundary: {
298
+ type: import("vue").PropType<import("@popperjs/core").Boundary>;
299
+ default: string;
300
+ };
301
+ delay: {
302
+ type: import("vue").PropType<import("../popper").DelayProp>;
303
+ default: () => import("../popper").DelayProp;
304
+ };
305
+ offset: {
306
+ type: (StringConstructor | NumberConstructor)[];
307
+ default: number;
308
+ };
309
+ width: {
310
+ type: (StringConstructor | NumberConstructor)[];
311
+ default: number;
312
+ };
313
+ placement: {
314
+ type: import("vue").PropType<import("@popperjs/core").Placement>;
315
+ default: string;
316
+ validator: (value: import("@popperjs/core").Placement) => boolean;
317
+ };
318
+ trigger: {
319
+ type: import("vue").PropType<"manual" | import("../popper").PopperTrigger | import("../popper").PopperTrigger[]>;
320
+ default: string;
321
+ };
322
+ visibleArrow: {
323
+ type: BooleanConstructor;
324
+ default: boolean;
325
+ };
326
+ popperClass: {
327
+ type: StringConstructor;
328
+ default: string;
329
+ };
330
+ popperOptions: {
331
+ type: import("vue").PropType<Partial<import("@popperjs/core").OptionsGeneric<import("../popper").DaoModifiers>>>;
332
+ default: () => Partial<import("@popperjs/core").OptionsGeneric<import("../popper").DaoModifiers>>;
333
+ };
334
+ disabled: {
335
+ type: BooleanConstructor;
336
+ default: boolean;
337
+ };
338
+ transition: {
339
+ type: StringConstructor;
340
+ default: string;
341
+ };
342
+ }>> & {
343
+ onHide?: ((...args: any[]) => any) | undefined;
344
+ onShow?: ((...args: any[]) => any) | undefined;
345
+ "onAfter-show"?: ((...args: any[]) => any) | undefined;
346
+ "onAfter-hide"?: ((...args: any[]) => any) | undefined;
347
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
348
+ } & import("vue").ShallowUnwrapRef<{
349
+ isOpen: import("vue").Ref<boolean>;
350
+ popper: import("vue").Ref<import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | undefined>;
351
+ reference: import("vue").Ref<HTMLElement | undefined>;
352
+ popperId: import("vue").Ref<string>;
353
+ themeClass: import("vue").ComputedRef<string>;
354
+ hide: () => void;
355
+ actualAppendTo: import("vue").ComputedRef<string | HTMLElement | undefined>;
356
+ isTelDisabled: import("vue").ComputedRef<boolean>;
357
+ }> & {} & import("vue").ComponentCustomProperties & {};
358
+ __isFragment?: undefined;
359
+ __isTeleport?: undefined;
360
+ __isSuspense?: undefined;
361
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
362
+ modelValue: {
363
+ type: BooleanConstructor;
364
+ default: boolean;
365
+ };
366
+ content: {
367
+ type: StringConstructor;
368
+ default: string;
369
+ };
370
+ appendTo: {
371
+ type: import("vue").PropType<string | false | HTMLElement>;
372
+ default: string;
373
+ };
374
+ boundary: {
375
+ type: import("vue").PropType<import("@popperjs/core").Boundary>;
376
+ default: string;
377
+ };
378
+ delay: {
379
+ type: import("vue").PropType<import("../popper").DelayProp>;
380
+ default: () => import("../popper").DelayProp;
381
+ };
382
+ offset: {
383
+ type: (StringConstructor | NumberConstructor)[];
384
+ default: number;
385
+ };
386
+ width: {
387
+ type: (StringConstructor | NumberConstructor)[];
388
+ default: number;
389
+ };
390
+ placement: {
391
+ type: import("vue").PropType<import("@popperjs/core").Placement>;
392
+ default: string;
393
+ validator: (value: import("@popperjs/core").Placement) => boolean;
394
+ };
395
+ trigger: {
396
+ type: import("vue").PropType<"manual" | import("../popper").PopperTrigger | import("../popper").PopperTrigger[]>;
397
+ default: string;
398
+ };
399
+ visibleArrow: {
400
+ type: BooleanConstructor;
401
+ default: boolean;
402
+ };
403
+ popperClass: {
404
+ type: StringConstructor;
405
+ default: string;
406
+ };
407
+ popperOptions: {
408
+ type: import("vue").PropType<Partial<import("@popperjs/core").OptionsGeneric<import("../popper").DaoModifiers>>>;
409
+ default: () => Partial<import("@popperjs/core").OptionsGeneric<import("../popper").DaoModifiers>>;
410
+ };
411
+ disabled: {
412
+ type: BooleanConstructor;
413
+ default: boolean;
414
+ };
415
+ transition: {
416
+ type: StringConstructor;
417
+ default: string;
418
+ };
419
+ }>> & {
420
+ onHide?: ((...args: any[]) => any) | undefined;
421
+ onShow?: ((...args: any[]) => any) | undefined;
422
+ "onAfter-show"?: ((...args: any[]) => any) | undefined;
423
+ "onAfter-hide"?: ((...args: any[]) => any) | undefined;
424
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
425
+ }, {
426
+ isOpen: import("vue").Ref<boolean>;
427
+ popper: import("vue").Ref<import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | undefined>;
428
+ reference: import("vue").Ref<HTMLElement | undefined>;
429
+ popperId: import("vue").Ref<string>;
430
+ themeClass: import("vue").ComputedRef<string>;
431
+ hide: () => void;
432
+ actualAppendTo: import("vue").ComputedRef<string | HTMLElement | undefined>;
433
+ isTelDisabled: import("vue").ComputedRef<boolean>;
434
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hide" | "show" | "after-show" | "after-hide" | "update:modelValue")[], "hide" | "show" | "after-show" | "after-hide" | "update:modelValue", {
435
+ modelValue: boolean;
436
+ disabled: boolean;
437
+ offset: string | number;
438
+ placement: import("@popperjs/core").Placement;
439
+ content: string;
440
+ appendTo: string | false | HTMLElement;
441
+ boundary: import("@popperjs/core").Boundary;
442
+ delay: import("../popper").DelayProp;
443
+ width: string | number;
444
+ trigger: "manual" | import("../popper").PopperTrigger | import("../popper").PopperTrigger[];
445
+ visibleArrow: boolean;
446
+ popperClass: string;
447
+ popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("../popper").DaoModifiers>>;
448
+ transition: string;
449
+ }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("../popper/popper").DaoPopperLike) | null>;
450
+ searchInput: import("vue").Ref<HTMLInputElement | null>;
451
+ triggerRef: import("vue").Ref<HTMLInputElement | null>;
452
+ state: {
453
+ searchText: string;
454
+ visible: boolean;
455
+ };
456
+ selectClass: import("vue").ComputedRef<string[]>;
457
+ popperClass: import("vue").ComputedRef<string>;
458
+ popperOffset: import("vue").ComputedRef<3 | 5>;
459
+ isSelected: import("vue").ComputedRef<boolean>;
460
+ isNoResult: import("vue").ComputedRef<boolean>;
461
+ popperOptions: import("vue").ComputedRef<Partial<PopperOptions>>;
462
+ textContent: import("vue").ComputedRef<{
463
+ optionsPlaceholder: string;
464
+ searchPlaceholder: string;
465
+ }>;
466
+ onSearchClear: () => void;
467
+ selectedOptions: import("vue").ComputedRef<OptionType[]>;
468
+ isActive: (item: OptionType) => boolean;
469
+ computedOptions: import("vue").ComputedRef<OptionType[]>;
470
+ onSearchTextChange: () => void;
471
+ getOptionLabel: (option: OptionType) => OptionValue | {
472
+ [key: string]: OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
473
+ } | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
474
+ getOptionValue: (option: OptionType) => OptionValue | {
475
+ [key: string]: OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
476
+ } | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
477
+ getOptionShowLabel: (option: OptionType) => OptionValue | {
478
+ [key: string]: OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
479
+ } | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
480
+ onSelect: (option: OptionType) => void;
481
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "close" | "change" | "update:modelValue" | "search-change")[], "open" | "close" | "change" | "update:modelValue" | "search-change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
482
+ search: {
483
+ type: import("vue").PropType<boolean | import("./types").DaoVirtualSelectSearchFn>;
484
+ default: boolean;
485
+ };
486
+ options: {
487
+ type: import("vue").PropType<OptionType[]>;
488
+ default: () => never[];
489
+ };
490
+ labelKey: {
491
+ type: StringConstructor;
492
+ default: string;
493
+ };
494
+ valueKey: {
495
+ type: StringConstructor;
496
+ default: string;
497
+ };
498
+ itemHeight: {
499
+ type: NumberConstructor;
500
+ default: undefined;
501
+ };
502
+ modelValue: {
503
+ type: (StringConstructor | BooleanConstructor | ArrayConstructor | NumberConstructor)[];
504
+ default: undefined;
505
+ };
506
+ placeholder: {
507
+ type: StringConstructor;
508
+ default: string;
509
+ };
510
+ disabled: {
511
+ type: BooleanConstructor;
512
+ default: boolean;
513
+ };
514
+ size: {
515
+ type: StringConstructor;
516
+ default: string;
517
+ validator: (size: string) => boolean;
518
+ };
519
+ optionsPlaceholder: {
520
+ type: StringConstructor;
521
+ default: undefined;
522
+ };
523
+ searchPlaceholder: {
524
+ type: StringConstructor;
525
+ default: undefined;
526
+ };
527
+ menuClass: {
528
+ type: StringConstructor;
529
+ default: string;
530
+ };
531
+ appendTo: {
532
+ type: import("vue").PropType<string | false | HTMLElement>;
533
+ default: string;
534
+ };
535
+ multiple: {
536
+ type: BooleanConstructor;
537
+ default: boolean;
538
+ };
539
+ status: {
540
+ type: import("vue").PropType<"default" | "error" | "success" | "validating">;
541
+ default: string;
542
+ validator: (value: "default" | "error" | "success" | "validating") => boolean;
543
+ };
544
+ loading: {
545
+ type: BooleanConstructor;
546
+ default: boolean;
547
+ };
548
+ }>> & {
549
+ onChange?: ((...args: any[]) => any) | undefined;
550
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
551
+ onOpen?: ((...args: any[]) => any) | undefined;
552
+ onClose?: ((...args: any[]) => any) | undefined;
553
+ "onSearch-change"?: ((...args: any[]) => any) | undefined;
554
+ }, {
555
+ search: boolean | import("./types").DaoVirtualSelectSearchFn;
556
+ modelValue: string | number | boolean | unknown[];
557
+ disabled: boolean;
558
+ appendTo: string | false | HTMLElement;
559
+ size: string;
560
+ multiple: boolean;
561
+ options: OptionType[];
562
+ loading: boolean;
563
+ status: "default" | "error" | "success" | "validating";
564
+ placeholder: string;
565
+ optionsPlaceholder: string;
566
+ searchPlaceholder: string;
567
+ menuClass: string;
568
+ valueKey: string;
569
+ labelKey: string;
570
+ itemHeight: number;
571
+ }>;
572
+ export default _default;