@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.
Files changed (266) hide show
  1. package/dist/accordion/Accordion.vue.js +7 -7
  2. package/dist/accordion/AccordionContent.vue.js +6 -6
  3. package/dist/accordion/AccordionItem.vue.js +8 -8
  4. package/dist/accordion/AccordionTrigger.vue.js +2 -2
  5. package/dist/alert-dialog/AlertDialogAction.vue.js +6 -6
  6. package/dist/alert-dialog/AlertDialogDescription.vue.js +1 -1
  7. package/dist/alert-dialog/AlertDialogTitle.vue.js +6 -6
  8. package/dist/alert-dialog/AlertDialogTrigger.vue.js +6 -6
  9. package/dist/assets/illustrations/renovabio/biomass.svg.js +2 -2
  10. package/dist/assets/illustrations/renovabio/volume.svg.js +2 -2
  11. package/dist/assets/illustrations/system/add-file.svg.js +2 -2
  12. package/dist/assets/illustrations/system/cloud-connection.svg.js +2 -2
  13. package/dist/assets/illustrations/system/cloud-download.svg.js +2 -2
  14. package/dist/assets/illustrations/system/cloud-upload.svg.js +2 -2
  15. package/dist/assets/illustrations/system/corrupted-file.svg.js +2 -2
  16. package/dist/assets/illustrations/system/dynamic-production.svg.js +2 -2
  17. package/dist/assets/illustrations/system/empty-box.svg.js +2 -2
  18. package/dist/assets/illustrations/system/empty-folder-2.svg.js +2 -2
  19. package/dist/assets/illustrations/system/empty-folder.svg.js +2 -2
  20. package/dist/assets/illustrations/system/empty.svg.js +2 -2
  21. package/dist/assets/illustrations/system/error-illustration.svg.js +2 -2
  22. package/dist/assets/illustrations/system/error.svg.js +2 -2
  23. package/dist/assets/illustrations/system/file-backup-2.svg.js +2 -2
  24. package/dist/assets/illustrations/system/file-backup.svg.js +2 -2
  25. package/dist/assets/illustrations/system/filtering-upload.svg.js +2 -2
  26. package/dist/assets/illustrations/system/flight.svg.js +2 -2
  27. package/dist/assets/illustrations/system/fly.svg.js +2 -2
  28. package/dist/assets/illustrations/system/movies.svg.js +2 -2
  29. package/dist/assets/illustrations/system/multimedia.svg.js +2 -2
  30. package/dist/assets/illustrations/system/notification-bell.svg.js +2 -2
  31. package/dist/assets/illustrations/system/page-2.svg.js +2 -2
  32. package/dist/assets/illustrations/system/page.svg.js +2 -2
  33. package/dist/assets/illustrations/system/photos.svg.js +2 -2
  34. package/dist/assets/illustrations/system/recycle-bin.svg.js +2 -2
  35. package/dist/assets/illustrations/system/rocket-launch.svg.js +2 -2
  36. package/dist/assets/illustrations/system/search-territory.svg.js +2 -2
  37. package/dist/assets/illustrations/system/signal.svg.js +2 -2
  38. package/dist/assets/illustrations/system/siren.svg.js +2 -2
  39. package/dist/assets/illustrations/system/wrong.svg.js +2 -2
  40. package/dist/assets/illustrations/tools/advanced-analysis.svg.js +2 -2
  41. package/dist/assets/illustrations/tools/agriculture.svg.js +2 -2
  42. package/dist/assets/illustrations/tools/alert-center.svg.js +2 -2
  43. package/dist/assets/illustrations/tools/area.svg.js +2 -2
  44. package/dist/assets/illustrations/tools/at-insights.svg.js +2 -2
  45. package/dist/assets/illustrations/tools/conservation-unit.svg.js +2 -2
  46. package/dist/assets/illustrations/tools/credit.svg.js +2 -2
  47. package/dist/assets/illustrations/tools/deforestation.svg.js +2 -2
  48. package/dist/assets/illustrations/tools/distance-proximity-rivers.svg.js +2 -2
  49. package/dist/assets/illustrations/tools/estimated-productivity-penalty.svg.js +2 -2
  50. package/dist/assets/illustrations/tools/extract.svg.js +2 -2
  51. package/dist/assets/illustrations/tools/farm.svg.js +2 -2
  52. package/dist/assets/illustrations/tools/geographical-consultation-municipalities.svg.js +2 -2
  53. package/dist/assets/illustrations/tools/gix.svg.js +2 -2
  54. package/dist/assets/illustrations/tools/inapto.svg.js +2 -2
  55. package/dist/assets/illustrations/tools/insurance.svg.js +2 -2
  56. package/dist/assets/illustrations/tools/land-appreciation.svg.js +2 -2
  57. package/dist/assets/illustrations/tools/lockdown.svg.js +2 -2
  58. package/dist/assets/illustrations/tools/map.svg.js +2 -2
  59. package/dist/assets/illustrations/tools/pasture.svg.js +2 -2
  60. package/dist/assets/illustrations/tools/rating-2.svg.js +2 -2
  61. package/dist/assets/illustrations/tools/rating.svg.js +2 -2
  62. package/dist/assets/illustrations/tools/recurrence.svg.js +2 -2
  63. package/dist/assets/illustrations/tools/refrigerators.svg.js +2 -2
  64. package/dist/assets/illustrations/tools/settings.svg.js +2 -2
  65. package/dist/assets/illustrations/tools/socio-environmental-analysis.svg.js +2 -2
  66. package/dist/assets/illustrations/tools/soil-use.svg.js +2 -2
  67. package/dist/assets/illustrations/tools/storm.svg.js +2 -2
  68. package/dist/assets/illustrations/tools/territory-details.svg.js +2 -2
  69. package/dist/assets/illustrations/tools/timeline.svg.js +2 -2
  70. package/dist/avatar/AvatarFallback.vue.js +9 -9
  71. package/dist/avatar/AvatarImage.vue.js +6 -6
  72. package/dist/badge/Badge.vue.js +12 -12
  73. package/dist/breadcrumb/BreadcrumbLink.vue.js +11 -11
  74. package/dist/breadcrumb/BreadcrumbSeparator.vue.js +1 -1
  75. package/dist/button/Button.vue.js +14 -14
  76. package/dist/button-new/ButtonNew.vue.js +26 -26
  77. package/dist/calendar/Calendar.vue.js +1 -1
  78. package/dist/calendar/CalendarCell.vue.js +3 -3
  79. package/dist/calendar/CalendarCellTrigger.vue.js +8 -8
  80. package/dist/calendar/CalendarGrid.vue.js +7 -7
  81. package/dist/calendar/CalendarGridBody.vue.js +5 -5
  82. package/dist/calendar/CalendarGridHead.vue.js +6 -6
  83. package/dist/calendar/CalendarGridRow.vue.js +10 -10
  84. package/dist/calendar/CalendarHeadCell.vue.js +8 -8
  85. package/dist/calendar/CalendarHeader.vue.js +10 -10
  86. package/dist/calendar/CalendarHeading.vue.js +16 -16
  87. package/dist/calendar/CalendarNextButton.vue.js +13 -13
  88. package/dist/calendar/CalendarPrevButton.vue.js +15 -15
  89. package/dist/card/Card.vue.js +16 -16
  90. package/dist/card/CardDescription.vue.js +7 -7
  91. package/dist/card/CardTitle.vue.js +7 -7
  92. package/dist/carousel/CarouselNext.vue.js +1 -1
  93. package/dist/carousel/CarouselPrevious.vue.js +1 -1
  94. package/dist/changelog/versions/components/index.d.ts.map +1 -1
  95. package/dist/changelog/versions/components/v2.0.35.d.ts.map +1 -1
  96. package/dist/changelog/versions/components/v2.0.36.d.ts +4 -0
  97. package/dist/changelog/versions/components/v2.0.36.d.ts.map +1 -0
  98. package/dist/changelog/versions/components/v2.0.37.d.ts +4 -0
  99. package/dist/changelog/versions/components/v2.0.37.d.ts.map +1 -0
  100. package/dist/checkbox/Checkbox.vue.js +9 -9
  101. package/dist/combobox/Combobox.vue.js +8 -8
  102. package/dist/combobox/ComboboxAnchor.vue.js +7 -7
  103. package/dist/combobox/ComboboxEmpty.vue.js +9 -9
  104. package/dist/combobox/ComboboxGroup.vue.js +12 -12
  105. package/dist/combobox/ComboboxInput.vue.js +3 -3
  106. package/dist/combobox/ComboboxItem.vue.js +9 -9
  107. package/dist/combobox/ComboboxItemIndicator.vue.js +9 -9
  108. package/dist/combobox/ComboboxList.vue.d.ts +12 -2
  109. package/dist/combobox/ComboboxList.vue.d.ts.map +1 -1
  110. package/dist/combobox/ComboboxList.vue.js +42 -30
  111. package/dist/combobox/ComboboxSeparator.vue.js +13 -13
  112. package/dist/combobox/ComboboxViewport.vue.js +7 -7
  113. package/dist/command/CommandEmpty.vue.js +9 -9
  114. package/dist/command/CommandGroup.vue.js +6 -6
  115. package/dist/command/CommandInput.vue.js +8 -8
  116. package/dist/command/CommandItem.vue.js +11 -11
  117. package/dist/command/CommandList.vue.js +9 -9
  118. package/dist/command/CommandSeparator.vue.js +10 -10
  119. package/dist/data-table/DataTable.vue.d.ts +0 -8
  120. package/dist/data-table/DataTable.vue.d.ts.map +1 -1
  121. package/dist/data-table/DataTable.vue.js +28 -31
  122. package/dist/date-picker/DatePicker.vue.js +1 -1
  123. package/dist/date-range-picker/DateRangePicker.vue.js +1 -1
  124. package/dist/dialog/DialogClose.vue.js +5 -5
  125. package/dist/dialog/DialogContent.vue.js +19 -18
  126. package/dist/dialog/DialogDescription.vue.js +7 -7
  127. package/dist/dialog/DialogOverlay.vue.js +8 -8
  128. package/dist/dialog/DialogScrollContent.vue.js +21 -20
  129. package/dist/dialog/DialogTitle.vue.js +8 -8
  130. package/dist/dialog/DialogTrigger.vue.js +7 -7
  131. package/dist/document-input/DocumentAutoComplete.vue.d.ts.map +1 -1
  132. package/dist/document-input/DocumentAutoComplete.vue.js +114 -110
  133. package/dist/dropdown-menu/DropdownMenuCheckboxItem.vue.js +9 -9
  134. package/dist/dropdown-menu/DropdownMenuContent.vue.d.ts +13 -2
  135. package/dist/dropdown-menu/DropdownMenuContent.vue.d.ts.map +1 -1
  136. package/dist/dropdown-menu/DropdownMenuContent.vue.js +42 -29
  137. package/dist/dropdown-menu/DropdownMenuGroup.vue.js +5 -5
  138. package/dist/dropdown-menu/DropdownMenuLabel.vue.js +11 -11
  139. package/dist/dropdown-menu/DropdownMenuRadioGroup.vue.js +9 -9
  140. package/dist/dropdown-menu/DropdownMenuRadioItem.vue.js +13 -13
  141. package/dist/dropdown-menu/DropdownMenuSeparator.vue.js +6 -6
  142. package/dist/dropdown-menu/DropdownMenuSubContent.vue.js +5 -5
  143. package/dist/dropdown-menu/DropdownMenuSubTrigger.vue.js +9 -9
  144. package/dist/dropdown-menu/DropdownMenuTrigger.vue.js +7 -7
  145. package/dist/index.css +1 -1
  146. package/dist/input/Input.vue.js +8 -8
  147. package/dist/label/Label.vue.js +5 -5
  148. package/dist/lib/utils.d.ts +1 -0
  149. package/dist/lib/utils.d.ts.map +1 -1
  150. package/dist/lib/utils.js +37 -8
  151. package/dist/multi-select/MultiSelectContent.vue.d.ts +3 -0
  152. package/dist/multi-select/MultiSelectContent.vue.d.ts.map +1 -1
  153. package/dist/multi-select/MultiSelectContent.vue.js +15 -15
  154. package/dist/multi-select/MultiSelectEmpty.vue.js +4 -4
  155. package/dist/multi-select/MultiSelectGroup.vue.js +9 -9
  156. package/dist/multi-select/MultiSelectItem.vue.js +14 -14
  157. package/dist/multi-select/MultiSelectLabel.vue.js +7 -7
  158. package/dist/multi-select/MultiSelectSeparator.vue.js +10 -10
  159. package/dist/multi-select/MultiSelectTrigger.vue.js +20 -20
  160. package/dist/multi-select/MultiSelectValue.vue.js +21 -21
  161. package/dist/pagination/Pagination.vue.js +10 -10
  162. package/dist/pagination/PaginationContent.vue.js +8 -8
  163. package/dist/pagination/PaginationEllipsis.vue.js +7 -7
  164. package/dist/pagination/PaginationFirst.vue.js +1 -1
  165. package/dist/pagination/PaginationLast.vue.js +1 -1
  166. package/dist/pagination/PaginationNext.vue.js +1 -1
  167. package/dist/pagination/PaginationPrevious.vue.js +1 -1
  168. package/dist/popover/PopoverAnchor.vue.js +6 -6
  169. package/dist/popover/PopoverContent.vue.d.ts +12 -2
  170. package/dist/popover/PopoverContent.vue.d.ts.map +1 -1
  171. package/dist/popover/PopoverContent.vue.js +41 -29
  172. package/dist/popover/PopoverTrigger.vue.js +8 -8
  173. package/dist/radio-group/RadioGroup.vue.js +12 -12
  174. package/dist/radio-group/RadioGroupItem.vue.js +10 -10
  175. package/dist/range-calendar/RangeCalendar.vue.js +1 -1
  176. package/dist/range-calendar/RangeCalendarCell.vue.js +5 -5
  177. package/dist/range-calendar/RangeCalendarCellTrigger.vue.js +5 -5
  178. package/dist/range-calendar/RangeCalendarGrid.vue.js +7 -7
  179. package/dist/range-calendar/RangeCalendarGridBody.vue.js +6 -6
  180. package/dist/range-calendar/RangeCalendarGridHead.vue.js +6 -6
  181. package/dist/range-calendar/RangeCalendarGridRow.vue.js +7 -7
  182. package/dist/range-calendar/RangeCalendarHeadCell.vue.js +9 -9
  183. package/dist/range-calendar/RangeCalendarHeader.vue.js +11 -11
  184. package/dist/range-calendar/RangeCalendarHeading.vue.js +15 -15
  185. package/dist/range-calendar/RangeCalendarNextButton.vue.js +10 -10
  186. package/dist/range-calendar/RangeCalendarPrevButton.vue.js +11 -11
  187. package/dist/select/SelectContent.vue.d.ts +13 -2
  188. package/dist/select/SelectContent.vue.d.ts.map +1 -1
  189. package/dist/select/SelectContent.vue.js +56 -44
  190. package/dist/select/SelectGroup.vue.js +8 -8
  191. package/dist/select/SelectItem.vue.js +10 -10
  192. package/dist/select/SelectItemText.vue.js +7 -7
  193. package/dist/select/SelectLabel.vue.js +5 -5
  194. package/dist/select/SelectScrollDownButton.vue.js +13 -13
  195. package/dist/select/SelectScrollUpButton.vue.js +14 -14
  196. package/dist/select/SelectSeparator.vue.js +9 -9
  197. package/dist/select/SelectTrigger.vue.js +2 -2
  198. package/dist/select/SelectValue.vue.js +6 -6
  199. package/dist/sheet/SheetClose.vue.js +8 -8
  200. package/dist/sheet/SheetContent.vue.d.ts +3 -0
  201. package/dist/sheet/SheetContent.vue.d.ts.map +1 -1
  202. package/dist/sheet/SheetContent.vue.js +29 -30
  203. package/dist/sheet/SheetDescription.vue.js +9 -9
  204. package/dist/sheet/SheetFooter.vue.js +3 -3
  205. package/dist/sheet/SheetOverlay.vue.js +6 -6
  206. package/dist/sheet/SheetTitle.vue.js +8 -8
  207. package/dist/sheet/SheetTrigger.vue.js +8 -8
  208. package/dist/sheet/sheetContent.variants.d.ts +6 -0
  209. package/dist/sheet/sheetContent.variants.d.ts.map +1 -0
  210. package/dist/sheet/sheetContent.variants.js +20 -0
  211. package/dist/sidebar/Sidebar.vue.js +2 -2
  212. package/dist/sidebar/SidebarGroupAction.vue.js +10 -10
  213. package/dist/sidebar/SidebarGroupLabel.vue.js +11 -11
  214. package/dist/sidebar/SidebarMenuAction.vue.js +1 -1
  215. package/dist/sidebar/SidebarMenuButton.vue.js +17 -17
  216. package/dist/sidebar/SidebarMenuButtonChild.vue.js +8 -8
  217. package/dist/sidebar/SidebarMenuSubButton.vue.js +7 -7
  218. package/dist/sonner/Toast.vue.js +5 -5
  219. package/dist/stepper/StepperDescription.vue.js +9 -9
  220. package/dist/stepper/StepperIndicator.vue.js +6 -6
  221. package/dist/stepper/StepperItem.vue.js +7 -7
  222. package/dist/stepper/StepperSeparator.vue.js +3 -3
  223. package/dist/stepper/StepperTitle.vue.js +7 -7
  224. package/dist/stepper/StepperTrigger.vue.js +5 -5
  225. package/dist/switch/Switch.vue.js +8 -8
  226. package/dist/tabs/Tabs.vue.js +10 -10
  227. package/dist/tabs/TabsContent.vue.js +6 -6
  228. package/dist/tabs/TabsList.vue.js +5 -5
  229. package/dist/tabs/TabsTrigger.vue.js +9 -9
  230. package/dist/tag/Tag.vue.js +13 -13
  231. package/dist/time-picker/TimePicker.vue.js +2 -2
  232. package/dist/tooltip/TooltipTrigger.vue.js +8 -8
  233. package/dist/upload/UploadContent.vue.js +12 -12
  234. package/dist/upload/UploadContentDescription.vue.js +8 -8
  235. package/dist/upload/UploadContentLoadingDescription.vue.js +9 -9
  236. package/dist/upload/UploadContentSuccessDescription.vue.js +7 -7
  237. package/dist/upload/UploadContentTitle.vue.js +5 -5
  238. package/dist/upload/UploadFileItem.vue.js +7 -7
  239. package/dist/upload/UploadRoot.vue.js +28 -28
  240. package/package.json +1 -1
  241. /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
  242. /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
  243. /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
  244. /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
  245. /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
  246. /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
  247. /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
  248. /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
  249. /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
  250. /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
  251. /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
  252. /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
  253. /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
  254. /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
  255. /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
  256. /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
  257. /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
  258. /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
  259. /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
  260. /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
  261. /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
  262. /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
  263. /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
  264. /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
  265. /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
  266. /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
@@ -1,26 +1,26 @@
1
- import { defineComponent as n, 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";
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 M = /* @__PURE__ */ n({
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: l }) {
16
- const e = a, r = x(e, "modelValue", l, {
15
+ setup(a, { emit: i }) {
16
+ const e = a, r = x(e, "modelValue", i, {
17
17
  passive: !0,
18
18
  defaultValue: e.defaultValue
19
- }), i = V(e, "class", "modelValue", "defaultValue"), s = h(i);
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] = (d) => g(r) ? r.value = d : null),
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
- M as default
42
+ F as default
43
43
  };
@@ -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(a) {
14
- const t = a, o = i(t, "class");
15
- return (r, u) => (n(), l(e(m), d({ "data-slot": "label" }, e(o), {
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(r.$slots, "default")
22
+ c(a.$slots, "default")
23
23
  ]),
24
24
  _: 3
25
25
  }, 16, ["class"]));
@@ -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
@@ -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 o } from "clsx";
1
+ import { clsx as m } from "clsx";
2
2
  import { twMerge as c } from "tailwind-merge";
3
- function g(...r) {
4
- return c(o(r));
3
+ function d(...t) {
4
+ return c(m(t));
5
5
  }
6
- function i(r, e, t) {
7
- const n = t - e + 1;
8
- return (r - e + n) % n + e;
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
- g as cn,
12
- i as cycleInRange
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":"AAuDA,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;AA8BD,iBAAS,cAAc;WAuET,OAAO,IAA6B;;yBAVpB,GAAG;;;;EAehC;AAiBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;kBA9HJ,OAAO;4BACG,MAAM;6EAqI/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
+ {"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 m, unref as e, mergeProps as f, withCtx as t, createVNode as a, renderSlot as h } from "vue";
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: "center" },
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(l, { emit: n }) {
41
- const r = l, s = n, i = O(), c = y(r, "class"), d = _(c, s);
42
- return (o, C) => (m(), u(e(w), f({ "data-slot": "multi-select-content" }, { ...e(d), ...o.$attrs }, {
43
- class: e(g)("w-(--reka-popover-trigger-width) p-2", !e(i).open.value && "hidden!"),
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: t(() => [
46
+ default: o(() => [
47
47
  a(e(B), {
48
- "model-value": e(i).modelValue.value,
48
+ "model-value": e(l).modelValue.value,
49
49
  "highlight-on-hover": ""
50
50
  }, {
51
- default: t(() => [
52
- a(e(P), { placeholder: o.searchInputPlaceholder }, null, 8, ["placeholder"]),
51
+ default: o(() => [
52
+ a(e(P), { placeholder: t.searchInputPlaceholder }, null, 8, ["placeholder"]),
53
53
  a(e(v), { class: "mt-2" }, {
54
- default: t(() => [
55
- h(o.$slots, "default")
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 a, openBlock as s, unref as n, normalizeProps as p, guardReactiveProps as l, withCtx as c, renderSlot as i } from "vue";
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, f) => (s(), a(n(m), p(l(t)), {
13
- default: c(() => [
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 s, unref as o, mergeProps as i, withCtx as n, renderSlot as c } from "vue";
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 g = /* @__PURE__ */ a({
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(t) {
12
- const r = t, e = u(void 0, "at-multi-select-group");
13
- return d({ id: e }), (l, f) => (s(), p(o(m), i({
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": o(e) }), {
17
- default: n(() => [
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
- g as default
25
+ C as default
26
26
  };
@@ -1,23 +1,23 @@
1
- import { defineComponent as y, 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 B, withCtx as c, renderSlot as p, createVNode as v, nextTick as I } from "vue";
2
- import { reactiveOmit as M } from "@vueuse/core";
3
- import { useForwardExpose as O, useForwardPropsEmits as R, useId as z, Primitive as F } from "reka-ui";
4
- import { cn as T } from "../lib/utils.js";
5
- import j from "../checkbox/Checkbox.vue.js";
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__ */ y({
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 } = O(), _ = M(t, "class", "textValue", "value"), C = R(_, s), r = P(t.textValue ?? ""), i = z(void 0, "at-multi-select-item-text"), u = m(
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 I(), s("select", e), !e.defaultPrevented && (b.value || a.onValueChange(t.value));
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), B({ ...e.$attrs, ...o(C) }, {
40
+ }), (e, l) => (E(), k(o(A), O({ ...e.$attrs, ...o(C) }, {
41
41
  role: "option",
42
- class: o(T)(
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] = (w) => S(w))
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(j), { "model-value": u.value }, null, 8, ["model-value"])
52
+ v(o(T), { "model-value": u.value }, null, 8, ["model-value"])
53
53
  ]),
54
- v(o(F), {
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 l, createBlock as i, openBlock as n, unref as t, mergeProps as p, withCtx as a, renderSlot as c } from "vue";
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 B = /* @__PURE__ */ l({
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 (s, u) => (n(), i(t(m), p(e, {
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: a(() => [
20
- c(s.$slots, "default")
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
- B as default
27
+ b as default
28
28
  };
@@ -1,20 +1,20 @@
1
- import { defineComponent as s, createBlock as a, openBlock as n, unref as r, mergeProps as p, withCtx as l, renderSlot as c } from "vue";
2
- import { Primitive as i } from "reka-ui";
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__ */ s({
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(t) {
12
- const e = t;
13
- return (o, d) => (n(), a(r(i), p({ "aria-hidden": "true" }, e, {
14
- class: r(m)("bg-border pointer-events-none -mx-1 my-1 h-px", e.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: l(() => [
17
- c(o.$slots, "default")
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 a, mergeProps as b, withCtx as m, renderSlot as f, createElementVNode as r, createElementBlock as v, createCommentVNode as g, createVNode as i } from "vue";
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 C } from "./contexts.js";
5
- import y from "../node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/x.js";
6
- import w from "../node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/chevron-down.js";
7
- const k = { class: "inline-flex gap-1" }, _ = { "aria-hidden": "true" }, j = /* @__PURE__ */ p({
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(d) {
17
- const n = d, t = C();
16
+ setup(n) {
17
+ const d = n, a = y();
18
18
  function c(e) {
19
- e.stopPropagation(), t.clear();
19
+ e.stopPropagation(), a.clear();
20
20
  }
21
21
  return (e, B) => {
22
22
  var o, s;
23
- return l(), u(a(x), b({
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: a(h)(
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
- n.class
37
+ d.class
38
38
  ),
39
- disabled: ((o = a(t).disabled) == null ? void 0 : o.value) || e.disabled,
40
- "aria-expanded": a(t).open.value || !1,
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(t).open.value ? "open" : "closed",
43
- "data-disabled": (s = a(t).disabled) != null && s.value || e.disabled ? "" : void 0
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(t).isEmptyModelValue.value ? g("", !0) : (l(), v("button", {
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(a(y), { class: "size-5" })
53
+ i(t(C), { class: "size-5" })
54
54
  ])),
55
55
  r("span", _, [
56
- i(a(w), { class: "size-5 text-gray-800" })
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
- j as default
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 w } from "vue";
2
- import { Primitive as E } from "reka-ui";
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 M } from "./contexts.js";
5
- import { valueComparator as P } from "./utils.js";
6
- import k from "../tag/Tag.vue.js";
7
- import j from "../node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/x.js";
8
- const A = ["onClick"], $ = /* @__PURE__ */ V({
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(y) {
17
- const r = y, u = M(), t = m(() => {
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 = (a) => c.find((o) => P(a, o.value));
22
- return l = e.map((a) => {
23
- var o, _;
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: ((o = x(a)) == null ? void 0 : o.textContent) ?? "",
26
- value: (_ = x(a)) == null ? void 0 : _.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: a, label: o }) => a && o);
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(E), {
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(k), {
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
- w(s(j), { class: "size-3.5" })
55
- ], 8, A)
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(k), {
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 f, renderSlot as u, normalizeProps as g, guardReactiveProps as P } from "vue";
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 B } from "reka-ui";
4
- import { cn as h } from "../lib/utils.js";
5
- const v = /* @__PURE__ */ p({
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, x) => (m(), c(e(B), d({ "data-slot": "pagination" }, e(n), {
23
- class: e(h)("mx-auto flex w-full justify-center", t.class)
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: f((l) => [
26
- u(i.$slots, "default", g(P(l)))
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
- v as default
33
+ k as default
34
34
  };