@agrotools1/at-components 2.0.36 → 2.0.38

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 (273) 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/changelog/versions/components/v2.0.38.d.ts +4 -0
  98. package/dist/changelog/versions/components/v2.0.38.d.ts.map +1 -0
  99. package/dist/checkbox/Checkbox.vue.js +9 -9
  100. package/dist/combobox/Combobox.vue.js +8 -8
  101. package/dist/combobox/ComboboxAnchor.vue.js +7 -7
  102. package/dist/combobox/ComboboxEmpty.vue.js +9 -9
  103. package/dist/combobox/ComboboxGroup.vue.js +12 -12
  104. package/dist/combobox/ComboboxInput.vue.js +3 -3
  105. package/dist/combobox/ComboboxItem.vue.js +9 -9
  106. package/dist/combobox/ComboboxItemIndicator.vue.js +9 -9
  107. package/dist/combobox/ComboboxList.vue.d.ts +9 -3
  108. package/dist/combobox/ComboboxList.vue.d.ts.map +1 -1
  109. package/dist/combobox/ComboboxList.vue.js +31 -22
  110. package/dist/combobox/ComboboxSeparator.vue.js +13 -13
  111. package/dist/combobox/ComboboxViewport.vue.js +7 -7
  112. package/dist/command/CommandEmpty.vue.js +9 -9
  113. package/dist/command/CommandGroup.vue.js +6 -6
  114. package/dist/command/CommandInput.vue.js +8 -8
  115. package/dist/command/CommandItem.vue.js +11 -11
  116. package/dist/command/CommandList.vue.js +9 -9
  117. package/dist/command/CommandSeparator.vue.js +10 -10
  118. package/dist/data-table/DataTable.vue.js +1 -1
  119. package/dist/date-picker/DatePicker.vue.js +1 -1
  120. package/dist/date-range-picker/DateRangePicker.vue.js +1 -1
  121. package/dist/dialog/DialogClose.vue.js +5 -5
  122. package/dist/dialog/DialogContent.vue.js +19 -18
  123. package/dist/dialog/DialogDescription.vue.js +7 -7
  124. package/dist/dialog/DialogOverlay.vue.js +8 -8
  125. package/dist/dialog/DialogScrollContent.vue.js +21 -20
  126. package/dist/dialog/DialogTitle.vue.js +8 -8
  127. package/dist/dialog/DialogTrigger.vue.js +7 -7
  128. package/dist/document-input/DocumentAutoComplete.vue.d.ts.map +1 -1
  129. package/dist/document-input/DocumentAutoComplete.vue.js +113 -108
  130. package/dist/dropdown-menu/DropdownMenuCheckboxItem.vue.js +9 -9
  131. package/dist/dropdown-menu/DropdownMenuContent.vue.d.ts +10 -3
  132. package/dist/dropdown-menu/DropdownMenuContent.vue.d.ts.map +1 -1
  133. package/dist/dropdown-menu/DropdownMenuContent.vue.js +31 -21
  134. package/dist/dropdown-menu/DropdownMenuGroup.vue.js +5 -5
  135. package/dist/dropdown-menu/DropdownMenuLabel.vue.js +11 -11
  136. package/dist/dropdown-menu/DropdownMenuRadioGroup.vue.js +9 -9
  137. package/dist/dropdown-menu/DropdownMenuRadioItem.vue.js +13 -13
  138. package/dist/dropdown-menu/DropdownMenuSeparator.vue.js +6 -6
  139. package/dist/dropdown-menu/DropdownMenuSubContent.vue.js +5 -5
  140. package/dist/dropdown-menu/DropdownMenuSubTrigger.vue.js +9 -9
  141. package/dist/dropdown-menu/DropdownMenuTrigger.vue.js +7 -7
  142. package/dist/index.css +1 -1
  143. package/dist/index.js +112 -112
  144. package/dist/input/Input.vue.js +8 -8
  145. package/dist/label/Label.vue.js +5 -5
  146. package/dist/lib/utils.d.ts +1 -0
  147. package/dist/lib/utils.d.ts.map +1 -1
  148. package/dist/lib/utils.js +37 -8
  149. package/dist/multi-select/MultiSelectContent.vue.d.ts +3 -0
  150. package/dist/multi-select/MultiSelectContent.vue.d.ts.map +1 -1
  151. package/dist/multi-select/MultiSelectContent.vue.js +15 -15
  152. package/dist/multi-select/MultiSelectEmpty.vue.js +4 -4
  153. package/dist/multi-select/MultiSelectGroup.vue.js +9 -9
  154. package/dist/multi-select/MultiSelectItem.vue.js +14 -14
  155. package/dist/multi-select/MultiSelectLabel.vue.js +7 -7
  156. package/dist/multi-select/MultiSelectSeparator.vue.js +10 -10
  157. package/dist/multi-select/MultiSelectTrigger.vue.js +20 -20
  158. package/dist/multi-select/MultiSelectValue.vue.js +21 -21
  159. package/dist/pagination/Pagination.vue.js +10 -10
  160. package/dist/pagination/PaginationContent.vue.js +8 -8
  161. package/dist/pagination/PaginationEllipsis.vue.js +7 -7
  162. package/dist/pagination/PaginationFirst.vue.js +1 -1
  163. package/dist/pagination/PaginationLast.vue.js +1 -1
  164. package/dist/pagination/PaginationNext.vue.js +1 -1
  165. package/dist/pagination/PaginationPrevious.vue.js +1 -1
  166. package/dist/popover/PopoverAnchor.vue.js +6 -6
  167. package/dist/popover/PopoverContent.vue.d.ts +8 -2
  168. package/dist/popover/PopoverContent.vue.d.ts.map +1 -1
  169. package/dist/popover/PopoverContent.vue.js +32 -23
  170. package/dist/popover/PopoverTrigger.vue.js +8 -8
  171. package/dist/radio-group/RadioGroup.vue.js +12 -12
  172. package/dist/radio-group/RadioGroupItem.vue.js +10 -10
  173. package/dist/range-calendar/RangeCalendar.vue.js +1 -1
  174. package/dist/range-calendar/RangeCalendarCell.vue.js +5 -5
  175. package/dist/range-calendar/RangeCalendarCellTrigger.vue.js +5 -5
  176. package/dist/range-calendar/RangeCalendarGrid.vue.js +7 -7
  177. package/dist/range-calendar/RangeCalendarGridBody.vue.js +6 -6
  178. package/dist/range-calendar/RangeCalendarGridHead.vue.js +6 -6
  179. package/dist/range-calendar/RangeCalendarGridRow.vue.js +7 -7
  180. package/dist/range-calendar/RangeCalendarHeadCell.vue.js +9 -9
  181. package/dist/range-calendar/RangeCalendarHeader.vue.js +11 -11
  182. package/dist/range-calendar/RangeCalendarHeading.vue.js +15 -15
  183. package/dist/range-calendar/RangeCalendarNextButton.vue.js +10 -10
  184. package/dist/range-calendar/RangeCalendarPrevButton.vue.js +11 -11
  185. package/dist/select/SelectContent.vue.d.ts +9 -2
  186. package/dist/select/SelectContent.vue.d.ts.map +1 -1
  187. package/dist/select/SelectContent.vue.js +42 -33
  188. package/dist/select/SelectGroup.vue.js +8 -8
  189. package/dist/select/SelectItem.vue.js +10 -10
  190. package/dist/select/SelectItemText.vue.js +7 -7
  191. package/dist/select/SelectLabel.vue.js +5 -5
  192. package/dist/select/SelectScrollDownButton.vue.js +13 -13
  193. package/dist/select/SelectScrollUpButton.vue.js +14 -14
  194. package/dist/select/SelectSeparator.vue.js +9 -9
  195. package/dist/select/SelectTrigger.vue.js +2 -2
  196. package/dist/select/SelectValue.vue.js +6 -6
  197. package/dist/sheet/SheetClose.vue.js +8 -8
  198. package/dist/sheet/SheetContent.vue.d.ts +3 -0
  199. package/dist/sheet/SheetContent.vue.d.ts.map +1 -1
  200. package/dist/sheet/SheetContent.vue.js +26 -21
  201. package/dist/sheet/SheetDescription.vue.js +9 -9
  202. package/dist/sheet/SheetOverlay.vue.js +6 -6
  203. package/dist/sheet/SheetTitle.vue.js +8 -8
  204. package/dist/sheet/SheetTrigger.vue.js +8 -8
  205. package/dist/sidebar/Sidebar.vue.js +2 -2
  206. package/dist/sidebar/SidebarGroupAction.vue.js +10 -10
  207. package/dist/sidebar/SidebarGroupLabel.vue.js +11 -11
  208. package/dist/sidebar/SidebarMenuAction.vue.js +1 -1
  209. package/dist/sidebar/SidebarMenuButton.vue.js +17 -17
  210. package/dist/sidebar/SidebarMenuButtonChild.vue.js +8 -8
  211. package/dist/sidebar/SidebarMenuSubButton.vue.js +7 -7
  212. package/dist/sonner/Toast.vue.js +5 -5
  213. package/dist/stepper/StepperDescription.vue.js +9 -9
  214. package/dist/stepper/StepperIndicator.vue.js +6 -6
  215. package/dist/stepper/StepperItem.vue.js +7 -7
  216. package/dist/stepper/StepperSeparator.vue.js +3 -3
  217. package/dist/stepper/StepperTitle.vue.js +7 -7
  218. package/dist/stepper/StepperTrigger.vue.js +5 -5
  219. package/dist/switch/Switch.vue.js +8 -8
  220. package/dist/tabs/Tabs.vue.js +10 -10
  221. package/dist/tabs/TabsContent.vue.js +6 -6
  222. package/dist/tabs/TabsList.vue.d.ts +412 -5
  223. package/dist/tabs/TabsList.vue.d.ts.map +1 -1
  224. package/dist/tabs/TabsList.vue.js +97 -20
  225. package/dist/tabs/TabsTrigger.vue.d.ts +1 -1
  226. package/dist/tabs/TabsTrigger.vue.d.ts.map +1 -1
  227. package/dist/tabs/TabsTrigger.vue.js +17 -14
  228. package/dist/tabs/index.d.ts +2 -5
  229. package/dist/tabs/index.d.ts.map +1 -1
  230. package/dist/tabs/index.js +10 -24
  231. package/dist/tabs/tabs.variants.d.ts +6 -0
  232. package/dist/tabs/tabs.variants.d.ts.map +1 -0
  233. package/dist/tabs/tabs.variants.js +18 -0
  234. package/dist/tabs/useTabsOverflow.d.ts +20 -0
  235. package/dist/tabs/useTabsOverflow.d.ts.map +1 -0
  236. package/dist/tabs/useTabsOverflow.js +51 -0
  237. package/dist/tag/Tag.vue.js +13 -13
  238. package/dist/time-picker/TimePicker.vue.js +2 -2
  239. package/dist/tooltip/TooltipTrigger.vue.js +8 -8
  240. package/dist/upload/UploadContent.vue.js +12 -12
  241. package/dist/upload/UploadContentDescription.vue.js +8 -8
  242. package/dist/upload/UploadContentLoadingDescription.vue.js +9 -9
  243. package/dist/upload/UploadContentSuccessDescription.vue.js +7 -7
  244. package/dist/upload/UploadContentTitle.vue.js +5 -5
  245. package/dist/upload/UploadFileItem.vue.js +7 -7
  246. package/dist/upload/UploadRoot.vue.js +28 -28
  247. package/package.json +1 -1
  248. /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
  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/Icon.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/createLucideIcon.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/defaultAttributes.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/arrow-left.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/arrow-right.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/calendar.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/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/chevron-down.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/chevron-left.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/chevron-right.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/chevron-up.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/chevrons-left.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/chevrons-right.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/circle-check.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/circle-x.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/circle.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/icons/ellipsis.js +0 -0
  266. /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
  267. /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
  268. /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
  269. /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
  270. /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
  271. /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
  272. /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
  273. /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,7 @@
1
- import { VariantProps } from 'class-variance-authority';
2
1
  export { default as AgtTabs } from './Tabs.vue';
3
2
  export { default as AgtTabsContent } from './TabsContent.vue';
4
3
  export { default as AgtTabsList } from './TabsList.vue';
5
4
  export { default as AgtTabsTrigger } from './TabsTrigger.vue';
6
- export declare const tabsTriggerVariants: (props?: ({
7
- variant?: "default" | "simple" | null | undefined;
8
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
9
- export type TabsTriggerVariants = VariantProps<typeof tabsTriggerVariants>;
5
+ export { tabsTriggerVariants } from './tabs.variants';
6
+ export type { TabsTriggerVariants } from './tabs.variants';
10
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tabs/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAG5D,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAC7D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,gBAAgB,CAAA;AACvD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAE7D,eAAO,MAAM,mBAAmB;;8EAc/B,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC,OAAO,mBAAmB,CAAC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tabs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAC7D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,gBAAgB,CAAA;AACvD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAE7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AACrD,YAAY,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA"}
@@ -1,26 +1,12 @@
1
- import { cva as r } from "class-variance-authority";
2
- import { default as n } from "./Tabs.vue.js";
3
- import { default as s } from "./TabsContent.vue.js";
4
- import { default as b } from "./TabsList.vue.js";
5
- import { default as g } from "./TabsTrigger.vue.js";
6
- const e = r(
7
- "data-[state=active]:text-primary-500 hover:text-primary-500 cursor-pointer bg-background disabled:cursor-not-allowed font-bold text-sm transition-all duration-300 flex-1 inline-flex relative items-center gap-1.5 whitespace-nowrap",
8
- {
9
- variants: {
10
- variant: {
11
- default: "hover:bg-linear-(--tab-trigger-background) after:w-15 after:-rotate-20 hover:after:bg-linear-(--tab-trigger-background) rounded-t-md border border-transparent p-4 text-gray-600 after:absolute after:-bottom-[21%] after:-right-3 after:-z-10 after:h-[110%] after:rounded-md after:bg-neutral-100 disabled:hover:bg-none disabled:hover:text-gray-600 disabled:hover:after:bg-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0 h-full",
12
- simple: "data-[state=active]:border-primary-500 border-b border-neutral-200 p-2 min-w-40"
13
- }
14
- },
15
- defaultVariants: {
16
- variant: "default"
17
- }
18
- }
19
- );
1
+ import { default as r } from "./Tabs.vue.js";
2
+ import { default as o } from "./TabsContent.vue.js";
3
+ import { default as f } from "./TabsList.vue.js";
4
+ import { default as T } from "./TabsTrigger.vue.js";
5
+ import { tabsTriggerVariants as m } from "./tabs.variants.js";
20
6
  export {
21
- n as AgtTabs,
22
- s as AgtTabsContent,
23
- b as AgtTabsList,
24
- g as AgtTabsTrigger,
25
- e as tabsTriggerVariants
7
+ r as AgtTabs,
8
+ o as AgtTabsContent,
9
+ f as AgtTabsList,
10
+ T as AgtTabsTrigger,
11
+ m as tabsTriggerVariants
26
12
  };
@@ -0,0 +1,6 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ export declare const tabsTriggerVariants: (props?: ({
3
+ variant?: "default" | "simple" | null | undefined;
4
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
5
+ export type TabsTriggerVariants = VariantProps<typeof tabsTriggerVariants>;
6
+ //# sourceMappingURL=tabs.variants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tabs.variants.d.ts","sourceRoot":"","sources":["../../src/tabs/tabs.variants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAG5D,eAAO,MAAM,mBAAmB;;8EAc/B,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC,OAAO,mBAAmB,CAAC,CAAA"}
@@ -0,0 +1,18 @@
1
+ import { cva as r } from "class-variance-authority";
2
+ const t = r(
3
+ "data-[state=active]:text-primary-500 hover:text-primary-500 cursor-pointer bg-background disabled:cursor-not-allowed font-bold text-sm transition-all duration-300 flex-1 inline-flex relative items-center gap-1.5 whitespace-nowrap",
4
+ {
5
+ variants: {
6
+ variant: {
7
+ default: "hover:bg-linear-(--tab-trigger-background) after:w-15 after:-rotate-20 hover:after:bg-linear-(--tab-trigger-background) rounded-t-md border border-transparent p-4 text-gray-600 after:absolute after:-bottom-[21%] after:-right-3 after:-z-10 after:h-[110%] after:rounded-md after:bg-neutral-100 disabled:hover:bg-none disabled:hover:text-gray-600 disabled:hover:after:bg-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0 h-full",
8
+ simple: "data-[state=active]:border-primary-500 border-b border-neutral-200 p-2 min-w-40"
9
+ }
10
+ },
11
+ defaultVariants: {
12
+ variant: "default"
13
+ }
14
+ }
15
+ );
16
+ export {
17
+ t as tabsTriggerVariants
18
+ };
@@ -0,0 +1,20 @@
1
+ import { ComponentPublicInstance, Ref } from 'vue';
2
+ export interface OverflowTab {
3
+ id: string;
4
+ label: string;
5
+ isActive: boolean;
6
+ }
7
+ export declare function useTabsOverflow(listRef: Ref<ComponentPublicInstance | null>, wrapperRef: Ref<HTMLElement | null>): {
8
+ overflowTabs: Ref<{
9
+ id: string;
10
+ label: string;
11
+ isActive: boolean;
12
+ }[], OverflowTab[] | {
13
+ id: string;
14
+ label: string;
15
+ isActive: boolean;
16
+ }[]>;
17
+ hasOverflow: Ref<boolean, boolean>;
18
+ updateOverflow: () => void;
19
+ };
20
+ //# sourceMappingURL=useTabsOverflow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTabsOverflow.d.ts","sourceRoot":"","sources":["../../src/tabs/useTabsOverflow.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAIvD,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,OAAO,CAAA;CAClB;AAID,wBAAgB,eAAe,CAC7B,OAAO,EAAE,GAAG,CAAC,uBAAuB,GAAG,IAAI,CAAC,EAC5C,UAAU,EAAE,GAAG,CAAC,WAAW,GAAG,IAAI,CAAC;;YAT/B,MAAM;eACH,MAAM;kBACH,OAAO;;YAFb,MAAM;eACH,MAAM;kBACH,OAAO;;;;EAiGlB"}
@@ -0,0 +1,51 @@
1
+ import { ref as b, onMounted as O, nextTick as P, computed as A } from "vue";
2
+ import { useResizeObserver as W, useMutationObserver as x } from "@vueuse/core";
3
+ const E = 180;
4
+ function S(l, i) {
5
+ const v = b([]), p = b(!1);
6
+ let a = !1;
7
+ const s = () => {
8
+ if (a || !l.value || !i.value) return;
9
+ const o = l.value.$el;
10
+ if (o) {
11
+ a = !0;
12
+ try {
13
+ const n = Array.from(
14
+ o.querySelectorAll('[data-slot="tabs-trigger"]')
15
+ );
16
+ n.forEach((r) => {
17
+ const t = r.parentElement;
18
+ t && (t.style.removeProperty("position"), t.style.removeProperty("width"), t.style.removeProperty("height"), t.style.removeProperty("padding"), t.style.removeProperty("margin"), t.style.removeProperty("overflow"), t.style.removeProperty("clip-path"), r.removeAttribute("tabindex"));
19
+ });
20
+ const u = i.value.clientWidth;
21
+ if (u === 0) return;
22
+ let f = 0, c = !1;
23
+ const d = [], w = 8;
24
+ n.forEach((r, t) => {
25
+ var m;
26
+ const e = r.parentElement;
27
+ if (!e) return;
28
+ const y = e.offsetWidth, h = t > 0 ? y + w : y, g = t === n.length - 1 && !c ? u : u - E;
29
+ f + h > g ? (c = !0, e.style.position = "absolute", e.style.width = "1px", e.style.height = "1px", e.style.padding = "0", e.style.margin = "-1px", e.style.overflow = "hidden", e.style.clipPath = "inset(50%)", r.setAttribute("tabindex", "-1"), d.push({
30
+ id: r.getAttribute("data-value") || String(t),
31
+ label: ((m = r.textContent) == null ? void 0 : m.trim()) ?? "",
32
+ isActive: r.getAttribute("data-state") === "active"
33
+ })) : f += h;
34
+ }), v.value = d, p.value = c;
35
+ } finally {
36
+ a = !1;
37
+ }
38
+ }
39
+ };
40
+ return O(() => P(s)), W(i, s), x(
41
+ A(() => {
42
+ var o;
43
+ return (o = l.value) == null ? void 0 : o.$el;
44
+ }),
45
+ s,
46
+ { childList: !0, subtree: !0, attributes: !0, attributeFilter: ["data-state"] }
47
+ ), { overflowTabs: v, hasOverflow: p, updateOverflow: s };
48
+ }
49
+ export {
50
+ S as useTabsOverflow
51
+ };
@@ -1,31 +1,31 @@
1
- import { defineComponent as r, createBlock as o, openBlock as i, unref as s, normalizeClass as l, withCtx as n, renderSlot as m } from "vue";
2
- import { Primitive as p } from "reka-ui";
3
- import { cn as d } from "../lib/utils.js";
4
- import { tagVariants as c } from "./index.js";
5
- const z = /* @__PURE__ */ r({
1
+ import { defineComponent as r, createBlock as i, openBlock as o, unref as s, normalizeClass as n, withCtx as l, renderSlot as p } from "vue";
2
+ import { Primitive as c } from "reka-ui";
3
+ import { cn as m } from "../lib/utils.js";
4
+ import { tagVariants as d } from "./index.js";
5
+ const g = /* @__PURE__ */ r({
6
6
  __name: "Tag",
7
7
  props: {
8
8
  variant: {},
9
9
  size: {},
10
10
  class: {},
11
11
  asChild: { type: Boolean },
12
- as: { default: "div" }
12
+ as: { type: [String, Object, Function], default: "div" }
13
13
  },
14
- setup(e) {
15
- const t = e;
16
- return (a, f) => (i(), o(s(p), {
14
+ setup(t) {
15
+ const e = t;
16
+ return (a, f) => (o(), i(s(c), {
17
17
  "data-slot": "tag",
18
18
  as: a.as,
19
19
  "as-child": a.asChild,
20
- class: l(s(d)(s(c)({ variant: a.variant, size: a.size }), t.class))
20
+ class: n(s(m)(s(d)({ variant: a.variant, size: a.size }), e.class))
21
21
  }, {
22
- default: n(() => [
23
- m(a.$slots, "default")
22
+ default: l(() => [
23
+ p(a.$slots, "default")
24
24
  ]),
25
25
  _: 3
26
26
  }, 8, ["as", "as-child", "class"]));
27
27
  }
28
28
  });
29
29
  export {
30
- z as default
30
+ g as default
31
31
  };
@@ -4,8 +4,8 @@ import { useVModel as $ } from "@vueuse/core";
4
4
  import "../button/index.js";
5
5
  import f from "../input/Input.vue.js";
6
6
  import o from "../button/Button.vue.js";
7
- import b from "../node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/chevron-up.js";
8
- import v from "../node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/chevron-down.js";
7
+ import b from "../node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.16_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/chevron-up.js";
8
+ import v from "../node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.16_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/chevron-down.js";
9
9
  const w = { class: "flex flex-col items-center gap-1" }, B = { class: "flex flex-col items-center gap-1" }, q = /* @__PURE__ */ C({
10
10
  __name: "TimePicker",
11
11
  props: {
@@ -1,22 +1,22 @@
1
- import { defineComponent as t, createBlock as p, openBlock as n, unref as a, mergeProps as l, withCtx as s, renderSlot as i } from "vue";
1
+ import { defineComponent as r, createBlock as n, openBlock as p, unref as i, mergeProps as a, withCtx as l, renderSlot as s } from "vue";
2
2
  import { TooltipTrigger as c } from "reka-ui";
3
- const g = /* @__PURE__ */ t({
3
+ const u = /* @__PURE__ */ r({
4
4
  __name: "TooltipTrigger",
5
5
  props: {
6
6
  reference: {},
7
7
  asChild: { type: Boolean },
8
- as: {}
8
+ as: { type: [String, Object, Function] }
9
9
  },
10
10
  setup(e) {
11
- const o = e;
12
- return (r, f) => (n(), p(a(c), l({ "data-slot": "tooltip-trigger" }, o), {
13
- default: s(() => [
14
- i(r.$slots, "default")
11
+ const t = e;
12
+ return (o, f) => (p(), n(i(c), a({ "data-slot": "tooltip-trigger" }, t), {
13
+ default: l(() => [
14
+ s(o.$slots, "default")
15
15
  ]),
16
16
  _: 3
17
17
  }, 16));
18
18
  }
19
19
  });
20
20
  export {
21
- g as default
21
+ u as default
22
22
  };
@@ -1,25 +1,25 @@
1
- import { defineComponent as l, createBlock as o, openBlock as r, unref as s, normalizeClass as n, withCtx as i, renderSlot as p } from "vue";
2
- import { Primitive as f } from "reka-ui";
3
- import { cn as c } from "../lib/utils.js";
4
- const C = /* @__PURE__ */ l({
1
+ import { defineComponent as o, createBlock as l, openBlock as r, unref as a, normalizeClass as n, withCtx as i, renderSlot as p } from "vue";
2
+ import { Primitive as c } from "reka-ui";
3
+ import { cn as f } from "../lib/utils.js";
4
+ const C = /* @__PURE__ */ o({
5
5
  __name: "UploadContent",
6
6
  props: {
7
7
  class: {},
8
8
  asChild: { type: Boolean },
9
- as: { default: "div" }
9
+ as: { type: [String, Object, Function], default: "div" }
10
10
  },
11
- setup(t) {
12
- const e = t;
13
- return (a, d) => (r(), o(s(f), {
11
+ setup(s) {
12
+ const e = s;
13
+ return (t, d) => (r(), l(a(c), {
14
14
  "data-slot": "upload-content",
15
- as: a.as,
16
- "as-child": a.asChild,
15
+ as: t.as,
16
+ "as-child": t.asChild,
17
17
  class: n(
18
- s(c)("flex h-full w-max flex-row flex-wrap items-start justify-start gap-y-2", e.class)
18
+ a(f)("flex h-full w-max flex-row flex-wrap items-start justify-start gap-y-2", e.class)
19
19
  )
20
20
  }, {
21
21
  default: i(() => [
22
- p(a.$slots, "default")
22
+ p(t.$slots, "default")
23
23
  ]),
24
24
  _: 3
25
25
  }, 8, ["as", "as-child", "class"]));
@@ -1,17 +1,17 @@
1
- import { defineComponent as l, createBlock as n, openBlock as i, unref as t, normalizeClass as r, withCtx as p, renderSlot as c } from "vue";
1
+ import { defineComponent as s, createBlock as l, openBlock as i, unref as t, normalizeClass as r, withCtx as c, renderSlot as p } from "vue";
2
2
  import { Primitive as d } from "reka-ui";
3
3
  import { cn as m } from "../lib/utils.js";
4
4
  import { injectUploadRootContext as f } from "./upload-context.js";
5
- const v = /* @__PURE__ */ l({
5
+ const v = /* @__PURE__ */ s({
6
6
  __name: "UploadContentDescription",
7
7
  props: {
8
8
  class: {},
9
9
  asChild: { type: Boolean },
10
- as: { default: "h8" }
10
+ as: { type: [String, Object, Function], default: "h8" }
11
11
  },
12
12
  setup(a) {
13
- const s = a, e = f();
14
- return (o, u) => (i(), n(t(d), {
13
+ const n = a, e = f();
14
+ return (o, u) => (i(), l(t(d), {
15
15
  "data-slot": "upload-content-description",
16
16
  as: o.as,
17
17
  "as-child": o.asChild,
@@ -19,14 +19,14 @@ const v = /* @__PURE__ */ l({
19
19
  t(m)(
20
20
  "font-nunito block w-full items-start text-start text-sm font-normal text-gray-900",
21
21
  t(e).isUploading.value || t(e).isUploadingComplete.value ? "hidden" : "",
22
- s.class
22
+ n.class
23
23
  )
24
24
  ),
25
25
  role: "heading",
26
26
  "aria-level": "8"
27
27
  }, {
28
- default: p(() => [
29
- c(o.$slots, "default")
28
+ default: c(() => [
29
+ p(o.$slots, "default")
30
30
  ]),
31
31
  _: 3
32
32
  }, 8, ["as", "as-child", "class"]));
@@ -1,16 +1,16 @@
1
- import { defineComponent as n, createBlock as l, openBlock as i, unref as o, normalizeClass as r, withCtx as d, renderSlot as c } from "vue";
1
+ import { defineComponent as s, createBlock as l, openBlock as i, unref as o, normalizeClass as r, withCtx as c, renderSlot as d } from "vue";
2
2
  import { Primitive as p } from "reka-ui";
3
3
  import { cn as m } from "../lib/utils.js";
4
4
  import { injectUploadRootContext as f } from "./upload-context.js";
5
- const _ = /* @__PURE__ */ n({
5
+ const _ = /* @__PURE__ */ s({
6
6
  __name: "UploadContentLoadingDescription",
7
7
  props: {
8
8
  class: {},
9
9
  asChild: { type: Boolean },
10
- as: { default: "h8" }
10
+ as: { type: [String, Object, Function], default: "h8" }
11
11
  },
12
- setup(a) {
13
- const e = a, s = f();
12
+ setup(e) {
13
+ const a = e, n = f();
14
14
  return (t, u) => (i(), l(o(p), {
15
15
  "data-slot": "upload-content-loading-description",
16
16
  as: t.as,
@@ -18,15 +18,15 @@ const _ = /* @__PURE__ */ n({
18
18
  class: r(
19
19
  o(m)(
20
20
  "font-nunito hidden w-full items-start text-start text-sm font-normal text-gray-900",
21
- o(s).isUploading.value ? "block" : "",
22
- e.class
21
+ o(n).isUploading.value ? "block" : "",
22
+ a.class
23
23
  )
24
24
  ),
25
25
  role: "heading",
26
26
  "aria-level": "8"
27
27
  }, {
28
- default: d(() => [
29
- c(t.$slots, "default")
28
+ default: c(() => [
29
+ d(t.$slots, "default")
30
30
  ]),
31
31
  _: 3
32
32
  }, 8, ["as", "as-child", "class"]));
@@ -1,17 +1,17 @@
1
- import { defineComponent as l, createBlock as n, openBlock as r, unref as e, normalizeClass as i, withCtx as c, renderSlot as p } from "vue";
1
+ import { defineComponent as n, createBlock as l, openBlock as r, unref as e, normalizeClass as i, withCtx as c, renderSlot as p } from "vue";
2
2
  import { Primitive as d } from "reka-ui";
3
3
  import { cn as m } from "../lib/utils.js";
4
- import { injectUploadRootContext as f } from "./upload-context.js";
5
- const g = /* @__PURE__ */ l({
4
+ import { injectUploadRootContext as u } from "./upload-context.js";
5
+ const _ = /* @__PURE__ */ n({
6
6
  __name: "UploadContentSuccessDescription",
7
7
  props: {
8
8
  class: {},
9
9
  asChild: { type: Boolean },
10
- as: { default: "h8" }
10
+ as: { type: [String, Object, Function], default: "h8" }
11
11
  },
12
12
  setup(o) {
13
- const s = o, a = f();
14
- return (t, u) => (r(), n(e(d), {
13
+ const s = o, a = u();
14
+ return (t, f) => (r(), l(e(d), {
15
15
  "data-slot": "upload-content-success-description",
16
16
  as: t.as,
17
17
  "as-child": t.asChild,
@@ -33,5 +33,5 @@ const g = /* @__PURE__ */ l({
33
33
  }
34
34
  });
35
35
  export {
36
- g as default
36
+ _ as default
37
37
  };
@@ -1,5 +1,5 @@
1
- import { defineComponent as l, createBlock as n, openBlock as i, unref as t, normalizeClass as r, withCtx as p, renderSlot as d } from "vue";
2
- import { Primitive as c } from "reka-ui";
1
+ import { defineComponent as l, createBlock as n, openBlock as i, unref as t, normalizeClass as r, withCtx as p, renderSlot as c } from "vue";
2
+ import { Primitive as d } from "reka-ui";
3
3
  import { cn as m } from "../lib/utils.js";
4
4
  import { injectUploadRootContext as f } from "./upload-context.js";
5
5
  const _ = /* @__PURE__ */ l({
@@ -7,11 +7,11 @@ const _ = /* @__PURE__ */ l({
7
7
  props: {
8
8
  class: {},
9
9
  asChild: { type: Boolean },
10
- as: { default: "p" }
10
+ as: { type: [String, Object, Function], default: "p" }
11
11
  },
12
12
  setup(a) {
13
13
  const s = a, e = f();
14
- return (o, u) => (i(), n(t(c), {
14
+ return (o, u) => (i(), n(t(d), {
15
15
  "data-slot": "upload-content-title",
16
16
  as: o.as,
17
17
  "as-child": o.asChild,
@@ -24,7 +24,7 @@ const _ = /* @__PURE__ */ l({
24
24
  )
25
25
  }, {
26
26
  default: p(() => [
27
- d(o.$slots, "default")
27
+ c(o.$slots, "default")
28
28
  ]),
29
29
  _: 3
30
30
  }, 8, ["as", "as-child", "class"]));
@@ -3,13 +3,13 @@ import { Primitive as g } from "reka-ui";
3
3
  import { formatBytes as v } from "../composables/use-file-upload.js";
4
4
  import { cn as x } from "../lib/utils.js";
5
5
  import { injectUploadRootContext as _ } from "./upload-context.js";
6
- const y = { class: "flex w-full items-center justify-between gap-1" }, L = { class: "flex w-full items-center gap-1" }, V = { class: "text-xs font-semibold text-gray-800" }, H = { class: "place-self-end text-xs font-normal text-gray-600" }, B = { class: "flex w-full items-center justify-center gap-1" }, M = { class: "h-1 w-full rounded-full" }, P = { class: "place-self-end text-xs font-normal text-gray-600" }, $ = /* @__PURE__ */ f({
6
+ const y = { class: "flex w-full items-center justify-between gap-1" }, L = { class: "flex w-full items-center gap-1" }, V = { class: "text-xs font-semibold text-gray-800" }, H = { class: "place-self-end text-xs font-normal text-gray-600" }, B = { class: "flex w-full items-center justify-center gap-1" }, M = { class: "h-1 w-full rounded-full" }, b = { class: "place-self-end text-xs font-normal text-gray-600" }, U = /* @__PURE__ */ f({
7
7
  __name: "UploadFileItem",
8
8
  props: {
9
9
  file: {},
10
10
  class: {},
11
11
  asChild: { type: Boolean },
12
- as: { default: "div" }
12
+ as: { type: [String, Object, Function], default: "div" }
13
13
  },
14
14
  setup(r) {
15
15
  const n = r, a = _(), o = d(0);
@@ -68,8 +68,8 @@ const y = { class: "flex w-full items-center justify-between gap-1" }, L = { cla
68
68
  ]),
69
69
  e("div", {
70
70
  role: "button",
71
- onClick: l[0] || (l[0] = w((Z) => i(a).removeFile(t.file.id), ["stop", "prevent"]))
72
- }, [...l[2] || (l[2] = [
71
+ onClick: l[0] || (l[0] = w((j) => i(a).removeFile(t.file.id), ["stop", "prevent"]))
72
+ }, l[2] || (l[2] = [
73
73
  e("svg", {
74
74
  width: "10",
75
75
  height: "10",
@@ -93,14 +93,14 @@ const y = { class: "flex w-full items-center justify-between gap-1" }, L = { cla
93
93
  ])
94
94
  ])
95
95
  ], -1)
96
- ])])
96
+ ]))
97
97
  ]),
98
- e("span", P, s(i(v)(t.file.file.size, 2)), 1)
98
+ e("span", b, s(i(v)(t.file.file.size, 2)), 1)
99
99
  ]),
100
100
  _: 1
101
101
  }, 8, ["as", "as-child", "class"]));
102
102
  }
103
103
  });
104
104
  export {
105
- $ as default
105
+ U as default
106
106
  };
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as F, computed as y, createBlock as h, openBlock as C, unref as o, withCtx as B, createElementVNode as d, normalizeClass as z, createVNode as U, renderSlot as _ } from "vue";
2
2
  import { useFileUpload as b } from "../composables/use-file-upload.js";
3
- import R from "../illustration/Illustration.vue.js";
4
- import { cn as S } from "../lib/utils.js";
3
+ import S from "../illustration/Illustration.vue.js";
4
+ import { cn as R } from "../lib/utils.js";
5
5
  import { Primitive as k } from "reka-ui";
6
6
  import { provideUploadRootContext as w } from "./upload-context.js";
7
- const M = { class: "relative" }, D = /* @__PURE__ */ F({
7
+ const M = { class: "relative" }, $ = /* @__PURE__ */ F({
8
8
  __name: "UploadRoot",
9
9
  props: {
10
10
  onFilesAdded: { type: Function },
@@ -16,21 +16,21 @@ const M = { class: "relative" }, D = /* @__PURE__ */ F({
16
16
  initialFiles: {},
17
17
  class: {},
18
18
  asChild: { type: Boolean },
19
- as: {}
19
+ as: { type: [String, Object, Function] }
20
20
  },
21
21
  setup(f) {
22
- const l = f, m = y(() => l.maxSizeMB ? l.maxSizeMB * 1024 * 1024 : 5 * 1024 * 1024), {
23
- files: t,
22
+ const l = f, c = y(() => l.maxSizeMB ? l.maxSizeMB * 1024 * 1024 : 5 * 1024 * 1024), {
23
+ files: i,
24
24
  errors: p,
25
- dropzoneRef: c,
25
+ dropzoneRef: m,
26
26
  inputRef: g,
27
- isUploading: i,
28
- isUploadingComplete: r,
27
+ isUploading: t,
28
+ isUploadingComplete: a,
29
29
  openFileDialog: u,
30
30
  removeFile: v
31
31
  } = b({
32
32
  accept: l.accept,
33
- maxSize: m.value,
33
+ maxSize: c.value,
34
34
  initialFiles: l.initialFiles || [],
35
35
  maxFiles: l.maxFiles || 5,
36
36
  multiple: l.multiple || !1,
@@ -38,30 +38,30 @@ const M = { class: "relative" }, D = /* @__PURE__ */ F({
38
38
  onFilesChange: l.onFilesChange
39
39
  });
40
40
  return w({
41
- isUploading: i,
42
- isUploadingComplete: r,
43
- files: t,
41
+ isUploading: t,
42
+ isUploadingComplete: a,
43
+ files: i,
44
44
  errors: p,
45
45
  removeFile: v,
46
- handleUpdateProgressOnParent: (s, a) => {
47
- const e = t.value.find((n) => n.id === s);
46
+ handleUpdateProgressOnParent: (s, r) => {
47
+ const e = i.value.find((n) => n.id === s);
48
48
  if (e) {
49
- i.value = !0, e.progress = 0, e.uploadedBytes = 0;
49
+ t.value = !0, e.progress = 0, e.uploadedBytes = 0;
50
50
  const n = setInterval(() => {
51
- if (t.value.every((x) => x.progress === 100)) {
51
+ if (i.value.every((x) => x.progress === 100)) {
52
52
  setTimeout(() => {
53
- i.value = !1, r.value = !0;
53
+ t.value = !1, a.value = !0;
54
54
  }, 1e3), clearInterval(n);
55
55
  return;
56
56
  }
57
57
  e.progress !== void 0 && e.uploadedBytes !== void 0 && e.progress < 100 && (e.uploadedBytes += 5e4, e.progress = Math.min(
58
58
  100,
59
59
  Math.floor(e.uploadedBytes * 100 / (e.file.size || 1))
60
- ), a(e.progress));
60
+ ), r(e.progress));
61
61
  }, 60);
62
62
  }
63
63
  }
64
- }), (s, a) => (C(), h(o(k), {
64
+ }), (s, r) => (C(), h(o(k), {
65
65
  as: "div",
66
66
  "data-slot": "upload",
67
67
  class: "flex flex-col gap-2"
@@ -70,14 +70,14 @@ const M = { class: "relative" }, D = /* @__PURE__ */ F({
70
70
  d("div", M, [
71
71
  d("div", {
72
72
  ref_key: "dropzoneRef",
73
- ref: c,
73
+ ref: m,
74
74
  role: "button",
75
75
  class: z(
76
- o(S)(
76
+ o(R)(
77
77
  "border-dashed-neutral-400 relative flex cursor-default flex-row flex-nowrap items-center justify-start gap-4 overflow-hidden rounded-2xl border-2 border-dashed bg-gray-100 p-5 transition-colors data-[dragging=true]:opacity-80"
78
78
  )
79
79
  ),
80
- onClick: a[0] || (a[0] = //@ts-ignore
80
+ onClick: r[0] || (r[0] = //@ts-ignore
81
81
  (...e) => o(u) && o(u)(...e))
82
82
  }, [
83
83
  d("input", {
@@ -86,15 +86,15 @@ const M = { class: "relative" }, D = /* @__PURE__ */ F({
86
86
  "aria-label": "Upload file",
87
87
  type: "file"
88
88
  }, null, 512),
89
- U(R, {
90
- illustration: o(i) || o(r) ? "filteringUpload" : "cloudUpload",
89
+ U(S, {
90
+ illustration: o(t) || o(a) ? "filteringUpload" : "cloudUpload",
91
91
  class: "size-12 text-neutral-500",
92
92
  width: 48,
93
93
  height: 48
94
94
  }, null, 8, ["illustration"]),
95
95
  _(s.$slots, "default", {
96
- isUploading: o(i),
97
- files: o(t),
96
+ isUploading: o(t),
97
+ files: o(i),
98
98
  errors: o(p)
99
99
  })
100
100
  ], 2)
@@ -105,5 +105,5 @@ const M = { class: "relative" }, D = /* @__PURE__ */ F({
105
105
  }
106
106
  });
107
107
  export {
108
- D as default
108
+ $ as default
109
109
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@agrotools1/at-components",
3
3
  "type": "module",
4
- "version": "2.0.36",
4
+ "version": "2.0.38",
5
5
  "private": false,
6
6
  "description": "Componentes da Agrotools - Versão 2 (com re-export da V1)",
7
7
  "author": "Agrotools",