una-nuxt-module 2.1.2 → 2.1.3

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 (772) hide show
  1. package/.nuxt/unaxt/accordion.ts +4 -0
  2. package/.nuxt/unaxt/alert-dialog.ts +9 -0
  3. package/.nuxt/unaxt/alert.ts +23 -0
  4. package/.nuxt/unaxt/aspect-ratio.ts +1 -0
  5. package/.nuxt/unaxt/auto-form.ts +15 -0
  6. package/.nuxt/unaxt/avatar.ts +3 -0
  7. package/.nuxt/unaxt/badge.ts +25 -0
  8. package/.nuxt/unaxt/breadcrumb.ts +7 -0
  9. package/.nuxt/unaxt/calendar.ts +12 -0
  10. package/.nuxt/unaxt/card.ts +7 -0
  11. package/.nuxt/unaxt/carousel.ts +10 -0
  12. package/.nuxt/unaxt/checkbox.ts +1 -0
  13. package/.nuxt/unaxt/collapsible.ts +3 -0
  14. package/.nuxt/unaxt/combobox.ts +12 -0
  15. package/.nuxt/unaxt/command.ts +25 -0
  16. package/.nuxt/unaxt/context-menu.ts +14 -0
  17. package/.nuxt/unaxt/dialog.ts +10 -0
  18. package/.nuxt/unaxt/drawer.ts +9 -0
  19. package/.nuxt/unaxt/dropdown-menu.ts +16 -0
  20. package/.nuxt/unaxt/form.ts +7 -0
  21. package/.nuxt/unaxt/hover-card.ts +3 -0
  22. package/.nuxt/unaxt/input.ts +1 -0
  23. package/.nuxt/unaxt/label.ts +1 -0
  24. package/.nuxt/unaxt/menubar.ts +15 -0
  25. package/.nuxt/unaxt/navigation-menu.ts +14 -0
  26. package/.nuxt/unaxt/number-field.ts +5 -0
  27. package/.nuxt/unaxt/pagination.ts +8 -0
  28. package/.nuxt/unaxt/pin-input.ts +4 -0
  29. package/.nuxt/unaxt/popover.ts +4 -0
  30. package/.nuxt/unaxt/progress.ts +1 -0
  31. package/.nuxt/unaxt/radio-group.ts +2 -0
  32. package/.nuxt/unaxt/range-calendar.ts +12 -0
  33. package/.nuxt/unaxt/resizable.ts +3 -0
  34. package/.nuxt/unaxt/scroll-area.ts +2 -0
  35. package/.nuxt/unaxt/select.ts +11 -0
  36. package/.nuxt/unaxt/separator.ts +1 -0
  37. package/.nuxt/unaxt/sheet.ts +8 -0
  38. package/.nuxt/unaxt/sidebar.ts +60 -0
  39. package/.nuxt/unaxt/skeleton.ts +1 -0
  40. package/.nuxt/unaxt/slider.ts +1 -0
  41. package/.nuxt/unaxt/sonner.ts +1 -0
  42. package/.nuxt/unaxt/stepper.ts +7 -0
  43. package/.nuxt/unaxt/switch.ts +1 -0
  44. package/.nuxt/unaxt/table.ts +9 -0
  45. package/.nuxt/unaxt/tabs.ts +4 -0
  46. package/.nuxt/unaxt/tags-input.ts +5 -0
  47. package/.nuxt/unaxt/textarea.ts +1 -0
  48. package/.nuxt/unaxt/toggle-group.ts +2 -0
  49. package/.nuxt/unaxt/toggle.ts +27 -0
  50. package/.nuxt/unaxt/tooltip.ts +4 -0
  51. package/dist/module.json +1 -1
  52. package/dist/module.mjs +1 -1
  53. package/dist/runtime/components/ui/accordion/Accordion.vue +26 -0
  54. package/dist/runtime/components/ui/accordion/Accordion.vue.d.ts +26 -0
  55. package/dist/runtime/components/ui/accordion/AccordionContent.vue +24 -0
  56. package/dist/runtime/components/ui/accordion/AccordionContent.vue.d.ts +31 -0
  57. package/dist/runtime/components/ui/accordion/AccordionItem.vue +28 -0
  58. package/dist/runtime/components/ui/accordion/AccordionItem.vue.d.ts +31 -0
  59. package/dist/runtime/components/ui/accordion/AccordionTrigger.vue +37 -0
  60. package/dist/runtime/components/ui/accordion/AccordionTrigger.vue.d.ts +32 -0
  61. package/dist/runtime/components/ui/accordion/index.d.ts +4 -0
  62. package/dist/runtime/components/ui/accordion/index.js +4 -0
  63. package/dist/runtime/components/ui/alert/Alert.vue +18 -0
  64. package/dist/runtime/components/ui/alert/Alert.vue.d.ts +33 -0
  65. package/dist/runtime/components/ui/alert/AlertDescription.vue +20 -0
  66. package/dist/runtime/components/ui/alert/AlertDescription.vue.d.ts +30 -0
  67. package/dist/runtime/components/ui/alert/AlertTitle.vue +20 -0
  68. package/dist/runtime/components/ui/alert/AlertTitle.vue.d.ts +30 -0
  69. package/dist/runtime/components/ui/alert/index.d.ts +8 -0
  70. package/dist/runtime/components/ui/alert/index.js +18 -0
  71. package/dist/runtime/components/ui/alert-dialog/AlertDialog.vue +15 -0
  72. package/dist/runtime/components/ui/alert-dialog/AlertDialog.vue.d.ts +26 -0
  73. package/dist/runtime/components/ui/alert-dialog/AlertDialogAction.vue +21 -0
  74. package/dist/runtime/components/ui/alert-dialog/AlertDialogAction.vue.d.ts +31 -0
  75. package/dist/runtime/components/ui/alert-dialog/AlertDialogCancel.vue +23 -0
  76. package/dist/runtime/components/ui/alert-dialog/AlertDialogCancel.vue.d.ts +31 -0
  77. package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.vue +42 -0
  78. package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.vue.d.ts +29 -0
  79. package/dist/runtime/components/ui/alert-dialog/AlertDialogDescription.vue +23 -0
  80. package/dist/runtime/components/ui/alert-dialog/AlertDialogDescription.vue.d.ts +31 -0
  81. package/dist/runtime/components/ui/alert-dialog/AlertDialogFooter.vue +17 -0
  82. package/dist/runtime/components/ui/alert-dialog/AlertDialogFooter.vue.d.ts +30 -0
  83. package/dist/runtime/components/ui/alert-dialog/AlertDialogHeader.vue +15 -0
  84. package/dist/runtime/components/ui/alert-dialog/AlertDialogHeader.vue.d.ts +30 -0
  85. package/dist/runtime/components/ui/alert-dialog/AlertDialogTitle.vue +21 -0
  86. package/dist/runtime/components/ui/alert-dialog/AlertDialogTitle.vue.d.ts +31 -0
  87. package/dist/runtime/components/ui/alert-dialog/AlertDialogTrigger.vue +13 -0
  88. package/dist/runtime/components/ui/alert-dialog/AlertDialogTrigger.vue.d.ts +26 -0
  89. package/dist/runtime/components/ui/alert-dialog/index.d.ts +9 -0
  90. package/dist/runtime/components/ui/alert-dialog/index.js +9 -0
  91. package/dist/runtime/components/ui/aspect-ratio/AspectRatio.vue +17 -0
  92. package/dist/runtime/components/ui/aspect-ratio/AspectRatio.vue.d.ts +26 -0
  93. package/dist/runtime/components/ui/aspect-ratio/index.d.ts +1 -0
  94. package/dist/runtime/components/ui/aspect-ratio/index.js +1 -0
  95. package/dist/runtime/components/ui/auto-form/AutoForm.vue +90 -0
  96. package/dist/runtime/components/ui/auto-form/AutoForm.vue.d.ts +35 -0
  97. package/dist/runtime/components/ui/auto-form/AutoFormField.vue +35 -0
  98. package/dist/runtime/components/ui/auto-form/AutoFormField.vue.d.ts +23 -0
  99. package/dist/runtime/components/ui/auto-form/AutoFormFieldArray.vue +92 -0
  100. package/dist/runtime/components/ui/auto-form/AutoFormFieldArray.vue.d.ts +0 -0
  101. package/dist/runtime/components/ui/auto-form/AutoFormFieldBoolean.vue +44 -0
  102. package/dist/runtime/components/ui/auto-form/AutoFormFieldBoolean.vue.d.ts +26 -0
  103. package/dist/runtime/components/ui/auto-form/AutoFormFieldDate.vue +82 -0
  104. package/dist/runtime/components/ui/auto-form/AutoFormFieldDate.vue.d.ts +26 -0
  105. package/dist/runtime/components/ui/auto-form/AutoFormFieldEnum.vue +52 -0
  106. package/dist/runtime/components/ui/auto-form/AutoFormFieldEnum.vue.d.ts +30 -0
  107. package/dist/runtime/components/ui/auto-form/AutoFormFieldFile.vue +77 -0
  108. package/dist/runtime/components/ui/auto-form/AutoFormFieldFile.vue.d.ts +26 -0
  109. package/dist/runtime/components/ui/auto-form/AutoFormFieldInput.vue +40 -0
  110. package/dist/runtime/components/ui/auto-form/AutoFormFieldInput.vue.d.ts +26 -0
  111. package/dist/runtime/components/ui/auto-form/AutoFormFieldNumber.vue +35 -0
  112. package/dist/runtime/components/ui/auto-form/AutoFormFieldNumber.vue.d.ts +26 -0
  113. package/dist/runtime/components/ui/auto-form/AutoFormFieldObject.vue +69 -0
  114. package/dist/runtime/components/ui/auto-form/AutoFormFieldObject.vue.d.ts +0 -0
  115. package/dist/runtime/components/ui/auto-form/AutoFormLabel.vue +13 -0
  116. package/dist/runtime/components/ui/auto-form/AutoFormLabel.vue.d.ts +29 -0
  117. package/dist/runtime/components/ui/auto-form/constant.d.ts +9 -0
  118. package/dist/runtime/components/ui/auto-form/constant.js +31 -0
  119. package/dist/runtime/components/ui/auto-form/dependencies.d.ts +33 -0
  120. package/dist/runtime/components/ui/auto-form/dependencies.js +70 -0
  121. package/dist/runtime/components/ui/auto-form/index.d.ts +13 -0
  122. package/dist/runtime/components/ui/auto-form/index.js +12 -0
  123. package/dist/runtime/components/ui/auto-form/interface.d.ts +67 -0
  124. package/dist/runtime/components/ui/auto-form/interface.js +7 -0
  125. package/dist/runtime/components/ui/auto-form/utils.d.ts +48 -0
  126. package/dist/runtime/components/ui/auto-form/utils.js +103 -0
  127. package/dist/runtime/components/ui/avatar/Avatar.vue +21 -0
  128. package/dist/runtime/components/ui/avatar/Avatar.vue.d.ts +30 -0
  129. package/dist/runtime/components/ui/avatar/AvatarFallback.vue +27 -0
  130. package/dist/runtime/components/ui/avatar/AvatarFallback.vue.d.ts +31 -0
  131. package/dist/runtime/components/ui/avatar/AvatarImage.vue +20 -0
  132. package/dist/runtime/components/ui/avatar/AvatarImage.vue.d.ts +26 -0
  133. package/dist/runtime/components/ui/avatar/index.d.ts +3 -0
  134. package/dist/runtime/components/ui/avatar/index.js +3 -0
  135. package/dist/runtime/components/ui/badge/Badge.vue +23 -0
  136. package/dist/runtime/components/ui/badge/Badge.vue.d.ts +34 -0
  137. package/dist/runtime/components/ui/badge/index.d.ts +6 -0
  138. package/dist/runtime/components/ui/badge/index.js +18 -0
  139. package/dist/runtime/components/ui/breadcrumb/Breadcrumb.vue +15 -0
  140. package/dist/runtime/components/ui/breadcrumb/Breadcrumb.vue.d.ts +30 -0
  141. package/dist/runtime/components/ui/breadcrumb/BreadcrumbEllipsis.vue +21 -0
  142. package/dist/runtime/components/ui/breadcrumb/BreadcrumbEllipsis.vue.d.ts +30 -0
  143. package/dist/runtime/components/ui/breadcrumb/BreadcrumbItem.vue +15 -0
  144. package/dist/runtime/components/ui/breadcrumb/BreadcrumbItem.vue.d.ts +30 -0
  145. package/dist/runtime/components/ui/breadcrumb/BreadcrumbLink.vue +20 -0
  146. package/dist/runtime/components/ui/breadcrumb/BreadcrumbLink.vue.d.ts +45 -0
  147. package/dist/runtime/components/ui/breadcrumb/BreadcrumbList.vue +20 -0
  148. package/dist/runtime/components/ui/breadcrumb/BreadcrumbList.vue.d.ts +30 -0
  149. package/dist/runtime/components/ui/breadcrumb/BreadcrumbPage.vue +18 -0
  150. package/dist/runtime/components/ui/breadcrumb/BreadcrumbPage.vue.d.ts +30 -0
  151. package/dist/runtime/components/ui/breadcrumb/BreadcrumbSeparator.vue +20 -0
  152. package/dist/runtime/components/ui/breadcrumb/BreadcrumbSeparator.vue.d.ts +30 -0
  153. package/dist/runtime/components/ui/breadcrumb/index.d.ts +7 -0
  154. package/dist/runtime/components/ui/breadcrumb/index.js +7 -0
  155. package/dist/runtime/components/ui/calendar/Calendar.vue +98 -0
  156. package/dist/runtime/components/ui/calendar/Calendar.vue.d.ts +15 -0
  157. package/dist/runtime/components/ui/calendar/CalendarCell.vue +28 -0
  158. package/dist/runtime/components/ui/calendar/CalendarCell.vue.d.ts +31 -0
  159. package/dist/runtime/components/ui/calendar/CalendarCellTrigger.vue +43 -0
  160. package/dist/runtime/components/ui/calendar/CalendarCellTrigger.vue.d.ts +45 -0
  161. package/dist/runtime/components/ui/calendar/CalendarGrid.vue +22 -0
  162. package/dist/runtime/components/ui/calendar/CalendarGrid.vue.d.ts +31 -0
  163. package/dist/runtime/components/ui/calendar/CalendarGridBody.vue +16 -0
  164. package/dist/runtime/components/ui/calendar/CalendarGridBody.vue.d.ts +26 -0
  165. package/dist/runtime/components/ui/calendar/CalendarGridHead.vue +17 -0
  166. package/dist/runtime/components/ui/calendar/CalendarGridHead.vue.d.ts +31 -0
  167. package/dist/runtime/components/ui/calendar/CalendarGridRow.vue +25 -0
  168. package/dist/runtime/components/ui/calendar/CalendarGridRow.vue.d.ts +31 -0
  169. package/dist/runtime/components/ui/calendar/CalendarHeadCell.vue +30 -0
  170. package/dist/runtime/components/ui/calendar/CalendarHeadCell.vue.d.ts +31 -0
  171. package/dist/runtime/components/ui/calendar/CalendarHeader.vue +27 -0
  172. package/dist/runtime/components/ui/calendar/CalendarHeader.vue.d.ts +31 -0
  173. package/dist/runtime/components/ui/calendar/CalendarHeading.vue +29 -0
  174. package/dist/runtime/components/ui/calendar/CalendarHeading.vue.d.ts +37 -0
  175. package/dist/runtime/components/ui/calendar/CalendarNextButton.vue +34 -0
  176. package/dist/runtime/components/ui/calendar/CalendarNextButton.vue.d.ts +31 -0
  177. package/dist/runtime/components/ui/calendar/CalendarPrevButton.vue +34 -0
  178. package/dist/runtime/components/ui/calendar/CalendarPrevButton.vue.d.ts +31 -0
  179. package/dist/runtime/components/ui/calendar/index.d.ts +12 -0
  180. package/dist/runtime/components/ui/calendar/index.js +12 -0
  181. package/dist/runtime/components/ui/card/Card.vue +20 -0
  182. package/dist/runtime/components/ui/card/Card.vue.d.ts +30 -0
  183. package/dist/runtime/components/ui/card/CardAction.vue +20 -0
  184. package/dist/runtime/components/ui/card/CardAction.vue.d.ts +30 -0
  185. package/dist/runtime/components/ui/card/CardContent.vue +12 -0
  186. package/dist/runtime/components/ui/card/CardContent.vue.d.ts +30 -0
  187. package/dist/runtime/components/ui/card/CardDescription.vue +15 -0
  188. package/dist/runtime/components/ui/card/CardDescription.vue.d.ts +30 -0
  189. package/dist/runtime/components/ui/card/CardFooter.vue +15 -0
  190. package/dist/runtime/components/ui/card/CardFooter.vue.d.ts +30 -0
  191. package/dist/runtime/components/ui/card/CardHeader.vue +20 -0
  192. package/dist/runtime/components/ui/card/CardHeader.vue.d.ts +30 -0
  193. package/dist/runtime/components/ui/card/CardTitle.vue +15 -0
  194. package/dist/runtime/components/ui/card/CardTitle.vue.d.ts +30 -0
  195. package/dist/runtime/components/ui/card/index.d.ts +7 -0
  196. package/dist/runtime/components/ui/card/index.js +7 -0
  197. package/dist/runtime/components/ui/carousel/Carousel.vue +63 -0
  198. package/dist/runtime/components/ui/carousel/Carousel.vue.d.ts +0 -0
  199. package/dist/runtime/components/ui/carousel/CarouselContent.vue +28 -0
  200. package/dist/runtime/components/ui/carousel/CarouselContent.vue.d.ts +28 -0
  201. package/dist/runtime/components/ui/carousel/CarouselItem.vue +25 -0
  202. package/dist/runtime/components/ui/carousel/CarouselItem.vue.d.ts +26 -0
  203. package/dist/runtime/components/ui/carousel/CarouselNext.vue +36 -0
  204. package/dist/runtime/components/ui/carousel/CarouselNext.vue.d.ts +50 -0
  205. package/dist/runtime/components/ui/carousel/CarouselPrevious.vue +36 -0
  206. package/dist/runtime/components/ui/carousel/CarouselPrevious.vue.d.ts +50 -0
  207. package/dist/runtime/components/ui/carousel/index.d.ts +7 -0
  208. package/dist/runtime/components/ui/carousel/index.js +6 -0
  209. package/dist/runtime/components/ui/carousel/interface.d.ts +20 -0
  210. package/dist/runtime/components/ui/carousel/interface.js +0 -0
  211. package/dist/runtime/components/ui/carousel/useCarousel.d.ts +0 -0
  212. package/dist/runtime/components/ui/carousel/useCarousel.js +43 -0
  213. package/dist/runtime/components/ui/checkbox/Checkbox.vue +43 -0
  214. package/dist/runtime/components/ui/checkbox/Checkbox.vue.d.ts +29 -0
  215. package/dist/runtime/components/ui/checkbox/index.d.ts +1 -0
  216. package/dist/runtime/components/ui/checkbox/index.js +1 -0
  217. package/dist/runtime/components/ui/collapsible/Collapsible.vue +23 -0
  218. package/dist/runtime/components/ui/collapsible/Collapsible.vue.d.ts +28 -0
  219. package/dist/runtime/components/ui/collapsible/CollapsibleContent.vue +17 -0
  220. package/dist/runtime/components/ui/collapsible/CollapsibleContent.vue.d.ts +26 -0
  221. package/dist/runtime/components/ui/collapsible/CollapsibleTrigger.vue +16 -0
  222. package/dist/runtime/components/ui/collapsible/CollapsibleTrigger.vue.d.ts +26 -0
  223. package/dist/runtime/components/ui/collapsible/index.d.ts +3 -0
  224. package/dist/runtime/components/ui/collapsible/index.js +3 -0
  225. package/dist/runtime/components/ui/combobox/Combobox.vue +32 -0
  226. package/dist/runtime/components/ui/combobox/Combobox.vue.d.ts +26 -0
  227. package/dist/runtime/components/ui/combobox/ComboboxAnchor.vue +23 -0
  228. package/dist/runtime/components/ui/combobox/ComboboxAnchor.vue.d.ts +31 -0
  229. package/dist/runtime/components/ui/combobox/ComboboxEmpty.vue +21 -0
  230. package/dist/runtime/components/ui/combobox/ComboboxEmpty.vue.d.ts +31 -0
  231. package/dist/runtime/components/ui/combobox/ComboboxGroup.vue +28 -0
  232. package/dist/runtime/components/ui/combobox/ComboboxGroup.vue.d.ts +33 -0
  233. package/dist/runtime/components/ui/combobox/ComboboxInput.vue +45 -0
  234. package/dist/runtime/components/ui/combobox/ComboboxInput.vue.d.ts +29 -0
  235. package/dist/runtime/components/ui/combobox/ComboboxItem.vue +31 -0
  236. package/dist/runtime/components/ui/combobox/ComboboxItem.vue.d.ts +29 -0
  237. package/dist/runtime/components/ui/combobox/ComboboxItemIndicator.vue +22 -0
  238. package/dist/runtime/components/ui/combobox/ComboboxItemIndicator.vue.d.ts +31 -0
  239. package/dist/runtime/components/ui/combobox/ComboboxList.vue +49 -0
  240. package/dist/runtime/components/ui/combobox/ComboboxList.vue.d.ts +45 -0
  241. package/dist/runtime/components/ui/combobox/ComboboxSeparator.vue +21 -0
  242. package/dist/runtime/components/ui/combobox/ComboboxSeparator.vue.d.ts +31 -0
  243. package/dist/runtime/components/ui/combobox/ComboboxTrigger.vue +24 -0
  244. package/dist/runtime/components/ui/combobox/ComboboxTrigger.vue.d.ts +31 -0
  245. package/dist/runtime/components/ui/combobox/ComboboxViewport.vue +28 -0
  246. package/dist/runtime/components/ui/combobox/ComboboxViewport.vue.d.ts +31 -0
  247. package/dist/runtime/components/ui/combobox/index.d.ts +11 -0
  248. package/dist/runtime/components/ui/combobox/index.js +11 -0
  249. package/dist/runtime/components/ui/command/Command.vue +91 -0
  250. package/dist/runtime/components/ui/command/Command.vue.d.ts +41 -0
  251. package/dist/runtime/components/ui/command/CommandDialog.vue +28 -0
  252. package/dist/runtime/components/ui/command/CommandDialog.vue.d.ts +43 -0
  253. package/dist/runtime/components/ui/command/CommandEmpty.vue +28 -0
  254. package/dist/runtime/components/ui/command/CommandEmpty.vue.d.ts +31 -0
  255. package/dist/runtime/components/ui/command/CommandGroup.vue +44 -0
  256. package/dist/runtime/components/ui/command/CommandGroup.vue.d.ts +33 -0
  257. package/dist/runtime/components/ui/command/CommandInput.vue +45 -0
  258. package/dist/runtime/components/ui/command/CommandInput.vue.d.ts +17 -0
  259. package/dist/runtime/components/ui/command/CommandItem.vue +79 -0
  260. package/dist/runtime/components/ui/command/CommandItem.vue.d.ts +31 -0
  261. package/dist/runtime/components/ui/command/CommandList.vue +29 -0
  262. package/dist/runtime/components/ui/command/CommandList.vue.d.ts +31 -0
  263. package/dist/runtime/components/ui/command/CommandSeparator.vue +23 -0
  264. package/dist/runtime/components/ui/command/CommandSeparator.vue.d.ts +31 -0
  265. package/dist/runtime/components/ui/command/CommandShortcut.vue +17 -0
  266. package/dist/runtime/components/ui/command/CommandShortcut.vue.d.ts +30 -0
  267. package/dist/runtime/components/ui/command/index.d.ts +90 -0
  268. package/dist/runtime/components/ui/command/index.js +12 -0
  269. package/dist/runtime/components/ui/context-menu/ContextMenu.vue +18 -0
  270. package/dist/runtime/components/ui/context-menu/ContextMenu.vue.d.ts +26 -0
  271. package/dist/runtime/components/ui/context-menu/ContextMenuCheckboxItem.vue +43 -0
  272. package/dist/runtime/components/ui/context-menu/ContextMenuCheckboxItem.vue.d.ts +29 -0
  273. package/dist/runtime/components/ui/context-menu/ContextMenuContent.vue +46 -0
  274. package/dist/runtime/components/ui/context-menu/ContextMenuContent.vue.d.ts +29 -0
  275. package/dist/runtime/components/ui/context-menu/ContextMenuGroup.vue +16 -0
  276. package/dist/runtime/components/ui/context-menu/ContextMenuGroup.vue.d.ts +26 -0
  277. package/dist/runtime/components/ui/context-menu/ContextMenuItem.vue +37 -0
  278. package/dist/runtime/components/ui/context-menu/ContextMenuItem.vue.d.ts +43 -0
  279. package/dist/runtime/components/ui/context-menu/ContextMenuLabel.vue +28 -0
  280. package/dist/runtime/components/ui/context-menu/ContextMenuLabel.vue.d.ts +33 -0
  281. package/dist/runtime/components/ui/context-menu/ContextMenuPortal.vue +18 -0
  282. package/dist/runtime/components/ui/context-menu/ContextMenuPortal.vue.d.ts +26 -0
  283. package/dist/runtime/components/ui/context-menu/ContextMenuRadioGroup.vue +22 -0
  284. package/dist/runtime/components/ui/context-menu/ContextMenuRadioGroup.vue.d.ts +26 -0
  285. package/dist/runtime/components/ui/context-menu/ContextMenuRadioItem.vue +43 -0
  286. package/dist/runtime/components/ui/context-menu/ContextMenuRadioItem.vue.d.ts +29 -0
  287. package/dist/runtime/components/ui/context-menu/ContextMenuSeparator.vue +19 -0
  288. package/dist/runtime/components/ui/context-menu/ContextMenuSeparator.vue.d.ts +17 -0
  289. package/dist/runtime/components/ui/context-menu/ContextMenuShortcut.vue +17 -0
  290. package/dist/runtime/components/ui/context-menu/ContextMenuShortcut.vue.d.ts +30 -0
  291. package/dist/runtime/components/ui/context-menu/ContextMenuSub.vue +21 -0
  292. package/dist/runtime/components/ui/context-menu/ContextMenuSub.vue.d.ts +26 -0
  293. package/dist/runtime/components/ui/context-menu/ContextMenuSubContent.vue +46 -0
  294. package/dist/runtime/components/ui/context-menu/ContextMenuSubContent.vue.d.ts +29 -0
  295. package/dist/runtime/components/ui/context-menu/ContextMenuSubTrigger.vue +36 -0
  296. package/dist/runtime/components/ui/context-menu/ContextMenuSubTrigger.vue.d.ts +33 -0
  297. package/dist/runtime/components/ui/context-menu/ContextMenuTrigger.vue +18 -0
  298. package/dist/runtime/components/ui/context-menu/ContextMenuTrigger.vue.d.ts +26 -0
  299. package/dist/runtime/components/ui/context-menu/index.d.ts +14 -0
  300. package/dist/runtime/components/ui/context-menu/index.js +14 -0
  301. package/dist/runtime/components/ui/dialog/Dialog.vue +19 -0
  302. package/dist/runtime/components/ui/dialog/Dialog.vue.d.ts +26 -0
  303. package/dist/runtime/components/ui/dialog/DialogClose.vue +16 -0
  304. package/dist/runtime/components/ui/dialog/DialogClose.vue.d.ts +26 -0
  305. package/dist/runtime/components/ui/dialog/DialogContent.vue +48 -0
  306. package/dist/runtime/components/ui/dialog/DialogContent.vue.d.ts +29 -0
  307. package/dist/runtime/components/ui/dialog/DialogDescription.vue +25 -0
  308. package/dist/runtime/components/ui/dialog/DialogDescription.vue.d.ts +31 -0
  309. package/dist/runtime/components/ui/dialog/DialogFooter.vue +17 -0
  310. package/dist/runtime/components/ui/dialog/DialogFooter.vue.d.ts +30 -0
  311. package/dist/runtime/components/ui/dialog/DialogHeader.vue +15 -0
  312. package/dist/runtime/components/ui/dialog/DialogHeader.vue.d.ts +30 -0
  313. package/dist/runtime/components/ui/dialog/DialogOverlay.vue +27 -0
  314. package/dist/runtime/components/ui/dialog/DialogOverlay.vue.d.ts +31 -0
  315. package/dist/runtime/components/ui/dialog/DialogScrollContent.vue +57 -0
  316. package/dist/runtime/components/ui/dialog/DialogScrollContent.vue.d.ts +29 -0
  317. package/dist/runtime/components/ui/dialog/DialogTitle.vue +22 -0
  318. package/dist/runtime/components/ui/dialog/DialogTitle.vue.d.ts +31 -0
  319. package/dist/runtime/components/ui/dialog/DialogTrigger.vue +16 -0
  320. package/dist/runtime/components/ui/dialog/DialogTrigger.vue.d.ts +26 -0
  321. package/dist/runtime/components/ui/dialog/index.d.ts +10 -0
  322. package/dist/runtime/components/ui/dialog/index.js +10 -0
  323. package/dist/runtime/components/ui/drawer/Drawer.vue +34 -0
  324. package/dist/runtime/components/ui/drawer/Drawer.vue.d.ts +38 -0
  325. package/dist/runtime/components/ui/drawer/DrawerClose.vue +16 -0
  326. package/dist/runtime/components/ui/drawer/DrawerClose.vue.d.ts +26 -0
  327. package/dist/runtime/components/ui/drawer/DrawerContent.vue +41 -0
  328. package/dist/runtime/components/ui/drawer/DrawerContent.vue.d.ts +29 -0
  329. package/dist/runtime/components/ui/drawer/DrawerDescription.vue +21 -0
  330. package/dist/runtime/components/ui/drawer/DrawerDescription.vue.d.ts +31 -0
  331. package/dist/runtime/components/ui/drawer/DrawerFooter.vue +15 -0
  332. package/dist/runtime/components/ui/drawer/DrawerFooter.vue.d.ts +30 -0
  333. package/dist/runtime/components/ui/drawer/DrawerHeader.vue +15 -0
  334. package/dist/runtime/components/ui/drawer/DrawerHeader.vue.d.ts +30 -0
  335. package/dist/runtime/components/ui/drawer/DrawerOverlay.vue +25 -0
  336. package/dist/runtime/components/ui/drawer/DrawerOverlay.vue.d.ts +17 -0
  337. package/dist/runtime/components/ui/drawer/DrawerTitle.vue +21 -0
  338. package/dist/runtime/components/ui/drawer/DrawerTitle.vue.d.ts +31 -0
  339. package/dist/runtime/components/ui/drawer/DrawerTrigger.vue +16 -0
  340. package/dist/runtime/components/ui/drawer/DrawerTrigger.vue.d.ts +26 -0
  341. package/dist/runtime/components/ui/drawer/index.d.ts +9 -0
  342. package/dist/runtime/components/ui/drawer/index.js +9 -0
  343. package/dist/runtime/components/ui/dropdown-menu/DropdownMenu.vue +20 -0
  344. package/dist/runtime/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +26 -0
  345. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue +43 -0
  346. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +29 -0
  347. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.vue +51 -0
  348. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +41 -0
  349. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuGroup.vue +16 -0
  350. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +26 -0
  351. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.vue +36 -0
  352. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +49 -0
  353. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuLabel.vue +29 -0
  354. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +33 -0
  355. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue +22 -0
  356. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +26 -0
  357. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioItem.vue +43 -0
  358. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +29 -0
  359. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSeparator.vue +21 -0
  360. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +17 -0
  361. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuShortcut.vue +17 -0
  362. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts +30 -0
  363. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSub.vue +18 -0
  364. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +26 -0
  365. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.vue +46 -0
  366. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +29 -0
  367. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue +35 -0
  368. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +33 -0
  369. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuTrigger.vue +18 -0
  370. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +26 -0
  371. package/dist/runtime/components/ui/dropdown-menu/index.d.ts +15 -0
  372. package/dist/runtime/components/ui/dropdown-menu/index.js +15 -0
  373. package/dist/runtime/components/ui/form/FormControl.vue +16 -0
  374. package/dist/runtime/components/ui/form/FormControl.vue.d.ts +16 -0
  375. package/dist/runtime/components/ui/form/FormDescription.vue +18 -0
  376. package/dist/runtime/components/ui/form/FormDescription.vue.d.ts +30 -0
  377. package/dist/runtime/components/ui/form/FormItem.vue +17 -0
  378. package/dist/runtime/components/ui/form/FormItem.vue.d.ts +30 -0
  379. package/dist/runtime/components/ui/form/FormLabel.vue +23 -0
  380. package/dist/runtime/components/ui/form/FormLabel.vue.d.ts +31 -0
  381. package/dist/runtime/components/ui/form/FormMessage.vue +20 -0
  382. package/dist/runtime/components/ui/form/FormMessage.vue.d.ts +16 -0
  383. package/dist/runtime/components/ui/form/index.d.ts +7 -0
  384. package/dist/runtime/components/ui/form/index.js +7 -0
  385. package/dist/runtime/components/ui/form/injectionKeys.d.ts +2 -0
  386. package/dist/runtime/components/ui/form/injectionKeys.js +1 -0
  387. package/dist/runtime/components/ui/form/useFormField.d.ts +11 -0
  388. package/dist/runtime/components/ui/form/useFormField.js +25 -0
  389. package/dist/runtime/components/ui/hover-card/HoverCard.vue +20 -0
  390. package/dist/runtime/components/ui/hover-card/HoverCard.vue.d.ts +26 -0
  391. package/dist/runtime/components/ui/hover-card/HoverCardContent.vue +49 -0
  392. package/dist/runtime/components/ui/hover-card/HoverCardContent.vue.d.ts +45 -0
  393. package/dist/runtime/components/ui/hover-card/HoverCardTrigger.vue +17 -0
  394. package/dist/runtime/components/ui/hover-card/HoverCardTrigger.vue.d.ts +26 -0
  395. package/dist/runtime/components/ui/hover-card/index.d.ts +3 -0
  396. package/dist/runtime/components/ui/hover-card/index.js +3 -0
  397. package/dist/runtime/components/ui/input/Input.vue +29 -0
  398. package/dist/runtime/components/ui/input/Input.vue.d.ts +16 -0
  399. package/dist/runtime/components/ui/input/index.d.ts +1 -0
  400. package/dist/runtime/components/ui/input/index.js +1 -0
  401. package/dist/runtime/components/ui/label/Label.vue +27 -0
  402. package/dist/runtime/components/ui/label/Label.vue.d.ts +31 -0
  403. package/dist/runtime/components/ui/label/index.d.ts +1 -0
  404. package/dist/runtime/components/ui/label/index.js +1 -0
  405. package/dist/runtime/components/ui/menubar/Menubar.vue +33 -0
  406. package/dist/runtime/components/ui/menubar/Menubar.vue.d.ts +29 -0
  407. package/dist/runtime/components/ui/menubar/MenubarCheckboxItem.vue +43 -0
  408. package/dist/runtime/components/ui/menubar/MenubarCheckboxItem.vue.d.ts +29 -0
  409. package/dist/runtime/components/ui/menubar/MenubarContent.vue +50 -0
  410. package/dist/runtime/components/ui/menubar/MenubarContent.vue.d.ts +51 -0
  411. package/dist/runtime/components/ui/menubar/MenubarGroup.vue +16 -0
  412. package/dist/runtime/components/ui/menubar/MenubarGroup.vue.d.ts +26 -0
  413. package/dist/runtime/components/ui/menubar/MenubarItem.vue +37 -0
  414. package/dist/runtime/components/ui/menubar/MenubarItem.vue.d.ts +31 -0
  415. package/dist/runtime/components/ui/menubar/MenubarLabel.vue +24 -0
  416. package/dist/runtime/components/ui/menubar/MenubarLabel.vue.d.ts +33 -0
  417. package/dist/runtime/components/ui/menubar/MenubarMenu.vue +15 -0
  418. package/dist/runtime/components/ui/menubar/MenubarMenu.vue.d.ts +26 -0
  419. package/dist/runtime/components/ui/menubar/MenubarRadioGroup.vue +22 -0
  420. package/dist/runtime/components/ui/menubar/MenubarRadioGroup.vue.d.ts +26 -0
  421. package/dist/runtime/components/ui/menubar/MenubarRadioItem.vue +43 -0
  422. package/dist/runtime/components/ui/menubar/MenubarRadioItem.vue.d.ts +29 -0
  423. package/dist/runtime/components/ui/menubar/MenubarSeparator.vue +23 -0
  424. package/dist/runtime/components/ui/menubar/MenubarSeparator.vue.d.ts +17 -0
  425. package/dist/runtime/components/ui/menubar/MenubarShortcut.vue +17 -0
  426. package/dist/runtime/components/ui/menubar/MenubarShortcut.vue.d.ts +30 -0
  427. package/dist/runtime/components/ui/menubar/MenubarSub.vue +18 -0
  428. package/dist/runtime/components/ui/menubar/MenubarSub.vue.d.ts +29 -0
  429. package/dist/runtime/components/ui/menubar/MenubarSubContent.vue +49 -0
  430. package/dist/runtime/components/ui/menubar/MenubarSubContent.vue.d.ts +29 -0
  431. package/dist/runtime/components/ui/menubar/MenubarSubTrigger.vue +36 -0
  432. package/dist/runtime/components/ui/menubar/MenubarSubTrigger.vue.d.ts +33 -0
  433. package/dist/runtime/components/ui/menubar/MenubarTrigger.vue +31 -0
  434. package/dist/runtime/components/ui/menubar/MenubarTrigger.vue.d.ts +31 -0
  435. package/dist/runtime/components/ui/menubar/index.d.ts +15 -0
  436. package/dist/runtime/components/ui/menubar/index.js +15 -0
  437. package/dist/runtime/components/ui/navigation-menu/NavigationMenu.vue +45 -0
  438. package/dist/runtime/components/ui/navigation-menu/NavigationMenu.vue.d.ts +42 -0
  439. package/dist/runtime/components/ui/navigation-menu/NavigationMenuContent.vue +34 -0
  440. package/dist/runtime/components/ui/navigation-menu/NavigationMenuContent.vue.d.ts +29 -0
  441. package/dist/runtime/components/ui/navigation-menu/NavigationMenuIndicator.vue +33 -0
  442. package/dist/runtime/components/ui/navigation-menu/NavigationMenuIndicator.vue.d.ts +17 -0
  443. package/dist/runtime/components/ui/navigation-menu/NavigationMenuItem.vue +22 -0
  444. package/dist/runtime/components/ui/navigation-menu/NavigationMenuItem.vue.d.ts +31 -0
  445. package/dist/runtime/components/ui/navigation-menu/NavigationMenuLink.vue +32 -0
  446. package/dist/runtime/components/ui/navigation-menu/NavigationMenuLink.vue.d.ts +29 -0
  447. package/dist/runtime/components/ui/navigation-menu/NavigationMenuList.vue +30 -0
  448. package/dist/runtime/components/ui/navigation-menu/NavigationMenuList.vue.d.ts +31 -0
  449. package/dist/runtime/components/ui/navigation-menu/NavigationMenuTrigger.vue +32 -0
  450. package/dist/runtime/components/ui/navigation-menu/NavigationMenuTrigger.vue.d.ts +31 -0
  451. package/dist/runtime/components/ui/navigation-menu/NavigationMenuViewport.vue +32 -0
  452. package/dist/runtime/components/ui/navigation-menu/NavigationMenuViewport.vue.d.ts +17 -0
  453. package/dist/runtime/components/ui/navigation-menu/index.d.ts +9 -0
  454. package/dist/runtime/components/ui/navigation-menu/index.js +12 -0
  455. package/dist/runtime/components/ui/number-field/NumberField.vue +33 -0
  456. package/dist/runtime/components/ui/number-field/NumberField.vue.d.ts +29 -0
  457. package/dist/runtime/components/ui/number-field/NumberFieldContent.vue +19 -0
  458. package/dist/runtime/components/ui/number-field/NumberFieldContent.vue.d.ts +30 -0
  459. package/dist/runtime/components/ui/number-field/NumberFieldDecrement.vue +31 -0
  460. package/dist/runtime/components/ui/number-field/NumberFieldDecrement.vue.d.ts +31 -0
  461. package/dist/runtime/components/ui/number-field/NumberFieldIncrement.vue +31 -0
  462. package/dist/runtime/components/ui/number-field/NumberFieldIncrement.vue.d.ts +31 -0
  463. package/dist/runtime/components/ui/number-field/NumberFieldInput.vue +19 -0
  464. package/dist/runtime/components/ui/number-field/NumberFieldInput.vue.d.ts +16 -0
  465. package/dist/runtime/components/ui/number-field/index.d.ts +5 -0
  466. package/dist/runtime/components/ui/number-field/index.js +5 -0
  467. package/dist/runtime/components/ui/pagination/Pagination.vue +34 -0
  468. package/dist/runtime/components/ui/pagination/Pagination.vue.d.ts +29 -0
  469. package/dist/runtime/components/ui/pagination/PaginationContent.vue +22 -0
  470. package/dist/runtime/components/ui/pagination/PaginationContent.vue.d.ts +31 -0
  471. package/dist/runtime/components/ui/pagination/PaginationEllipsis.vue +25 -0
  472. package/dist/runtime/components/ui/pagination/PaginationEllipsis.vue.d.ts +31 -0
  473. package/dist/runtime/components/ui/pagination/PaginationFirst.vue +36 -0
  474. package/dist/runtime/components/ui/pagination/PaginationFirst.vue.d.ts +48 -0
  475. package/dist/runtime/components/ui/pagination/PaginationItem.vue +35 -0
  476. package/dist/runtime/components/ui/pagination/PaginationItem.vue.d.ts +50 -0
  477. package/dist/runtime/components/ui/pagination/PaginationLast.vue +36 -0
  478. package/dist/runtime/components/ui/pagination/PaginationLast.vue.d.ts +48 -0
  479. package/dist/runtime/components/ui/pagination/PaginationNext.vue +36 -0
  480. package/dist/runtime/components/ui/pagination/PaginationNext.vue.d.ts +48 -0
  481. package/dist/runtime/components/ui/pagination/PaginationPrevious.vue +36 -0
  482. package/dist/runtime/components/ui/pagination/PaginationPrevious.vue.d.ts +48 -0
  483. package/dist/runtime/components/ui/pagination/index.d.ts +8 -0
  484. package/dist/runtime/components/ui/pagination/index.js +8 -0
  485. package/dist/runtime/components/ui/pin-input/PinInput.vue +42 -0
  486. package/dist/runtime/components/ui/pin-input/PinInput.vue.d.ts +41 -0
  487. package/dist/runtime/components/ui/pin-input/PinInputGroup.vue +22 -0
  488. package/dist/runtime/components/ui/pin-input/PinInputGroup.vue.d.ts +31 -0
  489. package/dist/runtime/components/ui/pin-input/PinInputSeparator.vue +20 -0
  490. package/dist/runtime/components/ui/pin-input/PinInputSeparator.vue.d.ts +26 -0
  491. package/dist/runtime/components/ui/pin-input/PinInputSlot.vue +30 -0
  492. package/dist/runtime/components/ui/pin-input/PinInputSlot.vue.d.ts +17 -0
  493. package/dist/runtime/components/ui/pin-input/index.d.ts +4 -0
  494. package/dist/runtime/components/ui/pin-input/index.js +4 -0
  495. package/dist/runtime/components/ui/popover/Popover.vue +19 -0
  496. package/dist/runtime/components/ui/popover/Popover.vue.d.ts +26 -0
  497. package/dist/runtime/components/ui/popover/PopoverAnchor.vue +17 -0
  498. package/dist/runtime/components/ui/popover/PopoverAnchor.vue.d.ts +26 -0
  499. package/dist/runtime/components/ui/popover/PopoverContent.vue +54 -0
  500. package/dist/runtime/components/ui/popover/PopoverContent.vue.d.ts +43 -0
  501. package/dist/runtime/components/ui/popover/PopoverTrigger.vue +16 -0
  502. package/dist/runtime/components/ui/popover/PopoverTrigger.vue.d.ts +26 -0
  503. package/dist/runtime/components/ui/popover/index.d.ts +4 -0
  504. package/dist/runtime/components/ui/popover/index.js +4 -0
  505. package/dist/runtime/components/ui/progress/Progress.vue +37 -0
  506. package/dist/runtime/components/ui/progress/Progress.vue.d.ts +31 -0
  507. package/dist/runtime/components/ui/progress/index.d.ts +1 -0
  508. package/dist/runtime/components/ui/progress/index.js +1 -0
  509. package/dist/runtime/components/ui/radio-group/RadioGroup.vue +34 -0
  510. package/dist/runtime/components/ui/radio-group/RadioGroup.vue.d.ts +29 -0
  511. package/dist/runtime/components/ui/radio-group/RadioGroupItem.vue +40 -0
  512. package/dist/runtime/components/ui/radio-group/RadioGroupItem.vue.d.ts +17 -0
  513. package/dist/runtime/components/ui/radio-group/index.d.ts +2 -0
  514. package/dist/runtime/components/ui/radio-group/index.js +2 -0
  515. package/dist/runtime/components/ui/range-calendar/RangeCalendar.vue +101 -0
  516. package/dist/runtime/components/ui/range-calendar/RangeCalendar.vue.d.ts +15 -0
  517. package/dist/runtime/components/ui/range-calendar/RangeCalendarCell.vue +31 -0
  518. package/dist/runtime/components/ui/range-calendar/RangeCalendarCell.vue.d.ts +31 -0
  519. package/dist/runtime/components/ui/range-calendar/RangeCalendarCellTrigger.vue +45 -0
  520. package/dist/runtime/components/ui/range-calendar/RangeCalendarCellTrigger.vue.d.ts +45 -0
  521. package/dist/runtime/components/ui/range-calendar/RangeCalendarGrid.vue +25 -0
  522. package/dist/runtime/components/ui/range-calendar/RangeCalendarGrid.vue.d.ts +31 -0
  523. package/dist/runtime/components/ui/range-calendar/RangeCalendarGridBody.vue +16 -0
  524. package/dist/runtime/components/ui/range-calendar/RangeCalendarGridBody.vue.d.ts +26 -0
  525. package/dist/runtime/components/ui/range-calendar/RangeCalendarGridHead.vue +16 -0
  526. package/dist/runtime/components/ui/range-calendar/RangeCalendarGridHead.vue.d.ts +26 -0
  527. package/dist/runtime/components/ui/range-calendar/RangeCalendarGridRow.vue +25 -0
  528. package/dist/runtime/components/ui/range-calendar/RangeCalendarGridRow.vue.d.ts +31 -0
  529. package/dist/runtime/components/ui/range-calendar/RangeCalendarHeadCell.vue +30 -0
  530. package/dist/runtime/components/ui/range-calendar/RangeCalendarHeadCell.vue.d.ts +31 -0
  531. package/dist/runtime/components/ui/range-calendar/RangeCalendarHeader.vue +27 -0
  532. package/dist/runtime/components/ui/range-calendar/RangeCalendarHeader.vue.d.ts +31 -0
  533. package/dist/runtime/components/ui/range-calendar/RangeCalendarHeading.vue +29 -0
  534. package/dist/runtime/components/ui/range-calendar/RangeCalendarHeading.vue.d.ts +37 -0
  535. package/dist/runtime/components/ui/range-calendar/RangeCalendarNextButton.vue +37 -0
  536. package/dist/runtime/components/ui/range-calendar/RangeCalendarNextButton.vue.d.ts +31 -0
  537. package/dist/runtime/components/ui/range-calendar/RangeCalendarPrevButton.vue +37 -0
  538. package/dist/runtime/components/ui/range-calendar/RangeCalendarPrevButton.vue.d.ts +31 -0
  539. package/dist/runtime/components/ui/range-calendar/index.d.ts +12 -0
  540. package/dist/runtime/components/ui/range-calendar/index.js +12 -0
  541. package/dist/runtime/components/ui/resizable/ResizableHandle.vue +43 -0
  542. package/dist/runtime/components/ui/resizable/ResizableHandle.vue.d.ts +16 -0
  543. package/dist/runtime/components/ui/resizable/ResizablePanel.vue +25 -0
  544. package/dist/runtime/components/ui/resizable/ResizablePanel.vue.d.ts +26 -0
  545. package/dist/runtime/components/ui/resizable/ResizablePanelGroup.vue +33 -0
  546. package/dist/runtime/components/ui/resizable/ResizablePanelGroup.vue.d.ts +29 -0
  547. package/dist/runtime/components/ui/resizable/index.d.ts +3 -0
  548. package/dist/runtime/components/ui/resizable/index.js +3 -0
  549. package/dist/runtime/components/ui/scroll-area/ScrollArea.vue +36 -0
  550. package/dist/runtime/components/ui/scroll-area/ScrollArea.vue.d.ts +31 -0
  551. package/dist/runtime/components/ui/scroll-area/ScrollBar.vue +36 -0
  552. package/dist/runtime/components/ui/scroll-area/ScrollBar.vue.d.ts +31 -0
  553. package/dist/runtime/components/ui/scroll-area/index.d.ts +2 -0
  554. package/dist/runtime/components/ui/scroll-area/index.js +2 -0
  555. package/dist/runtime/components/ui/select/Select.vue +27 -0
  556. package/dist/runtime/components/ui/select/Select.vue.d.ts +26 -0
  557. package/dist/runtime/components/ui/select/SelectContent.vue +69 -0
  558. package/dist/runtime/components/ui/select/SelectContent.vue.d.ts +41 -0
  559. package/dist/runtime/components/ui/select/SelectGroup.vue +16 -0
  560. package/dist/runtime/components/ui/select/SelectGroup.vue.d.ts +26 -0
  561. package/dist/runtime/components/ui/select/SelectItem.vue +44 -0
  562. package/dist/runtime/components/ui/select/SelectItem.vue.d.ts +31 -0
  563. package/dist/runtime/components/ui/select/SelectItemText.vue +16 -0
  564. package/dist/runtime/components/ui/select/SelectItemText.vue.d.ts +26 -0
  565. package/dist/runtime/components/ui/select/SelectLabel.vue +19 -0
  566. package/dist/runtime/components/ui/select/SelectLabel.vue.d.ts +31 -0
  567. package/dist/runtime/components/ui/select/SelectScrollDownButton.vue +30 -0
  568. package/dist/runtime/components/ui/select/SelectScrollDownButton.vue.d.ts +31 -0
  569. package/dist/runtime/components/ui/select/SelectScrollUpButton.vue +30 -0
  570. package/dist/runtime/components/ui/select/SelectScrollUpButton.vue.d.ts +31 -0
  571. package/dist/runtime/components/ui/select/SelectSeparator.vue +19 -0
  572. package/dist/runtime/components/ui/select/SelectSeparator.vue.d.ts +17 -0
  573. package/dist/runtime/components/ui/select/SelectTrigger.vue +39 -0
  574. package/dist/runtime/components/ui/select/SelectTrigger.vue.d.ts +47 -0
  575. package/dist/runtime/components/ui/select/SelectValue.vue +17 -0
  576. package/dist/runtime/components/ui/select/SelectValue.vue.d.ts +26 -0
  577. package/dist/runtime/components/ui/select/index.d.ts +11 -0
  578. package/dist/runtime/components/ui/select/index.js +11 -0
  579. package/dist/runtime/components/ui/separator/Separator.vue +26 -0
  580. package/dist/runtime/components/ui/separator/Separator.vue.d.ts +34 -0
  581. package/dist/runtime/components/ui/separator/index.d.ts +1 -0
  582. package/dist/runtime/components/ui/separator/index.js +1 -0
  583. package/dist/runtime/components/ui/sheet/Sheet.vue +19 -0
  584. package/dist/runtime/components/ui/sheet/Sheet.vue.d.ts +26 -0
  585. package/dist/runtime/components/ui/sheet/SheetClose.vue +16 -0
  586. package/dist/runtime/components/ui/sheet/SheetClose.vue.d.ts +26 -0
  587. package/dist/runtime/components/ui/sheet/SheetContent.vue +56 -0
  588. package/dist/runtime/components/ui/sheet/SheetContent.vue.d.ts +43 -0
  589. package/dist/runtime/components/ui/sheet/SheetDescription.vue +21 -0
  590. package/dist/runtime/components/ui/sheet/SheetDescription.vue.d.ts +31 -0
  591. package/dist/runtime/components/ui/sheet/SheetFooter.vue +15 -0
  592. package/dist/runtime/components/ui/sheet/SheetFooter.vue.d.ts +30 -0
  593. package/dist/runtime/components/ui/sheet/SheetHeader.vue +15 -0
  594. package/dist/runtime/components/ui/sheet/SheetHeader.vue.d.ts +30 -0
  595. package/dist/runtime/components/ui/sheet/SheetOverlay.vue +27 -0
  596. package/dist/runtime/components/ui/sheet/SheetOverlay.vue.d.ts +31 -0
  597. package/dist/runtime/components/ui/sheet/SheetTitle.vue +21 -0
  598. package/dist/runtime/components/ui/sheet/SheetTitle.vue.d.ts +31 -0
  599. package/dist/runtime/components/ui/sheet/SheetTrigger.vue +16 -0
  600. package/dist/runtime/components/ui/sheet/SheetTrigger.vue.d.ts +26 -0
  601. package/dist/runtime/components/ui/sheet/index.d.ts +8 -0
  602. package/dist/runtime/components/ui/sheet/index.js +8 -0
  603. package/dist/runtime/components/ui/sidebar/Sidebar.vue +101 -0
  604. package/dist/runtime/components/ui/sidebar/Sidebar.vue.d.ts +48 -0
  605. package/dist/runtime/components/ui/sidebar/SidebarContent.vue +21 -0
  606. package/dist/runtime/components/ui/sidebar/SidebarContent.vue.d.ts +30 -0
  607. package/dist/runtime/components/ui/sidebar/SidebarFooter.vue +16 -0
  608. package/dist/runtime/components/ui/sidebar/SidebarFooter.vue.d.ts +30 -0
  609. package/dist/runtime/components/ui/sidebar/SidebarGroup.vue +16 -0
  610. package/dist/runtime/components/ui/sidebar/SidebarGroup.vue.d.ts +30 -0
  611. package/dist/runtime/components/ui/sidebar/SidebarGroupAction.vue +28 -0
  612. package/dist/runtime/components/ui/sidebar/SidebarGroupAction.vue.d.ts +31 -0
  613. package/dist/runtime/components/ui/sidebar/SidebarGroupContent.vue +16 -0
  614. package/dist/runtime/components/ui/sidebar/SidebarGroupContent.vue.d.ts +30 -0
  615. package/dist/runtime/components/ui/sidebar/SidebarGroupLabel.vue +27 -0
  616. package/dist/runtime/components/ui/sidebar/SidebarGroupLabel.vue.d.ts +31 -0
  617. package/dist/runtime/components/ui/sidebar/SidebarHeader.vue +16 -0
  618. package/dist/runtime/components/ui/sidebar/SidebarHeader.vue.d.ts +30 -0
  619. package/dist/runtime/components/ui/sidebar/SidebarInput.vue +17 -0
  620. package/dist/runtime/components/ui/sidebar/SidebarInput.vue.d.ts +30 -0
  621. package/dist/runtime/components/ui/sidebar/SidebarInset.vue +21 -0
  622. package/dist/runtime/components/ui/sidebar/SidebarInset.vue.d.ts +30 -0
  623. package/dist/runtime/components/ui/sidebar/SidebarMenu.vue +16 -0
  624. package/dist/runtime/components/ui/sidebar/SidebarMenu.vue.d.ts +30 -0
  625. package/dist/runtime/components/ui/sidebar/SidebarMenuAction.vue +33 -0
  626. package/dist/runtime/components/ui/sidebar/SidebarMenuAction.vue.d.ts +47 -0
  627. package/dist/runtime/components/ui/sidebar/SidebarMenuBadge.vue +26 -0
  628. package/dist/runtime/components/ui/sidebar/SidebarMenuBadge.vue.d.ts +30 -0
  629. package/dist/runtime/components/ui/sidebar/SidebarMenuButton.vue +44 -0
  630. package/dist/runtime/components/ui/sidebar/SidebarMenuButton.vue.d.ts +52 -0
  631. package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.vue +28 -0
  632. package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.vue.d.ts +54 -0
  633. package/dist/runtime/components/ui/sidebar/SidebarMenuItem.vue +16 -0
  634. package/dist/runtime/components/ui/sidebar/SidebarMenuItem.vue.d.ts +30 -0
  635. package/dist/runtime/components/ui/sidebar/SidebarMenuSkeleton.vue +32 -0
  636. package/dist/runtime/components/ui/sidebar/SidebarMenuSkeleton.vue.d.ts +18 -0
  637. package/dist/runtime/components/ui/sidebar/SidebarMenuSub.vue +22 -0
  638. package/dist/runtime/components/ui/sidebar/SidebarMenuSub.vue.d.ts +30 -0
  639. package/dist/runtime/components/ui/sidebar/SidebarMenuSubButton.vue +34 -0
  640. package/dist/runtime/components/ui/sidebar/SidebarMenuSubButton.vue.d.ts +52 -0
  641. package/dist/runtime/components/ui/sidebar/SidebarMenuSubItem.vue +16 -0
  642. package/dist/runtime/components/ui/sidebar/SidebarMenuSubItem.vue.d.ts +30 -0
  643. package/dist/runtime/components/ui/sidebar/SidebarProvider.vue +73 -0
  644. package/dist/runtime/components/ui/sidebar/SidebarProvider.vue.d.ts +44 -0
  645. package/dist/runtime/components/ui/sidebar/SidebarRail.vue +32 -0
  646. package/dist/runtime/components/ui/sidebar/SidebarRail.vue.d.ts +30 -0
  647. package/dist/runtime/components/ui/sidebar/SidebarSeparator.vue +17 -0
  648. package/dist/runtime/components/ui/sidebar/SidebarSeparator.vue.d.ts +30 -0
  649. package/dist/runtime/components/ui/sidebar/SidebarTrigger.vue +24 -0
  650. package/dist/runtime/components/ui/sidebar/SidebarTrigger.vue.d.ts +16 -0
  651. package/dist/runtime/components/ui/sidebar/index.d.ts +37 -0
  652. package/dist/runtime/components/ui/sidebar/index.js +45 -0
  653. package/dist/runtime/components/ui/sidebar/utils.d.ts +56 -0
  654. package/dist/runtime/components/ui/sidebar/utils.js +8 -0
  655. package/dist/runtime/components/ui/skeleton/Skeleton.vue +13 -0
  656. package/dist/runtime/components/ui/skeleton/Skeleton.vue.d.ts +15 -0
  657. package/dist/runtime/components/ui/skeleton/index.d.ts +1 -0
  658. package/dist/runtime/components/ui/skeleton/index.js +1 -0
  659. package/dist/runtime/components/ui/slider/Slider.vue +63 -0
  660. package/dist/runtime/components/ui/slider/Slider.vue.d.ts +15 -0
  661. package/dist/runtime/components/ui/slider/index.d.ts +1 -0
  662. package/dist/runtime/components/ui/slider/index.js +1 -0
  663. package/dist/runtime/components/ui/sonner/Sonner.vue +36 -0
  664. package/dist/runtime/components/ui/sonner/Sonner.vue.d.ts +12 -0
  665. package/dist/runtime/components/ui/sonner/index.d.ts +1 -0
  666. package/dist/runtime/components/ui/sonner/index.js +1 -0
  667. package/dist/runtime/components/ui/stepper/Stepper.vue +28 -0
  668. package/dist/runtime/components/ui/stepper/Stepper.vue.d.ts +29 -0
  669. package/dist/runtime/components/ui/stepper/StepperDescription.vue +22 -0
  670. package/dist/runtime/components/ui/stepper/StepperDescription.vue.d.ts +31 -0
  671. package/dist/runtime/components/ui/stepper/StepperIndicator.vue +32 -0
  672. package/dist/runtime/components/ui/stepper/StepperIndicator.vue.d.ts +31 -0
  673. package/dist/runtime/components/ui/stepper/StepperItem.vue +30 -0
  674. package/dist/runtime/components/ui/stepper/StepperItem.vue.d.ts +31 -0
  675. package/dist/runtime/components/ui/stepper/StepperSeparator.vue +30 -0
  676. package/dist/runtime/components/ui/stepper/StepperSeparator.vue.d.ts +17 -0
  677. package/dist/runtime/components/ui/stepper/StepperTitle.vue +21 -0
  678. package/dist/runtime/components/ui/stepper/StepperTitle.vue.d.ts +31 -0
  679. package/dist/runtime/components/ui/stepper/StepperTrigger.vue +26 -0
  680. package/dist/runtime/components/ui/stepper/StepperTrigger.vue.d.ts +31 -0
  681. package/dist/runtime/components/ui/stepper/index.d.ts +7 -0
  682. package/dist/runtime/components/ui/stepper/index.js +7 -0
  683. package/dist/runtime/components/ui/switch/Switch.vue +48 -0
  684. package/dist/runtime/components/ui/switch/Switch.vue.d.ts +29 -0
  685. package/dist/runtime/components/ui/switch/index.d.ts +1 -0
  686. package/dist/runtime/components/ui/switch/index.js +1 -0
  687. package/dist/runtime/components/ui/table/Table.vue +17 -0
  688. package/dist/runtime/components/ui/table/Table.vue.d.ts +30 -0
  689. package/dist/runtime/components/ui/table/TableBody.vue +15 -0
  690. package/dist/runtime/components/ui/table/TableBody.vue.d.ts +30 -0
  691. package/dist/runtime/components/ui/table/TableCaption.vue +15 -0
  692. package/dist/runtime/components/ui/table/TableCaption.vue.d.ts +30 -0
  693. package/dist/runtime/components/ui/table/TableCell.vue +20 -0
  694. package/dist/runtime/components/ui/table/TableCell.vue.d.ts +30 -0
  695. package/dist/runtime/components/ui/table/TableEmpty.vue +29 -0
  696. package/dist/runtime/components/ui/table/TableEmpty.vue.d.ts +46 -0
  697. package/dist/runtime/components/ui/table/TableFooter.vue +17 -0
  698. package/dist/runtime/components/ui/table/TableFooter.vue.d.ts +30 -0
  699. package/dist/runtime/components/ui/table/TableHead.vue +20 -0
  700. package/dist/runtime/components/ui/table/TableHead.vue.d.ts +30 -0
  701. package/dist/runtime/components/ui/table/TableHeader.vue +12 -0
  702. package/dist/runtime/components/ui/table/TableHeader.vue.d.ts +30 -0
  703. package/dist/runtime/components/ui/table/TableRow.vue +20 -0
  704. package/dist/runtime/components/ui/table/TableRow.vue.d.ts +30 -0
  705. package/dist/runtime/components/ui/table/index.d.ts +9 -0
  706. package/dist/runtime/components/ui/table/index.js +9 -0
  707. package/dist/runtime/components/ui/table/utils.d.ts +3 -0
  708. package/dist/runtime/components/ui/table/utils.js +3 -0
  709. package/dist/runtime/components/ui/tabs/Tabs.vue +29 -0
  710. package/dist/runtime/components/ui/tabs/Tabs.vue.d.ts +29 -0
  711. package/dist/runtime/components/ui/tabs/TabsContent.vue +23 -0
  712. package/dist/runtime/components/ui/tabs/TabsContent.vue.d.ts +31 -0
  713. package/dist/runtime/components/ui/tabs/TabsList.vue +27 -0
  714. package/dist/runtime/components/ui/tabs/TabsList.vue.d.ts +31 -0
  715. package/dist/runtime/components/ui/tabs/TabsTrigger.vue +29 -0
  716. package/dist/runtime/components/ui/tabs/TabsTrigger.vue.d.ts +31 -0
  717. package/dist/runtime/components/ui/tabs/index.d.ts +4 -0
  718. package/dist/runtime/components/ui/tabs/index.js +4 -0
  719. package/dist/runtime/components/ui/tags-input/TagsInput.vue +45 -0
  720. package/dist/runtime/components/ui/tags-input/TagsInput.vue.d.ts +29 -0
  721. package/dist/runtime/components/ui/tags-input/TagsInputInput.vue +30 -0
  722. package/dist/runtime/components/ui/tags-input/TagsInputInput.vue.d.ts +17 -0
  723. package/dist/runtime/components/ui/tags-input/TagsInputItem.vue +31 -0
  724. package/dist/runtime/components/ui/tags-input/TagsInputItem.vue.d.ts +31 -0
  725. package/dist/runtime/components/ui/tags-input/TagsInputItemDelete.vue +27 -0
  726. package/dist/runtime/components/ui/tags-input/TagsInputItemDelete.vue.d.ts +31 -0
  727. package/dist/runtime/components/ui/tags-input/TagsInputItemText.vue +22 -0
  728. package/dist/runtime/components/ui/tags-input/TagsInputItemText.vue.d.ts +17 -0
  729. package/dist/runtime/components/ui/tags-input/index.d.ts +5 -0
  730. package/dist/runtime/components/ui/tags-input/index.js +5 -0
  731. package/dist/runtime/components/ui/textarea/Textarea.vue +27 -0
  732. package/dist/runtime/components/ui/textarea/Textarea.vue.d.ts +16 -0
  733. package/dist/runtime/components/ui/textarea/index.d.ts +1 -0
  734. package/dist/runtime/components/ui/textarea/index.js +1 -0
  735. package/dist/runtime/components/ui/toggle/Toggle.vue +35 -0
  736. package/dist/runtime/components/ui/toggle/Toggle.vue.d.ts +48 -0
  737. package/dist/runtime/components/ui/toggle/index.d.ts +7 -0
  738. package/dist/runtime/components/ui/toggle/index.js +22 -0
  739. package/dist/runtime/components/ui/toggle-group/ToggleGroup.vue +51 -0
  740. package/dist/runtime/components/ui/toggle-group/ToggleGroup.vue.d.ts +34 -0
  741. package/dist/runtime/components/ui/toggle-group/ToggleGroupItem.vue +44 -0
  742. package/dist/runtime/components/ui/toggle-group/ToggleGroupItem.vue.d.ts +38 -0
  743. package/dist/runtime/components/ui/toggle-group/index.d.ts +2 -0
  744. package/dist/runtime/components/ui/toggle-group/index.js +2 -0
  745. package/dist/runtime/components/ui/tooltip/Tooltip.vue +23 -0
  746. package/dist/runtime/components/ui/tooltip/Tooltip.vue.d.ts +26 -0
  747. package/dist/runtime/components/ui/tooltip/TooltipContent.vue +56 -0
  748. package/dist/runtime/components/ui/tooltip/TooltipContent.vue.d.ts +41 -0
  749. package/dist/runtime/components/ui/tooltip/TooltipProvider.vue +17 -0
  750. package/dist/runtime/components/ui/tooltip/TooltipProvider.vue.d.ts +40 -0
  751. package/dist/runtime/components/ui/tooltip/TooltipTrigger.vue +17 -0
  752. package/dist/runtime/components/ui/tooltip/TooltipTrigger.vue.d.ts +26 -0
  753. package/dist/runtime/components/ui/tooltip/index.d.ts +4 -0
  754. package/dist/runtime/components/ui/tooltip/index.js +4 -0
  755. package/dist/runtime/composables/useAuthorization.d.ts +2 -2
  756. package/dist/runtime/composables/useAuthorization.js +3 -7
  757. package/dist/runtime/composables/useFormState.d.ts +1 -1
  758. package/dist/runtime/composables/useFormState.js +1 -1
  759. package/dist/runtime/composables/useTableState.d.ts +2 -2
  760. package/dist/runtime/composables/useTableState.js +1 -1
  761. package/dist/runtime/i18n/i18n.config.d.ts +0 -5
  762. package/dist/runtime/index.css +1 -1
  763. package/dist/runtime/middleware/authentication.d.ts +1 -1
  764. package/dist/runtime/middleware/authentication.js +3 -1
  765. package/dist/runtime/middleware/authorization.d.ts +1 -1
  766. package/dist/runtime/middleware/authorization.js +4 -6
  767. package/dist/runtime/plugins/auth.d.ts +59 -1
  768. package/dist/runtime/plugins/auth.js +2 -1
  769. package/dist/runtime/plugins/vue-json.d.ts +1 -1
  770. package/dist/runtime/utils/buildSortQuery.d.ts +1 -1
  771. package/dist/runtime/utils/getFromLocalStorage.js +1 -1
  772. package/package.json +8 -2
@@ -0,0 +1,70 @@
1
+ import { createContext } from "reka-ui";
2
+ import { useFieldValue, useFormValues } from "vee-validate";
3
+ import { computed, ref, watch } from "vue";
4
+ import { DependencyType } from "./interface.js";
5
+ import { getFromPath, getIndexIfArray } from "./utils.js";
6
+ export const [injectDependencies, provideDependencies] = createContext("AutoFormDependencies");
7
+ export default function useDependencies(fieldName) {
8
+ const form = useFormValues();
9
+ const currentFieldName = fieldName.replace(/\[\d+\]/g, "");
10
+ const currentFieldValue = useFieldValue(fieldName);
11
+ if (!form)
12
+ throw new Error("useDependencies should be used within <AutoForm>");
13
+ const dependencies = injectDependencies();
14
+ const isDisabled = ref(false);
15
+ const isHidden = ref(false);
16
+ const isRequired = ref(false);
17
+ const overrideOptions = ref();
18
+ const currentFieldDependencies = computed(() => dependencies.value?.filter(
19
+ (dependency) => dependency.targetField === currentFieldName
20
+ ));
21
+ function getSourceValue(dep) {
22
+ const source = dep.sourceField;
23
+ const index = getIndexIfArray(fieldName) ?? -1;
24
+ const [sourceLast, ...sourceInitial] = source.split(".").toReversed();
25
+ const [_targetLast, ...targetInitial] = dep.targetField.split(".").toReversed();
26
+ if (index >= 0 && sourceInitial.join(",") === targetInitial.join(",")) {
27
+ const [_currentLast, ...currentInitial] = fieldName.split(".").toReversed();
28
+ return getFromPath(form.value, currentInitial.join(".") + sourceLast);
29
+ }
30
+ return getFromPath(form.value, source);
31
+ }
32
+ const sourceFieldValues = computed(() => currentFieldDependencies.value?.map((dep) => getSourceValue(dep)));
33
+ const resetConditionState = () => {
34
+ isDisabled.value = false;
35
+ isHidden.value = false;
36
+ isRequired.value = false;
37
+ overrideOptions.value = void 0;
38
+ };
39
+ watch([sourceFieldValues, dependencies], () => {
40
+ resetConditionState();
41
+ currentFieldDependencies.value?.forEach((dep) => {
42
+ const sourceValue = getSourceValue(dep);
43
+ const conditionMet = dep.when(sourceValue, currentFieldValue.value);
44
+ switch (dep.type) {
45
+ case DependencyType.DISABLES:
46
+ if (conditionMet)
47
+ isDisabled.value = true;
48
+ break;
49
+ case DependencyType.REQUIRES:
50
+ if (conditionMet)
51
+ isRequired.value = true;
52
+ break;
53
+ case DependencyType.HIDES:
54
+ if (conditionMet)
55
+ isHidden.value = true;
56
+ break;
57
+ case DependencyType.SETS_OPTIONS:
58
+ if (conditionMet)
59
+ overrideOptions.value = dep.options;
60
+ break;
61
+ }
62
+ });
63
+ }, { immediate: true, deep: true });
64
+ return {
65
+ isDisabled,
66
+ isHidden,
67
+ isRequired,
68
+ overrideOptions
69
+ };
70
+ }
@@ -0,0 +1,13 @@
1
+ export { default as AutoForm } from './AutoForm.vue.js';
2
+ export { default as AutoFormField } from './AutoFormField.vue.js';
3
+ export { default as AutoFormFieldArray } from './AutoFormFieldArray.vue.js';
4
+ export { default as AutoFormFieldBoolean } from './AutoFormFieldBoolean.vue.js';
5
+ export { default as AutoFormFieldDate } from './AutoFormFieldDate.vue.js';
6
+ export { default as AutoFormFieldEnum } from './AutoFormFieldEnum.vue.js';
7
+ export { default as AutoFormFieldFile } from './AutoFormFieldFile.vue.js';
8
+ export { default as AutoFormFieldInput } from './AutoFormFieldInput.vue.js';
9
+ export { default as AutoFormFieldNumber } from './AutoFormFieldNumber.vue.js';
10
+ export { default as AutoFormFieldObject } from './AutoFormFieldObject.vue.js';
11
+ export { default as AutoFormLabel } from './AutoFormLabel.vue.js';
12
+ export type { Config, ConfigItem, FieldProps } from './interface.js';
13
+ export { getBaseSchema, getBaseType, getObjectFormSchema } from './utils.js';
@@ -0,0 +1,12 @@
1
+ export { default as AutoForm } from "./AutoForm.vue";
2
+ export { default as AutoFormField } from "./AutoFormField.vue";
3
+ export { default as AutoFormFieldArray } from "./AutoFormFieldArray.vue";
4
+ export { default as AutoFormFieldBoolean } from "./AutoFormFieldBoolean.vue";
5
+ export { default as AutoFormFieldDate } from "./AutoFormFieldDate.vue";
6
+ export { default as AutoFormFieldEnum } from "./AutoFormFieldEnum.vue";
7
+ export { default as AutoFormFieldFile } from "./AutoFormFieldFile.vue";
8
+ export { default as AutoFormFieldInput } from "./AutoFormFieldInput.vue";
9
+ export { default as AutoFormFieldNumber } from "./AutoFormFieldNumber.vue";
10
+ export { default as AutoFormFieldObject } from "./AutoFormFieldObject.vue";
11
+ export { default as AutoFormLabel } from "./AutoFormLabel.vue";
12
+ export { getBaseSchema, getBaseType, getObjectFormSchema } from "./utils.js";
@@ -0,0 +1,67 @@
1
+ import type { Component, InputHTMLAttributes } from 'vue';
2
+ import type { z, ZodAny } from 'zod';
3
+ import type { INPUT_COMPONENTS } from './constant.js';
4
+ export interface FieldProps {
5
+ fieldName: string;
6
+ label?: string;
7
+ required?: boolean;
8
+ config?: ConfigItem;
9
+ disabled?: boolean;
10
+ }
11
+ export interface Shape {
12
+ type: string;
13
+ default?: any;
14
+ required?: boolean;
15
+ options?: string[];
16
+ schema?: ZodAny;
17
+ }
18
+ export interface InputComponents {
19
+ date: Component;
20
+ select: Component;
21
+ radio: Component;
22
+ checkbox: Component;
23
+ switch: Component;
24
+ textarea: Component;
25
+ number: Component;
26
+ string: Component;
27
+ file: Component;
28
+ array: Component;
29
+ object: Component;
30
+ }
31
+ export interface ConfigItem {
32
+ /** Value for the `FormLabel` */
33
+ label?: string;
34
+ /** Value for the `FormDescription` */
35
+ description?: string;
36
+ /** Pick which component to be rendered. */
37
+ component?: keyof typeof INPUT_COMPONENTS | Component;
38
+ /** Hide `FormLabel`. */
39
+ hideLabel?: boolean;
40
+ inputProps?: InputHTMLAttributes;
41
+ }
42
+ type UnwrapArray<T> = T extends (infer U)[] ? U : never;
43
+ export type Config<SchemaType extends object> = {
44
+ [Key in keyof SchemaType]?: SchemaType[Key] extends any[] ? UnwrapArray<Config<SchemaType[Key]>> : SchemaType[Key] extends object ? Config<SchemaType[Key]> : ConfigItem;
45
+ };
46
+ export declare enum DependencyType {
47
+ DISABLES = 0,
48
+ REQUIRES = 1,
49
+ HIDES = 2,
50
+ SETS_OPTIONS = 3
51
+ }
52
+ interface BaseDependency<SchemaType extends z.infer<z.ZodObject<any, any>>> {
53
+ sourceField: keyof SchemaType;
54
+ type: DependencyType;
55
+ targetField: keyof SchemaType;
56
+ when: (sourceFieldValue: any, targetFieldValue: any) => boolean;
57
+ }
58
+ export type ValueDependency<SchemaType extends z.infer<z.ZodObject<any, any>>> = BaseDependency<SchemaType> & {
59
+ type: DependencyType.DISABLES | DependencyType.REQUIRES | DependencyType.HIDES;
60
+ };
61
+ export type EnumValues = readonly [string, ...string[]];
62
+ export type OptionsDependency<SchemaType extends z.infer<z.ZodObject<any, any>>> = BaseDependency<SchemaType> & {
63
+ type: DependencyType.SETS_OPTIONS;
64
+ options: EnumValues;
65
+ };
66
+ export type Dependency<SchemaType extends z.infer<z.ZodObject<any, any>>> = ValueDependency<SchemaType> | OptionsDependency<SchemaType>;
67
+ export {};
@@ -0,0 +1,7 @@
1
+ export var DependencyType = /* @__PURE__ */ ((DependencyType2) => {
2
+ DependencyType2[DependencyType2["DISABLES"] = 0] = "DISABLES";
3
+ DependencyType2[DependencyType2["REQUIRES"] = 1] = "REQUIRES";
4
+ DependencyType2[DependencyType2["HIDES"] = 2] = "HIDES";
5
+ DependencyType2[DependencyType2["SETS_OPTIONS"] = 3] = "SETS_OPTIONS";
6
+ return DependencyType2;
7
+ })(DependencyType || {});
@@ -0,0 +1,48 @@
1
+ import type { z } from 'zod';
2
+ export type ZodObjectOrWrapped = z.ZodObject<any, any> | z.ZodEffects<z.ZodObject<any, any>>;
3
+ /**
4
+ * Beautify a camelCase string.
5
+ * e.g. "myString" -> "My String"
6
+ */
7
+ export declare function beautifyObjectName(string: string): string;
8
+ /**
9
+ * Parse string and extract the index
10
+ * @param string
11
+ * @returns index or undefined
12
+ */
13
+ export declare function getIndexIfArray(string: string): number | undefined;
14
+ /**
15
+ * Get the lowest level Zod type.
16
+ * This will unpack optionals, refinements, etc.
17
+ */
18
+ export declare function getBaseSchema<ChildType extends z.ZodAny | z.AnyZodObject = z.ZodAny>(schema: ChildType | z.ZodEffects<ChildType>): ChildType | null;
19
+ /**
20
+ * Get the type name of the lowest level Zod type.
21
+ * This will unpack optionals, refinements, etc.
22
+ */
23
+ export declare function getBaseType(schema: z.ZodAny): "" | z.ZodFirstPartyTypeKind.ZodAny;
24
+ /**
25
+ * Search for a "ZodDefault" in the Zod stack and return its value.
26
+ */
27
+ export declare function getDefaultValueInZodStack(schema: z.ZodAny): any;
28
+ export declare function getObjectFormSchema(schema: ZodObjectOrWrapped): z.ZodObject<any, any>;
29
+ /**
30
+ * Constructs a path with dot paths for arrays to use brackets to be compatible with vee-validate path syntax
31
+ */
32
+ export declare function normalizeFormPath(path: string): string;
33
+ type NestedRecord = Record<string, unknown> | {
34
+ [k: string]: NestedRecord;
35
+ };
36
+ /**
37
+ * Checks if the path opted out of nested fields using `[fieldName]` syntax
38
+ */
39
+ export declare function isNotNestedPath(path: string): boolean;
40
+ /**
41
+ * Gets a nested property value from an object
42
+ */
43
+ export declare function getFromPath<TValue = unknown>(object: NestedRecord | undefined, path: string): TValue | undefined;
44
+ export declare function getFromPath<TValue = unknown, TFallback = TValue>(object: NestedRecord | undefined, path: string, fallback?: TFallback): TValue | TFallback;
45
+ type Booleanish = boolean | 'true' | 'false';
46
+ export declare function booleanishToBoolean(value: Booleanish): boolean;
47
+ export declare function maybeBooleanishToBoolean(value?: Booleanish): boolean | undefined;
48
+ export {};
@@ -0,0 +1,103 @@
1
+ export function beautifyObjectName(string) {
2
+ let output = string.replace(/\[\d+\]/g, "").replace(/([A-Z])/g, " $1");
3
+ output = output.charAt(0).toUpperCase() + output.slice(1);
4
+ return output;
5
+ }
6
+ export function getIndexIfArray(string) {
7
+ const indexRegex = /\[(\d+)\]/;
8
+ const match = string.match(indexRegex);
9
+ const index = match ? Number.parseInt(match[1]) : void 0;
10
+ return index;
11
+ }
12
+ export function getBaseSchema(schema) {
13
+ if (!schema)
14
+ return null;
15
+ if ("innerType" in schema._def)
16
+ return getBaseSchema(schema._def.innerType);
17
+ if ("schema" in schema._def)
18
+ return getBaseSchema(schema._def.schema);
19
+ return schema;
20
+ }
21
+ export function getBaseType(schema) {
22
+ const baseSchema = getBaseSchema(schema);
23
+ return baseSchema ? baseSchema._def.typeName : "";
24
+ }
25
+ export function getDefaultValueInZodStack(schema) {
26
+ const typedSchema = schema;
27
+ if (typedSchema._def.typeName === "ZodDefault")
28
+ return typedSchema._def.defaultValue();
29
+ if ("innerType" in typedSchema._def) {
30
+ return getDefaultValueInZodStack(
31
+ typedSchema._def.innerType
32
+ );
33
+ }
34
+ if ("schema" in typedSchema._def) {
35
+ return getDefaultValueInZodStack(
36
+ typedSchema._def.schema
37
+ );
38
+ }
39
+ return void 0;
40
+ }
41
+ export function getObjectFormSchema(schema) {
42
+ if (schema?._def.typeName === "ZodEffects") {
43
+ const typedSchema = schema;
44
+ return getObjectFormSchema(typedSchema._def.schema);
45
+ }
46
+ return schema;
47
+ }
48
+ function isIndex(value) {
49
+ return Number(value) >= 0;
50
+ }
51
+ export function normalizeFormPath(path) {
52
+ const pathArr = path.split(".");
53
+ if (!pathArr.length)
54
+ return "";
55
+ let fullPath = String(pathArr[0]);
56
+ for (let i = 1; i < pathArr.length; i++) {
57
+ if (isIndex(pathArr[i])) {
58
+ fullPath += `[${pathArr[i]}]`;
59
+ continue;
60
+ }
61
+ fullPath += `.${pathArr[i]}`;
62
+ }
63
+ return fullPath;
64
+ }
65
+ export function isNotNestedPath(path) {
66
+ return /^\[.+\]$/.test(path);
67
+ }
68
+ function isObject(obj) {
69
+ return obj !== null && !!obj && typeof obj === "object" && !Array.isArray(obj);
70
+ }
71
+ function isContainerValue(value) {
72
+ return isObject(value) || Array.isArray(value);
73
+ }
74
+ function cleanupNonNestedPath(path) {
75
+ if (isNotNestedPath(path))
76
+ return path.replace(/\[|\]/g, "");
77
+ return path;
78
+ }
79
+ export function getFromPath(object, path, fallback) {
80
+ if (!object)
81
+ return fallback;
82
+ if (isNotNestedPath(path))
83
+ return object[cleanupNonNestedPath(path)];
84
+ const resolvedValue = (path || "").split(/\.|\[(\d+)\]/).filter(Boolean).reduce((acc, propKey) => {
85
+ if (isContainerValue(acc) && propKey in acc)
86
+ return acc[propKey];
87
+ return fallback;
88
+ }, object);
89
+ return resolvedValue;
90
+ }
91
+ export function booleanishToBoolean(value) {
92
+ switch (value) {
93
+ case "true":
94
+ case true:
95
+ return true;
96
+ case "false":
97
+ case false:
98
+ return false;
99
+ }
100
+ }
101
+ export function maybeBooleanishToBoolean(value) {
102
+ return value ? booleanishToBoolean(value) : void 0;
103
+ }
@@ -0,0 +1,21 @@
1
+ <script setup>
2
+ import { AvatarRoot } from "reka-ui";
3
+ import { cn } from "../../../lib/utils";
4
+ const props = defineProps({
5
+ class: { type: null, required: false }
6
+ });
7
+ </script>
8
+
9
+ <template>
10
+ <AvatarRoot
11
+ data-slot="avatar"
12
+ :class="
13
+ cn(
14
+ 'relative flex size-8 shrink-0 overflow-hidden rounded-full',
15
+ props.class
16
+ )
17
+ "
18
+ >
19
+ <slot />
20
+ </AvatarRoot>
21
+ </template>
@@ -0,0 +1,30 @@
1
+ import type { HTMLAttributes } from "vue";
2
+ declare function __VLS_template(): {
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ attrs: Partial<{}>;
8
+ };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
11
+ class?: HTMLAttributes["class"];
12
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
13
+ class?: HTMLAttributes["class"];
14
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
15
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
+ export default _default;
17
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
18
+ type __VLS_TypePropsToOption<T> = {
19
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
20
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
21
+ } : {
22
+ type: import('vue').PropType<T[K]>;
23
+ required: true;
24
+ };
25
+ };
26
+ type __VLS_WithTemplateSlots<T, S> = T & {
27
+ new (): {
28
+ $slots: S;
29
+ };
30
+ };
@@ -0,0 +1,27 @@
1
+ <script setup>
2
+ import { reactiveOmit } from "@vueuse/core";
3
+ import { AvatarFallback } from "reka-ui";
4
+ import { cn } from "../../../lib/utils";
5
+ const props = defineProps({
6
+ delayMs: { type: Number, required: false },
7
+ asChild: { type: Boolean, required: false },
8
+ as: { type: [String, Object, Function], required: false },
9
+ class: { type: null, required: false }
10
+ });
11
+ const delegatedProps = reactiveOmit(props, "class");
12
+ </script>
13
+
14
+ <template>
15
+ <AvatarFallback
16
+ data-slot="avatar-fallback"
17
+ v-bind="delegatedProps"
18
+ :class="
19
+ cn(
20
+ 'bg-muted flex size-full items-center justify-center rounded-full',
21
+ props.class
22
+ )
23
+ "
24
+ >
25
+ <slot />
26
+ </AvatarFallback>
27
+ </template>
@@ -0,0 +1,31 @@
1
+ import type { HTMLAttributes } from "vue";
2
+ import { type AvatarFallbackProps } from "reka-ui";
3
+ declare function __VLS_template(): {
4
+ slots: {
5
+ default?(_: {}): any;
6
+ };
7
+ refs: {};
8
+ attrs: Partial<{}>;
9
+ };
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<AvatarFallbackProps & {
12
+ class?: HTMLAttributes["class"];
13
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<AvatarFallbackProps & {
14
+ class?: HTMLAttributes["class"];
15
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
16
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
17
+ export default _default;
18
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
+ type __VLS_TypePropsToOption<T> = {
20
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
21
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
22
+ } : {
23
+ type: import('vue').PropType<T[K]>;
24
+ required: true;
25
+ };
26
+ };
27
+ type __VLS_WithTemplateSlots<T, S> = T & {
28
+ new (): {
29
+ $slots: S;
30
+ };
31
+ };
@@ -0,0 +1,20 @@
1
+ <script setup>
2
+ import { AvatarImage } from "reka-ui";
3
+ const props = defineProps({
4
+ src: { type: String, required: true },
5
+ referrerPolicy: { type: null, required: false },
6
+ crossOrigin: { type: null, required: false },
7
+ asChild: { type: Boolean, required: false },
8
+ as: { type: [String, Object, Function], required: false }
9
+ });
10
+ </script>
11
+
12
+ <template>
13
+ <AvatarImage
14
+ data-slot="avatar-image"
15
+ v-bind="props"
16
+ class="aspect-square size-full"
17
+ >
18
+ <slot />
19
+ </AvatarImage>
20
+ </template>
@@ -0,0 +1,26 @@
1
+ import type { AvatarImageProps } from 'reka-ui';
2
+ declare function __VLS_template(): {
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ attrs: Partial<{}>;
8
+ };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<AvatarImageProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<AvatarImageProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
11
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
12
+ export default _default;
13
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
+ type __VLS_TypePropsToOption<T> = {
15
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
16
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
+ } : {
18
+ type: import('vue').PropType<T[K]>;
19
+ required: true;
20
+ };
21
+ };
22
+ type __VLS_WithTemplateSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -0,0 +1,3 @@
1
+ export { default as Avatar } from './Avatar.vue.js';
2
+ export { default as AvatarFallback } from './AvatarFallback.vue.js';
3
+ export { default as AvatarImage } from './AvatarImage.vue.js';
@@ -0,0 +1,3 @@
1
+ export { default as Avatar } from "./Avatar.vue";
2
+ export { default as AvatarFallback } from "./AvatarFallback.vue";
3
+ export { default as AvatarImage } from "./AvatarImage.vue";
@@ -0,0 +1,23 @@
1
+ <script setup>
2
+ import { reactiveOmit } from "@vueuse/core";
3
+ import { Primitive } from "reka-ui";
4
+ import { cn } from "../../../lib/utils";
5
+ import { badgeVariants } from ".";
6
+ const props = defineProps({
7
+ asChild: { type: Boolean, required: false },
8
+ as: { type: [String, Object, Function], required: false },
9
+ variant: { type: null, required: false },
10
+ class: { type: null, required: false }
11
+ });
12
+ const delegatedProps = reactiveOmit(props, "class");
13
+ </script>
14
+
15
+ <template>
16
+ <Primitive
17
+ data-slot="badge"
18
+ :class="cn(badgeVariants({ variant }), props.class)"
19
+ v-bind="delegatedProps"
20
+ >
21
+ <slot />
22
+ </Primitive>
23
+ </template>
@@ -0,0 +1,34 @@
1
+ import type { PrimitiveProps } from "reka-ui";
2
+ import type { HTMLAttributes } from "vue";
3
+ import { type BadgeVariants } from ".";
4
+ declare function __VLS_template(): {
5
+ slots: {
6
+ default?(_: {}): any;
7
+ };
8
+ refs: {};
9
+ attrs: Partial<{}>;
10
+ };
11
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<PrimitiveProps & {
13
+ variant?: BadgeVariants["variant"];
14
+ class?: HTMLAttributes["class"];
15
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<PrimitiveProps & {
16
+ variant?: BadgeVariants["variant"];
17
+ class?: HTMLAttributes["class"];
18
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
19
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
20
+ export default _default;
21
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
22
+ type __VLS_TypePropsToOption<T> = {
23
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
24
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
25
+ } : {
26
+ type: import('vue').PropType<T[K]>;
27
+ required: true;
28
+ };
29
+ };
30
+ type __VLS_WithTemplateSlots<T, S> = T & {
31
+ new (): {
32
+ $slots: S;
33
+ };
34
+ };
@@ -0,0 +1,6 @@
1
+ import { type VariantProps } from 'class-variance-authority';
2
+ export { default as Badge } from './Badge.vue.js';
3
+ export declare const badgeVariants: (props?: ({
4
+ variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
5
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
+ export type BadgeVariants = VariantProps<typeof badgeVariants>;
@@ -0,0 +1,18 @@
1
+ import { cva } from "class-variance-authority";
2
+ export { default as Badge } from "./Badge.vue";
3
+ export const badgeVariants = cva(
4
+ "inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",
5
+ {
6
+ variants: {
7
+ variant: {
8
+ default: "border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",
9
+ secondary: "border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",
10
+ destructive: "border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
11
+ outline: "text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"
12
+ }
13
+ },
14
+ defaultVariants: {
15
+ variant: "default"
16
+ }
17
+ }
18
+ );
@@ -0,0 +1,15 @@
1
+ <script setup>
2
+ const props = defineProps({
3
+ class: { type: null, required: false }
4
+ });
5
+ </script>
6
+
7
+ <template>
8
+ <nav
9
+ aria-label="breadcrumb"
10
+ data-slot="breadcrumb"
11
+ :class="props.class"
12
+ >
13
+ <slot />
14
+ </nav>
15
+ </template>
@@ -0,0 +1,30 @@
1
+ import type { HTMLAttributes } from 'vue';
2
+ declare function __VLS_template(): {
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ attrs: Partial<{}>;
8
+ };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
11
+ class?: HTMLAttributes["class"];
12
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
13
+ class?: HTMLAttributes["class"];
14
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
15
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
+ export default _default;
17
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
18
+ type __VLS_TypePropsToOption<T> = {
19
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
20
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
21
+ } : {
22
+ type: import('vue').PropType<T[K]>;
23
+ required: true;
24
+ };
25
+ };
26
+ type __VLS_WithTemplateSlots<T, S> = T & {
27
+ new (): {
28
+ $slots: S;
29
+ };
30
+ };
@@ -0,0 +1,21 @@
1
+ <script setup>
2
+ import { MoreHorizontal } from "lucide-vue-next";
3
+ import { cn } from "../../../lib/utils";
4
+ const props = defineProps({
5
+ class: { type: null, required: false }
6
+ });
7
+ </script>
8
+
9
+ <template>
10
+ <span
11
+ data-slot="breadcrumb-ellipsis"
12
+ role="presentation"
13
+ aria-hidden="true"
14
+ :class="cn('flex size-9 items-center justify-center', props.class)"
15
+ >
16
+ <slot>
17
+ <MoreHorizontal class="size-4" />
18
+ </slot>
19
+ <span class="sr-only">More</span>
20
+ </span>
21
+ </template>