@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
|
@@ -5,95 +5,200 @@ export declare const datePickerProps: {
|
|
|
5
5
|
type: PropType<DatePickType>;
|
|
6
6
|
default: string;
|
|
7
7
|
};
|
|
8
|
-
showNow:
|
|
8
|
+
showNow: {
|
|
9
|
+
readonly type: PropType<boolean>;
|
|
10
|
+
readonly required: false;
|
|
11
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
12
|
+
__epPropKey: true;
|
|
13
|
+
} & {
|
|
14
|
+
readonly default: true;
|
|
15
|
+
};
|
|
9
16
|
ariaLabel: StringConstructor;
|
|
10
17
|
emptyValues: ArrayConstructor;
|
|
11
|
-
valueOnClear:
|
|
18
|
+
valueOnClear: {
|
|
19
|
+
readonly type: PropType<string | number | boolean | Function>;
|
|
20
|
+
readonly required: false;
|
|
21
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
22
|
+
__epPropKey: true;
|
|
23
|
+
} & {
|
|
24
|
+
readonly default: undefined;
|
|
25
|
+
};
|
|
12
26
|
disabledDate: {
|
|
13
|
-
readonly type:
|
|
27
|
+
readonly type: PropType<Function>;
|
|
14
28
|
readonly required: false;
|
|
15
29
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
16
30
|
__epPropKey: true;
|
|
17
31
|
};
|
|
18
32
|
cellClassName: {
|
|
19
|
-
readonly type:
|
|
33
|
+
readonly type: PropType<Function>;
|
|
20
34
|
readonly required: false;
|
|
21
35
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
22
36
|
__epPropKey: true;
|
|
23
37
|
};
|
|
24
|
-
shortcuts:
|
|
38
|
+
shortcuts: {
|
|
39
|
+
readonly type: PropType<unknown[]>;
|
|
40
|
+
readonly required: false;
|
|
41
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
42
|
+
__epPropKey: true;
|
|
43
|
+
} & {
|
|
44
|
+
readonly default: () => never[];
|
|
45
|
+
};
|
|
25
46
|
arrowControl: BooleanConstructor;
|
|
26
|
-
tabindex:
|
|
27
|
-
|
|
47
|
+
tabindex: {
|
|
48
|
+
readonly type: PropType<string | number>;
|
|
49
|
+
readonly required: false;
|
|
50
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
51
|
+
__epPropKey: true;
|
|
52
|
+
} & {
|
|
53
|
+
readonly default: 0;
|
|
54
|
+
};
|
|
55
|
+
validateEvent: {
|
|
56
|
+
readonly type: PropType<boolean>;
|
|
57
|
+
readonly required: false;
|
|
58
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
59
|
+
__epPropKey: true;
|
|
60
|
+
} & {
|
|
61
|
+
readonly default: true;
|
|
62
|
+
};
|
|
28
63
|
unlinkPanels: BooleanConstructor;
|
|
29
|
-
placement:
|
|
30
|
-
|
|
64
|
+
placement: {
|
|
65
|
+
readonly type: PropType<import("element-plus").Placement>;
|
|
66
|
+
readonly required: false;
|
|
67
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
68
|
+
__epPropKey: true;
|
|
69
|
+
} & {
|
|
70
|
+
readonly default: "bottom";
|
|
71
|
+
};
|
|
72
|
+
fallbackPlacements: {
|
|
73
|
+
readonly type: PropType<import("element-plus").Placement[]>;
|
|
74
|
+
readonly required: false;
|
|
75
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
76
|
+
__epPropKey: true;
|
|
77
|
+
} & {
|
|
78
|
+
readonly default: readonly ["bottom", "top", "right", "left"];
|
|
79
|
+
};
|
|
31
80
|
disabledHours: {
|
|
32
|
-
readonly type:
|
|
81
|
+
readonly type: PropType<import("element-plus").GetDisabledHours>;
|
|
33
82
|
readonly required: false;
|
|
34
83
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
35
84
|
__epPropKey: true;
|
|
36
85
|
};
|
|
37
86
|
disabledMinutes: {
|
|
38
|
-
readonly type:
|
|
87
|
+
readonly type: PropType<import("element-plus").GetDisabledMinutes>;
|
|
39
88
|
readonly required: false;
|
|
40
89
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
41
90
|
__epPropKey: true;
|
|
42
91
|
};
|
|
43
92
|
disabledSeconds: {
|
|
44
|
-
readonly type:
|
|
93
|
+
readonly type: PropType<import("element-plus").GetDisabledSeconds>;
|
|
45
94
|
readonly required: false;
|
|
46
95
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
47
96
|
__epPropKey: true;
|
|
48
97
|
};
|
|
49
98
|
id: {
|
|
50
|
-
readonly type:
|
|
99
|
+
readonly type: PropType<import("element-plus").SingleOrRange<string>>;
|
|
51
100
|
readonly required: false;
|
|
52
101
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
53
102
|
__epPropKey: true;
|
|
54
103
|
};
|
|
55
104
|
name: {
|
|
56
|
-
readonly type:
|
|
105
|
+
readonly type: PropType<import("element-plus").SingleOrRange<string>>;
|
|
106
|
+
readonly required: false;
|
|
107
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
108
|
+
__epPropKey: true;
|
|
109
|
+
};
|
|
110
|
+
popperClass: {
|
|
111
|
+
readonly type: PropType<string>;
|
|
57
112
|
readonly required: false;
|
|
58
113
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
59
114
|
__epPropKey: true;
|
|
115
|
+
} & {
|
|
116
|
+
readonly default: "";
|
|
60
117
|
};
|
|
61
|
-
popperClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
62
118
|
format: StringConstructor;
|
|
63
119
|
valueFormat: StringConstructor;
|
|
64
120
|
dateFormat: StringConstructor;
|
|
65
121
|
timeFormat: StringConstructor;
|
|
66
|
-
clearable:
|
|
122
|
+
clearable: {
|
|
123
|
+
readonly type: PropType<boolean>;
|
|
124
|
+
readonly required: false;
|
|
125
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
126
|
+
__epPropKey: true;
|
|
127
|
+
} & {
|
|
128
|
+
readonly default: true;
|
|
129
|
+
};
|
|
67
130
|
clearIcon: {
|
|
68
|
-
readonly type:
|
|
131
|
+
readonly type: PropType<unknown>;
|
|
69
132
|
readonly required: false;
|
|
70
133
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
71
134
|
__epPropKey: true;
|
|
72
135
|
};
|
|
73
|
-
editable:
|
|
74
|
-
|
|
136
|
+
editable: {
|
|
137
|
+
readonly type: PropType<boolean>;
|
|
138
|
+
readonly required: false;
|
|
139
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
140
|
+
__epPropKey: true;
|
|
141
|
+
} & {
|
|
142
|
+
readonly default: true;
|
|
143
|
+
};
|
|
144
|
+
prefixIcon: {
|
|
145
|
+
readonly type: PropType<unknown>;
|
|
146
|
+
readonly required: false;
|
|
147
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
148
|
+
__epPropKey: true;
|
|
149
|
+
} & {
|
|
150
|
+
readonly default: "";
|
|
151
|
+
};
|
|
75
152
|
size: {
|
|
76
|
-
readonly type:
|
|
153
|
+
readonly type: PropType<"" | "default" | "small" | "large">;
|
|
77
154
|
readonly required: false;
|
|
78
155
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
79
156
|
__epPropKey: true;
|
|
80
157
|
};
|
|
81
158
|
readonly: BooleanConstructor;
|
|
82
159
|
disabled: BooleanConstructor;
|
|
83
|
-
placeholder:
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
160
|
+
placeholder: {
|
|
161
|
+
readonly type: PropType<string>;
|
|
162
|
+
readonly required: false;
|
|
163
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
164
|
+
__epPropKey: true;
|
|
165
|
+
} & {
|
|
166
|
+
readonly default: "";
|
|
167
|
+
};
|
|
168
|
+
popperOptions: {
|
|
169
|
+
readonly type: PropType<Partial<import("element-plus").Options>>;
|
|
170
|
+
readonly required: false;
|
|
171
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
172
|
+
__epPropKey: true;
|
|
173
|
+
} & {
|
|
174
|
+
readonly default: () => {};
|
|
175
|
+
};
|
|
176
|
+
modelValue: {
|
|
177
|
+
readonly type: PropType<import("element-plus").ModelValueType>;
|
|
178
|
+
readonly required: false;
|
|
179
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
180
|
+
__epPropKey: true;
|
|
181
|
+
} & {
|
|
182
|
+
readonly default: "";
|
|
183
|
+
};
|
|
184
|
+
rangeSeparator: {
|
|
185
|
+
readonly type: PropType<string>;
|
|
186
|
+
readonly required: false;
|
|
187
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
188
|
+
__epPropKey: true;
|
|
189
|
+
} & {
|
|
190
|
+
readonly default: "-";
|
|
191
|
+
};
|
|
87
192
|
startPlaceholder: StringConstructor;
|
|
88
193
|
endPlaceholder: StringConstructor;
|
|
89
194
|
defaultValue: {
|
|
90
|
-
readonly type:
|
|
195
|
+
readonly type: PropType<import("element-plus").SingleOrRange<Date>>;
|
|
91
196
|
readonly required: false;
|
|
92
197
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
93
198
|
__epPropKey: true;
|
|
94
199
|
};
|
|
95
200
|
defaultTime: {
|
|
96
|
-
readonly type:
|
|
201
|
+
readonly type: PropType<import("element-plus").SingleOrRange<Date>>;
|
|
97
202
|
readonly required: false;
|
|
98
203
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
99
204
|
__epPropKey: true;
|
|
@@ -166,7 +271,14 @@ export declare const selectProps: {
|
|
|
166
271
|
type: BooleanConstructor;
|
|
167
272
|
default: boolean;
|
|
168
273
|
};
|
|
169
|
-
teleported:
|
|
274
|
+
teleported: {
|
|
275
|
+
readonly type: PropType<boolean>;
|
|
276
|
+
readonly required: false;
|
|
277
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
278
|
+
__epPropKey: true;
|
|
279
|
+
} & {
|
|
280
|
+
readonly default: true;
|
|
281
|
+
};
|
|
170
282
|
persistent: {
|
|
171
283
|
type: BooleanConstructor;
|
|
172
284
|
default: boolean;
|
|
@@ -185,7 +297,7 @@ export declare const selectProps: {
|
|
|
185
297
|
};
|
|
186
298
|
tagType: {
|
|
187
299
|
default: string;
|
|
188
|
-
type: PropType<
|
|
300
|
+
type: PropType<"success" | "primary" | "warning" | "info" | "danger">;
|
|
189
301
|
required: false;
|
|
190
302
|
validator: ((val: unknown) => boolean) | undefined;
|
|
191
303
|
__epPropKey: true;
|