@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
|
@@ -79,6 +79,7 @@ export declare const props: {
|
|
|
79
79
|
type: BooleanConstructor;
|
|
80
80
|
default: boolean;
|
|
81
81
|
};
|
|
82
|
+
prop: any;
|
|
82
83
|
label: StringConstructor;
|
|
83
84
|
labelWidth: {
|
|
84
85
|
readonly type: PropType<string | number>;
|
|
@@ -96,7 +97,6 @@ export declare const props: {
|
|
|
96
97
|
} & {
|
|
97
98
|
readonly default: "";
|
|
98
99
|
};
|
|
99
|
-
prop: any;
|
|
100
100
|
rules: {
|
|
101
101
|
readonly type: PropType<unknown>;
|
|
102
102
|
readonly required: false;
|
|
@@ -67,6 +67,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
67
67
|
type: BooleanConstructor;
|
|
68
68
|
default: boolean;
|
|
69
69
|
};
|
|
70
|
+
prop: any;
|
|
70
71
|
label: StringConstructor;
|
|
71
72
|
labelWidth: {
|
|
72
73
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -84,7 +85,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
84
85
|
} & {
|
|
85
86
|
readonly default: "";
|
|
86
87
|
};
|
|
87
|
-
prop: any;
|
|
88
88
|
rules: {
|
|
89
89
|
readonly type: import("vue").PropType<unknown>;
|
|
90
90
|
readonly required: false;
|
|
@@ -399,6 +399,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
399
399
|
type: BooleanConstructor;
|
|
400
400
|
default: boolean;
|
|
401
401
|
};
|
|
402
|
+
prop: any;
|
|
402
403
|
label: StringConstructor;
|
|
403
404
|
labelWidth: {
|
|
404
405
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -416,7 +417,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
416
417
|
} & {
|
|
417
418
|
readonly default: "";
|
|
418
419
|
};
|
|
419
|
-
prop: any;
|
|
420
420
|
rules: {
|
|
421
421
|
readonly type: import("vue").PropType<unknown>;
|
|
422
422
|
readonly required: false;
|
|
@@ -707,10 +707,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
707
707
|
formItemTipClass: any;
|
|
708
708
|
labelTip: string;
|
|
709
709
|
information: boolean;
|
|
710
|
+
prop: any;
|
|
710
711
|
label: string;
|
|
711
712
|
labelWidth: string | number;
|
|
712
713
|
labelPosition: "" | "top" | "left" | "right";
|
|
713
|
-
prop: any;
|
|
714
714
|
rules: unknown;
|
|
715
715
|
error: string;
|
|
716
716
|
validateStatus: "" | "error" | "success" | "validating";
|
|
@@ -966,6 +966,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
966
966
|
type: BooleanConstructor;
|
|
967
967
|
default: boolean;
|
|
968
968
|
};
|
|
969
|
+
prop: any;
|
|
969
970
|
label: StringConstructor;
|
|
970
971
|
labelWidth: {
|
|
971
972
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -983,7 +984,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
983
984
|
} & {
|
|
984
985
|
readonly default: "";
|
|
985
986
|
};
|
|
986
|
-
prop: any;
|
|
987
987
|
rules: {
|
|
988
988
|
readonly type: import("vue").PropType<unknown>;
|
|
989
989
|
readonly required: false;
|
|
@@ -1270,9 +1270,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1270
1270
|
formItemTipClass: any;
|
|
1271
1271
|
labelTip: string;
|
|
1272
1272
|
information: boolean;
|
|
1273
|
+
prop: any;
|
|
1273
1274
|
labelWidth: string | number;
|
|
1274
1275
|
labelPosition: "" | "top" | "left" | "right";
|
|
1275
|
-
prop: any;
|
|
1276
1276
|
inlineMessage: string | boolean;
|
|
1277
1277
|
showMessage: boolean;
|
|
1278
1278
|
disabled: boolean;
|
|
@@ -3,8 +3,8 @@ import { MaybePromise } from '@vunk/core';
|
|
|
3
3
|
import { __VkfTablesSelect } from '@vunk/form/components/tables-select';
|
|
4
4
|
import Core from './index.vue';
|
|
5
5
|
import { BasicSource } from '@vunk/form/shared';
|
|
6
|
-
export interface Source<P
|
|
7
|
-
prop?: P
|
|
6
|
+
export interface Source<P = string> extends BasicSource, VueComponentPropsType<typeof Core> {
|
|
7
|
+
prop?: P;
|
|
8
8
|
templateType: 'VkfApiTablesSelect';
|
|
9
9
|
}
|
|
10
10
|
export interface PaginationParams {
|
|
@@ -35,8 +35,8 @@ var _sfc_main = vue.defineComponent({
|
|
|
35
35
|
VkfFormItem: formItem.VkfFormItem,
|
|
36
36
|
ElButton: elementPlus.ElButton
|
|
37
37
|
},
|
|
38
|
-
emits,
|
|
39
38
|
props,
|
|
39
|
+
emits,
|
|
40
40
|
setup(props2, { emit }) {
|
|
41
41
|
const coreBindProps = elementPlus$1.createButtonBindProps(props2);
|
|
42
42
|
const coreOnEmits = elementPlus$1.createButtonOnEmits(emit, ["click"]);
|
|
@@ -131,6 +131,7 @@ export declare const props: {
|
|
|
131
131
|
type: BooleanConstructor;
|
|
132
132
|
default: boolean;
|
|
133
133
|
};
|
|
134
|
+
prop: any;
|
|
134
135
|
label: StringConstructor;
|
|
135
136
|
labelWidth: {
|
|
136
137
|
readonly type: PropType<string | number>;
|
|
@@ -148,12 +149,6 @@ export declare const props: {
|
|
|
148
149
|
} & {
|
|
149
150
|
readonly default: "";
|
|
150
151
|
};
|
|
151
|
-
prop: {
|
|
152
|
-
readonly type: PropType<import("element-plus").FormItemProp>;
|
|
153
|
-
readonly required: false;
|
|
154
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
155
|
-
__epPropKey: true;
|
|
156
|
-
};
|
|
157
152
|
rules: {
|
|
158
153
|
readonly type: PropType<unknown>;
|
|
159
154
|
readonly required: false;
|
|
@@ -130,6 +130,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
130
130
|
type: BooleanConstructor;
|
|
131
131
|
default: boolean;
|
|
132
132
|
};
|
|
133
|
+
prop: any;
|
|
133
134
|
label: StringConstructor;
|
|
134
135
|
labelWidth: {
|
|
135
136
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -147,12 +148,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
147
148
|
} & {
|
|
148
149
|
readonly default: "";
|
|
149
150
|
};
|
|
150
|
-
prop: {
|
|
151
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
152
|
-
readonly required: false;
|
|
153
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
154
|
-
__epPropKey: true;
|
|
155
|
-
};
|
|
156
151
|
rules: {
|
|
157
152
|
readonly type: import("vue").PropType<unknown>;
|
|
158
153
|
readonly required: false;
|
|
@@ -321,6 +316,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
321
316
|
type: BooleanConstructor;
|
|
322
317
|
default: boolean;
|
|
323
318
|
};
|
|
319
|
+
prop: any;
|
|
324
320
|
label: StringConstructor;
|
|
325
321
|
labelWidth: {
|
|
326
322
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -338,12 +334,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
338
334
|
} & {
|
|
339
335
|
readonly default: "";
|
|
340
336
|
};
|
|
341
|
-
prop: {
|
|
342
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
343
|
-
readonly required: false;
|
|
344
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
345
|
-
__epPropKey: true;
|
|
346
|
-
};
|
|
347
337
|
rules: {
|
|
348
338
|
readonly type: import("vue").PropType<unknown>;
|
|
349
339
|
readonly required: false;
|
|
@@ -387,6 +377,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
387
377
|
formItemTipClass: any;
|
|
388
378
|
labelTip: string;
|
|
389
379
|
information: boolean;
|
|
380
|
+
prop: any;
|
|
390
381
|
labelWidth: string | number;
|
|
391
382
|
labelPosition: "" | "top" | "left" | "right";
|
|
392
383
|
inlineMessage: string | boolean;
|
|
@@ -6,8 +6,8 @@ export interface ButtonSlots {
|
|
|
6
6
|
icon: Func;
|
|
7
7
|
default: Func;
|
|
8
8
|
}
|
|
9
|
-
export interface Source<P
|
|
10
|
-
prop?: P
|
|
9
|
+
export interface Source<P = string> extends VueComponentPropsType<typeof VkfButton>, BasicSource {
|
|
10
|
+
prop?: P;
|
|
11
11
|
templateType: 'VkfButton';
|
|
12
12
|
}
|
|
13
13
|
export {};
|
|
@@ -62,6 +62,7 @@ export declare const props: {
|
|
|
62
62
|
type: BooleanConstructor;
|
|
63
63
|
default: boolean;
|
|
64
64
|
};
|
|
65
|
+
prop: any;
|
|
65
66
|
label: StringConstructor;
|
|
66
67
|
labelWidth: {
|
|
67
68
|
readonly type: PropType<string | number>;
|
|
@@ -79,12 +80,6 @@ export declare const props: {
|
|
|
79
80
|
} & {
|
|
80
81
|
readonly default: "";
|
|
81
82
|
};
|
|
82
|
-
prop: {
|
|
83
|
-
readonly type: PropType<import("element-plus").FormItemProp>;
|
|
84
|
-
readonly required: false;
|
|
85
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
86
|
-
__epPropKey: true;
|
|
87
|
-
};
|
|
88
83
|
rules: {
|
|
89
84
|
readonly type: PropType<unknown>;
|
|
90
85
|
readonly required: false;
|
|
@@ -58,6 +58,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
58
58
|
type: BooleanConstructor;
|
|
59
59
|
default: boolean;
|
|
60
60
|
};
|
|
61
|
+
prop: any;
|
|
61
62
|
label: StringConstructor;
|
|
62
63
|
labelWidth: {
|
|
63
64
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -75,12 +76,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
75
76
|
} & {
|
|
76
77
|
readonly default: "";
|
|
77
78
|
};
|
|
78
|
-
prop: {
|
|
79
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
80
|
-
readonly required: false;
|
|
81
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
82
|
-
__epPropKey: true;
|
|
83
|
-
};
|
|
84
79
|
rules: {
|
|
85
80
|
readonly type: import("vue").PropType<unknown>;
|
|
86
81
|
readonly required: false;
|
|
@@ -170,6 +165,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
170
165
|
type: BooleanConstructor;
|
|
171
166
|
default: boolean;
|
|
172
167
|
};
|
|
168
|
+
prop: any;
|
|
173
169
|
label: StringConstructor;
|
|
174
170
|
labelWidth: {
|
|
175
171
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -187,12 +183,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
187
183
|
} & {
|
|
188
184
|
readonly default: "";
|
|
189
185
|
};
|
|
190
|
-
prop: {
|
|
191
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
192
|
-
readonly required: false;
|
|
193
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
194
|
-
__epPropKey: true;
|
|
195
|
-
};
|
|
196
186
|
rules: {
|
|
197
187
|
readonly type: import("vue").PropType<unknown>;
|
|
198
188
|
readonly required: false;
|
|
@@ -968,6 +958,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
968
958
|
type: BooleanConstructor;
|
|
969
959
|
default: boolean;
|
|
970
960
|
};
|
|
961
|
+
prop: any;
|
|
971
962
|
label: StringConstructor;
|
|
972
963
|
labelWidth: {
|
|
973
964
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -985,12 +976,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
985
976
|
} & {
|
|
986
977
|
readonly default: "";
|
|
987
978
|
};
|
|
988
|
-
prop: {
|
|
989
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
990
|
-
readonly required: false;
|
|
991
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
992
|
-
__epPropKey: true;
|
|
993
|
-
};
|
|
994
979
|
rules: {
|
|
995
980
|
readonly type: import("vue").PropType<unknown>;
|
|
996
981
|
readonly required: false;
|
|
@@ -1031,6 +1016,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1031
1016
|
formItemTipClass: any;
|
|
1032
1017
|
labelTip: string;
|
|
1033
1018
|
information: boolean;
|
|
1019
|
+
prop: any;
|
|
1034
1020
|
labelWidth: string | number;
|
|
1035
1021
|
labelPosition: "" | "top" | "left" | "right";
|
|
1036
1022
|
inlineMessage: string | boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AnyFunc, 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: 'VkfCardInputCollection';
|
|
7
7
|
}
|
|
8
8
|
export interface Slots {
|
|
@@ -54,6 +54,7 @@ export declare const props: {
|
|
|
54
54
|
type: BooleanConstructor;
|
|
55
55
|
default: boolean;
|
|
56
56
|
};
|
|
57
|
+
prop: any;
|
|
57
58
|
label: StringConstructor;
|
|
58
59
|
labelWidth: {
|
|
59
60
|
readonly type: PropType<string | number>;
|
|
@@ -71,12 +72,6 @@ export declare const props: {
|
|
|
71
72
|
} & {
|
|
72
73
|
readonly default: "";
|
|
73
74
|
};
|
|
74
|
-
prop: {
|
|
75
|
-
readonly type: PropType<import("element-plus").FormItemProp>;
|
|
76
|
-
readonly required: false;
|
|
77
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
78
|
-
__epPropKey: true;
|
|
79
|
-
};
|
|
80
75
|
rules: {
|
|
81
76
|
readonly type: PropType<unknown>;
|
|
82
77
|
readonly required: false;
|
|
@@ -267,7 +262,7 @@ export declare const props: {
|
|
|
267
262
|
readonly default: () => import("element-plus").CascaderProps;
|
|
268
263
|
};
|
|
269
264
|
};
|
|
270
|
-
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<"
|
|
265
|
+
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<"persistent", keyof T2> | Extract<"teleported", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"placement", keyof T2> | Extract<"props", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"options", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"filterable", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"tagType", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"separator", keyof T2> | Extract<"showAllLevels", keyof T2> | Extract<"maxCollapseTags", keyof T2> | Extract<"maxCollapseTagsTooltipHeight", keyof T2> | Extract<"debounce", keyof T2> | Extract<"beforeFilter", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"optionsUrl", keyof T2> | Extract<"cascaderSlots", keyof T2> | Extract<"cascaderRef", 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<"persistent", keyof T2>, KE> | Exclude<Extract<"teleported", keyof T2>, KE> | Exclude<Extract<"popperClass", keyof T2>, KE> | Exclude<Extract<"fallbackPlacements", keyof T2>, KE> | Exclude<Extract<"placement", keyof T2>, KE> | Exclude<Extract<"props", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"filterMethod", keyof T2>, KE> | Exclude<Extract<"options", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"filterable", keyof T2>, KE> | Exclude<Extract<"collapseTags", keyof T2>, KE> | Exclude<Extract<"collapseTagsTooltip", keyof T2>, KE> | Exclude<Extract<"tagType", keyof T2>, KE> | Exclude<Extract<"emptyValues", keyof T2>, KE> | Exclude<Extract<"valueOnClear", keyof T2>, KE> | Exclude<Extract<"separator", keyof T2>, KE> | Exclude<Extract<"showAllLevels", keyof T2>, KE> | Exclude<Extract<"maxCollapseTags", keyof T2>, KE> | Exclude<Extract<"maxCollapseTagsTooltipHeight", keyof T2>, KE> | Exclude<Extract<"debounce", keyof T2>, KE> | Exclude<Extract<"beforeFilter", keyof T2>, KE> | Exclude<Extract<"tagEffect", keyof T2>, KE> | Exclude<Extract<"optionsUrl", keyof T2>, KE> | Exclude<Extract<"cascaderSlots", keyof T2>, KE> | Exclude<Extract<"cascaderRef", 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<"persistent", keyof T2> | Extract<"teleported", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"placement", keyof T2> | Extract<"props", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"options", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"filterable", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"tagType", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"separator", keyof T2> | Extract<"showAllLevels", keyof T2> | Extract<"maxCollapseTags", keyof T2> | Extract<"maxCollapseTagsTooltipHeight", keyof T2> | Extract<"debounce", keyof T2> | Extract<"beforeFilter", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"optionsUrl", keyof T2> | Extract<"cascaderSlots", keyof T2> | Extract<"cascaderRef", 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<"persistent", keyof T2> | Extract<"teleported", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"placement", keyof T2> | Extract<"props", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"options", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"filterable", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"tagType", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"separator", keyof T2> | Extract<"showAllLevels", keyof T2> | Extract<"maxCollapseTags", keyof T2> | Extract<"maxCollapseTagsTooltipHeight", keyof T2> | Extract<"debounce", keyof T2> | Extract<"beforeFilter", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"optionsUrl", keyof T2> | Extract<"cascaderSlots", keyof T2> | Extract<"cascaderRef", keyof T2>]: T2[k]; }[P]; }>;
|
|
271
266
|
export declare const emits: {
|
|
272
267
|
"update:modelValue": (value: import("element-plus").CascaderValue) => boolean;
|
|
273
268
|
change: (value: import("element-plus").CascaderValue) => boolean;
|
|
@@ -52,6 +52,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
52
52
|
type: BooleanConstructor;
|
|
53
53
|
default: boolean;
|
|
54
54
|
};
|
|
55
|
+
prop: any;
|
|
55
56
|
label: StringConstructor;
|
|
56
57
|
labelWidth: {
|
|
57
58
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -69,12 +70,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
69
70
|
} & {
|
|
70
71
|
readonly default: "";
|
|
71
72
|
};
|
|
72
|
-
prop: {
|
|
73
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
74
|
-
readonly required: false;
|
|
75
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
76
|
-
__epPropKey: true;
|
|
77
|
-
};
|
|
78
73
|
rules: {
|
|
79
74
|
readonly type: import("vue").PropType<unknown>;
|
|
80
75
|
readonly required: false;
|
|
@@ -360,6 +355,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
360
355
|
type: BooleanConstructor;
|
|
361
356
|
default: boolean;
|
|
362
357
|
};
|
|
358
|
+
prop: any;
|
|
363
359
|
label: StringConstructor;
|
|
364
360
|
labelWidth: {
|
|
365
361
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -377,12 +373,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
377
373
|
} & {
|
|
378
374
|
readonly default: "";
|
|
379
375
|
};
|
|
380
|
-
prop: {
|
|
381
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
382
|
-
readonly required: false;
|
|
383
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
384
|
-
__epPropKey: true;
|
|
385
|
-
};
|
|
386
376
|
rules: {
|
|
387
377
|
readonly type: import("vue").PropType<unknown>;
|
|
388
378
|
readonly required: false;
|
|
@@ -591,6 +581,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
591
581
|
formItemTipClass: any;
|
|
592
582
|
labelTip: string;
|
|
593
583
|
information: boolean;
|
|
584
|
+
prop: any;
|
|
594
585
|
labelWidth: string | number;
|
|
595
586
|
labelPosition: "" | "top" | "left" | "right";
|
|
596
587
|
inlineMessage: string | boolean;
|
|
@@ -2,7 +2,7 @@ import { VkfCascader } from '@vunk/form/components/cascader';
|
|
|
2
2
|
import { Func, VueComponentPropsType } from '@vunk/core';
|
|
3
3
|
import { BasicSource } from '@vunk/form/shared';
|
|
4
4
|
import { CascaderNode } from 'element-plus';
|
|
5
|
-
export interface Source<P
|
|
5
|
+
export interface Source<P = string> extends VueComponentPropsType<typeof VkfCascader>, BasicSource {
|
|
6
6
|
prop: P;
|
|
7
7
|
templateType: 'VkfCascader';
|
|
8
8
|
}
|
|
@@ -86,6 +86,7 @@ export declare const props: {
|
|
|
86
86
|
type: BooleanConstructor;
|
|
87
87
|
default: boolean;
|
|
88
88
|
};
|
|
89
|
+
prop: any;
|
|
89
90
|
label: StringConstructor;
|
|
90
91
|
labelWidth: {
|
|
91
92
|
readonly type: PropType<string | number>;
|
|
@@ -103,12 +104,6 @@ export declare const props: {
|
|
|
103
104
|
} & {
|
|
104
105
|
readonly default: "";
|
|
105
106
|
};
|
|
106
|
-
prop: {
|
|
107
|
-
readonly type: PropType<import("element-plus").FormItemProp>;
|
|
108
|
-
readonly required: false;
|
|
109
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
110
|
-
__epPropKey: true;
|
|
111
|
-
};
|
|
112
107
|
rules: {
|
|
113
108
|
readonly type: PropType<unknown>;
|
|
114
109
|
readonly required: false;
|
|
@@ -140,7 +135,7 @@ export declare const props: {
|
|
|
140
135
|
readonly default: true;
|
|
141
136
|
};
|
|
142
137
|
};
|
|
143
|
-
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"type", keyof T2> | Extract<"required", keyof T2> | Extract<"fill", 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<"
|
|
138
|
+
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"type", keyof T2> | Extract<"required", keyof T2> | Extract<"fill", 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<"ariaLabel", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"tag", keyof T2> | Extract<"min", keyof T2> | Extract<"max", keyof T2> | Extract<"options", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"textColor", keyof T2> | Extract<"defaultModelValue", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"fill", 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<"ariaLabel", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"tag", keyof T2>, KE> | Exclude<Extract<"min", keyof T2>, KE> | Exclude<Extract<"max", keyof T2>, KE> | Exclude<Extract<"options", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"textColor", keyof T2>, KE> | Exclude<Extract<"defaultModelValue", keyof T2>, KE> : Extract<"type", keyof T2> | Extract<"required", keyof T2> | Extract<"fill", 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<"ariaLabel", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"tag", keyof T2> | Extract<"min", keyof T2> | Extract<"max", keyof T2> | Extract<"options", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"textColor", keyof T2> | Extract<"defaultModelValue", keyof T2>]: { [k in Extract<"type", keyof T2> | Extract<"required", keyof T2> | Extract<"fill", 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<"ariaLabel", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"tag", keyof T2> | Extract<"min", keyof T2> | Extract<"max", keyof T2> | Extract<"options", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"textColor", keyof T2> | Extract<"defaultModelValue", keyof T2>]: T2[k]; }[P]; }>;
|
|
144
139
|
export declare const emits: {
|
|
145
140
|
"update:modelValue": (val: import("element-plus").CheckboxGroupValueType) => boolean;
|
|
146
141
|
change: (val: import("element-plus").CheckboxValueType[]) => boolean;
|
|
@@ -85,6 +85,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
85
85
|
type: BooleanConstructor;
|
|
86
86
|
default: boolean;
|
|
87
87
|
};
|
|
88
|
+
prop: any;
|
|
88
89
|
label: StringConstructor;
|
|
89
90
|
labelWidth: {
|
|
90
91
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -102,12 +103,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
102
103
|
} & {
|
|
103
104
|
readonly default: "";
|
|
104
105
|
};
|
|
105
|
-
prop: {
|
|
106
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
107
|
-
readonly required: false;
|
|
108
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
109
|
-
__epPropKey: true;
|
|
110
|
-
};
|
|
111
106
|
rules: {
|
|
112
107
|
readonly type: import("vue").PropType<unknown>;
|
|
113
108
|
readonly required: false;
|
|
@@ -244,6 +239,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
244
239
|
type: BooleanConstructor;
|
|
245
240
|
default: boolean;
|
|
246
241
|
};
|
|
242
|
+
prop: any;
|
|
247
243
|
label: StringConstructor;
|
|
248
244
|
labelWidth: {
|
|
249
245
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -261,12 +257,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
261
257
|
} & {
|
|
262
258
|
readonly default: "";
|
|
263
259
|
};
|
|
264
|
-
prop: {
|
|
265
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
266
|
-
readonly required: false;
|
|
267
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
268
|
-
__epPropKey: true;
|
|
269
|
-
};
|
|
270
260
|
rules: {
|
|
271
261
|
readonly type: import("vue").PropType<unknown>;
|
|
272
262
|
readonly required: false;
|
|
@@ -311,6 +301,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
311
301
|
formItemTipClass: any;
|
|
312
302
|
labelTip: string;
|
|
313
303
|
information: boolean;
|
|
304
|
+
prop: any;
|
|
314
305
|
labelWidth: string | number;
|
|
315
306
|
labelPosition: "" | "top" | "left" | "right";
|
|
316
307
|
inlineMessage: string | boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VkfCheckbox } from '@vunk/form/components/checkbox';
|
|
2
2
|
import { VueComponentPropsType } from '@vunk/core';
|
|
3
3
|
import { BasicSource } from '@vunk/form/shared';
|
|
4
|
-
export interface Source<P
|
|
4
|
+
export interface Source<P = string> extends VueComponentPropsType<typeof VkfCheckbox>, BasicSource {
|
|
5
5
|
prop: P;
|
|
6
6
|
templateType: 'VkfCheckbox';
|
|
7
7
|
}
|
|
@@ -106,6 +106,7 @@ export declare const props: {
|
|
|
106
106
|
type: BooleanConstructor;
|
|
107
107
|
default: boolean;
|
|
108
108
|
};
|
|
109
|
+
prop: any;
|
|
109
110
|
label: StringConstructor;
|
|
110
111
|
labelWidth: {
|
|
111
112
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -123,12 +124,6 @@ export declare const props: {
|
|
|
123
124
|
} & {
|
|
124
125
|
readonly default: "";
|
|
125
126
|
};
|
|
126
|
-
prop: {
|
|
127
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
128
|
-
readonly required: false;
|
|
129
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
130
|
-
__epPropKey: true;
|
|
131
|
-
};
|
|
132
127
|
rules: {
|
|
133
128
|
readonly type: import("vue").PropType<unknown>;
|
|
134
129
|
readonly required: false;
|
|
@@ -106,6 +106,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
106
106
|
type: BooleanConstructor;
|
|
107
107
|
default: boolean;
|
|
108
108
|
};
|
|
109
|
+
prop: any;
|
|
109
110
|
label: StringConstructor;
|
|
110
111
|
labelWidth: {
|
|
111
112
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -123,12 +124,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
123
124
|
} & {
|
|
124
125
|
readonly default: "";
|
|
125
126
|
};
|
|
126
|
-
prop: {
|
|
127
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
128
|
-
readonly required: false;
|
|
129
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
130
|
-
__epPropKey: true;
|
|
131
|
-
};
|
|
132
127
|
rules: {
|
|
133
128
|
readonly type: import("vue").PropType<unknown>;
|
|
134
129
|
readonly required: false;
|
|
@@ -277,6 +272,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
277
272
|
type: BooleanConstructor;
|
|
278
273
|
default: boolean;
|
|
279
274
|
};
|
|
275
|
+
prop: any;
|
|
280
276
|
label: StringConstructor;
|
|
281
277
|
labelWidth: {
|
|
282
278
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -294,12 +290,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
294
290
|
} & {
|
|
295
291
|
readonly default: "";
|
|
296
292
|
};
|
|
297
|
-
prop: {
|
|
298
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
299
|
-
readonly required: false;
|
|
300
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
301
|
-
__epPropKey: true;
|
|
302
|
-
};
|
|
303
293
|
rules: {
|
|
304
294
|
readonly type: import("vue").PropType<unknown>;
|
|
305
295
|
readonly required: false;
|
|
@@ -346,6 +336,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
346
336
|
formItemTipClass: any;
|
|
347
337
|
labelTip: string;
|
|
348
338
|
information: boolean;
|
|
339
|
+
prop: any;
|
|
349
340
|
labelWidth: string | number;
|
|
350
341
|
labelPosition: "" | "top" | "left" | "right";
|
|
351
342
|
inlineMessage: string | boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VkfColorPicker } from '@vunk/form/components/color-picker';
|
|
2
2
|
import { VueComponentPropsType } from '@vunk/core';
|
|
3
3
|
import { BasicSource } from '@vunk/form/shared';
|
|
4
|
-
export interface Source<P
|
|
4
|
+
export interface Source<P = string> extends VueComponentPropsType<typeof VkfColorPicker>, BasicSource {
|
|
5
5
|
prop: P;
|
|
6
6
|
templateType: 'VkfColorPicker';
|
|
7
7
|
}
|