@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
|
@@ -23,7 +23,14 @@ export declare const props: {
|
|
|
23
23
|
type: BooleanConstructor;
|
|
24
24
|
default: boolean;
|
|
25
25
|
};
|
|
26
|
-
required:
|
|
26
|
+
required: {
|
|
27
|
+
readonly type: import("vue").PropType<boolean>;
|
|
28
|
+
readonly required: false;
|
|
29
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
30
|
+
__epPropKey: true;
|
|
31
|
+
} & {
|
|
32
|
+
readonly default: undefined;
|
|
33
|
+
};
|
|
27
34
|
formItemSize: {
|
|
28
35
|
type: import("vue").PropType<"default" | "small" | "large">;
|
|
29
36
|
default: "default" | "small" | "large";
|
|
@@ -54,30 +61,58 @@ export declare const props: {
|
|
|
54
61
|
default: boolean;
|
|
55
62
|
};
|
|
56
63
|
label: StringConstructor;
|
|
57
|
-
labelWidth:
|
|
58
|
-
|
|
64
|
+
labelWidth: {
|
|
65
|
+
readonly type: import("vue").PropType<string | number>;
|
|
66
|
+
readonly required: false;
|
|
67
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
68
|
+
__epPropKey: true;
|
|
69
|
+
} & {
|
|
70
|
+
readonly default: "";
|
|
71
|
+
};
|
|
72
|
+
labelPosition: {
|
|
73
|
+
readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
|
|
74
|
+
readonly required: false;
|
|
75
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
76
|
+
__epPropKey: true;
|
|
77
|
+
} & {
|
|
78
|
+
readonly default: "";
|
|
79
|
+
};
|
|
59
80
|
prop: {
|
|
60
|
-
readonly type: import("vue").PropType<import("element-plus
|
|
81
|
+
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
61
82
|
readonly required: false;
|
|
62
83
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
63
84
|
__epPropKey: true;
|
|
64
85
|
};
|
|
65
86
|
rules: {
|
|
66
|
-
readonly type: import("vue").PropType<
|
|
87
|
+
readonly type: import("vue").PropType<unknown>;
|
|
67
88
|
readonly required: false;
|
|
68
89
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
69
90
|
__epPropKey: true;
|
|
70
91
|
};
|
|
71
92
|
error: StringConstructor;
|
|
72
93
|
validateStatus: {
|
|
73
|
-
readonly type: import("vue").PropType<
|
|
94
|
+
readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
|
|
74
95
|
readonly required: false;
|
|
75
96
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
76
97
|
__epPropKey: true;
|
|
77
98
|
};
|
|
78
99
|
for: StringConstructor;
|
|
79
|
-
inlineMessage:
|
|
80
|
-
|
|
100
|
+
inlineMessage: {
|
|
101
|
+
readonly type: import("vue").PropType<string | boolean>;
|
|
102
|
+
readonly required: false;
|
|
103
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
104
|
+
__epPropKey: true;
|
|
105
|
+
} & {
|
|
106
|
+
readonly default: "";
|
|
107
|
+
};
|
|
108
|
+
showMessage: {
|
|
109
|
+
readonly type: import("vue").PropType<boolean>;
|
|
110
|
+
readonly required: false;
|
|
111
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
112
|
+
__epPropKey: true;
|
|
113
|
+
} & {
|
|
114
|
+
readonly default: true;
|
|
115
|
+
};
|
|
81
116
|
};
|
|
82
117
|
export declare const emits: {
|
|
83
118
|
load: (e: import("vditor").default) => import("vditor").default;
|
|
@@ -23,7 +23,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
23
23
|
type: BooleanConstructor;
|
|
24
24
|
default: boolean;
|
|
25
25
|
};
|
|
26
|
-
required:
|
|
26
|
+
required: {
|
|
27
|
+
readonly type: import("vue").PropType<boolean>;
|
|
28
|
+
readonly required: false;
|
|
29
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
30
|
+
__epPropKey: true;
|
|
31
|
+
} & {
|
|
32
|
+
readonly default: undefined;
|
|
33
|
+
};
|
|
27
34
|
formItemSize: {
|
|
28
35
|
type: import("vue").PropType<"default" | "small" | "large">;
|
|
29
36
|
default: "default" | "small" | "large";
|
|
@@ -54,30 +61,58 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
54
61
|
default: boolean;
|
|
55
62
|
};
|
|
56
63
|
label: StringConstructor;
|
|
57
|
-
labelWidth:
|
|
58
|
-
|
|
64
|
+
labelWidth: {
|
|
65
|
+
readonly type: import("vue").PropType<string | number>;
|
|
66
|
+
readonly required: false;
|
|
67
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
68
|
+
__epPropKey: true;
|
|
69
|
+
} & {
|
|
70
|
+
readonly default: "";
|
|
71
|
+
};
|
|
72
|
+
labelPosition: {
|
|
73
|
+
readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
|
|
74
|
+
readonly required: false;
|
|
75
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
76
|
+
__epPropKey: true;
|
|
77
|
+
} & {
|
|
78
|
+
readonly default: "";
|
|
79
|
+
};
|
|
59
80
|
prop: {
|
|
60
|
-
readonly type: import("vue").PropType<import("element-plus
|
|
81
|
+
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
61
82
|
readonly required: false;
|
|
62
83
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
63
84
|
__epPropKey: true;
|
|
64
85
|
};
|
|
65
86
|
rules: {
|
|
66
|
-
readonly type: import("vue").PropType<
|
|
87
|
+
readonly type: import("vue").PropType<unknown>;
|
|
67
88
|
readonly required: false;
|
|
68
89
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
69
90
|
__epPropKey: true;
|
|
70
91
|
};
|
|
71
92
|
error: StringConstructor;
|
|
72
93
|
validateStatus: {
|
|
73
|
-
readonly type: import("vue").PropType<
|
|
94
|
+
readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
|
|
74
95
|
readonly required: false;
|
|
75
96
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
76
97
|
__epPropKey: true;
|
|
77
98
|
};
|
|
78
99
|
for: StringConstructor;
|
|
79
|
-
inlineMessage:
|
|
80
|
-
|
|
100
|
+
inlineMessage: {
|
|
101
|
+
readonly type: import("vue").PropType<string | boolean>;
|
|
102
|
+
readonly required: false;
|
|
103
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
104
|
+
__epPropKey: true;
|
|
105
|
+
} & {
|
|
106
|
+
readonly default: "";
|
|
107
|
+
};
|
|
108
|
+
showMessage: {
|
|
109
|
+
readonly type: import("vue").PropType<boolean>;
|
|
110
|
+
readonly required: false;
|
|
111
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
112
|
+
__epPropKey: true;
|
|
113
|
+
} & {
|
|
114
|
+
readonly default: true;
|
|
115
|
+
};
|
|
81
116
|
}>, {
|
|
82
117
|
formItemBindProps: import("vue").ComputedRef<{}>;
|
|
83
118
|
coreProps: import("vue").ComputedRef<{}>;
|
|
@@ -113,7 +148,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
113
148
|
type: BooleanConstructor;
|
|
114
149
|
default: boolean;
|
|
115
150
|
};
|
|
116
|
-
required:
|
|
151
|
+
required: {
|
|
152
|
+
readonly type: import("vue").PropType<boolean>;
|
|
153
|
+
readonly required: false;
|
|
154
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
155
|
+
__epPropKey: true;
|
|
156
|
+
} & {
|
|
157
|
+
readonly default: undefined;
|
|
158
|
+
};
|
|
117
159
|
formItemSize: {
|
|
118
160
|
type: import("vue").PropType<"default" | "small" | "large">;
|
|
119
161
|
default: "default" | "small" | "large";
|
|
@@ -144,37 +186,65 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
144
186
|
default: boolean;
|
|
145
187
|
};
|
|
146
188
|
label: StringConstructor;
|
|
147
|
-
labelWidth:
|
|
148
|
-
|
|
189
|
+
labelWidth: {
|
|
190
|
+
readonly type: import("vue").PropType<string | number>;
|
|
191
|
+
readonly required: false;
|
|
192
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
193
|
+
__epPropKey: true;
|
|
194
|
+
} & {
|
|
195
|
+
readonly default: "";
|
|
196
|
+
};
|
|
197
|
+
labelPosition: {
|
|
198
|
+
readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
|
|
199
|
+
readonly required: false;
|
|
200
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
201
|
+
__epPropKey: true;
|
|
202
|
+
} & {
|
|
203
|
+
readonly default: "";
|
|
204
|
+
};
|
|
149
205
|
prop: {
|
|
150
|
-
readonly type: import("vue").PropType<import("element-plus
|
|
206
|
+
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
151
207
|
readonly required: false;
|
|
152
208
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
153
209
|
__epPropKey: true;
|
|
154
210
|
};
|
|
155
211
|
rules: {
|
|
156
|
-
readonly type: import("vue").PropType<
|
|
212
|
+
readonly type: import("vue").PropType<unknown>;
|
|
157
213
|
readonly required: false;
|
|
158
214
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
159
215
|
__epPropKey: true;
|
|
160
216
|
};
|
|
161
217
|
error: StringConstructor;
|
|
162
218
|
validateStatus: {
|
|
163
|
-
readonly type: import("vue").PropType<
|
|
219
|
+
readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
|
|
164
220
|
readonly required: false;
|
|
165
221
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
166
222
|
__epPropKey: true;
|
|
167
223
|
};
|
|
168
224
|
for: StringConstructor;
|
|
169
|
-
inlineMessage:
|
|
170
|
-
|
|
225
|
+
inlineMessage: {
|
|
226
|
+
readonly type: import("vue").PropType<string | boolean>;
|
|
227
|
+
readonly required: false;
|
|
228
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
229
|
+
__epPropKey: true;
|
|
230
|
+
} & {
|
|
231
|
+
readonly default: "";
|
|
232
|
+
};
|
|
233
|
+
showMessage: {
|
|
234
|
+
readonly type: import("vue").PropType<boolean>;
|
|
235
|
+
readonly required: false;
|
|
236
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
237
|
+
__epPropKey: true;
|
|
238
|
+
} & {
|
|
239
|
+
readonly default: true;
|
|
240
|
+
};
|
|
171
241
|
}>> & Readonly<{
|
|
172
242
|
onLoad?: (e: import("vditor").default) => any;
|
|
173
243
|
"onUpdate:modelValue"?: (e: string) => any;
|
|
174
244
|
onCtrlEnter?: (e: string) => any;
|
|
175
245
|
"onUpdate:fullscreen"?: (e: boolean) => any;
|
|
176
246
|
}>, {
|
|
177
|
-
required:
|
|
247
|
+
required: boolean;
|
|
178
248
|
formItemSize: "default" | "small" | "large";
|
|
179
249
|
formItemSlots: import("@vunk/form/components/form-item/src/types").FormItemSlots;
|
|
180
250
|
inline: boolean;
|
|
@@ -183,10 +253,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
183
253
|
formItemTipClass: any;
|
|
184
254
|
labelTip: string;
|
|
185
255
|
information: boolean;
|
|
186
|
-
labelWidth:
|
|
187
|
-
labelPosition:
|
|
188
|
-
inlineMessage:
|
|
189
|
-
showMessage:
|
|
256
|
+
labelWidth: string | number;
|
|
257
|
+
labelPosition: "" | "top" | "left" | "right";
|
|
258
|
+
inlineMessage: string | boolean;
|
|
259
|
+
showMessage: boolean;
|
|
190
260
|
modelValue: string;
|
|
191
261
|
placeholder: string;
|
|
192
262
|
defaultOptions: IOptions;
|