@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
|
@@ -2,75 +2,163 @@ export declare const props: {
|
|
|
2
2
|
modelValue: any;
|
|
3
3
|
defaultModelValue: any;
|
|
4
4
|
ariaLabel: StringConstructor;
|
|
5
|
-
id:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
id: {
|
|
6
|
+
readonly type: import("vue").PropType<string>;
|
|
7
|
+
readonly required: false;
|
|
8
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
9
|
+
__epPropKey: true;
|
|
10
|
+
} & {
|
|
11
|
+
readonly default: undefined;
|
|
12
|
+
};
|
|
13
|
+
min: {
|
|
14
|
+
readonly type: import("vue").PropType<number>;
|
|
15
|
+
readonly required: false;
|
|
16
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
17
|
+
__epPropKey: true;
|
|
18
|
+
} & {
|
|
19
|
+
readonly default: 0;
|
|
20
|
+
};
|
|
21
|
+
max: {
|
|
22
|
+
readonly type: import("vue").PropType<number>;
|
|
23
|
+
readonly required: false;
|
|
24
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
25
|
+
__epPropKey: true;
|
|
26
|
+
} & {
|
|
27
|
+
readonly default: 100;
|
|
28
|
+
};
|
|
29
|
+
step: {
|
|
30
|
+
readonly type: import("vue").PropType<number>;
|
|
31
|
+
readonly required: false;
|
|
32
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
33
|
+
__epPropKey: true;
|
|
34
|
+
} & {
|
|
35
|
+
readonly default: 1;
|
|
36
|
+
};
|
|
9
37
|
showInput: BooleanConstructor;
|
|
10
|
-
showInputControls:
|
|
38
|
+
showInputControls: {
|
|
39
|
+
readonly type: import("vue").PropType<boolean>;
|
|
40
|
+
readonly required: false;
|
|
41
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
42
|
+
__epPropKey: true;
|
|
43
|
+
} & {
|
|
44
|
+
readonly default: true;
|
|
45
|
+
};
|
|
11
46
|
size: {
|
|
12
|
-
readonly type: import("vue").PropType<
|
|
47
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
13
48
|
readonly required: false;
|
|
14
49
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
15
50
|
__epPropKey: true;
|
|
16
51
|
};
|
|
17
52
|
inputSize: {
|
|
18
|
-
readonly type: import("vue").PropType<
|
|
53
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
19
54
|
readonly required: false;
|
|
20
55
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
21
56
|
__epPropKey: true;
|
|
22
57
|
};
|
|
23
58
|
showStops: BooleanConstructor;
|
|
24
|
-
showTooltip:
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
59
|
+
showTooltip: {
|
|
60
|
+
readonly type: import("vue").PropType<boolean>;
|
|
61
|
+
readonly required: false;
|
|
62
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
63
|
+
__epPropKey: true;
|
|
64
|
+
} & {
|
|
65
|
+
readonly default: true;
|
|
66
|
+
};
|
|
67
|
+
formatTooltip: {
|
|
68
|
+
readonly type: import("vue").PropType<(val: number) => number | string>;
|
|
69
|
+
readonly required: false;
|
|
70
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
71
|
+
__epPropKey: true;
|
|
72
|
+
} & {
|
|
73
|
+
readonly default: undefined;
|
|
74
|
+
};
|
|
34
75
|
disabled: BooleanConstructor;
|
|
35
76
|
range: BooleanConstructor;
|
|
36
77
|
vertical: BooleanConstructor;
|
|
37
78
|
height: StringConstructor;
|
|
38
|
-
debounce:
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
readonly
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
readonly
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
79
|
+
debounce: {
|
|
80
|
+
readonly type: import("vue").PropType<number>;
|
|
81
|
+
readonly required: false;
|
|
82
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
83
|
+
__epPropKey: true;
|
|
84
|
+
} & {
|
|
85
|
+
readonly default: 300;
|
|
86
|
+
};
|
|
87
|
+
rangeStartLabel: {
|
|
88
|
+
readonly type: import("vue").PropType<string>;
|
|
89
|
+
readonly required: false;
|
|
90
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
91
|
+
__epPropKey: true;
|
|
92
|
+
} & {
|
|
93
|
+
readonly default: undefined;
|
|
94
|
+
};
|
|
95
|
+
rangeEndLabel: {
|
|
96
|
+
readonly type: import("vue").PropType<string>;
|
|
97
|
+
readonly required: false;
|
|
98
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
99
|
+
__epPropKey: true;
|
|
100
|
+
} & {
|
|
101
|
+
readonly default: undefined;
|
|
102
|
+
};
|
|
103
|
+
formatValueText: {
|
|
104
|
+
readonly type: import("vue").PropType<(val: number) => string>;
|
|
105
|
+
readonly required: false;
|
|
106
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
107
|
+
__epPropKey: true;
|
|
108
|
+
} & {
|
|
109
|
+
readonly default: undefined;
|
|
110
|
+
};
|
|
111
|
+
tooltipClass: {
|
|
112
|
+
readonly type: import("vue").PropType<string>;
|
|
113
|
+
readonly required: false;
|
|
114
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
115
|
+
__epPropKey: true;
|
|
116
|
+
} & {
|
|
117
|
+
readonly default: undefined;
|
|
118
|
+
};
|
|
119
|
+
placement: {
|
|
120
|
+
readonly type: import("vue").PropType<import("element-plus").Placement>;
|
|
121
|
+
readonly required: false;
|
|
122
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
123
|
+
__epPropKey: true;
|
|
124
|
+
} & {
|
|
125
|
+
readonly default: "top";
|
|
126
|
+
};
|
|
52
127
|
marks: {
|
|
53
128
|
readonly type: import("vue").PropType<{
|
|
54
|
-
[x: number]:
|
|
55
|
-
style: import("vue").CSSProperties;
|
|
56
|
-
label: any;
|
|
57
|
-
}) | (() => string | {
|
|
129
|
+
[x: number]: string | {
|
|
58
130
|
style: import("vue").CSSProperties;
|
|
59
131
|
label: any;
|
|
60
|
-
}
|
|
61
|
-
style: import("vue").CSSProperties;
|
|
62
|
-
label: any;
|
|
63
|
-
}) | (() => string | {
|
|
64
|
-
style: import("vue").CSSProperties;
|
|
65
|
-
label: any;
|
|
66
|
-
}))[], unknown, unknown>;
|
|
132
|
+
};
|
|
67
133
|
}>;
|
|
68
134
|
readonly required: false;
|
|
69
135
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
70
136
|
__epPropKey: true;
|
|
71
137
|
};
|
|
72
|
-
validateEvent:
|
|
73
|
-
|
|
138
|
+
validateEvent: {
|
|
139
|
+
readonly type: import("vue").PropType<boolean>;
|
|
140
|
+
readonly required: false;
|
|
141
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
142
|
+
__epPropKey: true;
|
|
143
|
+
} & {
|
|
144
|
+
readonly default: true;
|
|
145
|
+
};
|
|
146
|
+
persistent: {
|
|
147
|
+
readonly type: import("vue").PropType<boolean>;
|
|
148
|
+
readonly required: false;
|
|
149
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
150
|
+
__epPropKey: true;
|
|
151
|
+
} & {
|
|
152
|
+
readonly default: true;
|
|
153
|
+
};
|
|
154
|
+
required: {
|
|
155
|
+
readonly type: import("vue").PropType<boolean>;
|
|
156
|
+
readonly required: false;
|
|
157
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
158
|
+
__epPropKey: true;
|
|
159
|
+
} & {
|
|
160
|
+
readonly default: undefined;
|
|
161
|
+
};
|
|
74
162
|
formItemSize: {
|
|
75
163
|
type: import("vue").PropType<"default" | "small" | "large">;
|
|
76
164
|
default: "default" | "small" | "large";
|
|
@@ -105,33 +193,61 @@ export declare const props: {
|
|
|
105
193
|
default: boolean;
|
|
106
194
|
};
|
|
107
195
|
label: StringConstructor;
|
|
108
|
-
labelWidth:
|
|
109
|
-
|
|
196
|
+
labelWidth: {
|
|
197
|
+
readonly type: import("vue").PropType<string | number>;
|
|
198
|
+
readonly required: false;
|
|
199
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
200
|
+
__epPropKey: true;
|
|
201
|
+
} & {
|
|
202
|
+
readonly default: "";
|
|
203
|
+
};
|
|
204
|
+
labelPosition: {
|
|
205
|
+
readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
|
|
206
|
+
readonly required: false;
|
|
207
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
208
|
+
__epPropKey: true;
|
|
209
|
+
} & {
|
|
210
|
+
readonly default: "";
|
|
211
|
+
};
|
|
110
212
|
prop: {
|
|
111
|
-
readonly type: import("vue").PropType<import("element-plus
|
|
213
|
+
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
112
214
|
readonly required: false;
|
|
113
215
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
114
216
|
__epPropKey: true;
|
|
115
217
|
};
|
|
116
218
|
rules: {
|
|
117
|
-
readonly type: import("vue").PropType<
|
|
219
|
+
readonly type: import("vue").PropType<unknown>;
|
|
118
220
|
readonly required: false;
|
|
119
221
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
120
222
|
__epPropKey: true;
|
|
121
223
|
};
|
|
122
224
|
error: StringConstructor;
|
|
123
225
|
validateStatus: {
|
|
124
|
-
readonly type: import("vue").PropType<
|
|
226
|
+
readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
|
|
125
227
|
readonly required: false;
|
|
126
228
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
127
229
|
__epPropKey: true;
|
|
128
230
|
};
|
|
129
231
|
for: StringConstructor;
|
|
130
|
-
inlineMessage:
|
|
131
|
-
|
|
232
|
+
inlineMessage: {
|
|
233
|
+
readonly type: import("vue").PropType<string | boolean>;
|
|
234
|
+
readonly required: false;
|
|
235
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
236
|
+
__epPropKey: true;
|
|
237
|
+
} & {
|
|
238
|
+
readonly default: "";
|
|
239
|
+
};
|
|
240
|
+
showMessage: {
|
|
241
|
+
readonly type: import("vue").PropType<boolean>;
|
|
242
|
+
readonly required: false;
|
|
243
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
244
|
+
__epPropKey: true;
|
|
245
|
+
} & {
|
|
246
|
+
readonly default: true;
|
|
247
|
+
};
|
|
132
248
|
};
|
|
133
249
|
export declare const emits: {
|
|
134
|
-
"update:modelValue": (value:
|
|
135
|
-
input: (value:
|
|
136
|
-
change: (value:
|
|
250
|
+
"update:modelValue": (value: number | number[]) => value is number | number[];
|
|
251
|
+
input: (value: number | number[]) => value is number | number[];
|
|
252
|
+
change: (value: number | number[]) => value is number | number[];
|
|
137
253
|
};
|