voiptime-components 1.4.6 → 1.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +20 -221
- package/dist/index.es.js +1930 -1810
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2,10 +2,7 @@ import { App } from 'vue';
|
|
|
2
2
|
import { Component } from 'vue';
|
|
3
3
|
import { ComponentOptionsMixin } from 'vue';
|
|
4
4
|
import { ComponentProvideOptions } from 'vue';
|
|
5
|
-
import { CreateComponentPublicInstanceWithMixins } from 'vue';
|
|
6
5
|
import { DefineComponent } from 'vue';
|
|
7
|
-
import { GlobalComponents } from 'vue';
|
|
8
|
-
import { GlobalDirectives } from 'vue';
|
|
9
6
|
import { InjectionKey } from 'vue';
|
|
10
7
|
import { ObjectDirective } from 'vue';
|
|
11
8
|
import { PublicProps } from 'vue';
|
|
@@ -149,7 +146,7 @@ declare const __VLS_component_4: DefineComponent<__VLS_PublicProps, {
|
|
|
149
146
|
declare const __VLS_component_5: DefineComponent<DropdownProps, {
|
|
150
147
|
show: () => void;
|
|
151
148
|
hide: () => void;
|
|
152
|
-
visible: Ref<boolean>;
|
|
149
|
+
visible: Ref<boolean, boolean>;
|
|
153
150
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
154
151
|
click: (event: MouseEvent) => any;
|
|
155
152
|
"visible-change": (visible: boolean) => any;
|
|
@@ -161,13 +158,11 @@ declare const __VLS_component_5: DefineComponent<DropdownProps, {
|
|
|
161
158
|
}>, {
|
|
162
159
|
disabled: boolean;
|
|
163
160
|
maxHeight: string | number;
|
|
164
|
-
trigger:
|
|
165
|
-
placement:
|
|
166
|
-
splitButton: boolean;
|
|
167
|
-
hideOnClick: boolean;
|
|
161
|
+
trigger: DropdownTriggerType;
|
|
162
|
+
placement: DropdownPlacement;
|
|
168
163
|
showTimeout: number;
|
|
169
164
|
hideTimeout: number;
|
|
170
|
-
|
|
165
|
+
hideOnClick: boolean;
|
|
171
166
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
172
167
|
dropdownRef: HTMLDivElement;
|
|
173
168
|
triggerRef: HTMLDivElement;
|
|
@@ -194,9 +189,9 @@ declare const __VLS_component_7: DefineComponent<VtSelectProps, {
|
|
|
194
189
|
registerOption(option: VtSelectOption): void;
|
|
195
190
|
unregisterOption(value: string | number): void;
|
|
196
191
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
197
|
-
blur: (
|
|
192
|
+
blur: () => any;
|
|
198
193
|
change: (value: string | number | (string | number)[]) => any;
|
|
199
|
-
focus: (
|
|
194
|
+
focus: () => any;
|
|
200
195
|
filter: (query: string) => any;
|
|
201
196
|
"update:modelValue": (value: string | number | (string | number)[]) => any;
|
|
202
197
|
clear: () => any;
|
|
@@ -208,9 +203,9 @@ declare const __VLS_component_7: DefineComponent<VtSelectProps, {
|
|
|
208
203
|
"remove-tag": (value: string | number) => any;
|
|
209
204
|
scrolled: () => any;
|
|
210
205
|
}, string, PublicProps, Readonly<VtSelectProps> & Readonly<{
|
|
211
|
-
onBlur?: ((
|
|
206
|
+
onBlur?: (() => any) | undefined;
|
|
212
207
|
onChange?: ((value: string | number | (string | number)[]) => any) | undefined;
|
|
213
|
-
onFocus?: ((
|
|
208
|
+
onFocus?: (() => any) | undefined;
|
|
214
209
|
onFilter?: ((query: string) => any) | undefined;
|
|
215
210
|
"onUpdate:modelValue"?: ((value: string | number | (string | number)[]) => any) | undefined;
|
|
216
211
|
onClear?: (() => any) | undefined;
|
|
@@ -224,121 +219,27 @@ declare const __VLS_component_7: DefineComponent<VtSelectProps, {
|
|
|
224
219
|
}>, {
|
|
225
220
|
disabled: boolean;
|
|
226
221
|
loading: boolean;
|
|
227
|
-
size: VtSelectSize;
|
|
228
222
|
placeholder: string;
|
|
229
223
|
maxHeight: number | string;
|
|
230
|
-
placement: "bottom" | "bottom-start" | "bottom-end" | "top" | "top-start" | "top-end";
|
|
231
224
|
status: VtSelectStatus;
|
|
232
225
|
clearable: boolean;
|
|
233
226
|
validateOnInput: boolean;
|
|
234
227
|
validateOnBlur: boolean;
|
|
235
228
|
multiple: boolean;
|
|
236
229
|
collapsedTags: boolean;
|
|
237
|
-
filterable: boolean;
|
|
238
|
-
infiniteScroll: boolean;
|
|
239
230
|
noDataText: string;
|
|
240
|
-
noMatchText: string;
|
|
241
231
|
loadingText: string;
|
|
242
232
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
243
233
|
selectRef: HTMLDivElement;
|
|
244
234
|
triggerRef: HTMLDivElement;
|
|
245
235
|
containerRef: HTMLDivElement;
|
|
246
236
|
dropdownRef: HTMLDivElement;
|
|
247
|
-
filterInputRef: CreateComponentPublicInstanceWithMixins<Readonly< VtInputProps> & Readonly<{
|
|
248
|
-
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
249
|
-
onChange?: ((event: Event) => any) | undefined;
|
|
250
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
251
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
252
|
-
onInput?: ((event: Event) => any) | undefined;
|
|
253
|
-
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
254
|
-
onKeypress?: ((event: KeyboardEvent) => any) | undefined;
|
|
255
|
-
onKeyup?: ((event: KeyboardEvent) => any) | undefined;
|
|
256
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
257
|
-
onClear?: (() => any) | undefined;
|
|
258
|
-
onValidation?: ((result: VtInputValidationResult) => any) | undefined;
|
|
259
|
-
}>, {
|
|
260
|
-
focus(): void;
|
|
261
|
-
blur(): void;
|
|
262
|
-
select(): void;
|
|
263
|
-
clear(): void;
|
|
264
|
-
validate(): boolean;
|
|
265
|
-
clearValidation(): void;
|
|
266
|
-
getInputElement(): HTMLInputElement | HTMLTextAreaElement | null;
|
|
267
|
-
getValidationState(): VtInputValidationResult;
|
|
268
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
269
|
-
blur: (event: FocusEvent) => any;
|
|
270
|
-
change: (event: Event) => any;
|
|
271
|
-
click: (event: MouseEvent) => any;
|
|
272
|
-
focus: (event: FocusEvent) => any;
|
|
273
|
-
input: (event: Event) => any;
|
|
274
|
-
keydown: (event: KeyboardEvent) => any;
|
|
275
|
-
keypress: (event: KeyboardEvent) => any;
|
|
276
|
-
keyup: (event: KeyboardEvent) => any;
|
|
277
|
-
"update:modelValue": (value: string | number) => any;
|
|
278
|
-
clear: () => any;
|
|
279
|
-
validation: (result: VtInputValidationResult) => any;
|
|
280
|
-
}, PublicProps, {
|
|
281
|
-
resize: VtInputResize;
|
|
282
|
-
type: VtInputType;
|
|
283
|
-
disabled: boolean;
|
|
284
|
-
size: VtInputSize;
|
|
285
|
-
status: VtInputStatus;
|
|
286
|
-
clearable: boolean;
|
|
287
|
-
showPassword: boolean;
|
|
288
|
-
rows: number;
|
|
289
|
-
autosize: boolean | VtInputAutosizeConfig;
|
|
290
|
-
validateOnInput: boolean;
|
|
291
|
-
validateOnBlur: boolean;
|
|
292
|
-
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
293
|
-
textareaRef: HTMLTextAreaElement;
|
|
294
|
-
inputRef: HTMLInputElement;
|
|
295
|
-
}, HTMLDivElement, ComponentProvideOptions, {
|
|
296
|
-
P: {};
|
|
297
|
-
B: {};
|
|
298
|
-
D: {};
|
|
299
|
-
C: {};
|
|
300
|
-
M: {};
|
|
301
|
-
Defaults: {};
|
|
302
|
-
}, Readonly< VtInputProps> & Readonly<{
|
|
303
|
-
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
304
|
-
onChange?: ((event: Event) => any) | undefined;
|
|
305
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
306
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
307
|
-
onInput?: ((event: Event) => any) | undefined;
|
|
308
|
-
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
309
|
-
onKeypress?: ((event: KeyboardEvent) => any) | undefined;
|
|
310
|
-
onKeyup?: ((event: KeyboardEvent) => any) | undefined;
|
|
311
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
312
|
-
onClear?: (() => any) | undefined;
|
|
313
|
-
onValidation?: ((result: VtInputValidationResult) => any) | undefined;
|
|
314
|
-
}>, {
|
|
315
|
-
focus(): void;
|
|
316
|
-
blur(): void;
|
|
317
|
-
select(): void;
|
|
318
|
-
clear(): void;
|
|
319
|
-
validate(): boolean;
|
|
320
|
-
clearValidation(): void;
|
|
321
|
-
getInputElement(): HTMLInputElement | HTMLTextAreaElement | null;
|
|
322
|
-
getValidationState(): VtInputValidationResult;
|
|
323
|
-
}, {}, {}, {}, {
|
|
324
|
-
resize: VtInputResize;
|
|
325
|
-
type: VtInputType;
|
|
326
|
-
disabled: boolean;
|
|
327
|
-
size: VtInputSize;
|
|
328
|
-
status: VtInputStatus;
|
|
329
|
-
clearable: boolean;
|
|
330
|
-
showPassword: boolean;
|
|
331
|
-
rows: number;
|
|
332
|
-
autosize: boolean | VtInputAutosizeConfig;
|
|
333
|
-
validateOnInput: boolean;
|
|
334
|
-
validateOnBlur: boolean;
|
|
335
|
-
}> | null;
|
|
336
237
|
scrollContainerRef: HTMLDivElement;
|
|
337
238
|
}, HTMLDivElement>;
|
|
338
239
|
|
|
339
|
-
declare const __VLS_component_8: DefineComponent<
|
|
240
|
+
declare const __VLS_component_8: DefineComponent<VtSelectOption, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
340
241
|
click: (option: VtSelectOption) => any;
|
|
341
|
-
}, string, PublicProps, Readonly<
|
|
242
|
+
}, string, PublicProps, Readonly<VtSelectOption> & Readonly<{
|
|
342
243
|
onClick?: ((option: VtSelectOption) => any) | undefined;
|
|
343
244
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
344
245
|
|
|
@@ -420,95 +321,6 @@ declare function __VLS_template_7(): {
|
|
|
420
321
|
triggerRef: HTMLDivElement;
|
|
421
322
|
containerRef: HTMLDivElement;
|
|
422
323
|
dropdownRef: HTMLDivElement;
|
|
423
|
-
filterInputRef: CreateComponentPublicInstanceWithMixins<Readonly< VtInputProps> & Readonly<{
|
|
424
|
-
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
425
|
-
onChange?: ((event: Event) => any) | undefined;
|
|
426
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
427
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
428
|
-
onInput?: ((event: Event) => any) | undefined;
|
|
429
|
-
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
430
|
-
onKeypress?: ((event: KeyboardEvent) => any) | undefined;
|
|
431
|
-
onKeyup?: ((event: KeyboardEvent) => any) | undefined;
|
|
432
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
433
|
-
onClear?: (() => any) | undefined;
|
|
434
|
-
onValidation?: ((result: VtInputValidationResult) => any) | undefined;
|
|
435
|
-
}>, {
|
|
436
|
-
focus(): void;
|
|
437
|
-
blur(): void;
|
|
438
|
-
select(): void;
|
|
439
|
-
clear(): void;
|
|
440
|
-
validate(): boolean;
|
|
441
|
-
clearValidation(): void;
|
|
442
|
-
getInputElement(): HTMLInputElement | HTMLTextAreaElement | null;
|
|
443
|
-
getValidationState(): VtInputValidationResult;
|
|
444
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
445
|
-
blur: (event: FocusEvent) => any;
|
|
446
|
-
change: (event: Event) => any;
|
|
447
|
-
click: (event: MouseEvent) => any;
|
|
448
|
-
focus: (event: FocusEvent) => any;
|
|
449
|
-
input: (event: Event) => any;
|
|
450
|
-
keydown: (event: KeyboardEvent) => any;
|
|
451
|
-
keypress: (event: KeyboardEvent) => any;
|
|
452
|
-
keyup: (event: KeyboardEvent) => any;
|
|
453
|
-
"update:modelValue": (value: string | number) => any;
|
|
454
|
-
clear: () => any;
|
|
455
|
-
validation: (result: VtInputValidationResult) => any;
|
|
456
|
-
}, PublicProps, {
|
|
457
|
-
resize: VtInputResize;
|
|
458
|
-
type: VtInputType;
|
|
459
|
-
disabled: boolean;
|
|
460
|
-
size: VtInputSize;
|
|
461
|
-
status: VtInputStatus;
|
|
462
|
-
clearable: boolean;
|
|
463
|
-
showPassword: boolean;
|
|
464
|
-
rows: number;
|
|
465
|
-
autosize: boolean | VtInputAutosizeConfig;
|
|
466
|
-
validateOnInput: boolean;
|
|
467
|
-
validateOnBlur: boolean;
|
|
468
|
-
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
469
|
-
textareaRef: HTMLTextAreaElement;
|
|
470
|
-
inputRef: HTMLInputElement;
|
|
471
|
-
}, HTMLDivElement, ComponentProvideOptions, {
|
|
472
|
-
P: {};
|
|
473
|
-
B: {};
|
|
474
|
-
D: {};
|
|
475
|
-
C: {};
|
|
476
|
-
M: {};
|
|
477
|
-
Defaults: {};
|
|
478
|
-
}, Readonly< VtInputProps> & Readonly<{
|
|
479
|
-
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
480
|
-
onChange?: ((event: Event) => any) | undefined;
|
|
481
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
482
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
483
|
-
onInput?: ((event: Event) => any) | undefined;
|
|
484
|
-
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
485
|
-
onKeypress?: ((event: KeyboardEvent) => any) | undefined;
|
|
486
|
-
onKeyup?: ((event: KeyboardEvent) => any) | undefined;
|
|
487
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
488
|
-
onClear?: (() => any) | undefined;
|
|
489
|
-
onValidation?: ((result: VtInputValidationResult) => any) | undefined;
|
|
490
|
-
}>, {
|
|
491
|
-
focus(): void;
|
|
492
|
-
blur(): void;
|
|
493
|
-
select(): void;
|
|
494
|
-
clear(): void;
|
|
495
|
-
validate(): boolean;
|
|
496
|
-
clearValidation(): void;
|
|
497
|
-
getInputElement(): HTMLInputElement | HTMLTextAreaElement | null;
|
|
498
|
-
getValidationState(): VtInputValidationResult;
|
|
499
|
-
}, {}, {}, {}, {
|
|
500
|
-
resize: VtInputResize;
|
|
501
|
-
type: VtInputType;
|
|
502
|
-
disabled: boolean;
|
|
503
|
-
size: VtInputSize;
|
|
504
|
-
status: VtInputStatus;
|
|
505
|
-
clearable: boolean;
|
|
506
|
-
showPassword: boolean;
|
|
507
|
-
rows: number;
|
|
508
|
-
autosize: boolean | VtInputAutosizeConfig;
|
|
509
|
-
validateOnInput: boolean;
|
|
510
|
-
validateOnBlur: boolean;
|
|
511
|
-
}> | null;
|
|
512
324
|
scrollContainerRef: HTMLDivElement;
|
|
513
325
|
};
|
|
514
326
|
rootEl: HTMLDivElement;
|
|
@@ -629,8 +441,8 @@ export declare interface DropdownItemProps {
|
|
|
629
441
|
export declare type DropdownPlacement = 'bottom' | 'bottom-start' | 'bottom-end' | 'top' | 'top-start' | 'top-end';
|
|
630
442
|
|
|
631
443
|
export declare interface DropdownProps {
|
|
632
|
-
trigger?:
|
|
633
|
-
placement?:
|
|
444
|
+
trigger?: DropdownTriggerType;
|
|
445
|
+
placement?: DropdownPlacement;
|
|
634
446
|
disabled?: boolean;
|
|
635
447
|
splitButton?: boolean;
|
|
636
448
|
hideOnClick?: boolean;
|
|
@@ -640,7 +452,7 @@ export declare interface DropdownProps {
|
|
|
640
452
|
maxHeight?: string | number;
|
|
641
453
|
}
|
|
642
454
|
|
|
643
|
-
export declare type DropdownTriggerType = 'click' | 'hover'
|
|
455
|
+
export declare type DropdownTriggerType = 'click' | 'hover';
|
|
644
456
|
|
|
645
457
|
export declare type IconName = keyof typeof icons;
|
|
646
458
|
|
|
@@ -698,6 +510,11 @@ declare const icons: {
|
|
|
698
510
|
readonly emailOutgoing: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
699
511
|
readonly emailQueue: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
700
512
|
readonly emailSpam: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
513
|
+
readonly ivr: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
514
|
+
readonly predictive: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
515
|
+
readonly preview: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
516
|
+
readonly progressive: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
517
|
+
readonly sms: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
701
518
|
readonly columnInsert: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
702
519
|
readonly columnsMove: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
703
520
|
readonly empty: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
@@ -1222,22 +1039,11 @@ export declare interface VtOptionEmits {
|
|
|
1222
1039
|
click: [option: VtSelectOption];
|
|
1223
1040
|
}
|
|
1224
1041
|
|
|
1225
|
-
export declare interface VtOptionProps {
|
|
1226
|
-
label: string;
|
|
1227
|
-
value: string | number;
|
|
1228
|
-
disabled?: boolean;
|
|
1229
|
-
icon?: string;
|
|
1230
|
-
group?: string;
|
|
1231
|
-
}
|
|
1232
|
-
|
|
1233
1042
|
export declare interface VtSelectContext {
|
|
1234
1043
|
selectValue: string | number | Array<string | number>;
|
|
1235
1044
|
multiple: boolean;
|
|
1236
|
-
filterable: boolean;
|
|
1237
|
-
filterQuery: string;
|
|
1238
1045
|
handleOptionClick: (option: VtSelectOption) => void;
|
|
1239
1046
|
isOptionSelected: (value: string | number) => boolean;
|
|
1240
|
-
isOptionVisible: (option: VtSelectOption) => boolean;
|
|
1241
1047
|
registerOption: (option: VtSelectOption, slotContent?: any) => void;
|
|
1242
1048
|
unregisterOption: (value: string | number) => void;
|
|
1243
1049
|
}
|
|
@@ -1247,8 +1053,8 @@ export declare const VtSelectContextKey: unique symbol;
|
|
|
1247
1053
|
export declare interface VtSelectEmits {
|
|
1248
1054
|
'update:modelValue': [value: string | number | Array<string | number>];
|
|
1249
1055
|
change: [value: string | number | Array<string | number>];
|
|
1250
|
-
focus: [
|
|
1251
|
-
blur: [
|
|
1056
|
+
focus: [];
|
|
1057
|
+
blur: [];
|
|
1252
1058
|
clear: [];
|
|
1253
1059
|
'visible-change': [visible: boolean];
|
|
1254
1060
|
'remove-tag': [value: string | number];
|
|
@@ -1285,17 +1091,13 @@ export declare interface VtSelectProps {
|
|
|
1285
1091
|
modelValue?: string | number | Array<string | number>;
|
|
1286
1092
|
multiple?: boolean;
|
|
1287
1093
|
collapsedTags?: boolean;
|
|
1288
|
-
size?: VtSelectSize;
|
|
1289
1094
|
status?: VtSelectStatus;
|
|
1290
1095
|
disabled?: boolean;
|
|
1291
1096
|
clearable?: boolean;
|
|
1292
1097
|
filterable?: boolean;
|
|
1293
1098
|
loading?: boolean;
|
|
1294
|
-
infiniteScroll?: boolean;
|
|
1295
1099
|
label?: string;
|
|
1296
1100
|
placeholder?: string;
|
|
1297
|
-
helperText?: string;
|
|
1298
|
-
errorMessage?: string;
|
|
1299
1101
|
noDataText?: string;
|
|
1300
1102
|
noMatchText?: string;
|
|
1301
1103
|
loadingText?: string;
|
|
@@ -1303,7 +1105,6 @@ export declare interface VtSelectProps {
|
|
|
1303
1105
|
name?: string;
|
|
1304
1106
|
tabindex?: number;
|
|
1305
1107
|
maxHeight?: number | string;
|
|
1306
|
-
placement?: 'bottom' | 'bottom-start' | 'bottom-end' | 'top' | 'top-start' | 'top-end';
|
|
1307
1108
|
filterMethod?: (query: string, option: VtSelectOption) => boolean;
|
|
1308
1109
|
required?: boolean;
|
|
1309
1110
|
validateOnInput?: boolean;
|
|
@@ -1311,8 +1112,6 @@ export declare interface VtSelectProps {
|
|
|
1311
1112
|
requiredMessage?: string;
|
|
1312
1113
|
}
|
|
1313
1114
|
|
|
1314
|
-
export declare type VtSelectSize = 'small' | 'medium' | 'large';
|
|
1315
|
-
|
|
1316
1115
|
export declare type VtSelectStatus = 'default' | 'success' | 'error' | 'warning';
|
|
1317
1116
|
|
|
1318
1117
|
declare const VUIPlugin: {
|