@vunk/form 2.16.10 → 2.17.0

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.
@@ -0,0 +1,107 @@
1
+ import { _VkfFormItemCtx, VkfFormItem } from '@vunk/form/components/form-item';
2
+ import { timePickerProps, timePickerEmits as timePickerEmits$1, createTimePickerBindProps, createTimePickerOnEmits } from '@vunk/form/shared/element-plus';
3
+ import { bindPropsFactory, onEmitsFactory } from '@vunk/core/shared/utils-vue';
4
+ import { defineComponent, resolveComponent, openBlock, createBlock, normalizeProps, guardReactiveProps, withCtx, createVNode, mergeProps, toHandlers, createSlots, renderList, resolveDynamicComponent } from 'vue';
5
+ import { ElTimePicker } from 'element-plus';
6
+ import { useComputedReadonly } from '@vunk/form/composables';
7
+ import { _ as _export_sfc } from '../_plugin-vue_export-helper.mjs';
8
+
9
+ const props = {
10
+ ...timePickerProps,
11
+ ..._VkfFormItemCtx.props,
12
+ timePickerSlots: {
13
+ type: Object,
14
+ default: void 0
15
+ }
16
+ };
17
+ const createBindProps = bindPropsFactory(props);
18
+ const emits = {
19
+ ...timePickerEmits$1
20
+ };
21
+ const createOnEmits = onEmitsFactory(emits);
22
+
23
+ var ctx = /*#__PURE__*/Object.freeze({
24
+ __proto__: null,
25
+ createBindProps: createBindProps,
26
+ createOnEmits: createOnEmits,
27
+ emits: emits,
28
+ props: props
29
+ });
30
+
31
+ var _sfc_main = defineComponent({
32
+ name: "VkfTimePicker",
33
+ components: {
34
+ VkfFormItem,
35
+ ElTimePicker
36
+ },
37
+ props,
38
+ emits,
39
+ setup(props2, { emit }) {
40
+ const formItemBindProps = _VkfFormItemCtx.createBindProps(props2);
41
+ const timePickerBindProps = createTimePickerBindProps(props2, [
42
+ "readonly"
43
+ ]);
44
+ const timePickerOnEmits = createTimePickerOnEmits(emit);
45
+ const readonly = useComputedReadonly(props2);
46
+ return {
47
+ formItemBindProps,
48
+ timePickerBindProps,
49
+ timePickerOnEmits,
50
+ readonly
51
+ };
52
+ }
53
+ });
54
+
55
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
56
+ const _component_ElTimePicker = resolveComponent("ElTimePicker");
57
+ const _component_VkfFormItem = resolveComponent("VkfFormItem");
58
+ return openBlock(), createBlock(
59
+ _component_VkfFormItem,
60
+ normalizeProps(guardReactiveProps(_ctx.formItemBindProps)),
61
+ {
62
+ default: withCtx(() => [
63
+ createVNode(_component_ElTimePicker, mergeProps(_ctx.timePickerBindProps, { readonly: _ctx.readonly }, toHandlers(_ctx.timePickerOnEmits)), createSlots({
64
+ _: 2
65
+ /* DYNAMIC */
66
+ }, [
67
+ renderList(_ctx.timePickerSlots, (item, key) => {
68
+ return {
69
+ name: key,
70
+ fn: withCtx((e) => [
71
+ (openBlock(), createBlock(resolveDynamicComponent(item?.(e))))
72
+ ])
73
+ };
74
+ })
75
+ ]), 1040, ["readonly"])
76
+ ]),
77
+ _: 1
78
+ /* STABLE */
79
+ },
80
+ 16
81
+ /* FULL_PROPS */
82
+ );
83
+ }
84
+ var VkfTimePicker = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/private-vunk-form/private-vunk-form/packages/components/time-picker/src/index.vue"]]);
85
+
86
+ const timePickerEmits = {
87
+ "update:modelValue": null,
88
+ "change": null,
89
+ "focus": null,
90
+ "blur": null,
91
+ "visible-change": null,
92
+ "keydown": null
93
+ };
94
+
95
+ var types = /*#__PURE__*/Object.freeze({
96
+ __proto__: null,
97
+ timePickerEmits: timePickerEmits
98
+ });
99
+
100
+ VkfTimePicker.install = (app) => {
101
+ app.component(
102
+ VkfTimePicker.name || "VkfTimePicker",
103
+ VkfTimePicker
104
+ );
105
+ };
106
+
107
+ export { VkfTimePicker, ctx as _VkfTimePickerCtx, types as __VkfTimePicker, VkfTimePicker as default };
@@ -0,0 +1,364 @@
1
+ import { PropType } from 'vue';
2
+ import { TimePickerSlots } from './types';
3
+ export declare const props: {
4
+ timePickerSlots: {
5
+ type: PropType<TimePickerSlots>;
6
+ default: any;
7
+ };
8
+ required: {
9
+ readonly type: PropType<boolean>;
10
+ readonly required: false;
11
+ readonly validator: ((val: unknown) => boolean) | undefined;
12
+ __epPropKey: true;
13
+ } & {
14
+ readonly default: undefined;
15
+ };
16
+ formItemSize: {
17
+ type: PropType<"default" | "small" | "large">;
18
+ default: "default" | "small" | "large";
19
+ };
20
+ formItemSlots: {
21
+ type: PropType<import("@vunk/form/components/form-item/src/types").FormItemSlots>;
22
+ default: any;
23
+ };
24
+ elRef: {
25
+ type: PropType<any>;
26
+ required: boolean;
27
+ };
28
+ inline: {
29
+ type: BooleanConstructor;
30
+ default: boolean;
31
+ };
32
+ readonly: {
33
+ type: BooleanConstructor;
34
+ default: any;
35
+ };
36
+ formItemTip: {
37
+ type: StringConstructor;
38
+ default: any;
39
+ };
40
+ formItemTipClass: any;
41
+ labelTip: {
42
+ type: StringConstructor;
43
+ default: any;
44
+ };
45
+ information: {
46
+ type: BooleanConstructor;
47
+ default: boolean;
48
+ };
49
+ prop: any;
50
+ defaultModelValue: any;
51
+ label: StringConstructor;
52
+ labelWidth: {
53
+ readonly type: PropType<string | number>;
54
+ readonly required: false;
55
+ readonly validator: ((val: unknown) => boolean) | undefined;
56
+ __epPropKey: true;
57
+ } & {
58
+ readonly default: "";
59
+ };
60
+ labelPosition: {
61
+ readonly type: PropType<"" | "top" | "left" | "right">;
62
+ readonly required: false;
63
+ readonly validator: ((val: unknown) => boolean) | undefined;
64
+ __epPropKey: true;
65
+ } & {
66
+ readonly default: "";
67
+ };
68
+ rules: {
69
+ readonly type: PropType<unknown>;
70
+ readonly required: false;
71
+ readonly validator: ((val: unknown) => boolean) | undefined;
72
+ __epPropKey: true;
73
+ };
74
+ error: StringConstructor;
75
+ validateStatus: {
76
+ readonly type: PropType<"" | "error" | "success" | "validating">;
77
+ readonly required: false;
78
+ readonly validator: ((val: unknown) => boolean) | undefined;
79
+ __epPropKey: true;
80
+ };
81
+ for: StringConstructor;
82
+ inlineMessage: {
83
+ readonly type: PropType<string | boolean>;
84
+ readonly required: false;
85
+ readonly validator: ((val: unknown) => boolean) | undefined;
86
+ __epPropKey: true;
87
+ } & {
88
+ readonly default: "";
89
+ };
90
+ showMessage: {
91
+ readonly type: PropType<boolean>;
92
+ readonly required: false;
93
+ readonly validator: ((val: unknown) => boolean) | undefined;
94
+ __epPropKey: true;
95
+ } & {
96
+ readonly default: true;
97
+ };
98
+ showNow: {
99
+ readonly type: PropType<boolean>;
100
+ readonly required: false;
101
+ readonly validator: ((val: unknown) => boolean) | undefined;
102
+ __epPropKey: true;
103
+ } & {
104
+ readonly default: true;
105
+ };
106
+ showConfirm: {
107
+ readonly type: PropType<boolean>;
108
+ readonly required: false;
109
+ readonly validator: ((val: unknown) => boolean) | undefined;
110
+ __epPropKey: true;
111
+ } & {
112
+ readonly default: true;
113
+ };
114
+ showFooter: {
115
+ readonly type: PropType<boolean>;
116
+ readonly required: false;
117
+ readonly validator: ((val: unknown) => boolean) | undefined;
118
+ __epPropKey: true;
119
+ } & {
120
+ readonly default: true;
121
+ };
122
+ showWeekNumber: BooleanConstructor;
123
+ ariaLabel: StringConstructor;
124
+ emptyValues: ArrayConstructor;
125
+ valueOnClear: {
126
+ readonly type: PropType<string | number | boolean | Function>;
127
+ readonly required: false;
128
+ readonly validator: ((val: unknown) => boolean) | undefined;
129
+ __epPropKey: true;
130
+ } & {
131
+ readonly default: undefined;
132
+ };
133
+ disabledDate: {
134
+ readonly type: PropType<Function>;
135
+ readonly required: false;
136
+ readonly validator: ((val: unknown) => boolean) | undefined;
137
+ __epPropKey: true;
138
+ };
139
+ cellClassName: {
140
+ readonly type: PropType<Function>;
141
+ readonly required: false;
142
+ readonly validator: ((val: unknown) => boolean) | undefined;
143
+ __epPropKey: true;
144
+ };
145
+ shortcuts: {
146
+ readonly type: PropType<unknown[]>;
147
+ readonly required: false;
148
+ readonly validator: ((val: unknown) => boolean) | undefined;
149
+ __epPropKey: true;
150
+ } & {
151
+ readonly default: () => never[];
152
+ };
153
+ arrowControl: BooleanConstructor;
154
+ tabindex: {
155
+ readonly type: PropType<string | number>;
156
+ readonly required: false;
157
+ readonly validator: ((val: unknown) => boolean) | undefined;
158
+ __epPropKey: true;
159
+ } & {
160
+ readonly default: 0;
161
+ };
162
+ validateEvent: {
163
+ readonly type: PropType<boolean>;
164
+ readonly required: false;
165
+ readonly validator: ((val: unknown) => boolean) | undefined;
166
+ __epPropKey: true;
167
+ } & {
168
+ readonly default: true;
169
+ };
170
+ unlinkPanels: BooleanConstructor;
171
+ placement: {
172
+ readonly type: PropType<import("element-plus").Placement>;
173
+ readonly required: false;
174
+ readonly validator: ((val: unknown) => boolean) | undefined;
175
+ __epPropKey: true;
176
+ } & {
177
+ readonly default: "bottom";
178
+ };
179
+ fallbackPlacements: {
180
+ readonly type: PropType<import("element-plus").Placement[]>;
181
+ readonly required: false;
182
+ readonly validator: ((val: unknown) => boolean) | undefined;
183
+ __epPropKey: true;
184
+ } & {
185
+ readonly default: readonly ["bottom", "top", "right", "left"];
186
+ };
187
+ disabledHours: {
188
+ readonly type: PropType<import("element-plus").GetDisabledHours>;
189
+ readonly required: false;
190
+ readonly validator: ((val: unknown) => boolean) | undefined;
191
+ __epPropKey: true;
192
+ };
193
+ disabledMinutes: {
194
+ readonly type: PropType<import("element-plus").GetDisabledMinutes>;
195
+ readonly required: false;
196
+ readonly validator: ((val: unknown) => boolean) | undefined;
197
+ __epPropKey: true;
198
+ };
199
+ disabledSeconds: {
200
+ readonly type: PropType<import("element-plus").GetDisabledSeconds>;
201
+ readonly required: false;
202
+ readonly validator: ((val: unknown) => boolean) | undefined;
203
+ __epPropKey: true;
204
+ };
205
+ id: {
206
+ readonly type: PropType<import("element-plus").SingleOrRange<string>>;
207
+ readonly required: false;
208
+ readonly validator: ((val: unknown) => boolean) | undefined;
209
+ __epPropKey: true;
210
+ };
211
+ name: {
212
+ readonly type: PropType<import("element-plus").SingleOrRange<string>>;
213
+ readonly required: false;
214
+ readonly validator: ((val: unknown) => boolean) | undefined;
215
+ __epPropKey: true;
216
+ };
217
+ popperClass: {
218
+ readonly type: PropType<string | {
219
+ [x: string]: boolean;
220
+ } | (string | {
221
+ [x: string]: boolean;
222
+ } | (string | {
223
+ [x: string]: boolean;
224
+ } | (string | {
225
+ [x: string]: boolean;
226
+ } | (string | {
227
+ [x: string]: boolean;
228
+ } | (string | {
229
+ [x: string]: boolean;
230
+ } | (string | {
231
+ [x: string]: boolean;
232
+ } | (string | {
233
+ [x: string]: boolean;
234
+ } | (string | {
235
+ [x: string]: boolean;
236
+ } | (string | {
237
+ [x: string]: boolean;
238
+ } | (string | any[] | {
239
+ [x: string]: boolean;
240
+ })[])[])[])[])[])[])[])[])[])[]>;
241
+ readonly required: false;
242
+ readonly validator: ((val: unknown) => boolean) | undefined;
243
+ __epPropKey: true;
244
+ };
245
+ popperStyle: {
246
+ readonly type: PropType<import("vue").StyleValue>;
247
+ readonly required: false;
248
+ readonly validator: ((val: unknown) => boolean) | undefined;
249
+ __epPropKey: true;
250
+ };
251
+ format: StringConstructor;
252
+ valueFormat: StringConstructor;
253
+ dateFormat: StringConstructor;
254
+ timeFormat: StringConstructor;
255
+ type: {
256
+ readonly type: PropType<string>;
257
+ readonly required: false;
258
+ readonly validator: ((val: unknown) => boolean) | undefined;
259
+ __epPropKey: true;
260
+ } & {
261
+ readonly default: "";
262
+ };
263
+ clearable: {
264
+ readonly type: PropType<boolean>;
265
+ readonly required: false;
266
+ readonly validator: ((val: unknown) => boolean) | undefined;
267
+ __epPropKey: true;
268
+ } & {
269
+ readonly default: true;
270
+ };
271
+ clearIcon: {
272
+ readonly type: PropType<unknown>;
273
+ readonly required: false;
274
+ readonly validator: ((val: unknown) => boolean) | undefined;
275
+ __epPropKey: true;
276
+ };
277
+ editable: {
278
+ readonly type: PropType<boolean>;
279
+ readonly required: false;
280
+ readonly validator: ((val: unknown) => boolean) | undefined;
281
+ __epPropKey: true;
282
+ } & {
283
+ readonly default: true;
284
+ };
285
+ prefixIcon: {
286
+ readonly type: PropType<unknown>;
287
+ readonly required: false;
288
+ readonly validator: ((val: unknown) => boolean) | undefined;
289
+ __epPropKey: true;
290
+ } & {
291
+ readonly default: "";
292
+ };
293
+ size: {
294
+ readonly type: PropType<"" | "default" | "small" | "large">;
295
+ readonly required: false;
296
+ readonly validator: ((val: unknown) => boolean) | undefined;
297
+ __epPropKey: true;
298
+ };
299
+ disabled: BooleanConstructor;
300
+ placeholder: {
301
+ readonly type: PropType<string>;
302
+ readonly required: false;
303
+ readonly validator: ((val: unknown) => boolean) | undefined;
304
+ __epPropKey: true;
305
+ } & {
306
+ readonly default: "";
307
+ };
308
+ popperOptions: {
309
+ readonly type: PropType<Partial<import("element-plus").Options>>;
310
+ readonly required: false;
311
+ readonly validator: ((val: unknown) => boolean) | undefined;
312
+ __epPropKey: true;
313
+ } & {
314
+ readonly default: () => {};
315
+ };
316
+ modelValue: {
317
+ readonly type: PropType<import("element-plus").ModelValueType>;
318
+ readonly required: false;
319
+ readonly validator: ((val: unknown) => boolean) | undefined;
320
+ __epPropKey: true;
321
+ } & {
322
+ readonly default: "";
323
+ };
324
+ rangeSeparator: {
325
+ readonly type: PropType<string>;
326
+ readonly required: false;
327
+ readonly validator: ((val: unknown) => boolean) | undefined;
328
+ __epPropKey: true;
329
+ } & {
330
+ readonly default: "-";
331
+ };
332
+ startPlaceholder: StringConstructor;
333
+ endPlaceholder: StringConstructor;
334
+ defaultValue: {
335
+ readonly type: PropType<import("element-plus").SingleOrRange<Date>>;
336
+ readonly required: false;
337
+ readonly validator: ((val: unknown) => boolean) | undefined;
338
+ __epPropKey: true;
339
+ };
340
+ defaultTime: {
341
+ readonly type: PropType<import("element-plus").SingleOrRange<Date>>;
342
+ readonly required: false;
343
+ readonly validator: ((val: unknown) => boolean) | undefined;
344
+ __epPropKey: true;
345
+ };
346
+ isRange: BooleanConstructor;
347
+ };
348
+ export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"type", keyof T2> | 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<"defaultModelValue", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"placement", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"showNow", keyof T2> | Extract<"showConfirm", keyof T2> | Extract<"showFooter", keyof T2> | Extract<"showWeekNumber", keyof T2> | Extract<"disabledDate", keyof T2> | Extract<"shortcuts", keyof T2> | Extract<"arrowControl", keyof T2> | Extract<"unlinkPanels", keyof T2> | Extract<"disabledHours", keyof T2> | Extract<"disabledMinutes", keyof T2> | Extract<"disabledSeconds", keyof T2> | Extract<"format", keyof T2> | Extract<"valueFormat", keyof T2> | Extract<"dateFormat", keyof T2> | Extract<"timeFormat", keyof T2> | Extract<"editable", 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> | Extract<"timePickerSlots", 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<"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<"defaultModelValue", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"labelPosition", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"error", keyof T2>, KE> | Exclude<Extract<"validateStatus", keyof T2>, KE> | Exclude<Extract<"for", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"ariaLabel", keyof T2>, KE> | Exclude<Extract<"popperClass", keyof T2>, KE> | Exclude<Extract<"popperStyle", keyof T2>, KE> | Exclude<Extract<"fallbackPlacements", keyof T2>, KE> | Exclude<Extract<"placement", keyof T2>, KE> | Exclude<Extract<"popperOptions", keyof T2>, KE> | Exclude<Extract<"name", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"cellClassName", keyof T2>, KE> | Exclude<Extract<"clearIcon", keyof T2>, KE> | Exclude<Extract<"prefixIcon", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"emptyValues", keyof T2>, KE> | Exclude<Extract<"valueOnClear", keyof T2>, KE> | Exclude<Extract<"showNow", keyof T2>, KE> | Exclude<Extract<"showConfirm", keyof T2>, KE> | Exclude<Extract<"showFooter", keyof T2>, KE> | Exclude<Extract<"showWeekNumber", keyof T2>, KE> | Exclude<Extract<"disabledDate", keyof T2>, KE> | Exclude<Extract<"shortcuts", keyof T2>, KE> | Exclude<Extract<"arrowControl", 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<"format", keyof T2>, KE> | Exclude<Extract<"valueFormat", keyof T2>, KE> | Exclude<Extract<"dateFormat", keyof T2>, KE> | Exclude<Extract<"timeFormat", keyof T2>, KE> | Exclude<Extract<"editable", 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> | Exclude<Extract<"timePickerSlots", keyof T2>, KE> : Extract<"type", keyof T2> | 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<"defaultModelValue", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"placement", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"showNow", keyof T2> | Extract<"showConfirm", keyof T2> | Extract<"showFooter", keyof T2> | Extract<"showWeekNumber", keyof T2> | Extract<"disabledDate", keyof T2> | Extract<"shortcuts", keyof T2> | Extract<"arrowControl", keyof T2> | Extract<"unlinkPanels", keyof T2> | Extract<"disabledHours", keyof T2> | Extract<"disabledMinutes", keyof T2> | Extract<"disabledSeconds", keyof T2> | Extract<"format", keyof T2> | Extract<"valueFormat", keyof T2> | Extract<"dateFormat", keyof T2> | Extract<"timeFormat", keyof T2> | Extract<"editable", 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> | Extract<"timePickerSlots", keyof T2>]: { [k in Extract<"type", keyof T2> | 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<"defaultModelValue", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"placement", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"showNow", keyof T2> | Extract<"showConfirm", keyof T2> | Extract<"showFooter", keyof T2> | Extract<"showWeekNumber", keyof T2> | Extract<"disabledDate", keyof T2> | Extract<"shortcuts", keyof T2> | Extract<"arrowControl", keyof T2> | Extract<"unlinkPanels", keyof T2> | Extract<"disabledHours", keyof T2> | Extract<"disabledMinutes", keyof T2> | Extract<"disabledSeconds", keyof T2> | Extract<"format", keyof T2> | Extract<"valueFormat", keyof T2> | Extract<"dateFormat", keyof T2> | Extract<"timeFormat", keyof T2> | Extract<"editable", 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> | Extract<"timePickerSlots", keyof T2>]: T2[k]; }[P]; }>;
349
+ export declare const emits: {
350
+ 'update:modelValue': any;
351
+ change: any;
352
+ focus: any;
353
+ blur: any;
354
+ 'visible-change': any;
355
+ keydown: any;
356
+ };
357
+ export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("focus" | "update:modelValue" | "change" | "blur" | "keydown" | "visible-change")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"focus", KE> | Exclude<"update:modelValue", KE> | Exclude<"change", KE> | Exclude<"blur", KE> | Exclude<"keydown", KE> | Exclude<"visible-change", KE> : "focus" | "update:modelValue" | "change" | "blur" | "keydown" | "visible-change"]: {
358
+ 'update:modelValue': (...e: import("@vunk/core").RestParameters<T2>) => void;
359
+ change: (...e: import("@vunk/core").RestParameters<T2>) => void;
360
+ focus: (...e: import("@vunk/core").RestParameters<T2>) => void;
361
+ blur: (...e: import("@vunk/core").RestParameters<T2>) => void;
362
+ 'visible-change': (...e: import("@vunk/core").RestParameters<T2>) => void;
363
+ keydown: (...e: import("@vunk/core").RestParameters<T2>) => void;
364
+ }[P]; };