@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
|
@@ -14,34 +14,90 @@ export declare const props: {
|
|
|
14
14
|
default: boolean;
|
|
15
15
|
};
|
|
16
16
|
size: {
|
|
17
|
-
readonly type:
|
|
17
|
+
readonly type: PropType<"" | "default" | "small" | "large">;
|
|
18
18
|
readonly required: false;
|
|
19
19
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
20
20
|
__epPropKey: true;
|
|
21
21
|
};
|
|
22
22
|
disabled: BooleanConstructor;
|
|
23
|
-
type:
|
|
23
|
+
type: {
|
|
24
|
+
readonly type: PropType<"" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger">;
|
|
25
|
+
readonly required: false;
|
|
26
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
27
|
+
__epPropKey: true;
|
|
28
|
+
} & {
|
|
29
|
+
readonly default: "";
|
|
30
|
+
};
|
|
24
31
|
icon: {
|
|
25
|
-
readonly type:
|
|
32
|
+
readonly type: PropType<unknown>;
|
|
33
|
+
readonly required: false;
|
|
34
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
35
|
+
__epPropKey: true;
|
|
36
|
+
};
|
|
37
|
+
nativeType: {
|
|
38
|
+
readonly type: PropType<"button" | "reset" | "submit">;
|
|
26
39
|
readonly required: false;
|
|
27
40
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
28
41
|
__epPropKey: true;
|
|
42
|
+
} & {
|
|
43
|
+
readonly default: "button";
|
|
29
44
|
};
|
|
30
|
-
nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
|
31
45
|
loading: BooleanConstructor;
|
|
32
|
-
loadingIcon:
|
|
33
|
-
|
|
46
|
+
loadingIcon: {
|
|
47
|
+
readonly type: PropType<unknown>;
|
|
48
|
+
readonly required: false;
|
|
49
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
50
|
+
__epPropKey: true;
|
|
51
|
+
} & {
|
|
52
|
+
readonly default: () => any;
|
|
53
|
+
};
|
|
54
|
+
plain: {
|
|
55
|
+
readonly type: PropType<boolean>;
|
|
56
|
+
readonly required: false;
|
|
57
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
58
|
+
__epPropKey: true;
|
|
59
|
+
} & {
|
|
60
|
+
readonly default: undefined;
|
|
61
|
+
};
|
|
34
62
|
text: BooleanConstructor;
|
|
35
63
|
link: BooleanConstructor;
|
|
36
64
|
bg: BooleanConstructor;
|
|
37
65
|
autofocus: BooleanConstructor;
|
|
38
|
-
round:
|
|
66
|
+
round: {
|
|
67
|
+
readonly type: PropType<boolean>;
|
|
68
|
+
readonly required: false;
|
|
69
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
70
|
+
__epPropKey: true;
|
|
71
|
+
} & {
|
|
72
|
+
readonly default: undefined;
|
|
73
|
+
};
|
|
39
74
|
circle: BooleanConstructor;
|
|
40
75
|
color: StringConstructor;
|
|
41
76
|
dark: BooleanConstructor;
|
|
42
|
-
autoInsertSpace:
|
|
43
|
-
|
|
44
|
-
|
|
77
|
+
autoInsertSpace: {
|
|
78
|
+
readonly type: PropType<boolean>;
|
|
79
|
+
readonly required: false;
|
|
80
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
81
|
+
__epPropKey: true;
|
|
82
|
+
} & {
|
|
83
|
+
readonly default: undefined;
|
|
84
|
+
};
|
|
85
|
+
tag: {
|
|
86
|
+
readonly type: PropType<unknown>;
|
|
87
|
+
readonly required: false;
|
|
88
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
89
|
+
__epPropKey: true;
|
|
90
|
+
} & {
|
|
91
|
+
readonly default: "button";
|
|
92
|
+
};
|
|
93
|
+
required: {
|
|
94
|
+
readonly type: PropType<boolean>;
|
|
95
|
+
readonly required: false;
|
|
96
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
97
|
+
__epPropKey: true;
|
|
98
|
+
} & {
|
|
99
|
+
readonly default: undefined;
|
|
100
|
+
};
|
|
45
101
|
formItemSize: {
|
|
46
102
|
type: PropType<"default" | "small" | "large">;
|
|
47
103
|
default: "default" | "small" | "large";
|
|
@@ -76,30 +132,58 @@ export declare const props: {
|
|
|
76
132
|
default: boolean;
|
|
77
133
|
};
|
|
78
134
|
label: StringConstructor;
|
|
79
|
-
labelWidth:
|
|
80
|
-
|
|
135
|
+
labelWidth: {
|
|
136
|
+
readonly type: PropType<string | number>;
|
|
137
|
+
readonly required: false;
|
|
138
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
139
|
+
__epPropKey: true;
|
|
140
|
+
} & {
|
|
141
|
+
readonly default: "";
|
|
142
|
+
};
|
|
143
|
+
labelPosition: {
|
|
144
|
+
readonly type: PropType<"" | "top" | "left" | "right">;
|
|
145
|
+
readonly required: false;
|
|
146
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
147
|
+
__epPropKey: true;
|
|
148
|
+
} & {
|
|
149
|
+
readonly default: "";
|
|
150
|
+
};
|
|
81
151
|
prop: {
|
|
82
|
-
readonly type:
|
|
152
|
+
readonly type: PropType<import("element-plus").FormItemProp>;
|
|
83
153
|
readonly required: false;
|
|
84
154
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
85
155
|
__epPropKey: true;
|
|
86
156
|
};
|
|
87
157
|
rules: {
|
|
88
|
-
readonly type:
|
|
158
|
+
readonly type: PropType<unknown>;
|
|
89
159
|
readonly required: false;
|
|
90
160
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
91
161
|
__epPropKey: true;
|
|
92
162
|
};
|
|
93
163
|
error: StringConstructor;
|
|
94
164
|
validateStatus: {
|
|
95
|
-
readonly type:
|
|
165
|
+
readonly type: PropType<"" | "error" | "success" | "validating">;
|
|
96
166
|
readonly required: false;
|
|
97
167
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
98
168
|
__epPropKey: true;
|
|
99
169
|
};
|
|
100
170
|
for: StringConstructor;
|
|
101
|
-
inlineMessage:
|
|
102
|
-
|
|
171
|
+
inlineMessage: {
|
|
172
|
+
readonly type: PropType<string | boolean>;
|
|
173
|
+
readonly required: false;
|
|
174
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
175
|
+
__epPropKey: true;
|
|
176
|
+
} & {
|
|
177
|
+
readonly default: "";
|
|
178
|
+
};
|
|
179
|
+
showMessage: {
|
|
180
|
+
readonly type: PropType<boolean>;
|
|
181
|
+
readonly required: false;
|
|
182
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
183
|
+
__epPropKey: true;
|
|
184
|
+
} & {
|
|
185
|
+
readonly default: true;
|
|
186
|
+
};
|
|
103
187
|
};
|
|
104
188
|
export declare const emits: {
|
|
105
189
|
click: (evt: MouseEvent) => boolean;
|