@agrotools1/at-components 2.0.13 → 2.0.14-beta.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/dist/accordion/Accordion.vue.js +30 -0
- package/dist/accordion/Accordion.vue2.js +4 -0
- package/dist/accordion/AccordionContent.vue.js +29 -0
- package/dist/accordion/AccordionContent.vue2.js +4 -0
- package/dist/accordion/AccordionItem.vue.js +29 -0
- package/dist/accordion/AccordionItem.vue2.js +4 -0
- package/dist/accordion/AccordionTrigger.vue.js +38 -0
- package/dist/accordion/AccordionTrigger.vue2.js +4 -0
- package/dist/alert-dialog/AlertDialog.vue.js +22 -0
- package/dist/alert-dialog/AlertDialog.vue2.js +4 -0
- package/dist/alert-dialog/AlertDialogAction.vue.js +29 -0
- package/dist/alert-dialog/AlertDialogAction.vue2.js +4 -0
- package/dist/alert-dialog/AlertDialogCancel.vue.js +29 -0
- package/dist/alert-dialog/AlertDialogCancel.vue2.js +4 -0
- package/dist/alert-dialog/AlertDialogContent.vue.js +44 -0
- package/dist/alert-dialog/AlertDialogContent.vue2.js +4 -0
- package/dist/alert-dialog/AlertDialogDescription.vue.js +26 -0
- package/dist/alert-dialog/AlertDialogDescription.vue2.js +4 -0
- package/dist/alert-dialog/AlertDialogFooter.vue.js +25 -0
- package/dist/alert-dialog/AlertDialogFooter.vue2.js +4 -0
- package/dist/alert-dialog/AlertDialogHeader.vue.js +20 -0
- package/dist/alert-dialog/AlertDialogHeader.vue2.js +4 -0
- package/dist/alert-dialog/AlertDialogTitle.vue.js +26 -0
- package/dist/alert-dialog/AlertDialogTitle.vue2.js +4 -0
- package/dist/alert-dialog/AlertDialogTrigger.vue.js +21 -0
- package/dist/alert-dialog/AlertDialogTrigger.vue2.js +4 -0
- package/dist/assets/illustrations/renovabio/biomass.svg.js +16 -0
- package/dist/assets/illustrations/renovabio/volume.svg.js +16 -0
- package/dist/assets/illustrations/system/add-file.svg.js +16 -0
- package/dist/assets/illustrations/system/cloud-connection.svg.js +16 -0
- package/dist/assets/illustrations/system/cloud-download.svg.js +16 -0
- package/dist/assets/illustrations/system/cloud-upload.svg.js +16 -0
- package/dist/assets/illustrations/system/corrupted-file.svg.js +16 -0
- package/dist/assets/illustrations/system/dynamic-production.svg.js +16 -0
- package/dist/assets/illustrations/system/empty-box.svg.js +16 -0
- package/dist/assets/illustrations/system/empty-folder-2.svg.js +16 -0
- package/dist/assets/illustrations/system/empty-folder.svg.js +16 -0
- package/dist/assets/illustrations/system/empty.svg.js +16 -0
- package/dist/assets/illustrations/system/error-illustration.svg.js +16 -0
- package/dist/assets/illustrations/system/error.svg.js +16 -0
- package/dist/assets/illustrations/system/file-backup-2.svg.js +16 -0
- package/dist/assets/illustrations/system/file-backup.svg.js +16 -0
- package/dist/assets/illustrations/system/filtering-upload.svg.js +16 -0
- package/dist/assets/illustrations/system/flight.svg.js +16 -0
- package/dist/assets/illustrations/system/fly.svg.js +16 -0
- package/dist/assets/illustrations/system/movies.svg.js +16 -0
- package/dist/assets/illustrations/system/multimedia.svg.js +16 -0
- package/dist/assets/illustrations/system/notification-bell.svg.js +16 -0
- package/dist/assets/illustrations/system/page-2.svg.js +16 -0
- package/dist/assets/illustrations/system/page.svg.js +16 -0
- package/dist/assets/illustrations/system/photos.svg.js +16 -0
- package/dist/assets/illustrations/system/recycle-bin.svg.js +16 -0
- package/dist/assets/illustrations/system/rocket-launch.svg.js +16 -0
- package/dist/assets/illustrations/system/search-territory.svg.js +16 -0
- package/dist/assets/illustrations/system/signal.svg.js +16 -0
- package/dist/assets/illustrations/system/siren.svg.js +16 -0
- package/dist/assets/illustrations/system/wrong.svg.js +16 -0
- package/dist/assets/illustrations/tools/advanced-analysis.svg.js +17 -0
- package/dist/assets/illustrations/tools/agriculture.svg.js +16 -0
- package/dist/assets/illustrations/tools/alert-center.svg.js +16 -0
- package/dist/assets/illustrations/tools/area.svg.js +16 -0
- package/dist/assets/illustrations/tools/at-insights.svg.js +16 -0
- package/dist/assets/illustrations/tools/conservation-unit.svg.js +16 -0
- package/dist/assets/illustrations/tools/credit.svg.js +16 -0
- package/dist/assets/illustrations/tools/deforestation.svg.js +16 -0
- package/dist/assets/illustrations/tools/distance-proximity-rivers.svg.js +16 -0
- package/dist/assets/illustrations/tools/estimated-productivity-penalty.svg.js +16 -0
- package/dist/assets/illustrations/tools/extract.svg.js +16 -0
- package/dist/assets/illustrations/tools/farm.svg.js +16 -0
- package/dist/assets/illustrations/tools/geographical-consultation-municipalities.svg.js +16 -0
- package/dist/assets/illustrations/tools/gix.svg.js +16 -0
- package/dist/assets/illustrations/tools/inapto.svg.js +16 -0
- package/dist/assets/illustrations/tools/insurance.svg.js +16 -0
- package/dist/assets/illustrations/tools/land-appreciation.svg.js +16 -0
- package/dist/assets/illustrations/tools/lockdown.svg.js +16 -0
- package/dist/assets/illustrations/tools/map.svg.js +31 -0
- package/dist/assets/illustrations/tools/pasture.svg.js +16 -0
- package/dist/assets/illustrations/tools/rating-2.svg.js +16 -0
- package/dist/assets/illustrations/tools/rating.svg.js +16 -0
- package/dist/assets/illustrations/tools/recurrence.svg.js +16 -0
- package/dist/assets/illustrations/tools/refrigerators.svg.js +16 -0
- package/dist/assets/illustrations/tools/settings.svg.js +16 -0
- package/dist/assets/illustrations/tools/socio-environmental-analysis.svg.js +16 -0
- package/dist/assets/illustrations/tools/soil-use.svg.js +16 -0
- package/dist/assets/illustrations/tools/storm.svg.js +16 -0
- package/dist/assets/illustrations/tools/territory-details.svg.js +16 -0
- package/dist/assets/illustrations/tools/timeline.svg.js +16 -0
- package/dist/avatar/Avatar.vue.js +37 -0
- package/dist/avatar/Avatar.vue2.js +4 -0
- package/dist/avatar/AvatarFallback.vue.js +30 -0
- package/dist/avatar/AvatarFallback.vue2.js +4 -0
- package/dist/avatar/AvatarImage.vue.js +24 -0
- package/dist/avatar/AvatarImage.vue2.js +4 -0
- package/dist/badge/Badge.vue.js +30 -0
- package/dist/badge/Badge.vue2.js +4 -0
- package/dist/badge/index.js +29 -0
- package/dist/breadcrumb/Breadcrumb.vue.js +20 -0
- package/dist/breadcrumb/Breadcrumb.vue2.js +4 -0
- package/dist/breadcrumb/BreadcrumbItem.vue.js +20 -0
- package/dist/breadcrumb/BreadcrumbItem.vue2.js +4 -0
- package/dist/breadcrumb/BreadcrumbLink.vue.js +35 -0
- package/dist/breadcrumb/BreadcrumbLink.vue2.js +4 -0
- package/dist/breadcrumb/BreadcrumbList.vue.js +25 -0
- package/dist/breadcrumb/BreadcrumbList.vue2.js +4 -0
- package/dist/breadcrumb/BreadcrumbSeparator.vue.js +25 -0
- package/dist/breadcrumb/BreadcrumbSeparator.vue2.js +4 -0
- package/dist/button/Button.vue.js +31 -0
- package/dist/button/Button.vue2.js +4 -0
- package/dist/button/index.js +27 -0
- package/dist/calendar/Calendar.vue.js +216 -0
- package/dist/calendar/Calendar.vue2.js +4 -0
- package/dist/calendar/CalendarCell.vue.js +31 -0
- package/dist/calendar/CalendarCell.vue2.js +4 -0
- package/dist/calendar/CalendarCellTrigger.vue.js +43 -0
- package/dist/calendar/CalendarCellTrigger.vue2.js +4 -0
- package/dist/calendar/CalendarGrid.vue.js +27 -0
- package/dist/calendar/CalendarGrid.vue2.js +4 -0
- package/dist/calendar/CalendarGridBody.vue.js +21 -0
- package/dist/calendar/CalendarGridBody.vue2.js +4 -0
- package/dist/calendar/CalendarGridHead.vue.js +22 -0
- package/dist/calendar/CalendarGridHead.vue2.js +4 -0
- package/dist/calendar/CalendarGridRow.vue.js +27 -0
- package/dist/calendar/CalendarGridRow.vue2.js +4 -0
- package/dist/calendar/CalendarHeadCell.vue.js +27 -0
- package/dist/calendar/CalendarHeadCell.vue2.js +4 -0
- package/dist/calendar/CalendarHeader.vue.js +27 -0
- package/dist/calendar/CalendarHeader.vue2.js +4 -0
- package/dist/calendar/CalendarHeading.vue.js +34 -0
- package/dist/calendar/CalendarHeading.vue2.js +4 -0
- package/dist/calendar/CalendarNextButton.vue.js +37 -0
- package/dist/calendar/CalendarNextButton.vue2.js +4 -0
- package/dist/calendar/CalendarPrevButton.vue.js +37 -0
- package/dist/calendar/CalendarPrevButton.vue2.js +4 -0
- package/dist/card/Card.vue.js +51 -0
- package/dist/card/Card.vue2.js +4 -0
- package/dist/card/CardDescription.vue.js +33 -0
- package/dist/card/CardDescription.vue2.js +4 -0
- package/dist/card/CardTitle.vue.js +35 -0
- package/dist/card/CardTitle.vue2.js +4 -0
- package/dist/carousel/Carousel.vue.js +62 -0
- package/dist/carousel/Carousel.vue2.js +4 -0
- package/dist/carousel/CarouselContent.vue.js +28 -0
- package/dist/carousel/CarouselContent.vue2.js +4 -0
- package/dist/carousel/CarouselItem.vue.js +29 -0
- package/dist/carousel/CarouselItem.vue2.js +4 -0
- package/dist/carousel/CarouselNext.vue.js +44 -0
- package/dist/carousel/CarouselNext.vue2.js +4 -0
- package/dist/carousel/CarouselPrevious.vue.js +44 -0
- package/dist/carousel/CarouselPrevious.vue2.js +4 -0
- package/dist/carousel/useCarousel.js +48 -0
- package/dist/checkbox/Checkbox.vue.js +74 -0
- package/dist/checkbox/Checkbox.vue2.js +4 -0
- package/dist/combobox/Combobox.vue.js +38 -0
- package/dist/combobox/Combobox.vue2.js +4 -0
- package/dist/combobox/ComboboxAnchor.vue.js +27 -0
- package/dist/combobox/ComboboxAnchor.vue2.js +4 -0
- package/dist/combobox/ComboboxEmpty.vue.js +26 -0
- package/dist/combobox/ComboboxEmpty.vue2.js +4 -0
- package/dist/combobox/ComboboxGroup.vue.js +36 -0
- package/dist/combobox/ComboboxGroup.vue2.js +4 -0
- package/dist/combobox/ComboboxInput.vue.js +82 -0
- package/dist/combobox/ComboboxInput.vue2.js +4 -0
- package/dist/combobox/ComboboxItem.vue.js +33 -0
- package/dist/combobox/ComboboxItem.vue2.js +4 -0
- package/dist/combobox/ComboboxItemIndicator.vue.js +26 -0
- package/dist/combobox/ComboboxItemIndicator.vue2.js +4 -0
- package/dist/combobox/ComboboxList.vue.js +57 -0
- package/dist/combobox/ComboboxList.vue2.js +4 -0
- package/dist/combobox/ComboboxSeparator.vue.js +26 -0
- package/dist/combobox/ComboboxSeparator.vue2.js +4 -0
- package/dist/combobox/ComboboxViewport.vue.js +27 -0
- package/dist/combobox/ComboboxViewport.vue2.js +4 -0
- package/dist/command/Command.vue.js +102 -0
- package/dist/command/Command.vue2.js +4 -0
- package/dist/command/CommandDialog.vue.js +58 -0
- package/dist/command/CommandDialog.vue2.js +4 -0
- package/dist/command/CommandEmpty.vue.js +30 -0
- package/dist/command/CommandEmpty.vue2.js +4 -0
- package/dist/command/CommandGroup.vue.js +40 -0
- package/dist/command/CommandGroup.vue2.js +4 -0
- package/dist/command/CommandInput.vue.js +43 -0
- package/dist/command/CommandInput.vue2.js +4 -0
- package/dist/command/CommandItem.vue.js +51 -0
- package/dist/command/CommandItem.vue2.js +4 -0
- package/dist/command/CommandList.vue.js +28 -0
- package/dist/command/CommandList.vue2.js +4 -0
- package/dist/command/CommandSeparator.vue.js +28 -0
- package/dist/command/CommandSeparator.vue2.js +4 -0
- package/dist/command/CommandShortcut.vue.js +20 -0
- package/dist/command/CommandShortcut.vue2.js +4 -0
- package/dist/command/contexts.js +8 -0
- package/dist/composables/use-file-upload.js +146 -0
- package/dist/data-table/DataTable.vue.js +171 -0
- package/dist/data-table/DataTable.vue2.js +4 -0
- package/dist/data-table/DataTableColumnHeader.vue.js +33 -0
- package/dist/data-table/DataTableColumnHeader.vue2.js +4 -0
- package/dist/data-table/DataTablePagination.vue.js +56 -0
- package/dist/data-table/DataTablePagination.vue2.js +4 -0
- package/dist/date-picker/DatePicker.vue.js +104 -0
- package/dist/date-picker/DatePicker.vue2.js +4 -0
- package/dist/date-range-picker/DateRangePicker.vue.js +79 -0
- package/dist/date-range-picker/DateRangePicker.vue2.js +4 -0
- package/dist/dialog/Dialog.vue.js +23 -0
- package/dist/dialog/Dialog.vue2.js +4 -0
- package/dist/dialog/DialogBody.vue.js +20 -0
- package/dist/dialog/DialogBody.vue2.js +4 -0
- package/dist/dialog/DialogClose.vue.js +21 -0
- package/dist/dialog/DialogClose.vue2.js +4 -0
- package/dist/dialog/DialogContent.vue.js +50 -0
- package/dist/dialog/DialogContent.vue2.js +4 -0
- package/dist/dialog/DialogDescription.vue.js +26 -0
- package/dist/dialog/DialogDescription.vue2.js +4 -0
- package/dist/dialog/DialogFooter.vue.js +25 -0
- package/dist/dialog/DialogFooter.vue2.js +4 -0
- package/dist/dialog/DialogHeader.vue.js +20 -0
- package/dist/dialog/DialogHeader.vue2.js +4 -0
- package/dist/dialog/DialogOverlay.vue.js +30 -0
- package/dist/dialog/DialogOverlay.vue2.js +4 -0
- package/dist/dialog/DialogScrollContent.vue.js +58 -0
- package/dist/dialog/DialogScrollContent.vue2.js +4 -0
- package/dist/dialog/DialogTitle.vue.js +26 -0
- package/dist/dialog/DialogTitle.vue2.js +4 -0
- package/dist/dialog/DialogTrigger.vue.js +21 -0
- package/dist/dialog/DialogTrigger.vue2.js +4 -0
- package/dist/dialog/index.js +20 -0
- package/dist/dropdown-menu/DropdownMenu.vue.js +24 -0
- package/dist/dropdown-menu/DropdownMenu.vue2.js +4 -0
- package/dist/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts.map +1 -1
- package/dist/dropdown-menu/DropdownMenuCheckboxItem.vue.js +42 -0
- package/dist/dropdown-menu/DropdownMenuCheckboxItem.vue2.js +4 -0
- package/dist/dropdown-menu/DropdownMenuContent.vue.js +54 -0
- package/dist/dropdown-menu/DropdownMenuContent.vue2.js +4 -0
- package/dist/dropdown-menu/DropdownMenuGroup.vue.js +21 -0
- package/dist/dropdown-menu/DropdownMenuGroup.vue2.js +4 -0
- package/dist/dropdown-menu/DropdownMenuItem.vue.d.ts.map +1 -1
- package/dist/dropdown-menu/DropdownMenuItem.vue.js +38 -0
- package/dist/dropdown-menu/DropdownMenuItem.vue2.js +4 -0
- package/dist/dropdown-menu/DropdownMenuLabel.vue.js +30 -0
- package/dist/dropdown-menu/DropdownMenuLabel.vue2.js +4 -0
- package/dist/dropdown-menu/DropdownMenuRadioGroup.vue.js +23 -0
- package/dist/dropdown-menu/DropdownMenuRadioGroup.vue2.js +4 -0
- package/dist/dropdown-menu/DropdownMenuRadioItem.vue.d.ts.map +1 -1
- package/dist/dropdown-menu/DropdownMenuRadioItem.vue.js +43 -0
- package/dist/dropdown-menu/DropdownMenuRadioItem.vue2.js +4 -0
- package/dist/dropdown-menu/DropdownMenuSeparator.vue.js +21 -0
- package/dist/dropdown-menu/DropdownMenuSeparator.vue2.js +4 -0
- package/dist/dropdown-menu/DropdownMenuShortcut.vue.d.ts.map +1 -1
- package/dist/dropdown-menu/DropdownMenuShortcut.vue.js +20 -0
- package/dist/dropdown-menu/DropdownMenuShortcut.vue2.js +4 -0
- package/dist/dropdown-menu/DropdownMenuSub.vue.js +22 -0
- package/dist/dropdown-menu/DropdownMenuSub.vue2.js +4 -0
- package/dist/dropdown-menu/DropdownMenuSubContent.vue.js +47 -0
- package/dist/dropdown-menu/DropdownMenuSubContent.vue2.js +4 -0
- package/dist/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts.map +1 -1
- package/dist/dropdown-menu/DropdownMenuSubTrigger.vue.js +34 -0
- package/dist/dropdown-menu/DropdownMenuSubTrigger.vue2.js +4 -0
- package/dist/dropdown-menu/DropdownMenuTrigger.vue.js +22 -0
- package/dist/dropdown-menu/DropdownMenuTrigger.vue2.js +4 -0
- package/dist/illustration/Illustration.vue.js +17 -0
- package/dist/illustration/Illustration.vue2.js +4 -0
- package/dist/illustration/illustrations.js +127 -0
- package/dist/index.css +1 -1
- package/dist/index.js +454 -30969
- package/dist/input/Input.vue.js +43 -0
- package/dist/input/Input.vue2.js +4 -0
- package/dist/label/Label.vue.js +30 -0
- package/dist/label/Label.vue2.js +4 -0
- package/dist/lib/date.js +34 -0
- package/dist/lib/utils.js +13 -0
- package/dist/multi-select/MultiSelectContent.vue.js +69 -0
- package/dist/multi-select/MultiSelectContent.vue2.js +4 -0
- package/dist/multi-select/MultiSelectEmpty.vue.js +22 -0
- package/dist/multi-select/MultiSelectEmpty.vue2.js +4 -0
- package/dist/multi-select/MultiSelectGroup.vue.js +26 -0
- package/dist/multi-select/MultiSelectGroup.vue2.js +4 -0
- package/dist/multi-select/MultiSelectItem.vue.js +71 -0
- package/dist/multi-select/MultiSelectItem.vue2.js +4 -0
- package/dist/multi-select/MultiSelectLabel.vue.js +28 -0
- package/dist/multi-select/MultiSelectLabel.vue2.js +4 -0
- package/dist/multi-select/MultiSelectRoot.vue.js +76 -0
- package/dist/multi-select/MultiSelectRoot.vue2.js +4 -0
- package/dist/multi-select/MultiSelectSeparator.vue.js +25 -0
- package/dist/multi-select/MultiSelectSeparator.vue2.js +4 -0
- package/dist/multi-select/MultiSelectTrigger.vue.js +61 -0
- package/dist/multi-select/MultiSelectTrigger.vue2.js +4 -0
- package/dist/multi-select/MultiSelectValue.vue.js +79 -0
- package/dist/multi-select/MultiSelectValue.vue2.js +4 -0
- package/dist/multi-select/contexts.js +10 -0
- package/dist/multi-select/utils.js +11 -0
- package/dist/node_modules/.pnpm/@internationalized_date@3.8.2/node_modules/@internationalized/date/dist/CalendarDate.js +219 -0
- package/dist/node_modules/.pnpm/@internationalized_date@3.8.2/node_modules/@internationalized/date/dist/DateFormatter.js +99 -0
- package/dist/node_modules/.pnpm/@internationalized_date@3.8.2/node_modules/@internationalized/date/dist/GregorianCalendar.js +98 -0
- package/dist/node_modules/.pnpm/@internationalized_date@3.8.2/node_modules/@internationalized/date/dist/conversion.js +137 -0
- package/dist/node_modules/.pnpm/@internationalized_date@3.8.2/node_modules/@internationalized/date/dist/manipulation.js +214 -0
- package/dist/node_modules/.pnpm/@internationalized_date@3.8.2/node_modules/@internationalized/date/dist/queries.js +60 -0
- package/dist/node_modules/.pnpm/@internationalized_date@3.8.2/node_modules/@internationalized/date/dist/string.js +27 -0
- package/dist/node_modules/.pnpm/@internationalized_date@3.8.2/node_modules/@internationalized/date/dist/utils.js +6 -0
- package/dist/node_modules/.pnpm/@swc_helpers@0.5.17/node_modules/@swc/helpers/esm/_check_private_redeclaration.js +7 -0
- package/dist/node_modules/.pnpm/@swc_helpers@0.5.17/node_modules/@swc/helpers/esm/_class_private_field_init.js +7 -0
- package/dist/node_modules/.pnpm/@tanstack_table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/index.js +1771 -0
- package/dist/node_modules/.pnpm/@tanstack_vue-table@8.21.3_vue@3.5.19_typescript@5.8.3_/node_modules/@tanstack/vue-table/build/lib/index.js +168 -0
- package/dist/node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/Icon.js +39 -0
- package/dist/node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/createLucideIcon.js +21 -0
- package/dist/node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/defaultAttributes.js +20 -0
- package/dist/node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/arrow-left.js +14 -0
- package/dist/node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/arrow-right.js +14 -0
- package/dist/node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/calendar.js +16 -0
- package/dist/node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/check.js +11 -0
- package/dist/node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/chevron-down.js +13 -0
- package/dist/node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/chevron-left.js +13 -0
- package/dist/node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/chevron-right.js +13 -0
- package/dist/node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/chevron-up.js +13 -0
- package/dist/node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/chevrons-left.js +14 -0
- package/dist/node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/chevrons-right.js +14 -0
- package/dist/node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/circle-check.js +14 -0
- package/dist/node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/circle-x.js +15 -0
- package/dist/node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/circle.js +13 -0
- package/dist/node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/ellipsis.js +15 -0
- package/dist/node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/info.js +15 -0
- package/dist/node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/search.js +14 -0
- package/dist/node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/triangle-alert.js +21 -0
- package/dist/node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/triangle.js +16 -0
- package/dist/node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/x.js +14 -0
- package/dist/node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/shared/src/utils.js +20 -0
- package/dist/node_modules/.pnpm/reka-ui@2.5.0_typescript@5.8.3_vue@3.5.19_typescript@5.8.3_/node_modules/reka-ui/dist/date/comparators.js +10 -0
- package/dist/pagination/Pagination.vue.js +34 -0
- package/dist/pagination/Pagination.vue2.js +4 -0
- package/dist/pagination/PaginationContent.vue.js +26 -0
- package/dist/pagination/PaginationContent.vue2.js +4 -0
- package/dist/pagination/PaginationEllipsis.vue.js +30 -0
- package/dist/pagination/PaginationEllipsis.vue2.js +4 -0
- package/dist/pagination/PaginationFirst.vue.js +37 -0
- package/dist/pagination/PaginationFirst.vue2.js +4 -0
- package/dist/pagination/PaginationItem.vue.js +38 -0
- package/dist/pagination/PaginationItem.vue2.js +4 -0
- package/dist/pagination/PaginationLast.vue.js +37 -0
- package/dist/pagination/PaginationLast.vue2.js +4 -0
- package/dist/pagination/PaginationNext.vue.js +37 -0
- package/dist/pagination/PaginationNext.vue2.js +4 -0
- package/dist/pagination/PaginationPrevious.vue.js +37 -0
- package/dist/pagination/PaginationPrevious.vue2.js +4 -0
- package/dist/popover/Popover.vue.js +23 -0
- package/dist/popover/Popover.vue2.js +4 -0
- package/dist/popover/PopoverAnchor.vue.js +22 -0
- package/dist/popover/PopoverAnchor.vue2.js +4 -0
- package/dist/popover/PopoverContent.vue.js +55 -0
- package/dist/popover/PopoverContent.vue2.js +4 -0
- package/dist/popover/PopoverTrigger.vue.js +21 -0
- package/dist/popover/PopoverTrigger.vue2.js +4 -0
- package/dist/radio-group/RadioGroup.vue.js +36 -0
- package/dist/radio-group/RadioGroup.vue2.js +4 -0
- package/dist/radio-group/RadioGroupItem.vue.js +62 -0
- package/dist/radio-group/RadioGroupItem.vue2.js +4 -0
- package/dist/range-calendar/RangeCalendar.vue.js +219 -0
- package/dist/range-calendar/RangeCalendar.vue2.js +4 -0
- package/dist/range-calendar/RangeCalendarCell.vue.js +31 -0
- package/dist/range-calendar/RangeCalendarCell.vue2.js +4 -0
- package/dist/range-calendar/RangeCalendarCellTrigger.vue.js +47 -0
- package/dist/range-calendar/RangeCalendarCellTrigger.vue2.js +4 -0
- package/dist/range-calendar/RangeCalendarGrid.vue.js +27 -0
- package/dist/range-calendar/RangeCalendarGrid.vue2.js +4 -0
- package/dist/range-calendar/RangeCalendarGridBody.vue.js +21 -0
- package/dist/range-calendar/RangeCalendarGridBody.vue2.js +4 -0
- package/dist/range-calendar/RangeCalendarGridHead.vue.js +21 -0
- package/dist/range-calendar/RangeCalendarGridHead.vue2.js +4 -0
- package/dist/range-calendar/RangeCalendarGridRow.vue.js +27 -0
- package/dist/range-calendar/RangeCalendarGridRow.vue2.js +4 -0
- package/dist/range-calendar/RangeCalendarHeadCell.vue.js +27 -0
- package/dist/range-calendar/RangeCalendarHeadCell.vue2.js +4 -0
- package/dist/range-calendar/RangeCalendarHeader.vue.js +27 -0
- package/dist/range-calendar/RangeCalendarHeader.vue2.js +4 -0
- package/dist/range-calendar/RangeCalendarHeading.vue.js +34 -0
- package/dist/range-calendar/RangeCalendarHeading.vue2.js +4 -0
- package/dist/range-calendar/RangeCalendarNextButton.vue.js +37 -0
- package/dist/range-calendar/RangeCalendarNextButton.vue2.js +4 -0
- package/dist/range-calendar/RangeCalendarPrevButton.vue.js +37 -0
- package/dist/range-calendar/RangeCalendarPrevButton.vue2.js +4 -0
- package/dist/select/Select.vue.js +31 -0
- package/dist/select/Select.vue2.js +4 -0
- package/dist/select/SelectContent.vue.js +73 -0
- package/dist/select/SelectContent.vue2.js +4 -0
- package/dist/select/SelectGroup.vue.js +21 -0
- package/dist/select/SelectGroup.vue2.js +4 -0
- package/dist/select/SelectItem.vue.js +46 -0
- package/dist/select/SelectItem.vue2.js +4 -0
- package/dist/select/SelectItemText.vue.js +21 -0
- package/dist/select/SelectItemText.vue2.js +4 -0
- package/dist/select/SelectLabel.vue.js +27 -0
- package/dist/select/SelectLabel.vue2.js +4 -0
- package/dist/select/SelectScrollDownButton.vue.js +29 -0
- package/dist/select/SelectScrollDownButton.vue2.js +4 -0
- package/dist/select/SelectScrollUpButton.vue.js +29 -0
- package/dist/select/SelectScrollUpButton.vue2.js +4 -0
- package/dist/select/SelectSeparator.vue.js +21 -0
- package/dist/select/SelectSeparator.vue2.js +4 -0
- package/dist/select/SelectTrigger.vue.js +60 -0
- package/dist/select/SelectTrigger.vue2.js +4 -0
- package/dist/select/SelectValue.vue.js +22 -0
- package/dist/select/SelectValue.vue2.js +4 -0
- package/dist/separator/Separator.vue.js +26 -0
- package/dist/separator/Separator.vue2.js +4 -0
- package/dist/sheet/Sheet.vue.js +23 -0
- package/dist/sheet/Sheet.vue2.js +4 -0
- package/dist/sheet/SheetClose.vue.js +21 -0
- package/dist/sheet/SheetClose.vue2.js +4 -0
- package/dist/sheet/SheetContent.vue.js +54 -0
- package/dist/sheet/SheetContent.vue2.js +4 -0
- package/dist/sheet/SheetDescription.vue.js +27 -0
- package/dist/sheet/SheetDescription.vue2.js +4 -0
- package/dist/sheet/SheetFooter.vue.js +20 -0
- package/dist/sheet/SheetFooter.vue2.js +4 -0
- package/dist/sheet/SheetHeader.vue.js +20 -0
- package/dist/sheet/SheetHeader.vue2.js +4 -0
- package/dist/sheet/SheetOverlay.vue.js +31 -0
- package/dist/sheet/SheetOverlay.vue2.js +4 -0
- package/dist/sheet/SheetTitle.vue.js +27 -0
- package/dist/sheet/SheetTitle.vue2.js +4 -0
- package/dist/sheet/SheetTrigger.vue.js +21 -0
- package/dist/sheet/SheetTrigger.vue2.js +4 -0
- package/dist/sidebar/Sidebar.vue.js +63 -0
- package/dist/sidebar/Sidebar.vue2.js +4 -0
- package/dist/sidebar/SidebarContent.vue.js +26 -0
- package/dist/sidebar/SidebarContent.vue2.js +4 -0
- package/dist/sidebar/SidebarFooter.vue.js +21 -0
- package/dist/sidebar/SidebarFooter.vue2.js +4 -0
- package/dist/sidebar/SidebarGroup.vue.js +21 -0
- package/dist/sidebar/SidebarGroup.vue2.js +4 -0
- package/dist/sidebar/SidebarGroupAction.vue.js +36 -0
- package/dist/sidebar/SidebarGroupAction.vue2.js +4 -0
- package/dist/sidebar/SidebarGroupContent.vue.js +21 -0
- package/dist/sidebar/SidebarGroupContent.vue2.js +4 -0
- package/dist/sidebar/SidebarGroupLabel.vue.js +35 -0
- package/dist/sidebar/SidebarGroupLabel.vue2.js +4 -0
- package/dist/sidebar/SidebarHeader.vue.js +21 -0
- package/dist/sidebar/SidebarHeader.vue2.js +4 -0
- package/dist/sidebar/SidebarInput.vue.js +30 -0
- package/dist/sidebar/SidebarInput.vue2.js +4 -0
- package/dist/sidebar/SidebarInset.vue.js +20 -0
- package/dist/sidebar/SidebarInset.vue2.js +4 -0
- package/dist/sidebar/SidebarMenu.vue.js +21 -0
- package/dist/sidebar/SidebarMenu.vue2.js +4 -0
- package/dist/sidebar/SidebarMenuAction.vue.js +41 -0
- package/dist/sidebar/SidebarMenuAction.vue2.js +4 -0
- package/dist/sidebar/SidebarMenuBadge.vue.js +31 -0
- package/dist/sidebar/SidebarMenuBadge.vue2.js +4 -0
- package/dist/sidebar/SidebarMenuButton.vue.js +59 -0
- package/dist/sidebar/SidebarMenuButton.vue2.js +4 -0
- package/dist/sidebar/SidebarMenuButtonChild.vue.js +35 -0
- package/dist/sidebar/SidebarMenuButtonChild.vue2.js +4 -0
- package/dist/sidebar/SidebarMenuItem.vue.js +21 -0
- package/dist/sidebar/SidebarMenuItem.vue2.js +4 -0
- package/dist/sidebar/SidebarMenuSkeleton.vue.js +35 -0
- package/dist/sidebar/SidebarMenuSkeleton.vue2.js +4 -0
- package/dist/sidebar/SidebarMenuSub.vue.js +27 -0
- package/dist/sidebar/SidebarMenuSub.vue2.js +4 -0
- package/dist/sidebar/SidebarMenuSubButton.vue.js +42 -0
- package/dist/sidebar/SidebarMenuSubButton.vue2.js +4 -0
- package/dist/sidebar/SidebarMenuSubItem.vue.js +21 -0
- package/dist/sidebar/SidebarMenuSubItem.vue2.js +4 -0
- package/dist/sidebar/SidebarProvider.vue.js +39 -0
- package/dist/sidebar/SidebarProvider.vue2.js +4 -0
- package/dist/sidebar/SidebarSeparator.vue.js +25 -0
- package/dist/sidebar/SidebarSeparator.vue2.js +4 -0
- package/dist/sidebar/index.js +24 -0
- package/dist/sidebar/utils.js +8 -0
- package/dist/skeleton/Skeleton.vue.js +18 -0
- package/dist/skeleton/Skeleton.vue2.js +4 -0
- package/dist/sonner/Sonner.vue.js +31 -0
- package/dist/sonner/Sonner.vue2.js +4 -0
- package/dist/sonner/Toast.vue.js +70 -0
- package/dist/sonner/Toast.vue2.js +4 -0
- package/dist/sonner/index.js +22 -0
- package/dist/sonner/toast.js +12 -0
- package/dist/stepper/Stepper.vue.js +32 -0
- package/dist/stepper/Stepper.vue2.js +4 -0
- package/dist/stepper/StepperDescription.vue.js +26 -0
- package/dist/stepper/StepperDescription.vue2.js +4 -0
- package/dist/stepper/StepperIndicator.vue.js +37 -0
- package/dist/stepper/StepperIndicator.vue2.js +4 -0
- package/dist/stepper/StepperItem.vue.js +32 -0
- package/dist/stepper/StepperItem.vue2.js +4 -0
- package/dist/stepper/StepperSeparator.vue.js +34 -0
- package/dist/stepper/StepperSeparator.vue2.js +4 -0
- package/dist/stepper/StepperTitle.vue.js +26 -0
- package/dist/stepper/StepperTitle.vue2.js +4 -0
- package/dist/stepper/StepperTrigger.vue.js +29 -0
- package/dist/stepper/StepperTrigger.vue2.js +4 -0
- package/dist/switch/Switch.vue.js +62 -0
- package/dist/switch/Switch.vue2.js +4 -0
- package/dist/table/Table.vue.js +30 -0
- package/dist/table/Table.vue2.js +4 -0
- package/dist/table/TableBody.vue.js +25 -0
- package/dist/table/TableBody.vue2.js +4 -0
- package/dist/table/TableCaption.vue.js +20 -0
- package/dist/table/TableCaption.vue2.js +4 -0
- package/dist/table/TableCell.vue.js +25 -0
- package/dist/table/TableCell.vue2.js +4 -0
- package/dist/table/TableEmpty.vue.js +49 -0
- package/dist/table/TableEmpty.vue2.js +4 -0
- package/dist/table/TableFooter.vue.js +20 -0
- package/dist/table/TableFooter.vue2.js +4 -0
- package/dist/table/TableHead.vue.js +26 -0
- package/dist/table/TableHead.vue2.js +4 -0
- package/dist/table/TableHeader.vue.js +22 -0
- package/dist/table/TableHeader.vue2.js +4 -0
- package/dist/table/TableRow.vue.js +20 -0
- package/dist/table/TableRow.vue2.js +4 -0
- package/dist/table/utils.js +6 -0
- package/dist/tabs/Tabs.vue.js +33 -0
- package/dist/tabs/Tabs.vue2.js +4 -0
- package/dist/tabs/TabsContent.vue.js +29 -0
- package/dist/tabs/TabsContent.vue2.js +4 -0
- package/dist/tabs/TabsList.vue.js +30 -0
- package/dist/tabs/TabsList.vue2.js +4 -0
- package/dist/tabs/TabsTrigger.vue.js +33 -0
- package/dist/tabs/TabsTrigger.vue2.js +4 -0
- package/dist/tabs/index.js +18 -0
- package/dist/tag/Tag.vue.js +31 -0
- package/dist/tag/Tag.vue2.js +4 -0
- package/dist/tag/index.js +35 -0
- package/dist/textarea/Textarea.vue.js +35 -0
- package/dist/textarea/Textarea.vue2.js +4 -0
- package/dist/time-picker/TimePicker.vue.js +142 -0
- package/dist/time-picker/TimePicker.vue2.js +4 -0
- package/dist/tooltip/Tooltip.vue.js +27 -0
- package/dist/tooltip/Tooltip.vue2.js +4 -0
- package/dist/tooltip/TooltipContent.vue.js +51 -0
- package/dist/tooltip/TooltipContent.vue2.js +4 -0
- package/dist/tooltip/TooltipProvider.vue.js +25 -0
- package/dist/tooltip/TooltipProvider.vue2.js +4 -0
- package/dist/tooltip/TooltipTrigger.vue.js +22 -0
- package/dist/tooltip/TooltipTrigger.vue2.js +4 -0
- package/dist/upload/UploadContent.vue.js +30 -0
- package/dist/upload/UploadContent.vue2.js +4 -0
- package/dist/upload/UploadContentDescription.vue.js +37 -0
- package/dist/upload/UploadContentDescription.vue2.js +4 -0
- package/dist/upload/UploadContentLoadingDescription.vue.js +37 -0
- package/dist/upload/UploadContentLoadingDescription.vue2.js +4 -0
- package/dist/upload/UploadContentSuccessDescription.vue.js +37 -0
- package/dist/upload/UploadContentSuccessDescription.vue2.js +4 -0
- package/dist/upload/UploadContentTitle.vue.js +35 -0
- package/dist/upload/UploadContentTitle.vue2.js +4 -0
- package/dist/upload/UploadFileItem.vue.js +106 -0
- package/dist/upload/UploadFileItem.vue2.js +4 -0
- package/dist/upload/UploadRoot.vue.js +109 -0
- package/dist/upload/UploadRoot.vue2.js +4 -0
- package/dist/upload/upload-context.js +6 -0
- package/package.json +5 -2
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { defineComponent as x, computed as p, createBlock as V, openBlock as a, unref as e, withCtx as r, createVNode as l, normalizeClass as k, createElementBlock as m, createElementVNode as b, Fragment as s, createTextVNode as f, toDisplayString as n } from "vue";
|
|
2
|
+
import { getLocalTimeZone as d } from "../node_modules/.pnpm/@internationalized_date@3.8.2/node_modules/@internationalized/date/dist/queries.js";
|
|
3
|
+
import { DateFormatter as g } from "../node_modules/.pnpm/@internationalized_date@3.8.2/node_modules/@internationalized/date/dist/DateFormatter.js";
|
|
4
|
+
import { cn as D } from "../lib/utils.js";
|
|
5
|
+
import h from "../popover/Popover.vue.js";
|
|
6
|
+
import w from "../popover/PopoverTrigger.vue.js";
|
|
7
|
+
import B from "../button/Button.vue.js";
|
|
8
|
+
import C from "../node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/calendar.js";
|
|
9
|
+
import S from "../popover/PopoverContent.vue.js";
|
|
10
|
+
import N from "../range-calendar/RangeCalendar.vue.js";
|
|
11
|
+
const j = { class: "absolute inset-y-0 end-0 flex items-center justify-center px-2.5" }, A = /* @__PURE__ */ x({
|
|
12
|
+
__name: "DateRangePicker",
|
|
13
|
+
props: {
|
|
14
|
+
modelValue: {},
|
|
15
|
+
placeholder: {},
|
|
16
|
+
locale: { default: "pt-BR" },
|
|
17
|
+
dateStyle: { default: "short" }
|
|
18
|
+
},
|
|
19
|
+
emits: ["update:modelValue"],
|
|
20
|
+
setup(_, { emit: v }) {
|
|
21
|
+
const o = _, y = v, t = p({
|
|
22
|
+
get: () => o.modelValue,
|
|
23
|
+
set: (c) => y("update:modelValue", c)
|
|
24
|
+
}), u = p(
|
|
25
|
+
() => new g(o.locale, {
|
|
26
|
+
dateStyle: o.dateStyle
|
|
27
|
+
})
|
|
28
|
+
);
|
|
29
|
+
return (c, i) => (a(), V(e(h), null, {
|
|
30
|
+
default: r(() => [
|
|
31
|
+
l(e(w), { "as-child": "" }, {
|
|
32
|
+
default: r(() => [
|
|
33
|
+
l(e(B), {
|
|
34
|
+
variant: "outline",
|
|
35
|
+
class: k(
|
|
36
|
+
e(D)(
|
|
37
|
+
"relative min-w-[280px] justify-start pr-8 text-left font-normal",
|
|
38
|
+
!t.value && "text-muted-foreground"
|
|
39
|
+
)
|
|
40
|
+
)
|
|
41
|
+
}, {
|
|
42
|
+
default: r(() => [
|
|
43
|
+
t.value.start ? (a(), m(s, { key: 0 }, [
|
|
44
|
+
t.value.end ? (a(), m(s, { key: 0 }, [
|
|
45
|
+
f(n(u.value.format(t.value.start.toDate(e(d)()))) + " - " + n(u.value.format(t.value.end.toDate(e(d)()))), 1)
|
|
46
|
+
], 64)) : (a(), m(s, { key: 1 }, [
|
|
47
|
+
f(n(u.value.format(t.value.start.toDate(e(d)()))), 1)
|
|
48
|
+
], 64))
|
|
49
|
+
], 64)) : (a(), m(s, { key: 1 }, [
|
|
50
|
+
f(n(c.placeholder), 1)
|
|
51
|
+
], 64)),
|
|
52
|
+
b("span", j, [
|
|
53
|
+
l(e(C), { class: "size-4" })
|
|
54
|
+
])
|
|
55
|
+
]),
|
|
56
|
+
_: 1
|
|
57
|
+
}, 8, ["class"])
|
|
58
|
+
]),
|
|
59
|
+
_: 1
|
|
60
|
+
}),
|
|
61
|
+
l(e(S), { class: "w-auto p-0 pb-4" }, {
|
|
62
|
+
default: r(() => [
|
|
63
|
+
l(e(N), {
|
|
64
|
+
modelValue: t.value,
|
|
65
|
+
"onUpdate:modelValue": i[0] || (i[0] = ($) => t.value = $),
|
|
66
|
+
locale: o.locale,
|
|
67
|
+
"initial-focus": ""
|
|
68
|
+
}, null, 8, ["modelValue", "locale"])
|
|
69
|
+
]),
|
|
70
|
+
_: 1
|
|
71
|
+
})
|
|
72
|
+
]),
|
|
73
|
+
_: 1
|
|
74
|
+
}));
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
export {
|
|
78
|
+
A as default
|
|
79
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { defineComponent as p, createBlock as n, openBlock as s, unref as o, mergeProps as l, withCtx as m, renderSlot as d } from "vue";
|
|
2
|
+
import { useForwardPropsEmits as i, DialogRoot as c } from "reka-ui";
|
|
3
|
+
const w = /* @__PURE__ */ p({
|
|
4
|
+
__name: "Dialog",
|
|
5
|
+
props: {
|
|
6
|
+
open: { type: Boolean },
|
|
7
|
+
defaultOpen: { type: Boolean },
|
|
8
|
+
modal: { type: Boolean }
|
|
9
|
+
},
|
|
10
|
+
emits: ["update:open"],
|
|
11
|
+
setup(e, { emit: t }) {
|
|
12
|
+
const r = i(e, t);
|
|
13
|
+
return (a, _) => (s(), n(o(c), l({ "data-slot": "dialog" }, o(r)), {
|
|
14
|
+
default: m(() => [
|
|
15
|
+
d(a.$slots, "default")
|
|
16
|
+
]),
|
|
17
|
+
_: 3
|
|
18
|
+
}, 16));
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
export {
|
|
22
|
+
w as default
|
|
23
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineComponent as s, createElementBlock as n, openBlock as a, normalizeClass as r, unref as l, renderSlot as c } from "vue";
|
|
2
|
+
import { cn as p } from "../lib/utils.js";
|
|
3
|
+
const f = /* @__PURE__ */ s({
|
|
4
|
+
__name: "DialogBody",
|
|
5
|
+
props: {
|
|
6
|
+
class: {}
|
|
7
|
+
},
|
|
8
|
+
setup(o) {
|
|
9
|
+
const t = o;
|
|
10
|
+
return (e, m) => (a(), n("div", {
|
|
11
|
+
"data-slot": "dialog-body",
|
|
12
|
+
class: r(l(p)("font-nunito px-4 pb-4 text-sm text-gray-900", t.class))
|
|
13
|
+
}, [
|
|
14
|
+
c(e.$slots, "default")
|
|
15
|
+
], 2));
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
export {
|
|
19
|
+
f as default
|
|
20
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { defineComponent as r, createBlock as a, openBlock as l, unref as s, mergeProps as n, withCtx as p, renderSlot as c } from "vue";
|
|
2
|
+
import { DialogClose as i } from "reka-ui";
|
|
3
|
+
const u = /* @__PURE__ */ r({
|
|
4
|
+
__name: "DialogClose",
|
|
5
|
+
props: {
|
|
6
|
+
asChild: { type: Boolean },
|
|
7
|
+
as: {}
|
|
8
|
+
},
|
|
9
|
+
setup(o) {
|
|
10
|
+
const e = o;
|
|
11
|
+
return (t, d) => (l(), a(s(i), n({ "data-slot": "dialog-close" }, e), {
|
|
12
|
+
default: p(() => [
|
|
13
|
+
c(t.$slots, "default")
|
|
14
|
+
]),
|
|
15
|
+
_: 3
|
|
16
|
+
}, 16));
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
export {
|
|
20
|
+
u as default
|
|
21
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { defineComponent as p, createBlock as m, openBlock as u, unref as t, withCtx as o, createVNode as e, mergeProps as f, renderSlot as g, createElementVNode as v } from "vue";
|
|
2
|
+
import { reactiveOmit as _ } from "@vueuse/core";
|
|
3
|
+
import { useForwardPropsEmits as C, DialogPortal as w, DialogContent as x, DialogClose as y } from "reka-ui";
|
|
4
|
+
import { cn as D } from "../lib/utils.js";
|
|
5
|
+
import { dialogContentVariants as b } from "./index.js";
|
|
6
|
+
import B from "./DialogOverlay.vue.js";
|
|
7
|
+
import O from "../node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/x.js";
|
|
8
|
+
const A = /* @__PURE__ */ p({
|
|
9
|
+
__name: "DialogContent",
|
|
10
|
+
props: {
|
|
11
|
+
class: {},
|
|
12
|
+
variant: {},
|
|
13
|
+
forceMount: { type: Boolean },
|
|
14
|
+
disableOutsidePointerEvents: { type: Boolean },
|
|
15
|
+
asChild: { type: Boolean },
|
|
16
|
+
as: {}
|
|
17
|
+
},
|
|
18
|
+
emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
|
|
19
|
+
setup(r, { emit: i }) {
|
|
20
|
+
const a = r, l = i, d = _(a, "class"), c = C(d, l);
|
|
21
|
+
return (s, n) => (u(), m(t(w), null, {
|
|
22
|
+
default: o(() => [
|
|
23
|
+
e(B),
|
|
24
|
+
e(t(x), f({ "data-slot": "dialog-content" }, t(c), {
|
|
25
|
+
class: t(D)(
|
|
26
|
+
t(b)({ variant: s.variant }),
|
|
27
|
+
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed left-[50%] top-[50%] max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] sm:max-w-lg",
|
|
28
|
+
a.class
|
|
29
|
+
)
|
|
30
|
+
}), {
|
|
31
|
+
default: o(() => [
|
|
32
|
+
g(s.$slots, "default"),
|
|
33
|
+
e(t(y), { class: "ring-offset-background focus:ring-ring data-[state=open]:text-primary-500 rounded-xs focus:outline-hidden absolute right-4 top-5 cursor-pointer focus:ring-2 focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-transparent [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0" }, {
|
|
34
|
+
default: o(() => [
|
|
35
|
+
e(t(O)),
|
|
36
|
+
n[0] || (n[0] = v("span", { class: "sr-only" }, "Close", -1))
|
|
37
|
+
]),
|
|
38
|
+
_: 1
|
|
39
|
+
})
|
|
40
|
+
]),
|
|
41
|
+
_: 3
|
|
42
|
+
}, 16, ["class"])
|
|
43
|
+
]),
|
|
44
|
+
_: 3
|
|
45
|
+
}));
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
export {
|
|
49
|
+
A as default
|
|
50
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { defineComponent as c, createBlock as p, openBlock as i, unref as o, mergeProps as l, withCtx as n, renderSlot as d } from "vue";
|
|
2
|
+
import { reactiveOmit as m } from "@vueuse/core";
|
|
3
|
+
import { useForwardProps as f, DialogDescription as u } from "reka-ui";
|
|
4
|
+
import { cn as g } from "../lib/utils.js";
|
|
5
|
+
const w = /* @__PURE__ */ c({
|
|
6
|
+
__name: "DialogDescription",
|
|
7
|
+
props: {
|
|
8
|
+
asChild: { type: Boolean },
|
|
9
|
+
as: {},
|
|
10
|
+
class: {}
|
|
11
|
+
},
|
|
12
|
+
setup(t) {
|
|
13
|
+
const e = t, r = m(e, "class"), s = f(r);
|
|
14
|
+
return (a, _) => (i(), p(o(u), l({ "data-slot": "dialog-description" }, o(s), {
|
|
15
|
+
class: o(g)("text-sm text-gray-600", e.class)
|
|
16
|
+
}), {
|
|
17
|
+
default: n(() => [
|
|
18
|
+
d(a.$slots, "default")
|
|
19
|
+
]),
|
|
20
|
+
_: 3
|
|
21
|
+
}, 16, ["class"]));
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
export {
|
|
25
|
+
w as default
|
|
26
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { defineComponent as s, createElementBlock as l, openBlock as t, normalizeClass as a, unref as n, renderSlot as c } from "vue";
|
|
2
|
+
import { cn as p } from "../lib/utils.js";
|
|
3
|
+
const i = /* @__PURE__ */ s({
|
|
4
|
+
__name: "DialogFooter",
|
|
5
|
+
props: {
|
|
6
|
+
class: {}
|
|
7
|
+
},
|
|
8
|
+
setup(e) {
|
|
9
|
+
const o = e;
|
|
10
|
+
return (r, f) => (t(), l("div", {
|
|
11
|
+
"data-slot": "dialog-footer",
|
|
12
|
+
class: a(
|
|
13
|
+
n(p)(
|
|
14
|
+
"bg-primary-100 flex flex-col-reverse gap-3 rounded-xl p-4 sm:flex-row sm:justify-end",
|
|
15
|
+
o.class
|
|
16
|
+
)
|
|
17
|
+
)
|
|
18
|
+
}, [
|
|
19
|
+
c(r.$slots, "default")
|
|
20
|
+
], 2));
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
export {
|
|
24
|
+
i as default
|
|
25
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineComponent as a, createElementBlock as l, openBlock as r, normalizeClass as s, unref as n, renderSlot as c } from "vue";
|
|
2
|
+
import { cn as p } from "../lib/utils.js";
|
|
3
|
+
const i = /* @__PURE__ */ a({
|
|
4
|
+
__name: "DialogHeader",
|
|
5
|
+
props: {
|
|
6
|
+
class: {}
|
|
7
|
+
},
|
|
8
|
+
setup(e) {
|
|
9
|
+
const t = e;
|
|
10
|
+
return (o, f) => (r(), l("div", {
|
|
11
|
+
"data-slot": "dialog-header",
|
|
12
|
+
class: s(n(p)("flex flex-col gap-1 p-4 pt-5 text-center sm:text-left", t.class))
|
|
13
|
+
}, [
|
|
14
|
+
c(o.$slots, "default")
|
|
15
|
+
], 2));
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
export {
|
|
19
|
+
i as default
|
|
20
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { defineComponent as r, createBlock as l, openBlock as n, unref as e, mergeProps as c, withCtx as d, renderSlot as i } from "vue";
|
|
2
|
+
import { reactiveOmit as p } from "@vueuse/core";
|
|
3
|
+
import { DialogOverlay as m } from "reka-ui";
|
|
4
|
+
import { cn as f } from "../lib/utils.js";
|
|
5
|
+
const B = /* @__PURE__ */ r({
|
|
6
|
+
__name: "DialogOverlay",
|
|
7
|
+
props: {
|
|
8
|
+
forceMount: { type: Boolean },
|
|
9
|
+
asChild: { type: Boolean },
|
|
10
|
+
as: {},
|
|
11
|
+
class: {}
|
|
12
|
+
},
|
|
13
|
+
setup(t) {
|
|
14
|
+
const a = t, o = p(a, "class");
|
|
15
|
+
return (s, u) => (n(), l(e(m), c({ "data-slot": "dialog-overlay" }, e(o), {
|
|
16
|
+
class: e(f)(
|
|
17
|
+
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80",
|
|
18
|
+
a.class
|
|
19
|
+
)
|
|
20
|
+
}), {
|
|
21
|
+
default: d(() => [
|
|
22
|
+
i(s.$slots, "default")
|
|
23
|
+
]),
|
|
24
|
+
_: 3
|
|
25
|
+
}, 16, ["class"]));
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
export {
|
|
29
|
+
B as default
|
|
30
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { defineComponent as m, createBlock as g, openBlock as v, unref as e, withCtx as o, createVNode as s, mergeProps as w, renderSlot as y, createElementVNode as D } from "vue";
|
|
2
|
+
import { reactiveOmit as C } from "@vueuse/core";
|
|
3
|
+
import { useForwardPropsEmits as b, DialogPortal as O, DialogOverlay as _, DialogContent as x, DialogClose as P } from "reka-ui";
|
|
4
|
+
import { cn as k } from "../lib/utils.js";
|
|
5
|
+
import { dialogContentVariants as B } from "./index.js";
|
|
6
|
+
import E from "../node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/x.js";
|
|
7
|
+
const S = /* @__PURE__ */ m({
|
|
8
|
+
__name: "DialogScrollContent",
|
|
9
|
+
props: {
|
|
10
|
+
class: {},
|
|
11
|
+
variant: {},
|
|
12
|
+
forceMount: { type: Boolean },
|
|
13
|
+
disableOutsidePointerEvents: { type: Boolean },
|
|
14
|
+
asChild: { type: Boolean },
|
|
15
|
+
as: {}
|
|
16
|
+
},
|
|
17
|
+
emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
|
|
18
|
+
setup(d, { emit: c }) {
|
|
19
|
+
const n = d, u = c, f = C(n, "class"), p = b(f, u);
|
|
20
|
+
return (r, t) => (v(), g(e(O), null, {
|
|
21
|
+
default: o(() => [
|
|
22
|
+
s(e(_), { class: "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 grid place-items-center overflow-y-auto bg-black/80" }, {
|
|
23
|
+
default: o(() => [
|
|
24
|
+
s(e(x), w({
|
|
25
|
+
class: e(k)(
|
|
26
|
+
e(B)({ variant: r.variant }),
|
|
27
|
+
"relative my-8 max-w-lg sm:rounded-xl md:w-full",
|
|
28
|
+
n.class
|
|
29
|
+
)
|
|
30
|
+
}, e(p), {
|
|
31
|
+
onPointerDownOutside: t[0] || (t[0] = (i) => {
|
|
32
|
+
const a = i.detail.originalEvent, l = a.target;
|
|
33
|
+
(a.offsetX > l.clientWidth || a.offsetY > l.clientHeight) && i.preventDefault();
|
|
34
|
+
})
|
|
35
|
+
}), {
|
|
36
|
+
default: o(() => [
|
|
37
|
+
y(r.$slots, "default"),
|
|
38
|
+
s(e(P), { class: "ring-offset-background focus:ring-ring data-[state=open]:text-primary-500 rounded-xs focus:outline-hidden absolute right-4 top-5 cursor-pointer focus:ring-2 focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-transparent [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0" }, {
|
|
39
|
+
default: o(() => [
|
|
40
|
+
s(e(E)),
|
|
41
|
+
t[1] || (t[1] = D("span", { class: "sr-only" }, "Close", -1))
|
|
42
|
+
]),
|
|
43
|
+
_: 1
|
|
44
|
+
})
|
|
45
|
+
]),
|
|
46
|
+
_: 3
|
|
47
|
+
}, 16, ["class"])
|
|
48
|
+
]),
|
|
49
|
+
_: 3
|
|
50
|
+
})
|
|
51
|
+
]),
|
|
52
|
+
_: 3
|
|
53
|
+
}));
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
export {
|
|
57
|
+
S as default
|
|
58
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { defineComponent as l, createBlock as c, openBlock as n, unref as o, mergeProps as p, withCtx as i, renderSlot as d } from "vue";
|
|
2
|
+
import { reactiveOmit as m } from "@vueuse/core";
|
|
3
|
+
import { useForwardProps as f, DialogTitle as u } from "reka-ui";
|
|
4
|
+
import { cn as g } from "../lib/utils.js";
|
|
5
|
+
const B = /* @__PURE__ */ l({
|
|
6
|
+
__name: "DialogTitle",
|
|
7
|
+
props: {
|
|
8
|
+
asChild: { type: Boolean },
|
|
9
|
+
as: {},
|
|
10
|
+
class: {}
|
|
11
|
+
},
|
|
12
|
+
setup(e) {
|
|
13
|
+
const t = e, r = m(t, "class"), s = f(r);
|
|
14
|
+
return (a, _) => (n(), c(o(u), p({ "data-slot": "dialog-title" }, o(s), {
|
|
15
|
+
class: o(g)("text-sm font-bold text-gray-800", t.class)
|
|
16
|
+
}), {
|
|
17
|
+
default: i(() => [
|
|
18
|
+
d(a.$slots, "default")
|
|
19
|
+
]),
|
|
20
|
+
_: 3
|
|
21
|
+
}, 16, ["class"]));
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
export {
|
|
25
|
+
B as default
|
|
26
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { defineComponent as t, createBlock as a, openBlock as l, unref as n, mergeProps as s, withCtx as i, renderSlot as p } from "vue";
|
|
2
|
+
import { DialogTrigger as g } from "reka-ui";
|
|
3
|
+
const m = /* @__PURE__ */ t({
|
|
4
|
+
__name: "DialogTrigger",
|
|
5
|
+
props: {
|
|
6
|
+
asChild: { type: Boolean },
|
|
7
|
+
as: {}
|
|
8
|
+
},
|
|
9
|
+
setup(e) {
|
|
10
|
+
const o = e;
|
|
11
|
+
return (r, c) => (l(), a(n(g), s({ "data-slot": "dialog-trigger" }, o), {
|
|
12
|
+
default: i(() => [
|
|
13
|
+
p(r.$slots, "default")
|
|
14
|
+
]),
|
|
15
|
+
_: 3
|
|
16
|
+
}, 16));
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
export {
|
|
20
|
+
m as default
|
|
21
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { cva as r } from "class-variance-authority";
|
|
2
|
+
const a = r(
|
|
3
|
+
"z-50 border-t-8 rounded-xl bg-neutral-100 shadow-lg duration-200 grid w-full gap-4",
|
|
4
|
+
{
|
|
5
|
+
variants: {
|
|
6
|
+
variant: {
|
|
7
|
+
default: "border-t-primary-600",
|
|
8
|
+
destructive: "border-t-red-300",
|
|
9
|
+
success: "border-t-green-300",
|
|
10
|
+
alert: "border-t-yellow-300"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
defaultVariants: {
|
|
14
|
+
variant: "default"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
);
|
|
18
|
+
export {
|
|
19
|
+
a as dialogContentVariants
|
|
20
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { defineComponent as p, createBlock as s, openBlock as a, unref as o, mergeProps as d, withCtx as m, renderSlot as l } from "vue";
|
|
2
|
+
import { useForwardPropsEmits as u, DropdownMenuRoot as i } from "reka-ui";
|
|
3
|
+
const y = /* @__PURE__ */ p({
|
|
4
|
+
__name: "DropdownMenu",
|
|
5
|
+
props: {
|
|
6
|
+
defaultOpen: { type: Boolean },
|
|
7
|
+
open: { type: Boolean },
|
|
8
|
+
dir: {},
|
|
9
|
+
modal: { type: Boolean }
|
|
10
|
+
},
|
|
11
|
+
emits: ["update:open"],
|
|
12
|
+
setup(e, { emit: t }) {
|
|
13
|
+
const r = u(e, t);
|
|
14
|
+
return (n, w) => (a(), s(o(i), d({ "data-slot": "dropdown-menu" }, o(r)), {
|
|
15
|
+
default: m(() => [
|
|
16
|
+
l(n.$slots, "default")
|
|
17
|
+
]),
|
|
18
|
+
_: 3
|
|
19
|
+
}, 16));
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
export {
|
|
23
|
+
y as default
|
|
24
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownMenuCheckboxItem.vue.d.ts","sourceRoot":"","sources":["../../src/dropdown-menu/DropdownMenuCheckboxItem.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DropdownMenuCheckboxItem.vue.d.ts","sourceRoot":"","sources":["../../src/dropdown-menu/DropdownMenuCheckboxItem.vue"],"names":[],"mappings":"AAwCA,OAAO,KAAK,EAAiC,6BAA6B,EAAE,MAAM,SAAS,CAAA;AAE3F,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAIzC,KAAK,WAAW,GAAG,6BAA6B,GAAG;IAAE,KAAK,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC,CAAA;CAAE,CAAC;AAWvF,iBAAS,cAAc;WAoET,OAAO,IAA6B;;yBAVpB,GAAG;;;;EAehC;AAcD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;kFAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { defineComponent as i, createBlock as p, openBlock as m, unref as e, mergeProps as u, withCtx as o, createElementVNode as f, renderSlot as _, createVNode as s } from "vue";
|
|
2
|
+
import { reactiveOmit as h } from "@vueuse/core";
|
|
3
|
+
import { useForwardPropsEmits as x, DropdownMenuCheckboxItem as b, DropdownMenuItemIndicator as g } from "reka-ui";
|
|
4
|
+
import { cn as v } from "../lib/utils.js";
|
|
5
|
+
import k from "../node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/check.js";
|
|
6
|
+
const w = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" }, D = /* @__PURE__ */ i({
|
|
7
|
+
__name: "DropdownMenuCheckboxItem",
|
|
8
|
+
props: {
|
|
9
|
+
modelValue: { type: [Boolean, String] },
|
|
10
|
+
disabled: { type: Boolean },
|
|
11
|
+
textValue: {},
|
|
12
|
+
asChild: { type: Boolean },
|
|
13
|
+
as: {},
|
|
14
|
+
class: {}
|
|
15
|
+
},
|
|
16
|
+
emits: ["select", "update:modelValue"],
|
|
17
|
+
setup(n, { emit: r }) {
|
|
18
|
+
const t = n, a = r, l = h(t, "class"), c = x(l, a);
|
|
19
|
+
return (d, y) => (m(), p(e(b), u({ "data-slot": "dropdown-menu-checkbox-item" }, e(c), {
|
|
20
|
+
class: e(v)(
|
|
21
|
+
"focus:bg-accent/24 outline-hidden relative flex cursor-default select-none items-center gap-2 rounded-sm py-1.5 pl-8 pr-2 text-sm data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
22
|
+
t.class
|
|
23
|
+
)
|
|
24
|
+
}), {
|
|
25
|
+
default: o(() => [
|
|
26
|
+
f("span", w, [
|
|
27
|
+
s(e(g), null, {
|
|
28
|
+
default: o(() => [
|
|
29
|
+
s(e(k), { class: "size-4" })
|
|
30
|
+
]),
|
|
31
|
+
_: 1
|
|
32
|
+
})
|
|
33
|
+
]),
|
|
34
|
+
_(d.$slots, "default")
|
|
35
|
+
]),
|
|
36
|
+
_: 3
|
|
37
|
+
}, 16, ["class"]));
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
export {
|
|
41
|
+
D as default
|
|
42
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { defineComponent as l, createBlock as p, openBlock as c, unref as o, withCtx as t, createVNode as m, mergeProps as u, renderSlot as f } from "vue";
|
|
2
|
+
import { reactiveOmit as g } from "@vueuse/core";
|
|
3
|
+
import { useForwardPropsEmits as w, DropdownMenuPortal as y, DropdownMenuContent as h } from "reka-ui";
|
|
4
|
+
import { cn as B } from "../lib/utils.js";
|
|
5
|
+
const C = /* @__PURE__ */ l({
|
|
6
|
+
__name: "DropdownMenuContent",
|
|
7
|
+
props: {
|
|
8
|
+
forceMount: { type: Boolean },
|
|
9
|
+
loop: { type: Boolean },
|
|
10
|
+
side: {},
|
|
11
|
+
sideOffset: { default: 4 },
|
|
12
|
+
sideFlip: { type: Boolean },
|
|
13
|
+
align: {},
|
|
14
|
+
alignOffset: {},
|
|
15
|
+
alignFlip: { type: Boolean },
|
|
16
|
+
avoidCollisions: { type: Boolean },
|
|
17
|
+
collisionBoundary: {},
|
|
18
|
+
collisionPadding: {},
|
|
19
|
+
arrowPadding: {},
|
|
20
|
+
sticky: {},
|
|
21
|
+
hideWhenDetached: { type: Boolean },
|
|
22
|
+
positionStrategy: {},
|
|
23
|
+
updatePositionStrategy: {},
|
|
24
|
+
disableUpdateOnLayoutShift: { type: Boolean },
|
|
25
|
+
prioritizePosition: { type: Boolean },
|
|
26
|
+
reference: {},
|
|
27
|
+
asChild: { type: Boolean },
|
|
28
|
+
as: {},
|
|
29
|
+
class: {}
|
|
30
|
+
},
|
|
31
|
+
emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "closeAutoFocus"],
|
|
32
|
+
setup(a, { emit: n }) {
|
|
33
|
+
const e = a, i = n, d = g(e, "class"), r = w(d, i);
|
|
34
|
+
return (s, P) => (c(), p(o(y), null, {
|
|
35
|
+
default: t(() => [
|
|
36
|
+
m(o(h), u({ "data-slot": "dropdown-menu-content" }, o(r), {
|
|
37
|
+
class: o(B)(
|
|
38
|
+
"border-input bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--reka-dropdown-menu-content-available-height) min-w-[8rem] origin-(--reka-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",
|
|
39
|
+
e.class
|
|
40
|
+
)
|
|
41
|
+
}), {
|
|
42
|
+
default: t(() => [
|
|
43
|
+
f(s.$slots, "default")
|
|
44
|
+
]),
|
|
45
|
+
_: 3
|
|
46
|
+
}, 16, ["class"])
|
|
47
|
+
]),
|
|
48
|
+
_: 3
|
|
49
|
+
}));
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
export {
|
|
53
|
+
C as default
|
|
54
|
+
};
|