una-nuxt-module 2.1.30 → 2.1.32
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 +34 -0
- package/.nuxt/templates/ColorModeSelect.vue/ColorModeSelect.vue +62 -0
- package/.nuxt/templates/Loading.vue/Loading.vue +5 -0
- package/.nuxt/templates/LoadingScreen.vue/LoadingScreen.vue +12 -0
- package/.nuxt/templates/LoadingSessionScreen.vue/LoadingSessionScreen.vue +30 -0
- package/.nuxt/templates/accordion/AccordionContent.vue +9 -7
- package/.nuxt/templates/accordion/AccordionItem.vue +10 -8
- package/.nuxt/templates/accordion/AccordionTrigger.vue +11 -13
- package/.nuxt/templates/alert/Alert.vue +7 -7
- package/.nuxt/templates/alert/AlertDescription.vue +10 -5
- package/.nuxt/templates/alert/AlertTitle.vue +10 -5
- package/.nuxt/templates/alert-dialog/AlertDialogAction.vue +14 -9
- package/.nuxt/templates/alert-dialog/AlertDialogCancel.vue +13 -13
- package/.nuxt/templates/alert-dialog/AlertDialogContent.vue +12 -11
- package/.nuxt/templates/alert-dialog/AlertDialogDescription.vue +9 -10
- package/.nuxt/templates/alert-dialog/AlertDialogFooter.vue +5 -8
- package/.nuxt/templates/alert-dialog/AlertDialogHeader.vue +4 -4
- package/.nuxt/templates/alert-dialog/AlertDialogTitle.vue +9 -7
- package/.nuxt/templates/auto-form/AutoForm.vue +60 -49
- package/.nuxt/templates/auto-form/AutoFormFieldArray.vue +42 -32
- package/.nuxt/templates/auto-form/AutoFormFieldBoolean.vue +24 -11
- package/.nuxt/templates/auto-form/AutoFormFieldDate.vue +43 -20
- package/.nuxt/templates/auto-form/AutoFormFieldEnum.vue +52 -15
- package/.nuxt/templates/auto-form/AutoFormFieldFile.vue +41 -28
- package/.nuxt/templates/auto-form/AutoFormFieldInput.vue +17 -9
- package/.nuxt/templates/auto-form/AutoFormFieldNumber.vue +18 -8
- package/.nuxt/templates/auto-form/AutoFormFieldObject.vue +51 -34
- package/.nuxt/templates/auto-form/AutoFormLabel.vue +3 -3
- package/.nuxt/templates/avatar/Avatar.vue +11 -6
- package/.nuxt/templates/avatar/AvatarFallback.vue +15 -8
- package/.nuxt/templates/badge/Badge.vue +14 -12
- package/.nuxt/templates/breadcrumb/BreadcrumbEllipsis.vue +5 -5
- package/.nuxt/templates/breadcrumb/BreadcrumbItem.vue +4 -4
- package/.nuxt/templates/breadcrumb/BreadcrumbLink.vue +10 -7
- package/.nuxt/templates/breadcrumb/BreadcrumbList.vue +10 -5
- package/.nuxt/templates/breadcrumb/BreadcrumbPage.vue +4 -4
- package/.nuxt/templates/breadcrumb/BreadcrumbSeparator.vue +5 -5
- package/.nuxt/templates/button/Button.vue +10 -10
- package/.nuxt/templates/button-group/ButtonGroup.vue +10 -8
- package/.nuxt/templates/button-group/ButtonGroupSeparator.vue +18 -13
- package/.nuxt/templates/button-group/ButtonGroupText.vue +14 -9
- package/.nuxt/templates/calendar/Calendar.vue +31 -18
- package/.nuxt/templates/calendar/CalendarCell.vue +16 -9
- package/.nuxt/templates/calendar/CalendarCellTrigger.vue +30 -25
- package/.nuxt/templates/calendar/CalendarGrid.vue +10 -8
- package/.nuxt/templates/calendar/CalendarGridRow.vue +12 -9
- package/.nuxt/templates/calendar/CalendarHeadCell.vue +16 -9
- package/.nuxt/templates/calendar/CalendarHeader.vue +13 -9
- package/.nuxt/templates/calendar/CalendarHeading.vue +12 -10
- package/.nuxt/templates/calendar/CalendarNextButton.vue +20 -16
- package/.nuxt/templates/calendar/CalendarPrevButton.vue +20 -16
- package/.nuxt/templates/card/Card.vue +5 -5
- package/.nuxt/templates/card/CardAction.vue +10 -5
- package/.nuxt/templates/card/CardContent.vue +5 -8
- package/.nuxt/templates/card/CardDescription.vue +4 -4
- package/.nuxt/templates/card/CardFooter.vue +4 -4
- package/.nuxt/templates/card/CardHeader.vue +10 -5
- package/.nuxt/templates/card/CardTitle.vue +4 -4
- package/.nuxt/templates/carousel/Carousel.vue +35 -15
- package/.nuxt/templates/carousel/CarouselContent.vue +10 -13
- package/.nuxt/templates/carousel/CarouselItem.vue +12 -10
- package/.nuxt/templates/carousel/CarouselNext.vue +28 -22
- package/.nuxt/templates/carousel/CarouselPrevious.vue +28 -22
- package/.nuxt/templates/chart/ChartLegend.vue +45 -32
- package/.nuxt/templates/chart/ChartTooltip.vue +7 -7
- package/.nuxt/templates/chart-area/AreaChart.vue +99 -59
- package/.nuxt/templates/chart-bar/BarChart.vue +83 -53
- package/.nuxt/templates/chart-donut/DonutChart.vue +83 -55
- package/.nuxt/templates/chart-line/LineChart.vue +69 -45
- package/.nuxt/templates/checkbox/Checkbox.vue +17 -12
- package/.nuxt/templates/combobox/ComboboxAnchor.vue +10 -8
- package/.nuxt/templates/combobox/ComboboxEmpty.vue +9 -7
- package/.nuxt/templates/combobox/ComboboxGroup.vue +16 -11
- package/.nuxt/templates/combobox/ComboboxInput.vue +21 -18
- package/.nuxt/templates/combobox/ComboboxItem.vue +17 -10
- package/.nuxt/templates/combobox/ComboboxItemIndicator.vue +10 -8
- package/.nuxt/templates/combobox/ComboboxList.vue +22 -14
- package/.nuxt/templates/combobox/ComboboxSeparator.vue +9 -7
- package/.nuxt/templates/combobox/ComboboxTrigger.vue +10 -8
- package/.nuxt/templates/combobox/ComboboxViewport.vue +16 -9
- package/.nuxt/templates/command/Command.vue +43 -33
- package/.nuxt/templates/command/CommandDialog.vue +25 -14
- package/.nuxt/templates/command/CommandEmpty.vue +17 -13
- package/.nuxt/templates/command/CommandGroup.vue +28 -22
- package/.nuxt/templates/command/CommandInput.vue +22 -15
- package/.nuxt/templates/command/CommandItem.vue +47 -38
- package/.nuxt/templates/command/CommandList.vue +16 -9
- package/.nuxt/templates/command/CommandSeparator.vue +9 -7
- package/.nuxt/templates/command/CommandShortcut.vue +7 -5
- package/.nuxt/templates/context-menu/ContextMenuCheckboxItem.vue +24 -16
- package/.nuxt/templates/context-menu/ContextMenuContent.vue +17 -14
- package/.nuxt/templates/context-menu/ContextMenuItem.vue +26 -23
- package/.nuxt/templates/context-menu/ContextMenuLabel.vue +15 -8
- package/.nuxt/templates/context-menu/ContextMenuRadioItem.vue +24 -16
- package/.nuxt/templates/context-menu/ContextMenuSeparator.vue +9 -10
- package/.nuxt/templates/context-menu/ContextMenuShortcut.vue +7 -5
- package/.nuxt/templates/context-menu/ContextMenuSubContent.vue +15 -14
- package/.nuxt/templates/context-menu/ContextMenuSubTrigger.vue +20 -17
- package/.nuxt/templates/dialog/DialogContent.vue +16 -14
- package/.nuxt/templates/dialog/DialogDescription.vue +10 -8
- package/.nuxt/templates/dialog/DialogFooter.vue +6 -4
- package/.nuxt/templates/dialog/DialogHeader.vue +4 -4
- package/.nuxt/templates/dialog/DialogOverlay.vue +15 -8
- package/.nuxt/templates/dialog/DialogScrollContent.vue +14 -13
- package/.nuxt/templates/dialog/DialogTitle.vue +10 -8
- package/.nuxt/templates/drawer/DrawerContent.vue +24 -18
- package/.nuxt/templates/drawer/DrawerDescription.vue +9 -7
- package/.nuxt/templates/drawer/DrawerFooter.vue +4 -4
- package/.nuxt/templates/drawer/DrawerHeader.vue +4 -4
- package/.nuxt/templates/drawer/DrawerOverlay.vue +15 -8
- package/.nuxt/templates/drawer/DrawerTitle.vue +9 -7
- package/.nuxt/templates/dropdown-menu/DropdownMenuCheckboxItem.vue +24 -16
- package/.nuxt/templates/dropdown-menu/DropdownMenuContent.vue +19 -12
- package/.nuxt/templates/dropdown-menu/DropdownMenuItem.vue +25 -15
- package/.nuxt/templates/dropdown-menu/DropdownMenuLabel.vue +13 -9
- package/.nuxt/templates/dropdown-menu/DropdownMenuRadioItem.vue +24 -16
- package/.nuxt/templates/dropdown-menu/DropdownMenuSeparator.vue +11 -12
- package/.nuxt/templates/dropdown-menu/DropdownMenuShortcut.vue +7 -5
- package/.nuxt/templates/dropdown-menu/DropdownMenuSubContent.vue +20 -14
- package/.nuxt/templates/dropdown-menu/DropdownMenuSubTrigger.vue +20 -17
- package/.nuxt/templates/empty/Empty.vue +10 -8
- package/.nuxt/templates/empty/EmptyContent.vue +10 -8
- package/.nuxt/templates/empty/EmptyDescription.vue +10 -8
- package/.nuxt/templates/empty/EmptyHeader.vue +10 -8
- package/.nuxt/templates/empty/EmptyMedia.vue +7 -7
- package/.nuxt/templates/empty/EmptyTitle.vue +7 -7
- package/.nuxt/templates/field/Field.vue +8 -11
- package/.nuxt/templates/field/FieldContent.vue +10 -8
- package/.nuxt/templates/field/FieldDescription.vue +12 -10
- package/.nuxt/templates/field/FieldError.vue +14 -14
- package/.nuxt/templates/field/FieldGroup.vue +10 -8
- package/.nuxt/templates/field/FieldLabel.vue +13 -11
- package/.nuxt/templates/field/FieldLegend.vue +13 -11
- package/.nuxt/templates/field/FieldSeparator.vue +11 -9
- package/.nuxt/templates/field/FieldSet.vue +11 -9
- package/.nuxt/templates/field/FieldTitle.vue +10 -8
- package/.nuxt/templates/form/FormDescription.vue +6 -6
- package/.nuxt/templates/form/FormItem.vue +10 -13
- package/.nuxt/templates/form/FormLabel.vue +8 -11
- package/.nuxt/templates/form/FormMessage.vue +8 -8
- package/.nuxt/templates/hover-card/HoverCardContent.vue +10 -15
- package/.nuxt/templates/input/Input.vue +19 -17
- package/.nuxt/templates/input-group/InputGroup.vue +20 -18
- package/.nuxt/templates/input-group/InputGroupAddon.vue +17 -14
- package/.nuxt/templates/input-group/InputGroupButton.vue +5 -5
- package/.nuxt/templates/input-group/InputGroupInput.vue +11 -9
- package/.nuxt/templates/input-group/InputGroupText.vue +10 -8
- package/.nuxt/templates/input-group/InputGroupTextarea.vue +11 -9
- package/.nuxt/templates/input-group/index.ts +25 -22
- package/.nuxt/templates/item/Item.vue +18 -13
- package/.nuxt/templates/item/ItemActions.vue +4 -4
- package/.nuxt/templates/item/ItemContent.vue +10 -5
- package/.nuxt/templates/item/ItemDescription.vue +11 -9
- package/.nuxt/templates/item/ItemFooter.vue +7 -5
- package/.nuxt/templates/item/ItemGroup.vue +4 -4
- package/.nuxt/templates/item/ItemHeader.vue +7 -5
- package/.nuxt/templates/item/ItemMedia.vue +7 -7
- package/.nuxt/templates/item/ItemSeparator.vue +5 -5
- package/.nuxt/templates/item/ItemTitle.vue +10 -5
- package/.nuxt/templates/kbd/Kbd.vue +12 -10
- package/.nuxt/templates/kbd/KbdGroup.vue +4 -4
- package/.nuxt/templates/label/Label.vue +8 -8
- package/.nuxt/templates/menubar/Menubar.vue +12 -14
- package/.nuxt/templates/menubar/MenubarCheckboxItem.vue +24 -16
- package/.nuxt/templates/menubar/MenubarContent.vue +10 -15
- package/.nuxt/templates/menubar/MenubarItem.vue +21 -21
- package/.nuxt/templates/menubar/MenubarLabel.vue +12 -8
- package/.nuxt/templates/menubar/MenubarRadioItem.vue +21 -16
- package/.nuxt/templates/menubar/MenubarSeparator.vue +11 -9
- package/.nuxt/templates/menubar/MenubarShortcut.vue +7 -5
- package/.nuxt/templates/menubar/MenubarSubContent.vue +12 -11
- package/.nuxt/templates/menubar/MenubarSubTrigger.vue +17 -13
- package/.nuxt/templates/menubar/MenubarTrigger.vue +11 -9
- package/.nuxt/templates/navigation-menu/NavigationMenu.vue +26 -20
- package/.nuxt/templates/navigation-menu/NavigationMenuContent.vue +21 -18
- package/.nuxt/templates/navigation-menu/NavigationMenuIndicator.vue +19 -10
- package/.nuxt/templates/navigation-menu/NavigationMenuItem.vue +9 -7
- package/.nuxt/templates/navigation-menu/NavigationMenuLink.vue +17 -14
- package/.nuxt/templates/navigation-menu/NavigationMenuList.vue +11 -9
- package/.nuxt/templates/navigation-menu/NavigationMenuTrigger.vue +12 -14
- package/.nuxt/templates/navigation-menu/NavigationMenuViewport.vue +11 -13
- package/.nuxt/templates/number-field/NumberField.vue +11 -9
- package/.nuxt/templates/number-field/NumberFieldContent.vue +12 -5
- package/.nuxt/templates/number-field/NumberFieldDecrement.vue +21 -10
- package/.nuxt/templates/number-field/NumberFieldIncrement.vue +21 -10
- package/.nuxt/templates/number-field/NumberFieldInput.vue +11 -6
- package/.nuxt/templates/pagination/Pagination.vue +13 -11
- package/.nuxt/templates/pagination/PaginationContent.vue +9 -7
- package/.nuxt/templates/pagination/PaginationEllipsis.vue +10 -8
- package/.nuxt/templates/pagination/PaginationFirst.vue +28 -17
- package/.nuxt/templates/pagination/PaginationItem.vue +29 -21
- package/.nuxt/templates/pagination/PaginationLast.vue +28 -17
- package/.nuxt/templates/pagination/PaginationNext.vue +28 -17
- package/.nuxt/templates/pagination/PaginationPrevious.vue +28 -17
- package/.nuxt/templates/pin-input/PinInput.vue +21 -12
- package/.nuxt/templates/pin-input/PinInputGroup.vue +10 -8
- package/.nuxt/templates/pin-input/PinInputSlot.vue +16 -9
- package/.nuxt/templates/popover/PopoverContent.vue +12 -17
- package/.nuxt/templates/progress/Progress.vue +9 -13
- package/.nuxt/templates/radio-group/RadioGroup.vue +11 -9
- package/.nuxt/templates/radio-group/RadioGroupItem.vue +15 -16
- package/.nuxt/templates/range-calendar/RangeCalendar.vue +31 -18
- package/.nuxt/templates/range-calendar/RangeCalendarCell.vue +16 -9
- package/.nuxt/templates/range-calendar/RangeCalendarCellTrigger.vue +34 -27
- package/.nuxt/templates/range-calendar/RangeCalendarGrid.vue +10 -8
- package/.nuxt/templates/range-calendar/RangeCalendarGridRow.vue +12 -9
- package/.nuxt/templates/range-calendar/RangeCalendarHeadCell.vue +16 -9
- package/.nuxt/templates/range-calendar/RangeCalendarHeader.vue +13 -9
- package/.nuxt/templates/range-calendar/RangeCalendarHeading.vue +12 -10
- package/.nuxt/templates/range-calendar/RangeCalendarNextButton.vue +20 -16
- package/.nuxt/templates/range-calendar/RangeCalendarPrevButton.vue +20 -16
- package/.nuxt/templates/resizable/ResizableHandle.vue +27 -12
- package/.nuxt/templates/resizable/ResizablePanelGroup.vue +14 -10
- package/.nuxt/templates/scroll-area/ScrollArea.vue +10 -13
- package/.nuxt/templates/scroll-area/ScrollBar.vue +21 -15
- package/.nuxt/templates/select/SelectContent.vue +28 -20
- package/.nuxt/templates/select/SelectItem.vue +12 -11
- package/.nuxt/templates/select/SelectLabel.vue +7 -5
- package/.nuxt/templates/select/SelectScrollDownButton.vue +14 -10
- package/.nuxt/templates/select/SelectScrollUpButton.vue +14 -10
- package/.nuxt/templates/select/SelectSeparator.vue +9 -7
- package/.nuxt/templates/select/SelectTrigger.vue +22 -15
- package/.nuxt/templates/separator/Separator.vue +14 -13
- package/.nuxt/templates/sheet/SheetContent.vue +28 -26
- package/.nuxt/templates/sheet/SheetDescription.vue +9 -7
- package/.nuxt/templates/sheet/SheetFooter.vue +4 -5
- package/.nuxt/templates/sheet/SheetHeader.vue +3 -3
- package/.nuxt/templates/sheet/SheetOverlay.vue +15 -8
- package/.nuxt/templates/sheet/SheetTitle.vue +9 -7
- package/.nuxt/templates/sidebar/Sidebar.vue +45 -31
- package/.nuxt/templates/sidebar/SidebarContent.vue +10 -5
- package/.nuxt/templates/sidebar/SidebarFooter.vue +4 -4
- package/.nuxt/templates/sidebar/SidebarGroup.vue +4 -4
- package/.nuxt/templates/sidebar/SidebarGroupAction.vue +17 -13
- package/.nuxt/templates/sidebar/SidebarGroupContent.vue +4 -4
- package/.nuxt/templates/sidebar/SidebarGroupLabel.vue +16 -11
- package/.nuxt/templates/sidebar/SidebarHeader.vue +4 -4
- package/.nuxt/templates/sidebar/SidebarInput.vue +6 -9
- package/.nuxt/templates/sidebar/SidebarInset.vue +11 -9
- package/.nuxt/templates/sidebar/SidebarMenu.vue +4 -4
- package/.nuxt/templates/sidebar/SidebarMenuAction.vue +28 -21
- package/.nuxt/templates/sidebar/SidebarMenuBadge.vue +15 -13
- package/.nuxt/templates/sidebar/SidebarMenuButton.vue +25 -17
- package/.nuxt/templates/sidebar/SidebarMenuButtonChild.vue +11 -11
- package/.nuxt/templates/sidebar/SidebarMenuItem.vue +4 -4
- package/.nuxt/templates/sidebar/SidebarMenuSkeleton.vue +9 -9
- package/.nuxt/templates/sidebar/SidebarMenuSub.vue +11 -9
- package/.nuxt/templates/sidebar/SidebarMenuSubButton.vue +27 -20
- package/.nuxt/templates/sidebar/SidebarMenuSubItem.vue +4 -4
- package/.nuxt/templates/sidebar/SidebarProvider.vue +57 -30
- package/.nuxt/templates/sidebar/SidebarRail.vue +17 -15
- package/.nuxt/templates/sidebar/SidebarSeparator.vue +5 -5
- package/.nuxt/templates/sidebar/SidebarTrigger.vue +8 -8
- package/.nuxt/templates/skeleton/Skeleton.vue +4 -4
- package/.nuxt/templates/slider/Slider.vue +23 -13
- package/.nuxt/templates/spinner/Spinner.vue +5 -5
- package/.nuxt/templates/stepper/Stepper.vue +12 -13
- package/.nuxt/templates/stepper/StepperDescription.vue +15 -9
- package/.nuxt/templates/stepper/StepperIndicator.vue +22 -18
- package/.nuxt/templates/stepper/StepperItem.vue +16 -9
- package/.nuxt/templates/stepper/StepperSeparator.vue +20 -16
- package/.nuxt/templates/stepper/StepperTitle.vue +14 -9
- package/.nuxt/templates/stepper/StepperTrigger.vue +16 -9
- package/.nuxt/templates/switch/Switch.vue +22 -19
- package/.nuxt/templates/table/Table.vue +8 -5
- package/.nuxt/templates/table/TableBody.vue +4 -4
- package/.nuxt/templates/table/TableCaption.vue +4 -4
- package/.nuxt/templates/table/TableCell.vue +5 -5
- package/.nuxt/templates/table/TableEmpty.vue +16 -13
- package/.nuxt/templates/table/TableFooter.vue +7 -5
- package/.nuxt/templates/table/TableHead.vue +10 -5
- package/.nuxt/templates/table/TableHeader.vue +5 -8
- package/.nuxt/templates/table/TableRow.vue +10 -5
- package/.nuxt/templates/tabs/Tabs.vue +11 -9
- package/.nuxt/templates/tabs/TabsContent.vue +9 -7
- package/.nuxt/templates/tabs/TabsList.vue +15 -11
- package/.nuxt/templates/tabs/TabsTrigger.vue +16 -12
- package/.nuxt/templates/tags-input/TagsInput.vue +20 -10
- package/.nuxt/templates/tags-input/TagsInputInput.vue +19 -9
- package/.nuxt/templates/tags-input/TagsInputItem.vue +19 -9
- package/.nuxt/templates/tags-input/TagsInputItemDelete.vue +15 -10
- package/.nuxt/templates/tags-input/TagsInputItemText.vue +14 -9
- package/.nuxt/templates/textarea/Textarea.vue +16 -11
- package/.nuxt/templates/toggle/Toggle.vue +24 -19
- package/.nuxt/templates/toggle-group/ToggleGroup.vue +26 -19
- package/.nuxt/templates/toggle-group/ToggleGroupItem.vue +29 -24
- package/.nuxt/templates/tooltip/TooltipContent.vue +29 -14
- package/dist/module.json +1 -1
- package/dist/module.mjs +145 -165
- package/dist/runtime/components/shared/ColorModeSelect.vue +1 -4
- package/dist/runtime/components/shared/Loading.d.vue.ts +2 -0
- package/dist/runtime/components/shared/Loading.vue +5 -0
- package/dist/runtime/components/shared/Loading.vue.d.ts +2 -0
- package/dist/runtime/components/shared/LoadingScreen.d.vue.ts +2 -0
- package/dist/runtime/components/shared/LoadingScreen.vue +12 -0
- package/dist/runtime/components/shared/LoadingScreen.vue.d.ts +2 -0
- package/dist/runtime/components/shared/LoadingSessionScreen.d.vue.ts +2 -0
- package/dist/runtime/components/shared/LoadingSessionScreen.vue +30 -0
- package/dist/runtime/components/shared/LoadingSessionScreen.vue.d.ts +2 -0
- package/dist/runtime/components/ui/auto-form/AutoForm.d.vue.ts +10 -12
- package/dist/runtime/components/ui/auto-form/AutoForm.vue.d.ts +10 -12
- package/dist/runtime/components/ui/auto-form/AutoFormFieldBoolean.d.vue.ts +1 -17
- package/dist/runtime/components/ui/auto-form/AutoFormFieldBoolean.vue.d.ts +1 -17
- package/dist/runtime/components/ui/auto-form/AutoFormFieldDate.d.vue.ts +1 -17
- package/dist/runtime/components/ui/auto-form/AutoFormFieldDate.vue.d.ts +1 -17
- package/dist/runtime/components/ui/auto-form/AutoFormFieldEnum.d.vue.ts +1 -17
- package/dist/runtime/components/ui/auto-form/AutoFormFieldEnum.vue.d.ts +1 -17
- package/dist/runtime/components/ui/auto-form/AutoFormFieldFile.d.vue.ts +1 -17
- package/dist/runtime/components/ui/auto-form/AutoFormFieldFile.vue.d.ts +1 -17
- package/dist/runtime/components/ui/auto-form/AutoFormFieldInput.d.vue.ts +1 -17
- package/dist/runtime/components/ui/auto-form/AutoFormFieldInput.vue.d.ts +1 -17
- package/dist/runtime/components/ui/auto-form/AutoFormFieldNumber.d.vue.ts +1 -17
- package/dist/runtime/components/ui/auto-form/AutoFormFieldNumber.vue.d.ts +1 -17
- package/dist/runtime/components/ui/button/index.d.ts +1 -1
- package/dist/runtime/components/ui/carousel/CarouselNext.d.vue.ts +1 -1
- package/dist/runtime/components/ui/carousel/CarouselNext.vue.d.ts +1 -1
- package/dist/runtime/components/ui/carousel/CarouselPrevious.d.vue.ts +1 -1
- package/dist/runtime/components/ui/carousel/CarouselPrevious.vue.d.ts +1 -1
- package/dist/runtime/components/ui/chart-donut/DonutChart.d.vue.ts +1 -1
- package/dist/runtime/components/ui/chart-donut/DonutChart.vue.d.ts +1 -1
- package/dist/runtime/components/ui/collapsible/Collapsible.d.vue.ts +1 -1
- package/dist/runtime/components/ui/collapsible/Collapsible.vue.d.ts +1 -1
- package/dist/runtime/components/ui/combobox/ComboboxList.d.vue.ts +1 -1
- package/dist/runtime/components/ui/combobox/ComboboxList.vue.d.ts +1 -1
- package/dist/runtime/components/ui/command/CommandDialog.d.vue.ts +1 -1
- package/dist/runtime/components/ui/command/CommandDialog.vue.d.ts +1 -1
- package/dist/runtime/components/ui/input-group/InputGroupButton.d.vue.ts +1 -1
- package/dist/runtime/components/ui/input-group/InputGroupButton.vue.d.ts +1 -1
- package/dist/runtime/components/ui/item/index.d.ts +1 -1
- package/dist/runtime/components/ui/menubar/MenubarContent.d.vue.ts +1 -1
- package/dist/runtime/components/ui/menubar/MenubarContent.vue.d.ts +1 -1
- package/dist/runtime/components/ui/pagination/Pagination.d.vue.ts +1 -4
- package/dist/runtime/components/ui/pagination/Pagination.vue.d.ts +1 -4
- package/dist/runtime/components/ui/pagination/PaginationContent.d.vue.ts +1 -8
- package/dist/runtime/components/ui/pagination/PaginationContent.vue.d.ts +1 -8
- package/dist/runtime/components/ui/pagination/PaginationFirst.d.vue.ts +1 -1
- package/dist/runtime/components/ui/pagination/PaginationFirst.vue.d.ts +1 -1
- package/dist/runtime/components/ui/pagination/PaginationItem.d.vue.ts +1 -1
- package/dist/runtime/components/ui/pagination/PaginationItem.vue.d.ts +1 -1
- package/dist/runtime/components/ui/pagination/PaginationLast.d.vue.ts +1 -1
- package/dist/runtime/components/ui/pagination/PaginationLast.vue.d.ts +1 -1
- package/dist/runtime/components/ui/pagination/PaginationNext.d.vue.ts +1 -1
- package/dist/runtime/components/ui/pagination/PaginationNext.vue.d.ts +1 -1
- package/dist/runtime/components/ui/pagination/PaginationPrevious.d.vue.ts +1 -1
- package/dist/runtime/components/ui/pagination/PaginationPrevious.vue.d.ts +1 -1
- package/dist/runtime/components/ui/popover/PopoverContent.d.vue.ts +1 -1
- package/dist/runtime/components/ui/popover/PopoverContent.vue.d.ts +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarMenuButton.d.vue.ts +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarMenuButton.vue.d.ts +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.d.vue.ts +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.vue.d.ts +1 -1
- package/dist/runtime/components/ui/stepper/Stepper.d.vue.ts +1 -13
- package/dist/runtime/components/ui/stepper/Stepper.vue.d.ts +1 -13
- package/dist/runtime/components/ui/stepper/StepperDescription.d.vue.ts +1 -1
- package/dist/runtime/components/ui/stepper/StepperDescription.vue.d.ts +1 -1
- package/dist/runtime/components/ui/stepper/StepperIndicator.d.vue.ts +1 -3
- package/dist/runtime/components/ui/stepper/StepperIndicator.vue.d.ts +1 -3
- package/dist/runtime/components/ui/stepper/StepperItem.d.vue.ts +1 -3
- package/dist/runtime/components/ui/stepper/StepperItem.vue.d.ts +1 -3
- package/dist/runtime/components/ui/toggle/Toggle.d.vue.ts +2 -7
- package/dist/runtime/components/ui/toggle/Toggle.vue.d.ts +2 -7
- package/dist/runtime/components/ui/toggle-group/ToggleGroup.d.vue.ts +1 -3
- package/dist/runtime/components/ui/toggle-group/ToggleGroup.vue.d.ts +1 -3
- package/dist/runtime/components/ui/toggle-group/ToggleGroupItem.d.vue.ts +1 -6
- package/dist/runtime/components/ui/toggle-group/ToggleGroupItem.vue.d.ts +1 -6
- package/dist/runtime/composables/useAuthorization.d.ts +1 -4
- package/dist/runtime/composables/useAuthorization.js +3 -23
- package/dist/runtime/composables/{useTableState.d.ts → usePagination.d.ts} +3 -4
- package/dist/runtime/composables/{useTableState.js → usePagination.js} +4 -5
- package/dist/runtime/constants/tables.d.ts +1 -3
- package/dist/runtime/constants/tables.js +0 -8
- package/dist/runtime/enums/index.d.ts +0 -1
- package/dist/runtime/enums/index.js +0 -1
- package/dist/runtime/pages/401.vue +15 -7
- package/dist/runtime/pages/403.vue +17 -8
- package/dist/runtime/types/index.d.ts +0 -71
- package/package.json +2 -2
- package/dist/runtime/enums/ETheme.d.ts +0 -7
- package/dist/runtime/enums/ETheme.js +0 -5
- package/dist/runtime/stores/UiCustomizer.d.ts +0 -26
- package/dist/runtime/stores/UiCustomizer.js +0 -25
- package/dist/runtime/stores/appStatus.d.ts +0 -75
- package/dist/runtime/stores/appStatus.js +0 -71
- package/dist/runtime/utils/getCurrentPath.d.ts +0 -7
- package/dist/runtime/utils/getCurrentPath.js +0 -4
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import {
|
|
3
|
+
Breadcrumb,
|
|
4
|
+
BreadcrumbItem,
|
|
5
|
+
BreadcrumbLink,
|
|
6
|
+
BreadcrumbList,
|
|
7
|
+
BreadcrumbPage,
|
|
8
|
+
BreadcrumbSeparator,
|
|
9
|
+
} from "../ui/breadcrumb";
|
|
10
|
+
import { useBreadcumbs } from "../../composables/useBreadcumbs";
|
|
11
|
+
|
|
12
|
+
const { breadcrumbs } = useBreadcumbs();
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<template>
|
|
16
|
+
<Breadcrumb>
|
|
17
|
+
<BreadcrumbList>
|
|
18
|
+
<template v-for="(breadcumb, index) in breadcrumbs" :key="index">
|
|
19
|
+
<BreadcrumbItem>
|
|
20
|
+
<BreadcrumbLink v-if="breadcumb.type === 'link'" as-child>
|
|
21
|
+
<NuxtLink :to="breadcumb.to"> {{ breadcumb.text }} </NuxtLink>
|
|
22
|
+
</BreadcrumbLink>
|
|
23
|
+
<BreadcrumbPage v-if="breadcumb.type === 'page'">
|
|
24
|
+
{{ breadcumb.text }}
|
|
25
|
+
</BreadcrumbPage>
|
|
26
|
+
</BreadcrumbItem>
|
|
27
|
+
<BreadcrumbSeparator
|
|
28
|
+
v-if="index < breadcrumbs.length - 1"
|
|
29
|
+
class="hidden md:block"
|
|
30
|
+
/>
|
|
31
|
+
</template>
|
|
32
|
+
</BreadcrumbList>
|
|
33
|
+
</Breadcrumb>
|
|
34
|
+
</template>
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { useColorMode } from "#imports";
|
|
3
|
+
import { Button } from "../ui/button";
|
|
4
|
+
import {
|
|
5
|
+
DropdownMenu,
|
|
6
|
+
DropdownMenuContent,
|
|
7
|
+
DropdownMenuItem,
|
|
8
|
+
DropdownMenuTrigger,
|
|
9
|
+
} from "../ui/dropdown-menu";
|
|
10
|
+
import {
|
|
11
|
+
Tooltip,
|
|
12
|
+
TooltipContent,
|
|
13
|
+
TooltipProvider,
|
|
14
|
+
TooltipTrigger,
|
|
15
|
+
} from "../ui/tooltip";
|
|
16
|
+
import { Check } from "lucide-vue-next";
|
|
17
|
+
|
|
18
|
+
const colorMode = useColorMode();
|
|
19
|
+
</script>
|
|
20
|
+
|
|
21
|
+
<template>
|
|
22
|
+
<TooltipProvider>
|
|
23
|
+
<Tooltip>
|
|
24
|
+
<TooltipTrigger>
|
|
25
|
+
<DropdownMenu>
|
|
26
|
+
<DropdownMenuTrigger as-child>
|
|
27
|
+
<Button variant="outline" size="icon">
|
|
28
|
+
<Icon
|
|
29
|
+
name="radix-icons:moon"
|
|
30
|
+
class="h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"
|
|
31
|
+
/>
|
|
32
|
+
<Icon
|
|
33
|
+
name="radix-icons:sun"
|
|
34
|
+
class="absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100"
|
|
35
|
+
/>
|
|
36
|
+
<span class="sr-only">Toggle theme</span>
|
|
37
|
+
</Button>
|
|
38
|
+
</DropdownMenuTrigger>
|
|
39
|
+
<DropdownMenuContent align="end">
|
|
40
|
+
<DropdownMenuItem @click="colorMode.preference = 'light'">
|
|
41
|
+
<Icon name="radix-icons:moon" />
|
|
42
|
+
Light
|
|
43
|
+
<Check v-if="colorMode.preference === 'light'" class="ml-auto" />
|
|
44
|
+
</DropdownMenuItem>
|
|
45
|
+
<DropdownMenuItem @click="colorMode.preference = 'dark'">
|
|
46
|
+
<Icon name="radix-icons:sun" />
|
|
47
|
+
Dark
|
|
48
|
+
<Check v-if="colorMode.preference === 'dark'" class="ml-auto" />
|
|
49
|
+
</DropdownMenuItem>
|
|
50
|
+
<DropdownMenuSeparator />
|
|
51
|
+
<DropdownMenuItem @click="colorMode.preference = 'system'">
|
|
52
|
+
<Icon name="radix-icons:desktop" />
|
|
53
|
+
System
|
|
54
|
+
<Check v-if="colorMode.preference === 'system'" class="ml-auto" />
|
|
55
|
+
</DropdownMenuItem>
|
|
56
|
+
</DropdownMenuContent>
|
|
57
|
+
</DropdownMenu>
|
|
58
|
+
</TooltipTrigger>
|
|
59
|
+
<TooltipContent>Theme</TooltipContent>
|
|
60
|
+
</Tooltip>
|
|
61
|
+
</TooltipProvider>
|
|
62
|
+
</template>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="h-screen w-full flex justify-center items-center">
|
|
3
|
+
<div role="status" class="flex justify-center">
|
|
4
|
+
<Loading />
|
|
5
|
+
<span class="sr-only">Cargando...</span>
|
|
6
|
+
</div>
|
|
7
|
+
</div>
|
|
8
|
+
</template>
|
|
9
|
+
|
|
10
|
+
<script setup lang="ts">
|
|
11
|
+
import Loading from "./Loading.vue";
|
|
12
|
+
</script>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="h-screen w-full flex justify-center items-center">
|
|
3
|
+
<div role="status" class="flex justify-center">
|
|
4
|
+
<Empty>
|
|
5
|
+
<EmptyHeader>
|
|
6
|
+
<EmptyTitle class="text-xl font-semibold text-foreground/90">
|
|
7
|
+
Iniciando sesión
|
|
8
|
+
</EmptyTitle>
|
|
9
|
+
<EmptyDescription class="text-muted-foreground">
|
|
10
|
+
Por favor, espere un momento...
|
|
11
|
+
</EmptyDescription>
|
|
12
|
+
</EmptyHeader>
|
|
13
|
+
<EmptyContent>
|
|
14
|
+
<Loading />
|
|
15
|
+
</EmptyContent>
|
|
16
|
+
</Empty>
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
</template>
|
|
20
|
+
|
|
21
|
+
<script setup lang="ts">
|
|
22
|
+
import {
|
|
23
|
+
Empty,
|
|
24
|
+
EmptyContent,
|
|
25
|
+
EmptyHeader,
|
|
26
|
+
EmptyTitle,
|
|
27
|
+
EmptyDescription,
|
|
28
|
+
} from "../ui/empty";
|
|
29
|
+
import Loading from "./Loading.vue";
|
|
30
|
+
</script>
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import type { AccordionContentProps } from "reka-ui"
|
|
3
|
-
import type { HTMLAttributes } from "vue"
|
|
4
|
-
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
-
import { AccordionContent } from "reka-ui"
|
|
6
|
-
import
|
|
2
|
+
import type { AccordionContentProps } from "reka-ui";
|
|
3
|
+
import type { HTMLAttributes } from "vue";
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
5
|
+
import { AccordionContent } from "reka-ui";
|
|
6
|
+
import cn from "../../../utils/cn";
|
|
7
7
|
|
|
8
|
-
const props = defineProps<
|
|
8
|
+
const props = defineProps<
|
|
9
|
+
AccordionContentProps & { class?: HTMLAttributes["class"] }
|
|
10
|
+
>();
|
|
9
11
|
|
|
10
|
-
const delegatedProps = reactiveOmit(props, "class")
|
|
12
|
+
const delegatedProps = reactiveOmit(props, "class");
|
|
11
13
|
</script>
|
|
12
14
|
|
|
13
15
|
<template>
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import type { AccordionItemProps } from "reka-ui"
|
|
3
|
-
import type { HTMLAttributes } from "vue"
|
|
4
|
-
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
-
import { AccordionItem, useForwardProps } from "reka-ui"
|
|
6
|
-
import
|
|
2
|
+
import type { AccordionItemProps } from "reka-ui";
|
|
3
|
+
import type { HTMLAttributes } from "vue";
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
5
|
+
import { AccordionItem, useForwardProps } from "reka-ui";
|
|
6
|
+
import cn from "../../../utils/cn";
|
|
7
7
|
|
|
8
|
-
const props = defineProps<
|
|
8
|
+
const props = defineProps<
|
|
9
|
+
AccordionItemProps & { class?: HTMLAttributes["class"] }
|
|
10
|
+
>();
|
|
9
11
|
|
|
10
|
-
const delegatedProps = reactiveOmit(props, "class")
|
|
12
|
+
const delegatedProps = reactiveOmit(props, "class");
|
|
11
13
|
|
|
12
|
-
const forwardedProps = useForwardProps(delegatedProps)
|
|
14
|
+
const forwardedProps = useForwardProps(delegatedProps);
|
|
13
15
|
</script>
|
|
14
16
|
|
|
15
17
|
<template>
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import type { AccordionTriggerProps } from "reka-ui"
|
|
3
|
-
import type { HTMLAttributes } from "vue"
|
|
4
|
-
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
-
import { ChevronDown } from "lucide-vue-next"
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
AccordionTrigger,
|
|
2
|
+
import type { AccordionTriggerProps } from "reka-ui";
|
|
3
|
+
import type { HTMLAttributes } from "vue";
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
5
|
+
import { ChevronDown } from "lucide-vue-next";
|
|
6
|
+
import { AccordionHeader, AccordionTrigger } from "reka-ui";
|
|
7
|
+
import cn from "../../../utils/cn";
|
|
9
8
|
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
const props = defineProps<
|
|
10
|
+
AccordionTriggerProps & { class?: HTMLAttributes["class"] }
|
|
11
|
+
>();
|
|
12
12
|
|
|
13
|
-
const
|
|
14
|
-
|
|
15
|
-
const delegatedProps = reactiveOmit(props, "class")
|
|
13
|
+
const delegatedProps = reactiveOmit(props, "class");
|
|
16
14
|
</script>
|
|
17
15
|
|
|
18
16
|
<template>
|
|
@@ -23,7 +21,7 @@ const delegatedProps = reactiveOmit(props, "class")
|
|
|
23
21
|
:class="
|
|
24
22
|
cn(
|
|
25
23
|
'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',
|
|
26
|
-
props.class
|
|
24
|
+
props.class
|
|
27
25
|
)
|
|
28
26
|
"
|
|
29
27
|
>
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import type { HTMLAttributes } from "vue"
|
|
3
|
-
import type { AlertVariants } from "."
|
|
4
|
-
import
|
|
5
|
-
import { alertVariants } from "."
|
|
2
|
+
import type { HTMLAttributes } from "vue";
|
|
3
|
+
import type { AlertVariants } from ".";
|
|
4
|
+
import cn from "../../../utils/cn";
|
|
5
|
+
import { alertVariants } from ".";
|
|
6
6
|
|
|
7
7
|
const props = defineProps<{
|
|
8
|
-
class?: HTMLAttributes["class"]
|
|
9
|
-
variant?: AlertVariants["variant"]
|
|
10
|
-
}>()
|
|
8
|
+
class?: HTMLAttributes["class"];
|
|
9
|
+
variant?: AlertVariants["variant"];
|
|
10
|
+
}>();
|
|
11
11
|
</script>
|
|
12
12
|
|
|
13
13
|
<template>
|
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import type { HTMLAttributes } from "vue"
|
|
3
|
-
import
|
|
2
|
+
import type { HTMLAttributes } from "vue";
|
|
3
|
+
import cn from "../../../utils/cn";
|
|
4
4
|
|
|
5
5
|
const props = defineProps<{
|
|
6
|
-
class?: HTMLAttributes["class"]
|
|
7
|
-
}>()
|
|
6
|
+
class?: HTMLAttributes["class"];
|
|
7
|
+
}>();
|
|
8
8
|
</script>
|
|
9
9
|
|
|
10
10
|
<template>
|
|
11
11
|
<div
|
|
12
12
|
data-slot="alert-description"
|
|
13
|
-
:class="
|
|
13
|
+
:class="
|
|
14
|
+
cn(
|
|
15
|
+
'text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed',
|
|
16
|
+
props.class
|
|
17
|
+
)
|
|
18
|
+
"
|
|
14
19
|
>
|
|
15
20
|
<slot />
|
|
16
21
|
</div>
|
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import type { HTMLAttributes } from "vue"
|
|
3
|
-
import
|
|
2
|
+
import type { HTMLAttributes } from "vue";
|
|
3
|
+
import cn from "../../../utils/cn";
|
|
4
4
|
|
|
5
5
|
const props = defineProps<{
|
|
6
|
-
class?: HTMLAttributes["class"]
|
|
7
|
-
}>()
|
|
6
|
+
class?: HTMLAttributes["class"];
|
|
7
|
+
}>();
|
|
8
8
|
</script>
|
|
9
9
|
|
|
10
10
|
<template>
|
|
11
11
|
<div
|
|
12
12
|
data-slot="alert-title"
|
|
13
|
-
:class="
|
|
13
|
+
:class="
|
|
14
|
+
cn(
|
|
15
|
+
'col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight',
|
|
16
|
+
props.class
|
|
17
|
+
)
|
|
18
|
+
"
|
|
14
19
|
>
|
|
15
20
|
<slot />
|
|
16
21
|
</div>
|
|
@@ -1,18 +1,23 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import type { AlertDialogActionProps } from "reka-ui"
|
|
3
|
-
import type { HTMLAttributes } from "vue"
|
|
4
|
-
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
-
import { AlertDialogAction } from "reka-ui"
|
|
6
|
-
import
|
|
7
|
-
import { buttonVariants } from
|
|
2
|
+
import type { AlertDialogActionProps } from "reka-ui";
|
|
3
|
+
import type { HTMLAttributes } from "vue";
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
5
|
+
import { AlertDialogAction } from "reka-ui";
|
|
6
|
+
import cn from "../../../utils/cn";
|
|
7
|
+
import { buttonVariants } from "../button";
|
|
8
8
|
|
|
9
|
-
const props = defineProps<
|
|
9
|
+
const props = defineProps<
|
|
10
|
+
AlertDialogActionProps & { class?: HTMLAttributes["class"] }
|
|
11
|
+
>();
|
|
10
12
|
|
|
11
|
-
const delegatedProps = reactiveOmit(props, "class")
|
|
13
|
+
const delegatedProps = reactiveOmit(props, "class");
|
|
12
14
|
</script>
|
|
13
15
|
|
|
14
16
|
<template>
|
|
15
|
-
<AlertDialogAction
|
|
17
|
+
<AlertDialogAction
|
|
18
|
+
v-bind="delegatedProps"
|
|
19
|
+
:class="cn(buttonVariants(), props.class)"
|
|
20
|
+
>
|
|
16
21
|
<slot />
|
|
17
22
|
</AlertDialogAction>
|
|
18
23
|
</template>
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import type { AlertDialogCancelProps } from "reka-ui"
|
|
3
|
-
import type { HTMLAttributes } from "vue"
|
|
4
|
-
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
-
import { AlertDialogCancel } from "reka-ui"
|
|
6
|
-
import
|
|
7
|
-
import { buttonVariants } from
|
|
2
|
+
import type { AlertDialogCancelProps } from "reka-ui";
|
|
3
|
+
import type { HTMLAttributes } from "vue";
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
5
|
+
import { AlertDialogCancel } from "reka-ui";
|
|
6
|
+
import cn from "../../../utils/cn";
|
|
7
|
+
import { buttonVariants } from "../button";
|
|
8
8
|
|
|
9
|
-
const props = defineProps<
|
|
9
|
+
const props = defineProps<
|
|
10
|
+
AlertDialogCancelProps & { class?: HTMLAttributes["class"] }
|
|
11
|
+
>();
|
|
10
12
|
|
|
11
|
-
const delegatedProps = reactiveOmit(props, "class")
|
|
13
|
+
const delegatedProps = reactiveOmit(props, "class");
|
|
12
14
|
</script>
|
|
13
15
|
|
|
14
16
|
<template>
|
|
15
17
|
<AlertDialogCancel
|
|
16
18
|
v-bind="delegatedProps"
|
|
17
|
-
:class="
|
|
18
|
-
buttonVariants({ variant: 'outline' }),
|
|
19
|
-
|
|
20
|
-
props.class,
|
|
21
|
-
)"
|
|
19
|
+
:class="
|
|
20
|
+
cn(buttonVariants({ variant: 'outline' }), 'mt-2 sm:mt-0', props.class)
|
|
21
|
+
"
|
|
22
22
|
>
|
|
23
23
|
<slot />
|
|
24
24
|
</AlertDialogCancel>
|
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import type { AlertDialogContentEmits, AlertDialogContentProps } from "reka-ui"
|
|
3
|
-
import type { HTMLAttributes } from "vue"
|
|
4
|
-
import { reactiveOmit } from "@vueuse/core"
|
|
2
|
+
import type { AlertDialogContentEmits, AlertDialogContentProps } from "reka-ui";
|
|
3
|
+
import type { HTMLAttributes } from "vue";
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
5
5
|
import {
|
|
6
6
|
AlertDialogContent,
|
|
7
|
-
|
|
8
7
|
AlertDialogOverlay,
|
|
9
8
|
AlertDialogPortal,
|
|
10
9
|
useForwardPropsEmits,
|
|
11
|
-
} from "reka-ui"
|
|
12
|
-
import
|
|
10
|
+
} from "reka-ui";
|
|
11
|
+
import cn from "../../../utils/cn";
|
|
13
12
|
|
|
14
|
-
const props = defineProps<
|
|
15
|
-
|
|
13
|
+
const props = defineProps<
|
|
14
|
+
AlertDialogContentProps & { class?: HTMLAttributes["class"] }
|
|
15
|
+
>();
|
|
16
|
+
const emits = defineEmits<AlertDialogContentEmits>();
|
|
16
17
|
|
|
17
|
-
const delegatedProps = reactiveOmit(props, "class")
|
|
18
|
+
const delegatedProps = reactiveOmit(props, "class");
|
|
18
19
|
|
|
19
|
-
const forwarded = useForwardPropsEmits(delegatedProps, emits)
|
|
20
|
+
const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
20
21
|
</script>
|
|
21
22
|
|
|
22
23
|
<template>
|
|
@@ -31,7 +32,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits)
|
|
|
31
32
|
:class="
|
|
32
33
|
cn(
|
|
33
34
|
'bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg',
|
|
34
|
-
props.class
|
|
35
|
+
props.class
|
|
35
36
|
)
|
|
36
37
|
"
|
|
37
38
|
>
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import type { AlertDialogDescriptionProps } from "reka-ui"
|
|
3
|
-
import type { HTMLAttributes } from "vue"
|
|
4
|
-
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
-
import {
|
|
6
|
-
|
|
2
|
+
import type { AlertDialogDescriptionProps } from "reka-ui";
|
|
3
|
+
import type { HTMLAttributes } from "vue";
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
5
|
+
import { AlertDialogDescription } from "reka-ui";
|
|
6
|
+
import cn from "../../../utils/cn";
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
const props = defineProps<
|
|
9
|
+
AlertDialogDescriptionProps & { class?: HTMLAttributes["class"] }
|
|
10
|
+
>();
|
|
10
11
|
|
|
11
|
-
const
|
|
12
|
-
|
|
13
|
-
const delegatedProps = reactiveOmit(props, "class")
|
|
12
|
+
const delegatedProps = reactiveOmit(props, "class");
|
|
14
13
|
</script>
|
|
15
14
|
|
|
16
15
|
<template>
|
|
@@ -1,20 +1,17 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import type { HTMLAttributes } from "vue"
|
|
3
|
-
import
|
|
2
|
+
import type { HTMLAttributes } from "vue";
|
|
3
|
+
import cn from "../../../utils/cn";
|
|
4
4
|
|
|
5
5
|
const props = defineProps<{
|
|
6
|
-
class?: HTMLAttributes["class"]
|
|
7
|
-
}>()
|
|
6
|
+
class?: HTMLAttributes["class"];
|
|
7
|
+
}>();
|
|
8
8
|
</script>
|
|
9
9
|
|
|
10
10
|
<template>
|
|
11
11
|
<div
|
|
12
12
|
data-slot="alert-dialog-footer"
|
|
13
13
|
:class="
|
|
14
|
-
cn(
|
|
15
|
-
'flex flex-col-reverse gap-2 sm:flex-row sm:justify-end',
|
|
16
|
-
props.class,
|
|
17
|
-
)
|
|
14
|
+
cn('flex flex-col-reverse gap-2 sm:flex-row sm:justify-end', props.class)
|
|
18
15
|
"
|
|
19
16
|
>
|
|
20
17
|
<slot />
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import type { HTMLAttributes } from "vue"
|
|
3
|
-
import
|
|
2
|
+
import type { HTMLAttributes } from "vue";
|
|
3
|
+
import cn from "../../../utils/cn";
|
|
4
4
|
|
|
5
5
|
const props = defineProps<{
|
|
6
|
-
class?: HTMLAttributes["class"]
|
|
7
|
-
}>()
|
|
6
|
+
class?: HTMLAttributes["class"];
|
|
7
|
+
}>();
|
|
8
8
|
</script>
|
|
9
9
|
|
|
10
10
|
<template>
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import type { AlertDialogTitleProps } from "reka-ui"
|
|
3
|
-
import type { HTMLAttributes } from "vue"
|
|
4
|
-
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
-
import { AlertDialogTitle } from "reka-ui"
|
|
6
|
-
import
|
|
2
|
+
import type { AlertDialogTitleProps } from "reka-ui";
|
|
3
|
+
import type { HTMLAttributes } from "vue";
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
5
|
+
import { AlertDialogTitle } from "reka-ui";
|
|
6
|
+
import cn from "../../../utils/cn";
|
|
7
7
|
|
|
8
|
-
const props = defineProps<
|
|
8
|
+
const props = defineProps<
|
|
9
|
+
AlertDialogTitleProps & { class?: HTMLAttributes["class"] }
|
|
10
|
+
>();
|
|
9
11
|
|
|
10
|
-
const delegatedProps = reactiveOmit(props, "class")
|
|
12
|
+
const delegatedProps = reactiveOmit(props, "class");
|
|
11
13
|
</script>
|
|
12
14
|
|
|
13
15
|
<template>
|