@vunk/form 0.0.1-alpha.1 → 0.0.1-alpha.12
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/date-picker/src/ctx.d.ts +23 -23
- package/components/date-picker/src/index.vue.d.ts +90 -76
- package/components/date-picker/src/types.d.ts +7 -7
- package/components/form/src/ctx.d.ts +69 -66
- package/components/form/src/index.vue.d.ts +193 -193
- package/components/form-item/src/ctx.d.ts +7 -7
- package/components/form-item/src/index.vue.d.ts +24 -13
- package/components/form-item-renderer/index.js +15 -1
- package/components/form-item-renderer/src/ctx.d.ts +3 -3
- package/components/form-item-renderer/src/index.vue.d.ts +8 -8
- package/components/form-item-renderer/src/types.d.ts +2 -0
- package/components/form-item-renderer-template/src/index.vue.d.ts +1 -1
- package/components/form-item-renderer-template-default/index.js +38 -18
- package/components/form-item-renderer-template-default/src/index.vue.d.ts +6 -6
- package/components/form-item-renderer-template-layout/index.js +22 -13
- package/components/form-item-renderer-template-layout/src/ctx.d.ts +3 -2
- package/components/form-item-renderer-template-layout/src/ctx.js +1 -1
- package/components/form-item-renderer-template-layout/src/index.vue.d.ts +18 -6
- package/components/input/index.js +19 -3
- package/components/input/src/ctx.d.ts +39 -14
- package/components/input/src/ctx.js +12 -0
- package/components/input/src/index.vue.d.ts +118 -55
- package/components/input-number/index.d.ts +4 -0
- package/components/input-number/index.js +67 -0
- package/components/input-number/src/ctx.d.ts +71 -0
- package/components/input-number/src/ctx.js +23 -0
- package/components/input-number/src/index.vue.d.ts +198 -0
- package/components/input-number/src/types.d.ts +1 -0
- package/components/input-number/src/types.js +1 -0
- package/components/select/index.js +1 -2
- package/components/select/src/ctx.d.ts +25 -25
- package/components/select/src/index.vue.d.ts +146 -99
- package/components/switch/index.js +29 -12
- package/components/switch/src/ctx.d.ts +28 -9
- package/components/switch/src/ctx.js +15 -2
- package/components/switch/src/index.vue.d.ts +105 -29
- package/index.esm.js +3 -1
- package/package.json +1 -1
- package/shared/element-plus/ctx.d.ts +55 -11
- package/shared/element-plus/index.js +4 -2
- package/shared/element-plus/instances.d.ts +26 -26
- package/shared/types/basic-source/index.d.ts +5 -0
- package/shared/types/basic-source/index.js +1 -0
- package/shared/types/layout-source/index.d.ts +6 -4
- package/shared/types/renderer-source/compoent.d.ts +2 -0
- package/shared/types/renderer-source/date-picker.d.ts +3 -2
- package/shared/types/renderer-source/index.d.ts +3 -1
- package/shared/types/renderer-source/input-number.d.ts +8 -0
- package/shared/types/renderer-source/input.d.ts +3 -2
- package/shared/types/renderer-source/select.d.ts +3 -2
- package/shared/types/renderer-source/switch.d.ts +3 -2
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
modelValue:
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: undefined;
|
|
5
|
+
};
|
|
6
|
+
defaultModelValue: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
3
10
|
value: import("element-plus/es/utils").EpPropFinalized<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown, false, boolean>;
|
|
4
11
|
disabled: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
5
12
|
width: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
@@ -20,60 +27,114 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
20
27
|
beforeChange: {
|
|
21
28
|
readonly type: import("vue").PropType<() => boolean | Promise<boolean>>;
|
|
22
29
|
readonly required: false;
|
|
23
|
-
readonly validator: (val: unknown) => boolean;
|
|
30
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
24
31
|
__epPropKey: true;
|
|
25
32
|
};
|
|
26
33
|
size: {
|
|
27
34
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => ("" | "default" | "small" | "large") & {}) | (() => "" | "default" | "small" | "large") | ((new (...args: any[]) => ("" | "default" | "small" | "large") & {}) | (() => "" | "default" | "small" | "large"))[], unknown, "" | "default" | "small" | "large">>;
|
|
28
35
|
readonly required: false;
|
|
29
|
-
readonly validator: (val: unknown) => boolean;
|
|
36
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
30
37
|
__epPropKey: true;
|
|
31
38
|
};
|
|
32
39
|
tabindex: {
|
|
33
40
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
34
41
|
readonly required: false;
|
|
35
|
-
readonly validator: (val: unknown) => boolean;
|
|
42
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
36
43
|
__epPropKey: true;
|
|
37
44
|
};
|
|
45
|
+
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
38
46
|
label: StringConstructor;
|
|
39
47
|
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
40
48
|
prop: {
|
|
41
49
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp))[], unknown, unknown>>;
|
|
42
50
|
readonly required: false;
|
|
43
|
-
readonly validator: (val: unknown) => boolean;
|
|
51
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
44
52
|
__epPropKey: true;
|
|
45
53
|
};
|
|
46
|
-
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
47
54
|
rules: {
|
|
48
|
-
readonly type: import("vue").PropType<unknown
|
|
55
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>) | ((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>))[], unknown, unknown>>;
|
|
49
56
|
readonly required: false;
|
|
50
|
-
readonly validator: (val: unknown) => boolean;
|
|
57
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
51
58
|
__epPropKey: true;
|
|
52
59
|
};
|
|
53
60
|
error: StringConstructor;
|
|
54
61
|
validateStatus: {
|
|
55
62
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
56
63
|
readonly required: false;
|
|
57
|
-
readonly validator: (val: unknown) => boolean;
|
|
64
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
58
65
|
__epPropKey: true;
|
|
59
66
|
};
|
|
60
67
|
for: StringConstructor;
|
|
61
68
|
inlineMessage: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
62
69
|
showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
70
|
+
formItemSize: {
|
|
71
|
+
type: import("vue").PropType<"default" | "small" | "large">;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
formItemSlots: {
|
|
75
|
+
type: import("vue").PropType<import("../../form-item/src/types").FormItemSlots>;
|
|
76
|
+
default: undefined;
|
|
77
|
+
};
|
|
78
|
+
elRef: {
|
|
79
|
+
type: import("vue").PropType<any>;
|
|
80
|
+
required: boolean;
|
|
81
|
+
};
|
|
63
82
|
}, {
|
|
64
|
-
formItemBindProps: import("vue").ComputedRef<{
|
|
65
|
-
|
|
83
|
+
formItemBindProps: import("vue").ComputedRef<{
|
|
84
|
+
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
85
|
+
label: string | undefined;
|
|
86
|
+
labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
87
|
+
prop: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp))[], unknown, unknown> | undefined;
|
|
88
|
+
rules: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>) | ((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>))[], unknown, unknown> | undefined;
|
|
89
|
+
error: string | undefined;
|
|
90
|
+
validateStatus: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown> | undefined;
|
|
91
|
+
for: string | undefined;
|
|
92
|
+
inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
|
|
93
|
+
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
94
|
+
formItemSize: "default" | "small" | "large";
|
|
95
|
+
formItemSlots: import("../../form-item/src/types").FormItemSlots | undefined;
|
|
96
|
+
elRef: any;
|
|
97
|
+
}>;
|
|
98
|
+
switchBindProps: import("vue").ComputedRef<{
|
|
99
|
+
size: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => ("" | "default" | "small" | "large") & {}) | (() => "" | "default" | "small" | "large") | ((new (...args: any[]) => ("" | "default" | "small" | "large") & {}) | (() => "" | "default" | "small" | "large"))[], unknown, "" | "default" | "small" | "large"> | undefined;
|
|
100
|
+
name: string;
|
|
101
|
+
value: import("element-plus/es/utils").EpPropMergeType<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown>;
|
|
102
|
+
tabindex: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
103
|
+
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
104
|
+
id: string | undefined;
|
|
105
|
+
disabled: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
106
|
+
width: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
107
|
+
inlinePrompt: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
108
|
+
activeIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
109
|
+
inactiveIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
110
|
+
activeText: string;
|
|
111
|
+
inactiveText: string;
|
|
112
|
+
activeColor: string;
|
|
113
|
+
inactiveColor: string;
|
|
114
|
+
borderColor: string;
|
|
115
|
+
activeValue: import("element-plus/es/utils").EpPropMergeType<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown>;
|
|
116
|
+
inactiveValue: import("element-plus/es/utils").EpPropMergeType<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown>;
|
|
117
|
+
loading: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
118
|
+
beforeChange: (() => boolean | Promise<boolean>) | undefined;
|
|
119
|
+
}>;
|
|
66
120
|
switchOnEmits: {
|
|
67
|
-
"update:modelValue": (
|
|
68
|
-
change: (
|
|
69
|
-
input: (
|
|
121
|
+
"update:modelValue": (val: string | number | boolean) => void;
|
|
122
|
+
change: (val: string | number | boolean) => void;
|
|
123
|
+
input: (val: string | number | boolean) => void;
|
|
70
124
|
};
|
|
71
125
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
72
126
|
"update:modelValue": (val: string | number | boolean) => boolean;
|
|
73
127
|
change: (val: string | number | boolean) => boolean;
|
|
74
128
|
input: (val: string | number | boolean) => boolean;
|
|
75
129
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
76
|
-
modelValue:
|
|
130
|
+
modelValue: {
|
|
131
|
+
type: BooleanConstructor;
|
|
132
|
+
default: undefined;
|
|
133
|
+
};
|
|
134
|
+
defaultModelValue: {
|
|
135
|
+
type: BooleanConstructor;
|
|
136
|
+
default: boolean;
|
|
137
|
+
};
|
|
77
138
|
value: import("element-plus/es/utils").EpPropFinalized<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown, false, boolean>;
|
|
78
139
|
disabled: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
79
140
|
width: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
@@ -94,64 +155,78 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
94
155
|
beforeChange: {
|
|
95
156
|
readonly type: import("vue").PropType<() => boolean | Promise<boolean>>;
|
|
96
157
|
readonly required: false;
|
|
97
|
-
readonly validator: (val: unknown) => boolean;
|
|
158
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
98
159
|
__epPropKey: true;
|
|
99
160
|
};
|
|
100
161
|
size: {
|
|
101
162
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => ("" | "default" | "small" | "large") & {}) | (() => "" | "default" | "small" | "large") | ((new (...args: any[]) => ("" | "default" | "small" | "large") & {}) | (() => "" | "default" | "small" | "large"))[], unknown, "" | "default" | "small" | "large">>;
|
|
102
163
|
readonly required: false;
|
|
103
|
-
readonly validator: (val: unknown) => boolean;
|
|
164
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
104
165
|
__epPropKey: true;
|
|
105
166
|
};
|
|
106
167
|
tabindex: {
|
|
107
168
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
108
169
|
readonly required: false;
|
|
109
|
-
readonly validator: (val: unknown) => boolean;
|
|
170
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
110
171
|
__epPropKey: true;
|
|
111
172
|
};
|
|
173
|
+
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
112
174
|
label: StringConstructor;
|
|
113
175
|
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
114
176
|
prop: {
|
|
115
177
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp))[], unknown, unknown>>;
|
|
116
178
|
readonly required: false;
|
|
117
|
-
readonly validator: (val: unknown) => boolean;
|
|
179
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
118
180
|
__epPropKey: true;
|
|
119
181
|
};
|
|
120
|
-
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
121
182
|
rules: {
|
|
122
|
-
readonly type: import("vue").PropType<unknown
|
|
183
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>) | ((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>))[], unknown, unknown>>;
|
|
123
184
|
readonly required: false;
|
|
124
|
-
readonly validator: (val: unknown) => boolean;
|
|
185
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
125
186
|
__epPropKey: true;
|
|
126
187
|
};
|
|
127
188
|
error: StringConstructor;
|
|
128
189
|
validateStatus: {
|
|
129
190
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
130
191
|
readonly required: false;
|
|
131
|
-
readonly validator: (val: unknown) => boolean;
|
|
192
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
132
193
|
__epPropKey: true;
|
|
133
194
|
};
|
|
134
195
|
for: StringConstructor;
|
|
135
196
|
inlineMessage: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
136
197
|
showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
198
|
+
formItemSize: {
|
|
199
|
+
type: import("vue").PropType<"default" | "small" | "large">;
|
|
200
|
+
default: string;
|
|
201
|
+
};
|
|
202
|
+
formItemSlots: {
|
|
203
|
+
type: import("vue").PropType<import("../../form-item/src/types").FormItemSlots>;
|
|
204
|
+
default: undefined;
|
|
205
|
+
};
|
|
206
|
+
elRef: {
|
|
207
|
+
type: import("vue").PropType<any>;
|
|
208
|
+
required: boolean;
|
|
209
|
+
};
|
|
137
210
|
}>> & {
|
|
138
|
-
"onUpdate:modelValue"?: (val: string | number | boolean) => any;
|
|
139
|
-
onChange?: (val: string | number | boolean) => any;
|
|
140
|
-
onInput?: (val: string | number | boolean) => any;
|
|
211
|
+
"onUpdate:modelValue"?: ((val: string | number | boolean) => any) | undefined;
|
|
212
|
+
onChange?: ((val: string | number | boolean) => any) | undefined;
|
|
213
|
+
onInput?: ((val: string | number | boolean) => any) | undefined;
|
|
141
214
|
}, {
|
|
142
215
|
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
143
216
|
labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
144
217
|
inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
|
|
145
218
|
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
219
|
+
formItemSize: "default" | "small" | "large";
|
|
220
|
+
formItemSlots: import("../../form-item/src/types").FormItemSlots;
|
|
146
221
|
name: string;
|
|
147
222
|
value: import("element-plus/es/utils").EpPropMergeType<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown>;
|
|
148
223
|
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
149
224
|
disabled: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
150
|
-
modelValue:
|
|
225
|
+
modelValue: boolean;
|
|
151
226
|
width: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
152
227
|
inlinePrompt: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
153
|
-
activeIcon: ""
|
|
154
|
-
inactiveIcon: ""
|
|
228
|
+
activeIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
229
|
+
inactiveIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
155
230
|
activeText: string;
|
|
156
231
|
inactiveText: string;
|
|
157
232
|
activeColor: string;
|
|
@@ -160,5 +235,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
160
235
|
activeValue: import("element-plus/es/utils").EpPropMergeType<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown>;
|
|
161
236
|
inactiveValue: import("element-plus/es/utils").EpPropMergeType<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown>;
|
|
162
237
|
loading: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
238
|
+
defaultModelValue: boolean;
|
|
163
239
|
}>;
|
|
164
240
|
export default _default;
|
package/index.esm.js
CHANGED
|
@@ -6,6 +6,7 @@ import { VkfFormItemRendererTemplate } from '@vunk/form/components/form-item-ren
|
|
|
6
6
|
export * from '@vunk/form/components/form-item-renderer-template';
|
|
7
7
|
import { VkfFormItemRendererTemplateLayout } from '@vunk/form/components/form-item-renderer-template-layout';
|
|
8
8
|
export * from '@vunk/form/components/form-item-renderer-template-layout';
|
|
9
|
+
import { VkfFormItemRendererTemplateDefault } from '@vunk/form/components/form-item-renderer-template-default';
|
|
9
10
|
export * from '@vunk/form/shared';
|
|
10
11
|
export * from '@vunk/form/composables';
|
|
11
12
|
|
|
@@ -13,7 +14,8 @@ var Components = [
|
|
|
13
14
|
VkfForm,
|
|
14
15
|
VkfFormItemRenderer,
|
|
15
16
|
VkfFormItemRendererTemplate,
|
|
16
|
-
VkfFormItemRendererTemplateLayout
|
|
17
|
+
VkfFormItemRendererTemplateLayout,
|
|
18
|
+
VkfFormItemRendererTemplateDefault
|
|
17
19
|
];
|
|
18
20
|
|
|
19
21
|
const makeInstaller = (components = []) => {
|
package/package.json
CHANGED
|
@@ -1,11 +1,55 @@
|
|
|
1
|
-
export declare const createInputBindProps: <T2 extends
|
|
2
|
-
export declare const createInputOnEmits: <T2 extends
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
export declare const createInputBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"id", keyof T2> | Extract<"clearable", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"readonly", keyof T2> | Extract<"disabled", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"form", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"inputStyle", keyof T2>)[] | undefined>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"prefixIcon", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"resize", keyof T2>, KE> | Exclude<Extract<"autosize", keyof T2>, KE> | Exclude<Extract<"autocomplete", keyof T2>, KE> | Exclude<Extract<"formatter", keyof T2>, KE> | Exclude<Extract<"parser", keyof T2>, KE> | Exclude<Extract<"form", keyof T2>, KE> | Exclude<Extract<"showPassword", keyof T2>, KE> | Exclude<Extract<"showWordLimit", keyof T2>, KE> | Exclude<Extract<"suffixIcon", keyof T2>, KE> | Exclude<Extract<"containerRole", keyof T2>, KE> | Exclude<Extract<"inputStyle", keyof T2>, KE> : Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"id", keyof T2> | Extract<"clearable", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"readonly", keyof T2> | Extract<"disabled", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"form", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"inputStyle", keyof T2>]: { [k in Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"id", keyof T2> | Extract<"clearable", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"readonly", keyof T2> | Extract<"disabled", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"form", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"inputStyle", keyof T2>]: T2[k]; }[P]; }>;
|
|
2
|
+
export declare const createInputOnEmits: <T2 extends AnyFunc, EX extends ("update:modelValue" | "change" | "focus" | "blur" | "keydown" | "input" | "clear" | "mouseleave" | "mouseenter" | "compositionstart" | "compositionupdate" | "compositionend")[] | undefined>(emit: T2, excludes?: EX | undefined) => { [P in EX extends (infer KE)[] ? Exclude<"update:modelValue", KE> | Exclude<"change", KE> | Exclude<"focus", KE> | Exclude<"blur", KE> | Exclude<"keydown", KE> | Exclude<"input", KE> | Exclude<"clear", KE> | Exclude<"mouseleave", KE> | Exclude<"mouseenter", KE> | Exclude<"compositionstart", KE> | Exclude<"compositionupdate", KE> | Exclude<"compositionend", KE> : "update:modelValue" | "change" | "focus" | "blur" | "keydown" | "input" | "clear" | "mouseleave" | "mouseenter" | "compositionstart" | "compositionupdate" | "compositionend"]: {
|
|
3
|
+
"update:modelValue": (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
4
|
+
input: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
5
|
+
change: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
6
|
+
focus: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
7
|
+
blur: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
8
|
+
clear: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
9
|
+
mouseleave: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
10
|
+
mouseenter: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
11
|
+
keydown: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
12
|
+
compositionstart: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
13
|
+
compositionupdate: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
14
|
+
compositionend: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
15
|
+
}[P]; };
|
|
16
|
+
export declare const createFormBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"rules", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"disabled", keyof T2> | Extract<"model", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"labelSuffix", keyof T2> | Extract<"inline", keyof T2> | Extract<"statusIcon", keyof T2> | Extract<"validateOnRuleChange", keyof T2> | Extract<"hideRequiredAsterisk", keyof T2> | Extract<"scrollToError", keyof T2>)[] | undefined>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"model", keyof T2>, KE> | Exclude<Extract<"labelPosition", keyof T2>, KE> | Exclude<Extract<"labelSuffix", keyof T2>, KE> | Exclude<Extract<"inline", keyof T2>, KE> | Exclude<Extract<"statusIcon", keyof T2>, KE> | Exclude<Extract<"validateOnRuleChange", keyof T2>, KE> | Exclude<Extract<"hideRequiredAsterisk", keyof T2>, KE> | Exclude<Extract<"scrollToError", keyof T2>, KE> : Extract<"size", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"rules", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"disabled", keyof T2> | Extract<"model", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"labelSuffix", keyof T2> | Extract<"inline", keyof T2> | Extract<"statusIcon", keyof T2> | Extract<"validateOnRuleChange", keyof T2> | Extract<"hideRequiredAsterisk", keyof T2> | Extract<"scrollToError", keyof T2>]: { [k in Extract<"size", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"rules", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"disabled", keyof T2> | Extract<"model", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"labelSuffix", keyof T2> | Extract<"inline", keyof T2> | Extract<"statusIcon", keyof T2> | Extract<"validateOnRuleChange", keyof T2> | Extract<"hideRequiredAsterisk", keyof T2> | Extract<"scrollToError", keyof T2>]: T2[k]; }[P]; }>;
|
|
17
|
+
export declare const createFormOnEmits: <T2 extends AnyFunc, EX extends "validate"[] | undefined>(emit: T2, excludes?: EX | undefined) => { [P in EX extends (infer KE)[] ? Exclude<"validate", KE> : "validate"]: {
|
|
18
|
+
validate: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
19
|
+
}[P]; };
|
|
20
|
+
export declare const createFormItemBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", 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>)[] | undefined>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"prop", 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> : Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", 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>]: { [k in Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", 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>]: T2[k]; }[P]; }>;
|
|
21
|
+
export declare const createSwitchBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"value", keyof T2> | Extract<"name", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"id", keyof T2> | Extract<"disabled", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"width", keyof T2> | Extract<"inlinePrompt", keyof T2> | Extract<"activeIcon", keyof T2> | Extract<"inactiveIcon", keyof T2> | Extract<"activeText", keyof T2> | Extract<"inactiveText", keyof T2> | Extract<"activeColor", keyof T2> | Extract<"inactiveColor", keyof T2> | Extract<"borderColor", keyof T2> | Extract<"activeValue", keyof T2> | Extract<"inactiveValue", keyof T2> | Extract<"loading", keyof T2> | Extract<"beforeChange", keyof T2>)[] | undefined>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"value", keyof T2>, KE> | Exclude<Extract<"name", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"width", keyof T2>, KE> | Exclude<Extract<"inlinePrompt", keyof T2>, KE> | Exclude<Extract<"activeIcon", keyof T2>, KE> | Exclude<Extract<"inactiveIcon", keyof T2>, KE> | Exclude<Extract<"activeText", keyof T2>, KE> | Exclude<Extract<"inactiveText", keyof T2>, KE> | Exclude<Extract<"activeColor", keyof T2>, KE> | Exclude<Extract<"inactiveColor", keyof T2>, KE> | Exclude<Extract<"borderColor", keyof T2>, KE> | Exclude<Extract<"activeValue", keyof T2>, KE> | Exclude<Extract<"inactiveValue", keyof T2>, KE> | Exclude<Extract<"loading", keyof T2>, KE> | Exclude<Extract<"beforeChange", keyof T2>, KE> : Extract<"size", keyof T2> | Extract<"value", keyof T2> | Extract<"name", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"id", keyof T2> | Extract<"disabled", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"width", keyof T2> | Extract<"inlinePrompt", keyof T2> | Extract<"activeIcon", keyof T2> | Extract<"inactiveIcon", keyof T2> | Extract<"activeText", keyof T2> | Extract<"inactiveText", keyof T2> | Extract<"activeColor", keyof T2> | Extract<"inactiveColor", keyof T2> | Extract<"borderColor", keyof T2> | Extract<"activeValue", keyof T2> | Extract<"inactiveValue", keyof T2> | Extract<"loading", keyof T2> | Extract<"beforeChange", keyof T2>]: { [k in Extract<"size", keyof T2> | Extract<"value", keyof T2> | Extract<"name", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"id", keyof T2> | Extract<"disabled", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"width", keyof T2> | Extract<"inlinePrompt", keyof T2> | Extract<"activeIcon", keyof T2> | Extract<"inactiveIcon", keyof T2> | Extract<"activeText", keyof T2> | Extract<"inactiveText", keyof T2> | Extract<"activeColor", keyof T2> | Extract<"inactiveColor", keyof T2> | Extract<"borderColor", keyof T2> | Extract<"activeValue", keyof T2> | Extract<"inactiveValue", keyof T2> | Extract<"loading", keyof T2> | Extract<"beforeChange", keyof T2>]: T2[k]; }[P]; }>;
|
|
22
|
+
export declare const createSwitchOnEmits: <T2 extends AnyFunc, EX extends ("update:modelValue" | "change" | "input")[] | undefined>(emit: T2, excludes?: EX | undefined) => { [P in EX extends (infer KE)[] ? Exclude<"update:modelValue", KE> | Exclude<"change", KE> | Exclude<"input", KE> : "update:modelValue" | "change" | "input"]: {
|
|
23
|
+
"update:modelValue": (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
24
|
+
change: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
25
|
+
input: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
26
|
+
}[P]; };
|
|
27
|
+
export declare const createSelectBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"name", keyof T2> | Extract<"id", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"disabled", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"loading", keyof T2> | Extract<"automaticDropdown", keyof T2> | Extract<"effect", 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<"filterMethod", keyof T2> | Extract<"multiple", 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<"teleported", keyof T2> | Extract<"persistent", keyof T2> | Extract<"fitInputWidth", keyof T2> | Extract<"tagType", keyof T2>)[] | undefined>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"name", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"popperClass", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"clearIcon", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"autocomplete", keyof T2>, KE> | Exclude<Extract<"suffixIcon", keyof T2>, KE> | Exclude<Extract<"loading", keyof T2>, KE> | Exclude<Extract<"automaticDropdown", keyof T2>, KE> | Exclude<Extract<"effect", 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<"filterMethod", keyof T2>, KE> | Exclude<Extract<"multiple", 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<"teleported", keyof T2>, KE> | Exclude<Extract<"persistent", keyof T2>, KE> | Exclude<Extract<"fitInputWidth", keyof T2>, KE> | Exclude<Extract<"tagType", keyof T2>, KE> : Extract<"size", keyof T2> | Extract<"name", keyof T2> | Extract<"id", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"disabled", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"loading", keyof T2> | Extract<"automaticDropdown", keyof T2> | Extract<"effect", 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<"filterMethod", keyof T2> | Extract<"multiple", 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<"teleported", keyof T2> | Extract<"persistent", keyof T2> | Extract<"fitInputWidth", keyof T2> | Extract<"tagType", keyof T2>]: { [k in Extract<"size", keyof T2> | Extract<"name", keyof T2> | Extract<"id", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"disabled", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"loading", keyof T2> | Extract<"automaticDropdown", keyof T2> | Extract<"effect", 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<"filterMethod", keyof T2> | Extract<"multiple", 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<"teleported", keyof T2> | Extract<"persistent", keyof T2> | Extract<"fitInputWidth", keyof T2> | Extract<"tagType", keyof T2>]: T2[k]; }[P]; }>;
|
|
28
|
+
export declare const createSelectOnEmits: <T2 extends AnyFunc, EX extends ("update:modelValue" | "change" | "focus" | "blur" | "visible-change" | "clear" | "remove-tag")[] | undefined>(emit: T2, excludes?: EX | undefined) => { [P in EX extends (infer KE)[] ? Exclude<"update:modelValue", KE> | Exclude<"change", KE> | Exclude<"focus", KE> | Exclude<"blur", KE> | Exclude<"visible-change", KE> | Exclude<"clear", KE> | Exclude<"remove-tag", KE> : "update:modelValue" | "change" | "focus" | "blur" | "visible-change" | "clear" | "remove-tag"]: {
|
|
29
|
+
'update:modelValue': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
30
|
+
change: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
31
|
+
'remove-tag': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
32
|
+
clear: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
33
|
+
'visible-change': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
34
|
+
focus: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
35
|
+
blur: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
36
|
+
}[P]; };
|
|
37
|
+
export declare const createDatePickerBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"name", keyof T2> | Extract<"disabledDate", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"shortcuts", keyof T2> | Extract<"arrowControl", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"unlinkPanels", keyof T2> | Extract<"disabledHours", keyof T2> | Extract<"disabledMinutes", keyof T2> | Extract<"disabledSeconds", keyof T2> | Extract<"id", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"format", keyof T2> | Extract<"valueFormat", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"editable", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"readonly", keyof T2> | Extract<"disabled", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"rangeSeparator", keyof T2> | Extract<"startPlaceholder", keyof T2> | Extract<"endPlaceholder", keyof T2> | Extract<"defaultValue", keyof T2> | Extract<"defaultTime", keyof T2> | Extract<"isRange", keyof T2>)[] | undefined>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"name", keyof T2>, KE> | Exclude<Extract<"disabledDate", keyof T2>, KE> | Exclude<Extract<"cellClassName", keyof T2>, KE> | Exclude<Extract<"shortcuts", keyof T2>, KE> | Exclude<Extract<"arrowControl", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"unlinkPanels", keyof T2>, KE> | Exclude<Extract<"disabledHours", keyof T2>, KE> | Exclude<Extract<"disabledMinutes", keyof T2>, KE> | Exclude<Extract<"disabledSeconds", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"popperClass", keyof T2>, KE> | Exclude<Extract<"format", keyof T2>, KE> | Exclude<Extract<"valueFormat", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"clearIcon", keyof T2>, KE> | Exclude<Extract<"editable", keyof T2>, KE> | Exclude<Extract<"prefixIcon", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"popperOptions", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"rangeSeparator", keyof T2>, KE> | Exclude<Extract<"startPlaceholder", keyof T2>, KE> | Exclude<Extract<"endPlaceholder", keyof T2>, KE> | Exclude<Extract<"defaultValue", keyof T2>, KE> | Exclude<Extract<"defaultTime", keyof T2>, KE> | Exclude<Extract<"isRange", keyof T2>, KE> : Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"name", keyof T2> | Extract<"disabledDate", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"shortcuts", keyof T2> | Extract<"arrowControl", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"unlinkPanels", keyof T2> | Extract<"disabledHours", keyof T2> | Extract<"disabledMinutes", keyof T2> | Extract<"disabledSeconds", keyof T2> | Extract<"id", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"format", keyof T2> | Extract<"valueFormat", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"editable", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"readonly", keyof T2> | Extract<"disabled", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"rangeSeparator", keyof T2> | Extract<"startPlaceholder", keyof T2> | Extract<"endPlaceholder", keyof T2> | Extract<"defaultValue", keyof T2> | Extract<"defaultTime", keyof T2> | Extract<"isRange", keyof T2>]: { [k in Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"name", keyof T2> | Extract<"disabledDate", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"shortcuts", keyof T2> | Extract<"arrowControl", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"unlinkPanels", keyof T2> | Extract<"disabledHours", keyof T2> | Extract<"disabledMinutes", keyof T2> | Extract<"disabledSeconds", keyof T2> | Extract<"id", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"format", keyof T2> | Extract<"valueFormat", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"editable", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"readonly", keyof T2> | Extract<"disabled", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"rangeSeparator", keyof T2> | Extract<"startPlaceholder", keyof T2> | Extract<"endPlaceholder", keyof T2> | Extract<"defaultValue", keyof T2> | Extract<"defaultTime", keyof T2> | Extract<"isRange", keyof T2>]: T2[k]; }[P]; }>;
|
|
38
|
+
export declare const createDatePickerOnEmits: <T2 extends AnyFunc, EX extends ("update:modelValue" | "change" | "focus" | "blur" | "calendar-change" | "panel-change" | "visible-change" | "keydown")[] | undefined>(emit: T2, excludes?: EX | undefined) => { [P in EX extends (infer KE)[] ? Exclude<"update:modelValue", KE> | Exclude<"change", KE> | Exclude<"focus", KE> | Exclude<"blur", KE> | Exclude<"calendar-change", KE> | Exclude<"panel-change", KE> | Exclude<"visible-change", KE> | Exclude<"keydown", KE> : "update:modelValue" | "change" | "focus" | "blur" | "calendar-change" | "panel-change" | "visible-change" | "keydown"]: {
|
|
39
|
+
'update:modelValue': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
40
|
+
change: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
41
|
+
focus: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
42
|
+
blur: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
43
|
+
'calendar-change': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
44
|
+
'panel-change': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
45
|
+
'visible-change': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
46
|
+
keydown: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
47
|
+
}[P]; };
|
|
48
|
+
export declare const createInputNumberBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"name", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"id", keyof T2> | Extract<"disabled", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"step", keyof T2> | Extract<"stepStrictly", keyof T2> | Extract<"max", keyof T2> | Extract<"min", keyof T2> | Extract<"controls", keyof T2> | Extract<"controlsPosition", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"precision", keyof T2>)[] | undefined>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"name", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"step", keyof T2>, KE> | Exclude<Extract<"stepStrictly", keyof T2>, KE> | Exclude<Extract<"max", keyof T2>, KE> | Exclude<Extract<"min", keyof T2>, KE> | Exclude<Extract<"controls", keyof T2>, KE> | Exclude<Extract<"controlsPosition", keyof T2>, KE> | Exclude<Extract<"valueOnClear", keyof T2>, KE> | Exclude<Extract<"precision", keyof T2>, KE> : Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"name", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"id", keyof T2> | Extract<"disabled", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"step", keyof T2> | Extract<"stepStrictly", keyof T2> | Extract<"max", keyof T2> | Extract<"min", keyof T2> | Extract<"controls", keyof T2> | Extract<"controlsPosition", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"precision", keyof T2>]: { [k in Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"name", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"id", keyof T2> | Extract<"disabled", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"step", keyof T2> | Extract<"stepStrictly", keyof T2> | Extract<"max", keyof T2> | Extract<"min", keyof T2> | Extract<"controls", keyof T2> | Extract<"controlsPosition", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"precision", keyof T2>]: T2[k]; }[P]; }>;
|
|
49
|
+
export declare const createInputNumberOnEmits: <T2 extends AnyFunc, EX extends ("update:modelValue" | "change" | "focus" | "blur" | "input")[] | undefined>(emit: T2, excludes?: EX | undefined) => { [P in EX extends (infer KE)[] ? Exclude<"update:modelValue", KE> | Exclude<"change", KE> | Exclude<"focus", KE> | Exclude<"blur", KE> | Exclude<"input", KE> : "update:modelValue" | "change" | "focus" | "blur" | "input"]: {
|
|
50
|
+
change: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
51
|
+
blur: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
52
|
+
focus: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
53
|
+
input: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
54
|
+
"update:modelValue": (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
55
|
+
}[P]; };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useTooltipContentProps, tagProps, timePickerDefaultProps, inputProps, inputEmits, formProps, formEmits, formItemProps, switchProps, switchEmits } from 'element-plus';
|
|
1
|
+
import { useTooltipContentProps, tagProps, timePickerDefaultProps, inputProps, inputEmits, formProps, formEmits, formItemProps, switchProps, switchEmits, inputNumberProps, inputNumberEmits } from 'element-plus';
|
|
2
2
|
import { bindPropsFactory, onEmitsFactory } from '@vunk/core/shared/utils-vue';
|
|
3
3
|
import { openBlock, createElementBlock, createElementVNode } from 'vue';
|
|
4
4
|
|
|
@@ -177,5 +177,7 @@ const createSelectBindProps = bindPropsFactory(selectProps);
|
|
|
177
177
|
const createSelectOnEmits = onEmitsFactory(selectEmits);
|
|
178
178
|
const createDatePickerBindProps = bindPropsFactory(datePickerProps);
|
|
179
179
|
const createDatePickerOnEmits = onEmitsFactory(datePickerEmits);
|
|
180
|
+
const createInputNumberBindProps = bindPropsFactory(inputNumberProps);
|
|
181
|
+
const createInputNumberOnEmits = onEmitsFactory(inputNumberEmits);
|
|
180
182
|
|
|
181
|
-
export { createDatePickerBindProps, createDatePickerOnEmits, createFormBindProps, createFormItemBindProps, createFormOnEmits, createInputBindProps, createInputOnEmits, createSelectBindProps, createSelectOnEmits, createSwitchBindProps, createSwitchOnEmits, datePickerEmits, datePickerProps, selectEmits, selectProps };
|
|
183
|
+
export { createDatePickerBindProps, createDatePickerOnEmits, createFormBindProps, createFormItemBindProps, createFormOnEmits, createInputBindProps, createInputNumberBindProps, createInputNumberOnEmits, createInputOnEmits, createSelectBindProps, createSelectOnEmits, createSwitchBindProps, createSwitchOnEmits, datePickerEmits, datePickerProps, selectEmits, selectProps };
|
|
@@ -7,13 +7,13 @@ export declare const datePickerProps: {
|
|
|
7
7
|
disabledDate: {
|
|
8
8
|
readonly type: PropType<Function>;
|
|
9
9
|
readonly required: false;
|
|
10
|
-
readonly validator: (val: unknown) => boolean;
|
|
10
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
11
11
|
__epPropKey: true;
|
|
12
12
|
};
|
|
13
13
|
cellClassName: {
|
|
14
14
|
readonly type: PropType<Function>;
|
|
15
15
|
readonly required: false;
|
|
16
|
-
readonly validator: (val: unknown) => boolean;
|
|
16
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
17
17
|
__epPropKey: true;
|
|
18
18
|
};
|
|
19
19
|
shortcuts: import("element-plus/es/utils").EpPropFinalized<ArrayConstructor, unknown, unknown, () => never[], boolean>;
|
|
@@ -25,25 +25,25 @@ export declare const datePickerProps: {
|
|
|
25
25
|
disabledHours: {
|
|
26
26
|
readonly type: PropType<import("element-plus/es/components/time-picker/src/props/shared").GetDisabledHours>;
|
|
27
27
|
readonly required: false;
|
|
28
|
-
readonly validator: (val: unknown) => boolean;
|
|
28
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
29
29
|
__epPropKey: true;
|
|
30
30
|
};
|
|
31
31
|
disabledMinutes: {
|
|
32
32
|
readonly type: PropType<import("element-plus/es/components/time-picker/src/props/shared").GetDisabledMinutes>;
|
|
33
33
|
readonly required: false;
|
|
34
|
-
readonly validator: (val: unknown) => boolean;
|
|
34
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
35
35
|
__epPropKey: true;
|
|
36
36
|
};
|
|
37
37
|
disabledSeconds: {
|
|
38
38
|
readonly type: PropType<import("element-plus/es/components/time-picker/src/props/shared").GetDisabledSeconds>;
|
|
39
39
|
readonly required: false;
|
|
40
|
-
readonly validator: (val: unknown) => boolean;
|
|
40
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
41
41
|
__epPropKey: true;
|
|
42
42
|
};
|
|
43
43
|
id: {
|
|
44
44
|
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").SingleOrRange<string> & {}) | (() => import("element-plus").SingleOrRange<string>) | ((new (...args: any[]) => import("element-plus").SingleOrRange<string> & {}) | (() => import("element-plus").SingleOrRange<string>))[], unknown, unknown>>;
|
|
45
45
|
readonly required: false;
|
|
46
|
-
readonly validator: (val: unknown) => boolean;
|
|
46
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
47
47
|
__epPropKey: true;
|
|
48
48
|
};
|
|
49
49
|
name: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").SingleOrRange<string> & {}) | (() => import("element-plus").SingleOrRange<string>) | ((new (...args: any[]) => import("element-plus").SingleOrRange<string> & {}) | (() => import("element-plus").SingleOrRange<string>))[], unknown, unknown, "", boolean>;
|
|
@@ -57,7 +57,7 @@ export declare const datePickerProps: {
|
|
|
57
57
|
size: {
|
|
58
58
|
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
59
59
|
readonly required: false;
|
|
60
|
-
readonly validator: (val: unknown) => boolean;
|
|
60
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
61
61
|
__epPropKey: true;
|
|
62
62
|
};
|
|
63
63
|
readonly: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
@@ -71,33 +71,33 @@ export declare const datePickerProps: {
|
|
|
71
71
|
defaultValue: {
|
|
72
72
|
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => Date | [Date, Date]) | (() => import("element-plus").SingleOrRange<Date>) | ((new (...args: any[]) => Date | [Date, Date]) | (() => import("element-plus").SingleOrRange<Date>))[], unknown, unknown>>;
|
|
73
73
|
readonly required: false;
|
|
74
|
-
readonly validator: (val: unknown) => boolean;
|
|
74
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
75
75
|
__epPropKey: true;
|
|
76
76
|
};
|
|
77
77
|
defaultTime: {
|
|
78
78
|
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => Date | [Date, Date]) | (() => import("element-plus").SingleOrRange<Date>) | ((new (...args: any[]) => Date | [Date, Date]) | (() => import("element-plus").SingleOrRange<Date>))[], unknown, unknown>>;
|
|
79
79
|
readonly required: false;
|
|
80
|
-
readonly validator: (val: unknown) => boolean;
|
|
80
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
81
81
|
__epPropKey: true;
|
|
82
82
|
};
|
|
83
83
|
isRange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
84
84
|
};
|
|
85
85
|
export declare const datePickerEmits: {
|
|
86
|
-
'update:modelValue':
|
|
87
|
-
change:
|
|
88
|
-
focus:
|
|
89
|
-
blur:
|
|
90
|
-
'calendar-change':
|
|
91
|
-
'panel-change':
|
|
92
|
-
'visible-change':
|
|
93
|
-
keydown:
|
|
86
|
+
'update:modelValue': null;
|
|
87
|
+
change: null;
|
|
88
|
+
focus: null;
|
|
89
|
+
blur: null;
|
|
90
|
+
'calendar-change': null;
|
|
91
|
+
'panel-change': null;
|
|
92
|
+
'visible-change': null;
|
|
93
|
+
keydown: null;
|
|
94
94
|
};
|
|
95
95
|
export declare const selectProps: {
|
|
96
96
|
name: StringConstructor;
|
|
97
97
|
id: StringConstructor;
|
|
98
98
|
modelValue: {
|
|
99
99
|
type: (StringConstructor | BooleanConstructor | NumberConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
100
|
-
default:
|
|
100
|
+
default: undefined;
|
|
101
101
|
};
|
|
102
102
|
autocomplete: {
|
|
103
103
|
type: StringConstructor;
|
|
@@ -169,16 +169,16 @@ export declare const selectProps: {
|
|
|
169
169
|
default: string;
|
|
170
170
|
type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "warning" | "info" | "danger", unknown>>;
|
|
171
171
|
required: false;
|
|
172
|
-
validator: (val: unknown) => boolean;
|
|
172
|
+
validator: ((val: unknown) => boolean) | undefined;
|
|
173
173
|
__epPropKey: true;
|
|
174
174
|
};
|
|
175
175
|
};
|
|
176
176
|
export declare const selectEmits: {
|
|
177
|
-
'update:modelValue':
|
|
178
|
-
change:
|
|
179
|
-
'remove-tag':
|
|
180
|
-
clear:
|
|
181
|
-
'visible-change':
|
|
182
|
-
focus:
|
|
183
|
-
blur:
|
|
177
|
+
'update:modelValue': null;
|
|
178
|
+
change: null;
|
|
179
|
+
'remove-tag': null;
|
|
180
|
+
clear: null;
|
|
181
|
+
'visible-change': null;
|
|
182
|
+
focus: null;
|
|
183
|
+
blur: null;
|
|
184
184
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|