@movk/nuxt 1.0.0 → 1.1.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.
Files changed (35) hide show
  1. package/README.md +3 -0
  2. package/dist/module.d.mts +12 -3
  3. package/dist/module.json +1 -1
  4. package/dist/module.mjs +57 -13
  5. package/dist/runtime/components/AutoForm.vue +1 -0
  6. package/dist/runtime/components/SlideVerify.d.vue.ts +107 -0
  7. package/dist/runtime/components/SlideVerify.vue +147 -0
  8. package/dist/runtime/components/SlideVerify.vue.d.ts +107 -0
  9. package/dist/runtime/components/StarRating.vue +1 -0
  10. package/dist/runtime/components/auto-form-renderer/AutoFormRendererArray.vue +1 -1
  11. package/dist/runtime/components/theme-picker/ThemePicker.d.vue.ts +3 -0
  12. package/dist/runtime/components/theme-picker/ThemePicker.vue +266 -0
  13. package/dist/runtime/components/theme-picker/ThemePicker.vue.d.ts +3 -0
  14. package/dist/runtime/components/theme-picker/ThemePickerButton.d.vue.ts +18 -0
  15. package/dist/runtime/components/theme-picker/ThemePickerButton.vue +34 -0
  16. package/dist/runtime/components/theme-picker/ThemePickerButton.vue.d.ts +18 -0
  17. package/dist/runtime/composables/useApiFetch.js +1 -3
  18. package/dist/runtime/composables/useAutoForm.d.ts +81 -1425
  19. package/dist/runtime/composables/useAutoForm.js +3 -1
  20. package/dist/runtime/composables/useTheme.d.ts +27 -0
  21. package/dist/runtime/composables/useTheme.js +180 -0
  22. package/dist/runtime/composables/useUploadWithProgress.js +2 -2
  23. package/dist/runtime/internal/useAutoFormProvider.js +2 -2
  24. package/dist/runtime/plugins/api.factory.js +28 -30
  25. package/dist/runtime/plugins/theme.d.ts +2 -0
  26. package/dist/runtime/plugins/theme.js +100 -0
  27. package/dist/runtime/schemas/api.d.ts +336 -100
  28. package/dist/runtime/schemas/api.js +114 -98
  29. package/dist/runtime/style.css +1 -0
  30. package/dist/runtime/types/api.d.ts +108 -108
  31. package/dist/runtime/types/api.js +0 -8
  32. package/dist/runtime/utils/api-utils.d.ts +45 -30
  33. package/dist/runtime/utils/theme.d.ts +135 -0
  34. package/dist/runtime/utils/theme.js +134 -0
  35. package/package.json +21 -19
@@ -1,1443 +1,99 @@
1
1
  import type { IsComponent } from '@movk/core';
2
2
  import type { AutoFormControl, AutoFormControls, TypedZodFactory } from '../types/auto-form.js';
3
3
  import { z } from 'zod/v4';
4
- import type { DateValue } from '@internationalized/date';
5
- import type { DateRange } from 'reka-ui';
6
- import { useDateFormatter } from './useDateFormatter.js';
4
+ import WithClear from '../components/input/WithClear.vue.js';
5
+ import WithPasswordToggle from '../components/input/WithPasswordToggle.vue.js';
6
+ import WithCopy from '../components/input/WithCopy.vue.js';
7
+ import WithCharacterLimit from '../components/input/WithCharacterLimit.vue.js';
8
+ import DatePicker from '../components/DatePicker.vue.js';
9
+ import ColorChooser from '../components/ColorChooser.vue.js';
10
+ import StarRating from '../components/StarRating.vue.js';
11
+ import SlideVerify from '../components/SlideVerify.vue.js';
12
+ import { UInput, UInputNumber, UCheckbox, USwitch, UTextarea, USlider, UPinInput, UInputTags, UFileUpload, USelect, USelectMenu, UInputMenu, UCheckboxGroup, URadioGroup, UInputDate, UInputTime } from '#components';
7
13
  /**
8
14
  * 从 Zod schema 中提取自定义元数据
9
15
  */
10
16
  declare function getAutoFormMetadata(schema: z.ZodType): Record<string, any>;
11
17
  declare function defineControl<C extends IsComponent>(e: AutoFormControl<C>): AutoFormControl<C>;
12
18
  declare const DEFAULT_CONTROLS: {
13
- readonly string: AutoFormControl<any>;
14
- readonly number: AutoFormControl<any>;
15
- readonly boolean: AutoFormControl<any>;
16
- readonly enum: AutoFormControl<any>;
17
- readonly file: AutoFormControl<any>;
18
- readonly calendarDate: AutoFormControl<(<R extends boolean, M extends boolean, P extends "click" | "hover" = "click">(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
19
- slots: {
20
- default?: (props: any) => any;
21
- } & {
22
- leading?: (props: any) => any;
23
- } & {
24
- trailing?: (props: any) => any;
25
- } & {
26
- anchor?: (props: any) => any;
27
- } & {
28
- day?: (props: any) => any;
29
- } & {
30
- heading?: (props: any) => any;
31
- } & {
32
- 'week-day'?: (props: any) => any;
33
- };
34
- attrs: any;
35
- emit: (((evt: "update:modelValue", date: R extends true ? DateRange | null : M extends true ? DateValue[] | undefined : DateValue | undefined) => void) & ((evt: "update:placeholder", ...args: [date: DateValue] & [date: DateValue]) => void) & ((evt: "update:validModelValue", date: DateRange) => void) & ((evt: "update:startValue", date: DateValue | undefined) => void) & ((evt: "close:prevent") => void) & ((evt: "update:open", value: boolean) => void)) & ((evt: "update:modelValue", value: import("../types/components.js").ValueType<R, M>) => void);
36
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
37
- props: import("vue").PublicProps & {
38
- buttonProps?: import("@nuxt/ui/.").ButtonProps | undefined;
39
- popoverProps?: import("@nuxt/ui/.").PopoverProps<P> | undefined;
40
- labelFormat?: import("../types/components.js").LabelFormat | ((formatter: ReturnType<typeof useDateFormatter>, modelValue: (R extends true ? DateRange | null : M extends true ? DateValue[] | undefined : DateValue | undefined) | undefined) => string) | undefined;
41
- as?: any;
42
- nextYearIcon?: import("@nuxt/ui/.").IconProps["name"];
43
- nextYear?: Omit<import("@nuxt/ui/.").ButtonProps, import("@nuxt/ui/.").LinkPropsKeys> | undefined;
44
- nextMonthIcon?: import("@nuxt/ui/.").IconProps["name"];
45
- nextMonth?: Omit<import("@nuxt/ui/.").ButtonProps, import("@nuxt/ui/.").LinkPropsKeys> | undefined;
46
- prevYearIcon?: import("@nuxt/ui/.").IconProps["name"];
47
- prevYear?: Omit<import("@nuxt/ui/.").ButtonProps, import("@nuxt/ui/.").LinkPropsKeys> | undefined;
48
- prevMonthIcon?: import("@nuxt/ui/.").IconProps["name"];
49
- prevMonth?: Omit<import("@nuxt/ui/.").ButtonProps, import("@nuxt/ui/.").LinkPropsKeys> | undefined;
50
- color?: (string | number | symbol) | undefined;
51
- variant?: (string | number | symbol) | undefined;
52
- size?: (string | number | symbol) | undefined;
53
- range?: R | undefined;
54
- multiple?: M | undefined;
55
- monthControls?: boolean | undefined;
56
- yearControls?: boolean | undefined;
57
- defaultValue?: (R extends true ? DateRange : M extends true ? DateValue[] : DateValue) | undefined;
58
- class?: any;
59
- ui?: {
60
- [x: string]: import("tailwind-merge").ClassNameValue;
61
- } | undefined;
62
- readonly?: boolean | undefined;
63
- disabled?: boolean | undefined;
64
- defaultPlaceholder?: DateValue | undefined;
65
- placeholder?: DateValue | undefined;
66
- allowNonContiguousRanges?: boolean | undefined;
67
- pagedNavigation?: boolean | undefined;
68
- preventDeselect?: boolean | undefined;
69
- maximumDays?: number | undefined;
70
- weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | undefined;
71
- weekdayFormat?: import("reka-ui/dist/index2").WeekDayFormat | undefined;
72
- fixedWeeks?: boolean | undefined;
73
- maxValue?: DateValue | undefined;
74
- minValue?: DateValue | undefined;
75
- numberOfMonths?: number | undefined;
76
- initialFocus?: boolean | undefined;
77
- isDateDisabled?: import("reka-ui/dist/index2").Matcher | undefined;
78
- isDateUnavailable?: import("reka-ui/dist/index2").Matcher | undefined;
79
- isDateHighlightable?: import("reka-ui/dist/index2").Matcher | undefined;
80
- nextPage?: ((placeholder: DateValue) => DateValue) | undefined;
81
- prevPage?: ((placeholder: DateValue) => DateValue) | undefined;
82
- disableDaysOutsideCurrentView?: boolean | undefined;
83
- fixedDate?: "start" | "end" | undefined;
84
- locale?: string | undefined;
85
- formatOptions?: Intl.DateTimeFormatOptions | undefined;
86
- timeZone?: string | undefined;
87
- modelValue?: import("../types/components.js").ValueType<R, M>;
88
- "onUpdate:modelValue"?: ((value: import("../types/components.js").ValueType<R, M>) => any) | undefined;
89
- "onUpdate:placeholder"?: ((...args: DateValue[]) => any) | undefined;
90
- "onUpdate:validModelValue"?: ((date: DateRange) => any) | undefined;
91
- "onUpdate:startValue"?: ((date: DateValue | undefined) => any) | undefined;
92
- "onClose:prevent"?: (() => any) | undefined;
93
- "onUpdate:open"?: ((value: boolean) => any) | undefined;
94
- } & (typeof globalThis extends {
95
- __VLS_PROPS_FALLBACK: infer P_1;
96
- } ? P_1 : {});
97
- expose: (exposed: {}) => void;
98
- attrs: any;
99
- slots: {
100
- default?: (props: any) => any;
101
- } & {
102
- leading?: (props: any) => any;
103
- } & {
104
- trailing?: (props: any) => any;
105
- } & {
106
- anchor?: (props: any) => any;
107
- } & {
108
- day?: (props: any) => any;
109
- } & {
110
- heading?: (props: any) => any;
111
- } & {
112
- 'week-day'?: (props: any) => any;
113
- };
114
- emit: (((evt: "update:modelValue", date: R extends true ? DateRange | null : M extends true ? DateValue[] | undefined : DateValue | undefined) => void) & ((evt: "update:placeholder", ...args: [date: DateValue] & [date: DateValue]) => void) & ((evt: "update:validModelValue", date: DateRange) => void) & ((evt: "update:startValue", date: DateValue | undefined) => void) & ((evt: "close:prevent") => void) & ((evt: "update:open", value: boolean) => void)) & ((evt: "update:modelValue", value: import("../types/components.js").ValueType<R, M>) => void);
115
- }>) => import("vue").VNode & {
116
- __ctx?: Awaited<typeof __VLS_setup>;
117
- })>;
118
- readonly switch: AutoFormControl<any>;
119
- readonly textarea: AutoFormControl<any>;
120
- readonly slider: AutoFormControl<any>;
121
- readonly pinInput: AutoFormControl<any>;
122
- readonly inputTags: AutoFormControl<any>;
123
- readonly selectMenu: AutoFormControl<any>;
124
- readonly inputMenu: AutoFormControl<any>;
125
- readonly checkboxGroup: AutoFormControl<any>;
126
- readonly radioGroup: AutoFormControl<any>;
127
- readonly inputDate: AutoFormControl<any>;
128
- readonly inputTime: AutoFormControl<any>;
129
- readonly withClear: AutoFormControl<(<T extends import("@nuxt/ui/.").InputValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
130
- slots: import("@movk/core").OmitByKey<import("@nuxt/ui/.").InputSlots, "trailing">;
131
- attrs: any;
132
- emit: (((evt: "clear") => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue) => void)) & ((evt: "update:modelValue", value: T | undefined) => void);
133
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
134
- props: import("vue").PublicProps & {
135
- buttonProps?: import("@nuxt/ui/.").ButtonProps | undefined;
136
- as?: any;
137
- id?: string | undefined;
138
- name?: string | undefined;
139
- type?: import("vue").InputTypeHTMLAttribute | undefined;
140
- placeholder?: string | undefined;
141
- color?: (string | number | symbol) | undefined;
142
- variant?: (string | number | symbol) | undefined;
143
- size?: (string | number | symbol) | undefined;
144
- required?: boolean | undefined;
145
- autocomplete?: string | undefined;
146
- autofocus?: boolean | undefined;
147
- autofocusDelay?: number | undefined;
148
- disabled?: boolean | undefined;
149
- highlight?: boolean | undefined;
150
- defaultValue?: import("@nuxt/ui/.").AcceptableValue | undefined;
151
- modelModifiers?: import("@nuxt/ui/runtime/types/input").ModelModifiers<import("@nuxt/ui/.").AcceptableValue> | undefined;
152
- class?: any;
153
- ui?: {
154
- [x: string]: import("tailwind-merge").ClassNameValue;
155
- } | undefined;
156
- icon?: import("@nuxt/ui/.").IconProps["name"];
157
- avatar?: import("@nuxt/ui/.").AvatarProps | undefined;
158
- leading?: boolean | undefined;
159
- leadingIcon?: import("@nuxt/ui/.").IconProps["name"];
160
- trailing?: boolean | undefined;
161
- trailingIcon?: import("@nuxt/ui/.").IconProps["name"];
162
- loading?: boolean | undefined;
163
- loadingIcon?: import("@nuxt/ui/.").IconProps["name"];
164
- max?: (string | number) | undefined;
165
- min?: (string | number) | undefined;
166
- readonly?: (boolean | "true" | "false") | undefined;
167
- form?: string | undefined | undefined;
168
- enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
169
- formaction?: string | undefined | undefined;
170
- formenctype?: string | undefined | undefined;
171
- formmethod?: string | undefined | undefined;
172
- formnovalidate?: (boolean | "true" | "false") | undefined;
173
- formtarget?: string | undefined | undefined;
174
- list?: string | undefined | undefined;
175
- maxlength?: (string | number) | undefined;
176
- minlength?: (string | number) | undefined;
177
- pattern?: string | undefined | undefined;
178
- step?: (string | number) | undefined;
179
- modelValue?: T | undefined;
180
- onClear?: (() => any) | undefined;
181
- onBlur?: ((event: FocusEvent) => any) | undefined;
182
- onChange?: ((event: Event) => any) | undefined;
183
- "onUpdate:modelValue"?: ((value: T | undefined) => any) | undefined;
184
- } & (typeof globalThis extends {
185
- __VLS_PROPS_FALLBACK: infer P;
186
- } ? P : {});
187
- expose: (exposed: {}) => void;
188
- attrs: any;
189
- slots: import("@movk/core").OmitByKey<import("@nuxt/ui/.").InputSlots, "trailing">;
190
- emit: (((evt: "clear") => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue) => void)) & ((evt: "update:modelValue", value: T | undefined) => void);
191
- }>) => import("vue").VNode & {
192
- __ctx?: Awaited<typeof __VLS_setup>;
193
- })>;
194
- readonly withPasswordToggle: AutoFormControl<(<T extends import("@nuxt/ui/.").InputValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
195
- slots: import("@movk/core").OmitByKey<import("@nuxt/ui/.").InputSlots, "trailing">;
196
- attrs: any;
197
- emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue) => void)) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue | undefined) => void);
198
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
199
- props: import("vue").PublicProps & {
200
- buttonProps?: import("@nuxt/ui/.").ButtonProps | undefined;
201
- as?: any;
202
- id?: string | undefined;
203
- name?: string | undefined;
204
- placeholder?: string | undefined;
205
- color?: (string | number | symbol) | undefined;
206
- variant?: (string | number | symbol) | undefined;
207
- size?: (string | number | symbol) | undefined;
208
- required?: boolean | undefined;
209
- autocomplete?: string | undefined;
210
- autofocus?: boolean | undefined;
211
- autofocusDelay?: number | undefined;
212
- disabled?: boolean | undefined;
213
- highlight?: boolean | undefined;
214
- defaultValue?: import("@nuxt/ui/.").AcceptableValue | undefined;
215
- modelModifiers?: import("@nuxt/ui/runtime/types/input").ModelModifiers<import("@nuxt/ui/.").AcceptableValue> | undefined;
216
- class?: any;
217
- ui?: {
218
- [x: string]: import("tailwind-merge").ClassNameValue;
219
- } | undefined;
220
- icon?: import("@nuxt/ui/.").IconProps["name"];
221
- avatar?: import("@nuxt/ui/.").AvatarProps | undefined;
222
- leading?: boolean | undefined;
223
- leadingIcon?: import("@nuxt/ui/.").IconProps["name"];
224
- trailing?: boolean | undefined;
225
- trailingIcon?: import("@nuxt/ui/.").IconProps["name"];
226
- loading?: boolean | undefined;
227
- loadingIcon?: import("@nuxt/ui/.").IconProps["name"];
228
- max?: (string | number) | undefined;
229
- min?: (string | number) | undefined;
230
- readonly?: (boolean | "true" | "false") | undefined;
231
- form?: string | undefined | undefined;
232
- enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
233
- formaction?: string | undefined | undefined;
234
- formenctype?: string | undefined | undefined;
235
- formmethod?: string | undefined | undefined;
236
- formnovalidate?: (boolean | "true" | "false") | undefined;
237
- formtarget?: string | undefined | undefined;
238
- list?: string | undefined | undefined;
239
- maxlength?: (string | number) | undefined;
240
- minlength?: (string | number) | undefined;
241
- pattern?: string | undefined | undefined;
242
- step?: (string | number) | undefined;
243
- modelValue?: import("@nuxt/ui/.").AcceptableValue | undefined;
244
- onBlur?: ((event: FocusEvent) => any) | undefined;
245
- onChange?: ((event: Event) => any) | undefined;
246
- "onUpdate:modelValue"?: ((value: import("@nuxt/ui/.").AcceptableValue | undefined) => any) | undefined;
247
- } & (typeof globalThis extends {
248
- __VLS_PROPS_FALLBACK: infer P;
249
- } ? P : {});
250
- expose: (exposed: {}) => void;
251
- attrs: any;
252
- slots: import("@movk/core").OmitByKey<import("@nuxt/ui/.").InputSlots, "trailing">;
253
- emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue) => void)) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue | undefined) => void);
254
- }>) => import("vue").VNode & {
255
- __ctx?: Awaited<typeof __VLS_setup>;
256
- })>;
257
- readonly withCopy: AutoFormControl<(<T extends import("@nuxt/ui/.").InputValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
258
- slots: import("@movk/core").OmitByKey<import("@nuxt/ui/.").InputSlots, "trailing">;
259
- attrs: any;
260
- emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "copy", value: string) => void) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue) => void)) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue | undefined) => void);
261
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
262
- props: import("vue").PublicProps & {
263
- buttonProps?: import("@nuxt/ui/.").ButtonProps | undefined;
264
- tooltipProps?: import("@nuxt/ui/.").TooltipProps | undefined;
265
- as?: any;
266
- id?: string | undefined;
267
- name?: string | undefined;
268
- type?: import("vue").InputTypeHTMLAttribute | undefined;
269
- placeholder?: string | undefined;
270
- color?: (string | number | symbol) | undefined;
271
- variant?: (string | number | symbol) | undefined;
272
- size?: (string | number | symbol) | undefined;
273
- required?: boolean | undefined;
274
- autocomplete?: string | undefined;
275
- autofocus?: boolean | undefined;
276
- autofocusDelay?: number | undefined;
277
- disabled?: boolean | undefined;
278
- highlight?: boolean | undefined;
279
- defaultValue?: import("@nuxt/ui/.").AcceptableValue | undefined;
280
- modelModifiers?: import("@nuxt/ui/runtime/types/input").ModelModifiers<import("@nuxt/ui/.").AcceptableValue> | undefined;
281
- class?: any;
282
- ui?: {
283
- [x: string]: import("tailwind-merge").ClassNameValue;
284
- } | undefined;
285
- icon?: import("@nuxt/ui/.").IconProps["name"];
286
- avatar?: import("@nuxt/ui/.").AvatarProps | undefined;
287
- leading?: boolean | undefined;
288
- leadingIcon?: import("@nuxt/ui/.").IconProps["name"];
289
- trailing?: boolean | undefined;
290
- trailingIcon?: import("@nuxt/ui/.").IconProps["name"];
291
- loading?: boolean | undefined;
292
- loadingIcon?: import("@nuxt/ui/.").IconProps["name"];
293
- max?: (string | number) | undefined;
294
- min?: (string | number) | undefined;
295
- readonly?: (boolean | "true" | "false") | undefined;
296
- form?: string | undefined | undefined;
297
- enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
298
- formaction?: string | undefined | undefined;
299
- formenctype?: string | undefined | undefined;
300
- formmethod?: string | undefined | undefined;
301
- formnovalidate?: (boolean | "true" | "false") | undefined;
302
- formtarget?: string | undefined | undefined;
303
- list?: string | undefined | undefined;
304
- maxlength?: (string | number) | undefined;
305
- minlength?: (string | number) | undefined;
306
- pattern?: string | undefined | undefined;
307
- step?: (string | number) | undefined;
308
- modelValue?: import("@nuxt/ui/.").AcceptableValue | undefined;
309
- onBlur?: ((event: FocusEvent) => any) | undefined;
310
- onChange?: ((event: Event) => any) | undefined;
311
- onCopy?: ((value: string) => any) | undefined;
312
- "onUpdate:modelValue"?: ((value: import("@nuxt/ui/.").AcceptableValue | undefined) => any) | undefined;
313
- } & (typeof globalThis extends {
314
- __VLS_PROPS_FALLBACK: infer P;
315
- } ? P : {});
316
- expose: (exposed: {}) => void;
317
- attrs: any;
318
- slots: import("@movk/core").OmitByKey<import("@nuxt/ui/.").InputSlots, "trailing">;
319
- emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "copy", value: string) => void) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue) => void)) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue | undefined) => void);
320
- }>) => import("vue").VNode & {
321
- __ctx?: Awaited<typeof __VLS_setup>;
322
- })>;
323
- readonly withCharacterLimit: AutoFormControl<(<T extends import("@nuxt/ui/.").InputValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
324
- slots: import("@movk/core").OmitByKey<import("@nuxt/ui/.").InputSlots, "trailing">;
325
- attrs: any;
326
- emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue) => void)) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue | undefined) => void);
327
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
328
- props: import("vue").PublicProps & {
329
- maxLength?: number | undefined;
330
- counterClass?: import("tailwind-merge").ClassNameValue;
331
- as?: any;
332
- id?: string | undefined;
333
- name?: string | undefined;
334
- type?: import("vue").InputTypeHTMLAttribute | undefined;
335
- placeholder?: string | undefined;
336
- color?: (string | number | symbol) | undefined;
337
- variant?: (string | number | symbol) | undefined;
338
- size?: (string | number | symbol) | undefined;
339
- required?: boolean | undefined;
340
- autocomplete?: string | undefined;
341
- autofocus?: boolean | undefined;
342
- autofocusDelay?: number | undefined;
343
- disabled?: boolean | undefined;
344
- highlight?: boolean | undefined;
345
- defaultValue?: import("@nuxt/ui/.").AcceptableValue | undefined;
346
- modelModifiers?: import("@nuxt/ui/runtime/types/input").ModelModifiers<import("@nuxt/ui/.").AcceptableValue> | undefined;
347
- class?: any;
348
- ui?: {
349
- [x: string]: import("tailwind-merge").ClassNameValue;
350
- } | undefined;
351
- icon?: import("@nuxt/ui/.").IconProps["name"];
352
- avatar?: import("@nuxt/ui/.").AvatarProps | undefined;
353
- leading?: boolean | undefined;
354
- leadingIcon?: import("@nuxt/ui/.").IconProps["name"];
355
- trailing?: boolean | undefined;
356
- trailingIcon?: import("@nuxt/ui/.").IconProps["name"];
357
- loading?: boolean | undefined;
358
- loadingIcon?: import("@nuxt/ui/.").IconProps["name"];
359
- max?: (string | number) | undefined;
360
- min?: (string | number) | undefined;
361
- readonly?: (boolean | "true" | "false") | undefined;
362
- form?: string | undefined | undefined;
363
- enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
364
- formaction?: string | undefined | undefined;
365
- formenctype?: string | undefined | undefined;
366
- formmethod?: string | undefined | undefined;
367
- formnovalidate?: (boolean | "true" | "false") | undefined;
368
- formtarget?: string | undefined | undefined;
369
- list?: string | undefined | undefined;
370
- maxlength?: (string | number) | undefined;
371
- minlength?: (string | number) | undefined;
372
- pattern?: string | undefined | undefined;
373
- step?: (string | number) | undefined;
374
- modelValue?: import("@nuxt/ui/.").AcceptableValue | undefined;
375
- onBlur?: ((event: FocusEvent) => any) | undefined;
376
- onChange?: ((event: Event) => any) | undefined;
377
- "onUpdate:modelValue"?: ((value: import("@nuxt/ui/.").AcceptableValue | undefined) => any) | undefined;
378
- } & (typeof globalThis extends {
379
- __VLS_PROPS_FALLBACK: infer P;
380
- } ? P : {});
381
- expose: (exposed: {}) => void;
382
- attrs: any;
383
- slots: import("@movk/core").OmitByKey<import("@nuxt/ui/.").InputSlots, "trailing">;
384
- emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue) => void)) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue | undefined) => void);
385
- }>) => import("vue").VNode & {
386
- __ctx?: Awaited<typeof __VLS_setup>;
387
- })>;
388
- readonly colorChooser: AutoFormControl<(<P extends "click" | "hover" = "click">(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
389
- slots: {
390
- default?: (props: any) => any;
391
- } & {
392
- leading?: (props: any) => any;
393
- } & {
394
- trailing?: (props: any) => any;
395
- } & {
396
- anchor?: (props: any) => any;
397
- };
398
- attrs: any;
399
- emit: (((evt: "close:prevent") => void) & ((evt: "update:open", value: boolean) => void)) & ((evt: "update:modelValue", value: string | undefined) => void);
400
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
401
- props: import("vue").PublicProps & {
402
- popoverProps?: import("@nuxt/ui/.").PopoverProps<"click"> | undefined;
403
- buttonProps?: import("@nuxt/ui/.").ButtonProps | undefined;
404
- as?: any;
405
- throttle?: number | undefined;
406
- disabled?: boolean | undefined;
407
- defaultValue?: string | undefined;
408
- format?: "hex" | "rgb" | "hsl" | "cmyk" | "lab" | undefined;
409
- size?: (string | number | symbol) | undefined;
410
- class?: any;
411
- ui?: {
412
- [x: string]: import("tailwind-merge").ClassNameValue;
413
- } | undefined;
414
- modelValue?: string | undefined;
415
- "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
416
- "onClose:prevent"?: (() => any) | undefined;
417
- "onUpdate:open"?: ((value: boolean) => any) | undefined;
418
- } & (typeof globalThis extends {
419
- __VLS_PROPS_FALLBACK: infer P_1;
420
- } ? P_1 : {});
421
- expose: (exposed: {}) => void;
422
- attrs: any;
423
- slots: {
424
- default?: (props: any) => any;
425
- } & {
426
- leading?: (props: any) => any;
427
- } & {
428
- trailing?: (props: any) => any;
429
- } & {
430
- anchor?: (props: any) => any;
431
- };
432
- emit: (((evt: "close:prevent") => void) & ((evt: "update:open", value: boolean) => void)) & ((evt: "update:modelValue", value: string | undefined) => void);
433
- }>) => import("vue").VNode & {
434
- __ctx?: Awaited<typeof __VLS_setup>;
435
- })>;
436
- readonly starRating: AutoFormControl<{
437
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../components/StarRating.vue.js").StarRatingProps> & Readonly<{
438
- onChange?: ((value: number) => any) | undefined;
439
- onHover?: ((value: number | null) => any) | undefined;
440
- "onUpdate:modelValue"?: ((value: number) => any) | undefined;
441
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
442
- change: (value: number) => any;
443
- hover: (value: number | null) => any;
444
- "update:modelValue": (value: number) => any;
445
- }, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
446
- P: {};
447
- B: {};
448
- D: {};
449
- C: {};
450
- M: {};
451
- Defaults: {};
452
- }, Readonly<import("../components/StarRating.vue.js").StarRatingProps> & Readonly<{
453
- onChange?: ((value: number) => any) | undefined;
454
- onHover?: ((value: number | null) => any) | undefined;
455
- "onUpdate:modelValue"?: ((value: number) => any) | undefined;
456
- }>, {}, {}, {}, {}, {}>;
457
- __isFragment?: never;
458
- __isTeleport?: never;
459
- __isSuspense?: never;
460
- } & import("vue").ComponentOptionsBase<Readonly<import("../components/StarRating.vue.js").StarRatingProps> & Readonly<{
461
- onChange?: ((value: number) => any) | undefined;
462
- onHover?: ((value: number | null) => any) | undefined;
463
- "onUpdate:modelValue"?: ((value: number) => any) | undefined;
464
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
465
- change: (value: number) => any;
466
- hover: (value: number | null) => any;
467
- "update:modelValue": (value: number) => any;
468
- }, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
469
- $slots: {
470
- prefix?: (props: {
471
- value: number;
472
- max: number;
473
- }) => any;
474
- } & {
475
- badge?: (props: {
476
- value: number;
477
- max: number;
478
- label: string;
479
- }) => any;
480
- } & {
481
- suffix?: (props: {
482
- value: number;
483
- max: number;
484
- }) => any;
485
- };
486
- })>;
19
+ readonly string: AutoFormControl<typeof UInput>;
20
+ readonly number: AutoFormControl<typeof UInputNumber>;
21
+ readonly boolean: AutoFormControl<typeof UCheckbox>;
22
+ readonly enum: AutoFormControl<typeof USelect>;
23
+ readonly file: AutoFormControl<typeof UFileUpload>;
24
+ readonly calendarDate: AutoFormControl<typeof DatePicker>;
25
+ readonly switch: AutoFormControl<typeof USwitch>;
26
+ readonly textarea: AutoFormControl<typeof UTextarea>;
27
+ readonly slider: AutoFormControl<typeof USlider>;
28
+ readonly pinInput: AutoFormControl<typeof UPinInput>;
29
+ readonly inputTags: AutoFormControl<typeof UInputTags>;
30
+ readonly selectMenu: AutoFormControl<typeof USelectMenu>;
31
+ readonly inputMenu: AutoFormControl<typeof UInputMenu>;
32
+ readonly checkboxGroup: AutoFormControl<typeof UCheckboxGroup>;
33
+ readonly radioGroup: AutoFormControl<typeof URadioGroup>;
34
+ readonly inputDate: AutoFormControl<typeof UInputDate>;
35
+ readonly inputTime: AutoFormControl<typeof UInputTime>;
36
+ readonly withClear: AutoFormControl<typeof WithClear>;
37
+ readonly withPasswordToggle: AutoFormControl<typeof WithPasswordToggle>;
38
+ readonly withCopy: AutoFormControl<typeof WithCopy>;
39
+ readonly withCharacterLimit: AutoFormControl<typeof WithCharacterLimit>;
40
+ readonly colorChooser: AutoFormControl<typeof ColorChooser>;
41
+ readonly starRating: AutoFormControl<typeof StarRating>;
42
+ readonly slideVerify: AutoFormControl<typeof SlideVerify>;
487
43
  };
488
44
  export declare function useAutoForm<TControls extends AutoFormControls = typeof DEFAULT_CONTROLS>(controls?: TControls): {
489
45
  defineControl: typeof defineControl;
490
46
  afz: TypedZodFactory<TControls, {
491
- readonly string: AutoFormControl<any>;
492
- readonly number: AutoFormControl<any>;
493
- readonly boolean: AutoFormControl<any>;
494
- readonly enum: AutoFormControl<any>;
495
- readonly file: AutoFormControl<any>;
496
- readonly calendarDate: AutoFormControl<(<R extends boolean, M extends boolean, P extends "click" | "hover" = "click">(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
497
- slots: {
498
- default?: (props: any) => any;
499
- } & {
500
- leading?: (props: any) => any;
501
- } & {
502
- trailing?: (props: any) => any;
503
- } & {
504
- anchor?: (props: any) => any;
505
- } & {
506
- day?: (props: any) => any;
507
- } & {
508
- heading?: (props: any) => any;
509
- } & {
510
- 'week-day'?: (props: any) => any;
511
- };
512
- attrs: any;
513
- emit: (((evt: "update:modelValue", date: R extends true ? DateRange | null : M extends true ? DateValue[] | undefined : DateValue | undefined) => void) & ((evt: "update:placeholder", ...args: [date: DateValue] & [date: DateValue]) => void) & ((evt: "update:validModelValue", date: DateRange) => void) & ((evt: "update:startValue", date: DateValue | undefined) => void) & ((evt: "close:prevent") => void) & ((evt: "update:open", value: boolean) => void)) & ((evt: "update:modelValue", value: import("../types/components.js").ValueType<R, M>) => void);
514
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
515
- props: import("vue").PublicProps & {
516
- buttonProps?: import("@nuxt/ui/.").ButtonProps | undefined;
517
- popoverProps?: import("@nuxt/ui/.").PopoverProps<P> | undefined;
518
- labelFormat?: import("../types/components.js").LabelFormat | ((formatter: ReturnType<typeof useDateFormatter>, modelValue: (R extends true ? DateRange | null : M extends true ? DateValue[] | undefined : DateValue | undefined) | undefined) => string) | undefined;
519
- as?: any;
520
- nextYearIcon?: import("@nuxt/ui/.").IconProps["name"];
521
- nextYear?: Omit<import("@nuxt/ui/.").ButtonProps, import("@nuxt/ui/.").LinkPropsKeys> | undefined;
522
- nextMonthIcon?: import("@nuxt/ui/.").IconProps["name"];
523
- nextMonth?: Omit<import("@nuxt/ui/.").ButtonProps, import("@nuxt/ui/.").LinkPropsKeys> | undefined;
524
- prevYearIcon?: import("@nuxt/ui/.").IconProps["name"];
525
- prevYear?: Omit<import("@nuxt/ui/.").ButtonProps, import("@nuxt/ui/.").LinkPropsKeys> | undefined;
526
- prevMonthIcon?: import("@nuxt/ui/.").IconProps["name"];
527
- prevMonth?: Omit<import("@nuxt/ui/.").ButtonProps, import("@nuxt/ui/.").LinkPropsKeys> | undefined;
528
- color?: (string | number | symbol) | undefined;
529
- variant?: (string | number | symbol) | undefined;
530
- size?: (string | number | symbol) | undefined;
531
- range?: R | undefined;
532
- multiple?: M | undefined;
533
- monthControls?: boolean | undefined;
534
- yearControls?: boolean | undefined;
535
- defaultValue?: (R extends true ? DateRange : M extends true ? DateValue[] : DateValue) | undefined;
536
- class?: any;
537
- ui?: {
538
- [x: string]: import("tailwind-merge").ClassNameValue;
539
- } | undefined;
540
- readonly?: boolean | undefined;
541
- disabled?: boolean | undefined;
542
- defaultPlaceholder?: DateValue | undefined;
543
- placeholder?: DateValue | undefined;
544
- allowNonContiguousRanges?: boolean | undefined;
545
- pagedNavigation?: boolean | undefined;
546
- preventDeselect?: boolean | undefined;
547
- maximumDays?: number | undefined;
548
- weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | undefined;
549
- weekdayFormat?: import("reka-ui/dist/index2").WeekDayFormat | undefined;
550
- fixedWeeks?: boolean | undefined;
551
- maxValue?: DateValue | undefined;
552
- minValue?: DateValue | undefined;
553
- numberOfMonths?: number | undefined;
554
- initialFocus?: boolean | undefined;
555
- isDateDisabled?: import("reka-ui/dist/index2").Matcher | undefined;
556
- isDateUnavailable?: import("reka-ui/dist/index2").Matcher | undefined;
557
- isDateHighlightable?: import("reka-ui/dist/index2").Matcher | undefined;
558
- nextPage?: ((placeholder: DateValue) => DateValue) | undefined;
559
- prevPage?: ((placeholder: DateValue) => DateValue) | undefined;
560
- disableDaysOutsideCurrentView?: boolean | undefined;
561
- fixedDate?: "start" | "end" | undefined;
562
- locale?: string | undefined;
563
- formatOptions?: Intl.DateTimeFormatOptions | undefined;
564
- timeZone?: string | undefined;
565
- modelValue?: import("../types/components.js").ValueType<R, M>;
566
- "onUpdate:modelValue"?: ((value: import("../types/components.js").ValueType<R, M>) => any) | undefined;
567
- "onUpdate:placeholder"?: ((...args: DateValue[]) => any) | undefined;
568
- "onUpdate:validModelValue"?: ((date: DateRange) => any) | undefined;
569
- "onUpdate:startValue"?: ((date: DateValue | undefined) => any) | undefined;
570
- "onClose:prevent"?: (() => any) | undefined;
571
- "onUpdate:open"?: ((value: boolean) => any) | undefined;
572
- } & (typeof globalThis extends {
573
- __VLS_PROPS_FALLBACK: infer P_1;
574
- } ? P_1 : {});
575
- expose: (exposed: {}) => void;
576
- attrs: any;
577
- slots: {
578
- default?: (props: any) => any;
579
- } & {
580
- leading?: (props: any) => any;
581
- } & {
582
- trailing?: (props: any) => any;
583
- } & {
584
- anchor?: (props: any) => any;
585
- } & {
586
- day?: (props: any) => any;
587
- } & {
588
- heading?: (props: any) => any;
589
- } & {
590
- 'week-day'?: (props: any) => any;
591
- };
592
- emit: (((evt: "update:modelValue", date: R extends true ? DateRange | null : M extends true ? DateValue[] | undefined : DateValue | undefined) => void) & ((evt: "update:placeholder", ...args: [date: DateValue] & [date: DateValue]) => void) & ((evt: "update:validModelValue", date: DateRange) => void) & ((evt: "update:startValue", date: DateValue | undefined) => void) & ((evt: "close:prevent") => void) & ((evt: "update:open", value: boolean) => void)) & ((evt: "update:modelValue", value: import("../types/components.js").ValueType<R, M>) => void);
593
- }>) => import("vue").VNode & {
594
- __ctx?: Awaited<typeof __VLS_setup>;
595
- })>;
596
- readonly switch: AutoFormControl<any>;
597
- readonly textarea: AutoFormControl<any>;
598
- readonly slider: AutoFormControl<any>;
599
- readonly pinInput: AutoFormControl<any>;
600
- readonly inputTags: AutoFormControl<any>;
601
- readonly selectMenu: AutoFormControl<any>;
602
- readonly inputMenu: AutoFormControl<any>;
603
- readonly checkboxGroup: AutoFormControl<any>;
604
- readonly radioGroup: AutoFormControl<any>;
605
- readonly inputDate: AutoFormControl<any>;
606
- readonly inputTime: AutoFormControl<any>;
607
- readonly withClear: AutoFormControl<(<T extends import("@nuxt/ui/.").InputValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
608
- slots: import("@movk/core").OmitByKey<import("@nuxt/ui/.").InputSlots, "trailing">;
609
- attrs: any;
610
- emit: (((evt: "clear") => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue) => void)) & ((evt: "update:modelValue", value: T | undefined) => void);
611
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
612
- props: import("vue").PublicProps & {
613
- buttonProps?: import("@nuxt/ui/.").ButtonProps | undefined;
614
- as?: any;
615
- id?: string | undefined;
616
- name?: string | undefined;
617
- type?: import("vue").InputTypeHTMLAttribute | undefined;
618
- placeholder?: string | undefined;
619
- color?: (string | number | symbol) | undefined;
620
- variant?: (string | number | symbol) | undefined;
621
- size?: (string | number | symbol) | undefined;
622
- required?: boolean | undefined;
623
- autocomplete?: string | undefined;
624
- autofocus?: boolean | undefined;
625
- autofocusDelay?: number | undefined;
626
- disabled?: boolean | undefined;
627
- highlight?: boolean | undefined;
628
- defaultValue?: import("@nuxt/ui/.").AcceptableValue | undefined;
629
- modelModifiers?: import("@nuxt/ui/runtime/types/input").ModelModifiers<import("@nuxt/ui/.").AcceptableValue> | undefined;
630
- class?: any;
631
- ui?: {
632
- [x: string]: import("tailwind-merge").ClassNameValue;
633
- } | undefined;
634
- icon?: import("@nuxt/ui/.").IconProps["name"];
635
- avatar?: import("@nuxt/ui/.").AvatarProps | undefined;
636
- leading?: boolean | undefined;
637
- leadingIcon?: import("@nuxt/ui/.").IconProps["name"];
638
- trailing?: boolean | undefined;
639
- trailingIcon?: import("@nuxt/ui/.").IconProps["name"];
640
- loading?: boolean | undefined;
641
- loadingIcon?: import("@nuxt/ui/.").IconProps["name"];
642
- max?: (string | number) | undefined;
643
- min?: (string | number) | undefined;
644
- readonly?: (boolean | "true" | "false") | undefined;
645
- form?: string | undefined | undefined;
646
- enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
647
- formaction?: string | undefined | undefined;
648
- formenctype?: string | undefined | undefined;
649
- formmethod?: string | undefined | undefined;
650
- formnovalidate?: (boolean | "true" | "false") | undefined;
651
- formtarget?: string | undefined | undefined;
652
- list?: string | undefined | undefined;
653
- maxlength?: (string | number) | undefined;
654
- minlength?: (string | number) | undefined;
655
- pattern?: string | undefined | undefined;
656
- step?: (string | number) | undefined;
657
- modelValue?: T | undefined;
658
- onClear?: (() => any) | undefined;
659
- onBlur?: ((event: FocusEvent) => any) | undefined;
660
- onChange?: ((event: Event) => any) | undefined;
661
- "onUpdate:modelValue"?: ((value: T | undefined) => any) | undefined;
662
- } & (typeof globalThis extends {
663
- __VLS_PROPS_FALLBACK: infer P;
664
- } ? P : {});
665
- expose: (exposed: {}) => void;
666
- attrs: any;
667
- slots: import("@movk/core").OmitByKey<import("@nuxt/ui/.").InputSlots, "trailing">;
668
- emit: (((evt: "clear") => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue) => void)) & ((evt: "update:modelValue", value: T | undefined) => void);
669
- }>) => import("vue").VNode & {
670
- __ctx?: Awaited<typeof __VLS_setup>;
671
- })>;
672
- readonly withPasswordToggle: AutoFormControl<(<T extends import("@nuxt/ui/.").InputValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
673
- slots: import("@movk/core").OmitByKey<import("@nuxt/ui/.").InputSlots, "trailing">;
674
- attrs: any;
675
- emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue) => void)) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue | undefined) => void);
676
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
677
- props: import("vue").PublicProps & {
678
- buttonProps?: import("@nuxt/ui/.").ButtonProps | undefined;
679
- as?: any;
680
- id?: string | undefined;
681
- name?: string | undefined;
682
- placeholder?: string | undefined;
683
- color?: (string | number | symbol) | undefined;
684
- variant?: (string | number | symbol) | undefined;
685
- size?: (string | number | symbol) | undefined;
686
- required?: boolean | undefined;
687
- autocomplete?: string | undefined;
688
- autofocus?: boolean | undefined;
689
- autofocusDelay?: number | undefined;
690
- disabled?: boolean | undefined;
691
- highlight?: boolean | undefined;
692
- defaultValue?: import("@nuxt/ui/.").AcceptableValue | undefined;
693
- modelModifiers?: import("@nuxt/ui/runtime/types/input").ModelModifiers<import("@nuxt/ui/.").AcceptableValue> | undefined;
694
- class?: any;
695
- ui?: {
696
- [x: string]: import("tailwind-merge").ClassNameValue;
697
- } | undefined;
698
- icon?: import("@nuxt/ui/.").IconProps["name"];
699
- avatar?: import("@nuxt/ui/.").AvatarProps | undefined;
700
- leading?: boolean | undefined;
701
- leadingIcon?: import("@nuxt/ui/.").IconProps["name"];
702
- trailing?: boolean | undefined;
703
- trailingIcon?: import("@nuxt/ui/.").IconProps["name"];
704
- loading?: boolean | undefined;
705
- loadingIcon?: import("@nuxt/ui/.").IconProps["name"];
706
- max?: (string | number) | undefined;
707
- min?: (string | number) | undefined;
708
- readonly?: (boolean | "true" | "false") | undefined;
709
- form?: string | undefined | undefined;
710
- enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
711
- formaction?: string | undefined | undefined;
712
- formenctype?: string | undefined | undefined;
713
- formmethod?: string | undefined | undefined;
714
- formnovalidate?: (boolean | "true" | "false") | undefined;
715
- formtarget?: string | undefined | undefined;
716
- list?: string | undefined | undefined;
717
- maxlength?: (string | number) | undefined;
718
- minlength?: (string | number) | undefined;
719
- pattern?: string | undefined | undefined;
720
- step?: (string | number) | undefined;
721
- modelValue?: import("@nuxt/ui/.").AcceptableValue | undefined;
722
- onBlur?: ((event: FocusEvent) => any) | undefined;
723
- onChange?: ((event: Event) => any) | undefined;
724
- "onUpdate:modelValue"?: ((value: import("@nuxt/ui/.").AcceptableValue | undefined) => any) | undefined;
725
- } & (typeof globalThis extends {
726
- __VLS_PROPS_FALLBACK: infer P;
727
- } ? P : {});
728
- expose: (exposed: {}) => void;
729
- attrs: any;
730
- slots: import("@movk/core").OmitByKey<import("@nuxt/ui/.").InputSlots, "trailing">;
731
- emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue) => void)) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue | undefined) => void);
732
- }>) => import("vue").VNode & {
733
- __ctx?: Awaited<typeof __VLS_setup>;
734
- })>;
735
- readonly withCopy: AutoFormControl<(<T extends import("@nuxt/ui/.").InputValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
736
- slots: import("@movk/core").OmitByKey<import("@nuxt/ui/.").InputSlots, "trailing">;
737
- attrs: any;
738
- emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "copy", value: string) => void) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue) => void)) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue | undefined) => void);
739
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
740
- props: import("vue").PublicProps & {
741
- buttonProps?: import("@nuxt/ui/.").ButtonProps | undefined;
742
- tooltipProps?: import("@nuxt/ui/.").TooltipProps | undefined;
743
- as?: any;
744
- id?: string | undefined;
745
- name?: string | undefined;
746
- type?: import("vue").InputTypeHTMLAttribute | undefined;
747
- placeholder?: string | undefined;
748
- color?: (string | number | symbol) | undefined;
749
- variant?: (string | number | symbol) | undefined;
750
- size?: (string | number | symbol) | undefined;
751
- required?: boolean | undefined;
752
- autocomplete?: string | undefined;
753
- autofocus?: boolean | undefined;
754
- autofocusDelay?: number | undefined;
755
- disabled?: boolean | undefined;
756
- highlight?: boolean | undefined;
757
- defaultValue?: import("@nuxt/ui/.").AcceptableValue | undefined;
758
- modelModifiers?: import("@nuxt/ui/runtime/types/input").ModelModifiers<import("@nuxt/ui/.").AcceptableValue> | undefined;
759
- class?: any;
760
- ui?: {
761
- [x: string]: import("tailwind-merge").ClassNameValue;
762
- } | undefined;
763
- icon?: import("@nuxt/ui/.").IconProps["name"];
764
- avatar?: import("@nuxt/ui/.").AvatarProps | undefined;
765
- leading?: boolean | undefined;
766
- leadingIcon?: import("@nuxt/ui/.").IconProps["name"];
767
- trailing?: boolean | undefined;
768
- trailingIcon?: import("@nuxt/ui/.").IconProps["name"];
769
- loading?: boolean | undefined;
770
- loadingIcon?: import("@nuxt/ui/.").IconProps["name"];
771
- max?: (string | number) | undefined;
772
- min?: (string | number) | undefined;
773
- readonly?: (boolean | "true" | "false") | undefined;
774
- form?: string | undefined | undefined;
775
- enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
776
- formaction?: string | undefined | undefined;
777
- formenctype?: string | undefined | undefined;
778
- formmethod?: string | undefined | undefined;
779
- formnovalidate?: (boolean | "true" | "false") | undefined;
780
- formtarget?: string | undefined | undefined;
781
- list?: string | undefined | undefined;
782
- maxlength?: (string | number) | undefined;
783
- minlength?: (string | number) | undefined;
784
- pattern?: string | undefined | undefined;
785
- step?: (string | number) | undefined;
786
- modelValue?: import("@nuxt/ui/.").AcceptableValue | undefined;
787
- onBlur?: ((event: FocusEvent) => any) | undefined;
788
- onChange?: ((event: Event) => any) | undefined;
789
- onCopy?: ((value: string) => any) | undefined;
790
- "onUpdate:modelValue"?: ((value: import("@nuxt/ui/.").AcceptableValue | undefined) => any) | undefined;
791
- } & (typeof globalThis extends {
792
- __VLS_PROPS_FALLBACK: infer P;
793
- } ? P : {});
794
- expose: (exposed: {}) => void;
795
- attrs: any;
796
- slots: import("@movk/core").OmitByKey<import("@nuxt/ui/.").InputSlots, "trailing">;
797
- emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "copy", value: string) => void) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue) => void)) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue | undefined) => void);
798
- }>) => import("vue").VNode & {
799
- __ctx?: Awaited<typeof __VLS_setup>;
800
- })>;
801
- readonly withCharacterLimit: AutoFormControl<(<T extends import("@nuxt/ui/.").InputValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
802
- slots: import("@movk/core").OmitByKey<import("@nuxt/ui/.").InputSlots, "trailing">;
803
- attrs: any;
804
- emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue) => void)) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue | undefined) => void);
805
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
806
- props: import("vue").PublicProps & {
807
- maxLength?: number | undefined;
808
- counterClass?: import("tailwind-merge").ClassNameValue;
809
- as?: any;
810
- id?: string | undefined;
811
- name?: string | undefined;
812
- type?: import("vue").InputTypeHTMLAttribute | undefined;
813
- placeholder?: string | undefined;
814
- color?: (string | number | symbol) | undefined;
815
- variant?: (string | number | symbol) | undefined;
816
- size?: (string | number | symbol) | undefined;
817
- required?: boolean | undefined;
818
- autocomplete?: string | undefined;
819
- autofocus?: boolean | undefined;
820
- autofocusDelay?: number | undefined;
821
- disabled?: boolean | undefined;
822
- highlight?: boolean | undefined;
823
- defaultValue?: import("@nuxt/ui/.").AcceptableValue | undefined;
824
- modelModifiers?: import("@nuxt/ui/runtime/types/input").ModelModifiers<import("@nuxt/ui/.").AcceptableValue> | undefined;
825
- class?: any;
826
- ui?: {
827
- [x: string]: import("tailwind-merge").ClassNameValue;
828
- } | undefined;
829
- icon?: import("@nuxt/ui/.").IconProps["name"];
830
- avatar?: import("@nuxt/ui/.").AvatarProps | undefined;
831
- leading?: boolean | undefined;
832
- leadingIcon?: import("@nuxt/ui/.").IconProps["name"];
833
- trailing?: boolean | undefined;
834
- trailingIcon?: import("@nuxt/ui/.").IconProps["name"];
835
- loading?: boolean | undefined;
836
- loadingIcon?: import("@nuxt/ui/.").IconProps["name"];
837
- max?: (string | number) | undefined;
838
- min?: (string | number) | undefined;
839
- readonly?: (boolean | "true" | "false") | undefined;
840
- form?: string | undefined | undefined;
841
- enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
842
- formaction?: string | undefined | undefined;
843
- formenctype?: string | undefined | undefined;
844
- formmethod?: string | undefined | undefined;
845
- formnovalidate?: (boolean | "true" | "false") | undefined;
846
- formtarget?: string | undefined | undefined;
847
- list?: string | undefined | undefined;
848
- maxlength?: (string | number) | undefined;
849
- minlength?: (string | number) | undefined;
850
- pattern?: string | undefined | undefined;
851
- step?: (string | number) | undefined;
852
- modelValue?: import("@nuxt/ui/.").AcceptableValue | undefined;
853
- onBlur?: ((event: FocusEvent) => any) | undefined;
854
- onChange?: ((event: Event) => any) | undefined;
855
- "onUpdate:modelValue"?: ((value: import("@nuxt/ui/.").AcceptableValue | undefined) => any) | undefined;
856
- } & (typeof globalThis extends {
857
- __VLS_PROPS_FALLBACK: infer P;
858
- } ? P : {});
859
- expose: (exposed: {}) => void;
860
- attrs: any;
861
- slots: import("@movk/core").OmitByKey<import("@nuxt/ui/.").InputSlots, "trailing">;
862
- emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue) => void)) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue | undefined) => void);
863
- }>) => import("vue").VNode & {
864
- __ctx?: Awaited<typeof __VLS_setup>;
865
- })>;
866
- readonly colorChooser: AutoFormControl<(<P extends "click" | "hover" = "click">(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
867
- slots: {
868
- default?: (props: any) => any;
869
- } & {
870
- leading?: (props: any) => any;
871
- } & {
872
- trailing?: (props: any) => any;
873
- } & {
874
- anchor?: (props: any) => any;
875
- };
876
- attrs: any;
877
- emit: (((evt: "close:prevent") => void) & ((evt: "update:open", value: boolean) => void)) & ((evt: "update:modelValue", value: string | undefined) => void);
878
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
879
- props: import("vue").PublicProps & {
880
- popoverProps?: import("@nuxt/ui/.").PopoverProps<"click"> | undefined;
881
- buttonProps?: import("@nuxt/ui/.").ButtonProps | undefined;
882
- as?: any;
883
- throttle?: number | undefined;
884
- disabled?: boolean | undefined;
885
- defaultValue?: string | undefined;
886
- format?: "hex" | "rgb" | "hsl" | "cmyk" | "lab" | undefined;
887
- size?: (string | number | symbol) | undefined;
888
- class?: any;
889
- ui?: {
890
- [x: string]: import("tailwind-merge").ClassNameValue;
891
- } | undefined;
892
- modelValue?: string | undefined;
893
- "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
894
- "onClose:prevent"?: (() => any) | undefined;
895
- "onUpdate:open"?: ((value: boolean) => any) | undefined;
896
- } & (typeof globalThis extends {
897
- __VLS_PROPS_FALLBACK: infer P_1;
898
- } ? P_1 : {});
899
- expose: (exposed: {}) => void;
900
- attrs: any;
901
- slots: {
902
- default?: (props: any) => any;
903
- } & {
904
- leading?: (props: any) => any;
905
- } & {
906
- trailing?: (props: any) => any;
907
- } & {
908
- anchor?: (props: any) => any;
909
- };
910
- emit: (((evt: "close:prevent") => void) & ((evt: "update:open", value: boolean) => void)) & ((evt: "update:modelValue", value: string | undefined) => void);
911
- }>) => import("vue").VNode & {
912
- __ctx?: Awaited<typeof __VLS_setup>;
913
- })>;
914
- readonly starRating: AutoFormControl<{
915
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../components/StarRating.vue.js").StarRatingProps> & Readonly<{
916
- onChange?: ((value: number) => any) | undefined;
917
- onHover?: ((value: number | null) => any) | undefined;
918
- "onUpdate:modelValue"?: ((value: number) => any) | undefined;
919
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
920
- change: (value: number) => any;
921
- hover: (value: number | null) => any;
922
- "update:modelValue": (value: number) => any;
923
- }, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
924
- P: {};
925
- B: {};
926
- D: {};
927
- C: {};
928
- M: {};
929
- Defaults: {};
930
- }, Readonly<import("../components/StarRating.vue.js").StarRatingProps> & Readonly<{
931
- onChange?: ((value: number) => any) | undefined;
932
- onHover?: ((value: number | null) => any) | undefined;
933
- "onUpdate:modelValue"?: ((value: number) => any) | undefined;
934
- }>, {}, {}, {}, {}, {}>;
935
- __isFragment?: never;
936
- __isTeleport?: never;
937
- __isSuspense?: never;
938
- } & import("vue").ComponentOptionsBase<Readonly<import("../components/StarRating.vue.js").StarRatingProps> & Readonly<{
939
- onChange?: ((value: number) => any) | undefined;
940
- onHover?: ((value: number | null) => any) | undefined;
941
- "onUpdate:modelValue"?: ((value: number) => any) | undefined;
942
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
943
- change: (value: number) => any;
944
- hover: (value: number | null) => any;
945
- "update:modelValue": (value: number) => any;
946
- }, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
947
- $slots: {
948
- prefix?: (props: {
949
- value: number;
950
- max: number;
951
- }) => any;
952
- } & {
953
- badge?: (props: {
954
- value: number;
955
- max: number;
956
- label: string;
957
- }) => any;
958
- } & {
959
- suffix?: (props: {
960
- value: number;
961
- max: number;
962
- }) => any;
963
- };
964
- })>;
47
+ readonly string: AutoFormControl<typeof UInput>;
48
+ readonly number: AutoFormControl<typeof UInputNumber>;
49
+ readonly boolean: AutoFormControl<typeof UCheckbox>;
50
+ readonly enum: AutoFormControl<typeof USelect>;
51
+ readonly file: AutoFormControl<typeof UFileUpload>;
52
+ readonly calendarDate: AutoFormControl<typeof DatePicker>;
53
+ readonly switch: AutoFormControl<typeof USwitch>;
54
+ readonly textarea: AutoFormControl<typeof UTextarea>;
55
+ readonly slider: AutoFormControl<typeof USlider>;
56
+ readonly pinInput: AutoFormControl<typeof UPinInput>;
57
+ readonly inputTags: AutoFormControl<typeof UInputTags>;
58
+ readonly selectMenu: AutoFormControl<typeof USelectMenu>;
59
+ readonly inputMenu: AutoFormControl<typeof UInputMenu>;
60
+ readonly checkboxGroup: AutoFormControl<typeof UCheckboxGroup>;
61
+ readonly radioGroup: AutoFormControl<typeof URadioGroup>;
62
+ readonly inputDate: AutoFormControl<typeof UInputDate>;
63
+ readonly inputTime: AutoFormControl<typeof UInputTime>;
64
+ readonly withClear: AutoFormControl<typeof WithClear>;
65
+ readonly withPasswordToggle: AutoFormControl<typeof WithPasswordToggle>;
66
+ readonly withCopy: AutoFormControl<typeof WithCopy>;
67
+ readonly withCharacterLimit: AutoFormControl<typeof WithCharacterLimit>;
68
+ readonly colorChooser: AutoFormControl<typeof ColorChooser>;
69
+ readonly starRating: AutoFormControl<typeof StarRating>;
70
+ readonly slideVerify: AutoFormControl<typeof SlideVerify>;
965
71
  }>;
966
72
  DEFAULT_CONTROLS: {
967
- readonly string: AutoFormControl<any>;
968
- readonly number: AutoFormControl<any>;
969
- readonly boolean: AutoFormControl<any>;
970
- readonly enum: AutoFormControl<any>;
971
- readonly file: AutoFormControl<any>;
972
- readonly calendarDate: AutoFormControl<(<R extends boolean, M extends boolean, P extends "click" | "hover" = "click">(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
973
- slots: {
974
- default?: (props: any) => any;
975
- } & {
976
- leading?: (props: any) => any;
977
- } & {
978
- trailing?: (props: any) => any;
979
- } & {
980
- anchor?: (props: any) => any;
981
- } & {
982
- day?: (props: any) => any;
983
- } & {
984
- heading?: (props: any) => any;
985
- } & {
986
- 'week-day'?: (props: any) => any;
987
- };
988
- attrs: any;
989
- emit: (((evt: "update:modelValue", date: R extends true ? DateRange | null : M extends true ? DateValue[] | undefined : DateValue | undefined) => void) & ((evt: "update:placeholder", ...args: [date: DateValue] & [date: DateValue]) => void) & ((evt: "update:validModelValue", date: DateRange) => void) & ((evt: "update:startValue", date: DateValue | undefined) => void) & ((evt: "close:prevent") => void) & ((evt: "update:open", value: boolean) => void)) & ((evt: "update:modelValue", value: import("../types/components.js").ValueType<R, M>) => void);
990
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
991
- props: import("vue").PublicProps & {
992
- buttonProps?: import("@nuxt/ui/.").ButtonProps | undefined;
993
- popoverProps?: import("@nuxt/ui/.").PopoverProps<P> | undefined;
994
- labelFormat?: import("../types/components.js").LabelFormat | ((formatter: ReturnType<typeof useDateFormatter>, modelValue: (R extends true ? DateRange | null : M extends true ? DateValue[] | undefined : DateValue | undefined) | undefined) => string) | undefined;
995
- as?: any;
996
- nextYearIcon?: import("@nuxt/ui/.").IconProps["name"];
997
- nextYear?: Omit<import("@nuxt/ui/.").ButtonProps, import("@nuxt/ui/.").LinkPropsKeys> | undefined;
998
- nextMonthIcon?: import("@nuxt/ui/.").IconProps["name"];
999
- nextMonth?: Omit<import("@nuxt/ui/.").ButtonProps, import("@nuxt/ui/.").LinkPropsKeys> | undefined;
1000
- prevYearIcon?: import("@nuxt/ui/.").IconProps["name"];
1001
- prevYear?: Omit<import("@nuxt/ui/.").ButtonProps, import("@nuxt/ui/.").LinkPropsKeys> | undefined;
1002
- prevMonthIcon?: import("@nuxt/ui/.").IconProps["name"];
1003
- prevMonth?: Omit<import("@nuxt/ui/.").ButtonProps, import("@nuxt/ui/.").LinkPropsKeys> | undefined;
1004
- color?: (string | number | symbol) | undefined;
1005
- variant?: (string | number | symbol) | undefined;
1006
- size?: (string | number | symbol) | undefined;
1007
- range?: R | undefined;
1008
- multiple?: M | undefined;
1009
- monthControls?: boolean | undefined;
1010
- yearControls?: boolean | undefined;
1011
- defaultValue?: (R extends true ? DateRange : M extends true ? DateValue[] : DateValue) | undefined;
1012
- class?: any;
1013
- ui?: {
1014
- [x: string]: import("tailwind-merge").ClassNameValue;
1015
- } | undefined;
1016
- readonly?: boolean | undefined;
1017
- disabled?: boolean | undefined;
1018
- defaultPlaceholder?: DateValue | undefined;
1019
- placeholder?: DateValue | undefined;
1020
- allowNonContiguousRanges?: boolean | undefined;
1021
- pagedNavigation?: boolean | undefined;
1022
- preventDeselect?: boolean | undefined;
1023
- maximumDays?: number | undefined;
1024
- weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | undefined;
1025
- weekdayFormat?: import("reka-ui/dist/index2").WeekDayFormat | undefined;
1026
- fixedWeeks?: boolean | undefined;
1027
- maxValue?: DateValue | undefined;
1028
- minValue?: DateValue | undefined;
1029
- numberOfMonths?: number | undefined;
1030
- initialFocus?: boolean | undefined;
1031
- isDateDisabled?: import("reka-ui/dist/index2").Matcher | undefined;
1032
- isDateUnavailable?: import("reka-ui/dist/index2").Matcher | undefined;
1033
- isDateHighlightable?: import("reka-ui/dist/index2").Matcher | undefined;
1034
- nextPage?: ((placeholder: DateValue) => DateValue) | undefined;
1035
- prevPage?: ((placeholder: DateValue) => DateValue) | undefined;
1036
- disableDaysOutsideCurrentView?: boolean | undefined;
1037
- fixedDate?: "start" | "end" | undefined;
1038
- locale?: string | undefined;
1039
- formatOptions?: Intl.DateTimeFormatOptions | undefined;
1040
- timeZone?: string | undefined;
1041
- modelValue?: import("../types/components.js").ValueType<R, M>;
1042
- "onUpdate:modelValue"?: ((value: import("../types/components.js").ValueType<R, M>) => any) | undefined;
1043
- "onUpdate:placeholder"?: ((...args: DateValue[]) => any) | undefined;
1044
- "onUpdate:validModelValue"?: ((date: DateRange) => any) | undefined;
1045
- "onUpdate:startValue"?: ((date: DateValue | undefined) => any) | undefined;
1046
- "onClose:prevent"?: (() => any) | undefined;
1047
- "onUpdate:open"?: ((value: boolean) => any) | undefined;
1048
- } & (typeof globalThis extends {
1049
- __VLS_PROPS_FALLBACK: infer P_1;
1050
- } ? P_1 : {});
1051
- expose: (exposed: {}) => void;
1052
- attrs: any;
1053
- slots: {
1054
- default?: (props: any) => any;
1055
- } & {
1056
- leading?: (props: any) => any;
1057
- } & {
1058
- trailing?: (props: any) => any;
1059
- } & {
1060
- anchor?: (props: any) => any;
1061
- } & {
1062
- day?: (props: any) => any;
1063
- } & {
1064
- heading?: (props: any) => any;
1065
- } & {
1066
- 'week-day'?: (props: any) => any;
1067
- };
1068
- emit: (((evt: "update:modelValue", date: R extends true ? DateRange | null : M extends true ? DateValue[] | undefined : DateValue | undefined) => void) & ((evt: "update:placeholder", ...args: [date: DateValue] & [date: DateValue]) => void) & ((evt: "update:validModelValue", date: DateRange) => void) & ((evt: "update:startValue", date: DateValue | undefined) => void) & ((evt: "close:prevent") => void) & ((evt: "update:open", value: boolean) => void)) & ((evt: "update:modelValue", value: import("../types/components.js").ValueType<R, M>) => void);
1069
- }>) => import("vue").VNode & {
1070
- __ctx?: Awaited<typeof __VLS_setup>;
1071
- })>;
1072
- readonly switch: AutoFormControl<any>;
1073
- readonly textarea: AutoFormControl<any>;
1074
- readonly slider: AutoFormControl<any>;
1075
- readonly pinInput: AutoFormControl<any>;
1076
- readonly inputTags: AutoFormControl<any>;
1077
- readonly selectMenu: AutoFormControl<any>;
1078
- readonly inputMenu: AutoFormControl<any>;
1079
- readonly checkboxGroup: AutoFormControl<any>;
1080
- readonly radioGroup: AutoFormControl<any>;
1081
- readonly inputDate: AutoFormControl<any>;
1082
- readonly inputTime: AutoFormControl<any>;
1083
- readonly withClear: AutoFormControl<(<T extends import("@nuxt/ui/.").InputValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
1084
- slots: import("@movk/core").OmitByKey<import("@nuxt/ui/.").InputSlots, "trailing">;
1085
- attrs: any;
1086
- emit: (((evt: "clear") => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue) => void)) & ((evt: "update:modelValue", value: T | undefined) => void);
1087
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
1088
- props: import("vue").PublicProps & {
1089
- buttonProps?: import("@nuxt/ui/.").ButtonProps | undefined;
1090
- as?: any;
1091
- id?: string | undefined;
1092
- name?: string | undefined;
1093
- type?: import("vue").InputTypeHTMLAttribute | undefined;
1094
- placeholder?: string | undefined;
1095
- color?: (string | number | symbol) | undefined;
1096
- variant?: (string | number | symbol) | undefined;
1097
- size?: (string | number | symbol) | undefined;
1098
- required?: boolean | undefined;
1099
- autocomplete?: string | undefined;
1100
- autofocus?: boolean | undefined;
1101
- autofocusDelay?: number | undefined;
1102
- disabled?: boolean | undefined;
1103
- highlight?: boolean | undefined;
1104
- defaultValue?: import("@nuxt/ui/.").AcceptableValue | undefined;
1105
- modelModifiers?: import("@nuxt/ui/runtime/types/input").ModelModifiers<import("@nuxt/ui/.").AcceptableValue> | undefined;
1106
- class?: any;
1107
- ui?: {
1108
- [x: string]: import("tailwind-merge").ClassNameValue;
1109
- } | undefined;
1110
- icon?: import("@nuxt/ui/.").IconProps["name"];
1111
- avatar?: import("@nuxt/ui/.").AvatarProps | undefined;
1112
- leading?: boolean | undefined;
1113
- leadingIcon?: import("@nuxt/ui/.").IconProps["name"];
1114
- trailing?: boolean | undefined;
1115
- trailingIcon?: import("@nuxt/ui/.").IconProps["name"];
1116
- loading?: boolean | undefined;
1117
- loadingIcon?: import("@nuxt/ui/.").IconProps["name"];
1118
- max?: (string | number) | undefined;
1119
- min?: (string | number) | undefined;
1120
- readonly?: (boolean | "true" | "false") | undefined;
1121
- form?: string | undefined | undefined;
1122
- enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
1123
- formaction?: string | undefined | undefined;
1124
- formenctype?: string | undefined | undefined;
1125
- formmethod?: string | undefined | undefined;
1126
- formnovalidate?: (boolean | "true" | "false") | undefined;
1127
- formtarget?: string | undefined | undefined;
1128
- list?: string | undefined | undefined;
1129
- maxlength?: (string | number) | undefined;
1130
- minlength?: (string | number) | undefined;
1131
- pattern?: string | undefined | undefined;
1132
- step?: (string | number) | undefined;
1133
- modelValue?: T | undefined;
1134
- onClear?: (() => any) | undefined;
1135
- onBlur?: ((event: FocusEvent) => any) | undefined;
1136
- onChange?: ((event: Event) => any) | undefined;
1137
- "onUpdate:modelValue"?: ((value: T | undefined) => any) | undefined;
1138
- } & (typeof globalThis extends {
1139
- __VLS_PROPS_FALLBACK: infer P;
1140
- } ? P : {});
1141
- expose: (exposed: {}) => void;
1142
- attrs: any;
1143
- slots: import("@movk/core").OmitByKey<import("@nuxt/ui/.").InputSlots, "trailing">;
1144
- emit: (((evt: "clear") => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue) => void)) & ((evt: "update:modelValue", value: T | undefined) => void);
1145
- }>) => import("vue").VNode & {
1146
- __ctx?: Awaited<typeof __VLS_setup>;
1147
- })>;
1148
- readonly withPasswordToggle: AutoFormControl<(<T extends import("@nuxt/ui/.").InputValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
1149
- slots: import("@movk/core").OmitByKey<import("@nuxt/ui/.").InputSlots, "trailing">;
1150
- attrs: any;
1151
- emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue) => void)) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue | undefined) => void);
1152
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
1153
- props: import("vue").PublicProps & {
1154
- buttonProps?: import("@nuxt/ui/.").ButtonProps | undefined;
1155
- as?: any;
1156
- id?: string | undefined;
1157
- name?: string | undefined;
1158
- placeholder?: string | undefined;
1159
- color?: (string | number | symbol) | undefined;
1160
- variant?: (string | number | symbol) | undefined;
1161
- size?: (string | number | symbol) | undefined;
1162
- required?: boolean | undefined;
1163
- autocomplete?: string | undefined;
1164
- autofocus?: boolean | undefined;
1165
- autofocusDelay?: number | undefined;
1166
- disabled?: boolean | undefined;
1167
- highlight?: boolean | undefined;
1168
- defaultValue?: import("@nuxt/ui/.").AcceptableValue | undefined;
1169
- modelModifiers?: import("@nuxt/ui/runtime/types/input").ModelModifiers<import("@nuxt/ui/.").AcceptableValue> | undefined;
1170
- class?: any;
1171
- ui?: {
1172
- [x: string]: import("tailwind-merge").ClassNameValue;
1173
- } | undefined;
1174
- icon?: import("@nuxt/ui/.").IconProps["name"];
1175
- avatar?: import("@nuxt/ui/.").AvatarProps | undefined;
1176
- leading?: boolean | undefined;
1177
- leadingIcon?: import("@nuxt/ui/.").IconProps["name"];
1178
- trailing?: boolean | undefined;
1179
- trailingIcon?: import("@nuxt/ui/.").IconProps["name"];
1180
- loading?: boolean | undefined;
1181
- loadingIcon?: import("@nuxt/ui/.").IconProps["name"];
1182
- max?: (string | number) | undefined;
1183
- min?: (string | number) | undefined;
1184
- readonly?: (boolean | "true" | "false") | undefined;
1185
- form?: string | undefined | undefined;
1186
- enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
1187
- formaction?: string | undefined | undefined;
1188
- formenctype?: string | undefined | undefined;
1189
- formmethod?: string | undefined | undefined;
1190
- formnovalidate?: (boolean | "true" | "false") | undefined;
1191
- formtarget?: string | undefined | undefined;
1192
- list?: string | undefined | undefined;
1193
- maxlength?: (string | number) | undefined;
1194
- minlength?: (string | number) | undefined;
1195
- pattern?: string | undefined | undefined;
1196
- step?: (string | number) | undefined;
1197
- modelValue?: import("@nuxt/ui/.").AcceptableValue | undefined;
1198
- onBlur?: ((event: FocusEvent) => any) | undefined;
1199
- onChange?: ((event: Event) => any) | undefined;
1200
- "onUpdate:modelValue"?: ((value: import("@nuxt/ui/.").AcceptableValue | undefined) => any) | undefined;
1201
- } & (typeof globalThis extends {
1202
- __VLS_PROPS_FALLBACK: infer P;
1203
- } ? P : {});
1204
- expose: (exposed: {}) => void;
1205
- attrs: any;
1206
- slots: import("@movk/core").OmitByKey<import("@nuxt/ui/.").InputSlots, "trailing">;
1207
- emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue) => void)) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue | undefined) => void);
1208
- }>) => import("vue").VNode & {
1209
- __ctx?: Awaited<typeof __VLS_setup>;
1210
- })>;
1211
- readonly withCopy: AutoFormControl<(<T extends import("@nuxt/ui/.").InputValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
1212
- slots: import("@movk/core").OmitByKey<import("@nuxt/ui/.").InputSlots, "trailing">;
1213
- attrs: any;
1214
- emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "copy", value: string) => void) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue) => void)) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue | undefined) => void);
1215
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
1216
- props: import("vue").PublicProps & {
1217
- buttonProps?: import("@nuxt/ui/.").ButtonProps | undefined;
1218
- tooltipProps?: import("@nuxt/ui/.").TooltipProps | undefined;
1219
- as?: any;
1220
- id?: string | undefined;
1221
- name?: string | undefined;
1222
- type?: import("vue").InputTypeHTMLAttribute | undefined;
1223
- placeholder?: string | undefined;
1224
- color?: (string | number | symbol) | undefined;
1225
- variant?: (string | number | symbol) | undefined;
1226
- size?: (string | number | symbol) | undefined;
1227
- required?: boolean | undefined;
1228
- autocomplete?: string | undefined;
1229
- autofocus?: boolean | undefined;
1230
- autofocusDelay?: number | undefined;
1231
- disabled?: boolean | undefined;
1232
- highlight?: boolean | undefined;
1233
- defaultValue?: import("@nuxt/ui/.").AcceptableValue | undefined;
1234
- modelModifiers?: import("@nuxt/ui/runtime/types/input").ModelModifiers<import("@nuxt/ui/.").AcceptableValue> | undefined;
1235
- class?: any;
1236
- ui?: {
1237
- [x: string]: import("tailwind-merge").ClassNameValue;
1238
- } | undefined;
1239
- icon?: import("@nuxt/ui/.").IconProps["name"];
1240
- avatar?: import("@nuxt/ui/.").AvatarProps | undefined;
1241
- leading?: boolean | undefined;
1242
- leadingIcon?: import("@nuxt/ui/.").IconProps["name"];
1243
- trailing?: boolean | undefined;
1244
- trailingIcon?: import("@nuxt/ui/.").IconProps["name"];
1245
- loading?: boolean | undefined;
1246
- loadingIcon?: import("@nuxt/ui/.").IconProps["name"];
1247
- max?: (string | number) | undefined;
1248
- min?: (string | number) | undefined;
1249
- readonly?: (boolean | "true" | "false") | undefined;
1250
- form?: string | undefined | undefined;
1251
- enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
1252
- formaction?: string | undefined | undefined;
1253
- formenctype?: string | undefined | undefined;
1254
- formmethod?: string | undefined | undefined;
1255
- formnovalidate?: (boolean | "true" | "false") | undefined;
1256
- formtarget?: string | undefined | undefined;
1257
- list?: string | undefined | undefined;
1258
- maxlength?: (string | number) | undefined;
1259
- minlength?: (string | number) | undefined;
1260
- pattern?: string | undefined | undefined;
1261
- step?: (string | number) | undefined;
1262
- modelValue?: import("@nuxt/ui/.").AcceptableValue | undefined;
1263
- onBlur?: ((event: FocusEvent) => any) | undefined;
1264
- onChange?: ((event: Event) => any) | undefined;
1265
- onCopy?: ((value: string) => any) | undefined;
1266
- "onUpdate:modelValue"?: ((value: import("@nuxt/ui/.").AcceptableValue | undefined) => any) | undefined;
1267
- } & (typeof globalThis extends {
1268
- __VLS_PROPS_FALLBACK: infer P;
1269
- } ? P : {});
1270
- expose: (exposed: {}) => void;
1271
- attrs: any;
1272
- slots: import("@movk/core").OmitByKey<import("@nuxt/ui/.").InputSlots, "trailing">;
1273
- emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "copy", value: string) => void) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue) => void)) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue | undefined) => void);
1274
- }>) => import("vue").VNode & {
1275
- __ctx?: Awaited<typeof __VLS_setup>;
1276
- })>;
1277
- readonly withCharacterLimit: AutoFormControl<(<T extends import("@nuxt/ui/.").InputValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
1278
- slots: import("@movk/core").OmitByKey<import("@nuxt/ui/.").InputSlots, "trailing">;
1279
- attrs: any;
1280
- emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue) => void)) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue | undefined) => void);
1281
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
1282
- props: import("vue").PublicProps & {
1283
- maxLength?: number | undefined;
1284
- counterClass?: import("tailwind-merge").ClassNameValue;
1285
- as?: any;
1286
- id?: string | undefined;
1287
- name?: string | undefined;
1288
- type?: import("vue").InputTypeHTMLAttribute | undefined;
1289
- placeholder?: string | undefined;
1290
- color?: (string | number | symbol) | undefined;
1291
- variant?: (string | number | symbol) | undefined;
1292
- size?: (string | number | symbol) | undefined;
1293
- required?: boolean | undefined;
1294
- autocomplete?: string | undefined;
1295
- autofocus?: boolean | undefined;
1296
- autofocusDelay?: number | undefined;
1297
- disabled?: boolean | undefined;
1298
- highlight?: boolean | undefined;
1299
- defaultValue?: import("@nuxt/ui/.").AcceptableValue | undefined;
1300
- modelModifiers?: import("@nuxt/ui/runtime/types/input").ModelModifiers<import("@nuxt/ui/.").AcceptableValue> | undefined;
1301
- class?: any;
1302
- ui?: {
1303
- [x: string]: import("tailwind-merge").ClassNameValue;
1304
- } | undefined;
1305
- icon?: import("@nuxt/ui/.").IconProps["name"];
1306
- avatar?: import("@nuxt/ui/.").AvatarProps | undefined;
1307
- leading?: boolean | undefined;
1308
- leadingIcon?: import("@nuxt/ui/.").IconProps["name"];
1309
- trailing?: boolean | undefined;
1310
- trailingIcon?: import("@nuxt/ui/.").IconProps["name"];
1311
- loading?: boolean | undefined;
1312
- loadingIcon?: import("@nuxt/ui/.").IconProps["name"];
1313
- max?: (string | number) | undefined;
1314
- min?: (string | number) | undefined;
1315
- readonly?: (boolean | "true" | "false") | undefined;
1316
- form?: string | undefined | undefined;
1317
- enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
1318
- formaction?: string | undefined | undefined;
1319
- formenctype?: string | undefined | undefined;
1320
- formmethod?: string | undefined | undefined;
1321
- formnovalidate?: (boolean | "true" | "false") | undefined;
1322
- formtarget?: string | undefined | undefined;
1323
- list?: string | undefined | undefined;
1324
- maxlength?: (string | number) | undefined;
1325
- minlength?: (string | number) | undefined;
1326
- pattern?: string | undefined | undefined;
1327
- step?: (string | number) | undefined;
1328
- modelValue?: import("@nuxt/ui/.").AcceptableValue | undefined;
1329
- onBlur?: ((event: FocusEvent) => any) | undefined;
1330
- onChange?: ((event: Event) => any) | undefined;
1331
- "onUpdate:modelValue"?: ((value: import("@nuxt/ui/.").AcceptableValue | undefined) => any) | undefined;
1332
- } & (typeof globalThis extends {
1333
- __VLS_PROPS_FALLBACK: infer P;
1334
- } ? P : {});
1335
- expose: (exposed: {}) => void;
1336
- attrs: any;
1337
- slots: import("@movk/core").OmitByKey<import("@nuxt/ui/.").InputSlots, "trailing">;
1338
- emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue) => void)) & ((evt: "update:modelValue", value: import("@nuxt/ui/.").AcceptableValue | undefined) => void);
1339
- }>) => import("vue").VNode & {
1340
- __ctx?: Awaited<typeof __VLS_setup>;
1341
- })>;
1342
- readonly colorChooser: AutoFormControl<(<P extends "click" | "hover" = "click">(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
1343
- slots: {
1344
- default?: (props: any) => any;
1345
- } & {
1346
- leading?: (props: any) => any;
1347
- } & {
1348
- trailing?: (props: any) => any;
1349
- } & {
1350
- anchor?: (props: any) => any;
1351
- };
1352
- attrs: any;
1353
- emit: (((evt: "close:prevent") => void) & ((evt: "update:open", value: boolean) => void)) & ((evt: "update:modelValue", value: string | undefined) => void);
1354
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
1355
- props: import("vue").PublicProps & {
1356
- popoverProps?: import("@nuxt/ui/.").PopoverProps<"click"> | undefined;
1357
- buttonProps?: import("@nuxt/ui/.").ButtonProps | undefined;
1358
- as?: any;
1359
- throttle?: number | undefined;
1360
- disabled?: boolean | undefined;
1361
- defaultValue?: string | undefined;
1362
- format?: "hex" | "rgb" | "hsl" | "cmyk" | "lab" | undefined;
1363
- size?: (string | number | symbol) | undefined;
1364
- class?: any;
1365
- ui?: {
1366
- [x: string]: import("tailwind-merge").ClassNameValue;
1367
- } | undefined;
1368
- modelValue?: string | undefined;
1369
- "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
1370
- "onClose:prevent"?: (() => any) | undefined;
1371
- "onUpdate:open"?: ((value: boolean) => any) | undefined;
1372
- } & (typeof globalThis extends {
1373
- __VLS_PROPS_FALLBACK: infer P_1;
1374
- } ? P_1 : {});
1375
- expose: (exposed: {}) => void;
1376
- attrs: any;
1377
- slots: {
1378
- default?: (props: any) => any;
1379
- } & {
1380
- leading?: (props: any) => any;
1381
- } & {
1382
- trailing?: (props: any) => any;
1383
- } & {
1384
- anchor?: (props: any) => any;
1385
- };
1386
- emit: (((evt: "close:prevent") => void) & ((evt: "update:open", value: boolean) => void)) & ((evt: "update:modelValue", value: string | undefined) => void);
1387
- }>) => import("vue").VNode & {
1388
- __ctx?: Awaited<typeof __VLS_setup>;
1389
- })>;
1390
- readonly starRating: AutoFormControl<{
1391
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../components/StarRating.vue.js").StarRatingProps> & Readonly<{
1392
- onChange?: ((value: number) => any) | undefined;
1393
- onHover?: ((value: number | null) => any) | undefined;
1394
- "onUpdate:modelValue"?: ((value: number) => any) | undefined;
1395
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1396
- change: (value: number) => any;
1397
- hover: (value: number | null) => any;
1398
- "update:modelValue": (value: number) => any;
1399
- }, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
1400
- P: {};
1401
- B: {};
1402
- D: {};
1403
- C: {};
1404
- M: {};
1405
- Defaults: {};
1406
- }, Readonly<import("../components/StarRating.vue.js").StarRatingProps> & Readonly<{
1407
- onChange?: ((value: number) => any) | undefined;
1408
- onHover?: ((value: number | null) => any) | undefined;
1409
- "onUpdate:modelValue"?: ((value: number) => any) | undefined;
1410
- }>, {}, {}, {}, {}, {}>;
1411
- __isFragment?: never;
1412
- __isTeleport?: never;
1413
- __isSuspense?: never;
1414
- } & import("vue").ComponentOptionsBase<Readonly<import("../components/StarRating.vue.js").StarRatingProps> & Readonly<{
1415
- onChange?: ((value: number) => any) | undefined;
1416
- onHover?: ((value: number | null) => any) | undefined;
1417
- "onUpdate:modelValue"?: ((value: number) => any) | undefined;
1418
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1419
- change: (value: number) => any;
1420
- hover: (value: number | null) => any;
1421
- "update:modelValue": (value: number) => any;
1422
- }, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
1423
- $slots: {
1424
- prefix?: (props: {
1425
- value: number;
1426
- max: number;
1427
- }) => any;
1428
- } & {
1429
- badge?: (props: {
1430
- value: number;
1431
- max: number;
1432
- label: string;
1433
- }) => any;
1434
- } & {
1435
- suffix?: (props: {
1436
- value: number;
1437
- max: number;
1438
- }) => any;
1439
- };
1440
- })>;
73
+ readonly string: AutoFormControl<typeof UInput>;
74
+ readonly number: AutoFormControl<typeof UInputNumber>;
75
+ readonly boolean: AutoFormControl<typeof UCheckbox>;
76
+ readonly enum: AutoFormControl<typeof USelect>;
77
+ readonly file: AutoFormControl<typeof UFileUpload>;
78
+ readonly calendarDate: AutoFormControl<typeof DatePicker>;
79
+ readonly switch: AutoFormControl<typeof USwitch>;
80
+ readonly textarea: AutoFormControl<typeof UTextarea>;
81
+ readonly slider: AutoFormControl<typeof USlider>;
82
+ readonly pinInput: AutoFormControl<typeof UPinInput>;
83
+ readonly inputTags: AutoFormControl<typeof UInputTags>;
84
+ readonly selectMenu: AutoFormControl<typeof USelectMenu>;
85
+ readonly inputMenu: AutoFormControl<typeof UInputMenu>;
86
+ readonly checkboxGroup: AutoFormControl<typeof UCheckboxGroup>;
87
+ readonly radioGroup: AutoFormControl<typeof URadioGroup>;
88
+ readonly inputDate: AutoFormControl<typeof UInputDate>;
89
+ readonly inputTime: AutoFormControl<typeof UInputTime>;
90
+ readonly withClear: AutoFormControl<typeof WithClear>;
91
+ readonly withPasswordToggle: AutoFormControl<typeof WithPasswordToggle>;
92
+ readonly withCopy: AutoFormControl<typeof WithCopy>;
93
+ readonly withCharacterLimit: AutoFormControl<typeof WithCharacterLimit>;
94
+ readonly colorChooser: AutoFormControl<typeof ColorChooser>;
95
+ readonly starRating: AutoFormControl<typeof StarRating>;
96
+ readonly slideVerify: AutoFormControl<typeof SlideVerify>;
1441
97
  };
1442
98
  controls: TControls | undefined;
1443
99
  getAutoFormMetadata: typeof getAutoFormMetadata;