@commercetools/nimbus 0.0.0-canary-20250826065101 → 0.0.0-canary-20250826164027

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 (309) hide show
  1. package/dist/accordion.d.ts +9 -0
  2. package/dist/alert.d.ts +9 -0
  3. package/dist/avatar.d.ts +9 -0
  4. package/dist/badge.d.ts +9 -0
  5. package/dist/box.d.ts +9 -0
  6. package/dist/button.d.ts +9 -0
  7. package/dist/calendar.d.ts +9 -0
  8. package/dist/card.d.ts +9 -0
  9. package/dist/checkbox.d.ts +9 -0
  10. package/dist/chunks/DatePicker-5cKqpUC9.cjs.js +2 -0
  11. package/dist/chunks/{DatePicker-BQ6EfAU2.cjs.js.map → DatePicker-5cKqpUC9.cjs.js.map} +1 -1
  12. package/dist/chunks/{DatePicker-ByWwypbW.es.js → DatePicker-8Z6Kf838.es.js} +17 -18
  13. package/dist/chunks/{DatePicker-ByWwypbW.es.js.map → DatePicker-8Z6Kf838.es.js.map} +1 -1
  14. package/dist/chunks/{Dialog-DNPIKkGE.es.js → Dialog-C7IjW1jR.es.js} +24 -25
  15. package/dist/chunks/{Dialog-DNPIKkGE.es.js.map → Dialog-C7IjW1jR.es.js.map} +1 -1
  16. package/dist/chunks/Dialog-Cbq66gyc.cjs.js +2 -0
  17. package/dist/chunks/{Dialog-B4OIDU7t.cjs.js.map → Dialog-Cbq66gyc.cjs.js.map} +1 -1
  18. package/dist/chunks/OverlayArrow-C5Ymp9MC.cjs.js +2 -0
  19. package/dist/chunks/OverlayArrow-C5Ymp9MC.cjs.js.map +1 -0
  20. package/dist/chunks/OverlayArrow-ERS8ZqL3.es.js +479 -0
  21. package/dist/chunks/OverlayArrow-ERS8ZqL3.es.js.map +1 -0
  22. package/dist/chunks/{alert-BhMfbMnN.cjs.js → alert-BZUgI30X.cjs.js} +2 -2
  23. package/dist/chunks/{alert-BhMfbMnN.cjs.js.map → alert-BZUgI30X.cjs.js.map} +1 -1
  24. package/dist/chunks/{alert-BvT6yjas.es.js → alert-BxQlH4k1.es.js} +2 -2
  25. package/dist/chunks/{alert-BvT6yjas.es.js.map → alert-BxQlH4k1.es.js.map} +1 -1
  26. package/dist/chunks/{button-Bg73nQk3.es.js → button-B4HX0fM_.es.js} +2 -2
  27. package/dist/chunks/{button-Bg73nQk3.es.js.map → button-B4HX0fM_.es.js.map} +1 -1
  28. package/dist/chunks/{button-BiBXrCVh.cjs.js → button-qv44IWcR.cjs.js} +2 -2
  29. package/dist/chunks/{button-BiBXrCVh.cjs.js.map → button-qv44IWcR.cjs.js.map} +1 -1
  30. package/dist/chunks/{calendar-Co4TTkzj.es.js → calendar-DABzfMco.es.js} +4 -4
  31. package/dist/chunks/{calendar-Co4TTkzj.es.js.map → calendar-DABzfMco.es.js.map} +1 -1
  32. package/dist/chunks/{calendar-BydrcPp3.cjs.js → calendar-v3st4EyG.cjs.js} +2 -2
  33. package/dist/chunks/{calendar-BydrcPp3.cjs.js.map → calendar-v3st4EyG.cjs.js.map} +1 -1
  34. package/dist/chunks/{checkbox-8eIhS2f6.cjs.js → checkbox-BN-_eQB9.cjs.js} +2 -2
  35. package/dist/chunks/{checkbox-8eIhS2f6.cjs.js.map → checkbox-BN-_eQB9.cjs.js.map} +1 -1
  36. package/dist/chunks/{checkbox-B2yJgtOJ.es.js → checkbox-VN2y-Prn.es.js} +2 -2
  37. package/dist/chunks/{checkbox-B2yJgtOJ.es.js.map → checkbox-VN2y-Prn.es.js.map} +1 -1
  38. package/dist/chunks/combobox-Ah0GQqSW.cjs.js +2 -0
  39. package/dist/chunks/{combobox-BYyNTj5m.cjs.js.map → combobox-Ah0GQqSW.cjs.js.map} +1 -1
  40. package/dist/chunks/{combobox-qA8TjWPw.es.js → combobox-D_IGHRck.es.js} +18 -19
  41. package/dist/chunks/{combobox-qA8TjWPw.es.js.map → combobox-D_IGHRck.es.js.map} +1 -1
  42. package/dist/chunks/{data-table-D7Gq4ZYT.es.js → data-table-BVhKXSXO.es.js} +1606 -1476
  43. package/dist/chunks/{data-table-D7Gq4ZYT.es.js.map → data-table-BVhKXSXO.es.js.map} +1 -1
  44. package/dist/chunks/data-table-_iKOsqf2.cjs.js +2 -0
  45. package/dist/chunks/{data-table-D6qEg2qp.cjs.js.map → data-table-_iKOsqf2.cjs.js.map} +1 -1
  46. package/dist/chunks/{date-input-BSacD65z.es.js → date-input-BOKez7n5.es.js} +3 -3
  47. package/dist/chunks/{date-input-BSacD65z.es.js.map → date-input-BOKez7n5.es.js.map} +1 -1
  48. package/dist/chunks/{date-input-DwxNrZ3r.cjs.js → date-input-C6zs_WLw.cjs.js} +2 -2
  49. package/dist/chunks/{date-input-DwxNrZ3r.cjs.js.map → date-input-C6zs_WLw.cjs.js.map} +1 -1
  50. package/dist/chunks/{date-picker-COI-tlHx.es.js → date-picker-Bpi1PgR2.es.js} +9 -9
  51. package/dist/chunks/{date-picker-COI-tlHx.es.js.map → date-picker-Bpi1PgR2.es.js.map} +1 -1
  52. package/dist/chunks/{date-picker-RC0pSYZe.cjs.js → date-picker-DNROhe7B.cjs.js} +2 -2
  53. package/dist/chunks/{date-picker-RC0pSYZe.cjs.js.map → date-picker-DNROhe7B.cjs.js.map} +1 -1
  54. package/dist/chunks/{date-range-picker-BnI3m8z-.es.js → date-range-picker-CXKG84tw.es.js} +9 -9
  55. package/dist/chunks/{date-range-picker-BnI3m8z-.es.js.map → date-range-picker-CXKG84tw.es.js.map} +1 -1
  56. package/dist/chunks/{date-range-picker-BMAaQ7cS.cjs.js → date-range-picker-tyjYdQx1.cjs.js} +2 -2
  57. package/dist/chunks/{date-range-picker-BMAaQ7cS.cjs.js.map → date-range-picker-tyjYdQx1.cjs.js.map} +1 -1
  58. package/dist/chunks/{extractStyleProps-BEa9kwlY.es.js → extractStyleProps-DX5GBd9K.es.js} +2 -2
  59. package/dist/chunks/{extractStyleProps-BEa9kwlY.es.js.map → extractStyleProps-DX5GBd9K.es.js.map} +1 -1
  60. package/dist/chunks/{extractStyleProps-wjyId_vK.cjs.js → extractStyleProps-yFm0qaXg.cjs.js} +2 -2
  61. package/dist/chunks/{extractStyleProps-wjyId_vK.cjs.js.map → extractStyleProps-yFm0qaXg.cjs.js.map} +1 -1
  62. package/dist/chunks/{form-field-BgKHtyTH.es.js → form-field-DePRnFqm.es.js} +3 -3
  63. package/dist/chunks/{form-field-BgKHtyTH.es.js.map → form-field-DePRnFqm.es.js.map} +1 -1
  64. package/dist/chunks/{form-field-B6lCvcf4.cjs.js → form-field-JpzG70WX.cjs.js} +2 -2
  65. package/dist/chunks/{form-field-B6lCvcf4.cjs.js.map → form-field-JpzG70WX.cjs.js.map} +1 -1
  66. package/dist/chunks/{icon-button-BBkPfAM3.cjs.js → icon-button-CCrfnUUB.cjs.js} +2 -2
  67. package/dist/chunks/{icon-button-BBkPfAM3.cjs.js.map → icon-button-CCrfnUUB.cjs.js.map} +1 -1
  68. package/dist/chunks/{icon-button-D2qU4Eun.es.js → icon-button-O_dSWgZr.es.js} +2 -2
  69. package/dist/chunks/{icon-button-D2qU4Eun.es.js.map → icon-button-O_dSWgZr.es.js.map} +1 -1
  70. package/dist/chunks/{icon-toggle-button-L_kYjNhI.cjs.js → icon-toggle-button-D5Uji9qU.cjs.js} +2 -2
  71. package/dist/chunks/{icon-toggle-button-L_kYjNhI.cjs.js.map → icon-toggle-button-D5Uji9qU.cjs.js.map} +1 -1
  72. package/dist/chunks/{icon-toggle-button-wjYSiFhl.es.js → icon-toggle-button-sFqCJEvI.es.js} +2 -2
  73. package/dist/chunks/{icon-toggle-button-wjYSiFhl.es.js.map → icon-toggle-button-sFqCJEvI.es.js.map} +1 -1
  74. package/dist/chunks/index-COhQ_99G.cjs.js +4 -0
  75. package/dist/chunks/index-COhQ_99G.cjs.js.map +1 -0
  76. package/dist/chunks/{index-BDmBxsjm.es.js → index-DRWeBbu8.es.js} +31 -61
  77. package/dist/chunks/index-DRWeBbu8.es.js.map +1 -0
  78. package/dist/chunks/menu-BX993uzm.cjs.js +2 -0
  79. package/dist/chunks/menu-BX993uzm.cjs.js.map +1 -0
  80. package/dist/chunks/menu-DbKjf1RS.es.js +157 -0
  81. package/dist/chunks/menu-DbKjf1RS.es.js.map +1 -0
  82. package/dist/chunks/{multiline-text-input-MJPDSw2d.es.js → multiline-text-input-BvJxZ-xz.es.js} +2 -2
  83. package/dist/chunks/{multiline-text-input-MJPDSw2d.es.js.map → multiline-text-input-BvJxZ-xz.es.js.map} +1 -1
  84. package/dist/chunks/{multiline-text-input-BXpftZg5.cjs.js → multiline-text-input-mIiDJ-o1.cjs.js} +2 -2
  85. package/dist/chunks/{multiline-text-input-BXpftZg5.cjs.js.map → multiline-text-input-mIiDJ-o1.cjs.js.map} +1 -1
  86. package/dist/chunks/{nimbus-provider-DEQVQ5ZH.es.js → nimbus-provider-C68IpiXi.es.js} +2 -2
  87. package/dist/chunks/{nimbus-provider-DEQVQ5ZH.es.js.map → nimbus-provider-C68IpiXi.es.js.map} +1 -1
  88. package/dist/chunks/{nimbus-provider-DCCIMVE_.cjs.js → nimbus-provider-Yka95N38.cjs.js} +2 -2
  89. package/dist/chunks/{nimbus-provider-DCCIMVE_.cjs.js.map → nimbus-provider-Yka95N38.cjs.js.map} +1 -1
  90. package/dist/chunks/{number-input-DsQqe_99.cjs.js → number-input-BN6xiOXG.cjs.js} +2 -2
  91. package/dist/chunks/{number-input-DsQqe_99.cjs.js.map → number-input-BN6xiOXG.cjs.js.map} +1 -1
  92. package/dist/chunks/{number-input-CFa5dE3r.es.js → number-input-DFmXNyz2.es.js} +3 -3
  93. package/dist/chunks/{number-input-CFa5dE3r.es.js.map → number-input-DFmXNyz2.es.js.map} +1 -1
  94. package/dist/chunks/{password-input-XSc2MhLG.es.js → password-input-BtbZYHE8.es.js} +4 -4
  95. package/dist/chunks/{password-input-XSc2MhLG.es.js.map → password-input-BtbZYHE8.es.js.map} +1 -1
  96. package/dist/chunks/{password-input--fYkZAW3.cjs.js → password-input-CGsQktks.cjs.js} +2 -2
  97. package/dist/chunks/{password-input--fYkZAW3.cjs.js.map → password-input-CGsQktks.cjs.js.map} +1 -1
  98. package/dist/chunks/{progress-bar-DM8YmshZ.es.js → progress-bar-CDRI279T.es.js} +2 -2
  99. package/dist/chunks/{progress-bar-DM8YmshZ.es.js.map → progress-bar-CDRI279T.es.js.map} +1 -1
  100. package/dist/chunks/{progress-bar-QjY92GQn.cjs.js → progress-bar-nQCcdv_4.cjs.js} +2 -2
  101. package/dist/chunks/{progress-bar-QjY92GQn.cjs.js.map → progress-bar-nQCcdv_4.cjs.js.map} +1 -1
  102. package/dist/chunks/{radio-input-DRDeKoG2.es.js → radio-input-CE_kist9.es.js} +3 -3
  103. package/dist/chunks/{radio-input-DRDeKoG2.es.js.map → radio-input-CE_kist9.es.js.map} +1 -1
  104. package/dist/chunks/{radio-input-BOjuwflu.cjs.js → radio-input-CWRnpcxm.cjs.js} +2 -2
  105. package/dist/chunks/{radio-input-BOjuwflu.cjs.js.map → radio-input-CWRnpcxm.cjs.js.map} +1 -1
  106. package/dist/chunks/{range-calendar-Cup7ahCy.es.js → range-calendar-BNAIdxfK.es.js} +4 -4
  107. package/dist/chunks/{range-calendar-Cup7ahCy.es.js.map → range-calendar-BNAIdxfK.es.js.map} +1 -1
  108. package/dist/chunks/{range-calendar-C_x3yqnL.cjs.js → range-calendar-BW4gqU35.cjs.js} +2 -2
  109. package/dist/chunks/{range-calendar-C_x3yqnL.cjs.js.map → range-calendar-BW4gqU35.cjs.js.map} +1 -1
  110. package/dist/chunks/rich-text-input-D3xrDvLR.es.js +691 -0
  111. package/dist/chunks/rich-text-input-D3xrDvLR.es.js.map +1 -0
  112. package/dist/chunks/rich-text-input-iDEygf74.cjs.js +2 -0
  113. package/dist/chunks/rich-text-input-iDEygf74.cjs.js.map +1 -0
  114. package/dist/chunks/select-DihySN1w.cjs.js +2 -0
  115. package/dist/chunks/{select-CxIiux8H.cjs.js.map → select-DihySN1w.cjs.js.map} +1 -1
  116. package/dist/chunks/{select-CMZAeYTf.es.js → select-wby2GRxc.es.js} +27 -28
  117. package/dist/chunks/{select-CMZAeYTf.es.js.map → select-wby2GRxc.es.js.map} +1 -1
  118. package/dist/chunks/slate-helpers-BwRHJO4o.es.js +6919 -0
  119. package/dist/chunks/slate-helpers-BwRHJO4o.es.js.map +1 -0
  120. package/dist/chunks/slate-helpers-CMAwCMk0.cjs.js +24 -0
  121. package/dist/chunks/slate-helpers-CMAwCMk0.cjs.js.map +1 -0
  122. package/dist/chunks/split-button-CcVa5yVH.es.js +103 -0
  123. package/dist/chunks/split-button-CcVa5yVH.es.js.map +1 -0
  124. package/dist/chunks/split-button-RydlGh27.cjs.js +2 -0
  125. package/dist/chunks/split-button-RydlGh27.cjs.js.map +1 -0
  126. package/dist/chunks/{switch-DUiPm-aC.cjs.js → switch-D3w3xQ7Z.cjs.js} +2 -2
  127. package/dist/chunks/{switch-DUiPm-aC.cjs.js.map → switch-D3w3xQ7Z.cjs.js.map} +1 -1
  128. package/dist/chunks/{switch-BOvBbCnU.es.js → switch-DZBU6Cbk.es.js} +3 -3
  129. package/dist/chunks/{switch-BOvBbCnU.es.js.map → switch-DZBU6Cbk.es.js.map} +1 -1
  130. package/dist/chunks/{tag-group-wXtwUUis.cjs.js → tag-group-Cwcr_VDp.cjs.js} +2 -2
  131. package/dist/chunks/{tag-group-wXtwUUis.cjs.js.map → tag-group-Cwcr_VDp.cjs.js.map} +1 -1
  132. package/dist/chunks/{tag-group-C_oBSbrz.es.js → tag-group-DQ0jVbpR.es.js} +2 -2
  133. package/dist/chunks/{tag-group-C_oBSbrz.es.js.map → tag-group-DQ0jVbpR.es.js.map} +1 -1
  134. package/dist/chunks/{text-input-B7XCw3SS.es.js → text-input-DlNFZk9-.es.js} +3 -3
  135. package/dist/chunks/{text-input-B7XCw3SS.es.js.map → text-input-DlNFZk9-.es.js.map} +1 -1
  136. package/dist/chunks/{text-input-CCX8LUl1.cjs.js → text-input-i2bZeQZZ.cjs.js} +2 -2
  137. package/dist/chunks/{text-input-CCX8LUl1.cjs.js.map → text-input-i2bZeQZZ.cjs.js.map} +1 -1
  138. package/dist/chunks/{time-input-DiFCm9qO.es.js → time-input-BORpKwS7.es.js} +2 -2
  139. package/dist/chunks/{time-input-DiFCm9qO.es.js.map → time-input-BORpKwS7.es.js.map} +1 -1
  140. package/dist/chunks/{time-input-DQaDOtuT.cjs.js → time-input-Cc8RFGmz.cjs.js} +2 -2
  141. package/dist/chunks/{time-input-DQaDOtuT.cjs.js.map → time-input-Cc8RFGmz.cjs.js.map} +1 -1
  142. package/dist/chunks/{toggle-button-BpG_UgsK.es.js → toggle-button-C7BBLnfL.es.js} +9 -9
  143. package/dist/chunks/{toggle-button-BpG_UgsK.es.js.map → toggle-button-C7BBLnfL.es.js.map} +1 -1
  144. package/dist/chunks/{toggle-button-C9XUBlNB.cjs.js → toggle-button-DZpRqlmW.cjs.js} +2 -2
  145. package/dist/chunks/{toggle-button-C9XUBlNB.cjs.js.map → toggle-button-DZpRqlmW.cjs.js.map} +1 -1
  146. package/dist/chunks/{toolbar-D2CqoZzL.es.js → toolbar-CD5Nrn7W.es.js} +3 -3
  147. package/dist/chunks/{toolbar-D2CqoZzL.es.js.map → toolbar-CD5Nrn7W.es.js.map} +1 -1
  148. package/dist/chunks/{toolbar-BxIQI626.cjs.js → toolbar-Dbq_EngE.cjs.js} +2 -2
  149. package/dist/chunks/{toolbar-BxIQI626.cjs.js.map → toolbar-Dbq_EngE.cjs.js.map} +1 -1
  150. package/dist/chunks/{tooltip-BLyAAnK-.es.js → tooltip-BOK0Uejw.es.js} +2 -2
  151. package/dist/chunks/{tooltip-BLyAAnK-.es.js.map → tooltip-BOK0Uejw.es.js.map} +1 -1
  152. package/dist/chunks/{tooltip-tZKuAv4E.cjs.js → tooltip-DjUjwciC.cjs.js} +2 -2
  153. package/dist/chunks/{tooltip-tZKuAv4E.cjs.js.map → tooltip-DjUjwciC.cjs.js.map} +1 -1
  154. package/dist/chunks/use-formatting-state-Denpy3Zo.cjs.js +2 -0
  155. package/dist/chunks/use-formatting-state-Denpy3Zo.cjs.js.map +1 -0
  156. package/dist/chunks/use-formatting-state-RJvSR-Zg.es.js +247 -0
  157. package/dist/chunks/use-formatting-state-RJvSR-Zg.es.js.map +1 -0
  158. package/dist/code.d.ts +9 -0
  159. package/dist/combobox.d.ts +9 -0
  160. package/dist/components/alert.cjs +1 -1
  161. package/dist/components/alert.es.js +1 -1
  162. package/dist/components/button.cjs +1 -1
  163. package/dist/components/button.es.js +1 -1
  164. package/dist/components/calendar.cjs +1 -1
  165. package/dist/components/calendar.es.js +1 -1
  166. package/dist/components/checkbox.cjs +1 -1
  167. package/dist/components/checkbox.es.js +1 -1
  168. package/dist/components/combobox.cjs +1 -1
  169. package/dist/components/combobox.es.js +1 -1
  170. package/dist/components/components.cjs +1 -1
  171. package/dist/components/components.es.js +90 -87
  172. package/dist/components/components.es.js.map +1 -1
  173. package/dist/components/constants.cjs +2 -0
  174. package/dist/components/constants.cjs.map +1 -0
  175. package/dist/components/constants.es.js +125 -0
  176. package/dist/components/constants.es.js.map +1 -0
  177. package/dist/components/data-table.cjs +1 -1
  178. package/dist/components/data-table.es.js +1 -1
  179. package/dist/components/date-input.cjs +1 -1
  180. package/dist/components/date-input.es.js +1 -1
  181. package/dist/components/date-picker.cjs +1 -1
  182. package/dist/components/date-picker.es.js +1 -1
  183. package/dist/components/date-range-picker.cjs +1 -1
  184. package/dist/components/date-range-picker.es.js +1 -1
  185. package/dist/components/form-field.cjs +1 -1
  186. package/dist/components/form-field.es.js +1 -1
  187. package/dist/components/hooks.cjs +2 -0
  188. package/dist/components/hooks.cjs.map +1 -0
  189. package/dist/components/hooks.es.js +8 -0
  190. package/dist/components/hooks.es.js.map +1 -0
  191. package/dist/components/icon-button.cjs +1 -1
  192. package/dist/components/icon-button.es.js +1 -1
  193. package/dist/components/icon-toggle-button.cjs +1 -1
  194. package/dist/components/icon-toggle-button.es.js +1 -1
  195. package/dist/components/multiline-text-input.cjs +1 -1
  196. package/dist/components/multiline-text-input.es.js +1 -1
  197. package/dist/components/nimbus-provider.cjs +1 -1
  198. package/dist/components/nimbus-provider.es.js +1 -1
  199. package/dist/components/number-input.cjs +1 -1
  200. package/dist/components/number-input.es.js +1 -1
  201. package/dist/components/password-input.cjs +1 -1
  202. package/dist/components/password-input.es.js +1 -1
  203. package/dist/components/popover.cjs +1 -1
  204. package/dist/components/popover.es.js +1 -1
  205. package/dist/components/progress-bar.cjs +1 -1
  206. package/dist/components/progress-bar.es.js +1 -1
  207. package/dist/components/radio-input.cjs +1 -1
  208. package/dist/components/radio-input.es.js +1 -1
  209. package/dist/components/range-calendar.cjs +1 -1
  210. package/dist/components/range-calendar.es.js +1 -1
  211. package/dist/components/rich-text-input.cjs +2 -0
  212. package/dist/components/rich-text-input.cjs.map +1 -0
  213. package/dist/components/rich-text-input.es.js +5 -0
  214. package/dist/components/rich-text-input.es.js.map +1 -0
  215. package/dist/components/select.cjs +1 -1
  216. package/dist/components/select.es.js +1 -1
  217. package/dist/components/split-button.cjs +1 -1
  218. package/dist/components/split-button.es.js +1 -1
  219. package/dist/components/switch.cjs +1 -1
  220. package/dist/components/switch.es.js +1 -1
  221. package/dist/components/tag-group.cjs +1 -1
  222. package/dist/components/tag-group.es.js +1 -1
  223. package/dist/components/text-input.cjs +1 -1
  224. package/dist/components/text-input.es.js +1 -1
  225. package/dist/components/time-input.cjs +1 -1
  226. package/dist/components/time-input.es.js +1 -1
  227. package/dist/components/toggle-button.cjs +1 -1
  228. package/dist/components/toggle-button.es.js +1 -1
  229. package/dist/components/toolbar.cjs +1 -1
  230. package/dist/components/toolbar.es.js +1 -1
  231. package/dist/components/tooltip.cjs +1 -1
  232. package/dist/components/tooltip.es.js +1 -1
  233. package/dist/components/utils.cjs +2 -0
  234. package/dist/components/utils.cjs.map +1 -0
  235. package/dist/components/utils.es.js +76 -0
  236. package/dist/components/utils.es.js.map +1 -0
  237. package/dist/components.d.ts +81 -1
  238. package/dist/constants.d.ts +129 -0
  239. package/dist/data-table.d.ts +15 -0
  240. package/dist/date-input.d.ts +9 -0
  241. package/dist/date-picker.d.ts +9 -0
  242. package/dist/date-range-picker.d.ts +9 -0
  243. package/dist/dialog.d.ts +9 -0
  244. package/dist/divider.d.ts +9 -0
  245. package/dist/flex.d.ts +9 -0
  246. package/dist/form-field.d.ts +9 -0
  247. package/dist/grid.d.ts +9 -0
  248. package/dist/group.d.ts +9 -0
  249. package/dist/heading.d.ts +9 -0
  250. package/dist/hooks.d.ts +60 -0
  251. package/dist/icon-button.d.ts +9 -0
  252. package/dist/icon-toggle-button.d.ts +9 -0
  253. package/dist/icon.d.ts +9 -0
  254. package/dist/image.d.ts +9 -0
  255. package/dist/index.cjs +1 -1
  256. package/dist/index.cjs.map +1 -1
  257. package/dist/index.d.ts +120 -58
  258. package/dist/index.es.js +193 -192
  259. package/dist/kbd.d.ts +9 -0
  260. package/dist/link.d.ts +9 -0
  261. package/dist/list.d.ts +9 -0
  262. package/dist/loading-spinner.d.ts +9 -0
  263. package/dist/multiline-text-input.d.ts +9 -0
  264. package/dist/nimbus-provider.d.ts +9 -0
  265. package/dist/number-input.d.ts +9 -0
  266. package/dist/password-input.d.ts +9 -0
  267. package/dist/popover.d.ts +9 -0
  268. package/dist/progress-bar.d.ts +9 -0
  269. package/dist/radio-input.d.ts +9 -0
  270. package/dist/range-calendar.d.ts +9 -0
  271. package/dist/rich-text-input.d.ts +79 -0
  272. package/dist/select.d.ts +9 -0
  273. package/dist/setup-jsdom-polyfills.d.ts +9 -0
  274. package/dist/simple-grid.d.ts +9 -0
  275. package/dist/split-button.d.ts +9 -0
  276. package/dist/stack.d.ts +9 -0
  277. package/dist/switch.d.ts +9 -0
  278. package/dist/table.d.ts +9 -0
  279. package/dist/tag-group.d.ts +9 -0
  280. package/dist/text-input.d.ts +9 -0
  281. package/dist/text.d.ts +9 -0
  282. package/dist/time-input.d.ts +9 -0
  283. package/dist/toggle-button-group.d.ts +9 -0
  284. package/dist/toggle-button.d.ts +9 -0
  285. package/dist/toolbar.d.ts +13 -1
  286. package/dist/tooltip.d.ts +9 -0
  287. package/dist/utils.d.ts +164 -0
  288. package/dist/visually-hidden.d.ts +9 -0
  289. package/package.json +16 -8
  290. package/dist/chunks/DatePicker-BQ6EfAU2.cjs.js +0 -2
  291. package/dist/chunks/Dialog-B4OIDU7t.cjs.js +0 -2
  292. package/dist/chunks/OverlayArrow-BD-oGsXg.es.js +0 -452
  293. package/dist/chunks/OverlayArrow-BD-oGsXg.es.js.map +0 -1
  294. package/dist/chunks/OverlayArrow-aq8OInch.cjs.js +0 -2
  295. package/dist/chunks/OverlayArrow-aq8OInch.cjs.js.map +0 -1
  296. package/dist/chunks/combobox-BYyNTj5m.cjs.js +0 -2
  297. package/dist/chunks/data-table-D6qEg2qp.cjs.js +0 -2
  298. package/dist/chunks/index-BDmBxsjm.es.js.map +0 -1
  299. package/dist/chunks/index-XyB4gGC8.cjs.js +0 -4
  300. package/dist/chunks/index-XyB4gGC8.cjs.js.map +0 -1
  301. package/dist/chunks/select-CxIiux8H.cjs.js +0 -2
  302. package/dist/chunks/split-button-BZHi7r1E.es.js +0 -262
  303. package/dist/chunks/split-button-BZHi7r1E.es.js.map +0 -1
  304. package/dist/chunks/split-button-hRYYvfbx.cjs.js +0 -2
  305. package/dist/chunks/split-button-hRYYvfbx.cjs.js.map +0 -1
  306. package/dist/chunks/useResizeObserver-Dx-vDLiW.cjs.js +0 -2
  307. package/dist/chunks/useResizeObserver-Dx-vDLiW.cjs.js.map +0 -1
  308. package/dist/chunks/useResizeObserver-FIPBIG5S.es.js +0 -32
  309. package/dist/chunks/useResizeObserver-FIPBIG5S.es.js.map +0 -1
@@ -162,3 +162,12 @@ export declare type DisclosureItemProps = AccordionItemProps & {
162
162
  };
163
163
 
164
164
  export { }
165
+
166
+
167
+ declare module "slate" {
168
+ interface CustomTypes {
169
+ Editor: BaseEditor & ReactEditor & HistoryEditor;
170
+ Element: CustomElement;
171
+ Text: CustomText;
172
+ }
173
+ }
package/dist/alert.d.ts CHANGED
@@ -173,3 +173,12 @@ declare interface TextProps extends Omit<TextProps_2, "slot"> {
173
173
  }
174
174
 
175
175
  export { }
176
+
177
+
178
+ declare module "slate" {
179
+ interface CustomTypes {
180
+ Editor: BaseEditor & ReactEditor & HistoryEditor;
181
+ Element: CustomElement;
182
+ Text: CustomText;
183
+ }
184
+ }
package/dist/avatar.d.ts CHANGED
@@ -68,3 +68,12 @@ declare interface AvatarRootProps extends HTMLChakraProps<"div", AvatarRecipePro
68
68
  declare type FunctionalAvatarProps = AvatarRootProps & AvatarComponentProps;
69
69
 
70
70
  export { }
71
+
72
+
73
+ declare module "slate" {
74
+ interface CustomTypes {
75
+ Editor: BaseEditor & ReactEditor & HistoryEditor;
76
+ Element: CustomElement;
77
+ Text: CustomText;
78
+ }
79
+ }
package/dist/badge.d.ts CHANGED
@@ -94,3 +94,12 @@ declare type BadgeVariantProps = BadgeRootProps & RecipeVariantProps<typeof badg
94
94
  };
95
95
 
96
96
  export { }
97
+
98
+
99
+ declare module "slate" {
100
+ interface CustomTypes {
101
+ Editor: BaseEditor & ReactEditor & HistoryEditor;
102
+ Element: CustomElement;
103
+ Text: CustomText;
104
+ }
105
+ }
package/dist/box.d.ts CHANGED
@@ -19,3 +19,12 @@ export declare interface BoxProps extends HTMLChakraProps<"div"> {
19
19
  }
20
20
 
21
21
  export { }
22
+
23
+
24
+ declare module "slate" {
25
+ interface CustomTypes {
26
+ Editor: BaseEditor & ReactEditor & HistoryEditor;
27
+ Element: CustomElement;
28
+ Text: CustomText;
29
+ }
30
+ }
package/dist/button.d.ts CHANGED
@@ -43,3 +43,12 @@ declare type FunctionalButtonProps = AriaButtonProps & Omit<ButtonRootProps, key
43
43
  };
44
44
 
45
45
  export { }
46
+
47
+
48
+ declare module "slate" {
49
+ interface CustomTypes {
50
+ Editor: BaseEditor & ReactEditor & HistoryEditor;
51
+ Element: CustomElement;
52
+ Text: CustomText;
53
+ }
54
+ }
@@ -31,3 +31,12 @@ declare const calendarSlotRecipe: SlotRecipeDefinition<"grid" | "header" | "root
31
31
  declare type ExcludedProps = "as" | "asChild" | "style" | "createCalendar";
32
32
 
33
33
  export { }
34
+
35
+
36
+ declare module "slate" {
37
+ interface CustomTypes {
38
+ Editor: BaseEditor & ReactEditor & HistoryEditor;
39
+ Element: CustomElement;
40
+ Text: CustomText;
41
+ }
42
+ }
package/dist/card.d.ts CHANGED
@@ -139,3 +139,12 @@ declare type CardVariantProps = CardRootProps & RecipeVariantProps<typeof cardRe
139
139
  };
140
140
 
141
141
  export { }
142
+
143
+
144
+ declare module "slate" {
145
+ interface CustomTypes {
146
+ Editor: BaseEditor & ReactEditor & HistoryEditor;
147
+ Element: CustomElement;
148
+ Text: CustomText;
149
+ }
150
+ }
@@ -67,3 +67,12 @@ zIndex: number;
67
67
  declare type CheckboxVariantProps = CheckboxRootProps & RecipeVariantProps<typeof checkboxSlotRecipe> & CheckboxProps_2;
68
68
 
69
69
  export { }
70
+
71
+
72
+ declare module "slate" {
73
+ interface CustomTypes {
74
+ Editor: BaseEditor & ReactEditor & HistoryEditor;
75
+ Element: CustomElement;
76
+ Text: CustomText;
77
+ }
78
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";const le=require("./Button-DQ_WkLNH.cjs.js"),se=require("./Heading-CQJ-3eon.cjs.js"),E=require("./utils-BHdR5Nww.cjs.js"),f=require("./DateField-D-KvZd-Q.cjs.js"),H=require("./Dialog-Cbq66gyc.cjs.js"),ce=require("./FieldError-DyGFfqST.cjs.js"),fe=require("./Form-BuOomA4T.cjs.js"),te=require("./Group-KVM7Xnxu.cjs.js"),ie=require("./Label-BgrYyYXn.cjs.js"),de=require("./Text-BWSfeB9p.cjs.js"),L=require("./mergeProps-BA5Cwf5w.cjs.js"),X=require("./filterDOMProps-WUskt27c.cjs.js"),J=require("./OverlayArrow-C5Ymp9MC.cjs.js"),o=require("react"),W=require("./useDateFormatter-G9oGkNG5.cjs.js"),k=require("./useFormValidation-DJy_cdgv.cjs.js"),$e=require("./useControlledState-D0L6S_5r.cjs.js"),be=require("./FocusScope-B78iFLeF.cjs.js"),ve=require("./scrollIntoView-BzIqpHLO.cjs.js"),me=require("./useFocusWithin-i-cVKYQ8.cjs.js"),xe=require("./useField-DmqO9k7a.cjs.js"),ge=require("./context-D0_cRaDZ.cjs.js"),he=require("./useLocalizedStringFormatter-fJnbqb2x.cjs.js"),Ve=require("./useFocusRing-DRIoF592.cjs.js");function Re(e){return e&&e.__esModule?e.default:e}function Ce(e,a,r){let D=L.$bdb11010cef70236$export$f680877a34711e37(),m=L.$bdb11010cef70236$export$f680877a34711e37(),x=L.$bdb11010cef70236$export$f680877a34711e37(),v=he.$fca6afa0e843324b$export$f12b703ca79dfbb1(Re(f.$dfb4eba373ed9493$exports),"@react-aria/datepicker"),{isInvalid:t,validationErrors:u,validationDetails:l}=a.displayValidation,{labelProps:R,fieldProps:C,descriptionProps:g,errorMessageProps:I}=xe.$2baaea4c71418dea$export$294aa081a6c6f55d({...e,labelElementType:"span",isInvalid:t,errorMessage:e.errorMessage||u}),O=f.$3dfb0f96be0d6a08$export$4a931266a3838b86(a,r),M=C["aria-labelledby"]||C.id,{locale:T}=ge.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7(),c=a.formatValue(T,{month:"long"}),B=c?v.format("selectedDateDescription",{date:c}):"",i=ve.$ef06256079686ba0$export$f8aeda7b10753fa1(B),Z=[i["aria-describedby"],C["aria-describedby"]].filter(Boolean).join(" ")||void 0,q=X.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e),S=o.useMemo(()=>be.$9bf71ea28793e738$export$c5251b9e124bf29(r),[r]),y=o.useRef(!1),{focusWithinProps:w}=me.$9ab94262bd0047c7$export$420e68273165f4ec({...e,isDisabled:a.isOpen,onBlurWithin:$=>{let h=document.getElementById(m);if(!h?.contains($.relatedTarget)){var P,p;y.current=!1,(P=e.onBlur)===null||P===void 0||P.call(e,$),(p=e.onFocusChange)===null||p===void 0||p.call(e,!1)}},onFocusWithin:$=>{if(!y.current){var h,P;y.current=!0,(h=e.onFocus)===null||h===void 0||h.call(e,$),(P=e.onFocusChange)===null||P===void 0||P.call(e,!0)}}});return{groupProps:L.$3ef42575df84b30b$export$9d1611c77c2fe928(q,O,C,i,w,{role:"group","aria-disabled":e.isDisabled||null,"aria-labelledby":M,"aria-describedby":Z,onKeyDown($){a.isOpen||e.onKeyDown&&e.onKeyDown($)},onKeyUp($){a.isOpen||e.onKeyUp&&e.onKeyUp($)}}),labelProps:{...R,onClick:()=>{S.focusFirst()}},fieldProps:{...C,id:x,[f.$16f0b7bb276bc17e$export$300019f83c56d282]:"presentation","aria-describedby":Z,value:a.value,defaultValue:a.defaultValue,onChange:a.setValue,placeholderValue:e.placeholderValue,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,granularity:e.granularity,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isRequired:e.isRequired,validationBehavior:e.validationBehavior,[k.$e5be200c675c3b3a$export$a763b9476acd3eb]:a,autoFocus:e.autoFocus,name:e.name,form:e.form},descriptionProps:g,errorMessageProps:I,buttonProps:{...i,id:D,"aria-haspopup":"dialog","aria-label":v.format("calendar"),"aria-labelledby":`${D} ${M}`,"aria-describedby":Z,"aria-expanded":a.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>a.setOpen(!0)},dialogProps:{id:m,"aria-labelledby":`${D} ${M}`},calendarProps:{autoFocus:!0,value:a.dateValue,onChange:a.setDateValue,minValue:e.minValue,maxValue:e.maxValue,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isDateUnavailable:e.isDateUnavailable,defaultFocusedValue:a.dateValue?void 0:e.placeholderValue,isInvalid:a.isInvalid,errorMessage:typeof e.errorMessage=="function"?e.errorMessage(a.displayValidation):e.errorMessage||a.displayValidation.validationErrors.join(" ")},isInvalid:t,validationErrors:u,validationDetails:l}}function Oe(e){return e&&e.__esModule?e.default:e}function Te(e,a,r){var D,m,x,v,t;let u=he.$fca6afa0e843324b$export$f12b703ca79dfbb1(Oe(f.$dfb4eba373ed9493$exports),"@react-aria/datepicker"),{isInvalid:l,validationErrors:R,validationDetails:C}=a.displayValidation,{labelProps:g,fieldProps:I,descriptionProps:O,errorMessageProps:M}=xe.$2baaea4c71418dea$export$294aa081a6c6f55d({...e,labelElementType:"span",isInvalid:l,errorMessage:e.errorMessage||R}),T=I["aria-labelledby"]||I.id,{locale:c}=ge.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7(),B=a.formatValue(c,{month:"long"}),i=B?u.format("selectedRangeDescription",{startDate:B.start,endDate:B.end}):"",Z=ve.$ef06256079686ba0$export$f8aeda7b10753fa1(i),q={"aria-label":u.format("startDate"),"aria-labelledby":T},S={"aria-label":u.format("endDate"),"aria-labelledby":T},y=L.$bdb11010cef70236$export$f680877a34711e37(),w=L.$bdb11010cef70236$export$f680877a34711e37(),$=f.$3dfb0f96be0d6a08$export$4a931266a3838b86(a,r),h=[Z["aria-describedby"],I["aria-describedby"]].filter(Boolean).join(" ")||void 0,P=o.useMemo(()=>be.$9bf71ea28793e738$export$c5251b9e124bf29(r,{accept:d=>d.id!==y}),[r,y]),p={[f.$16f0b7bb276bc17e$export$7b3062cd49e80452]:P,[f.$16f0b7bb276bc17e$export$300019f83c56d282]:"presentation","aria-describedby":h,placeholderValue:e.placeholderValue,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,granularity:e.granularity,shouldForceLeadingZeros:e.shouldForceLeadingZeros,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isRequired:e.isRequired,validationBehavior:e.validationBehavior},V=X.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e),F=o.useRef(!1),{focusWithinProps:K}=me.$9ab94262bd0047c7$export$420e68273165f4ec({...e,isDisabled:a.isOpen,onBlurWithin:d=>{let b=document.getElementById(w);if(!b?.contains(d.relatedTarget)){var _,A;F.current=!1,(_=e.onBlur)===null||_===void 0||_.call(e,d),(A=e.onFocusChange)===null||A===void 0||A.call(e,!1)}},onFocusWithin:d=>{if(!F.current){var b,_;F.current=!0,(b=e.onFocus)===null||b===void 0||b.call(e,d),(_=e.onFocusChange)===null||_===void 0||_.call(e,!0)}}}),N=o.useRef(k.$e5be200c675c3b3a$export$dad6ae84456c676a),j=o.useRef(k.$e5be200c675c3b3a$export$dad6ae84456c676a);var n,s;return{groupProps:L.$3ef42575df84b30b$export$9d1611c77c2fe928(V,$,I,Z,K,{role:"group","aria-disabled":e.isDisabled||null,"aria-describedby":h,onKeyDown(d){a.isOpen||e.onKeyDown&&e.onKeyDown(d)},onKeyUp(d){a.isOpen||e.onKeyUp&&e.onKeyUp(d)}}),labelProps:{...g,onClick:()=>{P.focusFirst()}},buttonProps:{...Z,id:y,"aria-haspopup":"dialog","aria-label":u.format("calendar"),"aria-labelledby":`${y} ${T}`,"aria-describedby":h,"aria-expanded":a.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>a.setOpen(!0)},dialogProps:{id:w,"aria-labelledby":`${y} ${T}`},startFieldProps:{...q,...p,value:(n=(D=a.value)===null||D===void 0?void 0:D.start)!==null&&n!==void 0?n:null,defaultValue:(m=a.defaultValue)===null||m===void 0?void 0:m.start,onChange:d=>a.setDateTime("start",d),autoFocus:e.autoFocus,name:e.startName,form:e.form,[k.$e5be200c675c3b3a$export$a763b9476acd3eb]:{realtimeValidation:a.realtimeValidation,displayValidation:a.displayValidation,updateValidation(d){N.current=d,a.updateValidation(k.$e5be200c675c3b3a$export$75ee7c75d68f5b0e(d,j.current))},resetValidation:a.resetValidation,commitValidation:a.commitValidation}},endFieldProps:{...S,...p,value:(s=(x=a.value)===null||x===void 0?void 0:x.end)!==null&&s!==void 0?s:null,defaultValue:(v=a.defaultValue)===null||v===void 0?void 0:v.end,onChange:d=>a.setDateTime("end",d),name:e.endName,form:e.form,[k.$e5be200c675c3b3a$export$a763b9476acd3eb]:{realtimeValidation:a.realtimeValidation,displayValidation:a.displayValidation,updateValidation(d){j.current=d,a.updateValidation(k.$e5be200c675c3b3a$export$75ee7c75d68f5b0e(N.current,d))},resetValidation:a.resetValidation,commitValidation:a.commitValidation}},descriptionProps:O,errorMessageProps:M,calendarProps:{autoFocus:!0,value:!((t=a.dateRange)===null||t===void 0)&&t.start&&a.dateRange.end?a.dateRange:null,onChange:a.setDateRange,minValue:e.minValue,maxValue:e.maxValue,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isDateUnavailable:e.isDateUnavailable,allowsNonContiguousRanges:e.allowsNonContiguousRanges,defaultFocusedValue:a.dateRange?void 0:e.placeholderValue,isInvalid:a.isInvalid,errorMessage:typeof e.errorMessage=="function"?e.errorMessage(a.displayValidation):e.errorMessage||a.displayValidation.validationErrors.join(" ")},isInvalid:l,validationErrors:R,validationDetails:C}}function Ze(e){let a=J.$fc909762b330b746$export$61c6a8c84e605fb6(e),[r,D]=$e.$458b0a5536c1a7cf$export$40bfa8c7b0832715(e.value,e.defaultValue||null,e.onChange),[m]=o.useState(r),x=r||e.placeholderValue||null,[v,t]=f.$35a22f14a1f04b11$export$2440da353cedad43(x,e.granularity),u=r!=null?r.toDate(t??"UTC"):null,l=v==="hour"||v==="minute"||v==="second";var R;let C=(R=e.shouldCloseOnSelect)!==null&&R!==void 0?R:!0,[g,I]=o.useState(null),[O,M]=o.useState(null);if(r&&(g=r,"hour"in r&&(O=r)),x&&!(v in x))throw new Error("Invalid granularity "+v+" for value "+x.toString());let T=r?.calendar.identifier==="gregory"&&r.era==="BC",c=o.useMemo(()=>({granularity:v,timeZone:t,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:T}),[v,e.hourCycle,e.shouldForceLeadingZeros,t,e.hideTimeZone,T]),{minValue:B,maxValue:i,isDateUnavailable:Z}=e,q=o.useMemo(()=>f.$35a22f14a1f04b11$export$f18627323ab57ac0(r,B,i,Z,c),[r,B,i,Z,c]),S=k.$e5be200c675c3b3a$export$fc1a364ae1f3ff10({...e,value:r,builtinValidation:q}),y=S.displayValidation.isInvalid,w=e.validationState||(y?"invalid":null),$=(V,F)=>{D("timeZone"in F?F.set(W.$11d87f3f76e88657$export$93522d1a439f3617(V)):W.$11d87f3f76e88657$export$b21e0b124e224484(V,F)),I(null),M(null),S.commitValidation()},h=V=>{let F=typeof C=="function"?C():C;l?O||F?$(V,O||f.$35a22f14a1f04b11$export$c5221a78ef73c5e9(e.defaultValue||e.placeholderValue)):I(V):(D(V),S.commitValidation()),F&&a.setOpen(!1)},P=V=>{g&&V?$(g,V):M(V)};var p;return{...S,value:r,defaultValue:(p=e.defaultValue)!==null&&p!==void 0?p:m,setValue:D,dateValue:g,timeValue:O,setDateValue:h,setTimeValue:P,granularity:v,hasTime:l,...a,setOpen(V){!V&&!r&&g&&l&&$(g,O||f.$35a22f14a1f04b11$export$c5221a78ef73c5e9(e.defaultValue||e.placeholderValue)),a.setOpen(V)},validationState:w,isInvalid:y,formatValue(V,F){if(!u)return"";let K=f.$35a22f14a1f04b11$export$7e319ea407e63bc0(F,c);return new W.$fb18d541ea1ad717$export$ad991b66133851cf(V,K).format(u)},getDateFormatter(V,F){let K={...c,...F},N=f.$35a22f14a1f04b11$export$7e319ea407e63bc0({},K);return new W.$fb18d541ea1ad717$export$ad991b66133851cf(V,N)}}}function Ie(e){var a,r;let D=J.$fc909762b330b746$export$61c6a8c84e605fb6(e),[m,x]=$e.$458b0a5536c1a7cf$export$40bfa8c7b0832715(e.value,e.defaultValue||null,e.onChange),[v]=o.useState(m),[t,u]=o.useState(()=>m||{start:null,end:null});m==null&&t.start&&t.end&&(t={start:null,end:null},u(t));let l=m||t,R=n=>{l=n||{start:null,end:null},u(l),G(l)?x(l):x(null)},C=l?.start||l?.end||e.placeholderValue||null,[g,I]=f.$35a22f14a1f04b11$export$2440da353cedad43(C,e.granularity),O=g==="hour"||g==="minute"||g==="second";var M;let T=(M=e.shouldCloseOnSelect)!==null&&M!==void 0?M:!0,[c,B]=o.useState(null),[i,Z]=o.useState(null);l&&G(l)&&(c=l,"hour"in l.start&&(i=l));let q=(n,s)=>{R({start:"timeZone"in s.start?s.start.set(W.$11d87f3f76e88657$export$93522d1a439f3617(n.start)):W.$11d87f3f76e88657$export$b21e0b124e224484(n.start,s.start),end:"timeZone"in s.end?s.end.set(W.$11d87f3f76e88657$export$93522d1a439f3617(n.end)):W.$11d87f3f76e88657$export$b21e0b124e224484(n.end,s.end)}),B(null),Z(null),F.commitValidation()},S=n=>{let s=typeof T=="function"?T():T;O?G(n)&&(s||i?.start&&i?.end)?q(n,{start:i?.start||f.$35a22f14a1f04b11$export$c5221a78ef73c5e9(e.placeholderValue),end:i?.end||f.$35a22f14a1f04b11$export$c5221a78ef73c5e9(e.placeholderValue)}):B(n):G(n)?(R(n),F.commitValidation()):B(n),s&&D.setOpen(!1)},y=n=>{G(c)&&G(n)?q(c,n):Z(n)},w=(l==null||(a=l.start)===null||a===void 0?void 0:a.calendar.identifier)==="gregory"&&l.start.era==="BC"||(l==null||(r=l.end)===null||r===void 0?void 0:r.calendar.identifier)==="gregory"&&l.end.era==="BC",$=o.useMemo(()=>({granularity:g,timeZone:I,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:w}),[g,e.hourCycle,e.shouldForceLeadingZeros,I,e.hideTimeZone,w]),{minValue:h,maxValue:P,isDateUnavailable:p}=e,V=o.useMemo(()=>f.$35a22f14a1f04b11$export$80ff8fc0ae339c13(l,h,P,p,$),[l,h,P,p,$]),F=k.$e5be200c675c3b3a$export$fc1a364ae1f3ff10({...e,value:m,name:o.useMemo(()=>[e.startName,e.endName].filter(n=>n!=null),[e.startName,e.endName]),builtinValidation:V}),K=F.displayValidation.isInvalid,N=e.validationState||(K?"invalid":null);var j;return{...F,value:l,defaultValue:(j=e.defaultValue)!==null&&j!==void 0?j:v,setValue:R,dateRange:c,timeRange:i,granularity:g,hasTime:O,setDate(n,s){var d,b;S(n==="start"?{start:s,end:(d=c?.end)!==null&&d!==void 0?d:null}:{start:(b=c?.start)!==null&&b!==void 0?b:null,end:s})},setTime(n,s){var d,b;y(n==="start"?{start:s,end:(d=i?.end)!==null&&d!==void 0?d:null}:{start:(b=i?.start)!==null&&b!==void 0?b:null,end:s})},setDateTime(n,s){var d,b;R(n==="start"?{start:s,end:(d=l?.end)!==null&&d!==void 0?d:null}:{start:(b=l?.start)!==null&&b!==void 0?b:null,end:s})},setDateRange:S,setTimeRange:y,...D,setOpen(n){!n&&!(l?.start&&l?.end)&&G(c)&&O&&q(c,{start:i?.start||f.$35a22f14a1f04b11$export$c5221a78ef73c5e9(e.placeholderValue),end:i?.end||f.$35a22f14a1f04b11$export$c5221a78ef73c5e9(e.placeholderValue)}),D.setOpen(n)},validationState:N,isInvalid:K,formatValue(n,s){if(!l||!l.start||!l.end)return null;let d="timeZone"in l.start?l.start.timeZone:void 0,b=e.granularity||(l.start&&"minute"in l.start?"minute":"day"),_="timeZone"in l.end?l.end.timeZone:void 0,A=e.granularity||(l.end&&"minute"in l.end?"minute":"day"),Fe=f.$35a22f14a1f04b11$export$7e319ea407e63bc0(s,{granularity:b,timeZone:d,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,showEra:l.start.calendar.identifier==="gregory"&&l.start.era==="BC"||l.end.calendar.identifier==="gregory"&&l.end.era==="BC"}),re=l.start.toDate(d||"UTC"),ne=l.end.toDate(_||"UTC"),Q=new W.$fb18d541ea1ad717$export$ad991b66133851cf(n,Fe),Y;if(d===_&&b===A&&l.start.compare(l.end)!==0){try{let z=Q.formatRangeToParts(re,ne),ee=-1;for(let U=0;U<z.length;U++){let ae=z[U];if(ae.source==="shared"&&ae.type==="literal")ee=U;else if(ae.source==="endRange")break}let oe="",ue="";for(let U=0;U<z.length;U++)U<ee?oe+=z[U].value:U>ee&&(ue+=z[U].value);return{start:oe,end:ue}}catch{}Y=Q}else{let z=f.$35a22f14a1f04b11$export$7e319ea407e63bc0(s,{granularity:A,timeZone:_,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle});Y=new W.$fb18d541ea1ad717$export$ad991b66133851cf(n,z)}return{start:Q.format(re),end:Y.format(ne)}},getDateFormatter(n,s){let d={...$,...s},b=f.$35a22f14a1f04b11$export$7e319ea407e63bc0({},d);return new W.$fb18d541ea1ad717$export$ad991b66133851cf(n,b)}}}function G(e){return e?.start!=null&&e.end!=null}const Me=o.createContext(null),Be=o.createContext(null),ye=o.createContext(null),Pe=o.createContext(null),De=[te.$a049562f99e7db0e$export$f9c6924e160136d1,le.$d2b4bc8c273e7be6$export$24d547caef80ccd1,ie.$01b77f81d0f07f68$export$75b6ee27786ba447,de.$514c0188e459b4c0$export$9afb8bc826b033ea],Se=o.forwardRef(function(a,r){[a,r]=E.$64fa3d84918910a7$export$29f1550f4b0d4415(a,r,Me);let{validationBehavior:D}=E.$64fa3d84918910a7$export$fabf2dc03a41866e(fe.$d3e0e05bdfcf66bd$export$c24727297075ec6a)||{};var m,x;let v=(x=(m=a.validationBehavior)!==null&&m!==void 0?m:D)!==null&&x!==void 0?x:"native",t=Ze({...a,validationBehavior:v}),u=o.useRef(null),[l,R]=E.$64fa3d84918910a7$export$9d4c57ee4c6ffdd8(!a["aria-label"]&&!a["aria-labelledby"]),{groupProps:C,labelProps:g,fieldProps:I,buttonProps:O,dialogProps:M,calendarProps:T,descriptionProps:c,errorMessageProps:B,...i}=Ce({...E.$64fa3d84918910a7$export$ef03459518577ad4(a),label:R,validationBehavior:v},t,u),[Z,q]=o.useState(null),S=o.useCallback(()=>{u.current&&q(u.current.offsetWidth+"px")},[]);J.$9daab02d461809db$export$683480f191c0e3ea({ref:u,onResize:S});let{focusProps:y,isFocused:w,isFocusVisible:$}=Ve.$f7dceffc5ad7768b$export$4e328f61c538687f({within:!0}),h=E.$64fa3d84918910a7$export$4d86445c2cf5e3({...a,values:{state:t,isFocusWithin:w,isFocusVisible:$,isDisabled:a.isDisabled||!1,isInvalid:t.isInvalid,isOpen:t.isOpen},defaultClassName:"react-aria-DatePicker"}),P=X.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(a,{global:!0});return delete P.id,o.createElement(E.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[ye,t],[te.$a049562f99e7db0e$export$f9c6924e160136d1,{...C,ref:u,isInvalid:t.isInvalid}],[f.$40825cdb76e74f70$export$7b3e670c86da5fe8,I],[le.$d2b4bc8c273e7be6$export$24d547caef80ccd1,{...O,isPressed:t.isOpen}],[ie.$01b77f81d0f07f68$export$75b6ee27786ba447,{...g,ref:l,elementType:"span"}],[se.$dfd62f934fc76fed$export$3b805cea1f178355,T],[H.$de32f1b87079253c$export$d2f961adcb0afbe,t],[H.$07b14b47974efb58$export$9b9a0cd73afb7ca4,{trigger:"DatePicker",triggerRef:u,placement:"bottom start",style:{"--trigger-width":Z},clearContexts:De}],[H.$de32f1b87079253c$export$8b93a07348a7730c,M],[de.$514c0188e459b4c0$export$9afb8bc826b033ea,{slots:{description:c,errorMessage:B}}],[ce.$ee014567cb39d3f0$export$ff05c3ac10437e03,i]]},o.createElement("div",{...L.$3ef42575df84b30b$export$9d1611c77c2fe928(P,h,y),ref:r,slot:a.slot||void 0,"data-focus-within":w||void 0,"data-invalid":t.isInvalid||void 0,"data-focus-visible":$||void 0,"data-disabled":a.isDisabled||void 0,"data-open":t.isOpen||void 0}),o.createElement(f.$c699643d2073b351$export$eefa3e19139f00f3,{autoComplete:a.autoComplete,name:a.name,isDisabled:a.isDisabled,state:t}))}),pe=o.forwardRef(function(a,r){[a,r]=E.$64fa3d84918910a7$export$29f1550f4b0d4415(a,r,Be);let{validationBehavior:D}=E.$64fa3d84918910a7$export$fabf2dc03a41866e(fe.$d3e0e05bdfcf66bd$export$c24727297075ec6a)||{};var m,x;let v=(x=(m=a.validationBehavior)!==null&&m!==void 0?m:D)!==null&&x!==void 0?x:"native",t=Ie({...a,validationBehavior:v}),u=o.useRef(null),[l,R]=E.$64fa3d84918910a7$export$9d4c57ee4c6ffdd8(!a["aria-label"]&&!a["aria-labelledby"]),{groupProps:C,labelProps:g,startFieldProps:I,endFieldProps:O,buttonProps:M,dialogProps:T,calendarProps:c,descriptionProps:B,errorMessageProps:i,...Z}=Te({...E.$64fa3d84918910a7$export$ef03459518577ad4(a),label:R,validationBehavior:v},t,u),[q,S]=o.useState(null),y=o.useCallback(()=>{u.current&&S(u.current.offsetWidth+"px")},[]);J.$9daab02d461809db$export$683480f191c0e3ea({ref:u,onResize:y});let{focusProps:w,isFocused:$,isFocusVisible:h}=Ve.$f7dceffc5ad7768b$export$4e328f61c538687f({within:!0}),P=E.$64fa3d84918910a7$export$4d86445c2cf5e3({...a,values:{state:t,isFocusWithin:$,isFocusVisible:h,isDisabled:a.isDisabled||!1,isInvalid:t.isInvalid,isOpen:t.isOpen},defaultClassName:"react-aria-DateRangePicker"}),p=X.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(a,{global:!0});return delete p.id,o.createElement(E.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[Pe,t],[te.$a049562f99e7db0e$export$f9c6924e160136d1,{...C,ref:u,isInvalid:t.isInvalid}],[le.$d2b4bc8c273e7be6$export$24d547caef80ccd1,{...M,isPressed:t.isOpen}],[ie.$01b77f81d0f07f68$export$75b6ee27786ba447,{...g,ref:l,elementType:"span"}],[se.$dfd62f934fc76fed$export$233dd9682e1ad64b,c],[H.$de32f1b87079253c$export$d2f961adcb0afbe,t],[H.$07b14b47974efb58$export$9b9a0cd73afb7ca4,{trigger:"DateRangePicker",triggerRef:u,placement:"bottom start",style:{"--trigger-width":q},clearContexts:De}],[H.$de32f1b87079253c$export$8b93a07348a7730c,T],[f.$40825cdb76e74f70$export$7b3e670c86da5fe8,{slots:{start:I,end:O}}],[de.$514c0188e459b4c0$export$9afb8bc826b033ea,{slots:{description:B,errorMessage:i}}],[ce.$ee014567cb39d3f0$export$ff05c3ac10437e03,Z]]},o.createElement("div",{...L.$3ef42575df84b30b$export$9d1611c77c2fe928(p,P,w),ref:r,slot:a.slot||void 0,"data-focus-within":$||void 0,"data-invalid":t.isInvalid||void 0,"data-focus-visible":h||void 0,"data-disabled":a.isDisabled||void 0,"data-open":t.isOpen||void 0}))});exports.$06d5b8ec9ee5d538$export$17334619f3ac2224=pe;exports.$06d5b8ec9ee5d538$export$50a10c048fdcdee9=ye;exports.$06d5b8ec9ee5d538$export$5109c6dd95d8fb00=Se;exports.$06d5b8ec9ee5d538$export$80d7ae1f804790be=Pe;
2
+ //# sourceMappingURL=DatePicker-5cKqpUC9.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DatePicker-BQ6EfAU2.cjs.js","sources":["../../../../node_modules/.pnpm/@react-aria+datepicker@3.15.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/datepicker/dist/useDatePicker.mjs","../../../../node_modules/.pnpm/@react-aria+datepicker@3.15.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/datepicker/dist/useDateRangePicker.mjs","../../../../node_modules/.pnpm/@react-stately+datepicker@3.15.0_react@19.1.0/node_modules/@react-stately/datepicker/dist/useDatePickerState.mjs","../../../../node_modules/.pnpm/@react-stately+datepicker@3.15.0_react@19.1.0/node_modules/@react-stately/datepicker/dist/useDateRangePickerState.mjs","../../../../node_modules/.pnpm/react-aria-components@1.11.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/DatePicker.mjs"],"sourcesContent":["import $4lVjK$intlStringsmodulejs from \"./intlStrings.mjs\";\nimport {roleSymbol as $16f0b7bb276bc17e$export$300019f83c56d282} from \"./useDateField.mjs\";\nimport {useDatePickerGroup as $3dfb0f96be0d6a08$export$4a931266a3838b86} from \"./useDatePickerGroup.mjs\";\nimport {createFocusManager as $4lVjK$createFocusManager} from \"@react-aria/focus\";\nimport {useId as $4lVjK$useId, useDescription as $4lVjK$useDescription, filterDOMProps as $4lVjK$filterDOMProps, mergeProps as $4lVjK$mergeProps} from \"@react-aria/utils\";\nimport {privateValidationStateProp as $4lVjK$privateValidationStateProp} from \"@react-stately/form\";\nimport {useField as $4lVjK$useField} from \"@react-aria/label\";\nimport {useFocusWithin as $4lVjK$useFocusWithin} from \"@react-aria/interactions\";\nimport {useLocalizedStringFormatter as $4lVjK$useLocalizedStringFormatter, useLocale as $4lVjK$useLocale} from \"@react-aria/i18n\";\nimport {useMemo as $4lVjK$useMemo, useRef as $4lVjK$useRef} from \"react\";\n\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\nfunction $6057a3d2a53a12fd$export$42df105a73306d51(props, state, ref) {\n let buttonId = (0, $4lVjK$useId)();\n let dialogId = (0, $4lVjK$useId)();\n let fieldId = (0, $4lVjK$useId)();\n let stringFormatter = (0, $4lVjK$useLocalizedStringFormatter)((0, ($parcel$interopDefault($4lVjK$intlStringsmodulejs))), '@react-aria/datepicker');\n let { isInvalid: isInvalid, validationErrors: validationErrors, validationDetails: validationDetails } = state.displayValidation;\n let { labelProps: labelProps, fieldProps: fieldProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps } = (0, $4lVjK$useField)({\n ...props,\n labelElementType: 'span',\n isInvalid: isInvalid,\n errorMessage: props.errorMessage || validationErrors\n });\n let groupProps = (0, $3dfb0f96be0d6a08$export$4a931266a3838b86)(state, ref);\n let labelledBy = fieldProps['aria-labelledby'] || fieldProps.id;\n let { locale: locale } = (0, $4lVjK$useLocale)();\n let date = state.formatValue(locale, {\n month: 'long'\n });\n let description = date ? stringFormatter.format('selectedDateDescription', {\n date: date\n }) : '';\n let descProps = (0, $4lVjK$useDescription)(description);\n let ariaDescribedBy = [\n descProps['aria-describedby'],\n fieldProps['aria-describedby']\n ].filter(Boolean).join(' ') || undefined;\n let domProps = (0, $4lVjK$filterDOMProps)(props);\n let focusManager = (0, $4lVjK$useMemo)(()=>(0, $4lVjK$createFocusManager)(ref), [\n ref\n ]);\n let isFocused = (0, $4lVjK$useRef)(false);\n let { focusWithinProps: focusWithinProps } = (0, $4lVjK$useFocusWithin)({\n ...props,\n isDisabled: state.isOpen,\n onBlurWithin: (e)=>{\n // Ignore when focus moves into the popover.\n let dialog = document.getElementById(dialogId);\n if (!(dialog === null || dialog === void 0 ? void 0 : dialog.contains(e.relatedTarget))) {\n var _props_onBlur, _props_onFocusChange;\n isFocused.current = false;\n (_props_onBlur = props.onBlur) === null || _props_onBlur === void 0 ? void 0 : _props_onBlur.call(props, e);\n (_props_onFocusChange = props.onFocusChange) === null || _props_onFocusChange === void 0 ? void 0 : _props_onFocusChange.call(props, false);\n }\n },\n onFocusWithin: (e)=>{\n if (!isFocused.current) {\n var _props_onFocus, _props_onFocusChange;\n isFocused.current = true;\n (_props_onFocus = props.onFocus) === null || _props_onFocus === void 0 ? void 0 : _props_onFocus.call(props, e);\n (_props_onFocusChange = props.onFocusChange) === null || _props_onFocusChange === void 0 ? void 0 : _props_onFocusChange.call(props, true);\n }\n }\n });\n return {\n groupProps: (0, $4lVjK$mergeProps)(domProps, groupProps, fieldProps, descProps, focusWithinProps, {\n role: 'group',\n 'aria-disabled': props.isDisabled || null,\n 'aria-labelledby': labelledBy,\n 'aria-describedby': ariaDescribedBy,\n onKeyDown (e) {\n if (state.isOpen) return;\n if (props.onKeyDown) props.onKeyDown(e);\n },\n onKeyUp (e) {\n if (state.isOpen) return;\n if (props.onKeyUp) props.onKeyUp(e);\n }\n }),\n labelProps: {\n ...labelProps,\n onClick: ()=>{\n focusManager.focusFirst();\n }\n },\n fieldProps: {\n ...fieldProps,\n id: fieldId,\n [(0, $16f0b7bb276bc17e$export$300019f83c56d282)]: 'presentation',\n 'aria-describedby': ariaDescribedBy,\n value: state.value,\n defaultValue: state.defaultValue,\n onChange: state.setValue,\n placeholderValue: props.placeholderValue,\n hideTimeZone: props.hideTimeZone,\n hourCycle: props.hourCycle,\n shouldForceLeadingZeros: props.shouldForceLeadingZeros,\n granularity: props.granularity,\n isDisabled: props.isDisabled,\n isReadOnly: props.isReadOnly,\n isRequired: props.isRequired,\n validationBehavior: props.validationBehavior,\n // DatePicker owns the validation state for the date field.\n [(0, $4lVjK$privateValidationStateProp)]: state,\n autoFocus: props.autoFocus,\n name: props.name,\n form: props.form\n },\n descriptionProps: descriptionProps,\n errorMessageProps: errorMessageProps,\n buttonProps: {\n ...descProps,\n id: buttonId,\n 'aria-haspopup': 'dialog',\n 'aria-label': stringFormatter.format('calendar'),\n 'aria-labelledby': `${buttonId} ${labelledBy}`,\n 'aria-describedby': ariaDescribedBy,\n 'aria-expanded': state.isOpen,\n isDisabled: props.isDisabled || props.isReadOnly,\n onPress: ()=>state.setOpen(true)\n },\n dialogProps: {\n id: dialogId,\n 'aria-labelledby': `${buttonId} ${labelledBy}`\n },\n calendarProps: {\n autoFocus: true,\n value: state.dateValue,\n onChange: state.setDateValue,\n minValue: props.minValue,\n maxValue: props.maxValue,\n isDisabled: props.isDisabled,\n isReadOnly: props.isReadOnly,\n isDateUnavailable: props.isDateUnavailable,\n defaultFocusedValue: state.dateValue ? undefined : props.placeholderValue,\n isInvalid: state.isInvalid,\n errorMessage: typeof props.errorMessage === 'function' ? props.errorMessage(state.displayValidation) : props.errorMessage || state.displayValidation.validationErrors.join(' ')\n },\n isInvalid: isInvalid,\n validationErrors: validationErrors,\n validationDetails: validationDetails\n };\n}\n\n\nexport {$6057a3d2a53a12fd$export$42df105a73306d51 as useDatePicker};\n//# sourceMappingURL=useDatePicker.module.js.map\n","import {focusManagerSymbol as $16f0b7bb276bc17e$export$7b3062cd49e80452, roleSymbol as $16f0b7bb276bc17e$export$300019f83c56d282} from \"./useDateField.mjs\";\nimport $eIQ1H$intlStringsmodulejs from \"./intlStrings.mjs\";\nimport {useDatePickerGroup as $3dfb0f96be0d6a08$export$4a931266a3838b86} from \"./useDatePickerGroup.mjs\";\nimport {createFocusManager as $eIQ1H$createFocusManager} from \"@react-aria/focus\";\nimport {DEFAULT_VALIDATION_RESULT as $eIQ1H$DEFAULT_VALIDATION_RESULT, privateValidationStateProp as $eIQ1H$privateValidationStateProp, mergeValidation as $eIQ1H$mergeValidation} from \"@react-stately/form\";\nimport {useDescription as $eIQ1H$useDescription, useId as $eIQ1H$useId, filterDOMProps as $eIQ1H$filterDOMProps, mergeProps as $eIQ1H$mergeProps} from \"@react-aria/utils\";\nimport {useField as $eIQ1H$useField} from \"@react-aria/label\";\nimport {useFocusWithin as $eIQ1H$useFocusWithin} from \"@react-aria/interactions\";\nimport {useLocalizedStringFormatter as $eIQ1H$useLocalizedStringFormatter, useLocale as $eIQ1H$useLocale} from \"@react-aria/i18n\";\nimport {useMemo as $eIQ1H$useMemo, useRef as $eIQ1H$useRef} from \"react\";\n\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\nfunction $887cac91b7cc8801$export$12fd5f0e9f4bb192(props, state, ref) {\n var _state_value, _state_defaultValue, _state_value1, _state_defaultValue1, _state_dateRange;\n let stringFormatter = (0, $eIQ1H$useLocalizedStringFormatter)((0, ($parcel$interopDefault($eIQ1H$intlStringsmodulejs))), '@react-aria/datepicker');\n let { isInvalid: isInvalid, validationErrors: validationErrors, validationDetails: validationDetails } = state.displayValidation;\n let { labelProps: labelProps, fieldProps: fieldProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps } = (0, $eIQ1H$useField)({\n ...props,\n labelElementType: 'span',\n isInvalid: isInvalid,\n errorMessage: props.errorMessage || validationErrors\n });\n let labelledBy = fieldProps['aria-labelledby'] || fieldProps.id;\n let { locale: locale } = (0, $eIQ1H$useLocale)();\n let range = state.formatValue(locale, {\n month: 'long'\n });\n let description = range ? stringFormatter.format('selectedRangeDescription', {\n startDate: range.start,\n endDate: range.end\n }) : '';\n let descProps = (0, $eIQ1H$useDescription)(description);\n let startFieldProps = {\n 'aria-label': stringFormatter.format('startDate'),\n 'aria-labelledby': labelledBy\n };\n let endFieldProps = {\n 'aria-label': stringFormatter.format('endDate'),\n 'aria-labelledby': labelledBy\n };\n let buttonId = (0, $eIQ1H$useId)();\n let dialogId = (0, $eIQ1H$useId)();\n let groupProps = (0, $3dfb0f96be0d6a08$export$4a931266a3838b86)(state, ref);\n let ariaDescribedBy = [\n descProps['aria-describedby'],\n fieldProps['aria-describedby']\n ].filter(Boolean).join(' ') || undefined;\n let focusManager = (0, $eIQ1H$useMemo)(()=>(0, $eIQ1H$createFocusManager)(ref, {\n // Exclude the button from the focus manager.\n accept: (element)=>element.id !== buttonId\n }), [\n ref,\n buttonId\n ]);\n let commonFieldProps = {\n [(0, $16f0b7bb276bc17e$export$7b3062cd49e80452)]: focusManager,\n [(0, $16f0b7bb276bc17e$export$300019f83c56d282)]: 'presentation',\n 'aria-describedby': ariaDescribedBy,\n placeholderValue: props.placeholderValue,\n hideTimeZone: props.hideTimeZone,\n hourCycle: props.hourCycle,\n granularity: props.granularity,\n shouldForceLeadingZeros: props.shouldForceLeadingZeros,\n isDisabled: props.isDisabled,\n isReadOnly: props.isReadOnly,\n isRequired: props.isRequired,\n validationBehavior: props.validationBehavior\n };\n let domProps = (0, $eIQ1H$filterDOMProps)(props);\n let isFocused = (0, $eIQ1H$useRef)(false);\n let { focusWithinProps: focusWithinProps } = (0, $eIQ1H$useFocusWithin)({\n ...props,\n isDisabled: state.isOpen,\n onBlurWithin: (e)=>{\n // Ignore when focus moves into the popover.\n let dialog = document.getElementById(dialogId);\n if (!(dialog === null || dialog === void 0 ? void 0 : dialog.contains(e.relatedTarget))) {\n var _props_onBlur, _props_onFocusChange;\n isFocused.current = false;\n (_props_onBlur = props.onBlur) === null || _props_onBlur === void 0 ? void 0 : _props_onBlur.call(props, e);\n (_props_onFocusChange = props.onFocusChange) === null || _props_onFocusChange === void 0 ? void 0 : _props_onFocusChange.call(props, false);\n }\n },\n onFocusWithin: (e)=>{\n if (!isFocused.current) {\n var _props_onFocus, _props_onFocusChange;\n isFocused.current = true;\n (_props_onFocus = props.onFocus) === null || _props_onFocus === void 0 ? void 0 : _props_onFocus.call(props, e);\n (_props_onFocusChange = props.onFocusChange) === null || _props_onFocusChange === void 0 ? void 0 : _props_onFocusChange.call(props, true);\n }\n }\n });\n let startFieldValidation = (0, $eIQ1H$useRef)((0, $eIQ1H$DEFAULT_VALIDATION_RESULT));\n let endFieldValidation = (0, $eIQ1H$useRef)((0, $eIQ1H$DEFAULT_VALIDATION_RESULT));\n var _state_value_start, _state_value_end;\n return {\n groupProps: (0, $eIQ1H$mergeProps)(domProps, groupProps, fieldProps, descProps, focusWithinProps, {\n role: 'group',\n 'aria-disabled': props.isDisabled || null,\n 'aria-describedby': ariaDescribedBy,\n onKeyDown (e) {\n if (state.isOpen) return;\n if (props.onKeyDown) props.onKeyDown(e);\n },\n onKeyUp (e) {\n if (state.isOpen) return;\n if (props.onKeyUp) props.onKeyUp(e);\n }\n }),\n labelProps: {\n ...labelProps,\n onClick: ()=>{\n focusManager.focusFirst();\n }\n },\n buttonProps: {\n ...descProps,\n id: buttonId,\n 'aria-haspopup': 'dialog',\n 'aria-label': stringFormatter.format('calendar'),\n 'aria-labelledby': `${buttonId} ${labelledBy}`,\n 'aria-describedby': ariaDescribedBy,\n 'aria-expanded': state.isOpen,\n isDisabled: props.isDisabled || props.isReadOnly,\n onPress: ()=>state.setOpen(true)\n },\n dialogProps: {\n id: dialogId,\n 'aria-labelledby': `${buttonId} ${labelledBy}`\n },\n startFieldProps: {\n ...startFieldProps,\n ...commonFieldProps,\n value: (_state_value_start = (_state_value = state.value) === null || _state_value === void 0 ? void 0 : _state_value.start) !== null && _state_value_start !== void 0 ? _state_value_start : null,\n defaultValue: (_state_defaultValue = state.defaultValue) === null || _state_defaultValue === void 0 ? void 0 : _state_defaultValue.start,\n onChange: (start)=>state.setDateTime('start', start),\n autoFocus: props.autoFocus,\n name: props.startName,\n form: props.form,\n [(0, $eIQ1H$privateValidationStateProp)]: {\n realtimeValidation: state.realtimeValidation,\n displayValidation: state.displayValidation,\n updateValidation (e) {\n startFieldValidation.current = e;\n state.updateValidation((0, $eIQ1H$mergeValidation)(e, endFieldValidation.current));\n },\n resetValidation: state.resetValidation,\n commitValidation: state.commitValidation\n }\n },\n endFieldProps: {\n ...endFieldProps,\n ...commonFieldProps,\n value: (_state_value_end = (_state_value1 = state.value) === null || _state_value1 === void 0 ? void 0 : _state_value1.end) !== null && _state_value_end !== void 0 ? _state_value_end : null,\n defaultValue: (_state_defaultValue1 = state.defaultValue) === null || _state_defaultValue1 === void 0 ? void 0 : _state_defaultValue1.end,\n onChange: (end)=>state.setDateTime('end', end),\n name: props.endName,\n form: props.form,\n [(0, $eIQ1H$privateValidationStateProp)]: {\n realtimeValidation: state.realtimeValidation,\n displayValidation: state.displayValidation,\n updateValidation (e) {\n endFieldValidation.current = e;\n state.updateValidation((0, $eIQ1H$mergeValidation)(startFieldValidation.current, e));\n },\n resetValidation: state.resetValidation,\n commitValidation: state.commitValidation\n }\n },\n descriptionProps: descriptionProps,\n errorMessageProps: errorMessageProps,\n calendarProps: {\n autoFocus: true,\n value: ((_state_dateRange = state.dateRange) === null || _state_dateRange === void 0 ? void 0 : _state_dateRange.start) && state.dateRange.end ? state.dateRange : null,\n onChange: state.setDateRange,\n minValue: props.minValue,\n maxValue: props.maxValue,\n isDisabled: props.isDisabled,\n isReadOnly: props.isReadOnly,\n isDateUnavailable: props.isDateUnavailable,\n allowsNonContiguousRanges: props.allowsNonContiguousRanges,\n defaultFocusedValue: state.dateRange ? undefined : props.placeholderValue,\n isInvalid: state.isInvalid,\n errorMessage: typeof props.errorMessage === 'function' ? props.errorMessage(state.displayValidation) : props.errorMessage || state.displayValidation.validationErrors.join(' ')\n },\n isInvalid: isInvalid,\n validationErrors: validationErrors,\n validationDetails: validationDetails\n };\n}\n\n\nexport {$887cac91b7cc8801$export$12fd5f0e9f4bb192 as useDateRangePicker};\n//# sourceMappingURL=useDateRangePicker.module.js.map\n","import {getFormatOptions as $35a22f14a1f04b11$export$7e319ea407e63bc0, getPlaceholderTime as $35a22f14a1f04b11$export$c5221a78ef73c5e9, getValidationResult as $35a22f14a1f04b11$export$f18627323ab57ac0, useDefaultProps as $35a22f14a1f04b11$export$2440da353cedad43} from \"./utils.mjs\";\nimport {toCalendarDate as $goopS$toCalendarDate, toCalendarDateTime as $goopS$toCalendarDateTime, DateFormatter as $goopS$DateFormatter} from \"@internationalized/date\";\nimport {useFormValidationState as $goopS$useFormValidationState} from \"@react-stately/form\";\nimport {useOverlayTriggerState as $goopS$useOverlayTriggerState} from \"@react-stately/overlays\";\nimport {useControlledState as $goopS$useControlledState} from \"@react-stately/utils\";\nimport {useState as $goopS$useState, useMemo as $goopS$useMemo} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\nfunction $ab5bf3f618090389$export$87194bb378cc3ac2(props) {\n let overlayState = (0, $goopS$useOverlayTriggerState)(props);\n let [value, setValue] = (0, $goopS$useControlledState)(props.value, props.defaultValue || null, props.onChange);\n let [initialValue] = (0, $goopS$useState)(value);\n let v = value || props.placeholderValue || null;\n let [granularity, defaultTimeZone] = (0, $35a22f14a1f04b11$export$2440da353cedad43)(v, props.granularity);\n let dateValue = value != null ? value.toDate(defaultTimeZone !== null && defaultTimeZone !== void 0 ? defaultTimeZone : 'UTC') : null;\n let hasTime = granularity === 'hour' || granularity === 'minute' || granularity === 'second';\n var _props_shouldCloseOnSelect;\n let shouldCloseOnSelect = (_props_shouldCloseOnSelect = props.shouldCloseOnSelect) !== null && _props_shouldCloseOnSelect !== void 0 ? _props_shouldCloseOnSelect : true;\n let [selectedDate, setSelectedDate] = (0, $goopS$useState)(null);\n let [selectedTime, setSelectedTime] = (0, $goopS$useState)(null);\n if (value) {\n selectedDate = value;\n if ('hour' in value) selectedTime = value;\n }\n // props.granularity must actually exist in the value if one is provided.\n if (v && !(granularity in v)) throw new Error('Invalid granularity ' + granularity + ' for value ' + v.toString());\n let showEra = (value === null || value === void 0 ? void 0 : value.calendar.identifier) === 'gregory' && value.era === 'BC';\n let formatOpts = (0, $goopS$useMemo)(()=>({\n granularity: granularity,\n timeZone: defaultTimeZone,\n hideTimeZone: props.hideTimeZone,\n hourCycle: props.hourCycle,\n shouldForceLeadingZeros: props.shouldForceLeadingZeros,\n showEra: showEra\n }), [\n granularity,\n props.hourCycle,\n props.shouldForceLeadingZeros,\n defaultTimeZone,\n props.hideTimeZone,\n showEra\n ]);\n let { minValue: minValue, maxValue: maxValue, isDateUnavailable: isDateUnavailable } = props;\n let builtinValidation = (0, $goopS$useMemo)(()=>(0, $35a22f14a1f04b11$export$f18627323ab57ac0)(value, minValue, maxValue, isDateUnavailable, formatOpts), [\n value,\n minValue,\n maxValue,\n isDateUnavailable,\n formatOpts\n ]);\n let validation = (0, $goopS$useFormValidationState)({\n ...props,\n value: value,\n builtinValidation: builtinValidation\n });\n let isValueInvalid = validation.displayValidation.isInvalid;\n let validationState = props.validationState || (isValueInvalid ? 'invalid' : null);\n let commitValue = (date, time)=>{\n setValue('timeZone' in time ? time.set((0, $goopS$toCalendarDate)(date)) : (0, $goopS$toCalendarDateTime)(date, time));\n setSelectedDate(null);\n setSelectedTime(null);\n validation.commitValidation();\n };\n // Intercept setValue to make sure the Time section is not changed by date selection in Calendar\n let selectDate = (newValue)=>{\n let shouldClose = typeof shouldCloseOnSelect === 'function' ? shouldCloseOnSelect() : shouldCloseOnSelect;\n if (hasTime) {\n if (selectedTime || shouldClose) commitValue(newValue, selectedTime || (0, $35a22f14a1f04b11$export$c5221a78ef73c5e9)(props.defaultValue || props.placeholderValue));\n else setSelectedDate(newValue);\n } else {\n setValue(newValue);\n validation.commitValidation();\n }\n if (shouldClose) overlayState.setOpen(false);\n };\n let selectTime = (newValue)=>{\n if (selectedDate && newValue) commitValue(selectedDate, newValue);\n else setSelectedTime(newValue);\n };\n var _props_defaultValue;\n return {\n ...validation,\n value: value,\n defaultValue: (_props_defaultValue = props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : initialValue,\n setValue: setValue,\n dateValue: selectedDate,\n timeValue: selectedTime,\n setDateValue: selectDate,\n setTimeValue: selectTime,\n granularity: granularity,\n hasTime: hasTime,\n ...overlayState,\n setOpen (isOpen) {\n // Commit the selected date when the calendar is closed. Use a placeholder time if one wasn't set.\n // If only the time was set and not the date, don't commit. The state will be preserved until\n // the user opens the popover again.\n if (!isOpen && !value && selectedDate && hasTime) commitValue(selectedDate, selectedTime || (0, $35a22f14a1f04b11$export$c5221a78ef73c5e9)(props.defaultValue || props.placeholderValue));\n overlayState.setOpen(isOpen);\n },\n validationState: validationState,\n isInvalid: isValueInvalid,\n formatValue (locale, fieldOptions) {\n if (!dateValue) return '';\n let formatOptions = (0, $35a22f14a1f04b11$export$7e319ea407e63bc0)(fieldOptions, formatOpts);\n let formatter = new (0, $goopS$DateFormatter)(locale, formatOptions);\n return formatter.format(dateValue);\n },\n getDateFormatter (locale, formatOptions) {\n let newOptions = {\n ...formatOpts,\n ...formatOptions\n };\n let newFormatOptions = (0, $35a22f14a1f04b11$export$7e319ea407e63bc0)({}, newOptions);\n return new (0, $goopS$DateFormatter)(locale, newFormatOptions);\n }\n };\n}\n\n\nexport {$ab5bf3f618090389$export$87194bb378cc3ac2 as useDatePickerState};\n//# sourceMappingURL=useDatePickerState.module.js.map\n","import {getFormatOptions as $35a22f14a1f04b11$export$7e319ea407e63bc0, getPlaceholderTime as $35a22f14a1f04b11$export$c5221a78ef73c5e9, getRangeValidationResult as $35a22f14a1f04b11$export$80ff8fc0ae339c13, useDefaultProps as $35a22f14a1f04b11$export$2440da353cedad43} from \"./utils.mjs\";\nimport {toCalendarDate as $hac8C$toCalendarDate, toCalendarDateTime as $hac8C$toCalendarDateTime, DateFormatter as $hac8C$DateFormatter} from \"@internationalized/date\";\nimport {useFormValidationState as $hac8C$useFormValidationState} from \"@react-stately/form\";\nimport {useOverlayTriggerState as $hac8C$useOverlayTriggerState} from \"@react-stately/overlays\";\nimport {useControlledState as $hac8C$useControlledState} from \"@react-stately/utils\";\nimport {useState as $hac8C$useState, useMemo as $hac8C$useMemo} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\nfunction $93c38a5e28be6249$export$e50a61c1de9f574(props) {\n var _value_start, _value_end;\n let overlayState = (0, $hac8C$useOverlayTriggerState)(props);\n let [controlledValue, setControlledValue] = (0, $hac8C$useControlledState)(props.value, props.defaultValue || null, props.onChange);\n let [initialValue] = (0, $hac8C$useState)(controlledValue);\n let [placeholderValue, setPlaceholderValue] = (0, $hac8C$useState)(()=>controlledValue || {\n start: null,\n end: null\n });\n // Reset the placeholder if the value prop is set to null.\n if (controlledValue == null && placeholderValue.start && placeholderValue.end) {\n placeholderValue = {\n start: null,\n end: null\n };\n setPlaceholderValue(placeholderValue);\n }\n let value = controlledValue || placeholderValue;\n let setValue = (newValue)=>{\n value = newValue || {\n start: null,\n end: null\n };\n setPlaceholderValue(value);\n if ($93c38a5e28be6249$var$isCompleteRange(value)) setControlledValue(value);\n else setControlledValue(null);\n };\n let v = (value === null || value === void 0 ? void 0 : value.start) || (value === null || value === void 0 ? void 0 : value.end) || props.placeholderValue || null;\n let [granularity, defaultTimeZone] = (0, $35a22f14a1f04b11$export$2440da353cedad43)(v, props.granularity);\n let hasTime = granularity === 'hour' || granularity === 'minute' || granularity === 'second';\n var _props_shouldCloseOnSelect;\n let shouldCloseOnSelect = (_props_shouldCloseOnSelect = props.shouldCloseOnSelect) !== null && _props_shouldCloseOnSelect !== void 0 ? _props_shouldCloseOnSelect : true;\n let [dateRange, setSelectedDateRange] = (0, $hac8C$useState)(null);\n let [timeRange, setSelectedTimeRange] = (0, $hac8C$useState)(null);\n if (value && $93c38a5e28be6249$var$isCompleteRange(value)) {\n dateRange = value;\n if ('hour' in value.start) timeRange = value;\n }\n let commitValue = (dateRange, timeRange)=>{\n setValue({\n start: 'timeZone' in timeRange.start ? timeRange.start.set((0, $hac8C$toCalendarDate)(dateRange.start)) : (0, $hac8C$toCalendarDateTime)(dateRange.start, timeRange.start),\n end: 'timeZone' in timeRange.end ? timeRange.end.set((0, $hac8C$toCalendarDate)(dateRange.end)) : (0, $hac8C$toCalendarDateTime)(dateRange.end, timeRange.end)\n });\n setSelectedDateRange(null);\n setSelectedTimeRange(null);\n validation.commitValidation();\n };\n // Intercept setValue to make sure the Time section is not changed by date selection in Calendar\n let setDateRange = (range)=>{\n let shouldClose = typeof shouldCloseOnSelect === 'function' ? shouldCloseOnSelect() : shouldCloseOnSelect;\n if (hasTime) {\n // Set a placeholder time if the popover is closing so we don't leave the field in an incomplete state.\n if ($93c38a5e28be6249$var$isCompleteRange(range) && (shouldClose || (timeRange === null || timeRange === void 0 ? void 0 : timeRange.start) && (timeRange === null || timeRange === void 0 ? void 0 : timeRange.end))) commitValue(range, {\n start: (timeRange === null || timeRange === void 0 ? void 0 : timeRange.start) || (0, $35a22f14a1f04b11$export$c5221a78ef73c5e9)(props.placeholderValue),\n end: (timeRange === null || timeRange === void 0 ? void 0 : timeRange.end) || (0, $35a22f14a1f04b11$export$c5221a78ef73c5e9)(props.placeholderValue)\n });\n else setSelectedDateRange(range);\n } else if ($93c38a5e28be6249$var$isCompleteRange(range)) {\n setValue(range);\n validation.commitValidation();\n } else setSelectedDateRange(range);\n if (shouldClose) overlayState.setOpen(false);\n };\n let setTimeRange = (range)=>{\n if ($93c38a5e28be6249$var$isCompleteRange(dateRange) && $93c38a5e28be6249$var$isCompleteRange(range)) commitValue(dateRange, range);\n else setSelectedTimeRange(range);\n };\n let showEra = (value === null || value === void 0 ? void 0 : (_value_start = value.start) === null || _value_start === void 0 ? void 0 : _value_start.calendar.identifier) === 'gregory' && value.start.era === 'BC' || (value === null || value === void 0 ? void 0 : (_value_end = value.end) === null || _value_end === void 0 ? void 0 : _value_end.calendar.identifier) === 'gregory' && value.end.era === 'BC';\n let formatOpts = (0, $hac8C$useMemo)(()=>({\n granularity: granularity,\n timeZone: defaultTimeZone,\n hideTimeZone: props.hideTimeZone,\n hourCycle: props.hourCycle,\n shouldForceLeadingZeros: props.shouldForceLeadingZeros,\n showEra: showEra\n }), [\n granularity,\n props.hourCycle,\n props.shouldForceLeadingZeros,\n defaultTimeZone,\n props.hideTimeZone,\n showEra\n ]);\n let { minValue: minValue, maxValue: maxValue, isDateUnavailable: isDateUnavailable } = props;\n let builtinValidation = (0, $hac8C$useMemo)(()=>(0, $35a22f14a1f04b11$export$80ff8fc0ae339c13)(value, minValue, maxValue, isDateUnavailable, formatOpts), [\n value,\n minValue,\n maxValue,\n isDateUnavailable,\n formatOpts\n ]);\n let validation = (0, $hac8C$useFormValidationState)({\n ...props,\n value: controlledValue,\n name: (0, $hac8C$useMemo)(()=>[\n props.startName,\n props.endName\n ].filter((n)=>n != null), [\n props.startName,\n props.endName\n ]),\n builtinValidation: builtinValidation\n });\n let isValueInvalid = validation.displayValidation.isInvalid;\n let validationState = props.validationState || (isValueInvalid ? 'invalid' : null);\n var _props_defaultValue;\n return {\n ...validation,\n value: value,\n defaultValue: (_props_defaultValue = props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : initialValue,\n setValue: setValue,\n dateRange: dateRange,\n timeRange: timeRange,\n granularity: granularity,\n hasTime: hasTime,\n setDate (part, date) {\n var _dateRange_end, _dateRange_start;\n if (part === 'start') setDateRange({\n start: date,\n end: (_dateRange_end = dateRange === null || dateRange === void 0 ? void 0 : dateRange.end) !== null && _dateRange_end !== void 0 ? _dateRange_end : null\n });\n else setDateRange({\n start: (_dateRange_start = dateRange === null || dateRange === void 0 ? void 0 : dateRange.start) !== null && _dateRange_start !== void 0 ? _dateRange_start : null,\n end: date\n });\n },\n setTime (part, time) {\n var _timeRange_end, _timeRange_start;\n if (part === 'start') setTimeRange({\n start: time,\n end: (_timeRange_end = timeRange === null || timeRange === void 0 ? void 0 : timeRange.end) !== null && _timeRange_end !== void 0 ? _timeRange_end : null\n });\n else setTimeRange({\n start: (_timeRange_start = timeRange === null || timeRange === void 0 ? void 0 : timeRange.start) !== null && _timeRange_start !== void 0 ? _timeRange_start : null,\n end: time\n });\n },\n setDateTime (part, dateTime) {\n var _value_end, _value_start;\n if (part === 'start') setValue({\n start: dateTime,\n end: (_value_end = value === null || value === void 0 ? void 0 : value.end) !== null && _value_end !== void 0 ? _value_end : null\n });\n else setValue({\n start: (_value_start = value === null || value === void 0 ? void 0 : value.start) !== null && _value_start !== void 0 ? _value_start : null,\n end: dateTime\n });\n },\n setDateRange: setDateRange,\n setTimeRange: setTimeRange,\n ...overlayState,\n setOpen (isOpen) {\n // Commit the selected date range when the calendar is closed. Use a placeholder time if one wasn't set.\n // If only the time range was set and not the date range, don't commit. The state will be preserved until\n // the user opens the popover again.\n if (!isOpen && !((value === null || value === void 0 ? void 0 : value.start) && (value === null || value === void 0 ? void 0 : value.end)) && $93c38a5e28be6249$var$isCompleteRange(dateRange) && hasTime) commitValue(dateRange, {\n start: (timeRange === null || timeRange === void 0 ? void 0 : timeRange.start) || (0, $35a22f14a1f04b11$export$c5221a78ef73c5e9)(props.placeholderValue),\n end: (timeRange === null || timeRange === void 0 ? void 0 : timeRange.end) || (0, $35a22f14a1f04b11$export$c5221a78ef73c5e9)(props.placeholderValue)\n });\n overlayState.setOpen(isOpen);\n },\n validationState: validationState,\n isInvalid: isValueInvalid,\n formatValue (locale, fieldOptions) {\n if (!value || !value.start || !value.end) return null;\n let startTimeZone = 'timeZone' in value.start ? value.start.timeZone : undefined;\n let startGranularity = props.granularity || (value.start && 'minute' in value.start ? 'minute' : 'day');\n let endTimeZone = 'timeZone' in value.end ? value.end.timeZone : undefined;\n let endGranularity = props.granularity || (value.end && 'minute' in value.end ? 'minute' : 'day');\n let startOptions = (0, $35a22f14a1f04b11$export$7e319ea407e63bc0)(fieldOptions, {\n granularity: startGranularity,\n timeZone: startTimeZone,\n hideTimeZone: props.hideTimeZone,\n hourCycle: props.hourCycle,\n showEra: value.start.calendar.identifier === 'gregory' && value.start.era === 'BC' || value.end.calendar.identifier === 'gregory' && value.end.era === 'BC'\n });\n let startDate = value.start.toDate(startTimeZone || 'UTC');\n let endDate = value.end.toDate(endTimeZone || 'UTC');\n let startFormatter = new (0, $hac8C$DateFormatter)(locale, startOptions);\n let endFormatter;\n if (startTimeZone === endTimeZone && startGranularity === endGranularity && value.start.compare(value.end) !== 0) {\n // Use formatRange, as it results in shorter output when some of the fields\n // are shared between the start and end dates (e.g. the same month).\n // Formatting will fail if the end date is before the start date. Fall back below when that happens.\n try {\n let parts = startFormatter.formatRangeToParts(startDate, endDate);\n // Find the separator between the start and end date. This is determined\n // by finding the last shared literal before the end range.\n let separatorIndex = -1;\n for(let i = 0; i < parts.length; i++){\n let part = parts[i];\n if (part.source === 'shared' && part.type === 'literal') separatorIndex = i;\n else if (part.source === 'endRange') break;\n }\n // Now we can combine the parts into start and end strings.\n let start = '';\n let end = '';\n for(let i = 0; i < parts.length; i++){\n if (i < separatorIndex) start += parts[i].value;\n else if (i > separatorIndex) end += parts[i].value;\n }\n return {\n start: start,\n end: end\n };\n } catch {\n // ignore\n }\n endFormatter = startFormatter;\n } else {\n let endOptions = (0, $35a22f14a1f04b11$export$7e319ea407e63bc0)(fieldOptions, {\n granularity: endGranularity,\n timeZone: endTimeZone,\n hideTimeZone: props.hideTimeZone,\n hourCycle: props.hourCycle\n });\n endFormatter = new (0, $hac8C$DateFormatter)(locale, endOptions);\n }\n return {\n start: startFormatter.format(startDate),\n end: endFormatter.format(endDate)\n };\n },\n getDateFormatter (locale, formatOptions) {\n let newOptions = {\n ...formatOpts,\n ...formatOptions\n };\n let newFormatOptions = (0, $35a22f14a1f04b11$export$7e319ea407e63bc0)({}, newOptions);\n return new (0, $hac8C$DateFormatter)(locale, newFormatOptions);\n }\n };\n}\nfunction $93c38a5e28be6249$var$isCompleteRange(value) {\n return (value === null || value === void 0 ? void 0 : value.start) != null && value.end != null;\n}\n\n\nexport {$93c38a5e28be6249$export$e50a61c1de9f574 as useDateRangePickerState};\n//# sourceMappingURL=useDateRangePickerState.module.js.map\n","import {ButtonContext as $d2b4bc8c273e7be6$export$24d547caef80ccd1} from \"./Button.mjs\";\nimport {CalendarContext as $dfd62f934fc76fed$export$3b805cea1f178355, RangeCalendarContext as $dfd62f934fc76fed$export$233dd9682e1ad64b} from \"./Calendar.mjs\";\nimport {Provider as $64fa3d84918910a7$export$2881499e37b75b9a, removeDataAttributes as $64fa3d84918910a7$export$ef03459518577ad4, useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3, useSlot as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, useSlottedContext as $64fa3d84918910a7$export$fabf2dc03a41866e} from \"./utils.mjs\";\nimport {DateFieldContext as $40825cdb76e74f70$export$7b3e670c86da5fe8} from \"./DateField.mjs\";\nimport {DialogContext as $de32f1b87079253c$export$8b93a07348a7730c, OverlayTriggerStateContext as $de32f1b87079253c$export$d2f961adcb0afbe} from \"./Dialog.mjs\";\nimport {FieldErrorContext as $ee014567cb39d3f0$export$ff05c3ac10437e03} from \"./FieldError.mjs\";\nimport {FormContext as $d3e0e05bdfcf66bd$export$c24727297075ec6a} from \"./Form.mjs\";\nimport {GroupContext as $a049562f99e7db0e$export$f9c6924e160136d1} from \"./Group.mjs\";\nimport {HiddenDateInput as $c699643d2073b351$export$eefa3e19139f00f3} from \"./HiddenDateInput.mjs\";\nimport {LabelContext as $01b77f81d0f07f68$export$75b6ee27786ba447} from \"./Label.mjs\";\nimport {PopoverContext as $07b14b47974efb58$export$9b9a0cd73afb7ca4} from \"./Popover.mjs\";\nimport {TextContext as $514c0188e459b4c0$export$9afb8bc826b033ea} from \"./Text.mjs\";\nimport {useDatePicker as $8nhma$useDatePicker, useFocusRing as $8nhma$useFocusRing, useDateRangePicker as $8nhma$useDateRangePicker} from \"react-aria\";\nimport {useDatePickerState as $8nhma$useDatePickerState, useDateRangePickerState as $8nhma$useDateRangePickerState} from \"react-stately\";\nimport {useResizeObserver as $8nhma$useResizeObserver, filterDOMProps as $8nhma$filterDOMProps, mergeProps as $8nhma$mergeProps} from \"@react-aria/utils\";\nimport $8nhma$react, {createContext as $8nhma$createContext, forwardRef as $8nhma$forwardRef, useRef as $8nhma$useRef, useState as $8nhma$useState, useCallback as $8nhma$useCallback} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nconst $06d5b8ec9ee5d538$export$cf316c7f3b44c11e = /*#__PURE__*/ (0, $8nhma$createContext)(null);\nconst $06d5b8ec9ee5d538$export$8282edba42ee28a = /*#__PURE__*/ (0, $8nhma$createContext)(null);\nconst $06d5b8ec9ee5d538$export$50a10c048fdcdee9 = /*#__PURE__*/ (0, $8nhma$createContext)(null);\nconst $06d5b8ec9ee5d538$export$80d7ae1f804790be = /*#__PURE__*/ (0, $8nhma$createContext)(null);\n// Contexts to clear inside the popover.\nconst $06d5b8ec9ee5d538$var$CLEAR_CONTEXTS = [\n (0, $a049562f99e7db0e$export$f9c6924e160136d1),\n (0, $d2b4bc8c273e7be6$export$24d547caef80ccd1),\n (0, $01b77f81d0f07f68$export$75b6ee27786ba447),\n (0, $514c0188e459b4c0$export$9afb8bc826b033ea)\n];\nconst $06d5b8ec9ee5d538$export$5109c6dd95d8fb00 = /*#__PURE__*/ (0, $8nhma$forwardRef)(function DatePicker(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $06d5b8ec9ee5d538$export$cf316c7f3b44c11e);\n let { validationBehavior: formValidationBehavior } = (0, $64fa3d84918910a7$export$fabf2dc03a41866e)((0, $d3e0e05bdfcf66bd$export$c24727297075ec6a)) || {};\n var _props_validationBehavior, _ref;\n let validationBehavior = (_ref = (_props_validationBehavior = props.validationBehavior) !== null && _props_validationBehavior !== void 0 ? _props_validationBehavior : formValidationBehavior) !== null && _ref !== void 0 ? _ref : 'native';\n let state = (0, $8nhma$useDatePickerState)({\n ...props,\n validationBehavior: validationBehavior\n });\n let groupRef = (0, $8nhma$useRef)(null);\n let [labelRef, label] = (0, $64fa3d84918910a7$export$9d4c57ee4c6ffdd8)(!props['aria-label'] && !props['aria-labelledby']);\n let { groupProps: groupProps, labelProps: labelProps, fieldProps: fieldProps, buttonProps: buttonProps, dialogProps: dialogProps, calendarProps: calendarProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps, ...validation } = (0, $8nhma$useDatePicker)({\n ...(0, $64fa3d84918910a7$export$ef03459518577ad4)(props),\n label: label,\n validationBehavior: validationBehavior\n }, state, groupRef);\n // Allows calendar width to match input group\n let [groupWidth, setGroupWidth] = (0, $8nhma$useState)(null);\n let onResize = (0, $8nhma$useCallback)(()=>{\n if (groupRef.current) setGroupWidth(groupRef.current.offsetWidth + 'px');\n }, []);\n (0, $8nhma$useResizeObserver)({\n ref: groupRef,\n onResize: onResize\n });\n let { focusProps: focusProps, isFocused: isFocused, isFocusVisible: isFocusVisible } = (0, $8nhma$useFocusRing)({\n within: true\n });\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n values: {\n state: state,\n isFocusWithin: isFocused,\n isFocusVisible: isFocusVisible,\n isDisabled: props.isDisabled || false,\n isInvalid: state.isInvalid,\n isOpen: state.isOpen\n },\n defaultClassName: 'react-aria-DatePicker'\n });\n let DOMProps = (0, $8nhma$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n return /*#__PURE__*/ (0, $8nhma$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n $06d5b8ec9ee5d538$export$50a10c048fdcdee9,\n state\n ],\n [\n (0, $a049562f99e7db0e$export$f9c6924e160136d1),\n {\n ...groupProps,\n ref: groupRef,\n isInvalid: state.isInvalid\n }\n ],\n [\n (0, $40825cdb76e74f70$export$7b3e670c86da5fe8),\n fieldProps\n ],\n [\n (0, $d2b4bc8c273e7be6$export$24d547caef80ccd1),\n {\n ...buttonProps,\n isPressed: state.isOpen\n }\n ],\n [\n (0, $01b77f81d0f07f68$export$75b6ee27786ba447),\n {\n ...labelProps,\n ref: labelRef,\n elementType: 'span'\n }\n ],\n [\n (0, $dfd62f934fc76fed$export$3b805cea1f178355),\n calendarProps\n ],\n [\n (0, $de32f1b87079253c$export$d2f961adcb0afbe),\n state\n ],\n [\n (0, $07b14b47974efb58$export$9b9a0cd73afb7ca4),\n {\n trigger: 'DatePicker',\n triggerRef: groupRef,\n placement: 'bottom start',\n style: {\n '--trigger-width': groupWidth\n },\n clearContexts: $06d5b8ec9ee5d538$var$CLEAR_CONTEXTS\n }\n ],\n [\n (0, $de32f1b87079253c$export$8b93a07348a7730c),\n dialogProps\n ],\n [\n (0, $514c0188e459b4c0$export$9afb8bc826b033ea),\n {\n slots: {\n description: descriptionProps,\n errorMessage: errorMessageProps\n }\n }\n ],\n [\n (0, $ee014567cb39d3f0$export$ff05c3ac10437e03),\n validation\n ]\n ]\n }, /*#__PURE__*/ (0, $8nhma$react).createElement(\"div\", {\n ...(0, $8nhma$mergeProps)(DOMProps, renderProps, focusProps),\n ref: ref,\n slot: props.slot || undefined,\n \"data-focus-within\": isFocused || undefined,\n \"data-invalid\": state.isInvalid || undefined,\n \"data-focus-visible\": isFocusVisible || undefined,\n \"data-disabled\": props.isDisabled || undefined,\n \"data-open\": state.isOpen || undefined\n }), /*#__PURE__*/ (0, $8nhma$react).createElement((0, $c699643d2073b351$export$eefa3e19139f00f3), {\n autoComplete: props.autoComplete,\n name: props.name,\n isDisabled: props.isDisabled,\n state: state\n }));\n});\nconst $06d5b8ec9ee5d538$export$17334619f3ac2224 = /*#__PURE__*/ (0, $8nhma$forwardRef)(function DateRangePicker(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $06d5b8ec9ee5d538$export$8282edba42ee28a);\n let { validationBehavior: formValidationBehavior } = (0, $64fa3d84918910a7$export$fabf2dc03a41866e)((0, $d3e0e05bdfcf66bd$export$c24727297075ec6a)) || {};\n var _props_validationBehavior, _ref;\n let validationBehavior = (_ref = (_props_validationBehavior = props.validationBehavior) !== null && _props_validationBehavior !== void 0 ? _props_validationBehavior : formValidationBehavior) !== null && _ref !== void 0 ? _ref : 'native';\n let state = (0, $8nhma$useDateRangePickerState)({\n ...props,\n validationBehavior: validationBehavior\n });\n let groupRef = (0, $8nhma$useRef)(null);\n let [labelRef, label] = (0, $64fa3d84918910a7$export$9d4c57ee4c6ffdd8)(!props['aria-label'] && !props['aria-labelledby']);\n let { groupProps: groupProps, labelProps: labelProps, startFieldProps: startFieldProps, endFieldProps: endFieldProps, buttonProps: buttonProps, dialogProps: dialogProps, calendarProps: calendarProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps, ...validation } = (0, $8nhma$useDateRangePicker)({\n ...(0, $64fa3d84918910a7$export$ef03459518577ad4)(props),\n label: label,\n validationBehavior: validationBehavior\n }, state, groupRef);\n // Allows calendar width to match input group\n let [groupWidth, setGroupWidth] = (0, $8nhma$useState)(null);\n let onResize = (0, $8nhma$useCallback)(()=>{\n if (groupRef.current) setGroupWidth(groupRef.current.offsetWidth + 'px');\n }, []);\n (0, $8nhma$useResizeObserver)({\n ref: groupRef,\n onResize: onResize\n });\n let { focusProps: focusProps, isFocused: isFocused, isFocusVisible: isFocusVisible } = (0, $8nhma$useFocusRing)({\n within: true\n });\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n values: {\n state: state,\n isFocusWithin: isFocused,\n isFocusVisible: isFocusVisible,\n isDisabled: props.isDisabled || false,\n isInvalid: state.isInvalid,\n isOpen: state.isOpen\n },\n defaultClassName: 'react-aria-DateRangePicker'\n });\n let DOMProps = (0, $8nhma$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n return /*#__PURE__*/ (0, $8nhma$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n $06d5b8ec9ee5d538$export$80d7ae1f804790be,\n state\n ],\n [\n (0, $a049562f99e7db0e$export$f9c6924e160136d1),\n {\n ...groupProps,\n ref: groupRef,\n isInvalid: state.isInvalid\n }\n ],\n [\n (0, $d2b4bc8c273e7be6$export$24d547caef80ccd1),\n {\n ...buttonProps,\n isPressed: state.isOpen\n }\n ],\n [\n (0, $01b77f81d0f07f68$export$75b6ee27786ba447),\n {\n ...labelProps,\n ref: labelRef,\n elementType: 'span'\n }\n ],\n [\n (0, $dfd62f934fc76fed$export$233dd9682e1ad64b),\n calendarProps\n ],\n [\n (0, $de32f1b87079253c$export$d2f961adcb0afbe),\n state\n ],\n [\n (0, $07b14b47974efb58$export$9b9a0cd73afb7ca4),\n {\n trigger: 'DateRangePicker',\n triggerRef: groupRef,\n placement: 'bottom start',\n style: {\n '--trigger-width': groupWidth\n },\n clearContexts: $06d5b8ec9ee5d538$var$CLEAR_CONTEXTS\n }\n ],\n [\n (0, $de32f1b87079253c$export$8b93a07348a7730c),\n dialogProps\n ],\n [\n (0, $40825cdb76e74f70$export$7b3e670c86da5fe8),\n {\n slots: {\n start: startFieldProps,\n end: endFieldProps\n }\n }\n ],\n [\n (0, $514c0188e459b4c0$export$9afb8bc826b033ea),\n {\n slots: {\n description: descriptionProps,\n errorMessage: errorMessageProps\n }\n }\n ],\n [\n (0, $ee014567cb39d3f0$export$ff05c3ac10437e03),\n validation\n ]\n ]\n }, /*#__PURE__*/ (0, $8nhma$react).createElement(\"div\", {\n ...(0, $8nhma$mergeProps)(DOMProps, renderProps, focusProps),\n ref: ref,\n slot: props.slot || undefined,\n \"data-focus-within\": isFocused || undefined,\n \"data-invalid\": state.isInvalid || undefined,\n \"data-focus-visible\": isFocusVisible || undefined,\n \"data-disabled\": props.isDisabled || undefined,\n \"data-open\": state.isOpen || undefined\n }));\n});\n\n\nexport {$06d5b8ec9ee5d538$export$cf316c7f3b44c11e as DatePickerContext, $06d5b8ec9ee5d538$export$8282edba42ee28a as DateRangePickerContext, $06d5b8ec9ee5d538$export$50a10c048fdcdee9 as DatePickerStateContext, $06d5b8ec9ee5d538$export$80d7ae1f804790be as DateRangePickerStateContext, $06d5b8ec9ee5d538$export$5109c6dd95d8fb00 as DatePicker, $06d5b8ec9ee5d538$export$17334619f3ac2224 as DateRangePicker};\n//# sourceMappingURL=DatePicker.module.js.map\n"],"names":["$parcel$interopDefault","a","$6057a3d2a53a12fd$export$42df105a73306d51","props","state","ref","buttonId","$4lVjK$useId","dialogId","fieldId","stringFormatter","$4lVjK$useLocalizedStringFormatter","$4lVjK$intlStringsmodulejs","isInvalid","validationErrors","validationDetails","labelProps","fieldProps","descriptionProps","errorMessageProps","$4lVjK$useField","groupProps","$3dfb0f96be0d6a08$export$4a931266a3838b86","labelledBy","locale","$4lVjK$useLocale","date","description","descProps","$4lVjK$useDescription","ariaDescribedBy","domProps","$4lVjK$filterDOMProps","focusManager","$4lVjK$useMemo","$4lVjK$createFocusManager","isFocused","$4lVjK$useRef","focusWithinProps","$4lVjK$useFocusWithin","e","dialog","_props_onBlur","_props_onFocusChange","_props_onFocus","$4lVjK$mergeProps","$16f0b7bb276bc17e$export$300019f83c56d282","$4lVjK$privateValidationStateProp","$887cac91b7cc8801$export$12fd5f0e9f4bb192","_state_value","_state_defaultValue","_state_value1","_state_defaultValue1","_state_dateRange","$eIQ1H$useLocalizedStringFormatter","$eIQ1H$intlStringsmodulejs","$eIQ1H$useField","$eIQ1H$useLocale","range","$eIQ1H$useDescription","startFieldProps","endFieldProps","$eIQ1H$useId","$eIQ1H$useMemo","$eIQ1H$createFocusManager","element","commonFieldProps","$16f0b7bb276bc17e$export$7b3062cd49e80452","$eIQ1H$filterDOMProps","$eIQ1H$useRef","$eIQ1H$useFocusWithin","startFieldValidation","$eIQ1H$DEFAULT_VALIDATION_RESULT","endFieldValidation","_state_value_start","_state_value_end","$eIQ1H$mergeProps","start","$eIQ1H$privateValidationStateProp","$eIQ1H$mergeValidation","end","$ab5bf3f618090389$export$87194bb378cc3ac2","overlayState","$goopS$useOverlayTriggerState","value","setValue","$goopS$useControlledState","initialValue","$goopS$useState","v","granularity","defaultTimeZone","$35a22f14a1f04b11$export$2440da353cedad43","dateValue","hasTime","_props_shouldCloseOnSelect","shouldCloseOnSelect","selectedDate","setSelectedDate","selectedTime","setSelectedTime","showEra","formatOpts","$goopS$useMemo","minValue","maxValue","isDateUnavailable","builtinValidation","$35a22f14a1f04b11$export$f18627323ab57ac0","validation","$goopS$useFormValidationState","isValueInvalid","validationState","commitValue","time","$goopS$toCalendarDate","$goopS$toCalendarDateTime","selectDate","newValue","shouldClose","$35a22f14a1f04b11$export$c5221a78ef73c5e9","selectTime","_props_defaultValue","isOpen","fieldOptions","formatOptions","$35a22f14a1f04b11$export$7e319ea407e63bc0","$goopS$DateFormatter","newOptions","newFormatOptions","$93c38a5e28be6249$export$e50a61c1de9f574","_value_start","_value_end","$hac8C$useOverlayTriggerState","controlledValue","setControlledValue","$hac8C$useControlledState","$hac8C$useState","placeholderValue","setPlaceholderValue","$93c38a5e28be6249$var$isCompleteRange","dateRange","setSelectedDateRange","timeRange","setSelectedTimeRange","$hac8C$toCalendarDate","$hac8C$toCalendarDateTime","setDateRange","setTimeRange","$hac8C$useMemo","$35a22f14a1f04b11$export$80ff8fc0ae339c13","$hac8C$useFormValidationState","part","_dateRange_end","_dateRange_start","_timeRange_end","_timeRange_start","dateTime","startTimeZone","startGranularity","endTimeZone","endGranularity","startOptions","startDate","endDate","startFormatter","$hac8C$DateFormatter","endFormatter","parts","separatorIndex","i","endOptions","$06d5b8ec9ee5d538$export$cf316c7f3b44c11e","$8nhma$createContext","$06d5b8ec9ee5d538$export$8282edba42ee28a","$06d5b8ec9ee5d538$export$50a10c048fdcdee9","$06d5b8ec9ee5d538$export$80d7ae1f804790be","$06d5b8ec9ee5d538$var$CLEAR_CONTEXTS","$a049562f99e7db0e$export$f9c6924e160136d1","$d2b4bc8c273e7be6$export$24d547caef80ccd1","$01b77f81d0f07f68$export$75b6ee27786ba447","$514c0188e459b4c0$export$9afb8bc826b033ea","$06d5b8ec9ee5d538$export$5109c6dd95d8fb00","$8nhma$forwardRef","$64fa3d84918910a7$export$29f1550f4b0d4415","formValidationBehavior","$64fa3d84918910a7$export$fabf2dc03a41866e","$d3e0e05bdfcf66bd$export$c24727297075ec6a","_props_validationBehavior","_ref","validationBehavior","$8nhma$useDatePickerState","groupRef","$8nhma$useRef","labelRef","label","$64fa3d84918910a7$export$9d4c57ee4c6ffdd8","buttonProps","dialogProps","calendarProps","$8nhma$useDatePicker","$64fa3d84918910a7$export$ef03459518577ad4","groupWidth","setGroupWidth","$8nhma$useState","onResize","$8nhma$useCallback","$8nhma$useResizeObserver","focusProps","isFocusVisible","$8nhma$useFocusRing","renderProps","$64fa3d84918910a7$export$4d86445c2cf5e3","DOMProps","$8nhma$filterDOMProps","$8nhma$react","$64fa3d84918910a7$export$2881499e37b75b9a","$40825cdb76e74f70$export$7b3e670c86da5fe8","$dfd62f934fc76fed$export$3b805cea1f178355","$de32f1b87079253c$export$d2f961adcb0afbe","$07b14b47974efb58$export$9b9a0cd73afb7ca4","$de32f1b87079253c$export$8b93a07348a7730c","$ee014567cb39d3f0$export$ff05c3ac10437e03","$8nhma$mergeProps","$c699643d2073b351$export$eefa3e19139f00f3","$06d5b8ec9ee5d538$export$17334619f3ac2224","$8nhma$useDateRangePickerState","$8nhma$useDateRangePicker","$dfd62f934fc76fed$export$233dd9682e1ad64b"],"mappings":"wjCAYA,SAASA,GAAuBC,EAAG,CACjC,OAAOA,GAAKA,EAAE,WAAaA,EAAE,QAAUA,CACzC,CAqBA,SAASC,GAA0CC,EAAOC,EAAOC,EAAK,CAClE,IAAIC,EAAeC,4CAAY,EAC3BC,EAAeD,4CAAY,EAC3BE,EAAcF,4CAAY,EAC1BG,EAAsBC,6CAAyCX,GAAuBY,EAAAA,yBAA0B,EAAK,wBAAwB,EAC7I,CAAE,UAAWC,EAAW,iBAAkBC,EAAkB,kBAAmBC,GAAsBX,EAAM,kBAC3G,CAAE,WAAYY,EAAY,WAAYC,EAAY,iBAAkBC,EAAkB,kBAAmBC,CAAiB,EAASC,GAAAA,0CAAiB,CACpJ,GAAGjB,EACH,iBAAkB,OAClB,UAAWU,EACX,aAAcV,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AAM,MAC1B,EACQ,iBAAkB,4BAC1B,CAAK,EACGiN,EAAeC,EAAAA,0CAAuBnN,EAAO,CAC7C,OAAQ,EAChB,CAAK,EACD,cAAOkN,EAAS,GACSE,EAAc,cAAkBC,4CAA4C,CACjG,OAAQ,CACJ,CACIxC,GACA5K,CAChB,EACY,CACQ8K,GAAAA,0CACJ,CACI,GAAG7J,EACH,IAAK2K,EACL,UAAW5L,EAAM,SACrC,CACA,EACY,CACQ+K,GAAAA,0CACJ,CACI,GAAGkB,EACH,UAAWjM,EAAM,MACrC,CACA,EACY,CACQgL,GAAAA,0CACJ,CACI,GAAGpK,EACH,IAAKkL,EACL,YAAa,MACjC,CACA,EACY,CACQkC,GAAAA,0CACJ7B,CAChB,EACY,CACQoB,EAAAA,yCACJvN,CAChB,EACY,CACQwN,EAAAA,0CACJ,CACI,QAAS,kBACT,WAAY5B,EACZ,UAAW,eACX,MAAO,CACH,kBAAmBU,CAC3C,EACoB,cAAezB,EACnC,CACA,EACY,CACQ4C,EAAAA,0CACJvB,CAChB,EACY,CACQmB,EAAAA,0CACJ,CACI,MAAO,CACH,MAAO7J,EACP,IAAKC,CAC7B,CACA,CACA,EACY,CACQwH,GAAAA,0CACJ,CACI,MAAO,CACH,YAAanK,EACb,aAAcC,CACtC,CACA,CACA,EACY,CACQ2M,GAAAA,0CACJjH,CAChB,CACA,CACA,EAAyB0G,EAAc,cAAc,MAAO,CACpD,GAAOQ,EAAAA,0CAAmBV,EAAUF,EAAaH,CAAU,EAC3D,IAAK3M,EACL,KAAMF,EAAM,MAAQ,OACpB,oBAAqBiC,GAAa,OAClC,eAAgBhC,EAAM,WAAa,OACnC,qBAAsB6M,GAAkB,OACxC,gBAAiB9M,EAAM,YAAc,OACrC,YAAaC,EAAM,QAAU,MACrC,CAAK,CAAC,CACN,CAAC","x_google_ignoreList":[0,1,2,3,4]}
1
+ {"version":3,"file":"DatePicker-5cKqpUC9.cjs.js","sources":["../../../../node_modules/.pnpm/@react-aria+datepicker@3.15.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/datepicker/dist/useDatePicker.mjs","../../../../node_modules/.pnpm/@react-aria+datepicker@3.15.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/datepicker/dist/useDateRangePicker.mjs","../../../../node_modules/.pnpm/@react-stately+datepicker@3.15.0_react@19.1.0/node_modules/@react-stately/datepicker/dist/useDatePickerState.mjs","../../../../node_modules/.pnpm/@react-stately+datepicker@3.15.0_react@19.1.0/node_modules/@react-stately/datepicker/dist/useDateRangePickerState.mjs","../../../../node_modules/.pnpm/react-aria-components@1.11.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/DatePicker.mjs"],"sourcesContent":["import $4lVjK$intlStringsmodulejs from \"./intlStrings.mjs\";\nimport {roleSymbol as $16f0b7bb276bc17e$export$300019f83c56d282} from \"./useDateField.mjs\";\nimport {useDatePickerGroup as $3dfb0f96be0d6a08$export$4a931266a3838b86} from \"./useDatePickerGroup.mjs\";\nimport {createFocusManager as $4lVjK$createFocusManager} from \"@react-aria/focus\";\nimport {useId as $4lVjK$useId, useDescription as $4lVjK$useDescription, filterDOMProps as $4lVjK$filterDOMProps, mergeProps as $4lVjK$mergeProps} from \"@react-aria/utils\";\nimport {privateValidationStateProp as $4lVjK$privateValidationStateProp} from \"@react-stately/form\";\nimport {useField as $4lVjK$useField} from \"@react-aria/label\";\nimport {useFocusWithin as $4lVjK$useFocusWithin} from \"@react-aria/interactions\";\nimport {useLocalizedStringFormatter as $4lVjK$useLocalizedStringFormatter, useLocale as $4lVjK$useLocale} from \"@react-aria/i18n\";\nimport {useMemo as $4lVjK$useMemo, useRef as $4lVjK$useRef} from \"react\";\n\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\nfunction $6057a3d2a53a12fd$export$42df105a73306d51(props, state, ref) {\n let buttonId = (0, $4lVjK$useId)();\n let dialogId = (0, $4lVjK$useId)();\n let fieldId = (0, $4lVjK$useId)();\n let stringFormatter = (0, $4lVjK$useLocalizedStringFormatter)((0, ($parcel$interopDefault($4lVjK$intlStringsmodulejs))), '@react-aria/datepicker');\n let { isInvalid: isInvalid, validationErrors: validationErrors, validationDetails: validationDetails } = state.displayValidation;\n let { labelProps: labelProps, fieldProps: fieldProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps } = (0, $4lVjK$useField)({\n ...props,\n labelElementType: 'span',\n isInvalid: isInvalid,\n errorMessage: props.errorMessage || validationErrors\n });\n let groupProps = (0, $3dfb0f96be0d6a08$export$4a931266a3838b86)(state, ref);\n let labelledBy = fieldProps['aria-labelledby'] || fieldProps.id;\n let { locale: locale } = (0, $4lVjK$useLocale)();\n let date = state.formatValue(locale, {\n month: 'long'\n });\n let description = date ? stringFormatter.format('selectedDateDescription', {\n date: date\n }) : '';\n let descProps = (0, $4lVjK$useDescription)(description);\n let ariaDescribedBy = [\n descProps['aria-describedby'],\n fieldProps['aria-describedby']\n ].filter(Boolean).join(' ') || undefined;\n let domProps = (0, $4lVjK$filterDOMProps)(props);\n let focusManager = (0, $4lVjK$useMemo)(()=>(0, $4lVjK$createFocusManager)(ref), [\n ref\n ]);\n let isFocused = (0, $4lVjK$useRef)(false);\n let { focusWithinProps: focusWithinProps } = (0, $4lVjK$useFocusWithin)({\n ...props,\n isDisabled: state.isOpen,\n onBlurWithin: (e)=>{\n // Ignore when focus moves into the popover.\n let dialog = document.getElementById(dialogId);\n if (!(dialog === null || dialog === void 0 ? void 0 : dialog.contains(e.relatedTarget))) {\n var _props_onBlur, _props_onFocusChange;\n isFocused.current = false;\n (_props_onBlur = props.onBlur) === null || _props_onBlur === void 0 ? void 0 : _props_onBlur.call(props, e);\n (_props_onFocusChange = props.onFocusChange) === null || _props_onFocusChange === void 0 ? void 0 : _props_onFocusChange.call(props, false);\n }\n },\n onFocusWithin: (e)=>{\n if (!isFocused.current) {\n var _props_onFocus, _props_onFocusChange;\n isFocused.current = true;\n (_props_onFocus = props.onFocus) === null || _props_onFocus === void 0 ? void 0 : _props_onFocus.call(props, e);\n (_props_onFocusChange = props.onFocusChange) === null || _props_onFocusChange === void 0 ? void 0 : _props_onFocusChange.call(props, true);\n }\n }\n });\n return {\n groupProps: (0, $4lVjK$mergeProps)(domProps, groupProps, fieldProps, descProps, focusWithinProps, {\n role: 'group',\n 'aria-disabled': props.isDisabled || null,\n 'aria-labelledby': labelledBy,\n 'aria-describedby': ariaDescribedBy,\n onKeyDown (e) {\n if (state.isOpen) return;\n if (props.onKeyDown) props.onKeyDown(e);\n },\n onKeyUp (e) {\n if (state.isOpen) return;\n if (props.onKeyUp) props.onKeyUp(e);\n }\n }),\n labelProps: {\n ...labelProps,\n onClick: ()=>{\n focusManager.focusFirst();\n }\n },\n fieldProps: {\n ...fieldProps,\n id: fieldId,\n [(0, $16f0b7bb276bc17e$export$300019f83c56d282)]: 'presentation',\n 'aria-describedby': ariaDescribedBy,\n value: state.value,\n defaultValue: state.defaultValue,\n onChange: state.setValue,\n placeholderValue: props.placeholderValue,\n hideTimeZone: props.hideTimeZone,\n hourCycle: props.hourCycle,\n shouldForceLeadingZeros: props.shouldForceLeadingZeros,\n granularity: props.granularity,\n isDisabled: props.isDisabled,\n isReadOnly: props.isReadOnly,\n isRequired: props.isRequired,\n validationBehavior: props.validationBehavior,\n // DatePicker owns the validation state for the date field.\n [(0, $4lVjK$privateValidationStateProp)]: state,\n autoFocus: props.autoFocus,\n name: props.name,\n form: props.form\n },\n descriptionProps: descriptionProps,\n errorMessageProps: errorMessageProps,\n buttonProps: {\n ...descProps,\n id: buttonId,\n 'aria-haspopup': 'dialog',\n 'aria-label': stringFormatter.format('calendar'),\n 'aria-labelledby': `${buttonId} ${labelledBy}`,\n 'aria-describedby': ariaDescribedBy,\n 'aria-expanded': state.isOpen,\n isDisabled: props.isDisabled || props.isReadOnly,\n onPress: ()=>state.setOpen(true)\n },\n dialogProps: {\n id: dialogId,\n 'aria-labelledby': `${buttonId} ${labelledBy}`\n },\n calendarProps: {\n autoFocus: true,\n value: state.dateValue,\n onChange: state.setDateValue,\n minValue: props.minValue,\n maxValue: props.maxValue,\n isDisabled: props.isDisabled,\n isReadOnly: props.isReadOnly,\n isDateUnavailable: props.isDateUnavailable,\n defaultFocusedValue: state.dateValue ? undefined : props.placeholderValue,\n isInvalid: state.isInvalid,\n errorMessage: typeof props.errorMessage === 'function' ? props.errorMessage(state.displayValidation) : props.errorMessage || state.displayValidation.validationErrors.join(' ')\n },\n isInvalid: isInvalid,\n validationErrors: validationErrors,\n validationDetails: validationDetails\n };\n}\n\n\nexport {$6057a3d2a53a12fd$export$42df105a73306d51 as useDatePicker};\n//# sourceMappingURL=useDatePicker.module.js.map\n","import {focusManagerSymbol as $16f0b7bb276bc17e$export$7b3062cd49e80452, roleSymbol as $16f0b7bb276bc17e$export$300019f83c56d282} from \"./useDateField.mjs\";\nimport $eIQ1H$intlStringsmodulejs from \"./intlStrings.mjs\";\nimport {useDatePickerGroup as $3dfb0f96be0d6a08$export$4a931266a3838b86} from \"./useDatePickerGroup.mjs\";\nimport {createFocusManager as $eIQ1H$createFocusManager} from \"@react-aria/focus\";\nimport {DEFAULT_VALIDATION_RESULT as $eIQ1H$DEFAULT_VALIDATION_RESULT, privateValidationStateProp as $eIQ1H$privateValidationStateProp, mergeValidation as $eIQ1H$mergeValidation} from \"@react-stately/form\";\nimport {useDescription as $eIQ1H$useDescription, useId as $eIQ1H$useId, filterDOMProps as $eIQ1H$filterDOMProps, mergeProps as $eIQ1H$mergeProps} from \"@react-aria/utils\";\nimport {useField as $eIQ1H$useField} from \"@react-aria/label\";\nimport {useFocusWithin as $eIQ1H$useFocusWithin} from \"@react-aria/interactions\";\nimport {useLocalizedStringFormatter as $eIQ1H$useLocalizedStringFormatter, useLocale as $eIQ1H$useLocale} from \"@react-aria/i18n\";\nimport {useMemo as $eIQ1H$useMemo, useRef as $eIQ1H$useRef} from \"react\";\n\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\nfunction $887cac91b7cc8801$export$12fd5f0e9f4bb192(props, state, ref) {\n var _state_value, _state_defaultValue, _state_value1, _state_defaultValue1, _state_dateRange;\n let stringFormatter = (0, $eIQ1H$useLocalizedStringFormatter)((0, ($parcel$interopDefault($eIQ1H$intlStringsmodulejs))), '@react-aria/datepicker');\n let { isInvalid: isInvalid, validationErrors: validationErrors, validationDetails: validationDetails } = state.displayValidation;\n let { labelProps: labelProps, fieldProps: fieldProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps } = (0, $eIQ1H$useField)({\n ...props,\n labelElementType: 'span',\n isInvalid: isInvalid,\n errorMessage: props.errorMessage || validationErrors\n });\n let labelledBy = fieldProps['aria-labelledby'] || fieldProps.id;\n let { locale: locale } = (0, $eIQ1H$useLocale)();\n let range = state.formatValue(locale, {\n month: 'long'\n });\n let description = range ? stringFormatter.format('selectedRangeDescription', {\n startDate: range.start,\n endDate: range.end\n }) : '';\n let descProps = (0, $eIQ1H$useDescription)(description);\n let startFieldProps = {\n 'aria-label': stringFormatter.format('startDate'),\n 'aria-labelledby': labelledBy\n };\n let endFieldProps = {\n 'aria-label': stringFormatter.format('endDate'),\n 'aria-labelledby': labelledBy\n };\n let buttonId = (0, $eIQ1H$useId)();\n let dialogId = (0, $eIQ1H$useId)();\n let groupProps = (0, $3dfb0f96be0d6a08$export$4a931266a3838b86)(state, ref);\n let ariaDescribedBy = [\n descProps['aria-describedby'],\n fieldProps['aria-describedby']\n ].filter(Boolean).join(' ') || undefined;\n let focusManager = (0, $eIQ1H$useMemo)(()=>(0, $eIQ1H$createFocusManager)(ref, {\n // Exclude the button from the focus manager.\n accept: (element)=>element.id !== buttonId\n }), [\n ref,\n buttonId\n ]);\n let commonFieldProps = {\n [(0, $16f0b7bb276bc17e$export$7b3062cd49e80452)]: focusManager,\n [(0, $16f0b7bb276bc17e$export$300019f83c56d282)]: 'presentation',\n 'aria-describedby': ariaDescribedBy,\n placeholderValue: props.placeholderValue,\n hideTimeZone: props.hideTimeZone,\n hourCycle: props.hourCycle,\n granularity: props.granularity,\n shouldForceLeadingZeros: props.shouldForceLeadingZeros,\n isDisabled: props.isDisabled,\n isReadOnly: props.isReadOnly,\n isRequired: props.isRequired,\n validationBehavior: props.validationBehavior\n };\n let domProps = (0, $eIQ1H$filterDOMProps)(props);\n let isFocused = (0, $eIQ1H$useRef)(false);\n let { focusWithinProps: focusWithinProps } = (0, $eIQ1H$useFocusWithin)({\n ...props,\n isDisabled: state.isOpen,\n onBlurWithin: (e)=>{\n // Ignore when focus moves into the popover.\n let dialog = document.getElementById(dialogId);\n if (!(dialog === null || dialog === void 0 ? void 0 : dialog.contains(e.relatedTarget))) {\n var _props_onBlur, _props_onFocusChange;\n isFocused.current = false;\n (_props_onBlur = props.onBlur) === null || _props_onBlur === void 0 ? void 0 : _props_onBlur.call(props, e);\n (_props_onFocusChange = props.onFocusChange) === null || _props_onFocusChange === void 0 ? void 0 : _props_onFocusChange.call(props, false);\n }\n },\n onFocusWithin: (e)=>{\n if (!isFocused.current) {\n var _props_onFocus, _props_onFocusChange;\n isFocused.current = true;\n (_props_onFocus = props.onFocus) === null || _props_onFocus === void 0 ? void 0 : _props_onFocus.call(props, e);\n (_props_onFocusChange = props.onFocusChange) === null || _props_onFocusChange === void 0 ? void 0 : _props_onFocusChange.call(props, true);\n }\n }\n });\n let startFieldValidation = (0, $eIQ1H$useRef)((0, $eIQ1H$DEFAULT_VALIDATION_RESULT));\n let endFieldValidation = (0, $eIQ1H$useRef)((0, $eIQ1H$DEFAULT_VALIDATION_RESULT));\n var _state_value_start, _state_value_end;\n return {\n groupProps: (0, $eIQ1H$mergeProps)(domProps, groupProps, fieldProps, descProps, focusWithinProps, {\n role: 'group',\n 'aria-disabled': props.isDisabled || null,\n 'aria-describedby': ariaDescribedBy,\n onKeyDown (e) {\n if (state.isOpen) return;\n if (props.onKeyDown) props.onKeyDown(e);\n },\n onKeyUp (e) {\n if (state.isOpen) return;\n if (props.onKeyUp) props.onKeyUp(e);\n }\n }),\n labelProps: {\n ...labelProps,\n onClick: ()=>{\n focusManager.focusFirst();\n }\n },\n buttonProps: {\n ...descProps,\n id: buttonId,\n 'aria-haspopup': 'dialog',\n 'aria-label': stringFormatter.format('calendar'),\n 'aria-labelledby': `${buttonId} ${labelledBy}`,\n 'aria-describedby': ariaDescribedBy,\n 'aria-expanded': state.isOpen,\n isDisabled: props.isDisabled || props.isReadOnly,\n onPress: ()=>state.setOpen(true)\n },\n dialogProps: {\n id: dialogId,\n 'aria-labelledby': `${buttonId} ${labelledBy}`\n },\n startFieldProps: {\n ...startFieldProps,\n ...commonFieldProps,\n value: (_state_value_start = (_state_value = state.value) === null || _state_value === void 0 ? void 0 : _state_value.start) !== null && _state_value_start !== void 0 ? _state_value_start : null,\n defaultValue: (_state_defaultValue = state.defaultValue) === null || _state_defaultValue === void 0 ? void 0 : _state_defaultValue.start,\n onChange: (start)=>state.setDateTime('start', start),\n autoFocus: props.autoFocus,\n name: props.startName,\n form: props.form,\n [(0, $eIQ1H$privateValidationStateProp)]: {\n realtimeValidation: state.realtimeValidation,\n displayValidation: state.displayValidation,\n updateValidation (e) {\n startFieldValidation.current = e;\n state.updateValidation((0, $eIQ1H$mergeValidation)(e, endFieldValidation.current));\n },\n resetValidation: state.resetValidation,\n commitValidation: state.commitValidation\n }\n },\n endFieldProps: {\n ...endFieldProps,\n ...commonFieldProps,\n value: (_state_value_end = (_state_value1 = state.value) === null || _state_value1 === void 0 ? void 0 : _state_value1.end) !== null && _state_value_end !== void 0 ? _state_value_end : null,\n defaultValue: (_state_defaultValue1 = state.defaultValue) === null || _state_defaultValue1 === void 0 ? void 0 : _state_defaultValue1.end,\n onChange: (end)=>state.setDateTime('end', end),\n name: props.endName,\n form: props.form,\n [(0, $eIQ1H$privateValidationStateProp)]: {\n realtimeValidation: state.realtimeValidation,\n displayValidation: state.displayValidation,\n updateValidation (e) {\n endFieldValidation.current = e;\n state.updateValidation((0, $eIQ1H$mergeValidation)(startFieldValidation.current, e));\n },\n resetValidation: state.resetValidation,\n commitValidation: state.commitValidation\n }\n },\n descriptionProps: descriptionProps,\n errorMessageProps: errorMessageProps,\n calendarProps: {\n autoFocus: true,\n value: ((_state_dateRange = state.dateRange) === null || _state_dateRange === void 0 ? void 0 : _state_dateRange.start) && state.dateRange.end ? state.dateRange : null,\n onChange: state.setDateRange,\n minValue: props.minValue,\n maxValue: props.maxValue,\n isDisabled: props.isDisabled,\n isReadOnly: props.isReadOnly,\n isDateUnavailable: props.isDateUnavailable,\n allowsNonContiguousRanges: props.allowsNonContiguousRanges,\n defaultFocusedValue: state.dateRange ? undefined : props.placeholderValue,\n isInvalid: state.isInvalid,\n errorMessage: typeof props.errorMessage === 'function' ? props.errorMessage(state.displayValidation) : props.errorMessage || state.displayValidation.validationErrors.join(' ')\n },\n isInvalid: isInvalid,\n validationErrors: validationErrors,\n validationDetails: validationDetails\n };\n}\n\n\nexport {$887cac91b7cc8801$export$12fd5f0e9f4bb192 as useDateRangePicker};\n//# sourceMappingURL=useDateRangePicker.module.js.map\n","import {getFormatOptions as $35a22f14a1f04b11$export$7e319ea407e63bc0, getPlaceholderTime as $35a22f14a1f04b11$export$c5221a78ef73c5e9, getValidationResult as $35a22f14a1f04b11$export$f18627323ab57ac0, useDefaultProps as $35a22f14a1f04b11$export$2440da353cedad43} from \"./utils.mjs\";\nimport {toCalendarDate as $goopS$toCalendarDate, toCalendarDateTime as $goopS$toCalendarDateTime, DateFormatter as $goopS$DateFormatter} from \"@internationalized/date\";\nimport {useFormValidationState as $goopS$useFormValidationState} from \"@react-stately/form\";\nimport {useOverlayTriggerState as $goopS$useOverlayTriggerState} from \"@react-stately/overlays\";\nimport {useControlledState as $goopS$useControlledState} from \"@react-stately/utils\";\nimport {useState as $goopS$useState, useMemo as $goopS$useMemo} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\nfunction $ab5bf3f618090389$export$87194bb378cc3ac2(props) {\n let overlayState = (0, $goopS$useOverlayTriggerState)(props);\n let [value, setValue] = (0, $goopS$useControlledState)(props.value, props.defaultValue || null, props.onChange);\n let [initialValue] = (0, $goopS$useState)(value);\n let v = value || props.placeholderValue || null;\n let [granularity, defaultTimeZone] = (0, $35a22f14a1f04b11$export$2440da353cedad43)(v, props.granularity);\n let dateValue = value != null ? value.toDate(defaultTimeZone !== null && defaultTimeZone !== void 0 ? defaultTimeZone : 'UTC') : null;\n let hasTime = granularity === 'hour' || granularity === 'minute' || granularity === 'second';\n var _props_shouldCloseOnSelect;\n let shouldCloseOnSelect = (_props_shouldCloseOnSelect = props.shouldCloseOnSelect) !== null && _props_shouldCloseOnSelect !== void 0 ? _props_shouldCloseOnSelect : true;\n let [selectedDate, setSelectedDate] = (0, $goopS$useState)(null);\n let [selectedTime, setSelectedTime] = (0, $goopS$useState)(null);\n if (value) {\n selectedDate = value;\n if ('hour' in value) selectedTime = value;\n }\n // props.granularity must actually exist in the value if one is provided.\n if (v && !(granularity in v)) throw new Error('Invalid granularity ' + granularity + ' for value ' + v.toString());\n let showEra = (value === null || value === void 0 ? void 0 : value.calendar.identifier) === 'gregory' && value.era === 'BC';\n let formatOpts = (0, $goopS$useMemo)(()=>({\n granularity: granularity,\n timeZone: defaultTimeZone,\n hideTimeZone: props.hideTimeZone,\n hourCycle: props.hourCycle,\n shouldForceLeadingZeros: props.shouldForceLeadingZeros,\n showEra: showEra\n }), [\n granularity,\n props.hourCycle,\n props.shouldForceLeadingZeros,\n defaultTimeZone,\n props.hideTimeZone,\n showEra\n ]);\n let { minValue: minValue, maxValue: maxValue, isDateUnavailable: isDateUnavailable } = props;\n let builtinValidation = (0, $goopS$useMemo)(()=>(0, $35a22f14a1f04b11$export$f18627323ab57ac0)(value, minValue, maxValue, isDateUnavailable, formatOpts), [\n value,\n minValue,\n maxValue,\n isDateUnavailable,\n formatOpts\n ]);\n let validation = (0, $goopS$useFormValidationState)({\n ...props,\n value: value,\n builtinValidation: builtinValidation\n });\n let isValueInvalid = validation.displayValidation.isInvalid;\n let validationState = props.validationState || (isValueInvalid ? 'invalid' : null);\n let commitValue = (date, time)=>{\n setValue('timeZone' in time ? time.set((0, $goopS$toCalendarDate)(date)) : (0, $goopS$toCalendarDateTime)(date, time));\n setSelectedDate(null);\n setSelectedTime(null);\n validation.commitValidation();\n };\n // Intercept setValue to make sure the Time section is not changed by date selection in Calendar\n let selectDate = (newValue)=>{\n let shouldClose = typeof shouldCloseOnSelect === 'function' ? shouldCloseOnSelect() : shouldCloseOnSelect;\n if (hasTime) {\n if (selectedTime || shouldClose) commitValue(newValue, selectedTime || (0, $35a22f14a1f04b11$export$c5221a78ef73c5e9)(props.defaultValue || props.placeholderValue));\n else setSelectedDate(newValue);\n } else {\n setValue(newValue);\n validation.commitValidation();\n }\n if (shouldClose) overlayState.setOpen(false);\n };\n let selectTime = (newValue)=>{\n if (selectedDate && newValue) commitValue(selectedDate, newValue);\n else setSelectedTime(newValue);\n };\n var _props_defaultValue;\n return {\n ...validation,\n value: value,\n defaultValue: (_props_defaultValue = props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : initialValue,\n setValue: setValue,\n dateValue: selectedDate,\n timeValue: selectedTime,\n setDateValue: selectDate,\n setTimeValue: selectTime,\n granularity: granularity,\n hasTime: hasTime,\n ...overlayState,\n setOpen (isOpen) {\n // Commit the selected date when the calendar is closed. Use a placeholder time if one wasn't set.\n // If only the time was set and not the date, don't commit. The state will be preserved until\n // the user opens the popover again.\n if (!isOpen && !value && selectedDate && hasTime) commitValue(selectedDate, selectedTime || (0, $35a22f14a1f04b11$export$c5221a78ef73c5e9)(props.defaultValue || props.placeholderValue));\n overlayState.setOpen(isOpen);\n },\n validationState: validationState,\n isInvalid: isValueInvalid,\n formatValue (locale, fieldOptions) {\n if (!dateValue) return '';\n let formatOptions = (0, $35a22f14a1f04b11$export$7e319ea407e63bc0)(fieldOptions, formatOpts);\n let formatter = new (0, $goopS$DateFormatter)(locale, formatOptions);\n return formatter.format(dateValue);\n },\n getDateFormatter (locale, formatOptions) {\n let newOptions = {\n ...formatOpts,\n ...formatOptions\n };\n let newFormatOptions = (0, $35a22f14a1f04b11$export$7e319ea407e63bc0)({}, newOptions);\n return new (0, $goopS$DateFormatter)(locale, newFormatOptions);\n }\n };\n}\n\n\nexport {$ab5bf3f618090389$export$87194bb378cc3ac2 as useDatePickerState};\n//# sourceMappingURL=useDatePickerState.module.js.map\n","import {getFormatOptions as $35a22f14a1f04b11$export$7e319ea407e63bc0, getPlaceholderTime as $35a22f14a1f04b11$export$c5221a78ef73c5e9, getRangeValidationResult as $35a22f14a1f04b11$export$80ff8fc0ae339c13, useDefaultProps as $35a22f14a1f04b11$export$2440da353cedad43} from \"./utils.mjs\";\nimport {toCalendarDate as $hac8C$toCalendarDate, toCalendarDateTime as $hac8C$toCalendarDateTime, DateFormatter as $hac8C$DateFormatter} from \"@internationalized/date\";\nimport {useFormValidationState as $hac8C$useFormValidationState} from \"@react-stately/form\";\nimport {useOverlayTriggerState as $hac8C$useOverlayTriggerState} from \"@react-stately/overlays\";\nimport {useControlledState as $hac8C$useControlledState} from \"@react-stately/utils\";\nimport {useState as $hac8C$useState, useMemo as $hac8C$useMemo} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\nfunction $93c38a5e28be6249$export$e50a61c1de9f574(props) {\n var _value_start, _value_end;\n let overlayState = (0, $hac8C$useOverlayTriggerState)(props);\n let [controlledValue, setControlledValue] = (0, $hac8C$useControlledState)(props.value, props.defaultValue || null, props.onChange);\n let [initialValue] = (0, $hac8C$useState)(controlledValue);\n let [placeholderValue, setPlaceholderValue] = (0, $hac8C$useState)(()=>controlledValue || {\n start: null,\n end: null\n });\n // Reset the placeholder if the value prop is set to null.\n if (controlledValue == null && placeholderValue.start && placeholderValue.end) {\n placeholderValue = {\n start: null,\n end: null\n };\n setPlaceholderValue(placeholderValue);\n }\n let value = controlledValue || placeholderValue;\n let setValue = (newValue)=>{\n value = newValue || {\n start: null,\n end: null\n };\n setPlaceholderValue(value);\n if ($93c38a5e28be6249$var$isCompleteRange(value)) setControlledValue(value);\n else setControlledValue(null);\n };\n let v = (value === null || value === void 0 ? void 0 : value.start) || (value === null || value === void 0 ? void 0 : value.end) || props.placeholderValue || null;\n let [granularity, defaultTimeZone] = (0, $35a22f14a1f04b11$export$2440da353cedad43)(v, props.granularity);\n let hasTime = granularity === 'hour' || granularity === 'minute' || granularity === 'second';\n var _props_shouldCloseOnSelect;\n let shouldCloseOnSelect = (_props_shouldCloseOnSelect = props.shouldCloseOnSelect) !== null && _props_shouldCloseOnSelect !== void 0 ? _props_shouldCloseOnSelect : true;\n let [dateRange, setSelectedDateRange] = (0, $hac8C$useState)(null);\n let [timeRange, setSelectedTimeRange] = (0, $hac8C$useState)(null);\n if (value && $93c38a5e28be6249$var$isCompleteRange(value)) {\n dateRange = value;\n if ('hour' in value.start) timeRange = value;\n }\n let commitValue = (dateRange, timeRange)=>{\n setValue({\n start: 'timeZone' in timeRange.start ? timeRange.start.set((0, $hac8C$toCalendarDate)(dateRange.start)) : (0, $hac8C$toCalendarDateTime)(dateRange.start, timeRange.start),\n end: 'timeZone' in timeRange.end ? timeRange.end.set((0, $hac8C$toCalendarDate)(dateRange.end)) : (0, $hac8C$toCalendarDateTime)(dateRange.end, timeRange.end)\n });\n setSelectedDateRange(null);\n setSelectedTimeRange(null);\n validation.commitValidation();\n };\n // Intercept setValue to make sure the Time section is not changed by date selection in Calendar\n let setDateRange = (range)=>{\n let shouldClose = typeof shouldCloseOnSelect === 'function' ? shouldCloseOnSelect() : shouldCloseOnSelect;\n if (hasTime) {\n // Set a placeholder time if the popover is closing so we don't leave the field in an incomplete state.\n if ($93c38a5e28be6249$var$isCompleteRange(range) && (shouldClose || (timeRange === null || timeRange === void 0 ? void 0 : timeRange.start) && (timeRange === null || timeRange === void 0 ? void 0 : timeRange.end))) commitValue(range, {\n start: (timeRange === null || timeRange === void 0 ? void 0 : timeRange.start) || (0, $35a22f14a1f04b11$export$c5221a78ef73c5e9)(props.placeholderValue),\n end: (timeRange === null || timeRange === void 0 ? void 0 : timeRange.end) || (0, $35a22f14a1f04b11$export$c5221a78ef73c5e9)(props.placeholderValue)\n });\n else setSelectedDateRange(range);\n } else if ($93c38a5e28be6249$var$isCompleteRange(range)) {\n setValue(range);\n validation.commitValidation();\n } else setSelectedDateRange(range);\n if (shouldClose) overlayState.setOpen(false);\n };\n let setTimeRange = (range)=>{\n if ($93c38a5e28be6249$var$isCompleteRange(dateRange) && $93c38a5e28be6249$var$isCompleteRange(range)) commitValue(dateRange, range);\n else setSelectedTimeRange(range);\n };\n let showEra = (value === null || value === void 0 ? void 0 : (_value_start = value.start) === null || _value_start === void 0 ? void 0 : _value_start.calendar.identifier) === 'gregory' && value.start.era === 'BC' || (value === null || value === void 0 ? void 0 : (_value_end = value.end) === null || _value_end === void 0 ? void 0 : _value_end.calendar.identifier) === 'gregory' && value.end.era === 'BC';\n let formatOpts = (0, $hac8C$useMemo)(()=>({\n granularity: granularity,\n timeZone: defaultTimeZone,\n hideTimeZone: props.hideTimeZone,\n hourCycle: props.hourCycle,\n shouldForceLeadingZeros: props.shouldForceLeadingZeros,\n showEra: showEra\n }), [\n granularity,\n props.hourCycle,\n props.shouldForceLeadingZeros,\n defaultTimeZone,\n props.hideTimeZone,\n showEra\n ]);\n let { minValue: minValue, maxValue: maxValue, isDateUnavailable: isDateUnavailable } = props;\n let builtinValidation = (0, $hac8C$useMemo)(()=>(0, $35a22f14a1f04b11$export$80ff8fc0ae339c13)(value, minValue, maxValue, isDateUnavailable, formatOpts), [\n value,\n minValue,\n maxValue,\n isDateUnavailable,\n formatOpts\n ]);\n let validation = (0, $hac8C$useFormValidationState)({\n ...props,\n value: controlledValue,\n name: (0, $hac8C$useMemo)(()=>[\n props.startName,\n props.endName\n ].filter((n)=>n != null), [\n props.startName,\n props.endName\n ]),\n builtinValidation: builtinValidation\n });\n let isValueInvalid = validation.displayValidation.isInvalid;\n let validationState = props.validationState || (isValueInvalid ? 'invalid' : null);\n var _props_defaultValue;\n return {\n ...validation,\n value: value,\n defaultValue: (_props_defaultValue = props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : initialValue,\n setValue: setValue,\n dateRange: dateRange,\n timeRange: timeRange,\n granularity: granularity,\n hasTime: hasTime,\n setDate (part, date) {\n var _dateRange_end, _dateRange_start;\n if (part === 'start') setDateRange({\n start: date,\n end: (_dateRange_end = dateRange === null || dateRange === void 0 ? void 0 : dateRange.end) !== null && _dateRange_end !== void 0 ? _dateRange_end : null\n });\n else setDateRange({\n start: (_dateRange_start = dateRange === null || dateRange === void 0 ? void 0 : dateRange.start) !== null && _dateRange_start !== void 0 ? _dateRange_start : null,\n end: date\n });\n },\n setTime (part, time) {\n var _timeRange_end, _timeRange_start;\n if (part === 'start') setTimeRange({\n start: time,\n end: (_timeRange_end = timeRange === null || timeRange === void 0 ? void 0 : timeRange.end) !== null && _timeRange_end !== void 0 ? _timeRange_end : null\n });\n else setTimeRange({\n start: (_timeRange_start = timeRange === null || timeRange === void 0 ? void 0 : timeRange.start) !== null && _timeRange_start !== void 0 ? _timeRange_start : null,\n end: time\n });\n },\n setDateTime (part, dateTime) {\n var _value_end, _value_start;\n if (part === 'start') setValue({\n start: dateTime,\n end: (_value_end = value === null || value === void 0 ? void 0 : value.end) !== null && _value_end !== void 0 ? _value_end : null\n });\n else setValue({\n start: (_value_start = value === null || value === void 0 ? void 0 : value.start) !== null && _value_start !== void 0 ? _value_start : null,\n end: dateTime\n });\n },\n setDateRange: setDateRange,\n setTimeRange: setTimeRange,\n ...overlayState,\n setOpen (isOpen) {\n // Commit the selected date range when the calendar is closed. Use a placeholder time if one wasn't set.\n // If only the time range was set and not the date range, don't commit. The state will be preserved until\n // the user opens the popover again.\n if (!isOpen && !((value === null || value === void 0 ? void 0 : value.start) && (value === null || value === void 0 ? void 0 : value.end)) && $93c38a5e28be6249$var$isCompleteRange(dateRange) && hasTime) commitValue(dateRange, {\n start: (timeRange === null || timeRange === void 0 ? void 0 : timeRange.start) || (0, $35a22f14a1f04b11$export$c5221a78ef73c5e9)(props.placeholderValue),\n end: (timeRange === null || timeRange === void 0 ? void 0 : timeRange.end) || (0, $35a22f14a1f04b11$export$c5221a78ef73c5e9)(props.placeholderValue)\n });\n overlayState.setOpen(isOpen);\n },\n validationState: validationState,\n isInvalid: isValueInvalid,\n formatValue (locale, fieldOptions) {\n if (!value || !value.start || !value.end) return null;\n let startTimeZone = 'timeZone' in value.start ? value.start.timeZone : undefined;\n let startGranularity = props.granularity || (value.start && 'minute' in value.start ? 'minute' : 'day');\n let endTimeZone = 'timeZone' in value.end ? value.end.timeZone : undefined;\n let endGranularity = props.granularity || (value.end && 'minute' in value.end ? 'minute' : 'day');\n let startOptions = (0, $35a22f14a1f04b11$export$7e319ea407e63bc0)(fieldOptions, {\n granularity: startGranularity,\n timeZone: startTimeZone,\n hideTimeZone: props.hideTimeZone,\n hourCycle: props.hourCycle,\n showEra: value.start.calendar.identifier === 'gregory' && value.start.era === 'BC' || value.end.calendar.identifier === 'gregory' && value.end.era === 'BC'\n });\n let startDate = value.start.toDate(startTimeZone || 'UTC');\n let endDate = value.end.toDate(endTimeZone || 'UTC');\n let startFormatter = new (0, $hac8C$DateFormatter)(locale, startOptions);\n let endFormatter;\n if (startTimeZone === endTimeZone && startGranularity === endGranularity && value.start.compare(value.end) !== 0) {\n // Use formatRange, as it results in shorter output when some of the fields\n // are shared between the start and end dates (e.g. the same month).\n // Formatting will fail if the end date is before the start date. Fall back below when that happens.\n try {\n let parts = startFormatter.formatRangeToParts(startDate, endDate);\n // Find the separator between the start and end date. This is determined\n // by finding the last shared literal before the end range.\n let separatorIndex = -1;\n for(let i = 0; i < parts.length; i++){\n let part = parts[i];\n if (part.source === 'shared' && part.type === 'literal') separatorIndex = i;\n else if (part.source === 'endRange') break;\n }\n // Now we can combine the parts into start and end strings.\n let start = '';\n let end = '';\n for(let i = 0; i < parts.length; i++){\n if (i < separatorIndex) start += parts[i].value;\n else if (i > separatorIndex) end += parts[i].value;\n }\n return {\n start: start,\n end: end\n };\n } catch {\n // ignore\n }\n endFormatter = startFormatter;\n } else {\n let endOptions = (0, $35a22f14a1f04b11$export$7e319ea407e63bc0)(fieldOptions, {\n granularity: endGranularity,\n timeZone: endTimeZone,\n hideTimeZone: props.hideTimeZone,\n hourCycle: props.hourCycle\n });\n endFormatter = new (0, $hac8C$DateFormatter)(locale, endOptions);\n }\n return {\n start: startFormatter.format(startDate),\n end: endFormatter.format(endDate)\n };\n },\n getDateFormatter (locale, formatOptions) {\n let newOptions = {\n ...formatOpts,\n ...formatOptions\n };\n let newFormatOptions = (0, $35a22f14a1f04b11$export$7e319ea407e63bc0)({}, newOptions);\n return new (0, $hac8C$DateFormatter)(locale, newFormatOptions);\n }\n };\n}\nfunction $93c38a5e28be6249$var$isCompleteRange(value) {\n return (value === null || value === void 0 ? void 0 : value.start) != null && value.end != null;\n}\n\n\nexport {$93c38a5e28be6249$export$e50a61c1de9f574 as useDateRangePickerState};\n//# sourceMappingURL=useDateRangePickerState.module.js.map\n","import {ButtonContext as $d2b4bc8c273e7be6$export$24d547caef80ccd1} from \"./Button.mjs\";\nimport {CalendarContext as $dfd62f934fc76fed$export$3b805cea1f178355, RangeCalendarContext as $dfd62f934fc76fed$export$233dd9682e1ad64b} from \"./Calendar.mjs\";\nimport {Provider as $64fa3d84918910a7$export$2881499e37b75b9a, removeDataAttributes as $64fa3d84918910a7$export$ef03459518577ad4, useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3, useSlot as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, useSlottedContext as $64fa3d84918910a7$export$fabf2dc03a41866e} from \"./utils.mjs\";\nimport {DateFieldContext as $40825cdb76e74f70$export$7b3e670c86da5fe8} from \"./DateField.mjs\";\nimport {DialogContext as $de32f1b87079253c$export$8b93a07348a7730c, OverlayTriggerStateContext as $de32f1b87079253c$export$d2f961adcb0afbe} from \"./Dialog.mjs\";\nimport {FieldErrorContext as $ee014567cb39d3f0$export$ff05c3ac10437e03} from \"./FieldError.mjs\";\nimport {FormContext as $d3e0e05bdfcf66bd$export$c24727297075ec6a} from \"./Form.mjs\";\nimport {GroupContext as $a049562f99e7db0e$export$f9c6924e160136d1} from \"./Group.mjs\";\nimport {HiddenDateInput as $c699643d2073b351$export$eefa3e19139f00f3} from \"./HiddenDateInput.mjs\";\nimport {LabelContext as $01b77f81d0f07f68$export$75b6ee27786ba447} from \"./Label.mjs\";\nimport {PopoverContext as $07b14b47974efb58$export$9b9a0cd73afb7ca4} from \"./Popover.mjs\";\nimport {TextContext as $514c0188e459b4c0$export$9afb8bc826b033ea} from \"./Text.mjs\";\nimport {useDatePicker as $8nhma$useDatePicker, useFocusRing as $8nhma$useFocusRing, useDateRangePicker as $8nhma$useDateRangePicker} from \"react-aria\";\nimport {useDatePickerState as $8nhma$useDatePickerState, useDateRangePickerState as $8nhma$useDateRangePickerState} from \"react-stately\";\nimport {useResizeObserver as $8nhma$useResizeObserver, filterDOMProps as $8nhma$filterDOMProps, mergeProps as $8nhma$mergeProps} from \"@react-aria/utils\";\nimport $8nhma$react, {createContext as $8nhma$createContext, forwardRef as $8nhma$forwardRef, useRef as $8nhma$useRef, useState as $8nhma$useState, useCallback as $8nhma$useCallback} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nconst $06d5b8ec9ee5d538$export$cf316c7f3b44c11e = /*#__PURE__*/ (0, $8nhma$createContext)(null);\nconst $06d5b8ec9ee5d538$export$8282edba42ee28a = /*#__PURE__*/ (0, $8nhma$createContext)(null);\nconst $06d5b8ec9ee5d538$export$50a10c048fdcdee9 = /*#__PURE__*/ (0, $8nhma$createContext)(null);\nconst $06d5b8ec9ee5d538$export$80d7ae1f804790be = /*#__PURE__*/ (0, $8nhma$createContext)(null);\n// Contexts to clear inside the popover.\nconst $06d5b8ec9ee5d538$var$CLEAR_CONTEXTS = [\n (0, $a049562f99e7db0e$export$f9c6924e160136d1),\n (0, $d2b4bc8c273e7be6$export$24d547caef80ccd1),\n (0, $01b77f81d0f07f68$export$75b6ee27786ba447),\n (0, $514c0188e459b4c0$export$9afb8bc826b033ea)\n];\nconst $06d5b8ec9ee5d538$export$5109c6dd95d8fb00 = /*#__PURE__*/ (0, $8nhma$forwardRef)(function DatePicker(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $06d5b8ec9ee5d538$export$cf316c7f3b44c11e);\n let { validationBehavior: formValidationBehavior } = (0, $64fa3d84918910a7$export$fabf2dc03a41866e)((0, $d3e0e05bdfcf66bd$export$c24727297075ec6a)) || {};\n var _props_validationBehavior, _ref;\n let validationBehavior = (_ref = (_props_validationBehavior = props.validationBehavior) !== null && _props_validationBehavior !== void 0 ? _props_validationBehavior : formValidationBehavior) !== null && _ref !== void 0 ? _ref : 'native';\n let state = (0, $8nhma$useDatePickerState)({\n ...props,\n validationBehavior: validationBehavior\n });\n let groupRef = (0, $8nhma$useRef)(null);\n let [labelRef, label] = (0, $64fa3d84918910a7$export$9d4c57ee4c6ffdd8)(!props['aria-label'] && !props['aria-labelledby']);\n let { groupProps: groupProps, labelProps: labelProps, fieldProps: fieldProps, buttonProps: buttonProps, dialogProps: dialogProps, calendarProps: calendarProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps, ...validation } = (0, $8nhma$useDatePicker)({\n ...(0, $64fa3d84918910a7$export$ef03459518577ad4)(props),\n label: label,\n validationBehavior: validationBehavior\n }, state, groupRef);\n // Allows calendar width to match input group\n let [groupWidth, setGroupWidth] = (0, $8nhma$useState)(null);\n let onResize = (0, $8nhma$useCallback)(()=>{\n if (groupRef.current) setGroupWidth(groupRef.current.offsetWidth + 'px');\n }, []);\n (0, $8nhma$useResizeObserver)({\n ref: groupRef,\n onResize: onResize\n });\n let { focusProps: focusProps, isFocused: isFocused, isFocusVisible: isFocusVisible } = (0, $8nhma$useFocusRing)({\n within: true\n });\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n values: {\n state: state,\n isFocusWithin: isFocused,\n isFocusVisible: isFocusVisible,\n isDisabled: props.isDisabled || false,\n isInvalid: state.isInvalid,\n isOpen: state.isOpen\n },\n defaultClassName: 'react-aria-DatePicker'\n });\n let DOMProps = (0, $8nhma$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n return /*#__PURE__*/ (0, $8nhma$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n $06d5b8ec9ee5d538$export$50a10c048fdcdee9,\n state\n ],\n [\n (0, $a049562f99e7db0e$export$f9c6924e160136d1),\n {\n ...groupProps,\n ref: groupRef,\n isInvalid: state.isInvalid\n }\n ],\n [\n (0, $40825cdb76e74f70$export$7b3e670c86da5fe8),\n fieldProps\n ],\n [\n (0, $d2b4bc8c273e7be6$export$24d547caef80ccd1),\n {\n ...buttonProps,\n isPressed: state.isOpen\n }\n ],\n [\n (0, $01b77f81d0f07f68$export$75b6ee27786ba447),\n {\n ...labelProps,\n ref: labelRef,\n elementType: 'span'\n }\n ],\n [\n (0, $dfd62f934fc76fed$export$3b805cea1f178355),\n calendarProps\n ],\n [\n (0, $de32f1b87079253c$export$d2f961adcb0afbe),\n state\n ],\n [\n (0, $07b14b47974efb58$export$9b9a0cd73afb7ca4),\n {\n trigger: 'DatePicker',\n triggerRef: groupRef,\n placement: 'bottom start',\n style: {\n '--trigger-width': groupWidth\n },\n clearContexts: $06d5b8ec9ee5d538$var$CLEAR_CONTEXTS\n }\n ],\n [\n (0, $de32f1b87079253c$export$8b93a07348a7730c),\n dialogProps\n ],\n [\n (0, $514c0188e459b4c0$export$9afb8bc826b033ea),\n {\n slots: {\n description: descriptionProps,\n errorMessage: errorMessageProps\n }\n }\n ],\n [\n (0, $ee014567cb39d3f0$export$ff05c3ac10437e03),\n validation\n ]\n ]\n }, /*#__PURE__*/ (0, $8nhma$react).createElement(\"div\", {\n ...(0, $8nhma$mergeProps)(DOMProps, renderProps, focusProps),\n ref: ref,\n slot: props.slot || undefined,\n \"data-focus-within\": isFocused || undefined,\n \"data-invalid\": state.isInvalid || undefined,\n \"data-focus-visible\": isFocusVisible || undefined,\n \"data-disabled\": props.isDisabled || undefined,\n \"data-open\": state.isOpen || undefined\n }), /*#__PURE__*/ (0, $8nhma$react).createElement((0, $c699643d2073b351$export$eefa3e19139f00f3), {\n autoComplete: props.autoComplete,\n name: props.name,\n isDisabled: props.isDisabled,\n state: state\n }));\n});\nconst $06d5b8ec9ee5d538$export$17334619f3ac2224 = /*#__PURE__*/ (0, $8nhma$forwardRef)(function DateRangePicker(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $06d5b8ec9ee5d538$export$8282edba42ee28a);\n let { validationBehavior: formValidationBehavior } = (0, $64fa3d84918910a7$export$fabf2dc03a41866e)((0, $d3e0e05bdfcf66bd$export$c24727297075ec6a)) || {};\n var _props_validationBehavior, _ref;\n let validationBehavior = (_ref = (_props_validationBehavior = props.validationBehavior) !== null && _props_validationBehavior !== void 0 ? _props_validationBehavior : formValidationBehavior) !== null && _ref !== void 0 ? _ref : 'native';\n let state = (0, $8nhma$useDateRangePickerState)({\n ...props,\n validationBehavior: validationBehavior\n });\n let groupRef = (0, $8nhma$useRef)(null);\n let [labelRef, label] = (0, $64fa3d84918910a7$export$9d4c57ee4c6ffdd8)(!props['aria-label'] && !props['aria-labelledby']);\n let { groupProps: groupProps, labelProps: labelProps, startFieldProps: startFieldProps, endFieldProps: endFieldProps, buttonProps: buttonProps, dialogProps: dialogProps, calendarProps: calendarProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps, ...validation } = (0, $8nhma$useDateRangePicker)({\n ...(0, $64fa3d84918910a7$export$ef03459518577ad4)(props),\n label: label,\n validationBehavior: validationBehavior\n }, state, groupRef);\n // Allows calendar width to match input group\n let [groupWidth, setGroupWidth] = (0, $8nhma$useState)(null);\n let onResize = (0, $8nhma$useCallback)(()=>{\n if (groupRef.current) setGroupWidth(groupRef.current.offsetWidth + 'px');\n }, []);\n (0, $8nhma$useResizeObserver)({\n ref: groupRef,\n onResize: onResize\n });\n let { focusProps: focusProps, isFocused: isFocused, isFocusVisible: isFocusVisible } = (0, $8nhma$useFocusRing)({\n within: true\n });\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n values: {\n state: state,\n isFocusWithin: isFocused,\n isFocusVisible: isFocusVisible,\n isDisabled: props.isDisabled || false,\n isInvalid: state.isInvalid,\n isOpen: state.isOpen\n },\n defaultClassName: 'react-aria-DateRangePicker'\n });\n let DOMProps = (0, $8nhma$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n return /*#__PURE__*/ (0, $8nhma$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n $06d5b8ec9ee5d538$export$80d7ae1f804790be,\n state\n ],\n [\n (0, $a049562f99e7db0e$export$f9c6924e160136d1),\n {\n ...groupProps,\n ref: groupRef,\n isInvalid: state.isInvalid\n }\n ],\n [\n (0, $d2b4bc8c273e7be6$export$24d547caef80ccd1),\n {\n ...buttonProps,\n isPressed: state.isOpen\n }\n ],\n [\n (0, $01b77f81d0f07f68$export$75b6ee27786ba447),\n {\n ...labelProps,\n ref: labelRef,\n elementType: 'span'\n }\n ],\n [\n (0, $dfd62f934fc76fed$export$233dd9682e1ad64b),\n calendarProps\n ],\n [\n (0, $de32f1b87079253c$export$d2f961adcb0afbe),\n state\n ],\n [\n (0, $07b14b47974efb58$export$9b9a0cd73afb7ca4),\n {\n trigger: 'DateRangePicker',\n triggerRef: groupRef,\n placement: 'bottom start',\n style: {\n '--trigger-width': groupWidth\n },\n clearContexts: $06d5b8ec9ee5d538$var$CLEAR_CONTEXTS\n }\n ],\n [\n (0, $de32f1b87079253c$export$8b93a07348a7730c),\n dialogProps\n ],\n [\n (0, $40825cdb76e74f70$export$7b3e670c86da5fe8),\n {\n slots: {\n start: startFieldProps,\n end: endFieldProps\n }\n }\n ],\n [\n (0, $514c0188e459b4c0$export$9afb8bc826b033ea),\n {\n slots: {\n description: descriptionProps,\n errorMessage: errorMessageProps\n }\n }\n ],\n [\n (0, $ee014567cb39d3f0$export$ff05c3ac10437e03),\n validation\n ]\n ]\n }, /*#__PURE__*/ (0, $8nhma$react).createElement(\"div\", {\n ...(0, $8nhma$mergeProps)(DOMProps, renderProps, focusProps),\n ref: ref,\n slot: props.slot || undefined,\n \"data-focus-within\": isFocused || undefined,\n \"data-invalid\": state.isInvalid || undefined,\n \"data-focus-visible\": isFocusVisible || undefined,\n \"data-disabled\": props.isDisabled || undefined,\n \"data-open\": state.isOpen || undefined\n }));\n});\n\n\nexport {$06d5b8ec9ee5d538$export$cf316c7f3b44c11e as DatePickerContext, $06d5b8ec9ee5d538$export$8282edba42ee28a as DateRangePickerContext, $06d5b8ec9ee5d538$export$50a10c048fdcdee9 as DatePickerStateContext, $06d5b8ec9ee5d538$export$80d7ae1f804790be as DateRangePickerStateContext, $06d5b8ec9ee5d538$export$5109c6dd95d8fb00 as DatePicker, $06d5b8ec9ee5d538$export$17334619f3ac2224 as DateRangePicker};\n//# sourceMappingURL=DatePicker.module.js.map\n"],"names":["$parcel$interopDefault","a","$6057a3d2a53a12fd$export$42df105a73306d51","props","state","ref","buttonId","$4lVjK$useId","dialogId","fieldId","stringFormatter","$4lVjK$useLocalizedStringFormatter","$4lVjK$intlStringsmodulejs","isInvalid","validationErrors","validationDetails","labelProps","fieldProps","descriptionProps","errorMessageProps","$4lVjK$useField","groupProps","$3dfb0f96be0d6a08$export$4a931266a3838b86","labelledBy","locale","$4lVjK$useLocale","date","description","descProps","$4lVjK$useDescription","ariaDescribedBy","domProps","$4lVjK$filterDOMProps","focusManager","$4lVjK$useMemo","$4lVjK$createFocusManager","isFocused","$4lVjK$useRef","focusWithinProps","$4lVjK$useFocusWithin","e","dialog","_props_onBlur","_props_onFocusChange","_props_onFocus","$4lVjK$mergeProps","$16f0b7bb276bc17e$export$300019f83c56d282","$4lVjK$privateValidationStateProp","$887cac91b7cc8801$export$12fd5f0e9f4bb192","_state_value","_state_defaultValue","_state_value1","_state_defaultValue1","_state_dateRange","$eIQ1H$useLocalizedStringFormatter","$eIQ1H$intlStringsmodulejs","$eIQ1H$useField","$eIQ1H$useLocale","range","$eIQ1H$useDescription","startFieldProps","endFieldProps","$eIQ1H$useId","$eIQ1H$useMemo","$eIQ1H$createFocusManager","element","commonFieldProps","$16f0b7bb276bc17e$export$7b3062cd49e80452","$eIQ1H$filterDOMProps","$eIQ1H$useRef","$eIQ1H$useFocusWithin","startFieldValidation","$eIQ1H$DEFAULT_VALIDATION_RESULT","endFieldValidation","_state_value_start","_state_value_end","$eIQ1H$mergeProps","start","$eIQ1H$privateValidationStateProp","$eIQ1H$mergeValidation","end","$ab5bf3f618090389$export$87194bb378cc3ac2","overlayState","$goopS$useOverlayTriggerState","value","setValue","$goopS$useControlledState","initialValue","$goopS$useState","v","granularity","defaultTimeZone","$35a22f14a1f04b11$export$2440da353cedad43","dateValue","hasTime","_props_shouldCloseOnSelect","shouldCloseOnSelect","selectedDate","setSelectedDate","selectedTime","setSelectedTime","showEra","formatOpts","$goopS$useMemo","minValue","maxValue","isDateUnavailable","builtinValidation","$35a22f14a1f04b11$export$f18627323ab57ac0","validation","$goopS$useFormValidationState","isValueInvalid","validationState","commitValue","time","$goopS$toCalendarDate","$goopS$toCalendarDateTime","selectDate","newValue","shouldClose","$35a22f14a1f04b11$export$c5221a78ef73c5e9","selectTime","_props_defaultValue","isOpen","fieldOptions","formatOptions","$35a22f14a1f04b11$export$7e319ea407e63bc0","$goopS$DateFormatter","newOptions","newFormatOptions","$93c38a5e28be6249$export$e50a61c1de9f574","_value_start","_value_end","$hac8C$useOverlayTriggerState","controlledValue","setControlledValue","$hac8C$useControlledState","$hac8C$useState","placeholderValue","setPlaceholderValue","$93c38a5e28be6249$var$isCompleteRange","dateRange","setSelectedDateRange","timeRange","setSelectedTimeRange","$hac8C$toCalendarDate","$hac8C$toCalendarDateTime","setDateRange","setTimeRange","$hac8C$useMemo","$35a22f14a1f04b11$export$80ff8fc0ae339c13","$hac8C$useFormValidationState","part","_dateRange_end","_dateRange_start","_timeRange_end","_timeRange_start","dateTime","startTimeZone","startGranularity","endTimeZone","endGranularity","startOptions","startDate","endDate","startFormatter","$hac8C$DateFormatter","endFormatter","parts","separatorIndex","i","endOptions","$06d5b8ec9ee5d538$export$cf316c7f3b44c11e","$8nhma$createContext","$06d5b8ec9ee5d538$export$8282edba42ee28a","$06d5b8ec9ee5d538$export$50a10c048fdcdee9","$06d5b8ec9ee5d538$export$80d7ae1f804790be","$06d5b8ec9ee5d538$var$CLEAR_CONTEXTS","$a049562f99e7db0e$export$f9c6924e160136d1","$d2b4bc8c273e7be6$export$24d547caef80ccd1","$01b77f81d0f07f68$export$75b6ee27786ba447","$514c0188e459b4c0$export$9afb8bc826b033ea","$06d5b8ec9ee5d538$export$5109c6dd95d8fb00","$8nhma$forwardRef","$64fa3d84918910a7$export$29f1550f4b0d4415","formValidationBehavior","$64fa3d84918910a7$export$fabf2dc03a41866e","$d3e0e05bdfcf66bd$export$c24727297075ec6a","_props_validationBehavior","_ref","validationBehavior","$8nhma$useDatePickerState","groupRef","$8nhma$useRef","labelRef","label","$64fa3d84918910a7$export$9d4c57ee4c6ffdd8","buttonProps","dialogProps","calendarProps","$8nhma$useDatePicker","$64fa3d84918910a7$export$ef03459518577ad4","groupWidth","setGroupWidth","$8nhma$useState","onResize","$8nhma$useCallback","$8nhma$useResizeObserver","focusProps","isFocusVisible","$8nhma$useFocusRing","renderProps","$64fa3d84918910a7$export$4d86445c2cf5e3","DOMProps","$8nhma$filterDOMProps","$8nhma$react","$64fa3d84918910a7$export$2881499e37b75b9a","$40825cdb76e74f70$export$7b3e670c86da5fe8","$dfd62f934fc76fed$export$3b805cea1f178355","$de32f1b87079253c$export$d2f961adcb0afbe","$07b14b47974efb58$export$9b9a0cd73afb7ca4","$de32f1b87079253c$export$8b93a07348a7730c","$ee014567cb39d3f0$export$ff05c3ac10437e03","$8nhma$mergeProps","$c699643d2073b351$export$eefa3e19139f00f3","$06d5b8ec9ee5d538$export$17334619f3ac2224","$8nhma$useDateRangePickerState","$8nhma$useDateRangePicker","$dfd62f934fc76fed$export$233dd9682e1ad64b"],"mappings":"qgCAYA,SAASA,GAAuBC,EAAG,CACjC,OAAOA,GAAKA,EAAE,WAAaA,EAAE,QAAUA,CACzC,CAqBA,SAASC,GAA0CC,EAAOC,EAAOC,EAAK,CAClE,IAAIC,EAAeC,4CAAY,EAC3BC,EAAeD,4CAAY,EAC3BE,EAAcF,4CAAY,EAC1BG,EAAsBC,6CAAyCX,GAAuBY,EAAAA,yBAA0B,EAAK,wBAAwB,EAC7I,CAAE,UAAWC,EAAW,iBAAkBC,EAAkB,kBAAmBC,GAAsBX,EAAM,kBAC3G,CAAE,WAAYY,EAAY,WAAYC,EAAY,iBAAkBC,EAAkB,kBAAmBC,CAAiB,EAASC,GAAAA,0CAAiB,CACpJ,GAAGjB,EACH,iBAAkB,OAClB,UAAWU,EACX,aAAcV,EAAM,cAAgBW,CAC5C,CAAK,EACGO,EAAiBC,4CAA2ClB,EAAOC,CAAG,EACtEkB,EAAaN,EAAW,iBAAiB,GAAKA,EAAW,GACzD,CAAE,OAAQO,CAAM,EAASC,GAAAA,0CAAgB,EACzCC,EAAOtB,EAAM,YAAYoB,EAAQ,CACjC,MAAO,MACf,CAAK,EACGG,EAAcD,EAAOhB,EAAgB,OAAO,0BAA2B,CACvE,KAAMgB,CACd,CAAK,EAAI,GACDE,EAAgBC,GAAAA,0CAAuBF,CAAW,EAClDG,EAAkB,CAClBF,EAAU,kBAAkB,EAC5BX,EAAW,kBAAkB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