@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
|
@@ -63,7 +63,14 @@ export declare const props: {
|
|
|
63
63
|
type: import("vue").PropType<import("@vunk/form/components/input/src/types").InputSlots>;
|
|
64
64
|
default: any;
|
|
65
65
|
};
|
|
66
|
-
required:
|
|
66
|
+
required: {
|
|
67
|
+
readonly type: import("vue").PropType<boolean>;
|
|
68
|
+
readonly required: false;
|
|
69
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
70
|
+
__epPropKey: true;
|
|
71
|
+
} & {
|
|
72
|
+
readonly default: undefined;
|
|
73
|
+
};
|
|
67
74
|
formItemSize: {
|
|
68
75
|
type: import("vue").PropType<"default" | "small" | "large">;
|
|
69
76
|
default: "default" | "small" | "large";
|
|
@@ -93,53 +100,96 @@ export declare const props: {
|
|
|
93
100
|
type: BooleanConstructor;
|
|
94
101
|
default: boolean;
|
|
95
102
|
};
|
|
96
|
-
labelWidth:
|
|
97
|
-
|
|
103
|
+
labelWidth: {
|
|
104
|
+
readonly type: import("vue").PropType<string | number>;
|
|
105
|
+
readonly required: false;
|
|
106
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
107
|
+
__epPropKey: true;
|
|
108
|
+
} & {
|
|
109
|
+
readonly default: "";
|
|
110
|
+
};
|
|
111
|
+
labelPosition: {
|
|
112
|
+
readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
|
|
113
|
+
readonly required: false;
|
|
114
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
115
|
+
__epPropKey: true;
|
|
116
|
+
} & {
|
|
117
|
+
readonly default: "";
|
|
118
|
+
};
|
|
98
119
|
prop: {
|
|
99
|
-
readonly type: import("vue").PropType<import("element-plus
|
|
120
|
+
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
100
121
|
readonly required: false;
|
|
101
122
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
102
123
|
__epPropKey: true;
|
|
103
124
|
};
|
|
104
125
|
rules: {
|
|
105
|
-
readonly type: import("vue").PropType<
|
|
126
|
+
readonly type: import("vue").PropType<unknown>;
|
|
106
127
|
readonly required: false;
|
|
107
128
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
108
129
|
__epPropKey: true;
|
|
109
130
|
};
|
|
110
131
|
error: StringConstructor;
|
|
111
132
|
validateStatus: {
|
|
112
|
-
readonly type: import("vue").PropType<
|
|
133
|
+
readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
|
|
113
134
|
readonly required: false;
|
|
114
135
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
115
136
|
__epPropKey: true;
|
|
116
137
|
};
|
|
117
138
|
for: StringConstructor;
|
|
118
|
-
inlineMessage:
|
|
119
|
-
|
|
139
|
+
inlineMessage: {
|
|
140
|
+
readonly type: import("vue").PropType<string | boolean>;
|
|
141
|
+
readonly required: false;
|
|
142
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
143
|
+
__epPropKey: true;
|
|
144
|
+
} & {
|
|
145
|
+
readonly default: "";
|
|
146
|
+
};
|
|
147
|
+
showMessage: {
|
|
148
|
+
readonly type: import("vue").PropType<boolean>;
|
|
149
|
+
readonly required: false;
|
|
150
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
151
|
+
__epPropKey: true;
|
|
152
|
+
} & {
|
|
153
|
+
readonly default: true;
|
|
154
|
+
};
|
|
120
155
|
ariaLabel: StringConstructor;
|
|
121
|
-
id:
|
|
156
|
+
id: {
|
|
157
|
+
readonly type: import("vue").PropType<string>;
|
|
158
|
+
readonly required: false;
|
|
159
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
160
|
+
__epPropKey: true;
|
|
161
|
+
} & {
|
|
162
|
+
readonly default: undefined;
|
|
163
|
+
};
|
|
122
164
|
size: {
|
|
123
|
-
readonly type: import("vue").PropType<
|
|
165
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
124
166
|
readonly required: false;
|
|
125
167
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
126
168
|
__epPropKey: true;
|
|
127
169
|
};
|
|
128
170
|
disabled: BooleanConstructor;
|
|
129
171
|
resize: {
|
|
130
|
-
readonly type: import("vue").PropType<
|
|
172
|
+
readonly type: import("vue").PropType<"none" | "horizontal" | "vertical" | "both">;
|
|
131
173
|
readonly required: false;
|
|
132
174
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
133
175
|
__epPropKey: true;
|
|
134
176
|
};
|
|
135
|
-
autosize:
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
177
|
+
autosize: {
|
|
178
|
+
readonly type: import("vue").PropType<unknown>;
|
|
179
|
+
readonly required: false;
|
|
180
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
181
|
+
__epPropKey: true;
|
|
182
|
+
} & {
|
|
183
|
+
readonly default: false;
|
|
184
|
+
};
|
|
185
|
+
autocomplete: {
|
|
186
|
+
readonly type: import("vue").PropType<string>;
|
|
187
|
+
readonly required: false;
|
|
188
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
189
|
+
__epPropKey: true;
|
|
190
|
+
} & {
|
|
191
|
+
readonly default: "off";
|
|
192
|
+
};
|
|
143
193
|
formatter: {
|
|
144
194
|
readonly type: import("vue").PropType<Function>;
|
|
145
195
|
readonly required: false;
|
|
@@ -162,21 +212,49 @@ export declare const props: {
|
|
|
162
212
|
showPassword: BooleanConstructor;
|
|
163
213
|
showWordLimit: BooleanConstructor;
|
|
164
214
|
suffixIcon: {
|
|
165
|
-
readonly type: import("vue").PropType<
|
|
215
|
+
readonly type: import("vue").PropType<unknown>;
|
|
166
216
|
readonly required: false;
|
|
167
217
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
168
218
|
__epPropKey: true;
|
|
169
219
|
};
|
|
170
220
|
prefixIcon: {
|
|
171
|
-
readonly type: import("vue").PropType<
|
|
221
|
+
readonly type: import("vue").PropType<unknown>;
|
|
222
|
+
readonly required: false;
|
|
223
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
224
|
+
__epPropKey: true;
|
|
225
|
+
};
|
|
226
|
+
containerRole: {
|
|
227
|
+
readonly type: import("vue").PropType<string>;
|
|
228
|
+
readonly required: false;
|
|
229
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
230
|
+
__epPropKey: true;
|
|
231
|
+
} & {
|
|
232
|
+
readonly default: undefined;
|
|
233
|
+
};
|
|
234
|
+
tabindex: {
|
|
235
|
+
readonly type: import("vue").PropType<string | number>;
|
|
236
|
+
readonly required: false;
|
|
237
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
238
|
+
__epPropKey: true;
|
|
239
|
+
} & {
|
|
240
|
+
readonly default: 0;
|
|
241
|
+
};
|
|
242
|
+
validateEvent: {
|
|
243
|
+
readonly type: import("vue").PropType<boolean>;
|
|
244
|
+
readonly required: false;
|
|
245
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
246
|
+
__epPropKey: true;
|
|
247
|
+
} & {
|
|
248
|
+
readonly default: true;
|
|
249
|
+
};
|
|
250
|
+
inputStyle: {
|
|
251
|
+
readonly type: import("vue").PropType<import("vue").StyleValue>;
|
|
172
252
|
readonly required: false;
|
|
173
253
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
174
254
|
__epPropKey: true;
|
|
255
|
+
} & {
|
|
256
|
+
readonly default: () => {};
|
|
175
257
|
};
|
|
176
|
-
containerRole: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
177
|
-
tabindex: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
|
|
178
|
-
validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
179
|
-
inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
180
258
|
autofocus: BooleanConstructor;
|
|
181
259
|
};
|
|
182
260
|
export declare const emits: {
|
|
@@ -52,7 +52,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
52
52
|
type: import("vue").PropType<import("@vunk/form/components/input/src/types").InputSlots>;
|
|
53
53
|
default: any;
|
|
54
54
|
};
|
|
55
|
-
required:
|
|
55
|
+
required: {
|
|
56
|
+
readonly type: import("vue").PropType<boolean>;
|
|
57
|
+
readonly required: false;
|
|
58
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
59
|
+
__epPropKey: true;
|
|
60
|
+
} & {
|
|
61
|
+
readonly default: undefined;
|
|
62
|
+
};
|
|
56
63
|
formItemSize: {
|
|
57
64
|
type: import("vue").PropType<"default" | "small" | "large">;
|
|
58
65
|
default: "default" | "small" | "large";
|
|
@@ -82,53 +89,96 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
82
89
|
type: BooleanConstructor;
|
|
83
90
|
default: boolean;
|
|
84
91
|
};
|
|
85
|
-
labelWidth:
|
|
86
|
-
|
|
92
|
+
labelWidth: {
|
|
93
|
+
readonly type: import("vue").PropType<string | number>;
|
|
94
|
+
readonly required: false;
|
|
95
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
96
|
+
__epPropKey: true;
|
|
97
|
+
} & {
|
|
98
|
+
readonly default: "";
|
|
99
|
+
};
|
|
100
|
+
labelPosition: {
|
|
101
|
+
readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
|
|
102
|
+
readonly required: false;
|
|
103
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
104
|
+
__epPropKey: true;
|
|
105
|
+
} & {
|
|
106
|
+
readonly default: "";
|
|
107
|
+
};
|
|
87
108
|
prop: {
|
|
88
|
-
readonly type: import("vue").PropType<import("element-plus
|
|
109
|
+
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
89
110
|
readonly required: false;
|
|
90
111
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
91
112
|
__epPropKey: true;
|
|
92
113
|
};
|
|
93
114
|
rules: {
|
|
94
|
-
readonly type: import("vue").PropType<
|
|
115
|
+
readonly type: import("vue").PropType<unknown>;
|
|
95
116
|
readonly required: false;
|
|
96
117
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
97
118
|
__epPropKey: true;
|
|
98
119
|
};
|
|
99
120
|
error: StringConstructor;
|
|
100
121
|
validateStatus: {
|
|
101
|
-
readonly type: import("vue").PropType<
|
|
122
|
+
readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
|
|
102
123
|
readonly required: false;
|
|
103
124
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
104
125
|
__epPropKey: true;
|
|
105
126
|
};
|
|
106
127
|
for: StringConstructor;
|
|
107
|
-
inlineMessage:
|
|
108
|
-
|
|
128
|
+
inlineMessage: {
|
|
129
|
+
readonly type: import("vue").PropType<string | boolean>;
|
|
130
|
+
readonly required: false;
|
|
131
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
132
|
+
__epPropKey: true;
|
|
133
|
+
} & {
|
|
134
|
+
readonly default: "";
|
|
135
|
+
};
|
|
136
|
+
showMessage: {
|
|
137
|
+
readonly type: import("vue").PropType<boolean>;
|
|
138
|
+
readonly required: false;
|
|
139
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
140
|
+
__epPropKey: true;
|
|
141
|
+
} & {
|
|
142
|
+
readonly default: true;
|
|
143
|
+
};
|
|
109
144
|
ariaLabel: StringConstructor;
|
|
110
|
-
id:
|
|
145
|
+
id: {
|
|
146
|
+
readonly type: import("vue").PropType<string>;
|
|
147
|
+
readonly required: false;
|
|
148
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
149
|
+
__epPropKey: true;
|
|
150
|
+
} & {
|
|
151
|
+
readonly default: undefined;
|
|
152
|
+
};
|
|
111
153
|
size: {
|
|
112
|
-
readonly type: import("vue").PropType<
|
|
154
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
113
155
|
readonly required: false;
|
|
114
156
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
115
157
|
__epPropKey: true;
|
|
116
158
|
};
|
|
117
159
|
disabled: BooleanConstructor;
|
|
118
160
|
resize: {
|
|
119
|
-
readonly type: import("vue").PropType<
|
|
161
|
+
readonly type: import("vue").PropType<"none" | "horizontal" | "vertical" | "both">;
|
|
162
|
+
readonly required: false;
|
|
163
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
164
|
+
__epPropKey: true;
|
|
165
|
+
};
|
|
166
|
+
autosize: {
|
|
167
|
+
readonly type: import("vue").PropType<unknown>;
|
|
120
168
|
readonly required: false;
|
|
121
169
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
122
170
|
__epPropKey: true;
|
|
171
|
+
} & {
|
|
172
|
+
readonly default: false;
|
|
173
|
+
};
|
|
174
|
+
autocomplete: {
|
|
175
|
+
readonly type: import("vue").PropType<string>;
|
|
176
|
+
readonly required: false;
|
|
177
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
178
|
+
__epPropKey: true;
|
|
179
|
+
} & {
|
|
180
|
+
readonly default: "off";
|
|
123
181
|
};
|
|
124
|
-
autosize: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => boolean | {
|
|
125
|
-
minRows?: number;
|
|
126
|
-
maxRows?: number;
|
|
127
|
-
}) | (() => import("element-plus").InputAutoSize) | ((new (...args: any[]) => boolean | {
|
|
128
|
-
minRows?: number;
|
|
129
|
-
maxRows?: number;
|
|
130
|
-
}) | (() => import("element-plus").InputAutoSize))[], unknown, unknown, false, boolean>;
|
|
131
|
-
autocomplete: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "off", boolean>;
|
|
132
182
|
formatter: {
|
|
133
183
|
readonly type: import("vue").PropType<Function>;
|
|
134
184
|
readonly required: false;
|
|
@@ -151,21 +201,49 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
151
201
|
showPassword: BooleanConstructor;
|
|
152
202
|
showWordLimit: BooleanConstructor;
|
|
153
203
|
suffixIcon: {
|
|
154
|
-
readonly type: import("vue").PropType<
|
|
204
|
+
readonly type: import("vue").PropType<unknown>;
|
|
155
205
|
readonly required: false;
|
|
156
206
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
157
207
|
__epPropKey: true;
|
|
158
208
|
};
|
|
159
209
|
prefixIcon: {
|
|
160
|
-
readonly type: import("vue").PropType<
|
|
210
|
+
readonly type: import("vue").PropType<unknown>;
|
|
211
|
+
readonly required: false;
|
|
212
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
213
|
+
__epPropKey: true;
|
|
214
|
+
};
|
|
215
|
+
containerRole: {
|
|
216
|
+
readonly type: import("vue").PropType<string>;
|
|
217
|
+
readonly required: false;
|
|
218
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
219
|
+
__epPropKey: true;
|
|
220
|
+
} & {
|
|
221
|
+
readonly default: undefined;
|
|
222
|
+
};
|
|
223
|
+
tabindex: {
|
|
224
|
+
readonly type: import("vue").PropType<string | number>;
|
|
161
225
|
readonly required: false;
|
|
162
226
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
163
227
|
__epPropKey: true;
|
|
228
|
+
} & {
|
|
229
|
+
readonly default: 0;
|
|
230
|
+
};
|
|
231
|
+
validateEvent: {
|
|
232
|
+
readonly type: import("vue").PropType<boolean>;
|
|
233
|
+
readonly required: false;
|
|
234
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
235
|
+
__epPropKey: true;
|
|
236
|
+
} & {
|
|
237
|
+
readonly default: true;
|
|
238
|
+
};
|
|
239
|
+
inputStyle: {
|
|
240
|
+
readonly type: import("vue").PropType<import("vue").StyleValue>;
|
|
241
|
+
readonly required: false;
|
|
242
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
243
|
+
__epPropKey: true;
|
|
244
|
+
} & {
|
|
245
|
+
readonly default: () => {};
|
|
164
246
|
};
|
|
165
|
-
containerRole: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
166
|
-
tabindex: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
|
|
167
|
-
validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
168
|
-
inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
169
247
|
autofocus: BooleanConstructor;
|
|
170
248
|
}>, {
|
|
171
249
|
coreProps: import("vue").ComputedRef<{}>;
|
|
@@ -241,7 +319,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
241
319
|
type: import("vue").PropType<import("@vunk/form/components/input/src/types").InputSlots>;
|
|
242
320
|
default: any;
|
|
243
321
|
};
|
|
244
|
-
required:
|
|
322
|
+
required: {
|
|
323
|
+
readonly type: import("vue").PropType<boolean>;
|
|
324
|
+
readonly required: false;
|
|
325
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
326
|
+
__epPropKey: true;
|
|
327
|
+
} & {
|
|
328
|
+
readonly default: undefined;
|
|
329
|
+
};
|
|
245
330
|
formItemSize: {
|
|
246
331
|
type: import("vue").PropType<"default" | "small" | "large">;
|
|
247
332
|
default: "default" | "small" | "large";
|
|
@@ -271,53 +356,96 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
271
356
|
type: BooleanConstructor;
|
|
272
357
|
default: boolean;
|
|
273
358
|
};
|
|
274
|
-
labelWidth:
|
|
275
|
-
|
|
359
|
+
labelWidth: {
|
|
360
|
+
readonly type: import("vue").PropType<string | number>;
|
|
361
|
+
readonly required: false;
|
|
362
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
363
|
+
__epPropKey: true;
|
|
364
|
+
} & {
|
|
365
|
+
readonly default: "";
|
|
366
|
+
};
|
|
367
|
+
labelPosition: {
|
|
368
|
+
readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
|
|
369
|
+
readonly required: false;
|
|
370
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
371
|
+
__epPropKey: true;
|
|
372
|
+
} & {
|
|
373
|
+
readonly default: "";
|
|
374
|
+
};
|
|
276
375
|
prop: {
|
|
277
|
-
readonly type: import("vue").PropType<import("element-plus
|
|
376
|
+
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
278
377
|
readonly required: false;
|
|
279
378
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
280
379
|
__epPropKey: true;
|
|
281
380
|
};
|
|
282
381
|
rules: {
|
|
283
|
-
readonly type: import("vue").PropType<
|
|
382
|
+
readonly type: import("vue").PropType<unknown>;
|
|
284
383
|
readonly required: false;
|
|
285
384
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
286
385
|
__epPropKey: true;
|
|
287
386
|
};
|
|
288
387
|
error: StringConstructor;
|
|
289
388
|
validateStatus: {
|
|
290
|
-
readonly type: import("vue").PropType<
|
|
389
|
+
readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
|
|
291
390
|
readonly required: false;
|
|
292
391
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
293
392
|
__epPropKey: true;
|
|
294
393
|
};
|
|
295
394
|
for: StringConstructor;
|
|
296
|
-
inlineMessage:
|
|
297
|
-
|
|
395
|
+
inlineMessage: {
|
|
396
|
+
readonly type: import("vue").PropType<string | boolean>;
|
|
397
|
+
readonly required: false;
|
|
398
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
399
|
+
__epPropKey: true;
|
|
400
|
+
} & {
|
|
401
|
+
readonly default: "";
|
|
402
|
+
};
|
|
403
|
+
showMessage: {
|
|
404
|
+
readonly type: import("vue").PropType<boolean>;
|
|
405
|
+
readonly required: false;
|
|
406
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
407
|
+
__epPropKey: true;
|
|
408
|
+
} & {
|
|
409
|
+
readonly default: true;
|
|
410
|
+
};
|
|
298
411
|
ariaLabel: StringConstructor;
|
|
299
|
-
id:
|
|
412
|
+
id: {
|
|
413
|
+
readonly type: import("vue").PropType<string>;
|
|
414
|
+
readonly required: false;
|
|
415
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
416
|
+
__epPropKey: true;
|
|
417
|
+
} & {
|
|
418
|
+
readonly default: undefined;
|
|
419
|
+
};
|
|
300
420
|
size: {
|
|
301
|
-
readonly type: import("vue").PropType<
|
|
421
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
302
422
|
readonly required: false;
|
|
303
423
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
304
424
|
__epPropKey: true;
|
|
305
425
|
};
|
|
306
426
|
disabled: BooleanConstructor;
|
|
307
427
|
resize: {
|
|
308
|
-
readonly type: import("vue").PropType<
|
|
428
|
+
readonly type: import("vue").PropType<"none" | "horizontal" | "vertical" | "both">;
|
|
429
|
+
readonly required: false;
|
|
430
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
431
|
+
__epPropKey: true;
|
|
432
|
+
};
|
|
433
|
+
autosize: {
|
|
434
|
+
readonly type: import("vue").PropType<unknown>;
|
|
309
435
|
readonly required: false;
|
|
310
436
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
311
437
|
__epPropKey: true;
|
|
438
|
+
} & {
|
|
439
|
+
readonly default: false;
|
|
440
|
+
};
|
|
441
|
+
autocomplete: {
|
|
442
|
+
readonly type: import("vue").PropType<string>;
|
|
443
|
+
readonly required: false;
|
|
444
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
445
|
+
__epPropKey: true;
|
|
446
|
+
} & {
|
|
447
|
+
readonly default: "off";
|
|
312
448
|
};
|
|
313
|
-
autosize: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => boolean | {
|
|
314
|
-
minRows?: number;
|
|
315
|
-
maxRows?: number;
|
|
316
|
-
}) | (() => import("element-plus").InputAutoSize) | ((new (...args: any[]) => boolean | {
|
|
317
|
-
minRows?: number;
|
|
318
|
-
maxRows?: number;
|
|
319
|
-
}) | (() => import("element-plus").InputAutoSize))[], unknown, unknown, false, boolean>;
|
|
320
|
-
autocomplete: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "off", boolean>;
|
|
321
449
|
formatter: {
|
|
322
450
|
readonly type: import("vue").PropType<Function>;
|
|
323
451
|
readonly required: false;
|
|
@@ -340,38 +468,66 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
340
468
|
showPassword: BooleanConstructor;
|
|
341
469
|
showWordLimit: BooleanConstructor;
|
|
342
470
|
suffixIcon: {
|
|
343
|
-
readonly type: import("vue").PropType<
|
|
471
|
+
readonly type: import("vue").PropType<unknown>;
|
|
344
472
|
readonly required: false;
|
|
345
473
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
346
474
|
__epPropKey: true;
|
|
347
475
|
};
|
|
348
476
|
prefixIcon: {
|
|
349
|
-
readonly type: import("vue").PropType<
|
|
477
|
+
readonly type: import("vue").PropType<unknown>;
|
|
350
478
|
readonly required: false;
|
|
351
479
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
352
480
|
__epPropKey: true;
|
|
353
481
|
};
|
|
354
|
-
containerRole:
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
482
|
+
containerRole: {
|
|
483
|
+
readonly type: import("vue").PropType<string>;
|
|
484
|
+
readonly required: false;
|
|
485
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
486
|
+
__epPropKey: true;
|
|
487
|
+
} & {
|
|
488
|
+
readonly default: undefined;
|
|
489
|
+
};
|
|
490
|
+
tabindex: {
|
|
491
|
+
readonly type: import("vue").PropType<string | number>;
|
|
492
|
+
readonly required: false;
|
|
493
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
494
|
+
__epPropKey: true;
|
|
495
|
+
} & {
|
|
496
|
+
readonly default: 0;
|
|
497
|
+
};
|
|
498
|
+
validateEvent: {
|
|
499
|
+
readonly type: import("vue").PropType<boolean>;
|
|
500
|
+
readonly required: false;
|
|
501
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
502
|
+
__epPropKey: true;
|
|
503
|
+
} & {
|
|
504
|
+
readonly default: true;
|
|
505
|
+
};
|
|
506
|
+
inputStyle: {
|
|
507
|
+
readonly type: import("vue").PropType<import("vue").StyleValue>;
|
|
508
|
+
readonly required: false;
|
|
509
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
510
|
+
__epPropKey: true;
|
|
511
|
+
} & {
|
|
512
|
+
readonly default: () => {};
|
|
513
|
+
};
|
|
358
514
|
autofocus: BooleanConstructor;
|
|
359
515
|
}>> & Readonly<{
|
|
360
|
-
onClear?: () => any;
|
|
361
516
|
onFocus?: (evt: FocusEvent) => any;
|
|
517
|
+
onClear?: () => any;
|
|
362
518
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
363
519
|
onChange?: (value: string) => any;
|
|
520
|
+
onInput?: (value: string) => any;
|
|
364
521
|
onBlur?: (evt: FocusEvent) => any;
|
|
522
|
+
onMouseleave?: (evt: MouseEvent) => any;
|
|
523
|
+
onMouseenter?: (evt: MouseEvent) => any;
|
|
365
524
|
onKeydown?: (evt: Event | KeyboardEvent) => any;
|
|
366
|
-
onInput?: (value: string) => any;
|
|
367
|
-
onCompositionend?: (evt: CompositionEvent) => any;
|
|
368
525
|
onCompositionstart?: (evt: CompositionEvent) => any;
|
|
369
526
|
onCompositionupdate?: (evt: CompositionEvent) => any;
|
|
370
|
-
|
|
371
|
-
onMouseleave?: (evt: MouseEvent) => any;
|
|
527
|
+
onCompositionend?: (evt: CompositionEvent) => any;
|
|
372
528
|
}>, {
|
|
373
529
|
type: string;
|
|
374
|
-
required:
|
|
530
|
+
required: boolean;
|
|
375
531
|
formItemSize: "default" | "small" | "large";
|
|
376
532
|
formItemSlots: import("@vunk/form/components/form-item/src/types").FormItemSlots;
|
|
377
533
|
inline: boolean;
|
|
@@ -381,26 +537,26 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
381
537
|
labelTip: string;
|
|
382
538
|
information: boolean;
|
|
383
539
|
label: string;
|
|
384
|
-
labelWidth:
|
|
385
|
-
labelPosition:
|
|
386
|
-
inlineMessage:
|
|
387
|
-
showMessage:
|
|
540
|
+
labelWidth: string | number;
|
|
541
|
+
labelPosition: "" | "top" | "left" | "right";
|
|
542
|
+
inlineMessage: string | boolean;
|
|
543
|
+
showMessage: boolean;
|
|
388
544
|
disabled: boolean;
|
|
389
545
|
id: string;
|
|
390
546
|
modelValue: string;
|
|
391
547
|
clearable: boolean;
|
|
392
548
|
placeholder: string;
|
|
393
549
|
autofocus: boolean;
|
|
550
|
+
inputSlots: import("@vunk/form/components/input/src/types").InputSlots;
|
|
394
551
|
rows: number;
|
|
395
|
-
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
396
|
-
tabindex: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
397
552
|
autosize: false;
|
|
398
553
|
autocomplete: string;
|
|
399
554
|
showPassword: boolean;
|
|
400
555
|
showWordLimit: boolean;
|
|
401
556
|
containerRole: string;
|
|
557
|
+
tabindex: string | number;
|
|
558
|
+
validateEvent: boolean;
|
|
402
559
|
inputStyle: import("vue").StyleValue;
|
|
403
|
-
inputSlots: import("@vunk/form/components/input/src/types").InputSlots;
|
|
404
560
|
uploadUrl: string;
|
|
405
561
|
referenceUrl: string;
|
|
406
562
|
referenceOnly: boolean;
|