@agrotools1/at-components 2.0.36 → 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 (257) 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.37.d.ts +4 -0
  96. package/dist/changelog/versions/components/v2.0.37.d.ts.map +1 -0
  97. package/dist/checkbox/Checkbox.vue.js +9 -9
  98. package/dist/combobox/Combobox.vue.js +8 -8
  99. package/dist/combobox/ComboboxAnchor.vue.js +7 -7
  100. package/dist/combobox/ComboboxEmpty.vue.js +9 -9
  101. package/dist/combobox/ComboboxGroup.vue.js +12 -12
  102. package/dist/combobox/ComboboxInput.vue.js +3 -3
  103. package/dist/combobox/ComboboxItem.vue.js +9 -9
  104. package/dist/combobox/ComboboxItemIndicator.vue.js +9 -9
  105. package/dist/combobox/ComboboxList.vue.d.ts +9 -3
  106. package/dist/combobox/ComboboxList.vue.d.ts.map +1 -1
  107. package/dist/combobox/ComboboxList.vue.js +31 -22
  108. package/dist/combobox/ComboboxSeparator.vue.js +13 -13
  109. package/dist/combobox/ComboboxViewport.vue.js +7 -7
  110. package/dist/command/CommandEmpty.vue.js +9 -9
  111. package/dist/command/CommandGroup.vue.js +6 -6
  112. package/dist/command/CommandInput.vue.js +8 -8
  113. package/dist/command/CommandItem.vue.js +11 -11
  114. package/dist/command/CommandList.vue.js +9 -9
  115. package/dist/command/CommandSeparator.vue.js +10 -10
  116. package/dist/data-table/DataTable.vue.js +1 -1
  117. package/dist/date-picker/DatePicker.vue.js +1 -1
  118. package/dist/date-range-picker/DateRangePicker.vue.js +1 -1
  119. package/dist/dialog/DialogClose.vue.js +5 -5
  120. package/dist/dialog/DialogContent.vue.js +19 -18
  121. package/dist/dialog/DialogDescription.vue.js +7 -7
  122. package/dist/dialog/DialogOverlay.vue.js +8 -8
  123. package/dist/dialog/DialogScrollContent.vue.js +21 -20
  124. package/dist/dialog/DialogTitle.vue.js +8 -8
  125. package/dist/dialog/DialogTrigger.vue.js +7 -7
  126. package/dist/document-input/DocumentAutoComplete.vue.d.ts.map +1 -1
  127. package/dist/document-input/DocumentAutoComplete.vue.js +113 -108
  128. package/dist/dropdown-menu/DropdownMenuCheckboxItem.vue.js +9 -9
  129. package/dist/dropdown-menu/DropdownMenuContent.vue.d.ts +10 -3
  130. package/dist/dropdown-menu/DropdownMenuContent.vue.d.ts.map +1 -1
  131. package/dist/dropdown-menu/DropdownMenuContent.vue.js +31 -21
  132. package/dist/dropdown-menu/DropdownMenuGroup.vue.js +5 -5
  133. package/dist/dropdown-menu/DropdownMenuLabel.vue.js +11 -11
  134. package/dist/dropdown-menu/DropdownMenuRadioGroup.vue.js +9 -9
  135. package/dist/dropdown-menu/DropdownMenuRadioItem.vue.js +13 -13
  136. package/dist/dropdown-menu/DropdownMenuSeparator.vue.js +6 -6
  137. package/dist/dropdown-menu/DropdownMenuSubContent.vue.js +5 -5
  138. package/dist/dropdown-menu/DropdownMenuSubTrigger.vue.js +9 -9
  139. package/dist/dropdown-menu/DropdownMenuTrigger.vue.js +7 -7
  140. package/dist/index.css +1 -1
  141. package/dist/input/Input.vue.js +8 -8
  142. package/dist/label/Label.vue.js +5 -5
  143. package/dist/lib/utils.d.ts +1 -0
  144. package/dist/lib/utils.d.ts.map +1 -1
  145. package/dist/lib/utils.js +37 -8
  146. package/dist/multi-select/MultiSelectContent.vue.d.ts +3 -0
  147. package/dist/multi-select/MultiSelectContent.vue.d.ts.map +1 -1
  148. package/dist/multi-select/MultiSelectContent.vue.js +15 -15
  149. package/dist/multi-select/MultiSelectEmpty.vue.js +4 -4
  150. package/dist/multi-select/MultiSelectGroup.vue.js +9 -9
  151. package/dist/multi-select/MultiSelectItem.vue.js +14 -14
  152. package/dist/multi-select/MultiSelectLabel.vue.js +7 -7
  153. package/dist/multi-select/MultiSelectSeparator.vue.js +10 -10
  154. package/dist/multi-select/MultiSelectTrigger.vue.js +20 -20
  155. package/dist/multi-select/MultiSelectValue.vue.js +21 -21
  156. package/dist/pagination/Pagination.vue.js +10 -10
  157. package/dist/pagination/PaginationContent.vue.js +8 -8
  158. package/dist/pagination/PaginationEllipsis.vue.js +7 -7
  159. package/dist/pagination/PaginationFirst.vue.js +1 -1
  160. package/dist/pagination/PaginationLast.vue.js +1 -1
  161. package/dist/pagination/PaginationNext.vue.js +1 -1
  162. package/dist/pagination/PaginationPrevious.vue.js +1 -1
  163. package/dist/popover/PopoverAnchor.vue.js +6 -6
  164. package/dist/popover/PopoverContent.vue.d.ts +8 -2
  165. package/dist/popover/PopoverContent.vue.d.ts.map +1 -1
  166. package/dist/popover/PopoverContent.vue.js +32 -23
  167. package/dist/popover/PopoverTrigger.vue.js +8 -8
  168. package/dist/radio-group/RadioGroup.vue.js +12 -12
  169. package/dist/radio-group/RadioGroupItem.vue.js +10 -10
  170. package/dist/range-calendar/RangeCalendar.vue.js +1 -1
  171. package/dist/range-calendar/RangeCalendarCell.vue.js +5 -5
  172. package/dist/range-calendar/RangeCalendarCellTrigger.vue.js +5 -5
  173. package/dist/range-calendar/RangeCalendarGrid.vue.js +7 -7
  174. package/dist/range-calendar/RangeCalendarGridBody.vue.js +6 -6
  175. package/dist/range-calendar/RangeCalendarGridHead.vue.js +6 -6
  176. package/dist/range-calendar/RangeCalendarGridRow.vue.js +7 -7
  177. package/dist/range-calendar/RangeCalendarHeadCell.vue.js +9 -9
  178. package/dist/range-calendar/RangeCalendarHeader.vue.js +11 -11
  179. package/dist/range-calendar/RangeCalendarHeading.vue.js +15 -15
  180. package/dist/range-calendar/RangeCalendarNextButton.vue.js +10 -10
  181. package/dist/range-calendar/RangeCalendarPrevButton.vue.js +11 -11
  182. package/dist/select/SelectContent.vue.d.ts +9 -2
  183. package/dist/select/SelectContent.vue.d.ts.map +1 -1
  184. package/dist/select/SelectContent.vue.js +42 -33
  185. package/dist/select/SelectGroup.vue.js +8 -8
  186. package/dist/select/SelectItem.vue.js +10 -10
  187. package/dist/select/SelectItemText.vue.js +7 -7
  188. package/dist/select/SelectLabel.vue.js +5 -5
  189. package/dist/select/SelectScrollDownButton.vue.js +13 -13
  190. package/dist/select/SelectScrollUpButton.vue.js +14 -14
  191. package/dist/select/SelectSeparator.vue.js +9 -9
  192. package/dist/select/SelectTrigger.vue.js +2 -2
  193. package/dist/select/SelectValue.vue.js +6 -6
  194. package/dist/sheet/SheetClose.vue.js +8 -8
  195. package/dist/sheet/SheetContent.vue.d.ts +3 -0
  196. package/dist/sheet/SheetContent.vue.d.ts.map +1 -1
  197. package/dist/sheet/SheetContent.vue.js +26 -21
  198. package/dist/sheet/SheetDescription.vue.js +9 -9
  199. package/dist/sheet/SheetOverlay.vue.js +6 -6
  200. package/dist/sheet/SheetTitle.vue.js +8 -8
  201. package/dist/sheet/SheetTrigger.vue.js +8 -8
  202. package/dist/sidebar/Sidebar.vue.js +2 -2
  203. package/dist/sidebar/SidebarGroupAction.vue.js +10 -10
  204. package/dist/sidebar/SidebarGroupLabel.vue.js +11 -11
  205. package/dist/sidebar/SidebarMenuAction.vue.js +1 -1
  206. package/dist/sidebar/SidebarMenuButton.vue.js +17 -17
  207. package/dist/sidebar/SidebarMenuButtonChild.vue.js +8 -8
  208. package/dist/sidebar/SidebarMenuSubButton.vue.js +7 -7
  209. package/dist/sonner/Toast.vue.js +5 -5
  210. package/dist/stepper/StepperDescription.vue.js +9 -9
  211. package/dist/stepper/StepperIndicator.vue.js +6 -6
  212. package/dist/stepper/StepperItem.vue.js +7 -7
  213. package/dist/stepper/StepperSeparator.vue.js +3 -3
  214. package/dist/stepper/StepperTitle.vue.js +7 -7
  215. package/dist/stepper/StepperTrigger.vue.js +5 -5
  216. package/dist/switch/Switch.vue.js +8 -8
  217. package/dist/tabs/Tabs.vue.js +10 -10
  218. package/dist/tabs/TabsContent.vue.js +6 -6
  219. package/dist/tabs/TabsList.vue.js +5 -5
  220. package/dist/tabs/TabsTrigger.vue.js +9 -9
  221. package/dist/tag/Tag.vue.js +13 -13
  222. package/dist/time-picker/TimePicker.vue.js +2 -2
  223. package/dist/tooltip/TooltipTrigger.vue.js +8 -8
  224. package/dist/upload/UploadContent.vue.js +12 -12
  225. package/dist/upload/UploadContentDescription.vue.js +8 -8
  226. package/dist/upload/UploadContentLoadingDescription.vue.js +9 -9
  227. package/dist/upload/UploadContentSuccessDescription.vue.js +7 -7
  228. package/dist/upload/UploadContentTitle.vue.js +5 -5
  229. package/dist/upload/UploadFileItem.vue.js +7 -7
  230. package/dist/upload/UploadRoot.vue.js +28 -28
  231. package/package.json +1 -1
  232. /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
  233. /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
  234. /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
  235. /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
  236. /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
  237. /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
  238. /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
  239. /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
  240. /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
  241. /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
  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/icons/chevron-right.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/icons/chevron-up.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/icons/chevrons-left.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/chevrons-right.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/circle-check.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/circle-x.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/circle.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/ellipsis.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/info.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/loader-circle.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/search.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/triangle-alert.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/triangle.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/x.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/shared/src/utils.js +0 -0
  257. /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,27 +1,27 @@
1
- import { defineComponent as ie, useId as ue, ref as v, watch as ce, computed as U, createElementBlock as g, openBlock as i, normalizeClass as S, unref as a, createBlock as T, createCommentVNode as y, createVNode as d, withCtx as m, createTextVNode as Z, toDisplayString as k, mergeProps as pe, createElementVNode as _, renderSlot as A, withModifiers as q, withDirectives as de, Fragment as fe, renderList as me, vShow as he, nextTick as z } from "vue";
2
- import { cn as F } from "../lib/utils.js";
3
- import { AtCheckCircleRegularIcon as ge } from "../packages/at-icons/dist/AtCheckCircleRegularIcon/index.js";
4
- import { AtCheckSolidIcon as ye } from "../packages/at-icons/dist/AtCheckSolidIcon/index.js";
5
- import { AtCircleXMarkRegularIcon as ve } from "../packages/at-icons/dist/AtCircleXMarkRegularIcon/index.js";
1
+ import { defineComponent as ue, useId as ce, ref as v, watch as pe, computed as U, createElementBlock as g, openBlock as i, normalizeClass as S, unref as o, createBlock as T, createCommentVNode as y, createVNode as d, withCtx as m, createTextVNode as z, toDisplayString as A, mergeProps as de, createElementVNode as _, renderSlot as k, withModifiers as O, withDirectives as fe, Fragment as me, renderList as he, vShow as ge, nextTick as D } from "vue";
2
+ import { cn as E } from "../lib/utils.js";
3
+ import { AtCheckCircleRegularIcon as ye } from "../packages/at-icons/dist/AtCheckCircleRegularIcon/index.js";
4
+ import { AtCheckSolidIcon as ve } from "../packages/at-icons/dist/AtCheckSolidIcon/index.js";
5
+ import { AtCircleXMarkRegularIcon as Te } from "../packages/at-icons/dist/AtCircleXMarkRegularIcon/index.js";
6
6
  import { AtCircleXMarkSolidIcon as R } from "../packages/at-icons/dist/AtCircleXMarkSolidIcon/index.js";
7
- import { reactiveOmit as Te } from "@vueuse/core";
7
+ import { reactiveOmit as Ae } from "@vueuse/core";
8
8
  import { useForwardPropsEmits as ke } from "reka-ui";
9
- import Ae from "../combobox/Combobox.vue.js";
10
- import xe from "../combobox/ComboboxAnchor.vue.js";
11
- import we from "../combobox/ComboboxEmpty.vue.js";
12
- import Ce from "../combobox/ComboboxGroup.vue.js";
13
- import Ve from "../combobox/ComboboxInput.vue.js";
14
- import be from "../combobox/ComboboxItem.vue.js";
15
- import _e from "../combobox/ComboboxItemIndicator.vue.js";
16
- import Ie from "../combobox/ComboboxList.vue.js";
9
+ import xe from "../combobox/Combobox.vue.js";
10
+ import we from "../combobox/ComboboxAnchor.vue.js";
11
+ import Ce from "../combobox/ComboboxEmpty.vue.js";
12
+ import Ve from "../combobox/ComboboxGroup.vue.js";
13
+ import be from "../combobox/ComboboxInput.vue.js";
14
+ import _e from "../combobox/ComboboxItem.vue.js";
15
+ import Ie from "../combobox/ComboboxItemIndicator.vue.js";
16
+ import Me from "../combobox/ComboboxList.vue.js";
17
17
  import $e from "../combobox/ComboboxViewport.vue.js";
18
- import Me from "../label/Label.vue.js";
19
- import { isValidCpf as x, isValidCnpj as w, applyCpfMask as O, applyCnpjMask as X } from "./utils.js";
20
- import je 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/loader-circle.js";
21
- const Be = { key: 0 }, Ue = { class: "relative flex items-center" }, Se = {
18
+ import je from "../label/Label.vue.js";
19
+ import { isValidCpf as x, isValidCnpj as w, applyCpfMask as X, applyCnpjMask as H } from "./utils.js";
20
+ import Be 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/loader-circle.js";
21
+ const Ue = { key: 0 }, Se = { class: "relative flex items-center" }, Ze = {
22
22
  key: 0,
23
23
  class: "py-6 flex items-center justify-center text-sm text-gray-500"
24
- }, Ze = { class: "flex items-center gap-2" }, rt = /* @__PURE__ */ ie({
24
+ }, ze = { class: "flex items-center gap-2" }, at = /* @__PURE__ */ ue({
25
25
  __name: "DocumentAutoComplete",
26
26
  props: {
27
27
  id: {},
@@ -51,8 +51,13 @@ const Be = { key: 0 }, Ue = { class: "relative flex items-center" }, Se = {
51
51
  withClearIcon: { type: Boolean, default: !0 }
52
52
  },
53
53
  emits: ["update:modelValue", "update:searchTerm", "select", "validate", "blur", "focus", "clear"],
54
- setup(H, { emit: J }) {
55
- const e = H, o = J, C = e.id || ue(), G = `error-${C}`, K = `desc-${C}`, Q = Te(
54
+ setup(J, { emit: G }) {
55
+ var P;
56
+ const e = J, a = G, C = e.id || ce(), K = `error-${C}`, Q = `desc-${C}`;
57
+ typeof process < "u" && ((P = process.env) == null ? void 0 : P.NODE_ENV) !== "production" && e.documentType !== "generic" && e.customMask && console.warn(
58
+ '[AgtDocumentAutoComplete] A propriedade customMask é ignorada quando o documentType não é "generic".'
59
+ );
60
+ const W = Ae(
56
61
  e,
57
62
  "modelValue",
58
63
  "documentType",
@@ -75,8 +80,8 @@ const Be = { key: 0 }, Ue = { class: "relative flex items-center" }, Se = {
75
80
  "notFoundText",
76
81
  "loadingText",
77
82
  "optionId"
78
- ), W = ke(Q, o), s = v(""), V = v(!1), I = v(!1), E = v(!1), $ = v(null), M = v(e.modelValue);
79
- function Y(t, l) {
83
+ ), Y = ke(W, a), s = v(""), V = v(!1), I = v(!1), F = v(!1), M = v(null), $ = v(e.modelValue);
84
+ function ee(t, l) {
80
85
  if (!l) return t;
81
86
  const r = t.replace(/[^0-9A-Za-z]/g, "");
82
87
  if (!r) return "";
@@ -87,13 +92,13 @@ const Be = { key: 0 }, Ue = { class: "relative flex items-center" }, Se = {
87
92
  }
88
93
  return f;
89
94
  }
90
- function L(t) {
95
+ function N(t) {
91
96
  if (e.customMask && e.documentType === "generic")
92
- return Y(t, e.customMask);
97
+ return ee(t, e.customMask);
93
98
  const l = /[A-Z]/i.test(t);
94
- return e.documentType === "cpf" ? O(t) : e.documentType === "cnpj" ? X(t, e.allowAlpha) : e.documentType === "cpf-cnpj" ? e.allowAlpha && l || t.length > 11 ? X(t, e.allowAlpha) : O(t) : t;
99
+ return e.documentType === "cpf" ? X(t) : e.documentType === "cnpj" ? H(t, e.allowAlpha) : e.documentType === "cpf-cnpj" ? e.allowAlpha && l || t.length > 11 ? H(t, e.allowAlpha) : X(t) : t;
95
100
  }
96
- const P = (t) => {
101
+ const L = (t) => {
97
102
  if (!t) return s.value || "";
98
103
  if (e.documentType === "custom")
99
104
  return typeof t == "string" ? t : t.text || t.label || t.identifier || t.value || "";
@@ -102,27 +107,27 @@ const Be = { key: 0 }, Ue = { class: "relative flex items-center" }, Se = {
102
107
  e.documentType === "generic" && e.customMask || e.allowAlpha ? /[^A-Z0-9]/gi : /[^0-9]/g,
103
108
  ""
104
109
  );
105
- return L(l);
110
+ return N(l);
106
111
  }
107
112
  return t.text || t.label || t.identifier || t.value || "";
108
113
  };
109
- ce(
114
+ pe(
110
115
  () => e.modelValue,
111
116
  (t) => {
112
- if (M.value = t, t == null || t === "") {
113
- s.value !== "" && (s.value = ""), M.value = void 0;
117
+ if ($.value = t, t == null || t === "") {
118
+ s.value !== "" && (s.value = ""), $.value = void 0;
114
119
  return;
115
120
  }
116
- const l = P(t);
121
+ const l = L(t);
117
122
  s.value !== l && (s.value = l);
118
123
  },
119
124
  { immediate: !0 }
120
125
  );
121
- const ee = U(() => {
126
+ const te = U(() => {
122
127
  if (e.maxLength) return e.maxLength;
123
128
  if (e.documentType !== "custom")
124
129
  return e.customMask && e.documentType === "generic" ? e.customMask.length : e.documentType === "cpf" ? 14 : 18;
125
- }), te = U(() => {
130
+ }), le = U(() => {
126
131
  switch (e.documentType) {
127
132
  case "cnpj":
128
133
  return e.allowAlpha ? "AA.AAA.AAA/AAAA-DV" : "00.000.000/0000-00";
@@ -141,7 +146,7 @@ const Be = { key: 0 }, Ue = { class: "relative flex items-center" }, Se = {
141
146
  if (!t || I.value) return !1;
142
147
  const r = (typeof t == "string" ? t : t.identifier || t.value || "").replace(/[^A-Z0-9]/gi, "");
143
148
  if (!r) return !1;
144
- if (r.length === 11 && !x(r) || r.length === 14 && !w(r) || E.value && (e.documentType === "cpf" && r.length !== 11 || e.documentType === "cnpj" && r.length !== 14 || e.documentType === "cpf-cnpj" && r.length !== 11 && r.length !== 14))
149
+ if (r.length === 11 && !x(r) || r.length === 14 && !w(r) || F.value && (e.documentType === "cpf" && r.length !== 11 || e.documentType === "cnpj" && r.length !== 14 || e.documentType === "cpf-cnpj" && r.length !== 11 && r.length !== 14))
145
150
  return !0;
146
151
  }
147
152
  return !1;
@@ -160,20 +165,20 @@ const Be = { key: 0 }, Ue = { class: "relative flex items-center" }, Se = {
160
165
  }
161
166
  return !1;
162
167
  });
163
- function D(t) {
168
+ function Z(t) {
164
169
  if (e.documentType === "custom") {
165
- o("validate", !!t);
170
+ a("validate", !!t);
166
171
  return;
167
172
  }
168
173
  let l = !1;
169
- e.documentType === "cpf" ? l = x(t) : e.documentType === "cnpj" ? l = w(t) : e.documentType === "cpf-cnpj" && (l = t.length === 11 ? x(t) : w(t)), o("validate", l);
174
+ e.documentType === "cpf" ? l = x(t) : e.documentType === "cnpj" ? l = w(t) : e.documentType === "cpf-cnpj" && (l = t.length === 11 ? x(t) : w(t)), a("validate", l);
170
175
  }
171
- function le(t) {
176
+ function re(t) {
172
177
  const l = t.target;
173
178
  let r = l.value;
174
179
  const f = l.selectionStart || 0;
175
180
  if (I.value = !1, e.toUpperCase && (r = r.toUpperCase()), e.documentType === "custom") {
176
- o("update:modelValue", r || void 0), o("update:searchTerm", r), s.value = r;
181
+ a("update:modelValue", r || void 0), a("update:searchTerm", r), Z(r), s.value = r;
177
182
  return;
178
183
  }
179
184
  let n = r.replace(
@@ -181,66 +186,66 @@ const Be = { key: 0 }, Ue = { class: "relative flex items-center" }, Se = {
181
186
  ""
182
187
  ), c = e.maxLength;
183
188
  c || (e.customMask && e.documentType === "generic" ? c = e.customMask.length : c = e.documentType === "cpf" ? 11 : 14), n = n.slice(0, c);
184
- const u = L(n), p = e.allowAlpha ? /[A-Z0-9]/gi : /[0-9]/g, ne = (r.slice(0, f).match(p) || []).length, se = (e.unmask ? n : u) || void 0;
185
- o("update:modelValue", se), o("update:searchTerm", n), D(n), s.value = u, z(() => {
189
+ const u = N(n), p = e.allowAlpha ? /[A-Z0-9]/gi : /[0-9]/g, se = (r.slice(0, f).match(p) || []).length, ie = (e.unmask ? n : u) || void 0;
190
+ a("update:modelValue", ie), a("update:searchTerm", n), Z(n), s.value = u, D(() => {
186
191
  l.value = u;
187
- let B = 0, N = 0;
188
- for (let b = 0; b < u.length && ((e.documentType === "generic" && e.customMask || e.allowAlpha ? /[A-Z0-9]/i.test(u[b]) : /[0-9]/.test(u[b])) && N++, B = b + 1, !(N >= ne)); b++)
192
+ let B = 0, q = 0;
193
+ for (let b = 0; b < u.length && ((e.documentType === "generic" && e.customMask || e.allowAlpha ? /[A-Z0-9]/i.test(u[b]) : /[0-9]/.test(u[b])) && q++, B = b + 1, !(q >= se)); b++)
189
194
  ;
190
195
  l.setSelectionRange(B, B);
191
196
  });
192
197
  }
193
- function re(t) {
194
- s.value = "", o("update:searchTerm", ""), M.value = null, o("update:modelValue", null), z(() => {
195
- if (!$.value) return;
196
- const l = $.value.querySelector(`[id="${C}"]`) || $.value.querySelector("input"), r = (l == null ? void 0 : l.tagName) === "INPUT" ? l : l == null ? void 0 : l.querySelector("input");
197
- r && (r.value = "", r.dispatchEvent(new Event("input", { bubbles: !0 }))), z(() => {
198
+ function oe(t) {
199
+ s.value = "", a("update:searchTerm", ""), $.value = null, a("update:modelValue", null), D(() => {
200
+ if (!M.value) return;
201
+ const l = M.value.querySelector(`[id="${C}"]`) || M.value.querySelector("input"), r = (l == null ? void 0 : l.tagName) === "INPUT" ? l : l == null ? void 0 : l.querySelector("input");
202
+ r && (r.value = "", r.dispatchEvent(new Event("input", { bubbles: !0 }))), D(() => {
198
203
  V.value = !1;
199
204
  });
200
- }), I.value = !0, o("validate", !1), o("clear"), V.value = !1;
205
+ }), I.value = !0, a("validate", !1), a("clear"), V.value = !1;
201
206
  }
202
207
  function ae(t) {
203
208
  if (!t) {
204
- s.value = "", o("update:searchTerm", ""), I.value = !0, o("update:modelValue", null);
209
+ s.value = "", a("update:searchTerm", ""), I.value = !0, a("update:modelValue", null);
205
210
  return;
206
211
  }
207
- if (o("update:modelValue", t), o("select", t), s.value = t.text || t.label || t.identifier || t.value || "", e.documentType === "custom")
208
- o("update:searchTerm", s.value), o("validate", !0);
212
+ if (a("update:modelValue", t), a("select", t), s.value = t.text || t.label || t.identifier || t.value || "", e.documentType === "custom")
213
+ a("update:searchTerm", s.value), a("validate", !0);
209
214
  else {
210
215
  const l = (t.identifier || t.value || "").replace(/[^A-Z0-9]/gi, "");
211
- o("update:searchTerm", l), D(l);
216
+ a("update:searchTerm", l), Z(l);
212
217
  }
213
218
  V.value = !1;
214
219
  }
215
- function oe(t) {
216
- if (E.value = !0, o("blur", t), e.documentType === "custom") return;
220
+ function ne(t) {
221
+ if (F.value = !0, a("blur", t), e.documentType === "custom") return;
217
222
  const l = s.value.replace(e.allowAlpha ? /[^A-Z0-9]/gi : /[^0-9]/g, "");
218
223
  let r = !1;
219
- l.length === 11 ? r = x(l) : l.length === 14 && (r = w(l)), r && o("update:modelValue", e.toUpperCase ? l.toUpperCase() : l);
224
+ l.length === 11 ? r = x(l) : l.length === 14 && (r = w(l)), r && a("update:modelValue", e.toUpperCase ? l.toUpperCase() : l);
220
225
  }
221
226
  return (t, l) => (i(), g("div", {
222
- class: S(a(F)("space-y-1.5 w-full", e.class)),
227
+ class: S(o(E)("space-y-1.5 w-full", e.class)),
223
228
  ref_key: "wrapperRef",
224
- ref: $
229
+ ref: M
225
230
  }, [
226
- e.label ? (i(), T(a(Me), {
231
+ e.label ? (i(), T(o(je), {
227
232
  key: 0,
228
- for: a(C),
233
+ for: o(C),
229
234
  class: S(
230
- a(F)(
235
+ o(E)(
231
236
  "text-[#101011] font-normal text-[10px] leading-[10px]",
232
237
  h.value ? "text-[var(--alert-red-dark,#831511)]" : ""
233
238
  )
234
239
  )
235
240
  }, {
236
241
  default: m(() => [
237
- Z(k(e.label), 1),
238
- e.required && !e.label.includes("(Obrigatório)") ? (i(), g("span", Be, " (Obrigatório)")) : y("", !0)
242
+ z(A(e.label), 1),
243
+ e.required && !e.label.includes("(Obrigatório)") ? (i(), g("span", Ue, " (Obrigatório)")) : y("", !0)
239
244
  ]),
240
245
  _: 1
241
246
  }, 8, ["for", "class"])) : y("", !0),
242
- d(a(Ae), pe(a(W), {
243
- "model-value": M.value,
247
+ d(o(xe), de(o(Y), {
248
+ "model-value": $.value,
244
249
  searchTerm: s.value,
245
250
  "onUpdate:searchTerm": l[3] || (l[3] = (r) => s.value = r),
246
251
  open: V.value,
@@ -250,30 +255,30 @@ const Be = { key: 0 }, Ue = { class: "relative flex items-center" }, Se = {
250
255
  "onUpdate:modelValue": ae
251
256
  }), {
252
257
  default: m(() => [
253
- _("div", Ue, [
254
- d(a(xe), { class: "w-full h-full" }, {
258
+ _("div", Se, [
259
+ d(o(we), { class: "w-full h-full" }, {
255
260
  default: m(() => [
256
- A(t.$slots, "input", {}, () => [
257
- d(a(Ve), {
258
- id: a(C),
259
- "display-value": P,
260
- placeholder: e.placeholder ?? te.value,
261
+ k(t.$slots, "input", {}, () => [
262
+ d(o(be), {
263
+ id: o(C),
264
+ "display-value": L,
265
+ placeholder: e.placeholder ?? le.value,
261
266
  "with-icon": e.withIcon,
262
267
  "with-clear-button": !1,
263
268
  disabled: e.disabled,
264
269
  error: h.value,
265
270
  success: j.value,
266
271
  class: S(
267
- a(F)(
272
+ o(E)(
268
273
  "pr-20",
269
274
  h.value || j.value ? "border-[#3E2E46]" : "",
270
275
  e.inputClass
271
276
  )
272
277
  ),
273
- maxlength: ee.value,
274
- onInput: le,
275
- onBlur: oe,
276
- onFocus: l[0] || (l[0] = (r) => o("focus", r))
278
+ maxlength: te.value,
279
+ onInput: re,
280
+ onBlur: ne,
281
+ onFocus: l[0] || (l[0] = (r) => a("focus", r))
277
282
  }, null, 8, ["id", "placeholder", "with-icon", "disabled", "error", "success", "class", "maxlength"])
278
283
  ])
279
284
  ]),
@@ -285,60 +290,60 @@ const Be = { key: 0 }, Ue = { class: "relative flex items-center" }, Se = {
285
290
  (h.value || e.modelValue && !j.value) && !e.disabled && e.withClearIcon ? (i(), g("div", {
286
291
  key: 0,
287
292
  class: "flex items-center justify-center w-full h-full cursor-pointer",
288
- onMousedown: l[1] || (l[1] = q((r) => !e.disabled && re(), ["stop", "prevent"])),
289
- onClick: l[2] || (l[2] = q(() => {
293
+ onMousedown: l[1] || (l[1] = O((r) => !e.disabled && oe(), ["stop", "prevent"])),
294
+ onClick: l[2] || (l[2] = O(() => {
290
295
  }, ["stop", "prevent"]))
291
296
  }, [
292
- h.value ? (i(), T(a(R), {
297
+ h.value ? (i(), T(o(R), {
293
298
  key: 0,
294
299
  size: "20",
295
300
  class: "text-[var(--alert-red-dark,#831511)] transition-opacity hover:opacity-80"
296
- })) : (i(), T(a(ve), {
301
+ })) : (i(), T(o(Te), {
297
302
  key: 1,
298
303
  size: "20",
299
304
  class: "text-gray-400 transition-colors hover:text-[#831511]"
300
305
  }))
301
- ], 32)) : j.value ? (i(), T(a(ge), {
306
+ ], 32)) : j.value ? (i(), T(o(ye), {
302
307
  key: 1,
303
308
  size: "20",
304
309
  class: "text-[#4b715c] pointer-events-none"
305
310
  })) : y("", !0)
306
311
  ], 2)
307
312
  ]),
308
- A(t.$slots, "list", {}, () => [
309
- d(a(Ie), null, {
313
+ k(t.$slots, "list", {}, () => [
314
+ d(o(Me), null, {
310
315
  default: m(() => [
311
- e.loading && (e.loadingText || t.$slots.loading) ? (i(), g("div", Se, [
312
- A(t.$slots, "loading", {}, () => [
313
- _("div", Ze, [
314
- d(a(je), { class: "size-4 animate-spin" }),
315
- _("span", null, k(e.loadingText), 1)
316
+ e.loading && (e.loadingText || t.$slots.loading) ? (i(), g("div", Ze, [
317
+ k(t.$slots, "loading", {}, () => [
318
+ _("div", ze, [
319
+ d(o(Be), { class: "size-4 animate-spin" }),
320
+ _("span", null, A(e.loadingText), 1)
316
321
  ])
317
322
  ])
318
- ])) : !e.loading && (e.notFoundText || t.$slots.empty) ? (i(), T(a(we), { key: 1 }, {
323
+ ])) : !e.loading && (e.notFoundText || t.$slots.empty) ? (i(), T(o(Ce), { key: 1 }, {
319
324
  default: m(() => [
320
- A(t.$slots, "empty", {}, () => [
321
- Z(k(e.notFoundText), 1)
325
+ k(t.$slots, "empty", {}, () => [
326
+ z(A(e.notFoundText), 1)
322
327
  ])
323
328
  ]),
324
329
  _: 3
325
330
  })) : y("", !0),
326
- de(d(a($e), null, {
331
+ fe(d(o($e), null, {
327
332
  default: m(() => [
328
- d(a(Ce), null, {
333
+ d(o(Ve), null, {
329
334
  default: m(() => [
330
- A(t.$slots, "default", {}, () => [
331
- e.options && e.options.length ? (i(!0), g(fe, { key: 0 }, me(e.options, (r, f) => (i(), T(a(be), {
335
+ k(t.$slots, "default", {}, () => [
336
+ e.options && e.options.length ? (i(!0), g(me, { key: 0 }, he(e.options, (r, f) => (i(), T(o(_e), {
332
337
  key: r[e.optionId] || f,
333
338
  value: r
334
339
  }, {
335
340
  default: m(() => [
336
- A(t.$slots, "option", { item: r }, () => [
337
- Z(k(r.text || r.label || r), 1)
341
+ k(t.$slots, "option", { item: r }, () => [
342
+ z(A(r.text || r.label || r), 1)
338
343
  ]),
339
- d(a(_e), { class: "ml-auto" }, {
344
+ d(o(Ie), { class: "ml-auto" }, {
340
345
  default: m(() => [
341
- d(a(ye), { size: "16" })
346
+ d(o(ve), { size: "16" })
342
347
  ]),
343
348
  _: 1
344
349
  })
@@ -352,7 +357,7 @@ const Be = { key: 0 }, Ue = { class: "relative flex items-center" }, Se = {
352
357
  ]),
353
358
  _: 3
354
359
  }, 512), [
355
- [he, !e.loading]
360
+ [ge, !e.loading]
356
361
  ])
357
362
  ]),
358
363
  _: 3
@@ -363,23 +368,23 @@ const Be = { key: 0 }, Ue = { class: "relative flex items-center" }, Se = {
363
368
  }, 16, ["model-value", "searchTerm", "open"]),
364
369
  e.description && !h.value ? (i(), g("div", {
365
370
  key: 1,
366
- id: K,
371
+ id: Q,
367
372
  class: "text-gray-500 text-[11px] leading-tight"
368
- }, k(e.description), 1)) : y("", !0),
373
+ }, A(e.description), 1)) : y("", !0),
369
374
  typeof e.error == "string" && h.value ? (i(), g("div", {
370
375
  key: 2,
371
- id: G,
376
+ id: K,
372
377
  class: "text-[var(--alert-red-dark,#831511)] flex items-center gap-1 text-[11px] font-medium leading-tight pt-0.5"
373
378
  }, [
374
- d(a(R), {
379
+ d(o(R), {
375
380
  size: "14",
376
381
  class: "text-[var(--alert-red-dark,#831511)] shrink-0"
377
382
  }),
378
- _("span", null, k(e.error), 1)
383
+ _("span", null, A(e.error), 1)
379
384
  ])) : y("", !0)
380
385
  ], 2));
381
386
  }
382
387
  });
383
388
  export {
384
- rt as default
389
+ at as default
385
390
  };
@@ -1,22 +1,22 @@
1
- import { defineComponent as i, createBlock as p, openBlock as m, unref as e, mergeProps as u, withCtx as o, createElementVNode as f, renderSlot as _, createVNode as s } from "vue";
1
+ import { defineComponent as d, createBlock as p, openBlock as m, unref as e, mergeProps as u, withCtx as o, createElementVNode as f, renderSlot as _, createVNode as s } from "vue";
2
2
  import { reactiveOmit as h } from "@vueuse/core";
3
- import { useForwardPropsEmits as x, DropdownMenuCheckboxItem as b, DropdownMenuItemIndicator as g } from "reka-ui";
3
+ import { useForwardPropsEmits as b, DropdownMenuCheckboxItem as g, DropdownMenuItemIndicator as x } from "reka-ui";
4
4
  import { cn as v } from "../lib/utils.js";
5
- import k from "../node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/check.js";
6
- const w = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" }, D = /* @__PURE__ */ i({
5
+ import k 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/check.js";
6
+ const w = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" }, D = /* @__PURE__ */ d({
7
7
  __name: "DropdownMenuCheckboxItem",
8
8
  props: {
9
9
  modelValue: { type: [Boolean, String] },
10
10
  disabled: { type: Boolean },
11
11
  textValue: {},
12
12
  asChild: { type: Boolean },
13
- as: {},
13
+ as: { type: [String, Object, Function] },
14
14
  class: {}
15
15
  },
16
16
  emits: ["select", "update:modelValue"],
17
17
  setup(n, { emit: r }) {
18
- const t = n, a = r, l = h(t, "class"), c = x(l, a);
19
- return (d, y) => (m(), p(e(b), u({ "data-slot": "dropdown-menu-checkbox-item" }, e(c), {
18
+ const t = n, a = r, l = h(t, "class"), c = b(l, a);
19
+ return (i, y) => (m(), p(e(g), u({ "data-slot": "dropdown-menu-checkbox-item" }, e(c), {
20
20
  class: e(v)(
21
21
  "focus:bg-accent/24 outline-hidden relative flex cursor-default select-none items-center gap-2 rounded-sm py-1.5 pl-8 pr-2 text-sm data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",
22
22
  t.class
@@ -24,14 +24,14 @@ const w = { class: "pointer-events-none absolute left-2 flex size-3.5 items-cent
24
24
  }), {
25
25
  default: o(() => [
26
26
  f("span", w, [
27
- s(e(g), null, {
27
+ s(e(x), null, {
28
28
  default: o(() => [
29
29
  s(e(k), { class: "size-4" })
30
30
  ]),
31
31
  _: 1
32
32
  })
33
33
  ]),
34
- _(d.$slots, "default")
34
+ _(i.$slots, "default")
35
35
  ]),
36
36
  _: 3
37
37
  }, 16, ["class"]));
@@ -10,8 +10,10 @@ declare function __VLS_template(): {
10
10
  slots: {
11
11
  default?(_: {}): any;
12
12
  };
13
- refs: {};
14
- rootEl: HTMLDivElement;
13
+ refs: {
14
+ rootEl: HTMLDivElement;
15
+ };
16
+ rootEl: any;
15
17
  };
16
18
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
19
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -27,10 +29,15 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
27
29
  onInteractOutside?: ((event: import('reka-ui').PointerDownOutsideEvent | import('reka-ui').FocusOutsideEvent) => any) | undefined;
28
30
  onCloseAutoFocus?: ((event: Event) => any) | undefined;
29
31
  }>, {
32
+ align: "end" | "start" | "center";
33
+ side: "top" | "right" | "bottom" | "left";
30
34
  sideOffset: number;
35
+ collisionPadding: number | Partial<Record<"top" | "right" | "bottom" | "left", number>>;
31
36
  positionStrategy: "absolute" | "fixed";
32
37
  disablePortal: boolean;
33
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
38
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
39
+ rootEl: HTMLDivElement;
40
+ }, any>;
34
41
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
35
42
  export default _default;
36
43
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownMenuContent.vue.d.ts","sourceRoot":"","sources":["../../src/dropdown-menu/DropdownMenuContent.vue"],"names":[],"mappings":"AAgDA,OAAO,KAAK,EAA4B,wBAAwB,EAAE,MAAM,SAAS,CAAA;AACjF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAKzC,KAAK,WAAW,GAAG,wBAAwB,GAAG;IACxC,KAAK,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC,CAAA;IAC/B,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,gBAAgB,CAAC,EAAE,OAAO,GAAG,UAAU,CAAA;CACxC,CAAC;AAyBN,iBAAS,cAAc;WA4DT,OAAO,IAA6B;;yBAVpB,GAAG;;;;EAehC;AAcD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;mBA3GC,OAAO;wFAoH3B,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":"DropdownMenuContent.vue.d.ts","sourceRoot":"","sources":["../../src/dropdown-menu/DropdownMenuContent.vue"],"names":[],"mappings":"AA8DA,OAAO,KAAK,EAA4B,wBAAwB,EAAE,MAAM,SAAS,CAAA;AACjF,OAAO,EAAiB,KAAK,cAAc,EAAE,MAAM,KAAK,CAAA;AASxD,KAAK,WAAW,GAAG,wBAAwB,GAAG;IACxC,KAAK,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC,CAAA;IAC/B,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,gBAAgB,CAAC,EAAE,OAAO,GAAG,UAAU,CAAA;CACxC,CAAC;AAiCN,iBAAS,cAAc;WA0ET,OAAO,IAA6B;;yBAXpB,GAAG;;;;;;EAgBhC;AAgBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;mBAnIC,OAAO;;;OA4I3B,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,21 +1,22 @@
1
- import { defineComponent as p, createElementBlock as u, openBlock as c, createVNode as a, unref as e, withCtx as n, mergeProps as m, renderSlot as f } from "vue";
2
- import { reactiveOmit as y } from "@vueuse/core";
3
- import { useForwardPropsEmits as g, DropdownMenuPortal as w, DropdownMenuContent as h } from "reka-ui";
4
- import { cn as B } from "../lib/utils.js";
5
- const b = { class: "relative" }, D = /* @__PURE__ */ p({
1
+ import { defineComponent as u, ref as c, computed as m, createElementBlock as y, openBlock as g, createVNode as i, unref as o, withCtx as n, mergeProps as h, renderSlot as w } from "vue";
2
+ import { reactiveOmit as b } from "@vueuse/core";
3
+ import { useForwardPropsEmits as B, DropdownMenuPortal as v, DropdownMenuContent as P } from "reka-ui";
4
+ import { hasCssZoom as S, cn as C } from "../lib/utils.js";
5
+ const E = /* @__PURE__ */ u({
6
+ inheritAttrs: !1,
6
7
  __name: "DropdownMenuContent",
7
8
  props: {
8
9
  forceMount: { type: Boolean },
9
10
  loop: { type: Boolean },
10
- side: {},
11
+ side: { default: "bottom" },
11
12
  sideOffset: { default: 4 },
12
13
  sideFlip: { type: Boolean },
13
- align: {},
14
+ align: { default: "start" },
14
15
  alignOffset: {},
15
16
  alignFlip: { type: Boolean },
16
17
  avoidCollisions: { type: Boolean },
17
18
  collisionBoundary: {},
18
- collisionPadding: {},
19
+ collisionPadding: { default: 8 },
19
20
  arrowPadding: {},
20
21
  sticky: {},
21
22
  hideWhenDetached: { type: Boolean },
@@ -27,31 +28,40 @@ const b = { class: "relative" }, D = /* @__PURE__ */ p({
27
28
  asChild: { type: Boolean },
28
29
  as: {},
29
30
  class: {},
30
- disablePortal: { type: Boolean, default: !0 }
31
+ disablePortal: { type: Boolean, default: !1 }
31
32
  },
32
33
  emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "closeAutoFocus"],
33
- setup(i, { emit: s }) {
34
- const o = i, d = s, r = y(o, "class"), l = g(r, d);
35
- return (t, v) => (c(), u("div", b, [
36
- a(e(w), { disabled: !0 }, {
34
+ setup(s, { emit: r }) {
35
+ const e = s, d = r, l = b(e, "class", "disablePortal", "positionStrategy"), p = B(l, d), t = c(null), f = m(() => e.disablePortal || S(t.value));
36
+ return (a, D) => (g(), y("div", {
37
+ ref_key: "rootEl",
38
+ ref: t,
39
+ class: "relative"
40
+ }, [
41
+ i(o(v), { disabled: f.value }, {
37
42
  default: n(() => [
38
- a(e(h), m({ "data-slot": "dropdown-menu-content" }, { ...e(l), ...t.$attrs, strategy: "absolute" }, {
39
- class: e(B)(
40
- "border-input bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--reka-dropdown-menu-content-available-height) min-w-[8rem] origin-(--reka-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md relative",
41
- o.class
43
+ i(o(P), h({ "data-slot": "dropdown-menu-content" }, {
44
+ ...o(p),
45
+ ...a.$attrs,
46
+ positionStrategy: e.positionStrategy,
47
+ strategy: e.positionStrategy
48
+ }, {
49
+ class: o(C)(
50
+ "border-input bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--reka-dropdown-menu-content-available-height) min-w-[8rem] origin-(--reka-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md relative",
51
+ e.class
42
52
  )
43
53
  }), {
44
54
  default: n(() => [
45
- f(t.$slots, "default")
55
+ w(a.$slots, "default")
46
56
  ]),
47
57
  _: 3
48
58
  }, 16, ["class"])
49
59
  ]),
50
60
  _: 3
51
- })
52
- ]));
61
+ }, 8, ["disabled"])
62
+ ], 512));
53
63
  }
54
64
  });
55
65
  export {
56
- D as default
66
+ E as default
57
67
  };
@@ -1,15 +1,15 @@
1
- import { defineComponent as t, createBlock as n, openBlock as p, unref as a, mergeProps as s, withCtx as u, renderSlot as d } from "vue";
2
- import { DropdownMenuGroup as l } from "reka-ui";
1
+ import { defineComponent as t, createBlock as n, openBlock as p, unref as u, mergeProps as a, withCtx as s, renderSlot as d } from "vue";
2
+ import { DropdownMenuGroup as c } from "reka-ui";
3
3
  const i = /* @__PURE__ */ t({
4
4
  __name: "DropdownMenuGroup",
5
5
  props: {
6
6
  asChild: { type: Boolean },
7
- as: {}
7
+ as: { type: [String, Object, Function] }
8
8
  },
9
9
  setup(o) {
10
10
  const e = o;
11
- return (r, m) => (p(), n(a(l), s({ "data-slot": "dropdown-menu-group" }, e), {
12
- default: u(() => [
11
+ return (r, l) => (p(), n(u(c), a({ "data-slot": "dropdown-menu-group" }, e), {
12
+ default: s(() => [
13
13
  d(r.$slots, "default")
14
14
  ]),
15
15
  _: 3