@brumaombra/ui-vintage 0.6.7 → 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 -264
- 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/src/components/blog/index.ts +13 -0
- 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/src/components/content/index.ts +3 -0
- 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} +26 -4
- package/{dist/i18n/en.json.d.ts → src/i18n/en.json} +26 -4
- package/{dist/i18n/es.json.d.ts → src/i18n/es.json} +26 -4
- package/{dist/i18n/fr.json.d.ts → src/i18n/fr.json} +26 -4
- package/{dist/i18n/it.json.d.ts → src/i18n/it.json} +26 -4
- package/{dist/i18n/ja.json.d.ts → src/i18n/ja.json} +26 -4
- package/{dist/i18n/pt.json.d.ts → src/i18n/pt.json} +26 -4
- package/{dist/i18n/ru.json.d.ts → src/i18n/ru.json} +26 -4
- package/{dist/i18n/zh.json.d.ts → src/i18n/zh.json} +26 -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-_UW48pv7.js +0 -361
- package/dist/BackgroundGrid-BJDDcLzF.js +0 -13
- package/dist/Busy-DRHkNObd.js +0 -55
- package/dist/BusyIndicator-D-4YHN2L.js +0 -4
- package/dist/CalendarPrevButton.vue_vue_type_script_setup_true_lang-D4jkKsDX.js +0 -3800
- package/dist/Card.vue_vue_type_script_setup_true_lang-DwBhZuSq.js +0 -30
- package/dist/CardContent.vue_vue_type_script_setup_true_lang-dBzO0q1t.js +0 -22
- package/dist/CardFooter.vue_vue_type_script_setup_true_lang-B5EqgrgN.js +0 -22
- package/dist/CardText.vue_vue_type_script_setup_true_lang-CJ66un34.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-C_bocxOu.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-B79YbKSf.js +0 -184
- package/dist/DialogTrigger-Cb3rLcid.js +0 -52
- package/dist/EmptyStateCard.vue_vue_type_script_setup_true_lang-B2-mxoaA.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-KQETSF2I.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-BzHEIagR.js +0 -65
- package/dist/LandingContent.vue_vue_type_script_setup_true_lang-Wgtl_yeD.js +0 -21
- package/dist/LandingFooter.vue_vue_type_script_setup_true_lang-Dxc03HyK.js +0 -159
- package/dist/LandingNavbar.vue_vue_type_script_setup_true_lang-DDB1dSjS.js +0 -63
- package/dist/LandingShell.vue_vue_type_script_setup_true_lang-B1PnJ78g.js +0 -49
- package/dist/LoadMoreButton.vue_vue_type_script_setup_true_lang-DkaLgfxc.js +0 -61
- package/dist/LoadingStateCard.vue_vue_type_script_setup_true_lang-BSErG9UN.js +0 -53
- package/dist/MessageDialog-ChS4d2qN.js +0 -4
- package/dist/MessageToast-DBztWhRL.js +0 -79
- package/dist/NativeSelectOption.vue_vue_type_script_setup_true_lang-CNcUI9Yh.js +0 -75
- package/dist/PopoverTrigger.vue_vue_type_script_setup_true_lang-Cf33q_yT.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-BDJfyW-d.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-D9BozdWD.js +0 -29
- package/dist/SheetTitle.vue_vue_type_script_setup_true_lang-Ja7-gmXd.js +0 -167
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-BSbVyZz7.js +0 -20
- package/dist/Slider.vue_vue_type_script_setup_true_lang-CSOSwGGr.js +0 -803
- package/dist/SpanishFlag-Dy-C9kGk.js +0 -28
- package/dist/Switch.vue_vue_type_script_setup_true_lang-C8mqOepU.js +0 -227
- package/dist/Teleport-DTOwRCqx.js +0 -315
- package/dist/TimePicker.vue_vue_type_script_setup_true_lang-CwuwDICo.js +0 -51
- package/dist/TooltipTrigger.vue_vue_type_script_setup_true_lang-BMdZRPa3.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 -33
- 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/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 -562
- package/dist/index-DDJjWaIl.js +0 -363
- package/dist/index-Dw56kNV0.js +0 -251
- package/dist/index-FpH8cK6B.js +0 -44
- package/dist/index.min-CZ9FIOXr.js +0 -23
- 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 -985
- package/dist/lib/utils.d.ts +0 -2
- 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 -5128
- 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 -193
- 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-Bz4m9VPB.js +0 -3192
- package/dist/utils-DbR1EZn-.js +0 -16
- package/dist/utils-hdwtyAF3.js +0 -44
- package/dist/utils.js +0 -4
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { openBlock, createElementBlock, createElementVNode } from "vue";
|
|
2
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js";
|
|
3
|
-
const _sfc_main = {};
|
|
4
|
-
const _hoisted_1 = {
|
|
5
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
-
viewBox: "0 0 750 500",
|
|
7
|
-
"aria-hidden": "true",
|
|
8
|
-
focusable: "false"
|
|
9
|
-
};
|
|
10
|
-
function _sfc_render(_ctx, _cache) {
|
|
11
|
-
return openBlock(), createElementBlock("svg", _hoisted_1, _cache[0] || (_cache[0] = [
|
|
12
|
-
createElementVNode("rect", {
|
|
13
|
-
width: "750",
|
|
14
|
-
height: "500",
|
|
15
|
-
fill: "#c60b1e"
|
|
16
|
-
}, null, -1),
|
|
17
|
-
createElementVNode("rect", {
|
|
18
|
-
y: "125",
|
|
19
|
-
width: "750",
|
|
20
|
-
height: "250",
|
|
21
|
-
fill: "#ffc400"
|
|
22
|
-
}, null, -1)
|
|
23
|
-
]));
|
|
24
|
-
}
|
|
25
|
-
const SpanishFlag = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
26
|
-
export {
|
|
27
|
-
SpanishFlag as default
|
|
28
|
-
};
|
|
@@ -1,227 +0,0 @@
|
|
|
1
|
-
import { defineComponent, toRefs, computed, openBlock, createBlock, unref, mergeProps, withKeys, withModifiers, withCtx, renderSlot, createCommentVNode, createVNode, normalizeClass, normalizeProps, guardReactiveProps } from "vue";
|
|
2
|
-
import { u as useForwardPropsEmits } from "./useForwardPropsEmits-GlUGKcIz.js";
|
|
3
|
-
import { c as createContext } from "./createContext-BabAT1K8.js";
|
|
4
|
-
import { u as useFormControl } from "./useFormControl-DZ4LnB9F.js";
|
|
5
|
-
import { u as useForwardExpose } from "./useForwardExpose-BcX3VRdS.js";
|
|
6
|
-
import { P as Primitive } from "./Primitive-D3IcFg81.js";
|
|
7
|
-
import { V as VisuallyHiddenInput_default } from "./VisuallyHiddenInput-D5eipDQU.js";
|
|
8
|
-
import { a as useVModel } from "./index-Dw56kNV0.js";
|
|
9
|
-
import { c as cn } from "./utils-Bz4m9VPB.js";
|
|
10
|
-
import { r as reactiveOmit } from "./index-DDJjWaIl.js";
|
|
11
|
-
const [injectSwitchRootContext, provideSwitchRootContext] = createContext("SwitchRoot");
|
|
12
|
-
var SwitchRoot_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
13
|
-
__name: "SwitchRoot",
|
|
14
|
-
props: {
|
|
15
|
-
defaultValue: {
|
|
16
|
-
type: null,
|
|
17
|
-
required: false
|
|
18
|
-
},
|
|
19
|
-
modelValue: {
|
|
20
|
-
type: null,
|
|
21
|
-
required: false,
|
|
22
|
-
default: void 0
|
|
23
|
-
},
|
|
24
|
-
disabled: {
|
|
25
|
-
type: Boolean,
|
|
26
|
-
required: false
|
|
27
|
-
},
|
|
28
|
-
id: {
|
|
29
|
-
type: String,
|
|
30
|
-
required: false
|
|
31
|
-
},
|
|
32
|
-
value: {
|
|
33
|
-
type: String,
|
|
34
|
-
required: false,
|
|
35
|
-
default: "on"
|
|
36
|
-
},
|
|
37
|
-
trueValue: {
|
|
38
|
-
type: null,
|
|
39
|
-
required: false,
|
|
40
|
-
default: () => true
|
|
41
|
-
},
|
|
42
|
-
falseValue: {
|
|
43
|
-
type: null,
|
|
44
|
-
required: false,
|
|
45
|
-
default: () => false
|
|
46
|
-
},
|
|
47
|
-
asChild: {
|
|
48
|
-
type: Boolean,
|
|
49
|
-
required: false
|
|
50
|
-
},
|
|
51
|
-
as: {
|
|
52
|
-
type: null,
|
|
53
|
-
required: false,
|
|
54
|
-
default: "button"
|
|
55
|
-
},
|
|
56
|
-
name: {
|
|
57
|
-
type: String,
|
|
58
|
-
required: false
|
|
59
|
-
},
|
|
60
|
-
required: {
|
|
61
|
-
type: Boolean,
|
|
62
|
-
required: false
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
emits: ["update:modelValue"],
|
|
66
|
-
setup(__props, { emit: __emit }) {
|
|
67
|
-
const props = __props;
|
|
68
|
-
const emit = __emit;
|
|
69
|
-
const { disabled } = toRefs(props);
|
|
70
|
-
const modelValue = useVModel(props, "modelValue", emit, {
|
|
71
|
-
defaultValue: props.defaultValue ?? props.falseValue,
|
|
72
|
-
passive: props.modelValue === void 0
|
|
73
|
-
});
|
|
74
|
-
const checked = computed(() => modelValue.value === props.trueValue);
|
|
75
|
-
function toggleCheck() {
|
|
76
|
-
if (disabled.value) return;
|
|
77
|
-
modelValue.value = checked.value ? props.falseValue : props.trueValue;
|
|
78
|
-
}
|
|
79
|
-
const { forwardRef, currentElement } = useForwardExpose();
|
|
80
|
-
const isFormControl = useFormControl(currentElement);
|
|
81
|
-
const ariaLabel = computed(() => {
|
|
82
|
-
var _a;
|
|
83
|
-
return props.id && currentElement.value ? (_a = document.querySelector(`[for="${props.id}"]`)) == null ? void 0 : _a.innerText : void 0;
|
|
84
|
-
});
|
|
85
|
-
provideSwitchRootContext({
|
|
86
|
-
checked,
|
|
87
|
-
toggleCheck,
|
|
88
|
-
disabled
|
|
89
|
-
});
|
|
90
|
-
return (_ctx, _cache) => {
|
|
91
|
-
return openBlock(), createBlock(unref(Primitive), mergeProps(_ctx.$attrs, {
|
|
92
|
-
id: _ctx.id,
|
|
93
|
-
ref: unref(forwardRef),
|
|
94
|
-
role: "switch",
|
|
95
|
-
type: _ctx.as === "button" ? "button" : void 0,
|
|
96
|
-
value: _ctx.value,
|
|
97
|
-
"aria-label": _ctx.$attrs["aria-label"] || ariaLabel.value,
|
|
98
|
-
"aria-checked": checked.value,
|
|
99
|
-
"aria-required": _ctx.required,
|
|
100
|
-
"data-state": checked.value ? "checked" : "unchecked",
|
|
101
|
-
"data-disabled": unref(disabled) ? "" : void 0,
|
|
102
|
-
"as-child": _ctx.asChild,
|
|
103
|
-
as: _ctx.as,
|
|
104
|
-
disabled: unref(disabled),
|
|
105
|
-
onClick: toggleCheck,
|
|
106
|
-
onKeydown: withKeys(withModifiers(toggleCheck, ["prevent"]), ["enter"])
|
|
107
|
-
}), {
|
|
108
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default", {
|
|
109
|
-
modelValue: unref(modelValue),
|
|
110
|
-
checked: checked.value
|
|
111
|
-
}), unref(isFormControl) && _ctx.name ? (openBlock(), createBlock(unref(VisuallyHiddenInput_default), {
|
|
112
|
-
key: 0,
|
|
113
|
-
type: "checkbox",
|
|
114
|
-
name: _ctx.name,
|
|
115
|
-
disabled: unref(disabled),
|
|
116
|
-
required: _ctx.required,
|
|
117
|
-
value: _ctx.value,
|
|
118
|
-
checked: checked.value
|
|
119
|
-
}, null, 8, [
|
|
120
|
-
"name",
|
|
121
|
-
"disabled",
|
|
122
|
-
"required",
|
|
123
|
-
"value",
|
|
124
|
-
"checked"
|
|
125
|
-
])) : createCommentVNode("v-if", true)]),
|
|
126
|
-
_: 3
|
|
127
|
-
}, 16, [
|
|
128
|
-
"id",
|
|
129
|
-
"type",
|
|
130
|
-
"value",
|
|
131
|
-
"aria-label",
|
|
132
|
-
"aria-checked",
|
|
133
|
-
"aria-required",
|
|
134
|
-
"data-state",
|
|
135
|
-
"data-disabled",
|
|
136
|
-
"as-child",
|
|
137
|
-
"as",
|
|
138
|
-
"disabled",
|
|
139
|
-
"onKeydown"
|
|
140
|
-
]);
|
|
141
|
-
};
|
|
142
|
-
}
|
|
143
|
-
});
|
|
144
|
-
var SwitchRoot_default = SwitchRoot_vue_vue_type_script_setup_true_lang_default;
|
|
145
|
-
var SwitchThumb_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
146
|
-
__name: "SwitchThumb",
|
|
147
|
-
props: {
|
|
148
|
-
asChild: {
|
|
149
|
-
type: Boolean,
|
|
150
|
-
required: false
|
|
151
|
-
},
|
|
152
|
-
as: {
|
|
153
|
-
type: null,
|
|
154
|
-
required: false,
|
|
155
|
-
default: "span"
|
|
156
|
-
}
|
|
157
|
-
},
|
|
158
|
-
setup(__props) {
|
|
159
|
-
const rootContext = injectSwitchRootContext();
|
|
160
|
-
useForwardExpose();
|
|
161
|
-
return (_ctx, _cache) => {
|
|
162
|
-
return openBlock(), createBlock(unref(Primitive), {
|
|
163
|
-
"data-state": unref(rootContext).checked.value ? "checked" : "unchecked",
|
|
164
|
-
"data-disabled": unref(rootContext).disabled.value ? "" : void 0,
|
|
165
|
-
"as-child": _ctx.asChild,
|
|
166
|
-
as: _ctx.as
|
|
167
|
-
}, {
|
|
168
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
169
|
-
_: 3
|
|
170
|
-
}, 8, [
|
|
171
|
-
"data-state",
|
|
172
|
-
"data-disabled",
|
|
173
|
-
"as-child",
|
|
174
|
-
"as"
|
|
175
|
-
]);
|
|
176
|
-
};
|
|
177
|
-
}
|
|
178
|
-
});
|
|
179
|
-
var SwitchThumb_default = SwitchThumb_vue_vue_type_script_setup_true_lang_default;
|
|
180
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
181
|
-
__name: "Switch",
|
|
182
|
-
props: {
|
|
183
|
-
defaultValue: {},
|
|
184
|
-
modelValue: {},
|
|
185
|
-
disabled: { type: Boolean },
|
|
186
|
-
id: {},
|
|
187
|
-
value: {},
|
|
188
|
-
trueValue: {},
|
|
189
|
-
falseValue: {},
|
|
190
|
-
asChild: { type: Boolean },
|
|
191
|
-
as: {},
|
|
192
|
-
name: {},
|
|
193
|
-
required: { type: Boolean },
|
|
194
|
-
class: {}
|
|
195
|
-
},
|
|
196
|
-
emits: ["update:modelValue"],
|
|
197
|
-
setup(__props, { emit: __emit }) {
|
|
198
|
-
const props = __props;
|
|
199
|
-
const emits = __emit;
|
|
200
|
-
const delegatedProps = reactiveOmit(props, "class");
|
|
201
|
-
const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
202
|
-
return (_ctx, _cache) => {
|
|
203
|
-
return openBlock(), createBlock(unref(SwitchRoot_default), mergeProps({ "data-slot": "switch" }, unref(forwarded), {
|
|
204
|
-
class: unref(cn)(
|
|
205
|
-
"peer relative inline-flex h-7 w-12 shrink-0 cursor-pointer items-center rounded border border-(--border-light) bg-(--button-secondary-light) transition-all duration-200 outline-none focus-visible:border-(--border-hover-light) focus-visible:ring-0 disabled:cursor-not-allowed disabled:opacity-60 data-[state=checked]:border-(--button-primary-light) data-[state=checked]:bg-(--bg-selected-light) dark:border-(--border-dark) dark:bg-(--button-secondary-dark) dark:focus-visible:border-(--border-hover-dark) dark:data-[state=checked]:border-(--button-primary-dark) dark:data-[state=checked]:bg-(--bg-selected-dark)",
|
|
206
|
-
props.class
|
|
207
|
-
)
|
|
208
|
-
}), {
|
|
209
|
-
default: withCtx((slotProps) => [
|
|
210
|
-
createVNode(unref(SwitchThumb_default), {
|
|
211
|
-
"data-slot": "switch-thumb",
|
|
212
|
-
class: normalizeClass(unref(cn)("pointer-events-none absolute left-[4px] top-1/2 block h-4 w-4 -translate-y-1/2 rounded-[0.2rem] bg-(--text-secondary-light) ring-0 transition-all duration-200 data-[state=checked]:translate-x-6 data-[state=checked]:bg-(--button-primary-light) dark:bg-(--text-secondary-dark) dark:data-[state=checked]:bg-(--button-primary-dark)"))
|
|
213
|
-
}, {
|
|
214
|
-
default: withCtx(() => [
|
|
215
|
-
renderSlot(_ctx.$slots, "thumb", normalizeProps(guardReactiveProps(slotProps)))
|
|
216
|
-
]),
|
|
217
|
-
_: 2
|
|
218
|
-
}, 1032, ["class"])
|
|
219
|
-
]),
|
|
220
|
-
_: 3
|
|
221
|
-
}, 16, ["class"]);
|
|
222
|
-
};
|
|
223
|
-
}
|
|
224
|
-
});
|
|
225
|
-
export {
|
|
226
|
-
_sfc_main as _
|
|
227
|
-
};
|
|
@@ -1,315 +0,0 @@
|
|
|
1
|
-
import { i as isNullish } from "./nullish-D3tMkl6i.js";
|
|
2
|
-
import { u as useForwardExpose } from "./useForwardExpose-BcX3VRdS.js";
|
|
3
|
-
import { P as Primitive } from "./Primitive-D3IcFg81.js";
|
|
4
|
-
import { ref, watchEffect, toValue, nextTick, defineComponent, computed, openBlock, createBlock, unref, normalizeStyle, withCtx, renderSlot, reactive, Teleport, createCommentVNode } from "vue";
|
|
5
|
-
import { i as isClient } from "./index-DDJjWaIl.js";
|
|
6
|
-
import { o as onKeyStroke, b as useMounted } from "./index-Dw56kNV0.js";
|
|
7
|
-
function handleAndDispatchCustomEvent(name, handler, detail) {
|
|
8
|
-
const target = detail.originalEvent.target;
|
|
9
|
-
const event = new CustomEvent(name, {
|
|
10
|
-
bubbles: false,
|
|
11
|
-
cancelable: true,
|
|
12
|
-
detail
|
|
13
|
-
});
|
|
14
|
-
if (handler) target.addEventListener(name, handler, { once: true });
|
|
15
|
-
target.dispatchEvent(event);
|
|
16
|
-
}
|
|
17
|
-
function isPlainObject(value) {
|
|
18
|
-
if (value === null || typeof value !== "object") {
|
|
19
|
-
return false;
|
|
20
|
-
}
|
|
21
|
-
const prototype = Object.getPrototypeOf(value);
|
|
22
|
-
if (prototype !== null && prototype !== Object.prototype && Object.getPrototypeOf(prototype) !== null) {
|
|
23
|
-
return false;
|
|
24
|
-
}
|
|
25
|
-
if (Symbol.iterator in value) {
|
|
26
|
-
return false;
|
|
27
|
-
}
|
|
28
|
-
if (Symbol.toStringTag in value) {
|
|
29
|
-
return Object.prototype.toString.call(value) === "[object Module]";
|
|
30
|
-
}
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
function _defu(baseObject, defaults, namespace = ".", merger) {
|
|
34
|
-
if (!isPlainObject(defaults)) {
|
|
35
|
-
return _defu(baseObject, {}, namespace, merger);
|
|
36
|
-
}
|
|
37
|
-
const object = { ...defaults };
|
|
38
|
-
for (const key of Object.keys(baseObject)) {
|
|
39
|
-
if (key === "__proto__" || key === "constructor") {
|
|
40
|
-
continue;
|
|
41
|
-
}
|
|
42
|
-
const value = baseObject[key];
|
|
43
|
-
if (value === null || value === void 0) {
|
|
44
|
-
continue;
|
|
45
|
-
}
|
|
46
|
-
if (merger && merger(object, key, value, namespace)) {
|
|
47
|
-
continue;
|
|
48
|
-
}
|
|
49
|
-
if (Array.isArray(value) && Array.isArray(object[key])) {
|
|
50
|
-
object[key] = [...value, ...object[key]];
|
|
51
|
-
} else if (isPlainObject(value) && isPlainObject(object[key])) {
|
|
52
|
-
object[key] = _defu(
|
|
53
|
-
value,
|
|
54
|
-
object[key],
|
|
55
|
-
(namespace ? `${namespace}.` : "") + key.toString(),
|
|
56
|
-
merger
|
|
57
|
-
);
|
|
58
|
-
} else {
|
|
59
|
-
object[key] = value;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
return object;
|
|
63
|
-
}
|
|
64
|
-
function createDefu(merger) {
|
|
65
|
-
return (...arguments_) => (
|
|
66
|
-
// eslint-disable-next-line unicorn/no-array-reduce
|
|
67
|
-
arguments_.reduce((p, c) => _defu(p, c, "", merger), {})
|
|
68
|
-
);
|
|
69
|
-
}
|
|
70
|
-
const defu = createDefu();
|
|
71
|
-
const POINTER_DOWN_OUTSIDE = "dismissableLayer.pointerDownOutside";
|
|
72
|
-
const FOCUS_OUTSIDE = "dismissableLayer.focusOutside";
|
|
73
|
-
function isLayerExist(layerElement, targetElement) {
|
|
74
|
-
if (!(targetElement instanceof Element)) return false;
|
|
75
|
-
const targetLayer = targetElement.closest("[data-dismissable-layer]");
|
|
76
|
-
const mainLayer = layerElement.dataset.dismissableLayer === "" ? layerElement : layerElement.querySelector("[data-dismissable-layer]");
|
|
77
|
-
const nodeList = Array.from(layerElement.ownerDocument.querySelectorAll("[data-dismissable-layer]"));
|
|
78
|
-
if (targetLayer && (mainLayer === targetLayer || nodeList.indexOf(mainLayer) < nodeList.indexOf(targetLayer))) return true;
|
|
79
|
-
else return false;
|
|
80
|
-
}
|
|
81
|
-
function usePointerDownOutside(onPointerDownOutside, element, enabled = true) {
|
|
82
|
-
var _a;
|
|
83
|
-
const ownerDocument = ((_a = element == null ? void 0 : element.value) == null ? void 0 : _a.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document);
|
|
84
|
-
const isPointerInsideDOMTree = ref(false);
|
|
85
|
-
const handleClickRef = ref(() => {
|
|
86
|
-
});
|
|
87
|
-
watchEffect((cleanupFn) => {
|
|
88
|
-
if (!isClient || !toValue(enabled)) return;
|
|
89
|
-
const handlePointerDown = async (event) => {
|
|
90
|
-
const target = event.target;
|
|
91
|
-
if (!(element == null ? void 0 : element.value) || !target) return;
|
|
92
|
-
if (isLayerExist(element.value, target)) {
|
|
93
|
-
isPointerInsideDOMTree.value = false;
|
|
94
|
-
return;
|
|
95
|
-
}
|
|
96
|
-
if (event.target && !isPointerInsideDOMTree.value) {
|
|
97
|
-
let handleAndDispatchPointerDownOutsideEvent = function() {
|
|
98
|
-
handleAndDispatchCustomEvent(POINTER_DOWN_OUTSIDE, onPointerDownOutside, eventDetail);
|
|
99
|
-
};
|
|
100
|
-
const eventDetail = { originalEvent: event };
|
|
101
|
-
if (event.pointerType === "touch") {
|
|
102
|
-
ownerDocument.removeEventListener("click", handleClickRef.value);
|
|
103
|
-
handleClickRef.value = handleAndDispatchPointerDownOutsideEvent;
|
|
104
|
-
ownerDocument.addEventListener("click", handleClickRef.value, { once: true });
|
|
105
|
-
} else handleAndDispatchPointerDownOutsideEvent();
|
|
106
|
-
} else ownerDocument.removeEventListener("click", handleClickRef.value);
|
|
107
|
-
isPointerInsideDOMTree.value = false;
|
|
108
|
-
};
|
|
109
|
-
const timerId = window.setTimeout(() => {
|
|
110
|
-
ownerDocument.addEventListener("pointerdown", handlePointerDown);
|
|
111
|
-
}, 0);
|
|
112
|
-
cleanupFn(() => {
|
|
113
|
-
window.clearTimeout(timerId);
|
|
114
|
-
ownerDocument.removeEventListener("pointerdown", handlePointerDown);
|
|
115
|
-
ownerDocument.removeEventListener("click", handleClickRef.value);
|
|
116
|
-
});
|
|
117
|
-
});
|
|
118
|
-
return { onPointerDownCapture: () => {
|
|
119
|
-
if (!toValue(enabled)) return;
|
|
120
|
-
isPointerInsideDOMTree.value = true;
|
|
121
|
-
} };
|
|
122
|
-
}
|
|
123
|
-
function useFocusOutside(onFocusOutside, element, enabled = true) {
|
|
124
|
-
var _a;
|
|
125
|
-
const ownerDocument = ((_a = element == null ? void 0 : element.value) == null ? void 0 : _a.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document);
|
|
126
|
-
const isFocusInsideDOMTree = ref(false);
|
|
127
|
-
watchEffect((cleanupFn) => {
|
|
128
|
-
if (!isClient || !toValue(enabled)) return;
|
|
129
|
-
const handleFocus = async (event) => {
|
|
130
|
-
if (!(element == null ? void 0 : element.value)) return;
|
|
131
|
-
await nextTick();
|
|
132
|
-
await nextTick();
|
|
133
|
-
const target = event.target;
|
|
134
|
-
if (!element.value || !target || isLayerExist(element.value, target)) return;
|
|
135
|
-
if (event.target && !isFocusInsideDOMTree.value) {
|
|
136
|
-
const eventDetail = { originalEvent: event };
|
|
137
|
-
handleAndDispatchCustomEvent(FOCUS_OUTSIDE, onFocusOutside, eventDetail);
|
|
138
|
-
}
|
|
139
|
-
};
|
|
140
|
-
ownerDocument.addEventListener("focusin", handleFocus);
|
|
141
|
-
cleanupFn(() => ownerDocument.removeEventListener("focusin", handleFocus));
|
|
142
|
-
});
|
|
143
|
-
return {
|
|
144
|
-
onFocusCapture: () => {
|
|
145
|
-
if (!toValue(enabled)) return;
|
|
146
|
-
isFocusInsideDOMTree.value = true;
|
|
147
|
-
},
|
|
148
|
-
onBlurCapture: () => {
|
|
149
|
-
if (!toValue(enabled)) return;
|
|
150
|
-
isFocusInsideDOMTree.value = false;
|
|
151
|
-
}
|
|
152
|
-
};
|
|
153
|
-
}
|
|
154
|
-
const context = reactive({
|
|
155
|
-
layersRoot: /* @__PURE__ */ new Set(),
|
|
156
|
-
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
157
|
-
originalBodyPointerEvents: void 0,
|
|
158
|
-
branches: /* @__PURE__ */ new Set()
|
|
159
|
-
});
|
|
160
|
-
var DismissableLayer_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
161
|
-
__name: "DismissableLayer",
|
|
162
|
-
props: {
|
|
163
|
-
disableOutsidePointerEvents: {
|
|
164
|
-
type: Boolean,
|
|
165
|
-
required: false,
|
|
166
|
-
default: false
|
|
167
|
-
},
|
|
168
|
-
asChild: {
|
|
169
|
-
type: Boolean,
|
|
170
|
-
required: false
|
|
171
|
-
},
|
|
172
|
-
as: {
|
|
173
|
-
type: null,
|
|
174
|
-
required: false
|
|
175
|
-
}
|
|
176
|
-
},
|
|
177
|
-
emits: [
|
|
178
|
-
"escapeKeyDown",
|
|
179
|
-
"pointerDownOutside",
|
|
180
|
-
"focusOutside",
|
|
181
|
-
"interactOutside",
|
|
182
|
-
"dismiss"
|
|
183
|
-
],
|
|
184
|
-
setup(__props, { emit: __emit }) {
|
|
185
|
-
const props = __props;
|
|
186
|
-
const emits = __emit;
|
|
187
|
-
const { forwardRef, currentElement: layerElement } = useForwardExpose();
|
|
188
|
-
const ownerDocument = computed(() => {
|
|
189
|
-
var _a;
|
|
190
|
-
return ((_a = layerElement.value) == null ? void 0 : _a.ownerDocument) ?? globalThis.document;
|
|
191
|
-
});
|
|
192
|
-
const layers = computed(() => context.layersRoot);
|
|
193
|
-
const index = computed(() => {
|
|
194
|
-
return layerElement.value ? Array.from(layers.value).indexOf(layerElement.value) : -1;
|
|
195
|
-
});
|
|
196
|
-
const isBodyPointerEventsDisabled = computed(() => {
|
|
197
|
-
return context.layersWithOutsidePointerEventsDisabled.size > 0;
|
|
198
|
-
});
|
|
199
|
-
const isPointerEventsEnabled = computed(() => {
|
|
200
|
-
const localLayers = Array.from(layers.value);
|
|
201
|
-
const [highestLayerWithOutsidePointerEventsDisabled] = [...context.layersWithOutsidePointerEventsDisabled].slice(-1);
|
|
202
|
-
const highestLayerWithOutsidePointerEventsDisabledIndex = localLayers.indexOf(highestLayerWithOutsidePointerEventsDisabled);
|
|
203
|
-
return index.value >= highestLayerWithOutsidePointerEventsDisabledIndex;
|
|
204
|
-
});
|
|
205
|
-
const pointerDownOutside = usePointerDownOutside(async (event) => {
|
|
206
|
-
const isPointerDownOnBranch = [...context.branches].some((branch) => branch == null ? void 0 : branch.contains(event.target));
|
|
207
|
-
if (!isPointerEventsEnabled.value || isPointerDownOnBranch) return;
|
|
208
|
-
emits("pointerDownOutside", event);
|
|
209
|
-
emits("interactOutside", event);
|
|
210
|
-
await nextTick();
|
|
211
|
-
if (!event.defaultPrevented) emits("dismiss");
|
|
212
|
-
}, layerElement);
|
|
213
|
-
const focusOutside = useFocusOutside((event) => {
|
|
214
|
-
const isFocusInBranch = [...context.branches].some((branch) => branch == null ? void 0 : branch.contains(event.target));
|
|
215
|
-
if (isFocusInBranch) return;
|
|
216
|
-
emits("focusOutside", event);
|
|
217
|
-
emits("interactOutside", event);
|
|
218
|
-
if (!event.defaultPrevented) emits("dismiss");
|
|
219
|
-
}, layerElement);
|
|
220
|
-
onKeyStroke("Escape", (event) => {
|
|
221
|
-
const isHighestLayer = index.value === layers.value.size - 1;
|
|
222
|
-
if (!isHighestLayer) return;
|
|
223
|
-
emits("escapeKeyDown", event);
|
|
224
|
-
if (!event.defaultPrevented) emits("dismiss");
|
|
225
|
-
});
|
|
226
|
-
watchEffect((cleanupFn) => {
|
|
227
|
-
if (!layerElement.value) return;
|
|
228
|
-
if (props.disableOutsidePointerEvents) {
|
|
229
|
-
if (context.layersWithOutsidePointerEventsDisabled.size === 0) {
|
|
230
|
-
context.originalBodyPointerEvents = ownerDocument.value.body.style.pointerEvents;
|
|
231
|
-
ownerDocument.value.body.style.pointerEvents = "none";
|
|
232
|
-
}
|
|
233
|
-
context.layersWithOutsidePointerEventsDisabled.add(layerElement.value);
|
|
234
|
-
}
|
|
235
|
-
layers.value.add(layerElement.value);
|
|
236
|
-
cleanupFn(() => {
|
|
237
|
-
if (props.disableOutsidePointerEvents && context.layersWithOutsidePointerEventsDisabled.size === 1 && !isNullish(context.originalBodyPointerEvents)) ownerDocument.value.body.style.pointerEvents = context.originalBodyPointerEvents;
|
|
238
|
-
});
|
|
239
|
-
});
|
|
240
|
-
watchEffect((cleanupFn) => {
|
|
241
|
-
cleanupFn(() => {
|
|
242
|
-
if (!layerElement.value) return;
|
|
243
|
-
layers.value.delete(layerElement.value);
|
|
244
|
-
context.layersWithOutsidePointerEventsDisabled.delete(layerElement.value);
|
|
245
|
-
});
|
|
246
|
-
});
|
|
247
|
-
return (_ctx, _cache) => {
|
|
248
|
-
return openBlock(), createBlock(unref(Primitive), {
|
|
249
|
-
ref: unref(forwardRef),
|
|
250
|
-
"as-child": _ctx.asChild,
|
|
251
|
-
as: _ctx.as,
|
|
252
|
-
"data-dismissable-layer": "",
|
|
253
|
-
style: normalizeStyle({ pointerEvents: isBodyPointerEventsDisabled.value ? isPointerEventsEnabled.value ? "auto" : "none" : void 0 }),
|
|
254
|
-
onFocusCapture: unref(focusOutside).onFocusCapture,
|
|
255
|
-
onBlurCapture: unref(focusOutside).onBlurCapture,
|
|
256
|
-
onPointerdownCapture: unref(pointerDownOutside).onPointerDownCapture
|
|
257
|
-
}, {
|
|
258
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
259
|
-
_: 3
|
|
260
|
-
}, 8, [
|
|
261
|
-
"as-child",
|
|
262
|
-
"as",
|
|
263
|
-
"style",
|
|
264
|
-
"onFocusCapture",
|
|
265
|
-
"onBlurCapture",
|
|
266
|
-
"onPointerdownCapture"
|
|
267
|
-
]);
|
|
268
|
-
};
|
|
269
|
-
}
|
|
270
|
-
});
|
|
271
|
-
var DismissableLayer_default = DismissableLayer_vue_vue_type_script_setup_true_lang_default;
|
|
272
|
-
var Teleport_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
273
|
-
__name: "Teleport",
|
|
274
|
-
props: {
|
|
275
|
-
to: {
|
|
276
|
-
type: null,
|
|
277
|
-
required: false,
|
|
278
|
-
default: "body"
|
|
279
|
-
},
|
|
280
|
-
disabled: {
|
|
281
|
-
type: Boolean,
|
|
282
|
-
required: false
|
|
283
|
-
},
|
|
284
|
-
defer: {
|
|
285
|
-
type: Boolean,
|
|
286
|
-
required: false
|
|
287
|
-
},
|
|
288
|
-
forceMount: {
|
|
289
|
-
type: Boolean,
|
|
290
|
-
required: false
|
|
291
|
-
}
|
|
292
|
-
},
|
|
293
|
-
setup(__props) {
|
|
294
|
-
const isMounted = useMounted();
|
|
295
|
-
return (_ctx, _cache) => {
|
|
296
|
-
return unref(isMounted) || _ctx.forceMount ? (openBlock(), createBlock(Teleport, {
|
|
297
|
-
key: 0,
|
|
298
|
-
to: _ctx.to,
|
|
299
|
-
disabled: _ctx.disabled,
|
|
300
|
-
defer: _ctx.defer
|
|
301
|
-
}, [renderSlot(_ctx.$slots, "default")], 8, [
|
|
302
|
-
"to",
|
|
303
|
-
"disabled",
|
|
304
|
-
"defer"
|
|
305
|
-
])) : createCommentVNode("v-if", true);
|
|
306
|
-
};
|
|
307
|
-
}
|
|
308
|
-
});
|
|
309
|
-
var Teleport_default = Teleport_vue_vue_type_script_setup_true_lang_default;
|
|
310
|
-
export {
|
|
311
|
-
DismissableLayer_default as D,
|
|
312
|
-
Teleport_default as T,
|
|
313
|
-
defu as d,
|
|
314
|
-
handleAndDispatchCustomEvent as h
|
|
315
|
-
};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, openBlock, createBlock, unref, normalizeClass } from "vue";
|
|
2
|
-
import { c as cn } from "./utils-Bz4m9VPB.js";
|
|
3
|
-
import { _ as _sfc_main$1 } from "./Input.vue_vue_type_script_setup_true_lang-KQETSF2I.js";
|
|
4
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
|
-
__name: "TimePicker",
|
|
6
|
-
props: {
|
|
7
|
-
defaultValue: { default: "" },
|
|
8
|
-
modelValue: {},
|
|
9
|
-
step: { default: 1 },
|
|
10
|
-
min: {},
|
|
11
|
-
max: {},
|
|
12
|
-
disabled: { type: Boolean, default: false },
|
|
13
|
-
class: {},
|
|
14
|
-
inputClass: {}
|
|
15
|
-
},
|
|
16
|
-
emits: ["update:modelValue"],
|
|
17
|
-
setup(__props, { emit: __emit }) {
|
|
18
|
-
const props = __props;
|
|
19
|
-
const emits = __emit;
|
|
20
|
-
const internalValue = ref(props.defaultValue);
|
|
21
|
-
const isControlled = computed(() => props.modelValue !== void 0);
|
|
22
|
-
const time = computed({
|
|
23
|
-
get: () => (isControlled.value ? props.modelValue : internalValue.value) ?? "",
|
|
24
|
-
set: (value) => {
|
|
25
|
-
const nextValue = String(value);
|
|
26
|
-
if (!isControlled.value)
|
|
27
|
-
internalValue.value = nextValue;
|
|
28
|
-
emits("update:modelValue", nextValue);
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
return (_ctx, _cache) => {
|
|
32
|
-
return openBlock(), createBlock(unref(_sfc_main$1), {
|
|
33
|
-
modelValue: time.value,
|
|
34
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => time.value = $event),
|
|
35
|
-
type: "time",
|
|
36
|
-
step: props.step,
|
|
37
|
-
min: props.min,
|
|
38
|
-
max: props.max,
|
|
39
|
-
disabled: props.disabled,
|
|
40
|
-
class: normalizeClass(unref(cn)(
|
|
41
|
-
"cursor-pointer font-normal hover:border-(--border-hover-light) hover:bg-(--bg-selected-light) dark:hover:border-(--border-hover-dark) dark:hover:bg-(--bg-selected-dark) [&::-webkit-calendar-picker-indicator]:cursor-pointer [&::-webkit-calendar-picker-indicator]:opacity-70 hover:[&::-webkit-calendar-picker-indicator]:opacity-100",
|
|
42
|
-
props.inputClass,
|
|
43
|
-
props.class
|
|
44
|
-
))
|
|
45
|
-
}, null, 8, ["modelValue", "step", "min", "max", "disabled", "class"]);
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
export {
|
|
50
|
-
_sfc_main as _
|
|
51
|
-
};
|