@movk/nuxt 0.1.1 → 1.0.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.
- package/README.md +84 -9
- package/dist/module.d.mts +11 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +29 -3
- package/dist/runtime/components/AutoForm.d.vue.ts +12 -6
- package/dist/runtime/components/AutoForm.vue +3 -1
- package/dist/runtime/components/AutoForm.vue.d.ts +12 -6
- package/dist/runtime/components/ColorChooser.d.vue.ts +11 -5
- package/dist/runtime/components/ColorChooser.vue.d.ts +11 -5
- package/dist/runtime/components/DatePicker.d.vue.ts +14 -5
- package/dist/runtime/components/DatePicker.vue.d.ts +14 -5
- package/dist/runtime/components/StarRating.d.vue.ts +7 -7
- package/dist/runtime/components/StarRating.vue.d.ts +7 -7
- package/dist/runtime/components/auto-form-renderer/AutoFormRendererArray.d.vue.ts +6 -4
- package/dist/runtime/components/auto-form-renderer/AutoFormRendererArray.vue.d.ts +6 -4
- package/dist/runtime/components/auto-form-renderer/AutoFormRendererField.d.vue.ts +6 -4
- package/dist/runtime/components/auto-form-renderer/AutoFormRendererField.vue.d.ts +6 -4
- package/dist/runtime/components/auto-form-renderer/AutoFormRendererLayout.d.vue.ts +6 -4
- package/dist/runtime/components/auto-form-renderer/AutoFormRendererLayout.vue.d.ts +6 -4
- package/dist/runtime/components/auto-form-renderer/AutoFormRendererNested.d.vue.ts +6 -4
- package/dist/runtime/components/auto-form-renderer/AutoFormRendererNested.vue.d.ts +6 -4
- package/dist/runtime/components/input/WithCharacterLimit.d.vue.ts +11 -5
- package/dist/runtime/components/input/WithCharacterLimit.vue.d.ts +11 -5
- package/dist/runtime/components/input/WithClear.d.vue.ts +12 -5
- package/dist/runtime/components/input/WithClear.vue.d.ts +12 -5
- package/dist/runtime/components/input/WithCopy.d.vue.ts +12 -5
- package/dist/runtime/components/input/WithCopy.vue.d.ts +12 -5
- package/dist/runtime/components/input/WithPasswordToggle.d.vue.ts +11 -5
- package/dist/runtime/components/input/WithPasswordToggle.vue.d.ts +11 -5
- package/dist/runtime/composables/useApiAuth.d.ts +47 -0
- package/dist/runtime/composables/useApiAuth.js +66 -0
- package/dist/runtime/composables/useApiFetch.d.ts +42 -0
- package/dist/runtime/composables/useApiFetch.js +43 -0
- package/dist/runtime/composables/useAutoForm.d.ts +874 -54
- package/dist/runtime/composables/useClientApiFetch.d.ts +24 -0
- package/dist/runtime/composables/useClientApiFetch.js +8 -0
- package/dist/runtime/composables/useDateFormatter.d.ts +21 -7
- package/dist/runtime/composables/useDateFormatter.js +92 -57
- package/dist/runtime/composables/useDownloadWithProgress.d.ts +48 -0
- package/dist/runtime/composables/useDownloadWithProgress.js +85 -0
- package/dist/runtime/composables/useUploadWithProgress.d.ts +52 -0
- package/dist/runtime/composables/useUploadWithProgress.js +117 -0
- package/dist/runtime/plugins/api.factory.d.ts +2 -0
- package/dist/runtime/plugins/api.factory.js +188 -0
- package/dist/runtime/schemas/api.d.ts +354 -0
- package/dist/runtime/schemas/api.js +212 -0
- package/dist/runtime/server/api/_movk/session.post.d.ts +10 -0
- package/dist/runtime/server/api/_movk/session.post.js +18 -0
- package/dist/runtime/types/api.d.ts +218 -0
- package/dist/runtime/types/api.js +8 -0
- package/dist/runtime/types/auth.d.ts +34 -0
- package/dist/runtime/types/auto-form-renderer.d.ts +14 -22
- package/dist/runtime/types/auto-form-renderer.js +0 -0
- package/dist/runtime/types/components.d.ts +29 -41
- package/dist/runtime/types/components.js +0 -0
- package/dist/runtime/types/index.d.ts +1 -0
- package/dist/runtime/types/index.js +3 -2
- package/dist/runtime/utils/api-utils.d.ts +64 -0
- package/dist/runtime/utils/api-utils.js +127 -0
- package/package.json +32 -25
|
@@ -3,6 +3,7 @@ import type { AutoFormControl, AutoFormControls, TypedZodFactory } from '../type
|
|
|
3
3
|
import { z } from 'zod/v4';
|
|
4
4
|
import type { DateValue } from '@internationalized/date';
|
|
5
5
|
import type { DateRange } from 'reka-ui';
|
|
6
|
+
import { useDateFormatter } from './useDateFormatter.js';
|
|
6
7
|
/**
|
|
7
8
|
* 从 Zod schema 中提取自定义元数据
|
|
8
9
|
*/
|
|
@@ -32,8 +33,65 @@ declare const DEFAULT_CONTROLS: {
|
|
|
32
33
|
};
|
|
33
34
|
attrs: any;
|
|
34
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);
|
|
35
|
-
},
|
|
36
|
-
props:
|
|
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 {
|
|
37
95
|
__VLS_PROPS_FALLBACK: infer P_1;
|
|
38
96
|
} ? P_1 : {});
|
|
39
97
|
expose: (exposed: {}) => void;
|
|
@@ -72,8 +130,58 @@ declare const DEFAULT_CONTROLS: {
|
|
|
72
130
|
slots: import("@movk/core").OmitByKey<import("@nuxt/ui/.").InputSlots, "trailing">;
|
|
73
131
|
attrs: any;
|
|
74
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);
|
|
75
|
-
},
|
|
76
|
-
props:
|
|
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 {
|
|
77
185
|
__VLS_PROPS_FALLBACK: infer P;
|
|
78
186
|
} ? P : {});
|
|
79
187
|
expose: (exposed: {}) => void;
|
|
@@ -87,8 +195,56 @@ declare const DEFAULT_CONTROLS: {
|
|
|
87
195
|
slots: import("@movk/core").OmitByKey<import("@nuxt/ui/.").InputSlots, "trailing">;
|
|
88
196
|
attrs: any;
|
|
89
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);
|
|
90
|
-
},
|
|
91
|
-
props:
|
|
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 {
|
|
92
248
|
__VLS_PROPS_FALLBACK: infer P;
|
|
93
249
|
} ? P : {});
|
|
94
250
|
expose: (exposed: {}) => void;
|
|
@@ -102,8 +258,59 @@ declare const DEFAULT_CONTROLS: {
|
|
|
102
258
|
slots: import("@movk/core").OmitByKey<import("@nuxt/ui/.").InputSlots, "trailing">;
|
|
103
259
|
attrs: any;
|
|
104
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);
|
|
105
|
-
},
|
|
106
|
-
props:
|
|
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 {
|
|
107
314
|
__VLS_PROPS_FALLBACK: infer P;
|
|
108
315
|
} ? P : {});
|
|
109
316
|
expose: (exposed: {}) => void;
|
|
@@ -117,8 +324,58 @@ declare const DEFAULT_CONTROLS: {
|
|
|
117
324
|
slots: import("@movk/core").OmitByKey<import("@nuxt/ui/.").InputSlots, "trailing">;
|
|
118
325
|
attrs: any;
|
|
119
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);
|
|
120
|
-
},
|
|
121
|
-
props:
|
|
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 {
|
|
122
379
|
__VLS_PROPS_FALLBACK: infer P;
|
|
123
380
|
} ? P : {});
|
|
124
381
|
expose: (exposed: {}) => void;
|
|
@@ -140,8 +397,25 @@ declare const DEFAULT_CONTROLS: {
|
|
|
140
397
|
};
|
|
141
398
|
attrs: any;
|
|
142
399
|
emit: (((evt: "close:prevent") => void) & ((evt: "update:open", value: boolean) => void)) & ((evt: "update:modelValue", value: string | undefined) => void);
|
|
143
|
-
},
|
|
144
|
-
props:
|
|
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 {
|
|
145
419
|
__VLS_PROPS_FALLBACK: infer P_1;
|
|
146
420
|
} ? P_1 : {});
|
|
147
421
|
expose: (exposed: {}) => void;
|
|
@@ -162,12 +436,12 @@ declare const DEFAULT_CONTROLS: {
|
|
|
162
436
|
readonly starRating: AutoFormControl<{
|
|
163
437
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../components/StarRating.vue.js").StarRatingProps> & Readonly<{
|
|
164
438
|
onChange?: ((value: number) => any) | undefined;
|
|
165
|
-
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
166
439
|
onHover?: ((value: number | null) => any) | undefined;
|
|
440
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
167
441
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
168
442
|
change: (value: number) => any;
|
|
169
|
-
"update:modelValue": (value: number) => any;
|
|
170
443
|
hover: (value: number | null) => any;
|
|
444
|
+
"update:modelValue": (value: number) => any;
|
|
171
445
|
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
172
446
|
P: {};
|
|
173
447
|
B: {};
|
|
@@ -177,20 +451,20 @@ declare const DEFAULT_CONTROLS: {
|
|
|
177
451
|
Defaults: {};
|
|
178
452
|
}, Readonly<import("../components/StarRating.vue.js").StarRatingProps> & Readonly<{
|
|
179
453
|
onChange?: ((value: number) => any) | undefined;
|
|
180
|
-
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
181
454
|
onHover?: ((value: number | null) => any) | undefined;
|
|
455
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
182
456
|
}>, {}, {}, {}, {}, {}>;
|
|
183
457
|
__isFragment?: never;
|
|
184
458
|
__isTeleport?: never;
|
|
185
459
|
__isSuspense?: never;
|
|
186
460
|
} & import("vue").ComponentOptionsBase<Readonly<import("../components/StarRating.vue.js").StarRatingProps> & Readonly<{
|
|
187
461
|
onChange?: ((value: number) => any) | undefined;
|
|
188
|
-
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
189
462
|
onHover?: ((value: number | null) => any) | undefined;
|
|
463
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
190
464
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
191
465
|
change: (value: number) => any;
|
|
192
|
-
"update:modelValue": (value: number) => any;
|
|
193
466
|
hover: (value: number | null) => any;
|
|
467
|
+
"update:modelValue": (value: number) => any;
|
|
194
468
|
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
195
469
|
$slots: {
|
|
196
470
|
prefix?: (props: {
|
|
@@ -201,7 +475,7 @@ declare const DEFAULT_CONTROLS: {
|
|
|
201
475
|
badge?: (props: {
|
|
202
476
|
value: number;
|
|
203
477
|
max: number;
|
|
204
|
-
label:
|
|
478
|
+
label: string;
|
|
205
479
|
}) => any;
|
|
206
480
|
} & {
|
|
207
481
|
suffix?: (props: {
|
|
@@ -237,8 +511,65 @@ export declare function useAutoForm<TControls extends AutoFormControls = typeof
|
|
|
237
511
|
};
|
|
238
512
|
attrs: any;
|
|
239
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);
|
|
240
|
-
},
|
|
241
|
-
props:
|
|
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 {
|
|
242
573
|
__VLS_PROPS_FALLBACK: infer P_1;
|
|
243
574
|
} ? P_1 : {});
|
|
244
575
|
expose: (exposed: {}) => void;
|
|
@@ -277,8 +608,58 @@ export declare function useAutoForm<TControls extends AutoFormControls = typeof
|
|
|
277
608
|
slots: import("@movk/core").OmitByKey<import("@nuxt/ui/.").InputSlots, "trailing">;
|
|
278
609
|
attrs: any;
|
|
279
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);
|
|
280
|
-
},
|
|
281
|
-
props:
|
|
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 {
|
|
282
663
|
__VLS_PROPS_FALLBACK: infer P;
|
|
283
664
|
} ? P : {});
|
|
284
665
|
expose: (exposed: {}) => void;
|
|
@@ -292,8 +673,56 @@ export declare function useAutoForm<TControls extends AutoFormControls = typeof
|
|
|
292
673
|
slots: import("@movk/core").OmitByKey<import("@nuxt/ui/.").InputSlots, "trailing">;
|
|
293
674
|
attrs: any;
|
|
294
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);
|
|
295
|
-
},
|
|
296
|
-
props:
|
|
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 {
|
|
297
726
|
__VLS_PROPS_FALLBACK: infer P;
|
|
298
727
|
} ? P : {});
|
|
299
728
|
expose: (exposed: {}) => void;
|
|
@@ -307,8 +736,59 @@ export declare function useAutoForm<TControls extends AutoFormControls = typeof
|
|
|
307
736
|
slots: import("@movk/core").OmitByKey<import("@nuxt/ui/.").InputSlots, "trailing">;
|
|
308
737
|
attrs: any;
|
|
309
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);
|
|
310
|
-
},
|
|
311
|
-
props:
|
|
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 {
|
|
312
792
|
__VLS_PROPS_FALLBACK: infer P;
|
|
313
793
|
} ? P : {});
|
|
314
794
|
expose: (exposed: {}) => void;
|
|
@@ -322,8 +802,58 @@ export declare function useAutoForm<TControls extends AutoFormControls = typeof
|
|
|
322
802
|
slots: import("@movk/core").OmitByKey<import("@nuxt/ui/.").InputSlots, "trailing">;
|
|
323
803
|
attrs: any;
|
|
324
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);
|
|
325
|
-
},
|
|
326
|
-
props:
|
|
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 {
|
|
327
857
|
__VLS_PROPS_FALLBACK: infer P;
|
|
328
858
|
} ? P : {});
|
|
329
859
|
expose: (exposed: {}) => void;
|
|
@@ -345,8 +875,25 @@ export declare function useAutoForm<TControls extends AutoFormControls = typeof
|
|
|
345
875
|
};
|
|
346
876
|
attrs: any;
|
|
347
877
|
emit: (((evt: "close:prevent") => void) & ((evt: "update:open", value: boolean) => void)) & ((evt: "update:modelValue", value: string | undefined) => void);
|
|
348
|
-
},
|
|
349
|
-
props:
|
|
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 {
|
|
350
897
|
__VLS_PROPS_FALLBACK: infer P_1;
|
|
351
898
|
} ? P_1 : {});
|
|
352
899
|
expose: (exposed: {}) => void;
|
|
@@ -367,12 +914,12 @@ export declare function useAutoForm<TControls extends AutoFormControls = typeof
|
|
|
367
914
|
readonly starRating: AutoFormControl<{
|
|
368
915
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../components/StarRating.vue.js").StarRatingProps> & Readonly<{
|
|
369
916
|
onChange?: ((value: number) => any) | undefined;
|
|
370
|
-
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
371
917
|
onHover?: ((value: number | null) => any) | undefined;
|
|
918
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
372
919
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
373
920
|
change: (value: number) => any;
|
|
374
|
-
"update:modelValue": (value: number) => any;
|
|
375
921
|
hover: (value: number | null) => any;
|
|
922
|
+
"update:modelValue": (value: number) => any;
|
|
376
923
|
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
377
924
|
P: {};
|
|
378
925
|
B: {};
|
|
@@ -382,20 +929,20 @@ export declare function useAutoForm<TControls extends AutoFormControls = typeof
|
|
|
382
929
|
Defaults: {};
|
|
383
930
|
}, Readonly<import("../components/StarRating.vue.js").StarRatingProps> & Readonly<{
|
|
384
931
|
onChange?: ((value: number) => any) | undefined;
|
|
385
|
-
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
386
932
|
onHover?: ((value: number | null) => any) | undefined;
|
|
933
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
387
934
|
}>, {}, {}, {}, {}, {}>;
|
|
388
935
|
__isFragment?: never;
|
|
389
936
|
__isTeleport?: never;
|
|
390
937
|
__isSuspense?: never;
|
|
391
938
|
} & import("vue").ComponentOptionsBase<Readonly<import("../components/StarRating.vue.js").StarRatingProps> & Readonly<{
|
|
392
939
|
onChange?: ((value: number) => any) | undefined;
|
|
393
|
-
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
394
940
|
onHover?: ((value: number | null) => any) | undefined;
|
|
941
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
395
942
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
396
943
|
change: (value: number) => any;
|
|
397
|
-
"update:modelValue": (value: number) => any;
|
|
398
944
|
hover: (value: number | null) => any;
|
|
945
|
+
"update:modelValue": (value: number) => any;
|
|
399
946
|
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
400
947
|
$slots: {
|
|
401
948
|
prefix?: (props: {
|
|
@@ -406,7 +953,7 @@ export declare function useAutoForm<TControls extends AutoFormControls = typeof
|
|
|
406
953
|
badge?: (props: {
|
|
407
954
|
value: number;
|
|
408
955
|
max: number;
|
|
409
|
-
label:
|
|
956
|
+
label: string;
|
|
410
957
|
}) => any;
|
|
411
958
|
} & {
|
|
412
959
|
suffix?: (props: {
|
|
@@ -440,8 +987,65 @@ export declare function useAutoForm<TControls extends AutoFormControls = typeof
|
|
|
440
987
|
};
|
|
441
988
|
attrs: any;
|
|
442
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);
|
|
443
|
-
},
|
|
444
|
-
props:
|
|
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 {
|
|
445
1049
|
__VLS_PROPS_FALLBACK: infer P_1;
|
|
446
1050
|
} ? P_1 : {});
|
|
447
1051
|
expose: (exposed: {}) => void;
|
|
@@ -480,8 +1084,58 @@ export declare function useAutoForm<TControls extends AutoFormControls = typeof
|
|
|
480
1084
|
slots: import("@movk/core").OmitByKey<import("@nuxt/ui/.").InputSlots, "trailing">;
|
|
481
1085
|
attrs: any;
|
|
482
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);
|
|
483
|
-
},
|
|
484
|
-
props:
|
|
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 {
|
|
485
1139
|
__VLS_PROPS_FALLBACK: infer P;
|
|
486
1140
|
} ? P : {});
|
|
487
1141
|
expose: (exposed: {}) => void;
|
|
@@ -495,8 +1149,56 @@ export declare function useAutoForm<TControls extends AutoFormControls = typeof
|
|
|
495
1149
|
slots: import("@movk/core").OmitByKey<import("@nuxt/ui/.").InputSlots, "trailing">;
|
|
496
1150
|
attrs: any;
|
|
497
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);
|
|
498
|
-
},
|
|
499
|
-
props:
|
|
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 {
|
|
500
1202
|
__VLS_PROPS_FALLBACK: infer P;
|
|
501
1203
|
} ? P : {});
|
|
502
1204
|
expose: (exposed: {}) => void;
|
|
@@ -510,8 +1212,59 @@ export declare function useAutoForm<TControls extends AutoFormControls = typeof
|
|
|
510
1212
|
slots: import("@movk/core").OmitByKey<import("@nuxt/ui/.").InputSlots, "trailing">;
|
|
511
1213
|
attrs: any;
|
|
512
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);
|
|
513
|
-
},
|
|
514
|
-
props:
|
|
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 {
|
|
515
1268
|
__VLS_PROPS_FALLBACK: infer P;
|
|
516
1269
|
} ? P : {});
|
|
517
1270
|
expose: (exposed: {}) => void;
|
|
@@ -525,8 +1278,58 @@ export declare function useAutoForm<TControls extends AutoFormControls = typeof
|
|
|
525
1278
|
slots: import("@movk/core").OmitByKey<import("@nuxt/ui/.").InputSlots, "trailing">;
|
|
526
1279
|
attrs: any;
|
|
527
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);
|
|
528
|
-
},
|
|
529
|
-
props:
|
|
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 {
|
|
530
1333
|
__VLS_PROPS_FALLBACK: infer P;
|
|
531
1334
|
} ? P : {});
|
|
532
1335
|
expose: (exposed: {}) => void;
|
|
@@ -548,8 +1351,25 @@ export declare function useAutoForm<TControls extends AutoFormControls = typeof
|
|
|
548
1351
|
};
|
|
549
1352
|
attrs: any;
|
|
550
1353
|
emit: (((evt: "close:prevent") => void) & ((evt: "update:open", value: boolean) => void)) & ((evt: "update:modelValue", value: string | undefined) => void);
|
|
551
|
-
},
|
|
552
|
-
props:
|
|
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 {
|
|
553
1373
|
__VLS_PROPS_FALLBACK: infer P_1;
|
|
554
1374
|
} ? P_1 : {});
|
|
555
1375
|
expose: (exposed: {}) => void;
|
|
@@ -570,12 +1390,12 @@ export declare function useAutoForm<TControls extends AutoFormControls = typeof
|
|
|
570
1390
|
readonly starRating: AutoFormControl<{
|
|
571
1391
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../components/StarRating.vue.js").StarRatingProps> & Readonly<{
|
|
572
1392
|
onChange?: ((value: number) => any) | undefined;
|
|
573
|
-
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
574
1393
|
onHover?: ((value: number | null) => any) | undefined;
|
|
1394
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
575
1395
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
576
1396
|
change: (value: number) => any;
|
|
577
|
-
"update:modelValue": (value: number) => any;
|
|
578
1397
|
hover: (value: number | null) => any;
|
|
1398
|
+
"update:modelValue": (value: number) => any;
|
|
579
1399
|
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
580
1400
|
P: {};
|
|
581
1401
|
B: {};
|
|
@@ -585,20 +1405,20 @@ export declare function useAutoForm<TControls extends AutoFormControls = typeof
|
|
|
585
1405
|
Defaults: {};
|
|
586
1406
|
}, Readonly<import("../components/StarRating.vue.js").StarRatingProps> & Readonly<{
|
|
587
1407
|
onChange?: ((value: number) => any) | undefined;
|
|
588
|
-
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
589
1408
|
onHover?: ((value: number | null) => any) | undefined;
|
|
1409
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
590
1410
|
}>, {}, {}, {}, {}, {}>;
|
|
591
1411
|
__isFragment?: never;
|
|
592
1412
|
__isTeleport?: never;
|
|
593
1413
|
__isSuspense?: never;
|
|
594
1414
|
} & import("vue").ComponentOptionsBase<Readonly<import("../components/StarRating.vue.js").StarRatingProps> & Readonly<{
|
|
595
1415
|
onChange?: ((value: number) => any) | undefined;
|
|
596
|
-
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
597
1416
|
onHover?: ((value: number | null) => any) | undefined;
|
|
1417
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
598
1418
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
599
1419
|
change: (value: number) => any;
|
|
600
|
-
"update:modelValue": (value: number) => any;
|
|
601
1420
|
hover: (value: number | null) => any;
|
|
1421
|
+
"update:modelValue": (value: number) => any;
|
|
602
1422
|
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
603
1423
|
$slots: {
|
|
604
1424
|
prefix?: (props: {
|
|
@@ -609,7 +1429,7 @@ export declare function useAutoForm<TControls extends AutoFormControls = typeof
|
|
|
609
1429
|
badge?: (props: {
|
|
610
1430
|
value: number;
|
|
611
1431
|
max: number;
|
|
612
|
-
label:
|
|
1432
|
+
label: string;
|
|
613
1433
|
}) => any;
|
|
614
1434
|
} & {
|
|
615
1435
|
suffix?: (props: {
|