@vunk/form 2.10.0 → 2.10.3
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/api-tables-select/index.cjs +37 -36
- package/components/api-tables-select/index.mjs +37 -36
- package/components/api-tables-select/src/ctx.d.ts +48 -13
- package/components/api-tables-select/src/index.vue.d.ts +568 -80
- package/components/button/src/ctx.d.ts +101 -17
- package/components/button/src/index.vue.d.ts +437 -101
- package/components/card-input-collection/index.cjs +67 -70
- package/components/card-input-collection/index.mjs +68 -71
- package/components/card-input-collection/src/ctx.d.ts +43 -8
- package/components/card-input-collection/src/index.vue.d.ts +718 -226
- package/components/cascader/src/ctx.d.ts +192 -46
- package/components/cascader/src/index.vue.d.ts +393 -118
- package/components/checkbox/index.cjs +2 -3
- package/components/checkbox/index.mjs +2 -3
- package/components/checkbox/src/ctx.d.ts +65 -13
- package/components/checkbox/src/index.vue.d.ts +339 -115
- package/components/color-picker/src/ctx.d.ts +76 -13
- package/components/color-picker/src/index.vue.d.ts +160 -34
- package/components/date-picker/src/ctx.d.ts +185 -36
- package/components/date-picker/src/index.vue.d.ts +974 -202
- package/components/date-picker-range/src/ctx.d.ts +168 -35
- package/components/date-picker-range/src/index.vue.d.ts +347 -82
- package/components/download-plus/index.cjs +4 -4
- package/components/download-plus/index.mjs +4 -4
- package/components/download-plus/src/ctx.d.ts +43 -8
- package/components/download-plus/src/index.vue.d.ts +618 -165
- package/components/editable-text/index.cjs +29 -15
- package/components/editable-text/index.mjs +29 -15
- package/components/editable-text/src/ctx.d.ts +51 -8
- package/components/editable-text/src/index.vue.d.ts +2827 -251
- package/components/esri-input-geojson/src/append.vue.d.ts +769 -418
- package/components/esri-input-geojson/src/ctx.d.ts +133 -32
- package/components/esri-input-geojson/src/index.vue.d.ts +262 -92
- package/components/esri-input-geojson/src/viewer.vue.d.ts +1 -1
- package/components/form/src/ctx.d.ts +59 -11
- package/components/form/src/index.vue.d.ts +3456 -186
- package/components/form-item/src/ctx.d.ts +45 -10
- package/components/form-item/src/index.vue.d.ts +484 -141
- package/components/information-collection/src/ctx.d.ts +45 -10
- package/components/information-collection/src/index.vue.d.ts +96 -26
- package/components/information-tag/src/ctx.d.ts +17 -3
- package/components/information-tag/src/index.vue.d.ts +38 -10
- package/components/input/src/ctx.d.ts +138 -33
- package/components/input/src/index.vue.d.ts +528 -152
- package/components/input-collection/index.cjs +105 -74
- package/components/input-collection/index.mjs +107 -76
- package/components/input-collection/src/ctx.d.ts +43 -8
- package/components/input-collection/src/index.vue.d.ts +756 -793
- package/components/input-link/src/ctx.d.ts +103 -25
- package/components/input-link/src/index.vue.d.ts +219 -63
- package/components/input-number/src/ctx.d.ts +123 -21
- package/components/input-number/src/index.vue.d.ts +468 -93
- package/components/input-tag/src/ctx.d.ts +141 -25
- package/components/input-tag/src/index.vue.d.ts +566 -126
- package/components/monaco-editor/src/ctx.d.ts +43 -8
- package/components/monaco-editor/src/index.vue.d.ts +91 -21
- package/components/radio/index.cjs +2 -3
- package/components/radio/index.mjs +2 -3
- package/components/radio/src/ctx.d.ts +84 -14
- package/components/radio/src/index.vue.d.ts +812 -168
- package/components/select/src/ctx.d.ts +63 -13
- package/components/select/src/index.vue.d.ts +549 -108
- package/components/slider/src/ctx.d.ts +170 -54
- package/components/slider/src/index.vue.d.ts +362 -137
- package/components/switch/src/ctx.d.ts +105 -21
- package/components/switch/src/index.vue.d.ts +453 -117
- package/components/tables-select/src/ctx.d.ts +72 -9
- package/components/tables-select/src/index.vue.d.ts +386 -82
- package/components/templates-element-plus/src/index.vue.d.ts +187 -40
- package/components/templates-layout/src/index.vue.d.ts +337 -64
- package/components/upload/index.cjs +2 -2
- package/components/upload/index.mjs +2 -2
- package/components/upload/src/ctx.d.ts +183 -89
- package/components/upload/src/file.vue.d.ts +269 -83
- package/components/upload/src/index.vue.d.ts +1246 -632
- package/components/upload-plus/index.cjs +79 -86
- package/components/upload-plus/index.mjs +79 -86
- package/components/upload-plus/src/ctx.d.ts +43 -8
- package/components/upload-plus/src/index.vue.d.ts +1008 -283
- package/components/van-cascader/src/ctx.d.ts +181 -44
- package/components/van-cascader/src/index.vue.d.ts +1532 -324
- package/components/var-datetime-picker/src/ctx.d.ts +43 -8
- package/components/var-datetime-picker/src/index.vue.d.ts +932 -190
- package/components/vditor/src/ctx.d.ts +43 -8
- package/components/vditor/src/index.vue.d.ts +91 -21
- package/package.json +1 -1
- package/shared/element-plus/ctx.d.ts +111 -30
- package/shared/element-plus/instances.d.ts +140 -28
|
@@ -27,15 +27,43 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
27
27
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
28
28
|
install(app: import("vue").App): void;
|
|
29
29
|
};
|
|
30
|
-
ElLink:
|
|
30
|
+
ElLink: {
|
|
31
31
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
32
|
-
readonly type:
|
|
33
|
-
|
|
32
|
+
readonly type: {
|
|
33
|
+
readonly type: import("vue").PropType<"default" | "success" | "primary" | "warning" | "info" | "danger">;
|
|
34
|
+
readonly required: false;
|
|
35
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
36
|
+
__epPropKey: true;
|
|
37
|
+
} & {
|
|
38
|
+
readonly default: undefined;
|
|
39
|
+
};
|
|
40
|
+
readonly underline: {
|
|
41
|
+
readonly type: import("vue").PropType<boolean | "hover" | "always" | "never">;
|
|
42
|
+
readonly required: false;
|
|
43
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
44
|
+
__epPropKey: true;
|
|
45
|
+
} & {
|
|
46
|
+
readonly default: undefined;
|
|
47
|
+
};
|
|
34
48
|
readonly disabled: BooleanConstructor;
|
|
35
|
-
readonly href:
|
|
36
|
-
|
|
49
|
+
readonly href: {
|
|
50
|
+
readonly type: import("vue").PropType<string>;
|
|
51
|
+
readonly required: false;
|
|
52
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
53
|
+
__epPropKey: true;
|
|
54
|
+
} & {
|
|
55
|
+
readonly default: "";
|
|
56
|
+
};
|
|
57
|
+
readonly target: {
|
|
58
|
+
readonly type: import("vue").PropType<string>;
|
|
59
|
+
readonly required: false;
|
|
60
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
61
|
+
__epPropKey: true;
|
|
62
|
+
} & {
|
|
63
|
+
readonly default: "_self";
|
|
64
|
+
};
|
|
37
65
|
readonly icon: {
|
|
38
|
-
readonly type: import("vue").PropType<
|
|
66
|
+
readonly type: import("vue").PropType<unknown>;
|
|
39
67
|
readonly required: false;
|
|
40
68
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
41
69
|
__epPropKey: true;
|
|
@@ -46,8 +74,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
46
74
|
click: (evt: MouseEvent) => void;
|
|
47
75
|
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
|
48
76
|
readonly disabled: boolean;
|
|
49
|
-
readonly underline:
|
|
50
|
-
readonly type:
|
|
77
|
+
readonly underline: boolean | "hover" | "always" | "never";
|
|
78
|
+
readonly type: "default" | "success" | "primary" | "warning" | "info" | "danger";
|
|
51
79
|
readonly target: string;
|
|
52
80
|
readonly href: string;
|
|
53
81
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
@@ -58,13 +86,41 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
58
86
|
M: {};
|
|
59
87
|
Defaults: {};
|
|
60
88
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
61
|
-
readonly type:
|
|
62
|
-
|
|
89
|
+
readonly type: {
|
|
90
|
+
readonly type: import("vue").PropType<"default" | "success" | "primary" | "warning" | "info" | "danger">;
|
|
91
|
+
readonly required: false;
|
|
92
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
93
|
+
__epPropKey: true;
|
|
94
|
+
} & {
|
|
95
|
+
readonly default: undefined;
|
|
96
|
+
};
|
|
97
|
+
readonly underline: {
|
|
98
|
+
readonly type: import("vue").PropType<boolean | "hover" | "always" | "never">;
|
|
99
|
+
readonly required: false;
|
|
100
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
101
|
+
__epPropKey: true;
|
|
102
|
+
} & {
|
|
103
|
+
readonly default: undefined;
|
|
104
|
+
};
|
|
63
105
|
readonly disabled: BooleanConstructor;
|
|
64
|
-
readonly href:
|
|
65
|
-
|
|
106
|
+
readonly href: {
|
|
107
|
+
readonly type: import("vue").PropType<string>;
|
|
108
|
+
readonly required: false;
|
|
109
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
110
|
+
__epPropKey: true;
|
|
111
|
+
} & {
|
|
112
|
+
readonly default: "";
|
|
113
|
+
};
|
|
114
|
+
readonly target: {
|
|
115
|
+
readonly type: import("vue").PropType<string>;
|
|
116
|
+
readonly required: false;
|
|
117
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
118
|
+
__epPropKey: true;
|
|
119
|
+
} & {
|
|
120
|
+
readonly default: "_self";
|
|
121
|
+
};
|
|
66
122
|
readonly icon: {
|
|
67
|
-
readonly type: import("vue").PropType<
|
|
123
|
+
readonly type: import("vue").PropType<unknown>;
|
|
68
124
|
readonly required: false;
|
|
69
125
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
70
126
|
__epPropKey: true;
|
|
@@ -73,8 +129,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
73
129
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
74
130
|
}, {}, {}, {}, {}, {
|
|
75
131
|
readonly disabled: boolean;
|
|
76
|
-
readonly underline:
|
|
77
|
-
readonly type:
|
|
132
|
+
readonly underline: boolean | "hover" | "always" | "never";
|
|
133
|
+
readonly type: "default" | "success" | "primary" | "warning" | "info" | "danger";
|
|
78
134
|
readonly target: string;
|
|
79
135
|
readonly href: string;
|
|
80
136
|
}>;
|
|
@@ -82,13 +138,41 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
82
138
|
__isTeleport?: never;
|
|
83
139
|
__isSuspense?: never;
|
|
84
140
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
85
|
-
readonly type:
|
|
86
|
-
|
|
141
|
+
readonly type: {
|
|
142
|
+
readonly type: import("vue").PropType<"default" | "success" | "primary" | "warning" | "info" | "danger">;
|
|
143
|
+
readonly required: false;
|
|
144
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
145
|
+
__epPropKey: true;
|
|
146
|
+
} & {
|
|
147
|
+
readonly default: undefined;
|
|
148
|
+
};
|
|
149
|
+
readonly underline: {
|
|
150
|
+
readonly type: import("vue").PropType<boolean | "hover" | "always" | "never">;
|
|
151
|
+
readonly required: false;
|
|
152
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
153
|
+
__epPropKey: true;
|
|
154
|
+
} & {
|
|
155
|
+
readonly default: undefined;
|
|
156
|
+
};
|
|
87
157
|
readonly disabled: BooleanConstructor;
|
|
88
|
-
readonly href:
|
|
89
|
-
|
|
158
|
+
readonly href: {
|
|
159
|
+
readonly type: import("vue").PropType<string>;
|
|
160
|
+
readonly required: false;
|
|
161
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
162
|
+
__epPropKey: true;
|
|
163
|
+
} & {
|
|
164
|
+
readonly default: "";
|
|
165
|
+
};
|
|
166
|
+
readonly target: {
|
|
167
|
+
readonly type: import("vue").PropType<string>;
|
|
168
|
+
readonly required: false;
|
|
169
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
170
|
+
__epPropKey: true;
|
|
171
|
+
} & {
|
|
172
|
+
readonly default: "_self";
|
|
173
|
+
};
|
|
90
174
|
readonly icon: {
|
|
91
|
-
readonly type: import("vue").PropType<
|
|
175
|
+
readonly type: import("vue").PropType<unknown>;
|
|
92
176
|
readonly required: false;
|
|
93
177
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
94
178
|
__epPropKey: true;
|
|
@@ -99,8 +183,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
99
183
|
click: (evt: MouseEvent) => void;
|
|
100
184
|
}, string, {
|
|
101
185
|
readonly disabled: boolean;
|
|
102
|
-
readonly underline:
|
|
103
|
-
readonly type:
|
|
186
|
+
readonly underline: boolean | "hover" | "always" | "never";
|
|
187
|
+
readonly type: "default" | "success" | "primary" | "warning" | "info" | "danger";
|
|
104
188
|
readonly target: string;
|
|
105
189
|
readonly href: string;
|
|
106
190
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
@@ -108,16 +192,37 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
108
192
|
default?(_: {}): any;
|
|
109
193
|
icon?(_: {}): any;
|
|
110
194
|
};
|
|
111
|
-
})
|
|
112
|
-
ElDivider:
|
|
195
|
+
}) & import("vue").Plugin;
|
|
196
|
+
ElDivider: {
|
|
113
197
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
114
|
-
readonly direction:
|
|
115
|
-
|
|
116
|
-
|
|
198
|
+
readonly direction: {
|
|
199
|
+
readonly type: import("vue").PropType<"horizontal" | "vertical">;
|
|
200
|
+
readonly required: false;
|
|
201
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
202
|
+
__epPropKey: true;
|
|
203
|
+
} & {
|
|
204
|
+
readonly default: "horizontal";
|
|
205
|
+
};
|
|
206
|
+
readonly contentPosition: {
|
|
207
|
+
readonly type: import("vue").PropType<"left" | "right" | "center">;
|
|
208
|
+
readonly required: false;
|
|
209
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
210
|
+
__epPropKey: true;
|
|
211
|
+
} & {
|
|
212
|
+
readonly default: "center";
|
|
213
|
+
};
|
|
214
|
+
readonly borderStyle: {
|
|
215
|
+
readonly type: import("vue").PropType<string>;
|
|
216
|
+
readonly required: false;
|
|
217
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
218
|
+
__epPropKey: true;
|
|
219
|
+
} & {
|
|
220
|
+
readonly default: "solid";
|
|
221
|
+
};
|
|
117
222
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
|
118
|
-
readonly direction:
|
|
223
|
+
readonly direction: "horizontal" | "vertical";
|
|
119
224
|
readonly borderStyle: string;
|
|
120
|
-
readonly contentPosition:
|
|
225
|
+
readonly contentPosition: "left" | "right" | "center";
|
|
121
226
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
122
227
|
P: {};
|
|
123
228
|
B: {};
|
|
@@ -126,29 +231,71 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
126
231
|
M: {};
|
|
127
232
|
Defaults: {};
|
|
128
233
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
129
|
-
readonly direction:
|
|
130
|
-
|
|
131
|
-
|
|
234
|
+
readonly direction: {
|
|
235
|
+
readonly type: import("vue").PropType<"horizontal" | "vertical">;
|
|
236
|
+
readonly required: false;
|
|
237
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
238
|
+
__epPropKey: true;
|
|
239
|
+
} & {
|
|
240
|
+
readonly default: "horizontal";
|
|
241
|
+
};
|
|
242
|
+
readonly contentPosition: {
|
|
243
|
+
readonly type: import("vue").PropType<"left" | "right" | "center">;
|
|
244
|
+
readonly required: false;
|
|
245
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
246
|
+
__epPropKey: true;
|
|
247
|
+
} & {
|
|
248
|
+
readonly default: "center";
|
|
249
|
+
};
|
|
250
|
+
readonly borderStyle: {
|
|
251
|
+
readonly type: import("vue").PropType<string>;
|
|
252
|
+
readonly required: false;
|
|
253
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
254
|
+
__epPropKey: true;
|
|
255
|
+
} & {
|
|
256
|
+
readonly default: "solid";
|
|
257
|
+
};
|
|
132
258
|
}>>, {}, {}, {}, {}, {
|
|
133
|
-
readonly direction:
|
|
259
|
+
readonly direction: "horizontal" | "vertical";
|
|
134
260
|
readonly borderStyle: string;
|
|
135
|
-
readonly contentPosition:
|
|
261
|
+
readonly contentPosition: "left" | "right" | "center";
|
|
136
262
|
}>;
|
|
137
263
|
__isFragment?: never;
|
|
138
264
|
__isTeleport?: never;
|
|
139
265
|
__isSuspense?: never;
|
|
140
266
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
141
|
-
readonly direction:
|
|
142
|
-
|
|
143
|
-
|
|
267
|
+
readonly direction: {
|
|
268
|
+
readonly type: import("vue").PropType<"horizontal" | "vertical">;
|
|
269
|
+
readonly required: false;
|
|
270
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
271
|
+
__epPropKey: true;
|
|
272
|
+
} & {
|
|
273
|
+
readonly default: "horizontal";
|
|
274
|
+
};
|
|
275
|
+
readonly contentPosition: {
|
|
276
|
+
readonly type: import("vue").PropType<"left" | "right" | "center">;
|
|
277
|
+
readonly required: false;
|
|
278
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
279
|
+
__epPropKey: true;
|
|
280
|
+
} & {
|
|
281
|
+
readonly default: "center";
|
|
282
|
+
};
|
|
283
|
+
readonly borderStyle: {
|
|
284
|
+
readonly type: import("vue").PropType<string>;
|
|
285
|
+
readonly required: false;
|
|
286
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
287
|
+
__epPropKey: true;
|
|
288
|
+
} & {
|
|
289
|
+
readonly default: "solid";
|
|
290
|
+
};
|
|
144
291
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
|
145
|
-
readonly direction:
|
|
292
|
+
readonly direction: "horizontal" | "vertical";
|
|
146
293
|
readonly borderStyle: string;
|
|
147
|
-
readonly contentPosition:
|
|
294
|
+
readonly contentPosition: "left" | "right" | "center";
|
|
148
295
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
149
296
|
$slots: {
|
|
150
297
|
default?(_: {}): any;
|
|
151
298
|
};
|
|
152
|
-
})
|
|
299
|
+
}) & import("vue").Plugin;
|
|
153
300
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
154
301
|
export default _default;
|