@agrotools1/at-components 2.0.35 → 2.0.37
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 +7 -7
- package/dist/accordion/AccordionContent.vue.js +6 -6
- package/dist/accordion/AccordionItem.vue.js +8 -8
- package/dist/accordion/AccordionTrigger.vue.js +2 -2
- package/dist/alert-dialog/AlertDialogAction.vue.js +6 -6
- package/dist/alert-dialog/AlertDialogDescription.vue.js +1 -1
- package/dist/alert-dialog/AlertDialogTitle.vue.js +6 -6
- package/dist/alert-dialog/AlertDialogTrigger.vue.js +6 -6
- package/dist/assets/illustrations/renovabio/biomass.svg.js +2 -2
- package/dist/assets/illustrations/renovabio/volume.svg.js +2 -2
- package/dist/assets/illustrations/system/add-file.svg.js +2 -2
- package/dist/assets/illustrations/system/cloud-connection.svg.js +2 -2
- package/dist/assets/illustrations/system/cloud-download.svg.js +2 -2
- package/dist/assets/illustrations/system/cloud-upload.svg.js +2 -2
- package/dist/assets/illustrations/system/corrupted-file.svg.js +2 -2
- package/dist/assets/illustrations/system/dynamic-production.svg.js +2 -2
- package/dist/assets/illustrations/system/empty-box.svg.js +2 -2
- package/dist/assets/illustrations/system/empty-folder-2.svg.js +2 -2
- package/dist/assets/illustrations/system/empty-folder.svg.js +2 -2
- package/dist/assets/illustrations/system/empty.svg.js +2 -2
- package/dist/assets/illustrations/system/error-illustration.svg.js +2 -2
- package/dist/assets/illustrations/system/error.svg.js +2 -2
- package/dist/assets/illustrations/system/file-backup-2.svg.js +2 -2
- package/dist/assets/illustrations/system/file-backup.svg.js +2 -2
- package/dist/assets/illustrations/system/filtering-upload.svg.js +2 -2
- package/dist/assets/illustrations/system/flight.svg.js +2 -2
- package/dist/assets/illustrations/system/fly.svg.js +2 -2
- package/dist/assets/illustrations/system/movies.svg.js +2 -2
- package/dist/assets/illustrations/system/multimedia.svg.js +2 -2
- package/dist/assets/illustrations/system/notification-bell.svg.js +2 -2
- package/dist/assets/illustrations/system/page-2.svg.js +2 -2
- package/dist/assets/illustrations/system/page.svg.js +2 -2
- package/dist/assets/illustrations/system/photos.svg.js +2 -2
- package/dist/assets/illustrations/system/recycle-bin.svg.js +2 -2
- package/dist/assets/illustrations/system/rocket-launch.svg.js +2 -2
- package/dist/assets/illustrations/system/search-territory.svg.js +2 -2
- package/dist/assets/illustrations/system/signal.svg.js +2 -2
- package/dist/assets/illustrations/system/siren.svg.js +2 -2
- package/dist/assets/illustrations/system/wrong.svg.js +2 -2
- package/dist/assets/illustrations/tools/advanced-analysis.svg.js +2 -2
- package/dist/assets/illustrations/tools/agriculture.svg.js +2 -2
- package/dist/assets/illustrations/tools/alert-center.svg.js +2 -2
- package/dist/assets/illustrations/tools/area.svg.js +2 -2
- package/dist/assets/illustrations/tools/at-insights.svg.js +2 -2
- package/dist/assets/illustrations/tools/conservation-unit.svg.js +2 -2
- package/dist/assets/illustrations/tools/credit.svg.js +2 -2
- package/dist/assets/illustrations/tools/deforestation.svg.js +2 -2
- package/dist/assets/illustrations/tools/distance-proximity-rivers.svg.js +2 -2
- package/dist/assets/illustrations/tools/estimated-productivity-penalty.svg.js +2 -2
- package/dist/assets/illustrations/tools/extract.svg.js +2 -2
- package/dist/assets/illustrations/tools/farm.svg.js +2 -2
- package/dist/assets/illustrations/tools/geographical-consultation-municipalities.svg.js +2 -2
- package/dist/assets/illustrations/tools/gix.svg.js +2 -2
- package/dist/assets/illustrations/tools/inapto.svg.js +2 -2
- package/dist/assets/illustrations/tools/insurance.svg.js +2 -2
- package/dist/assets/illustrations/tools/land-appreciation.svg.js +2 -2
- package/dist/assets/illustrations/tools/lockdown.svg.js +2 -2
- package/dist/assets/illustrations/tools/map.svg.js +2 -2
- package/dist/assets/illustrations/tools/pasture.svg.js +2 -2
- package/dist/assets/illustrations/tools/rating-2.svg.js +2 -2
- package/dist/assets/illustrations/tools/rating.svg.js +2 -2
- package/dist/assets/illustrations/tools/recurrence.svg.js +2 -2
- package/dist/assets/illustrations/tools/refrigerators.svg.js +2 -2
- package/dist/assets/illustrations/tools/settings.svg.js +2 -2
- package/dist/assets/illustrations/tools/socio-environmental-analysis.svg.js +2 -2
- package/dist/assets/illustrations/tools/soil-use.svg.js +2 -2
- package/dist/assets/illustrations/tools/storm.svg.js +2 -2
- package/dist/assets/illustrations/tools/territory-details.svg.js +2 -2
- package/dist/assets/illustrations/tools/timeline.svg.js +2 -2
- package/dist/avatar/AvatarFallback.vue.js +9 -9
- package/dist/avatar/AvatarImage.vue.js +6 -6
- package/dist/badge/Badge.vue.js +12 -12
- package/dist/breadcrumb/BreadcrumbLink.vue.js +11 -11
- package/dist/breadcrumb/BreadcrumbSeparator.vue.js +1 -1
- package/dist/button/Button.vue.js +14 -14
- package/dist/button-new/ButtonNew.vue.js +26 -26
- package/dist/calendar/Calendar.vue.js +1 -1
- package/dist/calendar/CalendarCell.vue.js +3 -3
- package/dist/calendar/CalendarCellTrigger.vue.js +8 -8
- package/dist/calendar/CalendarGrid.vue.js +7 -7
- package/dist/calendar/CalendarGridBody.vue.js +5 -5
- package/dist/calendar/CalendarGridHead.vue.js +6 -6
- package/dist/calendar/CalendarGridRow.vue.js +10 -10
- package/dist/calendar/CalendarHeadCell.vue.js +8 -8
- package/dist/calendar/CalendarHeader.vue.js +10 -10
- package/dist/calendar/CalendarHeading.vue.js +16 -16
- package/dist/calendar/CalendarNextButton.vue.js +13 -13
- package/dist/calendar/CalendarPrevButton.vue.js +15 -15
- package/dist/card/Card.vue.js +16 -16
- package/dist/card/CardDescription.vue.js +7 -7
- package/dist/card/CardTitle.vue.js +7 -7
- package/dist/carousel/CarouselNext.vue.js +1 -1
- package/dist/carousel/CarouselPrevious.vue.js +1 -1
- package/dist/changelog/versions/components/index.d.ts.map +1 -1
- package/dist/changelog/versions/components/v2.0.35.d.ts.map +1 -1
- package/dist/changelog/versions/components/v2.0.36.d.ts +4 -0
- package/dist/changelog/versions/components/v2.0.36.d.ts.map +1 -0
- package/dist/changelog/versions/components/v2.0.37.d.ts +4 -0
- package/dist/changelog/versions/components/v2.0.37.d.ts.map +1 -0
- package/dist/checkbox/Checkbox.vue.js +9 -9
- package/dist/combobox/Combobox.vue.js +8 -8
- package/dist/combobox/ComboboxAnchor.vue.js +7 -7
- package/dist/combobox/ComboboxEmpty.vue.js +9 -9
- package/dist/combobox/ComboboxGroup.vue.js +12 -12
- package/dist/combobox/ComboboxInput.vue.js +3 -3
- package/dist/combobox/ComboboxItem.vue.js +9 -9
- package/dist/combobox/ComboboxItemIndicator.vue.js +9 -9
- package/dist/combobox/ComboboxList.vue.d.ts +12 -2
- package/dist/combobox/ComboboxList.vue.d.ts.map +1 -1
- package/dist/combobox/ComboboxList.vue.js +42 -30
- package/dist/combobox/ComboboxSeparator.vue.js +13 -13
- package/dist/combobox/ComboboxViewport.vue.js +7 -7
- package/dist/command/CommandEmpty.vue.js +9 -9
- package/dist/command/CommandGroup.vue.js +6 -6
- package/dist/command/CommandInput.vue.js +8 -8
- package/dist/command/CommandItem.vue.js +11 -11
- package/dist/command/CommandList.vue.js +9 -9
- package/dist/command/CommandSeparator.vue.js +10 -10
- package/dist/data-table/DataTable.vue.d.ts +0 -8
- package/dist/data-table/DataTable.vue.d.ts.map +1 -1
- package/dist/data-table/DataTable.vue.js +28 -31
- package/dist/date-picker/DatePicker.vue.js +1 -1
- package/dist/date-range-picker/DateRangePicker.vue.js +1 -1
- package/dist/dialog/DialogClose.vue.js +5 -5
- package/dist/dialog/DialogContent.vue.js +19 -18
- package/dist/dialog/DialogDescription.vue.js +7 -7
- package/dist/dialog/DialogOverlay.vue.js +8 -8
- package/dist/dialog/DialogScrollContent.vue.js +21 -20
- package/dist/dialog/DialogTitle.vue.js +8 -8
- package/dist/dialog/DialogTrigger.vue.js +7 -7
- package/dist/document-input/DocumentAutoComplete.vue.d.ts.map +1 -1
- package/dist/document-input/DocumentAutoComplete.vue.js +114 -110
- package/dist/dropdown-menu/DropdownMenuCheckboxItem.vue.js +9 -9
- package/dist/dropdown-menu/DropdownMenuContent.vue.d.ts +13 -2
- package/dist/dropdown-menu/DropdownMenuContent.vue.d.ts.map +1 -1
- package/dist/dropdown-menu/DropdownMenuContent.vue.js +42 -29
- package/dist/dropdown-menu/DropdownMenuGroup.vue.js +5 -5
- package/dist/dropdown-menu/DropdownMenuLabel.vue.js +11 -11
- package/dist/dropdown-menu/DropdownMenuRadioGroup.vue.js +9 -9
- package/dist/dropdown-menu/DropdownMenuRadioItem.vue.js +13 -13
- package/dist/dropdown-menu/DropdownMenuSeparator.vue.js +6 -6
- package/dist/dropdown-menu/DropdownMenuSubContent.vue.js +5 -5
- package/dist/dropdown-menu/DropdownMenuSubTrigger.vue.js +9 -9
- package/dist/dropdown-menu/DropdownMenuTrigger.vue.js +7 -7
- package/dist/index.css +1 -1
- package/dist/input/Input.vue.js +8 -8
- package/dist/label/Label.vue.js +5 -5
- package/dist/lib/utils.d.ts +1 -0
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/lib/utils.js +37 -8
- package/dist/multi-select/MultiSelectContent.vue.d.ts +3 -0
- package/dist/multi-select/MultiSelectContent.vue.d.ts.map +1 -1
- package/dist/multi-select/MultiSelectContent.vue.js +15 -15
- package/dist/multi-select/MultiSelectEmpty.vue.js +4 -4
- package/dist/multi-select/MultiSelectGroup.vue.js +9 -9
- package/dist/multi-select/MultiSelectItem.vue.js +14 -14
- package/dist/multi-select/MultiSelectLabel.vue.js +7 -7
- package/dist/multi-select/MultiSelectSeparator.vue.js +10 -10
- package/dist/multi-select/MultiSelectTrigger.vue.js +20 -20
- package/dist/multi-select/MultiSelectValue.vue.js +21 -21
- package/dist/pagination/Pagination.vue.js +10 -10
- package/dist/pagination/PaginationContent.vue.js +8 -8
- package/dist/pagination/PaginationEllipsis.vue.js +7 -7
- package/dist/pagination/PaginationFirst.vue.js +1 -1
- package/dist/pagination/PaginationLast.vue.js +1 -1
- package/dist/pagination/PaginationNext.vue.js +1 -1
- package/dist/pagination/PaginationPrevious.vue.js +1 -1
- package/dist/popover/PopoverAnchor.vue.js +6 -6
- package/dist/popover/PopoverContent.vue.d.ts +12 -2
- package/dist/popover/PopoverContent.vue.d.ts.map +1 -1
- package/dist/popover/PopoverContent.vue.js +41 -29
- package/dist/popover/PopoverTrigger.vue.js +8 -8
- package/dist/radio-group/RadioGroup.vue.js +12 -12
- package/dist/radio-group/RadioGroupItem.vue.js +10 -10
- package/dist/range-calendar/RangeCalendar.vue.js +1 -1
- package/dist/range-calendar/RangeCalendarCell.vue.js +5 -5
- package/dist/range-calendar/RangeCalendarCellTrigger.vue.js +5 -5
- package/dist/range-calendar/RangeCalendarGrid.vue.js +7 -7
- package/dist/range-calendar/RangeCalendarGridBody.vue.js +6 -6
- package/dist/range-calendar/RangeCalendarGridHead.vue.js +6 -6
- package/dist/range-calendar/RangeCalendarGridRow.vue.js +7 -7
- package/dist/range-calendar/RangeCalendarHeadCell.vue.js +9 -9
- package/dist/range-calendar/RangeCalendarHeader.vue.js +11 -11
- package/dist/range-calendar/RangeCalendarHeading.vue.js +15 -15
- package/dist/range-calendar/RangeCalendarNextButton.vue.js +10 -10
- package/dist/range-calendar/RangeCalendarPrevButton.vue.js +11 -11
- package/dist/select/SelectContent.vue.d.ts +13 -2
- package/dist/select/SelectContent.vue.d.ts.map +1 -1
- package/dist/select/SelectContent.vue.js +56 -44
- package/dist/select/SelectGroup.vue.js +8 -8
- package/dist/select/SelectItem.vue.js +10 -10
- package/dist/select/SelectItemText.vue.js +7 -7
- package/dist/select/SelectLabel.vue.js +5 -5
- package/dist/select/SelectScrollDownButton.vue.js +13 -13
- package/dist/select/SelectScrollUpButton.vue.js +14 -14
- package/dist/select/SelectSeparator.vue.js +9 -9
- package/dist/select/SelectTrigger.vue.js +2 -2
- package/dist/select/SelectValue.vue.js +6 -6
- package/dist/sheet/SheetClose.vue.js +8 -8
- package/dist/sheet/SheetContent.vue.d.ts +3 -0
- package/dist/sheet/SheetContent.vue.d.ts.map +1 -1
- package/dist/sheet/SheetContent.vue.js +29 -30
- package/dist/sheet/SheetDescription.vue.js +9 -9
- package/dist/sheet/SheetFooter.vue.js +3 -3
- package/dist/sheet/SheetOverlay.vue.js +6 -6
- package/dist/sheet/SheetTitle.vue.js +8 -8
- package/dist/sheet/SheetTrigger.vue.js +8 -8
- package/dist/sheet/sheetContent.variants.d.ts +6 -0
- package/dist/sheet/sheetContent.variants.d.ts.map +1 -0
- package/dist/sheet/sheetContent.variants.js +20 -0
- package/dist/sidebar/Sidebar.vue.js +2 -2
- package/dist/sidebar/SidebarGroupAction.vue.js +10 -10
- package/dist/sidebar/SidebarGroupLabel.vue.js +11 -11
- package/dist/sidebar/SidebarMenuAction.vue.js +1 -1
- package/dist/sidebar/SidebarMenuButton.vue.js +17 -17
- package/dist/sidebar/SidebarMenuButtonChild.vue.js +8 -8
- package/dist/sidebar/SidebarMenuSubButton.vue.js +7 -7
- package/dist/sonner/Toast.vue.js +5 -5
- package/dist/stepper/StepperDescription.vue.js +9 -9
- package/dist/stepper/StepperIndicator.vue.js +6 -6
- package/dist/stepper/StepperItem.vue.js +7 -7
- package/dist/stepper/StepperSeparator.vue.js +3 -3
- package/dist/stepper/StepperTitle.vue.js +7 -7
- package/dist/stepper/StepperTrigger.vue.js +5 -5
- package/dist/switch/Switch.vue.js +8 -8
- package/dist/tabs/Tabs.vue.js +10 -10
- package/dist/tabs/TabsContent.vue.js +6 -6
- package/dist/tabs/TabsList.vue.js +5 -5
- package/dist/tabs/TabsTrigger.vue.js +9 -9
- package/dist/tag/Tag.vue.js +13 -13
- package/dist/time-picker/TimePicker.vue.js +2 -2
- package/dist/tooltip/TooltipTrigger.vue.js +8 -8
- package/dist/upload/UploadContent.vue.js +12 -12
- package/dist/upload/UploadContentDescription.vue.js +8 -8
- package/dist/upload/UploadContentLoadingDescription.vue.js +9 -9
- package/dist/upload/UploadContentSuccessDescription.vue.js +7 -7
- package/dist/upload/UploadContentTitle.vue.js +5 -5
- package/dist/upload/UploadFileItem.vue.js +7 -7
- package/dist/upload/UploadRoot.vue.js +28 -28
- package/package.json +1 -1
- /package/dist/node_modules/.pnpm/{@tanstack_vue-table@8.21.3_vue@3.5.19_typescript@5.8.3_ → @tanstack_vue-table@8.21.3_vue@3.5.16_typescript@5.8.3_}/node_modules/@tanstack/vue-table/build/lib/index.js +0 -0
- /package/dist/node_modules/.pnpm/{lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_ → lucide-vue-next@0.542.0_vue@3.5.16_typescript@5.8.3_}/node_modules/lucide-vue-next/dist/esm/Icon.js +0 -0
- /package/dist/node_modules/.pnpm/{lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_ → lucide-vue-next@0.542.0_vue@3.5.16_typescript@5.8.3_}/node_modules/lucide-vue-next/dist/esm/createLucideIcon.js +0 -0
- /package/dist/node_modules/.pnpm/{lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_ → lucide-vue-next@0.542.0_vue@3.5.16_typescript@5.8.3_}/node_modules/lucide-vue-next/dist/esm/defaultAttributes.js +0 -0
- /package/dist/node_modules/.pnpm/{lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_ → lucide-vue-next@0.542.0_vue@3.5.16_typescript@5.8.3_}/node_modules/lucide-vue-next/dist/esm/icons/arrow-left.js +0 -0
- /package/dist/node_modules/.pnpm/{lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_ → lucide-vue-next@0.542.0_vue@3.5.16_typescript@5.8.3_}/node_modules/lucide-vue-next/dist/esm/icons/arrow-right.js +0 -0
- /package/dist/node_modules/.pnpm/{lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_ → lucide-vue-next@0.542.0_vue@3.5.16_typescript@5.8.3_}/node_modules/lucide-vue-next/dist/esm/icons/calendar.js +0 -0
- /package/dist/node_modules/.pnpm/{lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_ → lucide-vue-next@0.542.0_vue@3.5.16_typescript@5.8.3_}/node_modules/lucide-vue-next/dist/esm/icons/check.js +0 -0
- /package/dist/node_modules/.pnpm/{lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_ → lucide-vue-next@0.542.0_vue@3.5.16_typescript@5.8.3_}/node_modules/lucide-vue-next/dist/esm/icons/chevron-down.js +0 -0
- /package/dist/node_modules/.pnpm/{lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_ → lucide-vue-next@0.542.0_vue@3.5.16_typescript@5.8.3_}/node_modules/lucide-vue-next/dist/esm/icons/chevron-left.js +0 -0
- /package/dist/node_modules/.pnpm/{lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_ → lucide-vue-next@0.542.0_vue@3.5.16_typescript@5.8.3_}/node_modules/lucide-vue-next/dist/esm/icons/chevron-right.js +0 -0
- /package/dist/node_modules/.pnpm/{lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_ → lucide-vue-next@0.542.0_vue@3.5.16_typescript@5.8.3_}/node_modules/lucide-vue-next/dist/esm/icons/chevron-up.js +0 -0
- /package/dist/node_modules/.pnpm/{lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_ → lucide-vue-next@0.542.0_vue@3.5.16_typescript@5.8.3_}/node_modules/lucide-vue-next/dist/esm/icons/chevrons-left.js +0 -0
- /package/dist/node_modules/.pnpm/{lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_ → lucide-vue-next@0.542.0_vue@3.5.16_typescript@5.8.3_}/node_modules/lucide-vue-next/dist/esm/icons/chevrons-right.js +0 -0
- /package/dist/node_modules/.pnpm/{lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_ → lucide-vue-next@0.542.0_vue@3.5.16_typescript@5.8.3_}/node_modules/lucide-vue-next/dist/esm/icons/circle-check.js +0 -0
- /package/dist/node_modules/.pnpm/{lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_ → lucide-vue-next@0.542.0_vue@3.5.16_typescript@5.8.3_}/node_modules/lucide-vue-next/dist/esm/icons/circle-x.js +0 -0
- /package/dist/node_modules/.pnpm/{lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_ → lucide-vue-next@0.542.0_vue@3.5.16_typescript@5.8.3_}/node_modules/lucide-vue-next/dist/esm/icons/circle.js +0 -0
- /package/dist/node_modules/.pnpm/{lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_ → lucide-vue-next@0.542.0_vue@3.5.16_typescript@5.8.3_}/node_modules/lucide-vue-next/dist/esm/icons/ellipsis.js +0 -0
- /package/dist/node_modules/.pnpm/{lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_ → lucide-vue-next@0.542.0_vue@3.5.16_typescript@5.8.3_}/node_modules/lucide-vue-next/dist/esm/icons/info.js +0 -0
- /package/dist/node_modules/.pnpm/{lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_ → lucide-vue-next@0.542.0_vue@3.5.16_typescript@5.8.3_}/node_modules/lucide-vue-next/dist/esm/icons/loader-circle.js +0 -0
- /package/dist/node_modules/.pnpm/{lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_ → lucide-vue-next@0.542.0_vue@3.5.16_typescript@5.8.3_}/node_modules/lucide-vue-next/dist/esm/icons/search.js +0 -0
- /package/dist/node_modules/.pnpm/{lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_ → lucide-vue-next@0.542.0_vue@3.5.16_typescript@5.8.3_}/node_modules/lucide-vue-next/dist/esm/icons/triangle-alert.js +0 -0
- /package/dist/node_modules/.pnpm/{lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_ → lucide-vue-next@0.542.0_vue@3.5.16_typescript@5.8.3_}/node_modules/lucide-vue-next/dist/esm/icons/triangle.js +0 -0
- /package/dist/node_modules/.pnpm/{lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_ → lucide-vue-next@0.542.0_vue@3.5.16_typescript@5.8.3_}/node_modules/lucide-vue-next/dist/esm/icons/x.js +0 -0
- /package/dist/node_modules/.pnpm/{lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_ → lucide-vue-next@0.542.0_vue@3.5.16_typescript@5.8.3_}/node_modules/lucide-vue-next/dist/esm/shared/src/utils.js +0 -0
- /package/dist/node_modules/.pnpm/{reka-ui@2.5.0_typescript@5.8.3_vue@3.5.19_typescript@5.8.3_ → reka-ui@2.5.0_typescript@5.8.3_vue@3.5.16_typescript@5.8.3_}/node_modules/reka-ui/dist/date/comparators.js +0 -0
package/dist/input/Input.vue.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as d, createBlock as u, openBlock as m, unref as t, withCtx as p, withDirectives as c, createElementVNode as f, mergeProps as b, isRef as g, vModelDynamic as v } from "vue";
|
|
2
2
|
import { useVModel as x, reactiveOmit as V } from "@vueuse/core";
|
|
3
3
|
import { useForwardProps as h, Primitive as w } from "reka-ui";
|
|
4
4
|
import { cn as y } from "../lib/utils.js";
|
|
5
|
-
const
|
|
5
|
+
const F = /* @__PURE__ */ d({
|
|
6
6
|
__name: "Input",
|
|
7
7
|
props: {
|
|
8
8
|
defaultValue: {},
|
|
9
9
|
modelValue: {},
|
|
10
10
|
class: {},
|
|
11
11
|
asChild: { type: Boolean },
|
|
12
|
-
as: { default: "input" }
|
|
12
|
+
as: { type: [String, Object, Function], default: "input" }
|
|
13
13
|
},
|
|
14
14
|
emits: ["update:modelValue"],
|
|
15
|
-
setup(a, { emit:
|
|
16
|
-
const e = a, r = x(e, "modelValue",
|
|
15
|
+
setup(a, { emit: i }) {
|
|
16
|
+
const e = a, r = x(e, "modelValue", i, {
|
|
17
17
|
passive: !0,
|
|
18
18
|
defaultValue: e.defaultValue
|
|
19
|
-
}),
|
|
19
|
+
}), l = V(e, "class", "modelValue", "defaultValue"), s = h(l);
|
|
20
20
|
return (P, o) => (m(), u(t(w), { "as-child": "" }, {
|
|
21
21
|
default: p(() => [
|
|
22
22
|
c(f("input", b({
|
|
23
|
-
"onUpdate:modelValue": o[0] || (o[0] = (
|
|
23
|
+
"onUpdate:modelValue": o[0] || (o[0] = (n) => g(r) ? r.value = n : null),
|
|
24
24
|
"data-slot": "input",
|
|
25
25
|
class: t(y)(
|
|
26
26
|
"selection:bg-primary selection:text-primary-foreground border-input shadow-xs flex h-10 w-full min-w-0 rounded-md border bg-transparent p-2.5 text-sm text-gray-800 outline-none transition-[color,box-shadow] placeholder:text-gray-600 md:text-sm",
|
|
@@ -39,5 +39,5 @@ const M = /* @__PURE__ */ n({
|
|
|
39
39
|
}
|
|
40
40
|
});
|
|
41
41
|
export {
|
|
42
|
-
|
|
42
|
+
F as default
|
|
43
43
|
};
|
package/dist/label/Label.vue.js
CHANGED
|
@@ -7,19 +7,19 @@ const y = /* @__PURE__ */ s({
|
|
|
7
7
|
props: {
|
|
8
8
|
for: {},
|
|
9
9
|
asChild: { type: Boolean },
|
|
10
|
-
as: {},
|
|
10
|
+
as: { type: [String, Object, Function] },
|
|
11
11
|
class: {}
|
|
12
12
|
},
|
|
13
|
-
setup(
|
|
14
|
-
const t =
|
|
15
|
-
return (
|
|
13
|
+
setup(o) {
|
|
14
|
+
const t = o, r = i(t, "class");
|
|
15
|
+
return (a, u) => (n(), l(e(m), d({ "data-slot": "label" }, e(r), {
|
|
16
16
|
class: e(f)(
|
|
17
17
|
"flex select-none items-center gap-2 text-xs font-semibold leading-4 text-gray-900 peer-disabled:cursor-not-allowed peer-disabled:text-gray-700 group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:text-gray-700",
|
|
18
18
|
t.class
|
|
19
19
|
)
|
|
20
20
|
}), {
|
|
21
21
|
default: p(() => [
|
|
22
|
-
c(
|
|
22
|
+
c(a.$slots, "default")
|
|
23
23
|
]),
|
|
24
24
|
_: 3
|
|
25
25
|
}, 16, ["class"]));
|
package/dist/lib/utils.d.ts
CHANGED
|
@@ -11,4 +11,5 @@ export declare function cn(...inputs: ClassValue[]): string;
|
|
|
11
11
|
* @returns The cycled value within the specified range
|
|
12
12
|
*/
|
|
13
13
|
export declare function cycleInRange(value: number, min: number, max: number): number;
|
|
14
|
+
export declare function hasCssZoom(startElement?: Element | null): boolean;
|
|
14
15
|
//# sourceMappingURL=utils.d.ts.map
|
package/dist/lib/utils.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;AAItC,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC;AAED;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAI5E"}
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;AAItC,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC;AAED;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAI5E;AA8BD,wBAAgB,UAAU,CAAC,YAAY,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG,OAAO,CAqBjE"}
|
package/dist/lib/utils.js
CHANGED
|
@@ -1,13 +1,42 @@
|
|
|
1
|
-
import { clsx as
|
|
1
|
+
import { clsx as m } from "clsx";
|
|
2
2
|
import { twMerge as c } from "tailwind-merge";
|
|
3
|
-
function
|
|
4
|
-
return c(
|
|
3
|
+
function d(...t) {
|
|
4
|
+
return c(m(t));
|
|
5
5
|
}
|
|
6
|
-
function
|
|
7
|
-
const n =
|
|
8
|
-
return (
|
|
6
|
+
function l(t, e, o) {
|
|
7
|
+
const n = o - e + 1;
|
|
8
|
+
return (t - e + n) % n + e;
|
|
9
|
+
}
|
|
10
|
+
function r(t) {
|
|
11
|
+
if (!t) return 1;
|
|
12
|
+
const e = t.trim().toLowerCase();
|
|
13
|
+
if (!e || e === "normal" || e === "unset" || e === "initial" || e === "inherit")
|
|
14
|
+
return 1;
|
|
15
|
+
if (e.endsWith("%")) {
|
|
16
|
+
const n = Number.parseFloat(e.slice(0, -1));
|
|
17
|
+
return !Number.isFinite(n) || n <= 0 ? 1 : n / 100;
|
|
18
|
+
}
|
|
19
|
+
const o = Number.parseFloat(e);
|
|
20
|
+
return !Number.isFinite(o) || o <= 0 ? 1 : o;
|
|
21
|
+
}
|
|
22
|
+
function i(t) {
|
|
23
|
+
return Math.abs(t - 1) > 1e-3;
|
|
24
|
+
}
|
|
25
|
+
function a(t) {
|
|
26
|
+
if (typeof window > "u" || typeof document > "u")
|
|
27
|
+
return !1;
|
|
28
|
+
let e = t ?? document.body;
|
|
29
|
+
for (; e; ) {
|
|
30
|
+
const u = r(window.getComputedStyle(e).zoom);
|
|
31
|
+
if (i(u))
|
|
32
|
+
return !0;
|
|
33
|
+
e = e.parentElement;
|
|
34
|
+
}
|
|
35
|
+
const o = r(window.getComputedStyle(document.body).zoom), n = r(window.getComputedStyle(document.documentElement).zoom);
|
|
36
|
+
return i(o) || i(n);
|
|
9
37
|
}
|
|
10
38
|
export {
|
|
11
|
-
|
|
12
|
-
|
|
39
|
+
d as cn,
|
|
40
|
+
l as cycleInRange,
|
|
41
|
+
a as hasCssZoom
|
|
13
42
|
};
|
|
@@ -30,7 +30,10 @@ declare const __VLS_component: import('vue').DefineComponent<MultiSelectContentP
|
|
|
30
30
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
31
31
|
}>, {
|
|
32
32
|
align: "end" | "start" | "center";
|
|
33
|
+
side: "top" | "right" | "bottom" | "left";
|
|
33
34
|
sideOffset: number;
|
|
35
|
+
collisionPadding: number | Partial<Record<"top" | "right" | "bottom" | "left", number>>;
|
|
36
|
+
positionStrategy: "absolute" | "fixed";
|
|
34
37
|
enableSearch: boolean;
|
|
35
38
|
searchInputPlaceholder: string;
|
|
36
39
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultiSelectContent.vue.d.ts","sourceRoot":"","sources":["../../src/multi-select/MultiSelectContent.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MultiSelectContent.vue.d.ts","sourceRoot":"","sources":["../../src/multi-select/MultiSelectContent.vue"],"names":[],"mappings":"AA0DA,OAAO,KAAK,EAAuB,mBAAmB,EAAE,MAAM,SAAS,CAAA;AACvE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAWzC,MAAM,WAAW,uBAAwB,SAAQ,mBAAmB;IAClE,KAAK,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC,CAAA;IAC/B,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,sBAAsB,CAAC,EAAE,MAAM,CAAA;CAChC;AAoCD,iBAAS,cAAc;WAuET,OAAO,IAA6B;;yBAVpB,GAAG;;;;EAehC;AAiBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;kBApIJ,OAAO;4BACG,MAAM;6EA2I/B,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as p, createBlock as u, openBlock as
|
|
1
|
+
import { defineComponent as p, createBlock as u, openBlock as f, unref as e, mergeProps as m, withCtx as o, createVNode as a, renderSlot as h } from "vue";
|
|
2
2
|
import { reactiveOmit as y } from "@vueuse/core";
|
|
3
3
|
import { useForwardPropsEmits as _ } from "reka-ui";
|
|
4
4
|
import { cn as g } from "../lib/utils.js";
|
|
@@ -15,19 +15,19 @@ const E = /* @__PURE__ */ p({
|
|
|
15
15
|
enableSearch: { type: Boolean, default: !0 },
|
|
16
16
|
searchInputPlaceholder: { default: "" },
|
|
17
17
|
forceMount: { type: Boolean },
|
|
18
|
-
side: {},
|
|
18
|
+
side: { default: "bottom" },
|
|
19
19
|
sideOffset: { default: 4 },
|
|
20
20
|
sideFlip: { type: Boolean },
|
|
21
|
-
align: { default: "
|
|
21
|
+
align: { default: "start" },
|
|
22
22
|
alignOffset: {},
|
|
23
23
|
alignFlip: { type: Boolean },
|
|
24
24
|
avoidCollisions: { type: Boolean },
|
|
25
25
|
collisionBoundary: {},
|
|
26
|
-
collisionPadding: {},
|
|
26
|
+
collisionPadding: { default: 8 },
|
|
27
27
|
arrowPadding: {},
|
|
28
28
|
sticky: {},
|
|
29
29
|
hideWhenDetached: { type: Boolean },
|
|
30
|
-
positionStrategy: {},
|
|
30
|
+
positionStrategy: { default: "absolute" },
|
|
31
31
|
updatePositionStrategy: {},
|
|
32
32
|
disableUpdateOnLayoutShift: { type: Boolean },
|
|
33
33
|
prioritizePosition: { type: Boolean },
|
|
@@ -37,22 +37,22 @@ const E = /* @__PURE__ */ p({
|
|
|
37
37
|
disableOutsidePointerEvents: { type: Boolean }
|
|
38
38
|
},
|
|
39
39
|
emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
|
|
40
|
-
setup(
|
|
41
|
-
const
|
|
42
|
-
return (
|
|
43
|
-
class: e(g)("w-(--reka-popover-trigger-width) p-2", !e(
|
|
40
|
+
setup(i, { emit: r }) {
|
|
41
|
+
const n = i, s = r, l = O(), d = y(n, "class"), c = _(d, s);
|
|
42
|
+
return (t, C) => (f(), u(e(w), m({ "data-slot": "multi-select-content" }, { ...e(c), ...t.$attrs }, {
|
|
43
|
+
class: e(g)("w-(--reka-popover-trigger-width) p-2", !e(l).open.value && "hidden!"),
|
|
44
44
|
"force-mount": ""
|
|
45
45
|
}), {
|
|
46
|
-
default:
|
|
46
|
+
default: o(() => [
|
|
47
47
|
a(e(B), {
|
|
48
|
-
"model-value": e(
|
|
48
|
+
"model-value": e(l).modelValue.value,
|
|
49
49
|
"highlight-on-hover": ""
|
|
50
50
|
}, {
|
|
51
|
-
default:
|
|
52
|
-
a(e(P), { placeholder:
|
|
51
|
+
default: o(() => [
|
|
52
|
+
a(e(P), { placeholder: t.searchInputPlaceholder }, null, 8, ["placeholder"]),
|
|
53
53
|
a(e(v), { class: "mt-2" }, {
|
|
54
|
-
default:
|
|
55
|
-
h(
|
|
54
|
+
default: o(() => [
|
|
55
|
+
h(t.$slots, "default")
|
|
56
56
|
]),
|
|
57
57
|
_: 3
|
|
58
58
|
})
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { defineComponent as r, createBlock as
|
|
1
|
+
import { defineComponent as r, createBlock as n, openBlock as a, unref as s, normalizeProps as p, guardReactiveProps as c, withCtx as l, renderSlot as i } from "vue";
|
|
2
2
|
import m from "../command/CommandEmpty.vue.js";
|
|
3
3
|
const d = /* @__PURE__ */ r({
|
|
4
4
|
__name: "MultiSelectEmpty",
|
|
5
5
|
props: {
|
|
6
6
|
asChild: { type: Boolean },
|
|
7
|
-
as: {},
|
|
7
|
+
as: { type: [String, Object, Function] },
|
|
8
8
|
class: {}
|
|
9
9
|
},
|
|
10
10
|
setup(e) {
|
|
11
11
|
const t = e;
|
|
12
|
-
return (o,
|
|
13
|
-
default:
|
|
12
|
+
return (o, u) => (a(), n(s(m), p(c(t)), {
|
|
13
|
+
default: l(() => [
|
|
14
14
|
i(o.$slots, "default")
|
|
15
15
|
]),
|
|
16
16
|
_: 3
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { defineComponent as a, createBlock as p, openBlock as
|
|
1
|
+
import { defineComponent as a, createBlock as p, openBlock as i, unref as t, mergeProps as n, withCtx as s, renderSlot as c } from "vue";
|
|
2
2
|
import { useId as u } from "reka-ui";
|
|
3
3
|
import m from "../command/CommandGroup.vue.js";
|
|
4
4
|
import { provideMultiSelectGroupContext as d } from "./contexts.js";
|
|
5
|
-
const
|
|
5
|
+
const C = /* @__PURE__ */ a({
|
|
6
6
|
__name: "MultiSelectGroup",
|
|
7
7
|
props: {
|
|
8
8
|
asChild: { type: Boolean },
|
|
9
|
-
as: {}
|
|
9
|
+
as: { type: [String, Object, Function] }
|
|
10
10
|
},
|
|
11
|
-
setup(
|
|
12
|
-
const r =
|
|
13
|
-
return d({ id: e }), (l, f) => (
|
|
11
|
+
setup(o) {
|
|
12
|
+
const r = o, e = u(void 0, "at-multi-select-group");
|
|
13
|
+
return d({ id: e }), (l, f) => (i(), p(t(m), n({
|
|
14
14
|
class: "space-y-1",
|
|
15
15
|
role: "group"
|
|
16
|
-
}, r, { "aria-labelledby":
|
|
17
|
-
default:
|
|
16
|
+
}, r, { "aria-labelledby": t(e) }), {
|
|
17
|
+
default: s(() => [
|
|
18
18
|
c(l.$slots, "default")
|
|
19
19
|
]),
|
|
20
20
|
_: 3
|
|
@@ -22,5 +22,5 @@ const g = /* @__PURE__ */ a({
|
|
|
22
22
|
}
|
|
23
23
|
});
|
|
24
24
|
export {
|
|
25
|
-
|
|
25
|
+
C as default
|
|
26
26
|
};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { reactiveOmit as
|
|
3
|
-
import { useForwardExpose as
|
|
4
|
-
import { cn as
|
|
5
|
-
import
|
|
1
|
+
import { defineComponent as w, toRefs as V, ref as P, computed as m, onMounted as $, onUnmounted as h, createBlock as k, openBlock as E, unref as o, mergeProps as O, withCtx as c, renderSlot as p, createVNode as v, nextTick as B } from "vue";
|
|
2
|
+
import { reactiveOmit as F } from "@vueuse/core";
|
|
3
|
+
import { useForwardExpose as I, useForwardPropsEmits as M, useId as R, Primitive as j } from "reka-ui";
|
|
4
|
+
import { cn as z } from "../lib/utils.js";
|
|
5
|
+
import T from "../checkbox/Checkbox.vue.js";
|
|
6
6
|
import A from "../command/CommandItem.vue.js";
|
|
7
7
|
import { injectMultiSelectContext as N } from "./contexts.js";
|
|
8
8
|
import { valueComparator as U } from "./utils.js";
|
|
9
|
-
const W = /* @__PURE__ */
|
|
9
|
+
const W = /* @__PURE__ */ w({
|
|
10
10
|
__name: "MultiSelectItem",
|
|
11
11
|
props: {
|
|
12
12
|
class: {},
|
|
13
13
|
value: {},
|
|
14
14
|
disabled: { type: Boolean },
|
|
15
15
|
textValue: {},
|
|
16
|
-
as: {}
|
|
16
|
+
as: { type: [String, Object, Function] }
|
|
17
17
|
},
|
|
18
18
|
emits: ["select"],
|
|
19
19
|
setup(f, { emit: x }) {
|
|
20
|
-
const t = f, s = x, { disabled: b } = V(t), a = N(), { forwardRef: g, currentElement: n } =
|
|
20
|
+
const t = f, s = x, { disabled: b } = V(t), a = N(), { forwardRef: g, currentElement: n } = I(), _ = F(t, "class", "textValue", "value"), C = M(_, s), r = P(t.textValue ?? ""), i = R(void 0, "at-multi-select-item-text"), u = m(
|
|
21
21
|
() => {
|
|
22
22
|
var e;
|
|
23
23
|
return U((e = a.modelValue) == null ? void 0 : e.value, t.value, a.by);
|
|
@@ -31,27 +31,27 @@ const W = /* @__PURE__ */ y({
|
|
|
31
31
|
};
|
|
32
32
|
});
|
|
33
33
|
async function S(e) {
|
|
34
|
-
await
|
|
34
|
+
await B(), s("select", e), !e.defaultPrevented && (b.value || a.onValueChange(t.value));
|
|
35
35
|
}
|
|
36
36
|
return $(() => {
|
|
37
37
|
n.value && (r.value = ((r.value || n.value.textContent) ?? "").trim(), a.onOptionAdd(d.value));
|
|
38
38
|
}), h(() => {
|
|
39
39
|
a.onOptionRemove(d.value);
|
|
40
|
-
}), (e, l) => (E(), k(o(A),
|
|
40
|
+
}), (e, l) => (E(), k(o(A), O({ ...e.$attrs, ...o(C) }, {
|
|
41
41
|
role: "option",
|
|
42
|
-
class: o(
|
|
42
|
+
class: o(z)(
|
|
43
43
|
"outline-hidden *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2 relative flex w-full cursor-default select-none items-center gap-2 rounded-sm py-1.5 pl-2 pr-8 text-sm font-semibold data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-neutral-100 [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
44
44
|
t.class
|
|
45
45
|
),
|
|
46
46
|
value: e.value,
|
|
47
47
|
"aria-labelledby": o(i),
|
|
48
|
-
onSelect: l[0] || (l[0] = (
|
|
48
|
+
onSelect: l[0] || (l[0] = (y) => S(y))
|
|
49
49
|
}), {
|
|
50
50
|
default: c(() => [
|
|
51
51
|
p(e.$slots, "indicator", { isSelected: u.value }, () => [
|
|
52
|
-
v(o(
|
|
52
|
+
v(o(T), { "model-value": u.value }, null, 8, ["model-value"])
|
|
53
53
|
]),
|
|
54
|
-
v(o(
|
|
54
|
+
v(o(j), {
|
|
55
55
|
id: o(i),
|
|
56
56
|
ref: o(g),
|
|
57
57
|
as: "span"
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as s, createBlock as i, openBlock as l, unref as t, mergeProps as c, withCtx as p, renderSlot as a } from "vue";
|
|
2
2
|
import { Primitive as m } from "reka-ui";
|
|
3
3
|
import { cn as d } from "../lib/utils.js";
|
|
4
4
|
import { injectMultiSelectGroupContext as f } from "./contexts.js";
|
|
5
|
-
const
|
|
5
|
+
const b = /* @__PURE__ */ s({
|
|
6
6
|
__name: "MultiSelectLabel",
|
|
7
7
|
props: {
|
|
8
8
|
for: {},
|
|
9
9
|
class: {},
|
|
10
10
|
asChild: { type: Boolean },
|
|
11
|
-
as: { default: "div" }
|
|
11
|
+
as: { type: [String, Object, Function], default: "div" }
|
|
12
12
|
},
|
|
13
13
|
setup(o) {
|
|
14
14
|
const e = o, r = f({ id: "" });
|
|
15
|
-
return (
|
|
15
|
+
return (n, u) => (l(), i(t(m), c(e, {
|
|
16
16
|
id: t(r).id,
|
|
17
17
|
class: t(d)("px-2 py-1.5 text-sm font-bold", e.class)
|
|
18
18
|
}), {
|
|
19
|
-
default:
|
|
20
|
-
|
|
19
|
+
default: p(() => [
|
|
20
|
+
a(n.$slots, "default")
|
|
21
21
|
]),
|
|
22
22
|
_: 3
|
|
23
23
|
}, 16, ["id", "class"]));
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
26
|
export {
|
|
27
|
-
|
|
27
|
+
b as default
|
|
28
28
|
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Primitive as
|
|
1
|
+
import { defineComponent as n, createBlock as s, openBlock as a, unref as t, mergeProps as p, withCtx as c, renderSlot as i } from "vue";
|
|
2
|
+
import { Primitive as l } from "reka-ui";
|
|
3
3
|
import { cn as m } from "../lib/utils.js";
|
|
4
|
-
const h = /* @__PURE__ */
|
|
4
|
+
const h = /* @__PURE__ */ n({
|
|
5
5
|
__name: "MultiSelectSeparator",
|
|
6
6
|
props: {
|
|
7
7
|
class: {},
|
|
8
8
|
asChild: { type: Boolean },
|
|
9
|
-
as: {}
|
|
9
|
+
as: { type: [String, Object, Function] }
|
|
10
10
|
},
|
|
11
|
-
setup(
|
|
12
|
-
const e =
|
|
13
|
-
return (o,
|
|
14
|
-
class:
|
|
11
|
+
setup(r) {
|
|
12
|
+
const e = r;
|
|
13
|
+
return (o, u) => (a(), s(t(l), p({ "aria-hidden": "true" }, e, {
|
|
14
|
+
class: t(m)("bg-border pointer-events-none -mx-1 my-1 h-px", e.class)
|
|
15
15
|
}), {
|
|
16
|
-
default:
|
|
17
|
-
|
|
16
|
+
default: c(() => [
|
|
17
|
+
i(o.$slots, "default")
|
|
18
18
|
]),
|
|
19
19
|
_: 3
|
|
20
20
|
}, 16, ["class"]));
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { defineComponent as p, createBlock as u, openBlock as l, unref as
|
|
1
|
+
import { defineComponent as p, createBlock as u, openBlock as l, unref as t, mergeProps as b, withCtx as m, renderSlot as f, createElementVNode as r, createElementBlock as g, createCommentVNode as v, createVNode as i } from "vue";
|
|
2
2
|
import { cn as h } from "../lib/utils.js";
|
|
3
3
|
import x from "../popover/PopoverTrigger.vue.js";
|
|
4
|
-
import { injectMultiSelectContext as
|
|
5
|
-
import
|
|
6
|
-
import w from "../node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.
|
|
7
|
-
const k = { class: "inline-flex gap-1" }, _ = { "aria-hidden": "true" },
|
|
4
|
+
import { injectMultiSelectContext as y } from "./contexts.js";
|
|
5
|
+
import C from "../node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.16_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/x.js";
|
|
6
|
+
import w from "../node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.16_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/chevron-down.js";
|
|
7
|
+
const k = { class: "inline-flex gap-1" }, _ = { "aria-hidden": "true" }, $ = /* @__PURE__ */ p({
|
|
8
8
|
__name: "MultiSelectTrigger",
|
|
9
9
|
props: {
|
|
10
10
|
class: {},
|
|
11
11
|
placeholder: {},
|
|
12
12
|
disabled: { type: Boolean },
|
|
13
13
|
asChild: { type: Boolean },
|
|
14
|
-
as: { default: "button" }
|
|
14
|
+
as: { type: [String, Object, Function], default: "button" }
|
|
15
15
|
},
|
|
16
|
-
setup(
|
|
17
|
-
const
|
|
16
|
+
setup(n) {
|
|
17
|
+
const d = n, a = y();
|
|
18
18
|
function c(e) {
|
|
19
|
-
e.stopPropagation(),
|
|
19
|
+
e.stopPropagation(), a.clear();
|
|
20
20
|
}
|
|
21
21
|
return (e, B) => {
|
|
22
22
|
var o, s;
|
|
23
|
-
return l(), u(
|
|
23
|
+
return l(), u(t(x), b({
|
|
24
24
|
"data-slot": "multi-select-trigger",
|
|
25
25
|
as: e.as,
|
|
26
26
|
"as-child": e.asChild,
|
|
27
27
|
type: e.as === "button" ? "button" : void 0,
|
|
28
28
|
role: "combobox",
|
|
29
|
-
class:
|
|
29
|
+
class: t(h)(
|
|
30
30
|
"!border-input data-[placeholder]:text-muted-foreground",
|
|
31
31
|
"hover:ring-ring/24 hover:ring-[2px]",
|
|
32
32
|
"focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] outline-none",
|
|
@@ -34,26 +34,26 @@ const k = { class: "inline-flex gap-1" }, _ = { "aria-hidden": "true" }, j = /*
|
|
|
34
34
|
"shadow-xs flex w-full h-10 items-center justify-between gap-2 whitespace-nowrap rounded-xl border bg-transparent p-2.5 text-sm transition-[color,box-shadow]",
|
|
35
35
|
"disabled:pointer-events-none disabled:cursor-not-allowed disabled:!border-neutral-200 disabled:bg-gray-100 data-[disabled]:pointer-events-none",
|
|
36
36
|
"*:data-[slot=select-value]:line-clamp-1 *:data-[slot=multi-select-value]:flex *:data-[slot=multi-select-value]:items-stretch *:data-[slot=multi-select-value]:gap-2 [&_svg]:shrink-0",
|
|
37
|
-
|
|
37
|
+
d.class
|
|
38
38
|
),
|
|
39
|
-
disabled: ((o = a
|
|
40
|
-
"aria-expanded": a
|
|
39
|
+
disabled: ((o = t(a).disabled) == null ? void 0 : o.value) || e.disabled,
|
|
40
|
+
"aria-expanded": t(a).open.value || !1,
|
|
41
41
|
"aria-haspopup": !0,
|
|
42
|
-
"data-state": a
|
|
43
|
-
"data-disabled": (s = a
|
|
42
|
+
"data-state": t(a).open.value ? "open" : "closed",
|
|
43
|
+
"data-disabled": (s = t(a).disabled) != null && s.value || e.disabled ? "" : void 0
|
|
44
44
|
}, e.$attrs), {
|
|
45
45
|
default: m(() => [
|
|
46
46
|
f(e.$slots, "default"),
|
|
47
47
|
r("div", k, [
|
|
48
|
-
a
|
|
48
|
+
t(a).isEmptyModelValue.value ? v("", !0) : (l(), g("button", {
|
|
49
49
|
key: 0,
|
|
50
50
|
class: "text-primary-500 cursor-pointer bg-none",
|
|
51
51
|
onClick: c
|
|
52
52
|
}, [
|
|
53
|
-
i(
|
|
53
|
+
i(t(C), { class: "size-5" })
|
|
54
54
|
])),
|
|
55
55
|
r("span", _, [
|
|
56
|
-
i(
|
|
56
|
+
i(t(w), { class: "size-5 text-gray-800" })
|
|
57
57
|
])
|
|
58
58
|
])
|
|
59
59
|
]),
|
|
@@ -63,5 +63,5 @@ const k = { class: "inline-flex gap-1" }, _ = { "aria-hidden": "true" }, j = /*
|
|
|
63
63
|
}
|
|
64
64
|
});
|
|
65
65
|
export {
|
|
66
|
-
|
|
66
|
+
$ as default
|
|
67
67
|
};
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { defineComponent as V, computed as m, createBlock as p, openBlock as n, unref as s, withCtx as d, createElementBlock as f, Fragment as v, createTextVNode as h, toDisplayString as C, createCommentVNode as B, renderList as N, createElementVNode as z, createVNode as
|
|
2
|
-
import { Primitive as
|
|
1
|
+
import { defineComponent as V, computed as m, createBlock as p, openBlock as n, unref as s, withCtx as d, createElementBlock as f, Fragment as v, createTextVNode as h, toDisplayString as C, createCommentVNode as B, renderList as N, createElementVNode as z, createVNode as j } from "vue";
|
|
2
|
+
import { Primitive as w } from "reka-ui";
|
|
3
3
|
import "../tag/index.js";
|
|
4
|
-
import { injectMultiSelectContext as
|
|
5
|
-
import { valueComparator as
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
const
|
|
4
|
+
import { injectMultiSelectContext as E } from "./contexts.js";
|
|
5
|
+
import { valueComparator as F } from "./utils.js";
|
|
6
|
+
import _ from "../tag/Tag.vue.js";
|
|
7
|
+
import M from "../node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.16_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/x.js";
|
|
8
|
+
const O = ["onClick"], $ = /* @__PURE__ */ V({
|
|
9
9
|
__name: "MultiSelectValue",
|
|
10
10
|
props: {
|
|
11
11
|
placeholder: { default: "" },
|
|
12
12
|
maxCount: { default: 3 },
|
|
13
13
|
asChild: { type: Boolean },
|
|
14
|
-
as: { default: "span" }
|
|
14
|
+
as: { type: [String, Object, Function], default: "span" }
|
|
15
15
|
},
|
|
16
|
-
setup(
|
|
17
|
-
const r =
|
|
16
|
+
setup(k) {
|
|
17
|
+
const r = k, u = E(), t = m(() => {
|
|
18
18
|
const e = u.modelValue.value, i = u.optionsSet.value;
|
|
19
19
|
if (!(e != null && e.length)) return [];
|
|
20
20
|
let l = [];
|
|
21
|
-
const c = Array.from(i), x = (
|
|
22
|
-
return l = e.map((
|
|
23
|
-
var
|
|
21
|
+
const c = Array.from(i), x = (o) => c.find((a) => F(o, a.value));
|
|
22
|
+
return l = e.map((o) => {
|
|
23
|
+
var a, y;
|
|
24
24
|
return {
|
|
25
|
-
label: ((
|
|
26
|
-
value: (
|
|
25
|
+
label: ((a = x(o)) == null ? void 0 : a.textContent) ?? "",
|
|
26
|
+
value: (y = x(o)) == null ? void 0 : y.value
|
|
27
27
|
};
|
|
28
|
-
}), l.filter(({ value:
|
|
28
|
+
}), l.filter(({ value: o, label: a }) => o && a);
|
|
29
29
|
}), b = m(() => t.value.length <= r.maxCount ? t.value : t.value.slice(0, r.maxCount)), g = m(() => t.value.length <= r.maxCount ? 0 : t.value.length - r.maxCount);
|
|
30
30
|
function S(e, i) {
|
|
31
31
|
e.stopPropagation(), u.onValueChange(i);
|
|
32
32
|
}
|
|
33
|
-
return (e, i) => (n(), p(s(
|
|
33
|
+
return (e, i) => (n(), p(s(w), {
|
|
34
34
|
as: e.as,
|
|
35
35
|
"as-child": e.asChild,
|
|
36
36
|
"data-placeholder": t.value.length ? void 0 : r.placeholder,
|
|
@@ -39,7 +39,7 @@ const A = ["onClick"], $ = /* @__PURE__ */ V({
|
|
|
39
39
|
}, {
|
|
40
40
|
default: d(() => [
|
|
41
41
|
t.value.length ? (n(), f(v, { key: 1 }, [
|
|
42
|
-
(n(!0), f(v, null, N(b.value, (l) => (n(), p(s(
|
|
42
|
+
(n(!0), f(v, null, N(b.value, (l) => (n(), p(s(_), {
|
|
43
43
|
key: l.value,
|
|
44
44
|
variant: "primary-light",
|
|
45
45
|
size: "sm",
|
|
@@ -51,12 +51,12 @@ const A = ["onClick"], $ = /* @__PURE__ */ V({
|
|
|
51
51
|
class: "ml-1 cursor-pointer",
|
|
52
52
|
onClick: (c) => S(c, l.value)
|
|
53
53
|
}, [
|
|
54
|
-
|
|
55
|
-
], 8,
|
|
54
|
+
j(s(M), { class: "size-3.5" })
|
|
55
|
+
], 8, O)
|
|
56
56
|
]),
|
|
57
57
|
_: 2
|
|
58
58
|
}, 1024))), 128)),
|
|
59
|
-
g.value > 0 ? (n(), p(s(
|
|
59
|
+
g.value > 0 ? (n(), p(s(_), {
|
|
60
60
|
key: 0,
|
|
61
61
|
variant: "primary-light",
|
|
62
62
|
size: "sm",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as p, createBlock as c, openBlock as m, unref as e, mergeProps as d, withCtx as
|
|
1
|
+
import { defineComponent as p, createBlock as c, openBlock as m, unref as e, mergeProps as d, withCtx as u, renderSlot as f, normalizeProps as g, guardReactiveProps as P } from "vue";
|
|
2
2
|
import { reactiveOmit as _ } from "@vueuse/core";
|
|
3
|
-
import { useForwardPropsEmits as w, PaginationRoot as
|
|
4
|
-
import { cn as
|
|
5
|
-
const
|
|
3
|
+
import { useForwardPropsEmits as w, PaginationRoot as y } from "reka-ui";
|
|
4
|
+
import { cn as B } from "../lib/utils.js";
|
|
5
|
+
const k = /* @__PURE__ */ p({
|
|
6
6
|
__name: "Pagination",
|
|
7
7
|
props: {
|
|
8
8
|
page: {},
|
|
@@ -13,22 +13,22 @@ const v = /* @__PURE__ */ p({
|
|
|
13
13
|
disabled: { type: Boolean },
|
|
14
14
|
showEdges: { type: Boolean },
|
|
15
15
|
asChild: { type: Boolean },
|
|
16
|
-
as: {},
|
|
16
|
+
as: { type: [String, Object, Function] },
|
|
17
17
|
class: {}
|
|
18
18
|
},
|
|
19
19
|
emits: ["update:page"],
|
|
20
20
|
setup(o, { emit: a }) {
|
|
21
21
|
const t = o, s = a, r = _(t, "class"), n = w(r, s);
|
|
22
|
-
return (i,
|
|
23
|
-
class: e(
|
|
22
|
+
return (i, h) => (m(), c(e(y), d({ "data-slot": "pagination" }, e(n), {
|
|
23
|
+
class: e(B)("mx-auto flex w-full justify-center", t.class)
|
|
24
24
|
}), {
|
|
25
|
-
default:
|
|
26
|
-
|
|
25
|
+
default: u((l) => [
|
|
26
|
+
f(i.$slots, "default", g(P(l)))
|
|
27
27
|
]),
|
|
28
28
|
_: 3
|
|
29
29
|
}, 16, ["class"]));
|
|
30
30
|
}
|
|
31
31
|
});
|
|
32
32
|
export {
|
|
33
|
-
|
|
33
|
+
k as default
|
|
34
34
|
};
|