@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
|
@@ -7,43 +7,92 @@ export declare const props: {
|
|
|
7
7
|
disabled: BooleanConstructor;
|
|
8
8
|
loading: BooleanConstructor;
|
|
9
9
|
size: {
|
|
10
|
-
readonly type: import("vue").PropType<
|
|
10
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
11
11
|
readonly required: false;
|
|
12
12
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
13
13
|
__epPropKey: true;
|
|
14
14
|
};
|
|
15
|
-
width:
|
|
15
|
+
width: {
|
|
16
|
+
readonly type: import("vue").PropType<string | number>;
|
|
17
|
+
readonly required: false;
|
|
18
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
19
|
+
__epPropKey: true;
|
|
20
|
+
} & {
|
|
21
|
+
readonly default: "";
|
|
22
|
+
};
|
|
16
23
|
inlinePrompt: BooleanConstructor;
|
|
17
24
|
inactiveActionIcon: {
|
|
18
|
-
readonly type: import("vue").PropType<
|
|
25
|
+
readonly type: import("vue").PropType<unknown>;
|
|
19
26
|
readonly required: false;
|
|
20
27
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
21
28
|
__epPropKey: true;
|
|
22
29
|
};
|
|
23
30
|
activeActionIcon: {
|
|
24
|
-
readonly type: import("vue").PropType<
|
|
31
|
+
readonly type: import("vue").PropType<unknown>;
|
|
25
32
|
readonly required: false;
|
|
26
33
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
27
34
|
__epPropKey: true;
|
|
28
35
|
};
|
|
29
36
|
activeIcon: {
|
|
30
|
-
readonly type: import("vue").PropType<
|
|
37
|
+
readonly type: import("vue").PropType<unknown>;
|
|
31
38
|
readonly required: false;
|
|
32
39
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
33
40
|
__epPropKey: true;
|
|
34
41
|
};
|
|
35
42
|
inactiveIcon: {
|
|
36
|
-
readonly type: import("vue").PropType<
|
|
43
|
+
readonly type: import("vue").PropType<unknown>;
|
|
44
|
+
readonly required: false;
|
|
45
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
46
|
+
__epPropKey: true;
|
|
47
|
+
};
|
|
48
|
+
activeText: {
|
|
49
|
+
readonly type: import("vue").PropType<string>;
|
|
50
|
+
readonly required: false;
|
|
51
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
52
|
+
__epPropKey: true;
|
|
53
|
+
} & {
|
|
54
|
+
readonly default: "";
|
|
55
|
+
};
|
|
56
|
+
inactiveText: {
|
|
57
|
+
readonly type: import("vue").PropType<string>;
|
|
58
|
+
readonly required: false;
|
|
59
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
60
|
+
__epPropKey: true;
|
|
61
|
+
} & {
|
|
62
|
+
readonly default: "";
|
|
63
|
+
};
|
|
64
|
+
activeValue: {
|
|
65
|
+
readonly type: import("vue").PropType<string | number | boolean>;
|
|
66
|
+
readonly required: false;
|
|
67
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
68
|
+
__epPropKey: true;
|
|
69
|
+
} & {
|
|
70
|
+
readonly default: true;
|
|
71
|
+
};
|
|
72
|
+
inactiveValue: {
|
|
73
|
+
readonly type: import("vue").PropType<string | number | boolean>;
|
|
74
|
+
readonly required: false;
|
|
75
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
76
|
+
__epPropKey: true;
|
|
77
|
+
} & {
|
|
78
|
+
readonly default: false;
|
|
79
|
+
};
|
|
80
|
+
name: {
|
|
81
|
+
readonly type: import("vue").PropType<string>;
|
|
37
82
|
readonly required: false;
|
|
38
83
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
39
84
|
__epPropKey: true;
|
|
85
|
+
} & {
|
|
86
|
+
readonly default: "";
|
|
87
|
+
};
|
|
88
|
+
validateEvent: {
|
|
89
|
+
readonly type: import("vue").PropType<boolean>;
|
|
90
|
+
readonly required: false;
|
|
91
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
92
|
+
__epPropKey: true;
|
|
93
|
+
} & {
|
|
94
|
+
readonly default: true;
|
|
40
95
|
};
|
|
41
|
-
activeText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
42
|
-
inactiveText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
43
|
-
activeValue: import("element-plus/es/utils").EpPropFinalized<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown, true, boolean>;
|
|
44
|
-
inactiveValue: import("element-plus/es/utils").EpPropFinalized<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown, false, boolean>;
|
|
45
|
-
name: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
46
|
-
validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
47
96
|
beforeChange: {
|
|
48
97
|
readonly type: import("vue").PropType<() => Promise<boolean> | boolean>;
|
|
49
98
|
readonly required: false;
|
|
@@ -52,12 +101,19 @@ export declare const props: {
|
|
|
52
101
|
};
|
|
53
102
|
id: StringConstructor;
|
|
54
103
|
tabindex: {
|
|
55
|
-
readonly type: import("vue").PropType<
|
|
104
|
+
readonly type: import("vue").PropType<string | number>;
|
|
105
|
+
readonly required: false;
|
|
106
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
107
|
+
__epPropKey: true;
|
|
108
|
+
};
|
|
109
|
+
required: {
|
|
110
|
+
readonly type: import("vue").PropType<boolean>;
|
|
56
111
|
readonly required: false;
|
|
57
112
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
58
113
|
__epPropKey: true;
|
|
114
|
+
} & {
|
|
115
|
+
readonly default: undefined;
|
|
59
116
|
};
|
|
60
|
-
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
61
117
|
formItemSize: {
|
|
62
118
|
type: import("vue").PropType<"default" | "small" | "large">;
|
|
63
119
|
default: "default" | "small" | "large";
|
|
@@ -92,30 +148,58 @@ export declare const props: {
|
|
|
92
148
|
default: boolean;
|
|
93
149
|
};
|
|
94
150
|
label: StringConstructor;
|
|
95
|
-
labelWidth:
|
|
96
|
-
|
|
151
|
+
labelWidth: {
|
|
152
|
+
readonly type: import("vue").PropType<string | number>;
|
|
153
|
+
readonly required: false;
|
|
154
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
155
|
+
__epPropKey: true;
|
|
156
|
+
} & {
|
|
157
|
+
readonly default: "";
|
|
158
|
+
};
|
|
159
|
+
labelPosition: {
|
|
160
|
+
readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
|
|
161
|
+
readonly required: false;
|
|
162
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
163
|
+
__epPropKey: true;
|
|
164
|
+
} & {
|
|
165
|
+
readonly default: "";
|
|
166
|
+
};
|
|
97
167
|
prop: {
|
|
98
|
-
readonly type: import("vue").PropType<import("element-plus
|
|
168
|
+
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
99
169
|
readonly required: false;
|
|
100
170
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
101
171
|
__epPropKey: true;
|
|
102
172
|
};
|
|
103
173
|
rules: {
|
|
104
|
-
readonly type: import("vue").PropType<
|
|
174
|
+
readonly type: import("vue").PropType<unknown>;
|
|
105
175
|
readonly required: false;
|
|
106
176
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
107
177
|
__epPropKey: true;
|
|
108
178
|
};
|
|
109
179
|
error: StringConstructor;
|
|
110
180
|
validateStatus: {
|
|
111
|
-
readonly type: import("vue").PropType<
|
|
181
|
+
readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
|
|
112
182
|
readonly required: false;
|
|
113
183
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
114
184
|
__epPropKey: true;
|
|
115
185
|
};
|
|
116
186
|
for: StringConstructor;
|
|
117
|
-
inlineMessage:
|
|
118
|
-
|
|
187
|
+
inlineMessage: {
|
|
188
|
+
readonly type: import("vue").PropType<string | boolean>;
|
|
189
|
+
readonly required: false;
|
|
190
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
191
|
+
__epPropKey: true;
|
|
192
|
+
} & {
|
|
193
|
+
readonly default: "";
|
|
194
|
+
};
|
|
195
|
+
showMessage: {
|
|
196
|
+
readonly type: import("vue").PropType<boolean>;
|
|
197
|
+
readonly required: false;
|
|
198
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
199
|
+
__epPropKey: true;
|
|
200
|
+
} & {
|
|
201
|
+
readonly default: true;
|
|
202
|
+
};
|
|
119
203
|
};
|
|
120
204
|
export declare const emits: {
|
|
121
205
|
"update:modelValue": (val: boolean | string | number) => boolean;
|