una-nuxt-module 2.1.53 → 3.0.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 (201) hide show
  1. package/.nuxt/templates/AppBreadcumbs.vue/AppBreadcumbs.vue +5 -5
  2. package/.nuxt/templates/ColorModeSelect.vue/ColorModeSelect.vue +10 -10
  3. package/.nuxt/templates/Loading.vue/Loading.vue +1 -1
  4. package/.nuxt/templates/LoadingScreen.vue/LoadingScreen.vue +2 -2
  5. package/.nuxt/templates/LoadingSessionScreen.vue/LoadingSessionScreen.vue +4 -4
  6. package/README.md +42 -59
  7. package/dist/module.json +1 -1
  8. package/dist/module.mjs +17 -1
  9. package/dist/runtime/auth/middleware/authentication.d.ts +1 -1
  10. package/dist/runtime/auth/middleware/authorization.d.ts +1 -1
  11. package/dist/runtime/auth/plugins/auth.d.ts +59 -1
  12. package/dist/runtime/components/ui/accordion/Accordion.d.vue.ts +3 -1
  13. package/dist/runtime/components/ui/accordion/Accordion.vue.d.ts +3 -1
  14. package/dist/runtime/components/ui/accordion/AccordionItem.d.vue.ts +3 -1
  15. package/dist/runtime/components/ui/accordion/AccordionItem.vue.d.ts +3 -1
  16. package/dist/runtime/components/ui/alert-dialog/AlertDialog.d.vue.ts +4 -1
  17. package/dist/runtime/components/ui/alert-dialog/AlertDialog.vue.d.ts +4 -1
  18. package/dist/runtime/components/ui/aspect-ratio/AspectRatio.d.vue.ts +3 -1
  19. package/dist/runtime/components/ui/aspect-ratio/AspectRatio.vue.d.ts +3 -1
  20. package/dist/runtime/components/ui/breadcrumb/BreadcrumbLink.d.vue.ts +1 -3
  21. package/dist/runtime/components/ui/breadcrumb/BreadcrumbLink.vue.d.ts +1 -3
  22. package/dist/runtime/components/ui/button/Button.d.vue.ts +1 -3
  23. package/dist/runtime/components/ui/button/Button.vue.d.ts +1 -3
  24. package/dist/runtime/components/ui/button/index.d.ts +1 -1
  25. package/dist/runtime/components/ui/button-group/ButtonGroupSeparator.d.vue.ts +1 -3
  26. package/dist/runtime/components/ui/button-group/ButtonGroupSeparator.vue.d.ts +1 -3
  27. package/dist/runtime/components/ui/button-group/ButtonGroupText.d.vue.ts +1 -3
  28. package/dist/runtime/components/ui/button-group/ButtonGroupText.vue.d.ts +1 -3
  29. package/dist/runtime/components/ui/calendar/Calendar.d.vue.ts +8 -7
  30. package/dist/runtime/components/ui/calendar/Calendar.vue.d.ts +8 -7
  31. package/dist/runtime/components/ui/calendar/CalendarCellTrigger.d.vue.ts +1 -3
  32. package/dist/runtime/components/ui/calendar/CalendarCellTrigger.vue.d.ts +1 -3
  33. package/dist/runtime/components/ui/carousel/CarouselNext.d.vue.ts +1 -4
  34. package/dist/runtime/components/ui/carousel/CarouselNext.vue.d.ts +1 -4
  35. package/dist/runtime/components/ui/carousel/CarouselPrevious.d.vue.ts +1 -4
  36. package/dist/runtime/components/ui/carousel/CarouselPrevious.vue.d.ts +1 -4
  37. package/dist/runtime/components/ui/chart/ChartLegendContent.d.vue.ts +1 -3
  38. package/dist/runtime/components/ui/chart/ChartLegendContent.vue.d.ts +1 -3
  39. package/dist/runtime/components/ui/chart/ChartTooltipContent.d.vue.ts +1 -5
  40. package/dist/runtime/components/ui/chart/ChartTooltipContent.vue.d.ts +1 -5
  41. package/dist/runtime/components/ui/checkbox/Checkbox.d.vue.ts +4 -1
  42. package/dist/runtime/components/ui/checkbox/Checkbox.vue.d.ts +4 -1
  43. package/dist/runtime/components/ui/collapsible/Collapsible.d.vue.ts +3 -1
  44. package/dist/runtime/components/ui/collapsible/Collapsible.vue.d.ts +3 -1
  45. package/dist/runtime/components/ui/combobox/Combobox.d.vue.ts +4 -1
  46. package/dist/runtime/components/ui/combobox/Combobox.vue.d.ts +4 -1
  47. package/dist/runtime/components/ui/combobox/ComboboxList.d.vue.ts +1 -5
  48. package/dist/runtime/components/ui/combobox/ComboboxList.vue +1 -0
  49. package/dist/runtime/components/ui/combobox/ComboboxList.vue.d.ts +1 -5
  50. package/dist/runtime/components/ui/command/Command.d.vue.ts +1 -3
  51. package/dist/runtime/components/ui/command/Command.vue.d.ts +1 -3
  52. package/dist/runtime/components/ui/command/CommandDialog.d.vue.ts +5 -5
  53. package/dist/runtime/components/ui/command/CommandDialog.vue.d.ts +5 -5
  54. package/dist/runtime/components/ui/context-menu/ContextMenuContent.vue +1 -0
  55. package/dist/runtime/components/ui/context-menu/ContextMenuItem.d.vue.ts +1 -3
  56. package/dist/runtime/components/ui/context-menu/ContextMenuItem.vue.d.ts +1 -3
  57. package/dist/runtime/components/ui/context-menu/ContextMenuRadioGroup.d.vue.ts +2 -2
  58. package/dist/runtime/components/ui/context-menu/ContextMenuRadioGroup.vue +1 -1
  59. package/dist/runtime/components/ui/context-menu/ContextMenuRadioGroup.vue.d.ts +2 -2
  60. package/dist/runtime/components/ui/context-menu/ContextMenuRadioItem.vue +1 -1
  61. package/dist/runtime/components/ui/context-menu/ContextMenuSubContent.vue +1 -0
  62. package/dist/runtime/components/ui/dialog/Dialog.d.vue.ts +4 -1
  63. package/dist/runtime/components/ui/dialog/Dialog.vue.d.ts +4 -1
  64. package/dist/runtime/components/ui/dialog/DialogContent.d.vue.ts +1 -3
  65. package/dist/runtime/components/ui/dialog/DialogContent.vue.d.ts +1 -3
  66. package/dist/runtime/components/ui/drawer/Drawer.d.vue.ts +4 -4
  67. package/dist/runtime/components/ui/drawer/Drawer.vue.d.ts +4 -4
  68. package/dist/runtime/components/ui/dropdown-menu/DropdownMenu.d.vue.ts +3 -1
  69. package/dist/runtime/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +3 -1
  70. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.d.vue.ts +1 -3
  71. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.vue +1 -0
  72. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +1 -3
  73. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.d.vue.ts +1 -3
  74. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +1 -3
  75. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioGroup.d.vue.ts +2 -2
  76. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue +1 -1
  77. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +2 -2
  78. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioItem.vue +1 -1
  79. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSub.d.vue.ts +3 -1
  80. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +3 -1
  81. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.vue +1 -0
  82. package/dist/runtime/components/ui/hover-card/HoverCard.d.vue.ts +3 -1
  83. package/dist/runtime/components/ui/hover-card/HoverCard.vue.d.ts +3 -1
  84. package/dist/runtime/components/ui/hover-card/HoverCardContent.d.vue.ts +1 -3
  85. package/dist/runtime/components/ui/hover-card/HoverCardContent.vue +1 -0
  86. package/dist/runtime/components/ui/hover-card/HoverCardContent.vue.d.ts +1 -3
  87. package/dist/runtime/components/ui/input-group/InputGroupAddon.d.vue.ts +1 -3
  88. package/dist/runtime/components/ui/input-group/InputGroupAddon.vue.d.ts +1 -3
  89. package/dist/runtime/components/ui/input-group/InputGroupButton.d.vue.ts +1 -4
  90. package/dist/runtime/components/ui/input-group/InputGroupButton.vue.d.ts +1 -4
  91. package/dist/runtime/components/ui/input-otp/InputOTP.d.vue.ts +9 -5
  92. package/dist/runtime/components/ui/input-otp/InputOTP.vue.d.ts +9 -5
  93. package/dist/runtime/components/ui/item/Item.d.vue.ts +1 -3
  94. package/dist/runtime/components/ui/item/Item.vue.d.ts +1 -3
  95. package/dist/runtime/components/ui/item/index.d.ts +1 -1
  96. package/dist/runtime/components/ui/menubar/Menubar.d.vue.ts +3 -1
  97. package/dist/runtime/components/ui/menubar/Menubar.vue.d.ts +3 -1
  98. package/dist/runtime/components/ui/menubar/MenubarContent.d.vue.ts +1 -5
  99. package/dist/runtime/components/ui/menubar/MenubarContent.vue +1 -0
  100. package/dist/runtime/components/ui/menubar/MenubarContent.vue.d.ts +1 -5
  101. package/dist/runtime/components/ui/menubar/MenubarRadioGroup.d.vue.ts +2 -2
  102. package/dist/runtime/components/ui/menubar/MenubarRadioGroup.vue +1 -1
  103. package/dist/runtime/components/ui/menubar/MenubarRadioGroup.vue.d.ts +2 -2
  104. package/dist/runtime/components/ui/menubar/MenubarRadioItem.vue +1 -1
  105. package/dist/runtime/components/ui/menubar/MenubarSub.d.vue.ts +3 -1
  106. package/dist/runtime/components/ui/menubar/MenubarSub.vue.d.ts +3 -1
  107. package/dist/runtime/components/ui/menubar/MenubarSubContent.vue +1 -0
  108. package/dist/runtime/components/ui/navigation-menu/NavigationMenu.d.vue.ts +4 -4
  109. package/dist/runtime/components/ui/navigation-menu/NavigationMenu.vue.d.ts +4 -4
  110. package/dist/runtime/components/ui/number-field/NumberField.d.vue.ts +4 -1
  111. package/dist/runtime/components/ui/number-field/NumberField.vue +1 -0
  112. package/dist/runtime/components/ui/number-field/NumberField.vue.d.ts +4 -1
  113. package/dist/runtime/components/ui/pagination/Pagination.d.vue.ts +4 -1
  114. package/dist/runtime/components/ui/pagination/Pagination.vue.d.ts +4 -1
  115. package/dist/runtime/components/ui/pagination/PaginationContent.d.vue.ts +8 -1
  116. package/dist/runtime/components/ui/pagination/PaginationContent.vue.d.ts +8 -1
  117. package/dist/runtime/components/ui/pagination/PaginationFirst.d.vue.ts +1 -3
  118. package/dist/runtime/components/ui/pagination/PaginationFirst.vue.d.ts +1 -3
  119. package/dist/runtime/components/ui/pagination/PaginationItem.d.vue.ts +1 -3
  120. package/dist/runtime/components/ui/pagination/PaginationItem.vue.d.ts +1 -3
  121. package/dist/runtime/components/ui/pagination/PaginationLast.d.vue.ts +1 -3
  122. package/dist/runtime/components/ui/pagination/PaginationLast.vue.d.ts +1 -3
  123. package/dist/runtime/components/ui/pagination/PaginationNext.d.vue.ts +1 -3
  124. package/dist/runtime/components/ui/pagination/PaginationNext.vue.d.ts +1 -3
  125. package/dist/runtime/components/ui/pagination/PaginationPrevious.d.vue.ts +1 -3
  126. package/dist/runtime/components/ui/pagination/PaginationPrevious.vue.d.ts +1 -3
  127. package/dist/runtime/components/ui/pin-input/PinInput.d.vue.ts +5 -2
  128. package/dist/runtime/components/ui/pin-input/PinInput.vue.d.ts +5 -2
  129. package/dist/runtime/components/ui/popover/Popover.d.vue.ts +4 -1
  130. package/dist/runtime/components/ui/popover/Popover.vue.d.ts +4 -1
  131. package/dist/runtime/components/ui/popover/PopoverContent.d.vue.ts +1 -4
  132. package/dist/runtime/components/ui/popover/PopoverContent.vue +1 -0
  133. package/dist/runtime/components/ui/popover/PopoverContent.vue.d.ts +1 -4
  134. package/dist/runtime/components/ui/progress/Progress.d.vue.ts +1 -3
  135. package/dist/runtime/components/ui/progress/Progress.vue.d.ts +1 -3
  136. package/dist/runtime/components/ui/radio-group/RadioGroup.d.vue.ts +3 -1
  137. package/dist/runtime/components/ui/radio-group/RadioGroup.vue.d.ts +3 -1
  138. package/dist/runtime/components/ui/range-calendar/RangeCalendarCellTrigger.d.vue.ts +1 -3
  139. package/dist/runtime/components/ui/range-calendar/RangeCalendarCellTrigger.vue.d.ts +1 -3
  140. package/dist/runtime/components/ui/resizable/ResizablePanel.d.vue.ts +7 -1
  141. package/dist/runtime/components/ui/resizable/ResizablePanel.vue.d.ts +7 -1
  142. package/dist/runtime/components/ui/resizable/ResizablePanelGroup.d.vue.ts +3 -1
  143. package/dist/runtime/components/ui/resizable/ResizablePanelGroup.vue.d.ts +3 -1
  144. package/dist/runtime/components/ui/scroll-area/ScrollBar.d.vue.ts +1 -3
  145. package/dist/runtime/components/ui/scroll-area/ScrollBar.vue.d.ts +1 -3
  146. package/dist/runtime/components/ui/select/Select.d.vue.ts +4 -1
  147. package/dist/runtime/components/ui/select/Select.vue.d.ts +4 -1
  148. package/dist/runtime/components/ui/select/SelectContent.d.vue.ts +1 -3
  149. package/dist/runtime/components/ui/select/SelectContent.vue +2 -0
  150. package/dist/runtime/components/ui/select/SelectContent.vue.d.ts +1 -3
  151. package/dist/runtime/components/ui/select/SelectTrigger.d.vue.ts +1 -3
  152. package/dist/runtime/components/ui/select/SelectTrigger.vue.d.ts +1 -3
  153. package/dist/runtime/components/ui/separator/Separator.d.vue.ts +1 -4
  154. package/dist/runtime/components/ui/separator/Separator.vue.d.ts +1 -4
  155. package/dist/runtime/components/ui/sheet/Sheet.d.vue.ts +4 -1
  156. package/dist/runtime/components/ui/sheet/Sheet.vue.d.ts +4 -1
  157. package/dist/runtime/components/ui/sheet/SheetContent.d.vue.ts +1 -3
  158. package/dist/runtime/components/ui/sheet/SheetContent.vue.d.ts +1 -3
  159. package/dist/runtime/components/ui/sidebar/Sidebar.d.vue.ts +1 -5
  160. package/dist/runtime/components/ui/sidebar/Sidebar.vue.d.ts +1 -5
  161. package/dist/runtime/components/ui/sidebar/SidebarMenuAction.d.vue.ts +1 -3
  162. package/dist/runtime/components/ui/sidebar/SidebarMenuAction.vue.d.ts +1 -3
  163. package/dist/runtime/components/ui/sidebar/SidebarMenuButton.d.vue.ts +1 -5
  164. package/dist/runtime/components/ui/sidebar/SidebarMenuButton.vue.d.ts +1 -5
  165. package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.d.vue.ts +1 -5
  166. package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.vue.d.ts +1 -5
  167. package/dist/runtime/components/ui/sidebar/SidebarMenuSubButton.d.vue.ts +1 -4
  168. package/dist/runtime/components/ui/sidebar/SidebarMenuSubButton.vue.d.ts +1 -4
  169. package/dist/runtime/components/ui/sidebar/SidebarProvider.d.vue.ts +1 -4
  170. package/dist/runtime/components/ui/sidebar/SidebarProvider.vue.d.ts +1 -4
  171. package/dist/runtime/components/ui/stepper/Stepper.d.vue.ts +13 -1
  172. package/dist/runtime/components/ui/stepper/Stepper.vue.d.ts +13 -1
  173. package/dist/runtime/components/ui/stepper/StepperDescription.d.vue.ts +1 -1
  174. package/dist/runtime/components/ui/stepper/StepperDescription.vue.d.ts +1 -1
  175. package/dist/runtime/components/ui/stepper/StepperIndicator.d.vue.ts +3 -1
  176. package/dist/runtime/components/ui/stepper/StepperIndicator.vue.d.ts +3 -1
  177. package/dist/runtime/components/ui/stepper/StepperItem.d.vue.ts +3 -1
  178. package/dist/runtime/components/ui/stepper/StepperItem.vue.d.ts +3 -1
  179. package/dist/runtime/components/ui/switch/Switch.d.vue.ts +3 -1
  180. package/dist/runtime/components/ui/switch/Switch.vue.d.ts +3 -1
  181. package/dist/runtime/components/ui/table/TableEmpty.d.vue.ts +1 -3
  182. package/dist/runtime/components/ui/table/TableEmpty.vue.d.ts +1 -3
  183. package/dist/runtime/components/ui/tabs/Tabs.d.vue.ts +3 -1
  184. package/dist/runtime/components/ui/tabs/Tabs.vue.d.ts +3 -1
  185. package/dist/runtime/components/ui/tags-input/TagsInput.d.vue.ts +3 -1
  186. package/dist/runtime/components/ui/tags-input/TagsInput.vue.d.ts +3 -1
  187. package/dist/runtime/components/ui/toggle/Toggle.d.vue.ts +7 -6
  188. package/dist/runtime/components/ui/toggle/Toggle.vue.d.ts +7 -6
  189. package/dist/runtime/components/ui/toggle-group/ToggleGroup.d.vue.ts +4 -4
  190. package/dist/runtime/components/ui/toggle-group/ToggleGroup.vue.d.ts +4 -4
  191. package/dist/runtime/components/ui/toggle-group/ToggleGroupItem.d.vue.ts +6 -1
  192. package/dist/runtime/components/ui/toggle-group/ToggleGroupItem.vue.d.ts +6 -1
  193. package/dist/runtime/components/ui/tooltip/Tooltip.d.vue.ts +3 -1
  194. package/dist/runtime/components/ui/tooltip/Tooltip.vue.d.ts +3 -1
  195. package/dist/runtime/components/ui/tooltip/TooltipContent.d.vue.ts +1 -3
  196. package/dist/runtime/components/ui/tooltip/TooltipContent.vue.d.ts +1 -3
  197. package/dist/runtime/components/ui/tooltip/TooltipProvider.d.vue.ts +1 -3
  198. package/dist/runtime/components/ui/tooltip/TooltipProvider.vue.d.ts +1 -3
  199. package/dist/runtime/composables/useBreadcumbs.d.ts +1 -1
  200. package/dist/runtime/i18n/i18n.config.d.ts +0 -10
  201. package/package.json +28 -25
@@ -5,11 +5,11 @@ import {
5
5
  BreadcrumbLink,
6
6
  BreadcrumbList,
7
7
  BreadcrumbPage,
8
- BreadcrumbSeparator,
9
- } from '../ui/breadcrumb';
10
- import { useBreadcumbs } from '../../composables/useBreadcumbs';
8
+ BreadcrumbSeparator
9
+ } from '../ui/breadcrumb'
10
+ import { useBreadcumbs } from '../../composables/useBreadcumbs'
11
11
 
12
- const { breadcrumbs } = useBreadcumbs();
12
+ const { breadcrumbs } = useBreadcumbs()
13
13
  </script>
14
14
 
15
15
  <template>
@@ -26,7 +26,7 @@ const { breadcrumbs } = useBreadcumbs();
26
26
  </BreadcrumbItem>
27
27
  <BreadcrumbSeparator
28
28
  v-if="index < breadcrumbs.length - 1"
29
- class="hidden md:block"
29
+ class="md:block hidden"
30
30
  />
31
31
  </template>
32
32
  </BreadcrumbList>
@@ -1,21 +1,21 @@
1
1
  <script setup lang="ts">
2
- import { useColorMode } from '#imports';
3
- import { Button } from '../ui/button';
2
+ import { useColorMode } from '#imports'
3
+ import { Button } from '../ui/button'
4
4
  import {
5
5
  DropdownMenu,
6
6
  DropdownMenuContent,
7
7
  DropdownMenuItem,
8
- DropdownMenuTrigger,
9
- } from '../ui/dropdown-menu';
8
+ DropdownMenuTrigger
9
+ } from '../ui/dropdown-menu'
10
10
  import {
11
11
  Tooltip,
12
12
  TooltipContent,
13
13
  TooltipProvider,
14
- TooltipTrigger,
15
- } from '../ui/tooltip';
16
- import { Check } from 'lucide-vue-next';
14
+ TooltipTrigger
15
+ } from '../ui/tooltip'
16
+ import { Check } from 'lucide-vue-next'
17
17
 
18
- const colorMode = useColorMode();
18
+ const colorMode = useColorMode()
19
19
  </script>
20
20
 
21
21
  <template>
@@ -27,11 +27,11 @@ const colorMode = useColorMode();
27
27
  <Button variant="outline" size="icon">
28
28
  <Icon
29
29
  name="radix-icons:moon"
30
- class="h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"
30
+ class="h-[1.2rem] w-[1.2rem] scale-100 rotate-0 transition-all dark:scale-0 dark:-rotate-90"
31
31
  />
32
32
  <Icon
33
33
  name="radix-icons:sun"
34
- class="absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100"
34
+ class="absolute h-[1.2rem] w-[1.2rem] scale-0 rotate-90 transition-all dark:scale-100 dark:rotate-0"
35
35
  />
36
36
  <span class="sr-only">Toggle theme</span>
37
37
  </Button>
@@ -1,5 +1,5 @@
1
1
  <template>
2
2
  <div
3
- class="h-10 w-10 border-4 border-accent border-t-primary rounded-full animate-spin"
3
+ class="h-10 w-10 animate-spin rounded-full border-4 border-accent border-t-primary"
4
4
  />
5
5
  </template>
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="h-screen w-full flex justify-center items-center">
2
+ <div class="flex h-screen w-full items-center justify-center">
3
3
  <div role="status" class="flex justify-center">
4
4
  <Loading />
5
5
  <span class="sr-only">Cargando...</span>
@@ -8,5 +8,5 @@
8
8
  </template>
9
9
 
10
10
  <script setup lang="ts">
11
- import Loading from './Loading.vue';
11
+ import Loading from './Loading.vue'
12
12
  </script>
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="h-screen w-full flex justify-center items-center">
2
+ <div class="flex h-screen w-full items-center justify-center">
3
3
  <div role="status" class="flex justify-center">
4
4
  <Empty>
5
5
  <EmptyHeader>
@@ -24,7 +24,7 @@ import {
24
24
  EmptyContent,
25
25
  EmptyHeader,
26
26
  EmptyTitle,
27
- EmptyDescription,
28
- } from '../ui/empty';
29
- import Loading from './Loading.vue';
27
+ EmptyDescription
28
+ } from '../ui/empty'
29
+ import Loading from './Loading.vue'
30
30
  </script>
package/README.md CHANGED
@@ -1,84 +1,67 @@
1
- <!--
2
- Get your module up and running quickly.
3
-
4
- Find and replace all on all files (CMD+SHIFT+F):
5
- - Name: My Module
6
- - Package name: my-module
7
- - Description: My new Nuxt module
8
- -->
9
-
10
- # My Module
1
+ # UNAXT
11
2
 
12
3
  [![npm version][npm-version-src]][npm-version-href]
13
4
  [![npm downloads][npm-downloads-src]][npm-downloads-href]
14
5
  [![License][license-src]][license-href]
15
6
  [![Nuxt][nuxt-src]][nuxt-href]
16
7
 
17
- My new Nuxt module for doing amazing things.
8
+ Este módulo centraliza la configuración base de una aplicación Nuxt: autenticación SSO, componentes UI, auto-importaciones, Tailwind CSS, i18n.
9
+
10
+ Su objetivo es estandarizar y reducir la configuración repetitiva entre proyectos.
18
11
 
19
- - [✨ &nbsp;Release Notes](/CHANGELOG.md)
20
- <!-- - [🏀 Online playground](https://stackblitz.com/github/your-org/my-module?file=playground%2Fapp.vue) -->
21
- <!-- - [📖 &nbsp;Documentation](https://example.com) -->
12
+ ## Instalación
22
13
 
23
- ## Features
14
+ Consultar:
24
15
 
25
- <!-- Highlight some of the features your module provide here -->
26
- - ⛰ &nbsp;Foo
27
- - 🚠 &nbsp;Bar
28
- - 🌲 &nbsp;Baz
16
+ - **Librería frontend - Guía de uso**
29
17
 
30
- ## Quick Setup
18
+ ## Contribución
31
19
 
32
- Install the module to your Nuxt application with one command:
20
+ Consultar:
21
+
22
+ - **Librería frontend - Guía de mantenimiento**
23
+
24
+ <details>
25
+ <summary>Desarrollo local</summary>
33
26
 
34
27
  ```bash
35
- npx nuxi module add my-module
36
- ```
28
+ # Instalar dependencias
29
+ pnpm install
37
30
 
38
- That's it! You can now use My Module in your Nuxt app ✨
31
+ # Preparar playground (compilar modulo, generar tipos)
32
+ pnpm dev:prepare
39
33
 
34
+ # Probar playground
35
+ pnpm dev
36
+ pnpm dev:https
40
37
 
41
- ## Contribution
38
+ # Ejecutar ESLint
39
+ pnpm run lint
42
40
 
43
- <details>
44
- <summary>Local development</summary>
45
-
46
- ```bash
47
- # Install dependencies
48
- npm install
49
-
50
- # Generate type stubs
51
- npm run dev:prepare
52
-
53
- # Develop with the playground
54
- npm run dev
55
-
56
- # Build the playground
57
- npm run dev:build
58
-
59
- # Run ESLint
60
- npm run lint
61
-
62
- # Run Vitest
63
- npm run test
64
- npm run test:watch
65
-
66
- # Release new version
67
- npm run release
68
- ```
41
+ # Ejecutar Vitest
42
+ pnpm run test
43
+ pnpm run test:watch
69
44
 
70
- </details>
45
+ # Preparar release
46
+ pnpm release:prepare:major
47
+ pnpm release:prepare:minor
48
+ pnpm release:prepare:patch
71
49
 
50
+ # Publicar nueva versión
51
+ pnpm release
52
+ ```
53
+
54
+ </details>
72
55
 
73
56
  <!-- Badges -->
74
- [npm-version-src]: https://img.shields.io/npm/v/my-module/latest.svg?style=flat&colorA=020420&colorB=00DC82
75
- [npm-version-href]: https://npmjs.com/package/my-module
57
+ [npm-version-src]: https://img.shields.io/npm/v/una-nuxt-module/latest.svg?style=flat&colorA=020420&colorB=00DC82
58
+ [npm-version-href]: https://npmjs.com/package/una-nuxt-module
76
59
 
77
- [npm-downloads-src]: https://img.shields.io/npm/dm/my-module.svg?style=flat&colorA=020420&colorB=00DC82
78
- [npm-downloads-href]: https://npmjs.com/package/my-module
60
+ [npm-downloads-src]: https://img.shields.io/npm/dm/una-nuxt-module.svg?style=flat&colorA=020420&colorB=00DC82
61
+ [npm-downloads-href]: https://npmjs.com/package/una-nuxt-module
79
62
 
80
- [license-src]: https://img.shields.io/npm/l/my-module.svg?style=flat&colorA=020420&colorB=00DC82
81
- [license-href]: https://npmjs.com/package/my-module
63
+ [license-src]: https://img.shields.io/npm/l/una-nuxt-module.svg?style=flat&colorA=020420&colorB=00DC82
64
+ [license-href]: https://npmjs.com/package/una-nuxt-module
82
65
 
83
- [nuxt-src]: https://img.shields.io/badge/Nuxt-020420?logo=nuxt.js
66
+ [nuxt-src]: https://img.shields.io/badge/Nuxt-18181B?logo=nuxt
84
67
  [nuxt-href]: https://nuxt.com
package/dist/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "una-nuxt-module",
3
- "version": "2.1.53",
3
+ "version": "3.0.1",
4
4
  "configKey": "unaxt",
5
5
  "compatibility": {
6
6
  "nuxt": ">=4.0.0"
package/dist/module.mjs CHANGED
@@ -167,7 +167,7 @@ function addTemplates() {
167
167
  }
168
168
 
169
169
  const name = "una-nuxt-module";
170
- const version = "2.1.53";
170
+ const version = "3.0.1";
171
171
 
172
172
  const module$1 = defineNuxtModule({
173
173
  meta: {
@@ -191,6 +191,22 @@ const module$1 = defineNuxtModule({
191
191
  defaults: {
192
192
  removeLoggers: true
193
193
  }
194
+ },
195
+ "@nuxt/a11y": {
196
+ version: ">=1.0.0-0",
197
+ optional: true,
198
+ defaults: {
199
+ enabled: true,
200
+ defaultHighlight: false,
201
+ logIssues: true
202
+ }
203
+ },
204
+ "@nuxt/hints": {
205
+ version: ">=1.0.0-0",
206
+ optional: false,
207
+ defaults: {
208
+ devtools: true
209
+ }
194
210
  }
195
211
  },
196
212
  async setup(options, nuxt) {
@@ -6,5 +6,5 @@
6
6
  *
7
7
  * Nota: solo se ejecuta una vez, debido a que posteriormente los datos de la sesión estaran sincronizados en Pinia.
8
8
  */
9
- declare const _default: any;
9
+ declare const _default: import("#app").RouteMiddleware;
10
10
  export default _default;
@@ -3,5 +3,5 @@
3
3
  *
4
4
  * Nota: se ejecuta con cada cambio de ruta.
5
5
  */
6
- declare const _default: any;
6
+ declare const _default: import("#app").RouteMiddleware;
7
7
  export default _default;
@@ -8,5 +8,63 @@
8
8
  const { $isAuthenticated, $authData } = useNuxtApp();
9
9
  * ```
10
10
  */
11
- declare const _default: any;
11
+ declare const _default: import("#app").Plugin<{
12
+ /**
13
+ * Método para cerrar la sesión del usuario en WSO2.
14
+ */
15
+ signOut: () => Promise<void>;
16
+ /**
17
+ * Método si el usuario esta autenticado en WSO2.
18
+ */
19
+ isAuthenticated: () => Promise<boolean | undefined>;
20
+ /**
21
+ * Método que retorna la informacion de la sesión del usuario.
22
+ */
23
+ authData: () => Promise<import("@asgardeo/auth-spa").BasicUserInfo | undefined>;
24
+ /**
25
+ * Método que retorna el ID Token decodificado.
26
+ */
27
+ decodedIDToken: () => Promise<import("@asgardeo/auth-spa").DecodedIDTokenPayload | undefined>;
28
+ /**
29
+ * Método que retorna el Access Token del usuario.
30
+ */
31
+ accessToken: () => Promise<string | undefined>;
32
+ /**
33
+ * Método que retorna el ID Token.
34
+ */
35
+ getIDToken: () => Promise<string | undefined>;
36
+ /**
37
+ * Método que retorna los endpoints de OpenId Connect.
38
+ */
39
+ OIDCServiceEndpoints: () => Promise<import("@asgardeo/auth-spa").OIDCEndpoints | undefined>;
40
+ }> & import("#app").ObjectPlugin<{
41
+ /**
42
+ * Método para cerrar la sesión del usuario en WSO2.
43
+ */
44
+ signOut: () => Promise<void>;
45
+ /**
46
+ * Método si el usuario esta autenticado en WSO2.
47
+ */
48
+ isAuthenticated: () => Promise<boolean | undefined>;
49
+ /**
50
+ * Método que retorna la informacion de la sesión del usuario.
51
+ */
52
+ authData: () => Promise<import("@asgardeo/auth-spa").BasicUserInfo | undefined>;
53
+ /**
54
+ * Método que retorna el ID Token decodificado.
55
+ */
56
+ decodedIDToken: () => Promise<import("@asgardeo/auth-spa").DecodedIDTokenPayload | undefined>;
57
+ /**
58
+ * Método que retorna el Access Token del usuario.
59
+ */
60
+ accessToken: () => Promise<string | undefined>;
61
+ /**
62
+ * Método que retorna el ID Token.
63
+ */
64
+ getIDToken: () => Promise<string | undefined>;
65
+ /**
66
+ * Método que retorna los endpoints de OpenId Connect.
67
+ */
68
+ OIDCServiceEndpoints: () => Promise<import("@asgardeo/auth-spa").OIDCEndpoints | undefined>;
69
+ }>;
12
70
  export default _default;
@@ -1,6 +1,8 @@
1
1
  import type { AccordionRootProps } from "reka-ui";
2
2
  type __VLS_Props = AccordionRootProps;
3
- declare var __VLS_8: any;
3
+ declare var __VLS_8: {
4
+ modelValue: import("reka-ui").AcceptableValue | import("reka-ui").AcceptableValue[] | undefined;
5
+ };
4
6
  type __VLS_Slots = {} & {
5
7
  default?: (props: typeof __VLS_8) => any;
6
8
  };
@@ -1,6 +1,8 @@
1
1
  import type { AccordionRootProps } from "reka-ui";
2
2
  type __VLS_Props = AccordionRootProps;
3
- declare var __VLS_8: any;
3
+ declare var __VLS_8: {
4
+ modelValue: import("reka-ui").AcceptableValue | import("reka-ui").AcceptableValue[] | undefined;
5
+ };
4
6
  type __VLS_Slots = {} & {
5
7
  default?: (props: typeof __VLS_8) => any;
6
8
  };
@@ -3,7 +3,9 @@ import type { HTMLAttributes } from "vue";
3
3
  type __VLS_Props = AccordionItemProps & {
4
4
  class?: HTMLAttributes["class"];
5
5
  };
6
- declare var __VLS_8: any;
6
+ declare var __VLS_8: {
7
+ open: boolean;
8
+ };
7
9
  type __VLS_Slots = {} & {
8
10
  default?: (props: typeof __VLS_8) => any;
9
11
  };
@@ -3,7 +3,9 @@ import type { HTMLAttributes } from "vue";
3
3
  type __VLS_Props = AccordionItemProps & {
4
4
  class?: HTMLAttributes["class"];
5
5
  };
6
- declare var __VLS_8: any;
6
+ declare var __VLS_8: {
7
+ open: boolean;
8
+ };
7
9
  type __VLS_Slots = {} & {
8
10
  default?: (props: typeof __VLS_8) => any;
9
11
  };
@@ -1,5 +1,8 @@
1
1
  import type { AlertDialogProps } from "reka-ui";
2
- declare var __VLS_8: any;
2
+ declare var __VLS_8: {
3
+ open: boolean;
4
+ close: () => void;
5
+ };
3
6
  type __VLS_Slots = {} & {
4
7
  default?: (props: typeof __VLS_8) => any;
5
8
  };
@@ -1,5 +1,8 @@
1
1
  import type { AlertDialogProps } from "reka-ui";
2
- declare var __VLS_8: any;
2
+ declare var __VLS_8: {
3
+ open: boolean;
4
+ close: () => void;
5
+ };
3
6
  type __VLS_Slots = {} & {
4
7
  default?: (props: typeof __VLS_8) => any;
5
8
  };
@@ -1,5 +1,7 @@
1
1
  import type { AspectRatioProps } from "reka-ui";
2
- declare var __VLS_8: any;
2
+ declare var __VLS_8: {
3
+ aspect: number;
4
+ };
3
5
  type __VLS_Slots = {} & {
4
6
  default?: (props: typeof __VLS_8) => any;
5
7
  };
@@ -1,5 +1,7 @@
1
1
  import type { AspectRatioProps } from "reka-ui";
2
- declare var __VLS_8: any;
2
+ declare var __VLS_8: {
3
+ aspect: number;
4
+ };
3
5
  type __VLS_Slots = {} & {
4
6
  default?: (props: typeof __VLS_8) => any;
5
7
  };
@@ -7,9 +7,7 @@ declare var __VLS_8: {};
7
7
  type __VLS_Slots = {} & {
8
8
  default?: (props: typeof __VLS_8) => any;
9
9
  };
10
- declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
11
- as: import("reka-ui").AsTag | import("vue").Component;
12
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
11
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
12
  declare const _default: typeof __VLS_export;
15
13
  export default _default;
@@ -7,9 +7,7 @@ declare var __VLS_8: {};
7
7
  type __VLS_Slots = {} & {
8
8
  default?: (props: typeof __VLS_8) => any;
9
9
  };
10
- declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
11
- as: import("reka-ui").AsTag | import("vue").Component;
12
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
11
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
12
  declare const _default: typeof __VLS_export;
15
13
  export default _default;
@@ -10,9 +10,7 @@ declare var __VLS_8: {};
10
10
  type __VLS_Slots = {} & {
11
11
  default?: (props: typeof __VLS_8) => any;
12
12
  };
13
- declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
14
- as: import("reka-ui").AsTag | import("vue").Component;
15
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
14
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
17
15
  declare const _default: typeof __VLS_export;
18
16
  export default _default;
@@ -10,9 +10,7 @@ declare var __VLS_8: {};
10
10
  type __VLS_Slots = {} & {
11
11
  default?: (props: typeof __VLS_8) => any;
12
12
  };
13
- declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
14
- as: import("reka-ui").AsTag | import("vue").Component;
15
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
14
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
17
15
  declare const _default: typeof __VLS_export;
18
16
  export default _default;
@@ -1,7 +1,7 @@
1
1
  import type { VariantProps } from "class-variance-authority";
2
2
  export { default as Button } from "./Button.vue.js";
3
3
  export declare const buttonVariants: (props?: ({
4
- variant?: "default" | "link" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
4
+ variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
5
5
  size?: "default" | "icon" | "sm" | "lg" | "icon-sm" | "icon-lg" | null | undefined;
6
6
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
7
  export type ButtonVariants = VariantProps<typeof buttonVariants>;
@@ -3,8 +3,6 @@ import type { HTMLAttributes } from "vue";
3
3
  type __VLS_Props = SeparatorProps & {
4
4
  class?: HTMLAttributes["class"];
5
5
  };
6
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
7
- orientation: "vertical" | "horizontal";
8
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
7
  declare const _default: typeof __VLS_export;
10
8
  export default _default;
@@ -3,8 +3,6 @@ import type { HTMLAttributes } from "vue";
3
3
  type __VLS_Props = SeparatorProps & {
4
4
  class?: HTMLAttributes["class"];
5
5
  };
6
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
7
- orientation: "vertical" | "horizontal";
8
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
7
  declare const _default: typeof __VLS_export;
10
8
  export default _default;
@@ -9,9 +9,7 @@ declare var __VLS_8: {};
9
9
  type __VLS_Slots = {} & {
10
10
  default?: (props: typeof __VLS_8) => any;
11
11
  };
12
- declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
13
- as: import("reka-ui").AsTag | import("vue").Component;
14
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
13
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
16
14
  declare const _default: typeof __VLS_export;
17
15
  export default _default;
@@ -9,9 +9,7 @@ declare var __VLS_8: {};
9
9
  type __VLS_Slots = {} & {
10
10
  default?: (props: typeof __VLS_8) => any;
11
11
  };
12
- declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
13
- as: import("reka-ui").AsTag | import("vue").Component;
14
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
13
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
16
14
  declare const _default: typeof __VLS_export;
17
15
  export default _default;
@@ -7,9 +7,13 @@ type __VLS_Props = CalendarRootProps & {
7
7
  yearRange?: DateValue[];
8
8
  };
9
9
  declare var __VLS_59: {}, __VLS_67: {}, __VLS_69: {
10
- date: any;
11
- month: any;
12
- year: any;
10
+ date: DateValue;
11
+ month: import("@vueuse/core").ReuseTemplateComponent<{
12
+ date: DateValue;
13
+ }, Record<"default", undefined>>;
14
+ year: import("@vueuse/core").ReuseTemplateComponent<{
15
+ date: DateValue;
16
+ }, Record<"default", undefined>>;
13
17
  };
14
18
  type __VLS_Slots = {} & {
15
19
  'calendar-prev-icon'?: (props: typeof __VLS_59) => any;
@@ -24,10 +28,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
24
28
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
25
29
  "onUpdate:modelValue"?: ((date: DateValue | undefined) => any) | undefined;
26
30
  "onUpdate:placeholder"?: ((date: DateValue) => any) | undefined;
27
- }>, {
28
- modelValue: DateValue | DateValue[];
29
- layout: "month-and-year" | "month-only" | "year-only";
30
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
32
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
32
33
  declare const _default: typeof __VLS_export;
33
34
  export default _default;
@@ -7,9 +7,13 @@ type __VLS_Props = CalendarRootProps & {
7
7
  yearRange?: DateValue[];
8
8
  };
9
9
  declare var __VLS_59: {}, __VLS_67: {}, __VLS_69: {
10
- date: any;
11
- month: any;
12
- year: any;
10
+ date: DateValue;
11
+ month: import("@vueuse/core").ReuseTemplateComponent<{
12
+ date: DateValue;
13
+ }, Record<"default", undefined>>;
14
+ year: import("@vueuse/core").ReuseTemplateComponent<{
15
+ date: DateValue;
16
+ }, Record<"default", undefined>>;
13
17
  };
14
18
  type __VLS_Slots = {} & {
15
19
  'calendar-prev-icon'?: (props: typeof __VLS_59) => any;
@@ -24,10 +28,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
24
28
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
25
29
  "onUpdate:modelValue"?: ((date: DateValue | undefined) => any) | undefined;
26
30
  "onUpdate:placeholder"?: ((date: DateValue) => any) | undefined;
27
- }>, {
28
- modelValue: DateValue | DateValue[];
29
- layout: "month-and-year" | "month-only" | "year-only";
30
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
32
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
32
33
  declare const _default: typeof __VLS_export;
33
34
  export default _default;
@@ -7,9 +7,7 @@ declare var __VLS_8: {};
7
7
  type __VLS_Slots = {} & {
8
8
  default?: (props: typeof __VLS_8) => any;
9
9
  };
10
- declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
11
- as: import("reka-ui").AsTag | import("vue").Component;
12
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
11
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
12
  declare const _default: typeof __VLS_export;
15
13
  export default _default;
@@ -7,9 +7,7 @@ declare var __VLS_8: {};
7
7
  type __VLS_Slots = {} & {
8
8
  default?: (props: typeof __VLS_8) => any;
9
9
  };
10
- declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
11
- as: import("reka-ui").AsTag | import("vue").Component;
12
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
11
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
12
  declare const _default: typeof __VLS_export;
15
13
  export default _default;