voiptime-components 1.3.0 → 1.3.1
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.d.ts +529 -0
- package/dist/index.es.js +2177 -1329
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,10 @@ 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';
|
|
5
6
|
import { DefineComponent } from 'vue';
|
|
7
|
+
import { GlobalComponents } from 'vue';
|
|
8
|
+
import { GlobalDirectives } from 'vue';
|
|
6
9
|
import { InjectionKey } from 'vue';
|
|
7
10
|
import { ObjectDirective } from 'vue';
|
|
8
11
|
import { PublicProps } from 'vue';
|
|
@@ -176,6 +179,164 @@ declare const __VLS_component_6: DefineComponent<DropdownItemProps, {}, {}, {},
|
|
|
176
179
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
177
180
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLIElement>;
|
|
178
181
|
|
|
182
|
+
declare const __VLS_component_7: DefineComponent<VtSelectProps, {
|
|
183
|
+
focus(): void;
|
|
184
|
+
blur(): void;
|
|
185
|
+
clear(): void;
|
|
186
|
+
validate(): boolean;
|
|
187
|
+
clearValidation(): void;
|
|
188
|
+
getSelectedOptions(): VtSelectOption[];
|
|
189
|
+
getValidationState(): {
|
|
190
|
+
isValid: boolean;
|
|
191
|
+
errors: string[];
|
|
192
|
+
};
|
|
193
|
+
registerOption(option: VtSelectOption): void;
|
|
194
|
+
unregisterOption(value: string | number): void;
|
|
195
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
196
|
+
blur: (event: FocusEvent) => any;
|
|
197
|
+
change: (value: string | number | (string | number)[]) => any;
|
|
198
|
+
focus: (event: FocusEvent) => any;
|
|
199
|
+
filter: (query: string) => any;
|
|
200
|
+
"update:modelValue": (value: string | number | (string | number)[]) => any;
|
|
201
|
+
clear: () => any;
|
|
202
|
+
"visible-change": (visible: boolean) => any;
|
|
203
|
+
validation: (result: {
|
|
204
|
+
isValid: boolean;
|
|
205
|
+
errors: string[];
|
|
206
|
+
}) => any;
|
|
207
|
+
"remove-tag": (value: string | number) => any;
|
|
208
|
+
}, string, PublicProps, Readonly<VtSelectProps> & Readonly<{
|
|
209
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
210
|
+
onChange?: ((value: string | number | (string | number)[]) => any) | undefined;
|
|
211
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
212
|
+
onFilter?: ((query: string) => any) | undefined;
|
|
213
|
+
"onUpdate:modelValue"?: ((value: string | number | (string | number)[]) => any) | undefined;
|
|
214
|
+
onClear?: (() => any) | undefined;
|
|
215
|
+
"onVisible-change"?: ((visible: boolean) => any) | undefined;
|
|
216
|
+
onValidation?: ((result: {
|
|
217
|
+
isValid: boolean;
|
|
218
|
+
errors: string[];
|
|
219
|
+
}) => any) | undefined;
|
|
220
|
+
"onRemove-tag"?: ((value: string | number) => any) | undefined;
|
|
221
|
+
}>, {
|
|
222
|
+
disabled: boolean;
|
|
223
|
+
loading: boolean;
|
|
224
|
+
size: VtSelectSize;
|
|
225
|
+
placeholder: string;
|
|
226
|
+
maxHeight: number | string;
|
|
227
|
+
placement: "bottom" | "bottom-start" | "bottom-end" | "top" | "top-start" | "top-end";
|
|
228
|
+
status: VtSelectStatus;
|
|
229
|
+
clearable: boolean;
|
|
230
|
+
validateOnInput: boolean;
|
|
231
|
+
validateOnBlur: boolean;
|
|
232
|
+
multiple: boolean;
|
|
233
|
+
collapsedTags: boolean;
|
|
234
|
+
filterable: boolean;
|
|
235
|
+
noDataText: string;
|
|
236
|
+
noMatchText: string;
|
|
237
|
+
loadingText: string;
|
|
238
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
239
|
+
selectRef: HTMLDivElement;
|
|
240
|
+
triggerRef: HTMLDivElement;
|
|
241
|
+
containerRef: HTMLDivElement;
|
|
242
|
+
dropdownRef: HTMLDivElement;
|
|
243
|
+
filterInputRef: CreateComponentPublicInstanceWithMixins<Readonly< VtInputProps> & Readonly<{
|
|
244
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
245
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
246
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
247
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
248
|
+
onInput?: ((event: Event) => any) | undefined;
|
|
249
|
+
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
250
|
+
onKeypress?: ((event: KeyboardEvent) => any) | undefined;
|
|
251
|
+
onKeyup?: ((event: KeyboardEvent) => any) | undefined;
|
|
252
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
253
|
+
onClear?: (() => any) | undefined;
|
|
254
|
+
onValidation?: ((result: VtInputValidationResult) => any) | undefined;
|
|
255
|
+
}>, {
|
|
256
|
+
focus(): void;
|
|
257
|
+
blur(): void;
|
|
258
|
+
select(): void;
|
|
259
|
+
clear(): void;
|
|
260
|
+
validate(): boolean;
|
|
261
|
+
clearValidation(): void;
|
|
262
|
+
getInputElement(): HTMLInputElement | HTMLTextAreaElement | null;
|
|
263
|
+
getValidationState(): VtInputValidationResult;
|
|
264
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
265
|
+
blur: (event: FocusEvent) => any;
|
|
266
|
+
change: (event: Event) => any;
|
|
267
|
+
click: (event: MouseEvent) => any;
|
|
268
|
+
focus: (event: FocusEvent) => any;
|
|
269
|
+
input: (event: Event) => any;
|
|
270
|
+
keydown: (event: KeyboardEvent) => any;
|
|
271
|
+
keypress: (event: KeyboardEvent) => any;
|
|
272
|
+
keyup: (event: KeyboardEvent) => any;
|
|
273
|
+
"update:modelValue": (value: string | number) => any;
|
|
274
|
+
clear: () => any;
|
|
275
|
+
validation: (result: VtInputValidationResult) => any;
|
|
276
|
+
}, PublicProps, {
|
|
277
|
+
resize: VtInputResize;
|
|
278
|
+
type: VtInputType;
|
|
279
|
+
disabled: boolean;
|
|
280
|
+
size: VtInputSize;
|
|
281
|
+
status: VtInputStatus;
|
|
282
|
+
clearable: boolean;
|
|
283
|
+
showPassword: boolean;
|
|
284
|
+
rows: number;
|
|
285
|
+
autosize: boolean | VtInputAutosizeConfig;
|
|
286
|
+
validateOnInput: boolean;
|
|
287
|
+
validateOnBlur: boolean;
|
|
288
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
289
|
+
textareaRef: HTMLTextAreaElement;
|
|
290
|
+
inputRef: HTMLInputElement;
|
|
291
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
292
|
+
P: {};
|
|
293
|
+
B: {};
|
|
294
|
+
D: {};
|
|
295
|
+
C: {};
|
|
296
|
+
M: {};
|
|
297
|
+
Defaults: {};
|
|
298
|
+
}, Readonly< VtInputProps> & Readonly<{
|
|
299
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
300
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
301
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
302
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
303
|
+
onInput?: ((event: Event) => any) | undefined;
|
|
304
|
+
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
305
|
+
onKeypress?: ((event: KeyboardEvent) => any) | undefined;
|
|
306
|
+
onKeyup?: ((event: KeyboardEvent) => any) | undefined;
|
|
307
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
308
|
+
onClear?: (() => any) | undefined;
|
|
309
|
+
onValidation?: ((result: VtInputValidationResult) => any) | undefined;
|
|
310
|
+
}>, {
|
|
311
|
+
focus(): void;
|
|
312
|
+
blur(): void;
|
|
313
|
+
select(): void;
|
|
314
|
+
clear(): void;
|
|
315
|
+
validate(): boolean;
|
|
316
|
+
clearValidation(): void;
|
|
317
|
+
getInputElement(): HTMLInputElement | HTMLTextAreaElement | null;
|
|
318
|
+
getValidationState(): VtInputValidationResult;
|
|
319
|
+
}, {}, {}, {}, {
|
|
320
|
+
resize: VtInputResize;
|
|
321
|
+
type: VtInputType;
|
|
322
|
+
disabled: boolean;
|
|
323
|
+
size: VtInputSize;
|
|
324
|
+
status: VtInputStatus;
|
|
325
|
+
clearable: boolean;
|
|
326
|
+
showPassword: boolean;
|
|
327
|
+
rows: number;
|
|
328
|
+
autosize: boolean | VtInputAutosizeConfig;
|
|
329
|
+
validateOnInput: boolean;
|
|
330
|
+
validateOnBlur: boolean;
|
|
331
|
+
}> | null;
|
|
332
|
+
}, HTMLDivElement>;
|
|
333
|
+
|
|
334
|
+
declare const __VLS_component_8: DefineComponent<VtOptionProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
335
|
+
click: (option: VtSelectOption) => any;
|
|
336
|
+
}, string, PublicProps, Readonly<VtOptionProps> & Readonly<{
|
|
337
|
+
onClick?: ((option: VtSelectOption) => any) | undefined;
|
|
338
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
339
|
+
|
|
179
340
|
declare type __VLS_Props = VTableProps;
|
|
180
341
|
|
|
181
342
|
declare type __VLS_PublicProps = {
|
|
@@ -244,6 +405,118 @@ declare function __VLS_template_6(): {
|
|
|
244
405
|
rootEl: HTMLLIElement;
|
|
245
406
|
};
|
|
246
407
|
|
|
408
|
+
declare function __VLS_template_7(): {
|
|
409
|
+
attrs: Partial<{}>;
|
|
410
|
+
slots: {
|
|
411
|
+
default?(_: {}): any;
|
|
412
|
+
};
|
|
413
|
+
refs: {
|
|
414
|
+
selectRef: HTMLDivElement;
|
|
415
|
+
triggerRef: HTMLDivElement;
|
|
416
|
+
containerRef: HTMLDivElement;
|
|
417
|
+
dropdownRef: HTMLDivElement;
|
|
418
|
+
filterInputRef: CreateComponentPublicInstanceWithMixins<Readonly< VtInputProps> & Readonly<{
|
|
419
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
420
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
421
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
422
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
423
|
+
onInput?: ((event: Event) => any) | undefined;
|
|
424
|
+
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
425
|
+
onKeypress?: ((event: KeyboardEvent) => any) | undefined;
|
|
426
|
+
onKeyup?: ((event: KeyboardEvent) => any) | undefined;
|
|
427
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
428
|
+
onClear?: (() => any) | undefined;
|
|
429
|
+
onValidation?: ((result: VtInputValidationResult) => any) | undefined;
|
|
430
|
+
}>, {
|
|
431
|
+
focus(): void;
|
|
432
|
+
blur(): void;
|
|
433
|
+
select(): void;
|
|
434
|
+
clear(): void;
|
|
435
|
+
validate(): boolean;
|
|
436
|
+
clearValidation(): void;
|
|
437
|
+
getInputElement(): HTMLInputElement | HTMLTextAreaElement | null;
|
|
438
|
+
getValidationState(): VtInputValidationResult;
|
|
439
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
440
|
+
blur: (event: FocusEvent) => any;
|
|
441
|
+
change: (event: Event) => any;
|
|
442
|
+
click: (event: MouseEvent) => any;
|
|
443
|
+
focus: (event: FocusEvent) => any;
|
|
444
|
+
input: (event: Event) => any;
|
|
445
|
+
keydown: (event: KeyboardEvent) => any;
|
|
446
|
+
keypress: (event: KeyboardEvent) => any;
|
|
447
|
+
keyup: (event: KeyboardEvent) => any;
|
|
448
|
+
"update:modelValue": (value: string | number) => any;
|
|
449
|
+
clear: () => any;
|
|
450
|
+
validation: (result: VtInputValidationResult) => any;
|
|
451
|
+
}, PublicProps, {
|
|
452
|
+
resize: VtInputResize;
|
|
453
|
+
type: VtInputType;
|
|
454
|
+
disabled: boolean;
|
|
455
|
+
size: VtInputSize;
|
|
456
|
+
status: VtInputStatus;
|
|
457
|
+
clearable: boolean;
|
|
458
|
+
showPassword: boolean;
|
|
459
|
+
rows: number;
|
|
460
|
+
autosize: boolean | VtInputAutosizeConfig;
|
|
461
|
+
validateOnInput: boolean;
|
|
462
|
+
validateOnBlur: boolean;
|
|
463
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
464
|
+
textareaRef: HTMLTextAreaElement;
|
|
465
|
+
inputRef: HTMLInputElement;
|
|
466
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
467
|
+
P: {};
|
|
468
|
+
B: {};
|
|
469
|
+
D: {};
|
|
470
|
+
C: {};
|
|
471
|
+
M: {};
|
|
472
|
+
Defaults: {};
|
|
473
|
+
}, Readonly< VtInputProps> & Readonly<{
|
|
474
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
475
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
476
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
477
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
478
|
+
onInput?: ((event: Event) => any) | undefined;
|
|
479
|
+
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
480
|
+
onKeypress?: ((event: KeyboardEvent) => any) | undefined;
|
|
481
|
+
onKeyup?: ((event: KeyboardEvent) => any) | undefined;
|
|
482
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
483
|
+
onClear?: (() => any) | undefined;
|
|
484
|
+
onValidation?: ((result: VtInputValidationResult) => any) | undefined;
|
|
485
|
+
}>, {
|
|
486
|
+
focus(): void;
|
|
487
|
+
blur(): void;
|
|
488
|
+
select(): void;
|
|
489
|
+
clear(): void;
|
|
490
|
+
validate(): boolean;
|
|
491
|
+
clearValidation(): void;
|
|
492
|
+
getInputElement(): HTMLInputElement | HTMLTextAreaElement | null;
|
|
493
|
+
getValidationState(): VtInputValidationResult;
|
|
494
|
+
}, {}, {}, {}, {
|
|
495
|
+
resize: VtInputResize;
|
|
496
|
+
type: VtInputType;
|
|
497
|
+
disabled: boolean;
|
|
498
|
+
size: VtInputSize;
|
|
499
|
+
status: VtInputStatus;
|
|
500
|
+
clearable: boolean;
|
|
501
|
+
showPassword: boolean;
|
|
502
|
+
rows: number;
|
|
503
|
+
autosize: boolean | VtInputAutosizeConfig;
|
|
504
|
+
validateOnInput: boolean;
|
|
505
|
+
validateOnBlur: boolean;
|
|
506
|
+
}> | null;
|
|
507
|
+
};
|
|
508
|
+
rootEl: HTMLDivElement;
|
|
509
|
+
};
|
|
510
|
+
|
|
511
|
+
declare function __VLS_template_8(): {
|
|
512
|
+
attrs: Partial<{}>;
|
|
513
|
+
slots: {
|
|
514
|
+
default?(_: {}): any;
|
|
515
|
+
};
|
|
516
|
+
refs: {};
|
|
517
|
+
rootEl: any;
|
|
518
|
+
};
|
|
519
|
+
|
|
247
520
|
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
248
521
|
|
|
249
522
|
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
@@ -256,6 +529,10 @@ declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
|
256
529
|
|
|
257
530
|
declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
|
|
258
531
|
|
|
532
|
+
declare type __VLS_TemplateResult_7 = ReturnType<typeof __VLS_template_7>;
|
|
533
|
+
|
|
534
|
+
declare type __VLS_TemplateResult_8 = ReturnType<typeof __VLS_template_8>;
|
|
535
|
+
|
|
259
536
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
260
537
|
new (): {
|
|
261
538
|
$slots: S;
|
|
@@ -292,6 +569,18 @@ declare type __VLS_WithTemplateSlots_6<T, S> = T & {
|
|
|
292
569
|
};
|
|
293
570
|
};
|
|
294
571
|
|
|
572
|
+
declare type __VLS_WithTemplateSlots_7<T, S> = T & {
|
|
573
|
+
new (): {
|
|
574
|
+
$slots: S;
|
|
575
|
+
};
|
|
576
|
+
};
|
|
577
|
+
|
|
578
|
+
declare type __VLS_WithTemplateSlots_8<T, S> = T & {
|
|
579
|
+
new (): {
|
|
580
|
+
$slots: S;
|
|
581
|
+
};
|
|
582
|
+
};
|
|
583
|
+
|
|
295
584
|
export declare const DEFAULT_COLUMN_CONFIG: {
|
|
296
585
|
readonly sortable: true;
|
|
297
586
|
readonly actionColumn: false;
|
|
@@ -571,6 +860,56 @@ export declare const VIcon: DefineComponent<Props, {}, {}, {}, {}, ComponentOpti
|
|
|
571
860
|
color: string;
|
|
572
861
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
573
862
|
|
|
863
|
+
export declare const VInput: DefineComponent<VtInputProps, {
|
|
864
|
+
focus(): void;
|
|
865
|
+
blur(): void;
|
|
866
|
+
select(): void;
|
|
867
|
+
clear(): void;
|
|
868
|
+
validate(): boolean;
|
|
869
|
+
clearValidation(): void;
|
|
870
|
+
getInputElement(): HTMLInputElement | HTMLTextAreaElement | null;
|
|
871
|
+
getValidationState(): VtInputValidationResult;
|
|
872
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
873
|
+
blur: (event: FocusEvent) => any;
|
|
874
|
+
change: (event: Event) => any;
|
|
875
|
+
click: (event: MouseEvent) => any;
|
|
876
|
+
focus: (event: FocusEvent) => any;
|
|
877
|
+
input: (event: Event) => any;
|
|
878
|
+
keydown: (event: KeyboardEvent) => any;
|
|
879
|
+
keypress: (event: KeyboardEvent) => any;
|
|
880
|
+
keyup: (event: KeyboardEvent) => any;
|
|
881
|
+
"update:modelValue": (value: string | number) => any;
|
|
882
|
+
clear: () => any;
|
|
883
|
+
validation: (result: VtInputValidationResult) => any;
|
|
884
|
+
}, string, PublicProps, Readonly<VtInputProps> & Readonly<{
|
|
885
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
886
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
887
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
888
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
889
|
+
onInput?: ((event: Event) => any) | undefined;
|
|
890
|
+
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
891
|
+
onKeypress?: ((event: KeyboardEvent) => any) | undefined;
|
|
892
|
+
onKeyup?: ((event: KeyboardEvent) => any) | undefined;
|
|
893
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
894
|
+
onClear?: (() => any) | undefined;
|
|
895
|
+
onValidation?: ((result: VtInputValidationResult) => any) | undefined;
|
|
896
|
+
}>, {
|
|
897
|
+
resize: VtInputResize;
|
|
898
|
+
type: VtInputType;
|
|
899
|
+
disabled: boolean;
|
|
900
|
+
size: VtInputSize;
|
|
901
|
+
status: VtInputStatus;
|
|
902
|
+
clearable: boolean;
|
|
903
|
+
showPassword: boolean;
|
|
904
|
+
rows: number;
|
|
905
|
+
autosize: boolean | VtInputAutosizeConfig;
|
|
906
|
+
validateOnInput: boolean;
|
|
907
|
+
validateOnBlur: boolean;
|
|
908
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
909
|
+
textareaRef: HTMLTextAreaElement;
|
|
910
|
+
inputRef: HTMLInputElement;
|
|
911
|
+
}, HTMLDivElement>;
|
|
912
|
+
|
|
574
913
|
export declare const VLoader: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLSpanElement>;
|
|
575
914
|
|
|
576
915
|
export declare const VModal: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
@@ -636,6 +975,8 @@ export declare interface VModalProps {
|
|
|
636
975
|
|
|
637
976
|
export declare type VModalSize = 'small' | 'medium' | 'large';
|
|
638
977
|
|
|
978
|
+
export declare const VOption: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
979
|
+
|
|
639
980
|
export declare const VPagination: DefineComponent<PaginationProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
640
981
|
"update:currentPage": (page: number) => any;
|
|
641
982
|
"update:pageSize": (size: number) => any;
|
|
@@ -653,6 +994,8 @@ export declare const VPagination: DefineComponent<PaginationProps, {}, {}, {}, {
|
|
|
653
994
|
maxVisiblePages: number;
|
|
654
995
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
655
996
|
|
|
997
|
+
export declare const VSelect: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
998
|
+
|
|
656
999
|
export declare const VTable: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
657
1000
|
|
|
658
1001
|
export declare const VTableColumn: DefineComponent<VTableColumnProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<VTableColumnProps> & Readonly<{}>, {
|
|
@@ -769,6 +1112,192 @@ export declare interface VTableStyleConfig {
|
|
|
769
1112
|
[key: string]: string;
|
|
770
1113
|
}
|
|
771
1114
|
|
|
1115
|
+
export declare interface VtInputAutosizeConfig {
|
|
1116
|
+
minRows?: number;
|
|
1117
|
+
maxRows?: number;
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
export declare interface VtInputEmits {
|
|
1121
|
+
'update:modelValue': [value: string | number];
|
|
1122
|
+
input: [event: Event];
|
|
1123
|
+
change: [event: Event];
|
|
1124
|
+
focus: [event: FocusEvent];
|
|
1125
|
+
blur: [event: FocusEvent];
|
|
1126
|
+
clear: [];
|
|
1127
|
+
validation: [result: VtInputValidationResult];
|
|
1128
|
+
keydown: [event: KeyboardEvent];
|
|
1129
|
+
keyup: [event: KeyboardEvent];
|
|
1130
|
+
keypress: [event: KeyboardEvent];
|
|
1131
|
+
click: [event: MouseEvent];
|
|
1132
|
+
}
|
|
1133
|
+
|
|
1134
|
+
export declare interface VtInputMethods {
|
|
1135
|
+
focus(): void;
|
|
1136
|
+
blur(): void;
|
|
1137
|
+
select(): void;
|
|
1138
|
+
clear(): void;
|
|
1139
|
+
validate(): boolean;
|
|
1140
|
+
clearValidation(): void;
|
|
1141
|
+
getInputElement(): HTMLInputElement | HTMLTextAreaElement | null;
|
|
1142
|
+
getValidationState(): VtInputValidationResult;
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
export declare interface VtInputProps {
|
|
1146
|
+
modelValue?: string | number;
|
|
1147
|
+
type?: VtInputType;
|
|
1148
|
+
size?: VtInputSize;
|
|
1149
|
+
status?: VtInputStatus;
|
|
1150
|
+
disabled?: boolean;
|
|
1151
|
+
clearable?: boolean;
|
|
1152
|
+
showPassword?: boolean;
|
|
1153
|
+
label?: string;
|
|
1154
|
+
placeholder?: string;
|
|
1155
|
+
helperText?: string;
|
|
1156
|
+
errorMessage?: string;
|
|
1157
|
+
id?: string;
|
|
1158
|
+
name?: string;
|
|
1159
|
+
tabindex?: number;
|
|
1160
|
+
autocomplete?: string;
|
|
1161
|
+
prefixIcon?: IconName;
|
|
1162
|
+
suffixIcon?: IconName;
|
|
1163
|
+
rows?: number;
|
|
1164
|
+
cols?: number;
|
|
1165
|
+
resize?: VtInputResize;
|
|
1166
|
+
autosize?: boolean | VtInputAutosizeConfig;
|
|
1167
|
+
required?: boolean;
|
|
1168
|
+
validateOnInput?: boolean;
|
|
1169
|
+
validateOnBlur?: boolean;
|
|
1170
|
+
showAllErrors?: boolean;
|
|
1171
|
+
requiredMessage?: string;
|
|
1172
|
+
emailMessage?: string;
|
|
1173
|
+
urlMessage?: string;
|
|
1174
|
+
numberMessage?: string;
|
|
1175
|
+
minlengthMessage?: string;
|
|
1176
|
+
maxlengthMessage?: string;
|
|
1177
|
+
minMessage?: string;
|
|
1178
|
+
maxMessage?: string;
|
|
1179
|
+
patternMessage?: string;
|
|
1180
|
+
customValidatorMessage?: string;
|
|
1181
|
+
minlength?: number;
|
|
1182
|
+
maxlength?: number;
|
|
1183
|
+
min?: number;
|
|
1184
|
+
max?: number;
|
|
1185
|
+
step?: number;
|
|
1186
|
+
pattern?: string;
|
|
1187
|
+
customValidator?: (value: string | number) => boolean;
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
export declare type VtInputResize = 'none' | 'both' | 'horizontal' | 'vertical';
|
|
1191
|
+
|
|
1192
|
+
export declare type VtInputSize = 'small' | 'medium' | 'large';
|
|
1193
|
+
|
|
1194
|
+
export declare type VtInputStatus = 'default' | 'success' | 'error' | 'warning';
|
|
1195
|
+
|
|
1196
|
+
export declare type VtInputType = 'text' | 'email' | 'password' | 'number' | 'url' | 'tel' | 'search' | 'textarea';
|
|
1197
|
+
|
|
1198
|
+
export declare interface VtInputValidationResult {
|
|
1199
|
+
isValid: boolean;
|
|
1200
|
+
errors: string[];
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
export declare interface VtOptionEmits {
|
|
1204
|
+
click: [option: VtSelectOption];
|
|
1205
|
+
}
|
|
1206
|
+
|
|
1207
|
+
export declare interface VtOptionProps {
|
|
1208
|
+
label: string;
|
|
1209
|
+
value: string | number;
|
|
1210
|
+
disabled?: boolean;
|
|
1211
|
+
icon?: string;
|
|
1212
|
+
group?: string;
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
export declare interface VtSelectContext {
|
|
1216
|
+
selectValue: string | number | Array<string | number>;
|
|
1217
|
+
multiple: boolean;
|
|
1218
|
+
filterable: boolean;
|
|
1219
|
+
filterQuery: string;
|
|
1220
|
+
handleOptionClick: (option: VtSelectOption) => void;
|
|
1221
|
+
isOptionSelected: (value: string | number) => boolean;
|
|
1222
|
+
isOptionVisible: (option: VtSelectOption) => boolean;
|
|
1223
|
+
registerOption: (option: VtSelectOption) => void;
|
|
1224
|
+
unregisterOption: (value: string | number) => void;
|
|
1225
|
+
}
|
|
1226
|
+
|
|
1227
|
+
export declare const VtSelectContextKey: unique symbol;
|
|
1228
|
+
|
|
1229
|
+
export declare interface VtSelectEmits {
|
|
1230
|
+
'update:modelValue': [value: string | number | Array<string | number>];
|
|
1231
|
+
change: [value: string | number | Array<string | number>];
|
|
1232
|
+
focus: [event: FocusEvent];
|
|
1233
|
+
blur: [event: FocusEvent];
|
|
1234
|
+
clear: [];
|
|
1235
|
+
'visible-change': [visible: boolean];
|
|
1236
|
+
'remove-tag': [value: string | number];
|
|
1237
|
+
filter: [query: string];
|
|
1238
|
+
validation: [result: {
|
|
1239
|
+
isValid: boolean;
|
|
1240
|
+
errors: string[];
|
|
1241
|
+
}];
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1244
|
+
export declare interface VtSelectMethods {
|
|
1245
|
+
focus(): void;
|
|
1246
|
+
blur(): void;
|
|
1247
|
+
clear(): void;
|
|
1248
|
+
validate(): boolean;
|
|
1249
|
+
clearValidation(): void;
|
|
1250
|
+
getSelectedOptions(): VtSelectOption[];
|
|
1251
|
+
getValidationState(): {
|
|
1252
|
+
isValid: boolean;
|
|
1253
|
+
errors: string[];
|
|
1254
|
+
};
|
|
1255
|
+
registerOption(option: VtSelectOption): void;
|
|
1256
|
+
unregisterOption(value: string | number): void;
|
|
1257
|
+
}
|
|
1258
|
+
|
|
1259
|
+
export declare interface VtSelectOption {
|
|
1260
|
+
label: string;
|
|
1261
|
+
value: string | number;
|
|
1262
|
+
disabled?: boolean;
|
|
1263
|
+
icon?: string;
|
|
1264
|
+
group?: string;
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
export declare interface VtSelectProps {
|
|
1268
|
+
modelValue?: string | number | Array<string | number>;
|
|
1269
|
+
multiple?: boolean;
|
|
1270
|
+
collapsedTags?: boolean;
|
|
1271
|
+
size?: VtSelectSize;
|
|
1272
|
+
status?: VtSelectStatus;
|
|
1273
|
+
disabled?: boolean;
|
|
1274
|
+
clearable?: boolean;
|
|
1275
|
+
filterable?: boolean;
|
|
1276
|
+
remote?: boolean;
|
|
1277
|
+
loading?: boolean;
|
|
1278
|
+
label?: string;
|
|
1279
|
+
placeholder?: string;
|
|
1280
|
+
helperText?: string;
|
|
1281
|
+
errorMessage?: string;
|
|
1282
|
+
noDataText?: string;
|
|
1283
|
+
noMatchText?: string;
|
|
1284
|
+
loadingText?: string;
|
|
1285
|
+
id?: string;
|
|
1286
|
+
name?: string;
|
|
1287
|
+
tabindex?: number;
|
|
1288
|
+
maxHeight?: number | string;
|
|
1289
|
+
placement?: 'bottom' | 'bottom-start' | 'bottom-end' | 'top' | 'top-start' | 'top-end';
|
|
1290
|
+
filterMethod?: (query: string, option: VtSelectOption) => boolean;
|
|
1291
|
+
required?: boolean;
|
|
1292
|
+
validateOnInput?: boolean;
|
|
1293
|
+
validateOnBlur?: boolean;
|
|
1294
|
+
requiredMessage?: string;
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
export declare type VtSelectSize = 'small' | 'medium' | 'large';
|
|
1298
|
+
|
|
1299
|
+
export declare type VtSelectStatus = 'default' | 'success' | 'error' | 'warning';
|
|
1300
|
+
|
|
772
1301
|
declare const VUIPlugin: {
|
|
773
1302
|
install(app: App, options?: VUIPluginOptions): void;
|
|
774
1303
|
};
|