@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,51 @@
|
|
|
1
|
+
import { defineComponent as i, createBlock as s, openBlock as t, unref as e, normalizeClass as o, withCtx as d, createElementVNode as c, renderSlot as u } from "vue";
|
|
2
|
+
import { cn as a } from "../lib/utils.js";
|
|
3
|
+
import { AtCirclePlusSolidIcon as p } from "@agrotools1/at-icons";
|
|
4
|
+
import { Primitive as f } from "reka-ui";
|
|
5
|
+
import m from "../checkbox/Checkbox.vue.js";
|
|
6
|
+
const h = { class: "self-end-safe" }, w = /* @__PURE__ */ i({
|
|
7
|
+
__name: "Card",
|
|
8
|
+
props: {
|
|
9
|
+
selected: { type: Boolean },
|
|
10
|
+
class: {},
|
|
11
|
+
asChild: { type: Boolean },
|
|
12
|
+
as: { default: "div" }
|
|
13
|
+
},
|
|
14
|
+
setup(n) {
|
|
15
|
+
const r = n;
|
|
16
|
+
return (l, y) => (t(), s(e(f), {
|
|
17
|
+
"data-slot": "card",
|
|
18
|
+
role: "button",
|
|
19
|
+
as: l.as,
|
|
20
|
+
"as-child": l.asChild,
|
|
21
|
+
class: o(
|
|
22
|
+
e(a)(
|
|
23
|
+
"group relative flex h-full min-h-[184px] w-full max-w-[149px] cursor-pointer flex-col items-center justify-start gap-2 rounded-xl border border-neutral-200 bg-neutral-100 p-4 *:transition-all",
|
|
24
|
+
l.selected ? "bg-primary-100 border-primary-100 selected cursor-default" : "not-selected",
|
|
25
|
+
r.class
|
|
26
|
+
)
|
|
27
|
+
)
|
|
28
|
+
}, {
|
|
29
|
+
default: d(() => [
|
|
30
|
+
c("div", h, [
|
|
31
|
+
r.selected ? (t(), s(e(m), {
|
|
32
|
+
key: 0,
|
|
33
|
+
"default-value": r.selected,
|
|
34
|
+
size: "sm",
|
|
35
|
+
class: "pointer-events-none rounded-full"
|
|
36
|
+
}, null, 8, ["default-value"])) : (t(), s(e(p), {
|
|
37
|
+
key: 1,
|
|
38
|
+
role: "button",
|
|
39
|
+
class: o(e(a)("text-primary-500 h-4 w-4 min-w-full cursor-pointer")),
|
|
40
|
+
size: "16"
|
|
41
|
+
}, null, 8, ["class"]))
|
|
42
|
+
]),
|
|
43
|
+
u(l.$slots, "default")
|
|
44
|
+
]),
|
|
45
|
+
_: 3
|
|
46
|
+
}, 8, ["as", "as-child", "class"]));
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
export {
|
|
50
|
+
w as default
|
|
51
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { defineComponent as o, createBlock as r, openBlock as l, unref as e, normalizeClass as n, withCtx as i, renderSlot as c } from "vue";
|
|
2
|
+
import { Primitive as p } from "reka-ui";
|
|
3
|
+
import { cn as d } from "../lib/utils.js";
|
|
4
|
+
const C = /* @__PURE__ */ o({
|
|
5
|
+
__name: "CardDescription",
|
|
6
|
+
props: {
|
|
7
|
+
class: {},
|
|
8
|
+
asChild: { type: Boolean },
|
|
9
|
+
as: { default: "p" }
|
|
10
|
+
},
|
|
11
|
+
setup(s) {
|
|
12
|
+
const a = s;
|
|
13
|
+
return (t, m) => (l(), r(e(p), {
|
|
14
|
+
"data-slot": "card-description",
|
|
15
|
+
as: t.as,
|
|
16
|
+
"as-child": t.asChild,
|
|
17
|
+
class: n(
|
|
18
|
+
e(d)(
|
|
19
|
+
"text-primary-700 font-nunito hidden w-full items-start text-start text-xs font-normal group-hover:block group-[.not-selected]:text-gray-700",
|
|
20
|
+
a.class
|
|
21
|
+
)
|
|
22
|
+
)
|
|
23
|
+
}, {
|
|
24
|
+
default: i(() => [
|
|
25
|
+
c(t.$slots, "default")
|
|
26
|
+
]),
|
|
27
|
+
_: 3
|
|
28
|
+
}, 8, ["as", "as-child", "class"]));
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
export {
|
|
32
|
+
C as default
|
|
33
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { defineComponent as o, createBlock as r, openBlock as l, unref as e, normalizeClass as i, withCtx as n, renderSlot as d } from "vue";
|
|
2
|
+
import { Primitive as c } from "reka-ui";
|
|
3
|
+
import { cn as p } from "../lib/utils.js";
|
|
4
|
+
const g = /* @__PURE__ */ o({
|
|
5
|
+
__name: "CardTitle",
|
|
6
|
+
props: {
|
|
7
|
+
class: {},
|
|
8
|
+
asChild: { type: Boolean },
|
|
9
|
+
as: { default: "h8" }
|
|
10
|
+
},
|
|
11
|
+
setup(a) {
|
|
12
|
+
const s = a;
|
|
13
|
+
return (t, m) => (l(), r(e(c), {
|
|
14
|
+
"data-slot": "card-title",
|
|
15
|
+
as: t.as,
|
|
16
|
+
"as-child": t.asChild,
|
|
17
|
+
class: i(
|
|
18
|
+
e(p)(
|
|
19
|
+
"text-primary-500 font-nunito w-full items-start text-start text-xs font-semibold group-[.not-selected]:text-gray-700 group-hover:group-[.not-selected]:text-gray-800",
|
|
20
|
+
s.class
|
|
21
|
+
)
|
|
22
|
+
),
|
|
23
|
+
role: "heading",
|
|
24
|
+
"aria-level": "8"
|
|
25
|
+
}, {
|
|
26
|
+
default: n(() => [
|
|
27
|
+
d(t.$slots, "default")
|
|
28
|
+
]),
|
|
29
|
+
_: 3
|
|
30
|
+
}, 8, ["as", "as-child", "class"]));
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
export {
|
|
34
|
+
g as default
|
|
35
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { defineComponent as w, createElementBlock as y, openBlock as A, normalizeClass as P, unref as e, renderSlot as S } from "vue";
|
|
2
|
+
import { cn as _ } from "../lib/utils.js";
|
|
3
|
+
import { useProvideCarousel as k } from "./useCarousel.js";
|
|
4
|
+
const N = /* @__PURE__ */ w({
|
|
5
|
+
__name: "Carousel",
|
|
6
|
+
props: {
|
|
7
|
+
opts: {},
|
|
8
|
+
plugins: {},
|
|
9
|
+
orientation: { default: "horizontal" },
|
|
10
|
+
class: {}
|
|
11
|
+
},
|
|
12
|
+
emits: ["init-api"],
|
|
13
|
+
setup(u, { expose: f, emit: m }) {
|
|
14
|
+
const r = u, d = m, {
|
|
15
|
+
canScrollNext: n,
|
|
16
|
+
canScrollPrev: a,
|
|
17
|
+
carouselApi: s,
|
|
18
|
+
carouselRef: i,
|
|
19
|
+
orientation: c,
|
|
20
|
+
scrollNext: t,
|
|
21
|
+
scrollPrev: l
|
|
22
|
+
} = k(r, d);
|
|
23
|
+
f({
|
|
24
|
+
canScrollNext: n,
|
|
25
|
+
canScrollPrev: a,
|
|
26
|
+
carouselApi: s,
|
|
27
|
+
carouselRef: i,
|
|
28
|
+
orientation: c,
|
|
29
|
+
scrollNext: t,
|
|
30
|
+
scrollPrev: l
|
|
31
|
+
});
|
|
32
|
+
function v(o) {
|
|
33
|
+
const p = r.orientation === "vertical" ? "ArrowUp" : "ArrowLeft", x = r.orientation === "vertical" ? "ArrowDown" : "ArrowRight";
|
|
34
|
+
if (o.key === p) {
|
|
35
|
+
o.preventDefault(), l();
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
o.key === x && (o.preventDefault(), t());
|
|
39
|
+
}
|
|
40
|
+
return (o, p) => (A(), y("div", {
|
|
41
|
+
"data-slot": "carousel",
|
|
42
|
+
class: P(e(_)("relative", r.class)),
|
|
43
|
+
role: "region",
|
|
44
|
+
"aria-roledescription": "carousel",
|
|
45
|
+
tabindex: "0",
|
|
46
|
+
onKeydown: v
|
|
47
|
+
}, [
|
|
48
|
+
S(o.$slots, "default", {
|
|
49
|
+
canScrollNext: e(n),
|
|
50
|
+
canScrollPrev: e(a),
|
|
51
|
+
carouselApi: e(s),
|
|
52
|
+
carouselRef: e(i),
|
|
53
|
+
orientation: e(c),
|
|
54
|
+
scrollNext: e(t),
|
|
55
|
+
scrollPrev: e(l)
|
|
56
|
+
})
|
|
57
|
+
], 34));
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
export {
|
|
61
|
+
N as default
|
|
62
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { defineComponent as n, createElementBlock as a, openBlock as c, createElementVNode as f, mergeProps as m, unref as o, renderSlot as i } from "vue";
|
|
2
|
+
import { cn as p } from "../lib/utils.js";
|
|
3
|
+
import { useCarousel as u } from "./useCarousel.js";
|
|
4
|
+
const k = /* @__PURE__ */ n({
|
|
5
|
+
inheritAttrs: !1,
|
|
6
|
+
__name: "CarouselContent",
|
|
7
|
+
props: {
|
|
8
|
+
class: {}
|
|
9
|
+
},
|
|
10
|
+
setup(r) {
|
|
11
|
+
const t = r, { carouselRef: s, orientation: l } = u();
|
|
12
|
+
return (e, d) => (c(), a("div", {
|
|
13
|
+
ref_key: "carouselRef",
|
|
14
|
+
ref: s,
|
|
15
|
+
"data-slot": "carousel-content",
|
|
16
|
+
class: "overflow-hidden"
|
|
17
|
+
}, [
|
|
18
|
+
f("div", m({
|
|
19
|
+
class: o(p)("flex", o(l) === "horizontal" ? "-ml-4" : "-mt-4 flex-col", t.class)
|
|
20
|
+
}, e.$attrs), [
|
|
21
|
+
i(e.$slots, "default")
|
|
22
|
+
], 16)
|
|
23
|
+
], 512));
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
export {
|
|
27
|
+
k as default
|
|
28
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { defineComponent as l, createElementBlock as a, openBlock as n, normalizeClass as i, unref as o, renderSlot as c } from "vue";
|
|
2
|
+
import { cn as p } from "../lib/utils.js";
|
|
3
|
+
import { useCarousel as m } from "./useCarousel.js";
|
|
4
|
+
const C = /* @__PURE__ */ l({
|
|
5
|
+
__name: "CarouselItem",
|
|
6
|
+
props: {
|
|
7
|
+
class: {}
|
|
8
|
+
},
|
|
9
|
+
setup(e) {
|
|
10
|
+
const r = e, { orientation: s } = m();
|
|
11
|
+
return (t, u) => (n(), a("div", {
|
|
12
|
+
"data-slot": "carousel-item",
|
|
13
|
+
role: "group",
|
|
14
|
+
"aria-roledescription": "slide",
|
|
15
|
+
class: i(
|
|
16
|
+
o(p)(
|
|
17
|
+
"min-w-0 shrink-0 grow-0 basis-full",
|
|
18
|
+
o(s) === "horizontal" ? "pl-4" : "pt-4",
|
|
19
|
+
r.class
|
|
20
|
+
)
|
|
21
|
+
)
|
|
22
|
+
}, [
|
|
23
|
+
c(t.$slots, "default")
|
|
24
|
+
], 2));
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
export {
|
|
28
|
+
C as default
|
|
29
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { defineComponent as c, createBlock as m, openBlock as p, unref as e, normalizeClass as a, withCtx as d, renderSlot as f, createVNode as u, createElementVNode as b } from "vue";
|
|
2
|
+
import { cn as x } from "../lib/utils.js";
|
|
3
|
+
import { useCarousel as z } from "./useCarousel.js";
|
|
4
|
+
import C from "../button/Button.vue.js";
|
|
5
|
+
import g 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/triangle.js";
|
|
6
|
+
const _ = /* @__PURE__ */ c({
|
|
7
|
+
__name: "CarouselNext",
|
|
8
|
+
props: {
|
|
9
|
+
variant: { default: "outline" },
|
|
10
|
+
size: { default: "icon" },
|
|
11
|
+
class: {}
|
|
12
|
+
},
|
|
13
|
+
setup(l) {
|
|
14
|
+
const s = l, { orientation: n, canScrollNext: r, scrollNext: i } = z();
|
|
15
|
+
return (t, o) => (p(), m(e(C), {
|
|
16
|
+
"data-slot": "carousel-next",
|
|
17
|
+
disabled: !e(r),
|
|
18
|
+
class: a(
|
|
19
|
+
e(x)(
|
|
20
|
+
"bg-primary hover:bg-primary-400 absolute size-6 rounded-full hover:border-none",
|
|
21
|
+
e(n) === "horizontal" ? "-right-8 top-1/2 -translate-y-1/2" : "-bottom-8 left-1/2 -translate-x-1/2 rotate-90",
|
|
22
|
+
e(r) ? "" : "border-none",
|
|
23
|
+
s.class
|
|
24
|
+
)
|
|
25
|
+
),
|
|
26
|
+
variant: t.variant,
|
|
27
|
+
size: t.size,
|
|
28
|
+
onClick: e(i)
|
|
29
|
+
}, {
|
|
30
|
+
default: d(() => [
|
|
31
|
+
f(t.$slots, "default", {}, () => [
|
|
32
|
+
u(e(g), {
|
|
33
|
+
class: a(["ml-[1px] rotate-90 p-[5px]", e(r) ? "fill-white stroke-white" : "fill-gray-300 stroke-gray-300"])
|
|
34
|
+
}, null, 8, ["class"]),
|
|
35
|
+
o[0] || (o[0] = b("span", { class: "sr-only" }, "Next Slide", -1))
|
|
36
|
+
])
|
|
37
|
+
]),
|
|
38
|
+
_: 3
|
|
39
|
+
}, 8, ["disabled", "class", "variant", "size", "onClick"]));
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
export {
|
|
43
|
+
_ as default
|
|
44
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { defineComponent as p, createBlock as c, openBlock as u, unref as e, normalizeClass as t, withCtx as d, renderSlot as f, createVNode as m, createElementVNode as v } from "vue";
|
|
2
|
+
import { cn as b } from "../lib/utils.js";
|
|
3
|
+
import { useCarousel as z } from "./useCarousel.js";
|
|
4
|
+
import C from "../button/Button.vue.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/triangle.js";
|
|
6
|
+
const w = /* @__PURE__ */ p({
|
|
7
|
+
__name: "CarouselPrevious",
|
|
8
|
+
props: {
|
|
9
|
+
variant: { default: "outline" },
|
|
10
|
+
size: { default: "icon" },
|
|
11
|
+
class: {}
|
|
12
|
+
},
|
|
13
|
+
setup(s) {
|
|
14
|
+
const l = s, { orientation: n, canScrollPrev: r, scrollPrev: i } = z();
|
|
15
|
+
return (o, a) => (u(), c(e(C), {
|
|
16
|
+
"data-slot": "carousel-previous",
|
|
17
|
+
disabled: !e(r),
|
|
18
|
+
class: t(
|
|
19
|
+
e(b)(
|
|
20
|
+
"bg-primary hover:bg-primary-400 absolute size-6 rounded-full hover:border-none",
|
|
21
|
+
e(n) === "horizontal" ? "-left-8 top-1/2 -translate-y-1/2" : "-top-8 left-1/2 -translate-x-1/2 rotate-90",
|
|
22
|
+
e(r) ? "" : "border-none",
|
|
23
|
+
l.class
|
|
24
|
+
)
|
|
25
|
+
),
|
|
26
|
+
variant: o.variant,
|
|
27
|
+
size: o.size,
|
|
28
|
+
onClick: e(i)
|
|
29
|
+
}, {
|
|
30
|
+
default: d(() => [
|
|
31
|
+
f(o.$slots, "default", {}, () => [
|
|
32
|
+
m(e(k), {
|
|
33
|
+
class: t(["rotate-270 mr-[px] p-[5px]", e(r) ? "fill-white stroke-white" : "fill-gray-300 stroke-gray-300"])
|
|
34
|
+
}, null, 8, ["class"]),
|
|
35
|
+
a[0] || (a[0] = v("span", { class: "sr-only" }, "Previous Slide", -1))
|
|
36
|
+
])
|
|
37
|
+
]),
|
|
38
|
+
_: 3
|
|
39
|
+
}, 8, ["disabled", "class", "variant", "size", "onClick"]));
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
export {
|
|
43
|
+
w as default
|
|
44
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { createInjectionState as S } from "@vueuse/core";
|
|
2
|
+
import C from "embla-carousel-vue";
|
|
3
|
+
import { ref as c, onMounted as N } from "vue";
|
|
4
|
+
const [h, P] = S(
|
|
5
|
+
({ opts: o, orientation: t, plugins: i }, f) => {
|
|
6
|
+
const [v, l] = C(
|
|
7
|
+
{
|
|
8
|
+
...o,
|
|
9
|
+
axis: t === "horizontal" ? "x" : "y"
|
|
10
|
+
},
|
|
11
|
+
i
|
|
12
|
+
);
|
|
13
|
+
function m() {
|
|
14
|
+
var e;
|
|
15
|
+
(e = l.value) == null || e.scrollPrev();
|
|
16
|
+
}
|
|
17
|
+
function x() {
|
|
18
|
+
var e;
|
|
19
|
+
(e = l.value) == null || e.scrollNext();
|
|
20
|
+
}
|
|
21
|
+
const n = c(!1), u = c(!1);
|
|
22
|
+
function r() {
|
|
23
|
+
const e = l.value;
|
|
24
|
+
n.value = (e == null ? void 0 : e.canScrollNext()) || !1, u.value = (e == null ? void 0 : e.canScrollPrev()) || !1;
|
|
25
|
+
}
|
|
26
|
+
return N(() => {
|
|
27
|
+
var e, a, s;
|
|
28
|
+
l.value && ((e = l.value) == null || e.on("init", r), (a = l.value) == null || a.on("reInit", r), (s = l.value) == null || s.on("select", r), f("init-api", l.value));
|
|
29
|
+
}), {
|
|
30
|
+
carouselRef: v,
|
|
31
|
+
carouselApi: l,
|
|
32
|
+
canScrollPrev: u,
|
|
33
|
+
canScrollNext: n,
|
|
34
|
+
scrollPrev: m,
|
|
35
|
+
scrollNext: x,
|
|
36
|
+
orientation: t
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
);
|
|
40
|
+
function w() {
|
|
41
|
+
const o = P();
|
|
42
|
+
if (!o) throw new Error("useCarousel must be used within a <Carousel />");
|
|
43
|
+
return o;
|
|
44
|
+
}
|
|
45
|
+
export {
|
|
46
|
+
w as useCarousel,
|
|
47
|
+
h as useProvideCarousel
|
|
48
|
+
};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { defineComponent as m, createBlock as b, openBlock as o, unref as e, mergeProps as f, withCtx as s, createVNode as g, renderSlot as h, createElementBlock as k, normalizeClass as x, createElementVNode as v } from "vue";
|
|
2
|
+
import { reactiveOmit as w } from "@vueuse/core";
|
|
3
|
+
import { cva as y } from "class-variance-authority";
|
|
4
|
+
import { useForwardPropsEmits as z, CheckboxRoot as B, CheckboxIndicator as C } from "reka-ui";
|
|
5
|
+
import { cn as i } from "../lib/utils.js";
|
|
6
|
+
const j = /* @__PURE__ */ m({
|
|
7
|
+
__name: "Checkbox",
|
|
8
|
+
props: {
|
|
9
|
+
class: {},
|
|
10
|
+
size: {},
|
|
11
|
+
defaultValue: { type: [Boolean, String] },
|
|
12
|
+
modelValue: { type: [Boolean, String, null] },
|
|
13
|
+
disabled: { type: Boolean },
|
|
14
|
+
value: {},
|
|
15
|
+
id: {},
|
|
16
|
+
asChild: { type: Boolean },
|
|
17
|
+
as: {},
|
|
18
|
+
name: {},
|
|
19
|
+
required: { type: Boolean }
|
|
20
|
+
},
|
|
21
|
+
emits: ["update:modelValue"],
|
|
22
|
+
setup(n, { emit: d }) {
|
|
23
|
+
const r = n, l = d, c = y(
|
|
24
|
+
"border-primary cursor-pointer data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground hover:ring-ring/24 focus-visible:ring-ring/24 aria-invalid:ring-destructive/24 aria-invalid:border-destructive peer shrink-0 rounded border-[2px] outline-none hover:ring-[3px] focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:border-neutral-400 disabled:bg-gray-200 disabled:text-neutral-400 disabled:data-[state=checked]:border-neutral-400 disabled:data-[state=checked]:bg-gray-200 bg-neutral-100 disabled:data-[state=checked]:text-neutral-400",
|
|
25
|
+
{
|
|
26
|
+
variants: {
|
|
27
|
+
size: {
|
|
28
|
+
default: "size-5",
|
|
29
|
+
sm: "size-4"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
defaultVariants: {
|
|
33
|
+
size: "default"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
), u = w(r, "class"), p = z(u, l);
|
|
37
|
+
return (t, a) => (o(), b(e(B), f({ "data-slot": "checkbox" }, e(p), {
|
|
38
|
+
class: e(i)(e(c)({ size: t.size }), r.class)
|
|
39
|
+
}), {
|
|
40
|
+
default: s(() => [
|
|
41
|
+
g(e(C), {
|
|
42
|
+
"data-slot": "checkbox-indicator",
|
|
43
|
+
class: "flex items-center justify-center text-current transition-none"
|
|
44
|
+
}, {
|
|
45
|
+
default: s(() => [
|
|
46
|
+
h(t.$slots, "default", {}, () => [
|
|
47
|
+
(o(), k("svg", {
|
|
48
|
+
class: x(e(i)("text-current", t.size === "sm" ? "size-2.5" : "size-3.5")),
|
|
49
|
+
width: "10",
|
|
50
|
+
height: "8",
|
|
51
|
+
viewBox: "0 0 10 8",
|
|
52
|
+
fill: "none",
|
|
53
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
54
|
+
}, [...a[0] || (a[0] = [
|
|
55
|
+
v("path", {
|
|
56
|
+
d: "M1.40002 4.40001L3.80002 6.80001L8.60002 1.20001",
|
|
57
|
+
stroke: "currentColor",
|
|
58
|
+
"stroke-width": "2",
|
|
59
|
+
"stroke-linecap": "round",
|
|
60
|
+
"stroke-linejoin": "round"
|
|
61
|
+
}, null, -1)
|
|
62
|
+
])], 2))
|
|
63
|
+
])
|
|
64
|
+
]),
|
|
65
|
+
_: 3
|
|
66
|
+
})
|
|
67
|
+
]),
|
|
68
|
+
_: 3
|
|
69
|
+
}, 16, ["class"]));
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
export {
|
|
73
|
+
j as default
|
|
74
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { defineComponent as l, createBlock as r, openBlock as p, unref as e, mergeProps as s, withCtx as i, renderSlot as m } from "vue";
|
|
2
|
+
import { useForwardPropsEmits as d, ComboboxRoot as u } from "reka-ui";
|
|
3
|
+
const b = /* @__PURE__ */ l({
|
|
4
|
+
__name: "Combobox",
|
|
5
|
+
props: {
|
|
6
|
+
open: { type: Boolean },
|
|
7
|
+
defaultOpen: { type: Boolean },
|
|
8
|
+
resetSearchTermOnBlur: { type: Boolean },
|
|
9
|
+
resetSearchTermOnSelect: { type: Boolean },
|
|
10
|
+
openOnFocus: { type: Boolean },
|
|
11
|
+
openOnClick: { type: Boolean },
|
|
12
|
+
ignoreFilter: { type: Boolean },
|
|
13
|
+
modelValue: {},
|
|
14
|
+
defaultValue: {},
|
|
15
|
+
multiple: { type: Boolean },
|
|
16
|
+
dir: {},
|
|
17
|
+
disabled: { type: Boolean },
|
|
18
|
+
highlightOnHover: { type: Boolean },
|
|
19
|
+
by: { type: [String, Function] },
|
|
20
|
+
asChild: { type: Boolean },
|
|
21
|
+
as: {},
|
|
22
|
+
name: {},
|
|
23
|
+
required: { type: Boolean }
|
|
24
|
+
},
|
|
25
|
+
emits: ["update:modelValue", "highlight", "update:open"],
|
|
26
|
+
setup(o, { emit: t }) {
|
|
27
|
+
const n = d(o, t);
|
|
28
|
+
return (a, y) => (p(), r(e(u), s({ "data-slot": "combobox" }, e(n)), {
|
|
29
|
+
default: i(() => [
|
|
30
|
+
m(a.$slots, "default")
|
|
31
|
+
]),
|
|
32
|
+
_: 3
|
|
33
|
+
}, 16));
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
export {
|
|
37
|
+
b as default
|
|
38
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { defineComponent as c, createBlock as n, openBlock as p, unref as o, mergeProps as l, withCtx as m, renderSlot as d } from "vue";
|
|
2
|
+
import { reactiveOmit as f } from "@vueuse/core";
|
|
3
|
+
import { useForwardProps as i, ComboboxAnchor as u } from "reka-ui";
|
|
4
|
+
import { cn as b } from "../lib/utils.js";
|
|
5
|
+
const B = /* @__PURE__ */ c({
|
|
6
|
+
__name: "ComboboxAnchor",
|
|
7
|
+
props: {
|
|
8
|
+
reference: {},
|
|
9
|
+
asChild: { type: Boolean },
|
|
10
|
+
as: {},
|
|
11
|
+
class: {}
|
|
12
|
+
},
|
|
13
|
+
setup(r) {
|
|
14
|
+
const e = r, s = f(e, "class"), t = i(s);
|
|
15
|
+
return (a, h) => (p(), n(o(u), l({ "data-slot": "combobox-anchor" }, o(t), {
|
|
16
|
+
class: o(b)("w-[200px]", e.class)
|
|
17
|
+
}), {
|
|
18
|
+
default: m(() => [
|
|
19
|
+
d(a.$slots, "default")
|
|
20
|
+
]),
|
|
21
|
+
_: 3
|
|
22
|
+
}, 16, ["class"]));
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
export {
|
|
26
|
+
B as default
|
|
27
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { defineComponent as a, createBlock as m, openBlock as p, unref as o, mergeProps as c, withCtx as l, renderSlot as n } from "vue";
|
|
2
|
+
import { reactiveOmit as f } from "@vueuse/core";
|
|
3
|
+
import { ComboboxEmpty as i } from "reka-ui";
|
|
4
|
+
import { cn as d } from "../lib/utils.js";
|
|
5
|
+
const C = /* @__PURE__ */ a({
|
|
6
|
+
__name: "ComboboxEmpty",
|
|
7
|
+
props: {
|
|
8
|
+
asChild: { type: Boolean },
|
|
9
|
+
as: {},
|
|
10
|
+
class: {}
|
|
11
|
+
},
|
|
12
|
+
setup(e) {
|
|
13
|
+
const t = e, s = f(t, "class");
|
|
14
|
+
return (r, u) => (p(), m(o(i), c({ "data-slot": "combobox-empty" }, o(s), {
|
|
15
|
+
class: o(d)("py-6 text-center text-sm", t.class)
|
|
16
|
+
}), {
|
|
17
|
+
default: l(() => [
|
|
18
|
+
n(r.$slots, "default")
|
|
19
|
+
]),
|
|
20
|
+
_: 3
|
|
21
|
+
}, 16, ["class"]));
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
export {
|
|
25
|
+
C as default
|
|
26
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { defineComponent as p, createBlock as r, openBlock as a, unref as o, mergeProps as l, withCtx as s, createCommentVNode as d, renderSlot as c, createTextVNode as i, toDisplayString as u } from "vue";
|
|
2
|
+
import { reactiveOmit as f } from "@vueuse/core";
|
|
3
|
+
import { ComboboxGroup as b, ComboboxLabel as x } from "reka-ui";
|
|
4
|
+
import { cn as g } from "../lib/utils.js";
|
|
5
|
+
const B = /* @__PURE__ */ p({
|
|
6
|
+
__name: "ComboboxGroup",
|
|
7
|
+
props: {
|
|
8
|
+
asChild: { type: Boolean },
|
|
9
|
+
as: {},
|
|
10
|
+
class: {},
|
|
11
|
+
heading: {}
|
|
12
|
+
},
|
|
13
|
+
setup(n) {
|
|
14
|
+
const t = n, m = f(t, "class");
|
|
15
|
+
return (e, h) => (a(), r(o(b), l({ "data-slot": "combobox-group" }, o(m), {
|
|
16
|
+
class: o(g)("overflow-hidden p-1", t.class)
|
|
17
|
+
}), {
|
|
18
|
+
default: s(() => [
|
|
19
|
+
e.heading ? (a(), r(o(x), {
|
|
20
|
+
key: 0,
|
|
21
|
+
class: "text-muted-foreground px-2 py-1.5 text-xs font-medium"
|
|
22
|
+
}, {
|
|
23
|
+
default: s(() => [
|
|
24
|
+
i(u(e.heading), 1)
|
|
25
|
+
]),
|
|
26
|
+
_: 1
|
|
27
|
+
})) : d("", !0),
|
|
28
|
+
c(e.$slots, "default")
|
|
29
|
+
]),
|
|
30
|
+
_: 3
|
|
31
|
+
}, 16, ["class"]));
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
export {
|
|
35
|
+
B as default
|
|
36
|
+
};
|