@brumaombra/ui-vintage 0.6.8 → 0.7.1
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 +61 -51
- package/module.mjs +75 -0
- package/package.json +81 -272
- package/src/components/background-grid/BackgroundGrid.vue +5 -0
- package/src/components/background-grid/index.ts +2 -0
- package/src/components/blog/AllPostsSection.vue +46 -0
- package/src/components/blog/BlogFAQSection.vue +71 -0
- package/src/components/blog/BlogHeaderSection.vue +35 -0
- package/src/components/blog/BlogInfoSection.vue +70 -0
- package/src/components/blog/BlogSectionTitle.vue +12 -0
- package/src/components/blog/CategoriesList.vue +17 -0
- package/src/components/blog/CategoriesSection.vue +14 -0
- package/src/components/blog/CategoryCard.vue +34 -0
- package/src/components/blog/HeaderCarousel.vue +194 -0
- package/src/components/blog/PostCard.vue +56 -0
- package/src/components/blog/PostsList.vue +16 -0
- package/src/components/blog/SocialShareSidebar.vue +94 -0
- package/src/components/blog/TableOfContents.vue +114 -0
- package/{dist/components/blog/index.d.ts → src/components/blog/index.ts} +1 -1
- package/src/components/busy-indicator/BusyIndicator.vue +14 -0
- package/src/components/busy-indicator/busy-indicator-state.ts +88 -0
- package/src/components/busy-indicator/index.ts +3 -0
- package/src/components/card-grid/CardGrid.vue +47 -0
- package/src/components/card-grid/index.ts +2 -0
- package/src/components/chip/Chip.vue +40 -0
- package/src/components/chip/index.ts +2 -0
- package/src/components/confirm-dialog/ConfirmDialog.vue +60 -0
- package/src/components/confirm-dialog/confirm-dialog-state.ts +200 -0
- package/src/components/confirm-dialog/index.ts +12 -0
- package/src/components/content/BlogList.vue +60 -0
- package/src/components/content/BlogTable.vue +56 -0
- package/src/components/content/ProseHr.vue +26 -0
- package/{dist/components/content/index.d.ts → src/components/content/index.ts} +1 -1
- package/src/components/dashboard-shell/DashboardShell.vue +205 -0
- package/src/components/dashboard-shell/index.ts +2 -0
- package/src/components/data-list/DataList.vue +19 -0
- package/src/components/data-list/DataListItem.vue +17 -0
- package/src/components/data-list/DataListLabel.vue +17 -0
- package/src/components/data-list/DataListText.vue +17 -0
- package/src/components/data-list/DataListValue.vue +17 -0
- package/src/components/data-list/index.ts +5 -0
- package/src/components/empty-state-card/EmptyStateCard.vue +54 -0
- package/{dist/components/empty-state-card/index.d.ts → src/components/empty-state-card/index.ts} +1 -1
- package/src/components/error-page/ErrorPage.vue +118 -0
- package/src/components/error-page/index.ts +2 -0
- package/src/components/info-card/InfoCard.vue +42 -0
- package/src/components/info-card/index.ts +2 -0
- package/src/components/landing/index.ts +6 -0
- package/src/components/landing/landing-content/LandingContent.vue +17 -0
- package/src/components/landing/landing-content/index.ts +2 -0
- package/src/components/landing/landing-footer/LandingFooter.vue +151 -0
- package/src/components/landing/landing-footer/index.ts +3 -0
- package/src/components/landing/landing-navbar/LandingNavbar.vue +48 -0
- package/src/components/landing/landing-navbar/index.ts +2 -0
- package/src/components/landing/landing-shell/LandingShell.vue +58 -0
- package/src/components/landing/landing-shell/index.ts +2 -0
- package/src/components/language-flag/LanguageFlag.vue +54 -0
- package/src/components/language-flag/flags/ChineseFlag.vue +10 -0
- package/src/components/language-flag/flags/EnglishFlag.vue +9 -0
- package/src/components/language-flag/flags/FrenchFlag.vue +7 -0
- package/src/components/language-flag/flags/GermanFlag.vue +7 -0
- package/src/components/language-flag/flags/ItalianFlag.vue +9 -0
- package/src/components/language-flag/flags/JapaneseFlag.vue +6 -0
- package/src/components/language-flag/flags/PortugueseFlag.vue +59 -0
- package/src/components/language-flag/flags/RussianFlag.vue +7 -0
- package/src/components/language-flag/flags/SpanishFlag.vue +6 -0
- package/{dist/components/language-flag/index.d.ts → src/components/language-flag/index.ts} +1 -1
- package/src/components/language-selector/LanguageSelector.vue +154 -0
- package/{dist/components/language-selector/index.d.ts → src/components/language-selector/index.ts} +1 -1
- package/src/components/load-more-button/LoadMoreButton.vue +44 -0
- package/{dist/components/load-more-button/index.d.ts → src/components/load-more-button/index.ts} +1 -1
- package/src/components/loading-state-card/LoadingStateCard.vue +43 -0
- package/{dist/components/loading-state-card/index.d.ts → src/components/loading-state-card/index.ts} +1 -1
- package/src/components/message-dialog/MessageDialog.vue +101 -0
- package/src/components/message-dialog/index.ts +11 -0
- package/src/components/message-dialog/message-dialog-state.ts +168 -0
- package/src/components/message-toast/MessageToast.vue +75 -0
- package/src/components/message-toast/index.ts +9 -0
- package/src/components/message-toast/message-toast-state.ts +167 -0
- package/src/components/page-header/PageHeader.vue +52 -0
- package/src/components/page-header/index.ts +2 -0
- package/src/components/progress-component/ProgressComponent.vue +45 -0
- package/{dist/components/progress-component/index.d.ts → src/components/progress-component/index.ts} +1 -1
- package/src/components/single-value-card/SingleValueCard.vue +51 -0
- package/{dist/components/single-value-card/index.d.ts → src/components/single-value-card/index.ts} +1 -1
- package/src/components/slider-form-component/SliderFormComponent.vue +71 -0
- package/src/components/slider-form-component/index.ts +2 -0
- package/src/components/switch-form-component/SwitchFormComponent.vue +39 -0
- package/src/components/switch-form-component/index.ts +2 -0
- package/src/components/text-link/TextLink.vue +33 -0
- package/src/components/text-link/index.ts +2 -0
- package/src/components/theme-selector/ThemeSelector.vue +129 -0
- package/src/components/theme-selector/index.ts +2 -0
- package/src/components/ui/alert/Alert.vue +17 -0
- package/src/components/ui/alert/AlertDescription.vue +14 -0
- package/src/components/ui/alert/AlertTitle.vue +14 -0
- package/src/components/ui/alert/index.ts +15 -0
- package/src/components/ui/alert-dialog/AlertDialog.vue +15 -0
- package/src/components/ui/alert-dialog/AlertDialogAction.vue +18 -0
- package/src/components/ui/alert-dialog/AlertDialogCancel.vue +22 -0
- package/src/components/ui/alert-dialog/AlertDialogContent.vue +36 -0
- package/src/components/ui/alert-dialog/AlertDialogDescription.vue +19 -0
- package/src/components/ui/alert-dialog/AlertDialogFooter.vue +18 -0
- package/src/components/ui/alert-dialog/AlertDialogHeader.vue +14 -0
- package/src/components/ui/alert-dialog/AlertDialogTitle.vue +17 -0
- package/src/components/ui/alert-dialog/AlertDialogTrigger.vue +12 -0
- package/src/components/ui/alert-dialog/index.ts +9 -0
- package/src/components/ui/badge/Badge.vue +26 -0
- package/src/components/ui/badge/index.ts +1 -0
- package/src/components/ui/breadcrumb/Breadcrumb.vue +17 -0
- package/src/components/ui/breadcrumb/BreadcrumbEllipsis.vue +24 -0
- package/src/components/ui/breadcrumb/BreadcrumbItem.vue +17 -0
- package/src/components/ui/breadcrumb/BreadcrumbLink.vue +21 -0
- package/src/components/ui/breadcrumb/BreadcrumbList.vue +17 -0
- package/src/components/ui/breadcrumb/BreadcrumbPage.vue +20 -0
- package/src/components/ui/breadcrumb/BreadcrumbSeparator.vue +23 -0
- package/src/components/ui/breadcrumb/index.ts +7 -0
- package/src/components/ui/busy/Busy.vue +45 -0
- package/src/components/ui/busy/index.ts +1 -0
- package/src/components/ui/button/Button.vue +24 -0
- package/src/components/ui/button/index.ts +41 -0
- package/src/components/ui/calendar/Calendar.vue +139 -0
- package/src/components/ui/calendar/CalendarCell.vue +23 -0
- package/src/components/ui/calendar/CalendarCellTrigger.vue +39 -0
- package/src/components/ui/calendar/CalendarGrid.vue +23 -0
- package/src/components/ui/calendar/CalendarGridBody.vue +15 -0
- package/src/components/ui/calendar/CalendarGridHead.vue +16 -0
- package/src/components/ui/calendar/CalendarGridRow.vue +22 -0
- package/src/components/ui/calendar/CalendarHeadCell.vue +23 -0
- package/src/components/ui/calendar/CalendarHeader.vue +23 -0
- package/src/components/ui/calendar/CalendarHeading.vue +30 -0
- package/src/components/ui/calendar/CalendarNextButton.vue +32 -0
- package/src/components/ui/calendar/CalendarPrevButton.vue +32 -0
- package/src/components/ui/calendar/index.ts +14 -0
- package/src/components/ui/card/Card.vue +31 -0
- package/src/components/ui/card/CardAction.vue +14 -0
- package/src/components/ui/card/CardContent.vue +14 -0
- package/src/components/ui/card/CardDescription.vue +14 -0
- package/src/components/ui/card/CardFooter.vue +14 -0
- package/src/components/ui/card/CardHeader.vue +14 -0
- package/src/components/ui/card/CardText.vue +14 -0
- package/src/components/ui/card/CardTitle.vue +14 -0
- package/src/components/ui/card/index.ts +8 -0
- package/src/components/ui/command/Command.vue +83 -0
- package/src/components/ui/command/CommandDialog.vue +31 -0
- package/src/components/ui/command/CommandEmpty.vue +27 -0
- package/src/components/ui/command/CommandGroup.vue +47 -0
- package/src/components/ui/command/CommandInput.vue +31 -0
- package/src/components/ui/command/CommandItem.vue +76 -0
- package/src/components/ui/command/CommandList.vue +25 -0
- package/src/components/ui/command/CommandSeparator.vue +17 -0
- package/src/components/ui/command/CommandShortcut.vue +14 -0
- package/src/components/ui/command/index.ts +25 -0
- package/src/components/ui/date-picker/DatePicker.vue +67 -0
- package/src/components/ui/date-picker/index.ts +2 -0
- package/src/components/ui/date-time-picker/DateTimePicker.vue +170 -0
- package/{dist/components/ui/date-time-picker/index.d.ts → src/components/ui/date-time-picker/index.ts} +2 -2
- package/src/components/ui/dialog/Dialog.vue +15 -0
- package/src/components/ui/dialog/DialogClose.vue +15 -0
- package/src/components/ui/dialog/DialogContent.vue +54 -0
- package/src/components/ui/dialog/DialogDescription.vue +19 -0
- package/src/components/ui/dialog/DialogFooter.vue +18 -0
- package/src/components/ui/dialog/DialogHeader.vue +14 -0
- package/src/components/ui/dialog/DialogOverlay.vue +17 -0
- package/src/components/ui/dialog/DialogScrollContent.vue +57 -0
- package/src/components/ui/dialog/DialogTitle.vue +19 -0
- package/src/components/ui/dialog/DialogTrigger.vue +12 -0
- package/src/components/ui/dialog/index.ts +10 -0
- package/src/components/ui/field/Field.vue +20 -0
- package/src/components/ui/field/FieldContent.vue +17 -0
- package/src/components/ui/field/FieldDescription.vue +19 -0
- package/src/components/ui/field/FieldError.vue +48 -0
- package/src/components/ui/field/FieldGroup.vue +17 -0
- package/src/components/ui/field/FieldLabel.vue +20 -0
- package/src/components/ui/field/FieldLegend.vue +20 -0
- package/src/components/ui/field/FieldSeparator.vue +21 -0
- package/src/components/ui/field/FieldSet.vue +18 -0
- package/src/components/ui/field/FieldTitle.vue +17 -0
- package/src/components/ui/field/index.ts +41 -0
- package/src/components/ui/input/Input.vue +29 -0
- package/src/components/ui/input/index.ts +1 -0
- package/src/components/ui/label/Label.vue +21 -0
- package/src/components/ui/label/index.ts +1 -0
- package/src/components/ui/native-select/NativeSelect.vue +52 -0
- package/src/components/ui/native-select/NativeSelectOptGroup.vue +12 -0
- package/src/components/ui/native-select/NativeSelectOption.vue +12 -0
- package/src/components/ui/native-select/index.ts +3 -0
- package/src/components/ui/popover/Popover.vue +15 -0
- package/src/components/ui/popover/PopoverAnchor.vue +12 -0
- package/src/components/ui/popover/PopoverContent.vue +40 -0
- package/src/components/ui/popover/PopoverTrigger.vue +12 -0
- package/src/components/ui/popover/index.ts +4 -0
- package/src/components/ui/progress/Progress.vue +38 -0
- package/src/components/ui/progress/index.ts +1 -0
- package/src/components/ui/scroll-area/ScrollArea.vue +33 -0
- package/src/components/ui/scroll-area/ScrollBar.vue +32 -0
- package/src/components/ui/scroll-area/index.ts +2 -0
- package/src/components/ui/select/Select.vue +15 -0
- package/src/components/ui/select/SelectContent.vue +50 -0
- package/src/components/ui/select/SelectGroup.vue +12 -0
- package/src/components/ui/select/SelectItem.vue +50 -0
- package/src/components/ui/select/SelectItemContent.vue +40 -0
- package/src/components/ui/select/SelectItemText.vue +12 -0
- package/src/components/ui/select/SelectLabel.vue +14 -0
- package/src/components/ui/select/SelectScrollDownButton.vue +23 -0
- package/src/components/ui/select/SelectScrollUpButton.vue +23 -0
- package/src/components/ui/select/SelectSeparator.vue +15 -0
- package/src/components/ui/select/SelectTrigger.vue +31 -0
- package/src/components/ui/select/SelectValue.vue +12 -0
- package/src/components/ui/select/SelectValueContent.vue +44 -0
- package/src/components/ui/select/index.ts +13 -0
- package/src/components/ui/separator/Separator.vue +24 -0
- package/src/components/ui/separator/index.ts +1 -0
- package/src/components/ui/sheet/Sheet.vue +15 -0
- package/src/components/ui/sheet/SheetClose.vue +12 -0
- package/src/components/ui/sheet/SheetContent.vue +49 -0
- package/src/components/ui/sheet/SheetDescription.vue +17 -0
- package/src/components/ui/sheet/SheetFooter.vue +12 -0
- package/src/components/ui/sheet/SheetHeader.vue +12 -0
- package/src/components/ui/sheet/SheetOverlay.vue +17 -0
- package/src/components/ui/sheet/SheetTitle.vue +17 -0
- package/src/components/ui/sheet/SheetTrigger.vue +12 -0
- package/src/components/ui/sheet/index.ts +8 -0
- package/src/components/ui/sidebar/Sidebar.vue +77 -0
- package/src/components/ui/sidebar/SidebarContent.vue +14 -0
- package/src/components/ui/sidebar/SidebarFooter.vue +14 -0
- package/src/components/ui/sidebar/SidebarGroup.vue +14 -0
- package/src/components/ui/sidebar/SidebarGroupAction.vue +21 -0
- package/src/components/ui/sidebar/SidebarGroupContent.vue +14 -0
- package/src/components/ui/sidebar/SidebarGroupLabel.vue +19 -0
- package/src/components/ui/sidebar/SidebarHeader.vue +14 -0
- package/src/components/ui/sidebar/SidebarInput.vue +18 -0
- package/src/components/ui/sidebar/SidebarInset.vue +18 -0
- package/src/components/ui/sidebar/SidebarMenu.vue +14 -0
- package/src/components/ui/sidebar/SidebarMenuAction.vue +30 -0
- package/src/components/ui/sidebar/SidebarMenuBadge.vue +23 -0
- package/src/components/ui/sidebar/SidebarMenuButton.vue +44 -0
- package/src/components/ui/sidebar/SidebarMenuButtonChild.vue +27 -0
- package/src/components/ui/sidebar/SidebarMenuItem.vue +14 -0
- package/src/components/ui/sidebar/SidebarMenuSkeleton.vue +20 -0
- package/src/components/ui/sidebar/SidebarMenuSub.vue +18 -0
- package/src/components/ui/sidebar/SidebarMenuSubButton.vue +28 -0
- package/src/components/ui/sidebar/SidebarMenuSubItem.vue +14 -0
- package/src/components/ui/sidebar/SidebarProvider.vue +79 -0
- package/src/components/ui/sidebar/SidebarRail.vue +25 -0
- package/src/components/ui/sidebar/SidebarSeparator.vue +15 -0
- package/src/components/ui/sidebar/SidebarTrigger.vue +21 -0
- package/src/components/ui/sidebar/index.ts +64 -0
- package/src/components/ui/sidebar/utils.ts +19 -0
- package/src/components/ui/skeleton/Skeleton.vue +14 -0
- package/src/components/ui/skeleton/index.ts +1 -0
- package/src/components/ui/slider/Slider.vue +27 -0
- package/src/components/ui/slider/index.ts +1 -0
- package/src/components/ui/switch/Switch.vue +30 -0
- package/src/components/ui/switch/index.ts +1 -0
- package/src/components/ui/table/Table.vue +16 -0
- package/src/components/ui/table/TableBody.vue +17 -0
- package/src/components/ui/table/TableCaption.vue +17 -0
- package/src/components/ui/table/TableCell.vue +22 -0
- package/src/components/ui/table/TableEmpty.vue +34 -0
- package/src/components/ui/table/TableFooter.vue +17 -0
- package/src/components/ui/table/TableHead.vue +17 -0
- package/src/components/ui/table/TableHeader.vue +17 -0
- package/src/components/ui/table/TableRow.vue +17 -0
- package/src/components/ui/table/index.ts +9 -0
- package/src/components/ui/tabs/Tabs.vue +24 -0
- package/src/components/ui/tabs/TabsContent.vue +21 -0
- package/src/components/ui/tabs/TabsList.vue +24 -0
- package/src/components/ui/tabs/TabsTrigger.vue +26 -0
- package/src/components/ui/tabs/index.ts +4 -0
- package/src/components/ui/textarea/Textarea.vue +29 -0
- package/src/components/ui/textarea/index.ts +1 -0
- package/src/components/ui/time-picker/TimePicker.vue +56 -0
- package/src/components/ui/time-picker/index.ts +2 -0
- package/src/components/ui/tooltip/Tooltip.vue +15 -0
- package/src/components/ui/tooltip/TooltipContent.vue +30 -0
- package/src/components/ui/tooltip/TooltipProvider.vue +14 -0
- package/src/components/ui/tooltip/TooltipTrigger.vue +12 -0
- package/src/components/ui/tooltip/index.ts +4 -0
- package/{dist/i18n/de.json.d.ts → src/i18n/de.json} +2 -4
- package/{dist/i18n/en.json.d.ts → src/i18n/en.json} +2 -4
- package/{dist/i18n/es.json.d.ts → src/i18n/es.json} +2 -4
- package/{dist/i18n/fr.json.d.ts → src/i18n/fr.json} +2 -4
- package/{dist/i18n/it.json.d.ts → src/i18n/it.json} +2 -4
- package/{dist/i18n/ja.json.d.ts → src/i18n/ja.json} +2 -4
- package/{dist/i18n/pt.json.d.ts → src/i18n/pt.json} +2 -4
- package/{dist/i18n/ru.json.d.ts → src/i18n/ru.json} +2 -4
- package/{dist/i18n/zh.json.d.ts → src/i18n/zh.json} +2 -4
- package/src/lib/color-tokens.ts +51 -0
- package/src/lib/i18n.ts +85 -0
- package/src/lib/utils.ts +29 -0
- package/src/nuxt-components.d.ts +5 -0
- package/src/runtime/ui-vintage-i18n-plugin.js +48 -0
- package/src/shims-vue.d.ts +5 -0
- package/src/styles.css +224 -0
- package/dist/AlertDialogTitle.vue_vue_type_script_setup_true_lang-DhRDOi2d.js +0 -361
- package/dist/BackgroundGrid-BJDDcLzF.js +0 -13
- package/dist/Badge.vue_vue_type_script_setup_true_lang-DH_klSVA.js +0 -33
- package/dist/Busy-BOXgYrox.js +0 -55
- package/dist/BusyIndicator-D-4YHN2L.js +0 -4
- package/dist/CalendarPrevButton.vue_vue_type_script_setup_true_lang-C6OtvF0h.js +0 -3800
- package/dist/Card.vue_vue_type_script_setup_true_lang-CZhFtxSD.js +0 -30
- package/dist/CardContent.vue_vue_type_script_setup_true_lang-BxI0-dse.js +0 -22
- package/dist/CardFooter.vue_vue_type_script_setup_true_lang-LFjBZHcl.js +0 -22
- package/dist/CardText.vue_vue_type_script_setup_true_lang-zUPNe9HY.js +0 -22
- package/dist/ChineseFlag-CVrOCbRz.js +0 -18
- package/dist/Collection-4P3HQ4uU.js +0 -76
- package/dist/ConfigProvider-DYO65bNW.js +0 -6
- package/dist/ConfirmDialog-Zu4m9TY-.js +0 -4
- package/dist/DatePicker.vue_vue_type_script_setup_true_lang-CzMhKnrj.js +0 -88
- package/dist/DialogClose-DxCTEp0d.js +0 -36
- package/dist/DialogPortal-BiMJAKLg.js +0 -36
- package/dist/DialogTitle-jKgSCoXM.js +0 -526
- package/dist/DialogTitle.vue_vue_type_script_setup_true_lang-D0Ephm9c.js +0 -184
- package/dist/DialogTrigger-Cb3rLcid.js +0 -52
- package/dist/EmptyStateCard.vue_vue_type_script_setup_true_lang-CH3ODMDF.js +0 -59
- package/dist/EnglishFlag-BrpG8XMW.js +0 -18
- package/dist/FocusScope-mzbqk6Y_.js +0 -448
- package/dist/FrenchFlag-CUdQacS3.js +0 -35
- package/dist/GermanFlag-Bc1CeEHw.js +0 -35
- package/dist/HugeiconsIcon.vue-By2RXWWz.js +0 -111
- package/dist/Input.vue_vue_type_script_setup_true_lang-BGGOqKHs.js +0 -37
- package/dist/ItalianFlag-BAdg13z7.js +0 -34
- package/dist/JapaneseFlag-Dnd2ITzZ.js +0 -27
- package/dist/Label.vue_vue_type_script_setup_true_lang-BzD7wUHQ.js +0 -65
- package/dist/LandingContent.vue_vue_type_script_setup_true_lang-BySDoKff.js +0 -21
- package/dist/LandingFooter.vue_vue_type_script_setup_true_lang-D1_ZjIFj.js +0 -159
- package/dist/LandingNavbar.vue_vue_type_script_setup_true_lang-Cu_ksJtE.js +0 -63
- package/dist/LandingShell.vue_vue_type_script_setup_true_lang-D6n-hLum.js +0 -49
- package/dist/LoadMoreButton.vue_vue_type_script_setup_true_lang-Be0obsa3.js +0 -61
- package/dist/LoadingStateCard.vue_vue_type_script_setup_true_lang-CwCrRir_.js +0 -53
- package/dist/MessageDialog-ChS4d2qN.js +0 -4
- package/dist/MessageToast-CMvpwf2m.js +0 -79
- package/dist/NativeSelectOption.vue_vue_type_script_setup_true_lang-CcnlTqUN.js +0 -75
- package/dist/PopoverTrigger.vue_vue_type_script_setup_true_lang-Bu5YDhSO.js +0 -801
- package/dist/PopperContent-DUJ8a4i0.js +0 -2144
- package/dist/PortugueseFlag-DU2jEbaQ.js +0 -19
- package/dist/Presence-CTmUEdMR.js +0 -168
- package/dist/Primitive-D3IcFg81.js +0 -61
- package/dist/Progress.vue_vue_type_script_setup_true_lang-ZKUFAYop.js +0 -188
- package/dist/RussianFlag-Cnc4PHmq.js +0 -29
- package/dist/Separator-CFm_M4pb.js +0 -87
- package/dist/Separator.vue_vue_type_script_setup_true_lang-BDH2gelV.js +0 -29
- package/dist/SheetTitle.vue_vue_type_script_setup_true_lang-DZ-80X9J.js +0 -167
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-CK-Q0Oxk.js +0 -20
- package/dist/Slider.vue_vue_type_script_setup_true_lang-Cz1oQX11.js +0 -803
- package/dist/SpanishFlag-Dy-C9kGk.js +0 -28
- package/dist/Switch.vue_vue_type_script_setup_true_lang-BzUQzI2p.js +0 -227
- package/dist/TableHeader.vue_vue_type_script_setup_true_lang-BMHYThM4.js +0 -123
- package/dist/Teleport-DTOwRCqx.js +0 -315
- package/dist/TimePicker.vue_vue_type_script_setup_true_lang-C3Ww9XT5.js +0 -51
- package/dist/TooltipTrigger.vue_vue_type_script_setup_true_lang-CIBac9lA.js +0 -1120
- package/dist/VisuallyHidden-udQT2Fmo.js +0 -60
- package/dist/VisuallyHiddenInput-D5eipDQU.js +0 -142
- package/dist/_plugin-vue_export-helper-1tPrXgE0.js +0 -10
- package/dist/alert-dialog.js +0 -165
- package/dist/alert.js +0 -66
- package/dist/background-grid.js +0 -5
- package/dist/badge.js +0 -4
- package/dist/blog.js +0 -938
- package/dist/breadcrumb.js +0 -159
- package/dist/busy-indicator.js +0 -66
- package/dist/busy.js +0 -4
- package/dist/button.js +0 -67
- package/dist/calendar.js +0 -15
- package/dist/card-grid.js +0 -58
- package/dist/card.js +0 -84
- package/dist/chip.js +0 -47
- package/dist/clamp-D5Ye0kJT.js +0 -6
- package/dist/color-tokens-D9BviGPK.js +0 -40
- package/dist/command.js +0 -1099
- package/dist/components/background-grid/BackgroundGrid.vue.d.ts +0 -2
- package/dist/components/background-grid/index.d.ts +0 -2
- package/dist/components/busy-indicator/BusyIndicator.vue.d.ts +0 -2
- package/dist/components/busy-indicator/busy-indicator-state.d.ts +0 -15
- package/dist/components/busy-indicator/index.d.ts +0 -3
- package/dist/components/card-grid/CardGrid.vue.d.ts +0 -88
- package/dist/components/card-grid/index.d.ts +0 -2
- package/dist/components/chip/Chip.vue.d.ts +0 -17
- package/dist/components/chip/index.d.ts +0 -2
- package/dist/components/confirm-dialog/ConfirmDialog.vue.d.ts +0 -2
- package/dist/components/confirm-dialog/confirm-dialog-state.d.ts +0 -40
- package/dist/components/confirm-dialog/index.d.ts +0 -3
- package/dist/components/dashboard-shell/DashboardShell.vue.d.ts +0 -67
- package/dist/components/dashboard-shell/index.d.ts +0 -2
- package/dist/components/data-list/DataList.vue.d.ts +0 -21
- package/dist/components/data-list/DataListItem.vue.d.ts +0 -21
- package/dist/components/data-list/DataListLabel.vue.d.ts +0 -21
- package/dist/components/data-list/DataListText.vue.d.ts +0 -21
- package/dist/components/data-list/DataListValue.vue.d.ts +0 -21
- package/dist/components/data-list/index.d.ts +0 -5
- package/dist/components/empty-state-card/EmptyStateCard.vue.d.ts +0 -73
- package/dist/components/error-page/ErrorPage.vue.d.ts +0 -51
- package/dist/components/error-page/index.d.ts +0 -2
- package/dist/components/info-card/InfoCard.vue.d.ts +0 -46
- package/dist/components/info-card/index.d.ts +0 -2
- package/dist/components/landing/index.d.ts +0 -6
- package/dist/components/landing/landing-content/LandingContent.vue.d.ts +0 -21
- package/dist/components/landing/landing-content/index.d.ts +0 -2
- package/dist/components/landing/landing-footer/LandingFooter.vue.d.ts +0 -39
- package/dist/components/landing/landing-footer/index.d.ts +0 -3
- package/dist/components/landing/landing-navbar/LandingNavbar.vue.d.ts +0 -32
- package/dist/components/landing/landing-navbar/index.d.ts +0 -2
- package/dist/components/landing/landing-shell/LandingShell.vue.d.ts +0 -31
- package/dist/components/landing/landing-shell/index.d.ts +0 -2
- package/dist/components/language-flag/LanguageFlag.vue.d.ts +0 -14
- package/dist/components/language-flag/flags/ChineseFlag.vue.d.ts +0 -2
- package/dist/components/language-flag/flags/EnglishFlag.vue.d.ts +0 -2
- package/dist/components/language-flag/flags/FrenchFlag.vue.d.ts +0 -2
- package/dist/components/language-flag/flags/GermanFlag.vue.d.ts +0 -2
- package/dist/components/language-flag/flags/ItalianFlag.vue.d.ts +0 -2
- package/dist/components/language-flag/flags/JapaneseFlag.vue.d.ts +0 -2
- package/dist/components/language-flag/flags/PortugueseFlag.vue.d.ts +0 -2
- package/dist/components/language-flag/flags/RussianFlag.vue.d.ts +0 -2
- package/dist/components/language-flag/flags/SpanishFlag.vue.d.ts +0 -2
- package/dist/components/language-selector/LanguageSelector.vue.d.ts +0 -31
- package/dist/components/load-more-button/LoadMoreButton.vue.d.ts +0 -36
- package/dist/components/loading-state-card/LoadingStateCard.vue.d.ts +0 -55
- package/dist/components/message-dialog/MessageDialog.vue.d.ts +0 -2
- package/dist/components/message-dialog/index.d.ts +0 -3
- package/dist/components/message-dialog/message-dialog-state.d.ts +0 -30
- package/dist/components/message-toast/MessageToast.vue.d.ts +0 -2
- package/dist/components/message-toast/index.d.ts +0 -2
- package/dist/components/message-toast/message-toast-state.d.ts +0 -18
- package/dist/components/page-header/PageHeader.vue.d.ts +0 -48
- package/dist/components/page-header/index.d.ts +0 -2
- package/dist/components/progress-component/ProgressComponent.vue.d.ts +0 -47
- package/dist/components/single-value-card/SingleValueCard.vue.d.ts +0 -40
- package/dist/components/slider-form-component/SliderFormComponent.vue.d.ts +0 -23
- package/dist/components/slider-form-component/index.d.ts +0 -2
- package/dist/components/switch-form-component/SwitchFormComponent.vue.d.ts +0 -12
- package/dist/components/switch-form-component/index.d.ts +0 -2
- package/dist/components/text-link/TextLink.vue.d.ts +0 -35
- package/dist/components/text-link/index.d.ts +0 -2
- package/dist/components/theme-selector/ThemeSelector.vue.d.ts +0 -2
- package/dist/components/theme-selector/index.d.ts +0 -2
- package/dist/components/ui/alert/Alert.vue.d.ts +0 -23
- package/dist/components/ui/alert/AlertDescription.vue.d.ts +0 -21
- package/dist/components/ui/alert/AlertTitle.vue.d.ts +0 -21
- package/dist/components/ui/alert/index.d.ts +0 -9
- package/dist/components/ui/alert-dialog/AlertDialog.vue.d.ts +0 -25
- package/dist/components/ui/alert-dialog/AlertDialogAction.vue.d.ts +0 -22
- package/dist/components/ui/alert-dialog/AlertDialogCancel.vue.d.ts +0 -22
- package/dist/components/ui/alert-dialog/AlertDialogContent.vue.d.ts +0 -36
- package/dist/components/ui/alert-dialog/AlertDialogDescription.vue.d.ts +0 -22
- package/dist/components/ui/alert-dialog/AlertDialogFooter.vue.d.ts +0 -21
- package/dist/components/ui/alert-dialog/AlertDialogHeader.vue.d.ts +0 -21
- package/dist/components/ui/alert-dialog/AlertDialogTitle.vue.d.ts +0 -22
- package/dist/components/ui/alert-dialog/AlertDialogTrigger.vue.d.ts +0 -18
- package/dist/components/ui/alert-dialog/index.d.ts +0 -9
- package/dist/components/ui/badge/Badge.vue.d.ts +0 -16
- package/dist/components/ui/badge/index.d.ts +0 -1
- package/dist/components/ui/breadcrumb/Breadcrumb.vue.d.ts +0 -21
- package/dist/components/ui/breadcrumb/BreadcrumbEllipsis.vue.d.ts +0 -21
- package/dist/components/ui/breadcrumb/BreadcrumbItem.vue.d.ts +0 -21
- package/dist/components/ui/breadcrumb/BreadcrumbLink.vue.d.ts +0 -24
- package/dist/components/ui/breadcrumb/BreadcrumbList.vue.d.ts +0 -21
- package/dist/components/ui/breadcrumb/BreadcrumbPage.vue.d.ts +0 -21
- package/dist/components/ui/breadcrumb/BreadcrumbSeparator.vue.d.ts +0 -21
- package/dist/components/ui/breadcrumb/index.d.ts +0 -7
- package/dist/components/ui/busy/Busy.vue.d.ts +0 -27
- package/dist/components/ui/busy/index.d.ts +0 -1
- package/dist/components/ui/button/Button.vue.d.ts +0 -27
- package/dist/components/ui/button/index.d.ts +0 -7
- package/dist/components/ui/calendar/Calendar.vue.d.ts +0 -44
- package/dist/components/ui/calendar/CalendarCell.vue.d.ts +0 -22
- package/dist/components/ui/calendar/CalendarCellTrigger.vue.d.ts +0 -24
- package/dist/components/ui/calendar/CalendarGrid.vue.d.ts +0 -22
- package/dist/components/ui/calendar/CalendarGridBody.vue.d.ts +0 -18
- package/dist/components/ui/calendar/CalendarGridHead.vue.d.ts +0 -22
- package/dist/components/ui/calendar/CalendarGridRow.vue.d.ts +0 -22
- package/dist/components/ui/calendar/CalendarHeadCell.vue.d.ts +0 -22
- package/dist/components/ui/calendar/CalendarHeader.vue.d.ts +0 -22
- package/dist/components/ui/calendar/CalendarHeading.vue.d.ts +0 -28
- package/dist/components/ui/calendar/CalendarNextButton.vue.d.ts +0 -22
- package/dist/components/ui/calendar/CalendarPrevButton.vue.d.ts +0 -22
- package/dist/components/ui/calendar/index.d.ts +0 -13
- package/dist/components/ui/card/Card.vue.d.ts +0 -24
- package/dist/components/ui/card/CardAction.vue.d.ts +0 -21
- package/dist/components/ui/card/CardContent.vue.d.ts +0 -21
- package/dist/components/ui/card/CardDescription.vue.d.ts +0 -21
- package/dist/components/ui/card/CardFooter.vue.d.ts +0 -21
- package/dist/components/ui/card/CardHeader.vue.d.ts +0 -21
- package/dist/components/ui/card/CardText.vue.d.ts +0 -21
- package/dist/components/ui/card/CardTitle.vue.d.ts +0 -21
- package/dist/components/ui/card/index.d.ts +0 -8
- package/dist/components/ui/command/Command.vue.d.ts +0 -40
- package/dist/components/ui/command/CommandDialog.vue.d.ts +0 -32
- package/dist/components/ui/command/CommandEmpty.vue.d.ts +0 -22
- package/dist/components/ui/command/CommandGroup.vue.d.ts +0 -23
- package/dist/components/ui/command/CommandInput.vue.d.ts +0 -7
- package/dist/components/ui/command/CommandItem.vue.d.ts +0 -30
- package/dist/components/ui/command/CommandList.vue.d.ts +0 -22
- package/dist/components/ui/command/CommandSeparator.vue.d.ts +0 -22
- package/dist/components/ui/command/CommandShortcut.vue.d.ts +0 -21
- package/dist/components/ui/command/index.d.ts +0 -90
- package/dist/components/ui/date-picker/DatePicker.vue.d.ts +0 -21
- package/dist/components/ui/date-picker/index.d.ts +0 -2
- package/dist/components/ui/date-time-picker/DateTimePicker.vue.d.ts +0 -27
- package/dist/components/ui/dialog/Dialog.vue.d.ts +0 -25
- package/dist/components/ui/dialog/DialogClose.vue.d.ts +0 -18
- package/dist/components/ui/dialog/DialogContent.vue.d.ts +0 -39
- package/dist/components/ui/dialog/DialogDescription.vue.d.ts +0 -22
- package/dist/components/ui/dialog/DialogFooter.vue.d.ts +0 -21
- package/dist/components/ui/dialog/DialogHeader.vue.d.ts +0 -21
- package/dist/components/ui/dialog/DialogOverlay.vue.d.ts +0 -22
- package/dist/components/ui/dialog/DialogScrollContent.vue.d.ts +0 -39
- package/dist/components/ui/dialog/DialogTitle.vue.d.ts +0 -22
- package/dist/components/ui/dialog/DialogTrigger.vue.d.ts +0 -18
- package/dist/components/ui/dialog/index.d.ts +0 -10
- package/dist/components/ui/field/Field.vue.d.ts +0 -23
- package/dist/components/ui/field/FieldContent.vue.d.ts +0 -21
- package/dist/components/ui/field/FieldDescription.vue.d.ts +0 -21
- package/dist/components/ui/field/FieldError.vue.d.ts +0 -24
- package/dist/components/ui/field/FieldGroup.vue.d.ts +0 -21
- package/dist/components/ui/field/FieldLabel.vue.d.ts +0 -21
- package/dist/components/ui/field/FieldLegend.vue.d.ts +0 -22
- package/dist/components/ui/field/FieldSeparator.vue.d.ts +0 -21
- package/dist/components/ui/field/FieldSet.vue.d.ts +0 -21
- package/dist/components/ui/field/FieldTitle.vue.d.ts +0 -21
- package/dist/components/ui/field/index.d.ts +0 -15
- package/dist/components/ui/input/Input.vue.d.ts +0 -12
- package/dist/components/ui/input/index.d.ts +0 -1
- package/dist/components/ui/label/Label.vue.d.ts +0 -22
- package/dist/components/ui/label/index.d.ts +0 -1
- package/dist/components/ui/native-select/NativeSelect.vue.d.ts +0 -27
- package/dist/components/ui/native-select/NativeSelectOptGroup.vue.d.ts +0 -21
- package/dist/components/ui/native-select/NativeSelectOption.vue.d.ts +0 -21
- package/dist/components/ui/native-select/index.d.ts +0 -3
- package/dist/components/ui/popover/Popover.vue.d.ts +0 -25
- package/dist/components/ui/popover/PopoverAnchor.vue.d.ts +0 -18
- package/dist/components/ui/popover/PopoverContent.vue.d.ts +0 -39
- package/dist/components/ui/popover/PopoverTrigger.vue.d.ts +0 -18
- package/dist/components/ui/popover/index.d.ts +0 -4
- package/dist/components/ui/progress/Progress.vue.d.ts +0 -9
- package/dist/components/ui/progress/index.d.ts +0 -1
- package/dist/components/ui/scroll-area/ScrollArea.vue.d.ts +0 -22
- package/dist/components/ui/scroll-area/ScrollBar.vue.d.ts +0 -9
- package/dist/components/ui/scroll-area/index.d.ts +0 -2
- package/dist/components/ui/select/Select.vue.d.ts +0 -28
- package/dist/components/ui/select/SelectContent.vue.d.ts +0 -35
- package/dist/components/ui/select/SelectGroup.vue.d.ts +0 -18
- package/dist/components/ui/select/SelectItem.vue.d.ts +0 -24
- package/dist/components/ui/select/SelectItemContent.vue.d.ts +0 -15
- package/dist/components/ui/select/SelectItemText.vue.d.ts +0 -18
- package/dist/components/ui/select/SelectLabel.vue.d.ts +0 -22
- package/dist/components/ui/select/SelectScrollDownButton.vue.d.ts +0 -22
- package/dist/components/ui/select/SelectScrollUpButton.vue.d.ts +0 -22
- package/dist/components/ui/select/SelectSeparator.vue.d.ts +0 -7
- package/dist/components/ui/select/SelectTrigger.vue.d.ts +0 -25
- package/dist/components/ui/select/SelectValue.vue.d.ts +0 -18
- package/dist/components/ui/select/SelectValueContent.vue.d.ts +0 -16
- package/dist/components/ui/select/index.d.ts +0 -13
- package/dist/components/ui/separator/Separator.vue.d.ts +0 -10
- package/dist/components/ui/separator/index.d.ts +0 -1
- package/dist/components/ui/sheet/Sheet.vue.d.ts +0 -25
- package/dist/components/ui/sheet/SheetClose.vue.d.ts +0 -18
- package/dist/components/ui/sheet/SheetContent.vue.d.ts +0 -39
- package/dist/components/ui/sheet/SheetDescription.vue.d.ts +0 -22
- package/dist/components/ui/sheet/SheetFooter.vue.d.ts +0 -21
- package/dist/components/ui/sheet/SheetHeader.vue.d.ts +0 -21
- package/dist/components/ui/sheet/SheetOverlay.vue.d.ts +0 -22
- package/dist/components/ui/sheet/SheetTitle.vue.d.ts +0 -22
- package/dist/components/ui/sheet/SheetTrigger.vue.d.ts +0 -18
- package/dist/components/ui/sheet/index.d.ts +0 -8
- package/dist/components/ui/sidebar/Sidebar.vue.d.ts +0 -25
- package/dist/components/ui/sidebar/SidebarContent.vue.d.ts +0 -21
- package/dist/components/ui/sidebar/SidebarFooter.vue.d.ts +0 -21
- package/dist/components/ui/sidebar/SidebarGroup.vue.d.ts +0 -21
- package/dist/components/ui/sidebar/SidebarGroupAction.vue.d.ts +0 -22
- package/dist/components/ui/sidebar/SidebarGroupContent.vue.d.ts +0 -21
- package/dist/components/ui/sidebar/SidebarGroupLabel.vue.d.ts +0 -22
- package/dist/components/ui/sidebar/SidebarHeader.vue.d.ts +0 -21
- package/dist/components/ui/sidebar/SidebarInput.vue.d.ts +0 -21
- package/dist/components/ui/sidebar/SidebarInset.vue.d.ts +0 -21
- package/dist/components/ui/sidebar/SidebarMenu.vue.d.ts +0 -21
- package/dist/components/ui/sidebar/SidebarMenuAction.vue.d.ts +0 -25
- package/dist/components/ui/sidebar/SidebarMenuBadge.vue.d.ts +0 -21
- package/dist/components/ui/sidebar/SidebarMenuButton.vue.d.ts +0 -27
- package/dist/components/ui/sidebar/SidebarMenuButtonChild.vue.d.ts +0 -30
- package/dist/components/ui/sidebar/SidebarMenuItem.vue.d.ts +0 -21
- package/dist/components/ui/sidebar/SidebarMenuSkeleton.vue.d.ts +0 -7
- package/dist/components/ui/sidebar/SidebarMenuSub.vue.d.ts +0 -21
- package/dist/components/ui/sidebar/SidebarMenuSubButton.vue.d.ts +0 -27
- package/dist/components/ui/sidebar/SidebarMenuSubItem.vue.d.ts +0 -21
- package/dist/components/ui/sidebar/SidebarProvider.vue.d.ts +0 -32
- package/dist/components/ui/sidebar/SidebarRail.vue.d.ts +0 -21
- package/dist/components/ui/sidebar/SidebarSeparator.vue.d.ts +0 -21
- package/dist/components/ui/sidebar/SidebarTrigger.vue.d.ts +0 -6
- package/dist/components/ui/sidebar/index.d.ts +0 -38
- package/dist/components/ui/sidebar/utils.d.ts +0 -56
- package/dist/components/ui/skeleton/Skeleton.vue.d.ts +0 -6
- package/dist/components/ui/skeleton/index.d.ts +0 -1
- package/dist/components/ui/slider/Slider.vue.d.ts +0 -13
- package/dist/components/ui/slider/index.d.ts +0 -1
- package/dist/components/ui/switch/Switch.vue.d.ts +0 -29
- package/dist/components/ui/switch/index.d.ts +0 -1
- package/dist/components/ui/table/Table.vue.d.ts +0 -21
- package/dist/components/ui/table/TableBody.vue.d.ts +0 -21
- package/dist/components/ui/table/TableCaption.vue.d.ts +0 -21
- package/dist/components/ui/table/TableCell.vue.d.ts +0 -21
- package/dist/components/ui/table/TableEmpty.vue.d.ts +0 -24
- package/dist/components/ui/table/TableFooter.vue.d.ts +0 -21
- package/dist/components/ui/table/TableHead.vue.d.ts +0 -21
- package/dist/components/ui/table/TableHeader.vue.d.ts +0 -21
- package/dist/components/ui/table/TableRow.vue.d.ts +0 -21
- package/dist/components/ui/table/index.d.ts +0 -9
- package/dist/components/ui/tabs/Tabs.vue.d.ts +0 -28
- package/dist/components/ui/tabs/TabsContent.vue.d.ts +0 -22
- package/dist/components/ui/tabs/TabsList.vue.d.ts +0 -22
- package/dist/components/ui/tabs/TabsTrigger.vue.d.ts +0 -22
- package/dist/components/ui/tabs/index.d.ts +0 -4
- package/dist/components/ui/textarea/Textarea.vue.d.ts +0 -12
- package/dist/components/ui/textarea/index.d.ts +0 -1
- package/dist/components/ui/time-picker/TimePicker.vue.d.ts +0 -21
- package/dist/components/ui/time-picker/index.d.ts +0 -2
- package/dist/components/ui/tooltip/Tooltip.vue.d.ts +0 -24
- package/dist/components/ui/tooltip/TooltipContent.vue.d.ts +0 -30
- package/dist/components/ui/tooltip/TooltipProvider.vue.d.ts +0 -20
- package/dist/components/ui/tooltip/TooltipTrigger.vue.d.ts +0 -18
- package/dist/components/ui/tooltip/index.d.ts +0 -4
- package/dist/confirm-dialog.js +0 -228
- package/dist/content.js +0 -210
- package/dist/createContext-BabAT1K8.js +0 -19
- package/dist/dashboard-shell.js +0 -231
- package/dist/data-list.js +0 -97
- package/dist/date-picker.js +0 -5
- package/dist/date-time-picker.js +0 -140
- package/dist/dialog.js +0 -147
- package/dist/empty-state-card.js +0 -5
- package/dist/error-page.js +0 -115
- package/dist/field.js +0 -294
- package/dist/getActiveElement-Bmy6QsUb.js +0 -9
- package/dist/i18n.js +0 -778
- package/dist/index-DDJjWaIl.js +0 -363
- package/dist/index-DDurQzrB.js +0 -44
- package/dist/index-Dw56kNV0.js +0 -251
- package/dist/index.min-CUZWqaEQ.js +0 -32
- package/dist/info-card.js +0 -65
- package/dist/input.js +0 -4
- package/dist/label.js +0 -4
- package/dist/landing-content.js +0 -5
- package/dist/landing-footer.js +0 -5
- package/dist/landing-navbar.js +0 -5
- package/dist/landing-shell.js +0 -5
- package/dist/landing.js +0 -11
- package/dist/language-flag.js +0 -61
- package/dist/language-selector.js +0 -169
- package/dist/lib/color-tokens.d.ts +0 -6
- package/dist/lib/i18n.d.ts +0 -1417
- package/dist/lib/utils.d.ts +0 -3
- package/dist/load-more-button.js +0 -5
- package/dist/loading-state-card.js +0 -5
- package/dist/message-dialog.js +0 -226
- package/dist/message-toast.js +0 -103
- package/dist/native-select.js +0 -25
- package/dist/nullish-D3tMkl6i.js +0 -6
- package/dist/page-header.js +0 -57
- package/dist/popover.js +0 -65
- package/dist/progress-component.js +0 -51
- package/dist/progress.js +0 -4
- package/dist/scroll-area.js +0 -1080
- package/dist/select.js +0 -2222
- package/dist/separator.js +0 -4
- package/dist/sheet.js +0 -68
- package/dist/sidebar.js +0 -807
- package/dist/single-value-card.js +0 -64
- package/dist/skeleton.js +0 -4
- package/dist/slider-form-component.js +0 -60
- package/dist/slider.js +0 -4
- package/dist/style.css +0 -5705
- package/dist/style.d.ts +0 -0
- package/dist/style.js +0 -1
- package/dist/switch-form-component.js +0 -40
- package/dist/switch.js +0 -4
- package/dist/table.js +0 -82
- package/dist/tabs.js +0 -658
- package/dist/text-link.js +0 -39
- package/dist/textarea.js +0 -37
- package/dist/theme-selector.js +0 -159
- package/dist/time-picker.js +0 -5
- package/dist/tooltip.js +0 -32
- package/dist/useDirection-B2bMgzzV.js +0 -12
- package/dist/useFocusGuards-2C1jyYW5.js +0 -29
- package/dist/useFormControl-DZ4LnB9F.js +0 -11
- package/dist/useForwardExpose-BcX3VRdS.js +0 -58
- package/dist/useForwardPropsEmits-GlUGKcIz.js +0 -47
- package/dist/useId-CF6wz41D.js +0 -16
- package/dist/useKbd-JjFOu4f7.js +0 -41
- package/dist/useNonce-CWj1JlPB.js +0 -12
- package/dist/usePrimitiveElement-BCpwlakH.js +0 -16
- package/dist/useSize-DUgGY9t1.js +0 -51
- package/dist/useTypeahead-4RK0Emcv.js +0 -159
- package/dist/utils-DbR1EZn-.js +0 -16
- package/dist/utils-DbYZ4xaD.js +0 -3204
- package/dist/utils-hdwtyAF3.js +0 -44
- package/dist/utils.js +0 -5
package/dist/dashboard-shell.js
DELETED
|
@@ -1,231 +0,0 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createBlock, unref, withCtx, createVNode, renderSlot, createElementVNode, createElementBlock, createCommentVNode, toDisplayString, Fragment, renderList, createTextVNode, normalizeClass, resolveDynamicComponent, mergeProps } from "vue";
|
|
2
|
-
import { H as HugeiconsIcon } from "./HugeiconsIcon.vue-By2RXWWz.js";
|
|
3
|
-
import { B as BackgroundGrid } from "./BackgroundGrid-BJDDcLzF.js";
|
|
4
|
-
import { _ as _sfc_main$e } from "./Separator.vue_vue_type_script_setup_true_lang-BDH2gelV.js";
|
|
5
|
-
import { SidebarProvider as _sfc_main$1, Sidebar as _sfc_main$2, SidebarHeader as _sfc_main$3, SidebarMenu as _sfc_main$4, SidebarMenuItem as _sfc_main$5, SidebarMenuButton as _sfc_main$6, SidebarContent as _sfc_main$7, SidebarGroup as _sfc_main$8, SidebarGroupLabel as _sfc_main$9, SidebarGroupContent as _sfc_main$a, SidebarFooter as _sfc_main$b, SidebarInset as _sfc_main$c, SidebarTrigger as _sfc_main$d } from "./sidebar.js";
|
|
6
|
-
import { c as cn } from "./utils-DbYZ4xaD.js";
|
|
7
|
-
const _hoisted_1 = ["href"];
|
|
8
|
-
const _hoisted_2 = { class: "inline-flex items-center gap-2" };
|
|
9
|
-
const _hoisted_3 = ["src", "alt"];
|
|
10
|
-
const _hoisted_4 = {
|
|
11
|
-
key: 1,
|
|
12
|
-
class: "text-xl font-bold tracking-tight text-foreground"
|
|
13
|
-
};
|
|
14
|
-
const _hoisted_5 = { class: "truncate font-semibold" };
|
|
15
|
-
const _hoisted_6 = {
|
|
16
|
-
key: 0,
|
|
17
|
-
class: "mt-0.5 text-[11px] leading-4 text-sidebar-foreground/65"
|
|
18
|
-
};
|
|
19
|
-
const _hoisted_7 = { class: "min-w-0 flex-1" };
|
|
20
|
-
const _hoisted_8 = { class: "truncate text-sm font-semibold" };
|
|
21
|
-
const _hoisted_9 = {
|
|
22
|
-
key: 0,
|
|
23
|
-
class: "truncate text-xs text-muted-foreground"
|
|
24
|
-
};
|
|
25
|
-
const _hoisted_10 = { class: "relative z-10 min-w-0 flex-1" };
|
|
26
|
-
const _hoisted_11 = {
|
|
27
|
-
key: 1,
|
|
28
|
-
class: "relative z-10 mt-auto"
|
|
29
|
-
};
|
|
30
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
31
|
-
__name: "DashboardShell",
|
|
32
|
-
props: {
|
|
33
|
-
appName: { default: "" },
|
|
34
|
-
appLogo: { default: "" },
|
|
35
|
-
appLinkTo: { default: "/" },
|
|
36
|
-
title: { default: "" },
|
|
37
|
-
description: { default: "" },
|
|
38
|
-
collapsible: { default: "offcanvas" },
|
|
39
|
-
compact: { type: Boolean, default: false },
|
|
40
|
-
sidebarSections: { default: () => [] },
|
|
41
|
-
sidebarLinkComponent: { default: "a" },
|
|
42
|
-
showBackground: { type: Boolean, default: true },
|
|
43
|
-
insetClass: {},
|
|
44
|
-
topbarClass: {},
|
|
45
|
-
contentContainerClass: {}
|
|
46
|
-
},
|
|
47
|
-
setup(__props) {
|
|
48
|
-
const props = __props;
|
|
49
|
-
const getSidebarItemLinkProps = (item) => {
|
|
50
|
-
const sharedProps = item.newTab ? { target: "_blank", rel: "noopener noreferrer" } : {};
|
|
51
|
-
if (props.sidebarLinkComponent === "a") {
|
|
52
|
-
return {
|
|
53
|
-
href: item.href ?? "#",
|
|
54
|
-
...sharedProps
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
return {
|
|
58
|
-
to: item.to ?? item.href ?? "/",
|
|
59
|
-
...sharedProps
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
return (_ctx, _cache) => {
|
|
63
|
-
return openBlock(), createBlock(unref(_sfc_main$1), null, {
|
|
64
|
-
default: withCtx(() => [
|
|
65
|
-
createVNode(unref(_sfc_main$2), {
|
|
66
|
-
collapsible: props.collapsible,
|
|
67
|
-
compact: props.compact
|
|
68
|
-
}, {
|
|
69
|
-
default: withCtx(() => [
|
|
70
|
-
props.appName || _ctx.$slots["sidebar-header"] ? (openBlock(), createBlock(unref(_sfc_main$3), {
|
|
71
|
-
key: 0,
|
|
72
|
-
class: "h-16 justify-center border-b border-sidebar-border"
|
|
73
|
-
}, {
|
|
74
|
-
default: withCtx(() => [
|
|
75
|
-
renderSlot(_ctx.$slots, "sidebar-header", {}, () => [
|
|
76
|
-
createVNode(unref(_sfc_main$4), null, {
|
|
77
|
-
default: withCtx(() => [
|
|
78
|
-
createVNode(unref(_sfc_main$5), null, {
|
|
79
|
-
default: withCtx(() => [
|
|
80
|
-
createVNode(unref(_sfc_main$6), {
|
|
81
|
-
"as-child": "",
|
|
82
|
-
size: "lg"
|
|
83
|
-
}, {
|
|
84
|
-
default: withCtx(() => [
|
|
85
|
-
createElementVNode("a", {
|
|
86
|
-
href: props.appLinkTo,
|
|
87
|
-
class: "inline-flex items-center gap-2"
|
|
88
|
-
}, [
|
|
89
|
-
createElementVNode("div", _hoisted_2, [
|
|
90
|
-
props.appLogo ? (openBlock(), createElementBlock("img", {
|
|
91
|
-
key: 0,
|
|
92
|
-
src: props.appLogo,
|
|
93
|
-
alt: `${props.appName} logo`,
|
|
94
|
-
class: "size-8 shrink-0 object-contain"
|
|
95
|
-
}, null, 8, _hoisted_3)) : createCommentVNode("", true),
|
|
96
|
-
props.appName ? (openBlock(), createElementBlock("span", _hoisted_4, toDisplayString(props.appName), 1)) : createCommentVNode("", true)
|
|
97
|
-
])
|
|
98
|
-
], 8, _hoisted_1)
|
|
99
|
-
]),
|
|
100
|
-
_: 1
|
|
101
|
-
})
|
|
102
|
-
]),
|
|
103
|
-
_: 1
|
|
104
|
-
})
|
|
105
|
-
]),
|
|
106
|
-
_: 1
|
|
107
|
-
})
|
|
108
|
-
])
|
|
109
|
-
]),
|
|
110
|
-
_: 3
|
|
111
|
-
})) : createCommentVNode("", true),
|
|
112
|
-
props.sidebarSections.length ? (openBlock(), createBlock(unref(_sfc_main$7), { key: 1 }, {
|
|
113
|
-
default: withCtx(() => [
|
|
114
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(props.sidebarSections, (section) => {
|
|
115
|
-
return openBlock(), createBlock(unref(_sfc_main$8), {
|
|
116
|
-
key: section.id
|
|
117
|
-
}, {
|
|
118
|
-
default: withCtx(() => [
|
|
119
|
-
section.label ? (openBlock(), createBlock(unref(_sfc_main$9), { key: 0 }, {
|
|
120
|
-
default: withCtx(() => [
|
|
121
|
-
createTextVNode(toDisplayString(section.label), 1)
|
|
122
|
-
]),
|
|
123
|
-
_: 2
|
|
124
|
-
}, 1024)) : createCommentVNode("", true),
|
|
125
|
-
createVNode(unref(_sfc_main$a), null, {
|
|
126
|
-
default: withCtx(() => [
|
|
127
|
-
createVNode(unref(_sfc_main$4), { class: "gap-3" }, {
|
|
128
|
-
default: withCtx(() => [
|
|
129
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(section.items, (item) => {
|
|
130
|
-
return openBlock(), createBlock(unref(_sfc_main$5), {
|
|
131
|
-
key: item.id
|
|
132
|
-
}, {
|
|
133
|
-
default: withCtx(() => [
|
|
134
|
-
createVNode(unref(_sfc_main$6), {
|
|
135
|
-
"as-child": "",
|
|
136
|
-
"is-active": item.active,
|
|
137
|
-
class: normalizeClass(unref(cn)("group h-auto min-h-12 rounded border border-[var(--border-light)] px-3 py-2.5 text-[var(--text-secondary-light)] transition-all duration-200 hover:border-[var(--border-hover-light)] hover:bg-[var(--bg-selected-light)] hover:text-[var(--text-primary-light)] data-[active=true]:border-[var(--border-hover-light)] data-[active=true]:bg-[var(--bg-selected-light)] data-[active=true]:text-[var(--text-primary-light)] dark:border-[var(--border-dark)] dark:text-[var(--text-secondary-dark)] dark:hover:border-[var(--border-hover-dark)] dark:hover:bg-[var(--bg-selected-dark)] dark:hover:text-[var(--text-primary-dark)] dark:data-[active=true]:border-[var(--border-hover-dark)] dark:data-[active=true]:bg-[var(--bg-selected-dark)] dark:data-[active=true]:text-[var(--text-primary-dark)] sm:px-4 sm:py-3", item.description ? "items-start" : "items-center"))
|
|
138
|
-
}, {
|
|
139
|
-
default: withCtx(() => [
|
|
140
|
-
(openBlock(), createBlock(resolveDynamicComponent(props.sidebarLinkComponent), mergeProps({ ref_for: true }, getSidebarItemLinkProps(item)), {
|
|
141
|
-
default: withCtx(() => [
|
|
142
|
-
item.icon ? (openBlock(), createBlock(unref(HugeiconsIcon), {
|
|
143
|
-
key: 0,
|
|
144
|
-
icon: item.icon,
|
|
145
|
-
"stroke-width": 1.8,
|
|
146
|
-
class: normalizeClass(unref(cn)("shrink-0 opacity-90 transition-opacity duration-200 group-hover:opacity-100", item.description ? "mt-0.5 size-5 sm:h-5 sm:w-5" : "size-5 self-center sm:h-6 sm:w-6"))
|
|
147
|
-
}, null, 8, ["icon", "class"])) : createCommentVNode("", true),
|
|
148
|
-
createElementVNode("div", {
|
|
149
|
-
class: normalizeClass(unref(cn)("min-w-0 flex-1 text-left leading-tight", item.description ? "grid" : "flex items-center"))
|
|
150
|
-
}, [
|
|
151
|
-
createElementVNode("span", _hoisted_5, toDisplayString(item.label), 1),
|
|
152
|
-
item.description ? (openBlock(), createElementBlock("span", _hoisted_6, toDisplayString(item.description), 1)) : createCommentVNode("", true)
|
|
153
|
-
], 2)
|
|
154
|
-
]),
|
|
155
|
-
_: 2
|
|
156
|
-
}, 1040))
|
|
157
|
-
]),
|
|
158
|
-
_: 2
|
|
159
|
-
}, 1032, ["is-active", "class"])
|
|
160
|
-
]),
|
|
161
|
-
_: 2
|
|
162
|
-
}, 1024);
|
|
163
|
-
}), 128))
|
|
164
|
-
]),
|
|
165
|
-
_: 2
|
|
166
|
-
}, 1024)
|
|
167
|
-
]),
|
|
168
|
-
_: 2
|
|
169
|
-
}, 1024)
|
|
170
|
-
]),
|
|
171
|
-
_: 2
|
|
172
|
-
}, 1024);
|
|
173
|
-
}), 128))
|
|
174
|
-
]),
|
|
175
|
-
_: 1
|
|
176
|
-
})) : createCommentVNode("", true),
|
|
177
|
-
_ctx.$slots["sidebar-footer"] ? (openBlock(), createBlock(unref(_sfc_main$b), {
|
|
178
|
-
key: 2,
|
|
179
|
-
class: "border-t border-sidebar-border"
|
|
180
|
-
}, {
|
|
181
|
-
default: withCtx(() => [
|
|
182
|
-
renderSlot(_ctx.$slots, "sidebar-footer")
|
|
183
|
-
]),
|
|
184
|
-
_: 3
|
|
185
|
-
})) : createCommentVNode("", true)
|
|
186
|
-
]),
|
|
187
|
-
_: 3
|
|
188
|
-
}, 8, ["collapsible", "compact"]),
|
|
189
|
-
createVNode(unref(_sfc_main$c), {
|
|
190
|
-
class: normalizeClass(unref(cn)("relative min-h-screen min-w-0 bg-background text-foreground", props.insetClass))
|
|
191
|
-
}, {
|
|
192
|
-
default: withCtx(() => [
|
|
193
|
-
props.showBackground ? (openBlock(), createBlock(BackgroundGrid, { key: 0 })) : createCommentVNode("", true),
|
|
194
|
-
createElementVNode("header", {
|
|
195
|
-
class: normalizeClass(unref(cn)("sticky top-0 z-20 flex h-16 shrink-0 items-center gap-2 border-b border-sidebar-border bg-sidebar px-4 backdrop-blur", props.topbarClass))
|
|
196
|
-
}, [
|
|
197
|
-
createVNode(unref(_sfc_main$d), { class: "-ml-1" }),
|
|
198
|
-
createVNode(unref(_sfc_main$e), {
|
|
199
|
-
orientation: "vertical",
|
|
200
|
-
class: "mr-2 data-[orientation=vertical]:h-4"
|
|
201
|
-
}),
|
|
202
|
-
renderSlot(_ctx.$slots, "topbar-leading"),
|
|
203
|
-
createElementVNode("div", _hoisted_7, [
|
|
204
|
-
createElementVNode("div", _hoisted_8, toDisplayString(props.title), 1),
|
|
205
|
-
props.description ? (openBlock(), createElementBlock("div", _hoisted_9, toDisplayString(props.description), 1)) : createCommentVNode("", true)
|
|
206
|
-
]),
|
|
207
|
-
renderSlot(_ctx.$slots, "topbar-trailing")
|
|
208
|
-
], 2),
|
|
209
|
-
createElementVNode("main", _hoisted_10, [
|
|
210
|
-
createElementVNode("div", {
|
|
211
|
-
class: normalizeClass(unref(cn)("mx-auto flex w-full min-w-0 max-w-7xl flex-col gap-6 px-3 py-4 sm:px-6 sm:py-6 lg:px-8 lg:py-8", props.contentContainerClass))
|
|
212
|
-
}, [
|
|
213
|
-
renderSlot(_ctx.$slots, "default")
|
|
214
|
-
], 2)
|
|
215
|
-
]),
|
|
216
|
-
_ctx.$slots.footer ? (openBlock(), createElementBlock("footer", _hoisted_11, [
|
|
217
|
-
renderSlot(_ctx.$slots, "footer")
|
|
218
|
-
])) : createCommentVNode("", true)
|
|
219
|
-
]),
|
|
220
|
-
_: 3
|
|
221
|
-
}, 8, ["class"])
|
|
222
|
-
]),
|
|
223
|
-
_: 3
|
|
224
|
-
});
|
|
225
|
-
};
|
|
226
|
-
}
|
|
227
|
-
});
|
|
228
|
-
export {
|
|
229
|
-
_sfc_main as DashboardShell,
|
|
230
|
-
_sfc_main as default
|
|
231
|
-
};
|
package/dist/data-list.js
DELETED
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, renderSlot } from "vue";
|
|
2
|
-
import { c as cn } from "./utils-DbYZ4xaD.js";
|
|
3
|
-
const _hoisted_1 = { class: "border-y border-border" };
|
|
4
|
-
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
5
|
-
__name: "DataList",
|
|
6
|
-
props: {
|
|
7
|
-
class: {}
|
|
8
|
-
},
|
|
9
|
-
setup(__props) {
|
|
10
|
-
const props = __props;
|
|
11
|
-
return (_ctx, _cache) => {
|
|
12
|
-
return openBlock(), createElementBlock("table", {
|
|
13
|
-
"data-slot": "data-list",
|
|
14
|
-
class: normalizeClass(unref(cn)("w-full text-left text-xs md:text-sm", props.class))
|
|
15
|
-
}, [
|
|
16
|
-
createElementVNode("tbody", _hoisted_1, [
|
|
17
|
-
renderSlot(_ctx.$slots, "default")
|
|
18
|
-
])
|
|
19
|
-
], 2);
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
24
|
-
__name: "DataListItem",
|
|
25
|
-
props: {
|
|
26
|
-
class: {}
|
|
27
|
-
},
|
|
28
|
-
setup(__props) {
|
|
29
|
-
const props = __props;
|
|
30
|
-
return (_ctx, _cache) => {
|
|
31
|
-
return openBlock(), createElementBlock("tr", {
|
|
32
|
-
"data-slot": "data-list-item",
|
|
33
|
-
class: normalizeClass(unref(cn)("border-b border-border last:border-b-0", props.class))
|
|
34
|
-
}, [
|
|
35
|
-
renderSlot(_ctx.$slots, "default")
|
|
36
|
-
], 2);
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
});
|
|
40
|
-
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
41
|
-
__name: "DataListLabel",
|
|
42
|
-
props: {
|
|
43
|
-
class: {}
|
|
44
|
-
},
|
|
45
|
-
setup(__props) {
|
|
46
|
-
const props = __props;
|
|
47
|
-
return (_ctx, _cache) => {
|
|
48
|
-
return openBlock(), createElementBlock("td", {
|
|
49
|
-
"data-slot": "data-list-label",
|
|
50
|
-
class: normalizeClass(unref(cn)("py-3 align-top text-muted-foreground", props.class))
|
|
51
|
-
}, [
|
|
52
|
-
renderSlot(_ctx.$slots, "default")
|
|
53
|
-
], 2);
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
});
|
|
57
|
-
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
58
|
-
__name: "DataListText",
|
|
59
|
-
props: {
|
|
60
|
-
class: {}
|
|
61
|
-
},
|
|
62
|
-
setup(__props) {
|
|
63
|
-
const props = __props;
|
|
64
|
-
return (_ctx, _cache) => {
|
|
65
|
-
return openBlock(), createElementBlock("div", {
|
|
66
|
-
"data-slot": "data-list-text",
|
|
67
|
-
class: normalizeClass(unref(cn)("line-clamp-3", props.class))
|
|
68
|
-
}, [
|
|
69
|
-
renderSlot(_ctx.$slots, "default")
|
|
70
|
-
], 2);
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
});
|
|
74
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
75
|
-
__name: "DataListValue",
|
|
76
|
-
props: {
|
|
77
|
-
class: {}
|
|
78
|
-
},
|
|
79
|
-
setup(__props) {
|
|
80
|
-
const props = __props;
|
|
81
|
-
return (_ctx, _cache) => {
|
|
82
|
-
return openBlock(), createElementBlock("td", {
|
|
83
|
-
"data-slot": "data-list-value",
|
|
84
|
-
class: normalizeClass(unref(cn)("py-3 pl-2 align-top text-right font-semibold text-foreground", props.class))
|
|
85
|
-
}, [
|
|
86
|
-
renderSlot(_ctx.$slots, "default")
|
|
87
|
-
], 2);
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
});
|
|
91
|
-
export {
|
|
92
|
-
_sfc_main$4 as DataList,
|
|
93
|
-
_sfc_main$3 as DataListItem,
|
|
94
|
-
_sfc_main$2 as DataListLabel,
|
|
95
|
-
_sfc_main$1 as DataListText,
|
|
96
|
-
_sfc_main as DataListValue
|
|
97
|
-
};
|
package/dist/date-picker.js
DELETED
package/dist/date-time-picker.js
DELETED
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, createVNode } from "vue";
|
|
2
|
-
import { l as $14e0f24ef4ac5c92$export$aa8b41735afcabd2, n as $11d87f3f76e88657$export$93522d1a439f3617, o as $11d87f3f76e88657$export$e57ff100d91bd4b9 } from "./CalendarPrevButton.vue_vue_type_script_setup_true_lang-C6OtvF0h.js";
|
|
3
|
-
import { c as cn } from "./utils-DbYZ4xaD.js";
|
|
4
|
-
import { _ as _sfc_main$1 } from "./DatePicker.vue_vue_type_script_setup_true_lang-CzMhKnrj.js";
|
|
5
|
-
import { _ as _sfc_main$2 } from "./TimePicker.vue_vue_type_script_setup_true_lang-C3Ww9XT5.js";
|
|
6
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
-
__name: "DateTimePicker",
|
|
8
|
-
props: {
|
|
9
|
-
defaultValue: { default: null },
|
|
10
|
-
modelValue: {},
|
|
11
|
-
minDate: { default: null },
|
|
12
|
-
maxDate: { default: null },
|
|
13
|
-
step: { default: 60 },
|
|
14
|
-
disabled: { type: Boolean, default: false },
|
|
15
|
-
datePlaceholder: { default: "Pick a date" },
|
|
16
|
-
class: {},
|
|
17
|
-
datePickerClass: {},
|
|
18
|
-
timePickerClass: {},
|
|
19
|
-
datePickerContentClass: {}
|
|
20
|
-
},
|
|
21
|
-
emits: ["update:modelValue"],
|
|
22
|
-
setup(__props, { emit: __emit }) {
|
|
23
|
-
const props = __props;
|
|
24
|
-
const emits = __emit;
|
|
25
|
-
const localTimeZone = $14e0f24ef4ac5c92$export$aa8b41735afcabd2();
|
|
26
|
-
const internalValue = ref(props.defaultValue);
|
|
27
|
-
const isControlled = computed(() => props.modelValue !== void 0);
|
|
28
|
-
const value = computed({
|
|
29
|
-
get: () => (isControlled.value ? props.modelValue : internalValue.value) ?? null,
|
|
30
|
-
set: (nextValue) => {
|
|
31
|
-
const resolvedValue = clampDate(nextValue);
|
|
32
|
-
if (!isControlled.value)
|
|
33
|
-
internalValue.value = resolvedValue;
|
|
34
|
-
emits("update:modelValue", resolvedValue);
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
const toPickerDateValue = (date) => {
|
|
38
|
-
if (!(date instanceof Date) || Number.isNaN(date.getTime()))
|
|
39
|
-
return void 0;
|
|
40
|
-
return $11d87f3f76e88657$export$93522d1a439f3617($11d87f3f76e88657$export$e57ff100d91bd4b9(date, localTimeZone));
|
|
41
|
-
};
|
|
42
|
-
const toTimeString = (date) => {
|
|
43
|
-
if (!(date instanceof Date) || Number.isNaN(date.getTime()))
|
|
44
|
-
return "";
|
|
45
|
-
return `${String(date.getHours()).padStart(2, "0")}:${String(date.getMinutes()).padStart(2, "0")}`;
|
|
46
|
-
};
|
|
47
|
-
const buildDate = (dateValue2, timeValue2) => {
|
|
48
|
-
if (!dateValue2)
|
|
49
|
-
return null;
|
|
50
|
-
const [hours = "0", minutes = "0"] = (timeValue2 || "00:00").split(":");
|
|
51
|
-
const nextDate = new Date(
|
|
52
|
-
dateValue2.year,
|
|
53
|
-
dateValue2.month - 1,
|
|
54
|
-
dateValue2.day,
|
|
55
|
-
Number(hours),
|
|
56
|
-
Number(minutes),
|
|
57
|
-
0,
|
|
58
|
-
0
|
|
59
|
-
);
|
|
60
|
-
return Number.isNaN(nextDate.getTime()) ? null : nextDate;
|
|
61
|
-
};
|
|
62
|
-
const areSameCalendarDay = (left, right) => {
|
|
63
|
-
if (!left || !right)
|
|
64
|
-
return false;
|
|
65
|
-
return left.year === right.year && left.month === right.month && left.day === right.day;
|
|
66
|
-
};
|
|
67
|
-
const clampDate = (date) => {
|
|
68
|
-
if (!date)
|
|
69
|
-
return null;
|
|
70
|
-
if (props.minDate && date.getTime() < props.minDate.getTime())
|
|
71
|
-
return new Date(props.minDate);
|
|
72
|
-
if (props.maxDate && date.getTime() > props.maxDate.getTime())
|
|
73
|
-
return new Date(props.maxDate);
|
|
74
|
-
return date;
|
|
75
|
-
};
|
|
76
|
-
const getFallbackDate = () => value.value ?? props.minDate ?? props.maxDate ?? /* @__PURE__ */ new Date();
|
|
77
|
-
const dateValue = computed({
|
|
78
|
-
get: () => toPickerDateValue(value.value),
|
|
79
|
-
set: (nextDateValue) => {
|
|
80
|
-
if (!nextDateValue) {
|
|
81
|
-
value.value = null;
|
|
82
|
-
return;
|
|
83
|
-
}
|
|
84
|
-
const fallbackTime = toTimeString(value.value ?? props.minDate ?? props.maxDate);
|
|
85
|
-
value.value = buildDate(nextDateValue, fallbackTime);
|
|
86
|
-
}
|
|
87
|
-
});
|
|
88
|
-
const timeValue = computed({
|
|
89
|
-
get: () => toTimeString(value.value),
|
|
90
|
-
set: (nextTimeValue) => {
|
|
91
|
-
value.value = buildDate(toPickerDateValue(getFallbackDate()), nextTimeValue || toTimeString(getFallbackDate()));
|
|
92
|
-
}
|
|
93
|
-
});
|
|
94
|
-
const minDateValue = computed(() => toPickerDateValue(props.minDate));
|
|
95
|
-
const maxDateValue = computed(() => toPickerDateValue(props.maxDate));
|
|
96
|
-
const minTimeValue = computed(() => {
|
|
97
|
-
const selectedDate = dateValue.value;
|
|
98
|
-
const minimumDate = minDateValue.value;
|
|
99
|
-
return areSameCalendarDay(selectedDate, minimumDate) ? toTimeString(props.minDate) : void 0;
|
|
100
|
-
});
|
|
101
|
-
const maxTimeValue = computed(() => {
|
|
102
|
-
const selectedDate = dateValue.value;
|
|
103
|
-
const maximumDate = maxDateValue.value;
|
|
104
|
-
return areSameCalendarDay(selectedDate, maximumDate) ? toTimeString(props.maxDate) : void 0;
|
|
105
|
-
});
|
|
106
|
-
return (_ctx, _cache) => {
|
|
107
|
-
return openBlock(), createElementBlock("div", {
|
|
108
|
-
class: normalizeClass(unref(cn)("grid grid-cols-1 gap-3 md:grid-cols-[minmax(0,1.35fr)_minmax(0,1fr)]", props.class))
|
|
109
|
-
}, [
|
|
110
|
-
createElementVNode("div", null, [
|
|
111
|
-
createVNode(unref(_sfc_main$1), {
|
|
112
|
-
modelValue: dateValue.value,
|
|
113
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dateValue.value = $event),
|
|
114
|
-
disabled: props.disabled,
|
|
115
|
-
placeholder: props.datePlaceholder,
|
|
116
|
-
"min-value": minDateValue.value,
|
|
117
|
-
"max-value": maxDateValue.value,
|
|
118
|
-
class: normalizeClass(unref(cn)("w-full", props.datePickerClass)),
|
|
119
|
-
"content-class": props.datePickerContentClass
|
|
120
|
-
}, null, 8, ["modelValue", "disabled", "placeholder", "min-value", "max-value", "class", "content-class"])
|
|
121
|
-
]),
|
|
122
|
-
createElementVNode("div", null, [
|
|
123
|
-
createVNode(unref(_sfc_main$2), {
|
|
124
|
-
modelValue: timeValue.value,
|
|
125
|
-
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => timeValue.value = $event),
|
|
126
|
-
disabled: props.disabled,
|
|
127
|
-
step: props.step,
|
|
128
|
-
min: minTimeValue.value,
|
|
129
|
-
max: maxTimeValue.value,
|
|
130
|
-
class: normalizeClass(unref(cn)("w-full", props.timePickerClass))
|
|
131
|
-
}, null, 8, ["modelValue", "disabled", "step", "min", "max", "class"])
|
|
132
|
-
])
|
|
133
|
-
], 2);
|
|
134
|
-
};
|
|
135
|
-
}
|
|
136
|
-
});
|
|
137
|
-
export {
|
|
138
|
-
_sfc_main as DateTimePicker,
|
|
139
|
-
_sfc_main as default
|
|
140
|
-
};
|
package/dist/dialog.js
DELETED
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
import { _, a, b, c, d, e } from "./DialogTitle.vue_vue_type_script_setup_true_lang-D0Ephm9c.js";
|
|
2
|
-
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot, createElementBlock, normalizeClass, createVNode, createElementVNode, createCommentVNode } from "vue";
|
|
3
|
-
import { D as DialogClose_default } from "./DialogClose-DxCTEp0d.js";
|
|
4
|
-
import { c as cn } from "./utils-DbYZ4xaD.js";
|
|
5
|
-
import { u as useForwardPropsEmits } from "./useForwardPropsEmits-GlUGKcIz.js";
|
|
6
|
-
import { D as DialogOverlay_default, a as DialogContent_default } from "./DialogTitle-jKgSCoXM.js";
|
|
7
|
-
import { D as DialogPortal_default } from "./DialogPortal-BiMJAKLg.js";
|
|
8
|
-
import { Button as _sfc_main$4 } from "./button.js";
|
|
9
|
-
import { r as reactiveOmit } from "./index-DDJjWaIl.js";
|
|
10
|
-
import { D as DialogTrigger_default } from "./DialogTrigger-Cb3rLcid.js";
|
|
11
|
-
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
12
|
-
__name: "DialogClose",
|
|
13
|
-
props: {
|
|
14
|
-
asChild: { type: Boolean },
|
|
15
|
-
as: {}
|
|
16
|
-
},
|
|
17
|
-
setup(__props) {
|
|
18
|
-
const props = __props;
|
|
19
|
-
return (_ctx, _cache) => {
|
|
20
|
-
return openBlock(), createBlock(unref(DialogClose_default), mergeProps({ "data-slot": "dialog-close" }, props), {
|
|
21
|
-
default: withCtx(() => [
|
|
22
|
-
renderSlot(_ctx.$slots, "default")
|
|
23
|
-
]),
|
|
24
|
-
_: 3
|
|
25
|
-
}, 16);
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
});
|
|
29
|
-
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
30
|
-
__name: "DialogFooter",
|
|
31
|
-
props: {
|
|
32
|
-
class: {}
|
|
33
|
-
},
|
|
34
|
-
setup(__props) {
|
|
35
|
-
const props = __props;
|
|
36
|
-
return (_ctx, _cache) => {
|
|
37
|
-
return openBlock(), createElementBlock("div", {
|
|
38
|
-
"data-slot": "dialog-footer",
|
|
39
|
-
class: normalizeClass(unref(cn)("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", props.class))
|
|
40
|
-
}, [
|
|
41
|
-
renderSlot(_ctx.$slots, "default")
|
|
42
|
-
], 2);
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
});
|
|
46
|
-
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
47
|
-
...{
|
|
48
|
-
inheritAttrs: false
|
|
49
|
-
},
|
|
50
|
-
__name: "DialogScrollContent",
|
|
51
|
-
props: {
|
|
52
|
-
forceMount: { type: Boolean },
|
|
53
|
-
disableOutsidePointerEvents: { type: Boolean },
|
|
54
|
-
asChild: { type: Boolean },
|
|
55
|
-
as: {},
|
|
56
|
-
class: {},
|
|
57
|
-
showCloseButton: { type: Boolean, default: false }
|
|
58
|
-
},
|
|
59
|
-
emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
|
|
60
|
-
setup(__props, { emit: __emit }) {
|
|
61
|
-
const props = __props;
|
|
62
|
-
const emits = __emit;
|
|
63
|
-
const delegatedProps = reactiveOmit(props, "class");
|
|
64
|
-
const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
65
|
-
return (_ctx, _cache) => {
|
|
66
|
-
return openBlock(), createBlock(unref(DialogPortal_default), null, {
|
|
67
|
-
default: withCtx(() => [
|
|
68
|
-
createVNode(unref(DialogOverlay_default), { class: "fixed inset-0 isolate z-50 grid place-items-center overflow-y-auto bg-black/45 backdrop-blur-[2px] transition-[opacity,backdrop-filter] ease-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0" }, {
|
|
69
|
-
default: withCtx(() => [
|
|
70
|
-
createVNode(unref(DialogContent_default), mergeProps({
|
|
71
|
-
class: unref(cn)(
|
|
72
|
-
"relative z-50 my-6 grid w-full max-w-[calc(100%-2rem)] gap-4 rounded border border-border bg-card p-6 text-card-foreground outline-none duration-200 sm:max-w-[425px]",
|
|
73
|
-
props.class
|
|
74
|
-
)
|
|
75
|
-
}, { ..._ctx.$attrs, ...unref(forwarded) }, {
|
|
76
|
-
onPointerDownOutside: _cache[0] || (_cache[0] = (event) => {
|
|
77
|
-
const originalEvent = event.detail.originalEvent;
|
|
78
|
-
const target = originalEvent.target;
|
|
79
|
-
if (originalEvent.offsetX > target.clientWidth || originalEvent.offsetY > target.clientHeight) {
|
|
80
|
-
event.preventDefault();
|
|
81
|
-
}
|
|
82
|
-
})
|
|
83
|
-
}), {
|
|
84
|
-
default: withCtx(() => [
|
|
85
|
-
renderSlot(_ctx.$slots, "default"),
|
|
86
|
-
props.showCloseButton ? (openBlock(), createBlock(unref(DialogClose_default), {
|
|
87
|
-
key: 0,
|
|
88
|
-
"data-slot": "dialog-close",
|
|
89
|
-
"as-child": ""
|
|
90
|
-
}, {
|
|
91
|
-
default: withCtx(() => [
|
|
92
|
-
createVNode(unref(_sfc_main$4), {
|
|
93
|
-
variant: "ghost",
|
|
94
|
-
size: "icon-sm",
|
|
95
|
-
class: "absolute top-4 right-4 p-0.5"
|
|
96
|
-
}, {
|
|
97
|
-
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
98
|
-
createElementVNode("span", { "aria-hidden": "true" }, "X", -1),
|
|
99
|
-
createElementVNode("span", { class: "sr-only" }, "Close", -1)
|
|
100
|
-
])),
|
|
101
|
-
_: 1
|
|
102
|
-
})
|
|
103
|
-
]),
|
|
104
|
-
_: 1
|
|
105
|
-
})) : createCommentVNode("", true)
|
|
106
|
-
]),
|
|
107
|
-
_: 3
|
|
108
|
-
}, 16, ["class"])
|
|
109
|
-
]),
|
|
110
|
-
_: 3
|
|
111
|
-
})
|
|
112
|
-
]),
|
|
113
|
-
_: 3
|
|
114
|
-
});
|
|
115
|
-
};
|
|
116
|
-
}
|
|
117
|
-
});
|
|
118
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
119
|
-
__name: "DialogTrigger",
|
|
120
|
-
props: {
|
|
121
|
-
asChild: { type: Boolean },
|
|
122
|
-
as: {}
|
|
123
|
-
},
|
|
124
|
-
setup(__props) {
|
|
125
|
-
const props = __props;
|
|
126
|
-
return (_ctx, _cache) => {
|
|
127
|
-
return openBlock(), createBlock(unref(DialogTrigger_default), mergeProps({ "data-slot": "dialog-trigger" }, props), {
|
|
128
|
-
default: withCtx(() => [
|
|
129
|
-
renderSlot(_ctx.$slots, "default")
|
|
130
|
-
]),
|
|
131
|
-
_: 3
|
|
132
|
-
}, 16);
|
|
133
|
-
};
|
|
134
|
-
}
|
|
135
|
-
});
|
|
136
|
-
export {
|
|
137
|
-
_ as Dialog,
|
|
138
|
-
_sfc_main$3 as DialogClose,
|
|
139
|
-
a as DialogContent,
|
|
140
|
-
b as DialogDescription,
|
|
141
|
-
_sfc_main$2 as DialogFooter,
|
|
142
|
-
c as DialogHeader,
|
|
143
|
-
d as DialogOverlay,
|
|
144
|
-
_sfc_main$1 as DialogScrollContent,
|
|
145
|
-
e as DialogTitle,
|
|
146
|
-
_sfc_main as DialogTrigger
|
|
147
|
-
};
|