una-nuxt-module 3.0.37 → 3.0.39
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/templates/AppBreadcumbs.vue/AppBreadcumbs.vue +1 -9
- package/.nuxt/templates/AppFooter.vue/AppFooter.vue +12 -0
- package/.nuxt/templates/AppFooterContent.vue/AppFooterContent.vue +9 -0
- package/.nuxt/templates/AppHeader.vue/AppHeader.vue +16 -0
- package/.nuxt/templates/AppHeaderContent.vue/AppHeaderContent.vue +9 -0
- package/.nuxt/templates/AppSideBarFooter.vue/AppSideBarFooter.vue +63 -0
- package/.nuxt/templates/AppSideBarFooterContent.vue/AppSideBarFooterContent.vue +7 -0
- package/.nuxt/templates/AppSideBarHeaderContent.vue/AppSideBarHeaderContent.vue +5 -0
- package/.nuxt/templates/AppSideBarMenu.vue/AppSideBarMenu.vue +31 -0
- package/.nuxt/templates/AppSideBarMenuContent.vue/AppSideBarMenuContent.vue +7 -0
- package/.nuxt/templates/AppSidebar.vue/AppSidebar.vue +8 -0
- package/.nuxt/templates/ThemeSelector.vue/ThemeSelector.vue +64 -0
- package/.nuxt/templates/ThemeToggle.vue/ThemeToggle.vue +42 -0
- package/.nuxt/templates/accordion/AccordionContent.vue +1 -1
- package/.nuxt/templates/accordion/AccordionItem.vue +1 -1
- package/.nuxt/templates/accordion/AccordionTrigger.vue +2 -2
- package/.nuxt/templates/alert/Alert.vue +1 -1
- package/.nuxt/templates/alert/AlertDescription.vue +1 -1
- package/.nuxt/templates/alert/AlertTitle.vue +1 -1
- package/.nuxt/templates/alert-dialog/AlertDialogAction.vue +1 -1
- package/.nuxt/templates/alert-dialog/AlertDialogCancel.vue +1 -1
- package/.nuxt/templates/alert-dialog/AlertDialogContent.vue +1 -1
- package/.nuxt/templates/alert-dialog/AlertDialogDescription.vue +1 -1
- package/.nuxt/templates/alert-dialog/AlertDialogFooter.vue +1 -1
- package/.nuxt/templates/alert-dialog/AlertDialogHeader.vue +1 -1
- package/.nuxt/templates/alert-dialog/AlertDialogTitle.vue +1 -1
- package/.nuxt/templates/avatar/Avatar.vue +1 -1
- package/.nuxt/templates/avatar/AvatarFallback.vue +1 -1
- package/.nuxt/templates/badge/Badge.vue +1 -1
- package/.nuxt/templates/breadcrumb/BreadcrumbEllipsis.vue +2 -2
- package/.nuxt/templates/breadcrumb/BreadcrumbItem.vue +1 -1
- package/.nuxt/templates/breadcrumb/BreadcrumbLink.vue +1 -1
- package/.nuxt/templates/breadcrumb/BreadcrumbList.vue +1 -1
- package/.nuxt/templates/breadcrumb/BreadcrumbPage.vue +1 -1
- package/.nuxt/templates/breadcrumb/BreadcrumbSeparator.vue +2 -2
- package/.nuxt/templates/button/Button.vue +1 -1
- package/.nuxt/templates/button-group/ButtonGroup.vue +1 -1
- package/.nuxt/templates/button-group/ButtonGroupSeparator.vue +1 -1
- package/.nuxt/templates/button-group/ButtonGroupText.vue +1 -1
- package/.nuxt/templates/calendar/Calendar.vue +1 -1
- package/.nuxt/templates/calendar/CalendarCell.vue +1 -1
- package/.nuxt/templates/calendar/CalendarCellTrigger.vue +1 -1
- package/.nuxt/templates/calendar/CalendarGrid.vue +1 -1
- package/.nuxt/templates/calendar/CalendarGridRow.vue +1 -1
- package/.nuxt/templates/calendar/CalendarHeadCell.vue +1 -1
- package/.nuxt/templates/calendar/CalendarHeader.vue +1 -1
- package/.nuxt/templates/calendar/CalendarHeading.vue +1 -1
- package/.nuxt/templates/calendar/CalendarNextButton.vue +2 -2
- package/.nuxt/templates/calendar/CalendarPrevButton.vue +2 -2
- package/.nuxt/templates/card/Card.vue +1 -1
- package/.nuxt/templates/card/CardAction.vue +1 -1
- package/.nuxt/templates/card/CardContent.vue +1 -1
- package/.nuxt/templates/card/CardDescription.vue +1 -1
- package/.nuxt/templates/card/CardFooter.vue +1 -1
- package/.nuxt/templates/card/CardHeader.vue +1 -1
- package/.nuxt/templates/card/CardTitle.vue +1 -1
- package/.nuxt/templates/carousel/Carousel.vue +1 -1
- package/.nuxt/templates/carousel/CarouselContent.vue +1 -1
- package/.nuxt/templates/carousel/CarouselItem.vue +1 -1
- package/.nuxt/templates/carousel/CarouselNext.vue +2 -2
- package/.nuxt/templates/carousel/CarouselPrevious.vue +2 -2
- package/.nuxt/templates/chart/ChartContainer.vue +1 -1
- package/.nuxt/templates/chart/ChartLegendContent.vue +1 -1
- package/.nuxt/templates/chart/ChartTooltipContent.vue +1 -1
- package/.nuxt/templates/checkbox/Checkbox.vue +2 -2
- package/.nuxt/templates/combobox/ComboboxAnchor.vue +1 -1
- package/.nuxt/templates/combobox/ComboboxEmpty.vue +1 -1
- package/.nuxt/templates/combobox/ComboboxGroup.vue +1 -1
- package/.nuxt/templates/combobox/ComboboxInput.vue +2 -2
- package/.nuxt/templates/combobox/ComboboxItem.vue +1 -1
- package/.nuxt/templates/combobox/ComboboxItemIndicator.vue +1 -1
- package/.nuxt/templates/combobox/ComboboxList.vue +1 -1
- package/.nuxt/templates/combobox/ComboboxSeparator.vue +1 -1
- package/.nuxt/templates/combobox/ComboboxTrigger.vue +1 -1
- package/.nuxt/templates/combobox/ComboboxViewport.vue +1 -1
- package/.nuxt/templates/command/Command.vue +1 -1
- package/.nuxt/templates/command/CommandEmpty.vue +1 -1
- package/.nuxt/templates/command/CommandGroup.vue +1 -1
- package/.nuxt/templates/command/CommandInput.vue +2 -2
- package/.nuxt/templates/command/CommandItem.vue +1 -1
- package/.nuxt/templates/command/CommandList.vue +1 -1
- package/.nuxt/templates/command/CommandSeparator.vue +1 -1
- package/.nuxt/templates/command/CommandShortcut.vue +1 -1
- package/.nuxt/templates/context-menu/ContextMenuCheckboxItem.vue +2 -2
- package/.nuxt/templates/context-menu/ContextMenuContent.vue +1 -1
- package/.nuxt/templates/context-menu/ContextMenuItem.vue +1 -1
- package/.nuxt/templates/context-menu/ContextMenuLabel.vue +1 -1
- package/.nuxt/templates/context-menu/ContextMenuRadioItem.vue +2 -2
- package/.nuxt/templates/context-menu/ContextMenuSeparator.vue +1 -1
- package/.nuxt/templates/context-menu/ContextMenuShortcut.vue +1 -1
- package/.nuxt/templates/context-menu/ContextMenuSubContent.vue +1 -1
- package/.nuxt/templates/context-menu/ContextMenuSubTrigger.vue +2 -2
- package/.nuxt/templates/dialog/DialogContent.vue +2 -2
- package/.nuxt/templates/dialog/DialogDescription.vue +1 -1
- package/.nuxt/templates/dialog/DialogFooter.vue +1 -1
- package/.nuxt/templates/dialog/DialogHeader.vue +1 -1
- package/.nuxt/templates/dialog/DialogOverlay.vue +1 -1
- package/.nuxt/templates/dialog/DialogScrollContent.vue +2 -2
- package/.nuxt/templates/dialog/DialogTitle.vue +1 -1
- package/.nuxt/templates/drawer/DrawerContent.vue +1 -1
- package/.nuxt/templates/drawer/DrawerDescription.vue +1 -1
- package/.nuxt/templates/drawer/DrawerFooter.vue +1 -1
- package/.nuxt/templates/drawer/DrawerHeader.vue +1 -1
- package/.nuxt/templates/drawer/DrawerOverlay.vue +1 -1
- package/.nuxt/templates/drawer/DrawerTitle.vue +1 -1
- package/.nuxt/templates/dropdown-menu/DropdownMenuCheckboxItem.vue +2 -2
- package/.nuxt/templates/dropdown-menu/DropdownMenuContent.vue +1 -1
- package/.nuxt/templates/dropdown-menu/DropdownMenuItem.vue +1 -1
- package/.nuxt/templates/dropdown-menu/DropdownMenuLabel.vue +1 -1
- package/.nuxt/templates/dropdown-menu/DropdownMenuRadioItem.vue +2 -2
- package/.nuxt/templates/dropdown-menu/DropdownMenuSeparator.vue +1 -1
- package/.nuxt/templates/dropdown-menu/DropdownMenuShortcut.vue +1 -1
- package/.nuxt/templates/dropdown-menu/DropdownMenuSubContent.vue +1 -1
- package/.nuxt/templates/dropdown-menu/DropdownMenuSubTrigger.vue +2 -2
- package/.nuxt/templates/empty/Empty.vue +1 -1
- package/.nuxt/templates/empty/EmptyContent.vue +1 -1
- package/.nuxt/templates/empty/EmptyDescription.vue +1 -1
- package/.nuxt/templates/empty/EmptyHeader.vue +1 -1
- package/.nuxt/templates/empty/EmptyMedia.vue +1 -1
- package/.nuxt/templates/empty/EmptyTitle.vue +1 -1
- package/.nuxt/templates/field/Field.vue +1 -1
- package/.nuxt/templates/field/FieldContent.vue +1 -1
- package/.nuxt/templates/field/FieldDescription.vue +1 -1
- package/.nuxt/templates/field/FieldError.vue +1 -1
- package/.nuxt/templates/field/FieldGroup.vue +1 -1
- package/.nuxt/templates/field/FieldLabel.vue +1 -1
- package/.nuxt/templates/field/FieldLegend.vue +1 -1
- package/.nuxt/templates/field/FieldSeparator.vue +1 -1
- package/.nuxt/templates/field/FieldSet.vue +1 -1
- package/.nuxt/templates/field/FieldTitle.vue +1 -1
- package/.nuxt/templates/form/FormDescription.vue +1 -1
- package/.nuxt/templates/form/FormItem.vue +1 -1
- package/.nuxt/templates/form/FormLabel.vue +1 -1
- package/.nuxt/templates/form/FormMessage.vue +1 -1
- package/.nuxt/templates/hover-card/HoverCardContent.vue +1 -1
- package/.nuxt/templates/input/Input.vue +1 -1
- package/.nuxt/templates/input-group/InputGroup.vue +1 -1
- package/.nuxt/templates/input-group/InputGroupAddon.vue +1 -1
- package/.nuxt/templates/input-group/InputGroupButton.vue +1 -1
- package/.nuxt/templates/input-group/InputGroupInput.vue +1 -1
- package/.nuxt/templates/input-group/InputGroupText.vue +1 -1
- package/.nuxt/templates/input-group/InputGroupTextarea.vue +1 -1
- package/.nuxt/templates/input-otp/InputOTP.vue +1 -1
- package/.nuxt/templates/input-otp/InputOTPGroup.vue +1 -1
- package/.nuxt/templates/input-otp/InputOTPSeparator.vue +1 -1
- package/.nuxt/templates/input-otp/InputOTPSlot.vue +1 -1
- package/.nuxt/templates/item/Item.vue +1 -1
- package/.nuxt/templates/item/ItemActions.vue +1 -1
- package/.nuxt/templates/item/ItemContent.vue +1 -1
- package/.nuxt/templates/item/ItemDescription.vue +1 -1
- package/.nuxt/templates/item/ItemFooter.vue +1 -1
- package/.nuxt/templates/item/ItemGroup.vue +1 -1
- package/.nuxt/templates/item/ItemHeader.vue +1 -1
- package/.nuxt/templates/item/ItemMedia.vue +1 -1
- package/.nuxt/templates/item/ItemSeparator.vue +1 -1
- package/.nuxt/templates/item/ItemTitle.vue +1 -1
- package/.nuxt/templates/kbd/Kbd.vue +1 -1
- package/.nuxt/templates/kbd/KbdGroup.vue +1 -1
- package/.nuxt/templates/label/Label.vue +1 -1
- package/.nuxt/templates/menubar/Menubar.vue +1 -1
- package/.nuxt/templates/menubar/MenubarCheckboxItem.vue +2 -2
- package/.nuxt/templates/menubar/MenubarContent.vue +1 -1
- package/.nuxt/templates/menubar/MenubarItem.vue +1 -1
- package/.nuxt/templates/menubar/MenubarLabel.vue +1 -1
- package/.nuxt/templates/menubar/MenubarRadioItem.vue +2 -2
- package/.nuxt/templates/menubar/MenubarSeparator.vue +1 -1
- package/.nuxt/templates/menubar/MenubarShortcut.vue +1 -1
- package/.nuxt/templates/menubar/MenubarSubContent.vue +1 -1
- package/.nuxt/templates/menubar/MenubarSubTrigger.vue +2 -2
- package/.nuxt/templates/menubar/MenubarTrigger.vue +1 -1
- package/.nuxt/templates/native-select/NativeSelect.vue +2 -2
- package/.nuxt/templates/native-select/NativeSelectOptGroup.vue +1 -1
- package/.nuxt/templates/native-select/NativeSelectOption.vue +1 -1
- package/.nuxt/templates/navigation-menu/NavigationMenu.vue +1 -1
- package/.nuxt/templates/navigation-menu/NavigationMenuContent.vue +1 -1
- package/.nuxt/templates/navigation-menu/NavigationMenuIndicator.vue +1 -1
- package/.nuxt/templates/navigation-menu/NavigationMenuItem.vue +1 -1
- package/.nuxt/templates/navigation-menu/NavigationMenuLink.vue +1 -1
- package/.nuxt/templates/navigation-menu/NavigationMenuList.vue +1 -1
- package/.nuxt/templates/navigation-menu/NavigationMenuTrigger.vue +2 -2
- package/.nuxt/templates/navigation-menu/NavigationMenuViewport.vue +1 -1
- package/.nuxt/templates/number-field/NumberField.vue +1 -1
- package/.nuxt/templates/number-field/NumberFieldContent.vue +1 -1
- package/.nuxt/templates/number-field/NumberFieldDecrement.vue +2 -2
- package/.nuxt/templates/number-field/NumberFieldIncrement.vue +2 -2
- package/.nuxt/templates/number-field/NumberFieldInput.vue +1 -1
- package/.nuxt/templates/pagination/Pagination.vue +1 -1
- package/.nuxt/templates/pagination/PaginationContent.vue +1 -1
- package/.nuxt/templates/pagination/PaginationEllipsis.vue +2 -2
- package/.nuxt/templates/pagination/PaginationFirst.vue +2 -2
- package/.nuxt/templates/pagination/PaginationItem.vue +1 -1
- package/.nuxt/templates/pagination/PaginationLast.vue +2 -2
- package/.nuxt/templates/pagination/PaginationNext.vue +2 -2
- package/.nuxt/templates/pagination/PaginationPrevious.vue +2 -2
- package/.nuxt/templates/pin-input/PinInput.vue +1 -1
- package/.nuxt/templates/pin-input/PinInputGroup.vue +1 -1
- package/.nuxt/templates/pin-input/PinInputSeparator.vue +1 -1
- package/.nuxt/templates/pin-input/PinInputSlot.vue +1 -1
- package/.nuxt/templates/popover/PopoverContent.vue +1 -1
- package/.nuxt/templates/progress/Progress.vue +1 -1
- package/.nuxt/templates/radio-group/RadioGroup.vue +1 -1
- package/.nuxt/templates/radio-group/RadioGroupItem.vue +2 -2
- package/.nuxt/templates/range-calendar/RangeCalendar.vue +1 -1
- package/.nuxt/templates/range-calendar/RangeCalendarCell.vue +1 -1
- package/.nuxt/templates/range-calendar/RangeCalendarCellTrigger.vue +1 -1
- package/.nuxt/templates/range-calendar/RangeCalendarGrid.vue +1 -1
- package/.nuxt/templates/range-calendar/RangeCalendarGridRow.vue +1 -1
- package/.nuxt/templates/range-calendar/RangeCalendarHeadCell.vue +1 -1
- package/.nuxt/templates/range-calendar/RangeCalendarHeader.vue +1 -1
- package/.nuxt/templates/range-calendar/RangeCalendarHeading.vue +1 -1
- package/.nuxt/templates/range-calendar/RangeCalendarNextButton.vue +2 -2
- package/.nuxt/templates/range-calendar/RangeCalendarPrevButton.vue +2 -2
- package/.nuxt/templates/resizable/ResizableHandle.vue +2 -2
- package/.nuxt/templates/resizable/ResizablePanelGroup.vue +1 -1
- package/.nuxt/templates/scroll-area/ScrollArea.vue +1 -1
- package/.nuxt/templates/scroll-area/ScrollBar.vue +1 -1
- package/.nuxt/templates/select/SelectContent.vue +1 -1
- package/.nuxt/templates/select/SelectItem.vue +3 -3
- package/.nuxt/templates/select/SelectLabel.vue +1 -1
- package/.nuxt/templates/select/SelectScrollDownButton.vue +2 -2
- package/.nuxt/templates/select/SelectScrollUpButton.vue +2 -2
- package/.nuxt/templates/select/SelectSeparator.vue +1 -1
- package/.nuxt/templates/select/SelectTrigger.vue +2 -2
- package/.nuxt/templates/separator/Separator.vue +1 -1
- package/.nuxt/templates/sheet/SheetContent.vue +2 -2
- package/.nuxt/templates/sheet/SheetDescription.vue +1 -1
- package/.nuxt/templates/sheet/SheetFooter.vue +1 -1
- package/.nuxt/templates/sheet/SheetHeader.vue +1 -1
- package/.nuxt/templates/sheet/SheetOverlay.vue +1 -1
- package/.nuxt/templates/sheet/SheetTitle.vue +1 -1
- package/.nuxt/templates/sidebar/Sidebar.vue +34 -25
- package/.nuxt/templates/sidebar/SidebarContent.vue +1 -1
- package/.nuxt/templates/sidebar/SidebarFooter.vue +1 -1
- package/.nuxt/templates/sidebar/SidebarGroup.vue +1 -1
- package/.nuxt/templates/sidebar/SidebarGroupAction.vue +1 -1
- package/.nuxt/templates/sidebar/SidebarGroupContent.vue +1 -1
- package/.nuxt/templates/sidebar/SidebarGroupLabel.vue +1 -1
- package/.nuxt/templates/sidebar/SidebarHeader.vue +1 -1
- package/.nuxt/templates/sidebar/SidebarInput.vue +1 -1
- package/.nuxt/templates/sidebar/SidebarInset.vue +1 -1
- package/.nuxt/templates/sidebar/SidebarMenu.vue +1 -1
- package/.nuxt/templates/sidebar/SidebarMenuAction.vue +1 -1
- package/.nuxt/templates/sidebar/SidebarMenuBadge.vue +1 -1
- package/.nuxt/templates/sidebar/SidebarMenuButtonChild.vue +1 -1
- package/.nuxt/templates/sidebar/SidebarMenuItem.vue +1 -1
- package/.nuxt/templates/sidebar/SidebarMenuSkeleton.vue +1 -1
- package/.nuxt/templates/sidebar/SidebarMenuSub.vue +1 -1
- package/.nuxt/templates/sidebar/SidebarMenuSubButton.vue +1 -1
- package/.nuxt/templates/sidebar/SidebarMenuSubItem.vue +1 -1
- package/.nuxt/templates/sidebar/SidebarProvider.vue +1 -1
- package/.nuxt/templates/sidebar/SidebarRail.vue +1 -1
- package/.nuxt/templates/sidebar/SidebarSeparator.vue +1 -1
- package/.nuxt/templates/sidebar/SidebarTrigger.vue +2 -2
- package/.nuxt/templates/skeleton/Skeleton.vue +1 -1
- package/.nuxt/templates/slider/Slider.vue +1 -1
- package/.nuxt/templates/sonner/Sonner.vue +2 -2
- package/.nuxt/templates/spinner/Spinner.vue +2 -2
- package/.nuxt/templates/stepper/Stepper.vue +1 -1
- package/.nuxt/templates/stepper/StepperDescription.vue +1 -1
- package/.nuxt/templates/stepper/StepperIndicator.vue +1 -1
- package/.nuxt/templates/stepper/StepperItem.vue +1 -1
- package/.nuxt/templates/stepper/StepperSeparator.vue +1 -1
- package/.nuxt/templates/stepper/StepperTitle.vue +1 -1
- package/.nuxt/templates/stepper/StepperTrigger.vue +1 -1
- package/.nuxt/templates/switch/Switch.vue +1 -1
- package/.nuxt/templates/table/Table.vue +1 -1
- package/.nuxt/templates/table/TableBody.vue +1 -1
- package/.nuxt/templates/table/TableCaption.vue +1 -1
- package/.nuxt/templates/table/TableCell.vue +1 -1
- package/.nuxt/templates/table/TableEmpty.vue +1 -1
- package/.nuxt/templates/table/TableFooter.vue +1 -1
- package/.nuxt/templates/table/TableHead.vue +1 -1
- package/.nuxt/templates/table/TableHeader.vue +1 -1
- package/.nuxt/templates/table/TableRow.vue +1 -1
- package/.nuxt/templates/tabs/Tabs.vue +1 -1
- package/.nuxt/templates/tabs/TabsContent.vue +1 -1
- package/.nuxt/templates/tabs/TabsList.vue +1 -1
- package/.nuxt/templates/tabs/TabsTrigger.vue +1 -1
- package/.nuxt/templates/tags-input/TagsInput.vue +1 -1
- package/.nuxt/templates/tags-input/TagsInputInput.vue +1 -1
- package/.nuxt/templates/tags-input/TagsInputItem.vue +1 -1
- package/.nuxt/templates/tags-input/TagsInputItemDelete.vue +2 -2
- package/.nuxt/templates/tags-input/TagsInputItemText.vue +1 -1
- package/.nuxt/templates/textarea/Textarea.vue +1 -1
- package/.nuxt/templates/toggle/Toggle.vue +1 -1
- package/.nuxt/templates/toggle-group/ToggleGroup.vue +1 -1
- package/.nuxt/templates/toggle-group/ToggleGroupItem.vue +1 -1
- package/.nuxt/templates/tooltip/TooltipContent.vue +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +182 -9
- package/dist/runtime/auth/composables/useAuthorization.js +2 -2
- package/dist/runtime/auth/plugins/auth.js +1 -3
- package/dist/runtime/auth/utils/postLoginRedirect.d.ts +1 -1
- package/dist/runtime/auth/utils/postLoginRedirect.js +15 -4
- package/dist/runtime/components/shared/AppBreadcumbs.vue +4 -10
- package/dist/runtime/components/shared/AppFooter.vue +12 -0
- package/dist/runtime/components/shared/AppFooterContent.d.vue.ts +13 -0
- package/dist/runtime/components/shared/AppFooterContent.vue +9 -0
- package/dist/runtime/components/shared/AppFooterContent.vue.d.ts +13 -0
- package/dist/runtime/components/shared/AppHeader.d.vue.ts +3 -0
- package/dist/runtime/components/shared/AppHeader.vue +16 -0
- package/dist/runtime/components/shared/AppHeader.vue.d.ts +3 -0
- package/dist/runtime/components/shared/AppHeaderContent.d.vue.ts +13 -0
- package/dist/runtime/components/shared/AppHeaderContent.vue +9 -0
- package/dist/runtime/components/shared/AppHeaderContent.vue.d.ts +13 -0
- package/dist/runtime/components/shared/AppSideBarFooter.d.vue.ts +3 -0
- package/dist/runtime/components/shared/AppSideBarFooter.vue +59 -0
- package/dist/runtime/components/shared/AppSideBarFooter.vue.d.ts +3 -0
- package/dist/runtime/components/shared/AppSideBarFooterContent.d.vue.ts +13 -0
- package/dist/runtime/components/shared/AppSideBarFooterContent.vue +7 -0
- package/dist/runtime/components/shared/AppSideBarFooterContent.vue.d.ts +13 -0
- package/dist/runtime/components/shared/AppSideBarHeaderContent.d.vue.ts +13 -0
- package/dist/runtime/components/shared/AppSideBarHeaderContent.vue +5 -0
- package/dist/runtime/components/shared/AppSideBarHeaderContent.vue.d.ts +13 -0
- package/dist/runtime/components/shared/AppSideBarMenu.d.vue.ts +3 -0
- package/dist/runtime/components/shared/AppSideBarMenu.vue +22 -0
- package/dist/runtime/components/shared/AppSideBarMenu.vue.d.ts +3 -0
- package/dist/runtime/components/shared/AppSideBarMenuContent.d.vue.ts +13 -0
- package/dist/runtime/components/shared/AppSideBarMenuContent.vue +7 -0
- package/dist/runtime/components/shared/AppSideBarMenuContent.vue.d.ts +13 -0
- package/dist/runtime/components/shared/AppSidebar.d.vue.ts +3 -0
- package/dist/runtime/components/shared/AppSidebar.vue +8 -0
- package/dist/runtime/components/shared/AppSidebar.vue.d.ts +3 -0
- package/dist/runtime/components/shared/ThemeSelector.d.vue.ts +3 -0
- package/dist/runtime/components/shared/ThemeSelector.vue +61 -0
- package/dist/runtime/components/shared/ThemeSelector.vue.d.ts +3 -0
- package/dist/runtime/components/shared/ThemeToggle.d.vue.ts +3 -0
- package/dist/runtime/components/shared/ThemeToggle.vue +40 -0
- package/dist/runtime/components/shared/ThemeToggle.vue.d.ts +3 -0
- package/dist/runtime/components/ui/accordion/AccordionContent.vue +1 -1
- package/dist/runtime/components/ui/accordion/AccordionItem.vue +1 -1
- package/dist/runtime/components/ui/accordion/AccordionTrigger.vue +2 -2
- package/dist/runtime/components/ui/alert/Alert.vue +1 -1
- package/dist/runtime/components/ui/alert/AlertDescription.vue +1 -1
- package/dist/runtime/components/ui/alert/AlertTitle.vue +1 -1
- package/dist/runtime/components/ui/alert-dialog/AlertDialogAction.vue +1 -1
- package/dist/runtime/components/ui/alert-dialog/AlertDialogCancel.vue +1 -1
- package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.d.vue.ts +2 -2
- package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.vue +1 -1
- package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.vue.d.ts +2 -2
- package/dist/runtime/components/ui/alert-dialog/AlertDialogDescription.vue +1 -1
- package/dist/runtime/components/ui/alert-dialog/AlertDialogFooter.vue +1 -1
- package/dist/runtime/components/ui/alert-dialog/AlertDialogHeader.vue +1 -1
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTitle.vue +1 -1
- package/dist/runtime/components/ui/avatar/Avatar.vue +1 -1
- package/dist/runtime/components/ui/avatar/AvatarFallback.vue +1 -1
- package/dist/runtime/components/ui/badge/Badge.vue +1 -1
- package/dist/runtime/components/ui/badge/index.d.ts +1 -1
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbEllipsis.vue +2 -2
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbItem.vue +1 -1
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbLink.vue +1 -1
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbList.vue +1 -1
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbPage.vue +1 -1
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbSeparator.vue +2 -2
- package/dist/runtime/components/ui/button/Button.vue +1 -1
- package/dist/runtime/components/ui/button/index.d.ts +1 -1
- package/dist/runtime/components/ui/button-group/ButtonGroup.vue +1 -1
- package/dist/runtime/components/ui/button-group/ButtonGroupSeparator.vue +1 -1
- package/dist/runtime/components/ui/button-group/ButtonGroupText.vue +1 -1
- package/dist/runtime/components/ui/calendar/Calendar.vue +1 -1
- package/dist/runtime/components/ui/calendar/CalendarCell.vue +1 -1
- package/dist/runtime/components/ui/calendar/CalendarCellTrigger.vue +1 -1
- package/dist/runtime/components/ui/calendar/CalendarGrid.vue +1 -1
- package/dist/runtime/components/ui/calendar/CalendarGridRow.vue +1 -1
- package/dist/runtime/components/ui/calendar/CalendarHeadCell.vue +1 -1
- package/dist/runtime/components/ui/calendar/CalendarHeader.vue +1 -1
- package/dist/runtime/components/ui/calendar/CalendarHeading.vue +1 -1
- package/dist/runtime/components/ui/calendar/CalendarNextButton.vue +2 -2
- package/dist/runtime/components/ui/calendar/CalendarPrevButton.vue +2 -2
- package/dist/runtime/components/ui/card/Card.vue +1 -1
- package/dist/runtime/components/ui/card/CardAction.vue +1 -1
- package/dist/runtime/components/ui/card/CardContent.vue +1 -1
- package/dist/runtime/components/ui/card/CardDescription.vue +1 -1
- package/dist/runtime/components/ui/card/CardFooter.vue +1 -1
- package/dist/runtime/components/ui/card/CardHeader.vue +1 -1
- package/dist/runtime/components/ui/card/CardTitle.vue +1 -1
- package/dist/runtime/components/ui/carousel/Carousel.vue +1 -1
- package/dist/runtime/components/ui/carousel/CarouselContent.vue +1 -1
- package/dist/runtime/components/ui/carousel/CarouselItem.vue +1 -1
- package/dist/runtime/components/ui/carousel/CarouselNext.vue +2 -2
- package/dist/runtime/components/ui/carousel/CarouselPrevious.vue +2 -2
- package/dist/runtime/components/ui/chart/ChartContainer.vue +1 -1
- package/dist/runtime/components/ui/chart/ChartLegendContent.vue +1 -1
- package/dist/runtime/components/ui/chart/ChartTooltipContent.vue +1 -1
- package/dist/runtime/components/ui/checkbox/Checkbox.vue +2 -2
- package/dist/runtime/components/ui/combobox/ComboboxAnchor.vue +1 -1
- package/dist/runtime/components/ui/combobox/ComboboxEmpty.vue +1 -1
- package/dist/runtime/components/ui/combobox/ComboboxGroup.vue +1 -1
- package/dist/runtime/components/ui/combobox/ComboboxInput.vue +2 -2
- package/dist/runtime/components/ui/combobox/ComboboxItem.vue +1 -1
- package/dist/runtime/components/ui/combobox/ComboboxItemIndicator.vue +1 -1
- package/dist/runtime/components/ui/combobox/ComboboxList.vue +1 -1
- package/dist/runtime/components/ui/combobox/ComboboxSeparator.vue +1 -1
- package/dist/runtime/components/ui/combobox/ComboboxTrigger.vue +1 -1
- package/dist/runtime/components/ui/combobox/ComboboxViewport.vue +1 -1
- package/dist/runtime/components/ui/command/Command.d.vue.ts +2 -2
- package/dist/runtime/components/ui/command/Command.vue +1 -1
- package/dist/runtime/components/ui/command/Command.vue.d.ts +2 -2
- package/dist/runtime/components/ui/command/CommandEmpty.vue +1 -1
- package/dist/runtime/components/ui/command/CommandGroup.vue +1 -1
- package/dist/runtime/components/ui/command/CommandInput.vue +2 -2
- package/dist/runtime/components/ui/command/CommandItem.vue +1 -1
- package/dist/runtime/components/ui/command/CommandList.vue +1 -1
- package/dist/runtime/components/ui/command/CommandSeparator.vue +1 -1
- package/dist/runtime/components/ui/command/CommandShortcut.vue +1 -1
- package/dist/runtime/components/ui/context-menu/ContextMenuCheckboxItem.vue +2 -2
- package/dist/runtime/components/ui/context-menu/ContextMenuContent.vue +1 -1
- package/dist/runtime/components/ui/context-menu/ContextMenuItem.vue +1 -1
- package/dist/runtime/components/ui/context-menu/ContextMenuLabel.vue +1 -1
- package/dist/runtime/components/ui/context-menu/ContextMenuRadioItem.vue +2 -2
- package/dist/runtime/components/ui/context-menu/ContextMenuSeparator.vue +1 -1
- package/dist/runtime/components/ui/context-menu/ContextMenuShortcut.vue +1 -1
- package/dist/runtime/components/ui/context-menu/ContextMenuSubContent.d.vue.ts +4 -4
- package/dist/runtime/components/ui/context-menu/ContextMenuSubContent.vue +1 -1
- package/dist/runtime/components/ui/context-menu/ContextMenuSubContent.vue.d.ts +4 -4
- package/dist/runtime/components/ui/context-menu/ContextMenuSubTrigger.vue +2 -2
- package/dist/runtime/components/ui/dialog/DialogContent.d.vue.ts +2 -2
- package/dist/runtime/components/ui/dialog/DialogContent.vue +2 -2
- package/dist/runtime/components/ui/dialog/DialogContent.vue.d.ts +2 -2
- package/dist/runtime/components/ui/dialog/DialogDescription.vue +1 -1
- package/dist/runtime/components/ui/dialog/DialogFooter.vue +1 -1
- package/dist/runtime/components/ui/dialog/DialogHeader.vue +1 -1
- package/dist/runtime/components/ui/dialog/DialogOverlay.vue +1 -1
- package/dist/runtime/components/ui/dialog/DialogScrollContent.d.vue.ts +2 -2
- package/dist/runtime/components/ui/dialog/DialogScrollContent.vue +2 -2
- package/dist/runtime/components/ui/dialog/DialogScrollContent.vue.d.ts +2 -2
- package/dist/runtime/components/ui/dialog/DialogTitle.vue +1 -1
- package/dist/runtime/components/ui/drawer/DrawerContent.d.vue.ts +2 -2
- package/dist/runtime/components/ui/drawer/DrawerContent.vue +1 -1
- package/dist/runtime/components/ui/drawer/DrawerContent.vue.d.ts +2 -2
- package/dist/runtime/components/ui/drawer/DrawerDescription.vue +1 -1
- package/dist/runtime/components/ui/drawer/DrawerFooter.vue +1 -1
- package/dist/runtime/components/ui/drawer/DrawerHeader.vue +1 -1
- package/dist/runtime/components/ui/drawer/DrawerOverlay.vue +1 -1
- package/dist/runtime/components/ui/drawer/DrawerTitle.vue +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue +2 -2
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.vue +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.vue +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuLabel.vue +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioItem.vue +2 -2
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSeparator.vue +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuShortcut.vue +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.d.vue.ts +4 -4
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.vue +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +4 -4
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue +2 -2
- package/dist/runtime/components/ui/empty/Empty.vue +1 -1
- package/dist/runtime/components/ui/empty/EmptyContent.vue +1 -1
- package/dist/runtime/components/ui/empty/EmptyDescription.vue +1 -1
- package/dist/runtime/components/ui/empty/EmptyHeader.vue +1 -1
- package/dist/runtime/components/ui/empty/EmptyMedia.vue +1 -1
- package/dist/runtime/components/ui/empty/EmptyTitle.vue +1 -1
- package/dist/runtime/components/ui/field/Field.vue +1 -1
- package/dist/runtime/components/ui/field/FieldContent.vue +1 -1
- package/dist/runtime/components/ui/field/FieldDescription.vue +1 -1
- package/dist/runtime/components/ui/field/FieldError.vue +1 -1
- package/dist/runtime/components/ui/field/FieldGroup.vue +1 -1
- package/dist/runtime/components/ui/field/FieldLabel.vue +1 -1
- package/dist/runtime/components/ui/field/FieldLegend.vue +1 -1
- package/dist/runtime/components/ui/field/FieldSeparator.vue +1 -1
- package/dist/runtime/components/ui/field/FieldSet.vue +1 -1
- package/dist/runtime/components/ui/field/FieldTitle.vue +1 -1
- package/dist/runtime/components/ui/form/FormDescription.vue +1 -1
- package/dist/runtime/components/ui/form/FormItem.vue +1 -1
- package/dist/runtime/components/ui/form/FormLabel.vue +1 -1
- package/dist/runtime/components/ui/form/FormMessage.vue +1 -1
- package/dist/runtime/components/ui/hover-card/HoverCardContent.vue +1 -1
- package/dist/runtime/components/ui/input/Input.vue +1 -1
- package/dist/runtime/components/ui/input-group/InputGroup.vue +1 -1
- package/dist/runtime/components/ui/input-group/InputGroupAddon.vue +1 -1
- package/dist/runtime/components/ui/input-group/InputGroupButton.vue +1 -1
- package/dist/runtime/components/ui/input-group/InputGroupInput.vue +1 -1
- package/dist/runtime/components/ui/input-group/InputGroupText.vue +1 -1
- package/dist/runtime/components/ui/input-group/InputGroupTextarea.vue +1 -1
- package/dist/runtime/components/ui/input-otp/InputOTP.d.vue.ts +4 -4
- package/dist/runtime/components/ui/input-otp/InputOTP.vue +1 -1
- package/dist/runtime/components/ui/input-otp/InputOTP.vue.d.ts +4 -4
- package/dist/runtime/components/ui/input-otp/InputOTPGroup.vue +1 -1
- package/dist/runtime/components/ui/input-otp/InputOTPSeparator.vue +1 -1
- package/dist/runtime/components/ui/input-otp/InputOTPSlot.vue +1 -1
- package/dist/runtime/components/ui/item/Item.vue +1 -1
- package/dist/runtime/components/ui/item/ItemActions.vue +1 -1
- package/dist/runtime/components/ui/item/ItemContent.vue +1 -1
- package/dist/runtime/components/ui/item/ItemDescription.vue +1 -1
- package/dist/runtime/components/ui/item/ItemFooter.vue +1 -1
- package/dist/runtime/components/ui/item/ItemGroup.vue +1 -1
- package/dist/runtime/components/ui/item/ItemHeader.vue +1 -1
- package/dist/runtime/components/ui/item/ItemMedia.vue +1 -1
- package/dist/runtime/components/ui/item/ItemSeparator.vue +1 -1
- package/dist/runtime/components/ui/item/ItemTitle.vue +1 -1
- package/dist/runtime/components/ui/item/index.d.ts +1 -1
- package/dist/runtime/components/ui/kbd/Kbd.vue +1 -1
- package/dist/runtime/components/ui/kbd/KbdGroup.vue +1 -1
- package/dist/runtime/components/ui/label/Label.vue +1 -1
- package/dist/runtime/components/ui/menubar/Menubar.vue +1 -1
- package/dist/runtime/components/ui/menubar/MenubarCheckboxItem.vue +2 -2
- package/dist/runtime/components/ui/menubar/MenubarContent.vue +1 -1
- package/dist/runtime/components/ui/menubar/MenubarItem.vue +1 -1
- package/dist/runtime/components/ui/menubar/MenubarLabel.vue +1 -1
- package/dist/runtime/components/ui/menubar/MenubarRadioItem.vue +2 -2
- package/dist/runtime/components/ui/menubar/MenubarSeparator.vue +1 -1
- package/dist/runtime/components/ui/menubar/MenubarShortcut.vue +1 -1
- package/dist/runtime/components/ui/menubar/MenubarSubContent.d.vue.ts +4 -4
- package/dist/runtime/components/ui/menubar/MenubarSubContent.vue +1 -1
- package/dist/runtime/components/ui/menubar/MenubarSubContent.vue.d.ts +4 -4
- package/dist/runtime/components/ui/menubar/MenubarSubTrigger.vue +2 -2
- package/dist/runtime/components/ui/menubar/MenubarTrigger.vue +1 -1
- package/dist/runtime/components/ui/native-select/NativeSelect.vue +2 -2
- package/dist/runtime/components/ui/native-select/NativeSelectOptGroup.vue +1 -1
- package/dist/runtime/components/ui/native-select/NativeSelectOption.vue +1 -1
- package/dist/runtime/components/ui/navigation-menu/NavigationMenu.vue +1 -1
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuContent.vue +1 -1
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuIndicator.vue +1 -1
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuItem.vue +1 -1
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuLink.vue +1 -1
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuList.vue +1 -1
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuTrigger.vue +2 -2
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuViewport.vue +1 -1
- package/dist/runtime/components/ui/number-field/NumberField.vue +1 -1
- package/dist/runtime/components/ui/number-field/NumberFieldContent.vue +1 -1
- package/dist/runtime/components/ui/number-field/NumberFieldDecrement.vue +2 -2
- package/dist/runtime/components/ui/number-field/NumberFieldIncrement.vue +2 -2
- package/dist/runtime/components/ui/number-field/NumberFieldInput.vue +1 -1
- package/dist/runtime/components/ui/pagination/Pagination.vue +1 -1
- package/dist/runtime/components/ui/pagination/PaginationContent.vue +1 -1
- package/dist/runtime/components/ui/pagination/PaginationEllipsis.vue +2 -2
- package/dist/runtime/components/ui/pagination/PaginationFirst.vue +2 -2
- package/dist/runtime/components/ui/pagination/PaginationItem.vue +1 -1
- package/dist/runtime/components/ui/pagination/PaginationLast.vue +2 -2
- package/dist/runtime/components/ui/pagination/PaginationNext.vue +2 -2
- package/dist/runtime/components/ui/pagination/PaginationPrevious.vue +2 -2
- package/dist/runtime/components/ui/pin-input/PinInput.vue +1 -1
- package/dist/runtime/components/ui/pin-input/PinInputGroup.vue +1 -1
- package/dist/runtime/components/ui/pin-input/PinInputSeparator.vue +1 -1
- package/dist/runtime/components/ui/pin-input/PinInputSlot.vue +1 -1
- package/dist/runtime/components/ui/popover/PopoverContent.d.vue.ts +2 -2
- package/dist/runtime/components/ui/popover/PopoverContent.vue +1 -1
- package/dist/runtime/components/ui/popover/PopoverContent.vue.d.ts +2 -2
- package/dist/runtime/components/ui/progress/Progress.vue +1 -1
- package/dist/runtime/components/ui/radio-group/RadioGroup.vue +1 -1
- package/dist/runtime/components/ui/radio-group/RadioGroupItem.vue +2 -2
- package/dist/runtime/components/ui/range-calendar/RangeCalendar.vue +1 -1
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCell.vue +1 -1
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCellTrigger.vue +1 -1
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGrid.vue +1 -1
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridRow.vue +1 -1
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeadCell.vue +1 -1
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeader.vue +1 -1
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeading.vue +1 -1
- package/dist/runtime/components/ui/range-calendar/RangeCalendarNextButton.vue +2 -2
- package/dist/runtime/components/ui/range-calendar/RangeCalendarPrevButton.vue +2 -2
- package/dist/runtime/components/ui/resizable/ResizableHandle.vue +2 -2
- package/dist/runtime/components/ui/resizable/ResizablePanel.d.vue.ts +2 -2
- package/dist/runtime/components/ui/resizable/ResizablePanel.vue.d.ts +2 -2
- package/dist/runtime/components/ui/resizable/ResizablePanelGroup.vue +1 -1
- package/dist/runtime/components/ui/scroll-area/ScrollArea.vue +1 -1
- package/dist/runtime/components/ui/scroll-area/ScrollBar.vue +1 -1
- package/dist/runtime/components/ui/select/SelectContent.vue +1 -1
- package/dist/runtime/components/ui/select/SelectItem.vue +3 -3
- package/dist/runtime/components/ui/select/SelectLabel.vue +1 -1
- package/dist/runtime/components/ui/select/SelectScrollDownButton.vue +2 -2
- package/dist/runtime/components/ui/select/SelectScrollUpButton.vue +2 -2
- package/dist/runtime/components/ui/select/SelectSeparator.vue +1 -1
- package/dist/runtime/components/ui/select/SelectTrigger.vue +2 -2
- package/dist/runtime/components/ui/separator/Separator.vue +1 -1
- package/dist/runtime/components/ui/sheet/SheetContent.d.vue.ts +2 -2
- package/dist/runtime/components/ui/sheet/SheetContent.vue +2 -2
- package/dist/runtime/components/ui/sheet/SheetContent.vue.d.ts +2 -2
- package/dist/runtime/components/ui/sheet/SheetDescription.vue +1 -1
- package/dist/runtime/components/ui/sheet/SheetFooter.vue +1 -1
- package/dist/runtime/components/ui/sheet/SheetHeader.vue +1 -1
- package/dist/runtime/components/ui/sheet/SheetOverlay.vue +1 -1
- package/dist/runtime/components/ui/sheet/SheetTitle.vue +1 -1
- package/dist/runtime/components/ui/sidebar/Sidebar.d.vue.ts +2 -4
- package/dist/runtime/components/ui/sidebar/Sidebar.vue +30 -24
- package/dist/runtime/components/ui/sidebar/Sidebar.vue.d.ts +2 -4
- package/dist/runtime/components/ui/sidebar/SidebarContent.vue +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarFooter.vue +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarGroup.vue +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarGroupAction.vue +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarGroupContent.vue +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarGroupLabel.vue +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarHeader.vue +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarInput.vue +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarInset.vue +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarMenu.vue +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarMenuAction.vue +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarMenuBadge.vue +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.vue +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarMenuItem.vue +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarMenuSkeleton.vue +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarMenuSub.vue +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarMenuSubButton.vue +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarMenuSubItem.vue +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarProvider.vue +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarRail.vue +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarSeparator.vue +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarTrigger.vue +2 -2
- package/dist/runtime/components/ui/skeleton/Skeleton.vue +1 -1
- package/dist/runtime/components/ui/slider/Slider.vue +1 -1
- package/dist/runtime/components/ui/sonner/Sonner.vue +2 -2
- package/dist/runtime/components/ui/spinner/Spinner.vue +2 -2
- package/dist/runtime/components/ui/stepper/Stepper.vue +1 -1
- package/dist/runtime/components/ui/stepper/StepperDescription.vue +1 -1
- package/dist/runtime/components/ui/stepper/StepperIndicator.vue +1 -1
- package/dist/runtime/components/ui/stepper/StepperItem.vue +1 -1
- package/dist/runtime/components/ui/stepper/StepperSeparator.vue +1 -1
- package/dist/runtime/components/ui/stepper/StepperTitle.vue +1 -1
- package/dist/runtime/components/ui/stepper/StepperTrigger.vue +1 -1
- package/dist/runtime/components/ui/switch/Switch.vue +1 -1
- package/dist/runtime/components/ui/table/Table.vue +1 -1
- package/dist/runtime/components/ui/table/TableBody.vue +1 -1
- package/dist/runtime/components/ui/table/TableCaption.vue +1 -1
- package/dist/runtime/components/ui/table/TableCell.vue +1 -1
- package/dist/runtime/components/ui/table/TableEmpty.vue +1 -1
- package/dist/runtime/components/ui/table/TableFooter.vue +1 -1
- package/dist/runtime/components/ui/table/TableHead.vue +1 -1
- package/dist/runtime/components/ui/table/TableHeader.vue +1 -1
- package/dist/runtime/components/ui/table/TableRow.vue +1 -1
- package/dist/runtime/components/ui/tabs/Tabs.vue +1 -1
- package/dist/runtime/components/ui/tabs/TabsContent.vue +1 -1
- package/dist/runtime/components/ui/tabs/TabsList.vue +1 -1
- package/dist/runtime/components/ui/tabs/TabsTrigger.vue +1 -1
- package/dist/runtime/components/ui/tags-input/TagsInput.vue +1 -1
- package/dist/runtime/components/ui/tags-input/TagsInputInput.vue +1 -1
- package/dist/runtime/components/ui/tags-input/TagsInputItem.vue +1 -1
- package/dist/runtime/components/ui/tags-input/TagsInputItemDelete.vue +2 -2
- package/dist/runtime/components/ui/tags-input/TagsInputItemText.vue +1 -1
- package/dist/runtime/components/ui/textarea/Textarea.vue +1 -1
- package/dist/runtime/components/ui/toggle/Toggle.vue +1 -1
- package/dist/runtime/components/ui/toggle-group/ToggleGroup.vue +1 -1
- package/dist/runtime/components/ui/toggle-group/ToggleGroupItem.vue +1 -1
- package/dist/runtime/components/ui/tooltip/TooltipContent.vue +1 -1
- package/dist/runtime/layouts/dashboard.d.vue.ts +4 -0
- package/dist/runtime/layouts/dashboard.vue +30 -0
- package/dist/runtime/layouts/dashboard.vue.d.ts +4 -0
- package/dist/runtime/types/index.d.ts +5 -1
- package/package.json +2 -2
- package/.nuxt/templates/ColorModeSelect.vue/ColorModeSelect.vue +0 -62
- package/dist/runtime/components/shared/ColorModeSelect.vue +0 -61
- /package/dist/runtime/components/shared/{ColorModeSelect.d.vue.ts → AppFooter.d.vue.ts} +0 -0
- /package/dist/runtime/components/shared/{ColorModeSelect.vue.d.ts → AppFooter.vue.d.ts} +0 -0
|
@@ -3,7 +3,7 @@ import type { TabsRootEmits, TabsRootProps } from "reka-ui"
|
|
|
3
3
|
import type { HTMLAttributes } from "vue"
|
|
4
4
|
import { reactiveOmit } from "@vueuse/core"
|
|
5
5
|
import { TabsRoot, useForwardPropsEmits } from "reka-ui"
|
|
6
|
-
import cn from '
|
|
6
|
+
import cn from '#unaxt/utils/cn'
|
|
7
7
|
|
|
8
8
|
const props = defineProps<TabsRootProps & { class?: HTMLAttributes["class"] }>()
|
|
9
9
|
const emits = defineEmits<TabsRootEmits>()
|
|
@@ -3,7 +3,7 @@ import type { TabsContentProps } from "reka-ui"
|
|
|
3
3
|
import type { HTMLAttributes } from "vue"
|
|
4
4
|
import { reactiveOmit } from "@vueuse/core"
|
|
5
5
|
import { TabsContent } from "reka-ui"
|
|
6
|
-
import cn from '
|
|
6
|
+
import cn from '#unaxt/utils/cn'
|
|
7
7
|
|
|
8
8
|
const props = defineProps<TabsContentProps & { class?: HTMLAttributes["class"] }>()
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@ import type { TabsListProps } from "reka-ui"
|
|
|
3
3
|
import type { HTMLAttributes } from "vue"
|
|
4
4
|
import { reactiveOmit } from "@vueuse/core"
|
|
5
5
|
import { TabsList } from "reka-ui"
|
|
6
|
-
import cn from '
|
|
6
|
+
import cn from '#unaxt/utils/cn'
|
|
7
7
|
|
|
8
8
|
const props = defineProps<TabsListProps & { class?: HTMLAttributes["class"] }>()
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@ import type { TabsTriggerProps } from "reka-ui"
|
|
|
3
3
|
import type { HTMLAttributes } from "vue"
|
|
4
4
|
import { reactiveOmit } from "@vueuse/core"
|
|
5
5
|
import { TabsTrigger, useForwardProps } from "reka-ui"
|
|
6
|
-
import cn from '
|
|
6
|
+
import cn from '#unaxt/utils/cn'
|
|
7
7
|
|
|
8
8
|
const props = defineProps<TabsTriggerProps & { class?: HTMLAttributes["class"] }>()
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@ import type { TagsInputRootEmits, TagsInputRootProps } from "reka-ui"
|
|
|
3
3
|
import type { HTMLAttributes } from "vue"
|
|
4
4
|
import { reactiveOmit } from "@vueuse/core"
|
|
5
5
|
import { TagsInputRoot, useForwardPropsEmits } from "reka-ui"
|
|
6
|
-
import cn from '
|
|
6
|
+
import cn from '#unaxt/utils/cn'
|
|
7
7
|
|
|
8
8
|
const props = defineProps<TagsInputRootProps & { class?: HTMLAttributes["class"] }>()
|
|
9
9
|
const emits = defineEmits<TagsInputRootEmits>()
|
|
@@ -3,7 +3,7 @@ import type { TagsInputInputProps } from "reka-ui"
|
|
|
3
3
|
import type { HTMLAttributes } from "vue"
|
|
4
4
|
import { reactiveOmit } from "@vueuse/core"
|
|
5
5
|
import { TagsInputInput, useForwardProps } from "reka-ui"
|
|
6
|
-
import cn from '
|
|
6
|
+
import cn from '#unaxt/utils/cn'
|
|
7
7
|
|
|
8
8
|
const props = defineProps<TagsInputInputProps & { class?: HTMLAttributes["class"] }>()
|
|
9
9
|
|
|
@@ -4,7 +4,7 @@ import type { HTMLAttributes } from "vue"
|
|
|
4
4
|
|
|
5
5
|
import { reactiveOmit } from "@vueuse/core"
|
|
6
6
|
import { TagsInputItem, useForwardProps } from "reka-ui"
|
|
7
|
-
import cn from '
|
|
7
|
+
import cn from '#unaxt/utils/cn'
|
|
8
8
|
|
|
9
9
|
const props = defineProps<TagsInputItemProps & { class?: HTMLAttributes["class"] }>()
|
|
10
10
|
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import type { TagsInputItemDeleteProps } from "reka-ui"
|
|
3
3
|
import type { HTMLAttributes } from "vue"
|
|
4
4
|
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
-
import { X } from "lucide
|
|
5
|
+
import { X } from "@lucide/vue"
|
|
6
6
|
import { TagsInputItemDelete, useForwardProps } from "reka-ui"
|
|
7
|
-
import cn from '
|
|
7
|
+
import cn from '#unaxt/utils/cn'
|
|
8
8
|
|
|
9
9
|
const props = defineProps<TagsInputItemDeleteProps & { class?: HTMLAttributes["class"] }>()
|
|
10
10
|
|
|
@@ -3,7 +3,7 @@ import type { TagsInputItemTextProps } from "reka-ui"
|
|
|
3
3
|
import type { HTMLAttributes } from "vue"
|
|
4
4
|
import { reactiveOmit } from "@vueuse/core"
|
|
5
5
|
import { TagsInputItemText, useForwardProps } from "reka-ui"
|
|
6
|
-
import cn from '
|
|
6
|
+
import cn from '#unaxt/utils/cn'
|
|
7
7
|
|
|
8
8
|
const props = defineProps<TagsInputItemTextProps & { class?: HTMLAttributes["class"] }>()
|
|
9
9
|
|
|
@@ -4,7 +4,7 @@ import type { HTMLAttributes } from "vue"
|
|
|
4
4
|
import type { ToggleVariants } from "."
|
|
5
5
|
import { reactiveOmit } from "@vueuse/core"
|
|
6
6
|
import { Toggle, useForwardPropsEmits } from "reka-ui"
|
|
7
|
-
import cn from '
|
|
7
|
+
import cn from '#unaxt/utils/cn'
|
|
8
8
|
import { toggleVariants } from "."
|
|
9
9
|
|
|
10
10
|
const props = withDefaults(defineProps<ToggleProps & {
|
|
@@ -6,7 +6,7 @@ import type { toggleVariants } from '../toggle'
|
|
|
6
6
|
import { reactiveOmit } from "@vueuse/core"
|
|
7
7
|
import { ToggleGroupRoot, useForwardPropsEmits } from "reka-ui"
|
|
8
8
|
import { provide } from "vue"
|
|
9
|
-
import cn from '
|
|
9
|
+
import cn from '#unaxt/utils/cn'
|
|
10
10
|
|
|
11
11
|
type ToggleGroupVariants = VariantProps<typeof toggleVariants>
|
|
12
12
|
|
|
@@ -5,7 +5,7 @@ import type { HTMLAttributes } from "vue"
|
|
|
5
5
|
import { reactiveOmit } from "@vueuse/core"
|
|
6
6
|
import { ToggleGroupItem, useForwardProps } from "reka-ui"
|
|
7
7
|
import { inject } from "vue"
|
|
8
|
-
import cn from '
|
|
8
|
+
import cn from '#unaxt/utils/cn'
|
|
9
9
|
import { toggleVariants } from '../toggle'
|
|
10
10
|
|
|
11
11
|
type ToggleGroupVariants = VariantProps<typeof toggleVariants> & {
|
|
@@ -3,7 +3,7 @@ import type { TooltipContentEmits, TooltipContentProps } from "reka-ui"
|
|
|
3
3
|
import type { HTMLAttributes } from "vue"
|
|
4
4
|
import { reactiveOmit } from "@vueuse/core"
|
|
5
5
|
import { TooltipArrow, TooltipContent, TooltipPortal, useForwardPropsEmits } from "reka-ui"
|
|
6
|
-
import cn from '
|
|
6
|
+
import cn from '#unaxt/utils/cn'
|
|
7
7
|
|
|
8
8
|
defineOptions({
|
|
9
9
|
inheritAttrs: false,
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createResolver, addTemplate, defineNuxtModule, useLogger, addImportsDir, addPlugin, addRouteMiddleware, extendPages, addComponentsDir, addVitePlugin, hasNuxtModule } from '@nuxt/kit';
|
|
1
|
+
import { createResolver, addTemplate, defineNuxtModule, useLogger, addLayout, addImportsDir, addPlugin, addRouteMiddleware, extendPages, addComponentsDir, addVitePlugin, hasNuxtModule } from '@nuxt/kit';
|
|
2
2
|
import { defu } from 'defu';
|
|
3
3
|
import { yellow, bold, cyan, magenta, red, green, gray } from 'colorette';
|
|
4
4
|
import * as fs from 'node:fs';
|
|
@@ -167,18 +167,174 @@ function addTemplates() {
|
|
|
167
167
|
}
|
|
168
168
|
|
|
169
169
|
const name = "una-nuxt-module";
|
|
170
|
-
const version = "3.0.
|
|
170
|
+
const version = "3.0.39";
|
|
171
|
+
const description = "Módulo Nuxt para desarrollo CGI";
|
|
172
|
+
const repository = {
|
|
173
|
+
type: "git",
|
|
174
|
+
url: ""
|
|
175
|
+
};
|
|
176
|
+
const license = "MIT";
|
|
177
|
+
const type = "module";
|
|
178
|
+
const exports$1 = {
|
|
179
|
+
".": {
|
|
180
|
+
types: "./dist/types.d.mts",
|
|
181
|
+
style: "./dist/runtime/styles/main.css",
|
|
182
|
+
"import": "./dist/module.mjs",
|
|
183
|
+
require: "./dist/module.mjs"
|
|
184
|
+
}
|
|
185
|
+
};
|
|
186
|
+
const main = "./dist/module.mjs";
|
|
187
|
+
const typesVersions = {
|
|
188
|
+
"*": {
|
|
189
|
+
".": [
|
|
190
|
+
"./dist/types.d.mts"
|
|
191
|
+
],
|
|
192
|
+
"runtime/*": [
|
|
193
|
+
"./dist/runtime/*"
|
|
194
|
+
],
|
|
195
|
+
"components/*": [
|
|
196
|
+
"./dist/runtime/components/*"
|
|
197
|
+
]
|
|
198
|
+
}
|
|
199
|
+
};
|
|
200
|
+
const imports = {
|
|
201
|
+
"#build/templates/*": "./.nuxt/templates/*.ts",
|
|
202
|
+
"#build/templates.css": "./.nuxt/templates.css"
|
|
203
|
+
};
|
|
204
|
+
const style = "./dist/runtime/styles/main.css";
|
|
205
|
+
const files = [
|
|
206
|
+
"README.md",
|
|
207
|
+
"LICENSE",
|
|
208
|
+
".nuxt/templates",
|
|
209
|
+
".nuxt/templates.css",
|
|
210
|
+
"dist"
|
|
211
|
+
];
|
|
212
|
+
const scripts = {
|
|
213
|
+
prepack: "nuxt-module-build build",
|
|
214
|
+
dev: "pnpm run dev:prepare && nuxi dev playground",
|
|
215
|
+
"dev:https": "pnpm run dev:prepare && cd playground && pnpm run dev:https",
|
|
216
|
+
"dev:build": "nuxi build playground",
|
|
217
|
+
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
|
|
218
|
+
"release:prepare:major": "pnpm run test && pnpm run prepack && changelogen --release --major",
|
|
219
|
+
"release:prepare:minor": "pnpm run test && pnpm run prepack && changelogen --release --minor",
|
|
220
|
+
"release:prepare:patch": "pnpm run test && pnpm run prepack && changelogen --release --patch",
|
|
221
|
+
release: "pnpm publish && git push --follow-tags",
|
|
222
|
+
prepare: "husky",
|
|
223
|
+
format: "prettier --write .",
|
|
224
|
+
lint: "eslint .",
|
|
225
|
+
"lint:fix": "eslint . --fix",
|
|
226
|
+
test: "vitest run",
|
|
227
|
+
"test:watch": "vitest watch",
|
|
228
|
+
"test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
|
|
229
|
+
};
|
|
230
|
+
const dependencies = {
|
|
231
|
+
"@asgardeo/auth-spa": "3.5.2",
|
|
232
|
+
"@lucide/vue": "1.47.0",
|
|
233
|
+
"@nuxt/a11y": "1.0.0-alpha.1",
|
|
234
|
+
"@nuxt/fonts": "0.14.0",
|
|
235
|
+
"@nuxt/hints": "1.1.2",
|
|
236
|
+
"@nuxt/icon": "2.2.3",
|
|
237
|
+
"@nuxt/image": "2.0.0",
|
|
238
|
+
"@nuxt/kit": "4.4.7",
|
|
239
|
+
"@nuxtjs/i18n": "10.4.0",
|
|
240
|
+
"@pinia/nuxt": "0.5.5",
|
|
241
|
+
"@tailwindcss/vite": "4.3.0",
|
|
242
|
+
"@tanstack/vue-table": "8.21.3",
|
|
243
|
+
"@unovis/ts": "1.6.5",
|
|
244
|
+
"@unovis/vue": "1.6.5",
|
|
245
|
+
"@vee-validate/zod": "4.15.1",
|
|
246
|
+
"@vueuse/core": "14.3.0",
|
|
247
|
+
"class-variance-authority": "0.7.1",
|
|
248
|
+
clsx: "2.1.1",
|
|
249
|
+
colorette: "2.0.20",
|
|
250
|
+
defu: "6.1.7",
|
|
251
|
+
"embla-carousel-vue": "8.6.0",
|
|
252
|
+
"nuxt-security": "2.6.0",
|
|
253
|
+
pinia: "2.2.8",
|
|
254
|
+
"reka-ui": "2.9.9",
|
|
255
|
+
scule: "1.3.0",
|
|
256
|
+
"tailwind-merge": "3.6.0",
|
|
257
|
+
tailwindcss: "4.3.0",
|
|
258
|
+
"tw-animate-css": "1.4.0",
|
|
259
|
+
"vaul-vue": "0.4.1",
|
|
260
|
+
"vee-validate": "4.15.1",
|
|
261
|
+
"vue-input-otp": "0.3.2",
|
|
262
|
+
"vue-sonner": "2.0.9",
|
|
263
|
+
zod: "3.25.76"
|
|
264
|
+
};
|
|
265
|
+
const devDependencies = {
|
|
266
|
+
"@nuxt/devtools": "3.2.4",
|
|
267
|
+
"@nuxt/eslint-config": "1.15.2",
|
|
268
|
+
"@nuxt/module-builder": "1.0.2",
|
|
269
|
+
"@nuxt/schema": "4.4.7",
|
|
270
|
+
"@nuxt/test-utils": "4.0.3",
|
|
271
|
+
"@nuxtjs/color-mode": "4.0.0",
|
|
272
|
+
"@types/node": "24.3.1",
|
|
273
|
+
"@typescript-eslint/parser": "8.60.1",
|
|
274
|
+
changelogen: "0.6.2",
|
|
275
|
+
eslint: "9.39.1",
|
|
276
|
+
"eslint-plugin-security": "3.0.1",
|
|
277
|
+
husky: "9.1.7",
|
|
278
|
+
"lint-staged": "17.0.7",
|
|
279
|
+
nuxt: "4.4.7",
|
|
280
|
+
prettier: "3.8.3",
|
|
281
|
+
"prettier-plugin-tailwindcss": "0.8.0",
|
|
282
|
+
"shadcn-nuxt": "2.7.4",
|
|
283
|
+
typescript: "~5.9.2",
|
|
284
|
+
"unaxt-eslint-config": "0.0.3",
|
|
285
|
+
vitest: "4.1.8",
|
|
286
|
+
"vue-eslint-parser": "10.4.1",
|
|
287
|
+
"vue-tsc": "3.3.3"
|
|
288
|
+
};
|
|
289
|
+
const directories = {
|
|
290
|
+
test: "test"
|
|
291
|
+
};
|
|
292
|
+
const author = "Universidad Nacional - Centro de Gestion Informatica";
|
|
293
|
+
const bugs = {
|
|
294
|
+
url: "https://github.com/una-cgi/una-nuxt-module/issues"
|
|
295
|
+
};
|
|
296
|
+
const homepage = "https://github.com/una-cgi/una-nuxt-module#readme";
|
|
297
|
+
const pkg = {
|
|
298
|
+
name: name,
|
|
299
|
+
version: version,
|
|
300
|
+
description: description,
|
|
301
|
+
repository: repository,
|
|
302
|
+
license: license,
|
|
303
|
+
type: type,
|
|
304
|
+
exports: exports$1,
|
|
305
|
+
main: main,
|
|
306
|
+
typesVersions: typesVersions,
|
|
307
|
+
imports: imports,
|
|
308
|
+
style: style,
|
|
309
|
+
files: files,
|
|
310
|
+
scripts: scripts,
|
|
311
|
+
dependencies: dependencies,
|
|
312
|
+
devDependencies: devDependencies,
|
|
313
|
+
"lint-staged": {
|
|
314
|
+
"*.{js,ts,json,vue}": [
|
|
315
|
+
"prettier --write",
|
|
316
|
+
"eslint --fix"
|
|
317
|
+
]
|
|
318
|
+
},
|
|
319
|
+
directories: directories,
|
|
320
|
+
author: author,
|
|
321
|
+
bugs: bugs,
|
|
322
|
+
homepage: homepage
|
|
323
|
+
};
|
|
171
324
|
|
|
172
325
|
const module$1 = defineNuxtModule({
|
|
173
326
|
meta: {
|
|
174
|
-
name,
|
|
175
|
-
version,
|
|
327
|
+
name: pkg.name,
|
|
328
|
+
version: pkg.version,
|
|
176
329
|
configKey: "unaxt",
|
|
177
330
|
compatibility: {
|
|
178
331
|
nuxt: ">=4.0.0"
|
|
179
332
|
}
|
|
180
333
|
},
|
|
181
334
|
defaults: {
|
|
335
|
+
layouts: {
|
|
336
|
+
dashboard: false
|
|
337
|
+
},
|
|
182
338
|
components: true,
|
|
183
339
|
repositoryPattern: true,
|
|
184
340
|
auth: {
|
|
@@ -186,7 +342,8 @@ const module$1 = defineNuxtModule({
|
|
|
186
342
|
sso: {
|
|
187
343
|
automaticSignIn: true,
|
|
188
344
|
signInRedirectUrl: "/auth/sso/login",
|
|
189
|
-
signOutRedirectUrl: "/auth/sso/logout"
|
|
345
|
+
signOutRedirectUrl: "/auth/sso/logout",
|
|
346
|
+
postLoginRedirect: "/"
|
|
190
347
|
},
|
|
191
348
|
middleware: {
|
|
192
349
|
authentication: {
|
|
@@ -206,7 +363,7 @@ const module$1 = defineNuxtModule({
|
|
|
206
363
|
},
|
|
207
364
|
moduleDependencies: {
|
|
208
365
|
"nuxt-security": {
|
|
209
|
-
version:
|
|
366
|
+
version: `>=${pkg.dependencies["nuxt-security"]}`,
|
|
210
367
|
optional: true,
|
|
211
368
|
defaults: {
|
|
212
369
|
removeLoggers: true
|
|
@@ -230,13 +387,28 @@ const module$1 = defineNuxtModule({
|
|
|
230
387
|
}
|
|
231
388
|
},
|
|
232
389
|
async setup(options, nuxt) {
|
|
233
|
-
const logger = useLogger(name);
|
|
390
|
+
const logger = useLogger(pkg.name);
|
|
234
391
|
const { resolve } = createResolver(import.meta.url);
|
|
235
392
|
options = defu(nuxt.options.runtimeConfig.public.unaxt, options);
|
|
236
393
|
nuxt.options.runtimeConfig.public.unaxt = options;
|
|
237
394
|
nuxt.options.alias["#unaxt"] = resolve("./runtime");
|
|
395
|
+
function injectLayoutsConfig() {
|
|
396
|
+
if (!options.layouts || typeof options.layouts !== "object") {
|
|
397
|
+
return;
|
|
398
|
+
}
|
|
399
|
+
logger.ready(green("Configurando layouts"));
|
|
400
|
+
if (options.layouts.dashboard) {
|
|
401
|
+
addLayout(
|
|
402
|
+
{
|
|
403
|
+
src: resolve("./runtime/layouts/dashboard.vue")
|
|
404
|
+
},
|
|
405
|
+
"dashboard"
|
|
406
|
+
);
|
|
407
|
+
logger.ready("\u2514\u2500\u2500 " + gray("dashboard"));
|
|
408
|
+
}
|
|
409
|
+
}
|
|
238
410
|
function injectComponentsConfig() {
|
|
239
|
-
if (nuxt.options.components
|
|
411
|
+
if (!nuxt.options.components) {
|
|
240
412
|
return;
|
|
241
413
|
}
|
|
242
414
|
nuxt.options.components = {
|
|
@@ -401,10 +573,11 @@ const module$1 = defineNuxtModule({
|
|
|
401
573
|
}
|
|
402
574
|
try {
|
|
403
575
|
console.log(banner);
|
|
404
|
-
console.log(yellow(bold(`\u279C v${version}
|
|
576
|
+
console.log(yellow(bold(`\u279C v${pkg.version}
|
|
405
577
|
`)));
|
|
406
578
|
logger.start(cyan(bold("Registro del m\xF3dulo iniciado...")));
|
|
407
579
|
const startTime = Date.now();
|
|
580
|
+
injectLayoutsConfig();
|
|
408
581
|
injectComponentsConfig();
|
|
409
582
|
setupAutoImports();
|
|
410
583
|
setupAuth();
|
|
@@ -3,8 +3,8 @@ import { useAuthStore } from "../stores/auth.js";
|
|
|
3
3
|
export const useAuthorization = () => {
|
|
4
4
|
const isPageUnprotected = (page) => {
|
|
5
5
|
const unprotectedPages = useRuntimeConfig().public.unaxt.auth.unprotectedPages;
|
|
6
|
-
if (!unprotectedPages) {
|
|
7
|
-
return
|
|
6
|
+
if (!unprotectedPages || unprotectedPages.includes("/*")) {
|
|
7
|
+
return true;
|
|
8
8
|
}
|
|
9
9
|
return unprotectedPages.includes(page);
|
|
10
10
|
};
|
|
@@ -67,9 +67,7 @@ export default defineNuxtPlugin(async (nuxtApp) => {
|
|
|
67
67
|
nuxtApp.hook("app:created", async () => {
|
|
68
68
|
try {
|
|
69
69
|
await auth?.signIn();
|
|
70
|
-
await navigateTo(
|
|
71
|
-
getPostLoginRedirect(authConfig.sso?.postLoginRedirectUrl)
|
|
72
|
-
);
|
|
70
|
+
await navigateTo(getPostLoginRedirect());
|
|
73
71
|
} catch (error) {
|
|
74
72
|
console.error("Error procesando callback SSO:", error);
|
|
75
73
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { useRuntimeConfig } from "#app";
|
|
1
2
|
import { isAuthCallback } from "./isAuthCallback.js";
|
|
2
3
|
const STORAGE_KEY = "postLoginRedirect";
|
|
3
4
|
export function isSafePath(path) {
|
|
@@ -7,19 +8,29 @@ export function savePostLoginRedirect(path) {
|
|
|
7
8
|
if (!import.meta.client) {
|
|
8
9
|
return;
|
|
9
10
|
}
|
|
11
|
+
const runtimeConfig = useRuntimeConfig();
|
|
12
|
+
const postLoginRedirect = runtimeConfig.public.unaxt.auth.sso?.postLoginRedirect;
|
|
13
|
+
if (postLoginRedirect !== true) {
|
|
14
|
+
return;
|
|
15
|
+
}
|
|
10
16
|
if (!isSafePath(path) || isAuthCallback(path)) {
|
|
11
17
|
return;
|
|
12
18
|
}
|
|
13
19
|
sessionStorage.setItem(STORAGE_KEY, path);
|
|
14
20
|
}
|
|
15
|
-
export function getPostLoginRedirect(
|
|
21
|
+
export function getPostLoginRedirect() {
|
|
16
22
|
if (!import.meta.client) {
|
|
17
|
-
return
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
const runtimeConfig = useRuntimeConfig();
|
|
26
|
+
const postLoginRedirect = runtimeConfig.public.unaxt.auth.sso?.postLoginRedirect;
|
|
27
|
+
if (typeof postLoginRedirect === "string") {
|
|
28
|
+
return postLoginRedirect;
|
|
18
29
|
}
|
|
19
30
|
const stored = sessionStorage.getItem(STORAGE_KEY);
|
|
20
31
|
sessionStorage.removeItem(STORAGE_KEY);
|
|
21
|
-
if (stored && isSafePath(stored)) {
|
|
32
|
+
if (postLoginRedirect === true && stored && isSafePath(stored)) {
|
|
22
33
|
return stored;
|
|
23
34
|
}
|
|
24
|
-
return
|
|
35
|
+
return "/";
|
|
25
36
|
}
|
|
@@ -1,13 +1,5 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
-
import {
|
|
3
|
-
Breadcrumb,
|
|
4
|
-
BreadcrumbItem,
|
|
5
|
-
BreadcrumbLink,
|
|
6
|
-
BreadcrumbList,
|
|
7
|
-
BreadcrumbPage,
|
|
8
|
-
BreadcrumbSeparator
|
|
9
|
-
} from "../ui/breadcrumb";
|
|
10
|
-
import { useBreadcumbs } from "../../composables/useBreadcumbs";
|
|
2
|
+
import { useBreadcumbs } from "#unaxt/composables/useBreadcumbs";
|
|
11
3
|
const { breadcrumbs } = useBreadcumbs();
|
|
12
4
|
</script>
|
|
13
5
|
|
|
@@ -15,7 +7,9 @@ const { breadcrumbs } = useBreadcumbs();
|
|
|
15
7
|
<Breadcrumb>
|
|
16
8
|
<BreadcrumbList>
|
|
17
9
|
<template v-for="(breadcumb, index) in breadcrumbs" :key="index">
|
|
18
|
-
<BreadcrumbItem
|
|
10
|
+
<BreadcrumbItem
|
|
11
|
+
:class="index < breadcrumbs.length - 1 ? 'md:flex hidden' : ''"
|
|
12
|
+
>
|
|
19
13
|
<BreadcrumbLink v-if="breadcumb.to" as-child>
|
|
20
14
|
<NuxtLink :to="breadcumb.to"> {{ breadcumb.label }} </NuxtLink>
|
|
21
15
|
</BreadcrumbLink>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<footer
|
|
3
|
+
class="space-x-4 px-2 py-4 text-xs container mx-auto flex items-center justify-between"
|
|
4
|
+
>
|
|
5
|
+
<p class="line-clamp-2 w-full text-center">
|
|
6
|
+
{{
|
|
7
|
+
`© ${new Date().getFullYear()} Universidad Nacional - Dirección de Tecnologías de Información
|
|
8
|
+
y Comunicación`
|
|
9
|
+
}}
|
|
10
|
+
</p>
|
|
11
|
+
</footer>
|
|
12
|
+
</template>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare var __VLS_14: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_14) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare var __VLS_14: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_14) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<header
|
|
3
|
+
class="h-16 gap-2 group-has-data-[collapsible=icon]/sidebar-wrapper:h-12 flex shrink-0 items-center transition-[width,height] ease-linear"
|
|
4
|
+
>
|
|
5
|
+
<div class="gap-2 px-4 flex w-full items-center">
|
|
6
|
+
<SidebarTrigger class="-ml-1 cursor-pointer" />
|
|
7
|
+
<Separator
|
|
8
|
+
orientation="vertical"
|
|
9
|
+
class="mr-2 data-[orientation=vertical]:h-4"
|
|
10
|
+
/>
|
|
11
|
+
<AppBreadcumbs />
|
|
12
|
+
</div>
|
|
13
|
+
|
|
14
|
+
<div id="header-content" class="gap-2 px-4 flex items-end" />
|
|
15
|
+
</header>
|
|
16
|
+
</template>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare var __VLS_14: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_14) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare var __VLS_14: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_14) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|