@movk/nuxt 1.8.3 → 2.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (274) hide show
  1. package/README.en.md +16 -6
  2. package/README.md +16 -6
  3. package/dist/module.d.mts +6 -0
  4. package/dist/module.json +3 -3
  5. package/dist/module.mjs +15 -22
  6. package/dist/runtime/components/AutoForm.d.vue.ts +15 -1
  7. package/dist/runtime/components/AutoForm.vue +48 -50
  8. package/dist/runtime/components/AutoForm.vue.d.ts +15 -1
  9. package/dist/runtime/components/DataTable.d.vue.ts +4 -2
  10. package/dist/runtime/components/DataTable.vue +166 -174
  11. package/dist/runtime/components/DataTable.vue.d.ts +4 -2
  12. package/dist/runtime/components/DatePicker.d.vue.ts +6 -5
  13. package/dist/runtime/components/DatePicker.vue +96 -43
  14. package/dist/runtime/components/DatePicker.vue.d.ts +6 -5
  15. package/dist/runtime/components/MessageBox.d.vue.ts +1 -5
  16. package/dist/runtime/components/MessageBox.vue +9 -7
  17. package/dist/runtime/components/MessageBox.vue.d.ts +1 -5
  18. package/dist/runtime/components/SearchForm.d.vue.ts +12 -4
  19. package/dist/runtime/components/SearchForm.vue +130 -120
  20. package/dist/runtime/components/SearchForm.vue.d.ts +12 -4
  21. package/dist/runtime/components/Tree.d.vue.ts +3 -1
  22. package/dist/runtime/components/Tree.vue +102 -140
  23. package/dist/runtime/components/Tree.vue.d.ts +3 -1
  24. package/dist/runtime/components/theme-picker/ThemePicker.vue +5 -3
  25. package/dist/runtime/components/theme-picker/ThemePickerButton.vue +15 -6
  26. package/dist/runtime/composables/index.d.ts +1 -0
  27. package/dist/runtime/composables/index.js +1 -0
  28. package/dist/runtime/composables/useApiFetch.d.ts +7 -7
  29. package/dist/runtime/composables/useApiFetch.js +5 -23
  30. package/dist/runtime/composables/useAutoForm.js +2 -2
  31. package/dist/runtime/composables/useClientApiFetch.d.ts +5 -5
  32. package/dist/runtime/composables/useDateFormatter.d.ts +32 -34
  33. package/dist/runtime/composables/useDateFormatter.js +75 -232
  34. package/dist/runtime/composables/useDownloadWithProgress.d.ts +11 -8
  35. package/dist/runtime/composables/useDownloadWithProgress.js +49 -132
  36. package/dist/runtime/composables/useMessageBox.js +3 -2
  37. package/dist/runtime/composables/useMovkLocale.d.ts +16 -0
  38. package/dist/runtime/composables/useMovkLocale.js +20 -0
  39. package/dist/runtime/composables/useTheme.js +8 -18
  40. package/dist/runtime/composables/useUploadWithProgress.d.ts +9 -6
  41. package/dist/runtime/composables/useUploadWithProgress.js +50 -84
  42. package/dist/runtime/domains/ai/chat-transport.js +1 -0
  43. package/dist/runtime/domains/api/adapters/xhr.d.ts +17 -0
  44. package/dist/runtime/domains/api/adapters/xhr.js +55 -0
  45. package/dist/runtime/domains/api/auth.d.ts +4 -1
  46. package/dist/runtime/domains/api/auth.js +6 -7
  47. package/dist/runtime/domains/api/client.d.ts +13 -0
  48. package/dist/runtime/domains/api/client.js +35 -0
  49. package/dist/runtime/domains/api/download.d.ts +10 -0
  50. package/dist/runtime/domains/api/download.js +28 -0
  51. package/dist/runtime/domains/api/errors.d.ts +20 -2
  52. package/dist/runtime/domains/api/errors.js +61 -8
  53. package/dist/runtime/domains/api/fetch-key.d.ts +2 -2
  54. package/dist/runtime/domains/api/fetch-key.js +4 -4
  55. package/dist/runtime/domains/api/interceptors/request.d.ts +2 -6
  56. package/dist/runtime/domains/api/interceptors/request.js +3 -2
  57. package/dist/runtime/domains/api/interceptors/response.d.ts +8 -14
  58. package/dist/runtime/domains/api/interceptors/response.js +34 -25
  59. package/dist/runtime/domains/api/report.d.ts +25 -0
  60. package/dist/runtime/domains/api/report.js +51 -0
  61. package/dist/runtime/domains/api/response.d.ts +29 -4
  62. package/dist/runtime/domains/api/response.js +27 -6
  63. package/dist/runtime/domains/api/session.d.ts +1 -1
  64. package/dist/runtime/domains/api/session.js +1 -1
  65. package/dist/runtime/domains/api/stream.d.ts +2 -1
  66. package/dist/runtime/domains/api/stream.js +2 -1
  67. package/dist/runtime/domains/api/toast.d.ts +6 -3
  68. package/dist/runtime/domains/api/toast.js +7 -7
  69. package/dist/runtime/domains/auto-form/actions.d.ts +2 -1
  70. package/dist/runtime/domains/auto-form/actions.js +6 -4
  71. package/dist/runtime/domains/auto-form/array-ops.d.ts +3 -0
  72. package/dist/runtime/domains/auto-form/array-ops.js +9 -0
  73. package/dist/runtime/domains/auto-form/async-items.d.ts +10 -0
  74. package/dist/runtime/domains/auto-form/async-items.js +42 -0
  75. package/dist/runtime/domains/auto-form/components/Array.d.vue.ts +0 -4
  76. package/dist/runtime/domains/auto-form/components/Array.vue +81 -73
  77. package/dist/runtime/domains/auto-form/components/Array.vue.d.ts +0 -4
  78. package/dist/runtime/domains/auto-form/components/Children.d.vue.ts +0 -2
  79. package/dist/runtime/domains/auto-form/components/Children.vue +0 -5
  80. package/dist/runtime/domains/auto-form/components/Children.vue.d.ts +0 -2
  81. package/dist/runtime/domains/auto-form/components/Field.d.vue.ts +0 -2
  82. package/dist/runtime/domains/auto-form/components/Field.vue +9 -2
  83. package/dist/runtime/domains/auto-form/components/Field.vue.d.ts +0 -2
  84. package/dist/runtime/domains/auto-form/components/Layout.d.vue.ts +0 -2
  85. package/dist/runtime/domains/auto-form/components/Layout.vue +3 -6
  86. package/dist/runtime/domains/auto-form/components/Layout.vue.d.ts +0 -2
  87. package/dist/runtime/domains/auto-form/components/Nested.d.vue.ts +0 -2
  88. package/dist/runtime/domains/auto-form/components/Nested.vue +5 -9
  89. package/dist/runtime/domains/auto-form/components/Nested.vue.d.ts +0 -2
  90. package/dist/runtime/domains/auto-form/controls.d.ts +5 -572
  91. package/dist/runtime/domains/auto-form/controls.js +7 -20
  92. package/dist/runtime/domains/auto-form/fields.d.ts +21 -4
  93. package/dist/runtime/domains/auto-form/fields.js +52 -40
  94. package/dist/runtime/domains/auto-form/provider.d.ts +15 -6
  95. package/dist/runtime/domains/auto-form/provider.js +24 -10
  96. package/dist/runtime/domains/auto-form/schema.d.ts +9 -4
  97. package/dist/runtime/domains/auto-form/schema.js +91 -50
  98. package/dist/runtime/domains/auto-form/search-query.d.ts +10 -0
  99. package/dist/runtime/domains/auto-form/search-query.js +57 -0
  100. package/dist/runtime/domains/auto-form/useAutoFormCore.d.ts +62 -0
  101. package/dist/runtime/domains/auto-form/useAutoFormCore.js +108 -0
  102. package/dist/runtime/domains/auto-form/useSearchQuerySync.d.ts +11 -0
  103. package/dist/runtime/domains/auto-form/useSearchQuerySync.js +64 -0
  104. package/dist/runtime/domains/data-table/columns/constants.d.ts +2 -0
  105. package/dist/runtime/domains/data-table/columns/constants.js +1 -1
  106. package/dist/runtime/domains/data-table/columns/resolve-columns.d.ts +2 -1
  107. package/dist/runtime/domains/data-table/columns/resolve-columns.js +3 -2
  108. package/dist/runtime/domains/data-table/columns/resolve-data-column.d.ts +7 -2
  109. package/dist/runtime/domains/data-table/columns/resolve-data-column.js +10 -5
  110. package/dist/runtime/domains/data-table/columns/resolve-special-columns.js +14 -8
  111. package/dist/runtime/domains/data-table/components/ColumnSettings.d.vue.ts +20 -0
  112. package/dist/runtime/domains/data-table/components/ColumnSettings.vue +63 -0
  113. package/dist/runtime/domains/data-table/components/ColumnSettings.vue.d.ts +20 -0
  114. package/dist/runtime/domains/data-table/components/Pagination.d.vue.ts +2 -8
  115. package/dist/runtime/domains/data-table/components/Pagination.vue +34 -36
  116. package/dist/runtime/domains/data-table/components/Pagination.vue.d.ts +2 -8
  117. package/dist/runtime/domains/data-table/export.d.ts +23 -0
  118. package/dist/runtime/domains/data-table/export.js +43 -0
  119. package/dist/runtime/domains/data-table/load-more.d.ts +8 -0
  120. package/dist/runtime/domains/data-table/load-more.js +14 -0
  121. package/dist/runtime/domains/data-table/pagination.d.ts +29 -0
  122. package/dist/runtime/domains/data-table/pagination.js +42 -0
  123. package/dist/runtime/domains/data-table/persist.d.ts +12 -0
  124. package/dist/runtime/domains/data-table/persist.js +41 -0
  125. package/dist/runtime/domains/data-table/state/keys.d.ts +11 -0
  126. package/dist/runtime/domains/data-table/state/keys.js +44 -0
  127. package/dist/runtime/domains/data-table/state/models.d.ts +5 -0
  128. package/dist/runtime/domains/data-table/state/models.js +38 -0
  129. package/dist/runtime/domains/data-table/tree-layout.d.ts +13 -0
  130. package/dist/runtime/domains/data-table/tree-layout.js +30 -0
  131. package/dist/runtime/domains/theme/theme-color.d.ts +3 -0
  132. package/dist/runtime/domains/theme/theme-color.js +16 -0
  133. package/dist/runtime/domains/theme/theme-fouc.d.ts +5 -0
  134. package/dist/runtime/domains/theme/theme-fouc.js +43 -0
  135. package/dist/runtime/domains/tree/components/TreeToolbar.d.vue.ts +7 -5
  136. package/dist/runtime/domains/tree/components/TreeToolbar.vue +6 -4
  137. package/dist/runtime/domains/tree/components/TreeToolbar.vue.d.ts +7 -5
  138. package/dist/runtime/domains/tree/tree-disabled.d.ts +5 -0
  139. package/dist/runtime/domains/tree/tree-disabled.js +15 -0
  140. package/dist/runtime/domains/tree/tree-lazy.d.ts +8 -0
  141. package/dist/runtime/domains/tree/tree-lazy.js +19 -1
  142. package/dist/runtime/domains/tree/tree-search.d.ts +3 -1
  143. package/dist/runtime/domains/tree/tree-search.js +4 -0
  144. package/dist/runtime/domains/tree/useTreeLazy.d.ts +22 -0
  145. package/dist/runtime/domains/tree/useTreeLazy.js +57 -0
  146. package/dist/runtime/domains/tree/useTreeSearch.d.ts +27 -0
  147. package/dist/runtime/domains/tree/useTreeSearch.js +59 -0
  148. package/dist/runtime/domains/tree/useTreeSelection.d.ts +31 -0
  149. package/dist/runtime/domains/tree/useTreeSelection.js +89 -0
  150. package/dist/runtime/domains/zod/apply.d.ts +23 -0
  151. package/dist/runtime/domains/zod/apply.js +26 -0
  152. package/dist/runtime/domains/zod/error-map.d.ts +13 -0
  153. package/dist/runtime/domains/zod/error-map.js +19 -0
  154. package/dist/runtime/domains/zod/locale-map.d.ts +5 -0
  155. package/dist/runtime/domains/zod/locale-map.js +17 -0
  156. package/dist/runtime/domains/zod/sync.d.ts +12 -0
  157. package/dist/runtime/domains/zod/sync.js +30 -0
  158. package/dist/runtime/locale/en.d.ts +74 -0
  159. package/dist/runtime/locale/en.js +73 -0
  160. package/dist/runtime/locale/index.d.ts +8 -0
  161. package/dist/runtime/locale/index.js +15 -0
  162. package/dist/runtime/locale/zh_cn.d.ts +74 -0
  163. package/dist/runtime/locale/zh_cn.js +73 -0
  164. package/dist/runtime/plugins/api.factory.js +5 -22
  165. package/dist/runtime/plugins/theme.js +4 -42
  166. package/dist/runtime/plugins/zod.d.ts +2 -0
  167. package/dist/runtime/plugins/zod.js +16 -0
  168. package/dist/runtime/types/api/config.d.ts +12 -0
  169. package/dist/runtime/types/api/fetch.d.ts +3 -16
  170. package/dist/runtime/types/api/index.d.ts +1 -1
  171. package/dist/runtime/types/api/response.d.ts +33 -19
  172. package/dist/runtime/types/api/stream.d.ts +2 -3
  173. package/dist/runtime/types/api/transfer.d.ts +3 -7
  174. package/dist/runtime/types/auto-form/base.d.ts +9 -1
  175. package/dist/runtime/types/auto-form/component.d.ts +31 -3
  176. package/dist/runtime/types/auto-form/fields.d.ts +15 -1
  177. package/dist/runtime/types/auto-form/index.d.ts +3 -3
  178. package/dist/runtime/types/auto-form/search-form.d.ts +26 -12
  179. package/dist/runtime/types/auto-form/zod-factory.d.ts +2 -2
  180. package/dist/runtime/types/components/date-picker.d.ts +14 -3
  181. package/dist/runtime/types/components/index.d.ts +1 -6
  182. package/dist/runtime/types/components/message-box.d.ts +5 -18
  183. package/dist/runtime/types/components/tree.d.ts +17 -14
  184. package/dist/runtime/types/data-table/columns.d.ts +6 -14
  185. package/dist/runtime/types/data-table/component.d.ts +42 -1
  186. package/dist/runtime/types/data-table/index.d.ts +1 -1
  187. package/dist/runtime/types/data-table/pagination.d.ts +7 -8
  188. package/dist/runtime/types/index.d.ts +2 -0
  189. package/dist/runtime/types/locale.d.ts +82 -0
  190. package/dist/runtime/types/shared.d.ts +13 -0
  191. package/dist/runtime/types/zod-config.d.ts +38 -0
  192. package/dist/runtime/types/zod.d.ts +9 -1
  193. package/dist/runtime/utils/date/convert.d.ts +29 -0
  194. package/dist/runtime/utils/date/convert.js +93 -0
  195. package/dist/runtime/utils/date/guards.d.ts +10 -0
  196. package/dist/runtime/utils/date/guards.js +18 -0
  197. package/dist/runtime/utils/extend-theme.js +2 -1
  198. package/dist/runtime/utils/form-control.d.ts +0 -12
  199. package/dist/runtime/utils/form-control.js +3 -39
  200. package/dist/runtime/utils/interpolate.d.ts +2 -0
  201. package/dist/runtime/utils/interpolate.js +4 -0
  202. package/dist/runtime/utils/theme-defaults.d.ts +10 -0
  203. package/dist/runtime/utils/theme-defaults.js +9 -0
  204. package/dist/runtime/utils/tree-selection.d.ts +2 -15
  205. package/dist/runtime/utils/tv.d.ts +1 -1
  206. package/dist/runtime/vue/plugins/zod.d.ts +7 -0
  207. package/dist/runtime/vue/plugins/zod.js +12 -0
  208. package/dist/shared/{nuxt.DfVF6ZZv.mjs → nuxt.CbmfnBRt.mjs} +82 -236
  209. package/dist/unplugin.d.mts +3 -2
  210. package/dist/unplugin.mjs +22 -22
  211. package/dist/vite.d.mts +1 -0
  212. package/dist/vite.mjs +2 -1
  213. package/package.json +39 -34
  214. package/vue-plugin.d.ts +7 -1
  215. package/dist/runtime/components/ColorChooser.d.vue.ts +0 -36
  216. package/dist/runtime/components/ColorChooser.vue +0 -328
  217. package/dist/runtime/components/ColorChooser.vue.d.ts +0 -36
  218. package/dist/runtime/components/PillGroup.d.vue.ts +0 -33
  219. package/dist/runtime/components/PillGroup.vue +0 -291
  220. package/dist/runtime/components/PillGroup.vue.d.ts +0 -33
  221. package/dist/runtime/components/Popconfirm.d.vue.ts +0 -30
  222. package/dist/runtime/components/Popconfirm.vue +0 -143
  223. package/dist/runtime/components/Popconfirm.vue.d.ts +0 -30
  224. package/dist/runtime/components/SlideVerify.d.vue.ts +0 -41
  225. package/dist/runtime/components/SlideVerify.vue +0 -174
  226. package/dist/runtime/components/SlideVerify.vue.d.ts +0 -41
  227. package/dist/runtime/components/input/AsPhoneNumberInput.d.vue.ts +0 -32
  228. package/dist/runtime/components/input/AsPhoneNumberInput.vue +0 -48
  229. package/dist/runtime/components/input/AsPhoneNumberInput.vue.d.ts +0 -32
  230. package/dist/runtime/components/input/WithCharacterLimit.d.vue.ts +0 -32
  231. package/dist/runtime/components/input/WithCharacterLimit.vue +0 -54
  232. package/dist/runtime/components/input/WithCharacterLimit.vue.d.ts +0 -32
  233. package/dist/runtime/components/input/WithClear.d.vue.ts +0 -33
  234. package/dist/runtime/components/input/WithClear.vue +0 -60
  235. package/dist/runtime/components/input/WithClear.vue.d.ts +0 -33
  236. package/dist/runtime/components/input/WithCopy.d.vue.ts +0 -33
  237. package/dist/runtime/components/input/WithCopy.vue +0 -66
  238. package/dist/runtime/components/input/WithCopy.vue.d.ts +0 -33
  239. package/dist/runtime/components/input/WithFloatingLabel.d.vue.ts +0 -33
  240. package/dist/runtime/components/input/WithFloatingLabel.vue +0 -75
  241. package/dist/runtime/components/input/WithFloatingLabel.vue.d.ts +0 -33
  242. package/dist/runtime/components/input/WithPasswordToggle.d.vue.ts +0 -32
  243. package/dist/runtime/components/input/WithPasswordToggle.vue +0 -61
  244. package/dist/runtime/components/input/WithPasswordToggle.vue.d.ts +0 -32
  245. package/dist/runtime/domains/api/interceptors/compose.d.ts +0 -24
  246. package/dist/runtime/domains/api/interceptors/compose.js +0 -18
  247. package/dist/runtime/domains/api/interceptors/error.d.ts +0 -13
  248. package/dist/runtime/domains/api/interceptors/error.js +0 -26
  249. package/dist/runtime/domains/api/interceptors/unauthorized.d.ts +0 -12
  250. package/dist/runtime/domains/api/interceptors/unauthorized.js +0 -34
  251. package/dist/runtime/domains/api/transfer.d.ts +0 -69
  252. package/dist/runtime/domains/api/transfer.js +0 -87
  253. package/dist/runtime/types/components/color-chooser.d.ts +0 -109
  254. package/dist/runtime/types/components/input/as-phone-number-input.d.ts +0 -17
  255. package/dist/runtime/types/components/input/index.d.ts +0 -6
  256. package/dist/runtime/types/components/input/index.js +0 -0
  257. package/dist/runtime/types/components/input/with-character-limit.d.ts +0 -11
  258. package/dist/runtime/types/components/input/with-character-limit.js +0 -0
  259. package/dist/runtime/types/components/input/with-clear.d.ts +0 -10
  260. package/dist/runtime/types/components/input/with-clear.js +0 -0
  261. package/dist/runtime/types/components/input/with-copy.d.ts +0 -11
  262. package/dist/runtime/types/components/input/with-copy.js +0 -0
  263. package/dist/runtime/types/components/input/with-floating-label.d.ts +0 -12
  264. package/dist/runtime/types/components/input/with-floating-label.js +0 -0
  265. package/dist/runtime/types/components/input/with-password-toggle.d.ts +0 -7
  266. package/dist/runtime/types/components/input/with-password-toggle.js +0 -0
  267. package/dist/runtime/types/components/pill-group.d.ts +0 -103
  268. package/dist/runtime/types/components/pill-group.js +0 -0
  269. package/dist/runtime/types/components/popconfirm.d.ts +0 -74
  270. package/dist/runtime/types/components/popconfirm.js +0 -0
  271. package/dist/runtime/types/components/slide-verify.d.ts +0 -54
  272. package/dist/runtime/types/components/slide-verify.js +0 -0
  273. /package/dist/runtime/types/{components/color-chooser.js → locale.js} +0 -0
  274. /package/dist/runtime/types/{components/input/as-phone-number-input.js → zod-config.js} +0 -0
@@ -1,8 +1,7 @@
1
1
  import type { IsComponent } from '@movk/core';
2
2
  import type { AutoFormControl, _Unset } from '../../types/auto-form/controls';
3
- import type { CheckboxGroupProps, CheckboxGroupSlots, CheckboxProps, CheckboxSlots, FileUploadProps, FileUploadSlots, InputDateProps, InputDateSlots, InputMenuProps, InputMenuSlots, InputNumberProps, InputNumberSlots, InputProps, InputSlots, InputTagsProps, InputTagsSlots, InputTimeProps, InputTimeSlots, ListboxProps, ListboxSlots, PinInputProps, PinInputSlots, RadioGroupProps, RadioGroupSlots, SelectMenuProps, SelectMenuSlots, SelectProps, SelectSlots, SliderProps, SwitchProps, SwitchSlots, TextareaProps, TextareaSlots } from '@nuxt/ui';
3
+ import type { CheckboxGroupProps, CheckboxGroupSlots, CheckboxProps, CheckboxSlots, FileUploadProps, FileUploadSlots, InputDateProps, InputDateSlots, InputMenuProps, InputMenuSlots, InputNumberProps, InputNumberSlots, InputProps, InputSlots, InputTagsProps, InputTagsSlots, InputTimeProps, InputTimeSlots, ListboxProps, ListboxSlots, PinInputProps, PinInputSlots, RadioGroupProps, RadioGroupSlots, SelectMenuProps, SelectMenuSlots, SelectProps, SelectSlots, SliderProps, SwitchProps, SwitchSlots, TextareaProps, TextareaSlots, ToggleGroupProps, ToggleGroupSlots, ToggleProps, ToggleSlots } from '@nuxt/ui';
4
4
  import type { CalendarDateControlProps } from '../../types/components/date-picker';
5
- import { UInput } from '#components';
6
5
  export declare function defineControl<C extends IsComponent, P = _Unset, S = _Unset>(e: AutoFormControl<C, P, S>): AutoFormControl<C, P, S>;
7
6
  declare const DEFAULT_CONTROL_COMPONENTS: {
8
7
  readonly string: any;
@@ -13,586 +12,18 @@ declare const DEFAULT_CONTROL_COMPONENTS: {
13
12
  readonly calendarDate: IsComponent;
14
13
  readonly inputDate: any;
15
14
  readonly inputTime: any;
16
- readonly withClear: <T extends import("@nuxt/ui").InputValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
17
- slots: import("@movk/core").OmitByKey<InputSlots, "trailing">;
18
- attrs: any;
19
- 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);
20
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
21
- props: import("vue").PublicProps & {
22
- buttonProps?: import("@nuxt/ui").ButtonProps | undefined;
23
- ui?: (Record<string, import("tailwind-variants").ClassValue> & {
24
- [x: string]: import("@nuxt/ui").SlotClass;
25
- }) | undefined;
26
- as?: any;
27
- id?: string | undefined;
28
- name?: string | undefined;
29
- type?: import("vue").InputTypeHTMLAttribute | undefined;
30
- placeholder?: string | undefined;
31
- color?: (string | number | symbol) | undefined;
32
- variant?: (string | number | symbol) | undefined;
33
- size?: (string | number | symbol) | undefined;
34
- required?: boolean | undefined;
35
- autocomplete?: (string & {}) | "on" | "off" | undefined;
36
- autofocus?: boolean | undefined;
37
- autofocusDelay?: number | undefined;
38
- disabled?: boolean | undefined;
39
- highlight?: boolean | undefined;
40
- fixed?: boolean | undefined;
41
- defaultValue?: T | undefined;
42
- modelModifiers?: import("@nuxt/ui").ModelModifiers | undefined;
43
- class?: any;
44
- icon?: import("@nuxt/ui").IconProps["name"];
45
- avatar?: import("@nuxt/ui").AvatarProps | undefined;
46
- leading?: boolean | undefined;
47
- leadingIcon?: import("@nuxt/ui").IconProps["name"];
48
- trailing?: boolean | undefined;
49
- trailingIcon?: import("@nuxt/ui").IconProps["name"];
50
- loading?: boolean | undefined;
51
- loadingIcon?: import("@nuxt/ui").IconProps["name"];
52
- form?: string | undefined | undefined;
53
- formaction?: string | undefined | undefined;
54
- formenctype?: string | undefined | undefined;
55
- formmethod?: string | undefined | undefined;
56
- formnovalidate?: (boolean | "true" | "false") | undefined;
57
- formtarget?: string | undefined | undefined;
58
- readonly?: (boolean | "true" | "false") | undefined;
59
- enterKeyHint?: "search" | "done" | "enter" | "go" | "next" | "previous" | "send" | undefined;
60
- list?: string | undefined | undefined;
61
- max?: (string | number) | undefined;
62
- maxlength?: (string | number) | undefined;
63
- min?: (string | number) | undefined;
64
- minlength?: (string | number) | undefined;
65
- pattern?: string | undefined | undefined;
66
- step?: (string | number) | undefined;
67
- modelValue?: T | undefined;
68
- onClear?: (() => any) | undefined;
69
- onBlur?: ((event: FocusEvent) => any) | undefined;
70
- onChange?: ((event: Event) => any) | undefined;
71
- "onUpdate:modelValue"?: ((value: T | undefined) => any) | undefined;
72
- } & (typeof globalThis extends {
73
- __VLS_PROPS_FALLBACK: infer P;
74
- } ? P : {});
75
- expose: (exposed: {}) => void;
76
- attrs: any;
77
- slots: import("@movk/core").OmitByKey<InputSlots, "trailing">;
78
- 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);
79
- }>) => import("vue").VNode & {
80
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
81
- };
82
- readonly withPasswordToggle: <T extends import("@nuxt/ui").InputValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
83
- slots: import("@movk/core").OmitByKey<InputSlots, "trailing">;
84
- attrs: any;
85
- emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void)) & ((event: "update:modelValue", value: T | undefined) => void);
86
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
87
- props: import("vue").PublicProps & {
88
- buttonProps?: import("@nuxt/ui").ButtonProps | undefined;
89
- ui?: (Record<string, import("tailwind-variants").ClassValue> & {
90
- [x: string]: import("@nuxt/ui").SlotClass;
91
- }) | undefined;
92
- as?: any;
93
- id?: string | undefined;
94
- name?: string | undefined;
95
- placeholder?: string | undefined;
96
- color?: (string | number | symbol) | undefined;
97
- variant?: (string | number | symbol) | undefined;
98
- size?: (string | number | symbol) | undefined;
99
- required?: boolean | undefined;
100
- autocomplete?: (string & {}) | "on" | "off" | undefined;
101
- autofocus?: boolean | undefined;
102
- autofocusDelay?: number | undefined;
103
- disabled?: boolean | undefined;
104
- highlight?: boolean | undefined;
105
- fixed?: boolean | undefined;
106
- defaultValue?: T | undefined;
107
- modelModifiers?: import("@nuxt/ui").ModelModifiers | undefined;
108
- class?: any;
109
- icon?: import("@nuxt/ui").IconProps["name"];
110
- avatar?: import("@nuxt/ui").AvatarProps | undefined;
111
- leading?: boolean | undefined;
112
- leadingIcon?: import("@nuxt/ui").IconProps["name"];
113
- trailing?: boolean | undefined;
114
- trailingIcon?: import("@nuxt/ui").IconProps["name"];
115
- loading?: boolean | undefined;
116
- loadingIcon?: import("@nuxt/ui").IconProps["name"];
117
- form?: string | undefined | undefined;
118
- formaction?: string | undefined | undefined;
119
- formenctype?: string | undefined | undefined;
120
- formmethod?: string | undefined | undefined;
121
- formnovalidate?: (boolean | "true" | "false") | undefined;
122
- formtarget?: string | undefined | undefined;
123
- readonly?: (boolean | "true" | "false") | undefined;
124
- enterKeyHint?: "search" | "done" | "enter" | "go" | "next" | "previous" | "send" | undefined;
125
- list?: string | undefined | undefined;
126
- max?: (string | number) | undefined;
127
- maxlength?: (string | number) | undefined;
128
- min?: (string | number) | undefined;
129
- minlength?: (string | number) | undefined;
130
- pattern?: string | undefined | undefined;
131
- step?: (string | number) | undefined;
132
- modelValue?: T | undefined;
133
- onBlur?: ((event: FocusEvent) => any) | undefined;
134
- onChange?: ((event: Event) => any) | undefined;
135
- "onUpdate:modelValue"?: ((value: T | undefined) => any) | undefined;
136
- } & (typeof globalThis extends {
137
- __VLS_PROPS_FALLBACK: infer P;
138
- } ? P : {});
139
- expose: (exposed: {}) => void;
140
- attrs: any;
141
- slots: import("@movk/core").OmitByKey<InputSlots, "trailing">;
142
- emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void)) & ((event: "update:modelValue", value: T | undefined) => void);
143
- }>) => import("vue").VNode & {
144
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
145
- };
146
- readonly withCopy: <T extends import("@nuxt/ui").InputValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
147
- slots: import("@movk/core").OmitByKey<InputSlots, "trailing">;
148
- attrs: any;
149
- 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);
150
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
151
- props: import("vue").PublicProps & {
152
- buttonProps?: import("@nuxt/ui").ButtonProps | undefined;
153
- tooltipProps?: import("@nuxt/ui").TooltipProps | undefined;
154
- ui?: (Record<string, import("tailwind-variants").ClassValue> & {
155
- [x: string]: import("@nuxt/ui").SlotClass;
156
- }) | undefined;
157
- as?: any;
158
- id?: string | undefined;
159
- name?: string | undefined;
160
- type?: import("vue").InputTypeHTMLAttribute | undefined;
161
- placeholder?: string | undefined;
162
- color?: (string | number | symbol) | undefined;
163
- variant?: (string | number | symbol) | undefined;
164
- size?: (string | number | symbol) | undefined;
165
- required?: boolean | undefined;
166
- autocomplete?: (string & {}) | "on" | "off" | undefined;
167
- autofocus?: boolean | undefined;
168
- autofocusDelay?: number | undefined;
169
- disabled?: boolean | undefined;
170
- highlight?: boolean | undefined;
171
- fixed?: boolean | undefined;
172
- defaultValue?: T | undefined;
173
- modelModifiers?: import("@nuxt/ui").ModelModifiers | undefined;
174
- class?: any;
175
- icon?: import("@nuxt/ui").IconProps["name"];
176
- avatar?: import("@nuxt/ui").AvatarProps | undefined;
177
- leading?: boolean | undefined;
178
- leadingIcon?: import("@nuxt/ui").IconProps["name"];
179
- trailing?: boolean | undefined;
180
- trailingIcon?: import("@nuxt/ui").IconProps["name"];
181
- loading?: boolean | undefined;
182
- loadingIcon?: import("@nuxt/ui").IconProps["name"];
183
- form?: string | undefined | undefined;
184
- formaction?: string | undefined | undefined;
185
- formenctype?: string | undefined | undefined;
186
- formmethod?: string | undefined | undefined;
187
- formnovalidate?: (boolean | "true" | "false") | undefined;
188
- formtarget?: string | undefined | undefined;
189
- readonly?: (boolean | "true" | "false") | undefined;
190
- enterKeyHint?: "search" | "done" | "enter" | "go" | "next" | "previous" | "send" | undefined;
191
- list?: string | undefined | undefined;
192
- max?: (string | number) | undefined;
193
- maxlength?: (string | number) | undefined;
194
- min?: (string | number) | undefined;
195
- minlength?: (string | number) | undefined;
196
- pattern?: string | undefined | undefined;
197
- step?: (string | number) | undefined;
198
- modelValue?: T | undefined;
199
- onBlur?: ((event: FocusEvent) => any) | undefined;
200
- onChange?: ((event: Event) => any) | undefined;
201
- onCopy?: ((value: string) => any) | undefined;
202
- "onUpdate:modelValue"?: ((value: T | undefined) => any) | undefined;
203
- } & (typeof globalThis extends {
204
- __VLS_PROPS_FALLBACK: infer P;
205
- } ? P : {});
206
- expose: (exposed: {}) => void;
207
- attrs: any;
208
- slots: import("@movk/core").OmitByKey<InputSlots, "trailing">;
209
- 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);
210
- }>) => import("vue").VNode & {
211
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
212
- };
213
- readonly withCharacterLimit: <T extends import("@nuxt/ui").InputValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
214
- slots: import("@movk/core").OmitByKey<InputSlots, "trailing">;
215
- attrs: any;
216
- emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void)) & ((event: "update:modelValue", value: T | undefined) => void);
217
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
218
- props: import("vue").PublicProps & {
219
- maxLength?: number | undefined;
220
- ui?: (Record<string, import("tailwind-variants").ClassValue> & {
221
- [x: string]: import("@nuxt/ui").SlotClass;
222
- }) | undefined;
223
- as?: any;
224
- id?: string | undefined;
225
- name?: string | undefined;
226
- type?: import("vue").InputTypeHTMLAttribute | undefined;
227
- placeholder?: string | undefined;
228
- color?: (string | number | symbol) | undefined;
229
- variant?: (string | number | symbol) | undefined;
230
- size?: (string | number | symbol) | undefined;
231
- required?: boolean | undefined;
232
- autocomplete?: (string & {}) | "on" | "off" | undefined;
233
- autofocus?: boolean | undefined;
234
- autofocusDelay?: number | undefined;
235
- disabled?: boolean | undefined;
236
- highlight?: boolean | undefined;
237
- fixed?: boolean | undefined;
238
- defaultValue?: T | undefined;
239
- modelModifiers?: import("@nuxt/ui").ModelModifiers | undefined;
240
- class?: any;
241
- icon?: import("@nuxt/ui").IconProps["name"];
242
- avatar?: import("@nuxt/ui").AvatarProps | undefined;
243
- leading?: boolean | undefined;
244
- leadingIcon?: import("@nuxt/ui").IconProps["name"];
245
- trailing?: boolean | undefined;
246
- trailingIcon?: import("@nuxt/ui").IconProps["name"];
247
- loading?: boolean | undefined;
248
- loadingIcon?: import("@nuxt/ui").IconProps["name"];
249
- form?: string | undefined | undefined;
250
- formaction?: string | undefined | undefined;
251
- formenctype?: string | undefined | undefined;
252
- formmethod?: string | undefined | undefined;
253
- formnovalidate?: (boolean | "true" | "false") | undefined;
254
- formtarget?: string | undefined | undefined;
255
- readonly?: (boolean | "true" | "false") | undefined;
256
- enterKeyHint?: "search" | "done" | "enter" | "go" | "next" | "previous" | "send" | undefined;
257
- list?: string | undefined | undefined;
258
- max?: (string | number) | undefined;
259
- maxlength?: (string | number) | undefined;
260
- min?: (string | number) | undefined;
261
- minlength?: (string | number) | undefined;
262
- pattern?: string | undefined | undefined;
263
- step?: (string | number) | undefined;
264
- modelValue?: T | undefined;
265
- onBlur?: ((event: FocusEvent) => any) | undefined;
266
- onChange?: ((event: Event) => any) | undefined;
267
- "onUpdate:modelValue"?: ((value: T | undefined) => any) | undefined;
268
- } & (typeof globalThis extends {
269
- __VLS_PROPS_FALLBACK: infer P;
270
- } ? P : {});
271
- expose: (exposed: {}) => void;
272
- attrs: any;
273
- slots: import("@movk/core").OmitByKey<InputSlots, "trailing">;
274
- emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void)) & ((event: "update:modelValue", value: T | undefined) => void);
275
- }>) => import("vue").VNode & {
276
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
277
- };
278
- readonly withFloatingLabel: <T extends import("@nuxt/ui").InputValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
279
- slots: import("@movk/core").OmitByKey<InputSlots, "default" | "trailing">;
280
- attrs: any;
281
- 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);
282
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
283
- props: import("vue").PublicProps & {
284
- label?: string | undefined;
285
- size?: string | number | symbol | undefined;
286
- clearButtonProps?: import("@nuxt/ui").ButtonProps | undefined;
287
- ui?: (Record<string, import("tailwind-variants").ClassValue> & {
288
- [x: string]: import("@nuxt/ui").SlotClass;
289
- }) | undefined;
290
- as?: any;
291
- id?: string | undefined;
292
- name?: string | undefined;
293
- type?: import("vue").InputTypeHTMLAttribute | undefined;
294
- placeholder?: string | undefined;
295
- color?: (string | number | symbol) | undefined;
296
- variant?: (string | number | symbol) | undefined;
297
- required?: boolean | undefined;
298
- autocomplete?: (string & {}) | "on" | "off" | undefined;
299
- autofocus?: boolean | undefined;
300
- autofocusDelay?: number | undefined;
301
- disabled?: boolean | undefined;
302
- highlight?: boolean | undefined;
303
- fixed?: boolean | undefined;
304
- defaultValue?: T | undefined;
305
- modelModifiers?: import("@nuxt/ui").ModelModifiers | undefined;
306
- class?: any;
307
- icon?: import("@nuxt/ui").IconProps["name"];
308
- avatar?: import("@nuxt/ui").AvatarProps | undefined;
309
- leading?: boolean | undefined;
310
- leadingIcon?: import("@nuxt/ui").IconProps["name"];
311
- trailing?: boolean | undefined;
312
- trailingIcon?: import("@nuxt/ui").IconProps["name"];
313
- loading?: boolean | undefined;
314
- loadingIcon?: import("@nuxt/ui").IconProps["name"];
315
- form?: string | undefined | undefined;
316
- formaction?: string | undefined | undefined;
317
- formenctype?: string | undefined | undefined;
318
- formmethod?: string | undefined | undefined;
319
- formnovalidate?: (boolean | "true" | "false") | undefined;
320
- formtarget?: string | undefined | undefined;
321
- readonly?: (boolean | "true" | "false") | undefined;
322
- enterKeyHint?: "search" | "done" | "enter" | "go" | "next" | "previous" | "send" | undefined;
323
- list?: string | undefined | undefined;
324
- max?: (string | number) | undefined;
325
- maxlength?: (string | number) | undefined;
326
- min?: (string | number) | undefined;
327
- minlength?: (string | number) | undefined;
328
- pattern?: string | undefined | undefined;
329
- step?: (string | number) | undefined;
330
- modelValue?: T | undefined;
331
- onClear?: (() => any) | undefined;
332
- onBlur?: ((event: FocusEvent) => any) | undefined;
333
- onChange?: ((event: Event) => any) | undefined;
334
- "onUpdate:modelValue"?: ((value: T | undefined) => any) | undefined;
335
- } & (typeof globalThis extends {
336
- __VLS_PROPS_FALLBACK: infer P;
337
- } ? P : {});
338
- expose: (exposed: {}) => void;
339
- attrs: any;
340
- slots: import("@movk/core").OmitByKey<InputSlots, "default" | "trailing">;
341
- 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);
342
- }>) => import("vue").VNode & {
343
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
344
- };
345
- readonly asPhoneNumberInput: <T extends import("@nuxt/ui").InputValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
346
- slots: import("@movk/core").OmitByKey<InputSlots, "leading">;
347
- attrs: any;
348
- emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void)) & ((event: "update:modelValue", value: T | undefined) => void);
349
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
350
- props: import("vue").PublicProps & {
351
- mask?: string | undefined;
352
- dialCode?: string | undefined;
353
- ui?: (Record<string, import("tailwind-variants").ClassValue> & {
354
- [x: string]: import("@nuxt/ui").SlotClass;
355
- }) | undefined;
356
- as?: any;
357
- id?: string | undefined;
358
- name?: string | undefined;
359
- placeholder?: string | undefined;
360
- color?: (string | number | symbol) | undefined;
361
- variant?: (string | number | symbol) | undefined;
362
- size?: (string | number | symbol) | undefined;
363
- required?: boolean | undefined;
364
- autocomplete?: (string & {}) | "on" | "off" | undefined;
365
- autofocus?: boolean | undefined;
366
- autofocusDelay?: number | undefined;
367
- disabled?: boolean | undefined;
368
- highlight?: boolean | undefined;
369
- fixed?: boolean | undefined;
370
- defaultValue?: T | undefined;
371
- modelModifiers?: import("@nuxt/ui").ModelModifiers | undefined;
372
- class?: any;
373
- icon?: import("@nuxt/ui").IconProps["name"];
374
- avatar?: import("@nuxt/ui").AvatarProps | undefined;
375
- leading?: boolean | undefined;
376
- leadingIcon?: import("@nuxt/ui").IconProps["name"];
377
- trailing?: boolean | undefined;
378
- trailingIcon?: import("@nuxt/ui").IconProps["name"];
379
- loading?: boolean | undefined;
380
- loadingIcon?: import("@nuxt/ui").IconProps["name"];
381
- form?: string | undefined | undefined;
382
- formaction?: string | undefined | undefined;
383
- formenctype?: string | undefined | undefined;
384
- formmethod?: string | undefined | undefined;
385
- formnovalidate?: (boolean | "true" | "false") | undefined;
386
- formtarget?: string | undefined | undefined;
387
- readonly?: (boolean | "true" | "false") | undefined;
388
- enterKeyHint?: "search" | "done" | "enter" | "go" | "next" | "previous" | "send" | undefined;
389
- list?: string | undefined | undefined;
390
- max?: (string | number) | undefined;
391
- maxlength?: (string | number) | undefined;
392
- min?: (string | number) | undefined;
393
- minlength?: (string | number) | undefined;
394
- pattern?: string | undefined | undefined;
395
- step?: (string | number) | undefined;
396
- modelValue?: T | undefined;
397
- onBlur?: ((event: FocusEvent) => any) | undefined;
398
- onChange?: ((event: Event) => any) | undefined;
399
- "onUpdate:modelValue"?: ((value: T | undefined) => any) | undefined;
400
- } & (typeof globalThis extends {
401
- __VLS_PROPS_FALLBACK: infer P;
402
- } ? P : {});
403
- expose: (exposed: {}) => void;
404
- attrs: any;
405
- slots: import("@movk/core").OmitByKey<InputSlots, "leading">;
406
- emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void)) & ((event: "update:modelValue", value: T | undefined) => void);
407
- }>) => import("vue").VNode & {
408
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
409
- };
410
15
  readonly textarea: any;
411
16
  readonly switch: any;
17
+ readonly toggle: any;
412
18
  readonly slider: any;
413
19
  readonly selectMenu: any;
414
20
  readonly inputMenu: any;
415
21
  readonly checkboxGroup: any;
416
22
  readonly radioGroup: any;
23
+ readonly toggleGroup: any;
417
24
  readonly inputTags: any;
418
25
  readonly pinInput: any;
419
26
  readonly listbox: any;
420
- readonly colorChooser: <M extends "click" | "hover">(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
421
- slots: import("../../types").ColorChooserSlots;
422
- attrs: any;
423
- 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);
424
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
425
- props: import("vue").PublicProps & {
426
- id?: string | undefined;
427
- name?: string | undefined;
428
- format?: import("../../types").ColorFormat | undefined;
429
- formats?: import("../../types").ColorFormat[] | undefined;
430
- swatches?: string[] | string[][] | undefined;
431
- closeOnSwatch?: boolean | undefined;
432
- clearable?: boolean | undefined;
433
- copyable?: boolean | undefined;
434
- trigger?: "input" | "button" | "chip" | undefined;
435
- label?: string | undefined;
436
- placeholder?: string | undefined;
437
- size?: string | number | symbol | undefined;
438
- color?: string | number | symbol | undefined;
439
- variant?: string | number | symbol | undefined;
440
- disabled?: boolean | undefined;
441
- highlight?: boolean | undefined;
442
- icon?: import("@nuxt/ui").IconProps["name"];
443
- colorPickerProps?: Omit<import("@nuxt/ui").ColorPickerProps, "modelValue" | "format" | "disabled"> | undefined;
444
- ui?: (Record<string, import("tailwind-variants").ClassValue> & {
445
- [x: string]: import("@nuxt/ui").SlotClass;
446
- }) | undefined;
447
- mode?: M | undefined;
448
- content?: (Omit<import("reka-ui").PopoverContentProps, "as" | "asChild" | "forceMount"> & Partial<import("@nuxt/ui").EmitsToProps<import("reka-ui").PopoverContentEmits>>) | undefined;
449
- arrow?: (boolean | Omit<import("reka-ui").PopoverArrowProps, "as" | "asChild">) | undefined;
450
- portal?: (boolean | string | HTMLElement) | undefined;
451
- reference?: import("reka-ui").ReferenceElement | undefined;
452
- dismissible?: boolean | undefined;
453
- class?: any;
454
- modal?: boolean | undefined;
455
- openDelay?: number | undefined;
456
- closeDelay?: number | undefined;
457
- enableTouch?: boolean | undefined;
458
- modelValue?: string | undefined;
459
- onClear?: (() => any) | undefined;
460
- onChange?: ((value: string | undefined) => any) | undefined;
461
- onCopy?: ((value: string) => any) | undefined;
462
- "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
463
- "onUpdate:open"?: ((open: boolean) => any) | undefined;
464
- "onFormat-change"?: ((format: import("../../types").ColorFormat) => any) | undefined;
465
- } & (typeof globalThis extends {
466
- __VLS_PROPS_FALLBACK: infer P;
467
- } ? P : {});
468
- expose: (exposed: {}) => void;
469
- attrs: any;
470
- slots: import("../../types").ColorChooserSlots;
471
- 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);
472
- }>) => import("vue").VNode & {
473
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
474
- };
475
- readonly slideVerify: {
476
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../../types").SlideVerifyProps & {
477
- size?: import("@nuxt/ui").ComponentConfig<typeof UInput, import("@nuxt/schema").AppConfig, "slideVerify">["variants"]["size"];
478
- ui?: import("@nuxt/ui").ComponentConfig<typeof UInput, import("@nuxt/schema").AppConfig, "slideVerify">["slots"];
479
- } & {
480
- modelValue?: boolean;
481
- }> & Readonly<{
482
- onSuccess?: (() => any) | undefined;
483
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
484
- onDragStart?: (() => any) | undefined;
485
- onDragEnd?: ((success: boolean) => any) | undefined;
486
- }>, {
487
- reset: () => void;
488
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
489
- success: () => any;
490
- "update:modelValue": (value: boolean) => any;
491
- dragStart: () => any;
492
- dragEnd: (success: boolean) => any;
493
- }, import("vue").PublicProps, {
494
- icon: any;
495
- text: string;
496
- successText: string;
497
- successIcon: any;
498
- threshold: number;
499
- }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
500
- P: {};
501
- B: {};
502
- D: {};
503
- C: {};
504
- M: {};
505
- Defaults: {};
506
- }, Readonly<import("../../types").SlideVerifyProps & {
507
- size?: import("@nuxt/ui").ComponentConfig<typeof UInput, import("@nuxt/schema").AppConfig, "slideVerify">["variants"]["size"];
508
- ui?: import("@nuxt/ui").ComponentConfig<typeof UInput, import("@nuxt/schema").AppConfig, "slideVerify">["slots"];
509
- } & {
510
- modelValue?: boolean;
511
- }> & Readonly<{
512
- onSuccess?: (() => any) | undefined;
513
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
514
- onDragStart?: (() => any) | undefined;
515
- onDragEnd?: ((success: boolean) => any) | undefined;
516
- }>, {
517
- reset: () => void;
518
- }, {}, {}, {}, {
519
- icon: any;
520
- text: string;
521
- successText: string;
522
- successIcon: any;
523
- threshold: number;
524
- }>;
525
- __isFragment?: never;
526
- __isTeleport?: never;
527
- __isSuspense?: never;
528
- } & import("vue").ComponentOptionsBase<Readonly<import("../../types").SlideVerifyProps & {
529
- size?: import("@nuxt/ui").ComponentConfig<typeof UInput, import("@nuxt/schema").AppConfig, "slideVerify">["variants"]["size"];
530
- ui?: import("@nuxt/ui").ComponentConfig<typeof UInput, import("@nuxt/schema").AppConfig, "slideVerify">["slots"];
531
- } & {
532
- modelValue?: boolean;
533
- }> & Readonly<{
534
- onSuccess?: (() => any) | undefined;
535
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
536
- onDragStart?: (() => any) | undefined;
537
- onDragEnd?: ((success: boolean) => any) | undefined;
538
- }>, {
539
- reset: () => void;
540
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
541
- success: () => any;
542
- "update:modelValue": (value: boolean) => any;
543
- dragStart: () => any;
544
- dragEnd: (success: boolean) => any;
545
- }, string, {
546
- icon: any;
547
- text: string;
548
- successText: string;
549
- successIcon: any;
550
- threshold: number;
551
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
552
- $slots: import("../../types").SlideVerifySlots;
553
- });
554
- 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?: {
555
- slots: import("../../types").PillGroupSlots<T, VK, M>;
556
- attrs: any;
557
- 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);
558
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
559
- props: import("vue").PublicProps & {
560
- items?: T[] | undefined;
561
- valueKey?: VK | undefined;
562
- labelKey?: import("@nuxt/ui").GetItemKeys<T> | undefined;
563
- descriptionKey?: import("@nuxt/ui").GetItemKeys<T> | undefined;
564
- by?: string | ((a: T, b: T) => boolean) | undefined;
565
- orientation?: "horizontal" | "vertical" | undefined;
566
- size?: string | number | symbol | undefined;
567
- color?: string | number | symbol | undefined;
568
- activeVariant?: string | number | symbol | undefined;
569
- inactiveVariant?: string | number | symbol | undefined;
570
- disabled?: boolean | undefined;
571
- multiple?: M | undefined;
572
- deselectable?: boolean | undefined;
573
- max?: number | undefined;
574
- min?: number | undefined;
575
- defaultValue?: import("@nuxt/ui").GetModelValue<T, VK, M, undefined> | undefined;
576
- modelValue?: (import("@nuxt/ui").GetModelValue<T, VK, M, undefined> & import("@nuxt/ui").GetModelValue<T, VK, M>) | undefined;
577
- class?: import("tailwind-variants").ClassValue;
578
- ui?: (Record<string, import("tailwind-variants").ClassValue> & {
579
- [x: string]: import("@nuxt/ui").SlotClass;
580
- }) | undefined;
581
- onBlur?: ((event: FocusEvent) => any) | undefined;
582
- onChange?: ((value: import("@nuxt/ui").GetModelValue<T, VK, M, undefined>) => any) | undefined;
583
- onFocus?: ((event: FocusEvent) => any) | undefined;
584
- onSelect?: ((payload: import("../../types").PillSelectPayload<T>) => any) | undefined;
585
- "onUpdate:modelValue"?: ((value: import("@nuxt/ui").GetModelValue<T, VK, M, undefined> | undefined) => any) | undefined;
586
- } & (typeof globalThis extends {
587
- __VLS_PROPS_FALLBACK: infer P;
588
- } ? P : {});
589
- expose: (exposed: {}) => void;
590
- attrs: any;
591
- slots: import("../../types").PillGroupSlots<T, VK, M>;
592
- 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);
593
- }>) => import("vue").VNode & {
594
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
595
- };
596
27
  };
597
28
  type DefaultControlComponents = typeof DEFAULT_CONTROL_COMPONENTS;
598
29
  /**
@@ -611,11 +42,13 @@ interface NuxtUIControlTypes {
611
42
  inputTime: [InputTimeProps, InputTimeSlots];
612
43
  textarea: [TextareaProps, TextareaSlots];
613
44
  switch: [SwitchProps, SwitchSlots];
45
+ toggle: [ToggleProps, ToggleSlots];
614
46
  slider: [SliderProps, _Unset];
615
47
  selectMenu: [SelectMenuProps, SelectMenuSlots];
616
48
  inputMenu: [InputMenuProps, InputMenuSlots];
617
49
  checkboxGroup: [CheckboxGroupProps, CheckboxGroupSlots];
618
50
  radioGroup: [RadioGroupProps, RadioGroupSlots];
51
+ toggleGroup: [ToggleGroupProps, ToggleGroupSlots];
619
52
  inputTags: [InputTagsProps, InputTagsSlots];
620
53
  pinInput: [PinInputProps, PinInputSlots];
621
54
  listbox: [ListboxProps, ListboxSlots];