@nuxt/ui 3.0.2 → 3.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (221) hide show
  1. package/.nuxt/ui/accordion.ts +2 -2
  2. package/.nuxt/ui/alert.ts +29 -29
  3. package/.nuxt/ui/avatar-group.ts +1 -1
  4. package/.nuxt/ui/avatar.ts +3 -3
  5. package/.nuxt/ui/badge.ts +33 -33
  6. package/.nuxt/ui/breadcrumb.ts +5 -5
  7. package/.nuxt/ui/button.ts +43 -43
  8. package/.nuxt/ui/calendar.ts +17 -17
  9. package/.nuxt/ui/card.ts +5 -5
  10. package/.nuxt/ui/carousel.ts +6 -6
  11. package/.nuxt/ui/checkbox-group.ts +61 -0
  12. package/.nuxt/ui/checkbox.ts +140 -27
  13. package/.nuxt/ui/chip.ts +8 -8
  14. package/.nuxt/ui/color-picker.ts +3 -3
  15. package/.nuxt/ui/command-palette.ts +14 -14
  16. package/.nuxt/ui/context-menu.ts +33 -33
  17. package/.nuxt/ui/drawer.ts +10 -10
  18. package/.nuxt/ui/dropdown-menu.ts +34 -34
  19. package/.nuxt/ui/form-field.ts +6 -6
  20. package/.nuxt/ui/index.ts +1 -0
  21. package/.nuxt/ui/input-menu.ts +42 -42
  22. package/.nuxt/ui/input-number.ts +20 -20
  23. package/.nuxt/ui/input.ts +23 -23
  24. package/.nuxt/ui/kbd.ts +4 -4
  25. package/.nuxt/ui/link.ts +3 -3
  26. package/.nuxt/ui/modal.ts +5 -5
  27. package/.nuxt/ui/navigation-menu.ts +78 -80
  28. package/.nuxt/ui/pin-input.ts +20 -20
  29. package/.nuxt/ui/popover.ts +2 -2
  30. package/.nuxt/ui/progress.ts +17 -17
  31. package/.nuxt/ui/radio-group.ts +250 -35
  32. package/.nuxt/ui/select-menu.ts +36 -33
  33. package/.nuxt/ui/select.ts +32 -32
  34. package/.nuxt/ui/separator.ts +8 -8
  35. package/.nuxt/ui/skeleton.ts +1 -1
  36. package/.nuxt/ui/slideover.ts +4 -4
  37. package/.nuxt/ui/slider.ts +16 -16
  38. package/.nuxt/ui/stepper.ts +18 -18
  39. package/.nuxt/ui/switch.ts +20 -20
  40. package/.nuxt/ui/table.ts +15 -15
  41. package/.nuxt/ui/tabs.ts +32 -32
  42. package/.nuxt/ui/textarea.ts +40 -35
  43. package/.nuxt/ui/toast.ts +24 -24
  44. package/.nuxt/ui/tooltip.ts +2 -2
  45. package/.nuxt/ui/tree.ts +18 -18
  46. package/.nuxt/ui.css +63 -12
  47. package/README.md +15 -0
  48. package/cli/templates.mjs +18 -17
  49. package/dist/module.json +5 -5
  50. package/dist/module.mjs +12 -7
  51. package/dist/runtime/components/Accordion.vue +36 -93
  52. package/dist/runtime/components/Accordion.vue.d.ts +75 -0
  53. package/dist/runtime/components/Alert.vue +37 -100
  54. package/dist/runtime/components/Alert.vue.d.ts +81 -0
  55. package/dist/runtime/components/App.vue +28 -34
  56. package/dist/runtime/components/App.vue.d.ts +24 -0
  57. package/dist/runtime/components/Avatar.vue +42 -75
  58. package/dist/runtime/components/Avatar.vue.d.ts +39 -0
  59. package/dist/runtime/components/AvatarGroup.vue +40 -77
  60. package/dist/runtime/components/AvatarGroup.vue.d.ts +31 -0
  61. package/dist/runtime/components/Badge.vue +33 -62
  62. package/dist/runtime/components/Badge.vue.d.ts +41 -0
  63. package/dist/runtime/components/Breadcrumb.vue +37 -90
  64. package/dist/runtime/components/Breadcrumb.vue.d.ts +64 -0
  65. package/dist/runtime/components/Button.vue +95 -104
  66. package/dist/runtime/components/Button.vue.d.ts +48 -0
  67. package/dist/runtime/components/ButtonGroup.vue +20 -46
  68. package/dist/runtime/components/ButtonGroup.vue.d.ts +34 -0
  69. package/dist/runtime/components/Calendar.vue +67 -150
  70. package/dist/runtime/components/Calendar.vue.d.ts +111 -0
  71. package/dist/runtime/components/Card.vue +18 -40
  72. package/dist/runtime/components/Card.vue.d.ts +29 -0
  73. package/dist/runtime/components/Carousel.vue +112 -234
  74. package/dist/runtime/components/Carousel.vue.d.ts +122 -0
  75. package/dist/runtime/components/Checkbox.vue +52 -93
  76. package/dist/runtime/components/Checkbox.vue.d.ts +73 -0
  77. package/dist/runtime/components/CheckboxGroup.vue +121 -0
  78. package/dist/runtime/components/CheckboxGroup.vue.d.ts +78 -0
  79. package/dist/runtime/components/Chip.vue +26 -69
  80. package/dist/runtime/components/Chip.vue.d.ts +57 -0
  81. package/dist/runtime/components/Collapsible.vue +22 -41
  82. package/dist/runtime/components/Collapsible.vue.d.ts +35 -0
  83. package/dist/runtime/components/ColorPicker.vue +111 -197
  84. package/dist/runtime/components/ColorPicker.vue.d.ts +48 -0
  85. package/dist/runtime/components/CommandPalette.vue +96 -237
  86. package/dist/runtime/components/CommandPalette.vue.d.ts +161 -0
  87. package/dist/runtime/components/Container.vue +15 -28
  88. package/dist/runtime/components/Container.vue.d.ts +18 -0
  89. package/dist/runtime/components/ContextMenu.vue +34 -133
  90. package/dist/runtime/components/ContextMenu.vue.d.ts +107 -0
  91. package/dist/runtime/components/ContextMenuContent.vue +73 -81
  92. package/dist/runtime/components/ContextMenuContent.vue.d.ts +65 -0
  93. package/dist/runtime/components/Drawer.vue +49 -83
  94. package/dist/runtime/components/Drawer.vue.d.ts +78 -0
  95. package/dist/runtime/components/DropdownMenu.vue +39 -142
  96. package/dist/runtime/components/DropdownMenu.vue.d.ts +117 -0
  97. package/dist/runtime/components/DropdownMenuContent.vue +78 -88
  98. package/dist/runtime/components/DropdownMenuContent.vue.d.ts +68 -0
  99. package/dist/runtime/components/Form.vue +135 -220
  100. package/dist/runtime/components/Form.vue.d.ts +69 -0
  101. package/dist/runtime/components/FormField.vue +35 -77
  102. package/dist/runtime/components/FormField.vue.d.ts +61 -0
  103. package/dist/runtime/components/Icon.vue +12 -19
  104. package/dist/runtime/components/Icon.vue.d.ts +8 -0
  105. package/dist/runtime/components/Input.vue +82 -140
  106. package/dist/runtime/components/Input.vue.d.ts +76 -0
  107. package/dist/runtime/components/InputMenu.vue +185 -332
  108. package/dist/runtime/components/InputMenu.vue.d.ts +324 -0
  109. package/dist/runtime/components/InputNumber.vue +71 -133
  110. package/dist/runtime/components/InputNumber.vue.d.ts +182 -0
  111. package/dist/runtime/components/Kbd.vue +20 -46
  112. package/dist/runtime/components/Kbd.vue.d.ts +34 -0
  113. package/dist/runtime/components/Link.vue +98 -176
  114. package/dist/runtime/components/Link.vue.d.ts +93 -0
  115. package/dist/runtime/components/LinkBase.vue +33 -42
  116. package/dist/runtime/components/LinkBase.vue.d.ts +25 -0
  117. package/dist/runtime/components/Modal.vue +53 -116
  118. package/dist/runtime/components/Modal.vue.d.ts +93 -0
  119. package/dist/runtime/components/NavigationMenu.vue +77 -209
  120. package/dist/runtime/components/NavigationMenu.vue.d.ts +139 -0
  121. package/dist/runtime/components/OverlayProvider.vue +14 -18
  122. package/dist/runtime/components/OverlayProvider.vue.d.ts +2 -0
  123. package/dist/runtime/components/Pagination.vue +46 -140
  124. package/dist/runtime/components/Pagination.vue.d.ts +119 -0
  125. package/dist/runtime/components/PinInput.vue +61 -78
  126. package/dist/runtime/components/PinInput.vue.d.ts +57 -0
  127. package/dist/runtime/components/Popover.vue +47 -84
  128. package/dist/runtime/components/Popover.vue.d.ts +63 -0
  129. package/dist/runtime/components/Progress.vue +70 -131
  130. package/dist/runtime/components/Progress.vue.d.ts +66 -0
  131. package/dist/runtime/components/RadioGroup.vue +70 -132
  132. package/dist/runtime/components/RadioGroup.vue.d.ts +91 -0
  133. package/dist/runtime/components/Select.vue +110 -224
  134. package/dist/runtime/components/Select.vue.d.ts +145 -0
  135. package/dist/runtime/components/SelectMenu.vue +161 -310
  136. package/dist/runtime/components/SelectMenu.vue.d.ts +196 -0
  137. package/dist/runtime/components/Separator.vue +29 -71
  138. package/dist/runtime/components/Separator.vue.d.ts +54 -0
  139. package/dist/runtime/components/Skeleton.vue +21 -23
  140. package/dist/runtime/components/Skeleton.vue.d.ts +17 -0
  141. package/dist/runtime/components/Slideover.vue +53 -120
  142. package/dist/runtime/components/Slideover.vue.d.ts +94 -0
  143. package/dist/runtime/components/Slider.vue +46 -84
  144. package/dist/runtime/components/Slider.vue.d.ts +52 -0
  145. package/dist/runtime/components/Stepper.vue +45 -115
  146. package/dist/runtime/components/Stepper.vue.d.ts +83 -0
  147. package/dist/runtime/components/Switch.vue +45 -93
  148. package/dist/runtime/components/Switch.vue.d.ts +70 -0
  149. package/dist/runtime/components/Table.vue +163 -267
  150. package/dist/runtime/components/Table.vue.d.ts +183 -0
  151. package/dist/runtime/components/Tabs.vue +41 -107
  152. package/dist/runtime/components/Tabs.vue.d.ts +88 -0
  153. package/dist/runtime/components/Textarea.vue +113 -158
  154. package/dist/runtime/components/Textarea.vue.d.ts +78 -0
  155. package/dist/runtime/components/Toast.vue +49 -110
  156. package/dist/runtime/components/Toast.vue.d.ts +157 -0
  157. package/dist/runtime/components/Toaster.vue +70 -107
  158. package/dist/runtime/components/Toaster.vue.d.ts +38 -0
  159. package/dist/runtime/components/Tooltip.vue +38 -65
  160. package/dist/runtime/components/Tooltip.vue.d.ts +50 -0
  161. package/dist/runtime/components/Tree.vue +59 -166
  162. package/dist/runtime/components/Tree.vue.d.ts +111 -0
  163. package/dist/runtime/composables/defineShortcuts.d.ts +1 -1
  164. package/dist/runtime/composables/defineShortcuts.js +6 -0
  165. package/dist/runtime/composables/useAvatarGroup.d.ts +1 -1
  166. package/dist/runtime/composables/useButtonGroup.d.ts +2 -2
  167. package/dist/runtime/composables/useFormField.d.ts +2 -2
  168. package/dist/runtime/composables/useKbd.d.ts +1 -0
  169. package/dist/runtime/composables/useKbd.js +4 -3
  170. package/dist/runtime/composables/useOverlay.d.ts +14 -8
  171. package/dist/runtime/composables/useOverlay.js +20 -7
  172. package/dist/runtime/composables/usePortal.d.ts +6 -0
  173. package/dist/runtime/composables/usePortal.js +17 -0
  174. package/dist/runtime/index.css +1 -1
  175. package/dist/runtime/inertia/components/Link.vue +146 -0
  176. package/dist/runtime/inertia/components/Link.vue.d.ts +63 -0
  177. package/dist/runtime/inertia/stubs.d.ts +43 -0
  178. package/dist/runtime/inertia/stubs.js +82 -0
  179. package/dist/runtime/locale/bg.d.ts +3 -0
  180. package/dist/runtime/locale/bg.js +54 -0
  181. package/dist/runtime/locale/index.d.ts +5 -1
  182. package/dist/runtime/locale/index.js +5 -1
  183. package/dist/runtime/locale/kk.d.ts +3 -0
  184. package/dist/runtime/locale/kk.js +54 -0
  185. package/dist/runtime/locale/tj.d.ts +3 -0
  186. package/dist/runtime/locale/tj.js +54 -0
  187. package/dist/runtime/locale/ug_cn.d.ts +3 -0
  188. package/dist/runtime/locale/ug_cn.js +55 -0
  189. package/dist/runtime/types/form.d.ts +4 -1
  190. package/dist/runtime/types/index.d.ts +1 -0
  191. package/dist/runtime/types/index.js +1 -0
  192. package/dist/runtime/types/tv.d.ts +53 -0
  193. package/dist/runtime/types/tv.js +0 -0
  194. package/dist/runtime/types/utils.d.ts +7 -17
  195. package/dist/runtime/types/utils.js +1 -0
  196. package/dist/runtime/utils/link.d.ts +3 -3
  197. package/dist/runtime/utils/link.js +1 -0
  198. package/dist/runtime/utils/tv.js +2 -2
  199. package/dist/runtime/vue/components/Icon.vue +7 -8
  200. package/dist/runtime/vue/components/Icon.vue.d.ts +5 -0
  201. package/dist/runtime/vue/components/Link.vue +118 -202
  202. package/dist/runtime/vue/components/Link.vue.d.ts +93 -0
  203. package/dist/runtime/vue/stubs.d.ts +2 -2
  204. package/dist/shared/{ui.BkNUP964.mjs → ui.CbtTMMzt.mjs} +631 -366
  205. package/dist/types.d.mts +3 -5
  206. package/dist/unplugin.d.mts +6 -2
  207. package/dist/unplugin.mjs +25 -4
  208. package/dist/vite.d.mts +1 -1
  209. package/dist/vite.mjs +2 -2
  210. package/package.json +96 -54
  211. package/dist/module.cjs +0 -62
  212. package/dist/module.d.cts +0 -45
  213. package/dist/module.d.ts +0 -45
  214. package/dist/shared/ui.BL-XB3u1.cjs +0 -3555
  215. package/dist/types.d.ts +0 -7
  216. package/dist/unplugin.cjs +0 -232
  217. package/dist/unplugin.d.cts +0 -62
  218. package/dist/unplugin.d.ts +0 -62
  219. package/dist/vite.cjs +0 -23
  220. package/dist/vite.d.cts +0 -15
  221. package/dist/vite.d.ts +0 -15
@@ -0,0 +1,146 @@
1
+ <script>
2
+ import theme from "#build/ui/link";
3
+ </script>
4
+
5
+ <script setup>
6
+ import { computed } from "vue";
7
+ import { defu } from "defu";
8
+ import { useForwardProps } from "reka-ui";
9
+ import { reactiveOmit } from "@vueuse/core";
10
+ import { usePage, Link as InertiaLink } from "@inertiajs/vue3";
11
+ import { hasProtocol } from "ufo";
12
+ import { useAppConfig } from "#imports";
13
+ import { tv } from "../../utils/tv";
14
+ defineOptions({ inheritAttrs: false });
15
+ const props = defineProps({
16
+ as: { type: null, required: false, default: "button" },
17
+ type: { type: null, required: false, default: "button" },
18
+ disabled: { type: Boolean, required: false },
19
+ active: { type: Boolean, required: false, default: void 0 },
20
+ exact: { type: Boolean, required: false },
21
+ inactiveClass: { type: String, required: false, default: "" },
22
+ custom: { type: Boolean, required: false },
23
+ raw: { type: Boolean, required: false },
24
+ class: { type: null, required: false },
25
+ activeClass: { type: String, required: false, default: "" },
26
+ to: { type: String, required: false },
27
+ href: { type: String, required: false },
28
+ external: { type: Boolean, required: false },
29
+ target: { type: [String, Object, null], required: false },
30
+ ariaCurrentValue: { type: String, required: false },
31
+ data: { type: Object, required: false },
32
+ method: { type: String, required: false },
33
+ headers: { type: Object, required: false },
34
+ onClick: { type: Function, required: false },
35
+ preserveScroll: { type: [Boolean, String, Function], required: false },
36
+ preserveState: { type: [Boolean, String, Function], required: false },
37
+ replace: { type: Boolean, required: false },
38
+ only: { type: Array, required: false },
39
+ except: { type: Array, required: false },
40
+ onCancelToken: { type: Function, required: false },
41
+ onBefore: { type: Function, required: false },
42
+ onStart: { type: Function, required: false },
43
+ onProgress: { type: Function, required: false },
44
+ onFinish: { type: Function, required: false },
45
+ onCancel: { type: Function, required: false },
46
+ onSuccess: { type: Function, required: false },
47
+ onError: { type: Function, required: false },
48
+ queryStringArrayFormat: { type: String, required: false },
49
+ async: { type: Boolean, required: false },
50
+ prefetch: { type: [Boolean, String, Array], required: false },
51
+ cacheFor: { type: [Number, String, Array], required: false }
52
+ });
53
+ defineSlots();
54
+ const appConfig = useAppConfig();
55
+ const routerLinkProps = useForwardProps(reactiveOmit(props, "as", "type", "disabled", "active", "exact", "activeClass", "inactiveClass", "to", "raw", "class"));
56
+ const ui = computed(() => tv({
57
+ extend: tv(theme),
58
+ ...defu({
59
+ variants: {
60
+ active: {
61
+ true: props.activeClass,
62
+ false: props.inactiveClass
63
+ }
64
+ }
65
+ }, appConfig.ui?.link || {})
66
+ }));
67
+ const isExternal = computed(() => {
68
+ if (!props.to) return false;
69
+ return typeof props.to === "string" && hasProtocol(props.to, { acceptRelative: true });
70
+ });
71
+ const linkClass = computed(() => {
72
+ const active = isActive.value;
73
+ if (props.raw) {
74
+ return [props.class, active ? props.activeClass : props.inactiveClass];
75
+ }
76
+ return ui.value({ class: props.class, active, disabled: props.disabled });
77
+ });
78
+ const page = usePage();
79
+ const url = computed(() => props.to ?? props.href ?? "#");
80
+ const isActive = computed(() => props.active || (props.exact ? url.value === props.href : page?.url.startsWith(url.value)));
81
+ </script>
82
+
83
+ <template>
84
+ <template v-if="!isExternal">
85
+ <InertiaLink v-bind="routerLinkProps" :href="url" custom>
86
+ <template v-if="custom">
87
+ <slot
88
+ v-bind="{
89
+ ...$attrs,
90
+ as,
91
+ type,
92
+ disabled,
93
+ href: url,
94
+ active: isActive
95
+ }"
96
+ />
97
+ </template>
98
+ <ULinkBase
99
+ v-else
100
+ v-bind="{
101
+ ...$attrs,
102
+ as,
103
+ type,
104
+ disabled,
105
+ href: url,
106
+ active: isActive
107
+ }"
108
+ :class="linkClass"
109
+ >
110
+ <slot :active="isActive" />
111
+ </ULinkBase>
112
+ </InertiaLink>
113
+ </template>
114
+
115
+ <template v-else>
116
+ <template v-if="custom">
117
+ <slot
118
+ v-bind="{
119
+ ...$attrs,
120
+ as,
121
+ type,
122
+ disabled,
123
+ href: to,
124
+ target: isExternal ? '_blank' : void 0,
125
+ active: isActive
126
+ }"
127
+ />
128
+ </template>
129
+ <ULinkBase
130
+ v-else
131
+ v-bind="{
132
+ ...$attrs,
133
+ as,
134
+ type,
135
+ disabled,
136
+ href: url,
137
+ target: isExternal ? '_blank' : void 0,
138
+ active: isActive
139
+ }"
140
+ :is-external="isExternal"
141
+ :class="linkClass"
142
+ >
143
+ <slot :active="isActive" />
144
+ </ULinkBase>
145
+ </template>
146
+ </template>
@@ -0,0 +1,63 @@
1
+ import type { ButtonHTMLAttributes } from 'vue';
2
+ import type { InertiaLinkProps } from '@inertiajs/vue3';
3
+ interface NuxtLinkProps extends Omit<InertiaLinkProps, 'href'> {
4
+ activeClass?: string;
5
+ /**
6
+ * Route Location the link should navigate to when clicked on.
7
+ */
8
+ to?: string;
9
+ /**
10
+ * An alias for `to`. If used with `to`, `href` will be ignored
11
+ */
12
+ href?: NuxtLinkProps['to'];
13
+ /**
14
+ * Forces the link to be considered as external (true) or internal (false). This is helpful to handle edge-cases
15
+ */
16
+ external?: boolean;
17
+ /**
18
+ * Where to display the linked URL, as the name for a browsing context.
19
+ */
20
+ target?: '_blank' | '_parent' | '_self' | '_top' | (string & {}) | null;
21
+ ariaCurrentValue?: string;
22
+ }
23
+ export interface LinkProps extends NuxtLinkProps {
24
+ /**
25
+ * The element or component this component should render as when not a link.
26
+ * @defaultValue 'button'
27
+ */
28
+ as?: any;
29
+ /**
30
+ * The type of the button when not a link.
31
+ * @defaultValue 'button'
32
+ */
33
+ type?: ButtonHTMLAttributes['type'];
34
+ disabled?: boolean;
35
+ /** Force the link to be active independent of the current route. */
36
+ active?: boolean;
37
+ /** Will only be active if the current route is an exact match. */
38
+ exact?: boolean;
39
+ /** The class to apply when the link is inactive. */
40
+ inactiveClass?: string;
41
+ custom?: boolean;
42
+ /** When `true`, only styles from `class`, `activeClass`, and `inactiveClass` will be applied. */
43
+ raw?: boolean;
44
+ class?: any;
45
+ }
46
+ export interface LinkSlots {
47
+ default(props: {
48
+ active: boolean;
49
+ }): any;
50
+ }
51
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<LinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LinkProps> & Readonly<{}>, {
52
+ type: "reset" | "submit" | "button";
53
+ as: any;
54
+ activeClass: string;
55
+ active: boolean;
56
+ inactiveClass: string;
57
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, LinkSlots>;
58
+ export default _default;
59
+ type __VLS_WithSlots<T, S> = T & {
60
+ new (): {
61
+ $slots: S;
62
+ };
63
+ };
@@ -0,0 +1,43 @@
1
+ import type { Ref } from 'vue';
2
+ import type { NuxtApp } from '#app';
3
+ export { useHead } from '@unhead/vue';
4
+ export { defineShortcuts } from '../composables/defineShortcuts';
5
+ export { defineLocale } from '../composables/defineLocale';
6
+ export { useLocale } from '../composables/useLocale';
7
+ export declare const useRoute: () => {
8
+ fullPath: string;
9
+ };
10
+ export declare const useRouter: () => void;
11
+ export declare const useColorMode: () => {
12
+ forced: boolean;
13
+ preference?: undefined;
14
+ readonly value?: undefined;
15
+ } | {
16
+ preference: "system" | "light" | "dark";
17
+ readonly value: import("@vueuse/core").BasicColorMode;
18
+ forced: boolean;
19
+ };
20
+ export declare const useAppConfig: () => any;
21
+ export declare const useCookie: <T = string>(_name: string, _options?: Record<string, any>) => {
22
+ value: Ref<T, T>;
23
+ get: () => T;
24
+ set: () => void;
25
+ update: () => void;
26
+ refresh: () => Promise<Awaited<T>>;
27
+ remove: () => void;
28
+ };
29
+ export declare const useState: <T>(key: string, init: () => T) => Ref<T>;
30
+ export declare function useNuxtApp(): {
31
+ isHydrating: boolean;
32
+ payload: {
33
+ serverRendered: boolean;
34
+ };
35
+ hooks: import("hookable").Hookable<Record<string, any>, string>;
36
+ hook: <NameT extends string>(name: NameT, function_: any, options?: {
37
+ allowDeprecated?: boolean;
38
+ }) => () => void;
39
+ };
40
+ export declare function useRuntimeHook(name: string, fn: (...args: any[]) => void): void;
41
+ export declare function defineNuxtPlugin(plugin: (nuxtApp: NuxtApp) => void): {
42
+ install(app: import("vue").App<any>): void;
43
+ };
@@ -0,0 +1,82 @@
1
+ import { ref, onScopeDispose } from "vue";
2
+ import { createHooks } from "hookable";
3
+ import appConfig from "#build/app.config";
4
+ import { useColorMode as useColorModeVueUse } from "@vueuse/core";
5
+ import { usePage } from "@inertiajs/vue3";
6
+ export { useHead } from "@unhead/vue";
7
+ export { defineShortcuts } from "../composables/defineShortcuts.js";
8
+ export { defineLocale } from "../composables/defineLocale.js";
9
+ export { useLocale } from "../composables/useLocale.js";
10
+ export const useRoute = () => {
11
+ const page = usePage();
12
+ return {
13
+ fullPath: page.url
14
+ };
15
+ };
16
+ export const useRouter = () => {
17
+ };
18
+ export const useColorMode = () => {
19
+ if (!appConfig.colorMode) {
20
+ return {
21
+ forced: true
22
+ };
23
+ }
24
+ const { store, system } = useColorModeVueUse();
25
+ return {
26
+ get preference() {
27
+ return store.value === "auto" ? "system" : store.value;
28
+ },
29
+ set preference(value) {
30
+ store.value = value === "system" ? "auto" : value;
31
+ },
32
+ get value() {
33
+ return store.value === "auto" ? system.value : store.value;
34
+ },
35
+ forced: false
36
+ };
37
+ };
38
+ export const useAppConfig = () => appConfig;
39
+ export const useCookie = (_name, _options = {}) => {
40
+ const value = ref(null);
41
+ return {
42
+ value,
43
+ get: () => value.value,
44
+ set: () => {
45
+ },
46
+ update: () => {
47
+ },
48
+ refresh: () => Promise.resolve(value.value),
49
+ remove: () => {
50
+ }
51
+ };
52
+ };
53
+ const state = {};
54
+ export const useState = (key, init) => {
55
+ if (state[key]) {
56
+ return state[key];
57
+ }
58
+ const value = ref(init());
59
+ state[key] = value;
60
+ return value;
61
+ };
62
+ const hooks = createHooks();
63
+ export function useNuxtApp() {
64
+ return {
65
+ isHydrating: true,
66
+ payload: { serverRendered: false },
67
+ hooks,
68
+ hook: hooks.hook
69
+ };
70
+ }
71
+ export function useRuntimeHook(name, fn) {
72
+ const nuxtApp = useNuxtApp();
73
+ const unregister = nuxtApp.hook(name, fn);
74
+ onScopeDispose(unregister);
75
+ }
76
+ export function defineNuxtPlugin(plugin) {
77
+ return {
78
+ install(app) {
79
+ app.runWithContext(() => plugin({ vueApp: app }));
80
+ }
81
+ };
82
+ }
@@ -0,0 +1,3 @@
1
+ import type { Messages } from '../types';
2
+ declare const _default: import("../types").Locale<Messages>;
3
+ export default _default;
@@ -0,0 +1,54 @@
1
+ import { defineLocale } from "../composables/defineLocale.js";
2
+ export default defineLocale({
3
+ name: "\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438",
4
+ code: "bg",
5
+ messages: {
6
+ inputMenu: {
7
+ noMatch: "\u041D\u044F\u043C\u0430 \u0441\u044A\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0435 \u043D\u0430 \u0434\u0430\u043D\u043D\u0438",
8
+ noData: "\u041D\u044F\u043C\u0430 \u0434\u0430\u043D\u043D\u0438",
9
+ create: '\u0421\u044A\u0437\u0434\u0430\u0439\u0442\u0435 "{label}"'
10
+ },
11
+ calendar: {
12
+ prevYear: "\u041F\u0440\u0435\u0434\u0438\u0448\u043D\u0430 \u0433\u043E\u0434\u0438\u043D\u0430",
13
+ nextYear: "\u0421\u043B\u0435\u0434\u0432\u0430\u0449\u0430 \u0433\u043E\u0434\u0438\u043D\u0430",
14
+ prevMonth: "\u041F\u0440\u0435\u0434\u0438\u0448\u0435\u043D \u043C\u0435\u0441\u0435\u0446",
15
+ nextMonth: "\u0421\u043B\u0435\u0434\u0432\u0430\u0449 \u043C\u0435\u0441\u0435\u0446"
16
+ },
17
+ inputNumber: {
18
+ increment: "\u0423\u0432\u0435\u043B\u0438\u0447\u0430\u0432\u0430\u043D\u0435",
19
+ decrement: "\u041D\u0430\u043C\u0430\u043B\u044F\u0432\u0430\u043D\u0435"
20
+ },
21
+ commandPalette: {
22
+ placeholder: "\u0412\u044A\u0432\u0435\u0434\u0435\u0442\u0435 \u043A\u043E\u043C\u0430\u043D\u0434\u0430 \u0438\u043B\u0438 \u043F\u043E\u0442\u044A\u0440\u0441\u0435\u0442\u0435...",
23
+ noMatch: "\u041D\u044F\u043C\u0430 \u0441\u044A\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0435 \u043D\u0430 \u0434\u0430\u043D\u043D\u0438",
24
+ noData: "\u041D\u044F\u043C\u0430 \u0434\u0430\u043D\u043D\u0438",
25
+ close: "\u0417\u0430\u0442\u0432\u043E\u0440\u0435\u0442\u0435"
26
+ },
27
+ selectMenu: {
28
+ noMatch: "\u041D\u044F\u043C\u0430 \u0441\u044A\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0435 \u043D\u0430 \u0434\u0430\u043D\u043D\u0438",
29
+ noData: "\u041D\u044F\u043C\u0430 \u0434\u0430\u043D\u043D\u0438",
30
+ create: '\u0421\u044A\u0437\u0434\u0430\u0439\u0442\u0435 "{label}"',
31
+ search: "\u041F\u043E\u0442\u044A\u0440\u0441\u0435\u0442\u0435..."
32
+ },
33
+ toast: {
34
+ close: "\u0417\u0430\u0442\u0432\u043E\u0440\u0435\u0442\u0435"
35
+ },
36
+ carousel: {
37
+ prev: "\u041D\u0430\u0437\u0430\u0434",
38
+ next: "\u041D\u0430\u043F\u0440\u0435\u0434",
39
+ goto: "\u041E\u0442\u0438\u0434\u0435\u0442\u0435 \u043D\u0430 \u0441\u043B\u0430\u0439\u0434 {slide}"
40
+ },
41
+ modal: {
42
+ close: "\u0417\u0430\u0442\u0432\u043E\u0440\u0435\u0442\u0435"
43
+ },
44
+ slideover: {
45
+ close: "\u0417\u0430\u0442\u0432\u043E\u0440\u0435\u0442\u0435"
46
+ },
47
+ alert: {
48
+ close: "\u0417\u0430\u0442\u0432\u043E\u0440\u0435\u0442\u0435"
49
+ },
50
+ table: {
51
+ noData: "\u041D\u044F\u043C\u0430 \u0434\u0430\u043D\u043D\u0438"
52
+ }
53
+ }
54
+ });
@@ -1,9 +1,10 @@
1
1
  export { default as ar } from './ar';
2
2
  export { default as az } from './az';
3
+ export { default as bg } from './bg';
3
4
  export { default as bn } from './bn';
4
5
  export { default as ca } from './ca';
5
- export { default as cs } from './cs';
6
6
  export { default as ckb } from './ckb';
7
+ export { default as cs } from './cs';
7
8
  export { default as da } from './da';
8
9
  export { default as de } from './de';
9
10
  export { default as el } from './el';
@@ -21,6 +22,7 @@ export { default as id } from './id';
21
22
  export { default as it } from './it';
22
23
  export { default as ja } from './ja';
23
24
  export { default as km } from './km';
25
+ export { default as kk } from './kk';
24
26
  export { default as ko } from './ko';
25
27
  export { default as nb_no } from './nb_no';
26
28
  export { default as nl } from './nl';
@@ -32,8 +34,10 @@ export { default as ru } from './ru';
32
34
  export { default as sk } from './sk';
33
35
  export { default as sv } from './sv';
34
36
  export { default as th } from './th';
37
+ export { default as tj } from './tj';
35
38
  export { default as tr } from './tr';
36
39
  export { default as uk } from './uk';
40
+ export { default as ug_cn } from './ug_cn';
37
41
  export { default as ur } from './ur';
38
42
  export { default as uz } from './uz';
39
43
  export { default as vi } from './vi';
@@ -1,9 +1,10 @@
1
1
  export { default as ar } from "./ar.js";
2
2
  export { default as az } from "./az.js";
3
+ export { default as bg } from "./bg.js";
3
4
  export { default as bn } from "./bn.js";
4
5
  export { default as ca } from "./ca.js";
5
- export { default as cs } from "./cs.js";
6
6
  export { default as ckb } from "./ckb.js";
7
+ export { default as cs } from "./cs.js";
7
8
  export { default as da } from "./da.js";
8
9
  export { default as de } from "./de.js";
9
10
  export { default as el } from "./el.js";
@@ -21,6 +22,7 @@ export { default as id } from "./id.js";
21
22
  export { default as it } from "./it.js";
22
23
  export { default as ja } from "./ja.js";
23
24
  export { default as km } from "./km.js";
25
+ export { default as kk } from "./kk.js";
24
26
  export { default as ko } from "./ko.js";
25
27
  export { default as nb_no } from "./nb_no.js";
26
28
  export { default as nl } from "./nl.js";
@@ -32,8 +34,10 @@ export { default as ru } from "./ru.js";
32
34
  export { default as sk } from "./sk.js";
33
35
  export { default as sv } from "./sv.js";
34
36
  export { default as th } from "./th.js";
37
+ export { default as tj } from "./tj.js";
35
38
  export { default as tr } from "./tr.js";
36
39
  export { default as uk } from "./uk.js";
40
+ export { default as ug_cn } from "./ug_cn.js";
37
41
  export { default as ur } from "./ur.js";
38
42
  export { default as uz } from "./uz.js";
39
43
  export { default as vi } from "./vi.js";
@@ -0,0 +1,3 @@
1
+ import type { Messages } from '../types';
2
+ declare const _default: import("../types").Locale<Messages>;
3
+ export default _default;
@@ -0,0 +1,54 @@
1
+ import { defineLocale } from "../composables/defineLocale.js";
2
+ export default defineLocale({
3
+ name: "\u049A\u0430\u0437\u0430\u049B\u0448\u0430",
4
+ code: "kk",
5
+ messages: {
6
+ inputMenu: {
7
+ noMatch: "\u0421\u04D9\u0439\u043A\u0435\u0441 \u043A\u0435\u043B\u0435\u0442\u0456\u043D \u0434\u0435\u0440\u0435\u043A\u0442\u0435\u0440 \u0436\u043E\u049B",
8
+ noData: "\u0414\u0435\u0440\u0435\u043A\u0442\u0435\u0440 \u0436\u043E\u049B",
9
+ create: '"{label}" \u0436\u0430\u0441\u0430\u0443'
10
+ },
11
+ calendar: {
12
+ prevYear: "\u0410\u043B\u0434\u044B\u04A3\u0493\u044B \u0436\u044B\u043B",
13
+ nextYear: "\u041A\u0435\u043B\u0435\u0441\u0456 \u0436\u044B\u043B",
14
+ prevMonth: "\u0410\u043B\u0434\u044B\u04A3\u0493\u044B \u0430\u0439",
15
+ nextMonth: "\u041A\u0435\u043B\u0435\u0441\u0456 \u0430\u0439"
16
+ },
17
+ inputNumber: {
18
+ increment: "\u0410\u0440\u0442\u0442\u044B\u0440\u0443",
19
+ decrement: "\u0410\u0437\u0430\u0439\u0442\u0443"
20
+ },
21
+ commandPalette: {
22
+ placeholder: "\u041A\u043E\u043C\u0430\u043D\u0434\u0430 \u0435\u043D\u0433\u0456\u0437\u0456\u04A3\u0456\u0437 \u043D\u0435\u043C\u0435\u0441\u0435 \u0456\u0437\u0434\u0435\u04A3\u0456\u0437...",
23
+ noMatch: "\u0421\u04D9\u0439\u043A\u0435\u0441 \u043A\u0435\u043B\u0435\u0442\u0456\u043D \u0434\u0435\u0440\u0435\u043A\u0442\u0435\u0440 \u0436\u043E\u049B",
24
+ noData: "\u0414\u0435\u0440\u0435\u043A\u0442\u0435\u0440 \u0436\u043E\u049B",
25
+ close: "\u0416\u0430\u0431\u0443"
26
+ },
27
+ selectMenu: {
28
+ noMatch: "\u0421\u04D9\u0439\u043A\u0435\u0441 \u043A\u0435\u043B\u0435\u0442\u0456\u043D \u0434\u0435\u0440\u0435\u043A\u0442\u0435\u0440 \u0436\u043E\u049B",
29
+ noData: "\u0414\u0435\u0440\u0435\u043A\u0442\u0435\u0440 \u0436\u043E\u049B",
30
+ create: '"{label}" \u0436\u0430\u0441\u0430\u0443',
31
+ search: "\u0406\u0437\u0434\u0435\u0443..."
32
+ },
33
+ toast: {
34
+ close: "\u0416\u0430\u0431\u0443"
35
+ },
36
+ carousel: {
37
+ prev: "\u0410\u043B\u0434\u044B\u04A3\u0493\u044B",
38
+ next: "\u041A\u0435\u043B\u0435\u0441\u0456",
39
+ goto: "{slide} \u0441\u043B\u0430\u0439\u0434\u049B\u0430 \u04E9\u0442\u0443"
40
+ },
41
+ modal: {
42
+ close: "\u0416\u0430\u0431\u0443"
43
+ },
44
+ slideover: {
45
+ close: "\u0416\u0430\u0431\u0443"
46
+ },
47
+ alert: {
48
+ close: "\u0416\u0430\u0431\u0443"
49
+ },
50
+ table: {
51
+ noData: "\u0414\u0435\u0440\u0435\u043A\u0442\u0435\u0440 \u0436\u043E\u049B"
52
+ }
53
+ }
54
+ });
@@ -0,0 +1,3 @@
1
+ import type { Messages } from '../types';
2
+ declare const _default: import("../types").Locale<Messages>;
3
+ export default _default;
@@ -0,0 +1,54 @@
1
+ import { defineLocale } from "../composables/defineLocale.js";
2
+ export default defineLocale({
3
+ name: "\u0422\u043E\u04B7\u0438\u043A\u04E3",
4
+ code: "tj",
5
+ messages: {
6
+ inputMenu: {
7
+ noMatch: "\u041C\u0430\u044A\u043B\u0443\u043C\u043E\u0442\u0438 \u043C\u0443\u0432\u043E\u0444\u0438\u049B \u0451\u0444\u0442 \u043D\u0430\u0448\u0443\u0434",
8
+ noData: "\u041C\u0430\u044A\u043B\u0443\u043C\u043E\u0442 \u043D\u0435\u0441\u0442",
9
+ create: '"{label}" \u0441\u043E\u0437\u0435\u0434'
10
+ },
11
+ calendar: {
12
+ prevYear: "\u0421\u043E\u043B\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430",
13
+ nextYear: "\u0421\u043E\u043B\u0438 \u043E\u044F\u043D\u0434\u0430",
14
+ prevMonth: "\u041C\u043E\u04B3\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430",
15
+ nextMonth: "\u041C\u043E\u04B3\u0438 \u043E\u044F\u043D\u0434\u0430"
16
+ },
17
+ inputNumber: {
18
+ increment: "\u0417\u0438\u0451\u0434 \u043A\u0430\u0440\u0434\u0430\u043D",
19
+ decrement: "\u041A\u0430\u043C \u043A\u0430\u0440\u0434\u0430\u043D"
20
+ },
21
+ commandPalette: {
22
+ placeholder: "\u0424\u0430\u0440\u043C\u043E\u043D\u0440\u043E \u043D\u0430\u0432\u0438\u0441\u0435\u0434 \u0451 \u04B7\u0443\u0441\u0442\u0443\u04B7\u04EF \u043A\u0443\u043D\u0435\u0434...",
23
+ noMatch: "\u041C\u0430\u044A\u043B\u0443\u043C\u043E\u0442\u0438 \u043C\u0443\u0432\u043E\u0444\u0438\u049B \u0451\u0444\u0442 \u043D\u0430\u0448\u0443\u0434",
24
+ noData: "\u041C\u0430\u044A\u043B\u0443\u043C\u043E\u0442 \u043D\u0435\u0441\u0442",
25
+ close: "\u0411\u0430\u0441\u0442\u0430\u043D"
26
+ },
27
+ selectMenu: {
28
+ noMatch: "\u041C\u0430\u044A\u043B\u0443\u043C\u043E\u0442\u0438 \u043C\u0443\u0432\u043E\u0444\u0438\u049B \u0451\u0444\u0442 \u043D\u0430\u0448\u0443\u0434",
29
+ noData: "\u041C\u0430\u044A\u043B\u0443\u043C\u043E\u0442 \u043D\u0435\u0441\u0442",
30
+ create: '"{label}" \u0441\u043E\u0437\u0435\u0434',
31
+ search: "\u04B6\u0443\u0441\u0442\u0443\u04B7\u04EF..."
32
+ },
33
+ toast: {
34
+ close: "\u0411\u0430\u0441\u0442\u0430\u043D"
35
+ },
36
+ carousel: {
37
+ prev: "\u049A\u0430\u0431\u043B\u04E3",
38
+ next: "\u0411\u0430\u044A\u0434\u04E3",
39
+ goto: "\u0411\u0430 \u0441\u043B\u0430\u0439\u0434\u0438 {slide} \u0433\u0443\u0437\u0430\u0440\u0435\u0434"
40
+ },
41
+ modal: {
42
+ close: "\u0411\u0430\u0441\u0442\u0430\u043D"
43
+ },
44
+ slideover: {
45
+ close: "\u0411\u0430\u0441\u0442\u0430\u043D"
46
+ },
47
+ alert: {
48
+ close: "\u0411\u0430\u0441\u0442\u0430\u043D"
49
+ },
50
+ table: {
51
+ noData: "\u041C\u0430\u044A\u043B\u0443\u043C\u043E\u0442 \u043D\u0435\u0441\u0442"
52
+ }
53
+ }
54
+ });
@@ -0,0 +1,3 @@
1
+ import type { Messages } from '../types';
2
+ declare const _default: import("../types").Locale<Messages>;
3
+ export default _default;
@@ -0,0 +1,55 @@
1
+ import { defineLocale } from "../composables/defineLocale.js";
2
+ export default defineLocale({
3
+ name: "\u0626\u06C7\u064A\u063A\u06C7\u0631\u0686\u06D5",
4
+ code: "ug-CN",
5
+ dir: "rtl",
6
+ messages: {
7
+ inputMenu: {
8
+ noMatch: "\u0645\u0627\u0633 \u0643\u06D0\u0644\u0649\u062F\u0649\u063A\u0627\u0646 \u0633\u0627\u0646\u0644\u0649\u0642 \u0645\u06D5\u0644\u06C7\u0645\u0627\u062A \u064A\u0648\u0642",
9
+ noData: "\u0633\u0627\u0646\u0644\u0649\u0642 \u0645\u06D5\u0644\u06C7\u0645\u0627\u062A \u064A\u0648\u0642",
10
+ create: '"{label}" \u0646\u0649 \u0642\u06C7\u0631\u06C7\u0634'
11
+ },
12
+ calendar: {
13
+ prevYear: "\u0626\u0627\u0644\u062F\u0649\u0646\u0642\u0649 \u064A\u0649\u0644",
14
+ nextYear: "\u0643\u06D0\u0644\u06D5\u0631 \u064A\u0649\u0644",
15
+ prevMonth: "\u0626\u0627\u0644\u062F\u0649\u0646\u0642\u0649 \u0626\u0627\u064A",
16
+ nextMonth: "\u0643\u06D0\u0644\u06D5\u0631 \u0626\u0627\u064A"
17
+ },
18
+ inputNumber: {
19
+ increment: "\u0643\u06C6\u067E\u06D5\u064A\u062A\u0649\u0634",
20
+ decrement: "\u0626\u0627\u0632\u0627\u064A\u062A\u0649\u0634"
21
+ },
22
+ commandPalette: {
23
+ placeholder: "\u0628\u06C7\u064A\u0631\u06C7\u0642 \u0643\u0649\u0631\u06AF\u06C8\u0632\u06C8\u06AD \u064A\u0627\u0643\u0649 \u0626\u0649\u0632\u062F\u06D5\u06AD...",
24
+ noMatch: "\u0645\u0627\u0633 \u0643\u06D0\u0644\u0649\u062F\u0649\u063A\u0627\u0646 \u0633\u0627\u0646\u0644\u0649\u0642 \u0645\u06D5\u0644\u06C7\u0645\u0627\u062A \u064A\u0648\u0642",
25
+ noData: "\u0633\u0627\u0646\u0644\u0649\u0642 \u0645\u06D5\u0644\u06C7\u0645\u0627\u062A \u064A\u0648\u0642",
26
+ close: "\u062A\u0627\u0642\u0627\u0634"
27
+ },
28
+ selectMenu: {
29
+ noMatch: "\u0645\u0627\u0633 \u0643\u06D0\u0644\u0649\u062F\u0649\u063A\u0627\u0646 \u0633\u0627\u0646\u0644\u0649\u0642 \u0645\u06D5\u0644\u06C7\u0645\u0627\u062A \u064A\u0648\u0642",
30
+ noData: "\u0633\u0627\u0646\u0644\u0649\u0642 \u0645\u06D5\u0644\u06C7\u0645\u0627\u062A \u064A\u0648\u0642",
31
+ create: '"{label}" \u0646\u0649 \u0642\u06C7\u0631\u06C7\u0634',
32
+ search: "\u0626\u0649\u0632\u062F\u06D5\u0634..."
33
+ },
34
+ toast: {
35
+ close: "\u062A\u0627\u0642\u0627\u0634"
36
+ },
37
+ carousel: {
38
+ prev: "\u0626\u0627\u0644\u062F\u0649\u0646\u0642\u0649 \u0628\u06D5\u062A",
39
+ next: "\u0643\u06D0\u064A\u0649\u0646\u0643\u0649 \u0628\u06D5\u062A",
40
+ goto: "{slide}-\u0628\u06D5\u062A\u0643\u06D5 \u0626\u0627\u062A\u0644\u0627\u0634"
41
+ },
42
+ modal: {
43
+ close: "\u062A\u0627\u0642\u0627\u0634"
44
+ },
45
+ slideover: {
46
+ close: "\u062A\u0627\u0642\u0627\u0634"
47
+ },
48
+ alert: {
49
+ close: "\u062A\u0627\u0642\u0627\u0634"
50
+ },
51
+ table: {
52
+ noData: "\u0633\u0627\u0646\u0644\u0649\u0642 \u0645\u06D5\u0644\u06C7\u0645\u0627\u062A \u064A\u0648\u0642"
53
+ }
54
+ }
55
+ });
@@ -18,11 +18,14 @@ export interface Form<T extends object> {
18
18
  submit(): Promise<void>;
19
19
  disabled: ComputedRef<boolean>;
20
20
  dirty: ComputedRef<boolean>;
21
+ loading: Ref<boolean>;
21
22
  dirtyFields: DeepReadonly<Set<keyof T>>;
22
23
  touchedFields: DeepReadonly<Set<keyof T>>;
23
24
  blurredFields: DeepReadonly<Set<keyof T>>;
24
25
  }
25
- export type FormSchema<T extends object> = YupObjectSchema<T> | JoiSchema<T> | SuperstructSchema<any, any> | StandardSchemaV1;
26
+ export type FormSchema<I extends object = object, O extends object = I> = YupObjectSchema<I> | JoiSchema<I> | SuperstructSchema<any, any> | StandardSchemaV1<I, O>;
27
+ export type InferInput<Schema> = Schema extends StandardSchemaV1 ? StandardSchemaV1.InferInput<Schema> : Schema extends YupObjectSchema<infer I> ? I : Schema extends JoiSchema<infer I> ? I : Schema extends SuperstructSchema<infer I, any> ? I : Schema extends StandardSchemaV1 ? StandardSchemaV1.InferInput<Schema> : never;
28
+ export type InferOutput<Schema> = Schema extends StandardSchemaV1 ? StandardSchemaV1.InferOutput<Schema> : Schema extends YupObjectSchema<infer O> ? O : Schema extends JoiSchema<infer O> ? O : Schema extends SuperstructSchema<infer O, any> ? O : never;
26
29
  export type FormInputEvents = 'input' | 'blur' | 'change' | 'focus';
27
30
  export interface FormError<P extends string = string> {
28
31
  name?: P;
@@ -11,6 +11,7 @@ export * from '../components/Calendar.vue';
11
11
  export * from '../components/Card.vue';
12
12
  export * from '../components/Carousel.vue';
13
13
  export * from '../components/Checkbox.vue';
14
+ export * from '../components/CheckboxGroup.vue';
14
15
  export * from '../components/Chip.vue';
15
16
  export * from '../components/Collapsible.vue';
16
17
  export * from '../components/ColorPicker.vue';