una-nuxt-module 2.1.1 → 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.
- package/.nuxt/unaxt/accordion.ts +4 -0
- package/.nuxt/unaxt/alert-dialog.ts +9 -0
- package/.nuxt/unaxt/alert.ts +23 -0
- package/.nuxt/unaxt/aspect-ratio.ts +1 -0
- package/.nuxt/unaxt/auto-form.ts +15 -0
- package/.nuxt/unaxt/avatar.ts +3 -0
- package/.nuxt/unaxt/badge.ts +25 -0
- package/.nuxt/unaxt/breadcrumb.ts +7 -0
- package/.nuxt/unaxt/button.ts +36 -0
- package/.nuxt/unaxt/calendar.ts +12 -0
- package/.nuxt/unaxt/card.ts +7 -0
- package/.nuxt/unaxt/carousel.ts +10 -0
- package/.nuxt/unaxt/checkbox.ts +1 -0
- package/.nuxt/unaxt/collapsible.ts +3 -0
- package/.nuxt/unaxt/combobox.ts +12 -0
- package/.nuxt/unaxt/command.ts +25 -0
- package/.nuxt/unaxt/context-menu.ts +14 -0
- package/.nuxt/unaxt/dialog.ts +10 -0
- package/.nuxt/unaxt/drawer.ts +9 -0
- package/.nuxt/unaxt/dropdown-menu.ts +16 -0
- package/.nuxt/unaxt/form.ts +7 -0
- package/.nuxt/unaxt/hover-card.ts +3 -0
- package/.nuxt/unaxt/input.ts +1 -0
- package/.nuxt/unaxt/label.ts +1 -0
- package/.nuxt/unaxt/menubar.ts +15 -0
- package/.nuxt/unaxt/navigation-menu.ts +14 -0
- package/.nuxt/unaxt/number-field.ts +5 -0
- package/.nuxt/unaxt/pagination.ts +8 -0
- package/.nuxt/unaxt/pin-input.ts +4 -0
- package/.nuxt/unaxt/popover.ts +4 -0
- package/.nuxt/unaxt/progress.ts +1 -0
- package/.nuxt/unaxt/radio-group.ts +2 -0
- package/.nuxt/unaxt/range-calendar.ts +12 -0
- package/.nuxt/unaxt/resizable.ts +3 -0
- package/.nuxt/unaxt/scroll-area.ts +2 -0
- package/.nuxt/unaxt/select.ts +11 -0
- package/.nuxt/unaxt/separator.ts +1 -0
- package/.nuxt/unaxt/sheet.ts +8 -0
- package/.nuxt/unaxt/sidebar.ts +60 -0
- package/.nuxt/unaxt/skeleton.ts +1 -0
- package/.nuxt/unaxt/slider.ts +1 -0
- package/.nuxt/unaxt/sonner.ts +1 -0
- package/.nuxt/unaxt/stepper.ts +7 -0
- package/.nuxt/unaxt/switch.ts +1 -0
- package/.nuxt/unaxt/table.ts +9 -0
- package/.nuxt/unaxt/tabs.ts +4 -0
- package/.nuxt/unaxt/tags-input.ts +5 -0
- package/.nuxt/unaxt/textarea.ts +1 -0
- package/.nuxt/unaxt/toggle-group.ts +2 -0
- package/.nuxt/unaxt/toggle.ts +27 -0
- package/.nuxt/unaxt/tooltip.ts +4 -0
- package/.nuxt/unaxt.css +3 -0
- package/dist/module.json +4 -4
- package/dist/module.mjs +145 -48
- package/dist/runtime/components/ui/accordion/Accordion.vue +26 -0
- package/dist/runtime/components/ui/accordion/Accordion.vue.d.ts +26 -0
- package/dist/runtime/components/ui/accordion/AccordionContent.vue +24 -0
- package/dist/runtime/components/ui/accordion/AccordionContent.vue.d.ts +31 -0
- package/dist/runtime/components/ui/accordion/AccordionItem.vue +28 -0
- package/dist/runtime/components/ui/accordion/AccordionItem.vue.d.ts +31 -0
- package/dist/runtime/components/ui/accordion/AccordionTrigger.vue +37 -0
- package/dist/runtime/components/ui/accordion/AccordionTrigger.vue.d.ts +32 -0
- package/dist/runtime/components/ui/accordion/index.d.ts +4 -0
- package/dist/runtime/components/ui/accordion/index.js +4 -0
- package/dist/runtime/components/ui/alert/Alert.vue +18 -0
- package/dist/runtime/components/ui/alert/Alert.vue.d.ts +33 -0
- package/dist/runtime/components/ui/alert/AlertDescription.vue +20 -0
- package/dist/runtime/components/ui/alert/AlertDescription.vue.d.ts +30 -0
- package/dist/runtime/components/ui/alert/AlertTitle.vue +20 -0
- package/dist/runtime/components/ui/alert/AlertTitle.vue.d.ts +30 -0
- package/dist/runtime/components/ui/alert/index.d.ts +8 -0
- package/dist/runtime/components/ui/alert/index.js +18 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialog.vue +15 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialog.vue.d.ts +26 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogAction.vue +21 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogAction.vue.d.ts +31 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogCancel.vue +23 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogCancel.vue.d.ts +31 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.vue +42 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.vue.d.ts +29 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogDescription.vue +23 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogDescription.vue.d.ts +31 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogFooter.vue +17 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogFooter.vue.d.ts +30 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogHeader.vue +15 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogHeader.vue.d.ts +30 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTitle.vue +21 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTitle.vue.d.ts +31 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTrigger.vue +13 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTrigger.vue.d.ts +26 -0
- package/dist/runtime/components/ui/alert-dialog/index.d.ts +9 -0
- package/dist/runtime/components/ui/alert-dialog/index.js +9 -0
- package/dist/runtime/components/ui/aspect-ratio/AspectRatio.vue +17 -0
- package/dist/runtime/components/ui/aspect-ratio/AspectRatio.vue.d.ts +26 -0
- package/dist/runtime/components/ui/aspect-ratio/index.d.ts +1 -0
- package/dist/runtime/components/ui/aspect-ratio/index.js +1 -0
- package/dist/runtime/components/ui/auto-form/AutoForm.vue +90 -0
- package/dist/runtime/components/ui/auto-form/AutoForm.vue.d.ts +35 -0
- package/dist/runtime/components/ui/auto-form/AutoFormField.vue +35 -0
- package/dist/runtime/components/ui/auto-form/AutoFormField.vue.d.ts +23 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldArray.vue +92 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldArray.vue.d.ts +0 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldBoolean.vue +44 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldBoolean.vue.d.ts +26 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldDate.vue +82 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldDate.vue.d.ts +26 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldEnum.vue +52 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldEnum.vue.d.ts +30 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldFile.vue +77 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldFile.vue.d.ts +26 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldInput.vue +40 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldInput.vue.d.ts +26 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldNumber.vue +35 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldNumber.vue.d.ts +26 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldObject.vue +69 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldObject.vue.d.ts +0 -0
- package/dist/runtime/components/ui/auto-form/AutoFormLabel.vue +13 -0
- package/dist/runtime/components/ui/auto-form/AutoFormLabel.vue.d.ts +29 -0
- package/dist/runtime/components/ui/auto-form/constant.d.ts +9 -0
- package/dist/runtime/components/ui/auto-form/constant.js +31 -0
- package/dist/runtime/components/ui/auto-form/dependencies.d.ts +33 -0
- package/dist/runtime/components/ui/auto-form/dependencies.js +70 -0
- package/dist/runtime/components/ui/auto-form/index.d.ts +13 -0
- package/dist/runtime/components/ui/auto-form/index.js +12 -0
- package/dist/runtime/components/ui/auto-form/interface.d.ts +67 -0
- package/dist/runtime/components/ui/auto-form/interface.js +7 -0
- package/dist/runtime/components/ui/auto-form/utils.d.ts +48 -0
- package/dist/runtime/components/ui/auto-form/utils.js +103 -0
- package/dist/runtime/components/ui/avatar/Avatar.vue +21 -0
- package/dist/runtime/components/ui/avatar/Avatar.vue.d.ts +30 -0
- package/dist/runtime/components/ui/avatar/AvatarFallback.vue +27 -0
- package/dist/runtime/components/ui/avatar/AvatarFallback.vue.d.ts +31 -0
- package/dist/runtime/components/ui/avatar/AvatarImage.vue +20 -0
- package/dist/runtime/components/ui/avatar/AvatarImage.vue.d.ts +26 -0
- package/dist/runtime/components/ui/avatar/index.d.ts +3 -0
- package/dist/runtime/components/ui/avatar/index.js +3 -0
- package/dist/runtime/components/ui/badge/Badge.vue +23 -0
- package/dist/runtime/components/ui/badge/Badge.vue.d.ts +34 -0
- package/dist/runtime/components/ui/badge/index.d.ts +6 -0
- package/dist/runtime/components/ui/badge/index.js +18 -0
- package/dist/runtime/components/ui/breadcrumb/Breadcrumb.vue +15 -0
- package/dist/runtime/components/ui/breadcrumb/Breadcrumb.vue.d.ts +30 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbEllipsis.vue +21 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbEllipsis.vue.d.ts +30 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbItem.vue +15 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbItem.vue.d.ts +30 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbLink.vue +20 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbLink.vue.d.ts +45 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbList.vue +20 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbList.vue.d.ts +30 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbPage.vue +18 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbPage.vue.d.ts +30 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbSeparator.vue +20 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbSeparator.vue.d.ts +30 -0
- package/dist/runtime/components/ui/breadcrumb/index.d.ts +7 -0
- package/dist/runtime/components/ui/breadcrumb/index.js +7 -0
- package/dist/runtime/components/ui/button/Button.vue +23 -0
- package/dist/runtime/components/ui/button/Button.vue.d.ts +47 -0
- package/dist/runtime/components/ui/button/index.d.ts +7 -0
- package/dist/runtime/components/ui/button/index.js +27 -0
- package/dist/runtime/components/ui/calendar/Calendar.vue +98 -0
- package/dist/runtime/components/ui/calendar/Calendar.vue.d.ts +15 -0
- package/dist/runtime/components/ui/calendar/CalendarCell.vue +28 -0
- package/dist/runtime/components/ui/calendar/CalendarCell.vue.d.ts +31 -0
- package/dist/runtime/components/ui/calendar/CalendarCellTrigger.vue +43 -0
- package/dist/runtime/components/ui/calendar/CalendarCellTrigger.vue.d.ts +45 -0
- package/dist/runtime/components/ui/calendar/CalendarGrid.vue +22 -0
- package/dist/runtime/components/ui/calendar/CalendarGrid.vue.d.ts +31 -0
- package/dist/runtime/components/ui/calendar/CalendarGridBody.vue +16 -0
- package/dist/runtime/components/ui/calendar/CalendarGridBody.vue.d.ts +26 -0
- package/dist/runtime/components/ui/calendar/CalendarGridHead.vue +17 -0
- package/dist/runtime/components/ui/calendar/CalendarGridHead.vue.d.ts +31 -0
- package/dist/runtime/components/ui/calendar/CalendarGridRow.vue +25 -0
- package/dist/runtime/components/ui/calendar/CalendarGridRow.vue.d.ts +31 -0
- package/dist/runtime/components/ui/calendar/CalendarHeadCell.vue +30 -0
- package/dist/runtime/components/ui/calendar/CalendarHeadCell.vue.d.ts +31 -0
- package/dist/runtime/components/ui/calendar/CalendarHeader.vue +27 -0
- package/dist/runtime/components/ui/calendar/CalendarHeader.vue.d.ts +31 -0
- package/dist/runtime/components/ui/calendar/CalendarHeading.vue +29 -0
- package/dist/runtime/components/ui/calendar/CalendarHeading.vue.d.ts +37 -0
- package/dist/runtime/components/ui/calendar/CalendarNextButton.vue +34 -0
- package/dist/runtime/components/ui/calendar/CalendarNextButton.vue.d.ts +31 -0
- package/dist/runtime/components/ui/calendar/CalendarPrevButton.vue +34 -0
- package/dist/runtime/components/ui/calendar/CalendarPrevButton.vue.d.ts +31 -0
- package/dist/runtime/components/ui/calendar/index.d.ts +12 -0
- package/dist/runtime/components/ui/calendar/index.js +12 -0
- package/dist/runtime/components/ui/card/Card.vue +20 -0
- package/dist/runtime/components/ui/card/Card.vue.d.ts +30 -0
- package/dist/runtime/components/ui/card/CardAction.vue +20 -0
- package/dist/runtime/components/ui/card/CardAction.vue.d.ts +30 -0
- package/dist/runtime/components/ui/card/CardContent.vue +12 -0
- package/dist/runtime/components/ui/card/CardContent.vue.d.ts +30 -0
- package/dist/runtime/components/ui/card/CardDescription.vue +15 -0
- package/dist/runtime/components/ui/card/CardDescription.vue.d.ts +30 -0
- package/dist/runtime/components/ui/card/CardFooter.vue +15 -0
- package/dist/runtime/components/ui/card/CardFooter.vue.d.ts +30 -0
- package/dist/runtime/components/ui/card/CardHeader.vue +20 -0
- package/dist/runtime/components/ui/card/CardHeader.vue.d.ts +30 -0
- package/dist/runtime/components/ui/card/CardTitle.vue +15 -0
- package/dist/runtime/components/ui/card/CardTitle.vue.d.ts +30 -0
- package/dist/runtime/components/ui/card/index.d.ts +7 -0
- package/dist/runtime/components/ui/card/index.js +7 -0
- package/dist/runtime/components/ui/carousel/Carousel.vue +63 -0
- package/dist/runtime/components/ui/carousel/Carousel.vue.d.ts +0 -0
- package/dist/runtime/components/ui/carousel/CarouselContent.vue +28 -0
- package/dist/runtime/components/ui/carousel/CarouselContent.vue.d.ts +28 -0
- package/dist/runtime/components/ui/carousel/CarouselItem.vue +25 -0
- package/dist/runtime/components/ui/carousel/CarouselItem.vue.d.ts +26 -0
- package/dist/runtime/components/ui/carousel/CarouselNext.vue +36 -0
- package/dist/runtime/components/ui/carousel/CarouselNext.vue.d.ts +50 -0
- package/dist/runtime/components/ui/carousel/CarouselPrevious.vue +36 -0
- package/dist/runtime/components/ui/carousel/CarouselPrevious.vue.d.ts +50 -0
- package/dist/runtime/components/ui/carousel/index.d.ts +7 -0
- package/dist/runtime/components/ui/carousel/index.js +6 -0
- package/dist/runtime/components/ui/carousel/interface.d.ts +20 -0
- package/dist/runtime/components/ui/carousel/interface.js +0 -0
- package/dist/runtime/components/ui/carousel/useCarousel.d.ts +0 -0
- package/dist/runtime/components/ui/carousel/useCarousel.js +43 -0
- package/dist/runtime/components/ui/checkbox/Checkbox.vue +43 -0
- package/dist/runtime/components/ui/checkbox/Checkbox.vue.d.ts +29 -0
- package/dist/runtime/components/ui/checkbox/index.d.ts +1 -0
- package/dist/runtime/components/ui/checkbox/index.js +1 -0
- package/dist/runtime/components/ui/collapsible/Collapsible.vue +23 -0
- package/dist/runtime/components/ui/collapsible/Collapsible.vue.d.ts +28 -0
- package/dist/runtime/components/ui/collapsible/CollapsibleContent.vue +17 -0
- package/dist/runtime/components/ui/collapsible/CollapsibleContent.vue.d.ts +26 -0
- package/dist/runtime/components/ui/collapsible/CollapsibleTrigger.vue +16 -0
- package/dist/runtime/components/ui/collapsible/CollapsibleTrigger.vue.d.ts +26 -0
- package/dist/runtime/components/ui/collapsible/index.d.ts +3 -0
- package/dist/runtime/components/ui/collapsible/index.js +3 -0
- package/dist/runtime/components/ui/combobox/Combobox.vue +32 -0
- package/dist/runtime/components/ui/combobox/Combobox.vue.d.ts +26 -0
- package/dist/runtime/components/ui/combobox/ComboboxAnchor.vue +23 -0
- package/dist/runtime/components/ui/combobox/ComboboxAnchor.vue.d.ts +31 -0
- package/dist/runtime/components/ui/combobox/ComboboxEmpty.vue +21 -0
- package/dist/runtime/components/ui/combobox/ComboboxEmpty.vue.d.ts +31 -0
- package/dist/runtime/components/ui/combobox/ComboboxGroup.vue +28 -0
- package/dist/runtime/components/ui/combobox/ComboboxGroup.vue.d.ts +33 -0
- package/dist/runtime/components/ui/combobox/ComboboxInput.vue +45 -0
- package/dist/runtime/components/ui/combobox/ComboboxInput.vue.d.ts +29 -0
- package/dist/runtime/components/ui/combobox/ComboboxItem.vue +31 -0
- package/dist/runtime/components/ui/combobox/ComboboxItem.vue.d.ts +29 -0
- package/dist/runtime/components/ui/combobox/ComboboxItemIndicator.vue +22 -0
- package/dist/runtime/components/ui/combobox/ComboboxItemIndicator.vue.d.ts +31 -0
- package/dist/runtime/components/ui/combobox/ComboboxList.vue +49 -0
- package/dist/runtime/components/ui/combobox/ComboboxList.vue.d.ts +45 -0
- package/dist/runtime/components/ui/combobox/ComboboxSeparator.vue +21 -0
- package/dist/runtime/components/ui/combobox/ComboboxSeparator.vue.d.ts +31 -0
- package/dist/runtime/components/ui/combobox/ComboboxTrigger.vue +24 -0
- package/dist/runtime/components/ui/combobox/ComboboxTrigger.vue.d.ts +31 -0
- package/dist/runtime/components/ui/combobox/ComboboxViewport.vue +28 -0
- package/dist/runtime/components/ui/combobox/ComboboxViewport.vue.d.ts +31 -0
- package/dist/runtime/components/ui/combobox/index.d.ts +11 -0
- package/dist/runtime/components/ui/combobox/index.js +11 -0
- package/dist/runtime/components/ui/command/Command.vue +91 -0
- package/dist/runtime/components/ui/command/Command.vue.d.ts +41 -0
- package/dist/runtime/components/ui/command/CommandDialog.vue +28 -0
- package/dist/runtime/components/ui/command/CommandDialog.vue.d.ts +43 -0
- package/dist/runtime/components/ui/command/CommandEmpty.vue +28 -0
- package/dist/runtime/components/ui/command/CommandEmpty.vue.d.ts +31 -0
- package/dist/runtime/components/ui/command/CommandGroup.vue +44 -0
- package/dist/runtime/components/ui/command/CommandGroup.vue.d.ts +33 -0
- package/dist/runtime/components/ui/command/CommandInput.vue +45 -0
- package/dist/runtime/components/ui/command/CommandInput.vue.d.ts +17 -0
- package/dist/runtime/components/ui/command/CommandItem.vue +79 -0
- package/dist/runtime/components/ui/command/CommandItem.vue.d.ts +31 -0
- package/dist/runtime/components/ui/command/CommandList.vue +29 -0
- package/dist/runtime/components/ui/command/CommandList.vue.d.ts +31 -0
- package/dist/runtime/components/ui/command/CommandSeparator.vue +23 -0
- package/dist/runtime/components/ui/command/CommandSeparator.vue.d.ts +31 -0
- package/dist/runtime/components/ui/command/CommandShortcut.vue +17 -0
- package/dist/runtime/components/ui/command/CommandShortcut.vue.d.ts +30 -0
- package/dist/runtime/components/ui/command/index.d.ts +90 -0
- package/dist/runtime/components/ui/command/index.js +12 -0
- package/dist/runtime/components/ui/context-menu/ContextMenu.vue +18 -0
- package/dist/runtime/components/ui/context-menu/ContextMenu.vue.d.ts +26 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuCheckboxItem.vue +43 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuCheckboxItem.vue.d.ts +29 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuContent.vue +46 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuContent.vue.d.ts +29 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuGroup.vue +16 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuGroup.vue.d.ts +26 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuItem.vue +37 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuItem.vue.d.ts +43 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuLabel.vue +28 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuLabel.vue.d.ts +33 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuPortal.vue +18 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuPortal.vue.d.ts +26 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuRadioGroup.vue +22 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuRadioGroup.vue.d.ts +26 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuRadioItem.vue +43 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuRadioItem.vue.d.ts +29 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuSeparator.vue +19 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuSeparator.vue.d.ts +17 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuShortcut.vue +17 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuShortcut.vue.d.ts +30 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuSub.vue +21 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuSub.vue.d.ts +26 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuSubContent.vue +46 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuSubContent.vue.d.ts +29 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuSubTrigger.vue +36 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuSubTrigger.vue.d.ts +33 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuTrigger.vue +18 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuTrigger.vue.d.ts +26 -0
- package/dist/runtime/components/ui/context-menu/index.d.ts +14 -0
- package/dist/runtime/components/ui/context-menu/index.js +14 -0
- package/dist/runtime/components/ui/dialog/Dialog.vue +19 -0
- package/dist/runtime/components/ui/dialog/Dialog.vue.d.ts +26 -0
- package/dist/runtime/components/ui/dialog/DialogClose.vue +16 -0
- package/dist/runtime/components/ui/dialog/DialogClose.vue.d.ts +26 -0
- package/dist/runtime/components/ui/dialog/DialogContent.vue +48 -0
- package/dist/runtime/components/ui/dialog/DialogContent.vue.d.ts +29 -0
- package/dist/runtime/components/ui/dialog/DialogDescription.vue +25 -0
- package/dist/runtime/components/ui/dialog/DialogDescription.vue.d.ts +31 -0
- package/dist/runtime/components/ui/dialog/DialogFooter.vue +17 -0
- package/dist/runtime/components/ui/dialog/DialogFooter.vue.d.ts +30 -0
- package/dist/runtime/components/ui/dialog/DialogHeader.vue +15 -0
- package/dist/runtime/components/ui/dialog/DialogHeader.vue.d.ts +30 -0
- package/dist/runtime/components/ui/dialog/DialogOverlay.vue +27 -0
- package/dist/runtime/components/ui/dialog/DialogOverlay.vue.d.ts +31 -0
- package/dist/runtime/components/ui/dialog/DialogScrollContent.vue +57 -0
- package/dist/runtime/components/ui/dialog/DialogScrollContent.vue.d.ts +29 -0
- package/dist/runtime/components/ui/dialog/DialogTitle.vue +22 -0
- package/dist/runtime/components/ui/dialog/DialogTitle.vue.d.ts +31 -0
- package/dist/runtime/components/ui/dialog/DialogTrigger.vue +16 -0
- package/dist/runtime/components/ui/dialog/DialogTrigger.vue.d.ts +26 -0
- package/dist/runtime/components/ui/dialog/index.d.ts +10 -0
- package/dist/runtime/components/ui/dialog/index.js +10 -0
- package/dist/runtime/components/ui/drawer/Drawer.vue +34 -0
- package/dist/runtime/components/ui/drawer/Drawer.vue.d.ts +38 -0
- package/dist/runtime/components/ui/drawer/DrawerClose.vue +16 -0
- package/dist/runtime/components/ui/drawer/DrawerClose.vue.d.ts +26 -0
- package/dist/runtime/components/ui/drawer/DrawerContent.vue +41 -0
- package/dist/runtime/components/ui/drawer/DrawerContent.vue.d.ts +29 -0
- package/dist/runtime/components/ui/drawer/DrawerDescription.vue +21 -0
- package/dist/runtime/components/ui/drawer/DrawerDescription.vue.d.ts +31 -0
- package/dist/runtime/components/ui/drawer/DrawerFooter.vue +15 -0
- package/dist/runtime/components/ui/drawer/DrawerFooter.vue.d.ts +30 -0
- package/dist/runtime/components/ui/drawer/DrawerHeader.vue +15 -0
- package/dist/runtime/components/ui/drawer/DrawerHeader.vue.d.ts +30 -0
- package/dist/runtime/components/ui/drawer/DrawerOverlay.vue +25 -0
- package/dist/runtime/components/ui/drawer/DrawerOverlay.vue.d.ts +17 -0
- package/dist/runtime/components/ui/drawer/DrawerTitle.vue +21 -0
- package/dist/runtime/components/ui/drawer/DrawerTitle.vue.d.ts +31 -0
- package/dist/runtime/components/ui/drawer/DrawerTrigger.vue +16 -0
- package/dist/runtime/components/ui/drawer/DrawerTrigger.vue.d.ts +26 -0
- package/dist/runtime/components/ui/drawer/index.d.ts +9 -0
- package/dist/runtime/components/ui/drawer/index.js +9 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenu.vue +20 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +26 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue +43 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +29 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.vue +51 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +41 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuGroup.vue +16 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +26 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.vue +36 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +49 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuLabel.vue +29 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +33 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue +22 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +26 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioItem.vue +43 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +29 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSeparator.vue +21 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +17 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuShortcut.vue +17 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts +30 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSub.vue +18 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +26 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.vue +46 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +29 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue +35 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +33 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuTrigger.vue +18 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +26 -0
- package/dist/runtime/components/ui/dropdown-menu/index.d.ts +15 -0
- package/dist/runtime/components/ui/dropdown-menu/index.js +15 -0
- package/dist/runtime/components/ui/form/FormControl.vue +16 -0
- package/dist/runtime/components/ui/form/FormControl.vue.d.ts +16 -0
- package/dist/runtime/components/ui/form/FormDescription.vue +18 -0
- package/dist/runtime/components/ui/form/FormDescription.vue.d.ts +30 -0
- package/dist/runtime/components/ui/form/FormItem.vue +17 -0
- package/dist/runtime/components/ui/form/FormItem.vue.d.ts +30 -0
- package/dist/runtime/components/ui/form/FormLabel.vue +23 -0
- package/dist/runtime/components/ui/form/FormLabel.vue.d.ts +31 -0
- package/dist/runtime/components/ui/form/FormMessage.vue +20 -0
- package/dist/runtime/components/ui/form/FormMessage.vue.d.ts +16 -0
- package/dist/runtime/components/ui/form/index.d.ts +7 -0
- package/dist/runtime/components/ui/form/index.js +7 -0
- package/dist/runtime/components/ui/form/injectionKeys.d.ts +2 -0
- package/dist/runtime/components/ui/form/injectionKeys.js +1 -0
- package/dist/runtime/components/ui/form/useFormField.d.ts +11 -0
- package/dist/runtime/components/ui/form/useFormField.js +25 -0
- package/dist/runtime/components/ui/hover-card/HoverCard.vue +20 -0
- package/dist/runtime/components/ui/hover-card/HoverCard.vue.d.ts +26 -0
- package/dist/runtime/components/ui/hover-card/HoverCardContent.vue +49 -0
- package/dist/runtime/components/ui/hover-card/HoverCardContent.vue.d.ts +45 -0
- package/dist/runtime/components/ui/hover-card/HoverCardTrigger.vue +17 -0
- package/dist/runtime/components/ui/hover-card/HoverCardTrigger.vue.d.ts +26 -0
- package/dist/runtime/components/ui/hover-card/index.d.ts +3 -0
- package/dist/runtime/components/ui/hover-card/index.js +3 -0
- package/dist/runtime/components/ui/input/Input.vue +29 -0
- package/dist/runtime/components/ui/input/Input.vue.d.ts +16 -0
- package/dist/runtime/components/ui/input/index.d.ts +1 -0
- package/dist/runtime/components/ui/input/index.js +1 -0
- package/dist/runtime/components/ui/label/Label.vue +27 -0
- package/dist/runtime/components/ui/label/Label.vue.d.ts +31 -0
- package/dist/runtime/components/ui/label/index.d.ts +1 -0
- package/dist/runtime/components/ui/label/index.js +1 -0
- package/dist/runtime/components/ui/menubar/Menubar.vue +33 -0
- package/dist/runtime/components/ui/menubar/Menubar.vue.d.ts +29 -0
- package/dist/runtime/components/ui/menubar/MenubarCheckboxItem.vue +43 -0
- package/dist/runtime/components/ui/menubar/MenubarCheckboxItem.vue.d.ts +29 -0
- package/dist/runtime/components/ui/menubar/MenubarContent.vue +50 -0
- package/dist/runtime/components/ui/menubar/MenubarContent.vue.d.ts +51 -0
- package/dist/runtime/components/ui/menubar/MenubarGroup.vue +16 -0
- package/dist/runtime/components/ui/menubar/MenubarGroup.vue.d.ts +26 -0
- package/dist/runtime/components/ui/menubar/MenubarItem.vue +37 -0
- package/dist/runtime/components/ui/menubar/MenubarItem.vue.d.ts +31 -0
- package/dist/runtime/components/ui/menubar/MenubarLabel.vue +24 -0
- package/dist/runtime/components/ui/menubar/MenubarLabel.vue.d.ts +33 -0
- package/dist/runtime/components/ui/menubar/MenubarMenu.vue +15 -0
- package/dist/runtime/components/ui/menubar/MenubarMenu.vue.d.ts +26 -0
- package/dist/runtime/components/ui/menubar/MenubarRadioGroup.vue +22 -0
- package/dist/runtime/components/ui/menubar/MenubarRadioGroup.vue.d.ts +26 -0
- package/dist/runtime/components/ui/menubar/MenubarRadioItem.vue +43 -0
- package/dist/runtime/components/ui/menubar/MenubarRadioItem.vue.d.ts +29 -0
- package/dist/runtime/components/ui/menubar/MenubarSeparator.vue +23 -0
- package/dist/runtime/components/ui/menubar/MenubarSeparator.vue.d.ts +17 -0
- package/dist/runtime/components/ui/menubar/MenubarShortcut.vue +17 -0
- package/dist/runtime/components/ui/menubar/MenubarShortcut.vue.d.ts +30 -0
- package/dist/runtime/components/ui/menubar/MenubarSub.vue +18 -0
- package/dist/runtime/components/ui/menubar/MenubarSub.vue.d.ts +29 -0
- package/dist/runtime/components/ui/menubar/MenubarSubContent.vue +49 -0
- package/dist/runtime/components/ui/menubar/MenubarSubContent.vue.d.ts +29 -0
- package/dist/runtime/components/ui/menubar/MenubarSubTrigger.vue +36 -0
- package/dist/runtime/components/ui/menubar/MenubarSubTrigger.vue.d.ts +33 -0
- package/dist/runtime/components/ui/menubar/MenubarTrigger.vue +31 -0
- package/dist/runtime/components/ui/menubar/MenubarTrigger.vue.d.ts +31 -0
- package/dist/runtime/components/ui/menubar/index.d.ts +15 -0
- package/dist/runtime/components/ui/menubar/index.js +15 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenu.vue +45 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenu.vue.d.ts +42 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuContent.vue +34 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuContent.vue.d.ts +29 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuIndicator.vue +33 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuIndicator.vue.d.ts +17 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuItem.vue +22 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuItem.vue.d.ts +31 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuLink.vue +32 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuLink.vue.d.ts +29 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuList.vue +30 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuList.vue.d.ts +31 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuTrigger.vue +32 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuTrigger.vue.d.ts +31 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuViewport.vue +32 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuViewport.vue.d.ts +17 -0
- package/dist/runtime/components/ui/navigation-menu/index.d.ts +9 -0
- package/dist/runtime/components/ui/navigation-menu/index.js +12 -0
- package/dist/runtime/components/ui/number-field/NumberField.vue +33 -0
- package/dist/runtime/components/ui/number-field/NumberField.vue.d.ts +29 -0
- package/dist/runtime/components/ui/number-field/NumberFieldContent.vue +19 -0
- package/dist/runtime/components/ui/number-field/NumberFieldContent.vue.d.ts +30 -0
- package/dist/runtime/components/ui/number-field/NumberFieldDecrement.vue +31 -0
- package/dist/runtime/components/ui/number-field/NumberFieldDecrement.vue.d.ts +31 -0
- package/dist/runtime/components/ui/number-field/NumberFieldIncrement.vue +31 -0
- package/dist/runtime/components/ui/number-field/NumberFieldIncrement.vue.d.ts +31 -0
- package/dist/runtime/components/ui/number-field/NumberFieldInput.vue +19 -0
- package/dist/runtime/components/ui/number-field/NumberFieldInput.vue.d.ts +16 -0
- package/dist/runtime/components/ui/number-field/index.d.ts +5 -0
- package/dist/runtime/components/ui/number-field/index.js +5 -0
- package/dist/runtime/components/ui/pagination/Pagination.vue +34 -0
- package/dist/runtime/components/ui/pagination/Pagination.vue.d.ts +29 -0
- package/dist/runtime/components/ui/pagination/PaginationContent.vue +22 -0
- package/dist/runtime/components/ui/pagination/PaginationContent.vue.d.ts +31 -0
- package/dist/runtime/components/ui/pagination/PaginationEllipsis.vue +25 -0
- package/dist/runtime/components/ui/pagination/PaginationEllipsis.vue.d.ts +31 -0
- package/dist/runtime/components/ui/pagination/PaginationFirst.vue +36 -0
- package/dist/runtime/components/ui/pagination/PaginationFirst.vue.d.ts +48 -0
- package/dist/runtime/components/ui/pagination/PaginationItem.vue +35 -0
- package/dist/runtime/components/ui/pagination/PaginationItem.vue.d.ts +50 -0
- package/dist/runtime/components/ui/pagination/PaginationLast.vue +36 -0
- package/dist/runtime/components/ui/pagination/PaginationLast.vue.d.ts +48 -0
- package/dist/runtime/components/ui/pagination/PaginationNext.vue +36 -0
- package/dist/runtime/components/ui/pagination/PaginationNext.vue.d.ts +48 -0
- package/dist/runtime/components/ui/pagination/PaginationPrevious.vue +36 -0
- package/dist/runtime/components/ui/pagination/PaginationPrevious.vue.d.ts +48 -0
- package/dist/runtime/components/ui/pagination/index.d.ts +8 -0
- package/dist/runtime/components/ui/pagination/index.js +8 -0
- package/dist/runtime/components/ui/pin-input/PinInput.vue +42 -0
- package/dist/runtime/components/ui/pin-input/PinInput.vue.d.ts +41 -0
- package/dist/runtime/components/ui/pin-input/PinInputGroup.vue +22 -0
- package/dist/runtime/components/ui/pin-input/PinInputGroup.vue.d.ts +31 -0
- package/dist/runtime/components/ui/pin-input/PinInputSeparator.vue +20 -0
- package/dist/runtime/components/ui/pin-input/PinInputSeparator.vue.d.ts +26 -0
- package/dist/runtime/components/ui/pin-input/PinInputSlot.vue +30 -0
- package/dist/runtime/components/ui/pin-input/PinInputSlot.vue.d.ts +17 -0
- package/dist/runtime/components/ui/pin-input/index.d.ts +4 -0
- package/dist/runtime/components/ui/pin-input/index.js +4 -0
- package/dist/runtime/components/ui/popover/Popover.vue +19 -0
- package/dist/runtime/components/ui/popover/Popover.vue.d.ts +26 -0
- package/dist/runtime/components/ui/popover/PopoverAnchor.vue +17 -0
- package/dist/runtime/components/ui/popover/PopoverAnchor.vue.d.ts +26 -0
- package/dist/runtime/components/ui/popover/PopoverContent.vue +54 -0
- package/dist/runtime/components/ui/popover/PopoverContent.vue.d.ts +43 -0
- package/dist/runtime/components/ui/popover/PopoverTrigger.vue +16 -0
- package/dist/runtime/components/ui/popover/PopoverTrigger.vue.d.ts +26 -0
- package/dist/runtime/components/ui/popover/index.d.ts +4 -0
- package/dist/runtime/components/ui/popover/index.js +4 -0
- package/dist/runtime/components/ui/progress/Progress.vue +37 -0
- package/dist/runtime/components/ui/progress/Progress.vue.d.ts +31 -0
- package/dist/runtime/components/ui/progress/index.d.ts +1 -0
- package/dist/runtime/components/ui/progress/index.js +1 -0
- package/dist/runtime/components/ui/radio-group/RadioGroup.vue +34 -0
- package/dist/runtime/components/ui/radio-group/RadioGroup.vue.d.ts +29 -0
- package/dist/runtime/components/ui/radio-group/RadioGroupItem.vue +40 -0
- package/dist/runtime/components/ui/radio-group/RadioGroupItem.vue.d.ts +17 -0
- package/dist/runtime/components/ui/radio-group/index.d.ts +2 -0
- package/dist/runtime/components/ui/radio-group/index.js +2 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendar.vue +101 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendar.vue.d.ts +15 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCell.vue +31 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCell.vue.d.ts +31 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCellTrigger.vue +45 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCellTrigger.vue.d.ts +45 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGrid.vue +25 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGrid.vue.d.ts +31 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridBody.vue +16 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridBody.vue.d.ts +26 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridHead.vue +16 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridHead.vue.d.ts +26 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridRow.vue +25 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridRow.vue.d.ts +31 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeadCell.vue +30 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeadCell.vue.d.ts +31 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeader.vue +27 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeader.vue.d.ts +31 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeading.vue +29 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeading.vue.d.ts +37 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarNextButton.vue +37 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarNextButton.vue.d.ts +31 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarPrevButton.vue +37 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarPrevButton.vue.d.ts +31 -0
- package/dist/runtime/components/ui/range-calendar/index.d.ts +12 -0
- package/dist/runtime/components/ui/range-calendar/index.js +12 -0
- package/dist/runtime/components/ui/resizable/ResizableHandle.vue +43 -0
- package/dist/runtime/components/ui/resizable/ResizableHandle.vue.d.ts +16 -0
- package/dist/runtime/components/ui/resizable/ResizablePanel.vue +25 -0
- package/dist/runtime/components/ui/resizable/ResizablePanel.vue.d.ts +26 -0
- package/dist/runtime/components/ui/resizable/ResizablePanelGroup.vue +33 -0
- package/dist/runtime/components/ui/resizable/ResizablePanelGroup.vue.d.ts +29 -0
- package/dist/runtime/components/ui/resizable/index.d.ts +3 -0
- package/dist/runtime/components/ui/resizable/index.js +3 -0
- package/dist/runtime/components/ui/scroll-area/ScrollArea.vue +36 -0
- package/dist/runtime/components/ui/scroll-area/ScrollArea.vue.d.ts +31 -0
- package/dist/runtime/components/ui/scroll-area/ScrollBar.vue +36 -0
- package/dist/runtime/components/ui/scroll-area/ScrollBar.vue.d.ts +31 -0
- package/dist/runtime/components/ui/scroll-area/index.d.ts +2 -0
- package/dist/runtime/components/ui/scroll-area/index.js +2 -0
- package/dist/runtime/components/ui/select/Select.vue +27 -0
- package/dist/runtime/components/ui/select/Select.vue.d.ts +26 -0
- package/dist/runtime/components/ui/select/SelectContent.vue +69 -0
- package/dist/runtime/components/ui/select/SelectContent.vue.d.ts +41 -0
- package/dist/runtime/components/ui/select/SelectGroup.vue +16 -0
- package/dist/runtime/components/ui/select/SelectGroup.vue.d.ts +26 -0
- package/dist/runtime/components/ui/select/SelectItem.vue +44 -0
- package/dist/runtime/components/ui/select/SelectItem.vue.d.ts +31 -0
- package/dist/runtime/components/ui/select/SelectItemText.vue +16 -0
- package/dist/runtime/components/ui/select/SelectItemText.vue.d.ts +26 -0
- package/dist/runtime/components/ui/select/SelectLabel.vue +19 -0
- package/dist/runtime/components/ui/select/SelectLabel.vue.d.ts +31 -0
- package/dist/runtime/components/ui/select/SelectScrollDownButton.vue +30 -0
- package/dist/runtime/components/ui/select/SelectScrollDownButton.vue.d.ts +31 -0
- package/dist/runtime/components/ui/select/SelectScrollUpButton.vue +30 -0
- package/dist/runtime/components/ui/select/SelectScrollUpButton.vue.d.ts +31 -0
- package/dist/runtime/components/ui/select/SelectSeparator.vue +19 -0
- package/dist/runtime/components/ui/select/SelectSeparator.vue.d.ts +17 -0
- package/dist/runtime/components/ui/select/SelectTrigger.vue +39 -0
- package/dist/runtime/components/ui/select/SelectTrigger.vue.d.ts +47 -0
- package/dist/runtime/components/ui/select/SelectValue.vue +17 -0
- package/dist/runtime/components/ui/select/SelectValue.vue.d.ts +26 -0
- package/dist/runtime/components/ui/select/index.d.ts +11 -0
- package/dist/runtime/components/ui/select/index.js +11 -0
- package/dist/runtime/components/ui/separator/Separator.vue +26 -0
- package/dist/runtime/components/ui/separator/Separator.vue.d.ts +34 -0
- package/dist/runtime/components/ui/separator/index.d.ts +1 -0
- package/dist/runtime/components/ui/separator/index.js +1 -0
- package/dist/runtime/components/ui/sheet/Sheet.vue +19 -0
- package/dist/runtime/components/ui/sheet/Sheet.vue.d.ts +26 -0
- package/dist/runtime/components/ui/sheet/SheetClose.vue +16 -0
- package/dist/runtime/components/ui/sheet/SheetClose.vue.d.ts +26 -0
- package/dist/runtime/components/ui/sheet/SheetContent.vue +56 -0
- package/dist/runtime/components/ui/sheet/SheetContent.vue.d.ts +43 -0
- package/dist/runtime/components/ui/sheet/SheetDescription.vue +21 -0
- package/dist/runtime/components/ui/sheet/SheetDescription.vue.d.ts +31 -0
- package/dist/runtime/components/ui/sheet/SheetFooter.vue +15 -0
- package/dist/runtime/components/ui/sheet/SheetFooter.vue.d.ts +30 -0
- package/dist/runtime/components/ui/sheet/SheetHeader.vue +15 -0
- package/dist/runtime/components/ui/sheet/SheetHeader.vue.d.ts +30 -0
- package/dist/runtime/components/ui/sheet/SheetOverlay.vue +27 -0
- package/dist/runtime/components/ui/sheet/SheetOverlay.vue.d.ts +31 -0
- package/dist/runtime/components/ui/sheet/SheetTitle.vue +21 -0
- package/dist/runtime/components/ui/sheet/SheetTitle.vue.d.ts +31 -0
- package/dist/runtime/components/ui/sheet/SheetTrigger.vue +16 -0
- package/dist/runtime/components/ui/sheet/SheetTrigger.vue.d.ts +26 -0
- package/dist/runtime/components/ui/sheet/index.d.ts +8 -0
- package/dist/runtime/components/ui/sheet/index.js +8 -0
- package/dist/runtime/components/ui/sidebar/Sidebar.vue +101 -0
- package/dist/runtime/components/ui/sidebar/Sidebar.vue.d.ts +48 -0
- package/dist/runtime/components/ui/sidebar/SidebarContent.vue +21 -0
- package/dist/runtime/components/ui/sidebar/SidebarContent.vue.d.ts +30 -0
- package/dist/runtime/components/ui/sidebar/SidebarFooter.vue +16 -0
- package/dist/runtime/components/ui/sidebar/SidebarFooter.vue.d.ts +30 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroup.vue +16 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroup.vue.d.ts +30 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroupAction.vue +28 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroupAction.vue.d.ts +31 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroupContent.vue +16 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroupContent.vue.d.ts +30 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroupLabel.vue +27 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroupLabel.vue.d.ts +31 -0
- package/dist/runtime/components/ui/sidebar/SidebarHeader.vue +16 -0
- package/dist/runtime/components/ui/sidebar/SidebarHeader.vue.d.ts +30 -0
- package/dist/runtime/components/ui/sidebar/SidebarInput.vue +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarInput.vue.d.ts +30 -0
- package/dist/runtime/components/ui/sidebar/SidebarInset.vue +21 -0
- package/dist/runtime/components/ui/sidebar/SidebarInset.vue.d.ts +30 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenu.vue +16 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenu.vue.d.ts +30 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuAction.vue +33 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuAction.vue.d.ts +47 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuBadge.vue +26 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuBadge.vue.d.ts +30 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuButton.vue +44 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuButton.vue.d.ts +52 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.vue +28 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.vue.d.ts +54 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuItem.vue +16 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuItem.vue.d.ts +30 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSkeleton.vue +32 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSkeleton.vue.d.ts +18 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSub.vue +22 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSub.vue.d.ts +30 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSubButton.vue +34 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSubButton.vue.d.ts +52 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSubItem.vue +16 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSubItem.vue.d.ts +30 -0
- package/dist/runtime/components/ui/sidebar/SidebarProvider.vue +73 -0
- package/dist/runtime/components/ui/sidebar/SidebarProvider.vue.d.ts +44 -0
- package/dist/runtime/components/ui/sidebar/SidebarRail.vue +32 -0
- package/dist/runtime/components/ui/sidebar/SidebarRail.vue.d.ts +30 -0
- package/dist/runtime/components/ui/sidebar/SidebarSeparator.vue +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarSeparator.vue.d.ts +30 -0
- package/dist/runtime/components/ui/sidebar/SidebarTrigger.vue +24 -0
- package/dist/runtime/components/ui/sidebar/SidebarTrigger.vue.d.ts +16 -0
- package/dist/runtime/components/ui/sidebar/index.d.ts +37 -0
- package/dist/runtime/components/ui/sidebar/index.js +45 -0
- package/dist/runtime/components/ui/sidebar/utils.d.ts +56 -0
- package/dist/runtime/components/ui/sidebar/utils.js +8 -0
- package/dist/runtime/components/ui/skeleton/Skeleton.vue +13 -0
- package/dist/runtime/components/ui/skeleton/Skeleton.vue.d.ts +15 -0
- package/dist/runtime/components/ui/skeleton/index.d.ts +1 -0
- package/dist/runtime/components/ui/skeleton/index.js +1 -0
- package/dist/runtime/components/ui/slider/Slider.vue +63 -0
- package/dist/runtime/components/ui/slider/Slider.vue.d.ts +15 -0
- package/dist/runtime/components/ui/slider/index.d.ts +1 -0
- package/dist/runtime/components/ui/slider/index.js +1 -0
- package/dist/runtime/components/ui/sonner/Sonner.vue +36 -0
- package/dist/runtime/components/ui/sonner/Sonner.vue.d.ts +12 -0
- package/dist/runtime/components/ui/sonner/index.d.ts +1 -0
- package/dist/runtime/components/ui/sonner/index.js +1 -0
- package/dist/runtime/components/ui/stepper/Stepper.vue +28 -0
- package/dist/runtime/components/ui/stepper/Stepper.vue.d.ts +29 -0
- package/dist/runtime/components/ui/stepper/StepperDescription.vue +22 -0
- package/dist/runtime/components/ui/stepper/StepperDescription.vue.d.ts +31 -0
- package/dist/runtime/components/ui/stepper/StepperIndicator.vue +32 -0
- package/dist/runtime/components/ui/stepper/StepperIndicator.vue.d.ts +31 -0
- package/dist/runtime/components/ui/stepper/StepperItem.vue +30 -0
- package/dist/runtime/components/ui/stepper/StepperItem.vue.d.ts +31 -0
- package/dist/runtime/components/ui/stepper/StepperSeparator.vue +30 -0
- package/dist/runtime/components/ui/stepper/StepperSeparator.vue.d.ts +17 -0
- package/dist/runtime/components/ui/stepper/StepperTitle.vue +21 -0
- package/dist/runtime/components/ui/stepper/StepperTitle.vue.d.ts +31 -0
- package/dist/runtime/components/ui/stepper/StepperTrigger.vue +26 -0
- package/dist/runtime/components/ui/stepper/StepperTrigger.vue.d.ts +31 -0
- package/dist/runtime/components/ui/stepper/index.d.ts +7 -0
- package/dist/runtime/components/ui/stepper/index.js +7 -0
- package/dist/runtime/components/ui/switch/Switch.vue +48 -0
- package/dist/runtime/components/ui/switch/Switch.vue.d.ts +29 -0
- package/dist/runtime/components/ui/switch/index.d.ts +1 -0
- package/dist/runtime/components/ui/switch/index.js +1 -0
- package/dist/runtime/components/ui/table/Table.vue +17 -0
- package/dist/runtime/components/ui/table/Table.vue.d.ts +30 -0
- package/dist/runtime/components/ui/table/TableBody.vue +15 -0
- package/dist/runtime/components/ui/table/TableBody.vue.d.ts +30 -0
- package/dist/runtime/components/ui/table/TableCaption.vue +15 -0
- package/dist/runtime/components/ui/table/TableCaption.vue.d.ts +30 -0
- package/dist/runtime/components/ui/table/TableCell.vue +20 -0
- package/dist/runtime/components/ui/table/TableCell.vue.d.ts +30 -0
- package/dist/runtime/components/ui/table/TableEmpty.vue +29 -0
- package/dist/runtime/components/ui/table/TableEmpty.vue.d.ts +46 -0
- package/dist/runtime/components/ui/table/TableFooter.vue +17 -0
- package/dist/runtime/components/ui/table/TableFooter.vue.d.ts +30 -0
- package/dist/runtime/components/ui/table/TableHead.vue +20 -0
- package/dist/runtime/components/ui/table/TableHead.vue.d.ts +30 -0
- package/dist/runtime/components/ui/table/TableHeader.vue +12 -0
- package/dist/runtime/components/ui/table/TableHeader.vue.d.ts +30 -0
- package/dist/runtime/components/ui/table/TableRow.vue +20 -0
- package/dist/runtime/components/ui/table/TableRow.vue.d.ts +30 -0
- package/dist/runtime/components/ui/table/index.d.ts +9 -0
- package/dist/runtime/components/ui/table/index.js +9 -0
- package/dist/runtime/components/ui/table/utils.d.ts +3 -0
- package/dist/runtime/components/ui/table/utils.js +3 -0
- package/dist/runtime/components/ui/tabs/Tabs.vue +29 -0
- package/dist/runtime/components/ui/tabs/Tabs.vue.d.ts +29 -0
- package/dist/runtime/components/ui/tabs/TabsContent.vue +23 -0
- package/dist/runtime/components/ui/tabs/TabsContent.vue.d.ts +31 -0
- package/dist/runtime/components/ui/tabs/TabsList.vue +27 -0
- package/dist/runtime/components/ui/tabs/TabsList.vue.d.ts +31 -0
- package/dist/runtime/components/ui/tabs/TabsTrigger.vue +29 -0
- package/dist/runtime/components/ui/tabs/TabsTrigger.vue.d.ts +31 -0
- package/dist/runtime/components/ui/tabs/index.d.ts +4 -0
- package/dist/runtime/components/ui/tabs/index.js +4 -0
- package/dist/runtime/components/ui/tags-input/TagsInput.vue +45 -0
- package/dist/runtime/components/ui/tags-input/TagsInput.vue.d.ts +29 -0
- package/dist/runtime/components/ui/tags-input/TagsInputInput.vue +30 -0
- package/dist/runtime/components/ui/tags-input/TagsInputInput.vue.d.ts +17 -0
- package/dist/runtime/components/ui/tags-input/TagsInputItem.vue +31 -0
- package/dist/runtime/components/ui/tags-input/TagsInputItem.vue.d.ts +31 -0
- package/dist/runtime/components/ui/tags-input/TagsInputItemDelete.vue +27 -0
- package/dist/runtime/components/ui/tags-input/TagsInputItemDelete.vue.d.ts +31 -0
- package/dist/runtime/components/ui/tags-input/TagsInputItemText.vue +22 -0
- package/dist/runtime/components/ui/tags-input/TagsInputItemText.vue.d.ts +17 -0
- package/dist/runtime/components/ui/tags-input/index.d.ts +5 -0
- package/dist/runtime/components/ui/tags-input/index.js +5 -0
- package/dist/runtime/components/ui/textarea/Textarea.vue +27 -0
- package/dist/runtime/components/ui/textarea/Textarea.vue.d.ts +16 -0
- package/dist/runtime/components/ui/textarea/index.d.ts +1 -0
- package/dist/runtime/components/ui/textarea/index.js +1 -0
- package/dist/runtime/components/ui/toggle/Toggle.vue +35 -0
- package/dist/runtime/components/ui/toggle/Toggle.vue.d.ts +48 -0
- package/dist/runtime/components/ui/toggle/index.d.ts +7 -0
- package/dist/runtime/components/ui/toggle/index.js +22 -0
- package/dist/runtime/components/ui/toggle-group/ToggleGroup.vue +51 -0
- package/dist/runtime/components/ui/toggle-group/ToggleGroup.vue.d.ts +34 -0
- package/dist/runtime/components/ui/toggle-group/ToggleGroupItem.vue +44 -0
- package/dist/runtime/components/ui/toggle-group/ToggleGroupItem.vue.d.ts +38 -0
- package/dist/runtime/components/ui/toggle-group/index.d.ts +2 -0
- package/dist/runtime/components/ui/toggle-group/index.js +2 -0
- package/dist/runtime/components/ui/tooltip/Tooltip.vue +23 -0
- package/dist/runtime/components/ui/tooltip/Tooltip.vue.d.ts +26 -0
- package/dist/runtime/components/ui/tooltip/TooltipContent.vue +56 -0
- package/dist/runtime/components/ui/tooltip/TooltipContent.vue.d.ts +41 -0
- package/dist/runtime/components/ui/tooltip/TooltipProvider.vue +17 -0
- package/dist/runtime/components/ui/tooltip/TooltipProvider.vue.d.ts +40 -0
- package/dist/runtime/components/ui/tooltip/TooltipTrigger.vue +17 -0
- package/dist/runtime/components/ui/tooltip/TooltipTrigger.vue.d.ts +26 -0
- package/dist/runtime/components/ui/tooltip/index.d.ts +4 -0
- package/dist/runtime/components/ui/tooltip/index.js +4 -0
- package/dist/runtime/composables/useAuthorization.d.ts +2 -2
- package/dist/runtime/composables/useAuthorization.js +3 -7
- package/dist/runtime/composables/useFormState.d.ts +1 -1
- package/dist/runtime/composables/useFormState.js +1 -1
- package/dist/runtime/composables/useTableState.d.ts +2 -2
- package/dist/runtime/composables/useTableState.js +1 -1
- package/dist/runtime/enums/index.d.ts +0 -1
- package/dist/runtime/enums/index.js +0 -1
- package/dist/runtime/i18n/i18n.config.d.ts +0 -5
- package/dist/runtime/index.css +1 -0
- package/dist/runtime/lib/utils.d.ts +2 -0
- package/dist/runtime/lib/utils.js +5 -0
- package/dist/runtime/middleware/authentication.d.ts +1 -1
- package/dist/runtime/middleware/authentication.js +3 -1
- package/dist/runtime/middleware/authorization.d.ts +1 -1
- package/dist/runtime/middleware/authorization.js +4 -6
- package/dist/runtime/pages/401.vue +2 -3
- package/dist/runtime/pages/401.vue.d.ts +2 -0
- package/dist/runtime/pages/403.vue +2 -3
- package/dist/runtime/pages/403.vue.d.ts +2 -0
- package/dist/runtime/pages/ssoCallback.vue +5 -5
- package/dist/runtime/pages/ssoCallback.vue.d.ts +2 -0
- package/dist/runtime/plugins/auth.d.ts +59 -1
- package/dist/runtime/plugins/auth.js +2 -2
- package/dist/runtime/plugins/vue-json.d.ts +1 -1
- package/dist/runtime/types/index.d.ts +9 -38
- package/dist/runtime/utils/buildSortQuery.d.ts +1 -1
- package/dist/runtime/utils/getFromLocalStorage.js +1 -1
- package/dist/types.d.mts +2 -2
- package/package.json +61 -22
- package/dist/module.cjs +0 -5
- package/dist/module.d.ts +0 -14
- package/dist/runtime/assets/scss/styles.css +0 -1016
- package/dist/runtime/components/layout/footer/Footer.vue +0 -16
- package/dist/runtime/components/layout/header/BtnExtendMenu.vue +0 -29
- package/dist/runtime/components/layout/header/Header.vue +0 -7
- package/dist/runtime/components/layout/header/HeaderMenu.vue +0 -41
- package/dist/runtime/components/layout/header/HeaderMenuTabs.vue +0 -102
- package/dist/runtime/components/layout/sidebar/NavCollapse.vue +0 -38
- package/dist/runtime/components/layout/sidebar/NavGroup.vue +0 -9
- package/dist/runtime/components/layout/sidebar/NavItem.vue +0 -25
- package/dist/runtime/components/layout/sidebar/SideBar.vue +0 -74
- package/dist/runtime/components/layout/sidebar/SideBarFooter.vue +0 -69
- package/dist/runtime/components/layout/sidebar/TopSideBarLogo.vue +0 -25
- package/dist/runtime/components/shared/authorization/AuthorizedRenderer.vue +0 -43
- package/dist/runtime/components/shared/buttons/BtnBack.vue +0 -19
- package/dist/runtime/components/shared/buttons/BtnCancel.vue +0 -13
- package/dist/runtime/components/shared/buttons/BtnConfirm.vue +0 -14
- package/dist/runtime/components/shared/containers/JsonViewer.vue +0 -13
- package/dist/runtime/components/shared/dates/DatePicker.vue +0 -91
- package/dist/runtime/components/shared/dialogs/DialogConfirmDelete.vue +0 -32
- package/dist/runtime/components/shared/dialogs/DialogExportTable.vue +0 -44
- package/dist/runtime/components/shared/feedback/LoadingSession.vue +0 -17
- package/dist/runtime/components/shared/feedback/SnackBar.vue +0 -40
- package/dist/runtime/components/shared/forms/FormBuilder/FieldBuilder.vue +0 -251
- package/dist/runtime/components/shared/forms/FormBuilder/FieldSlotMissed.vue +0 -20
- package/dist/runtime/components/shared/forms/FormBuilder/FormBuilder.vue +0 -213
- package/dist/runtime/components/shared/forms/FormBuilder/SteppersBuilder.vue +0 -32
- package/dist/runtime/components/shared/forms/FormBuilder/TabsBuilder.vue +0 -30
- package/dist/runtime/components/shared/forms/FormDialogWrapper.vue +0 -48
- package/dist/runtime/components/shared/forms/FormPageWrapper.vue +0 -19
- package/dist/runtime/components/shared/forms/FormSubmitSection.vue +0 -48
- package/dist/runtime/components/shared/navigation/BreadCrumbs.vue +0 -21
- package/dist/runtime/components/shared/tables/CustomTable.vue +0 -261
- package/dist/runtime/components/shared/tables/CustomTableHeader.vue +0 -25
- package/dist/runtime/components/shared/tables/NoDataMessage.vue +0 -12
- package/dist/runtime/components/shared/tables/TableSearchBar.vue +0 -22
- package/dist/runtime/components/shared/tables/buttons/BtnAdd.vue +0 -25
- package/dist/runtime/components/shared/tables/buttons/BtnDelete.vue +0 -32
- package/dist/runtime/components/shared/tables/buttons/BtnEdit.vue +0 -30
- package/dist/runtime/components/shared/tables/buttons/BtnExport.vue +0 -17
- package/dist/runtime/components/shared/tables/buttons/BtnFilter.vue +0 -21
- package/dist/runtime/components/shared/tables/pagination/ItemsPerPageCombo.vue +0 -24
- package/dist/runtime/components/shared/tables/pagination/ItemsPerPageLabel.vue +0 -5
- package/dist/runtime/components/shared/tables/pagination/PageSelector.vue +0 -16
- package/dist/runtime/components/shared/tables/pagination/PaginationInfo.vue +0 -31
- package/dist/runtime/enums/EVuetifyDateFormats.d.ts +0 -32
- package/dist/runtime/enums/EVuetifyDateFormats.js +0 -30
- package/dist/runtime/layouts/default.vue +0 -31
- package/dist/runtime/layouts/empty.vue +0 -12
- package/dist/types.d.ts +0 -7
package/dist/module.mjs
CHANGED
|
@@ -1,48 +1,51 @@
|
|
|
1
|
-
import { createResolver, defineNuxtModule, useLogger, extendPages, addLayout, addComponentsDir, addImportsDir, addPlugin, addRouteMiddleware, hasNuxtModule } from '@nuxt/kit';
|
|
1
|
+
import { createResolver, addTemplate, defineNuxtModule, useLogger, extendPages, addLayout, addComponentsDir, addImportsDir, addPlugin, addVitePlugin, addRouteMiddleware, hasNuxtModule } from '@nuxt/kit';
|
|
2
2
|
import { defu } from 'defu';
|
|
3
|
+
import * as fs from 'node:fs';
|
|
4
|
+
import * as path from 'node:path';
|
|
3
5
|
|
|
4
|
-
const
|
|
5
|
-
const version = "2.1.1";
|
|
6
|
-
|
|
7
|
-
function resolve(path) {
|
|
8
|
-
const resolver = createResolver(import.meta.url);
|
|
9
|
-
return resolver.resolve(`./runtime/${path}`);
|
|
10
|
-
}
|
|
11
|
-
|
|
6
|
+
const { resolve } = createResolver(import.meta.url);
|
|
12
7
|
const PAGES_CONFIG = [
|
|
13
8
|
{
|
|
14
9
|
name: "401",
|
|
15
10
|
path: "/401",
|
|
16
|
-
file: resolve("pages/401.vue")
|
|
11
|
+
file: resolve("./runtime/pages/401.vue")
|
|
17
12
|
},
|
|
18
13
|
{
|
|
19
14
|
name: "403",
|
|
20
15
|
path: "/403",
|
|
21
|
-
file: resolve("pages/403.vue")
|
|
16
|
+
file: resolve("./runtime/pages/403.vue")
|
|
22
17
|
},
|
|
23
18
|
{
|
|
24
19
|
name: "ssoCallback",
|
|
25
20
|
path: "/auth/sso/login",
|
|
26
|
-
file: resolve("pages/ssoCallback.vue")
|
|
21
|
+
file: resolve("./runtime/pages/ssoCallback.vue")
|
|
27
22
|
}
|
|
28
23
|
];
|
|
29
24
|
const LAYOUTS_CONFIG = {
|
|
30
|
-
default: { src: resolve("layouts/default.vue"), name: "default" },
|
|
31
|
-
empty: { src: resolve("layouts/empty.vue"), name: "empty" }
|
|
25
|
+
default: { src: resolve("./runtime/layouts/default.vue"), name: "default" },
|
|
26
|
+
empty: { src: resolve("./runtime/layouts/empty.vue"), name: "empty" }
|
|
27
|
+
};
|
|
28
|
+
const AUTH_PLUGIN = {
|
|
29
|
+
name: "auth",
|
|
30
|
+
src: resolve("./runtime/plugins/auth"),
|
|
31
|
+
mode: "client"
|
|
32
32
|
};
|
|
33
33
|
const PLUGINS_CONFIG = [
|
|
34
|
-
{
|
|
35
|
-
|
|
34
|
+
{
|
|
35
|
+
name: "vue-json",
|
|
36
|
+
src: resolve("./runtime/plugins/vue-json"),
|
|
37
|
+
mode: "client"
|
|
38
|
+
}
|
|
36
39
|
];
|
|
37
|
-
const
|
|
40
|
+
const AUTH_MIDDLEWARE_CONFIG = [
|
|
38
41
|
{
|
|
39
42
|
name: "authentication",
|
|
40
|
-
path: resolve("middleware/authentication"),
|
|
43
|
+
path: resolve("./runtime/middleware/authentication"),
|
|
41
44
|
global: true
|
|
42
45
|
},
|
|
43
46
|
{
|
|
44
47
|
name: "authorization",
|
|
45
|
-
path: resolve("middleware/authorization"),
|
|
48
|
+
path: resolve("./runtime/middleware/authorization"),
|
|
46
49
|
global: true
|
|
47
50
|
}
|
|
48
51
|
];
|
|
@@ -52,42 +55,103 @@ const AUTO_IMPORT_DIRS = [
|
|
|
52
55
|
"enums",
|
|
53
56
|
"stores",
|
|
54
57
|
"types",
|
|
55
|
-
"utils"
|
|
58
|
+
"utils",
|
|
59
|
+
"lib"
|
|
56
60
|
];
|
|
57
61
|
|
|
62
|
+
function getShadcnComponentsInstalled() {
|
|
63
|
+
try {
|
|
64
|
+
const { resolve } = createResolver(import.meta.url);
|
|
65
|
+
const directoryPath = resolve("./runtime/components/ui");
|
|
66
|
+
const filesAndFolders = fs.readdirSync(directoryPath);
|
|
67
|
+
const folders = filesAndFolders.filter((item) => {
|
|
68
|
+
const fullPath = path.join(directoryPath, item);
|
|
69
|
+
return fs.statSync(fullPath).isDirectory();
|
|
70
|
+
});
|
|
71
|
+
return folders;
|
|
72
|
+
} catch (err) {
|
|
73
|
+
console.error("Error reading directory:", err);
|
|
74
|
+
return [];
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
function getTemplates() {
|
|
78
|
+
const { resolve } = createResolver(import.meta.url);
|
|
79
|
+
const templates = [];
|
|
80
|
+
const components = getShadcnComponentsInstalled();
|
|
81
|
+
for (const component of components) {
|
|
82
|
+
try {
|
|
83
|
+
const filePath = resolve(`./runtime/components/ui/${component}/index.ts`);
|
|
84
|
+
const fileContent = fs.readFileSync(filePath, "utf-8");
|
|
85
|
+
templates.push({
|
|
86
|
+
filename: `unaxt/${component}.ts`,
|
|
87
|
+
write: true,
|
|
88
|
+
getContents: () => fileContent
|
|
89
|
+
});
|
|
90
|
+
} catch (error) {
|
|
91
|
+
console.error(
|
|
92
|
+
`Error reading file components/ui/${component}/index.ts:`,
|
|
93
|
+
error
|
|
94
|
+
);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
templates.push({
|
|
98
|
+
filename: "unaxt.css",
|
|
99
|
+
write: true,
|
|
100
|
+
getContents: () => `@source "./unaxt";
|
|
101
|
+
|
|
102
|
+
@theme default {}
|
|
103
|
+
`
|
|
104
|
+
});
|
|
105
|
+
return templates;
|
|
106
|
+
}
|
|
107
|
+
function addTemplates() {
|
|
108
|
+
const templates = getTemplates();
|
|
109
|
+
for (const template of templates) {
|
|
110
|
+
addTemplate(template);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
const name = "una-nuxt-module";
|
|
115
|
+
const version = "2.1.3";
|
|
116
|
+
|
|
58
117
|
const module = defineNuxtModule({
|
|
59
118
|
meta: {
|
|
60
|
-
name
|
|
61
|
-
version
|
|
62
|
-
configKey: "
|
|
119
|
+
name,
|
|
120
|
+
version,
|
|
121
|
+
configKey: "unaxt"
|
|
63
122
|
},
|
|
64
123
|
defaults: {
|
|
65
124
|
use: {
|
|
66
125
|
layout: {
|
|
67
126
|
default: false,
|
|
68
127
|
empty: false
|
|
69
|
-
}
|
|
128
|
+
},
|
|
129
|
+
sso: true,
|
|
130
|
+
components: true
|
|
70
131
|
}
|
|
71
132
|
},
|
|
72
|
-
async setup(
|
|
133
|
+
async setup(options, nuxt) {
|
|
73
134
|
const logger = useLogger(name);
|
|
74
|
-
const
|
|
135
|
+
const { resolve } = createResolver(import.meta.url);
|
|
136
|
+
nuxt.options.unaxt = options;
|
|
137
|
+
nuxt.options.alias["#unaxt"] = resolve("./runtime");
|
|
75
138
|
const mergeRuntimeConfigWithDefaults = () => {
|
|
76
|
-
|
|
77
|
-
|
|
139
|
+
const validateIDToken = import.meta.dev ? nuxt.options.runtimeConfig.public.unaNuxtModule.sso.validateIDToken ?? false : true;
|
|
140
|
+
nuxt.options.runtimeConfig.public.unaNuxtModule = defu(
|
|
141
|
+
nuxt.options.runtimeConfig.public.unaNuxtModule,
|
|
78
142
|
{
|
|
79
143
|
sso: { validateIDToken },
|
|
80
144
|
use: {
|
|
81
145
|
layout: {
|
|
82
|
-
default:
|
|
83
|
-
empty:
|
|
146
|
+
default: options.use.layout.default,
|
|
147
|
+
empty: options.use.layout.empty
|
|
84
148
|
}
|
|
85
149
|
}
|
|
86
150
|
}
|
|
87
151
|
);
|
|
88
152
|
};
|
|
89
153
|
const setupPublicAssets = () => {
|
|
90
|
-
|
|
154
|
+
nuxt.options.nitro.publicAssets = [{ dir: resolve("./runtime/public") }];
|
|
91
155
|
logger.success("Public assets added");
|
|
92
156
|
};
|
|
93
157
|
const setupPages = () => {
|
|
@@ -97,24 +161,33 @@ const module = defineNuxtModule({
|
|
|
97
161
|
logger.success("Custom pages added: ['/401', '/403', '/auth/sso/login']");
|
|
98
162
|
};
|
|
99
163
|
const setupLayouts = () => {
|
|
100
|
-
const addLayoutDefault =
|
|
164
|
+
const addLayoutDefault = nuxt.options.runtimeConfig.public.unaNuxtModule.use.layout.default;
|
|
101
165
|
if (addLayoutDefault) {
|
|
102
166
|
addLayout(LAYOUTS_CONFIG.default, LAYOUTS_CONFIG.default.name);
|
|
103
167
|
logger.success("Layout added: default");
|
|
104
168
|
}
|
|
105
|
-
const addLayoutEmpty =
|
|
169
|
+
const addLayoutEmpty = nuxt.options.runtimeConfig.public.unaNuxtModule.use.layout.empty;
|
|
106
170
|
if (addLayoutEmpty) {
|
|
107
171
|
addLayout(LAYOUTS_CONFIG.empty, LAYOUTS_CONFIG.empty.name);
|
|
108
172
|
logger.success("Layout added: empty");
|
|
109
173
|
}
|
|
110
174
|
};
|
|
111
175
|
const setupComponents = () => {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
176
|
+
if (nuxt.options.runtimeConfig.public.unaNuxtModule.use.components) {
|
|
177
|
+
addComponentsDir(
|
|
178
|
+
{
|
|
179
|
+
path: resolve("./runtime/components/ui"),
|
|
180
|
+
extensions: [".vue"],
|
|
181
|
+
prefix: "",
|
|
182
|
+
pathPrefix: false,
|
|
183
|
+
global: true
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
prepend: true
|
|
187
|
+
}
|
|
188
|
+
);
|
|
189
|
+
logger.success("Global components added");
|
|
190
|
+
}
|
|
118
191
|
};
|
|
119
192
|
const setupAutoImports = () => {
|
|
120
193
|
addImportsDir(AUTO_IMPORT_DIRS.map((dir) => resolve(dir)));
|
|
@@ -122,21 +195,42 @@ const module = defineNuxtModule({
|
|
|
122
195
|
`Auto-import directories added: [${AUTO_IMPORT_DIRS.join(", ")}]`
|
|
123
196
|
);
|
|
124
197
|
};
|
|
198
|
+
const setupSSO = () => {
|
|
199
|
+
if (nuxt.options.runtimeConfig.public.unaNuxtModule.use.sso) {
|
|
200
|
+
addPlugin(AUTH_PLUGIN);
|
|
201
|
+
logger.success("Auth plugin added... SSO configurado");
|
|
202
|
+
}
|
|
203
|
+
};
|
|
125
204
|
const setupPlugins = () => {
|
|
126
205
|
PLUGINS_CONFIG.forEach((plugin) => addPlugin(plugin));
|
|
127
|
-
logger.success("Plugins added: ['
|
|
206
|
+
logger.success("Plugins added: ['vue-json']");
|
|
128
207
|
};
|
|
129
|
-
const
|
|
130
|
-
|
|
131
|
-
|
|
208
|
+
const setupTailwindPlugin = async () => {
|
|
209
|
+
if (nuxt.options.builder === "@nuxt/vite-builder") {
|
|
210
|
+
const plugin = await import('@tailwindcss/vite').then((r) => r.default);
|
|
211
|
+
addVitePlugin(plugin());
|
|
212
|
+
} else {
|
|
213
|
+
nuxt.options.postcss.plugins["@tailwindcss/postcss"] = {};
|
|
214
|
+
}
|
|
215
|
+
};
|
|
216
|
+
const setupAuthMiddlewares = () => {
|
|
217
|
+
if (nuxt.options.runtimeConfig.public.unaNuxtModule.use.sso) {
|
|
218
|
+
AUTH_MIDDLEWARE_CONFIG.forEach(
|
|
219
|
+
(middleware) => addRouteMiddleware(middleware)
|
|
220
|
+
);
|
|
221
|
+
logger.success("Middleware added: ['authentication', 'authorization']");
|
|
222
|
+
}
|
|
132
223
|
};
|
|
133
224
|
const setupI18n = () => {
|
|
134
|
-
if (!hasNuxtModule("@nuxtjs/i18n",
|
|
135
|
-
|
|
225
|
+
if (!hasNuxtModule("@nuxtjs/i18n", nuxt)) {
|
|
226
|
+
console.log(
|
|
227
|
+
"@nuxtjs/i18n module is not installed, i18n extend messages skipped"
|
|
228
|
+
);
|
|
229
|
+
return;
|
|
136
230
|
}
|
|
137
|
-
|
|
231
|
+
nuxt.hook("i18n:registerModule", (register) => {
|
|
138
232
|
register({
|
|
139
|
-
langDir: resolve("i18n/locales"),
|
|
233
|
+
langDir: resolve("./runtime/i18n/locales"),
|
|
140
234
|
locales: [{ code: "es", file: "es.json" }]
|
|
141
235
|
});
|
|
142
236
|
});
|
|
@@ -151,9 +245,12 @@ const module = defineNuxtModule({
|
|
|
151
245
|
setupLayouts();
|
|
152
246
|
setupComponents();
|
|
153
247
|
setupAutoImports();
|
|
248
|
+
setupSSO();
|
|
154
249
|
setupPlugins();
|
|
155
|
-
|
|
250
|
+
await setupTailwindPlugin();
|
|
251
|
+
setupAuthMiddlewares();
|
|
156
252
|
setupI18n();
|
|
253
|
+
addTemplates();
|
|
157
254
|
logger.success("Module setup completed successfully\n");
|
|
158
255
|
} catch (error) {
|
|
159
256
|
logger.error("Module setup failed");
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import {
|
|
3
|
+
AccordionRoot,
|
|
4
|
+
useForwardPropsEmits
|
|
5
|
+
} from "reka-ui";
|
|
6
|
+
const props = defineProps({
|
|
7
|
+
collapsible: { type: Boolean, required: false },
|
|
8
|
+
disabled: { type: Boolean, required: false },
|
|
9
|
+
dir: { type: String, required: false },
|
|
10
|
+
orientation: { type: String, required: false },
|
|
11
|
+
unmountOnHide: { type: Boolean, required: false },
|
|
12
|
+
asChild: { type: Boolean, required: false },
|
|
13
|
+
as: { type: [String, Object, Function], required: false },
|
|
14
|
+
type: { type: String, required: false },
|
|
15
|
+
modelValue: { type: null, required: false },
|
|
16
|
+
defaultValue: { type: null, required: false }
|
|
17
|
+
});
|
|
18
|
+
const emits = defineEmits(["update:modelValue"]);
|
|
19
|
+
const forwarded = useForwardPropsEmits(props, emits);
|
|
20
|
+
</script>
|
|
21
|
+
|
|
22
|
+
<template>
|
|
23
|
+
<AccordionRoot data-slot="accordion" v-bind="forwarded">
|
|
24
|
+
<slot />
|
|
25
|
+
</AccordionRoot>
|
|
26
|
+
</template>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { type AccordionRootProps } 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<AccordionRootProps<string | string[]>>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {}, {}, {}, {}, 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,24 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
3
|
+
import { AccordionContent } from "reka-ui";
|
|
4
|
+
import { cn } from "../../../lib/utils";
|
|
5
|
+
const props = defineProps({
|
|
6
|
+
forceMount: { type: Boolean, 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
|
+
<AccordionContent
|
|
16
|
+
data-slot="accordion-content"
|
|
17
|
+
v-bind="delegatedProps"
|
|
18
|
+
class="data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm"
|
|
19
|
+
>
|
|
20
|
+
<div :class="cn('pt-0 pb-4', props.class)">
|
|
21
|
+
<slot />
|
|
22
|
+
</div>
|
|
23
|
+
</AccordionContent>
|
|
24
|
+
</template>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { HTMLAttributes } from "vue";
|
|
2
|
+
import { type AccordionContentProps } 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<AccordionContentProps & {
|
|
12
|
+
class?: HTMLAttributes["class"];
|
|
13
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<AccordionContentProps & {
|
|
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,28 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
3
|
+
import {
|
|
4
|
+
AccordionItem,
|
|
5
|
+
useForwardProps
|
|
6
|
+
} from "reka-ui";
|
|
7
|
+
import { cn } from "../../../lib/utils";
|
|
8
|
+
const props = defineProps({
|
|
9
|
+
disabled: { type: Boolean, required: false },
|
|
10
|
+
value: { type: String, required: true },
|
|
11
|
+
unmountOnHide: { type: Boolean, required: false },
|
|
12
|
+
asChild: { type: Boolean, required: false },
|
|
13
|
+
as: { type: [String, Object, Function], required: false },
|
|
14
|
+
class: { type: null, required: false }
|
|
15
|
+
});
|
|
16
|
+
const delegatedProps = reactiveOmit(props, "class");
|
|
17
|
+
const forwardedProps = useForwardProps(delegatedProps);
|
|
18
|
+
</script>
|
|
19
|
+
|
|
20
|
+
<template>
|
|
21
|
+
<AccordionItem
|
|
22
|
+
data-slot="accordion-item"
|
|
23
|
+
v-bind="forwardedProps"
|
|
24
|
+
:class="cn('border-b last:border-b-0', props.class)"
|
|
25
|
+
>
|
|
26
|
+
<slot />
|
|
27
|
+
</AccordionItem>
|
|
28
|
+
</template>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { HTMLAttributes } from "vue";
|
|
2
|
+
import { type AccordionItemProps } 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<AccordionItemProps & {
|
|
12
|
+
class?: HTMLAttributes["class"];
|
|
13
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<AccordionItemProps & {
|
|
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,37 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
3
|
+
import { ChevronDown } from "lucide-vue-next";
|
|
4
|
+
import {
|
|
5
|
+
AccordionHeader,
|
|
6
|
+
AccordionTrigger
|
|
7
|
+
} from "reka-ui";
|
|
8
|
+
import { cn } from "../../../lib/utils";
|
|
9
|
+
const props = defineProps({
|
|
10
|
+
asChild: { type: Boolean, required: false },
|
|
11
|
+
as: { type: [String, Object, Function], required: false },
|
|
12
|
+
class: { type: null, required: false }
|
|
13
|
+
});
|
|
14
|
+
const delegatedProps = reactiveOmit(props, "class");
|
|
15
|
+
</script>
|
|
16
|
+
|
|
17
|
+
<template>
|
|
18
|
+
<AccordionHeader class="flex">
|
|
19
|
+
<AccordionTrigger
|
|
20
|
+
data-slot="accordion-trigger"
|
|
21
|
+
v-bind="delegatedProps"
|
|
22
|
+
:class="
|
|
23
|
+
cn(
|
|
24
|
+
'focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180',
|
|
25
|
+
props.class
|
|
26
|
+
)
|
|
27
|
+
"
|
|
28
|
+
>
|
|
29
|
+
<slot />
|
|
30
|
+
<slot name="icon">
|
|
31
|
+
<ChevronDown
|
|
32
|
+
class="text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"
|
|
33
|
+
/>
|
|
34
|
+
</slot>
|
|
35
|
+
</AccordionTrigger>
|
|
36
|
+
</AccordionHeader>
|
|
37
|
+
</template>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { HTMLAttributes } from "vue";
|
|
2
|
+
import { type AccordionTriggerProps } from "reka-ui";
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
icon?(_: {}): 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<AccordionTriggerProps & {
|
|
13
|
+
class?: HTMLAttributes["class"];
|
|
14
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<AccordionTriggerProps & {
|
|
15
|
+
class?: HTMLAttributes["class"];
|
|
16
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
20
|
+
type __VLS_TypePropsToOption<T> = {
|
|
21
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
22
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
23
|
+
} : {
|
|
24
|
+
type: import('vue').PropType<T[K]>;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { default as Accordion } from './Accordion.vue.js';
|
|
2
|
+
export { default as AccordionContent } from './AccordionContent.vue.js';
|
|
3
|
+
export { default as AccordionItem } from './AccordionItem.vue.js';
|
|
4
|
+
export { default as AccordionTrigger } from './AccordionTrigger.vue.js';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { cn } from "../../../lib/utils";
|
|
3
|
+
import { alertVariants } from ".";
|
|
4
|
+
const props = defineProps({
|
|
5
|
+
class: { type: null, required: false },
|
|
6
|
+
variant: { type: null, required: false }
|
|
7
|
+
});
|
|
8
|
+
</script>
|
|
9
|
+
|
|
10
|
+
<template>
|
|
11
|
+
<div
|
|
12
|
+
data-slot="alert"
|
|
13
|
+
:class="cn(alertVariants({ variant }), props.class)"
|
|
14
|
+
role="alert"
|
|
15
|
+
>
|
|
16
|
+
<slot />
|
|
17
|
+
</div>
|
|
18
|
+
</template>
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { HTMLAttributes } from "vue";
|
|
2
|
+
import { type AlertVariants } from ".";
|
|
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<{
|
|
12
|
+
class?: HTMLAttributes["class"];
|
|
13
|
+
variant?: AlertVariants["variant"];
|
|
14
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
15
|
+
class?: HTMLAttributes["class"];
|
|
16
|
+
variant?: AlertVariants["variant"];
|
|
17
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
18
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
|
+
type __VLS_TypePropsToOption<T> = {
|
|
22
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
23
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
24
|
+
} : {
|
|
25
|
+
type: import('vue').PropType<T[K]>;
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { cn } from "../../../lib/utils";
|
|
3
|
+
const props = defineProps({
|
|
4
|
+
class: { type: null, required: false }
|
|
5
|
+
});
|
|
6
|
+
</script>
|
|
7
|
+
|
|
8
|
+
<template>
|
|
9
|
+
<div
|
|
10
|
+
data-slot="alert-description"
|
|
11
|
+
:class="
|
|
12
|
+
cn(
|
|
13
|
+
'text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed',
|
|
14
|
+
props.class
|
|
15
|
+
)
|
|
16
|
+
"
|
|
17
|
+
>
|
|
18
|
+
<slot />
|
|
19
|
+
</div>
|
|
20
|
+
</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
|
+
};
|