@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,10 +1,10 @@
1
- import { defineComponent as m, createBlock as g, openBlock as v, unref as e, withCtx as o, createVNode as s, mergeProps as w, renderSlot as y, createElementVNode as D } from "vue";
2
- import { reactiveOmit as C } from "@vueuse/core";
3
- import { useForwardPropsEmits as b, DialogPortal as O, DialogOverlay as _, DialogContent as x, DialogClose as P } from "reka-ui";
1
+ import { defineComponent as m, createBlock as g, openBlock as v, unref as t, withCtx as o, createVNode as s, mergeProps as y, renderSlot as w, createElementVNode as D } from "vue";
2
+ import { reactiveOmit as _ } from "@vueuse/core";
3
+ import { useForwardPropsEmits as b, DialogPortal as C, DialogOverlay as O, DialogContent as x, DialogClose as P } from "reka-ui";
4
4
  import { cn as k } from "../lib/utils.js";
5
5
  import { dialogContentVariants as B } from "./index.js";
6
- import E 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";
7
- const S = /* @__PURE__ */ m({
6
+ import E 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";
7
+ const N = /* @__PURE__ */ m({
8
8
  __name: "DialogScrollContent",
9
9
  props: {
10
10
  class: {},
@@ -12,35 +12,36 @@ const S = /* @__PURE__ */ m({
12
12
  forceMount: { type: Boolean },
13
13
  disableOutsidePointerEvents: { type: Boolean },
14
14
  asChild: { type: Boolean },
15
- as: {}
15
+ as: { type: [String, Object, Function] }
16
16
  },
17
17
  emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
18
18
  setup(d, { emit: c }) {
19
- const n = d, u = c, f = C(n, "class"), p = b(f, u);
20
- return (r, t) => (v(), g(e(O), null, {
19
+ const n = d, u = c, f = _(n, "class"), p = b(f, u);
20
+ return (r, e) => (v(), g(t(C), null, {
21
21
  default: o(() => [
22
- s(e(_), { class: "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 grid place-items-center overflow-y-auto bg-black/80" }, {
22
+ s(t(O), { class: "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 grid place-items-center overflow-y-auto bg-black/80" }, {
23
23
  default: o(() => [
24
- s(e(x), w({
25
- class: e(k)(
26
- e(B)({ variant: r.variant }),
24
+ s(t(x), y({
25
+ class: t(k)(
26
+ t(B)({ variant: r.variant }),
27
27
  "relative my-8 max-w-lg sm:rounded-xl md:w-full",
28
28
  n.class
29
29
  )
30
- }, e(p), {
31
- onPointerDownOutside: t[0] || (t[0] = (i) => {
30
+ }, t(p), {
31
+ onPointerDownOutside: e[0] || (e[0] = (i) => {
32
32
  const a = i.detail.originalEvent, l = a.target;
33
33
  (a.offsetX > l.clientWidth || a.offsetY > l.clientHeight) && i.preventDefault();
34
34
  })
35
35
  }), {
36
36
  default: o(() => [
37
- y(r.$slots, "default"),
38
- s(e(P), { class: "ring-offset-background focus:ring-ring data-[state=open]:text-primary-500 rounded-xs focus:outline-hidden absolute right-4 top-5 cursor-pointer focus:ring-2 focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-transparent [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0" }, {
37
+ w(r.$slots, "default"),
38
+ s(t(P), { class: "ring-offset-background focus:ring-ring data-[state=open]:text-primary-500 rounded-xs focus:outline-hidden absolute right-4 top-5 cursor-pointer focus:ring-2 focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-transparent [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0" }, {
39
39
  default: o(() => [
40
- s(e(E)),
41
- t[1] || (t[1] = D("span", { class: "sr-only" }, "Close", -1))
40
+ s(t(E)),
41
+ e[1] || (e[1] = D("span", { class: "sr-only" }, "Close", -1))
42
42
  ]),
43
- _: 1
43
+ _: 1,
44
+ __: [1]
44
45
  })
45
46
  ]),
46
47
  _: 3
@@ -54,5 +55,5 @@ const S = /* @__PURE__ */ m({
54
55
  }
55
56
  });
56
57
  export {
57
- S as default
58
+ N as default
58
59
  };
@@ -1,20 +1,20 @@
1
- import { defineComponent as l, createBlock as c, openBlock as n, unref as o, mergeProps as p, withCtx as i, renderSlot as d } from "vue";
1
+ import { defineComponent as l, createBlock as n, openBlock as c, unref as t, mergeProps as i, withCtx as p, renderSlot as d } from "vue";
2
2
  import { reactiveOmit as m } from "@vueuse/core";
3
3
  import { useForwardProps as f, DialogTitle as u } from "reka-ui";
4
4
  import { cn as g } from "../lib/utils.js";
5
- const B = /* @__PURE__ */ l({
5
+ const y = /* @__PURE__ */ l({
6
6
  __name: "DialogTitle",
7
7
  props: {
8
8
  asChild: { type: Boolean },
9
- as: {},
9
+ as: { type: [String, Object, Function] },
10
10
  class: {}
11
11
  },
12
12
  setup(e) {
13
- const t = e, r = m(t, "class"), s = f(r);
14
- return (a, _) => (n(), c(o(u), p({ "data-slot": "dialog-title" }, o(s), {
15
- class: o(g)("text-sm font-bold text-gray-800", t.class)
13
+ const o = e, r = m(o, "class"), s = f(r);
14
+ return (a, _) => (c(), n(t(u), i({ "data-slot": "dialog-title" }, t(s), {
15
+ class: t(g)("text-sm font-bold text-gray-800", o.class)
16
16
  }), {
17
- default: i(() => [
17
+ default: p(() => [
18
18
  d(a.$slots, "default")
19
19
  ]),
20
20
  _: 3
@@ -22,5 +22,5 @@ const B = /* @__PURE__ */ l({
22
22
  }
23
23
  });
24
24
  export {
25
- B as default
25
+ y as default
26
26
  };
@@ -1,16 +1,16 @@
1
- import { defineComponent as t, createBlock as a, openBlock as l, unref as n, mergeProps as s, withCtx as i, renderSlot as p } from "vue";
1
+ import { defineComponent as r, createBlock as a, openBlock as n, unref as i, mergeProps as l, withCtx as p, renderSlot as s } from "vue";
2
2
  import { DialogTrigger as g } from "reka-ui";
3
- const m = /* @__PURE__ */ t({
3
+ const m = /* @__PURE__ */ r({
4
4
  __name: "DialogTrigger",
5
5
  props: {
6
6
  asChild: { type: Boolean },
7
- as: {}
7
+ as: { type: [String, Object, Function] }
8
8
  },
9
9
  setup(e) {
10
- const o = e;
11
- return (r, c) => (l(), a(n(g), s({ "data-slot": "dialog-trigger" }, o), {
12
- default: i(() => [
13
- p(r.$slots, "default")
10
+ const t = e;
11
+ return (o, c) => (n(), a(i(g), l({ "data-slot": "dialog-trigger" }, t), {
12
+ default: p(() => [
13
+ s(o.$slots, "default")
14
14
  ]),
15
15
  _: 3
16
16
  }, 16));
@@ -1 +1 @@
1
- {"version":3,"file":"DocumentAutoComplete.vue.d.ts","sourceRoot":"","sources":["../../src/document-input/DocumentAutoComplete.vue"],"names":[],"mappings":"AAspBA,UAAU,KAAK;IACb,8BAA8B;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,+CAA+C;IAC/C,UAAU,CAAC,EAAE,GAAG,CAAA;IAChB;;;OAGG;IACH,YAAY,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,UAAU,GAAG,SAAS,GAAG,QAAQ,CAAA;IACjE,8CAA8C;IAC9C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,mDAAmD;IACnD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,uCAAuC;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IACxB,oEAAoE;IACpE,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,uEAAuE;IACvE,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,+BAA+B;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,kDAAkD;IAClD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,2DAA2D;IAC3D,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,+CAA+C;IAC/C,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,oCAAoC;IACpC,KAAK,CAAC,EAAE,GAAG,CAAA;IACX,wCAAwC;IACxC,UAAU,CAAC,EAAE,GAAG,CAAA;IAChB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,kDAAkD;IAClD,sBAAsB,CAAC,EAAE,OAAO,CAAA;IAChC,2CAA2C;IAC3C,OAAO,CAAC,EAAE,GAAG,EAAE,CAAA;IACf,qCAAqC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,0DAA0D;IAC1D,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,uDAAuD;IACvD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB;AA6ZD,iBAAS,cAAc;WAiWT,OAAO,IAA6B;;uBAhBtB,GAAG;sBACJ,GAAG;yBACA,GAAG;uBACL,GAAG;yBACD,GAAG;;;YACJ,GAAG;;;;;;EAgB/B;AA4CD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;cAj2BR,OAAO;iBAeJ,OAAO;aARX,OAAO;WAFT,OAAO,GAAG,MAAM;cAuBb,OAAO;gBAnBL,OAAO;kBAjBL,KAAK,GAAG,MAAM,GAAG,UAAU,GAAG,SAAS,GAAG,QAAQ;4BAsCxC,OAAO;YAVvB,OAAO;mBA4BA,OAAO;cALZ,MAAM;;;kBAg0BjB,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":"DocumentAutoComplete.vue.d.ts","sourceRoot":"","sources":["../../src/document-input/DocumentAutoComplete.vue"],"names":[],"mappings":"AAoqBA,UAAU,KAAK;IACb,8BAA8B;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,+CAA+C;IAC/C,UAAU,CAAC,EAAE,GAAG,CAAA;IAChB;;;OAGG;IACH,YAAY,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,UAAU,GAAG,SAAS,GAAG,QAAQ,CAAA;IACjE,8CAA8C;IAC9C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,mDAAmD;IACnD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,uCAAuC;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IACxB,oEAAoE;IACpE,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,uEAAuE;IACvE,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,+BAA+B;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,kDAAkD;IAClD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,2DAA2D;IAC3D,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,+CAA+C;IAC/C,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,oCAAoC;IACpC,KAAK,CAAC,EAAE,GAAG,CAAA;IACX,wCAAwC;IACxC,UAAU,CAAC,EAAE,GAAG,CAAA;IAChB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,kDAAkD;IAClD,sBAAsB,CAAC,EAAE,OAAO,CAAA;IAChC,2CAA2C;IAC3C,OAAO,CAAC,EAAE,GAAG,EAAE,CAAA;IACf,qCAAqC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,0DAA0D;IAC1D,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,uDAAuD;IACvD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB;AAuaD,iBAAS,cAAc;WAqWT,OAAO,IAA6B;;uBAhBtB,GAAG;sBACJ,GAAG;yBACA,GAAG;uBACL,GAAG;yBACD,GAAG;;;YACJ,GAAG;;;;;;EAgB/B;AA4CD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;cA/2BR,OAAO;iBAeJ,OAAO;aARX,OAAO;WAFT,OAAO,GAAG,MAAM;cAuBb,OAAO;gBAnBL,OAAO;kBAjBL,KAAK,GAAG,MAAM,GAAG,UAAU,GAAG,SAAS,GAAG,QAAQ;4BAsCxC,OAAO;YAVvB,OAAO;mBA4BA,OAAO;cALZ,MAAM;;;kBA80BjB,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,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",
@@ -74,10 +79,9 @@ const Be = { key: 0 }, Ue = { class: "relative flex items-center" }, Se = {
74
79
  "loading",
75
80
  "notFoundText",
76
81
  "loadingText",
77
- "optionId",
78
- "modelValue"
79
- ), W = ke(Q, o), s = v(""), V = v(!1), I = v(!1), E = v(!1), $ = v(null), M = v(e.modelValue);
80
- function Y(t, l) {
82
+ "optionId"
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) {
81
85
  if (!l) return t;
82
86
  const r = t.replace(/[^0-9A-Za-z]/g, "");
83
87
  if (!r) return "";
@@ -88,13 +92,13 @@ const Be = { key: 0 }, Ue = { class: "relative flex items-center" }, Se = {
88
92
  }
89
93
  return f;
90
94
  }
91
- function L(t) {
95
+ function N(t) {
92
96
  if (e.customMask && e.documentType === "generic")
93
- return Y(t, e.customMask);
97
+ return ee(t, e.customMask);
94
98
  const l = /[A-Z]/i.test(t);
95
- 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;
96
100
  }
97
- const P = (t) => {
101
+ const L = (t) => {
98
102
  if (!t) return s.value || "";
99
103
  if (e.documentType === "custom")
100
104
  return typeof t == "string" ? t : t.text || t.label || t.identifier || t.value || "";
@@ -103,27 +107,27 @@ const Be = { key: 0 }, Ue = { class: "relative flex items-center" }, Se = {
103
107
  e.documentType === "generic" && e.customMask || e.allowAlpha ? /[^A-Z0-9]/gi : /[^0-9]/g,
104
108
  ""
105
109
  );
106
- return L(l);
110
+ return N(l);
107
111
  }
108
112
  return t.text || t.label || t.identifier || t.value || "";
109
113
  };
110
- ce(
114
+ pe(
111
115
  () => e.modelValue,
112
116
  (t) => {
113
- if (M.value = t, t == null || t === "") {
114
- s.value !== "" && (s.value = ""), M.value = void 0;
117
+ if ($.value = t, t == null || t === "") {
118
+ s.value !== "" && (s.value = ""), $.value = void 0;
115
119
  return;
116
120
  }
117
- const l = P(t);
121
+ const l = L(t);
118
122
  s.value !== l && (s.value = l);
119
123
  },
120
124
  { immediate: !0 }
121
125
  );
122
- const ee = U(() => {
126
+ const te = U(() => {
123
127
  if (e.maxLength) return e.maxLength;
124
128
  if (e.documentType !== "custom")
125
129
  return e.customMask && e.documentType === "generic" ? e.customMask.length : e.documentType === "cpf" ? 14 : 18;
126
- }), te = U(() => {
130
+ }), le = U(() => {
127
131
  switch (e.documentType) {
128
132
  case "cnpj":
129
133
  return e.allowAlpha ? "AA.AAA.AAA/AAAA-DV" : "00.000.000/0000-00";
@@ -142,7 +146,7 @@ const Be = { key: 0 }, Ue = { class: "relative flex items-center" }, Se = {
142
146
  if (!t || I.value) return !1;
143
147
  const r = (typeof t == "string" ? t : t.identifier || t.value || "").replace(/[^A-Z0-9]/gi, "");
144
148
  if (!r) return !1;
145
- 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))
146
150
  return !0;
147
151
  }
148
152
  return !1;
@@ -161,20 +165,20 @@ const Be = { key: 0 }, Ue = { class: "relative flex items-center" }, Se = {
161
165
  }
162
166
  return !1;
163
167
  });
164
- function D(t) {
168
+ function Z(t) {
165
169
  if (e.documentType === "custom") {
166
- o("validate", !!t);
170
+ a("validate", !!t);
167
171
  return;
168
172
  }
169
173
  let l = !1;
170
- 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);
171
175
  }
172
- function le(t) {
176
+ function re(t) {
173
177
  const l = t.target;
174
178
  let r = l.value;
175
179
  const f = l.selectionStart || 0;
176
180
  if (I.value = !1, e.toUpperCase && (r = r.toUpperCase()), e.documentType === "custom") {
177
- 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;
178
182
  return;
179
183
  }
180
184
  let n = r.replace(
@@ -182,66 +186,66 @@ const Be = { key: 0 }, Ue = { class: "relative flex items-center" }, Se = {
182
186
  ""
183
187
  ), c = e.maxLength;
184
188
  c || (e.customMask && e.documentType === "generic" ? c = e.customMask.length : c = e.documentType === "cpf" ? 11 : 14), n = n.slice(0, c);
185
- 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;
186
- 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(() => {
187
191
  l.value = u;
188
- let B = 0, N = 0;
189
- 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++)
190
194
  ;
191
195
  l.setSelectionRange(B, B);
192
196
  });
193
197
  }
194
- function re(t) {
195
- s.value = "", o("update:searchTerm", ""), M.value = null, o("update:modelValue", null), z(() => {
196
- if (!$.value) return;
197
- 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");
198
- 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(() => {
199
203
  V.value = !1;
200
204
  });
201
- }), I.value = !0, o("validate", !1), o("clear"), V.value = !1;
205
+ }), I.value = !0, a("validate", !1), a("clear"), V.value = !1;
202
206
  }
203
207
  function ae(t) {
204
208
  if (!t) {
205
- 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);
206
210
  return;
207
211
  }
208
- if (o("update:modelValue", t), o("select", t), s.value = t.text || t.label || t.identifier || t.value || "", e.documentType === "custom")
209
- 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);
210
214
  else {
211
215
  const l = (t.identifier || t.value || "").replace(/[^A-Z0-9]/gi, "");
212
- o("update:searchTerm", l), D(l);
216
+ a("update:searchTerm", l), Z(l);
213
217
  }
214
218
  V.value = !1;
215
219
  }
216
- function oe(t) {
217
- 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;
218
222
  const l = s.value.replace(e.allowAlpha ? /[^A-Z0-9]/gi : /[^0-9]/g, "");
219
223
  let r = !1;
220
- 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);
221
225
  }
222
226
  return (t, l) => (i(), g("div", {
223
- 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)),
224
228
  ref_key: "wrapperRef",
225
- ref: $
229
+ ref: M
226
230
  }, [
227
- e.label ? (i(), T(a(Me), {
231
+ e.label ? (i(), T(o(je), {
228
232
  key: 0,
229
- for: a(C),
233
+ for: o(C),
230
234
  class: S(
231
- a(F)(
235
+ o(E)(
232
236
  "text-[#101011] font-normal text-[10px] leading-[10px]",
233
237
  h.value ? "text-[var(--alert-red-dark,#831511)]" : ""
234
238
  )
235
239
  )
236
240
  }, {
237
241
  default: m(() => [
238
- Z(k(e.label), 1),
239
- 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)
240
244
  ]),
241
245
  _: 1
242
246
  }, 8, ["for", "class"])) : y("", !0),
243
- d(a(Ae), pe(a(W), {
244
- "model-value": M.value,
247
+ d(o(xe), de(o(Y), {
248
+ "model-value": $.value,
245
249
  searchTerm: s.value,
246
250
  "onUpdate:searchTerm": l[3] || (l[3] = (r) => s.value = r),
247
251
  open: V.value,
@@ -251,30 +255,30 @@ const Be = { key: 0 }, Ue = { class: "relative flex items-center" }, Se = {
251
255
  "onUpdate:modelValue": ae
252
256
  }), {
253
257
  default: m(() => [
254
- _("div", Ue, [
255
- d(a(xe), { class: "w-full h-full" }, {
258
+ _("div", Se, [
259
+ d(o(we), { class: "w-full h-full" }, {
256
260
  default: m(() => [
257
- A(t.$slots, "input", {}, () => [
258
- d(a(Ve), {
259
- id: a(C),
260
- "display-value": P,
261
- 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,
262
266
  "with-icon": e.withIcon,
263
267
  "with-clear-button": !1,
264
268
  disabled: e.disabled,
265
269
  error: h.value,
266
270
  success: j.value,
267
271
  class: S(
268
- a(F)(
272
+ o(E)(
269
273
  "pr-20",
270
274
  h.value || j.value ? "border-[#3E2E46]" : "",
271
275
  e.inputClass
272
276
  )
273
277
  ),
274
- maxlength: ee.value,
275
- onInput: le,
276
- onBlur: oe,
277
- 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))
278
282
  }, null, 8, ["id", "placeholder", "with-icon", "disabled", "error", "success", "class", "maxlength"])
279
283
  ])
280
284
  ]),
@@ -286,60 +290,60 @@ const Be = { key: 0 }, Ue = { class: "relative flex items-center" }, Se = {
286
290
  (h.value || e.modelValue && !j.value) && !e.disabled && e.withClearIcon ? (i(), g("div", {
287
291
  key: 0,
288
292
  class: "flex items-center justify-center w-full h-full cursor-pointer",
289
- onMousedown: l[1] || (l[1] = q((r) => !e.disabled && re(), ["stop", "prevent"])),
290
- 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(() => {
291
295
  }, ["stop", "prevent"]))
292
296
  }, [
293
- h.value ? (i(), T(a(R), {
297
+ h.value ? (i(), T(o(R), {
294
298
  key: 0,
295
299
  size: "20",
296
300
  class: "text-[var(--alert-red-dark,#831511)] transition-opacity hover:opacity-80"
297
- })) : (i(), T(a(ve), {
301
+ })) : (i(), T(o(Te), {
298
302
  key: 1,
299
303
  size: "20",
300
304
  class: "text-gray-400 transition-colors hover:text-[#831511]"
301
305
  }))
302
- ], 32)) : j.value ? (i(), T(a(ge), {
306
+ ], 32)) : j.value ? (i(), T(o(ye), {
303
307
  key: 1,
304
308
  size: "20",
305
309
  class: "text-[#4b715c] pointer-events-none"
306
310
  })) : y("", !0)
307
311
  ], 2)
308
312
  ]),
309
- A(t.$slots, "list", {}, () => [
310
- d(a(Ie), null, {
313
+ k(t.$slots, "list", {}, () => [
314
+ d(o(Me), null, {
311
315
  default: m(() => [
312
- e.loading && (e.loadingText || t.$slots.loading) ? (i(), g("div", Se, [
313
- A(t.$slots, "loading", {}, () => [
314
- _("div", Ze, [
315
- d(a(je), { class: "size-4 animate-spin" }),
316
- _("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)
317
321
  ])
318
322
  ])
319
- ])) : !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 }, {
320
324
  default: m(() => [
321
- A(t.$slots, "empty", {}, () => [
322
- Z(k(e.notFoundText), 1)
325
+ k(t.$slots, "empty", {}, () => [
326
+ z(A(e.notFoundText), 1)
323
327
  ])
324
328
  ]),
325
329
  _: 3
326
330
  })) : y("", !0),
327
- de(d(a($e), null, {
331
+ fe(d(o($e), null, {
328
332
  default: m(() => [
329
- d(a(Ce), null, {
333
+ d(o(Ve), null, {
330
334
  default: m(() => [
331
- A(t.$slots, "default", {}, () => [
332
- 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), {
333
337
  key: r[e.optionId] || f,
334
338
  value: r
335
339
  }, {
336
340
  default: m(() => [
337
- A(t.$slots, "option", { item: r }, () => [
338
- Z(k(r.text || r.label || r), 1)
341
+ k(t.$slots, "option", { item: r }, () => [
342
+ z(A(r.text || r.label || r), 1)
339
343
  ]),
340
- d(a(_e), { class: "ml-auto" }, {
344
+ d(o(Ie), { class: "ml-auto" }, {
341
345
  default: m(() => [
342
- d(a(ye), { size: "16" })
346
+ d(o(ve), { size: "16" })
343
347
  ]),
344
348
  _: 1
345
349
  })
@@ -353,7 +357,7 @@ const Be = { key: 0 }, Ue = { class: "relative flex items-center" }, Se = {
353
357
  ]),
354
358
  _: 3
355
359
  }, 512), [
356
- [he, !e.loading]
360
+ [ge, !e.loading]
357
361
  ])
358
362
  ]),
359
363
  _: 3
@@ -364,23 +368,23 @@ const Be = { key: 0 }, Ue = { class: "relative flex items-center" }, Se = {
364
368
  }, 16, ["model-value", "searchTerm", "open"]),
365
369
  e.description && !h.value ? (i(), g("div", {
366
370
  key: 1,
367
- id: K,
371
+ id: Q,
368
372
  class: "text-gray-500 text-[11px] leading-tight"
369
- }, k(e.description), 1)) : y("", !0),
373
+ }, A(e.description), 1)) : y("", !0),
370
374
  typeof e.error == "string" && h.value ? (i(), g("div", {
371
375
  key: 2,
372
- id: G,
376
+ id: K,
373
377
  class: "text-[var(--alert-red-dark,#831511)] flex items-center gap-1 text-[11px] font-medium leading-tight pt-0.5"
374
378
  }, [
375
- d(a(R), {
379
+ d(o(R), {
376
380
  size: "14",
377
381
  class: "text-[var(--alert-red-dark,#831511)] shrink-0"
378
382
  }),
379
- _("span", null, k(e.error), 1)
383
+ _("span", null, A(e.error), 1)
380
384
  ])) : y("", !0)
381
385
  ], 2));
382
386
  }
383
387
  });
384
388
  export {
385
- rt as default
389
+ at as default
386
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"]));