@bl33dz/fa814698dcde12f86a37ac31dd3aedf9 1.0.6 → 1.0.7
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/README.md +80 -95
- package/dist/fa814698dcde12f86a37ac31dd3aedf9.css +1 -1
- package/dist/perisai-ui.es.js +97 -94
- package/dist/perisai-ui.umd.js +1 -1
- package/package.json +45 -45
- package/src/globals.css +575 -575
- package/src/index.ts +178 -177
- package/src/lib/utils.ts +6 -6
- package/src/shadcn/accordion/Accordion.vue +19 -19
- package/src/shadcn/accordion/AccordionContent.vue +23 -23
- package/src/shadcn/accordion/AccordionItem.vue +23 -23
- package/src/shadcn/accordion/AccordionTrigger.vue +38 -38
- package/src/shadcn/accordion/index.ts +4 -4
- package/src/shadcn/avatar/Avatar.vue +18 -18
- package/src/shadcn/avatar/AvatarFallback.vue +21 -21
- package/src/shadcn/avatar/AvatarImage.vue +16 -16
- package/src/shadcn/avatar/index.ts +3 -3
- package/src/shadcn/breadcrumb/Breadcrumb.vue +8 -8
- package/src/shadcn/breadcrumb/BreadcrumbEllipsis.vue +9 -9
- package/src/shadcn/breadcrumb/BreadcrumbItem.vue +8 -8
- package/src/shadcn/breadcrumb/BreadcrumbLink.vue +8 -8
- package/src/shadcn/breadcrumb/BreadcrumbList.vue +8 -8
- package/src/shadcn/breadcrumb/BreadcrumbPage.vue +8 -8
- package/src/shadcn/breadcrumb/BreadcrumbSeparator.vue +8 -8
- package/src/shadcn/breadcrumb/index.ts +7 -7
- package/src/shadcn/button/Button.vue +29 -29
- package/src/shadcn/button/index.ts +38 -38
- package/src/shadcn/calendar/Calendar.vue +64 -64
- package/src/shadcn/calendar/CalendarCell.vue +23 -23
- package/src/shadcn/calendar/CalendarCellTrigger.vue +39 -39
- package/src/shadcn/calendar/CalendarGrid.vue +23 -23
- package/src/shadcn/calendar/CalendarGridBody.vue +15 -15
- package/src/shadcn/calendar/CalendarGridHead.vue +16 -16
- package/src/shadcn/calendar/CalendarGridRow.vue +22 -22
- package/src/shadcn/calendar/CalendarHeadCell.vue +23 -23
- package/src/shadcn/calendar/CalendarHeader.vue +23 -23
- package/src/shadcn/calendar/CalendarHeading.vue +30 -30
- package/src/shadcn/calendar/CalendarNextButton.vue +32 -32
- package/src/shadcn/calendar/CalendarPrevButton.vue +32 -32
- package/src/shadcn/calendar/index.ts +12 -12
- package/src/shadcn/card/Card.vue +8 -8
- package/src/shadcn/card/CardContent.vue +8 -8
- package/src/shadcn/card/CardDescription.vue +8 -8
- package/src/shadcn/card/CardHeader.vue +8 -8
- package/src/shadcn/card/CardTitle.vue +8 -8
- package/src/shadcn/card/index.ts +5 -5
- package/src/shadcn/checkbox/Checkbox.vue +38 -38
- package/src/shadcn/checkbox/index.ts +1 -1
- package/src/shadcn/command/Command.vue +87 -87
- package/src/shadcn/command/CommandDialog.vue +31 -31
- package/src/shadcn/command/CommandEmpty.vue +27 -27
- package/src/shadcn/command/CommandGroup.vue +45 -45
- package/src/shadcn/command/CommandInput.vue +39 -39
- package/src/shadcn/command/CommandItem.vue +76 -76
- package/src/shadcn/command/CommandList.vue +25 -25
- package/src/shadcn/command/CommandSeparator.vue +21 -21
- package/src/shadcn/command/CommandShortcut.vue +17 -17
- package/src/shadcn/command/index.ts +25 -25
- package/src/shadcn/context-menu/ContextMenu.vue +18 -18
- package/src/shadcn/context-menu/ContextMenuCheckboxItem.vue +38 -38
- package/src/shadcn/context-menu/ContextMenuContent.vue +34 -34
- package/src/shadcn/context-menu/ContextMenuGroup.vue +15 -15
- package/src/shadcn/context-menu/ContextMenuItem.vue +39 -39
- package/src/shadcn/context-menu/ContextMenuLabel.vue +22 -22
- package/src/shadcn/context-menu/ContextMenuPortal.vue +15 -15
- package/src/shadcn/context-menu/ContextMenuRadioGroup.vue +22 -22
- package/src/shadcn/context-menu/ContextMenuRadioItem.vue +38 -38
- package/src/shadcn/context-menu/ContextMenuSeparator.vue +22 -22
- package/src/shadcn/context-menu/ContextMenuShortcut.vue +17 -17
- package/src/shadcn/context-menu/ContextMenuSub.vue +22 -22
- package/src/shadcn/context-menu/ContextMenuSubContent.vue +33 -33
- package/src/shadcn/context-menu/ContextMenuSubTrigger.vue +33 -33
- package/src/shadcn/context-menu/ContextMenuTrigger.vue +17 -17
- package/src/shadcn/context-menu/index.ts +15 -15
- package/src/shadcn/dialog/Dialog.vue +18 -18
- package/src/shadcn/dialog/DialogClose.vue +15 -15
- package/src/shadcn/dialog/DialogContent.vue +46 -46
- package/src/shadcn/dialog/DialogDescription.vue +23 -23
- package/src/shadcn/dialog/DialogFooter.vue +15 -15
- package/src/shadcn/dialog/DialogHeader.vue +17 -17
- package/src/shadcn/dialog/DialogOverlay.vue +21 -21
- package/src/shadcn/dialog/DialogScrollContent.vue +56 -56
- package/src/shadcn/dialog/DialogTitle.vue +23 -23
- package/src/shadcn/dialog/DialogTrigger.vue +15 -15
- package/src/shadcn/dialog/index.ts +10 -10
- package/src/shadcn/dropdown-menu/DropdownMenu.vue +18 -18
- package/src/shadcn/dropdown-menu/DropdownMenuCheckboxItem.vue +38 -38
- package/src/shadcn/dropdown-menu/DropdownMenuContent.vue +36 -36
- package/src/shadcn/dropdown-menu/DropdownMenuGroup.vue +15 -15
- package/src/shadcn/dropdown-menu/DropdownMenuItem.vue +31 -31
- package/src/shadcn/dropdown-menu/DropdownMenuLabel.vue +23 -23
- package/src/shadcn/dropdown-menu/DropdownMenuRadioGroup.vue +22 -22
- package/src/shadcn/dropdown-menu/DropdownMenuRadioItem.vue +39 -39
- package/src/shadcn/dropdown-menu/DropdownMenuSeparator.vue +24 -24
- package/src/shadcn/dropdown-menu/DropdownMenuShortcut.vue +17 -17
- package/src/shadcn/dropdown-menu/DropdownMenuSub.vue +19 -19
- package/src/shadcn/dropdown-menu/DropdownMenuSubContent.vue +28 -28
- package/src/shadcn/dropdown-menu/DropdownMenuSubTrigger.vue +31 -31
- package/src/shadcn/dropdown-menu/DropdownMenuTrigger.vue +17 -17
- package/src/shadcn/dropdown-menu/index.ts +16 -16
- package/src/shadcn/menubar/Menubar.vue +33 -33
- package/src/shadcn/menubar/MenubarCheckboxItem.vue +38 -38
- package/src/shadcn/menubar/MenubarContent.vue +42 -42
- package/src/shadcn/menubar/MenubarGroup.vue +15 -15
- package/src/shadcn/menubar/MenubarItem.vue +37 -37
- package/src/shadcn/menubar/MenubarLabel.vue +20 -20
- package/src/shadcn/menubar/MenubarMenu.vue +15 -15
- package/src/shadcn/menubar/MenubarPortal.vue +5 -5
- package/src/shadcn/menubar/MenubarRadioGroup.vue +22 -22
- package/src/shadcn/menubar/MenubarRadioItem.vue +38 -38
- package/src/shadcn/menubar/MenubarSeparator.vue +21 -21
- package/src/shadcn/menubar/MenubarShortcut.vue +17 -17
- package/src/shadcn/menubar/MenubarSub.vue +23 -23
- package/src/shadcn/menubar/MenubarSubContent.vue +36 -36
- package/src/shadcn/menubar/MenubarSubTrigger.vue +28 -28
- package/src/shadcn/menubar/MenubarTrigger.vue +28 -28
- package/src/shadcn/menubar/index.ts +15 -15
- package/src/shadcn/navigation-menu/NavigationMenu.vue +35 -35
- package/src/shadcn/navigation-menu/NavigationMenuContent.vue +31 -31
- package/src/shadcn/navigation-menu/NavigationMenuIndicator.vue +23 -23
- package/src/shadcn/navigation-menu/NavigationMenuItem.vue +21 -21
- package/src/shadcn/navigation-menu/NavigationMenuLink.vue +26 -26
- package/src/shadcn/navigation-menu/NavigationMenuList.vue +28 -28
- package/src/shadcn/navigation-menu/NavigationMenuTrigger.vue +24 -24
- package/src/shadcn/navigation-menu/NavigationMenuViewport.vue +31 -31
- package/src/shadcn/navigation-menu/index.ts +14 -14
- package/src/shadcn/pagination/Pagination.vue +151 -151
- package/src/shadcn/pagination/PaginationContent.vue +22 -22
- package/src/shadcn/pagination/PaginationEllipsis.vue +25 -25
- package/src/shadcn/pagination/PaginationFirst.vue +33 -33
- package/src/shadcn/pagination/PaginationItem.vue +31 -31
- package/src/shadcn/pagination/PaginationLast.vue +33 -33
- package/src/shadcn/pagination/PaginationLink.vue +13 -13
- package/src/shadcn/pagination/PaginationNext.vue +22 -22
- package/src/shadcn/pagination/PaginationPrevious.vue +33 -33
- package/src/shadcn/pagination/index.ts +9 -9
- package/src/shadcn/popover/Popover.vue +18 -18
- package/src/shadcn/popover/PopoverAnchor.vue +15 -15
- package/src/shadcn/popover/PopoverContent.vue +46 -46
- package/src/shadcn/popover/PopoverTrigger.vue +15 -15
- package/src/shadcn/popover/index.ts +4 -4
- package/src/shadcn/radio-group/RadioGroup.vue +24 -24
- package/src/shadcn/radio-group/RadioGroupItem.vue +39 -39
- package/src/shadcn/radio-group/index.ts +2 -2
- package/src/shadcn/range-calendar/RangeCalendar.vue +71 -71
- package/src/shadcn/range-calendar/RangeCalendarCell.vue +23 -23
- package/src/shadcn/range-calendar/RangeCalendarCellTrigger.vue +41 -41
- package/src/shadcn/range-calendar/RangeCalendarGrid.vue +23 -23
- package/src/shadcn/range-calendar/RangeCalendarGridBody.vue +15 -15
- package/src/shadcn/range-calendar/RangeCalendarGridHead.vue +15 -15
- package/src/shadcn/range-calendar/RangeCalendarGridRow.vue +22 -22
- package/src/shadcn/range-calendar/RangeCalendarHeadCell.vue +23 -23
- package/src/shadcn/range-calendar/RangeCalendarHeader.vue +23 -23
- package/src/shadcn/range-calendar/RangeCalendarHeading.vue +30 -30
- package/src/shadcn/range-calendar/RangeCalendarNextButton.vue +32 -32
- package/src/shadcn/range-calendar/RangeCalendarPrevButton.vue +32 -32
- package/src/shadcn/range-calendar/index.ts +12 -12
- package/src/shadcn/select/Select.vue +18 -18
- package/src/shadcn/select/SelectContent.vue +52 -52
- package/src/shadcn/select/SelectGroup.vue +15 -15
- package/src/shadcn/select/SelectItem.vue +43 -43
- package/src/shadcn/select/SelectItemText.vue +15 -15
- package/src/shadcn/select/SelectLabel.vue +17 -17
- package/src/shadcn/select/SelectScrollDownButton.vue +26 -26
- package/src/shadcn/select/SelectScrollUpButton.vue +26 -26
- package/src/shadcn/select/SelectSeparator.vue +19 -19
- package/src/shadcn/select/SelectTrigger.vue +33 -33
- package/src/shadcn/select/SelectValue.vue +15 -15
- package/src/shadcn/select/index.ts +11 -11
- package/src/shadcn/separator/Separator.vue +31 -31
- package/src/shadcn/separator/index.ts +1 -1
- package/src/shadcn/sidebar/MenuGroup.vue +28 -28
- package/src/shadcn/sidebar/MenuItemRenderer.vue +23 -23
- package/src/shadcn/sidebar/Sidebar.vue +14 -14
- package/src/shadcn/sidebar/SidebarDemoContent.vue +26 -26
- package/src/shadcn/sidebar/SidebarMenuGroupWithLabel.vue +29 -29
- package/src/shadcn/sidebar/SidebarMenuItemWithIcon.vue +103 -103
- package/src/shadcn/sidebar/SidebarMenuSub.vue +10 -10
- package/src/shadcn/sidebar/SidebarMenuSubItemStyled.vue +38 -38
- package/src/shadcn/sidebar/SidebarTrigger.vue +8 -8
- package/src/shadcn/sidebar/index.ts +5 -5
- package/src/shadcn/slider/Slider.vue +43 -43
- package/src/shadcn/slider/index.ts +1 -1
- package/src/shadcn/sonner/Sonner.vue +19 -19
- package/src/shadcn/sonner/index.ts +1 -1
- package/src/shadcn/spinner/Spinner.vue +17 -17
- package/src/shadcn/spinner/index.ts +1 -1
- package/src/shadcn/switch/Switch.vue +38 -38
- package/src/shadcn/switch/index.ts +1 -1
- package/src/shadcn/tabs/CardTabsContent.vue +16 -16
- package/src/shadcn/tabs/CornerCutTabsTrigger.vue +102 -102
- package/src/shadcn/tabs/GridTabsList.vue +30 -30
- package/src/shadcn/tabs/ScrollableTabsList.vue +8 -8
- package/src/shadcn/tabs/Tabs.vue +23 -23
- package/src/shadcn/tabs/TabsContent.vue +21 -21
- package/src/shadcn/tabs/TabsList.vue +24 -24
- package/src/shadcn/tabs/TabsTrigger.vue +30 -30
- package/src/shadcn/tabs/VerticalTabsList.vue +28 -28
- package/src/shadcn/tabs/VerticalTabsTrigger.vue +16 -16
- package/src/shadcn/tabs/index.ts +10 -10
- package/src/shadcn/toggle/Toggle.vue +35 -35
- package/src/shadcn/toggle/index.ts +28 -28
- package/src/shadcn/tooltip/Tooltip.vue +18 -18
- package/src/shadcn/tooltip/TooltipContent.vue +34 -34
- package/src/shadcn/tooltip/TooltipProvider.vue +14 -14
- package/src/shadcn/tooltip/TooltipTrigger.vue +15 -15
- package/src/shadcn/tooltip/index.ts +4 -4
- package/src/shadcn/tree/index.ts +2 -0
- package/src/ui/InputOTP.vue +69 -69
- package/src/ui/InputOTPContext.ts +9 -9
- package/src/ui/InputOTPGroup.vue +7 -7
- package/src/ui/InputOTPSeparator.vue +8 -8
- package/src/ui/InputOTPSlot.vue +61 -61
- package/src/ui/PopoverContent.vue +27 -27
- package/src/ui/PopoverTrigger.vue +9 -9
- package/src/ui/SelectContent.vue +23 -23
- package/src/ui/SelectGroup.vue +12 -12
- package/src/ui/SelectItem.vue +25 -25
- package/src/ui/SelectLabel.vue +16 -16
- package/src/ui/SelectSeparator.vue +17 -17
- package/src/ui/SelectTrigger.vue +22 -22
- package/src/ui/SelectValue.vue +9 -9
- package/src/ui/SheetContent.vue +34 -34
- package/src/ui/SheetDescription.vue +9 -9
- package/src/ui/SheetHeader.vue +11 -11
- package/src/ui/SheetTitle.vue +9 -9
- package/src/ui/accordion-content.vue +21 -21
- package/src/ui/accordion-item.vue +18 -18
- package/src/ui/accordion-trigger.vue +14 -14
- package/src/ui/accordion.vue +9 -9
- package/src/ui/alert-actions.vue +13 -13
- package/src/ui/alert-description.vue +13 -13
- package/src/ui/alert-title.vue +13 -13
- package/src/ui/alert.vue +63 -63
- package/src/ui/avatar-fallback.vue +38 -38
- package/src/ui/avatar-group.vue +32 -32
- package/src/ui/avatar-image.vue +19 -19
- package/src/ui/avatar.vue +32 -32
- package/src/ui/badge.vue +90 -90
- package/src/ui/breadcrumb-item.vue +11 -11
- package/src/ui/breadcrumb-separator.vue +9 -9
- package/src/ui/breadcrumb.vue +11 -11
- package/src/ui/button.vue +76 -76
- package/src/ui/card-content.vue +16 -16
- package/src/ui/card-description.vue +16 -16
- package/src/ui/card-footer.vue +13 -13
- package/src/ui/card-header.vue +19 -19
- package/src/ui/card-title.vue +16 -16
- package/src/ui/card.vue +73 -73
- package/src/ui/category-breakdown-metric.vue +205 -205
- package/src/ui/checkbox.vue +84 -84
- package/src/ui/cn.ts +6 -6
- package/src/ui/dialog-body.vue +13 -13
- package/src/ui/dialog-close.vue +9 -9
- package/src/ui/dialog-content.vue +36 -36
- package/src/ui/dialog-description.vue +13 -13
- package/src/ui/dialog-footer.vue +13 -13
- package/src/ui/dialog-header.vue +13 -13
- package/src/ui/dialog-overlay.vue +14 -14
- package/src/ui/dialog-portal.vue +9 -9
- package/src/ui/dialog-title.vue +13 -13
- package/src/ui/dialog-trigger.vue +9 -9
- package/src/ui/dialog.vue +9 -9
- package/src/ui/dismissible-badges-demo.vue +94 -94
- package/src/ui/drawer-content.vue +53 -53
- package/src/ui/drawer-description.vue +23 -23
- package/src/ui/drawer-footer.vue +22 -22
- package/src/ui/drawer-header.vue +22 -22
- package/src/ui/drawer-title.vue +23 -23
- package/src/ui/drawer-trigger.vue +23 -23
- package/src/ui/drawer.vue +34 -34
- package/src/ui/dropdown-menu-checkbox-item.vue +27 -27
- package/src/ui/dropdown-menu-content.vue +23 -23
- package/src/ui/dropdown-menu-group.vue +7 -7
- package/src/ui/dropdown-menu-item.vue +19 -19
- package/src/ui/dropdown-menu-label.vue +17 -17
- package/src/ui/dropdown-menu-portal.vue +8 -8
- package/src/ui/dropdown-menu-radio-group.vue +14 -14
- package/src/ui/dropdown-menu-radio-item.vue +30 -30
- package/src/ui/dropdown-menu-separator.vue +13 -13
- package/src/ui/dropdown-menu-shortcut.vue +15 -15
- package/src/ui/dropdown-menu-sub-content.vue +8 -8
- package/src/ui/dropdown-menu-sub-trigger.vue +8 -8
- package/src/ui/dropdown-menu-sub.vue +8 -8
- package/src/ui/dropdown-menu-trigger.vue +8 -8
- package/src/ui/dropdown-menu.vue +9 -9
- package/src/ui/grouped-avatar.vue +19 -19
- package/src/ui/icons/Accessibility.vue +7 -7
- package/src/ui/icons/AlignLeft.vue +6 -6
- package/src/ui/icons/ArrowDown.vue +7 -7
- package/src/ui/icons/ArrowUp.vue +7 -7
- package/src/ui/icons/ArrowUpDown.vue +8 -8
- package/src/ui/icons/BookOpen.vue +6 -6
- package/src/ui/icons/Calendar.vue +9 -9
- package/src/ui/icons/Check.vue +6 -6
- package/src/ui/icons/ChevronRight.vue +6 -6
- package/src/ui/icons/Circle.vue +6 -6
- package/src/ui/icons/Copy.vue +7 -7
- package/src/ui/icons/Dot.vue +6 -6
- package/src/ui/icons/Edit.vue +6 -6
- package/src/ui/icons/FileText.vue +9 -9
- package/src/ui/icons/Folder.vue +6 -6
- package/src/ui/icons/FolderOpen.vue +7 -7
- package/src/ui/icons/Hash.vue +6 -6
- package/src/ui/icons/Home.vue +6 -6
- package/src/ui/icons/Minus.vue +6 -6
- package/src/ui/icons/MoreHorizontal.vue +8 -8
- package/src/ui/icons/Settings.vue +7 -7
- package/src/ui/icons/Slash.vue +6 -6
- package/src/ui/icons/Trash2.vue +6 -6
- package/src/ui/icons/Type.vue +6 -6
- package/src/ui/icons/User.vue +7 -7
- package/src/ui/input-otp.vue +52 -52
- package/src/ui/input.vue +98 -98
- package/src/ui/label.vue +19 -19
- package/src/ui/pagination.vue +41 -41
- package/src/ui/popover.vue +9 -9
- package/src/ui/progress.vue +67 -67
- package/src/ui/radio-group-item.vue +53 -53
- package/src/ui/radio-group.vue +27 -27
- package/src/ui/scrollable-tabs-list.vue +148 -148
- package/src/ui/select-multiple.vue +135 -135
- package/src/ui/select.vue +77 -77
- package/src/ui/separator.vue +60 -60
- package/src/ui/sheet.vue +50 -50
- package/src/ui/sidebar/BaseSidebar.vue +97 -97
- package/src/ui/sidebar/BasicSearch.vue +27 -27
- package/src/ui/sidebar/ResponsiveSearch.vue +54 -54
- package/src/ui/sidebar/Sidebar.vue +227 -227
- package/src/ui/sidebar/SidebarCollapseButton.vue +10 -10
- package/src/ui/sidebar/SidebarContent.vue +31 -31
- package/src/ui/sidebar/SidebarDescription.vue +10 -10
- package/src/ui/sidebar/SidebarExpandButton.vue +10 -10
- package/src/ui/sidebar/SidebarFooter.vue +10 -10
- package/src/ui/sidebar/SidebarGroup.vue +11 -11
- package/src/ui/sidebar/SidebarGroupContent.vue +10 -10
- package/src/ui/sidebar/SidebarGroupLabel.vue +7 -7
- package/src/ui/sidebar/SidebarHeader.vue +10 -10
- package/src/ui/sidebar/SidebarInset.vue +19 -19
- package/src/ui/sidebar/SidebarMenu.vue +7 -7
- package/src/ui/sidebar/SidebarMenuBadge.vue +7 -7
- package/src/ui/sidebar/SidebarMenuButton.vue +17 -17
- package/src/ui/sidebar/SidebarMenuItem.vue +10 -10
- package/src/ui/sidebar/SidebarMenuSub.vue +18 -18
- package/src/ui/sidebar/SidebarMenuSubContent.vue +10 -10
- package/src/ui/sidebar/SidebarMenuSubItem.vue +10 -10
- package/src/ui/sidebar/SidebarMenuSubTrigger.vue +10 -10
- package/src/ui/sidebar/SidebarProvider.vue +108 -108
- package/src/ui/sidebar/SidebarScrollArea.vue +10 -10
- package/src/ui/sidebar/SidebarSection.vue +10 -10
- package/src/ui/sidebar/SidebarSeparator.vue +8 -8
- package/src/ui/sidebar/SidebarShortcut.vue +10 -10
- package/src/ui/sidebar/SidebarTitle.vue +10 -10
- package/src/ui/sidebar/SidebarTrigger.vue +27 -27
- package/src/ui/sidebar/Wrapper.vue +12 -12
- package/src/ui/sidebar/context.ts +8 -8
- package/src/ui/sidebar/index.ts +27 -27
- package/src/ui/sidebar/sidebarStore.ts +40 -40
- package/src/ui/sidebar/types.ts +30 -30
- package/src/ui/sidebar/useAutoCollapse.ts +81 -81
- package/src/ui/sidebar.vue +24 -24
- package/src/ui/skeleton.vue +15 -15
- package/src/ui/slider.vue +32 -32
- package/src/ui/sonner.vue +67 -67
- package/src/ui/switch.vue +33 -33
- package/src/ui/tab-content.vue +28 -28
- package/src/ui/tab-list.vue +31 -31
- package/src/ui/tab-panel.vue +19 -19
- package/src/ui/tab-trigger.vue +34 -34
- package/src/ui/tab.vue +30 -30
- package/src/ui/table-body.vue +16 -16
- package/src/ui/table-caption.vue +20 -20
- package/src/ui/table-cell.vue +16 -16
- package/src/ui/table-footer.vue +16 -16
- package/src/ui/table-header.vue +132 -132
- package/src/ui/table-row.vue +16 -16
- package/src/ui/table.vue +55 -55
- package/src/ui/tabs.vue +33 -33
- package/src/ui/textarea.vue +91 -91
- package/src/ui/threat-gauge.vue +137 -137
- package/src/ui/toggle.vue +69 -69
- package/src/ui/tooltip-content.vue +52 -52
- package/src/ui/tooltip-provider.vue +13 -13
- package/src/ui/tooltip-root.vue +9 -9
- package/src/ui/tooltip-trigger.vue +13 -13
- package/src/ui/tooltip.vue +22 -22
- package/src/ui/utils.ts +6 -6
- package/vite.config.ts +39 -39
package/dist/perisai-ui.es.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { defineComponent as p, createElementBlock as l, openBlock as o, renderSlot as i, createVNode as h, createElementVNode as d, unref as a, createBlock as m, mergeProps as g, withCtx as u, computed as x, isRef as ue, reactive as Pe, toRefs as we, getCurrentInstance as mt, ref as V, watch as Y, nextTick as We, normalizeClass as w, useSlots as ae, defineAsyncComponent as gt, provide as de, resolveDynamicComponent as J, createCommentVNode as B, toDisplayString as I, useAttrs as j, withModifiers as bt, normalizeStyle as E, normalizeProps as oe, guardReactiveProps as re, Fragment as U, renderList as G, createTextVNode as F, resolveComponent as me, inject as ge, onMounted as $e, onBeforeUnmount as vt, h as te, Teleport as ht, Transition as Ve, onUnmounted as pe, TransitionGroup as _t, withDirectives as yt, vShow as xt } from "vue";
|
|
2
|
-
import { MoreHorizontal as wt, ChevronDown as Se, Loader2Icon as $t, Minus as kt, ChevronUp as St, X as be, CheckCircle as ve, AlertCircle as Ge, Loader2 as Ct, CircleIcon as Bt, Search as ke, User as zt, PanelLeft as Mt, Lock as It, Unlock as
|
|
2
|
+
import { MoreHorizontal as wt, ChevronDown as Se, Loader2Icon as $t, Minus as kt, ChevronUp as St, X as be, CheckCircle as ve, AlertCircle as Ge, Loader2 as Ct, CircleIcon as Bt, Search as ke, User as zt, PanelLeft as Mt, Lock as It, Unlock as Tt, ArrowUpDown as Dt, ArrowDown as Pt, ArrowUp as Vt } from "lucide-vue-next";
|
|
3
3
|
import { useForwardPropsEmits as W, AccordionRoot as At, AccordionContent as Ot, useForwardProps as Z, AccordionItem as jt, AccordionHeader as Lt, AccordionTrigger as Rt, PopoverPortal as Ft, PopoverContent as Nt, PopoverRoot as Et, PopoverTrigger as Ut, SelectRoot as Ht, SelectPortal as Wt, SelectContent as Gt, SelectViewport as qt, SelectScrollDownButton as Kt, SelectScrollUpButton as Xt, SelectTrigger as Jt, SelectIcon as Zt, SelectValue as Yt, SelectSeparator as Qt, AvatarRoot as es, AvatarFallback as ts, AvatarImage as ss, TooltipRoot as as, TooltipPortal as os, TooltipContent as rs, TooltipArrow as ns, TooltipProvider as ls, TooltipTrigger as is, DialogClose as Ce, DialogRoot as ds, DialogOverlay as qe, DialogPortal as Ke, DialogContent as cs, DialogDescription as us, DialogTitle as ps, DialogTrigger as fs, DropdownMenuRoot as ms, DropdownMenuPortal as Xe, DropdownMenuContent as gs, DropdownMenuTrigger as bs, RadioGroupRoot as vs, RadioGroupItem as hs, RadioGroupIndicator as _s, TabsRoot as ys, TabsContent as xs, TabsList as ws, TabsTrigger as $s, Separator as ks, Toggle as Ss } from "reka-ui";
|
|
4
|
+
import { default as bu, default as vu } from "reka-ui";
|
|
4
5
|
import { clsx as Be } from "clsx";
|
|
5
6
|
import { twMerge as ze } from "tailwind-merge";
|
|
6
7
|
import { DrawerPortal as Cs, DrawerOverlay as Bs, DrawerContent as zs, DrawerTrigger as Ms, DrawerRoot as Is } from "vaul-vue";
|
|
7
|
-
import { OTPInput as
|
|
8
|
-
import { cva as
|
|
8
|
+
import { OTPInput as Ts } from "input-otp";
|
|
9
|
+
import { cva as Ds } from "class-variance-authority";
|
|
9
10
|
const Ps = {
|
|
10
11
|
"data-slot": "breadcrumb-list",
|
|
11
12
|
class: "text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5"
|
|
@@ -19,7 +20,7 @@ const Ps = {
|
|
|
19
20
|
}), Vs = {
|
|
20
21
|
"data-slot": "breadcrumb-link",
|
|
21
22
|
class: "hover:text-foreground transition-colors"
|
|
22
|
-
},
|
|
23
|
+
}, Ti = /* @__PURE__ */ p({
|
|
23
24
|
__name: "BreadcrumbLink",
|
|
24
25
|
setup(t) {
|
|
25
26
|
return (e, s) => (o(), l("a", Vs, [
|
|
@@ -32,7 +33,7 @@ const Ps = {
|
|
|
32
33
|
"aria-disabled": "true",
|
|
33
34
|
"aria-current": "page",
|
|
34
35
|
class: "text-foreground font-normal"
|
|
35
|
-
},
|
|
36
|
+
}, Di = /* @__PURE__ */ p({
|
|
36
37
|
__name: "BreadcrumbPage",
|
|
37
38
|
setup(t) {
|
|
38
39
|
return (e, s) => (o(), l("span", As, [
|
|
@@ -136,20 +137,20 @@ function Us(t, e, s, r = {}) {
|
|
|
136
137
|
$ ? $(N) && M(P, N) : M(P, N);
|
|
137
138
|
};
|
|
138
139
|
if (k) {
|
|
139
|
-
const N = q(),
|
|
140
|
+
const N = q(), D = V(N);
|
|
140
141
|
let A = !1;
|
|
141
142
|
return Y(
|
|
142
143
|
() => t[e],
|
|
143
144
|
(O) => {
|
|
144
|
-
A || (A = !0,
|
|
145
|
+
A || (A = !0, D.value = R(O), We(() => A = !1));
|
|
145
146
|
}
|
|
146
147
|
), Y(
|
|
147
|
-
|
|
148
|
+
D,
|
|
148
149
|
(O) => {
|
|
149
150
|
!A && (O !== t[e] || _) && K(O);
|
|
150
151
|
},
|
|
151
152
|
{ deep: _ }
|
|
152
|
-
),
|
|
153
|
+
), D;
|
|
153
154
|
} else
|
|
154
155
|
return x({
|
|
155
156
|
get() {
|
|
@@ -1587,7 +1588,7 @@ const Wi = {
|
|
|
1587
1588
|
}), Ba = {
|
|
1588
1589
|
key: 0,
|
|
1589
1590
|
class: "relative w-full h-[75px] flex items-center justify-center bg-gray-800 rounded-md"
|
|
1590
|
-
}, za = { class: "relative w-full h-[75px] cursor-help select-none" }, Ma = { key: 0 }, Ia = { class: "leading-[16px] text-[12px] text-muted-foreground" },
|
|
1591
|
+
}, za = { class: "relative w-full h-[75px] cursor-help select-none" }, Ma = { key: 0 }, Ia = { class: "leading-[16px] text-[12px] text-muted-foreground" }, Ta = { class: "leading-[16px] text-[12px] text-muted-foreground" }, Da = {
|
|
1591
1592
|
class: "flex-none",
|
|
1592
1593
|
style: { rotate: "90deg" }
|
|
1593
1594
|
}, Pa = { class: "h-0 relative w-[75px]" }, Va = { class: "absolute bottom-0 left-0 right-0 top-[-1px]" }, Aa = {
|
|
@@ -1691,7 +1692,7 @@ const Wi = {
|
|
|
1691
1692
|
textAlign: 100 - v.boundaryPosition < 6 ? "right" : "left"
|
|
1692
1693
|
})
|
|
1693
1694
|
}, [
|
|
1694
|
-
d("p",
|
|
1695
|
+
d("p", Ta, I(v.label || v.name), 1),
|
|
1695
1696
|
d("p", {
|
|
1696
1697
|
class: "leading-[20px] text-[24px]",
|
|
1697
1698
|
style: E({ color: v.color })
|
|
@@ -1707,7 +1708,7 @@ const Wi = {
|
|
|
1707
1708
|
class: "absolute flex h-[75px] items-center justify-center top-0 w-[0px] overflow-visible",
|
|
1708
1709
|
style: E({ left: n.value.slice(0, $).reduce((S, M) => S + M.percentage, 0) + "%" })
|
|
1709
1710
|
}, [
|
|
1710
|
-
d("div",
|
|
1711
|
+
d("div", Da, [
|
|
1711
1712
|
d("div", Pa, [
|
|
1712
1713
|
d("div", Va, [
|
|
1713
1714
|
(o(), l("svg", Aa, [
|
|
@@ -1808,7 +1809,7 @@ const Wi = {
|
|
|
1808
1809
|
i(s.$slots, "default")
|
|
1809
1810
|
], 16));
|
|
1810
1811
|
}
|
|
1811
|
-
},
|
|
1812
|
+
}, T = (t, e) => {
|
|
1812
1813
|
const s = t.__vccOpts || t;
|
|
1813
1814
|
for (const [r, n] of e)
|
|
1814
1815
|
s[r] = n;
|
|
@@ -1830,7 +1831,7 @@ function eo(t, e) {
|
|
|
1830
1831
|
}, null, -1)
|
|
1831
1832
|
])]);
|
|
1832
1833
|
}
|
|
1833
|
-
const ce = /* @__PURE__ */
|
|
1834
|
+
const ce = /* @__PURE__ */ T(Ya, [["render", eo]]), to = {
|
|
1834
1835
|
key: 0,
|
|
1835
1836
|
class: "space-y-2"
|
|
1836
1837
|
}, so = { class: "flex items-center space-x-2" }, ao = { class: "relative flex items-center" }, oo = ["checked", "disabled", "aria-invalid"], ro = {
|
|
@@ -2408,7 +2409,7 @@ const ce = /* @__PURE__ */ D(Ya, [["render", eo]]), to = {
|
|
|
2408
2409
|
_: 3
|
|
2409
2410
|
}));
|
|
2410
2411
|
}
|
|
2411
|
-
}, wd = /* @__PURE__ */
|
|
2412
|
+
}, wd = /* @__PURE__ */ T(Io, [["__scopeId", "data-v-784fd8dc"]]), To = {
|
|
2412
2413
|
__name: "drawer-description",
|
|
2413
2414
|
props: {
|
|
2414
2415
|
class: String
|
|
@@ -2428,7 +2429,7 @@ const ce = /* @__PURE__ */ D(Ya, [["render", eo]]), to = {
|
|
|
2428
2429
|
}, 16, ["class"]);
|
|
2429
2430
|
};
|
|
2430
2431
|
}
|
|
2431
|
-
}, $d = /* @__PURE__ */
|
|
2432
|
+
}, $d = /* @__PURE__ */ T(To, [["__scopeId", "data-v-a79f808c"]]), Do = {
|
|
2432
2433
|
__name: "drawer-footer",
|
|
2433
2434
|
props: {
|
|
2434
2435
|
class: String
|
|
@@ -2442,7 +2443,7 @@ const ce = /* @__PURE__ */ D(Ya, [["render", eo]]), to = {
|
|
|
2442
2443
|
i(s.$slots, "default", {}, void 0, !0)
|
|
2443
2444
|
], 2));
|
|
2444
2445
|
}
|
|
2445
|
-
}, kd = /* @__PURE__ */
|
|
2446
|
+
}, kd = /* @__PURE__ */ T(Do, [["__scopeId", "data-v-6f042498"]]), Po = {
|
|
2446
2447
|
__name: "drawer-header",
|
|
2447
2448
|
props: {
|
|
2448
2449
|
class: String
|
|
@@ -2456,7 +2457,7 @@ const ce = /* @__PURE__ */ D(Ya, [["render", eo]]), to = {
|
|
|
2456
2457
|
i(s.$slots, "default", {}, void 0, !0)
|
|
2457
2458
|
], 2));
|
|
2458
2459
|
}
|
|
2459
|
-
}, Sd = /* @__PURE__ */
|
|
2460
|
+
}, Sd = /* @__PURE__ */ T(Po, [["__scopeId", "data-v-cbc09128"]]), Vo = {
|
|
2460
2461
|
__name: "drawer-title",
|
|
2461
2462
|
props: {
|
|
2462
2463
|
class: String
|
|
@@ -2476,7 +2477,7 @@ const ce = /* @__PURE__ */ D(Ya, [["render", eo]]), to = {
|
|
|
2476
2477
|
}, 16, ["class"]);
|
|
2477
2478
|
};
|
|
2478
2479
|
}
|
|
2479
|
-
}, Cd = /* @__PURE__ */
|
|
2480
|
+
}, Cd = /* @__PURE__ */ T(Vo, [["__scopeId", "data-v-4bf18d63"]]), Ao = {
|
|
2480
2481
|
__name: "drawer-trigger",
|
|
2481
2482
|
props: {
|
|
2482
2483
|
asChild: {
|
|
@@ -2492,7 +2493,7 @@ const ce = /* @__PURE__ */ D(Ya, [["render", eo]]), to = {
|
|
|
2492
2493
|
_: 3
|
|
2493
2494
|
}, 16));
|
|
2494
2495
|
}
|
|
2495
|
-
}, Bd = /* @__PURE__ */
|
|
2496
|
+
}, Bd = /* @__PURE__ */ T(Ao, [["__scopeId", "data-v-9c94c5a5"]]), Oo = {
|
|
2496
2497
|
__name: "drawer",
|
|
2497
2498
|
props: {
|
|
2498
2499
|
open: Boolean,
|
|
@@ -2518,7 +2519,7 @@ const ce = /* @__PURE__ */ D(Ya, [["render", eo]]), to = {
|
|
|
2518
2519
|
_: 3
|
|
2519
2520
|
}, 16, ["open", "size", "direction"]));
|
|
2520
2521
|
}
|
|
2521
|
-
}, zd = /* @__PURE__ */
|
|
2522
|
+
}, zd = /* @__PURE__ */ T(Oo, [["__scopeId", "data-v-0620bb5e"]]), jo = ["aria-checked"], Lo = { class: "mr-2 w-4 h-4 flex items-center justify-center" }, Ro = {
|
|
2522
2523
|
key: 0,
|
|
2523
2524
|
class: "block w-3 h-3 bg-primary rounded"
|
|
2524
2525
|
}, Md = /* @__PURE__ */ p({
|
|
@@ -2655,7 +2656,7 @@ function Wo(t, e) {
|
|
|
2655
2656
|
i(t.$slots, "default")
|
|
2656
2657
|
]);
|
|
2657
2658
|
}
|
|
2658
|
-
const
|
|
2659
|
+
const Td = /* @__PURE__ */ T(Uo, [["render", Wo]]), Go = ["data-inset", "data-variant"], Dd = /* @__PURE__ */ p({
|
|
2659
2660
|
__name: "dropdown-menu-item",
|
|
2660
2661
|
props: {
|
|
2661
2662
|
class: { type: String, default: "" },
|
|
@@ -2847,7 +2848,7 @@ function or(t, e) {
|
|
|
2847
2848
|
}, null, -1)
|
|
2848
2849
|
])]);
|
|
2849
2850
|
}
|
|
2850
|
-
const Wd = /* @__PURE__ */
|
|
2851
|
+
const Wd = /* @__PURE__ */ T(sr, [["render", or]]), rr = {}, nr = {
|
|
2851
2852
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2852
2853
|
class: "h-4 w-4",
|
|
2853
2854
|
fill: "none",
|
|
@@ -2864,7 +2865,7 @@ function lr(t, e) {
|
|
|
2864
2865
|
}, null, -1)
|
|
2865
2866
|
])]);
|
|
2866
2867
|
}
|
|
2867
|
-
const Gd = /* @__PURE__ */
|
|
2868
|
+
const Gd = /* @__PURE__ */ T(rr, [["render", lr]]), ir = {}, dr = {
|
|
2868
2869
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2869
2870
|
viewBox: "0 0 24 24",
|
|
2870
2871
|
fill: "none",
|
|
@@ -2880,7 +2881,7 @@ function cr(t, e) {
|
|
|
2880
2881
|
d("polyline", { points: "19 12 12 19 5 12" }, null, -1)
|
|
2881
2882
|
])]);
|
|
2882
2883
|
}
|
|
2883
|
-
const qd = /* @__PURE__ */
|
|
2884
|
+
const qd = /* @__PURE__ */ T(ir, [["render", cr]]), ur = {}, pr = {
|
|
2884
2885
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2885
2886
|
viewBox: "0 0 24 24",
|
|
2886
2887
|
fill: "none",
|
|
@@ -2896,7 +2897,7 @@ function fr(t, e) {
|
|
|
2896
2897
|
d("polyline", { points: "5 12 12 5 19 12" }, null, -1)
|
|
2897
2898
|
])]);
|
|
2898
2899
|
}
|
|
2899
|
-
const Kd = /* @__PURE__ */
|
|
2900
|
+
const Kd = /* @__PURE__ */ T(ur, [["render", fr]]), mr = {}, gr = {
|
|
2900
2901
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2901
2902
|
viewBox: "0 0 24 24",
|
|
2902
2903
|
fill: "none",
|
|
@@ -2918,7 +2919,7 @@ function br(t, e) {
|
|
|
2918
2919
|
d("polyline", { points: "5 12 12 5 19 12" }, null, -1)
|
|
2919
2920
|
])]);
|
|
2920
2921
|
}
|
|
2921
|
-
const Xd = /* @__PURE__ */
|
|
2922
|
+
const Xd = /* @__PURE__ */ T(mr, [["render", br]]), vr = {}, hr = {
|
|
2922
2923
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2923
2924
|
class: "h-4 w-4",
|
|
2924
2925
|
fill: "none",
|
|
@@ -2935,7 +2936,7 @@ function _r(t, e) {
|
|
|
2935
2936
|
}, null, -1)
|
|
2936
2937
|
])]);
|
|
2937
2938
|
}
|
|
2938
|
-
const Jd = /* @__PURE__ */
|
|
2939
|
+
const Jd = /* @__PURE__ */ T(vr, [["render", _r]]), yr = {}, xr = {
|
|
2939
2940
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2940
2941
|
class: "h-4 w-4",
|
|
2941
2942
|
fill: "none",
|
|
@@ -2977,7 +2978,7 @@ function wr(t, e) {
|
|
|
2977
2978
|
}, null, -1)
|
|
2978
2979
|
])]);
|
|
2979
2980
|
}
|
|
2980
|
-
const Zd = /* @__PURE__ */
|
|
2981
|
+
const Zd = /* @__PURE__ */ T(yr, [["render", wr]]), $r = {}, kr = {
|
|
2981
2982
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2982
2983
|
class: "h-4 w-4",
|
|
2983
2984
|
fill: "none",
|
|
@@ -2994,7 +2995,7 @@ function Sr(t, e) {
|
|
|
2994
2995
|
}, null, -1)
|
|
2995
2996
|
])]);
|
|
2996
2997
|
}
|
|
2997
|
-
const Yd = /* @__PURE__ */
|
|
2998
|
+
const Yd = /* @__PURE__ */ T($r, [["render", Sr]]), Cr = {}, Br = {
|
|
2998
2999
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2999
3000
|
class: "h-3 w-3",
|
|
3000
3001
|
fill: "currentColor",
|
|
@@ -3009,14 +3010,14 @@ function zr(t, e) {
|
|
|
3009
3010
|
}, null, -1)
|
|
3010
3011
|
])]);
|
|
3011
3012
|
}
|
|
3012
|
-
const Qd = /* @__PURE__ */
|
|
3013
|
+
const Qd = /* @__PURE__ */ T(Cr, [["render", zr]]), Mr = {}, Ir = {
|
|
3013
3014
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3014
3015
|
class: "h-3 w-3",
|
|
3015
3016
|
fill: "none",
|
|
3016
3017
|
viewBox: "0 0 24 24",
|
|
3017
3018
|
stroke: "currentColor"
|
|
3018
3019
|
};
|
|
3019
|
-
function
|
|
3020
|
+
function Tr(t, e) {
|
|
3020
3021
|
return o(), l("svg", Ir, [...e[0] || (e[0] = [
|
|
3021
3022
|
d("rect", {
|
|
3022
3023
|
x: "9",
|
|
@@ -3034,7 +3035,7 @@ function Dr(t, e) {
|
|
|
3034
3035
|
}, null, -1)
|
|
3035
3036
|
])]);
|
|
3036
3037
|
}
|
|
3037
|
-
const ec = /* @__PURE__ */
|
|
3038
|
+
const ec = /* @__PURE__ */ T(Mr, [["render", Tr]]), Dr = {}, Pr = {
|
|
3038
3039
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3039
3040
|
class: "h-4 w-4",
|
|
3040
3041
|
fill: "currentColor",
|
|
@@ -3049,7 +3050,7 @@ function Vr(t, e) {
|
|
|
3049
3050
|
}, null, -1)
|
|
3050
3051
|
])]);
|
|
3051
3052
|
}
|
|
3052
|
-
const tc = /* @__PURE__ */
|
|
3053
|
+
const tc = /* @__PURE__ */ T(Dr, [["render", Vr]]), Ar = {}, Or = {
|
|
3053
3054
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3054
3055
|
class: "h-4 w-4",
|
|
3055
3056
|
fill: "none",
|
|
@@ -3066,7 +3067,7 @@ function jr(t, e) {
|
|
|
3066
3067
|
}, null, -1)
|
|
3067
3068
|
])]);
|
|
3068
3069
|
}
|
|
3069
|
-
const sc = /* @__PURE__ */
|
|
3070
|
+
const sc = /* @__PURE__ */ T(Ar, [["render", jr]]), Lr = {}, Rr = {
|
|
3070
3071
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3071
3072
|
class: "h-4 w-4",
|
|
3072
3073
|
fill: "none",
|
|
@@ -3108,7 +3109,7 @@ function Fr(t, e) {
|
|
|
3108
3109
|
}, null, -1)
|
|
3109
3110
|
])]);
|
|
3110
3111
|
}
|
|
3111
|
-
const ac = /* @__PURE__ */
|
|
3112
|
+
const ac = /* @__PURE__ */ T(Lr, [["render", Fr]]), Nr = {}, Er = {
|
|
3112
3113
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3113
3114
|
class: "h-4 w-4",
|
|
3114
3115
|
fill: "none",
|
|
@@ -3125,7 +3126,7 @@ function Ur(t, e) {
|
|
|
3125
3126
|
}, null, -1)
|
|
3126
3127
|
])]);
|
|
3127
3128
|
}
|
|
3128
|
-
const oc = /* @__PURE__ */
|
|
3129
|
+
const oc = /* @__PURE__ */ T(Nr, [["render", Ur]]), Hr = {}, Wr = {
|
|
3129
3130
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3130
3131
|
class: "h-4 w-4",
|
|
3131
3132
|
fill: "none",
|
|
@@ -3148,7 +3149,7 @@ function Gr(t, e) {
|
|
|
3148
3149
|
}, null, -1)
|
|
3149
3150
|
])]);
|
|
3150
3151
|
}
|
|
3151
|
-
const rc = /* @__PURE__ */
|
|
3152
|
+
const rc = /* @__PURE__ */ T(Hr, [["render", Gr]]), qr = {}, Kr = {
|
|
3152
3153
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3153
3154
|
class: "h-4 w-4",
|
|
3154
3155
|
fill: "none",
|
|
@@ -3165,7 +3166,7 @@ function Xr(t, e) {
|
|
|
3165
3166
|
}, null, -1)
|
|
3166
3167
|
])]);
|
|
3167
3168
|
}
|
|
3168
|
-
const nc = /* @__PURE__ */
|
|
3169
|
+
const nc = /* @__PURE__ */ T(qr, [["render", Xr]]), Jr = {}, Zr = {
|
|
3169
3170
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3170
3171
|
class: "h-4 w-4",
|
|
3171
3172
|
fill: "none",
|
|
@@ -3182,7 +3183,7 @@ function Yr(t, e) {
|
|
|
3182
3183
|
}, null, -1)
|
|
3183
3184
|
])]);
|
|
3184
3185
|
}
|
|
3185
|
-
const lc = /* @__PURE__ */
|
|
3186
|
+
const lc = /* @__PURE__ */ T(Jr, [["render", Yr]]), Qr = {}, en = {
|
|
3186
3187
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3187
3188
|
class: "h-4 w-4",
|
|
3188
3189
|
fill: "none",
|
|
@@ -3201,7 +3202,7 @@ function tn(t, e) {
|
|
|
3201
3202
|
}, null, -1)
|
|
3202
3203
|
])]);
|
|
3203
3204
|
}
|
|
3204
|
-
const ic = /* @__PURE__ */
|
|
3205
|
+
const ic = /* @__PURE__ */ T(Qr, [["render", tn]]), sn = {}, an = {
|
|
3205
3206
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3206
3207
|
class: "h-4 w-4",
|
|
3207
3208
|
fill: "none",
|
|
@@ -3227,7 +3228,7 @@ function on(t, e) {
|
|
|
3227
3228
|
}, null, -1)
|
|
3228
3229
|
])]);
|
|
3229
3230
|
}
|
|
3230
|
-
const dc = /* @__PURE__ */
|
|
3231
|
+
const dc = /* @__PURE__ */ T(sn, [["render", on]]), rn = {}, nn = {
|
|
3231
3232
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3232
3233
|
class: "h-4 w-4",
|
|
3233
3234
|
fill: "none",
|
|
@@ -3249,7 +3250,7 @@ function ln(t, e) {
|
|
|
3249
3250
|
}, null, -1)
|
|
3250
3251
|
])]);
|
|
3251
3252
|
}
|
|
3252
|
-
const cc = /* @__PURE__ */
|
|
3253
|
+
const cc = /* @__PURE__ */ T(rn, [["render", ln]]), dn = {}, cn = {
|
|
3253
3254
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3254
3255
|
class: "h-4 w-4",
|
|
3255
3256
|
fill: "none",
|
|
@@ -3268,7 +3269,7 @@ function un(t, e) {
|
|
|
3268
3269
|
}, null, -1)
|
|
3269
3270
|
])]);
|
|
3270
3271
|
}
|
|
3271
|
-
const uc = /* @__PURE__ */
|
|
3272
|
+
const uc = /* @__PURE__ */ T(dn, [["render", un]]), pn = {}, fn = {
|
|
3272
3273
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3273
3274
|
class: "h-4 w-4",
|
|
3274
3275
|
fill: "none",
|
|
@@ -3285,7 +3286,7 @@ function mn(t, e) {
|
|
|
3285
3286
|
}, null, -1)
|
|
3286
3287
|
])]);
|
|
3287
3288
|
}
|
|
3288
|
-
const pc = /* @__PURE__ */
|
|
3289
|
+
const pc = /* @__PURE__ */ T(pn, [["render", mn]]), gn = {}, bn = {
|
|
3289
3290
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3290
3291
|
class: "h-4 w-4",
|
|
3291
3292
|
fill: "none",
|
|
@@ -3302,7 +3303,7 @@ function vn(t, e) {
|
|
|
3302
3303
|
}, null, -1)
|
|
3303
3304
|
])]);
|
|
3304
3305
|
}
|
|
3305
|
-
const fc = /* @__PURE__ */
|
|
3306
|
+
const fc = /* @__PURE__ */ T(gn, [["render", vn]]), hn = {}, _n = {
|
|
3306
3307
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3307
3308
|
class: "h-4 w-4",
|
|
3308
3309
|
fill: "none",
|
|
@@ -3324,7 +3325,7 @@ function yn(t, e) {
|
|
|
3324
3325
|
}, null, -1)
|
|
3325
3326
|
])]);
|
|
3326
3327
|
}
|
|
3327
|
-
const mc = /* @__PURE__ */
|
|
3328
|
+
const mc = /* @__PURE__ */ T(hn, [["render", yn]]), xn = { class: "flex items-center gap-2" }, gc = /* @__PURE__ */ p({
|
|
3328
3329
|
__name: "input-otp",
|
|
3329
3330
|
props: {
|
|
3330
3331
|
class: String,
|
|
@@ -3347,7 +3348,7 @@ const mc = /* @__PURE__ */ D(hn, [["render", yn]]), xn = { class: "flex items-ce
|
|
|
3347
3348
|
maxLength: s.maxLength,
|
|
3348
3349
|
disabled: s.disabled,
|
|
3349
3350
|
masked: s.masked
|
|
3350
|
-
})), (c, f) => (o(), m(a(
|
|
3351
|
+
})), (c, f) => (o(), m(a(Ts), g({
|
|
3351
3352
|
"data-slot": "input-otp",
|
|
3352
3353
|
"container-class": a(C)("flex items-center gap-2 has-disabled:opacity-50", s.containerClass),
|
|
3353
3354
|
"class-name": a(C)("disabled:cursor-not-allowed", s.class),
|
|
@@ -3511,10 +3512,10 @@ const mc = /* @__PURE__ */ D(hn, [["render", yn]]), xn = { class: "flex items-ce
|
|
|
3511
3512
|
_: 3
|
|
3512
3513
|
}, 16));
|
|
3513
3514
|
}
|
|
3514
|
-
}),
|
|
3515
|
+
}), Tn = {
|
|
3515
3516
|
key: 0,
|
|
3516
3517
|
class: "flex items-center justify-between"
|
|
3517
|
-
},
|
|
3518
|
+
}, Dn = { class: "text-sm font-medium text-muted-foreground" }, Pn = {
|
|
3518
3519
|
key: 0,
|
|
3519
3520
|
class: "text-xs text-muted-foreground"
|
|
3520
3521
|
}, Vn = {
|
|
@@ -3544,8 +3545,8 @@ const mc = /* @__PURE__ */ D(hn, [["render", yn]]), xn = { class: "flex items-ce
|
|
|
3544
3545
|
return (b, k) => (o(), l("div", {
|
|
3545
3546
|
class: w(a(z)("space-y-2", a(s).class))
|
|
3546
3547
|
}, [
|
|
3547
|
-
t.label ? (o(), l("div",
|
|
3548
|
-
d("span",
|
|
3548
|
+
t.label ? (o(), l("div", Tn, [
|
|
3549
|
+
d("span", Dn, I(t.label), 1),
|
|
3549
3550
|
typeof t.value == "number" && !r.value ? (o(), l("span", Pn, I(t.value) + "%", 1)) : B("", !0)
|
|
3550
3551
|
])) : B("", !0),
|
|
3551
3552
|
r.value ? (o(), l("div", Vn, [
|
|
@@ -4016,7 +4017,7 @@ const mc = /* @__PURE__ */ D(hn, [["render", yn]]), xn = { class: "flex items-ce
|
|
|
4016
4017
|
])])) : B("", !0)
|
|
4017
4018
|
]));
|
|
4018
4019
|
}
|
|
4019
|
-
}), kc = /* @__PURE__ */
|
|
4020
|
+
}), kc = /* @__PURE__ */ T(En, [["__scopeId", "data-v-f29cb3b8"]]);
|
|
4020
4021
|
const Le = (t) => t.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Un = (t) => t.replace(
|
|
4021
4022
|
/^([A-Z])|[\s-_]+(\w)/g,
|
|
4022
4023
|
(e, s, r) => r ? r.toUpperCase() : s.toLowerCase()
|
|
@@ -4421,7 +4422,7 @@ const Kn = qn("chevron-down", [
|
|
|
4421
4422
|
})
|
|
4422
4423
|
]));
|
|
4423
4424
|
}
|
|
4424
|
-
}), cl = /* @__PURE__ */
|
|
4425
|
+
}), cl = /* @__PURE__ */ T(dl, [["__scopeId", "data-v-e170e221"]]), ul = { class: "flex h-full w-full flex-col" }, pl = ["data-state", "data-collapsible", "data-variant", "data-side"], fl = {
|
|
4425
4426
|
"data-sidebar": "sidebar",
|
|
4426
4427
|
"data-slot": "sidebar-inner",
|
|
4427
4428
|
class: "bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm"
|
|
@@ -4673,7 +4674,7 @@ const Kn = qn("chevron-down", [
|
|
|
4673
4674
|
}, Il = {
|
|
4674
4675
|
key: 0,
|
|
4675
4676
|
class: "flex-1 text-sm font-medium leading-none truncate"
|
|
4676
|
-
},
|
|
4677
|
+
}, Tl = /* @__PURE__ */ p({
|
|
4677
4678
|
__name: "SidebarMenuItemWithIcon",
|
|
4678
4679
|
props: {
|
|
4679
4680
|
icon: [Object, Function],
|
|
@@ -4760,7 +4761,7 @@ const Kn = qn("chevron-down", [
|
|
|
4760
4761
|
}, I(e.badge), 3)) : B("", !0)
|
|
4761
4762
|
], 2));
|
|
4762
4763
|
}
|
|
4763
|
-
}),
|
|
4764
|
+
}), Dl = { class: "flex-1 overflow-y-auto" }, Pl = {
|
|
4764
4765
|
key: 0,
|
|
4765
4766
|
class: "pt-3 border-t border-border px-2 flex justify-center"
|
|
4766
4767
|
}, xe = /* @__PURE__ */ p({
|
|
@@ -4778,11 +4779,11 @@ const Kn = qn("chevron-down", [
|
|
|
4778
4779
|
setup(t) {
|
|
4779
4780
|
const e = t;
|
|
4780
4781
|
return (s, r) => (o(), l(U, null, [
|
|
4781
|
-
d("div",
|
|
4782
|
+
d("div", Dl, [
|
|
4782
4783
|
i(s.$slots, "default")
|
|
4783
4784
|
]),
|
|
4784
4785
|
e.showFooter !== !1 ? (o(), l("div", Pl, [
|
|
4785
|
-
h(
|
|
4786
|
+
h(Tl, {
|
|
4786
4787
|
icon: a(zt),
|
|
4787
4788
|
label: e.footerUser ?? "John Doe",
|
|
4788
4789
|
isActive: e.activeItem === "profile",
|
|
@@ -4855,7 +4856,7 @@ function Ol(t, e) {
|
|
|
4855
4856
|
i(t.$slots, "default")
|
|
4856
4857
|
]);
|
|
4857
4858
|
}
|
|
4858
|
-
const Mc = /* @__PURE__ */
|
|
4859
|
+
const Mc = /* @__PURE__ */ T(Vl, [["render", Ol]]), Ic = /* @__PURE__ */ p({
|
|
4859
4860
|
__name: "SidebarGroupContent",
|
|
4860
4861
|
props: {
|
|
4861
4862
|
class: { type: String, default: "" }
|
|
@@ -4874,7 +4875,7 @@ function Rl(t, e) {
|
|
|
4874
4875
|
i(t.$slots, "default")
|
|
4875
4876
|
]);
|
|
4876
4877
|
}
|
|
4877
|
-
const
|
|
4878
|
+
const Tc = /* @__PURE__ */ T(jl, [["render", Rl]]), Dc = /* @__PURE__ */ p({
|
|
4878
4879
|
__name: "SidebarMenuItem",
|
|
4879
4880
|
props: {
|
|
4880
4881
|
class: { type: String, default: "" }
|
|
@@ -4912,7 +4913,7 @@ function El(t, e) {
|
|
|
4912
4913
|
i(t.$slots, "default")
|
|
4913
4914
|
]);
|
|
4914
4915
|
}
|
|
4915
|
-
const Vc = /* @__PURE__ */
|
|
4916
|
+
const Vc = /* @__PURE__ */ T(Fl, [["render", El]]), Ac = /* @__PURE__ */ p({
|
|
4916
4917
|
__name: "SidebarMenuSub",
|
|
4917
4918
|
props: {
|
|
4918
4919
|
class: String
|
|
@@ -5150,8 +5151,8 @@ const Hl = { class: "relative isolate" }, Wl = ["title"], Gl = { class: "p-4" },
|
|
|
5150
5151
|
setup(t) {
|
|
5151
5152
|
const e = t;
|
|
5152
5153
|
ae();
|
|
5153
|
-
function s(
|
|
5154
|
-
const O = V(
|
|
5154
|
+
function s(D, A) {
|
|
5155
|
+
const O = V(D), Q = V(A);
|
|
5155
5156
|
return {
|
|
5156
5157
|
activeItem: O,
|
|
5157
5158
|
activeSubItem: Q,
|
|
@@ -5160,10 +5161,10 @@ const Hl = { class: "relative isolate" }, Wl = ["title"], Gl = { class: "p-4" },
|
|
|
5160
5161
|
};
|
|
5161
5162
|
}
|
|
5162
5163
|
e.variant === "basic" && s(e.initialActiveItem, e.initialActiveSubItem);
|
|
5163
|
-
const r = V(e.defaultOpen), n = V(""), c = x(() => e.open !== void 0 ? e.open : r.value), f = (
|
|
5164
|
-
e.onOpenChange ? e.onOpenChange(
|
|
5165
|
-
}, b = x(() => e.searchValue || n.value), k = (
|
|
5166
|
-
e.onSearchChange ? e.onSearchChange(
|
|
5164
|
+
const r = V(e.defaultOpen), n = V(""), c = x(() => e.open !== void 0 ? e.open : r.value), f = (D) => {
|
|
5165
|
+
e.onOpenChange ? e.onOpenChange(D) : r.value = D;
|
|
5166
|
+
}, b = x(() => e.searchValue || n.value), k = (D) => {
|
|
5167
|
+
e.onSearchChange ? e.onSearchChange(D) : n.value = D;
|
|
5167
5168
|
}, {
|
|
5168
5169
|
isLocked: y,
|
|
5169
5170
|
isExpanded: _,
|
|
@@ -5185,7 +5186,7 @@ const Hl = { class: "relative isolate" }, Wl = ["title"], Gl = { class: "p-4" },
|
|
|
5185
5186
|
e.variant === "autocollapse" && !_.value && "overflow-hidden",
|
|
5186
5187
|
e.className
|
|
5187
5188
|
].filter(Boolean).join(" "));
|
|
5188
|
-
return (
|
|
5189
|
+
return (D, A) => e.variant === "basic" ? (o(), l("div", {
|
|
5189
5190
|
key: 0,
|
|
5190
5191
|
class: w(["w-64 border bg-card p-3 flex flex-col", e.height, e.className].filter(Boolean).join(" "))
|
|
5191
5192
|
}, [
|
|
@@ -5203,7 +5204,7 @@ const Hl = { class: "relative isolate" }, Wl = ["title"], Gl = { class: "p-4" },
|
|
|
5203
5204
|
footerUser: e.footerUser
|
|
5204
5205
|
}, {
|
|
5205
5206
|
default: u(() => [
|
|
5206
|
-
i(
|
|
5207
|
+
i(D.$slots, "default")
|
|
5207
5208
|
]),
|
|
5208
5209
|
_: 3
|
|
5209
5210
|
}, 8, ["navigationItems", "recentItems", "activeItem", "activeSubItem", "showFooter", "footerUser"])
|
|
@@ -5246,7 +5247,7 @@ const Hl = { class: "relative isolate" }, Wl = ["title"], Gl = { class: "p-4" },
|
|
|
5246
5247
|
a(y) ? (o(), m(a(It), {
|
|
5247
5248
|
key: 0,
|
|
5248
5249
|
class: "w-3.5 h-3.5"
|
|
5249
|
-
})) : (o(), m(a(
|
|
5250
|
+
})) : (o(), m(a(Tt), {
|
|
5250
5251
|
key: 1,
|
|
5251
5252
|
class: "w-3.5 h-3.5"
|
|
5252
5253
|
}))
|
|
@@ -5285,7 +5286,7 @@ const Hl = { class: "relative isolate" }, Wl = ["title"], Gl = { class: "p-4" },
|
|
|
5285
5286
|
footerUser: e.footerUser
|
|
5286
5287
|
}, {
|
|
5287
5288
|
default: u(() => [
|
|
5288
|
-
i(
|
|
5289
|
+
i(D.$slots, "default")
|
|
5289
5290
|
]),
|
|
5290
5291
|
_: 3
|
|
5291
5292
|
}, 8, ["navigationItems", "recentItems", "activeItem", "activeSubItem", "onItemClick", "onSubItemClick", "showFooter", "footerUser"])
|
|
@@ -5301,7 +5302,7 @@ const Hl = { class: "relative isolate" }, Wl = ["title"], Gl = { class: "p-4" },
|
|
|
5301
5302
|
h(Ue, { class: "bg-background z-[-1]" }, {
|
|
5302
5303
|
default: u(() => [
|
|
5303
5304
|
d("div", Gl, [
|
|
5304
|
-
i(
|
|
5305
|
+
i(D.$slots, "activeContent")
|
|
5305
5306
|
])
|
|
5306
5307
|
]),
|
|
5307
5308
|
_: 3
|
|
@@ -5338,7 +5339,7 @@ const Hl = { class: "relative isolate" }, Wl = ["title"], Gl = { class: "p-4" },
|
|
|
5338
5339
|
footerUser: e.footerUser
|
|
5339
5340
|
}, {
|
|
5340
5341
|
default: u(() => [
|
|
5341
|
-
i(
|
|
5342
|
+
i(D.$slots, "default")
|
|
5342
5343
|
]),
|
|
5343
5344
|
_: 3
|
|
5344
5345
|
}, 8, ["navigationItems", "recentItems", "activeItem", "activeSubItem", "showFooter", "footerUser"])
|
|
@@ -5348,7 +5349,7 @@ const Hl = { class: "relative isolate" }, Wl = ["title"], Gl = { class: "p-4" },
|
|
|
5348
5349
|
h(Ue, { class: "bg-background" }, {
|
|
5349
5350
|
default: u(() => [
|
|
5350
5351
|
d("div", Kl, [
|
|
5351
|
-
i(
|
|
5352
|
+
i(D.$slots, "activeContent")
|
|
5352
5353
|
])
|
|
5353
5354
|
]),
|
|
5354
5355
|
_: 3
|
|
@@ -5365,9 +5366,9 @@ const Hl = { class: "relative isolate" }, Wl = ["title"], Gl = { class: "p-4" },
|
|
|
5365
5366
|
variant: e.sidebarVariant,
|
|
5366
5367
|
collapsible: K(),
|
|
5367
5368
|
class: N.value
|
|
5368
|
-
},
|
|
5369
|
+
}, D.$attrs), {
|
|
5369
5370
|
default: u(() => [
|
|
5370
|
-
i(
|
|
5371
|
+
i(D.$slots, "default")
|
|
5371
5372
|
]),
|
|
5372
5373
|
_: 3
|
|
5373
5374
|
}, 16, ["side", "variant", "collapsible", "class"]));
|
|
@@ -5482,7 +5483,7 @@ const Hl = { class: "relative isolate" }, Wl = ["title"], Gl = { class: "p-4" },
|
|
|
5482
5483
|
_: 1
|
|
5483
5484
|
}));
|
|
5484
5485
|
}
|
|
5485
|
-
}, Yc = /* @__PURE__ */
|
|
5486
|
+
}, Yc = /* @__PURE__ */ T(ei, [["__scopeId", "data-v-60e60f2b"]]), ti = {
|
|
5486
5487
|
__name: "switch",
|
|
5487
5488
|
props: {
|
|
5488
5489
|
modelValue: {
|
|
@@ -5506,7 +5507,7 @@ const Hl = { class: "relative isolate" }, Wl = ["title"], Gl = { class: "p-4" },
|
|
|
5506
5507
|
});
|
|
5507
5508
|
};
|
|
5508
5509
|
}
|
|
5509
|
-
}, Qc = /* @__PURE__ */
|
|
5510
|
+
}, Qc = /* @__PURE__ */ T(ti, [["__scopeId", "data-v-eb530f4f"]]), si = { class: "mt-2" }, eu = {
|
|
5510
5511
|
__name: "tab-panel",
|
|
5511
5512
|
props: {
|
|
5512
5513
|
value: {
|
|
@@ -5666,7 +5667,7 @@ const Hl = { class: "relative isolate" }, Wl = ["title"], Gl = { class: "p-4" },
|
|
|
5666
5667
|
case "desc":
|
|
5667
5668
|
return te(Pt, { class: "ml-2 h-4 w-4" });
|
|
5668
5669
|
default:
|
|
5669
|
-
return te(
|
|
5670
|
+
return te(Dt, { class: "ml-2 h-4 w-4 opacity-50" });
|
|
5670
5671
|
}
|
|
5671
5672
|
}), _ = x(() => ({
|
|
5672
5673
|
width: s.resizable ? f.value + "px" : s.width ? s.width + "px" : void 0,
|
|
@@ -5684,7 +5685,7 @@ const Hl = { class: "relative isolate" }, Wl = ["title"], Gl = { class: "p-4" },
|
|
|
5684
5685
|
M.preventDefault(), c.value = !0;
|
|
5685
5686
|
const P = M.clientX, R = f.value;
|
|
5686
5687
|
function q(N) {
|
|
5687
|
-
const
|
|
5688
|
+
const D = N.clientX - P, A = Math.min(s.maxWidth, Math.max(s.minWidth, R + D));
|
|
5688
5689
|
f.value = A, n("resize", A);
|
|
5689
5690
|
}
|
|
5690
5691
|
function K() {
|
|
@@ -5941,20 +5942,20 @@ const Hl = { class: "relative isolate" }, Wl = ["title"], Gl = { class: "p-4" },
|
|
|
5941
5942
|
tRange: [X, le]
|
|
5942
5943
|
};
|
|
5943
5944
|
})
|
|
5944
|
-
), P = x(() => Math.max(4, n.value * f.value)), R = x(() => n.value * 0.45), q = x(() => n.value / 2), K = x(() => n.value * 0.65), N = x(() => Math.min(Math.max(s.value, 0), 100)),
|
|
5945
|
+
), P = x(() => Math.max(4, n.value * f.value)), R = x(() => n.value * 0.45), q = x(() => n.value / 2), K = x(() => n.value * 0.65), N = x(() => Math.min(Math.max(s.value, 0), 100)), D = x(
|
|
5945
5946
|
() => M.value.find((H) => H.key === r.value) || M.value.find((H) => N.value >= H.range[0] && N.value < H.range[1]) || M.value[0]
|
|
5946
5947
|
);
|
|
5947
5948
|
function A(H, ee, X = 42) {
|
|
5948
|
-
const le = [], ct = Math.max(0, Math.min(1, ee) - Math.max(0, H)),
|
|
5949
|
-
for (let _e = 0; _e <=
|
|
5950
|
-
const ut = H + (ee - H) * _e /
|
|
5949
|
+
const le = [], ct = Math.max(0, Math.min(1, ee) - Math.max(0, H)), Te = Math.max(2, Math.round(X * ct));
|
|
5950
|
+
for (let _e = 0; _e <= Te; _e++) {
|
|
5951
|
+
const ut = H + (ee - H) * _e / Te, De = Math.PI * (1 - ut), pt = q.value + R.value * Math.cos(De), ft = K.value - R.value * Math.sin(De);
|
|
5951
5952
|
le.push(`${pt} ${ft}`);
|
|
5952
5953
|
}
|
|
5953
5954
|
return `M ${le[0]} L ${le.slice(1).join(" ")}`;
|
|
5954
5955
|
}
|
|
5955
|
-
const [O, Q] = x(() =>
|
|
5956
|
+
const [O, Q] = x(() => D.value.range).value, ne = x(
|
|
5956
5957
|
() => b.value ? (O + Q) / 2 : Math.min(Math.max(N.value, O), Q)
|
|
5957
|
-
), st = x(() => (ne.value - O) / (Q - O)), [Me, at] = x(() =>
|
|
5958
|
+
), st = x(() => (ne.value - O) / (Q - O)), [Me, at] = x(() => D.value.tRange).value, ot = x(() => Me + (at - Me) * st.value), Ie = x(() => Math.PI * (1 - ot.value)), rt = x(() => q.value + R.value * Math.cos(Ie.value)), nt = x(() => K.value - R.value * Math.sin(Ie.value)), lt = x(() => n.value * 0.12), it = x(() => Math.max(8, n.value * 0.04)), dt = x(() => Math.max(2.5, n.value * 0.015));
|
|
5958
5959
|
return (H, ee) => (o(), l("div", {
|
|
5959
5960
|
class: w(["relative", H.$attrs.class]),
|
|
5960
5961
|
style: E({ width: `${a(n)}px`, height: `${a(n)}px` })
|
|
@@ -5978,7 +5979,7 @@ const Hl = { class: "relative isolate" }, Wl = ["title"], Gl = { class: "p-4" },
|
|
|
5978
5979
|
cy: nt.value,
|
|
5979
5980
|
r: it.value,
|
|
5980
5981
|
fill: "#ffffff",
|
|
5981
|
-
stroke:
|
|
5982
|
+
stroke: D.value.color,
|
|
5982
5983
|
"stroke-width": dt.value
|
|
5983
5984
|
}, null, 8, vi)
|
|
5984
5985
|
], 8, gi)),
|
|
@@ -6020,7 +6021,7 @@ const Hl = { class: "relative isolate" }, Wl = ["title"], Gl = { class: "p-4" },
|
|
|
6020
6021
|
_: 3
|
|
6021
6022
|
}, 16, ["class"]));
|
|
6022
6023
|
}
|
|
6023
|
-
}), _i =
|
|
6024
|
+
}), _i = Ds(
|
|
6024
6025
|
"inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium hover:bg-muted hover:text-muted-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] outline-none transition-[color,box-shadow] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive whitespace-nowrap",
|
|
6025
6026
|
{
|
|
6026
6027
|
variants: {
|
|
@@ -6137,9 +6138,9 @@ export {
|
|
|
6137
6138
|
sd as Breadcrumb,
|
|
6138
6139
|
Pi as BreadcrumbEllipsis,
|
|
6139
6140
|
ed as BreadcrumbItem,
|
|
6140
|
-
|
|
6141
|
+
Ti as BreadcrumbLink,
|
|
6141
6142
|
Ii as BreadcrumbList,
|
|
6142
|
-
|
|
6143
|
+
Di as BreadcrumbPage,
|
|
6143
6144
|
td as BreadcrumbSeparator,
|
|
6144
6145
|
fe as Button,
|
|
6145
6146
|
Zd as Calendar,
|
|
@@ -6178,8 +6179,8 @@ export {
|
|
|
6178
6179
|
Ud as DropdownMenu,
|
|
6179
6180
|
Md as DropdownMenuCheckboxItem,
|
|
6180
6181
|
Id as DropdownMenuContent,
|
|
6181
|
-
|
|
6182
|
-
|
|
6182
|
+
Td as DropdownMenuGroup,
|
|
6183
|
+
Dd as DropdownMenuItem,
|
|
6183
6184
|
Pd as DropdownMenuLabel,
|
|
6184
6185
|
Vd as DropdownMenuPortal,
|
|
6185
6186
|
Ad as DropdownMenuRadioGroup,
|
|
@@ -6239,10 +6240,10 @@ export {
|
|
|
6239
6240
|
Mc as SidebarGroupLabel,
|
|
6240
6241
|
Rc as SidebarHeader,
|
|
6241
6242
|
Ue as SidebarInset,
|
|
6242
|
-
|
|
6243
|
+
Tc as SidebarMenu,
|
|
6243
6244
|
Vc as SidebarMenuBadge,
|
|
6244
6245
|
Pc as SidebarMenuButton,
|
|
6245
|
-
|
|
6246
|
+
Dc as SidebarMenuItem,
|
|
6246
6247
|
Ac as SidebarMenuSub,
|
|
6247
6248
|
Oc as SidebarMenuSubContent,
|
|
6248
6249
|
jc as SidebarMenuSubItem,
|
|
@@ -6282,6 +6283,8 @@ export {
|
|
|
6282
6283
|
fu as TooltipRoot,
|
|
6283
6284
|
et as TooltipTrigger,
|
|
6284
6285
|
pc as Trash2,
|
|
6286
|
+
bu as TreeItem,
|
|
6287
|
+
vu as TreeRoot,
|
|
6285
6288
|
fc as Type,
|
|
6286
6289
|
mc as User,
|
|
6287
6290
|
Ne as Wrapper
|