@vunk/form 2.12.2 → 2.13.1
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/src/ctx.d.ts +1 -1
- package/components/api-tables-select/src/index.vue.d.ts +5 -5
- package/components/api-tables-select/src/types.d.ts +2 -2
- package/components/button/index.cjs +1 -1
- package/components/button/index.mjs +1 -1
- package/components/button/src/ctx.d.ts +1 -6
- package/components/button/src/index.vue.d.ts +3 -12
- package/components/button/src/types.d.ts +2 -2
- package/components/card-input-collection/src/ctx.d.ts +1 -6
- package/components/card-input-collection/src/index.vue.d.ts +4 -18
- package/components/card-input-collection/src/types.d.ts +2 -2
- package/components/cascader/src/ctx.d.ts +2 -7
- package/components/cascader/src/index.vue.d.ts +3 -12
- package/components/cascader/src/types.d.ts +1 -1
- package/components/checkbox/src/ctx.d.ts +2 -7
- package/components/checkbox/src/index.vue.d.ts +3 -12
- package/components/checkbox/src/types.d.ts +1 -1
- package/components/color-picker/src/ctx.d.ts +1 -6
- package/components/color-picker/src/index.vue.d.ts +3 -12
- package/components/color-picker/src/types.d.ts +1 -1
- package/components/date-picker/src/ctx.d.ts +2 -7
- package/components/date-picker/src/index.vue.d.ts +3 -12
- package/components/date-picker/src/types.d.ts +2 -2
- package/components/date-picker-range/src/types.d.ts +3 -3
- package/components/dialog-input-collection/index.cjs +6 -2
- package/components/dialog-input-collection/index.mjs +6 -2
- package/components/dialog-input-collection/src/ctx.d.ts +1 -6
- package/components/dialog-input-collection/src/index.vue.d.ts +4 -18
- package/components/dialog-input-collection/src/types.d.ts +2 -2
- package/components/download-plus/src/ctx.d.ts +1 -6
- package/components/download-plus/src/index.vue.d.ts +3 -12
- package/components/editable-text/src/ctx.d.ts +1 -6
- package/components/editable-text/src/index.vue.d.ts +5 -19
- package/components/esri-input-geojson/src/ctx.d.ts +2 -7
- package/components/esri-input-geojson/src/index.vue.d.ts +4 -13
- package/components/esri-input-geojson/src/types.d.ts +2 -2
- package/components/form/src/types.d.ts +1 -1
- package/components/form-item/index.cjs +140 -144
- package/components/form-item/index.css +13 -16
- package/components/form-item/index.mjs +142 -146
- package/components/form-item/src/core.vue.d.ts +1847 -0
- package/components/form-item/src/ctx.d.ts +2 -7
- package/components/form-item/src/index.vue.d.ts +7 -757
- package/components/form-item/src/types.d.ts +1 -0
- package/components/information/src/types.d.ts +1 -1
- package/components/information-collection/src/ctx.d.ts +1 -6
- package/components/information-collection/src/index.vue.d.ts +3 -12
- package/components/input/src/ctx.d.ts +2 -7
- package/components/input/src/index.vue.d.ts +3 -12
- package/components/input/src/types.d.ts +2 -2
- package/components/input-collection/src/ctx.d.ts +1 -6
- package/components/input-collection/src/index.vue.d.ts +4 -18
- package/components/input-collection/src/types.d.ts +2 -2
- package/components/input-link/src/ctx.d.ts +1 -6
- package/components/input-link/src/index.vue.d.ts +3 -12
- package/components/input-link/src/types.d.ts +1 -1
- package/components/input-number/src/ctx.d.ts +2 -7
- package/components/input-number/src/index.vue.d.ts +3 -12
- package/components/input-number/src/types.d.ts +1 -1
- package/components/input-tag/src/ctx.d.ts +2 -7
- package/components/input-tag/src/index.vue.d.ts +3 -12
- package/components/input-tag/src/types.d.ts +2 -2
- package/components/monaco-editor/src/ctx.d.ts +1 -6
- package/components/monaco-editor/src/index.vue.d.ts +3 -12
- package/components/monaco-editor/src/types.d.ts +2 -2
- package/components/radio/src/ctx.d.ts +1 -6
- package/components/radio/src/index.vue.d.ts +3 -12
- package/components/radio/src/types.d.ts +1 -1
- package/components/select/src/ctx.d.ts +2 -7
- package/components/select/src/index.vue.d.ts +3 -12
- package/components/select/src/types.d.ts +1 -1
- package/components/slider/src/ctx.d.ts +1 -6
- package/components/slider/src/index.vue.d.ts +3 -12
- package/components/slider/src/types.d.ts +1 -1
- package/components/switch/src/ctx.d.ts +1 -6
- package/components/switch/src/index.vue.d.ts +3 -12
- package/components/switch/src/types.d.ts +1 -1
- package/components/tables-select/src/ctx.d.ts +1 -1
- package/components/tables-select/src/index.vue.d.ts +2 -2
- package/components/tables-select/src/types.d.ts +2 -2
- package/components/templates-default/src/types.d.ts +16 -16
- package/components/templates-esri/src/types.d.ts +1 -1
- package/components/templates-variant/src/types.d.ts +1 -1
- package/components/upload/src/ctx.d.ts +2 -7
- package/components/upload/src/index.vue.d.ts +3 -12
- package/components/upload/src/types.d.ts +1 -1
- package/components/upload-plus/src/ctx.d.ts +1 -6
- package/components/upload-plus/src/index.vue.d.ts +4 -18
- package/components/van-cascader/src/ctx.d.ts +1 -6
- package/components/van-cascader/src/index.vue.d.ts +3 -12
- package/components/var-datetime-picker/src/ctx.d.ts +1 -6
- package/components/var-datetime-picker/src/index.vue.d.ts +3 -12
- package/components/var-datetime-picker/src/types.d.ts +2 -2
- package/components/vditor/src/ctx.d.ts +1 -6
- package/components/vditor/src/index.vue.d.ts +3 -12
- package/components/vditor/src/types.d.ts +2 -2
- package/index.css +13 -16
- package/package.json +1 -1
- package/shared/types/source/index.d.ts +2 -2
|
@@ -44,6 +44,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
44
44
|
type: BooleanConstructor;
|
|
45
45
|
default: boolean;
|
|
46
46
|
};
|
|
47
|
+
prop: any;
|
|
47
48
|
label: StringConstructor;
|
|
48
49
|
labelWidth: {
|
|
49
50
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -61,12 +62,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
61
62
|
} & {
|
|
62
63
|
readonly default: "";
|
|
63
64
|
};
|
|
64
|
-
prop: {
|
|
65
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
66
|
-
readonly required: false;
|
|
67
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
68
|
-
__epPropKey: true;
|
|
69
|
-
};
|
|
70
65
|
rules: {
|
|
71
66
|
readonly type: import("vue").PropType<unknown>;
|
|
72
67
|
readonly required: false;
|
|
@@ -287,6 +282,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
287
282
|
type: BooleanConstructor;
|
|
288
283
|
default: boolean;
|
|
289
284
|
};
|
|
285
|
+
prop: any;
|
|
290
286
|
label: StringConstructor;
|
|
291
287
|
labelWidth: {
|
|
292
288
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -304,12 +300,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
304
300
|
} & {
|
|
305
301
|
readonly default: "";
|
|
306
302
|
};
|
|
307
|
-
prop: {
|
|
308
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
309
|
-
readonly required: false;
|
|
310
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
311
|
-
__epPropKey: true;
|
|
312
|
-
};
|
|
313
303
|
rules: {
|
|
314
304
|
readonly type: import("vue").PropType<unknown>;
|
|
315
305
|
readonly required: false;
|
|
@@ -468,6 +458,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
468
458
|
formItemTipClass: any;
|
|
469
459
|
labelTip: string;
|
|
470
460
|
information: boolean;
|
|
461
|
+
prop: any;
|
|
471
462
|
labelWidth: string | number;
|
|
472
463
|
labelPosition: "" | "top" | "left" | "right";
|
|
473
464
|
inlineMessage: string | boolean;
|
|
@@ -2,8 +2,8 @@ import { VueComponentPropsType } from '@vunk/shared';
|
|
|
2
2
|
import type Core from './index.vue';
|
|
3
3
|
import { BasicSource } from '@vunk/form/shared';
|
|
4
4
|
import { Func } from '@vunk/core';
|
|
5
|
-
export interface Source<P
|
|
6
|
-
prop?: P
|
|
5
|
+
export interface Source<P = string> extends VueComponentPropsType<typeof Core>, BasicSource {
|
|
6
|
+
prop?: P;
|
|
7
7
|
templateType: 'VkfInputTag';
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
@@ -56,6 +56,7 @@ export declare const props: {
|
|
|
56
56
|
type: BooleanConstructor;
|
|
57
57
|
default: boolean;
|
|
58
58
|
};
|
|
59
|
+
prop: any;
|
|
59
60
|
label: StringConstructor;
|
|
60
61
|
labelWidth: {
|
|
61
62
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -73,12 +74,6 @@ export declare const props: {
|
|
|
73
74
|
} & {
|
|
74
75
|
readonly default: "";
|
|
75
76
|
};
|
|
76
|
-
prop: {
|
|
77
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
78
|
-
readonly required: false;
|
|
79
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
80
|
-
__epPropKey: true;
|
|
81
|
-
};
|
|
82
77
|
rules: {
|
|
83
78
|
readonly type: import("vue").PropType<unknown>;
|
|
84
79
|
readonly required: false;
|
|
@@ -56,6 +56,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
56
56
|
type: BooleanConstructor;
|
|
57
57
|
default: boolean;
|
|
58
58
|
};
|
|
59
|
+
prop: any;
|
|
59
60
|
label: StringConstructor;
|
|
60
61
|
labelWidth: {
|
|
61
62
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -73,12 +74,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
73
74
|
} & {
|
|
74
75
|
readonly default: "";
|
|
75
76
|
};
|
|
76
|
-
prop: {
|
|
77
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
78
|
-
readonly required: false;
|
|
79
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
80
|
-
__epPropKey: true;
|
|
81
|
-
};
|
|
82
77
|
rules: {
|
|
83
78
|
readonly type: import("vue").PropType<unknown>;
|
|
84
79
|
readonly required: false;
|
|
@@ -177,6 +172,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
177
172
|
type: BooleanConstructor;
|
|
178
173
|
default: boolean;
|
|
179
174
|
};
|
|
175
|
+
prop: any;
|
|
180
176
|
label: StringConstructor;
|
|
181
177
|
labelWidth: {
|
|
182
178
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -194,12 +190,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
194
190
|
} & {
|
|
195
191
|
readonly default: "";
|
|
196
192
|
};
|
|
197
|
-
prop: {
|
|
198
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
199
|
-
readonly required: false;
|
|
200
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
201
|
-
__epPropKey: true;
|
|
202
|
-
};
|
|
203
193
|
rules: {
|
|
204
194
|
readonly type: import("vue").PropType<unknown>;
|
|
205
195
|
readonly required: false;
|
|
@@ -242,6 +232,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
242
232
|
formItemTipClass: any;
|
|
243
233
|
labelTip: string;
|
|
244
234
|
information: boolean;
|
|
235
|
+
prop: any;
|
|
245
236
|
labelWidth: string | number;
|
|
246
237
|
labelPosition: "" | "top" | "left" | "right";
|
|
247
238
|
inlineMessage: string | boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VueComponentPropsType } from '@vunk/shared';
|
|
2
2
|
import Core from './index.vue';
|
|
3
3
|
import { BasicSource } from '@vunk/form/shared';
|
|
4
|
-
export interface Source<P
|
|
5
|
-
prop?: P
|
|
4
|
+
export interface Source<P = string> extends VueComponentPropsType<typeof Core>, BasicSource {
|
|
5
|
+
prop?: P;
|
|
6
6
|
templateType: 'VkfMonacoEditor';
|
|
7
7
|
}
|
|
@@ -102,6 +102,7 @@ export declare const props: {
|
|
|
102
102
|
type: BooleanConstructor;
|
|
103
103
|
default: boolean;
|
|
104
104
|
};
|
|
105
|
+
prop: any;
|
|
105
106
|
label: StringConstructor;
|
|
106
107
|
labelWidth: {
|
|
107
108
|
readonly type: PropType<string | number>;
|
|
@@ -119,12 +120,6 @@ export declare const props: {
|
|
|
119
120
|
} & {
|
|
120
121
|
readonly default: "";
|
|
121
122
|
};
|
|
122
|
-
prop: {
|
|
123
|
-
readonly type: PropType<import("element-plus").FormItemProp>;
|
|
124
|
-
readonly required: false;
|
|
125
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
126
|
-
__epPropKey: true;
|
|
127
|
-
};
|
|
128
123
|
rules: {
|
|
129
124
|
readonly type: PropType<unknown>;
|
|
130
125
|
readonly required: false;
|
|
@@ -101,6 +101,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
101
101
|
type: BooleanConstructor;
|
|
102
102
|
default: boolean;
|
|
103
103
|
};
|
|
104
|
+
prop: any;
|
|
104
105
|
label: StringConstructor;
|
|
105
106
|
labelWidth: {
|
|
106
107
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -118,12 +119,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
118
119
|
} & {
|
|
119
120
|
readonly default: "";
|
|
120
121
|
};
|
|
121
|
-
prop: {
|
|
122
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
123
|
-
readonly required: false;
|
|
124
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
125
|
-
__epPropKey: true;
|
|
126
|
-
};
|
|
127
122
|
rules: {
|
|
128
123
|
readonly type: import("vue").PropType<unknown>;
|
|
129
124
|
readonly required: false;
|
|
@@ -275,6 +270,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
275
270
|
type: BooleanConstructor;
|
|
276
271
|
default: boolean;
|
|
277
272
|
};
|
|
273
|
+
prop: any;
|
|
278
274
|
label: StringConstructor;
|
|
279
275
|
labelWidth: {
|
|
280
276
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -292,12 +288,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
292
288
|
} & {
|
|
293
289
|
readonly default: "";
|
|
294
290
|
};
|
|
295
|
-
prop: {
|
|
296
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
297
|
-
readonly required: false;
|
|
298
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
299
|
-
__epPropKey: true;
|
|
300
|
-
};
|
|
301
291
|
rules: {
|
|
302
292
|
readonly type: import("vue").PropType<unknown>;
|
|
303
293
|
readonly required: false;
|
|
@@ -343,6 +333,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
343
333
|
formItemTipClass: any;
|
|
344
334
|
labelTip: string;
|
|
345
335
|
information: boolean;
|
|
336
|
+
prop: any;
|
|
346
337
|
labelWidth: string | number;
|
|
347
338
|
labelPosition: "" | "top" | "left" | "right";
|
|
348
339
|
inlineMessage: string | boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BasicSource } from '@vunk/form/shared';
|
|
2
2
|
import { VueComponentPropsType } from '@vunk/core';
|
|
3
3
|
import VkfRadio from './index.vue';
|
|
4
|
-
export interface Source<P
|
|
4
|
+
export interface Source<P = string> extends VueComponentPropsType<typeof VkfRadio>, BasicSource {
|
|
5
5
|
prop: P;
|
|
6
6
|
templateType: 'VkfRadio';
|
|
7
7
|
}
|
|
@@ -150,6 +150,7 @@ export declare const props: {
|
|
|
150
150
|
type: BooleanConstructor;
|
|
151
151
|
default: boolean;
|
|
152
152
|
};
|
|
153
|
+
prop: any;
|
|
153
154
|
label: StringConstructor;
|
|
154
155
|
labelWidth: {
|
|
155
156
|
readonly type: PropType<string | number>;
|
|
@@ -167,12 +168,6 @@ export declare const props: {
|
|
|
167
168
|
} & {
|
|
168
169
|
readonly default: "";
|
|
169
170
|
};
|
|
170
|
-
prop: {
|
|
171
|
-
readonly type: PropType<import("element-plus").FormItemProp>;
|
|
172
|
-
readonly required: false;
|
|
173
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
174
|
-
__epPropKey: true;
|
|
175
|
-
};
|
|
176
171
|
rules: {
|
|
177
172
|
readonly type: PropType<unknown>;
|
|
178
173
|
readonly required: false;
|
|
@@ -204,7 +199,7 @@ export declare const props: {
|
|
|
204
199
|
readonly default: true;
|
|
205
200
|
};
|
|
206
201
|
};
|
|
207
|
-
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"
|
|
202
|
+
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"persistent", keyof T2> | Extract<"teleported", keyof T2> | Extract<"effect", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"multiple", keyof T2> | Extract<"stringify", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"loading", keyof T2> | Extract<"options", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"automaticDropdown", keyof T2> | Extract<"filterable", keyof T2> | Extract<"allowCreate", keyof T2> | Extract<"remote", keyof T2> | Extract<"loadingText", keyof T2> | Extract<"noMatchText", keyof T2> | Extract<"noDataText", keyof T2> | Extract<"remoteMethod", keyof T2> | Extract<"multipleLimit", keyof T2> | Extract<"defaultFirstOption", keyof T2> | Extract<"reserveKeyword", keyof T2> | Extract<"valueKey", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"fitInputWidth", keyof T2> | Extract<"tagType", keyof T2> | Extract<"selectSlots", keyof T2> | Extract<"optionsUrl", keyof T2> | Extract<"defaultModelValue", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"formItemSize", keyof T2>, KE> | Exclude<Extract<"formItemSlots", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"inline", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"formItemTip", keyof T2>, KE> | Exclude<Extract<"formItemTipClass", keyof T2>, KE> | Exclude<Extract<"labelTip", keyof T2>, KE> | Exclude<Extract<"information", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"labelPosition", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"error", keyof T2>, KE> | Exclude<Extract<"validateStatus", keyof T2>, KE> | Exclude<Extract<"for", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"persistent", keyof T2>, KE> | Exclude<Extract<"teleported", keyof T2>, KE> | Exclude<Extract<"effect", keyof T2>, KE> | Exclude<Extract<"popperClass", keyof T2>, KE> | Exclude<Extract<"name", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"multiple", keyof T2>, KE> | Exclude<Extract<"stringify", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"filterMethod", keyof T2>, KE> | Exclude<Extract<"loading", keyof T2>, KE> | Exclude<Extract<"options", keyof T2>, KE> | Exclude<Extract<"autocomplete", keyof T2>, KE> | Exclude<Extract<"suffixIcon", keyof T2>, KE> | Exclude<Extract<"automaticDropdown", keyof T2>, KE> | Exclude<Extract<"filterable", keyof T2>, KE> | Exclude<Extract<"allowCreate", keyof T2>, KE> | Exclude<Extract<"remote", keyof T2>, KE> | Exclude<Extract<"loadingText", keyof T2>, KE> | Exclude<Extract<"noMatchText", keyof T2>, KE> | Exclude<Extract<"noDataText", keyof T2>, KE> | Exclude<Extract<"remoteMethod", keyof T2>, KE> | Exclude<Extract<"multipleLimit", keyof T2>, KE> | Exclude<Extract<"defaultFirstOption", keyof T2>, KE> | Exclude<Extract<"reserveKeyword", keyof T2>, KE> | Exclude<Extract<"valueKey", keyof T2>, KE> | Exclude<Extract<"collapseTags", keyof T2>, KE> | Exclude<Extract<"collapseTagsTooltip", keyof T2>, KE> | Exclude<Extract<"clearIcon", keyof T2>, KE> | Exclude<Extract<"fitInputWidth", keyof T2>, KE> | Exclude<Extract<"tagType", keyof T2>, KE> | Exclude<Extract<"selectSlots", keyof T2>, KE> | Exclude<Extract<"optionsUrl", keyof T2>, KE> | Exclude<Extract<"defaultModelValue", keyof T2>, KE> : Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"persistent", keyof T2> | Extract<"teleported", keyof T2> | Extract<"effect", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"multiple", keyof T2> | Extract<"stringify", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"loading", keyof T2> | Extract<"options", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"automaticDropdown", keyof T2> | Extract<"filterable", keyof T2> | Extract<"allowCreate", keyof T2> | Extract<"remote", keyof T2> | Extract<"loadingText", keyof T2> | Extract<"noMatchText", keyof T2> | Extract<"noDataText", keyof T2> | Extract<"remoteMethod", keyof T2> | Extract<"multipleLimit", keyof T2> | Extract<"defaultFirstOption", keyof T2> | Extract<"reserveKeyword", keyof T2> | Extract<"valueKey", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"fitInputWidth", keyof T2> | Extract<"tagType", keyof T2> | Extract<"selectSlots", keyof T2> | Extract<"optionsUrl", keyof T2> | Extract<"defaultModelValue", keyof T2>]: { [k in Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"persistent", keyof T2> | Extract<"teleported", keyof T2> | Extract<"effect", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"multiple", keyof T2> | Extract<"stringify", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"loading", keyof T2> | Extract<"options", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"automaticDropdown", keyof T2> | Extract<"filterable", keyof T2> | Extract<"allowCreate", keyof T2> | Extract<"remote", keyof T2> | Extract<"loadingText", keyof T2> | Extract<"noMatchText", keyof T2> | Extract<"noDataText", keyof T2> | Extract<"remoteMethod", keyof T2> | Extract<"multipleLimit", keyof T2> | Extract<"defaultFirstOption", keyof T2> | Extract<"reserveKeyword", keyof T2> | Extract<"valueKey", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"fitInputWidth", keyof T2> | Extract<"tagType", keyof T2> | Extract<"selectSlots", keyof T2> | Extract<"optionsUrl", keyof T2> | Extract<"defaultModelValue", keyof T2>]: T2[k]; }[P]; }>;
|
|
208
203
|
export declare const emits: {
|
|
209
204
|
'update:modelValue': any;
|
|
210
205
|
change: any;
|
|
@@ -144,6 +144,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
144
144
|
type: BooleanConstructor;
|
|
145
145
|
default: boolean;
|
|
146
146
|
};
|
|
147
|
+
prop: any;
|
|
147
148
|
label: StringConstructor;
|
|
148
149
|
labelWidth: {
|
|
149
150
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -161,12 +162,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
161
162
|
} & {
|
|
162
163
|
readonly default: "";
|
|
163
164
|
};
|
|
164
|
-
prop: {
|
|
165
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
166
|
-
readonly required: false;
|
|
167
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
168
|
-
__epPropKey: true;
|
|
169
|
-
};
|
|
170
165
|
rules: {
|
|
171
166
|
readonly type: import("vue").PropType<unknown>;
|
|
172
167
|
readonly required: false;
|
|
@@ -573,6 +568,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
573
568
|
type: BooleanConstructor;
|
|
574
569
|
default: boolean;
|
|
575
570
|
};
|
|
571
|
+
prop: any;
|
|
576
572
|
label: StringConstructor;
|
|
577
573
|
labelWidth: {
|
|
578
574
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -590,12 +586,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
590
586
|
} & {
|
|
591
587
|
readonly default: "";
|
|
592
588
|
};
|
|
593
|
-
prop: {
|
|
594
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
595
|
-
readonly required: false;
|
|
596
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
597
|
-
__epPropKey: true;
|
|
598
|
-
};
|
|
599
589
|
rules: {
|
|
600
590
|
readonly type: import("vue").PropType<unknown>;
|
|
601
591
|
readonly required: false;
|
|
@@ -644,6 +634,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
644
634
|
formItemTipClass: any;
|
|
645
635
|
labelTip: string;
|
|
646
636
|
information: boolean;
|
|
637
|
+
prop: any;
|
|
647
638
|
labelWidth: string | number;
|
|
648
639
|
labelPosition: "" | "top" | "left" | "right";
|
|
649
640
|
inlineMessage: string | boolean;
|
|
@@ -5,7 +5,7 @@ export type SelectSlots = {
|
|
|
5
5
|
prefix?: Func;
|
|
6
6
|
empty?: Func;
|
|
7
7
|
};
|
|
8
|
-
export interface Source<P
|
|
8
|
+
export interface Source<P = string> extends VueComponentPropsType<typeof VkfSelect>, BasicSource {
|
|
9
9
|
prop: P;
|
|
10
10
|
templateType: 'VkfSelect';
|
|
11
11
|
}
|
|
@@ -192,6 +192,7 @@ export declare const props: {
|
|
|
192
192
|
type: BooleanConstructor;
|
|
193
193
|
default: boolean;
|
|
194
194
|
};
|
|
195
|
+
prop: any;
|
|
195
196
|
label: StringConstructor;
|
|
196
197
|
labelWidth: {
|
|
197
198
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -209,12 +210,6 @@ export declare const props: {
|
|
|
209
210
|
} & {
|
|
210
211
|
readonly default: "";
|
|
211
212
|
};
|
|
212
|
-
prop: {
|
|
213
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
214
|
-
readonly required: false;
|
|
215
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
216
|
-
__epPropKey: true;
|
|
217
|
-
};
|
|
218
213
|
rules: {
|
|
219
214
|
readonly type: import("vue").PropType<unknown>;
|
|
220
215
|
readonly required: false;
|
|
@@ -192,6 +192,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
192
192
|
type: BooleanConstructor;
|
|
193
193
|
default: boolean;
|
|
194
194
|
};
|
|
195
|
+
prop: any;
|
|
195
196
|
label: StringConstructor;
|
|
196
197
|
labelWidth: {
|
|
197
198
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -209,12 +210,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
209
210
|
} & {
|
|
210
211
|
readonly default: "";
|
|
211
212
|
};
|
|
212
|
-
prop: {
|
|
213
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
214
|
-
readonly required: false;
|
|
215
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
216
|
-
__epPropKey: true;
|
|
217
|
-
};
|
|
218
213
|
rules: {
|
|
219
214
|
readonly type: import("vue").PropType<unknown>;
|
|
220
215
|
readonly required: false;
|
|
@@ -478,6 +473,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
478
473
|
type: BooleanConstructor;
|
|
479
474
|
default: boolean;
|
|
480
475
|
};
|
|
476
|
+
prop: any;
|
|
481
477
|
label: StringConstructor;
|
|
482
478
|
labelWidth: {
|
|
483
479
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -495,12 +491,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
495
491
|
} & {
|
|
496
492
|
readonly default: "";
|
|
497
493
|
};
|
|
498
|
-
prop: {
|
|
499
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
500
|
-
readonly required: false;
|
|
501
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
502
|
-
__epPropKey: true;
|
|
503
|
-
};
|
|
504
494
|
rules: {
|
|
505
495
|
readonly type: import("vue").PropType<unknown>;
|
|
506
496
|
readonly required: false;
|
|
@@ -545,6 +535,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
545
535
|
formItemTipClass: any;
|
|
546
536
|
labelTip: string;
|
|
547
537
|
information: boolean;
|
|
538
|
+
prop: any;
|
|
548
539
|
labelWidth: string | number;
|
|
549
540
|
labelPosition: "" | "top" | "left" | "right";
|
|
550
541
|
inlineMessage: string | boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BasicSource } from '@vunk/form/shared';
|
|
2
2
|
import { VueComponentPropsType } from '@vunk/core';
|
|
3
3
|
import { VkfSlider } from '@vunk/form/components/slider';
|
|
4
|
-
export interface Source<P
|
|
4
|
+
export interface Source<P = string> extends VueComponentPropsType<typeof VkfSlider>, BasicSource {
|
|
5
5
|
prop: P;
|
|
6
6
|
templateType: 'VkfSlider';
|
|
7
7
|
}
|
|
@@ -147,6 +147,7 @@ export declare const props: {
|
|
|
147
147
|
type: BooleanConstructor;
|
|
148
148
|
default: boolean;
|
|
149
149
|
};
|
|
150
|
+
prop: any;
|
|
150
151
|
label: StringConstructor;
|
|
151
152
|
labelWidth: {
|
|
152
153
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -164,12 +165,6 @@ export declare const props: {
|
|
|
164
165
|
} & {
|
|
165
166
|
readonly default: "";
|
|
166
167
|
};
|
|
167
|
-
prop: {
|
|
168
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
169
|
-
readonly required: false;
|
|
170
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
171
|
-
__epPropKey: true;
|
|
172
|
-
};
|
|
173
168
|
rules: {
|
|
174
169
|
readonly type: import("vue").PropType<unknown>;
|
|
175
170
|
readonly required: false;
|
|
@@ -147,6 +147,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
147
147
|
type: BooleanConstructor;
|
|
148
148
|
default: boolean;
|
|
149
149
|
};
|
|
150
|
+
prop: any;
|
|
150
151
|
label: StringConstructor;
|
|
151
152
|
labelWidth: {
|
|
152
153
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -164,12 +165,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
164
165
|
} & {
|
|
165
166
|
readonly default: "";
|
|
166
167
|
};
|
|
167
|
-
prop: {
|
|
168
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
169
|
-
readonly required: false;
|
|
170
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
171
|
-
__epPropKey: true;
|
|
172
|
-
};
|
|
173
168
|
rules: {
|
|
174
169
|
readonly type: import("vue").PropType<unknown>;
|
|
175
170
|
readonly required: false;
|
|
@@ -377,6 +372,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
377
372
|
type: BooleanConstructor;
|
|
378
373
|
default: boolean;
|
|
379
374
|
};
|
|
375
|
+
prop: any;
|
|
380
376
|
label: StringConstructor;
|
|
381
377
|
labelWidth: {
|
|
382
378
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -394,12 +390,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
394
390
|
} & {
|
|
395
391
|
readonly default: "";
|
|
396
392
|
};
|
|
397
|
-
prop: {
|
|
398
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
399
|
-
readonly required: false;
|
|
400
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
401
|
-
__epPropKey: true;
|
|
402
|
-
};
|
|
403
393
|
rules: {
|
|
404
394
|
readonly type: import("vue").PropType<unknown>;
|
|
405
395
|
readonly required: false;
|
|
@@ -444,6 +434,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
444
434
|
formItemTipClass: any;
|
|
445
435
|
labelTip: string;
|
|
446
436
|
information: boolean;
|
|
437
|
+
prop: any;
|
|
447
438
|
labelWidth: string | number;
|
|
448
439
|
labelPosition: "" | "top" | "left" | "right";
|
|
449
440
|
inlineMessage: string | boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BasicSource } from '@vunk/form/shared';
|
|
2
2
|
import { VueComponentPropsType } from '@vunk/core';
|
|
3
3
|
import VkfSwitch from './index.vue';
|
|
4
|
-
export interface Source<P
|
|
4
|
+
export interface Source<P = string> extends VueComponentPropsType<typeof VkfSwitch>, BasicSource {
|
|
5
5
|
prop: P;
|
|
6
6
|
templateType: 'VkfSwitch';
|
|
7
7
|
}
|