@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,35 @@
|
|
|
1
|
+
import { defineComponent as l, createBlock as n, openBlock as i, unref as t, normalizeClass as r, withCtx as p, renderSlot as d } from "vue";
|
|
2
|
+
import { Primitive as c } from "reka-ui";
|
|
3
|
+
import { cn as m } from "../lib/utils.js";
|
|
4
|
+
import { injectUploadRootContext as f } from "./upload-context.js";
|
|
5
|
+
const _ = /* @__PURE__ */ l({
|
|
6
|
+
__name: "UploadContentTitle",
|
|
7
|
+
props: {
|
|
8
|
+
class: {},
|
|
9
|
+
asChild: { type: Boolean },
|
|
10
|
+
as: { default: "p" }
|
|
11
|
+
},
|
|
12
|
+
setup(a) {
|
|
13
|
+
const s = a, e = f();
|
|
14
|
+
return (o, u) => (i(), n(t(c), {
|
|
15
|
+
"data-slot": "upload-content-title",
|
|
16
|
+
as: o.as,
|
|
17
|
+
"as-child": o.asChild,
|
|
18
|
+
class: r(
|
|
19
|
+
t(m)(
|
|
20
|
+
"font-nunito text-primary-500 block w-full items-start text-start text-sm font-bold",
|
|
21
|
+
t(e).isUploading.value || t(e).isUploadingComplete.value ? "hidden" : "",
|
|
22
|
+
s.class
|
|
23
|
+
)
|
|
24
|
+
)
|
|
25
|
+
}, {
|
|
26
|
+
default: p(() => [
|
|
27
|
+
d(o.$slots, "default")
|
|
28
|
+
]),
|
|
29
|
+
_: 3
|
|
30
|
+
}, 8, ["as", "as-child", "class"]));
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
export {
|
|
34
|
+
_ as default
|
|
35
|
+
};
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { defineComponent as f, ref as d, watch as C, createBlock as p, openBlock as c, unref as i, normalizeClass as h, withCtx as m, createElementVNode as e, toDisplayString as s, normalizeStyle as u, withModifiers as w } from "vue";
|
|
2
|
+
import { Primitive as g } from "reka-ui";
|
|
3
|
+
import { formatBytes as v } from "../composables/use-file-upload.js";
|
|
4
|
+
import { cn as x } from "../lib/utils.js";
|
|
5
|
+
import { injectUploadRootContext as _ } from "./upload-context.js";
|
|
6
|
+
const y = { class: "flex w-full items-center justify-between gap-1" }, L = { class: "flex w-full items-center gap-1" }, V = { class: "text-xs font-semibold text-gray-800" }, H = { class: "place-self-end text-xs font-normal text-gray-600" }, B = { class: "flex w-full items-center justify-center gap-1" }, M = { class: "h-1 w-full rounded-full" }, P = { class: "place-self-end text-xs font-normal text-gray-600" }, $ = /* @__PURE__ */ f({
|
|
7
|
+
__name: "UploadFileItem",
|
|
8
|
+
props: {
|
|
9
|
+
file: {},
|
|
10
|
+
class: {},
|
|
11
|
+
asChild: { type: Boolean },
|
|
12
|
+
as: { default: "div" }
|
|
13
|
+
},
|
|
14
|
+
setup(r) {
|
|
15
|
+
const n = r, a = _(), o = d(0);
|
|
16
|
+
return C(
|
|
17
|
+
() => n.file,
|
|
18
|
+
(t) => {
|
|
19
|
+
t && a.handleUpdateProgressOnParent(t.id, (l) => {
|
|
20
|
+
o.value = l;
|
|
21
|
+
});
|
|
22
|
+
},
|
|
23
|
+
{ immediate: !0 }
|
|
24
|
+
), (t, l) => (c(), p(i(g), {
|
|
25
|
+
"data-slot": "upload-file-item",
|
|
26
|
+
as: t.as,
|
|
27
|
+
"as-child": t.asChild,
|
|
28
|
+
class: h(i(x)("flex w-full flex-col items-center justify-center gap-1", n.class))
|
|
29
|
+
}, {
|
|
30
|
+
default: m(() => [
|
|
31
|
+
e("div", y, [
|
|
32
|
+
e("div", L, [
|
|
33
|
+
l[1] || (l[1] = e("div", null, [
|
|
34
|
+
e("svg", {
|
|
35
|
+
width: "16",
|
|
36
|
+
height: "16",
|
|
37
|
+
viewBox: "0 0 16 16",
|
|
38
|
+
fill: "none",
|
|
39
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
40
|
+
}, [
|
|
41
|
+
e("g", { "clip-path": "url(#clip0_4032_73)" }, [
|
|
42
|
+
e("path", {
|
|
43
|
+
d: "M9.33344 4.66666V0.306663C9.95014 0.539553 10.5103 0.900871 10.9768 1.36666L13.2994 3.69066C13.7658 4.15658 14.1274 4.71659 14.3601 5.33333H10.0001C9.82329 5.33333 9.65372 5.26309 9.5287 5.13807C9.40367 5.01304 9.33344 4.84347 9.33344 4.66666ZM14.6668 6.99V12.6667C14.6657 13.5504 14.3142 14.3976 13.6893 15.0225C13.0644 15.6474 12.2172 15.9989 11.3334 16H4.66677C3.78304 15.9989 2.93581 15.6474 2.31092 15.0225C1.68602 14.3976 1.33449 13.5504 1.33344 12.6667V3.33333C1.33449 2.4496 1.68602 1.60237 2.31092 0.977476C2.93581 0.352584 3.78304 0.00105476 4.66677 -3.8147e-06L7.67677 -3.8147e-06C7.78544 -3.8147e-06 7.89277 0.00866285 8.0001 0.0159962V4.66666C8.0001 5.1971 8.21082 5.7058 8.58589 6.08088C8.96096 6.45595 9.46967 6.66666 10.0001 6.66666H14.6508C14.6581 6.774 14.6668 6.88133 14.6668 6.99ZM10.6668 11.3333C10.6668 11.1565 10.5965 10.9869 10.4715 10.8619C10.3465 10.7369 10.1769 10.6667 10.0001 10.6667H8.66677V9.33333C8.66677 9.15652 8.59653 8.98695 8.47151 8.86193C8.34648 8.7369 8.17691 8.66666 8.0001 8.66666C7.82329 8.66666 7.65372 8.7369 7.5287 8.86193C7.40367 8.98695 7.33344 9.15652 7.33344 9.33333V10.6667H6.0001C5.82329 10.6667 5.65372 10.7369 5.5287 10.8619C5.40367 10.9869 5.33344 11.1565 5.33344 11.3333C5.33344 11.5101 5.40367 11.6797 5.5287 11.8047C5.65372 11.9298 5.82329 12 6.0001 12H7.33344V13.3333C7.33344 13.5101 7.40367 13.6797 7.5287 13.8047C7.65372 13.9298 7.82329 14 8.0001 14C8.17691 14 8.34648 13.9298 8.47151 13.8047C8.59653 13.6797 8.66677 13.5101 8.66677 13.3333V12H10.0001C10.1769 12 10.3465 11.9298 10.4715 11.8047C10.5965 11.6797 10.6668 11.5101 10.6668 11.3333Z",
|
|
44
|
+
fill: "#550073"
|
|
45
|
+
})
|
|
46
|
+
]),
|
|
47
|
+
e("defs", null, [
|
|
48
|
+
e("clipPath", { id: "clip0_4032_73" }, [
|
|
49
|
+
e("rect", {
|
|
50
|
+
width: "16",
|
|
51
|
+
height: "16",
|
|
52
|
+
fill: "white"
|
|
53
|
+
})
|
|
54
|
+
])
|
|
55
|
+
])
|
|
56
|
+
])
|
|
57
|
+
], -1)),
|
|
58
|
+
e("span", V, s(t.file.file.name) + " " + s(t.file.file.type ? `(${t.file.file.type})` : ""), 1)
|
|
59
|
+
]),
|
|
60
|
+
e("span", H, s(o.value) + "%", 1)
|
|
61
|
+
]),
|
|
62
|
+
e("div", B, [
|
|
63
|
+
e("div", M, [
|
|
64
|
+
e("div", {
|
|
65
|
+
class: "bg-primary-600 h-1 rounded-full transition-all",
|
|
66
|
+
style: u({ width: `${o.value}%` })
|
|
67
|
+
}, null, 4)
|
|
68
|
+
]),
|
|
69
|
+
e("div", {
|
|
70
|
+
role: "button",
|
|
71
|
+
onClick: l[0] || (l[0] = w((Z) => i(a).removeFile(t.file.id), ["stop", "prevent"]))
|
|
72
|
+
}, [...l[2] || (l[2] = [
|
|
73
|
+
e("svg", {
|
|
74
|
+
width: "10",
|
|
75
|
+
height: "10",
|
|
76
|
+
viewBox: "0 0 10 10",
|
|
77
|
+
fill: "none",
|
|
78
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
79
|
+
}, [
|
|
80
|
+
e("g", { "clip-path": "url(#clip0_4032_221)" }, [
|
|
81
|
+
e("path", {
|
|
82
|
+
d: "M5 0C2.23857 0 0 2.23857 0 5C0 7.76143 2.23857 10 5 10C7.76143 10 10 7.76143 10 5C9.99701 2.2398 7.7602 0.00298828 5 0ZM6.66666 6.07791C6.83598 6.23375 6.84691 6.49734 6.69107 6.66666C6.53523 6.83598 6.27164 6.84691 6.10232 6.69107C6.09385 6.68328 6.08572 6.67514 6.07791 6.66666L5 5.58916L3.9225 6.66666C3.75697 6.82652 3.4932 6.82193 3.33334 6.65641C3.1774 6.49494 3.1774 6.23897 3.33334 6.0775L4.41084 5L3.33334 3.9225C3.17348 3.75697 3.17807 3.4932 3.34359 3.33334C3.50506 3.1774 3.76104 3.1774 3.9225 3.33334L5 4.41084L6.07791 3.33334C6.23375 3.16402 6.49734 3.15309 6.66666 3.30893C6.83598 3.46477 6.84691 3.72836 6.69107 3.89768C6.68328 3.90615 6.67514 3.91428 6.66666 3.92209L5.58916 5L6.66666 6.07791Z",
|
|
83
|
+
fill: "#A61912"
|
|
84
|
+
})
|
|
85
|
+
]),
|
|
86
|
+
e("defs", null, [
|
|
87
|
+
e("clipPath", { id: "clip0_4032_221" }, [
|
|
88
|
+
e("rect", {
|
|
89
|
+
width: "10",
|
|
90
|
+
height: "10",
|
|
91
|
+
fill: "white"
|
|
92
|
+
})
|
|
93
|
+
])
|
|
94
|
+
])
|
|
95
|
+
], -1)
|
|
96
|
+
])])
|
|
97
|
+
]),
|
|
98
|
+
e("span", P, s(i(v)(t.file.file.size, 2)), 1)
|
|
99
|
+
]),
|
|
100
|
+
_: 1
|
|
101
|
+
}, 8, ["as", "as-child", "class"]));
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
export {
|
|
105
|
+
$ as default
|
|
106
|
+
};
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { defineComponent as F, computed as y, createBlock as h, openBlock as C, unref as o, withCtx as B, createElementVNode as d, normalizeClass as z, createVNode as U, renderSlot as _ } from "vue";
|
|
2
|
+
import { useFileUpload as b } from "../composables/use-file-upload.js";
|
|
3
|
+
import R from "../illustration/Illustration.vue.js";
|
|
4
|
+
import { cn as S } from "../lib/utils.js";
|
|
5
|
+
import { Primitive as k } from "reka-ui";
|
|
6
|
+
import { provideUploadRootContext as w } from "./upload-context.js";
|
|
7
|
+
const M = { class: "relative" }, D = /* @__PURE__ */ F({
|
|
8
|
+
__name: "UploadRoot",
|
|
9
|
+
props: {
|
|
10
|
+
onFilesAdded: { type: Function },
|
|
11
|
+
onFilesChange: { type: Function },
|
|
12
|
+
maxSizeMB: {},
|
|
13
|
+
maxFiles: {},
|
|
14
|
+
multiple: { type: Boolean },
|
|
15
|
+
accept: {},
|
|
16
|
+
initialFiles: {},
|
|
17
|
+
class: {},
|
|
18
|
+
asChild: { type: Boolean },
|
|
19
|
+
as: {}
|
|
20
|
+
},
|
|
21
|
+
setup(f) {
|
|
22
|
+
const l = f, m = y(() => l.maxSizeMB ? l.maxSizeMB * 1024 * 1024 : 5 * 1024 * 1024), {
|
|
23
|
+
files: t,
|
|
24
|
+
errors: p,
|
|
25
|
+
dropzoneRef: c,
|
|
26
|
+
inputRef: g,
|
|
27
|
+
isUploading: i,
|
|
28
|
+
isUploadingComplete: r,
|
|
29
|
+
openFileDialog: u,
|
|
30
|
+
removeFile: v
|
|
31
|
+
} = b({
|
|
32
|
+
accept: l.accept,
|
|
33
|
+
maxSize: m.value,
|
|
34
|
+
initialFiles: l.initialFiles || [],
|
|
35
|
+
maxFiles: l.maxFiles || 5,
|
|
36
|
+
multiple: l.multiple || !1,
|
|
37
|
+
onFilesAdded: l.onFilesAdded,
|
|
38
|
+
onFilesChange: l.onFilesChange
|
|
39
|
+
});
|
|
40
|
+
return w({
|
|
41
|
+
isUploading: i,
|
|
42
|
+
isUploadingComplete: r,
|
|
43
|
+
files: t,
|
|
44
|
+
errors: p,
|
|
45
|
+
removeFile: v,
|
|
46
|
+
handleUpdateProgressOnParent: (s, a) => {
|
|
47
|
+
const e = t.value.find((n) => n.id === s);
|
|
48
|
+
if (e) {
|
|
49
|
+
i.value = !0, e.progress = 0, e.uploadedBytes = 0;
|
|
50
|
+
const n = setInterval(() => {
|
|
51
|
+
if (t.value.every((x) => x.progress === 100)) {
|
|
52
|
+
setTimeout(() => {
|
|
53
|
+
i.value = !1, r.value = !0;
|
|
54
|
+
}, 1e3), clearInterval(n);
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
e.progress !== void 0 && e.uploadedBytes !== void 0 && e.progress < 100 && (e.uploadedBytes += 5e4, e.progress = Math.min(
|
|
58
|
+
100,
|
|
59
|
+
Math.floor(e.uploadedBytes * 100 / (e.file.size || 1))
|
|
60
|
+
), a(e.progress));
|
|
61
|
+
}, 60);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}), (s, a) => (C(), h(o(k), {
|
|
65
|
+
as: "div",
|
|
66
|
+
"data-slot": "upload",
|
|
67
|
+
class: "flex flex-col gap-2"
|
|
68
|
+
}, {
|
|
69
|
+
default: B(() => [
|
|
70
|
+
d("div", M, [
|
|
71
|
+
d("div", {
|
|
72
|
+
ref_key: "dropzoneRef",
|
|
73
|
+
ref: c,
|
|
74
|
+
role: "button",
|
|
75
|
+
class: z(
|
|
76
|
+
o(S)(
|
|
77
|
+
"border-dashed-neutral-400 relative flex cursor-default flex-row flex-nowrap items-center justify-start gap-4 overflow-hidden rounded-2xl border-2 border-dashed bg-gray-100 p-5 transition-colors data-[dragging=true]:opacity-80"
|
|
78
|
+
)
|
|
79
|
+
),
|
|
80
|
+
onClick: a[0] || (a[0] = //@ts-ignore
|
|
81
|
+
(...e) => o(u) && o(u)(...e))
|
|
82
|
+
}, [
|
|
83
|
+
d("input", {
|
|
84
|
+
ref_key: "inputRef",
|
|
85
|
+
ref: g,
|
|
86
|
+
"aria-label": "Upload file",
|
|
87
|
+
type: "file"
|
|
88
|
+
}, null, 512),
|
|
89
|
+
U(R, {
|
|
90
|
+
illustration: o(i) || o(r) ? "filteringUpload" : "cloudUpload",
|
|
91
|
+
class: "size-12 text-neutral-500",
|
|
92
|
+
width: 48,
|
|
93
|
+
height: 48
|
|
94
|
+
}, null, 8, ["illustration"]),
|
|
95
|
+
_(s.$slots, "default", {
|
|
96
|
+
isUploading: o(i),
|
|
97
|
+
files: o(t),
|
|
98
|
+
errors: o(p)
|
|
99
|
+
})
|
|
100
|
+
], 2)
|
|
101
|
+
])
|
|
102
|
+
]),
|
|
103
|
+
_: 3
|
|
104
|
+
}));
|
|
105
|
+
}
|
|
106
|
+
});
|
|
107
|
+
export {
|
|
108
|
+
D as default
|
|
109
|
+
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agrotools1/at-components",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.14-beta.1",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Componentes da Agrotools - Versão 2 (com re-export da V1)",
|
|
7
7
|
"author": "Agrotools",
|
|
@@ -12,6 +12,9 @@
|
|
|
12
12
|
"agrotools",
|
|
13
13
|
"vue-components"
|
|
14
14
|
],
|
|
15
|
+
"sideEffects": [
|
|
16
|
+
"**/*.css"
|
|
17
|
+
],
|
|
15
18
|
"exports": {
|
|
16
19
|
".": {
|
|
17
20
|
"types": "./dist/index.d.ts",
|
|
@@ -36,7 +39,7 @@
|
|
|
36
39
|
"vue-component-type-helpers": "^2.2.10"
|
|
37
40
|
},
|
|
38
41
|
"dependencies": {
|
|
39
|
-
"@agrotools1/at-components1": "^1.1.
|
|
42
|
+
"@agrotools1/at-components1": "^1.1.2-beta.0",
|
|
40
43
|
"@floating-ui/dom": "^1.4.2",
|
|
41
44
|
"@floating-ui/vue": "^1.0.1",
|
|
42
45
|
"@vueuse/core": "^13.4.0",
|