@vtj/ui 0.12.69 → 0.13.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.
- package/dist/index.mjs +1092 -1084
- package/dist/index.umd.js +4 -4
- package/dist/style.css +1 -1
- package/package.json +3 -3
- package/types/components/action/Action.d.ts +25 -0
- package/types/components/action/Trigger.d.ts +7 -0
- package/types/components/action/types.d.ts +3 -0
- package/types/components/action-bar/ActionBar.d.ts +12 -0
- package/types/components/attachment/Attachment.d.ts +6 -6
- package/types/components/data-item/DataItem.d.ts +12 -0
- package/types/components/dialog-form/DialogForm.d.ts +2295 -18
- package/types/components/form/Form.d.ts +2295 -18
- package/types/components/grid/renderers/components/DateEdit.d.ts +26 -8
- package/types/components/grid/renderers/components/PickerEdit.d.ts +63 -19
- package/types/components/mask/Mask.d.ts +12 -0
- package/types/components/picker/Picker.d.ts +63 -19
- package/types/components/query-form/QueryForm.d.ts +4587 -34
- package/types/components/tabs/Tabs.d.ts +6 -0
- package/types/version.d.ts +2 -2
@@ -23,11 +23,19 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
23
23
|
} & {
|
24
24
|
readonly default: true;
|
25
25
|
};
|
26
|
+
readonly showFooter: {
|
27
|
+
readonly type: PropType<boolean>;
|
28
|
+
readonly required: false;
|
29
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
30
|
+
__epPropKey: true;
|
31
|
+
} & {
|
32
|
+
readonly default: true;
|
33
|
+
};
|
26
34
|
readonly showWeekNumber: BooleanConstructor;
|
27
35
|
readonly ariaLabel: StringConstructor;
|
28
36
|
readonly emptyValues: ArrayConstructor;
|
29
37
|
readonly valueOnClear: {
|
30
|
-
readonly type: PropType<string | number | boolean | Function>;
|
38
|
+
readonly type: PropType<string | number | boolean | Function | null>;
|
31
39
|
readonly required: false;
|
32
40
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
33
41
|
__epPropKey: true;
|
@@ -185,7 +193,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
185
193
|
readonly default: () => {};
|
186
194
|
};
|
187
195
|
readonly modelValue: {
|
188
|
-
readonly type: PropType<ModelValueType>;
|
196
|
+
readonly type: PropType< ModelValueType | null>;
|
189
197
|
readonly required: false;
|
190
198
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
191
199
|
__epPropKey: true;
|
@@ -221,10 +229,10 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
221
229
|
readonly disabled: boolean;
|
222
230
|
readonly type: "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange";
|
223
231
|
readonly placeholder: string;
|
224
|
-
readonly modelValue: ModelValueType;
|
232
|
+
readonly modelValue: ModelValueType | null;
|
225
233
|
readonly placement: any;
|
226
234
|
readonly tabindex: string | number;
|
227
|
-
readonly valueOnClear: string | number | boolean | Function;
|
235
|
+
readonly valueOnClear: string | number | boolean | Function | null;
|
228
236
|
readonly readonly: boolean;
|
229
237
|
readonly prefixIcon: string | Component;
|
230
238
|
readonly validateEvent: boolean;
|
@@ -236,6 +244,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
236
244
|
readonly rangeSeparator: string;
|
237
245
|
readonly shortcuts: unknown[];
|
238
246
|
readonly showNow: boolean;
|
247
|
+
readonly showFooter: boolean;
|
239
248
|
readonly showWeekNumber: boolean;
|
240
249
|
readonly arrowControl: boolean;
|
241
250
|
readonly unlinkPanels: boolean;
|
@@ -264,11 +273,19 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
264
273
|
} & {
|
265
274
|
readonly default: true;
|
266
275
|
};
|
276
|
+
readonly showFooter: {
|
277
|
+
readonly type: PropType<boolean>;
|
278
|
+
readonly required: false;
|
279
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
280
|
+
__epPropKey: true;
|
281
|
+
} & {
|
282
|
+
readonly default: true;
|
283
|
+
};
|
267
284
|
readonly showWeekNumber: BooleanConstructor;
|
268
285
|
readonly ariaLabel: StringConstructor;
|
269
286
|
readonly emptyValues: ArrayConstructor;
|
270
287
|
readonly valueOnClear: {
|
271
|
-
readonly type: PropType<string | number | boolean | Function>;
|
288
|
+
readonly type: PropType<string | number | boolean | Function | null>;
|
272
289
|
readonly required: false;
|
273
290
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
274
291
|
__epPropKey: true;
|
@@ -426,7 +443,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
426
443
|
readonly default: () => {};
|
427
444
|
};
|
428
445
|
readonly modelValue: {
|
429
|
-
readonly type: PropType<ModelValueType>;
|
446
|
+
readonly type: PropType< ModelValueType | null>;
|
430
447
|
readonly required: false;
|
431
448
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
432
449
|
__epPropKey: true;
|
@@ -462,10 +479,10 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
462
479
|
readonly disabled: boolean;
|
463
480
|
readonly type: "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange";
|
464
481
|
readonly placeholder: string;
|
465
|
-
readonly modelValue: ModelValueType;
|
482
|
+
readonly modelValue: ModelValueType | null;
|
466
483
|
readonly placement: any;
|
467
484
|
readonly tabindex: string | number;
|
468
|
-
readonly valueOnClear: string | number | boolean | Function;
|
485
|
+
readonly valueOnClear: string | number | boolean | Function | null;
|
469
486
|
readonly readonly: boolean;
|
470
487
|
readonly prefixIcon: string | Component;
|
471
488
|
readonly validateEvent: boolean;
|
@@ -477,6 +494,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
477
494
|
readonly rangeSeparator: string;
|
478
495
|
readonly shortcuts: unknown[];
|
479
496
|
readonly showNow: boolean;
|
497
|
+
readonly showFooter: boolean;
|
480
498
|
readonly showWeekNumber: boolean;
|
481
499
|
readonly arrowControl: boolean;
|
482
500
|
readonly unlinkPanels: boolean;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { VxeGlobalRendererHandles } from '../../types';
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComputedRef, Ref, GlobalComponents, GlobalDirectives, Component, ShallowRef, WritableComputedRef, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentInternalInstance, Slot, ComponentPublicInstance, ComponentOptionsBase, VNode, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
3
3
|
import { PickerColumns, PickerFields, PickerLoader, PickerDialogProps, PickerGridProps, PickerOption } from '../../..';
|
4
|
-
import { PopperEffect, SelectOptionProxy, OptionBasic, TooltipInstance, ScrollbarInstance, MessageBoxData } from 'element-plus';
|
4
|
+
import { PopperEffect, SelectOptionProps, SelectOptionProxy, OptionBasic, TooltipInstance, ScrollbarInstance, MessageBoxData } from 'element-plus';
|
5
5
|
import { DebouncedFunc } from 'lodash';
|
6
6
|
import { Props } from '../../../picker/Dialog';
|
7
7
|
import { GridColumns, GridCustomInfo, GridLoader, GridCellRenders, GridEditRenders, GridFilterRenders, GridSortableEvent, GridSortableOptions } from '../..';
|
@@ -113,7 +113,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
113
113
|
ariaLabel: StringConstructor;
|
114
114
|
emptyValues: ArrayConstructor;
|
115
115
|
valueOnClear: {
|
116
|
-
readonly type: PropType<string | number | boolean | Function>;
|
116
|
+
readonly type: PropType<string | number | boolean | Function | null>;
|
117
117
|
readonly required: false;
|
118
118
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
119
119
|
__epPropKey: true;
|
@@ -123,7 +123,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
123
123
|
name: StringConstructor;
|
124
124
|
id: StringConstructor;
|
125
125
|
modelValue: {
|
126
|
-
readonly type: PropType<(string | number | boolean | Record<string, any>) | (string | number | boolean | Record<string, any>)[]>;
|
126
|
+
readonly type: PropType<(string | number | boolean | Record<string, any>) | (string | number | boolean | Record<string, any>)[] | null>;
|
127
127
|
readonly required: false;
|
128
128
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
129
129
|
__epPropKey: true;
|
@@ -178,8 +178,18 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
178
178
|
loadingText: StringConstructor;
|
179
179
|
noMatchText: StringConstructor;
|
180
180
|
noDataText: StringConstructor;
|
181
|
-
remoteMethod:
|
182
|
-
|
181
|
+
remoteMethod: {
|
182
|
+
readonly type: PropType<(query: string) => void>;
|
183
|
+
readonly required: false;
|
184
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
185
|
+
__epPropKey: true;
|
186
|
+
};
|
187
|
+
filterMethod: {
|
188
|
+
readonly type: PropType<(query: string) => void>;
|
189
|
+
readonly required: false;
|
190
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
191
|
+
__epPropKey: true;
|
192
|
+
};
|
183
193
|
multiple: BooleanConstructor;
|
184
194
|
multipleLimit: {
|
185
195
|
readonly type: PropType<number>;
|
@@ -320,6 +330,18 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
320
330
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
321
331
|
__epPropKey: true;
|
322
332
|
};
|
333
|
+
options: {
|
334
|
+
readonly type: PropType<Record<string, any>[]>;
|
335
|
+
readonly required: false;
|
336
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
337
|
+
__epPropKey: true;
|
338
|
+
};
|
339
|
+
props: {
|
340
|
+
readonly type: PropType<SelectOptionProps>;
|
341
|
+
readonly required: false;
|
342
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
343
|
+
__epPropKey: true;
|
344
|
+
};
|
323
345
|
}>> & {
|
324
346
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
325
347
|
onChange?: ((...args: any[]) => any) | undefined;
|
@@ -330,7 +352,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
330
352
|
"onRemove-tag"?: ((...args: any[]) => any) | undefined;
|
331
353
|
"onPopup-scroll"?: ((...args: any[]) => any) | undefined;
|
332
354
|
}, {
|
333
|
-
modelValue: ComputedRef<string | number | boolean | any[] | Record<string, any> | undefined>;
|
355
|
+
modelValue: ComputedRef<string | number | boolean | any[] | Record<string, any> | null | undefined>;
|
334
356
|
selectedLabel: ComputedRef<string | string[]>;
|
335
357
|
calculatorRef: ShallowRef<HTMLElement | undefined>;
|
336
358
|
inputStyle: ComputedRef<{
|
@@ -376,8 +398,8 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
376
398
|
};
|
377
399
|
states: {
|
378
400
|
inputValue: string;
|
379
|
-
options: Map<string | number | boolean | Record<string, any>, SelectOptionProxy
|
380
|
-
cachedOptions: Map<string | number | boolean | Record<string, any>, SelectOptionProxy
|
401
|
+
options: Map<string | number | boolean | Record<string, any>, SelectOptionProxy>;
|
402
|
+
cachedOptions: Map<string | number | boolean | Record<string, any>, SelectOptionProxy>;
|
381
403
|
optionValues: (string | number | boolean | Record<string, any>)[];
|
382
404
|
selected: {
|
383
405
|
value: string | number | boolean | Record<string, any>;
|
@@ -478,11 +500,11 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
478
500
|
offset: number;
|
479
501
|
multiple: boolean;
|
480
502
|
loading: boolean;
|
481
|
-
modelValue: (string | number | boolean | Record<string, any>) | (string | number | boolean | Record<string, any>)[];
|
503
|
+
modelValue: (string | number | boolean | Record<string, any>) | (string | number | boolean | Record<string, any>)[] | null;
|
482
504
|
placement: any;
|
483
505
|
effect: PopperEffect;
|
484
506
|
tabindex: string | number;
|
485
|
-
valueOnClear: string | number | boolean | Function;
|
507
|
+
valueOnClear: string | number | boolean | Function | null;
|
486
508
|
autocomplete: string;
|
487
509
|
validateEvent: boolean;
|
488
510
|
clearable: boolean;
|
@@ -518,7 +540,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
518
540
|
ariaLabel: StringConstructor;
|
519
541
|
emptyValues: ArrayConstructor;
|
520
542
|
valueOnClear: {
|
521
|
-
readonly type: PropType<string | number | boolean | Function>;
|
543
|
+
readonly type: PropType<string | number | boolean | Function | null>;
|
522
544
|
readonly required: false;
|
523
545
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
524
546
|
__epPropKey: true;
|
@@ -528,7 +550,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
528
550
|
name: StringConstructor;
|
529
551
|
id: StringConstructor;
|
530
552
|
modelValue: {
|
531
|
-
readonly type: PropType<(string | number | boolean | Record<string, any>) | (string | number | boolean | Record<string, any>)[]>;
|
553
|
+
readonly type: PropType<(string | number | boolean | Record<string, any>) | (string | number | boolean | Record<string, any>)[] | null>;
|
532
554
|
readonly required: false;
|
533
555
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
534
556
|
__epPropKey: true;
|
@@ -583,8 +605,18 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
583
605
|
loadingText: StringConstructor;
|
584
606
|
noMatchText: StringConstructor;
|
585
607
|
noDataText: StringConstructor;
|
586
|
-
remoteMethod:
|
587
|
-
|
608
|
+
remoteMethod: {
|
609
|
+
readonly type: PropType<(query: string) => void>;
|
610
|
+
readonly required: false;
|
611
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
612
|
+
__epPropKey: true;
|
613
|
+
};
|
614
|
+
filterMethod: {
|
615
|
+
readonly type: PropType<(query: string) => void>;
|
616
|
+
readonly required: false;
|
617
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
618
|
+
__epPropKey: true;
|
619
|
+
};
|
588
620
|
multiple: BooleanConstructor;
|
589
621
|
multipleLimit: {
|
590
622
|
readonly type: PropType<number>;
|
@@ -725,6 +757,18 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
725
757
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
726
758
|
__epPropKey: true;
|
727
759
|
};
|
760
|
+
options: {
|
761
|
+
readonly type: PropType<Record<string, any>[]>;
|
762
|
+
readonly required: false;
|
763
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
764
|
+
__epPropKey: true;
|
765
|
+
};
|
766
|
+
props: {
|
767
|
+
readonly type: PropType<SelectOptionProps>;
|
768
|
+
readonly required: false;
|
769
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
770
|
+
__epPropKey: true;
|
771
|
+
};
|
728
772
|
}>> & {
|
729
773
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
730
774
|
onChange?: ((...args: any[]) => any) | undefined;
|
@@ -735,7 +779,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
735
779
|
"onRemove-tag"?: ((...args: any[]) => any) | undefined;
|
736
780
|
"onPopup-scroll"?: ((...args: any[]) => any) | undefined;
|
737
781
|
}, {
|
738
|
-
modelValue: ComputedRef<string | number | boolean | any[] | Record<string, any> | undefined>;
|
782
|
+
modelValue: ComputedRef<string | number | boolean | any[] | Record<string, any> | null | undefined>;
|
739
783
|
selectedLabel: ComputedRef<string | string[]>;
|
740
784
|
calculatorRef: ShallowRef<HTMLElement | undefined>;
|
741
785
|
inputStyle: ComputedRef<{
|
@@ -781,8 +825,8 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
781
825
|
};
|
782
826
|
states: {
|
783
827
|
inputValue: string;
|
784
|
-
options: Map<string | number | boolean | Record<string, any>, SelectOptionProxy
|
785
|
-
cachedOptions: Map<string | number | boolean | Record<string, any>, SelectOptionProxy
|
828
|
+
options: Map<string | number | boolean | Record<string, any>, SelectOptionProxy>;
|
829
|
+
cachedOptions: Map<string | number | boolean | Record<string, any>, SelectOptionProxy>;
|
786
830
|
optionValues: (string | number | boolean | Record<string, any>)[];
|
787
831
|
selected: {
|
788
832
|
value: string | number | boolean | Record<string, any>;
|
@@ -883,11 +927,11 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
883
927
|
offset: number;
|
884
928
|
multiple: boolean;
|
885
929
|
loading: boolean;
|
886
|
-
modelValue: (string | number | boolean | Record<string, any>) | (string | number | boolean | Record<string, any>)[];
|
930
|
+
modelValue: (string | number | boolean | Record<string, any>) | (string | number | boolean | Record<string, any>)[] | null;
|
887
931
|
placement: any;
|
888
932
|
effect: PopperEffect;
|
889
933
|
tabindex: string | number;
|
890
|
-
valueOnClear: string | number | boolean | Function;
|
934
|
+
valueOnClear: string | number | boolean | Function | null;
|
891
935
|
autocomplete: string;
|
892
936
|
validateEvent: boolean;
|
893
937
|
clearable: boolean;
|
@@ -549,6 +549,9 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
549
549
|
draggable: {
|
550
550
|
type: BooleanConstructor;
|
551
551
|
};
|
552
|
+
arrow: {
|
553
|
+
type: BooleanConstructor;
|
554
|
+
};
|
552
555
|
}>>>) => any;
|
553
556
|
actionCommand: (action: Readonly<Partial< ExtractPropTypes<{
|
554
557
|
name: {
|
@@ -745,6 +748,9 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
745
748
|
draggable: {
|
746
749
|
type: BooleanConstructor;
|
747
750
|
};
|
751
|
+
arrow: {
|
752
|
+
type: BooleanConstructor;
|
753
|
+
};
|
748
754
|
}>>>, item: ActionMenuItem) => any;
|
749
755
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
750
756
|
logo: {
|
@@ -996,6 +1002,9 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
996
1002
|
draggable: {
|
997
1003
|
type: BooleanConstructor;
|
998
1004
|
};
|
1005
|
+
arrow: {
|
1006
|
+
type: BooleanConstructor;
|
1007
|
+
};
|
999
1008
|
}>>>) => any) | undefined;
|
1000
1009
|
onActionCommand?: ((action: Readonly<Partial< ExtractPropTypes<{
|
1001
1010
|
name: {
|
@@ -1192,6 +1201,9 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
1192
1201
|
draggable: {
|
1193
1202
|
type: BooleanConstructor;
|
1194
1203
|
};
|
1204
|
+
arrow: {
|
1205
|
+
type: BooleanConstructor;
|
1206
|
+
};
|
1195
1207
|
}>>>, item: ActionMenuItem) => any) | undefined;
|
1196
1208
|
}>, {
|
1197
1209
|
disabled: boolean;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { nextTick, DefineComponent, ExtractPropTypes, PropType, ComputedRef, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, Component, ShallowRef, WritableComputedRef, VNodeProps, AllowedComponentProps, ComponentCustomProps, GlobalComponents, GlobalDirectives, ComponentInternalInstance, Slot, ComponentPublicInstance, ComponentOptionsBase, VNode, DebuggerEvent, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
2
2
|
import { PickerLoader, PickerColumns, PickerFields, PickerDialogProps, PickerGridProps, PickerOption } from './types';
|
3
|
-
import { PopperEffect, SelectOptionProxy, OptionBasic, TooltipInstance, ScrollbarInstance, MessageBoxData } from 'element-plus';
|
3
|
+
import { PopperEffect, SelectOptionProps, SelectOptionProxy, OptionBasic, TooltipInstance, ScrollbarInstance, MessageBoxData } from 'element-plus';
|
4
4
|
import { DebouncedFunc } from 'lodash';
|
5
5
|
import { Props } from './Dialog';
|
6
6
|
import { GridColumns, GridCustomInfo, GridLoader, GridCellRenders, GridEditRenders, GridFilterRenders, GridSortableEvent, GridSortableOptions } from '..';
|
@@ -170,7 +170,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
170
170
|
ariaLabel: StringConstructor;
|
171
171
|
emptyValues: ArrayConstructor;
|
172
172
|
valueOnClear: {
|
173
|
-
readonly type: PropType<string | number | boolean | Function>;
|
173
|
+
readonly type: PropType<string | number | boolean | Function | null>;
|
174
174
|
readonly required: false;
|
175
175
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
176
176
|
__epPropKey: true;
|
@@ -180,7 +180,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
180
180
|
name: StringConstructor;
|
181
181
|
id: StringConstructor;
|
182
182
|
modelValue: {
|
183
|
-
readonly type: PropType<(string | number | boolean | Record<string, any>) | (string | number | boolean | Record<string, any>)[]>;
|
183
|
+
readonly type: PropType<(string | number | boolean | Record<string, any>) | (string | number | boolean | Record<string, any>)[] | null>;
|
184
184
|
readonly required: false;
|
185
185
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
186
186
|
__epPropKey: true;
|
@@ -235,8 +235,18 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
235
235
|
loadingText: StringConstructor;
|
236
236
|
noMatchText: StringConstructor;
|
237
237
|
noDataText: StringConstructor;
|
238
|
-
remoteMethod:
|
239
|
-
|
238
|
+
remoteMethod: {
|
239
|
+
readonly type: PropType<(query: string) => void>;
|
240
|
+
readonly required: false;
|
241
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
242
|
+
__epPropKey: true;
|
243
|
+
};
|
244
|
+
filterMethod: {
|
245
|
+
readonly type: PropType<(query: string) => void>;
|
246
|
+
readonly required: false;
|
247
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
248
|
+
__epPropKey: true;
|
249
|
+
};
|
240
250
|
multiple: BooleanConstructor;
|
241
251
|
multipleLimit: {
|
242
252
|
readonly type: PropType<number>;
|
@@ -377,6 +387,18 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
377
387
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
378
388
|
__epPropKey: true;
|
379
389
|
};
|
390
|
+
options: {
|
391
|
+
readonly type: PropType<Record<string, any>[]>;
|
392
|
+
readonly required: false;
|
393
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
394
|
+
__epPropKey: true;
|
395
|
+
};
|
396
|
+
props: {
|
397
|
+
readonly type: PropType<SelectOptionProps>;
|
398
|
+
readonly required: false;
|
399
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
400
|
+
__epPropKey: true;
|
401
|
+
};
|
380
402
|
}>> & {
|
381
403
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
382
404
|
onChange?: ((...args: any[]) => any) | undefined;
|
@@ -387,7 +409,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
387
409
|
"onRemove-tag"?: ((...args: any[]) => any) | undefined;
|
388
410
|
"onPopup-scroll"?: ((...args: any[]) => any) | undefined;
|
389
411
|
}, {
|
390
|
-
modelValue: ComputedRef<string | number | boolean | any[] | Record<string, any> | undefined>;
|
412
|
+
modelValue: ComputedRef<string | number | boolean | any[] | Record<string, any> | null | undefined>;
|
391
413
|
selectedLabel: ComputedRef<string | string[]>;
|
392
414
|
calculatorRef: ShallowRef<HTMLElement | undefined>;
|
393
415
|
inputStyle: ComputedRef<{
|
@@ -433,8 +455,8 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
433
455
|
};
|
434
456
|
states: {
|
435
457
|
inputValue: string;
|
436
|
-
options: Map<string | number | boolean | Record<string, any>, SelectOptionProxy
|
437
|
-
cachedOptions: Map<string | number | boolean | Record<string, any>, SelectOptionProxy
|
458
|
+
options: Map<string | number | boolean | Record<string, any>, SelectOptionProxy>;
|
459
|
+
cachedOptions: Map<string | number | boolean | Record<string, any>, SelectOptionProxy>;
|
438
460
|
optionValues: (string | number | boolean | Record<string, any>)[];
|
439
461
|
selected: {
|
440
462
|
value: string | number | boolean | Record<string, any>;
|
@@ -535,11 +557,11 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
535
557
|
offset: number;
|
536
558
|
multiple: boolean;
|
537
559
|
loading: boolean;
|
538
|
-
modelValue: (string | number | boolean | Record<string, any>) | (string | number | boolean | Record<string, any>)[];
|
560
|
+
modelValue: (string | number | boolean | Record<string, any>) | (string | number | boolean | Record<string, any>)[] | null;
|
539
561
|
placement: any;
|
540
562
|
effect: PopperEffect;
|
541
563
|
tabindex: string | number;
|
542
|
-
valueOnClear: string | number | boolean | Function;
|
564
|
+
valueOnClear: string | number | boolean | Function | null;
|
543
565
|
autocomplete: string;
|
544
566
|
validateEvent: boolean;
|
545
567
|
clearable: boolean;
|
@@ -575,7 +597,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
575
597
|
ariaLabel: StringConstructor;
|
576
598
|
emptyValues: ArrayConstructor;
|
577
599
|
valueOnClear: {
|
578
|
-
readonly type: PropType<string | number | boolean | Function>;
|
600
|
+
readonly type: PropType<string | number | boolean | Function | null>;
|
579
601
|
readonly required: false;
|
580
602
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
581
603
|
__epPropKey: true;
|
@@ -585,7 +607,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
585
607
|
name: StringConstructor;
|
586
608
|
id: StringConstructor;
|
587
609
|
modelValue: {
|
588
|
-
readonly type: PropType<(string | number | boolean | Record<string, any>) | (string | number | boolean | Record<string, any>)[]>;
|
610
|
+
readonly type: PropType<(string | number | boolean | Record<string, any>) | (string | number | boolean | Record<string, any>)[] | null>;
|
589
611
|
readonly required: false;
|
590
612
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
591
613
|
__epPropKey: true;
|
@@ -640,8 +662,18 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
640
662
|
loadingText: StringConstructor;
|
641
663
|
noMatchText: StringConstructor;
|
642
664
|
noDataText: StringConstructor;
|
643
|
-
remoteMethod:
|
644
|
-
|
665
|
+
remoteMethod: {
|
666
|
+
readonly type: PropType<(query: string) => void>;
|
667
|
+
readonly required: false;
|
668
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
669
|
+
__epPropKey: true;
|
670
|
+
};
|
671
|
+
filterMethod: {
|
672
|
+
readonly type: PropType<(query: string) => void>;
|
673
|
+
readonly required: false;
|
674
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
675
|
+
__epPropKey: true;
|
676
|
+
};
|
645
677
|
multiple: BooleanConstructor;
|
646
678
|
multipleLimit: {
|
647
679
|
readonly type: PropType<number>;
|
@@ -782,6 +814,18 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
782
814
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
783
815
|
__epPropKey: true;
|
784
816
|
};
|
817
|
+
options: {
|
818
|
+
readonly type: PropType<Record<string, any>[]>;
|
819
|
+
readonly required: false;
|
820
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
821
|
+
__epPropKey: true;
|
822
|
+
};
|
823
|
+
props: {
|
824
|
+
readonly type: PropType<SelectOptionProps>;
|
825
|
+
readonly required: false;
|
826
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
827
|
+
__epPropKey: true;
|
828
|
+
};
|
785
829
|
}>> & {
|
786
830
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
787
831
|
onChange?: ((...args: any[]) => any) | undefined;
|
@@ -792,7 +836,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
792
836
|
"onRemove-tag"?: ((...args: any[]) => any) | undefined;
|
793
837
|
"onPopup-scroll"?: ((...args: any[]) => any) | undefined;
|
794
838
|
}, {
|
795
|
-
modelValue: ComputedRef<string | number | boolean | any[] | Record<string, any> | undefined>;
|
839
|
+
modelValue: ComputedRef<string | number | boolean | any[] | Record<string, any> | null | undefined>;
|
796
840
|
selectedLabel: ComputedRef<string | string[]>;
|
797
841
|
calculatorRef: ShallowRef<HTMLElement | undefined>;
|
798
842
|
inputStyle: ComputedRef<{
|
@@ -838,8 +882,8 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
838
882
|
};
|
839
883
|
states: {
|
840
884
|
inputValue: string;
|
841
|
-
options: Map<string | number | boolean | Record<string, any>, SelectOptionProxy
|
842
|
-
cachedOptions: Map<string | number | boolean | Record<string, any>, SelectOptionProxy
|
885
|
+
options: Map<string | number | boolean | Record<string, any>, SelectOptionProxy>;
|
886
|
+
cachedOptions: Map<string | number | boolean | Record<string, any>, SelectOptionProxy>;
|
843
887
|
optionValues: (string | number | boolean | Record<string, any>)[];
|
844
888
|
selected: {
|
845
889
|
value: string | number | boolean | Record<string, any>;
|
@@ -940,11 +984,11 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
940
984
|
offset: number;
|
941
985
|
multiple: boolean;
|
942
986
|
loading: boolean;
|
943
|
-
modelValue: (string | number | boolean | Record<string, any>) | (string | number | boolean | Record<string, any>)[];
|
987
|
+
modelValue: (string | number | boolean | Record<string, any>) | (string | number | boolean | Record<string, any>)[] | null;
|
944
988
|
placement: any;
|
945
989
|
effect: PopperEffect;
|
946
990
|
tabindex: string | number;
|
947
|
-
valueOnClear: string | number | boolean | Function;
|
991
|
+
valueOnClear: string | number | boolean | Function | null;
|
948
992
|
autocomplete: string;
|
949
993
|
validateEvent: boolean;
|
950
994
|
clearable: boolean;
|