@agrotools1/at-components 2.0.13 → 2.0.14-beta.1

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 (548) hide show
  1. package/dist/accordion/Accordion.vue.js +30 -0
  2. package/dist/accordion/Accordion.vue2.js +4 -0
  3. package/dist/accordion/AccordionContent.vue.js +29 -0
  4. package/dist/accordion/AccordionContent.vue2.js +4 -0
  5. package/dist/accordion/AccordionItem.vue.js +29 -0
  6. package/dist/accordion/AccordionItem.vue2.js +4 -0
  7. package/dist/accordion/AccordionTrigger.vue.js +38 -0
  8. package/dist/accordion/AccordionTrigger.vue2.js +4 -0
  9. package/dist/alert-dialog/AlertDialog.vue.js +22 -0
  10. package/dist/alert-dialog/AlertDialog.vue2.js +4 -0
  11. package/dist/alert-dialog/AlertDialogAction.vue.js +29 -0
  12. package/dist/alert-dialog/AlertDialogAction.vue2.js +4 -0
  13. package/dist/alert-dialog/AlertDialogCancel.vue.js +29 -0
  14. package/dist/alert-dialog/AlertDialogCancel.vue2.js +4 -0
  15. package/dist/alert-dialog/AlertDialogContent.vue.js +44 -0
  16. package/dist/alert-dialog/AlertDialogContent.vue2.js +4 -0
  17. package/dist/alert-dialog/AlertDialogDescription.vue.js +26 -0
  18. package/dist/alert-dialog/AlertDialogDescription.vue2.js +4 -0
  19. package/dist/alert-dialog/AlertDialogFooter.vue.js +25 -0
  20. package/dist/alert-dialog/AlertDialogFooter.vue2.js +4 -0
  21. package/dist/alert-dialog/AlertDialogHeader.vue.js +20 -0
  22. package/dist/alert-dialog/AlertDialogHeader.vue2.js +4 -0
  23. package/dist/alert-dialog/AlertDialogTitle.vue.js +26 -0
  24. package/dist/alert-dialog/AlertDialogTitle.vue2.js +4 -0
  25. package/dist/alert-dialog/AlertDialogTrigger.vue.js +21 -0
  26. package/dist/alert-dialog/AlertDialogTrigger.vue2.js +4 -0
  27. package/dist/assets/illustrations/renovabio/biomass.svg.js +16 -0
  28. package/dist/assets/illustrations/renovabio/volume.svg.js +16 -0
  29. package/dist/assets/illustrations/system/add-file.svg.js +16 -0
  30. package/dist/assets/illustrations/system/cloud-connection.svg.js +16 -0
  31. package/dist/assets/illustrations/system/cloud-download.svg.js +16 -0
  32. package/dist/assets/illustrations/system/cloud-upload.svg.js +16 -0
  33. package/dist/assets/illustrations/system/corrupted-file.svg.js +16 -0
  34. package/dist/assets/illustrations/system/dynamic-production.svg.js +16 -0
  35. package/dist/assets/illustrations/system/empty-box.svg.js +16 -0
  36. package/dist/assets/illustrations/system/empty-folder-2.svg.js +16 -0
  37. package/dist/assets/illustrations/system/empty-folder.svg.js +16 -0
  38. package/dist/assets/illustrations/system/empty.svg.js +16 -0
  39. package/dist/assets/illustrations/system/error-illustration.svg.js +16 -0
  40. package/dist/assets/illustrations/system/error.svg.js +16 -0
  41. package/dist/assets/illustrations/system/file-backup-2.svg.js +16 -0
  42. package/dist/assets/illustrations/system/file-backup.svg.js +16 -0
  43. package/dist/assets/illustrations/system/filtering-upload.svg.js +16 -0
  44. package/dist/assets/illustrations/system/flight.svg.js +16 -0
  45. package/dist/assets/illustrations/system/fly.svg.js +16 -0
  46. package/dist/assets/illustrations/system/movies.svg.js +16 -0
  47. package/dist/assets/illustrations/system/multimedia.svg.js +16 -0
  48. package/dist/assets/illustrations/system/notification-bell.svg.js +16 -0
  49. package/dist/assets/illustrations/system/page-2.svg.js +16 -0
  50. package/dist/assets/illustrations/system/page.svg.js +16 -0
  51. package/dist/assets/illustrations/system/photos.svg.js +16 -0
  52. package/dist/assets/illustrations/system/recycle-bin.svg.js +16 -0
  53. package/dist/assets/illustrations/system/rocket-launch.svg.js +16 -0
  54. package/dist/assets/illustrations/system/search-territory.svg.js +16 -0
  55. package/dist/assets/illustrations/system/signal.svg.js +16 -0
  56. package/dist/assets/illustrations/system/siren.svg.js +16 -0
  57. package/dist/assets/illustrations/system/wrong.svg.js +16 -0
  58. package/dist/assets/illustrations/tools/advanced-analysis.svg.js +17 -0
  59. package/dist/assets/illustrations/tools/agriculture.svg.js +16 -0
  60. package/dist/assets/illustrations/tools/alert-center.svg.js +16 -0
  61. package/dist/assets/illustrations/tools/area.svg.js +16 -0
  62. package/dist/assets/illustrations/tools/at-insights.svg.js +16 -0
  63. package/dist/assets/illustrations/tools/conservation-unit.svg.js +16 -0
  64. package/dist/assets/illustrations/tools/credit.svg.js +16 -0
  65. package/dist/assets/illustrations/tools/deforestation.svg.js +16 -0
  66. package/dist/assets/illustrations/tools/distance-proximity-rivers.svg.js +16 -0
  67. package/dist/assets/illustrations/tools/estimated-productivity-penalty.svg.js +16 -0
  68. package/dist/assets/illustrations/tools/extract.svg.js +16 -0
  69. package/dist/assets/illustrations/tools/farm.svg.js +16 -0
  70. package/dist/assets/illustrations/tools/geographical-consultation-municipalities.svg.js +16 -0
  71. package/dist/assets/illustrations/tools/gix.svg.js +16 -0
  72. package/dist/assets/illustrations/tools/inapto.svg.js +16 -0
  73. package/dist/assets/illustrations/tools/insurance.svg.js +16 -0
  74. package/dist/assets/illustrations/tools/land-appreciation.svg.js +16 -0
  75. package/dist/assets/illustrations/tools/lockdown.svg.js +16 -0
  76. package/dist/assets/illustrations/tools/map.svg.js +31 -0
  77. package/dist/assets/illustrations/tools/pasture.svg.js +16 -0
  78. package/dist/assets/illustrations/tools/rating-2.svg.js +16 -0
  79. package/dist/assets/illustrations/tools/rating.svg.js +16 -0
  80. package/dist/assets/illustrations/tools/recurrence.svg.js +16 -0
  81. package/dist/assets/illustrations/tools/refrigerators.svg.js +16 -0
  82. package/dist/assets/illustrations/tools/settings.svg.js +16 -0
  83. package/dist/assets/illustrations/tools/socio-environmental-analysis.svg.js +16 -0
  84. package/dist/assets/illustrations/tools/soil-use.svg.js +16 -0
  85. package/dist/assets/illustrations/tools/storm.svg.js +16 -0
  86. package/dist/assets/illustrations/tools/territory-details.svg.js +16 -0
  87. package/dist/assets/illustrations/tools/timeline.svg.js +16 -0
  88. package/dist/avatar/Avatar.vue.js +37 -0
  89. package/dist/avatar/Avatar.vue2.js +4 -0
  90. package/dist/avatar/AvatarFallback.vue.js +30 -0
  91. package/dist/avatar/AvatarFallback.vue2.js +4 -0
  92. package/dist/avatar/AvatarImage.vue.js +24 -0
  93. package/dist/avatar/AvatarImage.vue2.js +4 -0
  94. package/dist/badge/Badge.vue.js +30 -0
  95. package/dist/badge/Badge.vue2.js +4 -0
  96. package/dist/badge/index.js +29 -0
  97. package/dist/breadcrumb/Breadcrumb.vue.js +20 -0
  98. package/dist/breadcrumb/Breadcrumb.vue2.js +4 -0
  99. package/dist/breadcrumb/BreadcrumbItem.vue.js +20 -0
  100. package/dist/breadcrumb/BreadcrumbItem.vue2.js +4 -0
  101. package/dist/breadcrumb/BreadcrumbLink.vue.js +35 -0
  102. package/dist/breadcrumb/BreadcrumbLink.vue2.js +4 -0
  103. package/dist/breadcrumb/BreadcrumbList.vue.js +25 -0
  104. package/dist/breadcrumb/BreadcrumbList.vue2.js +4 -0
  105. package/dist/breadcrumb/BreadcrumbSeparator.vue.js +25 -0
  106. package/dist/breadcrumb/BreadcrumbSeparator.vue2.js +4 -0
  107. package/dist/button/Button.vue.js +31 -0
  108. package/dist/button/Button.vue2.js +4 -0
  109. package/dist/button/index.js +27 -0
  110. package/dist/calendar/Calendar.vue.js +216 -0
  111. package/dist/calendar/Calendar.vue2.js +4 -0
  112. package/dist/calendar/CalendarCell.vue.js +31 -0
  113. package/dist/calendar/CalendarCell.vue2.js +4 -0
  114. package/dist/calendar/CalendarCellTrigger.vue.js +43 -0
  115. package/dist/calendar/CalendarCellTrigger.vue2.js +4 -0
  116. package/dist/calendar/CalendarGrid.vue.js +27 -0
  117. package/dist/calendar/CalendarGrid.vue2.js +4 -0
  118. package/dist/calendar/CalendarGridBody.vue.js +21 -0
  119. package/dist/calendar/CalendarGridBody.vue2.js +4 -0
  120. package/dist/calendar/CalendarGridHead.vue.js +22 -0
  121. package/dist/calendar/CalendarGridHead.vue2.js +4 -0
  122. package/dist/calendar/CalendarGridRow.vue.js +27 -0
  123. package/dist/calendar/CalendarGridRow.vue2.js +4 -0
  124. package/dist/calendar/CalendarHeadCell.vue.js +27 -0
  125. package/dist/calendar/CalendarHeadCell.vue2.js +4 -0
  126. package/dist/calendar/CalendarHeader.vue.js +27 -0
  127. package/dist/calendar/CalendarHeader.vue2.js +4 -0
  128. package/dist/calendar/CalendarHeading.vue.js +34 -0
  129. package/dist/calendar/CalendarHeading.vue2.js +4 -0
  130. package/dist/calendar/CalendarNextButton.vue.js +37 -0
  131. package/dist/calendar/CalendarNextButton.vue2.js +4 -0
  132. package/dist/calendar/CalendarPrevButton.vue.js +37 -0
  133. package/dist/calendar/CalendarPrevButton.vue2.js +4 -0
  134. package/dist/card/Card.vue.js +51 -0
  135. package/dist/card/Card.vue2.js +4 -0
  136. package/dist/card/CardDescription.vue.js +33 -0
  137. package/dist/card/CardDescription.vue2.js +4 -0
  138. package/dist/card/CardTitle.vue.js +35 -0
  139. package/dist/card/CardTitle.vue2.js +4 -0
  140. package/dist/carousel/Carousel.vue.js +62 -0
  141. package/dist/carousel/Carousel.vue2.js +4 -0
  142. package/dist/carousel/CarouselContent.vue.js +28 -0
  143. package/dist/carousel/CarouselContent.vue2.js +4 -0
  144. package/dist/carousel/CarouselItem.vue.js +29 -0
  145. package/dist/carousel/CarouselItem.vue2.js +4 -0
  146. package/dist/carousel/CarouselNext.vue.js +44 -0
  147. package/dist/carousel/CarouselNext.vue2.js +4 -0
  148. package/dist/carousel/CarouselPrevious.vue.js +44 -0
  149. package/dist/carousel/CarouselPrevious.vue2.js +4 -0
  150. package/dist/carousel/useCarousel.js +48 -0
  151. package/dist/checkbox/Checkbox.vue.js +74 -0
  152. package/dist/checkbox/Checkbox.vue2.js +4 -0
  153. package/dist/combobox/Combobox.vue.js +38 -0
  154. package/dist/combobox/Combobox.vue2.js +4 -0
  155. package/dist/combobox/ComboboxAnchor.vue.js +27 -0
  156. package/dist/combobox/ComboboxAnchor.vue2.js +4 -0
  157. package/dist/combobox/ComboboxEmpty.vue.js +26 -0
  158. package/dist/combobox/ComboboxEmpty.vue2.js +4 -0
  159. package/dist/combobox/ComboboxGroup.vue.js +36 -0
  160. package/dist/combobox/ComboboxGroup.vue2.js +4 -0
  161. package/dist/combobox/ComboboxInput.vue.js +82 -0
  162. package/dist/combobox/ComboboxInput.vue2.js +4 -0
  163. package/dist/combobox/ComboboxItem.vue.js +33 -0
  164. package/dist/combobox/ComboboxItem.vue2.js +4 -0
  165. package/dist/combobox/ComboboxItemIndicator.vue.js +26 -0
  166. package/dist/combobox/ComboboxItemIndicator.vue2.js +4 -0
  167. package/dist/combobox/ComboboxList.vue.js +57 -0
  168. package/dist/combobox/ComboboxList.vue2.js +4 -0
  169. package/dist/combobox/ComboboxSeparator.vue.js +26 -0
  170. package/dist/combobox/ComboboxSeparator.vue2.js +4 -0
  171. package/dist/combobox/ComboboxViewport.vue.js +27 -0
  172. package/dist/combobox/ComboboxViewport.vue2.js +4 -0
  173. package/dist/command/Command.vue.js +102 -0
  174. package/dist/command/Command.vue2.js +4 -0
  175. package/dist/command/CommandDialog.vue.js +58 -0
  176. package/dist/command/CommandDialog.vue2.js +4 -0
  177. package/dist/command/CommandEmpty.vue.js +30 -0
  178. package/dist/command/CommandEmpty.vue2.js +4 -0
  179. package/dist/command/CommandGroup.vue.js +40 -0
  180. package/dist/command/CommandGroup.vue2.js +4 -0
  181. package/dist/command/CommandInput.vue.js +43 -0
  182. package/dist/command/CommandInput.vue2.js +4 -0
  183. package/dist/command/CommandItem.vue.js +51 -0
  184. package/dist/command/CommandItem.vue2.js +4 -0
  185. package/dist/command/CommandList.vue.js +28 -0
  186. package/dist/command/CommandList.vue2.js +4 -0
  187. package/dist/command/CommandSeparator.vue.js +28 -0
  188. package/dist/command/CommandSeparator.vue2.js +4 -0
  189. package/dist/command/CommandShortcut.vue.js +20 -0
  190. package/dist/command/CommandShortcut.vue2.js +4 -0
  191. package/dist/command/contexts.js +8 -0
  192. package/dist/composables/use-file-upload.js +146 -0
  193. package/dist/data-table/DataTable.vue.js +171 -0
  194. package/dist/data-table/DataTable.vue2.js +4 -0
  195. package/dist/data-table/DataTableColumnHeader.vue.js +33 -0
  196. package/dist/data-table/DataTableColumnHeader.vue2.js +4 -0
  197. package/dist/data-table/DataTablePagination.vue.js +56 -0
  198. package/dist/data-table/DataTablePagination.vue2.js +4 -0
  199. package/dist/date-picker/DatePicker.vue.js +104 -0
  200. package/dist/date-picker/DatePicker.vue2.js +4 -0
  201. package/dist/date-range-picker/DateRangePicker.vue.js +79 -0
  202. package/dist/date-range-picker/DateRangePicker.vue2.js +4 -0
  203. package/dist/dialog/Dialog.vue.js +23 -0
  204. package/dist/dialog/Dialog.vue2.js +4 -0
  205. package/dist/dialog/DialogBody.vue.js +20 -0
  206. package/dist/dialog/DialogBody.vue2.js +4 -0
  207. package/dist/dialog/DialogClose.vue.js +21 -0
  208. package/dist/dialog/DialogClose.vue2.js +4 -0
  209. package/dist/dialog/DialogContent.vue.js +50 -0
  210. package/dist/dialog/DialogContent.vue2.js +4 -0
  211. package/dist/dialog/DialogDescription.vue.js +26 -0
  212. package/dist/dialog/DialogDescription.vue2.js +4 -0
  213. package/dist/dialog/DialogFooter.vue.js +25 -0
  214. package/dist/dialog/DialogFooter.vue2.js +4 -0
  215. package/dist/dialog/DialogHeader.vue.js +20 -0
  216. package/dist/dialog/DialogHeader.vue2.js +4 -0
  217. package/dist/dialog/DialogOverlay.vue.js +30 -0
  218. package/dist/dialog/DialogOverlay.vue2.js +4 -0
  219. package/dist/dialog/DialogScrollContent.vue.js +58 -0
  220. package/dist/dialog/DialogScrollContent.vue2.js +4 -0
  221. package/dist/dialog/DialogTitle.vue.js +26 -0
  222. package/dist/dialog/DialogTitle.vue2.js +4 -0
  223. package/dist/dialog/DialogTrigger.vue.js +21 -0
  224. package/dist/dialog/DialogTrigger.vue2.js +4 -0
  225. package/dist/dialog/index.js +20 -0
  226. package/dist/dropdown-menu/DropdownMenu.vue.js +24 -0
  227. package/dist/dropdown-menu/DropdownMenu.vue2.js +4 -0
  228. package/dist/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts.map +1 -1
  229. package/dist/dropdown-menu/DropdownMenuCheckboxItem.vue.js +42 -0
  230. package/dist/dropdown-menu/DropdownMenuCheckboxItem.vue2.js +4 -0
  231. package/dist/dropdown-menu/DropdownMenuContent.vue.js +54 -0
  232. package/dist/dropdown-menu/DropdownMenuContent.vue2.js +4 -0
  233. package/dist/dropdown-menu/DropdownMenuGroup.vue.js +21 -0
  234. package/dist/dropdown-menu/DropdownMenuGroup.vue2.js +4 -0
  235. package/dist/dropdown-menu/DropdownMenuItem.vue.d.ts.map +1 -1
  236. package/dist/dropdown-menu/DropdownMenuItem.vue.js +38 -0
  237. package/dist/dropdown-menu/DropdownMenuItem.vue2.js +4 -0
  238. package/dist/dropdown-menu/DropdownMenuLabel.vue.js +30 -0
  239. package/dist/dropdown-menu/DropdownMenuLabel.vue2.js +4 -0
  240. package/dist/dropdown-menu/DropdownMenuRadioGroup.vue.js +23 -0
  241. package/dist/dropdown-menu/DropdownMenuRadioGroup.vue2.js +4 -0
  242. package/dist/dropdown-menu/DropdownMenuRadioItem.vue.d.ts.map +1 -1
  243. package/dist/dropdown-menu/DropdownMenuRadioItem.vue.js +43 -0
  244. package/dist/dropdown-menu/DropdownMenuRadioItem.vue2.js +4 -0
  245. package/dist/dropdown-menu/DropdownMenuSeparator.vue.js +21 -0
  246. package/dist/dropdown-menu/DropdownMenuSeparator.vue2.js +4 -0
  247. package/dist/dropdown-menu/DropdownMenuShortcut.vue.d.ts.map +1 -1
  248. package/dist/dropdown-menu/DropdownMenuShortcut.vue.js +20 -0
  249. package/dist/dropdown-menu/DropdownMenuShortcut.vue2.js +4 -0
  250. package/dist/dropdown-menu/DropdownMenuSub.vue.js +22 -0
  251. package/dist/dropdown-menu/DropdownMenuSub.vue2.js +4 -0
  252. package/dist/dropdown-menu/DropdownMenuSubContent.vue.js +47 -0
  253. package/dist/dropdown-menu/DropdownMenuSubContent.vue2.js +4 -0
  254. package/dist/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts.map +1 -1
  255. package/dist/dropdown-menu/DropdownMenuSubTrigger.vue.js +34 -0
  256. package/dist/dropdown-menu/DropdownMenuSubTrigger.vue2.js +4 -0
  257. package/dist/dropdown-menu/DropdownMenuTrigger.vue.js +22 -0
  258. package/dist/dropdown-menu/DropdownMenuTrigger.vue2.js +4 -0
  259. package/dist/illustration/Illustration.vue.js +17 -0
  260. package/dist/illustration/Illustration.vue2.js +4 -0
  261. package/dist/illustration/illustrations.js +127 -0
  262. package/dist/index.css +1 -1
  263. package/dist/index.js +454 -30969
  264. package/dist/input/Input.vue.js +43 -0
  265. package/dist/input/Input.vue2.js +4 -0
  266. package/dist/label/Label.vue.js +30 -0
  267. package/dist/label/Label.vue2.js +4 -0
  268. package/dist/lib/date.js +34 -0
  269. package/dist/lib/utils.js +13 -0
  270. package/dist/multi-select/MultiSelectContent.vue.js +69 -0
  271. package/dist/multi-select/MultiSelectContent.vue2.js +4 -0
  272. package/dist/multi-select/MultiSelectEmpty.vue.js +22 -0
  273. package/dist/multi-select/MultiSelectEmpty.vue2.js +4 -0
  274. package/dist/multi-select/MultiSelectGroup.vue.js +26 -0
  275. package/dist/multi-select/MultiSelectGroup.vue2.js +4 -0
  276. package/dist/multi-select/MultiSelectItem.vue.js +71 -0
  277. package/dist/multi-select/MultiSelectItem.vue2.js +4 -0
  278. package/dist/multi-select/MultiSelectLabel.vue.js +28 -0
  279. package/dist/multi-select/MultiSelectLabel.vue2.js +4 -0
  280. package/dist/multi-select/MultiSelectRoot.vue.js +76 -0
  281. package/dist/multi-select/MultiSelectRoot.vue2.js +4 -0
  282. package/dist/multi-select/MultiSelectSeparator.vue.js +25 -0
  283. package/dist/multi-select/MultiSelectSeparator.vue2.js +4 -0
  284. package/dist/multi-select/MultiSelectTrigger.vue.js +61 -0
  285. package/dist/multi-select/MultiSelectTrigger.vue2.js +4 -0
  286. package/dist/multi-select/MultiSelectValue.vue.js +79 -0
  287. package/dist/multi-select/MultiSelectValue.vue2.js +4 -0
  288. package/dist/multi-select/contexts.js +10 -0
  289. package/dist/multi-select/utils.js +11 -0
  290. package/dist/node_modules/.pnpm/@internationalized_date@3.8.2/node_modules/@internationalized/date/dist/CalendarDate.js +219 -0
  291. package/dist/node_modules/.pnpm/@internationalized_date@3.8.2/node_modules/@internationalized/date/dist/DateFormatter.js +99 -0
  292. package/dist/node_modules/.pnpm/@internationalized_date@3.8.2/node_modules/@internationalized/date/dist/GregorianCalendar.js +98 -0
  293. package/dist/node_modules/.pnpm/@internationalized_date@3.8.2/node_modules/@internationalized/date/dist/conversion.js +137 -0
  294. package/dist/node_modules/.pnpm/@internationalized_date@3.8.2/node_modules/@internationalized/date/dist/manipulation.js +214 -0
  295. package/dist/node_modules/.pnpm/@internationalized_date@3.8.2/node_modules/@internationalized/date/dist/queries.js +60 -0
  296. package/dist/node_modules/.pnpm/@internationalized_date@3.8.2/node_modules/@internationalized/date/dist/string.js +27 -0
  297. package/dist/node_modules/.pnpm/@internationalized_date@3.8.2/node_modules/@internationalized/date/dist/utils.js +6 -0
  298. package/dist/node_modules/.pnpm/@swc_helpers@0.5.17/node_modules/@swc/helpers/esm/_check_private_redeclaration.js +7 -0
  299. package/dist/node_modules/.pnpm/@swc_helpers@0.5.17/node_modules/@swc/helpers/esm/_class_private_field_init.js +7 -0
  300. package/dist/node_modules/.pnpm/@tanstack_table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/index.js +1771 -0
  301. package/dist/node_modules/.pnpm/@tanstack_vue-table@8.21.3_vue@3.5.19_typescript@5.8.3_/node_modules/@tanstack/vue-table/build/lib/index.js +168 -0
  302. package/dist/node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/Icon.js +39 -0
  303. package/dist/node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/createLucideIcon.js +21 -0
  304. package/dist/node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/defaultAttributes.js +20 -0
  305. package/dist/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/arrow-left.js +14 -0
  306. package/dist/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/arrow-right.js +14 -0
  307. package/dist/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/calendar.js +16 -0
  308. package/dist/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 +11 -0
  309. package/dist/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 +13 -0
  310. package/dist/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-left.js +13 -0
  311. package/dist/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-right.js +13 -0
  312. package/dist/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 +13 -0
  313. package/dist/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/chevrons-left.js +14 -0
  314. package/dist/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/chevrons-right.js +14 -0
  315. package/dist/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/circle-check.js +14 -0
  316. package/dist/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/circle-x.js +15 -0
  317. package/dist/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/circle.js +13 -0
  318. package/dist/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/ellipsis.js +15 -0
  319. package/dist/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/info.js +15 -0
  320. package/dist/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/search.js +14 -0
  321. package/dist/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/triangle-alert.js +21 -0
  322. package/dist/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/triangle.js +16 -0
  323. package/dist/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 +14 -0
  324. package/dist/node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/shared/src/utils.js +20 -0
  325. package/dist/node_modules/.pnpm/reka-ui@2.5.0_typescript@5.8.3_vue@3.5.19_typescript@5.8.3_/node_modules/reka-ui/dist/date/comparators.js +10 -0
  326. package/dist/pagination/Pagination.vue.js +34 -0
  327. package/dist/pagination/Pagination.vue2.js +4 -0
  328. package/dist/pagination/PaginationContent.vue.js +26 -0
  329. package/dist/pagination/PaginationContent.vue2.js +4 -0
  330. package/dist/pagination/PaginationEllipsis.vue.js +30 -0
  331. package/dist/pagination/PaginationEllipsis.vue2.js +4 -0
  332. package/dist/pagination/PaginationFirst.vue.js +37 -0
  333. package/dist/pagination/PaginationFirst.vue2.js +4 -0
  334. package/dist/pagination/PaginationItem.vue.js +38 -0
  335. package/dist/pagination/PaginationItem.vue2.js +4 -0
  336. package/dist/pagination/PaginationLast.vue.js +37 -0
  337. package/dist/pagination/PaginationLast.vue2.js +4 -0
  338. package/dist/pagination/PaginationNext.vue.js +37 -0
  339. package/dist/pagination/PaginationNext.vue2.js +4 -0
  340. package/dist/pagination/PaginationPrevious.vue.js +37 -0
  341. package/dist/pagination/PaginationPrevious.vue2.js +4 -0
  342. package/dist/popover/Popover.vue.js +23 -0
  343. package/dist/popover/Popover.vue2.js +4 -0
  344. package/dist/popover/PopoverAnchor.vue.js +22 -0
  345. package/dist/popover/PopoverAnchor.vue2.js +4 -0
  346. package/dist/popover/PopoverContent.vue.js +55 -0
  347. package/dist/popover/PopoverContent.vue2.js +4 -0
  348. package/dist/popover/PopoverTrigger.vue.js +21 -0
  349. package/dist/popover/PopoverTrigger.vue2.js +4 -0
  350. package/dist/radio-group/RadioGroup.vue.js +36 -0
  351. package/dist/radio-group/RadioGroup.vue2.js +4 -0
  352. package/dist/radio-group/RadioGroupItem.vue.js +62 -0
  353. package/dist/radio-group/RadioGroupItem.vue2.js +4 -0
  354. package/dist/range-calendar/RangeCalendar.vue.js +219 -0
  355. package/dist/range-calendar/RangeCalendar.vue2.js +4 -0
  356. package/dist/range-calendar/RangeCalendarCell.vue.js +31 -0
  357. package/dist/range-calendar/RangeCalendarCell.vue2.js +4 -0
  358. package/dist/range-calendar/RangeCalendarCellTrigger.vue.js +47 -0
  359. package/dist/range-calendar/RangeCalendarCellTrigger.vue2.js +4 -0
  360. package/dist/range-calendar/RangeCalendarGrid.vue.js +27 -0
  361. package/dist/range-calendar/RangeCalendarGrid.vue2.js +4 -0
  362. package/dist/range-calendar/RangeCalendarGridBody.vue.js +21 -0
  363. package/dist/range-calendar/RangeCalendarGridBody.vue2.js +4 -0
  364. package/dist/range-calendar/RangeCalendarGridHead.vue.js +21 -0
  365. package/dist/range-calendar/RangeCalendarGridHead.vue2.js +4 -0
  366. package/dist/range-calendar/RangeCalendarGridRow.vue.js +27 -0
  367. package/dist/range-calendar/RangeCalendarGridRow.vue2.js +4 -0
  368. package/dist/range-calendar/RangeCalendarHeadCell.vue.js +27 -0
  369. package/dist/range-calendar/RangeCalendarHeadCell.vue2.js +4 -0
  370. package/dist/range-calendar/RangeCalendarHeader.vue.js +27 -0
  371. package/dist/range-calendar/RangeCalendarHeader.vue2.js +4 -0
  372. package/dist/range-calendar/RangeCalendarHeading.vue.js +34 -0
  373. package/dist/range-calendar/RangeCalendarHeading.vue2.js +4 -0
  374. package/dist/range-calendar/RangeCalendarNextButton.vue.js +37 -0
  375. package/dist/range-calendar/RangeCalendarNextButton.vue2.js +4 -0
  376. package/dist/range-calendar/RangeCalendarPrevButton.vue.js +37 -0
  377. package/dist/range-calendar/RangeCalendarPrevButton.vue2.js +4 -0
  378. package/dist/select/Select.vue.js +31 -0
  379. package/dist/select/Select.vue2.js +4 -0
  380. package/dist/select/SelectContent.vue.js +73 -0
  381. package/dist/select/SelectContent.vue2.js +4 -0
  382. package/dist/select/SelectGroup.vue.js +21 -0
  383. package/dist/select/SelectGroup.vue2.js +4 -0
  384. package/dist/select/SelectItem.vue.js +46 -0
  385. package/dist/select/SelectItem.vue2.js +4 -0
  386. package/dist/select/SelectItemText.vue.js +21 -0
  387. package/dist/select/SelectItemText.vue2.js +4 -0
  388. package/dist/select/SelectLabel.vue.js +27 -0
  389. package/dist/select/SelectLabel.vue2.js +4 -0
  390. package/dist/select/SelectScrollDownButton.vue.js +29 -0
  391. package/dist/select/SelectScrollDownButton.vue2.js +4 -0
  392. package/dist/select/SelectScrollUpButton.vue.js +29 -0
  393. package/dist/select/SelectScrollUpButton.vue2.js +4 -0
  394. package/dist/select/SelectSeparator.vue.js +21 -0
  395. package/dist/select/SelectSeparator.vue2.js +4 -0
  396. package/dist/select/SelectTrigger.vue.js +60 -0
  397. package/dist/select/SelectTrigger.vue2.js +4 -0
  398. package/dist/select/SelectValue.vue.js +22 -0
  399. package/dist/select/SelectValue.vue2.js +4 -0
  400. package/dist/separator/Separator.vue.js +26 -0
  401. package/dist/separator/Separator.vue2.js +4 -0
  402. package/dist/sheet/Sheet.vue.js +23 -0
  403. package/dist/sheet/Sheet.vue2.js +4 -0
  404. package/dist/sheet/SheetClose.vue.js +21 -0
  405. package/dist/sheet/SheetClose.vue2.js +4 -0
  406. package/dist/sheet/SheetContent.vue.js +54 -0
  407. package/dist/sheet/SheetContent.vue2.js +4 -0
  408. package/dist/sheet/SheetDescription.vue.js +27 -0
  409. package/dist/sheet/SheetDescription.vue2.js +4 -0
  410. package/dist/sheet/SheetFooter.vue.js +20 -0
  411. package/dist/sheet/SheetFooter.vue2.js +4 -0
  412. package/dist/sheet/SheetHeader.vue.js +20 -0
  413. package/dist/sheet/SheetHeader.vue2.js +4 -0
  414. package/dist/sheet/SheetOverlay.vue.js +31 -0
  415. package/dist/sheet/SheetOverlay.vue2.js +4 -0
  416. package/dist/sheet/SheetTitle.vue.js +27 -0
  417. package/dist/sheet/SheetTitle.vue2.js +4 -0
  418. package/dist/sheet/SheetTrigger.vue.js +21 -0
  419. package/dist/sheet/SheetTrigger.vue2.js +4 -0
  420. package/dist/sidebar/Sidebar.vue.js +63 -0
  421. package/dist/sidebar/Sidebar.vue2.js +4 -0
  422. package/dist/sidebar/SidebarContent.vue.js +26 -0
  423. package/dist/sidebar/SidebarContent.vue2.js +4 -0
  424. package/dist/sidebar/SidebarFooter.vue.js +21 -0
  425. package/dist/sidebar/SidebarFooter.vue2.js +4 -0
  426. package/dist/sidebar/SidebarGroup.vue.js +21 -0
  427. package/dist/sidebar/SidebarGroup.vue2.js +4 -0
  428. package/dist/sidebar/SidebarGroupAction.vue.js +36 -0
  429. package/dist/sidebar/SidebarGroupAction.vue2.js +4 -0
  430. package/dist/sidebar/SidebarGroupContent.vue.js +21 -0
  431. package/dist/sidebar/SidebarGroupContent.vue2.js +4 -0
  432. package/dist/sidebar/SidebarGroupLabel.vue.js +35 -0
  433. package/dist/sidebar/SidebarGroupLabel.vue2.js +4 -0
  434. package/dist/sidebar/SidebarHeader.vue.js +21 -0
  435. package/dist/sidebar/SidebarHeader.vue2.js +4 -0
  436. package/dist/sidebar/SidebarInput.vue.js +30 -0
  437. package/dist/sidebar/SidebarInput.vue2.js +4 -0
  438. package/dist/sidebar/SidebarInset.vue.js +20 -0
  439. package/dist/sidebar/SidebarInset.vue2.js +4 -0
  440. package/dist/sidebar/SidebarMenu.vue.js +21 -0
  441. package/dist/sidebar/SidebarMenu.vue2.js +4 -0
  442. package/dist/sidebar/SidebarMenuAction.vue.js +41 -0
  443. package/dist/sidebar/SidebarMenuAction.vue2.js +4 -0
  444. package/dist/sidebar/SidebarMenuBadge.vue.js +31 -0
  445. package/dist/sidebar/SidebarMenuBadge.vue2.js +4 -0
  446. package/dist/sidebar/SidebarMenuButton.vue.js +59 -0
  447. package/dist/sidebar/SidebarMenuButton.vue2.js +4 -0
  448. package/dist/sidebar/SidebarMenuButtonChild.vue.js +35 -0
  449. package/dist/sidebar/SidebarMenuButtonChild.vue2.js +4 -0
  450. package/dist/sidebar/SidebarMenuItem.vue.js +21 -0
  451. package/dist/sidebar/SidebarMenuItem.vue2.js +4 -0
  452. package/dist/sidebar/SidebarMenuSkeleton.vue.js +35 -0
  453. package/dist/sidebar/SidebarMenuSkeleton.vue2.js +4 -0
  454. package/dist/sidebar/SidebarMenuSub.vue.js +27 -0
  455. package/dist/sidebar/SidebarMenuSub.vue2.js +4 -0
  456. package/dist/sidebar/SidebarMenuSubButton.vue.js +42 -0
  457. package/dist/sidebar/SidebarMenuSubButton.vue2.js +4 -0
  458. package/dist/sidebar/SidebarMenuSubItem.vue.js +21 -0
  459. package/dist/sidebar/SidebarMenuSubItem.vue2.js +4 -0
  460. package/dist/sidebar/SidebarProvider.vue.js +39 -0
  461. package/dist/sidebar/SidebarProvider.vue2.js +4 -0
  462. package/dist/sidebar/SidebarSeparator.vue.js +25 -0
  463. package/dist/sidebar/SidebarSeparator.vue2.js +4 -0
  464. package/dist/sidebar/index.js +24 -0
  465. package/dist/sidebar/utils.js +8 -0
  466. package/dist/skeleton/Skeleton.vue.js +18 -0
  467. package/dist/skeleton/Skeleton.vue2.js +4 -0
  468. package/dist/sonner/Sonner.vue.js +31 -0
  469. package/dist/sonner/Sonner.vue2.js +4 -0
  470. package/dist/sonner/Toast.vue.js +70 -0
  471. package/dist/sonner/Toast.vue2.js +4 -0
  472. package/dist/sonner/index.js +22 -0
  473. package/dist/sonner/toast.js +12 -0
  474. package/dist/stepper/Stepper.vue.js +32 -0
  475. package/dist/stepper/Stepper.vue2.js +4 -0
  476. package/dist/stepper/StepperDescription.vue.js +26 -0
  477. package/dist/stepper/StepperDescription.vue2.js +4 -0
  478. package/dist/stepper/StepperIndicator.vue.js +37 -0
  479. package/dist/stepper/StepperIndicator.vue2.js +4 -0
  480. package/dist/stepper/StepperItem.vue.js +32 -0
  481. package/dist/stepper/StepperItem.vue2.js +4 -0
  482. package/dist/stepper/StepperSeparator.vue.js +34 -0
  483. package/dist/stepper/StepperSeparator.vue2.js +4 -0
  484. package/dist/stepper/StepperTitle.vue.js +26 -0
  485. package/dist/stepper/StepperTitle.vue2.js +4 -0
  486. package/dist/stepper/StepperTrigger.vue.js +29 -0
  487. package/dist/stepper/StepperTrigger.vue2.js +4 -0
  488. package/dist/switch/Switch.vue.js +62 -0
  489. package/dist/switch/Switch.vue2.js +4 -0
  490. package/dist/table/Table.vue.js +30 -0
  491. package/dist/table/Table.vue2.js +4 -0
  492. package/dist/table/TableBody.vue.js +25 -0
  493. package/dist/table/TableBody.vue2.js +4 -0
  494. package/dist/table/TableCaption.vue.js +20 -0
  495. package/dist/table/TableCaption.vue2.js +4 -0
  496. package/dist/table/TableCell.vue.js +25 -0
  497. package/dist/table/TableCell.vue2.js +4 -0
  498. package/dist/table/TableEmpty.vue.js +49 -0
  499. package/dist/table/TableEmpty.vue2.js +4 -0
  500. package/dist/table/TableFooter.vue.js +20 -0
  501. package/dist/table/TableFooter.vue2.js +4 -0
  502. package/dist/table/TableHead.vue.js +26 -0
  503. package/dist/table/TableHead.vue2.js +4 -0
  504. package/dist/table/TableHeader.vue.js +22 -0
  505. package/dist/table/TableHeader.vue2.js +4 -0
  506. package/dist/table/TableRow.vue.js +20 -0
  507. package/dist/table/TableRow.vue2.js +4 -0
  508. package/dist/table/utils.js +6 -0
  509. package/dist/tabs/Tabs.vue.js +33 -0
  510. package/dist/tabs/Tabs.vue2.js +4 -0
  511. package/dist/tabs/TabsContent.vue.js +29 -0
  512. package/dist/tabs/TabsContent.vue2.js +4 -0
  513. package/dist/tabs/TabsList.vue.js +30 -0
  514. package/dist/tabs/TabsList.vue2.js +4 -0
  515. package/dist/tabs/TabsTrigger.vue.js +33 -0
  516. package/dist/tabs/TabsTrigger.vue2.js +4 -0
  517. package/dist/tabs/index.js +18 -0
  518. package/dist/tag/Tag.vue.js +31 -0
  519. package/dist/tag/Tag.vue2.js +4 -0
  520. package/dist/tag/index.js +35 -0
  521. package/dist/textarea/Textarea.vue.js +35 -0
  522. package/dist/textarea/Textarea.vue2.js +4 -0
  523. package/dist/time-picker/TimePicker.vue.js +142 -0
  524. package/dist/time-picker/TimePicker.vue2.js +4 -0
  525. package/dist/tooltip/Tooltip.vue.js +27 -0
  526. package/dist/tooltip/Tooltip.vue2.js +4 -0
  527. package/dist/tooltip/TooltipContent.vue.js +51 -0
  528. package/dist/tooltip/TooltipContent.vue2.js +4 -0
  529. package/dist/tooltip/TooltipProvider.vue.js +25 -0
  530. package/dist/tooltip/TooltipProvider.vue2.js +4 -0
  531. package/dist/tooltip/TooltipTrigger.vue.js +22 -0
  532. package/dist/tooltip/TooltipTrigger.vue2.js +4 -0
  533. package/dist/upload/UploadContent.vue.js +30 -0
  534. package/dist/upload/UploadContent.vue2.js +4 -0
  535. package/dist/upload/UploadContentDescription.vue.js +37 -0
  536. package/dist/upload/UploadContentDescription.vue2.js +4 -0
  537. package/dist/upload/UploadContentLoadingDescription.vue.js +37 -0
  538. package/dist/upload/UploadContentLoadingDescription.vue2.js +4 -0
  539. package/dist/upload/UploadContentSuccessDescription.vue.js +37 -0
  540. package/dist/upload/UploadContentSuccessDescription.vue2.js +4 -0
  541. package/dist/upload/UploadContentTitle.vue.js +35 -0
  542. package/dist/upload/UploadContentTitle.vue2.js +4 -0
  543. package/dist/upload/UploadFileItem.vue.js +106 -0
  544. package/dist/upload/UploadFileItem.vue2.js +4 -0
  545. package/dist/upload/UploadRoot.vue.js +109 -0
  546. package/dist/upload/UploadRoot.vue2.js +4 -0
  547. package/dist/upload/upload-context.js +6 -0
  548. package/package.json +5 -2
@@ -0,0 +1,11 @@
1
+ import { isEqual as t } from "ohash";
2
+ function d(i, f, s) {
3
+ return i === void 0 ? !1 : Array.isArray(i) ? i.some((o) => n(o, f, s)) : n(i, f, s);
4
+ }
5
+ function n(i, f, s) {
6
+ return i === void 0 || f === void 0 ? !1 : typeof i == "string" ? i === f : typeof s == "function" ? s(i, f) : typeof s == "string" ? (i == null ? void 0 : i[s]) === (f == null ? void 0 : f[s]) : t(i, f);
7
+ }
8
+ export {
9
+ n as compare,
10
+ d as valueComparator
11
+ };
@@ -0,0 +1,219 @@
1
+ import { addTime as Z, subtractTime as k, setTime as u, cycleTime as l, constrainTime as C, add as m, subtract as p, set as y, cycleDate as b, constrain as $, addZoned as M, subtractZoned as W, setZoned as z, cycleZoned as A } from "./manipulation.js";
2
+ import { compareTime as x, compareDate as T } from "./queries.js";
3
+ import { timeToString as _, dateTimeToString as g, dateToString as j, zonedDateTimeToString as E } from "./string.js";
4
+ import { GregorianCalendar as G } from "./GregorianCalendar.js";
5
+ import { toDate as v, toCalendarDateTime as I, zonedToDate as O, toZoned as q } from "./conversion.js";
6
+ import { _ as d } from "../../../../../@swc_helpers@0.5.17/node_modules/@swc/helpers/esm/_class_private_field_init.js";
7
+ function f(a) {
8
+ let t = typeof a[0] == "object" ? a.shift() : new G(), e;
9
+ if (typeof a[0] == "string") e = a.shift();
10
+ else {
11
+ let r = t.getEras();
12
+ e = r[r.length - 1];
13
+ }
14
+ let i = a.shift(), s = a.shift(), h = a.shift();
15
+ return [
16
+ t,
17
+ e,
18
+ i,
19
+ s,
20
+ h
21
+ ];
22
+ }
23
+ var B = /* @__PURE__ */ new WeakMap();
24
+ class c {
25
+ /** Returns a copy of this date. */
26
+ copy() {
27
+ return this.era ? new c(this.calendar, this.era, this.year, this.month, this.day) : new c(this.calendar, this.year, this.month, this.day);
28
+ }
29
+ /** Returns a new `CalendarDate` with the given duration added to it. */
30
+ add(t) {
31
+ return m(this, t);
32
+ }
33
+ /** Returns a new `CalendarDate` with the given duration subtracted from it. */
34
+ subtract(t) {
35
+ return p(this, t);
36
+ }
37
+ /** Returns a new `CalendarDate` with the given fields set to the provided values. Other fields will be constrained accordingly. */
38
+ set(t) {
39
+ return y(this, t);
40
+ }
41
+ /**
42
+ * Returns a new `CalendarDate` with the given field adjusted by a specified amount.
43
+ * When the resulting value reaches the limits of the field, it wraps around.
44
+ */
45
+ cycle(t, e, i) {
46
+ return b(this, t, e, i);
47
+ }
48
+ /** Converts the date to a native JavaScript Date object, with the time set to midnight in the given time zone. */
49
+ toDate(t) {
50
+ return v(this, t);
51
+ }
52
+ /** Converts the date to an ISO 8601 formatted string. */
53
+ toString() {
54
+ return j(this);
55
+ }
56
+ /** Compares this date with another. A negative result indicates that this date is before the given one, and a positive date indicates that it is after. */
57
+ compare(t) {
58
+ return T(this, t);
59
+ }
60
+ constructor(...t) {
61
+ d(this, B, {
62
+ writable: !0,
63
+ value: void 0
64
+ });
65
+ let [e, i, s, h, r] = f(t);
66
+ this.calendar = e, this.era = i, this.year = s, this.month = h, this.day = r, $(this);
67
+ }
68
+ }
69
+ var F = /* @__PURE__ */ new WeakMap();
70
+ class w {
71
+ /** Returns a copy of this time. */
72
+ copy() {
73
+ return new w(this.hour, this.minute, this.second, this.millisecond);
74
+ }
75
+ /** Returns a new `Time` with the given duration added to it. */
76
+ add(t) {
77
+ return Z(this, t);
78
+ }
79
+ /** Returns a new `Time` with the given duration subtracted from it. */
80
+ subtract(t) {
81
+ return k(this, t);
82
+ }
83
+ /** Returns a new `Time` with the given fields set to the provided values. Other fields will be constrained accordingly. */
84
+ set(t) {
85
+ return u(this, t);
86
+ }
87
+ /**
88
+ * Returns a new `Time` with the given field adjusted by a specified amount.
89
+ * When the resulting value reaches the limits of the field, it wraps around.
90
+ */
91
+ cycle(t, e, i) {
92
+ return l(this, t, e, i);
93
+ }
94
+ /** Converts the time to an ISO 8601 formatted string. */
95
+ toString() {
96
+ return _(this);
97
+ }
98
+ /** Compares this time with another. A negative result indicates that this time is before the given one, and a positive time indicates that it is after. */
99
+ compare(t) {
100
+ return x(this, t);
101
+ }
102
+ constructor(t = 0, e = 0, i = 0, s = 0) {
103
+ d(this, F, {
104
+ writable: !0,
105
+ value: void 0
106
+ }), this.hour = t, this.minute = e, this.second = i, this.millisecond = s, C(this);
107
+ }
108
+ }
109
+ var H = /* @__PURE__ */ new WeakMap();
110
+ class n {
111
+ /** Returns a copy of this date. */
112
+ copy() {
113
+ return this.era ? new n(this.calendar, this.era, this.year, this.month, this.day, this.hour, this.minute, this.second, this.millisecond) : new n(this.calendar, this.year, this.month, this.day, this.hour, this.minute, this.second, this.millisecond);
114
+ }
115
+ /** Returns a new `CalendarDateTime` with the given duration added to it. */
116
+ add(t) {
117
+ return m(this, t);
118
+ }
119
+ /** Returns a new `CalendarDateTime` with the given duration subtracted from it. */
120
+ subtract(t) {
121
+ return p(this, t);
122
+ }
123
+ /** Returns a new `CalendarDateTime` with the given fields set to the provided values. Other fields will be constrained accordingly. */
124
+ set(t) {
125
+ return y(u(this, t), t);
126
+ }
127
+ /**
128
+ * Returns a new `CalendarDateTime` with the given field adjusted by a specified amount.
129
+ * When the resulting value reaches the limits of the field, it wraps around.
130
+ */
131
+ cycle(t, e, i) {
132
+ switch (t) {
133
+ case "era":
134
+ case "year":
135
+ case "month":
136
+ case "day":
137
+ return b(this, t, e, i);
138
+ default:
139
+ return l(this, t, e, i);
140
+ }
141
+ }
142
+ /** Converts the date to a native JavaScript Date object in the given time zone. */
143
+ toDate(t, e) {
144
+ return v(this, t, e);
145
+ }
146
+ /** Converts the date to an ISO 8601 formatted string. */
147
+ toString() {
148
+ return g(this);
149
+ }
150
+ /** Compares this date with another. A negative result indicates that this date is before the given one, and a positive date indicates that it is after. */
151
+ compare(t) {
152
+ let e = T(this, t);
153
+ return e === 0 ? x(this, I(t)) : e;
154
+ }
155
+ constructor(...t) {
156
+ d(this, H, {
157
+ writable: !0,
158
+ value: void 0
159
+ });
160
+ let [e, i, s, h, r] = f(t);
161
+ this.calendar = e, this.era = i, this.year = s, this.month = h, this.day = r, this.hour = t.shift() || 0, this.minute = t.shift() || 0, this.second = t.shift() || 0, this.millisecond = t.shift() || 0, $(this);
162
+ }
163
+ }
164
+ var J = /* @__PURE__ */ new WeakMap();
165
+ class o {
166
+ /** Returns a copy of this date. */
167
+ copy() {
168
+ return this.era ? new o(this.calendar, this.era, this.year, this.month, this.day, this.timeZone, this.offset, this.hour, this.minute, this.second, this.millisecond) : new o(this.calendar, this.year, this.month, this.day, this.timeZone, this.offset, this.hour, this.minute, this.second, this.millisecond);
169
+ }
170
+ /** Returns a new `ZonedDateTime` with the given duration added to it. */
171
+ add(t) {
172
+ return M(this, t);
173
+ }
174
+ /** Returns a new `ZonedDateTime` with the given duration subtracted from it. */
175
+ subtract(t) {
176
+ return W(this, t);
177
+ }
178
+ /** Returns a new `ZonedDateTime` with the given fields set to the provided values. Other fields will be constrained accordingly. */
179
+ set(t, e) {
180
+ return z(this, t, e);
181
+ }
182
+ /**
183
+ * Returns a new `ZonedDateTime` with the given field adjusted by a specified amount.
184
+ * When the resulting value reaches the limits of the field, it wraps around.
185
+ */
186
+ cycle(t, e, i) {
187
+ return A(this, t, e, i);
188
+ }
189
+ /** Converts the date to a native JavaScript Date object. */
190
+ toDate() {
191
+ return O(this);
192
+ }
193
+ /** Converts the date to an ISO 8601 formatted string, including the UTC offset and time zone identifier. */
194
+ toString() {
195
+ return E(this);
196
+ }
197
+ /** Converts the date to an ISO 8601 formatted string in UTC. */
198
+ toAbsoluteString() {
199
+ return this.toDate().toISOString();
200
+ }
201
+ /** Compares this date with another. A negative result indicates that this date is before the given one, and a positive date indicates that it is after. */
202
+ compare(t) {
203
+ return this.toDate().getTime() - q(t, this.timeZone).toDate().getTime();
204
+ }
205
+ constructor(...t) {
206
+ d(this, J, {
207
+ writable: !0,
208
+ value: void 0
209
+ });
210
+ let [e, i, s, h, r] = f(t), D = t.shift(), S = t.shift();
211
+ this.calendar = e, this.era = i, this.year = s, this.month = h, this.day = r, this.timeZone = D, this.offset = S, this.hour = t.shift() || 0, this.minute = t.shift() || 0, this.second = t.shift() || 0, this.millisecond = t.shift() || 0, $(this);
212
+ }
213
+ }
214
+ export {
215
+ c as CalendarDate,
216
+ n as CalendarDateTime,
217
+ w as Time,
218
+ o as ZonedDateTime
219
+ };
@@ -0,0 +1,99 @@
1
+ let n = /* @__PURE__ */ new Map();
2
+ class c {
3
+ /** Formats a date as a string according to the locale and format options passed to the constructor. */
4
+ format(e) {
5
+ return this.formatter.format(e);
6
+ }
7
+ /** Formats a date to an array of parts such as separators, numbers, punctuation, and more. */
8
+ formatToParts(e) {
9
+ return this.formatter.formatToParts(e);
10
+ }
11
+ /** Formats a date range as a string. */
12
+ formatRange(e, r) {
13
+ if (typeof this.formatter.formatRange == "function")
14
+ return this.formatter.formatRange(e, r);
15
+ if (r < e) throw new RangeError("End date must be >= start date");
16
+ return `${this.formatter.format(e)} – ${this.formatter.format(r)}`;
17
+ }
18
+ /** Formats a date range as an array of parts. */
19
+ formatRangeToParts(e, r) {
20
+ if (typeof this.formatter.formatRangeToParts == "function")
21
+ return this.formatter.formatRangeToParts(e, r);
22
+ if (r < e) throw new RangeError("End date must be >= start date");
23
+ let u = this.formatter.formatToParts(e), t = this.formatter.formatToParts(r);
24
+ return [
25
+ ...u.map((a) => ({
26
+ ...a,
27
+ source: "startRange"
28
+ })),
29
+ {
30
+ type: "literal",
31
+ value: " – ",
32
+ source: "shared"
33
+ },
34
+ ...t.map((a) => ({
35
+ ...a,
36
+ source: "endRange"
37
+ }))
38
+ ];
39
+ }
40
+ /** Returns the resolved formatting options based on the values passed to the constructor. */
41
+ resolvedOptions() {
42
+ let e = this.formatter.resolvedOptions();
43
+ return m() && (this.resolvedHourCycle || (this.resolvedHourCycle = d(e.locale, this.options)), e.hourCycle = this.resolvedHourCycle, e.hour12 = this.resolvedHourCycle === "h11" || this.resolvedHourCycle === "h12"), e.calendar === "ethiopic-amete-alem" && (e.calendar = "ethioaa"), e;
44
+ }
45
+ constructor(e, r = {}) {
46
+ this.formatter = h(e, r), this.options = r;
47
+ }
48
+ }
49
+ const l = {
50
+ true: {
51
+ // Only Japanese uses the h11 style for 12 hour time. All others use h12.
52
+ ja: "h11"
53
+ },
54
+ false: {}
55
+ };
56
+ function h(o, e = {}) {
57
+ if (typeof e.hour12 == "boolean" && i()) {
58
+ e = {
59
+ ...e
60
+ };
61
+ let t = l[String(e.hour12)][o.split("-")[0]], a = e.hour12 ? "h12" : "h23";
62
+ e.hourCycle = t ?? a, delete e.hour12;
63
+ }
64
+ let r = o + (e ? Object.entries(e).sort((t, a) => t[0] < a[0] ? -1 : 1).join() : "");
65
+ if (n.has(r)) return n.get(r);
66
+ let u = new Intl.DateTimeFormat(o, e);
67
+ return n.set(r, u), u;
68
+ }
69
+ let f = null;
70
+ function i() {
71
+ return f == null && (f = new Intl.DateTimeFormat("en-US", {
72
+ hour: "numeric",
73
+ hour12: !1
74
+ }).format(new Date(2020, 2, 3, 0)) === "24"), f;
75
+ }
76
+ let s = null;
77
+ function m() {
78
+ return s == null && (s = new Intl.DateTimeFormat("fr", {
79
+ hour: "numeric",
80
+ hour12: !1
81
+ }).resolvedOptions().hourCycle === "h12"), s;
82
+ }
83
+ function d(o, e) {
84
+ if (!e.timeStyle && !e.hour) return;
85
+ o = o.replace(/(-u-)?-nu-[a-zA-Z0-9]+/, ""), o += (o.includes("-u-") ? "" : "-u") + "-nu-latn";
86
+ let r = h(o, {
87
+ ...e,
88
+ timeZone: void 0
89
+ // use local timezone
90
+ }), u = parseInt(r.formatToParts(new Date(2020, 2, 3, 0)).find((a) => a.type === "hour").value, 10), t = parseInt(r.formatToParts(new Date(2020, 2, 3, 23)).find((a) => a.type === "hour").value, 10);
91
+ if (u === 0 && t === 23) return "h23";
92
+ if (u === 24 && t === 23) return "h24";
93
+ if (u === 0 && t === 11) return "h11";
94
+ if (u === 12 && t === 11) return "h12";
95
+ throw new Error("Unexpected hour cycle result");
96
+ }
97
+ export {
98
+ c as DateFormatter
99
+ };
@@ -0,0 +1,98 @@
1
+ import { CalendarDate as m } from "./CalendarDate.js";
2
+ import { mod as s } from "./utils.js";
3
+ const p = 1721426;
4
+ function b(r, e, t, l) {
5
+ e = C(r, e);
6
+ let a = e - 1, n = -2;
7
+ return t <= 2 ? n = 0 : d(e) && (n = -1), p - 1 + 365 * a + Math.floor(a / 4) - Math.floor(a / 100) + Math.floor(a / 400) + Math.floor((367 * t - 362) / 12 + n + l);
8
+ }
9
+ function d(r) {
10
+ return r % 4 === 0 && (r % 100 !== 0 || r % 400 === 0);
11
+ }
12
+ function C(r, e) {
13
+ return r === "BC" ? 1 - e : e;
14
+ }
15
+ function Y(r) {
16
+ let e = "AD";
17
+ return r <= 0 && (e = "BC", r = 1 - r), [
18
+ e,
19
+ r
20
+ ];
21
+ }
22
+ const B = {
23
+ standard: [
24
+ 31,
25
+ 28,
26
+ 31,
27
+ 30,
28
+ 31,
29
+ 30,
30
+ 31,
31
+ 31,
32
+ 30,
33
+ 31,
34
+ 30,
35
+ 31
36
+ ],
37
+ leapyear: [
38
+ 31,
39
+ 29,
40
+ 31,
41
+ 30,
42
+ 31,
43
+ 30,
44
+ 31,
45
+ 31,
46
+ 30,
47
+ 31,
48
+ 30,
49
+ 31
50
+ ]
51
+ };
52
+ class q {
53
+ fromJulianDay(e) {
54
+ let t = e, l = t - p, a = Math.floor(l / 146097), n = s(l, 146097), $ = Math.floor(n / 36524), i = s(n, 36524), y = Math.floor(i / 1461), x = s(i, 1461), u = Math.floor(x / 365), M = a * 400 + $ * 100 + y * 4 + u + ($ !== 4 && u !== 4 ? 1 : 0), [f, o] = Y(M), g = t - b(f, o, 1, 1), c = 2;
55
+ t < b(f, o, 3, 1) ? c = 0 : d(o) && (c = 1);
56
+ let h = Math.floor(((g + c) * 12 + 373) / 367), D = t - b(f, o, h, 1) + 1;
57
+ return new m(f, o, h, D);
58
+ }
59
+ toJulianDay(e) {
60
+ return b(e.era, e.year, e.month, e.day);
61
+ }
62
+ getDaysInMonth(e) {
63
+ return B[d(e.year) ? "leapyear" : "standard"][e.month - 1];
64
+ }
65
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
66
+ getMonthsInYear(e) {
67
+ return 12;
68
+ }
69
+ getDaysInYear(e) {
70
+ return d(e.year) ? 366 : 365;
71
+ }
72
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
73
+ getYearsInEra(e) {
74
+ return 9999;
75
+ }
76
+ getEras() {
77
+ return [
78
+ "BC",
79
+ "AD"
80
+ ];
81
+ }
82
+ isInverseEra(e) {
83
+ return e.era === "BC";
84
+ }
85
+ balanceDate(e) {
86
+ e.year <= 0 && (e.era = e.era === "BC" ? "AD" : "BC", e.year = 1 - e.year);
87
+ }
88
+ constructor() {
89
+ this.identifier = "gregory";
90
+ }
91
+ }
92
+ export {
93
+ q as GregorianCalendar,
94
+ Y as fromExtendedYear,
95
+ C as getExtendedYear,
96
+ b as gregorianToJulianDay,
97
+ d as isLeapYear
98
+ };
@@ -0,0 +1,137 @@
1
+ import { CalendarDateTime as C, CalendarDate as U, ZonedDateTime as b } from "./CalendarDate.js";
2
+ import { constrain as M } from "./manipulation.js";
3
+ import { GregorianCalendar as h, getExtendedYear as p } from "./GregorianCalendar.js";
4
+ import { isEqualCalendar as v, getLocalTimeZone as y } from "./queries.js";
5
+ function u(e) {
6
+ e = $(e, new h());
7
+ let t = p(e.era, e.year);
8
+ return T(t, e.month, e.day, e.hour, e.minute, e.second, e.millisecond);
9
+ }
10
+ function T(e, t, n, r, o, a, c) {
11
+ let f = /* @__PURE__ */ new Date();
12
+ return f.setUTCHours(r, o, a, c), f.setUTCFullYear(e, t - 1, n), f.getTime();
13
+ }
14
+ function i(e, t) {
15
+ if (t === "UTC") return 0;
16
+ if (e > 0 && t === y()) return new Date(e).getTimezoneOffset() * -6e4;
17
+ let { year: n, month: r, day: o, hour: a, minute: c, second: f } = x(e, t);
18
+ return T(n, r, o, a, c, f, 0) - Math.floor(e / 1e3) * 1e3;
19
+ }
20
+ const m = /* @__PURE__ */ new Map();
21
+ function x(e, t) {
22
+ let n = m.get(t);
23
+ n || (n = new Intl.DateTimeFormat("en-US", {
24
+ timeZone: t,
25
+ hour12: !1,
26
+ era: "short",
27
+ year: "numeric",
28
+ month: "numeric",
29
+ day: "numeric",
30
+ hour: "numeric",
31
+ minute: "numeric",
32
+ second: "numeric"
33
+ }), m.set(t, n));
34
+ let r = n.formatToParts(new Date(e)), o = {};
35
+ for (let a of r) a.type !== "literal" && (o[a.type] = a.value);
36
+ return {
37
+ // Firefox returns B instead of BC... https://bugzilla.mozilla.org/show_bug.cgi?id=1752253
38
+ year: o.era === "BC" || o.era === "B" ? -o.year + 1 : +o.year,
39
+ month: +o.month,
40
+ day: +o.day,
41
+ hour: o.hour === "24" ? 0 : +o.hour,
42
+ minute: +o.minute,
43
+ second: +o.second
44
+ };
45
+ }
46
+ const d = 864e5;
47
+ function F(e, t, n, r) {
48
+ return (n === r ? [
49
+ n
50
+ ] : [
51
+ n,
52
+ r
53
+ ]).filter((a) => A(e, t, a));
54
+ }
55
+ function A(e, t, n) {
56
+ let r = x(n, t);
57
+ return e.year === r.year && e.month === r.month && e.day === r.day && e.hour === r.hour && e.minute === r.minute && e.second === r.second;
58
+ }
59
+ function D(e, t, n = "compatible") {
60
+ let r = B(e);
61
+ if (t === "UTC") return u(r);
62
+ if (t === y() && n === "compatible") {
63
+ r = $(r, new h());
64
+ let l = /* @__PURE__ */ new Date(), s = p(r.era, r.year);
65
+ return l.setFullYear(s, r.month - 1, r.day), l.setHours(r.hour, r.minute, r.second, r.millisecond), l.getTime();
66
+ }
67
+ let o = u(r), a = i(o - d, t), c = i(o + d, t), f = F(r, t, o - a, o - c);
68
+ if (f.length === 1) return f[0];
69
+ if (f.length > 1) switch (n) {
70
+ // 'compatible' means 'earlier' for "fall back" transitions
71
+ case "compatible":
72
+ case "earlier":
73
+ return f[0];
74
+ case "later":
75
+ return f[f.length - 1];
76
+ case "reject":
77
+ throw new RangeError("Multiple possible absolute times found");
78
+ }
79
+ switch (n) {
80
+ case "earlier":
81
+ return Math.min(o - a, o - c);
82
+ // 'compatible' means 'later' for "spring forward" transitions
83
+ case "compatible":
84
+ case "later":
85
+ return Math.max(o - a, o - c);
86
+ case "reject":
87
+ throw new RangeError("No such absolute time found");
88
+ }
89
+ }
90
+ function L(e, t, n = "compatible") {
91
+ return new Date(D(e, t, n));
92
+ }
93
+ function g(e, t) {
94
+ let n = i(e, t), r = new Date(e + n), o = r.getUTCFullYear(), a = r.getUTCMonth() + 1, c = r.getUTCDate(), f = r.getUTCHours(), l = r.getUTCMinutes(), s = r.getUTCSeconds(), w = r.getUTCMilliseconds();
95
+ return new b(o < 1 ? "BC" : "AD", o < 1 ? -o + 1 : o, a, c, t, n, f, l, s, w);
96
+ }
97
+ function S(e) {
98
+ return new U(e.calendar, e.era, e.year, e.month, e.day);
99
+ }
100
+ function B(e, t) {
101
+ let n = 0, r = 0, o = 0, a = 0;
102
+ if ("timeZone" in e) ({ hour: n, minute: r, second: o, millisecond: a } = e);
103
+ else if ("hour" in e && !t) return e;
104
+ return t && ({ hour: n, minute: r, second: o, millisecond: a } = t), new C(e.calendar, e.era, e.year, e.month, e.day, n, r, o, a);
105
+ }
106
+ function $(e, t) {
107
+ if (v(e.calendar, t)) return e;
108
+ let n = t.fromJulianDay(e.calendar.toJulianDay(e)), r = e.copy();
109
+ return r.calendar = t, r.era = n.era, r.year = n.year, r.month = n.month, r.day = n.day, M(r), r;
110
+ }
111
+ function j(e, t, n) {
112
+ if (e instanceof b)
113
+ return e.timeZone === t ? e : Y(e, t);
114
+ let r = D(e, t, n);
115
+ return g(r, t);
116
+ }
117
+ function z(e) {
118
+ let t = u(e) - e.offset;
119
+ return new Date(t);
120
+ }
121
+ function Y(e, t) {
122
+ let n = u(e) - e.offset;
123
+ return $(g(n, t), e.calendar);
124
+ }
125
+ export {
126
+ u as epochFromDate,
127
+ g as fromAbsolute,
128
+ i as getTimeZoneOffset,
129
+ D as toAbsolute,
130
+ $ as toCalendar,
131
+ S as toCalendarDate,
132
+ B as toCalendarDateTime,
133
+ L as toDate,
134
+ Y as toTimeZone,
135
+ j as toZoned,
136
+ z as zonedToDate
137
+ };