una-nuxt-module 2.1.26 → 2.1.28
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/accordion/Accordion.vue +19 -0
- package/.nuxt/templates/accordion/AccordionContent.vue +23 -0
- package/.nuxt/templates/accordion/AccordionItem.vue +23 -0
- package/.nuxt/templates/accordion/AccordionTrigger.vue +38 -0
- package/.nuxt/templates/accordion/index.ts +4 -0
- package/.nuxt/templates/alert/Alert.vue +21 -0
- package/.nuxt/templates/alert/AlertDescription.vue +17 -0
- package/.nuxt/templates/alert/AlertTitle.vue +17 -0
- package/.nuxt/templates/alert/index.ts +24 -0
- package/.nuxt/templates/alert-dialog/AlertDialog.vue +15 -0
- package/.nuxt/templates/alert-dialog/AlertDialogAction.vue +18 -0
- package/.nuxt/templates/alert-dialog/AlertDialogCancel.vue +25 -0
- package/.nuxt/templates/alert-dialog/AlertDialogContent.vue +41 -0
- package/.nuxt/templates/alert-dialog/AlertDialogDescription.vue +24 -0
- package/.nuxt/templates/alert-dialog/AlertDialogFooter.vue +22 -0
- package/.nuxt/templates/alert-dialog/AlertDialogHeader.vue +17 -0
- package/.nuxt/templates/alert-dialog/AlertDialogTitle.vue +21 -0
- package/.nuxt/templates/alert-dialog/AlertDialogTrigger.vue +12 -0
- package/.nuxt/templates/alert-dialog/index.ts +9 -0
- package/.nuxt/templates/aspect-ratio/AspectRatio.vue +15 -0
- package/.nuxt/templates/aspect-ratio/index.ts +1 -0
- package/.nuxt/templates/auto-form/AutoForm.vue +105 -0
- package/.nuxt/templates/auto-form/AutoFormField.vue +45 -0
- package/.nuxt/templates/auto-form/AutoFormFieldArray.vue +110 -0
- package/.nuxt/templates/auto-form/AutoFormFieldBoolean.vue +41 -0
- package/.nuxt/templates/auto-form/AutoFormFieldDate.vue +57 -0
- package/.nuxt/templates/auto-form/AutoFormFieldEnum.vue +49 -0
- package/.nuxt/templates/auto-form/AutoFormFieldFile.vue +74 -0
- package/.nuxt/templates/auto-form/AutoFormFieldInput.vue +36 -0
- package/.nuxt/templates/auto-form/AutoFormFieldNumber.vue +32 -0
- package/.nuxt/templates/auto-form/AutoFormFieldObject.vue +78 -0
- package/.nuxt/templates/auto-form/AutoFormLabel.vue +14 -0
- package/.nuxt/templates/auto-form/constant.ts +40 -0
- package/.nuxt/templates/auto-form/dependencies.ts +92 -0
- package/.nuxt/templates/auto-form/index.ts +15 -0
- package/.nuxt/templates/auto-form/interface.ts +95 -0
- package/.nuxt/templates/auto-form/utils.ts +188 -0
- package/.nuxt/templates/avatar/Avatar.vue +18 -0
- package/.nuxt/templates/avatar/AvatarFallback.vue +21 -0
- package/.nuxt/templates/avatar/AvatarImage.vue +16 -0
- package/.nuxt/templates/avatar/index.ts +3 -0
- package/.nuxt/templates/badge/Badge.vue +26 -0
- package/.nuxt/templates/badge/index.ts +26 -0
- package/.nuxt/templates/breadcrumb/Breadcrumb.vue +17 -0
- package/.nuxt/templates/breadcrumb/BreadcrumbEllipsis.vue +23 -0
- package/.nuxt/templates/breadcrumb/BreadcrumbItem.vue +17 -0
- package/.nuxt/templates/breadcrumb/BreadcrumbLink.vue +21 -0
- package/.nuxt/templates/breadcrumb/BreadcrumbList.vue +17 -0
- package/.nuxt/templates/breadcrumb/BreadcrumbPage.vue +20 -0
- package/.nuxt/templates/breadcrumb/BreadcrumbSeparator.vue +22 -0
- package/.nuxt/templates/breadcrumb/index.ts +7 -0
- package/.nuxt/templates/button/Button.vue +29 -0
- package/.nuxt/templates/button/index.ts +39 -0
- package/.nuxt/templates/button-group/ButtonGroup.vue +22 -0
- package/.nuxt/templates/button-group/ButtonGroupSeparator.vue +24 -0
- package/.nuxt/templates/button-group/ButtonGroupText.vue +29 -0
- package/.nuxt/templates/button-group/index.ts +25 -0
- package/.nuxt/templates/calendar/Calendar.vue +61 -0
- package/.nuxt/templates/calendar/CalendarCell.vue +23 -0
- package/.nuxt/templates/calendar/CalendarCellTrigger.vue +39 -0
- package/.nuxt/templates/calendar/CalendarGrid.vue +23 -0
- package/.nuxt/templates/calendar/CalendarGridBody.vue +15 -0
- package/.nuxt/templates/calendar/CalendarGridHead.vue +16 -0
- package/.nuxt/templates/calendar/CalendarGridRow.vue +22 -0
- package/.nuxt/templates/calendar/CalendarHeadCell.vue +23 -0
- package/.nuxt/templates/calendar/CalendarHeader.vue +23 -0
- package/.nuxt/templates/calendar/CalendarHeading.vue +30 -0
- package/.nuxt/templates/calendar/CalendarNextButton.vue +32 -0
- package/.nuxt/templates/calendar/CalendarPrevButton.vue +32 -0
- package/.nuxt/templates/calendar/index.ts +12 -0
- package/.nuxt/templates/card/Card.vue +22 -0
- package/.nuxt/templates/card/CardAction.vue +17 -0
- package/.nuxt/templates/card/CardContent.vue +17 -0
- package/.nuxt/templates/card/CardDescription.vue +17 -0
- package/.nuxt/templates/card/CardFooter.vue +17 -0
- package/.nuxt/templates/card/CardHeader.vue +17 -0
- package/.nuxt/templates/card/CardTitle.vue +17 -0
- package/.nuxt/templates/card/index.ts +7 -0
- package/.nuxt/templates/carousel/Carousel.vue +53 -0
- package/.nuxt/templates/carousel/CarouselContent.vue +33 -0
- package/.nuxt/templates/carousel/CarouselItem.vue +24 -0
- package/.nuxt/templates/carousel/CarouselNext.vue +41 -0
- package/.nuxt/templates/carousel/CarouselPrevious.vue +41 -0
- package/.nuxt/templates/carousel/index.ts +10 -0
- package/.nuxt/templates/carousel/interface.ts +26 -0
- package/.nuxt/templates/carousel/useCarousel.ts +56 -0
- package/.nuxt/templates/chart/ChartCrosshair.vue +45 -0
- package/.nuxt/templates/chart/ChartLegend.vue +60 -0
- package/.nuxt/templates/chart/ChartSingleTooltip.vue +63 -0
- package/.nuxt/templates/chart/ChartTooltip.vue +40 -0
- package/.nuxt/templates/chart/index.ts +18 -0
- package/.nuxt/templates/chart/interface.ts +64 -0
- package/.nuxt/templates/chart-area/AreaChart.vue +141 -0
- package/.nuxt/templates/chart-area/index.ts +66 -0
- package/.nuxt/templates/chart-bar/BarChart.vue +116 -0
- package/.nuxt/templates/chart-bar/index.ts +66 -0
- package/.nuxt/templates/chart-donut/DonutChart.vue +101 -0
- package/.nuxt/templates/chart-donut/index.ts +39 -0
- package/.nuxt/templates/chart-line/LineChart.vue +107 -0
- package/.nuxt/templates/chart-line/index.ts +66 -0
- package/.nuxt/templates/checkbox/Checkbox.vue +34 -0
- package/.nuxt/templates/checkbox/index.ts +1 -0
- package/.nuxt/templates/collapsible/Collapsible.vue +19 -0
- package/.nuxt/templates/collapsible/CollapsibleContent.vue +15 -0
- package/.nuxt/templates/collapsible/CollapsibleTrigger.vue +15 -0
- package/.nuxt/templates/collapsible/index.ts +3 -0
- package/.nuxt/templates/combobox/Combobox.vue +18 -0
- package/.nuxt/templates/combobox/ComboboxAnchor.vue +23 -0
- package/.nuxt/templates/combobox/ComboboxEmpty.vue +21 -0
- package/.nuxt/templates/combobox/ComboboxGroup.vue +27 -0
- package/.nuxt/templates/combobox/ComboboxInput.vue +42 -0
- package/.nuxt/templates/combobox/ComboboxItem.vue +24 -0
- package/.nuxt/templates/combobox/ComboboxItemIndicator.vue +23 -0
- package/.nuxt/templates/combobox/ComboboxList.vue +29 -0
- package/.nuxt/templates/combobox/ComboboxSeparator.vue +21 -0
- package/.nuxt/templates/combobox/ComboboxTrigger.vue +24 -0
- package/.nuxt/templates/combobox/ComboboxViewport.vue +23 -0
- package/.nuxt/templates/combobox/index.ts +12 -0
- package/.nuxt/templates/command/Command.vue +87 -0
- package/.nuxt/templates/command/CommandDialog.vue +31 -0
- package/.nuxt/templates/command/CommandEmpty.vue +27 -0
- package/.nuxt/templates/command/CommandGroup.vue +45 -0
- package/.nuxt/templates/command/CommandInput.vue +39 -0
- package/.nuxt/templates/command/CommandItem.vue +76 -0
- package/.nuxt/templates/command/CommandList.vue +25 -0
- package/.nuxt/templates/command/CommandSeparator.vue +21 -0
- package/.nuxt/templates/command/CommandShortcut.vue +17 -0
- package/.nuxt/templates/command/index.ts +25 -0
- package/.nuxt/templates/context-menu/ContextMenu.vue +18 -0
- package/.nuxt/templates/context-menu/ContextMenuCheckboxItem.vue +38 -0
- package/.nuxt/templates/context-menu/ContextMenuContent.vue +34 -0
- package/.nuxt/templates/context-menu/ContextMenuGroup.vue +15 -0
- package/.nuxt/templates/context-menu/ContextMenuItem.vue +39 -0
- package/.nuxt/templates/context-menu/ContextMenuLabel.vue +22 -0
- package/.nuxt/templates/context-menu/ContextMenuPortal.vue +15 -0
- package/.nuxt/templates/context-menu/ContextMenuRadioGroup.vue +22 -0
- package/.nuxt/templates/context-menu/ContextMenuRadioItem.vue +38 -0
- package/.nuxt/templates/context-menu/ContextMenuSeparator.vue +22 -0
- package/.nuxt/templates/context-menu/ContextMenuShortcut.vue +17 -0
- package/.nuxt/templates/context-menu/ContextMenuSub.vue +22 -0
- package/.nuxt/templates/context-menu/ContextMenuSubContent.vue +33 -0
- package/.nuxt/templates/context-menu/ContextMenuSubTrigger.vue +33 -0
- package/.nuxt/templates/context-menu/ContextMenuTrigger.vue +17 -0
- package/.nuxt/templates/context-menu/index.ts +14 -0
- package/.nuxt/templates/dialog/Dialog.vue +18 -0
- package/.nuxt/templates/dialog/DialogClose.vue +15 -0
- package/.nuxt/templates/dialog/DialogContent.vue +46 -0
- package/.nuxt/templates/dialog/DialogDescription.vue +23 -0
- package/.nuxt/templates/dialog/DialogFooter.vue +15 -0
- package/.nuxt/templates/dialog/DialogHeader.vue +17 -0
- package/.nuxt/templates/dialog/DialogOverlay.vue +21 -0
- package/.nuxt/templates/dialog/DialogScrollContent.vue +56 -0
- package/.nuxt/templates/dialog/DialogTitle.vue +23 -0
- package/.nuxt/templates/dialog/DialogTrigger.vue +15 -0
- package/.nuxt/templates/dialog/index.ts +10 -0
- package/.nuxt/templates/drawer/Drawer.vue +22 -0
- package/.nuxt/templates/drawer/DrawerClose.vue +15 -0
- package/.nuxt/templates/drawer/DrawerContent.vue +34 -0
- package/.nuxt/templates/drawer/DrawerDescription.vue +21 -0
- package/.nuxt/templates/drawer/DrawerFooter.vue +17 -0
- package/.nuxt/templates/drawer/DrawerHeader.vue +17 -0
- package/.nuxt/templates/drawer/DrawerOverlay.vue +19 -0
- package/.nuxt/templates/drawer/DrawerTitle.vue +21 -0
- package/.nuxt/templates/drawer/DrawerTrigger.vue +15 -0
- package/.nuxt/templates/drawer/index.ts +9 -0
- package/.nuxt/templates/dropdown-menu/DropdownMenu.vue +18 -0
- package/.nuxt/templates/dropdown-menu/DropdownMenuCheckboxItem.vue +38 -0
- package/.nuxt/templates/dropdown-menu/DropdownMenuContent.vue +36 -0
- package/.nuxt/templates/dropdown-menu/DropdownMenuGroup.vue +15 -0
- package/.nuxt/templates/dropdown-menu/DropdownMenuItem.vue +31 -0
- package/.nuxt/templates/dropdown-menu/DropdownMenuLabel.vue +23 -0
- package/.nuxt/templates/dropdown-menu/DropdownMenuRadioGroup.vue +22 -0
- package/.nuxt/templates/dropdown-menu/DropdownMenuRadioItem.vue +39 -0
- package/.nuxt/templates/dropdown-menu/DropdownMenuSeparator.vue +24 -0
- package/.nuxt/templates/dropdown-menu/DropdownMenuShortcut.vue +17 -0
- package/.nuxt/templates/dropdown-menu/DropdownMenuSub.vue +19 -0
- package/.nuxt/templates/dropdown-menu/DropdownMenuSubContent.vue +28 -0
- package/.nuxt/templates/dropdown-menu/DropdownMenuSubTrigger.vue +31 -0
- package/.nuxt/templates/dropdown-menu/DropdownMenuTrigger.vue +17 -0
- package/.nuxt/templates/dropdown-menu/index.ts +16 -0
- package/.nuxt/templates/empty/Empty.vue +20 -0
- package/.nuxt/templates/empty/EmptyContent.vue +20 -0
- package/.nuxt/templates/empty/EmptyDescription.vue +20 -0
- package/.nuxt/templates/empty/EmptyHeader.vue +20 -0
- package/.nuxt/templates/empty/EmptyMedia.vue +21 -0
- package/.nuxt/templates/empty/EmptyTitle.vue +21 -0
- package/.nuxt/templates/empty/index.ts +26 -0
- package/.nuxt/templates/field/Field.vue +25 -0
- package/.nuxt/templates/field/FieldContent.vue +20 -0
- package/.nuxt/templates/field/FieldDescription.vue +22 -0
- package/.nuxt/templates/field/FieldError.vue +44 -0
- package/.nuxt/templates/field/FieldGroup.vue +20 -0
- package/.nuxt/templates/field/FieldLabel.vue +23 -0
- package/.nuxt/templates/field/FieldLegend.vue +24 -0
- package/.nuxt/templates/field/FieldSeparator.vue +29 -0
- package/.nuxt/templates/field/FieldSet.vue +21 -0
- package/.nuxt/templates/field/FieldTitle.vue +20 -0
- package/.nuxt/templates/field/index.ts +39 -0
- package/.nuxt/templates/form/FormControl.vue +17 -0
- package/.nuxt/templates/form/FormDescription.vue +21 -0
- package/.nuxt/templates/form/FormItem.vue +23 -0
- package/.nuxt/templates/form/FormLabel.vue +25 -0
- package/.nuxt/templates/form/FormMessage.vue +23 -0
- package/.nuxt/templates/form/index.ts +7 -0
- package/.nuxt/templates/form/injectionKeys.ts +4 -0
- package/.nuxt/templates/form/useFormField.ts +30 -0
- package/.nuxt/templates/hover-card/HoverCard.vue +18 -0
- package/.nuxt/templates/hover-card/HoverCardContent.vue +40 -0
- package/.nuxt/templates/hover-card/HoverCardTrigger.vue +15 -0
- package/.nuxt/templates/hover-card/index.ts +3 -0
- package/.nuxt/templates/input/Input.vue +33 -0
- package/.nuxt/templates/input/index.ts +1 -0
- package/.nuxt/templates/input-group/InputGroup.vue +35 -0
- package/.nuxt/templates/input-group/InputGroupAddon.vue +36 -0
- package/.nuxt/templates/input-group/InputGroupButton.vue +21 -0
- package/.nuxt/templates/input-group/InputGroupInput.vue +19 -0
- package/.nuxt/templates/input-group/InputGroupText.vue +19 -0
- package/.nuxt/templates/input-group/InputGroupTextarea.vue +19 -0
- package/.nuxt/templates/input-group/index.ts +59 -0
- package/.nuxt/templates/item/Item.vue +27 -0
- package/.nuxt/templates/item/ItemActions.vue +17 -0
- package/.nuxt/templates/item/ItemContent.vue +17 -0
- package/.nuxt/templates/item/ItemDescription.vue +21 -0
- package/.nuxt/templates/item/ItemFooter.vue +17 -0
- package/.nuxt/templates/item/ItemGroup.vue +18 -0
- package/.nuxt/templates/item/ItemHeader.vue +17 -0
- package/.nuxt/templates/item/ItemMedia.vue +21 -0
- package/.nuxt/templates/item/ItemSeparator.vue +18 -0
- package/.nuxt/templates/item/ItemTitle.vue +17 -0
- package/.nuxt/templates/item/index.ts +54 -0
- package/.nuxt/templates/kbd/Kbd.vue +21 -0
- package/.nuxt/templates/kbd/KbdGroup.vue +17 -0
- package/.nuxt/templates/kbd/index.ts +2 -0
- package/.nuxt/templates/label/Label.vue +26 -0
- package/.nuxt/templates/label/index.ts +1 -0
- package/.nuxt/templates/menubar/Menubar.vue +33 -0
- package/.nuxt/templates/menubar/MenubarCheckboxItem.vue +38 -0
- package/.nuxt/templates/menubar/MenubarContent.vue +42 -0
- package/.nuxt/templates/menubar/MenubarGroup.vue +15 -0
- package/.nuxt/templates/menubar/MenubarItem.vue +37 -0
- package/.nuxt/templates/menubar/MenubarLabel.vue +20 -0
- package/.nuxt/templates/menubar/MenubarMenu.vue +15 -0
- package/.nuxt/templates/menubar/MenubarRadioGroup.vue +22 -0
- package/.nuxt/templates/menubar/MenubarRadioItem.vue +38 -0
- package/.nuxt/templates/menubar/MenubarSeparator.vue +21 -0
- package/.nuxt/templates/menubar/MenubarShortcut.vue +17 -0
- package/.nuxt/templates/menubar/MenubarSub.vue +23 -0
- package/.nuxt/templates/menubar/MenubarSubContent.vue +36 -0
- package/.nuxt/templates/menubar/MenubarSubTrigger.vue +28 -0
- package/.nuxt/templates/menubar/MenubarTrigger.vue +28 -0
- package/.nuxt/templates/menubar/index.ts +15 -0
- package/.nuxt/templates/navigation-menu/NavigationMenu.vue +35 -0
- package/.nuxt/templates/navigation-menu/NavigationMenuContent.vue +32 -0
- package/.nuxt/templates/navigation-menu/NavigationMenuIndicator.vue +23 -0
- package/.nuxt/templates/navigation-menu/NavigationMenuItem.vue +21 -0
- package/.nuxt/templates/navigation-menu/NavigationMenuLink.vue +27 -0
- package/.nuxt/templates/navigation-menu/NavigationMenuList.vue +28 -0
- package/.nuxt/templates/navigation-menu/NavigationMenuTrigger.vue +33 -0
- package/.nuxt/templates/navigation-menu/NavigationMenuViewport.vue +32 -0
- package/.nuxt/templates/navigation-menu/index.ts +14 -0
- package/.nuxt/templates/number-field/NumberField.vue +20 -0
- package/.nuxt/templates/number-field/NumberFieldContent.vue +14 -0
- package/.nuxt/templates/number-field/NumberFieldDecrement.vue +22 -0
- package/.nuxt/templates/number-field/NumberFieldIncrement.vue +22 -0
- package/.nuxt/templates/number-field/NumberFieldInput.vue +16 -0
- package/.nuxt/templates/number-field/index.ts +5 -0
- package/.nuxt/templates/pagination/Pagination.vue +26 -0
- package/.nuxt/templates/pagination/PaginationContent.vue +22 -0
- package/.nuxt/templates/pagination/PaginationEllipsis.vue +25 -0
- package/.nuxt/templates/pagination/PaginationFirst.vue +33 -0
- package/.nuxt/templates/pagination/PaginationItem.vue +34 -0
- package/.nuxt/templates/pagination/PaginationLast.vue +33 -0
- package/.nuxt/templates/pagination/PaginationNext.vue +33 -0
- package/.nuxt/templates/pagination/PaginationPrevious.vue +33 -0
- package/.nuxt/templates/pagination/index.ts +8 -0
- package/.nuxt/templates/pin-input/PinInput.vue +25 -0
- package/.nuxt/templates/pin-input/PinInputGroup.vue +21 -0
- package/.nuxt/templates/pin-input/PinInputSeparator.vue +19 -0
- package/.nuxt/templates/pin-input/PinInputSlot.vue +21 -0
- package/.nuxt/templates/pin-input/index.ts +4 -0
- package/.nuxt/templates/popover/Popover.vue +18 -0
- package/.nuxt/templates/popover/PopoverAnchor.vue +15 -0
- package/.nuxt/templates/popover/PopoverContent.vue +46 -0
- package/.nuxt/templates/popover/PopoverTrigger.vue +15 -0
- package/.nuxt/templates/popover/index.ts +4 -0
- package/.nuxt/templates/progress/Progress.vue +39 -0
- package/.nuxt/templates/progress/index.ts +1 -0
- package/.nuxt/templates/radio-group/RadioGroup.vue +24 -0
- package/.nuxt/templates/radio-group/RadioGroupItem.vue +39 -0
- package/.nuxt/templates/radio-group/index.ts +2 -0
- package/.nuxt/templates/range-calendar/RangeCalendar.vue +62 -0
- package/.nuxt/templates/range-calendar/RangeCalendarCell.vue +23 -0
- package/.nuxt/templates/range-calendar/RangeCalendarCellTrigger.vue +41 -0
- package/.nuxt/templates/range-calendar/RangeCalendarGrid.vue +23 -0
- package/.nuxt/templates/range-calendar/RangeCalendarGridBody.vue +15 -0
- package/.nuxt/templates/range-calendar/RangeCalendarGridHead.vue +15 -0
- package/.nuxt/templates/range-calendar/RangeCalendarGridRow.vue +22 -0
- package/.nuxt/templates/range-calendar/RangeCalendarHeadCell.vue +23 -0
- package/.nuxt/templates/range-calendar/RangeCalendarHeader.vue +23 -0
- package/.nuxt/templates/range-calendar/RangeCalendarHeading.vue +30 -0
- package/.nuxt/templates/range-calendar/RangeCalendarNextButton.vue +32 -0
- package/.nuxt/templates/range-calendar/RangeCalendarPrevButton.vue +32 -0
- package/.nuxt/templates/range-calendar/index.ts +12 -0
- package/.nuxt/templates/resizable/ResizableHandle.vue +28 -0
- package/.nuxt/templates/resizable/ResizablePanel.vue +18 -0
- package/.nuxt/templates/resizable/ResizablePanelGroup.vue +24 -0
- package/.nuxt/templates/resizable/index.ts +3 -0
- package/.nuxt/templates/scroll-area/ScrollArea.vue +34 -0
- package/.nuxt/templates/scroll-area/ScrollBar.vue +32 -0
- package/.nuxt/templates/scroll-area/index.ts +2 -0
- package/.nuxt/templates/select/Select.vue +18 -0
- package/.nuxt/templates/select/SelectContent.vue +52 -0
- package/.nuxt/templates/select/SelectGroup.vue +15 -0
- package/.nuxt/templates/select/SelectItem.vue +43 -0
- package/.nuxt/templates/select/SelectItemText.vue +15 -0
- package/.nuxt/templates/select/SelectLabel.vue +17 -0
- package/.nuxt/templates/select/SelectScrollDownButton.vue +26 -0
- package/.nuxt/templates/select/SelectScrollUpButton.vue +26 -0
- package/.nuxt/templates/select/SelectSeparator.vue +19 -0
- package/.nuxt/templates/select/SelectTrigger.vue +33 -0
- package/.nuxt/templates/select/SelectValue.vue +15 -0
- package/.nuxt/templates/select/index.ts +11 -0
- package/.nuxt/templates/separator/Separator.vue +29 -0
- package/.nuxt/templates/separator/index.ts +1 -0
- package/.nuxt/templates/sheet/Sheet.vue +18 -0
- package/.nuxt/templates/sheet/SheetClose.vue +15 -0
- package/.nuxt/templates/sheet/SheetContent.vue +63 -0
- package/.nuxt/templates/sheet/SheetDescription.vue +21 -0
- package/.nuxt/templates/sheet/SheetFooter.vue +16 -0
- package/.nuxt/templates/sheet/SheetHeader.vue +15 -0
- package/.nuxt/templates/sheet/SheetOverlay.vue +21 -0
- package/.nuxt/templates/sheet/SheetTitle.vue +21 -0
- package/.nuxt/templates/sheet/SheetTrigger.vue +15 -0
- package/.nuxt/templates/sheet/index.ts +8 -0
- package/.nuxt/templates/sidebar/Sidebar.vue +96 -0
- package/.nuxt/templates/sidebar/SidebarContent.vue +18 -0
- package/.nuxt/templates/sidebar/SidebarFooter.vue +18 -0
- package/.nuxt/templates/sidebar/SidebarGroup.vue +18 -0
- package/.nuxt/templates/sidebar/SidebarGroupAction.vue +27 -0
- package/.nuxt/templates/sidebar/SidebarGroupContent.vue +18 -0
- package/.nuxt/templates/sidebar/SidebarGroupLabel.vue +25 -0
- package/.nuxt/templates/sidebar/SidebarHeader.vue +18 -0
- package/.nuxt/templates/sidebar/SidebarInput.vue +22 -0
- package/.nuxt/templates/sidebar/SidebarInset.vue +21 -0
- package/.nuxt/templates/sidebar/SidebarMenu.vue +18 -0
- package/.nuxt/templates/sidebar/SidebarMenuAction.vue +35 -0
- package/.nuxt/templates/sidebar/SidebarMenuBadge.vue +26 -0
- package/.nuxt/templates/sidebar/SidebarMenuButton.vue +48 -0
- package/.nuxt/templates/sidebar/SidebarMenuButtonChild.vue +36 -0
- package/.nuxt/templates/sidebar/SidebarMenuItem.vue +18 -0
- package/.nuxt/templates/sidebar/SidebarMenuSkeleton.vue +35 -0
- package/.nuxt/templates/sidebar/SidebarMenuSub.vue +22 -0
- package/.nuxt/templates/sidebar/SidebarMenuSubButton.vue +36 -0
- package/.nuxt/templates/sidebar/SidebarMenuSubItem.vue +18 -0
- package/.nuxt/templates/sidebar/SidebarProvider.vue +82 -0
- package/.nuxt/templates/sidebar/SidebarRail.vue +33 -0
- package/.nuxt/templates/sidebar/SidebarSeparator.vue +19 -0
- package/.nuxt/templates/sidebar/SidebarTrigger.vue +27 -0
- package/.nuxt/templates/sidebar/index.ts +60 -0
- package/.nuxt/templates/sidebar/utils.ts +19 -0
- package/.nuxt/templates/skeleton/Skeleton.vue +17 -0
- package/.nuxt/templates/skeleton/index.ts +1 -0
- package/.nuxt/templates/slider/Slider.vue +43 -0
- package/.nuxt/templates/slider/index.ts +1 -0
- package/.nuxt/templates/sonner/Sonner.vue +19 -0
- package/.nuxt/templates/sonner/index.ts +1 -0
- package/.nuxt/templates/spinner/Spinner.vue +17 -0
- package/.nuxt/templates/spinner/index.ts +1 -0
- package/.nuxt/templates/stepper/Stepper.vue +27 -0
- package/.nuxt/templates/stepper/StepperDescription.vue +19 -0
- package/.nuxt/templates/stepper/StepperIndicator.vue +32 -0
- package/.nuxt/templates/stepper/StepperItem.vue +23 -0
- package/.nuxt/templates/stepper/StepperSeparator.vue +27 -0
- package/.nuxt/templates/stepper/StepperTitle.vue +19 -0
- package/.nuxt/templates/stepper/StepperTrigger.vue +22 -0
- package/.nuxt/templates/stepper/index.ts +7 -0
- package/.nuxt/templates/switch/Switch.vue +38 -0
- package/.nuxt/templates/switch/index.ts +1 -0
- package/.nuxt/templates/table/Table.vue +16 -0
- package/.nuxt/templates/table/TableBody.vue +17 -0
- package/.nuxt/templates/table/TableCaption.vue +17 -0
- package/.nuxt/templates/table/TableCell.vue +22 -0
- package/.nuxt/templates/table/TableEmpty.vue +34 -0
- package/.nuxt/templates/table/TableFooter.vue +17 -0
- package/.nuxt/templates/table/TableHead.vue +17 -0
- package/.nuxt/templates/table/TableHeader.vue +17 -0
- package/.nuxt/templates/table/TableRow.vue +17 -0
- package/.nuxt/templates/table/index.ts +9 -0
- package/.nuxt/templates/table/utils.ts +10 -0
- package/.nuxt/templates/tabs/Tabs.vue +23 -0
- package/.nuxt/templates/tabs/TabsContent.vue +21 -0
- package/.nuxt/templates/tabs/TabsList.vue +24 -0
- package/.nuxt/templates/tabs/TabsTrigger.vue +26 -0
- package/.nuxt/templates/tabs/index.ts +4 -0
- package/.nuxt/templates/tags-input/TagsInput.vue +20 -0
- package/.nuxt/templates/tags-input/TagsInputInput.vue +17 -0
- package/.nuxt/templates/tags-input/TagsInputItem.vue +20 -0
- package/.nuxt/templates/tags-input/TagsInputItemDelete.vue +22 -0
- package/.nuxt/templates/tags-input/TagsInputItemText.vue +17 -0
- package/.nuxt/templates/tags-input/index.ts +5 -0
- package/.nuxt/templates/textarea/Textarea.vue +28 -0
- package/.nuxt/templates/textarea/index.ts +1 -0
- package/.nuxt/templates/toggle/Toggle.vue +35 -0
- package/.nuxt/templates/toggle/index.ts +28 -0
- package/.nuxt/templates/toggle-group/ToggleGroup.vue +40 -0
- package/.nuxt/templates/toggle-group/ToggleGroupItem.vue +42 -0
- package/.nuxt/templates/toggle-group/index.ts +2 -0
- package/.nuxt/templates/tooltip/Tooltip.vue +18 -0
- package/.nuxt/templates/tooltip/TooltipContent.vue +34 -0
- package/.nuxt/templates/tooltip/TooltipProvider.vue +14 -0
- package/.nuxt/templates/tooltip/TooltipTrigger.vue +15 -0
- package/.nuxt/templates/tooltip/index.ts +4 -0
- package/.nuxt/templates.css +3 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/ui/accordion/Accordion.d.vue.ts +1 -1
- package/dist/runtime/components/ui/accordion/Accordion.vue.d.ts +1 -1
- package/dist/runtime/components/ui/accordion/AccordionContent.d.vue.ts +1 -1
- package/dist/runtime/components/ui/accordion/AccordionContent.vue.d.ts +1 -1
- package/dist/runtime/components/ui/accordion/AccordionItem.d.vue.ts +1 -1
- package/dist/runtime/components/ui/accordion/AccordionItem.vue +1 -4
- package/dist/runtime/components/ui/accordion/AccordionItem.vue.d.ts +1 -1
- package/dist/runtime/components/ui/accordion/AccordionTrigger.d.vue.ts +1 -1
- package/dist/runtime/components/ui/accordion/AccordionTrigger.vue +1 -4
- package/dist/runtime/components/ui/accordion/AccordionTrigger.vue.d.ts +1 -1
- package/dist/runtime/components/ui/accordion/index.d.ts +4 -4
- package/dist/runtime/components/ui/alert/Alert.d.vue.ts +1 -1
- package/dist/runtime/components/ui/alert/Alert.vue.d.ts +1 -1
- package/dist/runtime/components/ui/alert/index.d.ts +4 -4
- package/dist/runtime/components/ui/alert-dialog/AlertDialog.d.vue.ts +1 -1
- package/dist/runtime/components/ui/alert-dialog/AlertDialog.vue.d.ts +1 -1
- package/dist/runtime/components/ui/alert-dialog/AlertDialogAction.d.vue.ts +1 -1
- package/dist/runtime/components/ui/alert-dialog/AlertDialogAction.vue +1 -1
- package/dist/runtime/components/ui/alert-dialog/AlertDialogAction.vue.d.ts +1 -1
- package/dist/runtime/components/ui/alert-dialog/AlertDialogCancel.d.vue.ts +1 -1
- package/dist/runtime/components/ui/alert-dialog/AlertDialogCancel.vue +1 -1
- package/dist/runtime/components/ui/alert-dialog/AlertDialogCancel.vue.d.ts +1 -1
- package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.d.vue.ts +1 -1
- package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.vue.d.ts +1 -1
- package/dist/runtime/components/ui/alert-dialog/AlertDialogDescription.d.vue.ts +1 -1
- package/dist/runtime/components/ui/alert-dialog/AlertDialogDescription.vue +1 -3
- package/dist/runtime/components/ui/alert-dialog/AlertDialogDescription.vue.d.ts +1 -1
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTitle.d.vue.ts +1 -1
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTitle.vue.d.ts +1 -1
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTrigger.d.vue.ts +1 -1
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTrigger.vue.d.ts +1 -1
- package/dist/runtime/components/ui/alert-dialog/index.d.ts +9 -9
- package/dist/runtime/components/ui/aspect-ratio/AspectRatio.d.vue.ts +1 -1
- package/dist/runtime/components/ui/aspect-ratio/AspectRatio.vue.d.ts +1 -1
- package/dist/runtime/components/ui/aspect-ratio/index.d.ts +1 -1
- package/dist/runtime/components/ui/auto-form/AutoForm.d.vue.ts +4 -4
- package/dist/runtime/components/ui/auto-form/AutoForm.vue +6 -8
- package/dist/runtime/components/ui/auto-form/AutoForm.vue.d.ts +4 -4
- package/dist/runtime/components/ui/auto-form/AutoFormFieldArray.vue +8 -21
- package/dist/runtime/components/ui/auto-form/AutoFormFieldBoolean.d.vue.ts +1 -1
- package/dist/runtime/components/ui/auto-form/AutoFormFieldBoolean.vue +6 -18
- package/dist/runtime/components/ui/auto-form/AutoFormFieldBoolean.vue.d.ts +1 -1
- package/dist/runtime/components/ui/auto-form/AutoFormFieldDate.vue +8 -4
- package/dist/runtime/components/ui/auto-form/AutoFormFieldEnum.d.vue.ts +1 -1
- package/dist/runtime/components/ui/auto-form/AutoFormFieldEnum.vue +9 -44
- package/dist/runtime/components/ui/auto-form/AutoFormFieldEnum.vue.d.ts +1 -1
- package/dist/runtime/components/ui/auto-form/AutoFormFieldFile.d.vue.ts +1 -1
- package/dist/runtime/components/ui/auto-form/AutoFormFieldFile.vue +14 -27
- package/dist/runtime/components/ui/auto-form/AutoFormFieldFile.vue.d.ts +1 -1
- package/dist/runtime/components/ui/auto-form/AutoFormFieldInput.d.vue.ts +1 -1
- package/dist/runtime/components/ui/auto-form/AutoFormFieldInput.vue +4 -12
- package/dist/runtime/components/ui/auto-form/AutoFormFieldInput.vue.d.ts +1 -1
- package/dist/runtime/components/ui/auto-form/AutoFormFieldNumber.d.vue.ts +1 -1
- package/dist/runtime/components/ui/auto-form/AutoFormFieldNumber.vue +3 -13
- package/dist/runtime/components/ui/auto-form/AutoFormFieldNumber.vue.d.ts +1 -1
- package/dist/runtime/components/ui/auto-form/AutoFormFieldObject.vue +8 -22
- package/dist/runtime/components/ui/auto-form/AutoFormLabel.vue +1 -1
- package/dist/runtime/components/ui/avatar/AvatarFallback.d.vue.ts +1 -1
- package/dist/runtime/components/ui/avatar/AvatarFallback.vue.d.ts +1 -1
- package/dist/runtime/components/ui/avatar/AvatarImage.d.vue.ts +1 -1
- package/dist/runtime/components/ui/avatar/AvatarImage.vue.d.ts +1 -1
- package/dist/runtime/components/ui/avatar/index.d.ts +3 -3
- package/dist/runtime/components/ui/badge/Badge.d.vue.ts +1 -1
- package/dist/runtime/components/ui/badge/Badge.vue.d.ts +1 -1
- package/dist/runtime/components/ui/badge/index.d.ts +2 -2
- package/dist/runtime/components/ui/breadcrumb/Breadcrumb.d.vue.ts +2 -2
- package/dist/runtime/components/ui/breadcrumb/Breadcrumb.vue.d.ts +2 -2
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbLink.d.vue.ts +1 -1
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbLink.vue.d.ts +1 -1
- package/dist/runtime/components/ui/breadcrumb/index.d.ts +7 -7
- package/dist/runtime/components/ui/button/Button.d.vue.ts +2 -2
- package/dist/runtime/components/ui/button/Button.vue.d.ts +2 -2
- package/dist/runtime/components/ui/button/index.d.ts +3 -3
- package/dist/runtime/components/ui/button/index.js +6 -4
- package/dist/runtime/components/ui/button-group/ButtonGroup.d.vue.ts +18 -0
- package/dist/runtime/components/ui/button-group/ButtonGroup.vue +21 -0
- package/dist/runtime/components/ui/button-group/ButtonGroup.vue.d.ts +18 -0
- package/dist/runtime/components/ui/button-group/ButtonGroupSeparator.d.vue.ts +9 -0
- package/dist/runtime/components/ui/button-group/ButtonGroupSeparator.vue +27 -0
- package/dist/runtime/components/ui/button-group/ButtonGroupSeparator.vue.d.ts +9 -0
- package/dist/runtime/components/ui/button-group/ButtonGroupText.d.vue.ts +21 -0
- package/dist/runtime/components/ui/button-group/ButtonGroupText.vue +28 -0
- package/dist/runtime/components/ui/button-group/ButtonGroupText.vue.d.ts +21 -0
- package/dist/runtime/components/ui/button-group/index.d.ts +8 -0
- package/dist/runtime/components/ui/button-group/index.js +18 -0
- package/dist/runtime/components/ui/calendar/Calendar.d.vue.ts +1 -1
- package/dist/runtime/components/ui/calendar/Calendar.vue +1 -4
- package/dist/runtime/components/ui/calendar/Calendar.vue.d.ts +1 -1
- package/dist/runtime/components/ui/calendar/CalendarCell.d.vue.ts +1 -1
- package/dist/runtime/components/ui/calendar/CalendarCell.vue.d.ts +1 -1
- package/dist/runtime/components/ui/calendar/CalendarCellTrigger.d.vue.ts +1 -1
- package/dist/runtime/components/ui/calendar/CalendarCellTrigger.vue +2 -5
- package/dist/runtime/components/ui/calendar/CalendarCellTrigger.vue.d.ts +1 -1
- package/dist/runtime/components/ui/calendar/CalendarGrid.d.vue.ts +1 -1
- package/dist/runtime/components/ui/calendar/CalendarGrid.vue.d.ts +1 -1
- package/dist/runtime/components/ui/calendar/CalendarGridBody.d.vue.ts +1 -1
- package/dist/runtime/components/ui/calendar/CalendarGridBody.vue.d.ts +1 -1
- package/dist/runtime/components/ui/calendar/CalendarGridHead.d.vue.ts +3 -3
- package/dist/runtime/components/ui/calendar/CalendarGridHead.vue.d.ts +3 -3
- package/dist/runtime/components/ui/calendar/CalendarGridRow.d.vue.ts +1 -1
- package/dist/runtime/components/ui/calendar/CalendarGridRow.vue +1 -4
- package/dist/runtime/components/ui/calendar/CalendarGridRow.vue.d.ts +1 -1
- package/dist/runtime/components/ui/calendar/CalendarHeadCell.d.vue.ts +1 -1
- package/dist/runtime/components/ui/calendar/CalendarHeadCell.vue +1 -4
- package/dist/runtime/components/ui/calendar/CalendarHeadCell.vue.d.ts +1 -1
- package/dist/runtime/components/ui/calendar/CalendarHeader.d.vue.ts +1 -1
- package/dist/runtime/components/ui/calendar/CalendarHeader.vue +1 -4
- package/dist/runtime/components/ui/calendar/CalendarHeader.vue.d.ts +1 -1
- package/dist/runtime/components/ui/calendar/CalendarHeading.d.vue.ts +1 -1
- package/dist/runtime/components/ui/calendar/CalendarHeading.vue +1 -4
- package/dist/runtime/components/ui/calendar/CalendarHeading.vue.d.ts +1 -1
- package/dist/runtime/components/ui/calendar/CalendarNextButton.d.vue.ts +1 -1
- package/dist/runtime/components/ui/calendar/CalendarNextButton.vue +1 -1
- package/dist/runtime/components/ui/calendar/CalendarNextButton.vue.d.ts +1 -1
- package/dist/runtime/components/ui/calendar/CalendarPrevButton.d.vue.ts +1 -1
- package/dist/runtime/components/ui/calendar/CalendarPrevButton.vue +1 -1
- package/dist/runtime/components/ui/calendar/CalendarPrevButton.vue.d.ts +1 -1
- package/dist/runtime/components/ui/calendar/index.d.ts +12 -12
- package/dist/runtime/components/ui/card/index.d.ts +7 -7
- package/dist/runtime/components/ui/carousel/CarouselNext.d.vue.ts +2 -2
- package/dist/runtime/components/ui/carousel/CarouselNext.vue +1 -1
- package/dist/runtime/components/ui/carousel/CarouselNext.vue.d.ts +2 -2
- package/dist/runtime/components/ui/carousel/CarouselPrevious.d.vue.ts +2 -2
- package/dist/runtime/components/ui/carousel/CarouselPrevious.vue +1 -1
- package/dist/runtime/components/ui/carousel/CarouselPrevious.vue.d.ts +2 -2
- package/dist/runtime/components/ui/carousel/index.d.ts +7 -7
- package/dist/runtime/components/ui/carousel/interface.d.ts +6 -6
- package/dist/runtime/components/ui/chart/ChartCrosshair.d.vue.ts +12 -0
- package/dist/runtime/components/ui/chart/ChartCrosshair.vue +36 -0
- package/dist/runtime/components/ui/chart/ChartCrosshair.vue.d.ts +12 -0
- package/dist/runtime/components/ui/chart/ChartLegend.d.vue.ts +14 -0
- package/dist/runtime/components/ui/chart/ChartLegend.vue +46 -0
- package/dist/runtime/components/ui/chart/ChartLegend.vue.d.ts +14 -0
- package/dist/runtime/components/ui/chart/ChartSingleTooltip.d.vue.ts +11 -0
- package/dist/runtime/components/ui/chart/ChartSingleTooltip.vue +53 -0
- package/dist/runtime/components/ui/chart/ChartSingleTooltip.vue.d.ts +11 -0
- package/dist/runtime/components/ui/chart/ChartTooltip.d.vue.ts +10 -0
- package/dist/runtime/components/ui/chart/ChartTooltip.vue +35 -0
- package/dist/runtime/components/ui/chart/ChartTooltip.vue.d.ts +10 -0
- package/dist/runtime/components/ui/chart/index.d.ts +6 -0
- package/dist/runtime/components/ui/chart/index.js +15 -0
- package/dist/runtime/components/ui/chart/interface.d.ts +63 -0
- package/dist/runtime/components/ui/chart/interface.js +0 -0
- package/dist/runtime/components/ui/chart-area/AreaChart.d.vue.ts +35 -0
- package/dist/runtime/components/ui/chart-area/AreaChart.vue +152 -0
- package/dist/runtime/components/ui/chart-area/AreaChart.vue.d.ts +35 -0
- package/dist/runtime/components/ui/chart-area/index.d.ts +63 -0
- package/dist/runtime/components/ui/chart-area/index.js +1 -0
- package/dist/runtime/components/ui/chart-bar/BarChart.d.vue.ts +35 -0
- package/dist/runtime/components/ui/chart-bar/BarChart.vue +124 -0
- package/dist/runtime/components/ui/chart-bar/BarChart.vue.d.ts +35 -0
- package/dist/runtime/components/ui/chart-bar/index.d.ts +63 -0
- package/dist/runtime/components/ui/chart-bar/index.js +1 -0
- package/dist/runtime/components/ui/chart-donut/DonutChart.d.vue.ts +39 -0
- package/dist/runtime/components/ui/chart-donut/DonutChart.vue +90 -0
- package/dist/runtime/components/ui/chart-donut/DonutChart.vue.d.ts +39 -0
- package/dist/runtime/components/ui/chart-donut/index.d.ts +36 -0
- package/dist/runtime/components/ui/chart-donut/index.js +1 -0
- package/dist/runtime/components/ui/chart-line/LineChart.d.vue.ts +30 -0
- package/dist/runtime/components/ui/chart-line/LineChart.vue +110 -0
- package/dist/runtime/components/ui/chart-line/LineChart.vue.d.ts +30 -0
- package/dist/runtime/components/ui/chart-line/index.d.ts +63 -0
- package/dist/runtime/components/ui/chart-line/index.js +1 -0
- package/dist/runtime/components/ui/checkbox/index.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/collapsible/CollapsibleContent.d.vue.ts +1 -1
- package/dist/runtime/components/ui/collapsible/CollapsibleContent.vue.d.ts +1 -1
- package/dist/runtime/components/ui/collapsible/CollapsibleTrigger.d.vue.ts +1 -1
- package/dist/runtime/components/ui/collapsible/CollapsibleTrigger.vue.d.ts +1 -1
- package/dist/runtime/components/ui/collapsible/index.d.ts +3 -3
- package/dist/runtime/components/ui/combobox/Combobox.d.vue.ts +1 -1
- package/dist/runtime/components/ui/combobox/Combobox.vue.d.ts +1 -1
- package/dist/runtime/components/ui/combobox/ComboboxInput.d.vue.ts +1 -1
- package/dist/runtime/components/ui/combobox/ComboboxInput.vue +1 -4
- package/dist/runtime/components/ui/combobox/ComboboxInput.vue.d.ts +1 -1
- package/dist/runtime/components/ui/combobox/ComboboxItem.vue +1 -1
- package/dist/runtime/components/ui/combobox/index.d.ts +11 -11
- package/dist/runtime/components/ui/command/Command.d.vue.ts +1 -1
- package/dist/runtime/components/ui/command/Command.vue +0 -3
- package/dist/runtime/components/ui/command/Command.vue.d.ts +1 -1
- package/dist/runtime/components/ui/command/CommandDialog.vue +2 -8
- package/dist/runtime/components/ui/command/CommandEmpty.d.vue.ts +1 -1
- package/dist/runtime/components/ui/command/CommandEmpty.vue.d.ts +1 -1
- package/dist/runtime/components/ui/command/CommandGroup.d.vue.ts +1 -1
- package/dist/runtime/components/ui/command/CommandGroup.vue.d.ts +1 -1
- package/dist/runtime/components/ui/command/CommandInput.d.vue.ts +1 -1
- package/dist/runtime/components/ui/command/CommandInput.vue +1 -4
- package/dist/runtime/components/ui/command/CommandInput.vue.d.ts +1 -1
- package/dist/runtime/components/ui/command/CommandItem.d.vue.ts +1 -1
- package/dist/runtime/components/ui/command/CommandItem.vue +2 -7
- package/dist/runtime/components/ui/command/CommandItem.vue.d.ts +1 -1
- package/dist/runtime/components/ui/command/index.d.ts +10 -10
- package/dist/runtime/components/ui/context-menu/ContextMenu.d.vue.ts +1 -1
- package/dist/runtime/components/ui/context-menu/ContextMenu.vue.d.ts +1 -1
- package/dist/runtime/components/ui/context-menu/ContextMenuCheckboxItem.d.vue.ts +1 -1
- package/dist/runtime/components/ui/context-menu/ContextMenuCheckboxItem.vue +1 -1
- package/dist/runtime/components/ui/context-menu/ContextMenuCheckboxItem.vue.d.ts +1 -1
- package/dist/runtime/components/ui/context-menu/ContextMenuContent.d.vue.ts +1 -1
- package/dist/runtime/components/ui/context-menu/ContextMenuContent.vue.d.ts +1 -1
- package/dist/runtime/components/ui/context-menu/ContextMenuGroup.d.vue.ts +1 -1
- package/dist/runtime/components/ui/context-menu/ContextMenuGroup.vue.d.ts +1 -1
- package/dist/runtime/components/ui/context-menu/ContextMenuItem.d.vue.ts +1 -1
- package/dist/runtime/components/ui/context-menu/ContextMenuItem.vue +2 -5
- package/dist/runtime/components/ui/context-menu/ContextMenuItem.vue.d.ts +1 -1
- package/dist/runtime/components/ui/context-menu/ContextMenuLabel.d.vue.ts +1 -1
- package/dist/runtime/components/ui/context-menu/ContextMenuLabel.vue.d.ts +1 -1
- package/dist/runtime/components/ui/context-menu/ContextMenuPortal.d.vue.ts +1 -1
- package/dist/runtime/components/ui/context-menu/ContextMenuPortal.vue.d.ts +1 -1
- package/dist/runtime/components/ui/context-menu/ContextMenuRadioGroup.d.vue.ts +1 -1
- package/dist/runtime/components/ui/context-menu/ContextMenuRadioGroup.vue.d.ts +1 -1
- package/dist/runtime/components/ui/context-menu/ContextMenuRadioItem.d.vue.ts +1 -1
- package/dist/runtime/components/ui/context-menu/ContextMenuRadioItem.vue +1 -1
- package/dist/runtime/components/ui/context-menu/ContextMenuRadioItem.vue.d.ts +1 -1
- package/dist/runtime/components/ui/context-menu/ContextMenuSeparator.d.vue.ts +1 -1
- package/dist/runtime/components/ui/context-menu/ContextMenuSeparator.vue.d.ts +1 -1
- package/dist/runtime/components/ui/context-menu/ContextMenuSub.d.vue.ts +1 -1
- package/dist/runtime/components/ui/context-menu/ContextMenuSub.vue.d.ts +1 -1
- package/dist/runtime/components/ui/context-menu/ContextMenuSubContent.d.vue.ts +1 -1
- package/dist/runtime/components/ui/context-menu/ContextMenuSubContent.vue +1 -4
- package/dist/runtime/components/ui/context-menu/ContextMenuSubContent.vue.d.ts +1 -1
- package/dist/runtime/components/ui/context-menu/ContextMenuSubTrigger.d.vue.ts +1 -1
- package/dist/runtime/components/ui/context-menu/ContextMenuSubTrigger.vue +2 -5
- package/dist/runtime/components/ui/context-menu/ContextMenuSubTrigger.vue.d.ts +1 -1
- package/dist/runtime/components/ui/context-menu/ContextMenuTrigger.d.vue.ts +1 -1
- package/dist/runtime/components/ui/context-menu/ContextMenuTrigger.vue.d.ts +1 -1
- package/dist/runtime/components/ui/context-menu/index.d.ts +14 -14
- package/dist/runtime/components/ui/dialog/Dialog.d.vue.ts +1 -1
- package/dist/runtime/components/ui/dialog/Dialog.vue.d.ts +1 -1
- package/dist/runtime/components/ui/dialog/DialogClose.d.vue.ts +1 -1
- package/dist/runtime/components/ui/dialog/DialogClose.vue.d.ts +1 -1
- package/dist/runtime/components/ui/dialog/DialogContent.d.vue.ts +1 -1
- package/dist/runtime/components/ui/dialog/DialogContent.vue.d.ts +1 -1
- package/dist/runtime/components/ui/dialog/DialogDescription.d.vue.ts +1 -1
- package/dist/runtime/components/ui/dialog/DialogDescription.vue +1 -4
- package/dist/runtime/components/ui/dialog/DialogDescription.vue.d.ts +1 -1
- package/dist/runtime/components/ui/dialog/DialogOverlay.d.vue.ts +1 -1
- package/dist/runtime/components/ui/dialog/DialogOverlay.vue.d.ts +1 -1
- package/dist/runtime/components/ui/dialog/DialogScrollContent.d.vue.ts +1 -1
- package/dist/runtime/components/ui/dialog/DialogScrollContent.vue.d.ts +1 -1
- package/dist/runtime/components/ui/dialog/DialogTitle.d.vue.ts +1 -1
- package/dist/runtime/components/ui/dialog/DialogTitle.vue.d.ts +1 -1
- package/dist/runtime/components/ui/dialog/DialogTrigger.d.vue.ts +1 -1
- package/dist/runtime/components/ui/dialog/DialogTrigger.vue.d.ts +1 -1
- package/dist/runtime/components/ui/dialog/index.d.ts +10 -10
- package/dist/runtime/components/ui/drawer/Drawer.d.vue.ts +1 -1
- package/dist/runtime/components/ui/drawer/Drawer.vue.d.ts +1 -1
- package/dist/runtime/components/ui/drawer/DrawerClose.d.vue.ts +1 -1
- package/dist/runtime/components/ui/drawer/DrawerClose.vue.d.ts +1 -1
- package/dist/runtime/components/ui/drawer/DrawerContent.vue +5 -5
- package/dist/runtime/components/ui/drawer/DrawerTrigger.d.vue.ts +1 -1
- package/dist/runtime/components/ui/drawer/DrawerTrigger.vue.d.ts +1 -1
- package/dist/runtime/components/ui/drawer/index.d.ts +9 -9
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenu.d.vue.ts +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.d.vue.ts +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.d.vue.ts +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuGroup.d.vue.ts +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.d.vue.ts +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.vue +2 -5
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuLabel.d.vue.ts +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuLabel.vue +1 -4
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioGroup.d.vue.ts +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioItem.d.vue.ts +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioItem.vue +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSeparator.d.vue.ts +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSeparator.vue +1 -3
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSub.d.vue.ts +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.d.vue.ts +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.vue +1 -4
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubTrigger.d.vue.ts +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue +1 -4
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuTrigger.d.vue.ts +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +1 -1
- package/dist/runtime/components/ui/dropdown-menu/index.d.ts +15 -15
- package/dist/runtime/components/ui/empty/Empty.d.vue.ts +16 -0
- package/dist/runtime/components/ui/empty/Empty.vue +20 -0
- package/dist/runtime/components/ui/empty/Empty.vue.d.ts +16 -0
- package/dist/runtime/components/ui/empty/EmptyContent.d.vue.ts +16 -0
- package/dist/runtime/components/ui/empty/EmptyContent.vue +20 -0
- package/dist/runtime/components/ui/empty/EmptyContent.vue.d.ts +16 -0
- package/dist/runtime/components/ui/empty/EmptyDescription.d.vue.ts +16 -0
- package/dist/runtime/components/ui/empty/EmptyDescription.vue +20 -0
- package/dist/runtime/components/ui/empty/EmptyDescription.vue.d.ts +16 -0
- package/dist/runtime/components/ui/empty/EmptyHeader.d.vue.ts +16 -0
- package/dist/runtime/components/ui/empty/EmptyHeader.vue +20 -0
- package/dist/runtime/components/ui/empty/EmptyHeader.vue.d.ts +16 -0
- package/dist/runtime/components/ui/empty/EmptyMedia.d.vue.ts +18 -0
- package/dist/runtime/components/ui/empty/EmptyMedia.vue +18 -0
- package/dist/runtime/components/ui/empty/EmptyMedia.vue.d.ts +18 -0
- package/dist/runtime/components/ui/empty/EmptyTitle.d.vue.ts +18 -0
- package/dist/runtime/components/ui/empty/EmptyTitle.vue +18 -0
- package/dist/runtime/components/ui/empty/EmptyTitle.vue.d.ts +18 -0
- package/dist/runtime/components/ui/empty/index.d.ts +11 -0
- package/dist/runtime/components/ui/empty/index.js +21 -0
- package/dist/runtime/components/ui/field/Field.d.vue.ts +18 -0
- package/dist/runtime/components/ui/field/Field.vue +19 -0
- package/dist/runtime/components/ui/field/Field.vue.d.ts +18 -0
- package/dist/runtime/components/ui/field/FieldContent.d.vue.ts +16 -0
- package/dist/runtime/components/ui/field/FieldContent.vue +20 -0
- package/dist/runtime/components/ui/field/FieldContent.vue.d.ts +16 -0
- package/dist/runtime/components/ui/field/FieldDescription.d.vue.ts +16 -0
- package/dist/runtime/components/ui/field/FieldDescription.vue +22 -0
- package/dist/runtime/components/ui/field/FieldDescription.vue.d.ts +16 -0
- package/dist/runtime/components/ui/field/FieldError.d.vue.ts +19 -0
- package/dist/runtime/components/ui/field/FieldError.vue +39 -0
- package/dist/runtime/components/ui/field/FieldError.vue.d.ts +19 -0
- package/dist/runtime/components/ui/field/FieldGroup.d.vue.ts +16 -0
- package/dist/runtime/components/ui/field/FieldGroup.vue +20 -0
- package/dist/runtime/components/ui/field/FieldGroup.vue.d.ts +16 -0
- package/dist/runtime/components/ui/field/FieldLabel.d.vue.ts +16 -0
- package/dist/runtime/components/ui/field/FieldLabel.vue +23 -0
- package/dist/runtime/components/ui/field/FieldLabel.vue.d.ts +16 -0
- package/dist/runtime/components/ui/field/FieldLegend.d.vue.ts +17 -0
- package/dist/runtime/components/ui/field/FieldLegend.vue +24 -0
- package/dist/runtime/components/ui/field/FieldLegend.vue.d.ts +17 -0
- package/dist/runtime/components/ui/field/FieldSeparator.d.vue.ts +16 -0
- package/dist/runtime/components/ui/field/FieldSeparator.vue +29 -0
- package/dist/runtime/components/ui/field/FieldSeparator.vue.d.ts +16 -0
- package/dist/runtime/components/ui/field/FieldSet.d.vue.ts +16 -0
- package/dist/runtime/components/ui/field/FieldSet.vue +21 -0
- package/dist/runtime/components/ui/field/FieldSet.vue.d.ts +16 -0
- package/dist/runtime/components/ui/field/FieldTitle.d.vue.ts +16 -0
- package/dist/runtime/components/ui/field/FieldTitle.vue +20 -0
- package/dist/runtime/components/ui/field/FieldTitle.vue.d.ts +16 -0
- package/dist/runtime/components/ui/field/index.d.ts +15 -0
- package/dist/runtime/components/ui/field/index.js +34 -0
- package/dist/runtime/components/ui/form/FormItem.d.vue.ts +1 -1
- package/dist/runtime/components/ui/form/FormItem.vue.d.ts +1 -1
- package/dist/runtime/components/ui/form/FormLabel.vue +2 -2
- package/dist/runtime/components/ui/form/FormMessage.d.vue.ts +1 -1
- package/dist/runtime/components/ui/form/FormMessage.vue +1 -1
- package/dist/runtime/components/ui/form/FormMessage.vue.d.ts +1 -1
- package/dist/runtime/components/ui/form/index.d.ts +7 -7
- package/dist/runtime/components/ui/form/injectionKeys.d.ts +1 -1
- package/dist/runtime/components/ui/form/useFormField.d.ts +1 -1
- package/dist/runtime/components/ui/form/useFormField.js +7 -7
- package/dist/runtime/components/ui/hover-card/HoverCard.d.vue.ts +1 -1
- package/dist/runtime/components/ui/hover-card/HoverCard.vue.d.ts +1 -1
- package/dist/runtime/components/ui/hover-card/HoverCardContent.d.vue.ts +1 -1
- package/dist/runtime/components/ui/hover-card/HoverCardContent.vue +1 -5
- package/dist/runtime/components/ui/hover-card/HoverCardContent.vue.d.ts +1 -1
- package/dist/runtime/components/ui/hover-card/HoverCardTrigger.d.vue.ts +1 -1
- package/dist/runtime/components/ui/hover-card/HoverCardTrigger.vue.d.ts +1 -1
- package/dist/runtime/components/ui/hover-card/index.d.ts +3 -3
- package/dist/runtime/components/ui/input/index.d.ts +1 -1
- package/dist/runtime/components/ui/input-group/InputGroup.d.vue.ts +16 -0
- package/dist/runtime/components/ui/input-group/InputGroup.vue +31 -0
- package/dist/runtime/components/ui/input-group/InputGroup.vue.d.ts +16 -0
- package/dist/runtime/components/ui/input-group/InputGroupAddon.d.vue.ts +20 -0
- package/dist/runtime/components/ui/input-group/InputGroupAddon.vue +30 -0
- package/dist/runtime/components/ui/input-group/InputGroupAddon.vue.d.ts +20 -0
- package/dist/runtime/components/ui/input-group/InputGroupButton.d.vue.ts +16 -0
- package/dist/runtime/components/ui/input-group/InputGroupButton.vue +20 -0
- package/dist/runtime/components/ui/input-group/InputGroupButton.vue.d.ts +16 -0
- package/dist/runtime/components/ui/input-group/InputGroupInput.d.vue.ts +6 -0
- package/dist/runtime/components/ui/input-group/InputGroupInput.vue +19 -0
- package/dist/runtime/components/ui/input-group/InputGroupInput.vue.d.ts +6 -0
- package/dist/runtime/components/ui/input-group/InputGroupText.d.vue.ts +16 -0
- package/dist/runtime/components/ui/input-group/InputGroupText.vue +19 -0
- package/dist/runtime/components/ui/input-group/InputGroupText.vue.d.ts +16 -0
- package/dist/runtime/components/ui/input-group/InputGroupTextarea.d.vue.ts +6 -0
- package/dist/runtime/components/ui/input-group/InputGroupTextarea.vue +19 -0
- package/dist/runtime/components/ui/input-group/InputGroupTextarea.vue.d.ts +6 -0
- package/dist/runtime/components/ui/input-group/index.d.ts +22 -0
- package/dist/runtime/components/ui/input-group/index.js +39 -0
- package/dist/runtime/components/ui/item/Item.d.vue.ts +22 -0
- package/dist/runtime/components/ui/item/Item.vue +23 -0
- package/dist/runtime/components/ui/item/Item.vue.d.ts +22 -0
- package/dist/runtime/components/ui/item/ItemActions.d.vue.ts +16 -0
- package/dist/runtime/components/ui/item/ItemActions.vue +15 -0
- package/dist/runtime/components/ui/item/ItemActions.vue.d.ts +16 -0
- package/dist/runtime/components/ui/item/ItemContent.d.vue.ts +16 -0
- package/dist/runtime/components/ui/item/ItemContent.vue +20 -0
- package/dist/runtime/components/ui/item/ItemContent.vue.d.ts +16 -0
- package/dist/runtime/components/ui/item/ItemDescription.d.vue.ts +16 -0
- package/dist/runtime/components/ui/item/ItemDescription.vue +21 -0
- package/dist/runtime/components/ui/item/ItemDescription.vue.d.ts +16 -0
- package/dist/runtime/components/ui/item/ItemFooter.d.vue.ts +16 -0
- package/dist/runtime/components/ui/item/ItemFooter.vue +17 -0
- package/dist/runtime/components/ui/item/ItemFooter.vue.d.ts +16 -0
- package/dist/runtime/components/ui/item/ItemGroup.d.vue.ts +16 -0
- package/dist/runtime/components/ui/item/ItemGroup.vue +16 -0
- package/dist/runtime/components/ui/item/ItemGroup.vue.d.ts +16 -0
- package/dist/runtime/components/ui/item/ItemHeader.d.vue.ts +16 -0
- package/dist/runtime/components/ui/item/ItemHeader.vue +17 -0
- package/dist/runtime/components/ui/item/ItemHeader.vue.d.ts +16 -0
- package/dist/runtime/components/ui/item/ItemMedia.d.vue.ts +18 -0
- package/dist/runtime/components/ui/item/ItemMedia.vue +18 -0
- package/dist/runtime/components/ui/item/ItemMedia.vue.d.ts +18 -0
- package/dist/runtime/components/ui/item/ItemSeparator.d.vue.ts +7 -0
- package/dist/runtime/components/ui/item/ItemSeparator.vue +19 -0
- package/dist/runtime/components/ui/item/ItemSeparator.vue.d.ts +7 -0
- package/dist/runtime/components/ui/item/ItemTitle.d.vue.ts +16 -0
- package/dist/runtime/components/ui/item/ItemTitle.vue +20 -0
- package/dist/runtime/components/ui/item/ItemTitle.vue.d.ts +16 -0
- package/dist/runtime/components/ui/item/index.d.ts +20 -0
- package/dist/runtime/components/ui/item/index.js +46 -0
- package/dist/runtime/components/ui/kbd/Kbd.d.vue.ts +16 -0
- package/dist/runtime/components/ui/kbd/Kbd.vue +21 -0
- package/dist/runtime/components/ui/kbd/Kbd.vue.d.ts +16 -0
- package/dist/runtime/components/ui/kbd/KbdGroup.d.vue.ts +16 -0
- package/dist/runtime/components/ui/kbd/KbdGroup.vue +15 -0
- package/dist/runtime/components/ui/kbd/KbdGroup.vue.d.ts +16 -0
- package/dist/runtime/components/ui/kbd/index.d.ts +2 -0
- package/dist/runtime/components/ui/kbd/index.js +2 -0
- package/dist/runtime/components/ui/label/Label.d.vue.ts +1 -1
- package/dist/runtime/components/ui/label/Label.vue.d.ts +1 -1
- package/dist/runtime/components/ui/label/index.d.ts +1 -1
- package/dist/runtime/components/ui/menubar/Menubar.d.vue.ts +1 -1
- package/dist/runtime/components/ui/menubar/Menubar.vue +1 -4
- package/dist/runtime/components/ui/menubar/Menubar.vue.d.ts +1 -1
- package/dist/runtime/components/ui/menubar/MenubarCheckboxItem.d.vue.ts +1 -1
- package/dist/runtime/components/ui/menubar/MenubarCheckboxItem.vue +1 -1
- package/dist/runtime/components/ui/menubar/MenubarCheckboxItem.vue.d.ts +1 -1
- package/dist/runtime/components/ui/menubar/MenubarContent.d.vue.ts +1 -1
- package/dist/runtime/components/ui/menubar/MenubarContent.vue +1 -5
- package/dist/runtime/components/ui/menubar/MenubarContent.vue.d.ts +1 -1
- package/dist/runtime/components/ui/menubar/MenubarGroup.d.vue.ts +1 -1
- package/dist/runtime/components/ui/menubar/MenubarGroup.vue.d.ts +1 -1
- package/dist/runtime/components/ui/menubar/MenubarItem.d.vue.ts +1 -1
- package/dist/runtime/components/ui/menubar/MenubarItem.vue +2 -5
- package/dist/runtime/components/ui/menubar/MenubarItem.vue.d.ts +1 -1
- package/dist/runtime/components/ui/menubar/MenubarLabel.d.vue.ts +1 -1
- package/dist/runtime/components/ui/menubar/MenubarLabel.vue.d.ts +1 -1
- package/dist/runtime/components/ui/menubar/MenubarMenu.d.vue.ts +1 -1
- package/dist/runtime/components/ui/menubar/MenubarMenu.vue.d.ts +1 -1
- package/dist/runtime/components/ui/menubar/MenubarRadioGroup.d.vue.ts +1 -1
- package/dist/runtime/components/ui/menubar/MenubarRadioGroup.vue.d.ts +1 -1
- package/dist/runtime/components/ui/menubar/MenubarRadioItem.d.vue.ts +1 -1
- package/dist/runtime/components/ui/menubar/MenubarRadioItem.vue +1 -1
- package/dist/runtime/components/ui/menubar/MenubarRadioItem.vue.d.ts +1 -1
- package/dist/runtime/components/ui/menubar/MenubarSeparator.d.vue.ts +1 -1
- package/dist/runtime/components/ui/menubar/MenubarSeparator.vue +1 -4
- package/dist/runtime/components/ui/menubar/MenubarSeparator.vue.d.ts +1 -1
- package/dist/runtime/components/ui/menubar/MenubarSubContent.d.vue.ts +1 -1
- package/dist/runtime/components/ui/menubar/MenubarSubContent.vue.d.ts +1 -1
- package/dist/runtime/components/ui/menubar/MenubarSubTrigger.d.vue.ts +1 -1
- package/dist/runtime/components/ui/menubar/MenubarSubTrigger.vue +1 -4
- package/dist/runtime/components/ui/menubar/MenubarSubTrigger.vue.d.ts +1 -1
- package/dist/runtime/components/ui/menubar/MenubarTrigger.d.vue.ts +1 -1
- package/dist/runtime/components/ui/menubar/MenubarTrigger.vue +1 -4
- package/dist/runtime/components/ui/menubar/MenubarTrigger.vue.d.ts +1 -1
- package/dist/runtime/components/ui/menubar/index.d.ts +15 -15
- package/dist/runtime/components/ui/navigation-menu/NavigationMenu.d.vue.ts +1 -1
- package/dist/runtime/components/ui/navigation-menu/NavigationMenu.vue +1 -4
- package/dist/runtime/components/ui/navigation-menu/NavigationMenu.vue.d.ts +1 -1
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuContent.d.vue.ts +1 -1
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuContent.vue +3 -6
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuContent.vue.d.ts +1 -1
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuIndicator.d.vue.ts +1 -1
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuIndicator.vue +1 -4
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuIndicator.vue.d.ts +1 -1
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuItem.d.vue.ts +1 -1
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuItem.vue.d.ts +1 -1
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuLink.d.vue.ts +1 -1
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuLink.vue +2 -5
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuLink.vue.d.ts +1 -1
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuList.d.vue.ts +1 -1
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuList.vue +1 -4
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuList.vue.d.ts +1 -1
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuTrigger.d.vue.ts +1 -1
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuTrigger.vue +1 -4
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuTrigger.vue.d.ts +1 -1
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuViewport.d.vue.ts +1 -1
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuViewport.vue +2 -5
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuViewport.vue.d.ts +1 -1
- package/dist/runtime/components/ui/navigation-menu/index.d.ts +8 -8
- package/dist/runtime/components/ui/number-field/index.d.ts +5 -5
- package/dist/runtime/components/ui/pagination/Pagination.d.vue.ts +1 -1
- package/dist/runtime/components/ui/pagination/Pagination.vue +1 -4
- package/dist/runtime/components/ui/pagination/Pagination.vue.d.ts +1 -1
- package/dist/runtime/components/ui/pagination/PaginationContent.d.vue.ts +1 -1
- package/dist/runtime/components/ui/pagination/PaginationContent.vue.d.ts +1 -1
- package/dist/runtime/components/ui/pagination/PaginationEllipsis.d.vue.ts +1 -1
- package/dist/runtime/components/ui/pagination/PaginationEllipsis.vue.d.ts +1 -1
- package/dist/runtime/components/ui/pagination/PaginationFirst.d.vue.ts +2 -2
- package/dist/runtime/components/ui/pagination/PaginationFirst.vue +1 -1
- package/dist/runtime/components/ui/pagination/PaginationFirst.vue.d.ts +2 -2
- package/dist/runtime/components/ui/pagination/PaginationItem.d.vue.ts +3 -3
- package/dist/runtime/components/ui/pagination/PaginationItem.vue +1 -1
- package/dist/runtime/components/ui/pagination/PaginationItem.vue.d.ts +3 -3
- package/dist/runtime/components/ui/pagination/PaginationLast.d.vue.ts +2 -2
- package/dist/runtime/components/ui/pagination/PaginationLast.vue +1 -1
- package/dist/runtime/components/ui/pagination/PaginationLast.vue.d.ts +2 -2
- package/dist/runtime/components/ui/pagination/PaginationNext.d.vue.ts +2 -2
- package/dist/runtime/components/ui/pagination/PaginationNext.vue +1 -1
- package/dist/runtime/components/ui/pagination/PaginationNext.vue.d.ts +2 -2
- package/dist/runtime/components/ui/pagination/PaginationPrevious.d.vue.ts +2 -2
- package/dist/runtime/components/ui/pagination/PaginationPrevious.vue +1 -1
- package/dist/runtime/components/ui/pagination/PaginationPrevious.vue.d.ts +2 -2
- package/dist/runtime/components/ui/pagination/index.d.ts +8 -8
- package/dist/runtime/components/ui/pin-input/PinInput.d.vue.ts +19 -22
- package/dist/runtime/components/ui/pin-input/PinInput.vue +1 -4
- package/dist/runtime/components/ui/pin-input/PinInput.vue.d.ts +19 -22
- package/dist/runtime/components/ui/pin-input/PinInputGroup.d.vue.ts +1 -1
- package/dist/runtime/components/ui/pin-input/PinInputGroup.vue.d.ts +1 -1
- package/dist/runtime/components/ui/pin-input/PinInputSeparator.d.vue.ts +1 -1
- package/dist/runtime/components/ui/pin-input/PinInputSeparator.vue.d.ts +1 -1
- package/dist/runtime/components/ui/pin-input/PinInputSlot.d.vue.ts +1 -1
- package/dist/runtime/components/ui/pin-input/PinInputSlot.vue +1 -4
- package/dist/runtime/components/ui/pin-input/PinInputSlot.vue.d.ts +1 -1
- package/dist/runtime/components/ui/pin-input/index.d.ts +4 -4
- package/dist/runtime/components/ui/popover/Popover.d.vue.ts +1 -1
- package/dist/runtime/components/ui/popover/Popover.vue.d.ts +1 -1
- package/dist/runtime/components/ui/popover/PopoverAnchor.d.vue.ts +1 -1
- package/dist/runtime/components/ui/popover/PopoverAnchor.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 +1 -5
- package/dist/runtime/components/ui/popover/PopoverContent.vue.d.ts +1 -1
- package/dist/runtime/components/ui/popover/PopoverTrigger.d.vue.ts +1 -1
- package/dist/runtime/components/ui/popover/PopoverTrigger.vue.d.ts +1 -1
- package/dist/runtime/components/ui/popover/index.d.ts +4 -4
- package/dist/runtime/components/ui/progress/Progress.d.vue.ts +1 -1
- package/dist/runtime/components/ui/progress/Progress.vue +1 -4
- package/dist/runtime/components/ui/progress/Progress.vue.d.ts +1 -1
- package/dist/runtime/components/ui/progress/index.d.ts +1 -1
- package/dist/runtime/components/ui/radio-group/RadioGroup.d.vue.ts +1 -1
- package/dist/runtime/components/ui/radio-group/RadioGroup.vue +1 -4
- package/dist/runtime/components/ui/radio-group/RadioGroup.vue.d.ts +1 -1
- package/dist/runtime/components/ui/radio-group/index.d.ts +2 -2
- package/dist/runtime/components/ui/range-calendar/RangeCalendar.d.vue.ts +1 -1
- package/dist/runtime/components/ui/range-calendar/RangeCalendar.vue +1 -4
- package/dist/runtime/components/ui/range-calendar/RangeCalendar.vue.d.ts +1 -1
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCell.d.vue.ts +1 -1
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCell.vue +1 -4
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCell.vue.d.ts +1 -1
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCellTrigger.d.vue.ts +1 -1
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCellTrigger.vue +2 -5
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCellTrigger.vue.d.ts +1 -1
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGrid.d.vue.ts +1 -1
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGrid.vue +1 -4
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGrid.vue.d.ts +1 -1
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridBody.d.vue.ts +1 -1
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridBody.vue.d.ts +1 -1
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridHead.d.vue.ts +1 -1
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridHead.vue.d.ts +1 -1
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridRow.d.vue.ts +1 -1
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridRow.vue +1 -4
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridRow.vue.d.ts +1 -1
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeadCell.d.vue.ts +1 -1
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeadCell.vue +1 -4
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeadCell.vue.d.ts +1 -1
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeader.d.vue.ts +1 -1
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeader.vue +1 -4
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeader.vue.d.ts +1 -1
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeading.d.vue.ts +1 -1
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeading.vue +1 -4
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeading.vue.d.ts +1 -1
- package/dist/runtime/components/ui/range-calendar/RangeCalendarNextButton.d.vue.ts +1 -1
- package/dist/runtime/components/ui/range-calendar/RangeCalendarNextButton.vue +2 -5
- package/dist/runtime/components/ui/range-calendar/RangeCalendarNextButton.vue.d.ts +1 -1
- package/dist/runtime/components/ui/range-calendar/RangeCalendarPrevButton.d.vue.ts +1 -1
- package/dist/runtime/components/ui/range-calendar/RangeCalendarPrevButton.vue +2 -5
- package/dist/runtime/components/ui/range-calendar/RangeCalendarPrevButton.vue.d.ts +1 -1
- package/dist/runtime/components/ui/range-calendar/index.d.ts +12 -12
- package/dist/runtime/components/ui/resizable/ResizableHandle.d.vue.ts +1 -1
- package/dist/runtime/components/ui/resizable/ResizableHandle.vue +1 -4
- package/dist/runtime/components/ui/resizable/ResizableHandle.vue.d.ts +1 -1
- package/dist/runtime/components/ui/resizable/ResizablePanel.d.vue.ts +1 -1
- package/dist/runtime/components/ui/resizable/ResizablePanel.vue.d.ts +1 -1
- package/dist/runtime/components/ui/resizable/ResizablePanelGroup.d.vue.ts +1 -1
- package/dist/runtime/components/ui/resizable/ResizablePanelGroup.vue +1 -4
- package/dist/runtime/components/ui/resizable/ResizablePanelGroup.vue.d.ts +1 -1
- package/dist/runtime/components/ui/resizable/index.d.ts +3 -3
- package/dist/runtime/components/ui/scroll-area/ScrollArea.d.vue.ts +1 -1
- package/dist/runtime/components/ui/scroll-area/ScrollArea.vue +1 -5
- package/dist/runtime/components/ui/scroll-area/ScrollArea.vue.d.ts +1 -1
- package/dist/runtime/components/ui/scroll-area/ScrollBar.d.vue.ts +1 -1
- package/dist/runtime/components/ui/scroll-area/ScrollBar.vue +1 -4
- package/dist/runtime/components/ui/scroll-area/ScrollBar.vue.d.ts +1 -1
- package/dist/runtime/components/ui/scroll-area/index.d.ts +2 -2
- package/dist/runtime/components/ui/select/Select.d.vue.ts +1 -1
- package/dist/runtime/components/ui/select/Select.vue.d.ts +1 -1
- package/dist/runtime/components/ui/select/SelectContent.d.vue.ts +1 -1
- package/dist/runtime/components/ui/select/SelectContent.vue.d.ts +1 -1
- package/dist/runtime/components/ui/select/SelectGroup.d.vue.ts +1 -1
- package/dist/runtime/components/ui/select/SelectGroup.vue.d.ts +1 -1
- package/dist/runtime/components/ui/select/SelectItem.d.vue.ts +1 -1
- package/dist/runtime/components/ui/select/SelectItem.vue +1 -1
- package/dist/runtime/components/ui/select/SelectItem.vue.d.ts +1 -1
- package/dist/runtime/components/ui/select/SelectItemText.d.vue.ts +1 -1
- package/dist/runtime/components/ui/select/SelectItemText.vue.d.ts +1 -1
- package/dist/runtime/components/ui/select/SelectLabel.d.vue.ts +1 -1
- package/dist/runtime/components/ui/select/SelectLabel.vue.d.ts +1 -1
- package/dist/runtime/components/ui/select/SelectScrollDownButton.d.vue.ts +1 -1
- package/dist/runtime/components/ui/select/SelectScrollDownButton.vue +1 -4
- package/dist/runtime/components/ui/select/SelectScrollDownButton.vue.d.ts +1 -1
- package/dist/runtime/components/ui/select/SelectScrollUpButton.d.vue.ts +1 -1
- package/dist/runtime/components/ui/select/SelectScrollUpButton.vue +1 -4
- package/dist/runtime/components/ui/select/SelectScrollUpButton.vue.d.ts +1 -1
- package/dist/runtime/components/ui/select/SelectSeparator.d.vue.ts +1 -1
- package/dist/runtime/components/ui/select/SelectSeparator.vue.d.ts +1 -1
- package/dist/runtime/components/ui/select/SelectTrigger.d.vue.ts +1 -1
- package/dist/runtime/components/ui/select/SelectTrigger.vue +2 -6
- package/dist/runtime/components/ui/select/SelectTrigger.vue.d.ts +1 -1
- package/dist/runtime/components/ui/select/SelectValue.d.vue.ts +1 -1
- package/dist/runtime/components/ui/select/SelectValue.vue.d.ts +1 -1
- package/dist/runtime/components/ui/select/index.d.ts +11 -11
- package/dist/runtime/components/ui/separator/Separator.d.vue.ts +1 -1
- package/dist/runtime/components/ui/separator/Separator.vue +1 -1
- package/dist/runtime/components/ui/separator/Separator.vue.d.ts +1 -1
- package/dist/runtime/components/ui/separator/index.d.ts +1 -1
- package/dist/runtime/components/ui/sheet/Sheet.d.vue.ts +1 -1
- package/dist/runtime/components/ui/sheet/Sheet.vue.d.ts +1 -1
- package/dist/runtime/components/ui/sheet/SheetClose.d.vue.ts +1 -1
- package/dist/runtime/components/ui/sheet/SheetClose.vue.d.ts +1 -1
- package/dist/runtime/components/ui/sheet/SheetContent.d.vue.ts +1 -1
- package/dist/runtime/components/ui/sheet/SheetContent.vue.d.ts +1 -1
- package/dist/runtime/components/ui/sheet/SheetDescription.d.vue.ts +1 -1
- package/dist/runtime/components/ui/sheet/SheetDescription.vue.d.ts +1 -1
- package/dist/runtime/components/ui/sheet/SheetOverlay.d.vue.ts +1 -1
- package/dist/runtime/components/ui/sheet/SheetOverlay.vue.d.ts +1 -1
- package/dist/runtime/components/ui/sheet/SheetTitle.d.vue.ts +1 -1
- package/dist/runtime/components/ui/sheet/SheetTitle.vue.d.ts +1 -1
- package/dist/runtime/components/ui/sheet/SheetTrigger.d.vue.ts +1 -1
- package/dist/runtime/components/ui/sheet/SheetTrigger.vue.d.ts +1 -1
- package/dist/runtime/components/ui/sheet/index.d.ts +8 -8
- package/dist/runtime/components/ui/sidebar/Sidebar.vue +4 -4
- package/dist/runtime/components/ui/sidebar/SidebarInput.vue +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarMenuAction.d.vue.ts +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarMenuAction.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 +3 -7
- package/dist/runtime/components/ui/sidebar/SidebarMenuButton.vue.d.ts +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.d.vue.ts +2 -2
- package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.vue.d.ts +2 -2
- package/dist/runtime/components/ui/sidebar/SidebarMenuSkeleton.d.vue.ts +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarMenuSkeleton.vue +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarMenuSkeleton.vue.d.ts +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarProvider.d.vue.ts +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarProvider.vue +9 -2
- package/dist/runtime/components/ui/sidebar/SidebarProvider.vue.d.ts +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarSeparator.vue +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarTrigger.vue +1 -1
- package/dist/runtime/components/ui/sidebar/index.d.ts +30 -30
- package/dist/runtime/components/ui/sidebar/utils.d.ts +1 -1
- package/dist/runtime/components/ui/skeleton/index.d.ts +1 -1
- package/dist/runtime/components/ui/slider/index.d.ts +1 -1
- package/dist/runtime/components/ui/sonner/Sonner.d.vue.ts +1 -1
- package/dist/runtime/components/ui/sonner/Sonner.vue.d.ts +1 -1
- package/dist/runtime/components/ui/sonner/index.d.ts +1 -1
- package/dist/runtime/components/ui/spinner/Spinner.d.vue.ts +6 -0
- package/dist/runtime/components/ui/spinner/Spinner.vue +15 -0
- package/dist/runtime/components/ui/spinner/Spinner.vue.d.ts +6 -0
- package/dist/runtime/components/ui/spinner/index.d.ts +1 -0
- package/dist/runtime/components/ui/spinner/index.js +1 -0
- package/dist/runtime/components/ui/stepper/StepperIndicator.d.vue.ts +3 -1
- package/dist/runtime/components/ui/stepper/StepperIndicator.vue +2 -1
- package/dist/runtime/components/ui/stepper/StepperIndicator.vue.d.ts +3 -1
- package/dist/runtime/components/ui/stepper/StepperItem.d.vue.ts +1 -1
- package/dist/runtime/components/ui/stepper/StepperItem.vue.d.ts +1 -1
- package/dist/runtime/components/ui/stepper/index.d.ts +7 -7
- package/dist/runtime/components/ui/switch/Switch.d.vue.ts +1 -1
- package/dist/runtime/components/ui/switch/Switch.vue +1 -5
- package/dist/runtime/components/ui/switch/Switch.vue.d.ts +1 -1
- package/dist/runtime/components/ui/switch/index.d.ts +1 -1
- package/dist/runtime/components/ui/table/index.d.ts +9 -9
- package/dist/runtime/components/ui/table/utils.d.ts +3 -3
- package/dist/runtime/components/ui/table/utils.js +2 -1
- package/dist/runtime/components/ui/tabs/TabsContent.d.vue.ts +1 -1
- package/dist/runtime/components/ui/tabs/TabsContent.vue.d.ts +1 -1
- package/dist/runtime/components/ui/tabs/TabsList.d.vue.ts +1 -1
- package/dist/runtime/components/ui/tabs/TabsList.vue.d.ts +1 -1
- package/dist/runtime/components/ui/tabs/TabsTrigger.d.vue.ts +1 -1
- package/dist/runtime/components/ui/tabs/TabsTrigger.vue +1 -1
- package/dist/runtime/components/ui/tabs/TabsTrigger.vue.d.ts +1 -1
- package/dist/runtime/components/ui/tabs/index.d.ts +4 -4
- package/dist/runtime/components/ui/tags-input/TagsInput.d.vue.ts +1 -1
- package/dist/runtime/components/ui/tags-input/TagsInput.vue +1 -4
- package/dist/runtime/components/ui/tags-input/TagsInput.vue.d.ts +1 -1
- package/dist/runtime/components/ui/tags-input/TagsInputInput.d.vue.ts +1 -1
- package/dist/runtime/components/ui/tags-input/TagsInputInput.vue +1 -4
- package/dist/runtime/components/ui/tags-input/TagsInputInput.vue.d.ts +1 -1
- package/dist/runtime/components/ui/tags-input/TagsInputItem.d.vue.ts +1 -1
- package/dist/runtime/components/ui/tags-input/TagsInputItem.vue +1 -4
- package/dist/runtime/components/ui/tags-input/TagsInputItem.vue.d.ts +1 -1
- package/dist/runtime/components/ui/tags-input/TagsInputItemDelete.d.vue.ts +1 -1
- package/dist/runtime/components/ui/tags-input/TagsInputItemDelete.vue +1 -4
- package/dist/runtime/components/ui/tags-input/TagsInputItemDelete.vue.d.ts +1 -1
- package/dist/runtime/components/ui/tags-input/TagsInputItemText.d.vue.ts +1 -1
- package/dist/runtime/components/ui/tags-input/TagsInputItemText.vue +1 -4
- package/dist/runtime/components/ui/tags-input/TagsInputItemText.vue.d.ts +1 -1
- package/dist/runtime/components/ui/tags-input/index.d.ts +5 -5
- package/dist/runtime/components/ui/textarea/index.d.ts +1 -1
- package/dist/runtime/components/ui/toggle/Toggle.d.vue.ts +2 -2
- package/dist/runtime/components/ui/toggle/Toggle.vue +1 -4
- package/dist/runtime/components/ui/toggle/Toggle.vue.d.ts +2 -2
- package/dist/runtime/components/ui/toggle/index.d.ts +2 -2
- package/dist/runtime/components/ui/toggle-group/ToggleGroup.d.vue.ts +3 -3
- package/dist/runtime/components/ui/toggle-group/ToggleGroup.vue +1 -4
- package/dist/runtime/components/ui/toggle-group/ToggleGroup.vue.d.ts +3 -3
- package/dist/runtime/components/ui/toggle-group/ToggleGroupItem.d.vue.ts +3 -3
- package/dist/runtime/components/ui/toggle-group/ToggleGroupItem.vue +2 -5
- package/dist/runtime/components/ui/toggle-group/ToggleGroupItem.vue.d.ts +3 -3
- package/dist/runtime/components/ui/toggle-group/index.d.ts +2 -2
- package/dist/runtime/components/ui/tooltip/Tooltip.d.vue.ts +1 -1
- package/dist/runtime/components/ui/tooltip/Tooltip.vue.d.ts +1 -1
- package/dist/runtime/components/ui/tooltip/TooltipContent.d.vue.ts +1 -1
- package/dist/runtime/components/ui/tooltip/TooltipContent.vue.d.ts +1 -1
- package/dist/runtime/components/ui/tooltip/TooltipProvider.d.vue.ts +1 -1
- package/dist/runtime/components/ui/tooltip/TooltipProvider.vue.d.ts +1 -1
- package/dist/runtime/components/ui/tooltip/TooltipTrigger.d.vue.ts +1 -1
- package/dist/runtime/components/ui/tooltip/TooltipTrigger.vue.d.ts +1 -1
- package/dist/runtime/components/ui/tooltip/index.d.ts +4 -4
- package/dist/runtime/lib/utils.d.ts +2 -0
- package/dist/runtime/lib/utils.js +5 -0
- package/package.json +3 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { HTMLAttributes } from "vue"
|
|
3
|
+
import { cn } from '~/src/runtime/lib/utils'
|
|
4
|
+
|
|
5
|
+
const props = defineProps<{
|
|
6
|
+
class?: HTMLAttributes["class"]
|
|
7
|
+
}>()
|
|
8
|
+
</script>
|
|
9
|
+
|
|
10
|
+
<template>
|
|
11
|
+
<div
|
|
12
|
+
data-slot="sidebar-footer"
|
|
13
|
+
data-sidebar="footer"
|
|
14
|
+
:class="cn('flex flex-col gap-2 p-2', props.class)"
|
|
15
|
+
>
|
|
16
|
+
<slot />
|
|
17
|
+
</div>
|
|
18
|
+
</template>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { HTMLAttributes } from "vue"
|
|
3
|
+
import { cn } from '~/src/runtime/lib/utils'
|
|
4
|
+
|
|
5
|
+
const props = defineProps<{
|
|
6
|
+
class?: HTMLAttributes["class"]
|
|
7
|
+
}>()
|
|
8
|
+
</script>
|
|
9
|
+
|
|
10
|
+
<template>
|
|
11
|
+
<div
|
|
12
|
+
data-slot="sidebar-group"
|
|
13
|
+
data-sidebar="group"
|
|
14
|
+
:class="cn('relative flex w-full min-w-0 flex-col p-2', props.class)"
|
|
15
|
+
>
|
|
16
|
+
<slot />
|
|
17
|
+
</div>
|
|
18
|
+
</template>
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { PrimitiveProps } from "reka-ui"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import { Primitive } from "reka-ui"
|
|
5
|
+
import { cn } from '~/src/runtime/lib/utils'
|
|
6
|
+
|
|
7
|
+
const props = defineProps<PrimitiveProps & {
|
|
8
|
+
class?: HTMLAttributes["class"]
|
|
9
|
+
}>()
|
|
10
|
+
</script>
|
|
11
|
+
|
|
12
|
+
<template>
|
|
13
|
+
<Primitive
|
|
14
|
+
data-slot="sidebar-group-action"
|
|
15
|
+
data-sidebar="group-action"
|
|
16
|
+
:as="as"
|
|
17
|
+
:as-child="asChild"
|
|
18
|
+
:class="cn(
|
|
19
|
+
'text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0',
|
|
20
|
+
'after:absolute after:-inset-2 md:after:hidden',
|
|
21
|
+
'group-data-[collapsible=icon]:hidden',
|
|
22
|
+
props.class,
|
|
23
|
+
)"
|
|
24
|
+
>
|
|
25
|
+
<slot />
|
|
26
|
+
</Primitive>
|
|
27
|
+
</template>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { HTMLAttributes } from "vue"
|
|
3
|
+
import { cn } from '~/src/runtime/lib/utils'
|
|
4
|
+
|
|
5
|
+
const props = defineProps<{
|
|
6
|
+
class?: HTMLAttributes["class"]
|
|
7
|
+
}>()
|
|
8
|
+
</script>
|
|
9
|
+
|
|
10
|
+
<template>
|
|
11
|
+
<div
|
|
12
|
+
data-slot="sidebar-group-content"
|
|
13
|
+
data-sidebar="group-content"
|
|
14
|
+
:class="cn('w-full text-sm', props.class)"
|
|
15
|
+
>
|
|
16
|
+
<slot />
|
|
17
|
+
</div>
|
|
18
|
+
</template>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { PrimitiveProps } from "reka-ui"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import { Primitive } from "reka-ui"
|
|
5
|
+
import { cn } from '~/src/runtime/lib/utils'
|
|
6
|
+
|
|
7
|
+
const props = defineProps<PrimitiveProps & {
|
|
8
|
+
class?: HTMLAttributes["class"]
|
|
9
|
+
}>()
|
|
10
|
+
</script>
|
|
11
|
+
|
|
12
|
+
<template>
|
|
13
|
+
<Primitive
|
|
14
|
+
data-slot="sidebar-group-label"
|
|
15
|
+
data-sidebar="group-label"
|
|
16
|
+
:as="as"
|
|
17
|
+
:as-child="asChild"
|
|
18
|
+
:class="cn(
|
|
19
|
+
'text-sidebar-foreground/70 ring-sidebar-ring flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0',
|
|
20
|
+
'group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0',
|
|
21
|
+
props.class)"
|
|
22
|
+
>
|
|
23
|
+
<slot />
|
|
24
|
+
</Primitive>
|
|
25
|
+
</template>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { HTMLAttributes } from "vue"
|
|
3
|
+
import { cn } from '~/src/runtime/lib/utils'
|
|
4
|
+
|
|
5
|
+
const props = defineProps<{
|
|
6
|
+
class?: HTMLAttributes["class"]
|
|
7
|
+
}>()
|
|
8
|
+
</script>
|
|
9
|
+
|
|
10
|
+
<template>
|
|
11
|
+
<div
|
|
12
|
+
data-slot="sidebar-header"
|
|
13
|
+
data-sidebar="header"
|
|
14
|
+
:class="cn('flex flex-col gap-2 p-2', props.class)"
|
|
15
|
+
>
|
|
16
|
+
<slot />
|
|
17
|
+
</div>
|
|
18
|
+
</template>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { HTMLAttributes } from "vue"
|
|
3
|
+
import { cn } from '~/src/runtime/lib/utils'
|
|
4
|
+
import { Input } from '~/src/runtime/components/ui/input'
|
|
5
|
+
|
|
6
|
+
const props = defineProps<{
|
|
7
|
+
class?: HTMLAttributes["class"]
|
|
8
|
+
}>()
|
|
9
|
+
</script>
|
|
10
|
+
|
|
11
|
+
<template>
|
|
12
|
+
<Input
|
|
13
|
+
data-slot="sidebar-input"
|
|
14
|
+
data-sidebar="input"
|
|
15
|
+
:class="cn(
|
|
16
|
+
'bg-background h-8 w-full shadow-none',
|
|
17
|
+
props.class,
|
|
18
|
+
)"
|
|
19
|
+
>
|
|
20
|
+
<slot />
|
|
21
|
+
</Input>
|
|
22
|
+
</template>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { HTMLAttributes } from "vue"
|
|
3
|
+
import { cn } from '~/src/runtime/lib/utils'
|
|
4
|
+
|
|
5
|
+
const props = defineProps<{
|
|
6
|
+
class?: HTMLAttributes["class"]
|
|
7
|
+
}>()
|
|
8
|
+
</script>
|
|
9
|
+
|
|
10
|
+
<template>
|
|
11
|
+
<main
|
|
12
|
+
data-slot="sidebar-inset"
|
|
13
|
+
:class="cn(
|
|
14
|
+
'bg-background relative flex w-full flex-1 flex-col',
|
|
15
|
+
'md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2',
|
|
16
|
+
props.class,
|
|
17
|
+
)"
|
|
18
|
+
>
|
|
19
|
+
<slot />
|
|
20
|
+
</main>
|
|
21
|
+
</template>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { HTMLAttributes } from "vue"
|
|
3
|
+
import { cn } from '~/src/runtime/lib/utils'
|
|
4
|
+
|
|
5
|
+
const props = defineProps<{
|
|
6
|
+
class?: HTMLAttributes["class"]
|
|
7
|
+
}>()
|
|
8
|
+
</script>
|
|
9
|
+
|
|
10
|
+
<template>
|
|
11
|
+
<ul
|
|
12
|
+
data-slot="sidebar-menu"
|
|
13
|
+
data-sidebar="menu"
|
|
14
|
+
:class="cn('flex w-full min-w-0 flex-col gap-1', props.class)"
|
|
15
|
+
>
|
|
16
|
+
<slot />
|
|
17
|
+
</ul>
|
|
18
|
+
</template>
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { PrimitiveProps } from "reka-ui"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import { Primitive } from "reka-ui"
|
|
5
|
+
import { cn } from '~/src/runtime/lib/utils'
|
|
6
|
+
|
|
7
|
+
const props = withDefaults(defineProps<PrimitiveProps & {
|
|
8
|
+
showOnHover?: boolean
|
|
9
|
+
class?: HTMLAttributes["class"]
|
|
10
|
+
}>(), {
|
|
11
|
+
as: "button",
|
|
12
|
+
})
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<template>
|
|
16
|
+
<Primitive
|
|
17
|
+
data-slot="sidebar-menu-action"
|
|
18
|
+
data-sidebar="menu-action"
|
|
19
|
+
:class="cn(
|
|
20
|
+
'text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0',
|
|
21
|
+
'after:absolute after:-inset-2 md:after:hidden',
|
|
22
|
+
'peer-data-[size=sm]/menu-button:top-1',
|
|
23
|
+
'peer-data-[size=default]/menu-button:top-1.5',
|
|
24
|
+
'peer-data-[size=lg]/menu-button:top-2.5',
|
|
25
|
+
'group-data-[collapsible=icon]:hidden',
|
|
26
|
+
showOnHover
|
|
27
|
+
&& 'peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0',
|
|
28
|
+
props.class,
|
|
29
|
+
)"
|
|
30
|
+
:as="as"
|
|
31
|
+
:as-child="asChild"
|
|
32
|
+
>
|
|
33
|
+
<slot />
|
|
34
|
+
</Primitive>
|
|
35
|
+
</template>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { HTMLAttributes } from "vue"
|
|
3
|
+
import { cn } from '~/src/runtime/lib/utils'
|
|
4
|
+
|
|
5
|
+
const props = defineProps<{
|
|
6
|
+
class?: HTMLAttributes["class"]
|
|
7
|
+
}>()
|
|
8
|
+
</script>
|
|
9
|
+
|
|
10
|
+
<template>
|
|
11
|
+
<div
|
|
12
|
+
data-slot="sidebar-menu-badge"
|
|
13
|
+
data-sidebar="menu-badge"
|
|
14
|
+
:class="cn(
|
|
15
|
+
'text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums select-none',
|
|
16
|
+
'peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground',
|
|
17
|
+
'peer-data-[size=sm]/menu-button:top-1',
|
|
18
|
+
'peer-data-[size=default]/menu-button:top-1.5',
|
|
19
|
+
'peer-data-[size=lg]/menu-button:top-2.5',
|
|
20
|
+
'group-data-[collapsible=icon]:hidden',
|
|
21
|
+
props.class,
|
|
22
|
+
)"
|
|
23
|
+
>
|
|
24
|
+
<slot />
|
|
25
|
+
</div>
|
|
26
|
+
</template>
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { Component } from "vue"
|
|
3
|
+
import type { SidebarMenuButtonProps } from "./SidebarMenuButtonChild.vue"
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
+
import { Tooltip, TooltipContent, TooltipTrigger } from '~/src/runtime/components/ui/tooltip'
|
|
6
|
+
import SidebarMenuButtonChild from "./SidebarMenuButtonChild.vue"
|
|
7
|
+
import { useSidebar } from "./utils"
|
|
8
|
+
|
|
9
|
+
defineOptions({
|
|
10
|
+
inheritAttrs: false,
|
|
11
|
+
})
|
|
12
|
+
|
|
13
|
+
const props = withDefaults(defineProps<SidebarMenuButtonProps & {
|
|
14
|
+
tooltip?: string | Component
|
|
15
|
+
}>(), {
|
|
16
|
+
as: "button",
|
|
17
|
+
variant: "default",
|
|
18
|
+
size: "default",
|
|
19
|
+
})
|
|
20
|
+
|
|
21
|
+
const { isMobile, state } = useSidebar()
|
|
22
|
+
|
|
23
|
+
const delegatedProps = reactiveOmit(props, "tooltip")
|
|
24
|
+
</script>
|
|
25
|
+
|
|
26
|
+
<template>
|
|
27
|
+
<SidebarMenuButtonChild v-if="!tooltip" v-bind="{ ...delegatedProps, ...$attrs }">
|
|
28
|
+
<slot />
|
|
29
|
+
</SidebarMenuButtonChild>
|
|
30
|
+
|
|
31
|
+
<Tooltip v-else>
|
|
32
|
+
<TooltipTrigger as-child>
|
|
33
|
+
<SidebarMenuButtonChild v-bind="{ ...delegatedProps, ...$attrs }">
|
|
34
|
+
<slot />
|
|
35
|
+
</SidebarMenuButtonChild>
|
|
36
|
+
</TooltipTrigger>
|
|
37
|
+
<TooltipContent
|
|
38
|
+
side="right"
|
|
39
|
+
align="center"
|
|
40
|
+
:hidden="state !== 'collapsed' || isMobile"
|
|
41
|
+
>
|
|
42
|
+
<template v-if="typeof tooltip === 'string'">
|
|
43
|
+
{{ tooltip }}
|
|
44
|
+
</template>
|
|
45
|
+
<component :is="tooltip" v-else />
|
|
46
|
+
</TooltipContent>
|
|
47
|
+
</Tooltip>
|
|
48
|
+
</template>
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { PrimitiveProps } from "reka-ui"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import type { SidebarMenuButtonVariants } from "."
|
|
5
|
+
import { Primitive } from "reka-ui"
|
|
6
|
+
import { cn } from '~/src/runtime/lib/utils'
|
|
7
|
+
import { sidebarMenuButtonVariants } from "."
|
|
8
|
+
|
|
9
|
+
export interface SidebarMenuButtonProps extends PrimitiveProps {
|
|
10
|
+
variant?: SidebarMenuButtonVariants["variant"]
|
|
11
|
+
size?: SidebarMenuButtonVariants["size"]
|
|
12
|
+
isActive?: boolean
|
|
13
|
+
class?: HTMLAttributes["class"]
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
const props = withDefaults(defineProps<SidebarMenuButtonProps>(), {
|
|
17
|
+
as: "button",
|
|
18
|
+
variant: "default",
|
|
19
|
+
size: "default",
|
|
20
|
+
})
|
|
21
|
+
</script>
|
|
22
|
+
|
|
23
|
+
<template>
|
|
24
|
+
<Primitive
|
|
25
|
+
data-slot="sidebar-menu-button"
|
|
26
|
+
data-sidebar="menu-button"
|
|
27
|
+
:data-size="size"
|
|
28
|
+
:data-active="isActive"
|
|
29
|
+
:class="cn(sidebarMenuButtonVariants({ variant, size }), props.class)"
|
|
30
|
+
:as="as"
|
|
31
|
+
:as-child="asChild"
|
|
32
|
+
v-bind="$attrs"
|
|
33
|
+
>
|
|
34
|
+
<slot />
|
|
35
|
+
</Primitive>
|
|
36
|
+
</template>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { HTMLAttributes } from "vue"
|
|
3
|
+
import { cn } from '~/src/runtime/lib/utils'
|
|
4
|
+
|
|
5
|
+
const props = defineProps<{
|
|
6
|
+
class?: HTMLAttributes["class"]
|
|
7
|
+
}>()
|
|
8
|
+
</script>
|
|
9
|
+
|
|
10
|
+
<template>
|
|
11
|
+
<li
|
|
12
|
+
data-slot="sidebar-menu-item"
|
|
13
|
+
data-sidebar="menu-item"
|
|
14
|
+
:class="cn('group/menu-item relative', props.class)"
|
|
15
|
+
>
|
|
16
|
+
<slot />
|
|
17
|
+
</li>
|
|
18
|
+
</template>
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { HTMLAttributes } from "vue"
|
|
3
|
+
import { computed } from "vue"
|
|
4
|
+
import { cn } from '~/src/runtime/lib/utils'
|
|
5
|
+
import { Skeleton } from '~/src/runtime/components/ui/skeleton'
|
|
6
|
+
|
|
7
|
+
const props = defineProps<{
|
|
8
|
+
showIcon?: boolean
|
|
9
|
+
class?: HTMLAttributes["class"]
|
|
10
|
+
}>()
|
|
11
|
+
|
|
12
|
+
const width = computed(() => {
|
|
13
|
+
return `${Math.floor(Math.random() * 40) + 50}%`
|
|
14
|
+
})
|
|
15
|
+
</script>
|
|
16
|
+
|
|
17
|
+
<template>
|
|
18
|
+
<div
|
|
19
|
+
data-slot="sidebar-menu-skeleton"
|
|
20
|
+
data-sidebar="menu-skeleton"
|
|
21
|
+
:class="cn('flex h-8 items-center gap-2 rounded-md px-2', props.class)"
|
|
22
|
+
>
|
|
23
|
+
<Skeleton
|
|
24
|
+
v-if="showIcon"
|
|
25
|
+
class="size-4 rounded-md"
|
|
26
|
+
data-sidebar="menu-skeleton-icon"
|
|
27
|
+
/>
|
|
28
|
+
|
|
29
|
+
<Skeleton
|
|
30
|
+
class="h-4 max-w-(--skeleton-width) flex-1"
|
|
31
|
+
data-sidebar="menu-skeleton-text"
|
|
32
|
+
:style="{ '--skeleton-width': width }"
|
|
33
|
+
/>
|
|
34
|
+
</div>
|
|
35
|
+
</template>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { HTMLAttributes } from "vue"
|
|
3
|
+
import { cn } from '~/src/runtime/lib/utils'
|
|
4
|
+
|
|
5
|
+
const props = defineProps<{
|
|
6
|
+
class?: HTMLAttributes["class"]
|
|
7
|
+
}>()
|
|
8
|
+
</script>
|
|
9
|
+
|
|
10
|
+
<template>
|
|
11
|
+
<ul
|
|
12
|
+
data-slot="sidebar-menu-sub"
|
|
13
|
+
data-sidebar="menu-badge"
|
|
14
|
+
:class="cn(
|
|
15
|
+
'border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5',
|
|
16
|
+
'group-data-[collapsible=icon]:hidden',
|
|
17
|
+
props.class,
|
|
18
|
+
)"
|
|
19
|
+
>
|
|
20
|
+
<slot />
|
|
21
|
+
</ul>
|
|
22
|
+
</template>
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { PrimitiveProps } from "reka-ui"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import { Primitive } from "reka-ui"
|
|
5
|
+
import { cn } from '~/src/runtime/lib/utils'
|
|
6
|
+
|
|
7
|
+
const props = withDefaults(defineProps<PrimitiveProps & {
|
|
8
|
+
size?: "sm" | "md"
|
|
9
|
+
isActive?: boolean
|
|
10
|
+
class?: HTMLAttributes["class"]
|
|
11
|
+
}>(), {
|
|
12
|
+
as: "a",
|
|
13
|
+
size: "md",
|
|
14
|
+
})
|
|
15
|
+
</script>
|
|
16
|
+
|
|
17
|
+
<template>
|
|
18
|
+
<Primitive
|
|
19
|
+
data-slot="sidebar-menu-sub-button"
|
|
20
|
+
data-sidebar="menu-sub-button"
|
|
21
|
+
:as="as"
|
|
22
|
+
:as-child="asChild"
|
|
23
|
+
:data-size="size"
|
|
24
|
+
:data-active="isActive"
|
|
25
|
+
:class="cn(
|
|
26
|
+
'text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-sidebar-accent-foreground flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 outline-hidden focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0',
|
|
27
|
+
'data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground',
|
|
28
|
+
size === 'sm' && 'text-xs',
|
|
29
|
+
size === 'md' && 'text-sm',
|
|
30
|
+
'group-data-[collapsible=icon]:hidden',
|
|
31
|
+
props.class,
|
|
32
|
+
)"
|
|
33
|
+
>
|
|
34
|
+
<slot />
|
|
35
|
+
</Primitive>
|
|
36
|
+
</template>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { HTMLAttributes } from "vue"
|
|
3
|
+
import { cn } from '~/src/runtime/lib/utils'
|
|
4
|
+
|
|
5
|
+
const props = defineProps<{
|
|
6
|
+
class?: HTMLAttributes["class"]
|
|
7
|
+
}>()
|
|
8
|
+
</script>
|
|
9
|
+
|
|
10
|
+
<template>
|
|
11
|
+
<li
|
|
12
|
+
data-slot="sidebar-menu-sub-item"
|
|
13
|
+
data-sidebar="menu-sub-item"
|
|
14
|
+
:class="cn('group/menu-sub-item relative', props.class)"
|
|
15
|
+
>
|
|
16
|
+
<slot />
|
|
17
|
+
</li>
|
|
18
|
+
</template>
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { HTMLAttributes, Ref } from "vue"
|
|
3
|
+
import { defaultDocument, useEventListener, useMediaQuery, useVModel } from "@vueuse/core"
|
|
4
|
+
import { TooltipProvider } from "reka-ui"
|
|
5
|
+
import { computed, ref } from "vue"
|
|
6
|
+
import { cn } from '~/src/runtime/lib/utils'
|
|
7
|
+
import { provideSidebarContext, SIDEBAR_COOKIE_MAX_AGE, SIDEBAR_COOKIE_NAME, SIDEBAR_KEYBOARD_SHORTCUT, SIDEBAR_WIDTH, SIDEBAR_WIDTH_ICON } from "./utils"
|
|
8
|
+
|
|
9
|
+
const props = withDefaults(defineProps<{
|
|
10
|
+
defaultOpen?: boolean
|
|
11
|
+
open?: boolean
|
|
12
|
+
class?: HTMLAttributes["class"]
|
|
13
|
+
}>(), {
|
|
14
|
+
defaultOpen: !defaultDocument?.cookie.includes(`${SIDEBAR_COOKIE_NAME}=false`),
|
|
15
|
+
open: undefined,
|
|
16
|
+
})
|
|
17
|
+
|
|
18
|
+
const emits = defineEmits<{
|
|
19
|
+
"update:open": [open: boolean]
|
|
20
|
+
}>()
|
|
21
|
+
|
|
22
|
+
const isMobile = useMediaQuery("(max-width: 768px)")
|
|
23
|
+
const openMobile = ref(false)
|
|
24
|
+
|
|
25
|
+
const open = useVModel(props, "open", emits, {
|
|
26
|
+
defaultValue: props.defaultOpen ?? false,
|
|
27
|
+
passive: (props.open === undefined) as false,
|
|
28
|
+
}) as Ref<boolean>
|
|
29
|
+
|
|
30
|
+
function setOpen(value: boolean) {
|
|
31
|
+
open.value = value // emits('update:open', value)
|
|
32
|
+
|
|
33
|
+
// This sets the cookie to keep the sidebar state.
|
|
34
|
+
document.cookie = `${SIDEBAR_COOKIE_NAME}=${open.value}; path=/; max-age=${SIDEBAR_COOKIE_MAX_AGE}`
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
function setOpenMobile(value: boolean) {
|
|
38
|
+
openMobile.value = value
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// Helper to toggle the sidebar.
|
|
42
|
+
function toggleSidebar() {
|
|
43
|
+
return isMobile.value ? setOpenMobile(!openMobile.value) : setOpen(!open.value)
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
useEventListener("keydown", (event: KeyboardEvent) => {
|
|
47
|
+
if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
|
|
48
|
+
event.preventDefault()
|
|
49
|
+
toggleSidebar()
|
|
50
|
+
}
|
|
51
|
+
})
|
|
52
|
+
|
|
53
|
+
// We add a state so that we can do data-state="expanded" or "collapsed".
|
|
54
|
+
// This makes it easier to style the sidebar with Tailwind classes.
|
|
55
|
+
const state = computed(() => open.value ? "expanded" : "collapsed")
|
|
56
|
+
|
|
57
|
+
provideSidebarContext({
|
|
58
|
+
state,
|
|
59
|
+
open,
|
|
60
|
+
setOpen,
|
|
61
|
+
isMobile,
|
|
62
|
+
openMobile,
|
|
63
|
+
setOpenMobile,
|
|
64
|
+
toggleSidebar,
|
|
65
|
+
})
|
|
66
|
+
</script>
|
|
67
|
+
|
|
68
|
+
<template>
|
|
69
|
+
<TooltipProvider :delay-duration="0">
|
|
70
|
+
<div
|
|
71
|
+
data-slot="sidebar-wrapper"
|
|
72
|
+
:style="{
|
|
73
|
+
'--sidebar-width': SIDEBAR_WIDTH,
|
|
74
|
+
'--sidebar-width-icon': SIDEBAR_WIDTH_ICON,
|
|
75
|
+
}"
|
|
76
|
+
:class="cn('group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full', props.class)"
|
|
77
|
+
v-bind="$attrs"
|
|
78
|
+
>
|
|
79
|
+
<slot />
|
|
80
|
+
</div>
|
|
81
|
+
</TooltipProvider>
|
|
82
|
+
</template>
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { HTMLAttributes } from "vue"
|
|
3
|
+
import { cn } from '~/src/runtime/lib/utils'
|
|
4
|
+
import { useSidebar } from "./utils"
|
|
5
|
+
|
|
6
|
+
const props = defineProps<{
|
|
7
|
+
class?: HTMLAttributes["class"]
|
|
8
|
+
}>()
|
|
9
|
+
|
|
10
|
+
const { toggleSidebar } = useSidebar()
|
|
11
|
+
</script>
|
|
12
|
+
|
|
13
|
+
<template>
|
|
14
|
+
<button
|
|
15
|
+
data-sidebar="rail"
|
|
16
|
+
data-slot="sidebar-rail"
|
|
17
|
+
aria-label="Toggle Sidebar"
|
|
18
|
+
:tabindex="-1"
|
|
19
|
+
title="Toggle Sidebar"
|
|
20
|
+
:class="cn(
|
|
21
|
+
'hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] sm:flex',
|
|
22
|
+
'in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize',
|
|
23
|
+
'[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize',
|
|
24
|
+
'hover:group-data-[collapsible=offcanvas]:bg-sidebar group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full',
|
|
25
|
+
'[[data-side=left][data-collapsible=offcanvas]_&]:-right-2',
|
|
26
|
+
'[[data-side=right][data-collapsible=offcanvas]_&]:-left-2',
|
|
27
|
+
props.class,
|
|
28
|
+
)"
|
|
29
|
+
@click="toggleSidebar"
|
|
30
|
+
>
|
|
31
|
+
<slot />
|
|
32
|
+
</button>
|
|
33
|
+
</template>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { HTMLAttributes } from "vue"
|
|
3
|
+
import { cn } from '~/src/runtime/lib/utils'
|
|
4
|
+
import { Separator } from '~/src/runtime/components/ui/separator'
|
|
5
|
+
|
|
6
|
+
const props = defineProps<{
|
|
7
|
+
class?: HTMLAttributes["class"]
|
|
8
|
+
}>()
|
|
9
|
+
</script>
|
|
10
|
+
|
|
11
|
+
<template>
|
|
12
|
+
<Separator
|
|
13
|
+
data-slot="sidebar-separator"
|
|
14
|
+
data-sidebar="separator"
|
|
15
|
+
:class="cn('bg-sidebar-border mx-2 w-auto', props.class)"
|
|
16
|
+
>
|
|
17
|
+
<slot />
|
|
18
|
+
</Separator>
|
|
19
|
+
</template>
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { HTMLAttributes } from "vue"
|
|
3
|
+
import { PanelLeft } from "lucide-vue-next"
|
|
4
|
+
import { cn } from '~/src/runtime/lib/utils'
|
|
5
|
+
import { Button } from '~/src/runtime/components/ui/button'
|
|
6
|
+
import { useSidebar } from "./utils"
|
|
7
|
+
|
|
8
|
+
const props = defineProps<{
|
|
9
|
+
class?: HTMLAttributes["class"]
|
|
10
|
+
}>()
|
|
11
|
+
|
|
12
|
+
const { toggleSidebar } = useSidebar()
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<template>
|
|
16
|
+
<Button
|
|
17
|
+
data-sidebar="trigger"
|
|
18
|
+
data-slot="sidebar-trigger"
|
|
19
|
+
variant="ghost"
|
|
20
|
+
size="icon"
|
|
21
|
+
:class="cn('h-7 w-7', props.class)"
|
|
22
|
+
@click="toggleSidebar"
|
|
23
|
+
>
|
|
24
|
+
<PanelLeft />
|
|
25
|
+
<span class="sr-only">Toggle Sidebar</span>
|
|
26
|
+
</Button>
|
|
27
|
+
</template>
|