@vunk/form 2.19.24 → 2.19.26
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/components/ai-provider/index.cjs +1 -1
- package/components/ai-provider/index.d.ts +2 -2
- package/components/ai-provider/index.mjs +98 -44
- package/components/ai-provider/src/ctx.d.ts +9 -1
- package/components/ai-provider/src/index.vue.d.ts +43 -6
- package/components/ai-provider/src/types.d.ts +45 -0
- package/components/ai-provider/src/use.d.ts +3 -1
- package/components/api-tables-select/src/ctx.d.ts +7 -7
- package/components/api-tables-select/src/index.vue.d.ts +9 -9
- package/components/button/src/ctx.d.ts +7 -7
- package/components/button/src/index.vue.d.ts +35 -35
- package/components/card-input-collection/src/core.vue.d.ts +12 -12
- package/components/card-input-collection/src/ctx.d.ts +5 -5
- package/components/card-input-collection/src/index.vue.d.ts +12 -12
- package/components/cascader/src/ctx.d.ts +8 -109
- package/components/cascader/src/index.vue.d.ts +16 -217
- package/components/checkbox/src/ctx.d.ts +7 -7
- package/components/checkbox/src/index.vue.d.ts +54 -54
- package/components/color-picker/src/ctx.d.ts +7 -108
- package/components/color-picker/src/index.vue.d.ts +16 -217
- package/components/components.css +1 -1
- package/components/date-picker/src/ctx.d.ts +9 -110
- package/components/date-picker/src/index.vue.d.ts +20 -221
- package/components/date-picker-range/src/ctx.d.ts +6 -107
- package/components/date-picker-range/src/index.vue.d.ts +34 -436
- package/components/dialog/src/ctx.d.ts +4 -4
- package/components/dialog/src/index.vue.d.ts +12 -8
- package/components/dialog-input-collection/src/ctx.d.ts +5 -5
- package/components/dialog-input-collection/src/index.vue.d.ts +11 -11
- package/components/download-plus/src/ctx.d.ts +5 -5
- package/components/download-plus/src/index.vue.d.ts +75 -75
- package/components/editable-text/src/ctx.d.ts +5 -5
- package/components/editable-text/src/index.vue.d.ts +11 -11
- package/components/esri-input-geojson/src/append.vue.d.ts +25 -25
- package/components/esri-input-geojson/src/ctx.d.ts +11 -11
- package/components/esri-input-geojson/src/index.vue.d.ts +101 -101
- package/components/form/src/ctx.d.ts +2 -2
- package/components/form/src/index.vue.d.ts +12 -12
- package/components/form-item/index.cjs +1 -1
- package/components/form-item/index.mjs +218 -144
- package/components/form-item/src/core.vue.d.ts +7 -7
- package/components/form-item/src/ctx.d.ts +3 -3
- package/components/form-item/src/index.vue.d.ts +5 -5
- package/components/form-item/src/use.d.ts +5 -1
- package/components/form-item/src/validate-guard.vue.d.ts +25 -0
- package/components/information-collection/src/ctx.d.ts +5 -5
- package/components/information-collection/src/index.vue.d.ts +11 -11
- package/components/information-tag/src/ctx.d.ts +1 -1
- package/components/information-tag/src/index.vue.d.ts +3 -3
- package/components/input/src/ctx.d.ts +11 -11
- package/components/input/src/index.vue.d.ts +71 -71
- package/components/input-array/src/ctx.d.ts +5 -5
- package/components/input-array/src/index.vue.d.ts +11 -11
- package/components/input-collection/src/core.vue.d.ts +15 -15
- package/components/input-collection/src/ctx.d.ts +5 -5
- package/components/input-collection/src/index.vue.d.ts +15 -15
- package/components/input-file/src/index.vue.d.ts +12 -12
- package/components/input-link/src/ctx.d.ts +9 -9
- package/components/input-link/src/index.vue.d.ts +95 -95
- package/components/input-number/src/ctx.d.ts +9 -9
- package/components/input-number/src/index.vue.d.ts +51 -51
- package/components/input-tag/src/ctx.d.ts +8 -8
- package/components/input-tag/src/index.vue.d.ts +41 -41
- package/components/monaco-editor/src/ctx.d.ts +5 -5
- package/components/monaco-editor/src/index.vue.d.ts +16 -16
- package/components/radio/src/ctx.d.ts +6 -6
- package/components/radio/src/index.vue.d.ts +33 -33
- package/components/radio/src/wraper.vue.d.ts +13 -13
- package/components/select/src/core.vue.d.ts +34 -43
- package/components/select/src/ctx.d.ts +9 -14
- package/components/select/src/index.vue.d.ts +25 -34
- package/components/slider/src/ctx.d.ts +8 -8
- package/components/slider/src/index.vue.d.ts +18 -18
- package/components/switch/src/ctx.d.ts +6 -6
- package/components/switch/src/index.vue.d.ts +13 -13
- package/components/tables-select/index.mjs +4 -1
- package/components/tables-select/src/ctx.d.ts +13 -13
- package/components/tables-select/src/index.vue.d.ts +15 -15
- package/components/templates-default/src/index.vue.d.ts +420 -1131
- package/components/templates-esri/src/index.vue.d.ts +101 -101
- package/components/templates-layout/src/index.vue.d.ts +3 -3
- package/components/templates-variant/src/index.vue.d.ts +34 -436
- package/components/time-picker/src/ctx.d.ts +9 -110
- package/components/time-picker/src/index.vue.d.ts +19 -220
- package/components/upload/src/ctx.d.ts +6 -6
- package/components/upload/src/file.vue.d.ts +21 -21
- package/components/upload/src/index.vue.d.ts +45 -45
- package/components/upload/src/wraper.vue.d.ts +12 -12
- package/components/upload-plus/src/ctx.d.ts +5 -5
- package/components/upload-plus/src/index.vue.d.ts +11 -11
- package/components/van-cascader/src/ctx.d.ts +7 -108
- package/components/van-cascader/src/index.vue.d.ts +16 -217
- package/components/var-datetime-picker/src/const.d.ts +1 -1
- package/components/var-datetime-picker/src/ctx.d.ts +5 -5
- package/components/var-datetime-picker/src/index.vue.d.ts +37 -238
- package/components/vditor/src/ctx.d.ts +5 -5
- package/components/vditor/src/index.vue.d.ts +17 -17
- package/index.css +1 -1
- package/locale/index.cjs +1 -1
- package/locale/index.mjs +9 -3
- package/locale/lang/ar.d.ts +2 -0
- package/locale/lang/en.d.ts +2 -0
- package/locale/lang/zh-cn.d.ts +2 -0
- package/package.json +1 -1
- package/shared/element-plus/ctx.d.ts +2 -2
- package/shared/element-plus/instances.d.ts +6 -208
|
@@ -27,8 +27,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
27
27
|
onUpload?: ((e: UploadFile) => any) | undefined;
|
|
28
28
|
onEdit?: ((...args: any[]) => any) | undefined;
|
|
29
29
|
}>, {
|
|
30
|
-
disabled: boolean;
|
|
31
30
|
dialog: boolean;
|
|
31
|
+
disabled: boolean;
|
|
32
32
|
upload: boolean;
|
|
33
33
|
}, {}, {
|
|
34
34
|
ElButton: {
|
|
@@ -36,23 +36,23 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
36
36
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
37
37
|
}>, {
|
|
38
38
|
ref: import("vue").Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
|
|
39
|
-
size: import("vue").ComputedRef<"" | "default" | "
|
|
40
|
-
type: import("vue").ComputedRef<"" | "
|
|
39
|
+
size: import("vue").ComputedRef<"" | "default" | "large" | "small">;
|
|
40
|
+
type: import("vue").ComputedRef<"default" | "" | "text" | "info" | "primary" | "success" | "warning" | "danger">;
|
|
41
41
|
disabled: import("vue").ComputedRef<boolean>;
|
|
42
42
|
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
43
43
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
44
44
|
click: (evt: MouseEvent) => void;
|
|
45
45
|
}, import("vue").PublicProps, {
|
|
46
|
+
type: import("element-plus").ButtonType;
|
|
46
47
|
text: boolean;
|
|
47
48
|
disabled: boolean;
|
|
48
|
-
type: import("element-plus").ButtonType;
|
|
49
49
|
round: boolean;
|
|
50
50
|
dashed: boolean;
|
|
51
|
+
tag: string | import("vue").Component;
|
|
51
52
|
nativeType: import("element-plus").ButtonNativeType;
|
|
52
53
|
loadingIcon: import("element-plus/es/utils/index.mjs").IconPropType;
|
|
53
54
|
plain: boolean;
|
|
54
55
|
autoInsertSpace: boolean;
|
|
55
|
-
tag: string | import("vue").Component;
|
|
56
56
|
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
57
57
|
P: {};
|
|
58
58
|
B: {};
|
|
@@ -64,21 +64,21 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
64
64
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
66
|
ref: import("vue").Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
|
|
67
|
-
size: import("vue").ComputedRef<"" | "default" | "
|
|
68
|
-
type: import("vue").ComputedRef<"" | "
|
|
67
|
+
size: import("vue").ComputedRef<"" | "default" | "large" | "small">;
|
|
68
|
+
type: import("vue").ComputedRef<"default" | "" | "text" | "info" | "primary" | "success" | "warning" | "danger">;
|
|
69
69
|
disabled: import("vue").ComputedRef<boolean>;
|
|
70
70
|
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
71
71
|
}, {}, {}, {}, {
|
|
72
|
+
type: import("element-plus").ButtonType;
|
|
72
73
|
text: boolean;
|
|
73
74
|
disabled: boolean;
|
|
74
|
-
type: import("element-plus").ButtonType;
|
|
75
75
|
round: boolean;
|
|
76
76
|
dashed: boolean;
|
|
77
|
+
tag: string | import("vue").Component;
|
|
77
78
|
nativeType: import("element-plus").ButtonNativeType;
|
|
78
79
|
loadingIcon: import("element-plus/es/utils/index.mjs").IconPropType;
|
|
79
80
|
plain: boolean;
|
|
80
81
|
autoInsertSpace: boolean;
|
|
81
|
-
tag: string | import("vue").Component;
|
|
82
82
|
}>;
|
|
83
83
|
__isFragment?: never;
|
|
84
84
|
__isTeleport?: never;
|
|
@@ -87,23 +87,23 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
87
87
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
88
88
|
}>, {
|
|
89
89
|
ref: import("vue").Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
|
|
90
|
-
size: import("vue").ComputedRef<"" | "default" | "
|
|
91
|
-
type: import("vue").ComputedRef<"" | "
|
|
90
|
+
size: import("vue").ComputedRef<"" | "default" | "large" | "small">;
|
|
91
|
+
type: import("vue").ComputedRef<"default" | "" | "text" | "info" | "primary" | "success" | "warning" | "danger">;
|
|
92
92
|
disabled: import("vue").ComputedRef<boolean>;
|
|
93
93
|
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
94
94
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
95
95
|
click: (evt: MouseEvent) => void;
|
|
96
96
|
}, string, {
|
|
97
|
+
type: import("element-plus").ButtonType;
|
|
97
98
|
text: boolean;
|
|
98
99
|
disabled: boolean;
|
|
99
|
-
type: import("element-plus").ButtonType;
|
|
100
100
|
round: boolean;
|
|
101
101
|
dashed: boolean;
|
|
102
|
+
tag: string | import("vue").Component;
|
|
102
103
|
nativeType: import("element-plus").ButtonNativeType;
|
|
103
104
|
loadingIcon: import("element-plus/es/utils/index.mjs").IconPropType;
|
|
104
105
|
plain: boolean;
|
|
105
106
|
autoInsertSpace: boolean;
|
|
106
|
-
tag: string | import("vue").Component;
|
|
107
107
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
108
108
|
$slots: {
|
|
109
109
|
loading?: (props: {}) => any;
|
|
@@ -152,7 +152,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
152
152
|
} & {
|
|
153
153
|
ButtonGroup: {
|
|
154
154
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("element-plus/es/components/button/src/button-group.mjs").ButtonGroupProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
155
|
-
type: "" | "
|
|
155
|
+
type: "" | "default" | "text" | "info" | "primary" | "success" | "warning" | "danger";
|
|
156
156
|
direction: "horizontal" | "vertical";
|
|
157
157
|
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
158
158
|
P: {};
|
|
@@ -162,14 +162,14 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
162
162
|
M: {};
|
|
163
163
|
Defaults: {};
|
|
164
164
|
}, Readonly<import("element-plus/es/components/button/src/button-group.mjs").ButtonGroupProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
165
|
-
type: "" | "
|
|
165
|
+
type: "" | "default" | "text" | "info" | "primary" | "success" | "warning" | "danger";
|
|
166
166
|
direction: "horizontal" | "vertical";
|
|
167
167
|
}>;
|
|
168
168
|
__isFragment?: never;
|
|
169
169
|
__isTeleport?: never;
|
|
170
170
|
__isSuspense?: never;
|
|
171
171
|
} & import("vue").ComponentOptionsBase<Readonly<import("element-plus/es/components/button/src/button-group.mjs").ButtonGroupProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
172
|
-
type: "" | "
|
|
172
|
+
type: "" | "default" | "text" | "info" | "primary" | "success" | "warning" | "danger";
|
|
173
173
|
direction: "horizontal" | "vertical";
|
|
174
174
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
175
175
|
$slots: {
|
|
@@ -196,7 +196,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
196
196
|
})>;
|
|
197
197
|
ElButtonGroup: import("element-plus/es/utils/index.mjs").SFCWithInstall<{
|
|
198
198
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("element-plus/es/components/button/src/button-group.mjs").ButtonGroupProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
199
|
-
type: "" | "
|
|
199
|
+
type: "" | "default" | "text" | "info" | "primary" | "success" | "warning" | "danger";
|
|
200
200
|
direction: "horizontal" | "vertical";
|
|
201
201
|
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
202
202
|
P: {};
|
|
@@ -206,14 +206,14 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
206
206
|
M: {};
|
|
207
207
|
Defaults: {};
|
|
208
208
|
}, Readonly<import("element-plus/es/components/button/src/button-group.mjs").ButtonGroupProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
209
|
-
type: "" | "
|
|
209
|
+
type: "" | "default" | "text" | "info" | "primary" | "success" | "warning" | "danger";
|
|
210
210
|
direction: "horizontal" | "vertical";
|
|
211
211
|
}>;
|
|
212
212
|
__isFragment?: never;
|
|
213
213
|
__isTeleport?: never;
|
|
214
214
|
__isSuspense?: never;
|
|
215
215
|
} & import("vue").ComponentOptionsBase<Readonly<import("element-plus/es/components/button/src/button-group.mjs").ButtonGroupProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
216
|
-
type: "" | "
|
|
216
|
+
type: "" | "default" | "text" | "info" | "primary" | "success" | "warning" | "danger";
|
|
217
217
|
direction: "horizontal" | "vertical";
|
|
218
218
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
219
219
|
$slots: {
|
|
@@ -230,12 +230,12 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
230
230
|
handleStart: (rawFile: import("element-plus").UploadRawFile) => void;
|
|
231
231
|
handleRemove: (file: UploadFile | import("element-plus").UploadRawFile) => void;
|
|
232
232
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
233
|
+
data: import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus").UploadData> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus").UploadData>);
|
|
233
234
|
disabled: boolean;
|
|
234
235
|
name: string;
|
|
235
236
|
onChange: import("element-plus").UploadHooks["onChange"];
|
|
236
|
-
onError: import("element-plus").UploadHooks["onError"];
|
|
237
237
|
onProgress: import("element-plus").UploadHooks["onProgress"];
|
|
238
|
-
|
|
238
|
+
onError: import("element-plus").UploadHooks["onError"];
|
|
239
239
|
beforeUpload: import("element-plus").UploadHooks["beforeUpload"];
|
|
240
240
|
onRemove: import("element-plus").UploadHooks["onRemove"];
|
|
241
241
|
onPreview: import("element-plus").UploadHooks["onPreview"];
|
|
@@ -263,12 +263,12 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
263
263
|
handleStart: (rawFile: import("element-plus").UploadRawFile) => void;
|
|
264
264
|
handleRemove: (file: UploadFile | import("element-plus").UploadRawFile) => void;
|
|
265
265
|
}, {}, {}, {}, {
|
|
266
|
+
data: import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus").UploadData> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus").UploadData>);
|
|
266
267
|
disabled: boolean;
|
|
267
268
|
name: string;
|
|
268
269
|
onChange: import("element-plus").UploadHooks["onChange"];
|
|
269
|
-
onError: import("element-plus").UploadHooks["onError"];
|
|
270
270
|
onProgress: import("element-plus").UploadHooks["onProgress"];
|
|
271
|
-
|
|
271
|
+
onError: import("element-plus").UploadHooks["onError"];
|
|
272
272
|
beforeUpload: import("element-plus").UploadHooks["beforeUpload"];
|
|
273
273
|
onRemove: import("element-plus").UploadHooks["onRemove"];
|
|
274
274
|
onPreview: import("element-plus").UploadHooks["onPreview"];
|
|
@@ -293,12 +293,12 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
293
293
|
handleStart: (rawFile: import("element-plus").UploadRawFile) => void;
|
|
294
294
|
handleRemove: (file: UploadFile | import("element-plus").UploadRawFile) => void;
|
|
295
295
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
296
|
+
data: import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus").UploadData> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus").UploadData>);
|
|
296
297
|
disabled: boolean;
|
|
297
298
|
name: string;
|
|
298
299
|
onChange: import("element-plus").UploadHooks["onChange"];
|
|
299
|
-
onError: import("element-plus").UploadHooks["onError"];
|
|
300
300
|
onProgress: import("element-plus").UploadHooks["onProgress"];
|
|
301
|
-
|
|
301
|
+
onError: import("element-plus").UploadHooks["onError"];
|
|
302
302
|
beforeUpload: import("element-plus").UploadHooks["beforeUpload"];
|
|
303
303
|
onRemove: import("element-plus").UploadHooks["onRemove"];
|
|
304
304
|
onPreview: import("element-plus").UploadHooks["onPreview"];
|