@vtj/ui 0.13.37 → 0.13.39
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 +2 -2
- package/dist/index.umd.js +2 -2
- package/package.json +5 -5
- package/types/components/action/Action.d.ts +37 -1
- package/types/components/action/Trigger.d.ts +1 -1
- package/types/components/action/hooks.d.ts +7 -1
- package/types/components/action-bar/ActionBar.d.ts +25 -1
- package/types/components/attachment/Attachment.d.ts +42 -28
- package/types/components/data-item/DataItem.d.ts +24 -0
- package/types/components/dialog/Dialog.d.ts +2 -2
- package/types/components/dialog-form/DialogForm.d.ts +4 -4
- package/types/components/dialog-grid/DialogGrid.d.ts +2 -2
- package/types/components/field/Field.d.ts +16 -12
- package/types/components/form/Form.d.ts +2 -2
- package/types/components/grid/renderers/components/DateEdit.d.ts +15 -15
- package/types/components/grid/renderers/components/GridEdit.d.ts +22 -19
- package/types/components/grid-editor/GridEditor.d.ts +22 -19
- package/types/components/mask/Mask.d.ts +24 -0
- package/types/components/query-form/QueryForm.d.ts +4 -4
- package/types/components/tabs/Tabs.d.ts +12 -0
- package/types/version.d.ts +2 -2
|
@@ -22,9 +22,9 @@ declare function __VLS_template(): {
|
|
|
22
22
|
readonly drag: boolean;
|
|
23
23
|
readonly multiple: boolean;
|
|
24
24
|
readonly name: string;
|
|
25
|
+
readonly onProgress: (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
25
26
|
readonly onChange: (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
26
27
|
readonly onError: (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
27
|
-
readonly onProgress: (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
28
28
|
readonly method: string;
|
|
29
29
|
readonly action: string;
|
|
30
30
|
readonly accept: string;
|
|
@@ -201,15 +201,15 @@ declare function __VLS_template(): {
|
|
|
201
201
|
clearFiles: (states?: UploadStatus[]) => void;
|
|
202
202
|
handleStart: (rawFile: UploadRawFile) => void;
|
|
203
203
|
handleRemove: (file: UploadFile | UploadRawFile) => void;
|
|
204
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin,
|
|
204
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
205
205
|
readonly data: EpPropMergeType<(new (...args: any[]) => Mutable<Record<string, any>> | Promise< Mutable<Record<string, any>>> | ((rawFile: UploadRawFile) => Awaitable<UploadData>)) | (() => Awaitable<Mutable<Record<string, any>>> | ((rawFile: UploadRawFile) => Awaitable<UploadData>)) | ((new (...args: any[]) => Mutable<Record<string, any>> | Promise< Mutable<Record<string, any>>> | ((rawFile: UploadRawFile) => Awaitable<UploadData>)) | (() => Awaitable<Mutable<Record<string, any>>> | ((rawFile: UploadRawFile) => Awaitable<UploadData>)))[], unknown, unknown>;
|
|
206
206
|
readonly disabled: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
207
207
|
readonly drag: boolean;
|
|
208
208
|
readonly multiple: boolean;
|
|
209
209
|
readonly name: string;
|
|
210
|
+
readonly onProgress: (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
210
211
|
readonly onChange: (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
211
212
|
readonly onError: (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
212
|
-
readonly onProgress: (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
213
213
|
readonly method: string;
|
|
214
214
|
readonly action: string;
|
|
215
215
|
readonly accept: string;
|
|
@@ -250,9 +250,9 @@ declare function __VLS_template(): {
|
|
|
250
250
|
readonly drag: boolean;
|
|
251
251
|
readonly multiple: boolean;
|
|
252
252
|
readonly name: string;
|
|
253
|
+
readonly onProgress: (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
253
254
|
readonly onChange: (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
254
255
|
readonly onError: (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
255
|
-
readonly onProgress: (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
256
256
|
readonly method: string;
|
|
257
257
|
readonly action: string;
|
|
258
258
|
readonly accept: string;
|
|
@@ -389,20 +389,27 @@ declare function __VLS_template(): {
|
|
|
389
389
|
handleRemove: (file: UploadFile | UploadRawFile) => void;
|
|
390
390
|
}> & {} & ComponentCustomProperties & {} & {
|
|
391
391
|
$slots: {
|
|
392
|
-
file
|
|
392
|
+
file?: (props: {
|
|
393
393
|
file: UploadFile;
|
|
394
394
|
index: number;
|
|
395
|
-
})
|
|
396
|
-
|
|
395
|
+
}) => any;
|
|
396
|
+
} & {
|
|
397
|
+
trigger?: (props: {}) => any;
|
|
398
|
+
} & {
|
|
399
|
+
default?: (props: {}) => any;
|
|
400
|
+
} & {
|
|
401
|
+
trigger?: (props: {}) => any;
|
|
402
|
+
} & {
|
|
403
|
+
default?: (props: {}) => any;
|
|
404
|
+
} & {
|
|
405
|
+
default?: (props: {}) => any;
|
|
406
|
+
} & {
|
|
407
|
+
tip?: (props: {}) => any;
|
|
408
|
+
} & {
|
|
409
|
+
file?: (props: {
|
|
397
410
|
file: UploadFile;
|
|
398
411
|
index: number;
|
|
399
|
-
})
|
|
400
|
-
trigger?(_: {}): any;
|
|
401
|
-
trigger?(_: {}): any;
|
|
402
|
-
default?(_: {}): any;
|
|
403
|
-
default?(_: {}): any;
|
|
404
|
-
default?(_: {}): any;
|
|
405
|
-
tip?(_: {}): any;
|
|
412
|
+
}) => any;
|
|
406
413
|
};
|
|
407
414
|
}) | null;
|
|
408
415
|
};
|
|
@@ -633,9 +640,9 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
633
640
|
readonly drag: boolean;
|
|
634
641
|
readonly multiple: boolean;
|
|
635
642
|
readonly name: string;
|
|
643
|
+
readonly onProgress: (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
636
644
|
readonly onChange: (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
637
645
|
readonly onError: (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
638
|
-
readonly onProgress: (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
639
646
|
readonly method: string;
|
|
640
647
|
readonly action: string;
|
|
641
648
|
readonly accept: string;
|
|
@@ -812,15 +819,15 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
812
819
|
clearFiles: (states?: UploadStatus[]) => void;
|
|
813
820
|
handleStart: (rawFile: UploadRawFile) => void;
|
|
814
821
|
handleRemove: (file: UploadFile | UploadRawFile) => void;
|
|
815
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin,
|
|
822
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
816
823
|
readonly data: EpPropMergeType<(new (...args: any[]) => Mutable<Record<string, any>> | Promise< Mutable<Record<string, any>>> | ((rawFile: UploadRawFile) => Awaitable<UploadData>)) | (() => Awaitable<Mutable<Record<string, any>>> | ((rawFile: UploadRawFile) => Awaitable<UploadData>)) | ((new (...args: any[]) => Mutable<Record<string, any>> | Promise< Mutable<Record<string, any>>> | ((rawFile: UploadRawFile) => Awaitable<UploadData>)) | (() => Awaitable<Mutable<Record<string, any>>> | ((rawFile: UploadRawFile) => Awaitable<UploadData>)))[], unknown, unknown>;
|
|
817
824
|
readonly disabled: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
818
825
|
readonly drag: boolean;
|
|
819
826
|
readonly multiple: boolean;
|
|
820
827
|
readonly name: string;
|
|
828
|
+
readonly onProgress: (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
821
829
|
readonly onChange: (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
822
830
|
readonly onError: (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
823
|
-
readonly onProgress: (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
824
831
|
readonly method: string;
|
|
825
832
|
readonly action: string;
|
|
826
833
|
readonly accept: string;
|
|
@@ -861,9 +868,9 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
861
868
|
readonly drag: boolean;
|
|
862
869
|
readonly multiple: boolean;
|
|
863
870
|
readonly name: string;
|
|
871
|
+
readonly onProgress: (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
864
872
|
readonly onChange: (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
865
873
|
readonly onError: (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
866
|
-
readonly onProgress: (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
867
874
|
readonly method: string;
|
|
868
875
|
readonly action: string;
|
|
869
876
|
readonly accept: string;
|
|
@@ -1000,20 +1007,27 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
1000
1007
|
handleRemove: (file: UploadFile | UploadRawFile) => void;
|
|
1001
1008
|
}> & {} & ComponentCustomProperties & {} & {
|
|
1002
1009
|
$slots: {
|
|
1003
|
-
file
|
|
1010
|
+
file?: (props: {
|
|
1004
1011
|
file: UploadFile;
|
|
1005
1012
|
index: number;
|
|
1006
|
-
})
|
|
1007
|
-
|
|
1013
|
+
}) => any;
|
|
1014
|
+
} & {
|
|
1015
|
+
trigger?: (props: {}) => any;
|
|
1016
|
+
} & {
|
|
1017
|
+
default?: (props: {}) => any;
|
|
1018
|
+
} & {
|
|
1019
|
+
trigger?: (props: {}) => any;
|
|
1020
|
+
} & {
|
|
1021
|
+
default?: (props: {}) => any;
|
|
1022
|
+
} & {
|
|
1023
|
+
default?: (props: {}) => any;
|
|
1024
|
+
} & {
|
|
1025
|
+
tip?: (props: {}) => any;
|
|
1026
|
+
} & {
|
|
1027
|
+
file?: (props: {
|
|
1008
1028
|
file: UploadFile;
|
|
1009
1029
|
index: number;
|
|
1010
|
-
})
|
|
1011
|
-
trigger?(_: {}): any;
|
|
1012
|
-
trigger?(_: {}): any;
|
|
1013
|
-
default?(_: {}): any;
|
|
1014
|
-
default?(_: {}): any;
|
|
1015
|
-
default?(_: {}): any;
|
|
1016
|
-
tip?(_: {}): any;
|
|
1030
|
+
}) => any;
|
|
1017
1031
|
};
|
|
1018
1032
|
}) | null;
|
|
1019
1033
|
}, HTMLDivElement>;
|
|
@@ -253,6 +253,12 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
253
253
|
__epPropKey: true;
|
|
254
254
|
};
|
|
255
255
|
readonly teleported: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
256
|
+
readonly appendTo: {
|
|
257
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>))[], unknown, unknown>>;
|
|
258
|
+
readonly required: false;
|
|
259
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
260
|
+
__epPropKey: true;
|
|
261
|
+
};
|
|
256
262
|
readonly persistent: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
257
263
|
}>>>;
|
|
258
264
|
};
|
|
@@ -468,6 +474,12 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
468
474
|
__epPropKey: true;
|
|
469
475
|
};
|
|
470
476
|
readonly teleported: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
477
|
+
readonly appendTo: {
|
|
478
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>))[], unknown, unknown>>;
|
|
479
|
+
readonly required: false;
|
|
480
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
481
|
+
__epPropKey: true;
|
|
482
|
+
};
|
|
471
483
|
readonly persistent: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
472
484
|
}>>>;
|
|
473
485
|
};
|
|
@@ -733,6 +745,12 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
733
745
|
__epPropKey: true;
|
|
734
746
|
};
|
|
735
747
|
readonly teleported: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
748
|
+
readonly appendTo: {
|
|
749
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>))[], unknown, unknown>>;
|
|
750
|
+
readonly required: false;
|
|
751
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
752
|
+
__epPropKey: true;
|
|
753
|
+
};
|
|
736
754
|
readonly persistent: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
737
755
|
}>>>;
|
|
738
756
|
};
|
|
@@ -948,6 +966,12 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
948
966
|
__epPropKey: true;
|
|
949
967
|
};
|
|
950
968
|
readonly teleported: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
969
|
+
readonly appendTo: {
|
|
970
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>))[], unknown, unknown>>;
|
|
971
|
+
readonly required: false;
|
|
972
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
973
|
+
__epPropKey: true;
|
|
974
|
+
};
|
|
951
975
|
readonly persistent: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
952
976
|
}>>>;
|
|
953
977
|
};
|
|
@@ -194,7 +194,7 @@ declare function __VLS_template(): {
|
|
|
194
194
|
readonly badge?: PanelBadge | undefined;
|
|
195
195
|
readonly width?: string | number | undefined;
|
|
196
196
|
readonly height?: string | number | undefined;
|
|
197
|
-
readonly shadow?: "
|
|
197
|
+
readonly shadow?: "hover" | "always" | "none" | undefined;
|
|
198
198
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "fit" | "border" | "card">;
|
|
199
199
|
$attrs: {
|
|
200
200
|
[x: string]: unknown;
|
|
@@ -1093,7 +1093,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
1093
1093
|
readonly badge?: PanelBadge | undefined;
|
|
1094
1094
|
readonly width?: string | number | undefined;
|
|
1095
1095
|
readonly height?: string | number | undefined;
|
|
1096
|
-
readonly shadow?: "
|
|
1096
|
+
readonly shadow?: "hover" | "always" | "none" | undefined;
|
|
1097
1097
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "fit" | "border" | "card">;
|
|
1098
1098
|
$attrs: {
|
|
1099
1099
|
[x: string]: unknown;
|
|
@@ -302,7 +302,7 @@ declare function __VLS_template(): {
|
|
|
302
302
|
readonly badge?: PanelBadge | undefined;
|
|
303
303
|
readonly width?: string | number | undefined;
|
|
304
304
|
readonly height?: string | number | undefined;
|
|
305
|
-
readonly shadow?: "
|
|
305
|
+
readonly shadow?: "hover" | "always" | "none" | undefined;
|
|
306
306
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "fit" | "border" | "card">;
|
|
307
307
|
$attrs: {
|
|
308
308
|
[x: string]: unknown;
|
|
@@ -1399,7 +1399,7 @@ declare function __VLS_template(): {
|
|
|
1399
1399
|
fields: Reactive< FormItemContext[]>;
|
|
1400
1400
|
}> & {} & ComponentCustomProperties & {} & {
|
|
1401
1401
|
$slots: {
|
|
1402
|
-
default
|
|
1402
|
+
default?: (props: {}) => any;
|
|
1403
1403
|
};
|
|
1404
1404
|
}) | null;
|
|
1405
1405
|
};
|
|
@@ -1929,7 +1929,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
1929
1929
|
readonly badge?: PanelBadge | undefined;
|
|
1930
1930
|
readonly width?: string | number | undefined;
|
|
1931
1931
|
readonly height?: string | number | undefined;
|
|
1932
|
-
readonly shadow?: "
|
|
1932
|
+
readonly shadow?: "hover" | "always" | "none" | undefined;
|
|
1933
1933
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "fit" | "border" | "card">;
|
|
1934
1934
|
$attrs: {
|
|
1935
1935
|
[x: string]: unknown;
|
|
@@ -3026,7 +3026,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
3026
3026
|
fields: Reactive< FormItemContext[]>;
|
|
3027
3027
|
}> & {} & ComponentCustomProperties & {} & {
|
|
3028
3028
|
$slots: {
|
|
3029
|
-
default
|
|
3029
|
+
default?: (props: {}) => any;
|
|
3030
3030
|
};
|
|
3031
3031
|
}) | null;
|
|
3032
3032
|
};
|
|
@@ -315,7 +315,7 @@ declare function __VLS_template(): {
|
|
|
315
315
|
readonly badge?: PanelBadge | undefined;
|
|
316
316
|
readonly width?: string | number | undefined;
|
|
317
317
|
readonly height?: string | number | undefined;
|
|
318
|
-
readonly shadow?: "
|
|
318
|
+
readonly shadow?: "hover" | "always" | "none" | undefined;
|
|
319
319
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "fit" | "border" | "card">;
|
|
320
320
|
$attrs: {
|
|
321
321
|
[x: string]: unknown;
|
|
@@ -2787,7 +2787,7 @@ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {
|
|
|
2787
2787
|
readonly badge?: PanelBadge | undefined;
|
|
2788
2788
|
readonly width?: string | number | undefined;
|
|
2789
2789
|
readonly height?: string | number | undefined;
|
|
2790
|
-
readonly shadow?: "
|
|
2790
|
+
readonly shadow?: "hover" | "always" | "none" | undefined;
|
|
2791
2791
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "fit" | "border" | "card">;
|
|
2792
2792
|
$attrs: {
|
|
2793
2793
|
[x: string]: unknown;
|
|
@@ -104,7 +104,7 @@ declare function __VLS_template(): {
|
|
|
104
104
|
validate: (trigger: string, callback?: FormValidateCallback) => FormValidationResult;
|
|
105
105
|
clearValidate: () => void;
|
|
106
106
|
resetField: () => void;
|
|
107
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin,
|
|
107
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
108
108
|
readonly required: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
109
109
|
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "left" | "right" | "top", unknown>;
|
|
110
110
|
readonly inlineMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -181,13 +181,15 @@ declare function __VLS_template(): {
|
|
|
181
181
|
resetField: () => void;
|
|
182
182
|
}> & {} & ComponentCustomProperties & {} & {
|
|
183
183
|
$slots: {
|
|
184
|
-
label
|
|
184
|
+
label?: (props: {
|
|
185
185
|
label: string;
|
|
186
|
-
})
|
|
187
|
-
|
|
188
|
-
|
|
186
|
+
}) => any;
|
|
187
|
+
} & {
|
|
188
|
+
default?: (props: {}) => any;
|
|
189
|
+
} & {
|
|
190
|
+
error?: (props: {
|
|
189
191
|
error: string;
|
|
190
|
-
})
|
|
192
|
+
}) => any;
|
|
191
193
|
};
|
|
192
194
|
}) | null;
|
|
193
195
|
editorRef: unknown;
|
|
@@ -438,7 +440,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
438
440
|
validate: (trigger: string, callback?: FormValidateCallback) => FormValidationResult;
|
|
439
441
|
clearValidate: () => void;
|
|
440
442
|
resetField: () => void;
|
|
441
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin,
|
|
443
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
442
444
|
readonly required: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
443
445
|
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "left" | "right" | "top", unknown>;
|
|
444
446
|
readonly inlineMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -515,13 +517,15 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
515
517
|
resetField: () => void;
|
|
516
518
|
}> & {} & ComponentCustomProperties & {} & {
|
|
517
519
|
$slots: {
|
|
518
|
-
label
|
|
520
|
+
label?: (props: {
|
|
519
521
|
label: string;
|
|
520
|
-
})
|
|
521
|
-
|
|
522
|
-
|
|
522
|
+
}) => any;
|
|
523
|
+
} & {
|
|
524
|
+
default?: (props: {}) => any;
|
|
525
|
+
} & {
|
|
526
|
+
error?: (props: {
|
|
523
527
|
error: string;
|
|
524
|
-
})
|
|
528
|
+
}) => any;
|
|
525
529
|
};
|
|
526
530
|
}) | null;
|
|
527
531
|
editorRef: unknown;
|
|
@@ -188,7 +188,7 @@ declare function __VLS_template(): {
|
|
|
188
188
|
fields: Reactive< FormItemContext[]>;
|
|
189
189
|
}> & {} & ComponentCustomProperties & {} & {
|
|
190
190
|
$slots: {
|
|
191
|
-
default
|
|
191
|
+
default?: (props: {}) => any;
|
|
192
192
|
};
|
|
193
193
|
}) | null;
|
|
194
194
|
};
|
|
@@ -481,7 +481,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
481
481
|
fields: Reactive< FormItemContext[]>;
|
|
482
482
|
}> & {} & ComponentCustomProperties & {} & {
|
|
483
483
|
$slots: {
|
|
484
|
-
default
|
|
484
|
+
default?: (props: {}) => any;
|
|
485
485
|
};
|
|
486
486
|
}) | null;
|
|
487
487
|
}, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VxeGlobalRendererHandles } from '../../types';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, CSSProperties, StyleValue, Component,
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, CSSProperties, StyleValue, Component, GlobalComponents, GlobalDirectives } from 'vue';
|
|
3
3
|
import { EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils/index.mjs';
|
|
4
4
|
import { DatePickerType, Placement, GetDisabledHours, GetDisabledMinutes, GetDisabledSeconds, SingleOrRange, Options, ModelValueType } from 'element-plus';
|
|
5
5
|
export interface Props {
|
|
@@ -169,7 +169,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
169
169
|
__epPropKey: true;
|
|
170
170
|
};
|
|
171
171
|
readonly popperStyle: {
|
|
172
|
-
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | CSSProperties | StyleValue[]) | (() => StyleValue) | ((new (...args: any[]) => string | CSSProperties | StyleValue[]) | (() => StyleValue))[], unknown, unknown>>;
|
|
172
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | false | CSSProperties | StyleValue[]) | (() => StyleValue) | ((new (...args: any[]) => string | false | CSSProperties | StyleValue[]) | (() => StyleValue))[], unknown, unknown>>;
|
|
173
173
|
readonly required: false;
|
|
174
174
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
175
175
|
__epPropKey: true;
|
|
@@ -194,10 +194,10 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
194
194
|
__epPropKey: true;
|
|
195
195
|
};
|
|
196
196
|
readonly readonly: BooleanConstructor;
|
|
197
|
-
readonly disabled: BooleanConstructor
|
|
197
|
+
readonly disabled: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
198
198
|
readonly placeholder: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
199
199
|
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial< Options>) | (() => Partial< Options>) | ((new (...args: any[]) => Partial< Options>) | (() => Partial< Options>))[], unknown, unknown, () => {}, boolean>;
|
|
200
|
-
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number |
|
|
200
|
+
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => ModelValueType | null) | ((new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => ModelValueType | null))[], unknown, unknown, "", boolean>;
|
|
201
201
|
readonly rangeSeparator: EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
202
202
|
readonly startPlaceholder: StringConstructor;
|
|
203
203
|
readonly endPlaceholder: StringConstructor;
|
|
@@ -216,17 +216,17 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
216
216
|
readonly isRange: BooleanConstructor;
|
|
217
217
|
}>> & {
|
|
218
218
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
219
|
-
}, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[],
|
|
220
|
-
readonly disabled:
|
|
219
|
+
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], PublicProps, {
|
|
220
|
+
readonly disabled: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
221
221
|
readonly tabindex: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
|
|
222
222
|
readonly type: EpPropMergeType<(new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => DatePickerType) | ((new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => DatePickerType))[], unknown, unknown>;
|
|
223
223
|
readonly placeholder: string;
|
|
224
|
-
readonly modelValue: EpPropMergeType<(new (...args: any[]) => string | number |
|
|
224
|
+
readonly modelValue: EpPropMergeType<(new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => ModelValueType | null) | ((new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => ModelValueType | null))[], unknown, unknown>;
|
|
225
225
|
readonly placement: EpPropMergeType<(new (...args: any[]) => "left" | "right" | "top" | "bottom" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | ((new (...args: any[]) => "left" | "right" | "top" | "bottom" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement))[], Placement, unknown>;
|
|
226
226
|
readonly valueOnClear: EpPropMergeType<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | ((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null))[], unknown, unknown>;
|
|
227
|
-
readonly readonly: boolean;
|
|
228
227
|
readonly prefixIcon: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>;
|
|
229
228
|
readonly validateEvent: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
229
|
+
readonly readonly: boolean;
|
|
230
230
|
readonly clearable: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
231
231
|
readonly fallbackPlacements: Placement[];
|
|
232
232
|
readonly popperOptions: Partial< Options>;
|
|
@@ -410,7 +410,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
410
410
|
__epPropKey: true;
|
|
411
411
|
};
|
|
412
412
|
readonly popperStyle: {
|
|
413
|
-
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | CSSProperties | StyleValue[]) | (() => StyleValue) | ((new (...args: any[]) => string | CSSProperties | StyleValue[]) | (() => StyleValue))[], unknown, unknown>>;
|
|
413
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | false | CSSProperties | StyleValue[]) | (() => StyleValue) | ((new (...args: any[]) => string | false | CSSProperties | StyleValue[]) | (() => StyleValue))[], unknown, unknown>>;
|
|
414
414
|
readonly required: false;
|
|
415
415
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
416
416
|
__epPropKey: true;
|
|
@@ -435,10 +435,10 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
435
435
|
__epPropKey: true;
|
|
436
436
|
};
|
|
437
437
|
readonly readonly: BooleanConstructor;
|
|
438
|
-
readonly disabled: BooleanConstructor
|
|
438
|
+
readonly disabled: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
439
439
|
readonly placeholder: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
440
440
|
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial< Options>) | (() => Partial< Options>) | ((new (...args: any[]) => Partial< Options>) | (() => Partial< Options>))[], unknown, unknown, () => {}, boolean>;
|
|
441
|
-
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number |
|
|
441
|
+
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => ModelValueType | null) | ((new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => ModelValueType | null))[], unknown, unknown, "", boolean>;
|
|
442
442
|
readonly rangeSeparator: EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
443
443
|
readonly startPlaceholder: StringConstructor;
|
|
444
444
|
readonly endPlaceholder: StringConstructor;
|
|
@@ -457,17 +457,17 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
457
457
|
readonly isRange: BooleanConstructor;
|
|
458
458
|
}>> & {
|
|
459
459
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
460
|
-
}, () => JSX.Element, {}, {}, {}, {
|
|
461
|
-
readonly disabled:
|
|
460
|
+
}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
|
|
461
|
+
readonly disabled: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
462
462
|
readonly tabindex: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
|
|
463
463
|
readonly type: EpPropMergeType<(new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => DatePickerType) | ((new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => DatePickerType))[], unknown, unknown>;
|
|
464
464
|
readonly placeholder: string;
|
|
465
|
-
readonly modelValue: EpPropMergeType<(new (...args: any[]) => string | number |
|
|
465
|
+
readonly modelValue: EpPropMergeType<(new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => ModelValueType | null) | ((new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => ModelValueType | null))[], unknown, unknown>;
|
|
466
466
|
readonly placement: EpPropMergeType<(new (...args: any[]) => "left" | "right" | "top" | "bottom" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | ((new (...args: any[]) => "left" | "right" | "top" | "bottom" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement))[], Placement, unknown>;
|
|
467
467
|
readonly valueOnClear: EpPropMergeType<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | ((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null))[], unknown, unknown>;
|
|
468
|
-
readonly readonly: boolean;
|
|
469
468
|
readonly prefixIcon: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>;
|
|
470
469
|
readonly validateEvent: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
470
|
+
readonly readonly: boolean;
|
|
471
471
|
readonly clearable: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
472
472
|
readonly fallbackPlacements: Placement[];
|
|
473
473
|
readonly popperOptions: Partial< Options>;
|
|
@@ -34,7 +34,6 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
34
34
|
readonly id: string;
|
|
35
35
|
readonly type: EpPropMergeType<(new (...args: any[]) => string) | (() => InputType) | ((new (...args: any[]) => string) | (() => InputType))[], unknown, unknown>;
|
|
36
36
|
readonly modelValue: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown>;
|
|
37
|
-
readonly readonly: boolean;
|
|
38
37
|
readonly modelModifiers: InputModelModifiers;
|
|
39
38
|
readonly autosize: InputAutoSize;
|
|
40
39
|
readonly autocomplete: AutoFill;
|
|
@@ -44,6 +43,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
44
43
|
readonly inputStyle: StyleValue;
|
|
45
44
|
readonly rows: number;
|
|
46
45
|
readonly inputmode: EpPropMergeType<(new (...args: any[]) => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined) | ((new (...args: any[]) => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined))[], unknown, unknown>;
|
|
46
|
+
readonly readonly: boolean;
|
|
47
47
|
readonly clearable: boolean;
|
|
48
48
|
readonly showPassword: boolean;
|
|
49
49
|
readonly showWordLimit: boolean;
|
|
@@ -71,7 +71,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
71
71
|
readonly form?: string | undefined;
|
|
72
72
|
readonly id?: string | undefined;
|
|
73
73
|
readonly ariaLabel?: string | undefined;
|
|
74
|
-
readonly resize?: EpPropMergeType<StringConstructor, "
|
|
74
|
+
readonly resize?: EpPropMergeType<StringConstructor, "horizontal" | "vertical" | "none" | "both", unknown> | undefined;
|
|
75
75
|
readonly inputmode?: EpPropMergeType<(new (...args: any[]) => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined) | ((new (...args: any[]) => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined))[], unknown, unknown>;
|
|
76
76
|
readonly maxlength?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
77
77
|
readonly minlength?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
@@ -82,13 +82,13 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
82
82
|
readonly prefixIcon?: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown> | undefined;
|
|
83
83
|
readonly containerRole?: string | undefined;
|
|
84
84
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined | undefined;
|
|
85
|
+
onInput?: ((value: string) => any) | undefined | undefined;
|
|
86
|
+
onFocus?: ((evt: FocusEvent) => any) | undefined | undefined;
|
|
85
87
|
onChange?: ((value: string, evt?: Event | undefined) => any) | undefined | undefined;
|
|
88
|
+
onBlur?: ((evt: FocusEvent) => any) | undefined | undefined;
|
|
86
89
|
onCompositionend?: ((evt: CompositionEvent) => any) | undefined | undefined;
|
|
87
90
|
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined | undefined;
|
|
88
91
|
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined | undefined;
|
|
89
|
-
onFocus?: ((evt: FocusEvent) => any) | undefined | undefined;
|
|
90
|
-
onBlur?: ((evt: FocusEvent) => any) | undefined | undefined;
|
|
91
|
-
onInput?: ((value: string) => any) | undefined | undefined;
|
|
92
92
|
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined | undefined;
|
|
93
93
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined | undefined;
|
|
94
94
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined | undefined;
|
|
@@ -199,18 +199,18 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
199
199
|
readonly containerRole: EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
200
200
|
readonly tabindex: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
|
|
201
201
|
readonly validateEvent: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
202
|
-
readonly inputStyle: EpPropFinalized<(new (...args: any[]) => string | CSSProperties | StyleValue[]) | (() => StyleValue) | ((new (...args: any[]) => string | CSSProperties | StyleValue[]) | (() => StyleValue))[], unknown, unknown, () => Mutable<{}>, boolean>;
|
|
202
|
+
readonly inputStyle: EpPropFinalized<(new (...args: any[]) => string | false | CSSProperties | StyleValue[]) | (() => StyleValue) | ((new (...args: any[]) => string | false | CSSProperties | StyleValue[]) | (() => StyleValue))[], unknown, unknown, () => Mutable<{}>, boolean>;
|
|
203
203
|
readonly autofocus: BooleanConstructor;
|
|
204
204
|
readonly rows: EpPropFinalized<NumberConstructor, unknown, unknown, 2, boolean>;
|
|
205
205
|
}>> & {
|
|
206
206
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
207
|
+
onInput?: ((value: string) => any) | undefined;
|
|
208
|
+
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
207
209
|
onChange?: ((value: string, evt?: Event | undefined) => any) | undefined;
|
|
210
|
+
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
208
211
|
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
209
212
|
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
|
|
210
213
|
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
|
|
211
|
-
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
212
|
-
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
213
|
-
onInput?: ((value: string) => any) | undefined;
|
|
214
214
|
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
215
215
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
216
216
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
@@ -246,7 +246,6 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
246
246
|
readonly id: string;
|
|
247
247
|
readonly type: EpPropMergeType<(new (...args: any[]) => string) | (() => InputType) | ((new (...args: any[]) => string) | (() => InputType))[], unknown, unknown>;
|
|
248
248
|
readonly modelValue: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown>;
|
|
249
|
-
readonly readonly: boolean;
|
|
250
249
|
readonly modelModifiers: InputModelModifiers;
|
|
251
250
|
readonly autosize: InputAutoSize;
|
|
252
251
|
readonly autocomplete: AutoFill;
|
|
@@ -256,6 +255,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
256
255
|
readonly inputStyle: StyleValue;
|
|
257
256
|
readonly rows: number;
|
|
258
257
|
readonly inputmode: EpPropMergeType<(new (...args: any[]) => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined) | ((new (...args: any[]) => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined))[], unknown, unknown>;
|
|
258
|
+
readonly readonly: boolean;
|
|
259
259
|
readonly clearable: boolean;
|
|
260
260
|
readonly showPassword: boolean;
|
|
261
261
|
readonly showWordLimit: boolean;
|
|
@@ -286,7 +286,6 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
286
286
|
readonly id: string;
|
|
287
287
|
readonly type: EpPropMergeType<(new (...args: any[]) => string) | (() => InputType) | ((new (...args: any[]) => string) | (() => InputType))[], unknown, unknown>;
|
|
288
288
|
readonly modelValue: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown>;
|
|
289
|
-
readonly readonly: boolean;
|
|
290
289
|
readonly modelModifiers: InputModelModifiers;
|
|
291
290
|
readonly autosize: InputAutoSize;
|
|
292
291
|
readonly autocomplete: AutoFill;
|
|
@@ -296,6 +295,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
296
295
|
readonly inputStyle: StyleValue;
|
|
297
296
|
readonly rows: number;
|
|
298
297
|
readonly inputmode: EpPropMergeType<(new (...args: any[]) => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined) | ((new (...args: any[]) => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined))[], unknown, unknown>;
|
|
298
|
+
readonly readonly: boolean;
|
|
299
299
|
readonly clearable: boolean;
|
|
300
300
|
readonly showPassword: boolean;
|
|
301
301
|
readonly showWordLimit: boolean;
|
|
@@ -391,18 +391,18 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
391
391
|
readonly containerRole: EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
392
392
|
readonly tabindex: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
|
|
393
393
|
readonly validateEvent: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
394
|
-
readonly inputStyle: EpPropFinalized<(new (...args: any[]) => string | CSSProperties | StyleValue[]) | (() => StyleValue) | ((new (...args: any[]) => string | CSSProperties | StyleValue[]) | (() => StyleValue))[], unknown, unknown, () => Mutable<{}>, boolean>;
|
|
394
|
+
readonly inputStyle: EpPropFinalized<(new (...args: any[]) => string | false | CSSProperties | StyleValue[]) | (() => StyleValue) | ((new (...args: any[]) => string | false | CSSProperties | StyleValue[]) | (() => StyleValue))[], unknown, unknown, () => Mutable<{}>, boolean>;
|
|
395
395
|
readonly autofocus: BooleanConstructor;
|
|
396
396
|
readonly rows: EpPropFinalized<NumberConstructor, unknown, unknown, 2, boolean>;
|
|
397
397
|
}>> & {
|
|
398
398
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
399
|
+
onInput?: ((value: string) => any) | undefined;
|
|
400
|
+
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
399
401
|
onChange?: ((value: string, evt?: Event | undefined) => any) | undefined;
|
|
402
|
+
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
400
403
|
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
401
404
|
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
|
|
402
405
|
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
|
|
403
|
-
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
404
|
-
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
405
|
-
onInput?: ((value: string) => any) | undefined;
|
|
406
406
|
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
407
407
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
408
408
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
@@ -421,10 +421,13 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
421
421
|
resizeTextarea: () => void;
|
|
422
422
|
}> & {} & ComponentCustomProperties & {} & {
|
|
423
423
|
$slots: {
|
|
424
|
-
prepend
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
424
|
+
prepend?: (props: {}) => any;
|
|
425
|
+
} & {
|
|
426
|
+
prefix?: (props: {}) => any;
|
|
427
|
+
} & {
|
|
428
|
+
suffix?: (props: {}) => any;
|
|
429
|
+
} & {
|
|
430
|
+
append?: (props: {}) => any;
|
|
428
431
|
};
|
|
429
432
|
}) | null;
|
|
430
433
|
}, any, ComponentProvideOptions, {
|