@movk/nuxt 1.3.0 → 1.4.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.
Files changed (68) hide show
  1. package/.nuxt/movk-ui.css +1 -1
  2. package/README.md +2 -2
  3. package/dist/module.json +1 -1
  4. package/dist/module.mjs +12 -2
  5. package/dist/runtime/components/AutoForm.vue +7 -2
  6. package/dist/runtime/components/ColorChooser.d.vue.ts +2 -2
  7. package/dist/runtime/components/ColorChooser.vue.d.ts +2 -2
  8. package/dist/runtime/components/DataTable.d.vue.ts +2 -2
  9. package/dist/runtime/components/DataTable.vue +38 -10
  10. package/dist/runtime/components/DataTable.vue.d.ts +2 -2
  11. package/dist/runtime/components/DatePicker.d.vue.ts +3 -3
  12. package/dist/runtime/components/DatePicker.vue +1 -1
  13. package/dist/runtime/components/DatePicker.vue.d.ts +3 -3
  14. package/dist/runtime/components/PillGroup.d.vue.ts +1 -1
  15. package/dist/runtime/components/PillGroup.vue.d.ts +1 -1
  16. package/dist/runtime/components/SearchForm.d.vue.ts +3 -3
  17. package/dist/runtime/components/SearchForm.vue +14 -5
  18. package/dist/runtime/components/SearchForm.vue.d.ts +3 -3
  19. package/dist/runtime/components/StarRating.d.vue.ts +2 -2
  20. package/dist/runtime/components/StarRating.vue.d.ts +2 -2
  21. package/dist/runtime/components/Tree.d.vue.ts +44 -0
  22. package/dist/runtime/components/Tree.vue +332 -0
  23. package/dist/runtime/components/Tree.vue.d.ts +44 -0
  24. package/dist/runtime/composables/useDateFormatter.js +7 -5
  25. package/dist/runtime/composables/useDownloadWithProgress.d.ts +6 -5
  26. package/dist/runtime/composables/useDownloadWithProgress.js +4 -16
  27. package/dist/runtime/composables/useTheme.d.ts +14 -12
  28. package/dist/runtime/composables/useUploadWithProgress.d.ts +6 -5
  29. package/dist/runtime/composables/useUploadWithProgress.js +4 -16
  30. package/dist/runtime/domains/auto-form/controls.d.ts +651 -11
  31. package/dist/runtime/domains/auto-form/controls.js +1 -0
  32. package/dist/runtime/domains/auto-form/provider.js +3 -2
  33. package/dist/runtime/domains/auto-form/schema.d.ts +5 -0
  34. package/dist/runtime/domains/auto-form/schema.js +13 -0
  35. package/dist/runtime/domains/data-table/columns/resolve-data-column.js +34 -2
  36. package/dist/runtime/domains/data-table/columns/resolve-special-columns.js +1 -1
  37. package/dist/runtime/domains/data-table/columns/style.js +4 -3
  38. package/dist/runtime/domains/data-table/components/Pagination.d.vue.ts +1 -1
  39. package/dist/runtime/domains/data-table/components/Pagination.vue.d.ts +1 -1
  40. package/dist/runtime/domains/tree/components/TreeToolbar.d.vue.ts +43 -0
  41. package/dist/runtime/domains/tree/components/TreeToolbar.vue +76 -0
  42. package/dist/runtime/domains/tree/components/TreeToolbar.vue.d.ts +43 -0
  43. package/dist/runtime/domains/tree/resolve-tree.d.ts +14 -0
  44. package/dist/runtime/domains/tree/resolve-tree.js +16 -0
  45. package/dist/runtime/domains/tree/tree-lazy.d.ts +20 -0
  46. package/dist/runtime/domains/tree/tree-lazy.js +19 -0
  47. package/dist/runtime/domains/tree/tree-search.d.ts +6 -0
  48. package/dist/runtime/domains/tree/tree-search.js +5 -0
  49. package/dist/runtime/types/auto-form/search-form.d.ts +3 -3
  50. package/dist/runtime/types/components/index.d.ts +1 -0
  51. package/dist/runtime/types/components/message-box.d.ts +3 -3
  52. package/dist/runtime/types/components/tree.d.ts +134 -0
  53. package/dist/runtime/types/components/tree.js +0 -0
  54. package/dist/runtime/types/data-table/columns.d.ts +1 -17
  55. package/dist/runtime/types/data-table/component.d.ts +5 -0
  56. package/dist/runtime/types/shared.d.ts +13 -0
  57. package/dist/runtime/utils/extend-theme.d.ts +2 -2
  58. package/dist/runtime/utils/tree-expand.d.ts +22 -0
  59. package/dist/runtime/utils/tree-expand.js +18 -0
  60. package/dist/runtime/utils/tree-selection.d.ts +37 -0
  61. package/dist/runtime/utils/tree-selection.js +59 -0
  62. package/dist/shared/{nuxt.DfBEyjld.mjs → nuxt.CXM2nhP4.mjs} +76 -4
  63. package/dist/unplugin.d.mts +4 -2
  64. package/dist/unplugin.mjs +1 -35
  65. package/dist/vite.mjs +1 -1
  66. package/package.json +21 -21
  67. package/dist/runtime/domains/data-table/tree-selection.d.ts +0 -9
  68. package/dist/runtime/domains/data-table/tree-selection.js +0 -76
@@ -9,15 +9,403 @@ declare const DEFAULT_CONTROL_COMPONENTS: {
9
9
  readonly boolean: any;
10
10
  readonly enum: any;
11
11
  readonly file: any;
12
- readonly calendarDate: any;
12
+ readonly calendarDate: IsComponent;
13
13
  readonly inputDate: any;
14
14
  readonly inputTime: any;
15
- readonly withClear: any;
16
- readonly withPasswordToggle: any;
17
- readonly withCopy: any;
18
- readonly withCharacterLimit: any;
19
- readonly withFloatingLabel: any;
20
- readonly asPhoneNumberInput: any;
15
+ readonly withClear: <T extends import("@nuxt/ui").InputValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
16
+ slots: import("@movk/core").OmitByKey<InputSlots, "trailing">;
17
+ attrs: any;
18
+ emit: (((evt: "clear") => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void)) & ((event: "update:modelValue", value: T | undefined) => void);
19
+ }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
20
+ props: import("vue").PublicProps & {
21
+ buttonProps?: import("@nuxt/ui").ButtonProps | undefined;
22
+ ui?: (Record<string, import("tailwind-variants").ClassValue> & {
23
+ [x: string]: import("@nuxt/ui").SlotClass;
24
+ }) | undefined;
25
+ as?: any;
26
+ id?: string | undefined;
27
+ name?: string | undefined;
28
+ type?: import("vue").InputTypeHTMLAttribute | undefined;
29
+ placeholder?: string | undefined;
30
+ color?: (string | number | symbol) | undefined;
31
+ variant?: (string | number | symbol) | undefined;
32
+ size?: (string | number | symbol) | undefined;
33
+ required?: boolean | undefined;
34
+ autocomplete?: (string & {}) | "on" | "off" | undefined;
35
+ autofocus?: boolean | undefined;
36
+ autofocusDelay?: number | undefined;
37
+ disabled?: boolean | undefined;
38
+ highlight?: boolean | undefined;
39
+ fixed?: boolean | undefined;
40
+ defaultValue?: T | undefined;
41
+ modelModifiers?: import("@nuxt/ui").ModelModifiers | undefined;
42
+ class?: any;
43
+ icon?: import("@nuxt/ui").IconProps["name"];
44
+ avatar?: import("@nuxt/ui").AvatarProps | undefined;
45
+ leading?: boolean | undefined;
46
+ leadingIcon?: import("@nuxt/ui").IconProps["name"];
47
+ trailing?: boolean | undefined;
48
+ trailingIcon?: import("@nuxt/ui").IconProps["name"];
49
+ loading?: boolean | undefined;
50
+ loadingIcon?: import("@nuxt/ui").IconProps["name"];
51
+ form?: string | undefined | undefined;
52
+ formaction?: string | undefined | undefined;
53
+ formenctype?: string | undefined | undefined;
54
+ formmethod?: string | undefined | undefined;
55
+ formnovalidate?: (boolean | "true" | "false") | undefined;
56
+ formtarget?: string | undefined | undefined;
57
+ readonly?: (boolean | "true" | "false") | undefined;
58
+ enterKeyHint?: "search" | "done" | "enter" | "go" | "next" | "previous" | "send" | undefined;
59
+ list?: string | undefined | undefined;
60
+ max?: (string | number) | undefined;
61
+ maxlength?: (string | number) | undefined;
62
+ min?: (string | number) | undefined;
63
+ minlength?: (string | number) | undefined;
64
+ pattern?: string | undefined | undefined;
65
+ step?: (string | number) | undefined;
66
+ modelValue?: T | undefined;
67
+ onClear?: (() => any) | undefined;
68
+ onBlur?: ((event: FocusEvent) => any) | undefined;
69
+ onChange?: ((event: Event) => any) | undefined;
70
+ "onUpdate:modelValue"?: ((value: T | undefined) => any) | undefined;
71
+ } & (typeof globalThis extends {
72
+ __VLS_PROPS_FALLBACK: infer P;
73
+ } ? P : {});
74
+ expose: (exposed: {}) => void;
75
+ attrs: any;
76
+ slots: import("@movk/core").OmitByKey<InputSlots, "trailing">;
77
+ emit: (((evt: "clear") => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void)) & ((event: "update:modelValue", value: T | undefined) => void);
78
+ }>) => import("vue").VNode & {
79
+ __ctx?: Awaited<typeof __VLS_setup>;
80
+ };
81
+ readonly withPasswordToggle: <T extends import("@nuxt/ui").InputValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
82
+ slots: import("@movk/core").OmitByKey<InputSlots, "trailing">;
83
+ attrs: any;
84
+ emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void)) & ((event: "update:modelValue", value: T | undefined) => void);
85
+ }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
86
+ props: import("vue").PublicProps & {
87
+ buttonProps?: import("@nuxt/ui").ButtonProps | undefined;
88
+ ui?: (Record<string, import("tailwind-variants").ClassValue> & {
89
+ [x: string]: import("@nuxt/ui").SlotClass;
90
+ }) | undefined;
91
+ as?: any;
92
+ id?: string | undefined;
93
+ name?: string | undefined;
94
+ placeholder?: string | undefined;
95
+ color?: (string | number | symbol) | undefined;
96
+ variant?: (string | number | symbol) | undefined;
97
+ size?: (string | number | symbol) | undefined;
98
+ required?: boolean | undefined;
99
+ autocomplete?: (string & {}) | "on" | "off" | undefined;
100
+ autofocus?: boolean | undefined;
101
+ autofocusDelay?: number | undefined;
102
+ disabled?: boolean | undefined;
103
+ highlight?: boolean | undefined;
104
+ fixed?: boolean | undefined;
105
+ defaultValue?: T | undefined;
106
+ modelModifiers?: import("@nuxt/ui").ModelModifiers | undefined;
107
+ class?: any;
108
+ icon?: import("@nuxt/ui").IconProps["name"];
109
+ avatar?: import("@nuxt/ui").AvatarProps | undefined;
110
+ leading?: boolean | undefined;
111
+ leadingIcon?: import("@nuxt/ui").IconProps["name"];
112
+ trailing?: boolean | undefined;
113
+ trailingIcon?: import("@nuxt/ui").IconProps["name"];
114
+ loading?: boolean | undefined;
115
+ loadingIcon?: import("@nuxt/ui").IconProps["name"];
116
+ form?: string | undefined | undefined;
117
+ formaction?: string | undefined | undefined;
118
+ formenctype?: string | undefined | undefined;
119
+ formmethod?: string | undefined | undefined;
120
+ formnovalidate?: (boolean | "true" | "false") | undefined;
121
+ formtarget?: string | undefined | undefined;
122
+ readonly?: (boolean | "true" | "false") | undefined;
123
+ enterKeyHint?: "search" | "done" | "enter" | "go" | "next" | "previous" | "send" | undefined;
124
+ list?: string | undefined | undefined;
125
+ max?: (string | number) | undefined;
126
+ maxlength?: (string | number) | undefined;
127
+ min?: (string | number) | undefined;
128
+ minlength?: (string | number) | undefined;
129
+ pattern?: string | undefined | undefined;
130
+ step?: (string | number) | undefined;
131
+ modelValue?: T | undefined;
132
+ onBlur?: ((event: FocusEvent) => any) | undefined;
133
+ onChange?: ((event: Event) => any) | undefined;
134
+ "onUpdate:modelValue"?: ((value: T | undefined) => any) | undefined;
135
+ } & (typeof globalThis extends {
136
+ __VLS_PROPS_FALLBACK: infer P;
137
+ } ? P : {});
138
+ expose: (exposed: {}) => void;
139
+ attrs: any;
140
+ slots: import("@movk/core").OmitByKey<InputSlots, "trailing">;
141
+ emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void)) & ((event: "update:modelValue", value: T | undefined) => void);
142
+ }>) => import("vue").VNode & {
143
+ __ctx?: Awaited<typeof __VLS_setup>;
144
+ };
145
+ readonly withCopy: <T extends import("@nuxt/ui").InputValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
146
+ slots: import("@movk/core").OmitByKey<InputSlots, "trailing">;
147
+ attrs: any;
148
+ emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "copy", value: string) => void) & ((evt: "update:modelValue", value: T) => void)) & ((event: "update:modelValue", value: T | undefined) => void);
149
+ }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
150
+ props: import("vue").PublicProps & {
151
+ buttonProps?: import("@nuxt/ui").ButtonProps | undefined;
152
+ tooltipProps?: import("@nuxt/ui").TooltipProps | undefined;
153
+ ui?: (Record<string, import("tailwind-variants").ClassValue> & {
154
+ [x: string]: import("@nuxt/ui").SlotClass;
155
+ }) | undefined;
156
+ as?: any;
157
+ id?: string | undefined;
158
+ name?: string | undefined;
159
+ type?: import("vue").InputTypeHTMLAttribute | undefined;
160
+ placeholder?: string | undefined;
161
+ color?: (string | number | symbol) | undefined;
162
+ variant?: (string | number | symbol) | undefined;
163
+ size?: (string | number | symbol) | undefined;
164
+ required?: boolean | undefined;
165
+ autocomplete?: (string & {}) | "on" | "off" | undefined;
166
+ autofocus?: boolean | undefined;
167
+ autofocusDelay?: number | undefined;
168
+ disabled?: boolean | undefined;
169
+ highlight?: boolean | undefined;
170
+ fixed?: boolean | undefined;
171
+ defaultValue?: T | undefined;
172
+ modelModifiers?: import("@nuxt/ui").ModelModifiers | undefined;
173
+ class?: any;
174
+ icon?: import("@nuxt/ui").IconProps["name"];
175
+ avatar?: import("@nuxt/ui").AvatarProps | undefined;
176
+ leading?: boolean | undefined;
177
+ leadingIcon?: import("@nuxt/ui").IconProps["name"];
178
+ trailing?: boolean | undefined;
179
+ trailingIcon?: import("@nuxt/ui").IconProps["name"];
180
+ loading?: boolean | undefined;
181
+ loadingIcon?: import("@nuxt/ui").IconProps["name"];
182
+ form?: string | undefined | undefined;
183
+ formaction?: string | undefined | undefined;
184
+ formenctype?: string | undefined | undefined;
185
+ formmethod?: string | undefined | undefined;
186
+ formnovalidate?: (boolean | "true" | "false") | undefined;
187
+ formtarget?: string | undefined | undefined;
188
+ readonly?: (boolean | "true" | "false") | undefined;
189
+ enterKeyHint?: "search" | "done" | "enter" | "go" | "next" | "previous" | "send" | undefined;
190
+ list?: string | undefined | undefined;
191
+ max?: (string | number) | undefined;
192
+ maxlength?: (string | number) | undefined;
193
+ min?: (string | number) | undefined;
194
+ minlength?: (string | number) | undefined;
195
+ pattern?: string | undefined | undefined;
196
+ step?: (string | number) | undefined;
197
+ modelValue?: T | undefined;
198
+ onBlur?: ((event: FocusEvent) => any) | undefined;
199
+ onChange?: ((event: Event) => any) | undefined;
200
+ onCopy?: ((value: string) => any) | undefined;
201
+ "onUpdate:modelValue"?: ((value: T | undefined) => any) | undefined;
202
+ } & (typeof globalThis extends {
203
+ __VLS_PROPS_FALLBACK: infer P;
204
+ } ? P : {});
205
+ expose: (exposed: {}) => void;
206
+ attrs: any;
207
+ slots: import("@movk/core").OmitByKey<InputSlots, "trailing">;
208
+ emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "copy", value: string) => void) & ((evt: "update:modelValue", value: T) => void)) & ((event: "update:modelValue", value: T | undefined) => void);
209
+ }>) => import("vue").VNode & {
210
+ __ctx?: Awaited<typeof __VLS_setup>;
211
+ };
212
+ readonly withCharacterLimit: <T extends import("@nuxt/ui").InputValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
213
+ slots: import("@movk/core").OmitByKey<InputSlots, "trailing">;
214
+ attrs: any;
215
+ emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void)) & ((event: "update:modelValue", value: T | undefined) => void);
216
+ }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
217
+ props: import("vue").PublicProps & {
218
+ maxLength?: number | undefined;
219
+ ui?: (Record<string, import("tailwind-variants").ClassValue> & {
220
+ [x: string]: import("@nuxt/ui").SlotClass;
221
+ }) | undefined;
222
+ as?: any;
223
+ id?: string | undefined;
224
+ name?: string | undefined;
225
+ type?: import("vue").InputTypeHTMLAttribute | undefined;
226
+ placeholder?: string | undefined;
227
+ color?: (string | number | symbol) | undefined;
228
+ variant?: (string | number | symbol) | undefined;
229
+ size?: (string | number | symbol) | undefined;
230
+ required?: boolean | undefined;
231
+ autocomplete?: (string & {}) | "on" | "off" | undefined;
232
+ autofocus?: boolean | undefined;
233
+ autofocusDelay?: number | undefined;
234
+ disabled?: boolean | undefined;
235
+ highlight?: boolean | undefined;
236
+ fixed?: boolean | undefined;
237
+ defaultValue?: T | undefined;
238
+ modelModifiers?: import("@nuxt/ui").ModelModifiers | undefined;
239
+ class?: any;
240
+ icon?: import("@nuxt/ui").IconProps["name"];
241
+ avatar?: import("@nuxt/ui").AvatarProps | undefined;
242
+ leading?: boolean | undefined;
243
+ leadingIcon?: import("@nuxt/ui").IconProps["name"];
244
+ trailing?: boolean | undefined;
245
+ trailingIcon?: import("@nuxt/ui").IconProps["name"];
246
+ loading?: boolean | undefined;
247
+ loadingIcon?: import("@nuxt/ui").IconProps["name"];
248
+ form?: string | undefined | undefined;
249
+ formaction?: string | undefined | undefined;
250
+ formenctype?: string | undefined | undefined;
251
+ formmethod?: string | undefined | undefined;
252
+ formnovalidate?: (boolean | "true" | "false") | undefined;
253
+ formtarget?: string | undefined | undefined;
254
+ readonly?: (boolean | "true" | "false") | undefined;
255
+ enterKeyHint?: "search" | "done" | "enter" | "go" | "next" | "previous" | "send" | undefined;
256
+ list?: string | undefined | undefined;
257
+ max?: (string | number) | undefined;
258
+ maxlength?: (string | number) | undefined;
259
+ min?: (string | number) | undefined;
260
+ minlength?: (string | number) | undefined;
261
+ pattern?: string | undefined | undefined;
262
+ step?: (string | number) | undefined;
263
+ modelValue?: T | undefined;
264
+ onBlur?: ((event: FocusEvent) => any) | undefined;
265
+ onChange?: ((event: Event) => any) | undefined;
266
+ "onUpdate:modelValue"?: ((value: T | undefined) => any) | undefined;
267
+ } & (typeof globalThis extends {
268
+ __VLS_PROPS_FALLBACK: infer P;
269
+ } ? P : {});
270
+ expose: (exposed: {}) => void;
271
+ attrs: any;
272
+ slots: import("@movk/core").OmitByKey<InputSlots, "trailing">;
273
+ emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void)) & ((event: "update:modelValue", value: T | undefined) => void);
274
+ }>) => import("vue").VNode & {
275
+ __ctx?: Awaited<typeof __VLS_setup>;
276
+ };
277
+ readonly withFloatingLabel: <T extends import("@nuxt/ui").InputValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
278
+ slots: import("@movk/core").OmitByKey<InputSlots, "default" | "trailing">;
279
+ attrs: any;
280
+ emit: (((evt: "clear") => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void)) & ((event: "update:modelValue", value: T | undefined) => void);
281
+ }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
282
+ props: import("vue").PublicProps & {
283
+ label?: string | undefined;
284
+ size?: string | number | symbol | undefined;
285
+ clearButtonProps?: import("@nuxt/ui").ButtonProps | undefined;
286
+ ui?: (Record<string, import("tailwind-variants").ClassValue> & {
287
+ [x: string]: import("@nuxt/ui").SlotClass;
288
+ }) | undefined;
289
+ as?: any;
290
+ id?: string | undefined;
291
+ name?: string | undefined;
292
+ type?: import("vue").InputTypeHTMLAttribute | undefined;
293
+ placeholder?: string | undefined;
294
+ color?: (string | number | symbol) | undefined;
295
+ variant?: (string | number | symbol) | undefined;
296
+ required?: boolean | undefined;
297
+ autocomplete?: (string & {}) | "on" | "off" | undefined;
298
+ autofocus?: boolean | undefined;
299
+ autofocusDelay?: number | undefined;
300
+ disabled?: boolean | undefined;
301
+ highlight?: boolean | undefined;
302
+ fixed?: boolean | undefined;
303
+ defaultValue?: T | undefined;
304
+ modelModifiers?: import("@nuxt/ui").ModelModifiers | undefined;
305
+ class?: any;
306
+ icon?: import("@nuxt/ui").IconProps["name"];
307
+ avatar?: import("@nuxt/ui").AvatarProps | undefined;
308
+ leading?: boolean | undefined;
309
+ leadingIcon?: import("@nuxt/ui").IconProps["name"];
310
+ trailing?: boolean | undefined;
311
+ trailingIcon?: import("@nuxt/ui").IconProps["name"];
312
+ loading?: boolean | undefined;
313
+ loadingIcon?: import("@nuxt/ui").IconProps["name"];
314
+ form?: string | undefined | undefined;
315
+ formaction?: string | undefined | undefined;
316
+ formenctype?: string | undefined | undefined;
317
+ formmethod?: string | undefined | undefined;
318
+ formnovalidate?: (boolean | "true" | "false") | undefined;
319
+ formtarget?: string | undefined | undefined;
320
+ readonly?: (boolean | "true" | "false") | undefined;
321
+ enterKeyHint?: "search" | "done" | "enter" | "go" | "next" | "previous" | "send" | undefined;
322
+ list?: string | undefined | undefined;
323
+ max?: (string | number) | undefined;
324
+ maxlength?: (string | number) | undefined;
325
+ min?: (string | number) | undefined;
326
+ minlength?: (string | number) | undefined;
327
+ pattern?: string | undefined | undefined;
328
+ step?: (string | number) | undefined;
329
+ modelValue?: T | undefined;
330
+ onClear?: (() => any) | undefined;
331
+ onBlur?: ((event: FocusEvent) => any) | undefined;
332
+ onChange?: ((event: Event) => any) | undefined;
333
+ "onUpdate:modelValue"?: ((value: T | undefined) => any) | undefined;
334
+ } & (typeof globalThis extends {
335
+ __VLS_PROPS_FALLBACK: infer P;
336
+ } ? P : {});
337
+ expose: (exposed: {}) => void;
338
+ attrs: any;
339
+ slots: import("@movk/core").OmitByKey<InputSlots, "default" | "trailing">;
340
+ emit: (((evt: "clear") => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void)) & ((event: "update:modelValue", value: T | undefined) => void);
341
+ }>) => import("vue").VNode & {
342
+ __ctx?: Awaited<typeof __VLS_setup>;
343
+ };
344
+ readonly asPhoneNumberInput: <T extends import("@nuxt/ui").InputValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
345
+ slots: import("@movk/core").OmitByKey<InputSlots, "leading">;
346
+ attrs: any;
347
+ emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void)) & ((event: "update:modelValue", value: T | undefined) => void);
348
+ }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
349
+ props: import("vue").PublicProps & {
350
+ mask?: string | undefined;
351
+ dialCode?: string | undefined;
352
+ ui?: (Record<string, import("tailwind-variants").ClassValue> & {
353
+ [x: string]: import("@nuxt/ui").SlotClass;
354
+ }) | undefined;
355
+ as?: any;
356
+ id?: string | undefined;
357
+ name?: string | undefined;
358
+ placeholder?: string | undefined;
359
+ color?: (string | number | symbol) | undefined;
360
+ variant?: (string | number | symbol) | undefined;
361
+ size?: (string | number | symbol) | undefined;
362
+ required?: boolean | undefined;
363
+ autocomplete?: (string & {}) | "on" | "off" | undefined;
364
+ autofocus?: boolean | undefined;
365
+ autofocusDelay?: number | undefined;
366
+ disabled?: boolean | undefined;
367
+ highlight?: boolean | undefined;
368
+ fixed?: boolean | undefined;
369
+ defaultValue?: T | undefined;
370
+ modelModifiers?: import("@nuxt/ui").ModelModifiers | undefined;
371
+ class?: any;
372
+ icon?: import("@nuxt/ui").IconProps["name"];
373
+ avatar?: import("@nuxt/ui").AvatarProps | undefined;
374
+ leading?: boolean | undefined;
375
+ leadingIcon?: import("@nuxt/ui").IconProps["name"];
376
+ trailing?: boolean | undefined;
377
+ trailingIcon?: import("@nuxt/ui").IconProps["name"];
378
+ loading?: boolean | undefined;
379
+ loadingIcon?: import("@nuxt/ui").IconProps["name"];
380
+ form?: string | undefined | undefined;
381
+ formaction?: string | undefined | undefined;
382
+ formenctype?: string | undefined | undefined;
383
+ formmethod?: string | undefined | undefined;
384
+ formnovalidate?: (boolean | "true" | "false") | undefined;
385
+ formtarget?: string | undefined | undefined;
386
+ readonly?: (boolean | "true" | "false") | undefined;
387
+ enterKeyHint?: "search" | "done" | "enter" | "go" | "next" | "previous" | "send" | undefined;
388
+ list?: string | undefined | undefined;
389
+ max?: (string | number) | undefined;
390
+ maxlength?: (string | number) | undefined;
391
+ min?: (string | number) | undefined;
392
+ minlength?: (string | number) | undefined;
393
+ pattern?: string | undefined | undefined;
394
+ step?: (string | number) | undefined;
395
+ modelValue?: T | undefined;
396
+ onBlur?: ((event: FocusEvent) => any) | undefined;
397
+ onChange?: ((event: Event) => any) | undefined;
398
+ "onUpdate:modelValue"?: ((value: T | undefined) => any) | undefined;
399
+ } & (typeof globalThis extends {
400
+ __VLS_PROPS_FALLBACK: infer P;
401
+ } ? P : {});
402
+ expose: (exposed: {}) => void;
403
+ attrs: any;
404
+ slots: import("@movk/core").OmitByKey<InputSlots, "leading">;
405
+ emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void)) & ((event: "update:modelValue", value: T | undefined) => void);
406
+ }>) => import("vue").VNode & {
407
+ __ctx?: Awaited<typeof __VLS_setup>;
408
+ };
21
409
  readonly textarea: any;
22
410
  readonly switch: any;
23
411
  readonly slider: any;
@@ -28,10 +416,262 @@ declare const DEFAULT_CONTROL_COMPONENTS: {
28
416
  readonly inputTags: any;
29
417
  readonly pinInput: any;
30
418
  readonly listbox: any;
31
- readonly starRating: any;
32
- readonly colorChooser: any;
33
- readonly slideVerify: any;
34
- readonly pillGroup: any;
419
+ readonly starRating: {
420
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../../types").StarRatingProps & {
421
+ ui?: import("@nuxt/ui").ComponentConfig<typeof UInput, import("@nuxt/schema").AppConfig, "starRating">["slots"];
422
+ } & {
423
+ modelValue?: number;
424
+ }> & Readonly<{
425
+ onChange?: ((value: number) => any) | undefined;
426
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
427
+ onHover?: ((value: number | null) => any) | undefined;
428
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
429
+ change: (value: number) => any;
430
+ "update:modelValue": (value: number) => any;
431
+ hover: (value: number | null) => any;
432
+ }, import("vue").PublicProps, {
433
+ max: number;
434
+ showBadge: boolean;
435
+ emptyIcon: import("@nuxt/ui").IconProps["name"];
436
+ filledIcon: import("@nuxt/ui").IconProps["name"];
437
+ halfIcon: import("@nuxt/ui").IconProps["name"];
438
+ }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
439
+ P: {};
440
+ B: {};
441
+ D: {};
442
+ C: {};
443
+ M: {};
444
+ Defaults: {};
445
+ }, Readonly<import("../../types").StarRatingProps & {
446
+ ui?: import("@nuxt/ui").ComponentConfig<typeof UInput, import("@nuxt/schema").AppConfig, "starRating">["slots"];
447
+ } & {
448
+ modelValue?: number;
449
+ }> & Readonly<{
450
+ onChange?: ((value: number) => any) | undefined;
451
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
452
+ onHover?: ((value: number | null) => any) | undefined;
453
+ }>, {}, {}, {}, {}, {
454
+ max: number;
455
+ showBadge: boolean;
456
+ emptyIcon: import("@nuxt/ui").IconProps["name"];
457
+ filledIcon: import("@nuxt/ui").IconProps["name"];
458
+ halfIcon: import("@nuxt/ui").IconProps["name"];
459
+ }>;
460
+ __isFragment?: never;
461
+ __isTeleport?: never;
462
+ __isSuspense?: never;
463
+ } & import("vue").ComponentOptionsBase<Readonly<import("../../types").StarRatingProps & {
464
+ ui?: import("@nuxt/ui").ComponentConfig<typeof UInput, import("@nuxt/schema").AppConfig, "starRating">["slots"];
465
+ } & {
466
+ modelValue?: number;
467
+ }> & Readonly<{
468
+ onChange?: ((value: number) => any) | undefined;
469
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
470
+ onHover?: ((value: number | null) => any) | undefined;
471
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
472
+ change: (value: number) => any;
473
+ "update:modelValue": (value: number) => any;
474
+ hover: (value: number | null) => any;
475
+ }, string, {
476
+ max: number;
477
+ showBadge: boolean;
478
+ emptyIcon: import("@nuxt/ui").IconProps["name"];
479
+ filledIcon: import("@nuxt/ui").IconProps["name"];
480
+ halfIcon: import("@nuxt/ui").IconProps["name"];
481
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
482
+ $slots: {
483
+ prefix?: (props: {
484
+ value: number;
485
+ max: number;
486
+ }) => any;
487
+ } & {
488
+ badge?: (props: {
489
+ value: number;
490
+ max: number;
491
+ label: string;
492
+ }) => any;
493
+ } & {
494
+ suffix?: (props: {
495
+ value: number;
496
+ max: number;
497
+ }) => any;
498
+ };
499
+ });
500
+ readonly colorChooser: <M extends "click" | "hover">(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
501
+ slots: import("../../types").ColorChooserSlots;
502
+ attrs: any;
503
+ emit: (((evt: "clear") => void) & ((evt: "change", value: string | undefined) => void) & ((evt: "copy", value: string) => void) & ((evt: "update:modelValue", value: string | undefined) => void) & ((evt: "update:open", open: boolean) => void) & ((evt: "format-change", format: import("../../types").ColorFormat) => void)) & ((event: "update:modelValue", value: string | undefined) => void);
504
+ }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
505
+ props: import("vue").PublicProps & {
506
+ id?: string | undefined;
507
+ name?: string | undefined;
508
+ format?: import("../../types").ColorFormat | undefined;
509
+ formats?: import("../../types").ColorFormat[] | undefined;
510
+ swatches?: string[] | string[][] | undefined;
511
+ closeOnSwatch?: boolean | undefined;
512
+ clearable?: boolean | undefined;
513
+ copyable?: boolean | undefined;
514
+ trigger?: "input" | "button" | "chip" | undefined;
515
+ label?: string | undefined;
516
+ placeholder?: string | undefined;
517
+ size?: string | number | symbol | undefined;
518
+ color?: string | number | symbol | undefined;
519
+ variant?: string | number | symbol | undefined;
520
+ disabled?: boolean | undefined;
521
+ highlight?: boolean | undefined;
522
+ icon?: import("@nuxt/ui").IconProps["name"];
523
+ colorPickerProps?: Omit<import("@nuxt/ui").ColorPickerProps, "modelValue" | "format" | "disabled"> | undefined;
524
+ ui?: (Record<string, import("tailwind-variants").ClassValue> & {
525
+ [x: string]: import("@nuxt/ui").SlotClass;
526
+ }) | undefined;
527
+ mode?: M | undefined;
528
+ content?: (Omit<import("reka-ui").PopoverContentProps, "as" | "asChild" | "forceMount"> & Partial<import("@nuxt/ui").EmitsToProps<import("reka-ui").PopoverContentEmits>>) | undefined;
529
+ arrow?: (boolean | Omit<import("reka-ui").PopoverArrowProps, "as" | "asChild">) | undefined;
530
+ portal?: (boolean | string | HTMLElement) | undefined;
531
+ reference?: import("reka-ui").ReferenceElement | undefined;
532
+ dismissible?: boolean | undefined;
533
+ class?: any;
534
+ modal?: boolean | undefined;
535
+ openDelay?: number | undefined;
536
+ closeDelay?: number | undefined;
537
+ modelValue?: string | undefined;
538
+ onClear?: (() => any) | undefined;
539
+ onChange?: ((value: string | undefined) => any) | undefined;
540
+ onCopy?: ((value: string) => any) | undefined;
541
+ "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
542
+ "onUpdate:open"?: ((open: boolean) => any) | undefined;
543
+ "onFormat-change"?: ((format: import("../../types").ColorFormat) => any) | undefined;
544
+ } & (typeof globalThis extends {
545
+ __VLS_PROPS_FALLBACK: infer P;
546
+ } ? P : {});
547
+ expose: (exposed: {}) => void;
548
+ attrs: any;
549
+ slots: import("../../types").ColorChooserSlots;
550
+ emit: (((evt: "clear") => void) & ((evt: "change", value: string | undefined) => void) & ((evt: "copy", value: string) => void) & ((evt: "update:modelValue", value: string | undefined) => void) & ((evt: "update:open", open: boolean) => void) & ((evt: "format-change", format: import("../../types").ColorFormat) => void)) & ((event: "update:modelValue", value: string | undefined) => void);
551
+ }>) => import("vue").VNode & {
552
+ __ctx?: Awaited<typeof __VLS_setup>;
553
+ };
554
+ readonly slideVerify: {
555
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../../types").SlideVerifyProps & {
556
+ size?: import("@nuxt/ui").ComponentConfig<typeof UInput, import("@nuxt/schema").AppConfig, "slideVerify">["variants"]["size"];
557
+ ui?: import("@nuxt/ui").ComponentConfig<typeof UInput, import("@nuxt/schema").AppConfig, "slideVerify">["slots"];
558
+ } & {
559
+ modelValue?: boolean;
560
+ }> & Readonly<{
561
+ onSuccess?: (() => any) | undefined;
562
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
563
+ onDragStart?: (() => any) | undefined;
564
+ onDragEnd?: ((success: boolean) => any) | undefined;
565
+ }>, {
566
+ reset: () => void;
567
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
568
+ success: () => any;
569
+ "update:modelValue": (value: boolean) => any;
570
+ dragStart: () => any;
571
+ dragEnd: (success: boolean) => any;
572
+ }, import("vue").PublicProps, {
573
+ icon: import("@nuxt/ui").IconProps["name"];
574
+ text: string;
575
+ successText: string;
576
+ successIcon: import("@nuxt/ui").IconProps["name"];
577
+ threshold: number;
578
+ }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
579
+ P: {};
580
+ B: {};
581
+ D: {};
582
+ C: {};
583
+ M: {};
584
+ Defaults: {};
585
+ }, Readonly<import("../../types").SlideVerifyProps & {
586
+ size?: import("@nuxt/ui").ComponentConfig<typeof UInput, import("@nuxt/schema").AppConfig, "slideVerify">["variants"]["size"];
587
+ ui?: import("@nuxt/ui").ComponentConfig<typeof UInput, import("@nuxt/schema").AppConfig, "slideVerify">["slots"];
588
+ } & {
589
+ modelValue?: boolean;
590
+ }> & Readonly<{
591
+ onSuccess?: (() => any) | undefined;
592
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
593
+ onDragStart?: (() => any) | undefined;
594
+ onDragEnd?: ((success: boolean) => any) | undefined;
595
+ }>, {
596
+ reset: () => void;
597
+ }, {}, {}, {}, {
598
+ icon: import("@nuxt/ui").IconProps["name"];
599
+ text: string;
600
+ successText: string;
601
+ successIcon: import("@nuxt/ui").IconProps["name"];
602
+ threshold: number;
603
+ }>;
604
+ __isFragment?: never;
605
+ __isTeleport?: never;
606
+ __isSuspense?: never;
607
+ } & import("vue").ComponentOptionsBase<Readonly<import("../../types").SlideVerifyProps & {
608
+ size?: import("@nuxt/ui").ComponentConfig<typeof UInput, import("@nuxt/schema").AppConfig, "slideVerify">["variants"]["size"];
609
+ ui?: import("@nuxt/ui").ComponentConfig<typeof UInput, import("@nuxt/schema").AppConfig, "slideVerify">["slots"];
610
+ } & {
611
+ modelValue?: boolean;
612
+ }> & Readonly<{
613
+ onSuccess?: (() => any) | undefined;
614
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
615
+ onDragStart?: (() => any) | undefined;
616
+ onDragEnd?: ((success: boolean) => any) | undefined;
617
+ }>, {
618
+ reset: () => void;
619
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
620
+ success: () => any;
621
+ "update:modelValue": (value: boolean) => any;
622
+ dragStart: () => any;
623
+ dragEnd: (success: boolean) => any;
624
+ }, string, {
625
+ icon: import("@nuxt/ui").IconProps["name"];
626
+ text: string;
627
+ successText: string;
628
+ successIcon: import("@nuxt/ui").IconProps["name"];
629
+ threshold: number;
630
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
631
+ $slots: import("../../types").SlideVerifySlots;
632
+ });
633
+ readonly pillGroup: <T extends import("../../types").PillItem, VK extends import("@nuxt/ui").GetItemKeys<T> | undefined = undefined, M extends boolean = false>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
634
+ slots: import("../../types").PillGroupSlots<T, VK, M>;
635
+ attrs: any;
636
+ emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", value: import("@nuxt/ui").GetModelValue<T, VK, M, undefined>) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "select", payload: import("../../types").PillSelectPayload<T>) => void) & ((evt: "update:modelValue", value: import("@nuxt/ui").GetModelValue<T, VK, M, undefined>) => void)) & ((event: "update:modelValue", value: import("@nuxt/ui").GetModelValue<T, VK, M> | undefined) => void);
637
+ }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
638
+ props: import("vue").PublicProps & {
639
+ items?: T[] | undefined;
640
+ valueKey?: VK | undefined;
641
+ labelKey?: import("@nuxt/ui").GetItemKeys<T> | undefined;
642
+ descriptionKey?: import("@nuxt/ui").GetItemKeys<T> | undefined;
643
+ by?: string | ((a: T, b: T) => boolean) | undefined;
644
+ orientation?: "horizontal" | "vertical" | undefined;
645
+ size?: string | number | symbol | undefined;
646
+ color?: string | number | symbol | undefined;
647
+ activeVariant?: string | number | symbol | undefined;
648
+ inactiveVariant?: string | number | symbol | undefined;
649
+ disabled?: boolean | undefined;
650
+ multiple?: M | undefined;
651
+ deselectable?: boolean | undefined;
652
+ max?: number | undefined;
653
+ min?: number | undefined;
654
+ defaultValue?: import("@nuxt/ui").GetModelValue<T, VK, M, undefined> | undefined;
655
+ modelValue?: (import("@nuxt/ui").GetModelValue<T, VK, M, undefined> & import("@nuxt/ui").GetModelValue<T, VK, M>) | undefined;
656
+ class?: import("tailwind-variants").ClassValue;
657
+ ui?: (Record<string, import("tailwind-variants").ClassValue> & {
658
+ [x: string]: import("@nuxt/ui").SlotClass;
659
+ }) | undefined;
660
+ onBlur?: ((event: FocusEvent) => any) | undefined;
661
+ onChange?: ((value: import("@nuxt/ui").GetModelValue<T, VK, M, undefined>) => any) | undefined;
662
+ onFocus?: ((event: FocusEvent) => any) | undefined;
663
+ onSelect?: ((payload: import("../../types").PillSelectPayload<T>) => any) | undefined;
664
+ "onUpdate:modelValue"?: ((value: import("@nuxt/ui").GetModelValue<T, VK, M, undefined> | undefined) => any) | undefined;
665
+ } & (typeof globalThis extends {
666
+ __VLS_PROPS_FALLBACK: infer P;
667
+ } ? P : {});
668
+ expose: (exposed: {}) => void;
669
+ attrs: any;
670
+ slots: import("../../types").PillGroupSlots<T, VK, M>;
671
+ emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", value: import("@nuxt/ui").GetModelValue<T, VK, M, undefined>) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "select", payload: import("../../types").PillSelectPayload<T>) => void) & ((evt: "update:modelValue", value: import("@nuxt/ui").GetModelValue<T, VK, M, undefined>) => void)) & ((event: "update:modelValue", value: import("@nuxt/ui").GetModelValue<T, VK, M> | undefined) => void);
672
+ }>) => import("vue").VNode & {
673
+ __ctx?: Awaited<typeof __VLS_setup>;
674
+ };
35
675
  };
36
676
  type DefaultControlComponents = typeof DEFAULT_CONTROL_COMPONENTS;
37
677
  type DefaultControlMap = {