@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,28 @@
|
|
|
1
|
+
import { defineComponent as n, createBlock as l, openBlock as c, unref as o, mergeProps as d, withCtx as m, createElementVNode as p, renderSlot as i } from "vue";
|
|
2
|
+
import { reactiveOmit as f } from "@vueuse/core";
|
|
3
|
+
import { useForwardProps as u, ListboxContent as _ } from "reka-ui";
|
|
4
|
+
import { cn as h } from "../lib/utils.js";
|
|
5
|
+
const x = { role: "presentation" }, P = /* @__PURE__ */ n({
|
|
6
|
+
__name: "CommandList",
|
|
7
|
+
props: {
|
|
8
|
+
asChild: { type: Boolean },
|
|
9
|
+
as: {},
|
|
10
|
+
class: {}
|
|
11
|
+
},
|
|
12
|
+
setup(t) {
|
|
13
|
+
const e = t, s = f(e, "class"), r = u(s);
|
|
14
|
+
return (a, w) => (c(), l(o(_), d({ "data-slot": "command-list" }, o(r), {
|
|
15
|
+
class: o(h)("max-h-[300px] scroll-py-1 overflow-y-auto overflow-x-hidden", e.class)
|
|
16
|
+
}), {
|
|
17
|
+
default: m(() => [
|
|
18
|
+
p("div", x, [
|
|
19
|
+
i(a.$slots, "default")
|
|
20
|
+
])
|
|
21
|
+
]),
|
|
22
|
+
_: 3
|
|
23
|
+
}, 16, ["class"]));
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
export {
|
|
27
|
+
P as default
|
|
28
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { defineComponent as s, createBlock as n, openBlock as p, unref as o, mergeProps as c, withCtx as m, renderSlot as l } from "vue";
|
|
2
|
+
import { reactiveOmit as d } from "@vueuse/core";
|
|
3
|
+
import { Separator as i } from "reka-ui";
|
|
4
|
+
import { cn as f } from "../lib/utils.js";
|
|
5
|
+
const C = /* @__PURE__ */ s({
|
|
6
|
+
__name: "CommandSeparator",
|
|
7
|
+
props: {
|
|
8
|
+
orientation: {},
|
|
9
|
+
decorative: { type: Boolean },
|
|
10
|
+
asChild: { type: Boolean },
|
|
11
|
+
as: {},
|
|
12
|
+
class: {}
|
|
13
|
+
},
|
|
14
|
+
setup(r) {
|
|
15
|
+
const e = r, t = d(e, "class");
|
|
16
|
+
return (a, u) => (p(), n(o(i), c({ "data-slot": "command-separator" }, o(t), {
|
|
17
|
+
class: o(f)("bg-border -mx-1 h-px", e.class)
|
|
18
|
+
}), {
|
|
19
|
+
default: m(() => [
|
|
20
|
+
l(a.$slots, "default")
|
|
21
|
+
]),
|
|
22
|
+
_: 3
|
|
23
|
+
}, 16, ["class"]));
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
export {
|
|
27
|
+
C as default
|
|
28
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineComponent as s, createElementBlock as r, openBlock as n, normalizeClass as a, unref as c, renderSlot as m } from "vue";
|
|
2
|
+
import { cn as l } from "../lib/utils.js";
|
|
3
|
+
const f = /* @__PURE__ */ s({
|
|
4
|
+
__name: "CommandShortcut",
|
|
5
|
+
props: {
|
|
6
|
+
class: {}
|
|
7
|
+
},
|
|
8
|
+
setup(t) {
|
|
9
|
+
const e = t;
|
|
10
|
+
return (o, p) => (n(), r("span", {
|
|
11
|
+
"data-slot": "command-shortcut",
|
|
12
|
+
class: a(c(l)("text-muted-foreground ml-auto text-xs tracking-widest", e.class))
|
|
13
|
+
}, [
|
|
14
|
+
m(o.$slots, "default")
|
|
15
|
+
], 2));
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
export {
|
|
19
|
+
f as default
|
|
20
|
+
};
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { ref as x, computed as Y, shallowRef as E, watch as y } from "vue";
|
|
2
|
+
function G(d = {}) {
|
|
3
|
+
const {
|
|
4
|
+
maxFiles: p = 1 / 0,
|
|
5
|
+
maxSize: l = 1 / 0,
|
|
6
|
+
accept: m = "*",
|
|
7
|
+
multiple: u = !1,
|
|
8
|
+
initialFiles: g = [],
|
|
9
|
+
onFilesChange: s,
|
|
10
|
+
onFilesAdded: h
|
|
11
|
+
} = d, $ = x(!1), U = x(!1), n = x(
|
|
12
|
+
g.map((e) => ({
|
|
13
|
+
file: e,
|
|
14
|
+
id: e.id,
|
|
15
|
+
preview: e.url
|
|
16
|
+
}))
|
|
17
|
+
), c = x([]), b = Y(() => n.value.length > 0 ? u ? "Change files" : "Change file" : u ? "Upload files" : "Upload file"), i = E(null), r = E(null);
|
|
18
|
+
y(i, (e) => {
|
|
19
|
+
e && B();
|
|
20
|
+
});
|
|
21
|
+
const B = () => {
|
|
22
|
+
i.value && (i.value.type = "file", i.value.className = "sr-only", i.value.accept = m, i.value.multiple = u, i.value.addEventListener("change", T));
|
|
23
|
+
};
|
|
24
|
+
y(r, (e) => {
|
|
25
|
+
e && R();
|
|
26
|
+
});
|
|
27
|
+
const R = () => {
|
|
28
|
+
r.value && (r.value.addEventListener("dragenter", k), r.value.addEventListener("dragleave", O), r.value.addEventListener("dragover", j), r.value.addEventListener("drop", S), r.value.setAttribute("aria-label", b.value));
|
|
29
|
+
};
|
|
30
|
+
y(b, (e) => {
|
|
31
|
+
r.value && r.value.setAttribute("aria-label", e);
|
|
32
|
+
});
|
|
33
|
+
const A = (e) => {
|
|
34
|
+
if (e instanceof File) {
|
|
35
|
+
if (e.size > l)
|
|
36
|
+
return `size: File "${e.name}" exceeds the maximum size of ${F(
|
|
37
|
+
l
|
|
38
|
+
)}.`;
|
|
39
|
+
} else if (e.size > l)
|
|
40
|
+
return `size: File "${e.name}" exceeds the maximum size of ${F(
|
|
41
|
+
l
|
|
42
|
+
)}.`;
|
|
43
|
+
if (m !== "*") {
|
|
44
|
+
const t = m.split(",").map((v) => v.trim()), a = e instanceof File ? e.type || "" : e.type, o = `.${e instanceof File, e.name.split(".").pop()}`;
|
|
45
|
+
if (!t.some((v) => {
|
|
46
|
+
if (v.startsWith("."))
|
|
47
|
+
return o.toLowerCase() === v.toLowerCase();
|
|
48
|
+
if (v.endsWith("/*")) {
|
|
49
|
+
const L = v.split("/")[0];
|
|
50
|
+
return a.startsWith(`${L}/`);
|
|
51
|
+
}
|
|
52
|
+
return a === v;
|
|
53
|
+
}))
|
|
54
|
+
return `type: File "${e instanceof File, e.name}" is not an accepted file type.`;
|
|
55
|
+
}
|
|
56
|
+
return null;
|
|
57
|
+
}, P = (e) => e instanceof File ? URL.createObjectURL(e) : e.url, I = (e) => e instanceof File ? `${e.name}-${Date.now()}-${Math.random().toString(36).substring(2, 9)}` : e.id, D = () => {
|
|
58
|
+
n.value.forEach((e) => {
|
|
59
|
+
e.preview && e.file instanceof File && e.file.type.startsWith("image/") && URL.revokeObjectURL(e.preview);
|
|
60
|
+
}), i.value && (i.value.value = ""), n.value = [], c.value = [], s == null || s(n.value);
|
|
61
|
+
}, z = (e) => {
|
|
62
|
+
if (!e || e.length === 0) return;
|
|
63
|
+
const t = Array.from(e), a = [];
|
|
64
|
+
if (c.value = [], $.value = !0, u || D(), u && p !== 1 / 0 && n.value.length + t.length > p) {
|
|
65
|
+
a.push(
|
|
66
|
+
`max_files: You can only upload a maximum of ${p} files.`
|
|
67
|
+
), c.value = a, $.value = !1;
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
70
|
+
const o = [];
|
|
71
|
+
t.forEach((f) => {
|
|
72
|
+
if (n.value.some(
|
|
73
|
+
(w) => w.file.name === f.name && w.file.size === f.size
|
|
74
|
+
))
|
|
75
|
+
return;
|
|
76
|
+
if (f.size > l) {
|
|
77
|
+
a.push(
|
|
78
|
+
u ? `size: Some files exceed the maximum size of ${F(l)}.` : `size: File exceeds the maximum size of ${F(l)}.`
|
|
79
|
+
);
|
|
80
|
+
return;
|
|
81
|
+
}
|
|
82
|
+
const L = A(f);
|
|
83
|
+
L ? a.push(L) : o.push({
|
|
84
|
+
file: f,
|
|
85
|
+
id: I(f),
|
|
86
|
+
preview: P(f)
|
|
87
|
+
});
|
|
88
|
+
}), o.length > 0 ? (n.value = u ? [...n.value, ...o] : o, c.value = a, s == null || s(n.value), h == null || h(o)) : a.length > 0 && (c.value = a), i.value && (i.value.value = ""), $.value = !1;
|
|
89
|
+
}, M = (e) => {
|
|
90
|
+
if (!e) return;
|
|
91
|
+
const t = n.value.find((a) => a.id === e);
|
|
92
|
+
t && t.preview && t.file instanceof File && t.file.type.startsWith("image/") && URL.revokeObjectURL(t.preview), n.value = n.value.filter((a) => a.id !== e), c.value = [], s == null || s(n.value);
|
|
93
|
+
}, W = () => {
|
|
94
|
+
c.value = [];
|
|
95
|
+
}, k = (e) => {
|
|
96
|
+
e.preventDefault(), e.stopPropagation(), r.value && r.value.setAttribute("data-dragging", "true");
|
|
97
|
+
}, O = (e) => {
|
|
98
|
+
e.preventDefault(), e.stopPropagation(), !(e.currentTarget && e.relatedTarget && e.currentTarget.contains(e.relatedTarget)) && r.value && r.value.removeAttribute("data-dragging");
|
|
99
|
+
}, j = (e) => {
|
|
100
|
+
e.preventDefault(), e.stopPropagation();
|
|
101
|
+
}, S = (e) => {
|
|
102
|
+
var t, a;
|
|
103
|
+
if (e.preventDefault(), e.stopPropagation(), r.value && r.value.removeAttribute("data-dragging"), !((t = i.value) != null && t.disabled) && (a = e.dataTransfer) != null && a.files && e.dataTransfer.files.length > 0)
|
|
104
|
+
if (u)
|
|
105
|
+
z(e.dataTransfer.files);
|
|
106
|
+
else {
|
|
107
|
+
const o = e.dataTransfer.files[0];
|
|
108
|
+
o && z([o]);
|
|
109
|
+
}
|
|
110
|
+
}, T = (e) => {
|
|
111
|
+
const t = e.target;
|
|
112
|
+
t.files && t.files.length > 0 && z(t.files);
|
|
113
|
+
}, N = () => {
|
|
114
|
+
i.value && i.value.click();
|
|
115
|
+
};
|
|
116
|
+
return y(
|
|
117
|
+
n,
|
|
118
|
+
(e) => {
|
|
119
|
+
s == null || s(e);
|
|
120
|
+
},
|
|
121
|
+
{ deep: !0 }
|
|
122
|
+
), {
|
|
123
|
+
files: n,
|
|
124
|
+
errors: c,
|
|
125
|
+
inputRef: i,
|
|
126
|
+
dropzoneRef: r,
|
|
127
|
+
isUploading: $,
|
|
128
|
+
isUploadingComplete: U,
|
|
129
|
+
addFiles: z,
|
|
130
|
+
removeFile: M,
|
|
131
|
+
clearFiles: D,
|
|
132
|
+
clearErrors: W,
|
|
133
|
+
handleFileChange: T,
|
|
134
|
+
openFileDialog: N,
|
|
135
|
+
onFilesAdded: h
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
function F(d, p = 2) {
|
|
139
|
+
if (d === 0) return "0 Bytes";
|
|
140
|
+
const l = 1024, m = p < 0 ? 0 : p, u = ["Bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"], g = Math.floor(Math.log(d) / Math.log(l));
|
|
141
|
+
return Number.parseFloat((d / l ** g).toFixed(m)) + (u[g] || "");
|
|
142
|
+
}
|
|
143
|
+
export {
|
|
144
|
+
F as formatBytes,
|
|
145
|
+
G as useFileUpload
|
|
146
|
+
};
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import { defineComponent as B, computed as w, useSlots as v, createBlock as l, openBlock as n, unref as e, withCtx as a, createVNode as f, createElementBlock as u, Fragment as s, renderList as m, normalizeClass as z, normalizeStyle as V, createCommentVNode as x, renderSlot as L } from "vue";
|
|
2
|
+
import { useVueTable as D, FlexRender as _ } from "../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";
|
|
3
|
+
import { cn as T } from "../lib/utils.js";
|
|
4
|
+
import F from "../table/Table.vue.js";
|
|
5
|
+
import H from "../table/TableHeader.vue.js";
|
|
6
|
+
import y from "../table/TableRow.vue.js";
|
|
7
|
+
import N from "../table/TableHead.vue.js";
|
|
8
|
+
import E from "../table/TableBody.vue.js";
|
|
9
|
+
import $ from "../table/TableCell.vue.js";
|
|
10
|
+
import I from "../skeleton/Skeleton.vue.js";
|
|
11
|
+
import M from "../table/TableEmpty.vue.js";
|
|
12
|
+
import { valueUpdater as C } from "../table/utils.js";
|
|
13
|
+
import { getPaginationRowModel as U, getSortedRowModel as j, getCoreRowModel as q } from "../node_modules/.pnpm/@tanstack_table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/index.js";
|
|
14
|
+
const le = /* @__PURE__ */ B({
|
|
15
|
+
__name: "DataTable",
|
|
16
|
+
props: {
|
|
17
|
+
data: {},
|
|
18
|
+
columns: {},
|
|
19
|
+
isLoading: { type: Boolean },
|
|
20
|
+
manualPagination: { type: Boolean, default: !1 },
|
|
21
|
+
manualSorting: { type: Boolean, default: !1 },
|
|
22
|
+
rowCount: {},
|
|
23
|
+
pageCount: {},
|
|
24
|
+
pagination: { default: () => ({ pageIndex: 0, pageSize: 10 }) },
|
|
25
|
+
sorting: { default: () => [] },
|
|
26
|
+
rowSelection: { default: () => ({}) }
|
|
27
|
+
},
|
|
28
|
+
emits: ["update:pagination", "update:sorting", "update:row-selection"],
|
|
29
|
+
setup(r, { expose: P, emit: b }) {
|
|
30
|
+
const p = b, S = w({
|
|
31
|
+
get: () => r.pagination,
|
|
32
|
+
set: (t) => p("update:pagination", t)
|
|
33
|
+
}), k = w({
|
|
34
|
+
get: () => r.sorting,
|
|
35
|
+
set: (t) => p("update:sorting", t)
|
|
36
|
+
}), R = w({
|
|
37
|
+
get: () => r.rowSelection ?? {},
|
|
38
|
+
set: (t) => p("update:row-selection", t)
|
|
39
|
+
}), g = D({
|
|
40
|
+
// Use computed properties or getters for reactivity with props
|
|
41
|
+
get data() {
|
|
42
|
+
return r.data;
|
|
43
|
+
},
|
|
44
|
+
get columns() {
|
|
45
|
+
return r.columns;
|
|
46
|
+
},
|
|
47
|
+
// Core row model is essential
|
|
48
|
+
getCoreRowModel: q(),
|
|
49
|
+
getSortedRowModel: j(),
|
|
50
|
+
// getFilteredRowModel: getFilteredRowModel(),
|
|
51
|
+
getPaginationRowModel: U(),
|
|
52
|
+
manualPagination: r.manualPagination,
|
|
53
|
+
manualSorting: r.manualSorting,
|
|
54
|
+
enableRowSelection: !0,
|
|
55
|
+
onRowSelectionChange: (t) => C(t, R),
|
|
56
|
+
onPaginationChange: (t) => C(t, S),
|
|
57
|
+
onSortingChange: (t) => C(t, k),
|
|
58
|
+
get rowCount() {
|
|
59
|
+
return r.rowCount;
|
|
60
|
+
},
|
|
61
|
+
get pageCount() {
|
|
62
|
+
return r.pageCount;
|
|
63
|
+
},
|
|
64
|
+
state: {
|
|
65
|
+
get pagination() {
|
|
66
|
+
return S.value;
|
|
67
|
+
},
|
|
68
|
+
get sorting() {
|
|
69
|
+
return k.value;
|
|
70
|
+
},
|
|
71
|
+
get rowSelection() {
|
|
72
|
+
return R.value;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}), h = v();
|
|
76
|
+
return P({
|
|
77
|
+
table: g
|
|
78
|
+
}), (t, A) => (n(), l(e(F), null, {
|
|
79
|
+
default: a(() => [
|
|
80
|
+
f(e(H), null, {
|
|
81
|
+
default: a(() => [
|
|
82
|
+
(n(!0), u(s, null, m(e(g).getHeaderGroups(), (c) => (n(), l(e(y), {
|
|
83
|
+
key: c.id,
|
|
84
|
+
type: "head"
|
|
85
|
+
}, {
|
|
86
|
+
default: a(() => [
|
|
87
|
+
(n(!0), u(s, null, m(c.headers, (o) => (n(), l(e(N), {
|
|
88
|
+
key: o.id,
|
|
89
|
+
"col-span": o.colSpan,
|
|
90
|
+
style: V({ width: o.getSize() !== 150 ? `${o.getSize()}px` : void 0 }),
|
|
91
|
+
class: z(e(T)(o.column.getCanSort() && "cursor-pointer select-none")),
|
|
92
|
+
onClick: (i) => {
|
|
93
|
+
var d;
|
|
94
|
+
return (d = o.column.getToggleSortingHandler()) == null ? void 0 : d(i);
|
|
95
|
+
}
|
|
96
|
+
}, {
|
|
97
|
+
default: a(() => [
|
|
98
|
+
o.isPlaceholder ? x("", !0) : (n(), l(e(_), {
|
|
99
|
+
key: 0,
|
|
100
|
+
render: o.column.columnDef.header,
|
|
101
|
+
props: o.getContext()
|
|
102
|
+
}, null, 8, ["render", "props"]))
|
|
103
|
+
]),
|
|
104
|
+
_: 2
|
|
105
|
+
}, 1032, ["col-span", "style", "class", "onClick"]))), 128))
|
|
106
|
+
]),
|
|
107
|
+
_: 2
|
|
108
|
+
}, 1024))), 128))
|
|
109
|
+
]),
|
|
110
|
+
_: 1
|
|
111
|
+
}),
|
|
112
|
+
f(e(E), null, {
|
|
113
|
+
default: a(() => {
|
|
114
|
+
var c;
|
|
115
|
+
return [
|
|
116
|
+
t.isLoading ? (n(!0), u(s, { key: 0 }, m(t.columns.length, (o, i) => (n(), l(e(y), { key: i }, {
|
|
117
|
+
default: a(() => [
|
|
118
|
+
(n(!0), u(s, null, m(e(g).getVisibleLeafColumns(), (d) => (n(), l(e($), {
|
|
119
|
+
key: d.id
|
|
120
|
+
}, {
|
|
121
|
+
default: a(() => [
|
|
122
|
+
f(e(I), { class: "h-6 w-full" })
|
|
123
|
+
]),
|
|
124
|
+
_: 2
|
|
125
|
+
}, 1024))), 128))
|
|
126
|
+
]),
|
|
127
|
+
_: 2
|
|
128
|
+
}, 1024))), 128)) : (c = e(g).getRowModel().rows) != null && c.length ? (n(!0), u(s, { key: 2 }, m(e(g).getRowModel().rows, (o) => (n(), l(e(y), {
|
|
129
|
+
key: o.id,
|
|
130
|
+
type: "body"
|
|
131
|
+
}, {
|
|
132
|
+
default: a(() => [
|
|
133
|
+
(n(!0), u(s, null, m(o.getVisibleCells(), (i) => (n(), l(e($), {
|
|
134
|
+
key: i.id
|
|
135
|
+
}, {
|
|
136
|
+
default: a(() => [
|
|
137
|
+
f(e(_), {
|
|
138
|
+
render: i.column.columnDef.cell,
|
|
139
|
+
props: i.getContext()
|
|
140
|
+
}, null, 8, ["render", "props"])
|
|
141
|
+
]),
|
|
142
|
+
_: 2
|
|
143
|
+
}, 1024))), 128))
|
|
144
|
+
]),
|
|
145
|
+
_: 2
|
|
146
|
+
}, 1024))), 128)) : (n(), u(s, { key: 1 }, [
|
|
147
|
+
e(h).empty ? (n(), l(e(M), {
|
|
148
|
+
key: 0,
|
|
149
|
+
colspan: t.columns.length
|
|
150
|
+
}, {
|
|
151
|
+
default: a(() => [
|
|
152
|
+
L(t.$slots, "empty")
|
|
153
|
+
]),
|
|
154
|
+
_: 3
|
|
155
|
+
}, 8, ["colspan"])) : (n(), l(e(M), {
|
|
156
|
+
key: 1,
|
|
157
|
+
colspan: t.columns.length
|
|
158
|
+
}, null, 8, ["colspan"]))
|
|
159
|
+
], 64))
|
|
160
|
+
];
|
|
161
|
+
}),
|
|
162
|
+
_: 3
|
|
163
|
+
})
|
|
164
|
+
]),
|
|
165
|
+
_: 3
|
|
166
|
+
}));
|
|
167
|
+
}
|
|
168
|
+
});
|
|
169
|
+
export {
|
|
170
|
+
le as default
|
|
171
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { defineComponent as r, createElementBlock as t, openBlock as l, normalizeClass as s, unref as a, createElementVNode as o, createVNode as i, toDisplayString as n, normalizeStyle as c } from "vue";
|
|
2
|
+
import { AtOrdenacaoRegularIcon as m } from "@agrotools1/at-icons";
|
|
3
|
+
import { cn as u } from "../lib/utils.js";
|
|
4
|
+
const p = {
|
|
5
|
+
inheritAttrs: !1
|
|
6
|
+
}, k = /* @__PURE__ */ r({
|
|
7
|
+
...p,
|
|
8
|
+
__name: "DataTableColumnHeader",
|
|
9
|
+
props: {
|
|
10
|
+
column: {},
|
|
11
|
+
title: {}
|
|
12
|
+
},
|
|
13
|
+
setup(f) {
|
|
14
|
+
return (e, d) => e.column.getCanSort() ? (l(), t("div", {
|
|
15
|
+
key: 0,
|
|
16
|
+
class: s(a(u)("flex items-center justify-between gap-2", e.$attrs.class ?? ""))
|
|
17
|
+
}, [
|
|
18
|
+
o("span", null, n(e.title), 1),
|
|
19
|
+
i(a(m), {
|
|
20
|
+
size: "20",
|
|
21
|
+
style: c({
|
|
22
|
+
transform: `scaleY(${[!1, "desc"].includes(e.column.getIsSorted()) ? 1 : -1})`
|
|
23
|
+
})
|
|
24
|
+
}, null, 8, ["style"])
|
|
25
|
+
], 2)) : (l(), t("div", {
|
|
26
|
+
key: 1,
|
|
27
|
+
class: s(e.$attrs.class)
|
|
28
|
+
}, n(e.title), 3));
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
export {
|
|
32
|
+
k as default
|
|
33
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { defineComponent as _, createBlock as i, openBlock as t, unref as e, withCtx as p, createVNode as a, createElementBlock as s, Fragment as f, renderList as g, createTextVNode as c, toDisplayString as d } from "vue";
|
|
2
|
+
import $ from "../pagination/Pagination.vue.js";
|
|
3
|
+
import v from "../pagination/PaginationContent.vue.js";
|
|
4
|
+
import b from "../pagination/PaginationFirst.vue.js";
|
|
5
|
+
import k from "../pagination/PaginationPrevious.vue.js";
|
|
6
|
+
import y from "../pagination/PaginationItem.vue.js";
|
|
7
|
+
import S from "../pagination/PaginationEllipsis.vue.js";
|
|
8
|
+
import w from "../pagination/PaginationNext.vue.js";
|
|
9
|
+
import B from "../pagination/PaginationLast.vue.js";
|
|
10
|
+
const z = /* @__PURE__ */ _({
|
|
11
|
+
__name: "DataTablePagination",
|
|
12
|
+
props: {
|
|
13
|
+
table: {}
|
|
14
|
+
},
|
|
15
|
+
setup(C) {
|
|
16
|
+
return (o, m) => (t(), i(e($), {
|
|
17
|
+
class: "justify-end",
|
|
18
|
+
page: o.table.getState().pagination.pageIndex + 1,
|
|
19
|
+
total: o.table.getRowCount(),
|
|
20
|
+
"items-per-page": o.table.getState().pagination.pageSize,
|
|
21
|
+
"show-edges": !0,
|
|
22
|
+
"onUpdate:page": m[0] || (m[0] = (n) => o.table.setPageIndex(n - 1))
|
|
23
|
+
}, {
|
|
24
|
+
default: p(({ page: n }) => [
|
|
25
|
+
a(e(v), null, {
|
|
26
|
+
default: p(({ items: u }) => [
|
|
27
|
+
a(e(b)),
|
|
28
|
+
a(e(k)),
|
|
29
|
+
(t(!0), s(f, null, g(u, (r, l) => (t(), s(f, { key: l }, [
|
|
30
|
+
r.type === "page" ? (t(), i(e(y), {
|
|
31
|
+
key: 0,
|
|
32
|
+
value: r.value,
|
|
33
|
+
"is-active": r.value === n
|
|
34
|
+
}, {
|
|
35
|
+
default: p(() => [
|
|
36
|
+
c(d(r.value), 1)
|
|
37
|
+
]),
|
|
38
|
+
_: 2
|
|
39
|
+
}, 1032, ["value", "is-active"])) : (t(), i(e(S), {
|
|
40
|
+
key: 1,
|
|
41
|
+
index: l
|
|
42
|
+
}, null, 8, ["index"]))
|
|
43
|
+
], 64))), 128)),
|
|
44
|
+
a(e(w)),
|
|
45
|
+
a(e(B))
|
|
46
|
+
]),
|
|
47
|
+
_: 2
|
|
48
|
+
}, 1024)
|
|
49
|
+
]),
|
|
50
|
+
_: 1
|
|
51
|
+
}, 8, ["page", "total", "items-per-page"]));
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
export {
|
|
55
|
+
z as default
|
|
56
|
+
};
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { defineComponent as y, computed as u, createBlock as f, openBlock as c, unref as a, withCtx as r, createVNode as m, normalizeClass as V, createTextVNode as b, createElementVNode as v, toDisplayString as x, createCommentVNode as h } from "vue";
|
|
2
|
+
import { Time as T } from "../node_modules/.pnpm/@internationalized_date@3.8.2/node_modules/@internationalized/date/dist/CalendarDate.js";
|
|
3
|
+
import { toCalendarDateTime as i } from "../node_modules/.pnpm/@internationalized_date@3.8.2/node_modules/@internationalized/date/dist/conversion.js";
|
|
4
|
+
import { getLocalTimeZone as S } from "../node_modules/.pnpm/@internationalized_date@3.8.2/node_modules/@internationalized/date/dist/queries.js";
|
|
5
|
+
import { DateFormatter as C } from "../node_modules/.pnpm/@internationalized_date@3.8.2/node_modules/@internationalized/date/dist/DateFormatter.js";
|
|
6
|
+
import { cn as g } from "../lib/utils.js";
|
|
7
|
+
import D from "../popover/Popover.vue.js";
|
|
8
|
+
import k from "../popover/PopoverTrigger.vue.js";
|
|
9
|
+
import B from "../button/Button.vue.js";
|
|
10
|
+
import N 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";
|
|
11
|
+
import j from "../popover/PopoverContent.vue.js";
|
|
12
|
+
import z from "../calendar/Calendar.vue.js";
|
|
13
|
+
import U from "../time-picker/TimePicker.vue.js";
|
|
14
|
+
const E = { class: "absolute inset-y-0 end-0 flex items-center justify-center px-2.5" }, M = /* @__PURE__ */ y({
|
|
15
|
+
__name: "DatePicker",
|
|
16
|
+
props: {
|
|
17
|
+
modelValue: {},
|
|
18
|
+
placeholder: {},
|
|
19
|
+
locale: { default: "pt-BR" },
|
|
20
|
+
enableTime: { type: Boolean },
|
|
21
|
+
dateStyle: { default: "short" },
|
|
22
|
+
timeStyle: {}
|
|
23
|
+
},
|
|
24
|
+
emits: ["update:modelValue"],
|
|
25
|
+
setup(p, { emit: _ }) {
|
|
26
|
+
const t = p, n = _, l = u({
|
|
27
|
+
get: () => t.enableTime ? i(t.modelValue) : t.modelValue,
|
|
28
|
+
set: (e) => {
|
|
29
|
+
if (!t.enableTime) return n("update:modelValue", e);
|
|
30
|
+
const o = i(t.modelValue);
|
|
31
|
+
n(
|
|
32
|
+
"update:modelValue",
|
|
33
|
+
o.set({
|
|
34
|
+
day: e.day,
|
|
35
|
+
month: e.month,
|
|
36
|
+
year: e.year,
|
|
37
|
+
era: e.era
|
|
38
|
+
})
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
}), s = u({
|
|
42
|
+
get: () => {
|
|
43
|
+
const e = i(t.modelValue);
|
|
44
|
+
return new T(e.hour, e.minute);
|
|
45
|
+
},
|
|
46
|
+
set: (e) => {
|
|
47
|
+
const o = i(t.modelValue);
|
|
48
|
+
n("update:modelValue", o.set({ hour: e.hour, minute: e.minute }));
|
|
49
|
+
}
|
|
50
|
+
}), $ = u(
|
|
51
|
+
() => new C(t.locale, {
|
|
52
|
+
dateStyle: t.dateStyle,
|
|
53
|
+
timeStyle: t.timeStyle
|
|
54
|
+
})
|
|
55
|
+
);
|
|
56
|
+
return (e, o) => (c(), f(a(D), null, {
|
|
57
|
+
default: r(() => [
|
|
58
|
+
m(a(k), { "as-child": "" }, {
|
|
59
|
+
default: r(() => [
|
|
60
|
+
m(a(B), {
|
|
61
|
+
variant: "outline",
|
|
62
|
+
class: V(
|
|
63
|
+
a(g)(
|
|
64
|
+
"relative min-w-[280px] justify-start pr-8 text-left font-normal",
|
|
65
|
+
!l.value && "text-muted-foreground"
|
|
66
|
+
)
|
|
67
|
+
)
|
|
68
|
+
}, {
|
|
69
|
+
default: r(() => [
|
|
70
|
+
b(x(l.value ? $.value.format(l.value.toDate(a(S)())) : e.placeholder) + " ", 1),
|
|
71
|
+
v("span", E, [
|
|
72
|
+
m(a(N), { class: "size-4" })
|
|
73
|
+
])
|
|
74
|
+
]),
|
|
75
|
+
_: 1
|
|
76
|
+
}, 8, ["class"])
|
|
77
|
+
]),
|
|
78
|
+
_: 1
|
|
79
|
+
}),
|
|
80
|
+
m(a(j), { class: "w-auto p-0 pb-4" }, {
|
|
81
|
+
default: r(() => [
|
|
82
|
+
m(a(z), {
|
|
83
|
+
modelValue: l.value,
|
|
84
|
+
"onUpdate:modelValue": o[0] || (o[0] = (d) => l.value = d),
|
|
85
|
+
locale: t.locale,
|
|
86
|
+
"initial-focus": ""
|
|
87
|
+
}, null, 8, ["modelValue", "locale"]),
|
|
88
|
+
e.enableTime ? (c(), f(a(U), {
|
|
89
|
+
key: 0,
|
|
90
|
+
modelValue: s.value,
|
|
91
|
+
"onUpdate:modelValue": o[1] || (o[1] = (d) => s.value = d),
|
|
92
|
+
class: "justify-center"
|
|
93
|
+
}, null, 8, ["modelValue"])) : h("", !0)
|
|
94
|
+
]),
|
|
95
|
+
_: 1
|
|
96
|
+
})
|
|
97
|
+
]),
|
|
98
|
+
_: 1
|
|
99
|
+
}));
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
export {
|
|
103
|
+
M as default
|
|
104
|
+
};
|