@sprawlify/primitives 0.0.31 → 0.0.33

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 (315) hide show
  1. package/dist/{aria-hidden-DIoJxbA3.mjs → aria-hidden-Bq1drpzH.mjs} +1 -1
  2. package/dist/{aria-hidden-DtLU6hSU.cjs → aria-hidden-DSdN9ih2.cjs} +1 -1
  3. package/dist/aria-hidden.cjs +2 -2
  4. package/dist/aria-hidden.mjs +2 -2
  5. package/dist/{auto-resize-xzlPFDyD.cjs → auto-resize-Bh8HjZd5.cjs} +1 -1
  6. package/dist/{auto-resize-L6Oqa0lE.mjs → auto-resize-DLuF3IFp.mjs} +1 -1
  7. package/dist/auto-resize.cjs +2 -2
  8. package/dist/auto-resize.mjs +2 -2
  9. package/dist/{collection-DrxGD6r-.cjs → collection-C26svdLV.cjs} +2 -2
  10. package/dist/{collection-Don0IqzY.mjs → collection-CIpGDBdt.mjs} +2 -2
  11. package/dist/collection.cjs +2 -2
  12. package/dist/collection.mjs +2 -2
  13. package/dist/{color-utils-CjwofPil.mjs → color-utils-DGt9e4DC.mjs} +2 -2
  14. package/dist/{color-utils-grkMlPoh.cjs → color-utils-ZGUFwZHm.cjs} +2 -2
  15. package/dist/color-utils.cjs +2 -2
  16. package/dist/color-utils.mjs +2 -2
  17. package/dist/{core-DVmt6PX7.mjs → core-BLrKf6Qi.mjs} +2 -2
  18. package/dist/{core-DHn58LRl.cjs → core-BXoiGBfo.cjs} +2 -2
  19. package/dist/core.cjs +3 -3
  20. package/dist/core.d.cts +48 -2
  21. package/dist/core.d.mts +48 -2
  22. package/dist/core.mjs +3 -3
  23. package/dist/{date-utils-D2xPHa_I.cjs → date-utils-_Hu9b5fQ.cjs} +45 -45
  24. package/dist/date-utils.cjs +1 -1
  25. package/dist/date-utils.d.cts +1 -1
  26. package/dist/date-utils.d.mts +1 -1
  27. package/dist/{defineProperty-Cql4jybt.mjs → defineProperty-Bzw41Glr.mjs} +4 -4
  28. package/dist/{defineProperty-BoUOT9Ie.cjs → defineProperty-CTuz_M0G.cjs} +4 -4
  29. package/dist/{dismissable-rIq_LmT8.cjs → dismissable-DAGPnT9O.cjs} +3 -3
  30. package/dist/{dismissable-layer-DmvOBneO.d.cts → dismissable-layer-C39y-V3t.d.mts} +2 -2
  31. package/dist/{dismissable-layer-xYn_dIUQ.d.mts → dismissable-layer-D-7fwQL8.d.cts} +2 -2
  32. package/dist/{dismissable-CyZwVu7n.mjs → dismissable-xKLesXM6.mjs} +3 -3
  33. package/dist/dismissable.cjs +4 -4
  34. package/dist/dismissable.d.cts +2 -2
  35. package/dist/dismissable.d.mts +2 -2
  36. package/dist/dismissable.mjs +4 -4
  37. package/dist/{dom-query-Bwyyt0Vp.mjs → dom-query-BaSlGC4X.mjs} +1 -1
  38. package/dist/{dom-query-CWZdWUGp.cjs → dom-query-fmUvyB3x.cjs} +1 -1
  39. package/dist/dom-query.cjs +1 -1
  40. package/dist/dom-query.d.cts +7 -7
  41. package/dist/dom-query.d.mts +7 -7
  42. package/dist/dom-query.mjs +1 -1
  43. package/dist/file-utils.d.cts +1 -1
  44. package/dist/file-utils.d.mts +1 -1
  45. package/dist/{focus-trap-BwUy71da.cjs → focus-trap-9PNm7ZOS.cjs} +2 -2
  46. package/dist/{focus-trap-Bw_WJq_d.mjs → focus-trap-zo20IBVh.mjs} +2 -2
  47. package/dist/focus-trap.cjs +2 -2
  48. package/dist/focus-trap.mjs +2 -2
  49. package/dist/{focus-visible-BVOZnp76.cjs → focus-visible-BHSdwdWA.cjs} +1 -1
  50. package/dist/{focus-visible-BKLakzc7.mjs → focus-visible-D6iSwUgD.mjs} +1 -1
  51. package/dist/focus-visible.cjs +2 -2
  52. package/dist/focus-visible.mjs +2 -2
  53. package/dist/hotkeys.cjs +1 -1
  54. package/dist/hotkeys.mjs +1 -1
  55. package/dist/{i18n-utils-DCz8B6DF.mjs → i18n-utils-BYlbN_An.mjs} +1 -1
  56. package/dist/{i18n-utils-B8IY1mOh.cjs → i18n-utils-DNxuEaJv.cjs} +1 -1
  57. package/dist/i18n-utils.cjs +2 -2
  58. package/dist/i18n-utils.mjs +2 -2
  59. package/dist/{interact-outside-Dp8GERFa.cjs → interact-outside-DhVG9So9.cjs} +2 -2
  60. package/dist/{interact-outside-D9gKK1XW.mjs → interact-outside-DkNMPOqV.mjs} +2 -2
  61. package/dist/interact-outside.cjs +3 -3
  62. package/dist/interact-outside.d.cts +1 -1
  63. package/dist/interact-outside.d.mts +1 -1
  64. package/dist/interact-outside.mjs +3 -3
  65. package/dist/live-region.d.cts +1 -1
  66. package/dist/live-region.d.mts +1 -1
  67. package/dist/machines/accordion/index.cjs +3 -3
  68. package/dist/machines/accordion/index.d.cts +3 -3
  69. package/dist/machines/accordion/index.d.mts +3 -3
  70. package/dist/machines/accordion/index.mjs +3 -3
  71. package/dist/machines/angle-slider/index.cjs +4 -4
  72. package/dist/machines/angle-slider/index.d.cts +3 -3
  73. package/dist/machines/angle-slider/index.d.mts +3 -3
  74. package/dist/machines/angle-slider/index.mjs +4 -4
  75. package/dist/machines/async-list/index.cjs +3 -3
  76. package/dist/machines/async-list/index.d.cts +1 -1
  77. package/dist/machines/async-list/index.d.mts +1 -1
  78. package/dist/machines/async-list/index.mjs +3 -3
  79. package/dist/machines/avatar/index.cjs +3 -3
  80. package/dist/machines/avatar/index.d.cts +2 -2
  81. package/dist/machines/avatar/index.d.mts +2 -2
  82. package/dist/machines/avatar/index.mjs +3 -3
  83. package/dist/machines/bottom-sheet/index.cjs +9 -9
  84. package/dist/machines/bottom-sheet/index.d.cts +5 -5
  85. package/dist/machines/bottom-sheet/index.d.mts +5 -5
  86. package/dist/machines/bottom-sheet/index.mjs +9 -9
  87. package/dist/machines/carousel/index.cjs +4 -4
  88. package/dist/machines/carousel/index.d.cts +3 -3
  89. package/dist/machines/carousel/index.d.mts +3 -3
  90. package/dist/machines/carousel/index.mjs +4 -4
  91. package/dist/machines/checkbox/index.cjs +4 -4
  92. package/dist/machines/checkbox/index.d.cts +3 -3
  93. package/dist/machines/checkbox/index.d.mts +3 -3
  94. package/dist/machines/checkbox/index.mjs +4 -4
  95. package/dist/machines/clipboard/index.cjs +3 -3
  96. package/dist/machines/clipboard/index.d.cts +3 -3
  97. package/dist/machines/clipboard/index.d.mts +3 -3
  98. package/dist/machines/clipboard/index.mjs +3 -3
  99. package/dist/machines/collapsible/index.cjs +3 -3
  100. package/dist/machines/collapsible/index.d.cts +3 -3
  101. package/dist/machines/collapsible/index.d.mts +3 -3
  102. package/dist/machines/collapsible/index.mjs +3 -3
  103. package/dist/machines/color-picker/index.cjs +7 -7
  104. package/dist/machines/color-picker/index.d.cts +5 -5
  105. package/dist/machines/color-picker/index.d.mts +5 -5
  106. package/dist/machines/color-picker/index.mjs +7 -7
  107. package/dist/machines/combobox/index.cjs +7 -7
  108. package/dist/machines/combobox/index.d.cts +5 -5
  109. package/dist/machines/combobox/index.d.mts +5 -5
  110. package/dist/machines/combobox/index.mjs +7 -7
  111. package/dist/machines/date-picker/index.cjs +19 -19
  112. package/dist/machines/date-picker/index.d.cts +7 -7
  113. package/dist/machines/date-picker/index.d.mts +7 -7
  114. package/dist/machines/date-picker/index.mjs +6 -6
  115. package/dist/machines/dialog/index.cjs +8 -8
  116. package/dist/machines/dialog/index.d.cts +5 -5
  117. package/dist/machines/dialog/index.d.mts +5 -5
  118. package/dist/machines/dialog/index.mjs +8 -8
  119. package/dist/machines/editable/index.cjs +4 -4
  120. package/dist/machines/editable/index.d.cts +4 -4
  121. package/dist/machines/editable/index.d.mts +4 -4
  122. package/dist/machines/editable/index.mjs +4 -4
  123. package/dist/machines/file-upload/index.cjs +4 -4
  124. package/dist/machines/file-upload/index.d.cts +4 -4
  125. package/dist/machines/file-upload/index.d.mts +4 -4
  126. package/dist/machines/file-upload/index.mjs +4 -4
  127. package/dist/machines/floating-panel/index.cjs +4 -4
  128. package/dist/machines/floating-panel/index.d.cts +4 -4
  129. package/dist/machines/floating-panel/index.d.mts +4 -4
  130. package/dist/machines/floating-panel/index.mjs +4 -4
  131. package/dist/machines/hover-card/index.cjs +6 -6
  132. package/dist/machines/hover-card/index.d.cts +4 -4
  133. package/dist/machines/hover-card/index.d.mts +4 -4
  134. package/dist/machines/hover-card/index.mjs +6 -6
  135. package/dist/machines/image-cropper/index.cjs +3 -3
  136. package/dist/machines/image-cropper/index.d.cts +3 -3
  137. package/dist/machines/image-cropper/index.d.mts +3 -3
  138. package/dist/machines/image-cropper/index.mjs +3 -3
  139. package/dist/machines/listbox/index.cjs +5 -5
  140. package/dist/machines/listbox/index.d.cts +4 -4
  141. package/dist/machines/listbox/index.d.mts +4 -4
  142. package/dist/machines/listbox/index.mjs +5 -5
  143. package/dist/machines/marquee/index.cjs +3 -3
  144. package/dist/machines/marquee/index.d.cts +5 -5
  145. package/dist/machines/marquee/index.d.mts +5 -5
  146. package/dist/machines/marquee/index.mjs +3 -3
  147. package/dist/machines/menu/index.cjs +7 -7
  148. package/dist/machines/menu/index.d.cts +8 -8
  149. package/dist/machines/menu/index.d.mts +8 -8
  150. package/dist/machines/menu/index.mjs +7 -7
  151. package/dist/machines/navigation-menu/index.cjs +5 -5
  152. package/dist/machines/navigation-menu/index.d.cts +3 -3
  153. package/dist/machines/navigation-menu/index.d.mts +3 -3
  154. package/dist/machines/navigation-menu/index.mjs +5 -5
  155. package/dist/machines/number-input/index.cjs +5 -5
  156. package/dist/machines/number-input/index.d.cts +3 -3
  157. package/dist/machines/number-input/index.d.mts +3 -3
  158. package/dist/machines/number-input/index.mjs +3 -3
  159. package/dist/machines/pagination/index.cjs +3 -3
  160. package/dist/machines/pagination/index.d.cts +2 -2
  161. package/dist/machines/pagination/index.d.mts +2 -2
  162. package/dist/machines/pagination/index.mjs +3 -3
  163. package/dist/machines/password-input/index.cjs +3 -3
  164. package/dist/machines/password-input/index.d.cts +3 -3
  165. package/dist/machines/password-input/index.d.mts +3 -3
  166. package/dist/machines/password-input/index.mjs +3 -3
  167. package/dist/machines/pin-input/index.cjs +3 -3
  168. package/dist/machines/pin-input/index.d.cts +2 -2
  169. package/dist/machines/pin-input/index.d.mts +2 -2
  170. package/dist/machines/pin-input/index.mjs +3 -3
  171. package/dist/machines/popover/index.cjs +9 -9
  172. package/dist/machines/popover/index.d.cts +6 -6
  173. package/dist/machines/popover/index.d.mts +6 -6
  174. package/dist/machines/popover/index.mjs +9 -9
  175. package/dist/machines/presence/index.cjs +3 -3
  176. package/dist/machines/presence/index.d.cts +2 -2
  177. package/dist/machines/presence/index.d.mts +2 -2
  178. package/dist/machines/presence/index.mjs +3 -3
  179. package/dist/machines/progress/index.cjs +3 -3
  180. package/dist/machines/progress/index.d.cts +3 -3
  181. package/dist/machines/progress/index.d.mts +3 -3
  182. package/dist/machines/progress/index.mjs +3 -3
  183. package/dist/machines/qr-code/index.cjs +3 -3
  184. package/dist/machines/qr-code/index.d.cts +4 -4
  185. package/dist/machines/qr-code/index.d.mts +4 -4
  186. package/dist/machines/qr-code/index.mjs +3 -3
  187. package/dist/machines/radio-group/index.cjs +4 -4
  188. package/dist/machines/radio-group/index.d.cts +3 -3
  189. package/dist/machines/radio-group/index.d.mts +3 -3
  190. package/dist/machines/radio-group/index.mjs +4 -4
  191. package/dist/machines/rating-group/index.cjs +3 -3
  192. package/dist/machines/rating-group/index.d.cts +3 -3
  193. package/dist/machines/rating-group/index.d.mts +3 -3
  194. package/dist/machines/rating-group/index.mjs +3 -3
  195. package/dist/machines/scroll-area/index.cjs +4 -4
  196. package/dist/machines/scroll-area/index.d.cts +3 -3
  197. package/dist/machines/scroll-area/index.d.mts +3 -3
  198. package/dist/machines/scroll-area/index.mjs +4 -4
  199. package/dist/machines/select/index.cjs +7 -7
  200. package/dist/machines/select/index.d.cts +6 -6
  201. package/dist/machines/select/index.d.mts +6 -6
  202. package/dist/machines/select/index.mjs +7 -7
  203. package/dist/machines/signature-pad/index.cjs +6 -6
  204. package/dist/machines/signature-pad/index.d.cts +3 -3
  205. package/dist/machines/signature-pad/index.d.mts +3 -3
  206. package/dist/machines/signature-pad/index.mjs +7 -7
  207. package/dist/machines/slider/index.cjs +36 -6
  208. package/dist/machines/slider/index.d.cts +5 -4
  209. package/dist/machines/slider/index.d.mts +5 -4
  210. package/dist/machines/slider/index.mjs +36 -6
  211. package/dist/machines/splitter/index.cjs +3 -3
  212. package/dist/machines/splitter/index.d.cts +2 -2
  213. package/dist/machines/splitter/index.d.mts +2 -2
  214. package/dist/machines/splitter/index.mjs +3 -3
  215. package/dist/machines/steps/index.cjs +3 -3
  216. package/dist/machines/steps/index.d.cts +3 -3
  217. package/dist/machines/steps/index.d.mts +3 -3
  218. package/dist/machines/steps/index.mjs +3 -3
  219. package/dist/machines/switch/index.cjs +4 -4
  220. package/dist/machines/switch/index.d.cts +3 -3
  221. package/dist/machines/switch/index.d.mts +3 -3
  222. package/dist/machines/switch/index.mjs +4 -4
  223. package/dist/machines/tabs/index.cjs +3 -3
  224. package/dist/machines/tabs/index.d.cts +3 -3
  225. package/dist/machines/tabs/index.d.mts +3 -3
  226. package/dist/machines/tabs/index.mjs +3 -3
  227. package/dist/machines/tags-input/index.cjs +5 -5
  228. package/dist/machines/tags-input/index.d.cts +5 -5
  229. package/dist/machines/tags-input/index.d.mts +5 -5
  230. package/dist/machines/tags-input/index.mjs +5 -5
  231. package/dist/machines/timer/index.cjs +3 -3
  232. package/dist/machines/timer/index.d.cts +3 -3
  233. package/dist/machines/timer/index.d.mts +3 -3
  234. package/dist/machines/timer/index.mjs +3 -3
  235. package/dist/machines/toast/index.cjs +7 -7
  236. package/dist/machines/toast/index.d.cts +5 -4
  237. package/dist/machines/toast/index.d.mts +5 -4
  238. package/dist/machines/toast/index.mjs +8 -8
  239. package/dist/machines/toggle/index.cjs +3 -3
  240. package/dist/machines/toggle/index.d.cts +2 -2
  241. package/dist/machines/toggle/index.d.mts +2 -2
  242. package/dist/machines/toggle/index.mjs +3 -3
  243. package/dist/machines/toggle-group/index.cjs +3 -3
  244. package/dist/machines/toggle-group/index.d.cts +2 -2
  245. package/dist/machines/toggle-group/index.d.mts +2 -2
  246. package/dist/machines/toggle-group/index.mjs +3 -3
  247. package/dist/machines/tooltip/index.cjs +5 -5
  248. package/dist/machines/tooltip/index.d.cts +3 -3
  249. package/dist/machines/tooltip/index.d.mts +3 -3
  250. package/dist/machines/tooltip/index.mjs +5 -5
  251. package/dist/machines/tour/index.cjs +7 -7
  252. package/dist/machines/tour/index.d.cts +6 -6
  253. package/dist/machines/tour/index.d.mts +6 -6
  254. package/dist/machines/tour/index.mjs +7 -7
  255. package/dist/machines/tree-view/index.cjs +4 -4
  256. package/dist/machines/tree-view/index.d.cts +4 -4
  257. package/dist/machines/tree-view/index.d.mts +4 -4
  258. package/dist/machines/tree-view/index.mjs +4 -4
  259. package/dist/{popper-CjBC91Tz.mjs → popper-BN7E_8-R.mjs} +2 -2
  260. package/dist/{popper-kp05O3Bm.cjs → popper-CasttusN.cjs} +12 -12
  261. package/dist/popper.cjs +3 -3
  262. package/dist/popper.d.cts +1 -1
  263. package/dist/popper.d.mts +1 -1
  264. package/dist/popper.mjs +3 -3
  265. package/dist/{rect-utils-Dp9Wvl7-.cjs → rect-utils-C-9DRQNd.cjs} +1 -1
  266. package/dist/{rect-utils-j6C9uZk1.mjs → rect-utils-C6Nug-pt.mjs} +1 -1
  267. package/dist/rect-utils.cjs +1 -1
  268. package/dist/rect-utils.d.cts +1 -1
  269. package/dist/rect-utils.d.mts +1 -1
  270. package/dist/rect-utils.mjs +1 -1
  271. package/dist/{remove-scroll-Dh9PjZFE.cjs → remove-scroll-BPLI9jr9.cjs} +1 -1
  272. package/dist/{remove-scroll-C73TLIgr.mjs → remove-scroll-Btia-r68.mjs} +1 -1
  273. package/dist/{scroll-snap-B279jSp5.mjs → scroll-snap-DY-Wmmhl.mjs} +1 -1
  274. package/dist/{scroll-snap-BvaE_jFu.cjs → scroll-snap-VzQ4ngQ4.cjs} +1 -1
  275. package/dist/scroll-snap.cjs +2 -2
  276. package/dist/scroll-snap.mjs +2 -2
  277. package/dist/types.d.cts +1 -1
  278. package/dist/types.d.mts +1 -1
  279. package/dist/{utils-BIwaJq8z.mjs → utils-B_odTlcq.mjs} +5 -5
  280. package/dist/{utils-CtgLe8Vv.cjs → utils-CMs0714u.cjs} +5 -5
  281. package/dist/utils.cjs +1 -1
  282. package/dist/utils.d.cts +1 -1
  283. package/dist/utils.d.mts +1 -1
  284. package/dist/utils.mjs +1 -1
  285. package/package.json +1 -1
  286. package/dist/core-75kSaDJc.d.mts +0 -49
  287. package/dist/core-D_pI64vx.d.cts +0 -49
  288. /package/dist/{data-url-BqpiKO1L.d.mts → data-url-C3ITPVRX.d.cts} +0 -0
  289. /package/dist/{data-url-og2AwQaU.d.cts → data-url-mcVoUiET.d.mts} +0 -0
  290. /package/dist/{functions-2ix8ad1e.d.cts → functions-7V6veSov.d.cts} +0 -0
  291. /package/dist/{functions-qoGE2jOS.d.mts → functions-CjitT5Gr.d.mts} +0 -0
  292. /package/dist/{index-BlM1bSkX.d.mts → index-BTi1wETB.d.mts} +0 -0
  293. /package/dist/{index-DYzqCFaj.d.mts → index-BqhWpjZh.d.mts} +0 -0
  294. /package/dist/{index-BVcPBg7R.d.mts → index-Bqw3r34-.d.cts} +0 -0
  295. /package/dist/{index-UNyqrBDu.d.cts → index-BuUzJjaP.d.mts} +0 -0
  296. /package/dist/{index-9OlOKr2i.d.mts → index-Bvn6ocEE.d.mts} +0 -0
  297. /package/dist/{index-DFiQyzeW.d.cts → index-C9-feK5c.d.cts} +0 -0
  298. /package/dist/{index-BBTkH09t.d.cts → index-CygfPLvT.d.mts} +0 -0
  299. /package/dist/{index-C9ajBf1B.d.mts → index-Owca7uxB.d.cts} +0 -0
  300. /package/dist/{node-BecR7gec.d.cts → node-CHGS3acf.d.mts} +0 -0
  301. /package/dist/{node-v8Pyrj9P.d.mts → node-CSsuPZVZ.d.cts} +0 -0
  302. /package/dist/{raf-BF2VrckK.d.cts → raf-BV1049GE.d.mts} +0 -0
  303. /package/dist/{raf-DX52LaVy.d.mts → raf-Cd2FGy0z.d.cts} +0 -0
  304. /package/dist/{typeahead-BWyD_KIb.d.cts → typeahead-BdNwVP09.d.cts} +0 -0
  305. /package/dist/{typeahead-BX-BWYjD.d.mts → typeahead-DMSwLv1e.d.mts} +0 -0
  306. /package/dist/{types-CsK6JMut.d.mts → types-D-ZRl1jP.d.mts} +0 -0
  307. /package/dist/{types-TUsgVjZA.d.cts → types-D5ziaMrd.d.cts} +0 -0
  308. /package/dist/{types-BIy26Uwn.d.cts → types-DL5AIQk5.d.mts} +0 -0
  309. /package/dist/{types-ByFp2QfD.d.mts → types-DddL75YY.d.cts} +0 -0
  310. /package/dist/{types-jyV564Ip.d.mts → types-DejIu60O.d.cts} +0 -0
  311. /package/dist/{types-xyuh-a2-.d.cts → types-F-0xFywm.d.cts} +0 -0
  312. /package/dist/{types-oh90SH45.d.cts → types-GxLIgJib.d.cts} +0 -0
  313. /package/dist/{types-CaxzY9yP.d.cts → types-J14X3oxU.d.mts} +0 -0
  314. /package/dist/{wait-for-C9QyzQj2.d.cts → wait-for-BkzY39R9.d.mts} +0 -0
  315. /package/dist/{wait-for-Pn6RmrHX.d.mts → wait-for-CMjPsqWk.d.cts} +0 -0
@@ -1,4 +1,4 @@
1
- import { Ht as findControlledElements, ln as isHTMLElement } from "./dom-query-Bwyyt0Vp.mjs";
1
+ import { Ht as findControlledElements, ln as isHTMLElement } from "./dom-query-BaSlGC4X.mjs";
2
2
 
3
3
  //#region src/shared/aria-hidden/walk-tree-outside.ts
4
4
  let counterMap = /* @__PURE__ */ new WeakMap();
@@ -1,4 +1,4 @@
1
- const require_dom_query = require('./dom-query-CWZdWUGp.cjs');
1
+ const require_dom_query = require('./dom-query-fmUvyB3x.cjs');
2
2
 
3
3
  //#region src/shared/aria-hidden/walk-tree-outside.ts
4
4
  let counterMap = /* @__PURE__ */ new WeakMap();
@@ -1,4 +1,4 @@
1
- require('./dom-query-CWZdWUGp.cjs');
2
- const require_aria_hidden = require('./aria-hidden-DtLU6hSU.cjs');
1
+ require('./dom-query-fmUvyB3x.cjs');
2
+ const require_aria_hidden = require('./aria-hidden-DSdN9ih2.cjs');
3
3
 
4
4
  exports.ariaHidden = require_aria_hidden.ariaHidden;
@@ -1,4 +1,4 @@
1
- import "./dom-query-Bwyyt0Vp.mjs";
2
- import { t as ariaHidden } from "./aria-hidden-DIoJxbA3.mjs";
1
+ import "./dom-query-BaSlGC4X.mjs";
2
+ import { t as ariaHidden } from "./aria-hidden-Bq1drpzH.mjs";
3
3
 
4
4
  export { ariaHidden };
@@ -1,4 +1,4 @@
1
- const require_dom_query = require('./dom-query-CWZdWUGp.cjs');
1
+ const require_dom_query = require('./dom-query-fmUvyB3x.cjs');
2
2
 
3
3
  //#region src/shared/auto-resize/visual-style.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { Qt as getDocument, Yt as getComputedStyle, rn as getWindow } from "./dom-query-Bwyyt0Vp.mjs";
1
+ import { Qt as getDocument, Yt as getComputedStyle, rn as getWindow } from "./dom-query-BaSlGC4X.mjs";
2
2
 
3
3
  //#region src/shared/auto-resize/visual-style.ts
4
4
  /**
@@ -1,5 +1,5 @@
1
- require('./dom-query-CWZdWUGp.cjs');
2
- const require_auto_resize = require('./auto-resize-xzlPFDyD.cjs');
1
+ require('./dom-query-fmUvyB3x.cjs');
2
+ const require_auto_resize = require('./auto-resize-Bh8HjZd5.cjs');
3
3
 
4
4
  exports.autoResizeInput = require_auto_resize.autoResizeInput;
5
5
  exports.autoresizeTextarea = require_auto_resize.autoresizeTextarea;
@@ -1,4 +1,4 @@
1
- import "./dom-query-Bwyyt0Vp.mjs";
2
- import { n as autoResizeInput, t as autoresizeTextarea } from "./auto-resize-L6Oqa0lE.mjs";
1
+ import "./dom-query-BaSlGC4X.mjs";
2
+ import { n as autoResizeInput, t as autoresizeTextarea } from "./auto-resize-DLuF3IFp.mjs";
3
3
 
4
4
  export { autoResizeInput, autoresizeTextarea };
@@ -1,5 +1,5 @@
1
- const require_defineProperty = require('./defineProperty-BoUOT9Ie.cjs');
2
- const require_utils = require('./utils-CtgLe8Vv.cjs');
1
+ const require_defineProperty = require('./defineProperty-CTuz_M0G.cjs');
2
+ const require_utils = require('./utils-CMs0714u.cjs');
3
3
 
4
4
  //#region src/shared/collection/list-collection.ts
5
5
  let _Symbol$iterator;
@@ -1,5 +1,5 @@
1
- import { t as _defineProperty } from "./defineProperty-Cql4jybt.mjs";
2
- import { Et as nextIndex, ct as isObject, ft as isEqual, ht as chunk, kt as prevIndex, tt as hasProp } from "./utils-BIwaJq8z.mjs";
1
+ import { t as _defineProperty } from "./defineProperty-Bzw41Glr.mjs";
2
+ import { Et as nextIndex, ct as isObject, ft as isEqual, ht as chunk, kt as prevIndex, tt as hasProp } from "./utils-B_odTlcq.mjs";
3
3
 
4
4
  //#region src/shared/collection/list-collection.ts
5
5
  let _Symbol$iterator;
@@ -1,5 +1,5 @@
1
- require('./utils-CtgLe8Vv.cjs');
2
- const require_collection = require('./collection-DrxGD6r-.cjs');
1
+ require('./utils-CMs0714u.cjs');
2
+ const require_collection = require('./collection-C26svdLV.cjs');
3
3
 
4
4
  exports.GridCollection = require_collection.GridCollection;
5
5
  exports.ListCollection = require_collection.ListCollection;
@@ -1,4 +1,4 @@
1
- import "./utils-BIwaJq8z.mjs";
2
- import { a as GridCollection, c as isListCollection, i as Selection, n as filePathToTree, o as isGridCollection, r as flattenedToTree, s as ListCollection, t as TreeCollection } from "./collection-Don0IqzY.mjs";
1
+ import "./utils-B_odTlcq.mjs";
2
+ import { a as GridCollection, c as isListCollection, i as Selection, n as filePathToTree, o as isGridCollection, r as flattenedToTree, s as ListCollection, t as TreeCollection } from "./collection-CIpGDBdt.mjs";
3
3
 
4
4
  export { GridCollection, ListCollection, Selection, TreeCollection, filePathToTree, flattenedToTree, isGridCollection, isListCollection };
@@ -1,5 +1,5 @@
1
- import { t as _defineProperty } from "./defineProperty-Cql4jybt.mjs";
2
- import { B as snapValueToStep, C as getPercentValue, P as mod, T as getValuePercent, V as toFixedNumber, g as clampValue } from "./utils-BIwaJq8z.mjs";
1
+ import { t as _defineProperty } from "./defineProperty-Bzw41Glr.mjs";
2
+ import { B as snapValueToStep, C as getPercentValue, P as mod, T as getValuePercent, V as toFixedNumber, g as clampValue } from "./utils-B_odTlcq.mjs";
3
3
 
4
4
  //#region src/shared/color-utils/color-format-gradient.ts
5
5
  const generateRGB_R = (orientation, dir, zValue) => {
@@ -1,5 +1,5 @@
1
- const require_defineProperty = require('./defineProperty-BoUOT9Ie.cjs');
2
- const require_utils = require('./utils-CtgLe8Vv.cjs');
1
+ const require_defineProperty = require('./defineProperty-CTuz_M0G.cjs');
2
+ const require_utils = require('./utils-CMs0714u.cjs');
3
3
 
4
4
  //#region src/shared/color-utils/color-format-gradient.ts
5
5
  const generateRGB_R = (orientation, dir, zValue) => {
@@ -1,5 +1,5 @@
1
- require('./utils-CtgLe8Vv.cjs');
2
- const require_color_utils = require('./color-utils-grkMlPoh.cjs');
1
+ require('./utils-CMs0714u.cjs');
2
+ const require_color_utils = require('./color-utils-ZGUFwZHm.cjs');
3
3
 
4
4
  exports.Color = require_color_utils.Color;
5
5
  exports.getColorAreaGradient = require_color_utils.getColorAreaGradient;
@@ -1,4 +1,4 @@
1
- import "./utils-BIwaJq8z.mjs";
2
- import { i as getColorAreaGradient, n as parseColor, r as Color, t as normalizeColor } from "./color-utils-CjwofPil.mjs";
1
+ import "./utils-B_odTlcq.mjs";
2
+ import { i as getColorAreaGradient, n as parseColor, r as Color, t as normalizeColor } from "./color-utils-DGt9e4DC.mjs";
3
3
 
4
4
  export { Color, getColorAreaGradient, normalizeColor, parseColor };
@@ -1,5 +1,5 @@
1
- import { Qt as getDocument, Zt as getActiveElement, in as isActiveElement } from "./dom-query-Bwyyt0Vp.mjs";
2
- import { W as callAll, dt as isString, ft as isEqual } from "./utils-BIwaJq8z.mjs";
1
+ import { Qt as getDocument, Zt as getActiveElement, in as isActiveElement } from "./dom-query-BaSlGC4X.mjs";
2
+ import { W as callAll, dt as isString, ft as isEqual } from "./utils-B_odTlcq.mjs";
3
3
 
4
4
  //#region src/shared/core/merge-props.ts
5
5
  const clsx = (...args) => args.map((str) => str?.trim?.()).filter(Boolean).join(" ");
@@ -1,5 +1,5 @@
1
- const require_dom_query = require('./dom-query-CWZdWUGp.cjs');
2
- const require_utils = require('./utils-CtgLe8Vv.cjs');
1
+ const require_dom_query = require('./dom-query-fmUvyB3x.cjs');
2
+ const require_utils = require('./utils-CMs0714u.cjs');
3
3
 
4
4
  //#region src/shared/core/merge-props.ts
5
5
  const clsx = (...args) => args.map((str) => str?.trim?.()).filter(Boolean).join(" ");
package/dist/core.cjs CHANGED
@@ -1,6 +1,6 @@
1
- require('./dom-query-CWZdWUGp.cjs');
2
- require('./utils-CtgLe8Vv.cjs');
3
- const require_core = require('./core-DHn58LRl.cjs');
1
+ require('./dom-query-fmUvyB3x.cjs');
2
+ require('./utils-CMs0714u.cjs');
3
+ const require_core = require('./core-BXoiGBfo.cjs');
4
4
 
5
5
  exports.INIT_STATE = require_core.INIT_STATE;
6
6
  exports.MachineStatus = require_core.MachineStatus;
package/dist/core.d.cts CHANGED
@@ -1,3 +1,49 @@
1
- import { a as memo, i as setup, n as createGuards, o as mergeProps, r as createMachine, t as createScope } from "./core-D_pI64vx.cjs";
2
- import { _ as PropFn, a as BindableParams, b as Transition, c as ComputedFn, d as GuardFn, f as INIT_STATE, g as Params, h as MachineStatus, i as BindableFn, l as EffectsOrFn, m as MachineSchema, n as Bindable, o as BindableRefs, p as Machine, r as BindableContext, s as ChooseFn, t as ActionsOrFn, u as EventObject, v as Scope, x as ValueOrFn, y as Service } from "./types-BIy26Uwn.cjs";
1
+ import { _ as PropFn, a as BindableParams, b as Transition, c as ComputedFn, d as GuardFn, f as INIT_STATE, g as Params, h as MachineStatus, i as BindableFn, l as EffectsOrFn, m as MachineSchema, n as Bindable, o as BindableRefs, p as Machine, r as BindableContext, s as ChooseFn, t as ActionsOrFn, u as EventObject, v as Scope, x as ValueOrFn, y as Service } from "./types-DejIu60O.cjs";
2
+ import { l as isActiveElement } from "./node-CSsuPZVZ.cjs";
3
+
4
+ //#region src/shared/core/merge-props.d.ts
5
+ interface Props {
6
+ [key: string | symbol]: any;
7
+ }
8
+ type TupleTypes<T extends any[]> = T[number];
9
+ type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends ((k: infer I) => void) ? I : never;
10
+ declare function mergeProps<T extends Props>(...args: Array<T | undefined>): UnionToIntersection<TupleTypes<T[]>>;
11
+ //#endregion
12
+ //#region src/shared/core/memo.d.ts
13
+ type NoInfer<T> = [T][T extends any ? 0 : never];
14
+ declare function memo<TDeps extends any[], TDepArgs, TResult>(getDeps: (depArgs: TDepArgs) => [...TDeps], fn: (args: NoInfer<[...TDeps]>, deps: TDepArgs) => TResult, opts?: {
15
+ onChange?: ((result: TResult) => void) | undefined;
16
+ }): (depArgs: TDepArgs) => TResult;
17
+ //#endregion
18
+ //#region src/shared/core/create-machine.d.ts
19
+ declare function createGuards<T extends MachineSchema>(): {
20
+ and: (...guards: Array<GuardFn<T> | T["guard"]>) => (params: any) => boolean;
21
+ or: (...guards: Array<GuardFn<T> | T["guard"]>) => (params: any) => boolean;
22
+ not: (guard: GuardFn<T> | T["guard"]) => (params: any) => boolean;
23
+ };
24
+ declare function createMachine<T extends MachineSchema>(config: Machine<T>): Machine<T>;
25
+ declare function setup<T extends MachineSchema>(): {
26
+ guards: {
27
+ and: (...guards: (GuardFn<T> | T["guard"])[]) => (params: any) => boolean;
28
+ or: (...guards: (GuardFn<T> | T["guard"])[]) => (params: any) => boolean;
29
+ not: (guard: GuardFn<T> | T["guard"]) => (params: any) => boolean;
30
+ };
31
+ createMachine: (config: Machine<T>) => Machine<T>;
32
+ choose: (transitions: Transition<T> | Transition<T>[]) => ({
33
+ choose
34
+ }: Params<T>) => T["action"][] | undefined;
35
+ };
36
+ //#endregion
37
+ //#region src/shared/core/scope.d.ts
38
+ declare function createScope(props: Pick<Scope, "id" | "ids" | "getRootNode">): {
39
+ getRootNode: () => Document | ShadowRoot;
40
+ getDoc: () => Document;
41
+ getWin: () => Window & typeof globalThis;
42
+ getActiveElement: () => HTMLElement | null;
43
+ isActiveElement: typeof isActiveElement;
44
+ getById: <T extends Element = HTMLElement>(id: string) => T | null;
45
+ ids?: Record<string, any> | undefined;
46
+ id?: string | undefined | undefined;
47
+ };
48
+ //#endregion
3
49
  export { ActionsOrFn, Bindable, BindableContext, BindableFn, BindableParams, BindableRefs, ChooseFn, ComputedFn, EffectsOrFn, EventObject, GuardFn, INIT_STATE, Machine, MachineSchema, MachineStatus, Params, PropFn, Scope, Service, Transition, ValueOrFn, createGuards, createMachine, createScope, memo, mergeProps, setup };
package/dist/core.d.mts CHANGED
@@ -1,3 +1,49 @@
1
- import { a as memo, i as setup, n as createGuards, o as mergeProps, r as createMachine, t as createScope } from "./core-75kSaDJc.mjs";
2
- import { _ as PropFn, a as BindableParams, b as Transition, c as ComputedFn, d as GuardFn, f as INIT_STATE, g as Params, h as MachineStatus, i as BindableFn, l as EffectsOrFn, m as MachineSchema, n as Bindable, o as BindableRefs, p as Machine, r as BindableContext, s as ChooseFn, t as ActionsOrFn, u as EventObject, v as Scope, x as ValueOrFn, y as Service } from "./types-jyV564Ip.mjs";
1
+ import { _ as PropFn, a as BindableParams, b as Transition, c as ComputedFn, d as GuardFn, f as INIT_STATE, g as Params, h as MachineStatus, i as BindableFn, l as EffectsOrFn, m as MachineSchema, n as Bindable, o as BindableRefs, p as Machine, r as BindableContext, s as ChooseFn, t as ActionsOrFn, u as EventObject, v as Scope, x as ValueOrFn, y as Service } from "./types-DL5AIQk5.mjs";
2
+ import { l as isActiveElement } from "./node-CHGS3acf.mjs";
3
+
4
+ //#region src/shared/core/merge-props.d.ts
5
+ interface Props {
6
+ [key: string | symbol]: any;
7
+ }
8
+ type TupleTypes<T extends any[]> = T[number];
9
+ type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends ((k: infer I) => void) ? I : never;
10
+ declare function mergeProps<T extends Props>(...args: Array<T | undefined>): UnionToIntersection<TupleTypes<T[]>>;
11
+ //#endregion
12
+ //#region src/shared/core/memo.d.ts
13
+ type NoInfer<T> = [T][T extends any ? 0 : never];
14
+ declare function memo<TDeps extends any[], TDepArgs, TResult>(getDeps: (depArgs: TDepArgs) => [...TDeps], fn: (args: NoInfer<[...TDeps]>, deps: TDepArgs) => TResult, opts?: {
15
+ onChange?: ((result: TResult) => void) | undefined;
16
+ }): (depArgs: TDepArgs) => TResult;
17
+ //#endregion
18
+ //#region src/shared/core/create-machine.d.ts
19
+ declare function createGuards<T extends MachineSchema>(): {
20
+ and: (...guards: Array<GuardFn<T> | T["guard"]>) => (params: any) => boolean;
21
+ or: (...guards: Array<GuardFn<T> | T["guard"]>) => (params: any) => boolean;
22
+ not: (guard: GuardFn<T> | T["guard"]) => (params: any) => boolean;
23
+ };
24
+ declare function createMachine<T extends MachineSchema>(config: Machine<T>): Machine<T>;
25
+ declare function setup<T extends MachineSchema>(): {
26
+ guards: {
27
+ and: (...guards: (GuardFn<T> | T["guard"])[]) => (params: any) => boolean;
28
+ or: (...guards: (GuardFn<T> | T["guard"])[]) => (params: any) => boolean;
29
+ not: (guard: GuardFn<T> | T["guard"]) => (params: any) => boolean;
30
+ };
31
+ createMachine: (config: Machine<T>) => Machine<T>;
32
+ choose: (transitions: Transition<T> | Transition<T>[]) => ({
33
+ choose
34
+ }: Params<T>) => T["action"][] | undefined;
35
+ };
36
+ //#endregion
37
+ //#region src/shared/core/scope.d.ts
38
+ declare function createScope(props: Pick<Scope, "id" | "ids" | "getRootNode">): {
39
+ getRootNode: () => Document | ShadowRoot;
40
+ getDoc: () => Document;
41
+ getWin: () => Window & typeof globalThis;
42
+ getActiveElement: () => HTMLElement | null;
43
+ isActiveElement: typeof isActiveElement;
44
+ getById: <T extends Element = HTMLElement>(id: string) => T | null;
45
+ ids?: Record<string, any> | undefined;
46
+ id?: string | undefined | undefined;
47
+ };
48
+ //#endregion
3
49
  export { ActionsOrFn, Bindable, BindableContext, BindableFn, BindableParams, BindableRefs, ChooseFn, ComputedFn, EffectsOrFn, EventObject, GuardFn, INIT_STATE, Machine, MachineSchema, MachineStatus, Params, PropFn, Scope, Service, Transition, ValueOrFn, createGuards, createMachine, createScope, memo, mergeProps, setup };
package/dist/core.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import "./dom-query-Bwyyt0Vp.mjs";
2
- import "./utils-BIwaJq8z.mjs";
3
- import { a as createMachine, c as mergeProps, i as createGuards, n as INIT_STATE, o as setup, r as MachineStatus, s as memo, t as createScope } from "./core-DVmt6PX7.mjs";
1
+ import "./dom-query-BaSlGC4X.mjs";
2
+ import "./utils-B_odTlcq.mjs";
3
+ import { a as createMachine, c as mergeProps, i as createGuards, n as INIT_STATE, o as setup, r as MachineStatus, s as memo, t as createScope } from "./core-BLrKf6Qi.mjs";
4
4
 
5
5
  export { INIT_STATE, MachineStatus, createGuards, createMachine, createScope, memo, mergeProps, setup };
@@ -1,5 +1,5 @@
1
1
  const require_chunk = require('./chunk-CbDLau6x.cjs');
2
- let __internationalized_date = require("@internationalized/date");
2
+ let _internationalized_date = require("@internationalized/date");
3
3
 
4
4
  //#region src/shared/date-utils/constrain.ts
5
5
  function alignCenter(date, duration, locale, min, max) {
@@ -15,9 +15,9 @@ function alignCenter(date, duration, locale, min, max) {
15
15
  }
16
16
  function alignStart(date, duration, locale, min, max) {
17
17
  let aligned = date;
18
- if (duration.years) aligned = (0, __internationalized_date.startOfYear)(date);
19
- else if (duration.months) aligned = (0, __internationalized_date.startOfMonth)(date);
20
- else if (duration.weeks) aligned = (0, __internationalized_date.startOfWeek)(date, locale);
18
+ if (duration.years) aligned = (0, _internationalized_date.startOfYear)(date);
19
+ else if (duration.months) aligned = (0, _internationalized_date.startOfMonth)(date);
20
+ else if (duration.weeks) aligned = (0, _internationalized_date.startOfWeek)(date, locale);
21
21
  return constrainStart(date, aligned, duration, locale, min, max);
22
22
  }
23
23
  function alignEnd(date, duration, locale, min, max) {
@@ -29,14 +29,14 @@ function alignEnd(date, duration, locale, min, max) {
29
29
  return constrainStart(date, alignStart(date, duration, locale).subtract(d), duration, locale, min, max);
30
30
  }
31
31
  function constrainStart(date, aligned, duration, locale, min, max) {
32
- if (min && date.compare(min) >= 0) aligned = (0, __internationalized_date.maxDate)(aligned, alignStart((0, __internationalized_date.toCalendarDate)(min), duration, locale));
33
- if (max && date.compare(max) <= 0) aligned = (0, __internationalized_date.minDate)(aligned, alignEnd((0, __internationalized_date.toCalendarDate)(max), duration, locale));
32
+ if (min && date.compare(min) >= 0) aligned = (0, _internationalized_date.maxDate)(aligned, alignStart((0, _internationalized_date.toCalendarDate)(min), duration, locale));
33
+ if (max && date.compare(max) <= 0) aligned = (0, _internationalized_date.minDate)(aligned, alignEnd((0, _internationalized_date.toCalendarDate)(max), duration, locale));
34
34
  return aligned;
35
35
  }
36
36
  function constrainValue(date, minValue, maxValue) {
37
- let constrainedDate = (0, __internationalized_date.toCalendarDate)(date);
38
- if (minValue) constrainedDate = (0, __internationalized_date.maxDate)(constrainedDate, (0, __internationalized_date.toCalendarDate)(minValue));
39
- if (maxValue) constrainedDate = (0, __internationalized_date.minDate)(constrainedDate, (0, __internationalized_date.toCalendarDate)(maxValue));
37
+ let constrainedDate = (0, _internationalized_date.toCalendarDate)(date);
38
+ if (minValue) constrainedDate = (0, _internationalized_date.maxDate)(constrainedDate, (0, _internationalized_date.toCalendarDate)(minValue));
39
+ if (maxValue) constrainedDate = (0, _internationalized_date.minDate)(constrainedDate, (0, _internationalized_date.toCalendarDate)(maxValue));
40
40
  return constrainedDate;
41
41
  }
42
42
 
@@ -60,7 +60,7 @@ function alignStartDate(date, startDate, endDate, duration, locale, min, max) {
60
60
  //#region src/shared/date-utils/assertion.ts
61
61
  function isDateEqual(dateA, dateB) {
62
62
  if (dateA == null || dateB == null) return dateA === dateB;
63
- return (0, __internationalized_date.isSameDay)(dateA, dateB);
63
+ return (0, _internationalized_date.isSameDay)(dateA, dateB);
64
64
  }
65
65
  function isDateUnavailable(date, isUnavailable, locale, minValue, maxValue) {
66
66
  if (!date) return false;
@@ -72,11 +72,11 @@ function isDateOutsideRange(date, startDate, endDate) {
72
72
  }
73
73
  function isPreviousRangeInvalid(startDate, minValue, maxValue) {
74
74
  const prevDate = startDate.subtract({ days: 1 });
75
- return (0, __internationalized_date.isSameDay)(prevDate, startDate) || isDateOutsideRange(prevDate, minValue, maxValue);
75
+ return (0, _internationalized_date.isSameDay)(prevDate, startDate) || isDateOutsideRange(prevDate, minValue, maxValue);
76
76
  }
77
77
  function isNextRangeInvalid(endDate, minValue, maxValue) {
78
78
  const nextDate = endDate.add({ days: 1 });
79
- return (0, __internationalized_date.isSameDay)(nextDate, endDate) || isDateOutsideRange(nextDate, minValue, maxValue);
79
+ return (0, _internationalized_date.isSameDay)(nextDate, endDate) || isDateOutsideRange(nextDate, minValue, maxValue);
80
80
  }
81
81
 
82
82
  //#endregion
@@ -102,18 +102,18 @@ function getEraFormat(date) {
102
102
  //#endregion
103
103
  //#region src/shared/date-utils/formatter.ts
104
104
  function getDayFormatter(locale, timeZone) {
105
- return new __internationalized_date.DateFormatter(locale, {
105
+ return new _internationalized_date.DateFormatter(locale, {
106
106
  weekday: "long",
107
107
  month: "long",
108
108
  year: "numeric",
109
109
  day: "numeric",
110
- era: getEraFormat((0, __internationalized_date.toCalendarDateTime)((0, __internationalized_date.today)(timeZone))),
110
+ era: getEraFormat((0, _internationalized_date.toCalendarDateTime)((0, _internationalized_date.today)(timeZone))),
111
111
  timeZone
112
112
  });
113
113
  }
114
114
  function getMonthFormatter(locale, timeZone) {
115
- const date = (0, __internationalized_date.today)(timeZone);
116
- return new __internationalized_date.DateFormatter(locale, {
115
+ const date = (0, _internationalized_date.today)(timeZone);
116
+ return new _internationalized_date.DateFormatter(locale, {
117
117
  month: "long",
118
118
  year: "numeric",
119
119
  era: getEraFormat(date),
@@ -143,17 +143,17 @@ function formatSelectedDate(startDate, endDate, locale, timeZone) {
143
143
  let start = startDate;
144
144
  let end = endDate ?? startDate;
145
145
  let formatter = getDayFormatter(locale, timeZone);
146
- if ((0, __internationalized_date.isSameDay)(start, end)) return formatter.format(start.toDate(timeZone));
146
+ if ((0, _internationalized_date.isSameDay)(start, end)) return formatter.format(start.toDate(timeZone));
147
147
  return formatRange(start, end, formatter, (start$1, end$1) => `${start$1} – ${end$1}`, timeZone);
148
148
  }
149
149
  function formatVisibleRange(startDate, endDate, locale, timeZone) {
150
150
  const start = startDate;
151
151
  const end = endDate ?? startDate;
152
152
  const dayFormatter = getDayFormatter(locale, timeZone);
153
- if (!(0, __internationalized_date.isSameDay)(start, (0, __internationalized_date.startOfMonth)(start))) return dayFormatter.formatRange(start.toDate(timeZone), end.toDate(timeZone));
153
+ if (!(0, _internationalized_date.isSameDay)(start, (0, _internationalized_date.startOfMonth)(start))) return dayFormatter.formatRange(start.toDate(timeZone), end.toDate(timeZone));
154
154
  const monthFormatter = getMonthFormatter(locale, timeZone);
155
- if ((0, __internationalized_date.isSameDay)(end, (0, __internationalized_date.endOfMonth)(start))) return monthFormatter.format(start.toDate(timeZone));
156
- if ((0, __internationalized_date.isSameDay)(end, (0, __internationalized_date.endOfMonth)(end))) return monthFormatter.formatRange(start.toDate(timeZone), end.toDate(timeZone));
155
+ if ((0, _internationalized_date.isSameDay)(end, (0, _internationalized_date.endOfMonth)(start))) return monthFormatter.format(start.toDate(timeZone));
156
+ if ((0, _internationalized_date.isSameDay)(end, (0, _internationalized_date.endOfMonth)(end))) return monthFormatter.formatRange(start.toDate(timeZone), end.toDate(timeZone));
157
157
  return "";
158
158
  }
159
159
 
@@ -172,10 +172,10 @@ function normalizeFirstDayOfWeek(firstDayOfWeek) {
172
172
  return firstDayOfWeek != null ? daysOfTheWeek[firstDayOfWeek] : void 0;
173
173
  }
174
174
  function getStartOfWeek(date, locale, firstDayOfWeek) {
175
- return (0, __internationalized_date.startOfWeek)(date, locale, normalizeFirstDayOfWeek(firstDayOfWeek));
175
+ return (0, _internationalized_date.startOfWeek)(date, locale, normalizeFirstDayOfWeek(firstDayOfWeek));
176
176
  }
177
177
  function getEndOfWeek(date, locale, firstDayOfWeek = 0) {
178
- return (0, __internationalized_date.endOfWeek)(date, locale, normalizeFirstDayOfWeek(firstDayOfWeek));
178
+ return (0, _internationalized_date.endOfWeek)(date, locale, normalizeFirstDayOfWeek(firstDayOfWeek));
179
179
  }
180
180
  function getDaysInWeek(weekIndex, from, locale, firstDayOfWeek) {
181
181
  const weekDate = from.add({ weeks: weekIndex });
@@ -184,26 +184,26 @@ function getDaysInWeek(weekIndex, from, locale, firstDayOfWeek) {
184
184
  while (dates.length < 7) {
185
185
  dates.push(date);
186
186
  let nextDate = date.add({ days: 1 });
187
- if ((0, __internationalized_date.isSameDay)(date, nextDate)) break;
187
+ if ((0, _internationalized_date.isSameDay)(date, nextDate)) break;
188
188
  date = nextDate;
189
189
  }
190
190
  return dates;
191
191
  }
192
192
  function getMonthDays(from, locale, numOfWeeks, firstDayOfWeek) {
193
193
  const firstDay = normalizeFirstDayOfWeek(firstDayOfWeek);
194
- const monthWeeks = numOfWeeks ?? (0, __internationalized_date.getWeeksInMonth)(from, locale, firstDay);
194
+ const monthWeeks = numOfWeeks ?? (0, _internationalized_date.getWeeksInMonth)(from, locale, firstDay);
195
195
  return [...new Array(monthWeeks).keys()].map((week) => getDaysInWeek(week, from, locale, firstDayOfWeek));
196
196
  }
197
197
  function getWeekdayFormats(locale, timeZone) {
198
- const longFormat = new __internationalized_date.DateFormatter(locale, {
198
+ const longFormat = new _internationalized_date.DateFormatter(locale, {
199
199
  weekday: "long",
200
200
  timeZone
201
201
  });
202
- const shortFormat = new __internationalized_date.DateFormatter(locale, {
202
+ const shortFormat = new _internationalized_date.DateFormatter(locale, {
203
203
  weekday: "short",
204
204
  timeZone
205
205
  });
206
- const narrowFormat = new __internationalized_date.DateFormatter(locale, {
206
+ const narrowFormat = new _internationalized_date.DateFormatter(locale, {
207
207
  weekday: "narrow",
208
208
  timeZone
209
209
  });
@@ -265,10 +265,10 @@ function getDecadeRange(year, opts) {
265
265
  //#endregion
266
266
  //#region src/shared/date-utils/mutation.ts
267
267
  function getTodayDate(timeZone) {
268
- return (0, __internationalized_date.today)(timeZone ?? (0, __internationalized_date.getLocalTimeZone)());
268
+ return (0, _internationalized_date.today)(timeZone ?? (0, _internationalized_date.getLocalTimeZone)());
269
269
  }
270
270
  function setCalendar(date, calendar) {
271
- return (0, __internationalized_date.toCalendar)((0, __internationalized_date.toCalendarDateTime)(date), calendar);
271
+ return (0, _internationalized_date.toCalendar)((0, _internationalized_date.toCalendarDateTime)(date), calendar);
272
272
  }
273
273
  function setDate(date, startDate, isDateUnavailable$1, locale, minValue, maxValue) {
274
274
  let result;
@@ -349,11 +349,11 @@ function getSectionStart(focusedDate, startDate, visibleDuration, locale, minVal
349
349
  startDate
350
350
  });
351
351
  if (visibleDuration.weeks) return adjust({
352
- focusedDate: (0, __internationalized_date.startOfWeek)(focusedDate, locale),
352
+ focusedDate: (0, _internationalized_date.startOfWeek)(focusedDate, locale),
353
353
  startDate
354
354
  });
355
355
  if (visibleDuration.months || visibleDuration.years) return adjust({
356
- focusedDate: (0, __internationalized_date.startOfMonth)(focusedDate),
356
+ focusedDate: (0, _internationalized_date.startOfMonth)(focusedDate),
357
357
  startDate
358
358
  });
359
359
  }
@@ -365,11 +365,11 @@ function getSectionEnd(focusedDate, startDate, visibleDuration, locale, minValue
365
365
  startDate
366
366
  });
367
367
  if (visibleDuration.weeks) return adjust({
368
- focusedDate: (0, __internationalized_date.endOfWeek)(focusedDate, locale),
368
+ focusedDate: (0, _internationalized_date.endOfWeek)(focusedDate, locale),
369
369
  startDate
370
370
  });
371
371
  if (visibleDuration.months || visibleDuration.years) return adjust({
372
- focusedDate: (0, __internationalized_date.endOfMonth)(focusedDate),
372
+ focusedDate: (0, _internationalized_date.endOfMonth)(focusedDate),
373
373
  startDate
374
374
  });
375
375
  }
@@ -420,15 +420,15 @@ function parseDateString(date, locale, timeZone) {
420
420
  day || (day = curr.getDate().toString());
421
421
  }
422
422
  if (!isValidYear(year)) year = normalizeYear(year);
423
- if (isValidYear(year) && isValidMonth(month) && isValidDay(day)) return new __internationalized_date.CalendarDate(+year, +month, +day);
423
+ if (isValidYear(year) && isValidMonth(month) && isValidDay(day)) return new _internationalized_date.CalendarDate(+year, +month, +day);
424
424
  const time = Date.parse(date);
425
425
  if (!isNaN(time)) {
426
426
  const date$1 = new Date(time);
427
- return new __internationalized_date.CalendarDate(date$1.getFullYear(), date$1.getMonth() + 1, date$1.getDate());
427
+ return new _internationalized_date.CalendarDate(date$1.getFullYear(), date$1.getMonth() + 1, date$1.getDate());
428
428
  }
429
429
  }
430
430
  function createRegex(locale, timeZone) {
431
- return new __internationalized_date.DateFormatter(locale, {
431
+ return new _internationalized_date.DateFormatter(locale, {
432
432
  day: "numeric",
433
433
  month: "numeric",
434
434
  year: "numeric",
@@ -452,21 +452,21 @@ function extract(pattern, str) {
452
452
  //#endregion
453
453
  //#region src/shared/date-utils/preset.ts
454
454
  function getDateRangePreset(preset, locale, timeZone) {
455
- const today$2 = (0, __internationalized_date.toCalendarDate)((0, __internationalized_date.now)(timeZone));
455
+ const today$2 = (0, _internationalized_date.toCalendarDate)((0, _internationalized_date.now)(timeZone));
456
456
  switch (preset) {
457
- case "thisWeek": return [(0, __internationalized_date.startOfWeek)(today$2, locale), (0, __internationalized_date.endOfWeek)(today$2, locale)];
458
- case "thisMonth": return [(0, __internationalized_date.startOfMonth)(today$2), today$2];
459
- case "thisQuarter": return [(0, __internationalized_date.startOfMonth)(today$2).add({ months: -((today$2.month - 1) % 3) }), today$2];
460
- case "thisYear": return [(0, __internationalized_date.startOfYear)(today$2), today$2];
457
+ case "thisWeek": return [(0, _internationalized_date.startOfWeek)(today$2, locale), (0, _internationalized_date.endOfWeek)(today$2, locale)];
458
+ case "thisMonth": return [(0, _internationalized_date.startOfMonth)(today$2), today$2];
459
+ case "thisQuarter": return [(0, _internationalized_date.startOfMonth)(today$2).add({ months: -((today$2.month - 1) % 3) }), today$2];
460
+ case "thisYear": return [(0, _internationalized_date.startOfYear)(today$2), today$2];
461
461
  case "last3Days": return [today$2.add({ days: -2 }), today$2];
462
462
  case "last7Days": return [today$2.add({ days: -6 }), today$2];
463
463
  case "last14Days": return [today$2.add({ days: -13 }), today$2];
464
464
  case "last30Days": return [today$2.add({ days: -29 }), today$2];
465
465
  case "last90Days": return [today$2.add({ days: -89 }), today$2];
466
- case "lastMonth": return [(0, __internationalized_date.startOfMonth)(today$2.add({ months: -1 })), (0, __internationalized_date.endOfMonth)(today$2.add({ months: -1 }))];
467
- case "lastQuarter": return [(0, __internationalized_date.startOfMonth)(today$2.add({ months: -((today$2.month - 1) % 3) - 3 })), (0, __internationalized_date.endOfMonth)(today$2.add({ months: -((today$2.month - 1) % 3) - 1 }))];
468
- case "lastWeek": return [(0, __internationalized_date.startOfWeek)(today$2, locale).add({ weeks: -1 }), (0, __internationalized_date.endOfWeek)(today$2, locale).add({ weeks: -1 })];
469
- case "lastYear": return [(0, __internationalized_date.startOfYear)(today$2.add({ years: -1 })), (0, __internationalized_date.endOfYear)(today$2.add({ years: -1 }))];
466
+ case "lastMonth": return [(0, _internationalized_date.startOfMonth)(today$2.add({ months: -1 })), (0, _internationalized_date.endOfMonth)(today$2.add({ months: -1 }))];
467
+ case "lastQuarter": return [(0, _internationalized_date.startOfMonth)(today$2.add({ months: -((today$2.month - 1) % 3) - 3 })), (0, _internationalized_date.endOfMonth)(today$2.add({ months: -((today$2.month - 1) % 3) - 1 }))];
468
+ case "lastWeek": return [(0, _internationalized_date.startOfWeek)(today$2, locale).add({ weeks: -1 }), (0, _internationalized_date.endOfWeek)(today$2, locale).add({ weeks: -1 })];
469
+ case "lastYear": return [(0, _internationalized_date.startOfYear)(today$2.add({ years: -1 })), (0, _internationalized_date.endOfYear)(today$2.add({ years: -1 }))];
470
470
  default: throw new Error(`Invalid date range preset: ${preset}`);
471
471
  }
472
472
  }
@@ -1,4 +1,4 @@
1
- const require_date_utils = require('./date-utils-D2xPHa_I.cjs');
1
+ const require_date_utils = require('./date-utils-_Hu9b5fQ.cjs');
2
2
 
3
3
  exports.alignCenter = require_date_utils.alignCenter;
4
4
  exports.alignDate = require_date_utils.alignDate;
@@ -1,4 +1,4 @@
1
- import { a as DateRangePreset, i as DateGranularity, n as DateAlignment, r as DateAvailableFn, t as DateAdjustFn } from "./types-oh90SH45.cjs";
1
+ import { a as DateRangePreset, i as DateGranularity, n as DateAlignment, r as DateAvailableFn, t as DateAdjustFn } from "./types-GxLIgJib.cjs";
2
2
  import * as _internationalized_date0 from "@internationalized/date";
3
3
  import { Calendar, DateDuration, DateFormatter, DateValue } from "@internationalized/date";
4
4
 
@@ -1,2 +1,2 @@
1
- import { A as getMonthFormatter, B as constrainValue, C as getEndOfWeek, D as getWeekDays, E as getStartOfWeek, F as getUnitDuration, G as isPreviousRangeInvalid, H as isDateOutsideRange, I as alignCenter, J as DateAdjustFn, K as alignDate, L as alignEnd, M as formatSelectedDate, N as formatVisibleRange, O as getWeekdayFormats, P as getEndDate, R as alignStart, S as getDaysInWeek, T as getMonthNames, U as isDateUnavailable, V as isDateEqual, W as isNextRangeInvalid, X as DateRangePreset, Y as DateGranularity, _ as setDate, a as getAdjustedDateFn, b as getYearsRange, c as getNextSection, d as getPreviousSection, f as getSectionEnd, g as setCalendar, h as getTodayDate, i as AdjustDateReturn, j as formatRange, k as getDayFormatter, l as getPreviousPage, m as getPreviousAvailableDate, n as parseDateString, o as getNextPage, p as getSectionStart, q as alignStartDate, r as AdjustDateParams, s as getNextRow, t as getDateRangePreset, u as getPreviousRow, v as YearsRange, w as getMonthDays, x as normalizeYear, y as getDecadeRange, z as constrainStart } from "./index-DYzqCFaj.mjs";
1
+ import { A as getMonthFormatter, B as constrainValue, C as getEndOfWeek, D as getWeekDays, E as getStartOfWeek, F as getUnitDuration, G as isPreviousRangeInvalid, H as isDateOutsideRange, I as alignCenter, J as DateAdjustFn, K as alignDate, L as alignEnd, M as formatSelectedDate, N as formatVisibleRange, O as getWeekdayFormats, P as getEndDate, R as alignStart, S as getDaysInWeek, T as getMonthNames, U as isDateUnavailable, V as isDateEqual, W as isNextRangeInvalid, X as DateRangePreset, Y as DateGranularity, _ as setDate, a as getAdjustedDateFn, b as getYearsRange, c as getNextSection, d as getPreviousSection, f as getSectionEnd, g as setCalendar, h as getTodayDate, i as AdjustDateReturn, j as formatRange, k as getDayFormatter, l as getPreviousPage, m as getPreviousAvailableDate, n as parseDateString, o as getNextPage, p as getSectionStart, q as alignStartDate, r as AdjustDateParams, s as getNextRow, t as getDateRangePreset, u as getPreviousRow, v as YearsRange, w as getMonthDays, x as normalizeYear, y as getDecadeRange, z as constrainStart } from "./index-BqhWpjZh.mjs";
2
2
  export { AdjustDateParams, AdjustDateReturn, DateAdjustFn, DateGranularity, DateRangePreset, YearsRange, alignCenter, alignDate, alignEnd, alignStart, alignStartDate, constrainStart, constrainValue, formatRange, formatSelectedDate, formatVisibleRange, getAdjustedDateFn, getDateRangePreset, getDayFormatter, getDaysInWeek, getDecadeRange, getEndDate, getEndOfWeek, getMonthDays, getMonthFormatter, getMonthNames, getNextPage, getNextRow, getNextSection, getPreviousAvailableDate, getPreviousPage, getPreviousRow, getPreviousSection, getSectionEnd, getSectionStart, getStartOfWeek, getTodayDate, getUnitDuration, getWeekDays, getWeekdayFormats, getYearsRange, isDateEqual, isDateOutsideRange, isDateUnavailable, isNextRangeInvalid, isPreviousRangeInvalid, normalizeYear, parseDateString, setCalendar, setDate };
@@ -1,4 +1,4 @@
1
- //#region \0@oxc-project+runtime@0.101.0/helpers/typeof.js
1
+ //#region \0@oxc-project+runtime@0.103.0/helpers/typeof.js
2
2
  function _typeof(o) {
3
3
  "@babel/helpers - typeof";
4
4
  return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o$1) {
@@ -9,7 +9,7 @@ function _typeof(o) {
9
9
  }
10
10
 
11
11
  //#endregion
12
- //#region \0@oxc-project+runtime@0.101.0/helpers/toPrimitive.js
12
+ //#region \0@oxc-project+runtime@0.103.0/helpers/toPrimitive.js
13
13
  function toPrimitive(t, r) {
14
14
  if ("object" != _typeof(t) || !t) return t;
15
15
  var e = t[Symbol.toPrimitive];
@@ -22,14 +22,14 @@ function toPrimitive(t, r) {
22
22
  }
23
23
 
24
24
  //#endregion
25
- //#region \0@oxc-project+runtime@0.101.0/helpers/toPropertyKey.js
25
+ //#region \0@oxc-project+runtime@0.103.0/helpers/toPropertyKey.js
26
26
  function toPropertyKey(t) {
27
27
  var i = toPrimitive(t, "string");
28
28
  return "symbol" == _typeof(i) ? i : i + "";
29
29
  }
30
30
 
31
31
  //#endregion
32
- //#region \0@oxc-project+runtime@0.101.0/helpers/defineProperty.js
32
+ //#region \0@oxc-project+runtime@0.103.0/helpers/defineProperty.js
33
33
  function _defineProperty(e, r, t) {
34
34
  return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
35
35
  value: t,
@@ -1,5 +1,5 @@
1
1
 
2
- //#region \0@oxc-project+runtime@0.101.0/helpers/typeof.js
2
+ //#region \0@oxc-project+runtime@0.103.0/helpers/typeof.js
3
3
  function _typeof(o) {
4
4
  "@babel/helpers - typeof";
5
5
  return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o$1) {
@@ -10,7 +10,7 @@ function _typeof(o) {
10
10
  }
11
11
 
12
12
  //#endregion
13
- //#region \0@oxc-project+runtime@0.101.0/helpers/toPrimitive.js
13
+ //#region \0@oxc-project+runtime@0.103.0/helpers/toPrimitive.js
14
14
  function toPrimitive(t, r) {
15
15
  if ("object" != _typeof(t) || !t) return t;
16
16
  var e = t[Symbol.toPrimitive];
@@ -23,14 +23,14 @@ function toPrimitive(t, r) {
23
23
  }
24
24
 
25
25
  //#endregion
26
- //#region \0@oxc-project+runtime@0.101.0/helpers/toPropertyKey.js
26
+ //#region \0@oxc-project+runtime@0.103.0/helpers/toPropertyKey.js
27
27
  function toPropertyKey(t) {
28
28
  var i = toPrimitive(t, "string");
29
29
  return "symbol" == _typeof(i) ? i : i + "";
30
30
  }
31
31
 
32
32
  //#endregion
33
- //#region \0@oxc-project+runtime@0.101.0/helpers/defineProperty.js
33
+ //#region \0@oxc-project+runtime@0.103.0/helpers/defineProperty.js
34
34
  function _defineProperty(e, r, t) {
35
35
  return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
36
36
  value: t,