@commercetools/nimbus 0.0.12-rc1 → 0.0.12-rc3

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 (1201) hide show
  1. package/dist/accordion.d.ts +13 -4
  2. package/dist/alert.d.ts +10 -1
  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 +17 -6
  10. package/dist/chunks/Button-BtJHe9xY.cjs.js +2 -0
  11. package/dist/chunks/Button-BtJHe9xY.cjs.js.map +1 -0
  12. package/dist/chunks/Button-CNBS3n5a.es.js +73 -0
  13. package/dist/chunks/Button-CNBS3n5a.es.js.map +1 -0
  14. package/dist/chunks/DateField-Dm2Qlhbk.es.js +2685 -0
  15. package/dist/chunks/DateField-Dm2Qlhbk.es.js.map +1 -0
  16. package/dist/chunks/DateField-rweHHCKR.cjs.js +2 -0
  17. package/dist/chunks/DateField-rweHHCKR.cjs.js.map +1 -0
  18. package/dist/chunks/DatePicker-BdV6ICAm.cjs.js +2 -0
  19. package/dist/chunks/DatePicker-BdV6ICAm.cjs.js.map +1 -0
  20. package/dist/chunks/DatePicker-BthC1bZ_.es.js +782 -0
  21. package/dist/chunks/DatePicker-BthC1bZ_.es.js.map +1 -0
  22. package/dist/chunks/Dialog-BeQ6Z6l2.es.js +1924 -0
  23. package/dist/chunks/Dialog-BeQ6Z6l2.es.js.map +1 -0
  24. package/dist/chunks/Dialog-CYa26HlL.cjs.js +2 -0
  25. package/dist/chunks/Dialog-CYa26HlL.cjs.js.map +1 -0
  26. package/dist/chunks/DragAndDrop-ChYb3tCX.es.js +81 -0
  27. package/dist/chunks/DragAndDrop-ChYb3tCX.es.js.map +1 -0
  28. package/dist/chunks/DragAndDrop-cOfUfFj8.cjs.js +2 -0
  29. package/dist/chunks/DragAndDrop-cOfUfFj8.cjs.js.map +1 -0
  30. package/dist/chunks/FieldError-CXcEMuBf.es.js +6 -0
  31. package/dist/chunks/FieldError-CXcEMuBf.es.js.map +1 -0
  32. package/dist/chunks/FieldError-DyGFfqST.cjs.js +2 -0
  33. package/dist/chunks/FieldError-DyGFfqST.cjs.js.map +1 -0
  34. package/dist/chunks/FocusScope-CNO0fzPs.es.js +625 -0
  35. package/dist/chunks/FocusScope-CNO0fzPs.es.js.map +1 -0
  36. package/dist/chunks/FocusScope-DPn5XtSy.cjs.js +2 -0
  37. package/dist/chunks/FocusScope-DPn5XtSy.cjs.js.map +1 -0
  38. package/dist/chunks/Form-BuOomA4T.cjs.js +2 -0
  39. package/dist/chunks/Form-BuOomA4T.cjs.js.map +1 -0
  40. package/dist/chunks/Form-CXcEMuBf.es.js +6 -0
  41. package/dist/chunks/Form-CXcEMuBf.es.js.map +1 -0
  42. package/dist/chunks/Group-Cfixd-fh.es.js +46 -0
  43. package/dist/chunks/Group-Cfixd-fh.es.js.map +1 -0
  44. package/dist/chunks/Group-MdeByg6t.cjs.js +2 -0
  45. package/dist/chunks/Group-MdeByg6t.cjs.js.map +1 -0
  46. package/dist/chunks/Heading-BaW6t55l.cjs.js +2 -0
  47. package/dist/chunks/Heading-BaW6t55l.cjs.js.map +1 -0
  48. package/dist/chunks/Heading-DEfy_f01.es.js +1618 -0
  49. package/dist/chunks/Heading-DEfy_f01.es.js.map +1 -0
  50. package/dist/chunks/Hidden-CNJIJ63M.cjs.js.map +1 -1
  51. package/dist/chunks/Hidden-j3Lbt7xL.es.js +28 -0
  52. package/dist/chunks/Hidden-j3Lbt7xL.es.js.map +1 -0
  53. package/dist/chunks/Input-BiHwUBo4.es.js +43 -0
  54. package/dist/chunks/Input-BiHwUBo4.es.js.map +1 -0
  55. package/dist/chunks/Input-HBDt7LmM.cjs.js +2 -0
  56. package/dist/chunks/Input-HBDt7LmM.cjs.js.map +1 -0
  57. package/dist/chunks/Keyboard-Clnp4zAC.es.js.map +1 -1
  58. package/dist/chunks/Keyboard-rYf2KxZN.cjs.js.map +1 -1
  59. package/dist/chunks/Label-B2YyCdLl.es.js +17 -0
  60. package/dist/chunks/Label-B2YyCdLl.es.js.map +1 -0
  61. package/dist/chunks/Label-BgrYyYXn.cjs.js +2 -0
  62. package/dist/chunks/Label-BgrYyYXn.cjs.js.map +1 -0
  63. package/dist/chunks/ListBox-CikEmFBx.cjs.js +2 -0
  64. package/dist/chunks/ListBox-CikEmFBx.cjs.js.map +1 -0
  65. package/dist/chunks/ListBox-DF3NHeEX.es.js +605 -0
  66. package/dist/chunks/ListBox-DF3NHeEX.es.js.map +1 -0
  67. package/dist/chunks/LiveAnnouncer-BkrEjKY8.cjs.js.map +1 -1
  68. package/dist/chunks/LiveAnnouncer-CsPyaceH.es.js.map +1 -1
  69. package/dist/chunks/NumberFormatter-DewVDY5w.cjs.js.map +1 -1
  70. package/dist/chunks/NumberFormatter-DgOUVrge.es.js.map +1 -1
  71. package/dist/chunks/OverlayArrow-CYjyBtg8.cjs.js +2 -0
  72. package/dist/chunks/OverlayArrow-CYjyBtg8.cjs.js.map +1 -0
  73. package/dist/chunks/OverlayArrow-sJzRZNbO.es.js +491 -0
  74. package/dist/chunks/OverlayArrow-sJzRZNbO.es.js.map +1 -0
  75. package/dist/chunks/ProgressBar-BA3sLh1k.cjs.js +2 -0
  76. package/dist/chunks/ProgressBar-BA3sLh1k.cjs.js.map +1 -0
  77. package/dist/chunks/ProgressBar-DjaUQI7N.es.js +42 -0
  78. package/dist/chunks/ProgressBar-DjaUQI7N.es.js.map +1 -0
  79. package/dist/chunks/RSPContexts-B4yvXuBR.es.js +7 -0
  80. package/dist/chunks/RSPContexts-B4yvXuBR.es.js.map +1 -0
  81. package/dist/chunks/RSPContexts-CkSl9jRK.cjs.js +2 -0
  82. package/dist/chunks/RSPContexts-CkSl9jRK.cjs.js.map +1 -0
  83. package/dist/chunks/SSRProvider-Bc-sMhsT.cjs.js +2 -0
  84. package/dist/chunks/SSRProvider-Bc-sMhsT.cjs.js.map +1 -0
  85. package/dist/chunks/SSRProvider-Cu8KibIK.es.js +51 -0
  86. package/dist/chunks/SSRProvider-Cu8KibIK.es.js.map +1 -0
  87. package/dist/chunks/SelectionManager-CLyu96pU.es.js +1946 -0
  88. package/dist/chunks/SelectionManager-CLyu96pU.es.js.map +1 -0
  89. package/dist/chunks/SelectionManager-Mrwf4SFv.cjs.js +18 -0
  90. package/dist/chunks/SelectionManager-Mrwf4SFv.cjs.js.map +1 -0
  91. package/dist/chunks/Separator-3-E2tRbk.es.js +92 -0
  92. package/dist/chunks/Separator-3-E2tRbk.es.js.map +1 -0
  93. package/dist/chunks/Separator-CAOg-vqY.cjs.js +2 -0
  94. package/dist/chunks/Separator-CAOg-vqY.cjs.js.map +1 -0
  95. package/dist/chunks/Text-BWSfeB9p.cjs.js.map +1 -1
  96. package/dist/chunks/Text-DOcU1ycg.es.js.map +1 -1
  97. package/dist/chunks/TextArea-BmpgvS0R.es.js +42 -0
  98. package/dist/chunks/TextArea-BmpgvS0R.es.js.map +1 -0
  99. package/dist/chunks/TextArea-D3FFXnUy.cjs.js +2 -0
  100. package/dist/chunks/TextArea-D3FFXnUy.cjs.js.map +1 -0
  101. package/dist/chunks/ToggleButton-C3JL0pgD.es.js +145 -0
  102. package/dist/chunks/ToggleButton-C3JL0pgD.es.js.map +1 -0
  103. package/dist/chunks/ToggleButton-CPAdPTCr.cjs.js +2 -0
  104. package/dist/chunks/ToggleButton-CPAdPTCr.cjs.js.map +1 -0
  105. package/dist/chunks/VisuallyHidden-Bv_AJXZ7.cjs.js +2 -0
  106. package/dist/chunks/VisuallyHidden-Bv_AJXZ7.cjs.js.map +1 -0
  107. package/dist/chunks/VisuallyHidden-VHEPK04F.es.js +41 -0
  108. package/dist/chunks/VisuallyHidden-VHEPK04F.es.js.map +1 -0
  109. package/dist/chunks/accordion-Be--VNW6.cjs.js +2 -0
  110. package/dist/chunks/accordion-Be--VNW6.cjs.js.map +1 -0
  111. package/dist/chunks/accordion-Drl_Y6QC.es.js +223 -0
  112. package/dist/chunks/accordion-Drl_Y6QC.es.js.map +1 -0
  113. package/dist/chunks/alert-9-Hp2KQ4.es.js +187 -0
  114. package/dist/chunks/alert-9-Hp2KQ4.es.js.map +1 -0
  115. package/dist/chunks/alert-CsJON6h-.cjs.js +2 -0
  116. package/dist/chunks/alert-CsJON6h-.cjs.js.map +1 -0
  117. package/dist/chunks/avatar-DEAravTR.cjs.js +2 -0
  118. package/dist/chunks/avatar-DEAravTR.cjs.js.map +1 -0
  119. package/dist/chunks/avatar-DXWmY247.es.js +38 -0
  120. package/dist/chunks/avatar-DXWmY247.es.js.map +1 -0
  121. package/dist/chunks/badge-BjhZ-byo.cjs.js +2 -0
  122. package/dist/chunks/badge-BjhZ-byo.cjs.js.map +1 -0
  123. package/dist/chunks/badge-Cg7jASs5.es.js +78 -0
  124. package/dist/chunks/badge-Cg7jASs5.es.js.map +1 -0
  125. package/dist/chunks/box-BK_2R49p.es.js +13 -0
  126. package/dist/chunks/box-BK_2R49p.es.js.map +1 -0
  127. package/dist/chunks/box-BwCVnAwb.cjs.js +2 -0
  128. package/dist/chunks/box-BwCVnAwb.cjs.js.map +1 -0
  129. package/dist/chunks/button-CihUSHJo.cjs.js +2 -0
  130. package/dist/chunks/button-CihUSHJo.cjs.js.map +1 -0
  131. package/dist/chunks/button-DNPDogwN.es.js +59 -0
  132. package/dist/chunks/button-DNPDogwN.es.js.map +1 -0
  133. package/dist/chunks/calendar-C-YasyPe.cjs.js +2 -0
  134. package/dist/chunks/calendar-C-YasyPe.cjs.js.map +1 -0
  135. package/dist/chunks/calendar-DGKSCKht.es.js +187 -0
  136. package/dist/chunks/calendar-DGKSCKht.es.js.map +1 -0
  137. package/dist/chunks/card-DX8r4prk.es.js +139 -0
  138. package/dist/chunks/card-DX8r4prk.es.js.map +1 -0
  139. package/dist/chunks/card-DgvP36g1.cjs.js +2 -0
  140. package/dist/chunks/card-DgvP36g1.cjs.js.map +1 -0
  141. package/dist/chunks/checkbox-6DkVAh4W.cjs.js +2 -0
  142. package/dist/chunks/checkbox-6DkVAh4W.cjs.js.map +1 -0
  143. package/dist/chunks/checkbox-BnfwQBT0.es.js +219 -0
  144. package/dist/chunks/checkbox-BnfwQBT0.es.js.map +1 -0
  145. package/dist/chunks/code-C3WbF6Qh.cjs.js +2 -0
  146. package/dist/chunks/code-C3WbF6Qh.cjs.js.map +1 -0
  147. package/dist/chunks/code-DM_AtVy-.es.js +8 -0
  148. package/dist/chunks/code-DM_AtVy-.es.js.map +1 -0
  149. package/dist/chunks/combobox-BS6TWlhm.es.js +2392 -0
  150. package/dist/chunks/combobox-BS6TWlhm.es.js.map +1 -0
  151. package/dist/chunks/combobox-CLGVlx_7.cjs.js +2 -0
  152. package/dist/chunks/combobox-CLGVlx_7.cjs.js.map +1 -0
  153. package/dist/chunks/config-Mt8_uyhI.cjs.js.map +1 -1
  154. package/dist/chunks/config-ufbQ08Vi.es.js.map +1 -1
  155. package/dist/chunks/context-OoV8SSWX.cjs.js +2 -0
  156. package/dist/chunks/context-OoV8SSWX.cjs.js.map +1 -0
  157. package/dist/chunks/context-R4YUlO9Y.es.js +108 -0
  158. package/dist/chunks/context-R4YUlO9Y.es.js.map +1 -0
  159. package/dist/chunks/create-recipe-context-CrNaylZN.es.js +62 -0
  160. package/dist/chunks/create-recipe-context-CrNaylZN.es.js.map +1 -0
  161. package/dist/chunks/create-recipe-context-bXYFTZLs.cjs.js +2 -0
  162. package/dist/chunks/create-recipe-context-bXYFTZLs.cjs.js.map +1 -0
  163. package/dist/chunks/create-slot-recipe-context--T0CaFjW.es.js +104 -0
  164. package/dist/chunks/create-slot-recipe-context--T0CaFjW.es.js.map +1 -0
  165. package/dist/chunks/create-slot-recipe-context-CimocFDH.cjs.js +2 -0
  166. package/dist/chunks/create-slot-recipe-context-CimocFDH.cjs.js.map +1 -0
  167. package/dist/chunks/data-table-B8hn0UVI.cjs.js +2 -0
  168. package/dist/chunks/data-table-B8hn0UVI.cjs.js.map +1 -0
  169. package/dist/chunks/data-table-BmhYF5gH.es.js +3640 -0
  170. package/dist/chunks/data-table-BmhYF5gH.es.js.map +1 -0
  171. package/dist/chunks/date-input-BR6daiWa.es.js +17 -0
  172. package/dist/chunks/date-input-BR6daiWa.es.js.map +1 -0
  173. package/dist/chunks/date-input-VXO92NPV.cjs.js +2 -0
  174. package/dist/chunks/date-input-VXO92NPV.cjs.js.map +1 -0
  175. package/dist/chunks/date-picker-DNaxpmgh.cjs.js +2 -0
  176. package/dist/chunks/date-picker-DNaxpmgh.cjs.js.map +1 -0
  177. package/dist/chunks/date-picker-DqvZ_FI0.es.js +190 -0
  178. package/dist/chunks/date-picker-DqvZ_FI0.es.js.map +1 -0
  179. package/dist/chunks/date-range-picker-B5s-AFSY.cjs.js +2 -0
  180. package/dist/chunks/date-range-picker-B5s-AFSY.cjs.js.map +1 -0
  181. package/dist/chunks/date-range-picker-Dh-F7d4e.es.js +283 -0
  182. package/dist/chunks/date-range-picker-Dh-F7d4e.es.js.map +1 -0
  183. package/dist/chunks/dialog-BQa_NWSr.cjs.js +2 -0
  184. package/dist/chunks/dialog-BQa_NWSr.cjs.js.map +1 -0
  185. package/dist/chunks/dialog-D4u5so0e.es.js +1912 -0
  186. package/dist/chunks/dialog-D4u5so0e.es.js.map +1 -0
  187. package/dist/chunks/divider-Cjs3ESH7.es.js +54 -0
  188. package/dist/chunks/divider-Cjs3ESH7.es.js.map +1 -0
  189. package/dist/chunks/divider-DU351gdE.cjs.js +2 -0
  190. package/dist/chunks/divider-DU351gdE.cjs.js.map +1 -0
  191. package/dist/chunks/empty-B5_AO6Pg.cjs.js.map +1 -1
  192. package/dist/chunks/empty-D7ZFmvo6.es.js.map +1 -1
  193. package/dist/chunks/extractStyleProps-BsLft3q1.cjs.js +2 -0
  194. package/dist/chunks/extractStyleProps-BsLft3q1.cjs.js.map +1 -0
  195. package/dist/chunks/extractStyleProps-D6vCCKog.es.js +11 -0
  196. package/dist/chunks/extractStyleProps-D6vCCKog.es.js.map +1 -0
  197. package/dist/chunks/factory-CVGqU9CD.cjs.js +3 -0
  198. package/dist/chunks/factory-CVGqU9CD.cjs.js.map +1 -0
  199. package/dist/chunks/factory-DmIX2puY.es.js +269 -0
  200. package/dist/chunks/factory-DmIX2puY.es.js.map +1 -0
  201. package/dist/chunks/filterDOMProps-BSVCO5jK.es.js +66 -0
  202. package/dist/chunks/filterDOMProps-BSVCO5jK.es.js.map +1 -0
  203. package/dist/chunks/filterDOMProps-WUskt27c.cjs.js +2 -0
  204. package/dist/chunks/filterDOMProps-WUskt27c.cjs.js.map +1 -0
  205. package/dist/chunks/flex-BFC_f5BH.es.js +40 -0
  206. package/dist/chunks/flex-BFC_f5BH.es.js.map +1 -0
  207. package/dist/chunks/flex-yqydM5z_.cjs.js +2 -0
  208. package/dist/chunks/flex-yqydM5z_.cjs.js.map +1 -0
  209. package/dist/chunks/focusSafely-DJpphVHF.es.js +27 -0
  210. package/dist/chunks/focusSafely-DJpphVHF.es.js.map +1 -0
  211. package/dist/chunks/focusSafely-jDMW9aEx.cjs.js +2 -0
  212. package/dist/chunks/focusSafely-jDMW9aEx.cjs.js.map +1 -0
  213. package/dist/chunks/focusWithoutScrolling-BlyUcXdY.cjs.js.map +1 -1
  214. package/dist/chunks/focusWithoutScrolling-CDw3JYiq.es.js.map +1 -1
  215. package/dist/chunks/form-field-BjT4m4AE.cjs.js +11 -0
  216. package/dist/chunks/form-field-BjT4m4AE.cjs.js.map +1 -0
  217. package/dist/chunks/form-field-hq4IMj9f.es.js +310 -0
  218. package/dist/chunks/form-field-hq4IMj9f.es.js.map +1 -0
  219. package/dist/chunks/grid-B3Ggy_FW.es.js +14 -0
  220. package/dist/chunks/grid-B3Ggy_FW.es.js.map +1 -0
  221. package/dist/chunks/grid-CXpKN2OR.cjs.js +2 -0
  222. package/dist/chunks/grid-CXpKN2OR.cjs.js.map +1 -0
  223. package/dist/chunks/grid-item-CGwfSnm7.cjs.js +2 -0
  224. package/dist/chunks/grid-item-CGwfSnm7.cjs.js.map +1 -0
  225. package/dist/chunks/grid-item-DuAynDd1.es.js +78 -0
  226. package/dist/chunks/grid-item-DuAynDd1.es.js.map +1 -0
  227. package/dist/chunks/group-Buy-O6Mr.cjs.js +2 -0
  228. package/dist/chunks/group-Buy-O6Mr.cjs.js.map +1 -0
  229. package/dist/chunks/group-CqfSQXe7.es.js +14 -0
  230. package/dist/chunks/group-CqfSQXe7.es.js.map +1 -0
  231. package/dist/chunks/group.recipe-BQafmscW.es.js +13 -0
  232. package/dist/chunks/group.recipe-BQafmscW.es.js.map +1 -0
  233. package/dist/chunks/group.recipe-BffrkcjL.cjs.js +2 -0
  234. package/dist/chunks/group.recipe-BffrkcjL.cjs.js.map +1 -0
  235. package/dist/chunks/icon-BDsjJ4Zi.es.js +32 -0
  236. package/dist/chunks/icon-BDsjJ4Zi.es.js.map +1 -0
  237. package/dist/chunks/icon-DHoLo7_S.cjs.js +2 -0
  238. package/dist/chunks/icon-DHoLo7_S.cjs.js.map +1 -0
  239. package/dist/chunks/icon-button-DOo2GUqd.cjs.js +2 -0
  240. package/dist/chunks/icon-button-DOo2GUqd.cjs.js.map +1 -0
  241. package/dist/chunks/icon-button-EonZGbth.es.js +14 -0
  242. package/dist/chunks/icon-button-EonZGbth.es.js.map +1 -0
  243. package/dist/chunks/icon-toggle-button-CcEARpnu.es.js +13 -0
  244. package/dist/chunks/icon-toggle-button-CcEARpnu.es.js.map +1 -0
  245. package/dist/chunks/icon-toggle-button-DmYB27yi.cjs.js +2 -0
  246. package/dist/chunks/icon-toggle-button-DmYB27yi.cjs.js.map +1 -0
  247. package/dist/chunks/image-B3ISQSVL.cjs.js +2 -0
  248. package/dist/chunks/image-B3ISQSVL.cjs.js.map +1 -0
  249. package/dist/chunks/image-CwcCZREa.es.js +22 -0
  250. package/dist/chunks/image-CwcCZREa.es.js.map +1 -0
  251. package/dist/chunks/image-MeWmLoV0.es.js +8 -0
  252. package/dist/chunks/image-MeWmLoV0.es.js.map +1 -0
  253. package/dist/chunks/image-bt28epM5.cjs.js +2 -0
  254. package/dist/chunks/image-bt28epM5.cjs.js.map +1 -0
  255. package/dist/chunks/index-46Tt2Ww4.es.js +8 -0
  256. package/dist/chunks/index-46Tt2Ww4.es.js.map +1 -0
  257. package/dist/chunks/index-BYEAMD8A.cjs.js +2 -0
  258. package/dist/chunks/index-BYEAMD8A.cjs.js.map +1 -0
  259. package/dist/chunks/index-BsmdMT4w.cjs.js +4 -0
  260. package/dist/chunks/index-BsmdMT4w.cjs.js.map +1 -0
  261. package/dist/chunks/index-Dvel3Oj5.es.js +3787 -0
  262. package/dist/chunks/index-Dvel3Oj5.es.js.map +1 -0
  263. package/dist/chunks/intlStrings-Cd44R5hT.es.js +279 -0
  264. package/dist/chunks/intlStrings-Cd44R5hT.es.js.map +1 -0
  265. package/dist/chunks/intlStrings-ClBuC6xN.cjs.js +2 -0
  266. package/dist/chunks/intlStrings-ClBuC6xN.cjs.js.map +1 -0
  267. package/dist/chunks/kbd-Bc97Bwq3.es.js +16 -0
  268. package/dist/chunks/kbd-Bc97Bwq3.es.js.map +1 -0
  269. package/dist/chunks/kbd-BlZ2RGfa.cjs.js +2 -0
  270. package/dist/chunks/kbd-BlZ2RGfa.cjs.js.map +1 -0
  271. package/dist/chunks/link-DjzrPyx3.es.js +50 -0
  272. package/dist/chunks/link-DjzrPyx3.es.js.map +1 -0
  273. package/dist/chunks/link-DzUonoQg.cjs.js +2 -0
  274. package/dist/chunks/link-DzUonoQg.cjs.js.map +1 -0
  275. package/dist/chunks/list-BTkkDy6B.es.js +23 -0
  276. package/dist/chunks/list-BTkkDy6B.es.js.map +1 -0
  277. package/dist/chunks/list-DokC0Ks-.cjs.js +2 -0
  278. package/dist/chunks/list-DokC0Ks-.cjs.js.map +1 -0
  279. package/dist/chunks/loading-spinner-DuBf2cIy.es.js +106 -0
  280. package/dist/chunks/loading-spinner-DuBf2cIy.es.js.map +1 -0
  281. package/dist/chunks/loading-spinner-VVQyl725.cjs.js +2 -0
  282. package/dist/chunks/loading-spinner-VVQyl725.cjs.js.map +1 -0
  283. package/dist/chunks/make-element-focusable-C4ZHUSEU.es.js +22 -0
  284. package/dist/chunks/make-element-focusable-C4ZHUSEU.es.js.map +1 -0
  285. package/dist/chunks/make-element-focusable-bPAMXt4D.cjs.js +2 -0
  286. package/dist/chunks/make-element-focusable-bPAMXt4D.cjs.js.map +1 -0
  287. package/dist/chunks/menu-C8il9--K.cjs.js +2 -0
  288. package/dist/chunks/menu-C8il9--K.cjs.js.map +1 -0
  289. package/dist/chunks/menu-CKJfYhIU.es.js +157 -0
  290. package/dist/chunks/menu-CKJfYhIU.es.js.map +1 -0
  291. package/dist/chunks/mergeProps-BA5Cwf5w.cjs.js +2 -0
  292. package/dist/chunks/mergeProps-BA5Cwf5w.cjs.js.map +1 -0
  293. package/dist/chunks/mergeProps-B_9syxhT.es.js +130 -0
  294. package/dist/chunks/mergeProps-B_9syxhT.es.js.map +1 -0
  295. package/dist/chunks/multiline-text-input-D28clI-o.cjs.js +12 -0
  296. package/dist/chunks/multiline-text-input-D28clI-o.cjs.js.map +1 -0
  297. package/dist/chunks/multiline-text-input-DoHeA-kt.es.js +120 -0
  298. package/dist/chunks/multiline-text-input-DoHeA-kt.es.js.map +1 -0
  299. package/dist/chunks/namespace---Td8pR2.es.js +74 -0
  300. package/dist/chunks/namespace---Td8pR2.es.js.map +1 -0
  301. package/dist/chunks/namespace-CpLmDcCq.cjs.js +2 -0
  302. package/dist/chunks/namespace-CpLmDcCq.cjs.js.map +1 -0
  303. package/dist/chunks/nimbus-provider-BlfO5_bi.cjs.js +2 -0
  304. package/dist/chunks/nimbus-provider-BlfO5_bi.cjs.js.map +1 -0
  305. package/dist/chunks/nimbus-provider-DKRUbH11.es.js +101 -0
  306. package/dist/chunks/nimbus-provider-DKRUbH11.es.js.map +1 -0
  307. package/dist/chunks/number-DHvo-MDe.cjs.js +2 -0
  308. package/dist/chunks/number-DHvo-MDe.cjs.js.map +1 -0
  309. package/dist/chunks/number-dMxJejI6.es.js +26 -0
  310. package/dist/chunks/number-dMxJejI6.es.js.map +1 -0
  311. package/dist/chunks/number-input-BEn83Z9q.es.js +657 -0
  312. package/dist/chunks/number-input-BEn83Z9q.es.js.map +1 -0
  313. package/dist/chunks/number-input-CCEiz-4P.cjs.js +2 -0
  314. package/dist/chunks/number-input-CCEiz-4P.cjs.js.map +1 -0
  315. package/dist/chunks/openLink-Ctl0AdAy.es.js +105 -0
  316. package/dist/chunks/openLink-Ctl0AdAy.es.js.map +1 -0
  317. package/dist/chunks/openLink-DkCJYbzq.cjs.js +2 -0
  318. package/dist/chunks/openLink-DkCJYbzq.cjs.js.map +1 -0
  319. package/dist/chunks/password-input-BGPsQ2R9.es.js +50 -0
  320. package/dist/chunks/password-input-BGPsQ2R9.es.js.map +1 -0
  321. package/dist/chunks/password-input-DY4slQHQ.cjs.js +2 -0
  322. package/dist/chunks/password-input-DY4slQHQ.cjs.js.map +1 -0
  323. package/dist/chunks/platform-BDLy2vDY.cjs.js +2 -0
  324. package/dist/chunks/platform-BDLy2vDY.cjs.js.map +1 -0
  325. package/dist/chunks/platform-Z5fvtFmM.es.js +47 -0
  326. package/dist/chunks/platform-Z5fvtFmM.es.js.map +1 -0
  327. package/dist/chunks/progress-bar-0RRIR4ef.cjs.js +2 -0
  328. package/dist/chunks/progress-bar-0RRIR4ef.cjs.js.map +1 -0
  329. package/dist/chunks/progress-bar-BsuOolTl.es.js +77 -0
  330. package/dist/chunks/progress-bar-BsuOolTl.es.js.map +1 -0
  331. package/dist/chunks/provider-CHFgwvsP.es.js +989 -0
  332. package/dist/chunks/provider-CHFgwvsP.es.js.map +1 -0
  333. package/dist/chunks/provider-DFlBEH6q.cjs.js +16 -0
  334. package/dist/chunks/provider-DFlBEH6q.cjs.js.map +1 -0
  335. package/dist/chunks/radio-input-B40xSi6r.cjs.js +2 -0
  336. package/dist/chunks/radio-input-B40xSi6r.cjs.js.map +1 -0
  337. package/dist/chunks/radio-input-CDYvzPq7.es.js +341 -0
  338. package/dist/chunks/radio-input-CDYvzPq7.es.js.map +1 -0
  339. package/dist/chunks/range-calendar-BiNek1C7.cjs.js +2 -0
  340. package/dist/chunks/range-calendar-BiNek1C7.cjs.js.map +1 -0
  341. package/dist/chunks/range-calendar-DxPBRKpW.es.js +187 -0
  342. package/dist/chunks/range-calendar-DxPBRKpW.es.js.map +1 -0
  343. package/dist/chunks/rich-text-input-B6OYMXXr.es.js +691 -0
  344. package/dist/chunks/rich-text-input-B6OYMXXr.es.js.map +1 -0
  345. package/dist/chunks/rich-text-input-gNWvLb4m.cjs.js +2 -0
  346. package/dist/chunks/rich-text-input-gNWvLb4m.cjs.js.map +1 -0
  347. package/dist/chunks/scrollIntoView-BYF_8_6g.es.js +94 -0
  348. package/dist/chunks/scrollIntoView-BYF_8_6g.es.js.map +1 -0
  349. package/dist/chunks/scrollIntoView-BzIqpHLO.cjs.js +2 -0
  350. package/dist/chunks/scrollIntoView-BzIqpHLO.cjs.js.map +1 -0
  351. package/dist/chunks/select-BuXA5VgT.cjs.js +2 -0
  352. package/dist/chunks/select-BuXA5VgT.cjs.js.map +1 -0
  353. package/dist/chunks/select-X7n0xTYd.es.js +559 -0
  354. package/dist/chunks/select-X7n0xTYd.es.js.map +1 -0
  355. package/dist/chunks/simple-grid-B7BgfVAS.cjs.js +2 -0
  356. package/dist/chunks/simple-grid-B7BgfVAS.cjs.js.map +1 -0
  357. package/dist/chunks/simple-grid-C6GRMtip.es.js +38 -0
  358. package/dist/chunks/simple-grid-C6GRMtip.es.js.map +1 -0
  359. package/dist/chunks/slate-helpers-BN_9Hky2.cjs.js +24 -0
  360. package/dist/chunks/slate-helpers-BN_9Hky2.cjs.js.map +1 -0
  361. package/dist/chunks/slate-helpers-DunxggA8.es.js +6919 -0
  362. package/dist/chunks/slate-helpers-DunxggA8.es.js.map +1 -0
  363. package/dist/chunks/split-button-BWXYRDuQ.es.js +103 -0
  364. package/dist/chunks/split-button-BWXYRDuQ.es.js.map +1 -0
  365. package/dist/chunks/split-button-CgQYMeH7.cjs.js +2 -0
  366. package/dist/chunks/split-button-CgQYMeH7.cjs.js.map +1 -0
  367. package/dist/chunks/stack-BG0j9HvT.cjs.js +2 -0
  368. package/dist/chunks/stack-BG0j9HvT.cjs.js.map +1 -0
  369. package/dist/chunks/stack-QzuqKTKb.es.js +89 -0
  370. package/dist/chunks/stack-QzuqKTKb.es.js.map +1 -0
  371. package/dist/chunks/switch-BQXiI02l.cjs.js +2 -0
  372. package/dist/chunks/switch-BQXiI02l.cjs.js.map +1 -0
  373. package/dist/chunks/switch-rkewogOb.es.js +79 -0
  374. package/dist/chunks/switch-rkewogOb.es.js.map +1 -0
  375. package/dist/chunks/tag-group-DqTm8v26.es.js +781 -0
  376. package/dist/chunks/tag-group-DqTm8v26.es.js.map +1 -0
  377. package/dist/chunks/tag-group-DwTq8DeA.cjs.js +2 -0
  378. package/dist/chunks/tag-group-DwTq8DeA.cjs.js.map +1 -0
  379. package/dist/chunks/text-DSjt3Sqv.es.js +26 -0
  380. package/dist/chunks/text-DSjt3Sqv.es.js.map +1 -0
  381. package/dist/chunks/text-Dg1sFCuC.cjs.js +2 -0
  382. package/dist/chunks/text-Dg1sFCuC.cjs.js.map +1 -0
  383. package/dist/chunks/text-input-DJUpcp3k.cjs.js +2 -0
  384. package/dist/chunks/text-input-DJUpcp3k.cjs.js.map +1 -0
  385. package/dist/chunks/text-input-Dinn4J2V.es.js +19 -0
  386. package/dist/chunks/text-input-Dinn4J2V.es.js.map +1 -0
  387. package/dist/chunks/time-input-B5oRiIpu.cjs.js +2 -0
  388. package/dist/chunks/time-input-B5oRiIpu.cjs.js.map +1 -0
  389. package/dist/chunks/time-input-Us0JugnD.es.js +132 -0
  390. package/dist/chunks/time-input-Us0JugnD.es.js.map +1 -0
  391. package/dist/chunks/toggle-button-C_7Evcn3.cjs.js +2 -0
  392. package/dist/chunks/toggle-button-C_7Evcn3.cjs.js.map +1 -0
  393. package/dist/chunks/toggle-button-RS4Z6UNN.es.js +30 -0
  394. package/dist/chunks/toggle-button-RS4Z6UNN.es.js.map +1 -0
  395. package/dist/chunks/toggle-button-group-DHMnBWSg.es.js +82 -0
  396. package/dist/chunks/toggle-button-group-DHMnBWSg.es.js.map +1 -0
  397. package/dist/chunks/toggle-button-group-LddoXszz.cjs.js +2 -0
  398. package/dist/chunks/toggle-button-group-LddoXszz.cjs.js.map +1 -0
  399. package/dist/chunks/toolbar-BUYkQMPz.cjs.js +2 -0
  400. package/dist/chunks/toolbar-BUYkQMPz.cjs.js.map +1 -0
  401. package/dist/chunks/toolbar-DI1eQG-1.es.js +59 -0
  402. package/dist/chunks/toolbar-DI1eQG-1.es.js.map +1 -0
  403. package/dist/chunks/tooltip-CIAEV4_B.cjs.js +2 -0
  404. package/dist/chunks/tooltip-CIAEV4_B.cjs.js.map +1 -0
  405. package/dist/chunks/tooltip-CTvNYvui.es.js +269 -0
  406. package/dist/chunks/tooltip-CTvNYvui.es.js.map +1 -0
  407. package/dist/chunks/use-formatting-state-DVcnyVBl.cjs.js +2 -0
  408. package/dist/chunks/use-formatting-state-DVcnyVBl.cjs.js.map +1 -0
  409. package/dist/chunks/use-formatting-state-DdKYccZs.es.js +247 -0
  410. package/dist/chunks/use-formatting-state-DdKYccZs.es.js.map +1 -0
  411. package/dist/chunks/use-recipe-DuU8En0C.es.js +13 -0
  412. package/dist/chunks/use-recipe-DuU8En0C.es.js.map +1 -0
  413. package/dist/chunks/use-recipe-pbWWLWIq.cjs.js +2 -0
  414. package/dist/chunks/use-recipe-pbWWLWIq.cjs.js.map +1 -0
  415. package/dist/chunks/useButton-BgBfaV_L.cjs.js +2 -0
  416. package/dist/chunks/useButton-BgBfaV_L.cjs.js.map +1 -0
  417. package/dist/chunks/useButton-DAeSjgg9.es.js +57 -0
  418. package/dist/chunks/useButton-DAeSjgg9.es.js.map +1 -0
  419. package/dist/chunks/useCollator-BHMZd1r6.es.js +12 -0
  420. package/dist/chunks/useCollator-BHMZd1r6.es.js.map +1 -0
  421. package/dist/chunks/useCollator-YVJAe1GI.cjs.js +2 -0
  422. package/dist/chunks/useCollator-YVJAe1GI.cjs.js.map +1 -0
  423. package/dist/chunks/useControlledState-D0L6S_5r.cjs.js.map +1 -1
  424. package/dist/chunks/useControlledState-u436Wbp1.es.js.map +1 -1
  425. package/dist/chunks/useDateFormatter-C7Kxzwro.es.js +1601 -0
  426. package/dist/chunks/useDateFormatter-C7Kxzwro.es.js.map +1 -0
  427. package/dist/chunks/useDateFormatter-CS19Cch2.cjs.js +2 -0
  428. package/dist/chunks/useDateFormatter-CS19Cch2.cjs.js.map +1 -0
  429. package/dist/chunks/useEvent-CuUOU5WV.cjs.js +2 -0
  430. package/dist/chunks/useEvent-CuUOU5WV.cjs.js.map +1 -0
  431. package/dist/chunks/useEvent-YHhqZvpU.es.js +22 -0
  432. package/dist/chunks/useEvent-YHhqZvpU.es.js.map +1 -0
  433. package/dist/chunks/useField-Ce9zQxmx.es.js +36 -0
  434. package/dist/chunks/useField-Ce9zQxmx.es.js.map +1 -0
  435. package/dist/chunks/useField-DmqO9k7a.cjs.js +2 -0
  436. package/dist/chunks/useField-DmqO9k7a.cjs.js.map +1 -0
  437. package/dist/chunks/useFilter-CG8lxfCP.cjs.js +2 -0
  438. package/dist/chunks/useFilter-CG8lxfCP.cjs.js.map +1 -0
  439. package/dist/chunks/useFilter-DOfNzeZ9.es.js +36 -0
  440. package/dist/chunks/useFilter-DOfNzeZ9.es.js.map +1 -0
  441. package/dist/chunks/useFocus-BtJ38vev.cjs.js +2 -0
  442. package/dist/chunks/useFocus-BtJ38vev.cjs.js.map +1 -0
  443. package/dist/chunks/useFocus-DkWJ2TJC.es.js +29 -0
  444. package/dist/chunks/useFocus-DkWJ2TJC.es.js.map +1 -0
  445. package/dist/chunks/useFocusRing-CzFer4bD.cjs.js +2 -0
  446. package/dist/chunks/useFocusRing-CzFer4bD.cjs.js.map +1 -0
  447. package/dist/chunks/useFocusRing-updnkDQg.es.js +35 -0
  448. package/dist/chunks/useFocusRing-updnkDQg.es.js.map +1 -0
  449. package/dist/chunks/useFocusVisible-CWDaG0ze.es.js +111 -0
  450. package/dist/chunks/useFocusVisible-CWDaG0ze.es.js.map +1 -0
  451. package/dist/chunks/useFocusVisible-Co0C61s7.cjs.js +2 -0
  452. package/dist/chunks/useFocusVisible-Co0C61s7.cjs.js.map +1 -0
  453. package/dist/chunks/useFocusWithin-BDSWp3rw.cjs.js +2 -0
  454. package/dist/chunks/useFocusWithin-BDSWp3rw.cjs.js.map +1 -0
  455. package/dist/chunks/useFocusWithin-ByYlHjju.es.js +56 -0
  456. package/dist/chunks/useFocusWithin-ByYlHjju.es.js.map +1 -0
  457. package/dist/chunks/useFocusable-CrsD8ZcF.es.js +77 -0
  458. package/dist/chunks/useFocusable-CrsD8ZcF.es.js.map +1 -0
  459. package/dist/chunks/useFocusable-DCgmQxS1.cjs.js +2 -0
  460. package/dist/chunks/useFocusable-DCgmQxS1.cjs.js.map +1 -0
  461. package/dist/chunks/useFormReset--wPlnEOl.cjs.js +2 -0
  462. package/dist/chunks/useFormReset--wPlnEOl.cjs.js.map +1 -0
  463. package/dist/chunks/useFormReset-DurgUJL-.es.js +21 -0
  464. package/dist/chunks/useFormReset-DurgUJL-.es.js.map +1 -0
  465. package/dist/chunks/useFormValidation-4hZ1_a6w.es.js +202 -0
  466. package/dist/chunks/useFormValidation-4hZ1_a6w.es.js.map +1 -0
  467. package/dist/chunks/useFormValidation-BEaCuNx1.cjs.js +2 -0
  468. package/dist/chunks/useFormValidation-BEaCuNx1.cjs.js.map +1 -0
  469. package/dist/chunks/useGlobalListeners-BOOfV5Wh.es.js +35 -0
  470. package/dist/chunks/useGlobalListeners-BOOfV5Wh.es.js.map +1 -0
  471. package/dist/chunks/useGlobalListeners-DcmIlwrO.cjs.js +2 -0
  472. package/dist/chunks/useGlobalListeners-DcmIlwrO.cjs.js.map +1 -0
  473. package/dist/chunks/useHighlightSelectionDescription-BQg1WcM3.es.js +598 -0
  474. package/dist/chunks/useHighlightSelectionDescription-BQg1WcM3.es.js.map +1 -0
  475. package/dist/chunks/useHighlightSelectionDescription-CpDw-Mgj.cjs.js +2 -0
  476. package/dist/chunks/useHighlightSelectionDescription-CpDw-Mgj.cjs.js.map +1 -0
  477. package/dist/chunks/useHover-CiP9jMFy.cjs.js +2 -0
  478. package/dist/chunks/useHover-CiP9jMFy.cjs.js.map +1 -0
  479. package/dist/chunks/useHover-DhoE75lX.es.js +86 -0
  480. package/dist/chunks/useHover-DhoE75lX.es.js.map +1 -0
  481. package/dist/chunks/useLabel-BBmkkrPP.es.js +37 -0
  482. package/dist/chunks/useLabel-BBmkkrPP.es.js.map +1 -0
  483. package/dist/chunks/useLabel-Y8tWagLu.cjs.js +2 -0
  484. package/dist/chunks/useLabel-Y8tWagLu.cjs.js.map +1 -0
  485. package/dist/chunks/useLocalizedStringFormatter-BRnRyxJp.es.js +97 -0
  486. package/dist/chunks/useLocalizedStringFormatter-BRnRyxJp.es.js.map +1 -0
  487. package/dist/chunks/useLocalizedStringFormatter-sB0mFYtL.cjs.js +2 -0
  488. package/dist/chunks/useLocalizedStringFormatter-sB0mFYtL.cjs.js.map +1 -0
  489. package/dist/chunks/useObjectRef-CaJ5pgjX.es.js.map +1 -1
  490. package/dist/chunks/useObjectRef-dXOJdONs.cjs.js +2 -0
  491. package/dist/chunks/useObjectRef-dXOJdONs.cjs.js.map +1 -0
  492. package/dist/chunks/usePress-C8-hLXJw.cjs.js +8 -0
  493. package/dist/chunks/usePress-C8-hLXJw.cjs.js.map +1 -0
  494. package/dist/chunks/usePress-DHhWHfMz.es.js +456 -0
  495. package/dist/chunks/usePress-DHhWHfMz.es.js.map +1 -0
  496. package/dist/chunks/useProgressBar-DHFmTHqL.es.js +48 -0
  497. package/dist/chunks/useProgressBar-DHFmTHqL.es.js.map +1 -0
  498. package/dist/chunks/useProgressBar-DWH4I0qR.cjs.js +2 -0
  499. package/dist/chunks/useProgressBar-DWH4I0qR.cjs.js.map +1 -0
  500. package/dist/chunks/useSeparator-B-OtWwE7.cjs.js +2 -0
  501. package/dist/chunks/useSeparator-B-OtWwE7.cjs.js.map +1 -0
  502. package/dist/chunks/useSeparator-Dg70ACBm.es.js +19 -0
  503. package/dist/chunks/useSeparator-Dg70ACBm.es.js.map +1 -0
  504. package/dist/chunks/useSingleSelectListState-D1rjgMv_.es.js +35 -0
  505. package/dist/chunks/useSingleSelectListState-D1rjgMv_.es.js.map +1 -0
  506. package/dist/chunks/useSingleSelectListState-F2WkLZRg.cjs.js +2 -0
  507. package/dist/chunks/useSingleSelectListState-F2WkLZRg.cjs.js.map +1 -0
  508. package/dist/chunks/useSpinButton-C9DPDo0r.es.js +433 -0
  509. package/dist/chunks/useSpinButton-C9DPDo0r.es.js.map +1 -0
  510. package/dist/chunks/useSpinButton-DA7sVP3T.cjs.js +2 -0
  511. package/dist/chunks/useSpinButton-DA7sVP3T.cjs.js.map +1 -0
  512. package/dist/chunks/useSyncRef-DGRbdR4H.es.js +13 -0
  513. package/dist/chunks/useSyncRef-DGRbdR4H.es.js.map +1 -0
  514. package/dist/chunks/useSyncRef-bcjp9eId.cjs.js +2 -0
  515. package/dist/chunks/useSyncRef-bcjp9eId.cjs.js.map +1 -0
  516. package/dist/chunks/useTextField-BcthGRd8.cjs.js +2 -0
  517. package/dist/chunks/useTextField-BcthGRd8.cjs.js.map +1 -0
  518. package/dist/chunks/useTextField-BnL6tOdd.es.js +91 -0
  519. package/dist/chunks/useTextField-BnL6tOdd.es.js.map +1 -0
  520. package/dist/chunks/useToggle-DqruaaTq.es.js +62 -0
  521. package/dist/chunks/useToggle-DqruaaTq.es.js.map +1 -0
  522. package/dist/chunks/useToggle-VJWgbeCC.cjs.js +2 -0
  523. package/dist/chunks/useToggle-VJWgbeCC.cjs.js.map +1 -0
  524. package/dist/chunks/useToggleState-Dl-o05wQ.cjs.js +2 -0
  525. package/dist/chunks/useToggleState-Dl-o05wQ.cjs.js.map +1 -0
  526. package/dist/chunks/useToggleState-Uh0wTgdI.es.js +22 -0
  527. package/dist/chunks/useToggleState-Uh0wTgdI.es.js.map +1 -0
  528. package/dist/chunks/useToolbar-Bqn3EANT.cjs.js +2 -0
  529. package/dist/chunks/useToolbar-Bqn3EANT.cjs.js.map +1 -0
  530. package/dist/chunks/useToolbar-CLH6Sjes.es.js +55 -0
  531. package/dist/chunks/useToolbar-CLH6Sjes.es.js.map +1 -0
  532. package/dist/chunks/useUpdateEffect-C5YQs_1w.cjs.js +2 -0
  533. package/dist/chunks/useUpdateEffect-C5YQs_1w.cjs.js.map +1 -0
  534. package/dist/chunks/useUpdateEffect-CCDx8D4X.es.js.map +1 -1
  535. package/dist/chunks/utils-BGHwK7fd.cjs.js +2 -0
  536. package/dist/chunks/utils-BGHwK7fd.cjs.js.map +1 -0
  537. package/dist/chunks/utils-BHdR5Nww.cjs.js +2 -0
  538. package/dist/chunks/utils-BHdR5Nww.cjs.js.map +1 -0
  539. package/dist/chunks/utils-BkdW_cdL.es.js +128 -0
  540. package/dist/chunks/utils-BkdW_cdL.es.js.map +1 -0
  541. package/dist/chunks/utils-jpfA6kxk.es.js +188 -0
  542. package/dist/chunks/utils-jpfA6kxk.es.js.map +1 -0
  543. package/dist/chunks/visually-hidden-Bh-G5QHv.cjs.js +2 -0
  544. package/dist/chunks/visually-hidden-Bh-G5QHv.cjs.js.map +1 -0
  545. package/dist/chunks/visually-hidden-BluyWhUI.es.js +11 -0
  546. package/dist/chunks/visually-hidden-BluyWhUI.es.js.map +1 -0
  547. package/dist/chunks/walk-object-CPVtf-bb.cjs.js +2 -0
  548. package/dist/chunks/walk-object-CPVtf-bb.cjs.js.map +1 -0
  549. package/dist/chunks/walk-object-Dpb8i9wi.es.js +27 -0
  550. package/dist/chunks/walk-object-Dpb8i9wi.es.js.map +1 -0
  551. package/dist/code.d.ts +9 -0
  552. package/dist/combobox.d.ts +9 -0
  553. package/dist/components/accordion.cjs +1 -1
  554. package/dist/components/accordion.es.js +1 -1
  555. package/dist/components/alert.cjs +1 -1
  556. package/dist/components/alert.es.js +1 -1
  557. package/dist/components/avatar.cjs +1 -1
  558. package/dist/components/avatar.es.js +1 -1
  559. package/dist/components/badge.cjs +1 -1
  560. package/dist/components/badge.es.js +1 -1
  561. package/dist/components/box.cjs +1 -1
  562. package/dist/components/box.es.js +1 -1
  563. package/dist/components/button.cjs +1 -1
  564. package/dist/components/button.es.js +1 -1
  565. package/dist/components/calendar.cjs +1 -1
  566. package/dist/components/calendar.es.js +1 -1
  567. package/dist/components/card.cjs +1 -1
  568. package/dist/components/card.es.js +1 -1
  569. package/dist/components/checkbox.cjs +1 -1
  570. package/dist/components/checkbox.es.js +1 -1
  571. package/dist/components/code.cjs +1 -1
  572. package/dist/components/code.es.js +1 -1
  573. package/dist/components/combobox.cjs +1 -1
  574. package/dist/components/combobox.es.js +1 -1
  575. package/dist/components/components.cjs +1 -1
  576. package/dist/components/components.es.js +156 -135
  577. package/dist/components/components.es.js.map +1 -1
  578. package/dist/components/constants.cjs +2 -0
  579. package/dist/components/constants.cjs.map +1 -0
  580. package/dist/components/constants.es.js +125 -0
  581. package/dist/components/constants.es.js.map +1 -0
  582. package/dist/components/data-table.cjs +2 -0
  583. package/dist/components/data-table.cjs.map +1 -0
  584. package/dist/components/data-table.es.js +16 -0
  585. package/dist/components/data-table.es.js.map +1 -0
  586. package/dist/components/date-input.cjs +1 -1
  587. package/dist/components/date-input.es.js +1 -1
  588. package/dist/components/date-picker.cjs +1 -1
  589. package/dist/components/date-picker.es.js +1 -1
  590. package/dist/components/date-range-picker.cjs +1 -1
  591. package/dist/components/date-range-picker.es.js +1 -1
  592. package/dist/components/dialog.cjs +1 -1
  593. package/dist/components/dialog.es.js +1 -1
  594. package/dist/components/divider.cjs +1 -1
  595. package/dist/components/divider.es.js +1 -1
  596. package/dist/components/flex.cjs +1 -1
  597. package/dist/components/flex.es.js +1 -1
  598. package/dist/components/form-field.cjs +1 -1
  599. package/dist/components/form-field.es.js +1 -1
  600. package/dist/components/grid.cjs +1 -1
  601. package/dist/components/grid.es.js +1 -1
  602. package/dist/components/group.cjs +2 -0
  603. package/dist/components/group.cjs.map +1 -0
  604. package/dist/components/group.es.js +5 -0
  605. package/dist/components/group.es.js.map +1 -0
  606. package/dist/components/heading.cjs +1 -1
  607. package/dist/components/heading.es.js +1 -1
  608. package/dist/components/hooks.cjs +2 -0
  609. package/dist/components/hooks.cjs.map +1 -0
  610. package/dist/components/hooks.es.js +8 -0
  611. package/dist/components/hooks.es.js.map +1 -0
  612. package/dist/components/icon-button.cjs +1 -1
  613. package/dist/components/icon-button.es.js +1 -1
  614. package/dist/components/icon-toggle-button.cjs +1 -1
  615. package/dist/components/icon-toggle-button.es.js +1 -1
  616. package/dist/components/icon.cjs +1 -1
  617. package/dist/components/icon.es.js +1 -1
  618. package/dist/components/image.cjs +1 -1
  619. package/dist/components/image.es.js +1 -1
  620. package/dist/components/kbd.cjs +1 -1
  621. package/dist/components/kbd.es.js +1 -1
  622. package/dist/components/link.cjs +1 -1
  623. package/dist/components/link.es.js +1 -1
  624. package/dist/components/list.cjs +1 -1
  625. package/dist/components/list.es.js +1 -1
  626. package/dist/components/loading-spinner.cjs +1 -1
  627. package/dist/components/loading-spinner.es.js +1 -1
  628. package/dist/components/multiline-text-input.cjs +1 -1
  629. package/dist/components/multiline-text-input.es.js +1 -1
  630. package/dist/components/nimbus-provider.cjs +1 -1
  631. package/dist/components/nimbus-provider.es.js +1 -1
  632. package/dist/components/number-input.cjs +1 -1
  633. package/dist/components/number-input.es.js +1 -1
  634. package/dist/components/password-input.cjs +1 -1
  635. package/dist/components/password-input.es.js +1 -1
  636. package/dist/components/popover.cjs +2 -0
  637. package/dist/components/popover.cjs.map +1 -0
  638. package/dist/components/popover.es.js +26 -0
  639. package/dist/components/popover.es.js.map +1 -0
  640. package/dist/components/progress-bar.cjs +1 -1
  641. package/dist/components/progress-bar.es.js +1 -1
  642. package/dist/components/radio-input.cjs +1 -1
  643. package/dist/components/radio-input.es.js +1 -1
  644. package/dist/components/range-calendar.cjs +1 -1
  645. package/dist/components/range-calendar.es.js +1 -1
  646. package/dist/components/rich-text-input.cjs +2 -0
  647. package/dist/components/rich-text-input.cjs.map +1 -0
  648. package/dist/components/rich-text-input.es.js +5 -0
  649. package/dist/components/rich-text-input.es.js.map +1 -0
  650. package/dist/components/select.cjs +1 -1
  651. package/dist/components/select.es.js +1 -1
  652. package/dist/components/simple-grid.cjs +1 -1
  653. package/dist/components/simple-grid.es.js +1 -1
  654. package/dist/components/split-button.cjs +2 -0
  655. package/dist/components/split-button.cjs.map +1 -0
  656. package/dist/components/split-button.es.js +5 -0
  657. package/dist/components/split-button.es.js.map +1 -0
  658. package/dist/components/stack.cjs +1 -1
  659. package/dist/components/stack.es.js +1 -1
  660. package/dist/components/switch.cjs +1 -1
  661. package/dist/components/switch.es.js +1 -1
  662. package/dist/components/table.cjs +1 -1
  663. package/dist/components/table.es.js +1 -1
  664. package/dist/components/tag-group.cjs +1 -1
  665. package/dist/components/tag-group.es.js +1 -1
  666. package/dist/components/text-input.cjs +1 -1
  667. package/dist/components/text-input.es.js +1 -1
  668. package/dist/components/text.cjs +1 -1
  669. package/dist/components/text.es.js +1 -1
  670. package/dist/components/time-input.cjs +1 -1
  671. package/dist/components/time-input.es.js +1 -1
  672. package/dist/components/toggle-button-group.cjs +1 -1
  673. package/dist/components/toggle-button-group.es.js +1 -1
  674. package/dist/components/toggle-button.cjs +1 -1
  675. package/dist/components/toggle-button.es.js +1 -1
  676. package/dist/components/toolbar.cjs +2 -0
  677. package/dist/components/toolbar.cjs.map +1 -0
  678. package/dist/components/toolbar.es.js +5 -0
  679. package/dist/components/toolbar.es.js.map +1 -0
  680. package/dist/components/tooltip.cjs +1 -1
  681. package/dist/components/tooltip.es.js +2 -2
  682. package/dist/components/utils.cjs +2 -0
  683. package/dist/components/utils.cjs.map +1 -0
  684. package/dist/components/utils.es.js +76 -0
  685. package/dist/components/utils.es.js.map +1 -0
  686. package/dist/components/visually-hidden.cjs +1 -1
  687. package/dist/components/visually-hidden.es.js +1 -1
  688. package/dist/components.d.ts +540 -31
  689. package/dist/constants.d.ts +129 -0
  690. package/dist/data-table.d.ts +327 -0
  691. package/dist/date-input.d.ts +9 -0
  692. package/dist/date-picker.d.ts +10 -1
  693. package/dist/date-range-picker.d.ts +10 -1
  694. package/dist/dialog.d.ts +9 -0
  695. package/dist/divider.d.ts +11 -8
  696. package/dist/flex.d.ts +9 -0
  697. package/dist/form-field.d.ts +9 -0
  698. package/dist/grid.d.ts +9 -0
  699. package/dist/group.d.ts +44 -0
  700. package/dist/heading.d.ts +10 -1
  701. package/dist/hooks.d.ts +60 -0
  702. package/dist/icon-button.d.ts +9 -0
  703. package/dist/icon-toggle-button.d.ts +9 -0
  704. package/dist/icon.d.ts +9 -0
  705. package/dist/image.d.ts +9 -0
  706. package/dist/index.cjs +1 -1
  707. package/dist/index.cjs.map +1 -1
  708. package/dist/index.d.ts +575 -84
  709. package/dist/index.es.js +258 -239
  710. package/dist/index.es.js.map +1 -1
  711. package/dist/kbd.d.ts +9 -0
  712. package/dist/link.d.ts +9 -0
  713. package/dist/list.d.ts +9 -0
  714. package/dist/loading-spinner.d.ts +9 -0
  715. package/dist/multiline-text-input.d.ts +9 -0
  716. package/dist/nimbus-provider.d.ts +9 -0
  717. package/dist/number-input.d.ts +9 -0
  718. package/dist/password-input.d.ts +9 -0
  719. package/dist/popover.d.ts +27 -0
  720. package/dist/progress-bar.d.ts +13 -2
  721. package/dist/radio-input.d.ts +9 -0
  722. package/dist/range-calendar.d.ts +9 -0
  723. package/dist/rich-text-input.d.ts +79 -0
  724. package/dist/select.d.ts +12 -3
  725. package/dist/setup-jsdom-polyfills.cjs.map +1 -1
  726. package/dist/setup-jsdom-polyfills.d.ts +9 -0
  727. package/dist/setup-jsdom-polyfills.es.js.map +1 -1
  728. package/dist/simple-grid.d.ts +10 -1
  729. package/dist/split-button.d.ts +76 -0
  730. package/dist/stack.d.ts +9 -0
  731. package/dist/switch.d.ts +9 -0
  732. package/dist/table.d.ts +9 -0
  733. package/dist/tag-group.d.ts +9 -0
  734. package/dist/text-input.d.ts +9 -0
  735. package/dist/text.d.ts +10 -1
  736. package/dist/time-input.d.ts +9 -0
  737. package/dist/toggle-button-group.d.ts +9 -0
  738. package/dist/toggle-button.d.ts +9 -0
  739. package/dist/toolbar.d.ts +96 -0
  740. package/dist/tooltip.d.ts +9 -0
  741. package/dist/utils.d.ts +164 -0
  742. package/dist/visually-hidden.d.ts +9 -0
  743. package/package.json +28 -20
  744. package/dist/chunks/Button-BLHXvl6m.es.js +0 -80
  745. package/dist/chunks/Button-BLHXvl6m.es.js.map +0 -1
  746. package/dist/chunks/Button-BjOgrRmH.cjs.js +0 -2
  747. package/dist/chunks/Button-BjOgrRmH.cjs.js.map +0 -1
  748. package/dist/chunks/DateField-Aj6J_Ms0.es.js +0 -2589
  749. package/dist/chunks/DateField-Aj6J_Ms0.es.js.map +0 -1
  750. package/dist/chunks/DateField-G0i9Cflc.cjs.js +0 -2
  751. package/dist/chunks/DateField-G0i9Cflc.cjs.js.map +0 -1
  752. package/dist/chunks/DatePicker-BD8RjPSL.cjs.js +0 -2
  753. package/dist/chunks/DatePicker-BD8RjPSL.cjs.js.map +0 -1
  754. package/dist/chunks/DatePicker-BnQyHiTi.es.js +0 -762
  755. package/dist/chunks/DatePicker-BnQyHiTi.es.js.map +0 -1
  756. package/dist/chunks/Dialog-Btds5x4W.cjs.js +0 -2
  757. package/dist/chunks/Dialog-Btds5x4W.cjs.js.map +0 -1
  758. package/dist/chunks/Dialog-CTf0VB6B.es.js +0 -1888
  759. package/dist/chunks/Dialog-CTf0VB6B.es.js.map +0 -1
  760. package/dist/chunks/FocusScope-BEOPrcCH.cjs.js +0 -2
  761. package/dist/chunks/FocusScope-BEOPrcCH.cjs.js.map +0 -1
  762. package/dist/chunks/FocusScope-qJgAziUV.es.js +0 -671
  763. package/dist/chunks/FocusScope-qJgAziUV.es.js.map +0 -1
  764. package/dist/chunks/Form-amb1SjpT.cjs.js +0 -2
  765. package/dist/chunks/Form-amb1SjpT.cjs.js.map +0 -1
  766. package/dist/chunks/Form-yBl0QZl8.es.js +0 -7
  767. package/dist/chunks/Form-yBl0QZl8.es.js.map +0 -1
  768. package/dist/chunks/Group-apcpZquv.cjs.js +0 -2
  769. package/dist/chunks/Group-apcpZquv.cjs.js.map +0 -1
  770. package/dist/chunks/Group-nelci54o.es.js +0 -78
  771. package/dist/chunks/Group-nelci54o.es.js.map +0 -1
  772. package/dist/chunks/Heading-CYQ_Jn6M.es.js +0 -1605
  773. package/dist/chunks/Heading-CYQ_Jn6M.es.js.map +0 -1
  774. package/dist/chunks/Heading-DiqU5dbv.cjs.js +0 -2
  775. package/dist/chunks/Heading-DiqU5dbv.cjs.js.map +0 -1
  776. package/dist/chunks/Hidden-X9vuhkMZ.es.js +0 -28
  777. package/dist/chunks/Hidden-X9vuhkMZ.es.js.map +0 -1
  778. package/dist/chunks/Input-BEgGe6bw.cjs.js +0 -2
  779. package/dist/chunks/Input-BEgGe6bw.cjs.js.map +0 -1
  780. package/dist/chunks/Input-Cvh_r_c1.es.js +0 -43
  781. package/dist/chunks/Input-Cvh_r_c1.es.js.map +0 -1
  782. package/dist/chunks/Label-BhU-HP65.es.js +0 -17
  783. package/dist/chunks/Label-BhU-HP65.es.js.map +0 -1
  784. package/dist/chunks/Label-DFXyfxZM.cjs.js +0 -2
  785. package/dist/chunks/Label-DFXyfxZM.cjs.js.map +0 -1
  786. package/dist/chunks/ListBox-0C7L4Sat.es.js +0 -645
  787. package/dist/chunks/ListBox-0C7L4Sat.es.js.map +0 -1
  788. package/dist/chunks/ListBox-BEZfjFMq.cjs.js +0 -2
  789. package/dist/chunks/ListBox-BEZfjFMq.cjs.js.map +0 -1
  790. package/dist/chunks/OverlayArrow-BcRQfR_V.cjs.js +0 -2
  791. package/dist/chunks/OverlayArrow-BcRQfR_V.cjs.js.map +0 -1
  792. package/dist/chunks/OverlayArrow-C1hn2WBd.es.js +0 -479
  793. package/dist/chunks/OverlayArrow-C1hn2WBd.es.js.map +0 -1
  794. package/dist/chunks/ProgressBar-Cot0VLjE.cjs.js +0 -2
  795. package/dist/chunks/ProgressBar-Cot0VLjE.cjs.js.map +0 -1
  796. package/dist/chunks/ProgressBar-DrSArMks.es.js +0 -39
  797. package/dist/chunks/ProgressBar-DrSArMks.es.js.map +0 -1
  798. package/dist/chunks/RSPContexts-AkhSBHGO.es.js +0 -6
  799. package/dist/chunks/RSPContexts-AkhSBHGO.es.js.map +0 -1
  800. package/dist/chunks/RSPContexts-CIAIlAKH.cjs.js +0 -2
  801. package/dist/chunks/RSPContexts-CIAIlAKH.cjs.js.map +0 -1
  802. package/dist/chunks/SSRProvider-DZRLwxPS.cjs.js +0 -2
  803. package/dist/chunks/SSRProvider-DZRLwxPS.cjs.js.map +0 -1
  804. package/dist/chunks/SSRProvider-eIEwc-2s.es.js +0 -51
  805. package/dist/chunks/SSRProvider-eIEwc-2s.es.js.map +0 -1
  806. package/dist/chunks/Separator-BFKzWOOv.cjs.js +0 -18
  807. package/dist/chunks/Separator-BFKzWOOv.cjs.js.map +0 -1
  808. package/dist/chunks/Separator-ChieGwKF.es.js +0 -2435
  809. package/dist/chunks/Separator-ChieGwKF.es.js.map +0 -1
  810. package/dist/chunks/TextArea-BleoN8N2.es.js +0 -42
  811. package/dist/chunks/TextArea-BleoN8N2.es.js.map +0 -1
  812. package/dist/chunks/TextArea-ciW_61Jv.cjs.js +0 -2
  813. package/dist/chunks/TextArea-ciW_61Jv.cjs.js.map +0 -1
  814. package/dist/chunks/ToggleButton-CXa3lkD6.cjs.js +0 -2
  815. package/dist/chunks/ToggleButton-CXa3lkD6.cjs.js.map +0 -1
  816. package/dist/chunks/ToggleButton-CcA_6EjA.es.js +0 -189
  817. package/dist/chunks/ToggleButton-CcA_6EjA.es.js.map +0 -1
  818. package/dist/chunks/VisuallyHidden-Cqkg4RzT.cjs.js +0 -2
  819. package/dist/chunks/VisuallyHidden-Cqkg4RzT.cjs.js.map +0 -1
  820. package/dist/chunks/VisuallyHidden-vVsCehgl.es.js +0 -41
  821. package/dist/chunks/VisuallyHidden-vVsCehgl.es.js.map +0 -1
  822. package/dist/chunks/accordion-4C7hF2JJ.es.js +0 -223
  823. package/dist/chunks/accordion-4C7hF2JJ.es.js.map +0 -1
  824. package/dist/chunks/accordion-B-0SAOc-.cjs.js +0 -2
  825. package/dist/chunks/accordion-B-0SAOc-.cjs.js.map +0 -1
  826. package/dist/chunks/alert-C9I2_j1h.es.js +0 -187
  827. package/dist/chunks/alert-C9I2_j1h.es.js.map +0 -1
  828. package/dist/chunks/alert-DWA7Mm4i.cjs.js +0 -2
  829. package/dist/chunks/alert-DWA7Mm4i.cjs.js.map +0 -1
  830. package/dist/chunks/avatar-DDCMu1RQ.es.js +0 -38
  831. package/dist/chunks/avatar-DDCMu1RQ.es.js.map +0 -1
  832. package/dist/chunks/avatar-Dps7PI8I.cjs.js +0 -2
  833. package/dist/chunks/avatar-Dps7PI8I.cjs.js.map +0 -1
  834. package/dist/chunks/badge-Do9L64AE.cjs.js +0 -2
  835. package/dist/chunks/badge-Do9L64AE.cjs.js.map +0 -1
  836. package/dist/chunks/badge-Iq596jRa.es.js +0 -78
  837. package/dist/chunks/badge-Iq596jRa.es.js.map +0 -1
  838. package/dist/chunks/box-BOsRGQEm.cjs.js +0 -2
  839. package/dist/chunks/box-BOsRGQEm.cjs.js.map +0 -1
  840. package/dist/chunks/box-Cd4iddEV.es.js +0 -13
  841. package/dist/chunks/box-Cd4iddEV.es.js.map +0 -1
  842. package/dist/chunks/button-CdEn0J7Z.cjs.js +0 -2
  843. package/dist/chunks/button-CdEn0J7Z.cjs.js.map +0 -1
  844. package/dist/chunks/button-CueBxdjn.es.js +0 -57
  845. package/dist/chunks/button-CueBxdjn.es.js.map +0 -1
  846. package/dist/chunks/calendar-DssRRpmr.cjs.js +0 -2
  847. package/dist/chunks/calendar-DssRRpmr.cjs.js.map +0 -1
  848. package/dist/chunks/calendar-DwmLJswz.es.js +0 -187
  849. package/dist/chunks/calendar-DwmLJswz.es.js.map +0 -1
  850. package/dist/chunks/card-BZEVZLCo.cjs.js +0 -2
  851. package/dist/chunks/card-BZEVZLCo.cjs.js.map +0 -1
  852. package/dist/chunks/card-CDFYX3Fk.es.js +0 -139
  853. package/dist/chunks/card-CDFYX3Fk.es.js.map +0 -1
  854. package/dist/chunks/checkbox-C9AJOro3.es.js +0 -90
  855. package/dist/chunks/checkbox-C9AJOro3.es.js.map +0 -1
  856. package/dist/chunks/checkbox-Cc2Yab3K.cjs.js +0 -2
  857. package/dist/chunks/checkbox-Cc2Yab3K.cjs.js.map +0 -1
  858. package/dist/chunks/code-7P3tH99x.cjs.js +0 -2
  859. package/dist/chunks/code-7P3tH99x.cjs.js.map +0 -1
  860. package/dist/chunks/code-C44qm68X.es.js +0 -8
  861. package/dist/chunks/code-C44qm68X.es.js.map +0 -1
  862. package/dist/chunks/combobox-BuL7gWCK.cjs.js +0 -2
  863. package/dist/chunks/combobox-BuL7gWCK.cjs.js.map +0 -1
  864. package/dist/chunks/combobox-qAi2j415.es.js +0 -1918
  865. package/dist/chunks/combobox-qAi2j415.es.js.map +0 -1
  866. package/dist/chunks/context-D3RF-nTI.es.js +0 -94
  867. package/dist/chunks/context-D3RF-nTI.es.js.map +0 -1
  868. package/dist/chunks/context-DURpz5en.cjs.js +0 -2
  869. package/dist/chunks/context-DURpz5en.cjs.js.map +0 -1
  870. package/dist/chunks/create-recipe-context-BfiKn3k_.cjs.js +0 -2
  871. package/dist/chunks/create-recipe-context-BfiKn3k_.cjs.js.map +0 -1
  872. package/dist/chunks/create-recipe-context-c0qjq1fz.es.js +0 -62
  873. package/dist/chunks/create-recipe-context-c0qjq1fz.es.js.map +0 -1
  874. package/dist/chunks/create-slot-recipe-context-7JMdJHPF.cjs.js +0 -2
  875. package/dist/chunks/create-slot-recipe-context-7JMdJHPF.cjs.js.map +0 -1
  876. package/dist/chunks/create-slot-recipe-context-Cv3lncUO.es.js +0 -104
  877. package/dist/chunks/create-slot-recipe-context-Cv3lncUO.es.js.map +0 -1
  878. package/dist/chunks/date-input-CCTsf1nI.es.js +0 -17
  879. package/dist/chunks/date-input-CCTsf1nI.es.js.map +0 -1
  880. package/dist/chunks/date-input-CmiFb8SU.cjs.js +0 -2
  881. package/dist/chunks/date-input-CmiFb8SU.cjs.js.map +0 -1
  882. package/dist/chunks/date-picker-BFVj989W.es.js +0 -187
  883. package/dist/chunks/date-picker-BFVj989W.es.js.map +0 -1
  884. package/dist/chunks/date-picker-BwlDu__G.cjs.js +0 -2
  885. package/dist/chunks/date-picker-BwlDu__G.cjs.js.map +0 -1
  886. package/dist/chunks/date-range-picker-Cx9WSfmc.cjs.js +0 -2
  887. package/dist/chunks/date-range-picker-Cx9WSfmc.cjs.js.map +0 -1
  888. package/dist/chunks/date-range-picker-Cxe6UXcI.es.js +0 -277
  889. package/dist/chunks/date-range-picker-Cxe6UXcI.es.js.map +0 -1
  890. package/dist/chunks/dialog-7iIFtc75.cjs.js +0 -2
  891. package/dist/chunks/dialog-7iIFtc75.cjs.js.map +0 -1
  892. package/dist/chunks/dialog-CbMKp4zh.es.js +0 -1874
  893. package/dist/chunks/dialog-CbMKp4zh.es.js.map +0 -1
  894. package/dist/chunks/divider-CEphvk-H.es.js +0 -60
  895. package/dist/chunks/divider-CEphvk-H.es.js.map +0 -1
  896. package/dist/chunks/divider-CjCxQeVK.cjs.js +0 -2
  897. package/dist/chunks/divider-CjCxQeVK.cjs.js.map +0 -1
  898. package/dist/chunks/domHelpers-InH3T0qs.es.js +0 -16
  899. package/dist/chunks/domHelpers-InH3T0qs.es.js.map +0 -1
  900. package/dist/chunks/domHelpers-YAYZ9fE9.cjs.js +0 -2
  901. package/dist/chunks/domHelpers-YAYZ9fE9.cjs.js.map +0 -1
  902. package/dist/chunks/extractStyleProps-CRJEfqqS.cjs.js +0 -2
  903. package/dist/chunks/extractStyleProps-CRJEfqqS.cjs.js.map +0 -1
  904. package/dist/chunks/extractStyleProps-KcWE_ep4.es.js +0 -11
  905. package/dist/chunks/extractStyleProps-KcWE_ep4.es.js.map +0 -1
  906. package/dist/chunks/factory-BpGQXckI.es.js +0 -266
  907. package/dist/chunks/factory-BpGQXckI.es.js.map +0 -1
  908. package/dist/chunks/factory-DNbWS0Ob.cjs.js +0 -3
  909. package/dist/chunks/factory-DNbWS0Ob.cjs.js.map +0 -1
  910. package/dist/chunks/filterDOMProps-HzsCnE3d.es.js +0 -25
  911. package/dist/chunks/filterDOMProps-HzsCnE3d.es.js.map +0 -1
  912. package/dist/chunks/filterDOMProps-_f3L9QML.cjs.js +0 -2
  913. package/dist/chunks/filterDOMProps-_f3L9QML.cjs.js.map +0 -1
  914. package/dist/chunks/flex-DgabwPpo.es.js +0 -40
  915. package/dist/chunks/flex-DgabwPpo.es.js.map +0 -1
  916. package/dist/chunks/flex-DgsstZZT.cjs.js +0 -2
  917. package/dist/chunks/flex-DgsstZZT.cjs.js.map +0 -1
  918. package/dist/chunks/focusSafely-BEP7qH8R.cjs.js +0 -2
  919. package/dist/chunks/focusSafely-BEP7qH8R.cjs.js.map +0 -1
  920. package/dist/chunks/focusSafely-DJGT4IAS.es.js +0 -69
  921. package/dist/chunks/focusSafely-DJGT4IAS.es.js.map +0 -1
  922. package/dist/chunks/form-field-CZ9tkW04.cjs.js +0 -11
  923. package/dist/chunks/form-field-CZ9tkW04.cjs.js.map +0 -1
  924. package/dist/chunks/form-field-cwuj6464.es.js +0 -310
  925. package/dist/chunks/form-field-cwuj6464.es.js.map +0 -1
  926. package/dist/chunks/grid-D2EDS3Nw.cjs.js +0 -2
  927. package/dist/chunks/grid-D2EDS3Nw.cjs.js.map +0 -1
  928. package/dist/chunks/grid-item-BHKNxWuU.es.js +0 -75
  929. package/dist/chunks/grid-item-BHKNxWuU.es.js.map +0 -1
  930. package/dist/chunks/grid-item-Bwt35oD8.cjs.js +0 -2
  931. package/dist/chunks/grid-item-Bwt35oD8.cjs.js.map +0 -1
  932. package/dist/chunks/grid-ksgCqjX_.es.js +0 -14
  933. package/dist/chunks/grid-ksgCqjX_.es.js.map +0 -1
  934. package/dist/chunks/heading-C9DC5cG8.es.js +0 -8
  935. package/dist/chunks/heading-C9DC5cG8.es.js.map +0 -1
  936. package/dist/chunks/heading-CbGsyynP.cjs.js +0 -2
  937. package/dist/chunks/heading-CbGsyynP.cjs.js.map +0 -1
  938. package/dist/chunks/icon-BSGub7AG.es.js +0 -32
  939. package/dist/chunks/icon-BSGub7AG.es.js.map +0 -1
  940. package/dist/chunks/icon-H-rP9kq5.cjs.js +0 -2
  941. package/dist/chunks/icon-H-rP9kq5.cjs.js.map +0 -1
  942. package/dist/chunks/icon-button-C7MMcLBN.es.js +0 -14
  943. package/dist/chunks/icon-button-C7MMcLBN.es.js.map +0 -1
  944. package/dist/chunks/icon-button-DF2_vh-X.cjs.js +0 -2
  945. package/dist/chunks/icon-button-DF2_vh-X.cjs.js.map +0 -1
  946. package/dist/chunks/icon-toggle-button-BJBv57G-.es.js +0 -13
  947. package/dist/chunks/icon-toggle-button-BJBv57G-.es.js.map +0 -1
  948. package/dist/chunks/icon-toggle-button-D3QOY_O9.cjs.js +0 -2
  949. package/dist/chunks/icon-toggle-button-D3QOY_O9.cjs.js.map +0 -1
  950. package/dist/chunks/image-B-WEdENT.cjs.js +0 -2
  951. package/dist/chunks/image-B-WEdENT.cjs.js.map +0 -1
  952. package/dist/chunks/image-BVUCjLWP.es.js +0 -22
  953. package/dist/chunks/image-BVUCjLWP.es.js.map +0 -1
  954. package/dist/chunks/image-BwlmPt3P.es.js +0 -8
  955. package/dist/chunks/image-BwlmPt3P.es.js.map +0 -1
  956. package/dist/chunks/image-CIQlu9WX.cjs.js +0 -2
  957. package/dist/chunks/image-CIQlu9WX.cjs.js.map +0 -1
  958. package/dist/chunks/index--oJQaJZy.es.js +0 -3316
  959. package/dist/chunks/index--oJQaJZy.es.js.map +0 -1
  960. package/dist/chunks/index-Ca-OEf5O.cjs.js +0 -4
  961. package/dist/chunks/index-Ca-OEf5O.cjs.js.map +0 -1
  962. package/dist/chunks/kbd-D4NGKYuV.cjs.js +0 -2
  963. package/dist/chunks/kbd-D4NGKYuV.cjs.js.map +0 -1
  964. package/dist/chunks/kbd-r-if98_U.es.js +0 -16
  965. package/dist/chunks/kbd-r-if98_U.es.js.map +0 -1
  966. package/dist/chunks/link-BzKZPUDc.cjs.js +0 -2
  967. package/dist/chunks/link-BzKZPUDc.cjs.js.map +0 -1
  968. package/dist/chunks/link-CpCTJrhi.es.js +0 -51
  969. package/dist/chunks/link-CpCTJrhi.es.js.map +0 -1
  970. package/dist/chunks/list-BaX7-sRB.cjs.js +0 -2
  971. package/dist/chunks/list-BaX7-sRB.cjs.js.map +0 -1
  972. package/dist/chunks/list-BhODpevn.es.js +0 -23
  973. package/dist/chunks/list-BhODpevn.es.js.map +0 -1
  974. package/dist/chunks/loading-spinner-DJg5GzG_.cjs.js +0 -2
  975. package/dist/chunks/loading-spinner-DJg5GzG_.cjs.js.map +0 -1
  976. package/dist/chunks/loading-spinner-DchMqwoe.es.js +0 -106
  977. package/dist/chunks/loading-spinner-DchMqwoe.es.js.map +0 -1
  978. package/dist/chunks/make-element-focusable-Ca78aIFw.es.js +0 -22
  979. package/dist/chunks/make-element-focusable-Ca78aIFw.es.js.map +0 -1
  980. package/dist/chunks/make-element-focusable-DDGKtWBN.cjs.js +0 -2
  981. package/dist/chunks/make-element-focusable-DDGKtWBN.cjs.js.map +0 -1
  982. package/dist/chunks/menu-B3lbUDtQ.cjs.js +0 -2
  983. package/dist/chunks/menu-B3lbUDtQ.cjs.js.map +0 -1
  984. package/dist/chunks/menu-Bcxace3m.es.js +0 -167
  985. package/dist/chunks/menu-Bcxace3m.es.js.map +0 -1
  986. package/dist/chunks/mergeProps-C0OSi2w3.es.js +0 -129
  987. package/dist/chunks/mergeProps-C0OSi2w3.es.js.map +0 -1
  988. package/dist/chunks/mergeProps-VvQrkhSh.cjs.js +0 -2
  989. package/dist/chunks/mergeProps-VvQrkhSh.cjs.js.map +0 -1
  990. package/dist/chunks/multiline-text-input-CsC1RnrK.cjs.js +0 -12
  991. package/dist/chunks/multiline-text-input-CsC1RnrK.cjs.js.map +0 -1
  992. package/dist/chunks/multiline-text-input-mG88SzQO.es.js +0 -120
  993. package/dist/chunks/multiline-text-input-mG88SzQO.es.js.map +0 -1
  994. package/dist/chunks/namespace-BXD5i_90.cjs.js +0 -2
  995. package/dist/chunks/namespace-BXD5i_90.cjs.js.map +0 -1
  996. package/dist/chunks/namespace-BmDr3F-d.es.js +0 -74
  997. package/dist/chunks/namespace-BmDr3F-d.es.js.map +0 -1
  998. package/dist/chunks/nimbus-provider-DJEIgoZl.cjs.js +0 -2
  999. package/dist/chunks/nimbus-provider-DJEIgoZl.cjs.js.map +0 -1
  1000. package/dist/chunks/nimbus-provider-DPlYG_b9.es.js +0 -101
  1001. package/dist/chunks/nimbus-provider-DPlYG_b9.es.js.map +0 -1
  1002. package/dist/chunks/number-5qMXmHyn.es.js +0 -21
  1003. package/dist/chunks/number-5qMXmHyn.es.js.map +0 -1
  1004. package/dist/chunks/number-CnrRPi4_.cjs.js +0 -2
  1005. package/dist/chunks/number-CnrRPi4_.cjs.js.map +0 -1
  1006. package/dist/chunks/number-input-BNL4jPo5.cjs.js +0 -2
  1007. package/dist/chunks/number-input-BNL4jPo5.cjs.js.map +0 -1
  1008. package/dist/chunks/number-input-xPBvFtO8.es.js +0 -670
  1009. package/dist/chunks/number-input-xPBvFtO8.es.js.map +0 -1
  1010. package/dist/chunks/openLink-BRnXRj9w.es.js +0 -101
  1011. package/dist/chunks/openLink-BRnXRj9w.es.js.map +0 -1
  1012. package/dist/chunks/openLink-BjodHrGD.cjs.js +0 -2
  1013. package/dist/chunks/openLink-BjodHrGD.cjs.js.map +0 -1
  1014. package/dist/chunks/password-input-ClTF8ndK.cjs.js +0 -2
  1015. package/dist/chunks/password-input-ClTF8ndK.cjs.js.map +0 -1
  1016. package/dist/chunks/password-input-SKlXZSjb.es.js +0 -50
  1017. package/dist/chunks/password-input-SKlXZSjb.es.js.map +0 -1
  1018. package/dist/chunks/platform-D-bXaP3n.es.js +0 -45
  1019. package/dist/chunks/platform-D-bXaP3n.es.js.map +0 -1
  1020. package/dist/chunks/platform-Vom5nEUR.cjs.js +0 -2
  1021. package/dist/chunks/platform-Vom5nEUR.cjs.js.map +0 -1
  1022. package/dist/chunks/progress-bar-D0NErylg.cjs.js +0 -2
  1023. package/dist/chunks/progress-bar-D0NErylg.cjs.js.map +0 -1
  1024. package/dist/chunks/progress-bar-D6DHvllq.es.js +0 -73
  1025. package/dist/chunks/progress-bar-D6DHvllq.es.js.map +0 -1
  1026. package/dist/chunks/provider-CUesptNK.cjs.js +0 -16
  1027. package/dist/chunks/provider-CUesptNK.cjs.js.map +0 -1
  1028. package/dist/chunks/provider-D5u1b72_.es.js +0 -989
  1029. package/dist/chunks/provider-D5u1b72_.es.js.map +0 -1
  1030. package/dist/chunks/radio-input-CigGVjie.es.js +0 -320
  1031. package/dist/chunks/radio-input-CigGVjie.es.js.map +0 -1
  1032. package/dist/chunks/radio-input-K6pvxMCL.cjs.js +0 -2
  1033. package/dist/chunks/radio-input-K6pvxMCL.cjs.js.map +0 -1
  1034. package/dist/chunks/range-calendar-BPSLYP1r.cjs.js +0 -2
  1035. package/dist/chunks/range-calendar-BPSLYP1r.cjs.js.map +0 -1
  1036. package/dist/chunks/range-calendar-CREtOSp1.es.js +0 -187
  1037. package/dist/chunks/range-calendar-CREtOSp1.es.js.map +0 -1
  1038. package/dist/chunks/scrollIntoView-B2eLOBfw.cjs.js +0 -2
  1039. package/dist/chunks/scrollIntoView-B2eLOBfw.cjs.js.map +0 -1
  1040. package/dist/chunks/scrollIntoView-C5qp-va8.es.js +0 -64
  1041. package/dist/chunks/scrollIntoView-C5qp-va8.es.js.map +0 -1
  1042. package/dist/chunks/select-C-s_r1_Z.es.js +0 -795
  1043. package/dist/chunks/select-C-s_r1_Z.es.js.map +0 -1
  1044. package/dist/chunks/select-Cjftrm7h.cjs.js +0 -2
  1045. package/dist/chunks/select-Cjftrm7h.cjs.js.map +0 -1
  1046. package/dist/chunks/simple-grid-BYgtLdTo.cjs.js +0 -2
  1047. package/dist/chunks/simple-grid-BYgtLdTo.cjs.js.map +0 -1
  1048. package/dist/chunks/simple-grid-QwCuXJDe.es.js +0 -38
  1049. package/dist/chunks/simple-grid-QwCuXJDe.es.js.map +0 -1
  1050. package/dist/chunks/stack-CFOuBCxS.es.js +0 -89
  1051. package/dist/chunks/stack-CFOuBCxS.es.js.map +0 -1
  1052. package/dist/chunks/stack-CSKcZxll.cjs.js +0 -2
  1053. package/dist/chunks/stack-CSKcZxll.cjs.js.map +0 -1
  1054. package/dist/chunks/switch-B3aegNjN.cjs.js +0 -2
  1055. package/dist/chunks/switch-B3aegNjN.cjs.js.map +0 -1
  1056. package/dist/chunks/switch-CBphZKZD.es.js +0 -79
  1057. package/dist/chunks/switch-CBphZKZD.es.js.map +0 -1
  1058. package/dist/chunks/tag-group-CZ0CriPC.es.js +0 -1348
  1059. package/dist/chunks/tag-group-CZ0CriPC.es.js.map +0 -1
  1060. package/dist/chunks/tag-group-sIFeH1CP.cjs.js +0 -2
  1061. package/dist/chunks/tag-group-sIFeH1CP.cjs.js.map +0 -1
  1062. package/dist/chunks/text-CcMvqWol.es.js +0 -26
  1063. package/dist/chunks/text-CcMvqWol.es.js.map +0 -1
  1064. package/dist/chunks/text-input-7wLAgfnj.cjs.js +0 -2
  1065. package/dist/chunks/text-input-7wLAgfnj.cjs.js.map +0 -1
  1066. package/dist/chunks/text-input-BWQuGlA8.es.js +0 -19
  1067. package/dist/chunks/text-input-BWQuGlA8.es.js.map +0 -1
  1068. package/dist/chunks/text-tO5nXPfT.cjs.js +0 -2
  1069. package/dist/chunks/text-tO5nXPfT.cjs.js.map +0 -1
  1070. package/dist/chunks/time-input-7bQqoZ8n.cjs.js +0 -2
  1071. package/dist/chunks/time-input-7bQqoZ8n.cjs.js.map +0 -1
  1072. package/dist/chunks/time-input-Bdh2yhge.es.js +0 -132
  1073. package/dist/chunks/time-input-Bdh2yhge.es.js.map +0 -1
  1074. package/dist/chunks/toggle-button-C-rQJENJ.cjs.js +0 -2
  1075. package/dist/chunks/toggle-button-C-rQJENJ.cjs.js.map +0 -1
  1076. package/dist/chunks/toggle-button-FiX9ip7L.es.js +0 -30
  1077. package/dist/chunks/toggle-button-FiX9ip7L.es.js.map +0 -1
  1078. package/dist/chunks/toggle-button-group-Cx9CekN6.es.js +0 -82
  1079. package/dist/chunks/toggle-button-group-Cx9CekN6.es.js.map +0 -1
  1080. package/dist/chunks/toggle-button-group-Cxx4yqgI.cjs.js +0 -2
  1081. package/dist/chunks/toggle-button-group-Cxx4yqgI.cjs.js.map +0 -1
  1082. package/dist/chunks/tooltip-CjYTweG9.cjs.js +0 -2
  1083. package/dist/chunks/tooltip-CjYTweG9.cjs.js.map +0 -1
  1084. package/dist/chunks/tooltip-D5cpNfnp.es.js +0 -273
  1085. package/dist/chunks/tooltip-D5cpNfnp.es.js.map +0 -1
  1086. package/dist/chunks/use-recipe-CJAjTxPP.cjs.js +0 -2
  1087. package/dist/chunks/use-recipe-CJAjTxPP.cjs.js.map +0 -1
  1088. package/dist/chunks/use-recipe-dUXCQYfa.es.js +0 -13
  1089. package/dist/chunks/use-recipe-dUXCQYfa.es.js.map +0 -1
  1090. package/dist/chunks/useButton-Bnd1IfAy.cjs.js +0 -2
  1091. package/dist/chunks/useButton-Bnd1IfAy.cjs.js.map +0 -1
  1092. package/dist/chunks/useButton-Codl22pH.es.js +0 -48
  1093. package/dist/chunks/useButton-Codl22pH.es.js.map +0 -1
  1094. package/dist/chunks/useCollator-BhJcleP-.es.js +0 -12
  1095. package/dist/chunks/useCollator-BhJcleP-.es.js.map +0 -1
  1096. package/dist/chunks/useCollator-DLdpB_Ui.cjs.js +0 -2
  1097. package/dist/chunks/useCollator-DLdpB_Ui.cjs.js.map +0 -1
  1098. package/dist/chunks/useDateFormatter-Byp_7yyY.cjs.js +0 -2
  1099. package/dist/chunks/useDateFormatter-Byp_7yyY.cjs.js.map +0 -1
  1100. package/dist/chunks/useDateFormatter-zNqeIcSK.es.js +0 -1581
  1101. package/dist/chunks/useDateFormatter-zNqeIcSK.es.js.map +0 -1
  1102. package/dist/chunks/useDescription-Bb-vj5q6.cjs.js +0 -2
  1103. package/dist/chunks/useDescription-Bb-vj5q6.cjs.js.map +0 -1
  1104. package/dist/chunks/useDescription-CMy9RMYn.es.js +0 -33
  1105. package/dist/chunks/useDescription-CMy9RMYn.es.js.map +0 -1
  1106. package/dist/chunks/useEvent-DxQcG2ZD.es.js +0 -22
  1107. package/dist/chunks/useEvent-DxQcG2ZD.es.js.map +0 -1
  1108. package/dist/chunks/useEvent-ZeHBdflg.cjs.js +0 -2
  1109. package/dist/chunks/useEvent-ZeHBdflg.cjs.js.map +0 -1
  1110. package/dist/chunks/useField-Bj5XOvuD.es.js +0 -36
  1111. package/dist/chunks/useField-Bj5XOvuD.es.js.map +0 -1
  1112. package/dist/chunks/useField-Doh1_zqa.cjs.js +0 -2
  1113. package/dist/chunks/useField-Doh1_zqa.cjs.js.map +0 -1
  1114. package/dist/chunks/useFocus-CRjxQc9J.cjs.js +0 -2
  1115. package/dist/chunks/useFocus-CRjxQc9J.cjs.js.map +0 -1
  1116. package/dist/chunks/useFocus-DyrL604F.es.js +0 -189
  1117. package/dist/chunks/useFocus-DyrL604F.es.js.map +0 -1
  1118. package/dist/chunks/useFocusRing-BOPRvfsD.es.js +0 -34
  1119. package/dist/chunks/useFocusRing-BOPRvfsD.es.js.map +0 -1
  1120. package/dist/chunks/useFocusRing-wD8IMPEh.cjs.js +0 -2
  1121. package/dist/chunks/useFocusRing-wD8IMPEh.cjs.js.map +0 -1
  1122. package/dist/chunks/useFocusWithin-B5GNsbfr.cjs.js +0 -2
  1123. package/dist/chunks/useFocusWithin-B5GNsbfr.cjs.js.map +0 -1
  1124. package/dist/chunks/useFocusWithin-DH1ei7eA.es.js +0 -55
  1125. package/dist/chunks/useFocusWithin-DH1ei7eA.es.js.map +0 -1
  1126. package/dist/chunks/useFocusable-Bbz310Qf.cjs.js +0 -2
  1127. package/dist/chunks/useFocusable-Bbz310Qf.cjs.js.map +0 -1
  1128. package/dist/chunks/useFocusable-BzkEaBA7.es.js +0 -100
  1129. package/dist/chunks/useFocusable-BzkEaBA7.es.js.map +0 -1
  1130. package/dist/chunks/useFormReset-B_4kzDrc.es.js +0 -21
  1131. package/dist/chunks/useFormReset-B_4kzDrc.es.js.map +0 -1
  1132. package/dist/chunks/useFormReset-C6y6YYJp.cjs.js +0 -2
  1133. package/dist/chunks/useFormReset-C6y6YYJp.cjs.js.map +0 -1
  1134. package/dist/chunks/useFormValidation-D5EJ50gR.cjs.js +0 -2
  1135. package/dist/chunks/useFormValidation-D5EJ50gR.cjs.js.map +0 -1
  1136. package/dist/chunks/useFormValidation-x8TYT3v1.es.js +0 -200
  1137. package/dist/chunks/useFormValidation-x8TYT3v1.es.js.map +0 -1
  1138. package/dist/chunks/useHover-B4ryD1zd.cjs.js +0 -2
  1139. package/dist/chunks/useHover-B4ryD1zd.cjs.js.map +0 -1
  1140. package/dist/chunks/useHover-EutQBS3I.es.js +0 -85
  1141. package/dist/chunks/useHover-EutQBS3I.es.js.map +0 -1
  1142. package/dist/chunks/useLabel-Dsvi6pv1.es.js +0 -37
  1143. package/dist/chunks/useLabel-Dsvi6pv1.es.js.map +0 -1
  1144. package/dist/chunks/useLabel-f5x32F8v.cjs.js +0 -2
  1145. package/dist/chunks/useLabel-f5x32F8v.cjs.js.map +0 -1
  1146. package/dist/chunks/useLocalizedStringFormatter-B_O_C-A0.es.js +0 -97
  1147. package/dist/chunks/useLocalizedStringFormatter-B_O_C-A0.es.js.map +0 -1
  1148. package/dist/chunks/useLocalizedStringFormatter-ZUZDzNOP.cjs.js +0 -2
  1149. package/dist/chunks/useLocalizedStringFormatter-ZUZDzNOP.cjs.js.map +0 -1
  1150. package/dist/chunks/useObjectRef-4v2MxSjQ.cjs.js +0 -2
  1151. package/dist/chunks/useObjectRef-4v2MxSjQ.cjs.js.map +0 -1
  1152. package/dist/chunks/usePress--0XlnE9U.es.js +0 -469
  1153. package/dist/chunks/usePress--0XlnE9U.es.js.map +0 -1
  1154. package/dist/chunks/usePress-Cqy1fzvV.cjs.js +0 -8
  1155. package/dist/chunks/usePress-Cqy1fzvV.cjs.js.map +0 -1
  1156. package/dist/chunks/useProgressBar-3tBtQD6p.cjs.js +0 -2
  1157. package/dist/chunks/useProgressBar-3tBtQD6p.cjs.js.map +0 -1
  1158. package/dist/chunks/useProgressBar-BcErX3zh.es.js +0 -48
  1159. package/dist/chunks/useProgressBar-BcErX3zh.es.js.map +0 -1
  1160. package/dist/chunks/useSeparator-CZKjqF0N.cjs.js +0 -2
  1161. package/dist/chunks/useSeparator-CZKjqF0N.cjs.js.map +0 -1
  1162. package/dist/chunks/useSeparator-g1ilWvTX.es.js +0 -19
  1163. package/dist/chunks/useSeparator-g1ilWvTX.es.js.map +0 -1
  1164. package/dist/chunks/useSingleSelectListState-BLYvCKPf.cjs.js +0 -2
  1165. package/dist/chunks/useSingleSelectListState-BLYvCKPf.cjs.js.map +0 -1
  1166. package/dist/chunks/useSingleSelectListState-IunZbRoh.es.js +0 -35
  1167. package/dist/chunks/useSingleSelectListState-IunZbRoh.es.js.map +0 -1
  1168. package/dist/chunks/useSpinButton-DkqZHy9E.cjs.js +0 -2
  1169. package/dist/chunks/useSpinButton-DkqZHy9E.cjs.js.map +0 -1
  1170. package/dist/chunks/useSpinButton-_qIyNcRw.es.js +0 -461
  1171. package/dist/chunks/useSpinButton-_qIyNcRw.es.js.map +0 -1
  1172. package/dist/chunks/useTextField-DOho5fCG.es.js +0 -88
  1173. package/dist/chunks/useTextField-DOho5fCG.es.js.map +0 -1
  1174. package/dist/chunks/useTextField-J5W2QB4G.cjs.js +0 -2
  1175. package/dist/chunks/useTextField-J5W2QB4G.cjs.js.map +0 -1
  1176. package/dist/chunks/useToggle-BLG4h8I9.es.js +0 -50
  1177. package/dist/chunks/useToggle-BLG4h8I9.es.js.map +0 -1
  1178. package/dist/chunks/useToggle-VMBvyMfl.cjs.js +0 -2
  1179. package/dist/chunks/useToggle-VMBvyMfl.cjs.js.map +0 -1
  1180. package/dist/chunks/useToggleState-bO90kfqG.cjs.js +0 -2
  1181. package/dist/chunks/useToggleState-bO90kfqG.cjs.js.map +0 -1
  1182. package/dist/chunks/useToggleState-mKFEFD2Q.es.js +0 -19
  1183. package/dist/chunks/useToggleState-mKFEFD2Q.es.js.map +0 -1
  1184. package/dist/chunks/useUpdateEffect-sk3kiVGz.cjs.js +0 -2
  1185. package/dist/chunks/useUpdateEffect-sk3kiVGz.cjs.js.map +0 -1
  1186. package/dist/chunks/utils-BR34o1UE.es.js +0 -269
  1187. package/dist/chunks/utils-BR34o1UE.es.js.map +0 -1
  1188. package/dist/chunks/utils-C4ruQppN.es.js +0 -128
  1189. package/dist/chunks/utils-C4ruQppN.es.js.map +0 -1
  1190. package/dist/chunks/utils-CThuzDqT.cjs.js +0 -2
  1191. package/dist/chunks/utils-CThuzDqT.cjs.js.map +0 -1
  1192. package/dist/chunks/utils-sWqo2nmW.cjs.js +0 -2
  1193. package/dist/chunks/utils-sWqo2nmW.cjs.js.map +0 -1
  1194. package/dist/chunks/visually-hidden-XBx29_tJ.es.js +0 -11
  1195. package/dist/chunks/visually-hidden-XBx29_tJ.es.js.map +0 -1
  1196. package/dist/chunks/visually-hidden-YFEW-yS7.cjs.js +0 -2
  1197. package/dist/chunks/visually-hidden-YFEW-yS7.cjs.js.map +0 -1
  1198. package/dist/chunks/walk-object-BGye4E3_.cjs.js +0 -2
  1199. package/dist/chunks/walk-object-BGye4E3_.cjs.js.map +0 -1
  1200. package/dist/chunks/walk-object-D9P1kanu.es.js +0 -27
  1201. package/dist/chunks/walk-object-D9P1kanu.es.js.map +0 -1
@@ -0,0 +1,3640 @@
1
+ import { jsx as C, jsxs as re, Fragment as Al } from "react/jsx-runtime";
2
+ import S, { useRef as M, useMemo as B, useCallback as j, useEffect as se, useState as Q, forwardRef as ie, createContext as de, useContext as P, Fragment as Pl } from "react";
3
+ import { $ as bt } from "./Button-CNBS3n5a.es.js";
4
+ import { $ as vt } from "./RSPContexts-B4yvXuBR.es.js";
5
+ import { b as V, v as oe, w as ne, x as Ae, y as Rl, a as Bl, f as yt, g as $t, i as Kl, h as Ml, j as He, c as xt, n as Se, m as Nl, z as Tl, o as J, t as Dt, A as Fl, p as it, $ as Il, B as Wl, e as Re, C as Vl, r as Go } from "./SelectionManager-CLyu96pU.es.js";
6
+ import { $ as Ct, a as ae, d as Be, g as at, f as Hl } from "./utils-BkdW_cdL.es.js";
7
+ import { $ as be, a as jl, b as Ol, c as Ul, d as Qo, e as Jo } from "./DragAndDrop-ChYb3tCX.es.js";
8
+ import { $ as Ll } from "./intlStrings-Cd44R5hT.es.js";
9
+ import { d as Ce, a as Ke, $ as H, e as Yl, c as ut } from "./mergeProps-B_9syxhT.es.js";
10
+ import { $ as _ } from "./filterDOMProps-BSVCO5jK.es.js";
11
+ import { $ as ce } from "./useObjectRef-CaJ5pgjX.es.js";
12
+ import { a as Xl } from "./OverlayArrow-sJzRZNbO.es.js";
13
+ import { c as pe, $ as he, a as je, d as Gl } from "./scrollIntoView-BYF_8_6g.es.js";
14
+ import ql from "react-dom";
15
+ import { $ as ke } from "./useHover-DhoE75lX.es.js";
16
+ import { d as st } from "./platform-Z5fvtFmM.es.js";
17
+ import { a as Zl, b as Ql, $ as wt } from "./usePress-DHhWHfMz.es.js";
18
+ import { $ as Jl, c as _l } from "./useFocusable-CrsD8ZcF.es.js";
19
+ import { $ as en, f as tn } from "./useFocusVisible-CWDaG0ze.es.js";
20
+ import { $ as Z } from "./focusSafely-DJpphVHF.es.js";
21
+ import { b as dt, a as ln } from "./FocusScope-CNO0fzPs.es.js";
22
+ import { $ as ve } from "./context-R4YUlO9Y.es.js";
23
+ import { $ as ye } from "./useLocalizedStringFormatter-BRnRyxJp.es.js";
24
+ import { $ as ge } from "./useFocusRing-updnkDQg.es.js";
25
+ import { $ as nn } from "./useGlobalListeners-BOOfV5Wh.es.js";
26
+ import { a as Me, $ as ct } from "./VisuallyHidden-VHEPK04F.es.js";
27
+ import { e as on } from "./openLink-Ctl0AdAy.es.js";
28
+ import { m as Pe } from "./utils-jpfA6kxk.es.js";
29
+ import { $ as rn, a as an, b as un, c as sn } from "./useHighlightSelectionDescription-BQg1WcM3.es.js";
30
+ import { $ as dn } from "./LiveAnnouncer-CsPyaceH.es.js";
31
+ import { $ as St } from "./useCollator-BHMZd1r6.es.js";
32
+ import { $ as cn } from "./useUpdateEffect-CCDx8D4X.es.js";
33
+ import { B as we } from "./box-BK_2R49p.es.js";
34
+ import { e as $e } from "./extractStyleProps-D6vCCKog.es.js";
35
+ import { createSlotRecipeContext as fn, mergeRefs as pn } from "@chakra-ui/react";
36
+ import { k as hn } from "./index-Dvel3Oj5.es.js";
37
+ import { I as mn } from "./icon-button-EonZGbth.es.js";
38
+ import { b as ft } from "./tooltip-CTvNYvui.es.js";
39
+ import { C as kt } from "./checkbox-BnfwQBT0.es.js";
40
+ import { KeyboardArrowDown as gn, KeyboardArrowRight as bn, PushPin as vn, ArrowDownward as yn } from "@commercetools/nimbus-icons";
41
+ import { c as $n } from "./create-recipe-context-CrNaylZN.es.js";
42
+ import { D as xn } from "./divider-Cjs3ESH7.es.js";
43
+ import { F as Dn } from "./flex-BFC_f5BH.es.js";
44
+ function Cn(e) {
45
+ let { onMoveStart: t, onMove: l, onMoveEnd: n } = e, o = M({
46
+ didMove: !1,
47
+ lastPosition: null,
48
+ id: null
49
+ }), { addGlobalListener: r, removeGlobalListener: i } = nn(), a = Ce((s, u, p, f) => {
50
+ p === 0 && f === 0 || (o.current.didMove || (o.current.didMove = !0, t?.({
51
+ type: "movestart",
52
+ pointerType: u,
53
+ shiftKey: s.shiftKey,
54
+ metaKey: s.metaKey,
55
+ ctrlKey: s.ctrlKey,
56
+ altKey: s.altKey
57
+ })), l?.({
58
+ type: "move",
59
+ pointerType: u,
60
+ deltaX: p,
61
+ deltaY: f,
62
+ shiftKey: s.shiftKey,
63
+ metaKey: s.metaKey,
64
+ ctrlKey: s.ctrlKey,
65
+ altKey: s.altKey
66
+ }));
67
+ }), c = Ce((s, u) => {
68
+ Zl(), o.current.didMove && n?.({
69
+ type: "moveend",
70
+ pointerType: u,
71
+ shiftKey: s.shiftKey,
72
+ metaKey: s.metaKey,
73
+ ctrlKey: s.ctrlKey,
74
+ altKey: s.altKey
75
+ });
76
+ });
77
+ return {
78
+ moveProps: B(() => {
79
+ let s = {}, u = () => {
80
+ Ql(), o.current.didMove = !1;
81
+ };
82
+ if (typeof PointerEvent > "u" && process.env.NODE_ENV === "test") {
83
+ let f = (m) => {
84
+ if (m.button === 0) {
85
+ var D, b, $, v;
86
+ a(m, "mouse", m.pageX - (($ = (D = o.current.lastPosition) === null || D === void 0 ? void 0 : D.pageX) !== null && $ !== void 0 ? $ : 0), m.pageY - ((v = (b = o.current.lastPosition) === null || b === void 0 ? void 0 : b.pageY) !== null && v !== void 0 ? v : 0)), o.current.lastPosition = {
87
+ pageX: m.pageX,
88
+ pageY: m.pageY
89
+ };
90
+ }
91
+ }, h = (m) => {
92
+ m.button === 0 && (c(m, "mouse"), i(window, "mousemove", f, !1), i(window, "mouseup", h, !1));
93
+ };
94
+ s.onMouseDown = (m) => {
95
+ m.button === 0 && (u(), m.stopPropagation(), m.preventDefault(), o.current.lastPosition = {
96
+ pageX: m.pageX,
97
+ pageY: m.pageY
98
+ }, r(window, "mousemove", f, !1), r(window, "mouseup", h, !1));
99
+ };
100
+ let g = (m) => {
101
+ let D = [
102
+ ...m.changedTouches
103
+ ].findIndex(({ identifier: k }) => k === o.current.id);
104
+ if (D >= 0) {
105
+ var b, $;
106
+ let { pageX: k, pageY: A } = m.changedTouches[D];
107
+ var v, w;
108
+ a(m, "touch", k - ((v = (b = o.current.lastPosition) === null || b === void 0 ? void 0 : b.pageX) !== null && v !== void 0 ? v : 0), A - ((w = ($ = o.current.lastPosition) === null || $ === void 0 ? void 0 : $.pageY) !== null && w !== void 0 ? w : 0)), o.current.lastPosition = {
109
+ pageX: k,
110
+ pageY: A
111
+ };
112
+ }
113
+ }, y = (m) => {
114
+ [
115
+ ...m.changedTouches
116
+ ].findIndex(({ identifier: b }) => b === o.current.id) >= 0 && (c(m, "touch"), o.current.id = null, i(window, "touchmove", g), i(window, "touchend", y), i(window, "touchcancel", y));
117
+ };
118
+ s.onTouchStart = (m) => {
119
+ if (m.changedTouches.length === 0 || o.current.id != null) return;
120
+ let { pageX: D, pageY: b, identifier: $ } = m.changedTouches[0];
121
+ u(), m.stopPropagation(), m.preventDefault(), o.current.lastPosition = {
122
+ pageX: D,
123
+ pageY: b
124
+ }, o.current.id = $, r(window, "touchmove", g, !1), r(window, "touchend", y, !1), r(window, "touchcancel", y, !1);
125
+ };
126
+ } else {
127
+ let f = (g) => {
128
+ if (g.pointerId === o.current.id) {
129
+ var y, m;
130
+ let $ = g.pointerType || "mouse";
131
+ var D, b;
132
+ a(g, $, g.pageX - ((D = (y = o.current.lastPosition) === null || y === void 0 ? void 0 : y.pageX) !== null && D !== void 0 ? D : 0), g.pageY - ((b = (m = o.current.lastPosition) === null || m === void 0 ? void 0 : m.pageY) !== null && b !== void 0 ? b : 0)), o.current.lastPosition = {
133
+ pageX: g.pageX,
134
+ pageY: g.pageY
135
+ };
136
+ }
137
+ }, h = (g) => {
138
+ if (g.pointerId === o.current.id) {
139
+ let y = g.pointerType || "mouse";
140
+ c(g, y), o.current.id = null, i(window, "pointermove", f, !1), i(window, "pointerup", h, !1), i(window, "pointercancel", h, !1);
141
+ }
142
+ };
143
+ s.onPointerDown = (g) => {
144
+ g.button === 0 && o.current.id == null && (u(), g.stopPropagation(), g.preventDefault(), o.current.lastPosition = {
145
+ pageX: g.pageX,
146
+ pageY: g.pageY
147
+ }, o.current.id = g.pointerId, r(window, "pointermove", f, !1), r(window, "pointerup", h, !1), r(window, "pointercancel", h, !1));
148
+ };
149
+ }
150
+ let p = (f, h, g) => {
151
+ u(), a(f, "keyboard", h, g), c(f, "keyboard");
152
+ };
153
+ return s.onKeyDown = (f) => {
154
+ switch (f.key) {
155
+ case "Left":
156
+ case "ArrowLeft":
157
+ f.preventDefault(), f.stopPropagation(), p(f, -1, 0);
158
+ break;
159
+ case "Right":
160
+ case "ArrowRight":
161
+ f.preventDefault(), f.stopPropagation(), p(f, 1, 0);
162
+ break;
163
+ case "Up":
164
+ case "ArrowUp":
165
+ f.preventDefault(), f.stopPropagation(), p(f, 0, -1);
166
+ break;
167
+ case "Down":
168
+ case "ArrowDown":
169
+ f.preventDefault(), f.stopPropagation(), p(f, 0, 1);
170
+ break;
171
+ }
172
+ }, s;
173
+ }, [
174
+ o,
175
+ r,
176
+ i,
177
+ a,
178
+ c
179
+ ])
180
+ };
181
+ }
182
+ class Et {
183
+ isCell(t) {
184
+ return t.type === "cell";
185
+ }
186
+ isRow(t) {
187
+ return t.type === "row" || t.type === "item";
188
+ }
189
+ isDisabled(t) {
190
+ var l;
191
+ return this.disabledBehavior === "all" && (((l = t.props) === null || l === void 0 ? void 0 : l.isDisabled) || this.disabledKeys.has(t.key));
192
+ }
193
+ findPreviousKey(t, l) {
194
+ let n = t != null ? this.collection.getKeyBefore(t) : this.collection.getLastKey();
195
+ for (; n != null; ) {
196
+ let o = this.collection.getItem(n);
197
+ if (!o) return null;
198
+ if (!this.isDisabled(o) && (!l || l(o))) return n;
199
+ n = this.collection.getKeyBefore(n);
200
+ }
201
+ return null;
202
+ }
203
+ findNextKey(t, l) {
204
+ let n = t != null ? this.collection.getKeyAfter(t) : this.collection.getFirstKey();
205
+ for (; n != null; ) {
206
+ let o = this.collection.getItem(n);
207
+ if (!o) return null;
208
+ if (!this.isDisabled(o) && (!l || l(o))) return n;
209
+ if (n = this.collection.getKeyAfter(n), n == null) return null;
210
+ }
211
+ return null;
212
+ }
213
+ getKeyForItemInRowByIndex(t, l = 0) {
214
+ if (l < 0) return null;
215
+ let n = this.collection.getItem(t);
216
+ if (!n) return null;
217
+ let o = 0;
218
+ for (let a of V(n, this.collection)) {
219
+ var r;
220
+ if (a.colSpan && a.colSpan + o > l) return (r = a.key) !== null && r !== void 0 ? r : null;
221
+ a.colSpan && (o = o + a.colSpan - 1);
222
+ var i;
223
+ if (o === l) return (i = a.key) !== null && i !== void 0 ? i : null;
224
+ o++;
225
+ }
226
+ return null;
227
+ }
228
+ getKeyBelow(t) {
229
+ let l = t, n = this.collection.getItem(l);
230
+ if (!n) return null;
231
+ var o;
232
+ if (this.isCell(n) && (l = (o = n.parentKey) !== null && o !== void 0 ? o : null), l == null) return null;
233
+ if (l = this.findNextKey(l, (r) => r.type === "item"), l != null) {
234
+ if (this.isCell(n)) {
235
+ let r = n.colIndex ? n.colIndex : n.index;
236
+ return this.getKeyForItemInRowByIndex(l, r);
237
+ }
238
+ if (this.focusMode === "row") return l;
239
+ }
240
+ return null;
241
+ }
242
+ getKeyAbove(t) {
243
+ let l = t, n = this.collection.getItem(l);
244
+ if (!n) return null;
245
+ var o;
246
+ if (this.isCell(n) && (l = (o = n.parentKey) !== null && o !== void 0 ? o : null), l == null) return null;
247
+ if (l = this.findPreviousKey(l, (r) => r.type === "item"), l != null) {
248
+ if (this.isCell(n)) {
249
+ let r = n.colIndex ? n.colIndex : n.index;
250
+ return this.getKeyForItemInRowByIndex(l, r);
251
+ }
252
+ if (this.focusMode === "row") return l;
253
+ }
254
+ return null;
255
+ }
256
+ getKeyRightOf(t) {
257
+ let l = this.collection.getItem(t);
258
+ if (!l) return null;
259
+ if (this.isRow(l)) {
260
+ var n, o;
261
+ let s = V(l, this.collection);
262
+ var r;
263
+ return (r = this.direction === "rtl" ? (n = oe(s)) === null || n === void 0 ? void 0 : n.key : (o = ne(s)) === null || o === void 0 ? void 0 : o.key) !== null && r !== void 0 ? r : null;
264
+ }
265
+ if (this.isCell(l) && l.parentKey != null) {
266
+ let s = this.collection.getItem(l.parentKey);
267
+ if (!s) return null;
268
+ let u = V(s, this.collection);
269
+ var i;
270
+ let p = (i = this.direction === "rtl" ? Ae(u, l.index - 1) : Ae(u, l.index + 1)) !== null && i !== void 0 ? i : null;
271
+ var a;
272
+ if (p) return (a = p.key) !== null && a !== void 0 ? a : null;
273
+ var c;
274
+ if (this.focusMode === "row") return (c = l.parentKey) !== null && c !== void 0 ? c : null;
275
+ var d;
276
+ return (d = this.direction === "rtl" ? this.getFirstKey(t) : this.getLastKey(t)) !== null && d !== void 0 ? d : null;
277
+ }
278
+ return null;
279
+ }
280
+ getKeyLeftOf(t) {
281
+ let l = this.collection.getItem(t);
282
+ if (!l) return null;
283
+ if (this.isRow(l)) {
284
+ var n, o;
285
+ let s = V(l, this.collection);
286
+ var r;
287
+ return (r = this.direction === "rtl" ? (n = ne(s)) === null || n === void 0 ? void 0 : n.key : (o = oe(s)) === null || o === void 0 ? void 0 : o.key) !== null && r !== void 0 ? r : null;
288
+ }
289
+ if (this.isCell(l) && l.parentKey != null) {
290
+ let s = this.collection.getItem(l.parentKey);
291
+ if (!s) return null;
292
+ let u = V(s, this.collection);
293
+ var i;
294
+ let p = (i = this.direction === "rtl" ? Ae(u, l.index + 1) : Ae(u, l.index - 1)) !== null && i !== void 0 ? i : null;
295
+ var a;
296
+ if (p) return (a = p.key) !== null && a !== void 0 ? a : null;
297
+ var c;
298
+ if (this.focusMode === "row") return (c = l.parentKey) !== null && c !== void 0 ? c : null;
299
+ var d;
300
+ return (d = this.direction === "rtl" ? this.getLastKey(t) : this.getFirstKey(t)) !== null && d !== void 0 ? d : null;
301
+ }
302
+ return null;
303
+ }
304
+ getFirstKey(t, l) {
305
+ let n = t ?? null, o;
306
+ if (n != null) {
307
+ if (o = this.collection.getItem(n), !o) return null;
308
+ if (this.isCell(o) && !l && o.parentKey != null) {
309
+ var r;
310
+ let d = this.collection.getItem(o.parentKey);
311
+ if (!d) return null;
312
+ var i;
313
+ return (i = (r = ne(V(d, this.collection))) === null || r === void 0 ? void 0 : r.key) !== null && i !== void 0 ? i : null;
314
+ }
315
+ }
316
+ if (n = this.findNextKey(void 0, (d) => d.type === "item"), n != null && (o && this.isCell(o) && l || this.focusMode === "cell")) {
317
+ var a;
318
+ let d = this.collection.getItem(n);
319
+ if (!d) return null;
320
+ var c;
321
+ n = (c = (a = ne(V(d, this.collection))) === null || a === void 0 ? void 0 : a.key) !== null && c !== void 0 ? c : null;
322
+ }
323
+ return n;
324
+ }
325
+ getLastKey(t, l) {
326
+ let n = t ?? null, o;
327
+ if (n != null) {
328
+ if (o = this.collection.getItem(n), !o) return null;
329
+ if (this.isCell(o) && !l && o.parentKey != null) {
330
+ var r;
331
+ let d = this.collection.getItem(o.parentKey);
332
+ if (!d) return null;
333
+ let s = V(d, this.collection);
334
+ var i;
335
+ return (i = (r = oe(s)) === null || r === void 0 ? void 0 : r.key) !== null && i !== void 0 ? i : null;
336
+ }
337
+ }
338
+ if (n = this.findPreviousKey(void 0, (d) => d.type === "item"), n != null && (o && this.isCell(o) && l || this.focusMode === "cell")) {
339
+ var a;
340
+ let d = this.collection.getItem(n);
341
+ if (!d) return null;
342
+ let s = V(d, this.collection);
343
+ var c;
344
+ n = (c = (a = oe(s)) === null || a === void 0 ? void 0 : a.key) !== null && c !== void 0 ? c : null;
345
+ }
346
+ return n;
347
+ }
348
+ getKeyPageAbove(t) {
349
+ let l = t, n = this.layoutDelegate.getItemRect(l);
350
+ if (!n) return null;
351
+ let o = Math.max(0, n.y + n.height - this.layoutDelegate.getVisibleRect().height);
352
+ for (; n && n.y > o && l != null; ) {
353
+ var r;
354
+ if (l = (r = this.getKeyAbove(l)) !== null && r !== void 0 ? r : null, l == null) break;
355
+ n = this.layoutDelegate.getItemRect(l);
356
+ }
357
+ return l;
358
+ }
359
+ getKeyPageBelow(t) {
360
+ let l = t, n = this.layoutDelegate.getItemRect(l);
361
+ if (!n) return null;
362
+ let o = this.layoutDelegate.getVisibleRect().height, r = Math.min(this.layoutDelegate.getContentSize().height, n.y + o);
363
+ for (; n && n.y + n.height < r; ) {
364
+ let i = this.getKeyBelow(l);
365
+ if (i == null) break;
366
+ n = this.layoutDelegate.getItemRect(i), l = i;
367
+ }
368
+ return l;
369
+ }
370
+ getKeyForSearch(t, l) {
371
+ let n = l ?? null;
372
+ if (!this.collator) return null;
373
+ let o = this.collection;
374
+ if (n = l ?? this.getFirstKey(), n == null) return null;
375
+ let r = o.getItem(n);
376
+ if (!r) return null;
377
+ var i;
378
+ r.type === "cell" && (n = (i = r.parentKey) !== null && i !== void 0 ? i : null);
379
+ let a = !1;
380
+ for (; n != null; ) {
381
+ let s = o.getItem(n);
382
+ if (!s) return null;
383
+ if (s.textValue) {
384
+ let u = s.textValue.slice(0, t.length);
385
+ if (this.collator.compare(u, t) === 0) {
386
+ var c, d;
387
+ return this.isRow(s) && this.focusMode === "cell" ? (d = (c = ne(V(s, this.collection))) === null || c === void 0 ? void 0 : c.key) !== null && d !== void 0 ? d : null : s.key;
388
+ }
389
+ }
390
+ n = this.findNextKey(n, (u) => u.type === "item"), n == null && !a && (n = this.getFirstKey(), a = !0);
391
+ }
392
+ return null;
393
+ }
394
+ constructor(t) {
395
+ if (this.collection = t.collection, this.disabledKeys = t.disabledKeys, this.disabledBehavior = t.disabledBehavior || "all", this.direction = t.direction, this.collator = t.collator, !t.layout && !t.ref) throw new Error("Either a layout or a ref must be specified.");
396
+ this.layoutDelegate = t.layoutDelegate || (t.layout ? new wn(t.layout) : new Rl(t.ref));
397
+ var l;
398
+ this.focusMode = (l = t.focusMode) !== null && l !== void 0 ? l : "row";
399
+ }
400
+ }
401
+ class wn {
402
+ getContentSize() {
403
+ return this.layout.getContentSize();
404
+ }
405
+ getItemRect(t) {
406
+ var l;
407
+ return ((l = this.layout.getLayoutInfo(t)) === null || l === void 0 ? void 0 : l.rect) || null;
408
+ }
409
+ getVisibleRect() {
410
+ return this.layout.virtualizer.visibleRect;
411
+ }
412
+ constructor(t) {
413
+ this.layout = t;
414
+ }
415
+ }
416
+ const Oe = /* @__PURE__ */ new WeakMap();
417
+ function Sn(e, t, l) {
418
+ let { isVirtualized: n, disallowTypeAhead: o, keyboardDelegate: r, focusMode: i, scrollRef: a, getRowText: c, onRowAction: d, onCellAction: s, escapeKeyBehavior: u = "clearSelection", shouldSelectOnPressUp: p } = e, { selectionManager: f } = t;
419
+ !e["aria-label"] && !e["aria-labelledby"] && console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
420
+ let h = St({
421
+ usage: "search",
422
+ sensitivity: "base"
423
+ }), { direction: g } = ve(), y = t.selectionManager.disabledBehavior, m = B(() => r || new Et({
424
+ collection: t.collection,
425
+ disabledKeys: t.disabledKeys,
426
+ disabledBehavior: y,
427
+ ref: l,
428
+ direction: g,
429
+ collator: h,
430
+ focusMode: i
431
+ }), [
432
+ r,
433
+ t.collection,
434
+ t.disabledKeys,
435
+ y,
436
+ l,
437
+ g,
438
+ h,
439
+ i
440
+ ]), { collectionProps: D } = Bl({
441
+ ref: l,
442
+ selectionManager: f,
443
+ keyboardDelegate: m,
444
+ isVirtualized: n,
445
+ scrollRef: a,
446
+ disallowTypeAhead: o,
447
+ escapeKeyBehavior: u
448
+ }), b = Ke(e.id);
449
+ Oe.set(t, {
450
+ keyboardDelegate: m,
451
+ actions: {
452
+ onRowAction: d,
453
+ onCellAction: s
454
+ },
455
+ shouldSelectOnPressUp: p
456
+ });
457
+ let $ = rn({
458
+ selectionManager: f,
459
+ hasItemActions: !!(d || s)
460
+ }), v = _(e, {
461
+ labelable: !0
462
+ }), w = j((E) => {
463
+ if (f.isFocused) {
464
+ E.currentTarget.contains(E.target) || f.setFocused(!1);
465
+ return;
466
+ }
467
+ E.currentTarget.contains(E.target) && f.setFocused(!0);
468
+ }, [
469
+ f
470
+ ]), k = B(() => ({
471
+ onBlur: D.onBlur,
472
+ onFocus: w
473
+ }), [
474
+ w,
475
+ D.onBlur
476
+ ]), A = an(l, {
477
+ isDisabled: t.collection.size !== 0
478
+ }), R = H(
479
+ v,
480
+ {
481
+ role: "grid",
482
+ id: b,
483
+ "aria-multiselectable": f.selectionMode === "multiple" ? "true" : void 0
484
+ },
485
+ t.isKeyboardNavigationDisabled ? k : D,
486
+ // If collection is empty, make sure the grid is tabbable unless there is a child tabbable element.
487
+ t.collection.size === 0 && {
488
+ tabIndex: A ? -1 : 0
489
+ } || void 0,
490
+ $
491
+ );
492
+ return n && (R["aria-rowcount"] = t.collection.size, R["aria-colcount"] = t.collection.columnCount), un({
493
+ getRowText: c
494
+ }, t), {
495
+ gridProps: R
496
+ };
497
+ }
498
+ function kn() {
499
+ return {
500
+ rowGroupProps: {
501
+ role: "rowgroup"
502
+ }
503
+ };
504
+ }
505
+ function En(e, t, l) {
506
+ var n, o;
507
+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: c } = e, { actions: d, shouldSelectOnPressUp: s } = Oe.get(t), u = d.onRowAction ? () => {
508
+ var y;
509
+ return (y = d.onRowAction) === null || y === void 0 ? void 0 : y.call(d, r.key);
510
+ } : c, { itemProps: p, ...f } = yt({
511
+ selectionManager: t.selectionManager,
512
+ key: r.key,
513
+ ref: l,
514
+ isVirtualized: i,
515
+ shouldSelectOnPressUp: s || a,
516
+ onAction: u || !(r == null || (n = r.props) === null || n === void 0) && n.onAction ? Yl(r == null || (o = r.props) === null || o === void 0 ? void 0 : o.onAction, u) : void 0,
517
+ isDisabled: t.collection.size === 0
518
+ }), h = t.selectionManager.isSelected(r.key), g = {
519
+ role: "row",
520
+ "aria-selected": t.selectionManager.selectionMode !== "none" ? h : void 0,
521
+ "aria-disabled": f.isDisabled || void 0,
522
+ ...p
523
+ };
524
+ return i && (g["aria-rowindex"] = r.index + 1), {
525
+ rowProps: g,
526
+ ...f
527
+ };
528
+ }
529
+ function zt(e, t, l) {
530
+ let { node: n, isVirtualized: o, focusMode: r = "child", shouldSelectOnPressUp: i, onAction: a } = e, { direction: c } = ve(), { keyboardDelegate: d, actions: { onCellAction: s } } = Oe.get(t), u = M(null), p = () => {
531
+ if (l.current) {
532
+ let b = dt(l.current);
533
+ if (r === "child") {
534
+ if (l.current.contains(document.activeElement) && l.current !== document.activeElement) return;
535
+ let $ = t.selectionManager.childFocusStrategy === "last" ? Te(b) : b.firstChild();
536
+ if ($) {
537
+ Z($);
538
+ return;
539
+ }
540
+ }
541
+ (u.current != null && n.key !== u.current || !l.current.contains(document.activeElement)) && Z(l.current);
542
+ }
543
+ }, { itemProps: f, isPressed: h } = yt({
544
+ selectionManager: t.selectionManager,
545
+ key: n.key,
546
+ ref: l,
547
+ isVirtualized: o,
548
+ focus: p,
549
+ shouldSelectOnPressUp: i,
550
+ onAction: s ? () => s(n.key) : a,
551
+ isDisabled: t.collection.size === 0
552
+ }), g = (b) => {
553
+ if (!b.currentTarget.contains(b.target) || t.isKeyboardNavigationDisabled || !l.current || !document.activeElement) return;
554
+ let $ = dt(l.current);
555
+ switch ($.currentNode = document.activeElement, b.key) {
556
+ case "ArrowLeft": {
557
+ let E = c === "rtl" ? $.nextNode() : $.previousNode();
558
+ if (r === "child" && E === l.current && (E = null), b.preventDefault(), b.stopPropagation(), E)
559
+ Z(E), pe(E, {
560
+ containingElement: he(l.current)
561
+ });
562
+ else {
563
+ var v;
564
+ if (((v = d.getKeyLeftOf) === null || v === void 0 ? void 0 : v.call(d, n.key)) !== n.key) {
565
+ var w;
566
+ (w = l.current.parentElement) === null || w === void 0 || w.dispatchEvent(new KeyboardEvent(b.nativeEvent.type, b.nativeEvent));
567
+ break;
568
+ }
569
+ r === "cell" && c === "rtl" ? (Z(l.current), pe(l.current, {
570
+ containingElement: he(l.current)
571
+ })) : ($.currentNode = l.current, E = c === "rtl" ? $.firstChild() : Te($), E && (Z(E), pe(E, {
572
+ containingElement: he(l.current)
573
+ })));
574
+ }
575
+ break;
576
+ }
577
+ case "ArrowRight": {
578
+ let E = c === "rtl" ? $.previousNode() : $.nextNode();
579
+ if (r === "child" && E === l.current && (E = null), b.preventDefault(), b.stopPropagation(), E)
580
+ Z(E), pe(E, {
581
+ containingElement: he(l.current)
582
+ });
583
+ else {
584
+ var k;
585
+ if (((k = d.getKeyRightOf) === null || k === void 0 ? void 0 : k.call(d, n.key)) !== n.key) {
586
+ var A;
587
+ (A = l.current.parentElement) === null || A === void 0 || A.dispatchEvent(new KeyboardEvent(b.nativeEvent.type, b.nativeEvent));
588
+ break;
589
+ }
590
+ r === "cell" && c === "ltr" ? (Z(l.current), pe(l.current, {
591
+ containingElement: he(l.current)
592
+ })) : ($.currentNode = l.current, E = c === "rtl" ? Te($) : $.firstChild(), E && (Z(E), pe(E, {
593
+ containingElement: he(l.current)
594
+ })));
595
+ }
596
+ break;
597
+ }
598
+ case "ArrowUp":
599
+ case "ArrowDown":
600
+ if (!b.altKey && l.current.contains(b.target)) {
601
+ var R;
602
+ b.stopPropagation(), b.preventDefault(), (R = l.current.parentElement) === null || R === void 0 || R.dispatchEvent(new KeyboardEvent(b.nativeEvent.type, b.nativeEvent));
603
+ }
604
+ break;
605
+ }
606
+ }, y = (b) => {
607
+ if (u.current = n.key, b.target !== l.current) {
608
+ en() || t.selectionManager.setFocusedKey(n.key);
609
+ return;
610
+ }
611
+ requestAnimationFrame(() => {
612
+ r === "child" && document.activeElement === l.current && p();
613
+ });
614
+ }, m = H(f, {
615
+ role: "gridcell",
616
+ onKeyDownCapture: g,
617
+ "aria-colspan": n.colSpan,
618
+ "aria-colindex": n.colIndex != null ? n.colIndex + 1 : void 0,
619
+ colSpan: o ? void 0 : n.colSpan,
620
+ onFocus: y
621
+ });
622
+ var D;
623
+ return o && (m["aria-colindex"] = ((D = n.colIndex) !== null && D !== void 0 ? D : n.index) + 1), i && m.tabIndex != null && m.onPointerDown == null && (m.onPointerDown = (b) => {
624
+ let $ = b.currentTarget, v = $.getAttribute("tabindex");
625
+ $.removeAttribute("tabindex"), requestAnimationFrame(() => {
626
+ v != null && $.setAttribute("tabindex", v);
627
+ });
628
+ }), {
629
+ gridCellProps: m,
630
+ isPressed: h
631
+ };
632
+ }
633
+ function Te(e) {
634
+ let t = null, l = null;
635
+ do
636
+ l = e.lastChild(), l && (t = l);
637
+ while (l);
638
+ return t;
639
+ }
640
+ function zn(e) {
641
+ return e && e.__esModule ? e.default : e;
642
+ }
643
+ function An(e, t) {
644
+ let { key: l } = e, n = t.selectionManager, o = Ke(), r = !t.selectionManager.canSelectItem(l), i = t.selectionManager.isSelected(l), a = () => n.toggleSelection(l);
645
+ const c = ye(zn(sn), "@react-aria/grid");
646
+ return {
647
+ checkboxProps: {
648
+ id: o,
649
+ "aria-label": c.format("select"),
650
+ isSelected: i,
651
+ isDisabled: r,
652
+ onChange: a
653
+ }
654
+ };
655
+ }
656
+ const Ue = /* @__PURE__ */ new WeakMap();
657
+ function Fe(e) {
658
+ return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
659
+ }
660
+ function At(e, t) {
661
+ let l = Ue.get(e);
662
+ if (!l) throw new Error("Unknown grid");
663
+ return `${l}-${Fe(t)}`;
664
+ }
665
+ function Pt(e, t, l) {
666
+ let n = Ue.get(e);
667
+ if (!n) throw new Error("Unknown grid");
668
+ return `${n}-${Fe(t)}-${Fe(l)}`;
669
+ }
670
+ function Rt(e, t) {
671
+ return [
672
+ ...e.collection.rowHeaderColumnKeys
673
+ ].map((l) => Pt(e, t, l)).join(" ");
674
+ }
675
+ var Bt = {};
676
+ Bt = {
677
+ ascending: "تصاعدي",
678
+ ascendingSort: (e) => `ترتيب حسب العمود ${e.columnName} بترتيب تصاعدي`,
679
+ columnSize: (e) => `${e.value} بالبكسل`,
680
+ descending: "تنازلي",
681
+ descendingSort: (e) => `ترتيب حسب العمود ${e.columnName} بترتيب تنازلي`,
682
+ resizerDescription: "اضغط على مفتاح Enter لبدء تغيير الحجم",
683
+ select: "تحديد",
684
+ selectAll: "تحديد الكل",
685
+ sortable: "عمود قابل للترتيب"
686
+ };
687
+ var Kt = {};
688
+ Kt = {
689
+ ascending: "възходящ",
690
+ ascendingSort: (e) => `сортирано по колона ${e.columnName} във възходящ ред`,
691
+ columnSize: (e) => `${e.value} пиксела`,
692
+ descending: "низходящ",
693
+ descendingSort: (e) => `сортирано по колона ${e.columnName} в низходящ ред`,
694
+ resizerDescription: "Натиснете „Enter“, за да започнете да преоразмерявате",
695
+ select: "Изберете",
696
+ selectAll: "Изберете всичко",
697
+ sortable: "сортираща колона"
698
+ };
699
+ var Mt = {};
700
+ Mt = {
701
+ ascending: "vzestupně",
702
+ ascendingSort: (e) => `řazeno vzestupně podle sloupce ${e.columnName}`,
703
+ columnSize: (e) => `${e.value} pixelů`,
704
+ descending: "sestupně",
705
+ descendingSort: (e) => `řazeno sestupně podle sloupce ${e.columnName}`,
706
+ resizerDescription: "Stisknutím klávesy Enter začnete měnit velikost",
707
+ select: "Vybrat",
708
+ selectAll: "Vybrat vše",
709
+ sortable: "sloupec s možností řazení"
710
+ };
711
+ var Nt = {};
712
+ Nt = {
713
+ ascending: "stigende",
714
+ ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende rækkefølge`,
715
+ columnSize: (e) => `${e.value} pixels`,
716
+ descending: "faldende",
717
+ descendingSort: (e) => `sorteret efter kolonne ${e.columnName} i faldende rækkefølge`,
718
+ resizerDescription: "Tryk på Enter for at ændre størrelse",
719
+ select: "Vælg",
720
+ selectAll: "Vælg alle",
721
+ sortable: "sorterbar kolonne"
722
+ };
723
+ var Tt = {};
724
+ Tt = {
725
+ ascending: "aufsteigend",
726
+ ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,
727
+ columnSize: (e) => `${e.value} Pixel`,
728
+ descending: "absteigend",
729
+ descendingSort: (e) => `sortiert nach Spalte ${e.columnName} in absteigender Reihenfolge`,
730
+ resizerDescription: "Eingabetaste zum Starten der Größenänderung drücken",
731
+ select: "Auswählen",
732
+ selectAll: "Alles auswählen",
733
+ sortable: "sortierbare Spalte"
734
+ };
735
+ var Ft = {};
736
+ Ft = {
737
+ ascending: "αύξουσα",
738
+ ascendingSort: (e) => `διαλογή ανά στήλη ${e.columnName} σε αύξουσα σειρά`,
739
+ columnSize: (e) => `${e.value} pixel`,
740
+ descending: "φθίνουσα",
741
+ descendingSort: (e) => `διαλογή ανά στήλη ${e.columnName} σε φθίνουσα σειρά`,
742
+ resizerDescription: "Πατήστε Enter για έναρξη της αλλαγής μεγέθους",
743
+ select: "Επιλογή",
744
+ selectAll: "Επιλογή όλων",
745
+ sortable: "Στήλη διαλογής"
746
+ };
747
+ var It = {};
748
+ It = {
749
+ select: "Select",
750
+ selectAll: "Select All",
751
+ sortable: "sortable column",
752
+ ascending: "ascending",
753
+ descending: "descending",
754
+ ascendingSort: (e) => `sorted by column ${e.columnName} in ascending order`,
755
+ descendingSort: (e) => `sorted by column ${e.columnName} in descending order`,
756
+ columnSize: (e) => `${e.value} pixels`,
757
+ resizerDescription: "Press Enter to start resizing"
758
+ };
759
+ var Wt = {};
760
+ Wt = {
761
+ ascending: "ascendente",
762
+ ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,
763
+ columnSize: (e) => `${e.value} píxeles`,
764
+ descending: "descendente",
765
+ descendingSort: (e) => `ordenado por columna ${e.columnName} en orden descendente`,
766
+ resizerDescription: "Pulse Intro para empezar a redimensionar",
767
+ select: "Seleccionar",
768
+ selectAll: "Seleccionar todos",
769
+ sortable: "columna ordenable"
770
+ };
771
+ var Vt = {};
772
+ Vt = {
773
+ ascending: "tõusev järjestus",
774
+ ascendingSort: (e) => `sorditud veeru järgi ${e.columnName} tõusvas järjestuses`,
775
+ columnSize: (e) => `${e.value} pikslit`,
776
+ descending: "laskuv järjestus",
777
+ descendingSort: (e) => `sorditud veeru järgi ${e.columnName} laskuvas järjestuses`,
778
+ resizerDescription: "Suuruse muutmise alustamiseks vajutage klahvi Enter",
779
+ select: "Vali",
780
+ selectAll: "Vali kõik",
781
+ sortable: "sorditav veerg"
782
+ };
783
+ var Ht = {};
784
+ Ht = {
785
+ ascending: "nouseva",
786
+ ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa järjestyksessä`,
787
+ columnSize: (e) => `${e.value} pikseliä`,
788
+ descending: "laskeva",
789
+ descendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan laskevassa järjestyksessä`,
790
+ resizerDescription: "Aloita koon muutos painamalla Enter-näppäintä",
791
+ select: "Valitse",
792
+ selectAll: "Valitse kaikki",
793
+ sortable: "lajiteltava sarake"
794
+ };
795
+ var jt = {};
796
+ jt = {
797
+ ascending: "croissant",
798
+ ascendingSort: (e) => `trié en fonction de la colonne ${e.columnName} par ordre croissant`,
799
+ columnSize: (e) => `${e.value} pixels`,
800
+ descending: "décroissant",
801
+ descendingSort: (e) => `trié en fonction de la colonne ${e.columnName} par ordre décroissant`,
802
+ resizerDescription: "Appuyez sur Entrée pour commencer le redimensionnement.",
803
+ select: "Sélectionner",
804
+ selectAll: "Sélectionner tout",
805
+ sortable: "colonne triable"
806
+ };
807
+ var Ot = {};
808
+ Ot = {
809
+ ascending: "עולה",
810
+ ascendingSort: (e) => `מוין לפי עמודה ${e.columnName} בסדר עולה`,
811
+ columnSize: (e) => `${e.value} פיקסלים`,
812
+ descending: "יורד",
813
+ descendingSort: (e) => `מוין לפי עמודה ${e.columnName} בסדר יורד`,
814
+ resizerDescription: "הקש Enter כדי לשנות את הגודל",
815
+ select: "בחר",
816
+ selectAll: "בחר הכול",
817
+ sortable: "עמודה שניתן למיין"
818
+ };
819
+ var Ut = {};
820
+ Ut = {
821
+ ascending: "rastući",
822
+ ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastućem redoslijedom`,
823
+ columnSize: (e) => `${e.value} piksela`,
824
+ descending: "padajući",
825
+ descendingSort: (e) => `razvrstano po stupcima ${e.columnName} padajućim redoslijedom`,
826
+ resizerDescription: "Pritisnite Enter da biste započeli promenu veličine",
827
+ select: "Odaberite",
828
+ selectAll: "Odaberite sve",
829
+ sortable: "stupac koji se može razvrstati"
830
+ };
831
+ var Lt = {};
832
+ Lt = {
833
+ ascending: "növekvő",
834
+ ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, növekvő sorrendben`,
835
+ columnSize: (e) => `${e.value} képpont`,
836
+ descending: "csökkenő",
837
+ descendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, csökkenő sorrendben`,
838
+ resizerDescription: "Nyomja le az Enter billentyűt az átméretezés megkezdéséhez",
839
+ select: "Kijelölés",
840
+ selectAll: "Összes kijelölése",
841
+ sortable: "rendezendő oszlop"
842
+ };
843
+ var Yt = {};
844
+ Yt = {
845
+ ascending: "crescente",
846
+ ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,
847
+ columnSize: (e) => `${e.value} pixel`,
848
+ descending: "decrescente",
849
+ descendingSort: (e) => `in ordine decrescente in base alla colonna ${e.columnName}`,
850
+ resizerDescription: "Premi Invio per iniziare a ridimensionare",
851
+ select: "Seleziona",
852
+ selectAll: "Seleziona tutto",
853
+ sortable: "colonna ordinabile"
854
+ };
855
+ var Xt = {};
856
+ Xt = {
857
+ ascending: "昇順",
858
+ ascendingSort: (e) => `列 ${e.columnName} を昇順で並べ替え`,
859
+ columnSize: (e) => `${e.value} ピクセル`,
860
+ descending: "降順",
861
+ descendingSort: (e) => `列 ${e.columnName} を降順で並べ替え`,
862
+ resizerDescription: "Enter キーを押してサイズ変更を開始",
863
+ select: "選択",
864
+ selectAll: "すべて選択",
865
+ sortable: "並べ替え可能な列"
866
+ };
867
+ var Gt = {};
868
+ Gt = {
869
+ ascending: "오름차순",
870
+ ascendingSort: (e) => `${e.columnName} 열을 기준으로 오름차순으로 정렬됨`,
871
+ columnSize: (e) => `${e.value} 픽셀`,
872
+ descending: "내림차순",
873
+ descendingSort: (e) => `${e.columnName} 열을 기준으로 내림차순으로 정렬됨`,
874
+ resizerDescription: "크기 조정을 시작하려면 Enter를 누르세요.",
875
+ select: "선택",
876
+ selectAll: "모두 선택",
877
+ sortable: "정렬 가능한 열"
878
+ };
879
+ var qt = {};
880
+ qt = {
881
+ ascending: "didėjančia tvarka",
882
+ ascendingSort: (e) => `surikiuota pagal stulpelį ${e.columnName} didėjančia tvarka`,
883
+ columnSize: (e) => `${e.value} piks.`,
884
+ descending: "mažėjančia tvarka",
885
+ descendingSort: (e) => `surikiuota pagal stulpelį ${e.columnName} mažėjančia tvarka`,
886
+ resizerDescription: "Paspauskite „Enter“, kad pradėtumėte keisti dydį",
887
+ select: "Pasirinkti",
888
+ selectAll: "Pasirinkti viską",
889
+ sortable: "rikiuojamas stulpelis"
890
+ };
891
+ var Zt = {};
892
+ Zt = {
893
+ ascending: "augošā secībā",
894
+ ascendingSort: (e) => `kārtots pēc kolonnas ${e.columnName} augošā secībā`,
895
+ columnSize: (e) => `${e.value} pikseļi`,
896
+ descending: "dilstošā secībā",
897
+ descendingSort: (e) => `kārtots pēc kolonnas ${e.columnName} dilstošā secībā`,
898
+ resizerDescription: "Nospiediet Enter, lai sāktu izmēru mainīšanu",
899
+ select: "Atlasīt",
900
+ selectAll: "Atlasīt visu",
901
+ sortable: "kārtojamā kolonna"
902
+ };
903
+ var Qt = {};
904
+ Qt = {
905
+ ascending: "stigende",
906
+ ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkefølge`,
907
+ columnSize: (e) => `${e.value} piksler`,
908
+ descending: "synkende",
909
+ descendingSort: (e) => `sortert etter kolonne ${e.columnName} i synkende rekkefølge`,
910
+ resizerDescription: "Trykk på Enter for å starte størrelsesendring",
911
+ select: "Velg",
912
+ selectAll: "Velg alle",
913
+ sortable: "kolonne som kan sorteres"
914
+ };
915
+ var Jt = {};
916
+ Jt = {
917
+ ascending: "oplopend",
918
+ ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,
919
+ columnSize: (e) => `${e.value} pixels`,
920
+ descending: "aflopend",
921
+ descendingSort: (e) => `gesorteerd in aflopende volgorde in kolom ${e.columnName}`,
922
+ resizerDescription: "Druk op Enter om het formaat te wijzigen",
923
+ select: "Selecteren",
924
+ selectAll: "Alles selecteren",
925
+ sortable: "sorteerbare kolom"
926
+ };
927
+ var _t = {};
928
+ _t = {
929
+ ascending: "rosnąco",
930
+ ascendingSort: (e) => `posortowano według kolumny ${e.columnName} w porządku rosnącym`,
931
+ columnSize: (e) => `Liczba pikseli: ${e.value}`,
932
+ descending: "malejąco",
933
+ descendingSort: (e) => `posortowano według kolumny ${e.columnName} w porządku malejącym`,
934
+ resizerDescription: "Naciśnij Enter, aby rozpocząć zmienianie rozmiaru",
935
+ select: "Zaznacz",
936
+ selectAll: "Zaznacz wszystko",
937
+ sortable: "kolumna z możliwością sortowania"
938
+ };
939
+ var el = {};
940
+ el = {
941
+ ascending: "crescente",
942
+ ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,
943
+ columnSize: (e) => `${e.value} pixels`,
944
+ descending: "decrescente",
945
+ descendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem decrescente`,
946
+ resizerDescription: "Pressione Enter para começar a redimensionar",
947
+ select: "Selecionar",
948
+ selectAll: "Selecionar tudo",
949
+ sortable: "coluna classificável"
950
+ };
951
+ var tl = {};
952
+ tl = {
953
+ ascending: "ascendente",
954
+ ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,
955
+ columnSize: (e) => `${e.value} pixels`,
956
+ descending: "descendente",
957
+ descendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem descendente`,
958
+ resizerDescription: "Prima Enter para iniciar o redimensionamento",
959
+ select: "Selecionar",
960
+ selectAll: "Selecionar tudo",
961
+ sortable: "Coluna ordenável"
962
+ };
963
+ var ll = {};
964
+ ll = {
965
+ ascending: "crescătoare",
966
+ ascendingSort: (e) => `sortate după coloana ${e.columnName} în ordine crescătoare`,
967
+ columnSize: (e) => `${e.value} pixeli`,
968
+ descending: "descrescătoare",
969
+ descendingSort: (e) => `sortate după coloana ${e.columnName} în ordine descrescătoare`,
970
+ resizerDescription: "Apăsați pe Enter pentru a începe redimensionarea",
971
+ select: "Selectare",
972
+ selectAll: "Selectare totală",
973
+ sortable: "coloană sortabilă"
974
+ };
975
+ var nl = {};
976
+ nl = {
977
+ ascending: "возрастание",
978
+ ascendingSort: (e) => `сортировать столбец ${e.columnName} в порядке возрастания`,
979
+ columnSize: (e) => `${e.value} пикс.`,
980
+ descending: "убывание",
981
+ descendingSort: (e) => `сортировать столбец ${e.columnName} в порядке убывания`,
982
+ resizerDescription: "Нажмите клавишу Enter для начала изменения размеров",
983
+ select: "Выбрать",
984
+ selectAll: "Выбрать все",
985
+ sortable: "сортируемый столбец"
986
+ };
987
+ var ol = {};
988
+ ol = {
989
+ ascending: "vzostupne",
990
+ ascendingSort: (e) => `zoradené zostupne podľa stĺpca ${e.columnName}`,
991
+ columnSize: (e) => `Počet pixelov: ${e.value}`,
992
+ descending: "zostupne",
993
+ descendingSort: (e) => `zoradené zostupne podľa stĺpca ${e.columnName}`,
994
+ resizerDescription: "Stlačením klávesu Enter začnete zmenu veľkosti",
995
+ select: "Vybrať",
996
+ selectAll: "Vybrať všetko",
997
+ sortable: "zoraditeľný stĺpec"
998
+ };
999
+ var rl = {};
1000
+ rl = {
1001
+ ascending: "naraščajoče",
1002
+ ascendingSort: (e) => `razvrščeno po stolpcu ${e.columnName} v naraščajočem vrstnem redu`,
1003
+ columnSize: (e) => `${e.value} slikovnih pik`,
1004
+ descending: "padajoče",
1005
+ descendingSort: (e) => `razvrščeno po stolpcu ${e.columnName} v padajočem vrstnem redu`,
1006
+ resizerDescription: "Pritisnite tipko Enter da začnete spreminjati velikost",
1007
+ select: "Izberite",
1008
+ selectAll: "Izberite vse",
1009
+ sortable: "razvrstljivi stolpec"
1010
+ };
1011
+ var il = {};
1012
+ il = {
1013
+ ascending: "rastući",
1014
+ ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastućim redosledom`,
1015
+ columnSize: (e) => `${e.value} piksela`,
1016
+ descending: "padajući",
1017
+ descendingSort: (e) => `sortirano po kolonama ${e.columnName} padajućim redosledom`,
1018
+ resizerDescription: "Pritisnite Enter da biste započeli promenu veličine",
1019
+ select: "Izaberite",
1020
+ selectAll: "Izaberite sve",
1021
+ sortable: "kolona koja se može sortirati"
1022
+ };
1023
+ var al = {};
1024
+ al = {
1025
+ ascending: "stigande",
1026
+ ascendingSort: (e) => `sorterat på kolumn ${e.columnName} i stigande ordning`,
1027
+ columnSize: (e) => `${e.value} pixlar`,
1028
+ descending: "fallande",
1029
+ descendingSort: (e) => `sorterat på kolumn ${e.columnName} i fallande ordning`,
1030
+ resizerDescription: "Tryck på Retur för att börja ändra storlek",
1031
+ select: "Markera",
1032
+ selectAll: "Markera allt",
1033
+ sortable: "sorterbar kolumn"
1034
+ };
1035
+ var ul = {};
1036
+ ul = {
1037
+ ascending: "artan sırada",
1038
+ ascendingSort: (e) => `${e.columnName} sütuna göre artan düzende sırala`,
1039
+ columnSize: (e) => `${e.value} piksel`,
1040
+ descending: "azalan sırada",
1041
+ descendingSort: (e) => `${e.columnName} sütuna göre azalan düzende sırala`,
1042
+ resizerDescription: "Yeniden boyutlandırmak için Enter'a basın",
1043
+ select: "Seç",
1044
+ selectAll: "Tümünü Seç",
1045
+ sortable: "Sıralanabilir sütun"
1046
+ };
1047
+ var sl = {};
1048
+ sl = {
1049
+ ascending: "висхідний",
1050
+ ascendingSort: (e) => `відсортовано за стовпцем ${e.columnName} у висхідному порядку`,
1051
+ columnSize: (e) => `${e.value} пікс.`,
1052
+ descending: "низхідний",
1053
+ descendingSort: (e) => `відсортовано за стовпцем ${e.columnName} у низхідному порядку`,
1054
+ resizerDescription: "Натисніть Enter, щоб почати зміну розміру",
1055
+ select: "Вибрати",
1056
+ selectAll: "Вибрати все",
1057
+ sortable: "сортувальний стовпець"
1058
+ };
1059
+ var dl = {};
1060
+ dl = {
1061
+ ascending: "升序",
1062
+ ascendingSort: (e) => `按列 ${e.columnName} 升序排序`,
1063
+ columnSize: (e) => `${e.value} 像素`,
1064
+ descending: "降序",
1065
+ descendingSort: (e) => `按列 ${e.columnName} 降序排序`,
1066
+ resizerDescription: "按“输入”键开始调整大小。",
1067
+ select: "选择",
1068
+ selectAll: "全选",
1069
+ sortable: "可排序的列"
1070
+ };
1071
+ var cl = {};
1072
+ cl = {
1073
+ ascending: "遞增",
1074
+ ascendingSort: (e) => `已依據「${e.columnName}」欄遞增排序`,
1075
+ columnSize: (e) => `${e.value} 像素`,
1076
+ descending: "遞減",
1077
+ descendingSort: (e) => `已依據「${e.columnName}」欄遞減排序`,
1078
+ resizerDescription: "按 Enter 鍵以開始調整大小",
1079
+ select: "選取",
1080
+ selectAll: "全選",
1081
+ sortable: "可排序的欄"
1082
+ };
1083
+ var Ee = {};
1084
+ Ee = {
1085
+ "ar-AE": Bt,
1086
+ "bg-BG": Kt,
1087
+ "cs-CZ": Mt,
1088
+ "da-DK": Nt,
1089
+ "de-DE": Tt,
1090
+ "el-GR": Ft,
1091
+ "en-US": It,
1092
+ "es-ES": Wt,
1093
+ "et-EE": Vt,
1094
+ "fi-FI": Ht,
1095
+ "fr-FR": jt,
1096
+ "he-IL": Ot,
1097
+ "hr-HR": Ut,
1098
+ "hu-HU": Lt,
1099
+ "it-IT": Yt,
1100
+ "ja-JP": Xt,
1101
+ "ko-KR": Gt,
1102
+ "lt-LT": qt,
1103
+ "lv-LV": Zt,
1104
+ "nb-NO": Qt,
1105
+ "nl-NL": Jt,
1106
+ "pl-PL": _t,
1107
+ "pt-BR": el,
1108
+ "pt-PT": tl,
1109
+ "ro-RO": ll,
1110
+ "ru-RU": nl,
1111
+ "sk-SK": ol,
1112
+ "sl-SI": rl,
1113
+ "sr-SP": il,
1114
+ "sv-SE": al,
1115
+ "tr-TR": ul,
1116
+ "uk-UA": sl,
1117
+ "zh-CN": dl,
1118
+ "zh-TW": cl
1119
+ };
1120
+ class Pn extends Et {
1121
+ isCell(t) {
1122
+ return t.type === "cell" || t.type === "rowheader" || t.type === "column";
1123
+ }
1124
+ getKeyBelow(t) {
1125
+ let l = this.collection.getItem(t);
1126
+ if (!l) return null;
1127
+ if (l.type === "column") {
1128
+ let n = ne(V(l, this.collection));
1129
+ if (n) return n.key;
1130
+ let o = this.getFirstKey();
1131
+ return o == null || !this.collection.getItem(o) ? null : super.getKeyForItemInRowByIndex(o, l.index);
1132
+ }
1133
+ return super.getKeyBelow(t);
1134
+ }
1135
+ getKeyAbove(t) {
1136
+ let l = this.collection.getItem(t);
1137
+ if (!l) return null;
1138
+ if (l.type === "column") {
1139
+ let r = l.parentKey != null ? this.collection.getItem(l.parentKey) : null;
1140
+ return r && r.type === "column" ? r.key : null;
1141
+ }
1142
+ let n = super.getKeyAbove(t), o = n != null ? this.collection.getItem(n) : null;
1143
+ return o && o.type !== "headerrow" ? n : this.isCell(l) ? this.collection.columns[l.index].key : this.collection.columns[0].key;
1144
+ }
1145
+ findNextColumnKey(t) {
1146
+ let l = this.findNextKey(t.key, (o) => o.type === "column");
1147
+ if (l != null) return l;
1148
+ let n = this.collection.headerRows[t.level];
1149
+ for (let o of V(n, this.collection))
1150
+ if (o.type === "column") return o.key;
1151
+ return null;
1152
+ }
1153
+ findPreviousColumnKey(t) {
1154
+ let l = this.findPreviousKey(t.key, (r) => r.type === "column");
1155
+ if (l != null) return l;
1156
+ let n = this.collection.headerRows[t.level], o = [
1157
+ ...V(n, this.collection)
1158
+ ];
1159
+ for (let r = o.length - 1; r >= 0; r--) {
1160
+ let i = o[r];
1161
+ if (i.type === "column") return i.key;
1162
+ }
1163
+ return null;
1164
+ }
1165
+ getKeyRightOf(t) {
1166
+ let l = this.collection.getItem(t);
1167
+ return l ? l.type === "column" ? this.direction === "rtl" ? this.findPreviousColumnKey(l) : this.findNextColumnKey(l) : super.getKeyRightOf(t) : null;
1168
+ }
1169
+ getKeyLeftOf(t) {
1170
+ let l = this.collection.getItem(t);
1171
+ return l ? l.type === "column" ? this.direction === "rtl" ? this.findNextColumnKey(l) : this.findPreviousColumnKey(l) : super.getKeyLeftOf(t) : null;
1172
+ }
1173
+ getKeyForSearch(t, l) {
1174
+ if (!this.collator) return null;
1175
+ let n = this.collection, o = l ?? this.getFirstKey();
1176
+ if (o == null) return null;
1177
+ let r = n.getItem(o);
1178
+ var i;
1179
+ r?.type === "cell" && (o = (i = r.parentKey) !== null && i !== void 0 ? i : null);
1180
+ let a = !1;
1181
+ for (; o != null; ) {
1182
+ let c = n.getItem(o);
1183
+ if (!c) return null;
1184
+ if (c.textValue) {
1185
+ let d = c.textValue.slice(0, t.length);
1186
+ if (this.collator.compare(d, t) === 0) return c.key;
1187
+ }
1188
+ for (let d of V(c, this.collection)) {
1189
+ let s = n.columns[d.index];
1190
+ if (n.rowHeaderColumnKeys.has(s.key) && d.textValue) {
1191
+ let u = d.textValue.slice(0, t.length);
1192
+ if (this.collator.compare(u, t) === 0) {
1193
+ let p = l != null ? n.getItem(l) : r;
1194
+ return p?.type === "cell" ? d.key : c.key;
1195
+ }
1196
+ }
1197
+ }
1198
+ o = this.getKeyBelow(o), o == null && !a && (o = this.getFirstKey(), a = !0);
1199
+ }
1200
+ return null;
1201
+ }
1202
+ }
1203
+ function Rn(e) {
1204
+ return e && e.__esModule ? e.default : e;
1205
+ }
1206
+ function Bn(e, t, l) {
1207
+ let { keyboardDelegate: n, isVirtualized: o, layoutDelegate: r, layout: i } = e, a = St({
1208
+ usage: "search",
1209
+ sensitivity: "base"
1210
+ }), { direction: c } = ve(), d = t.selectionManager.disabledBehavior, s = B(() => n || new Pn({
1211
+ collection: t.collection,
1212
+ disabledKeys: t.disabledKeys,
1213
+ disabledBehavior: d,
1214
+ ref: l,
1215
+ direction: c,
1216
+ collator: a,
1217
+ layoutDelegate: r,
1218
+ layout: i
1219
+ }), [
1220
+ n,
1221
+ t.collection,
1222
+ t.disabledKeys,
1223
+ d,
1224
+ l,
1225
+ c,
1226
+ a,
1227
+ r,
1228
+ i
1229
+ ]), u = Ke(e.id);
1230
+ Ue.set(t, u);
1231
+ let { gridProps: p } = Sn({
1232
+ ...e,
1233
+ id: u,
1234
+ keyboardDelegate: s
1235
+ }, t, l);
1236
+ o && (p["aria-rowcount"] = t.collection.size + t.collection.headerRows.length), Pe() && "expandedKeys" in t && (p.role = "treegrid");
1237
+ let { column: f, direction: h } = t.sortDescriptor || {}, g = ye(Rn(Ee), "@react-aria/table"), y = B(() => {
1238
+ var D, b;
1239
+ let $ = (b = (D = t.collection.columns.find((v) => v.key === f)) === null || D === void 0 ? void 0 : D.textValue) !== null && b !== void 0 ? b : "";
1240
+ return h && f ? g.format(`${h}Sort`, {
1241
+ columnName: $
1242
+ }) : void 0;
1243
+ }, [
1244
+ h,
1245
+ f,
1246
+ t.collection.columns
1247
+ ]), m = je(y);
1248
+ return cn(() => {
1249
+ y && dn(y, "assertive", 500);
1250
+ }, [
1251
+ y
1252
+ ]), {
1253
+ gridProps: H(p, m, {
1254
+ // merge sort description with long press information
1255
+ "aria-describedby": [
1256
+ m["aria-describedby"],
1257
+ p["aria-describedby"]
1258
+ ].filter(Boolean).join(" ")
1259
+ })
1260
+ };
1261
+ }
1262
+ function Kn(e) {
1263
+ return e && e.__esModule ? e.default : e;
1264
+ }
1265
+ function Mn(e, t, l) {
1266
+ var n, o;
1267
+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = zt({
1268
+ ...e,
1269
+ focusMode: "child"
1270
+ }, t, l), c = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: d } = wt({
1271
+ isDisabled: !i || c,
1272
+ onPress() {
1273
+ t.sort(r.key);
1274
+ },
1275
+ ref: l
1276
+ }), { focusableProps: s } = Jl({}, l), u, p = ((n = t.sortDescriptor) === null || n === void 0 ? void 0 : n.column) === r.key, f = (o = t.sortDescriptor) === null || o === void 0 ? void 0 : o.direction;
1277
+ r.props.allowsSorting && !st() && (u = p ? f : "none");
1278
+ let h = ye(Kn(Ee), "@react-aria/table"), g;
1279
+ i && (g = `${h.format("sortable")}`, p && f && st() && (g = `${g}, ${h.format(f)}`));
1280
+ let y = je(g), m = t.collection.size === 0;
1281
+ return se(() => {
1282
+ m && t.selectionManager.focusedKey === r.key && t.selectionManager.setFocusedKey(null);
1283
+ }, [
1284
+ m,
1285
+ t.selectionManager,
1286
+ r.key
1287
+ ]), {
1288
+ columnHeaderProps: {
1289
+ ...H(
1290
+ s,
1291
+ a,
1292
+ d,
1293
+ y,
1294
+ // If the table is empty, make all column headers untabbable
1295
+ m ? {
1296
+ tabIndex: -1
1297
+ } : null
1298
+ ),
1299
+ role: "columnheader",
1300
+ id: At(t, r.key),
1301
+ "aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,
1302
+ "aria-sort": u
1303
+ }
1304
+ };
1305
+ }
1306
+ const pt = {
1307
+ expand: {
1308
+ ltr: "ArrowRight",
1309
+ rtl: "ArrowLeft"
1310
+ },
1311
+ collapse: {
1312
+ ltr: "ArrowLeft",
1313
+ rtl: "ArrowRight"
1314
+ }
1315
+ };
1316
+ function Nn(e, t, l) {
1317
+ let { node: n, isVirtualized: o } = e, { rowProps: r, ...i } = En(e, t, l), { direction: a } = ve();
1318
+ o && !(Pe() && "expandedKeys" in t) ? r["aria-rowindex"] = n.index + 1 + t.collection.headerRows.length : delete r["aria-rowindex"];
1319
+ let c = {};
1320
+ if (Pe() && "expandedKeys" in t) {
1321
+ let v = t.keyMap.get(n.key);
1322
+ if (v != null) {
1323
+ var d, s, u, p, f, h;
1324
+ let w = ((d = v.props) === null || d === void 0 ? void 0 : d.UNSTABLE_childItems) || ((u = v.props) === null || u === void 0 || (s = u.children) === null || s === void 0 ? void 0 : s.length) > t.userColumnCount;
1325
+ var g, y, m, D;
1326
+ c = {
1327
+ onKeyDown: (k) => {
1328
+ (k.key === pt.expand[a] && t.selectionManager.focusedKey === v.key && w && t.expandedKeys !== "all" && !t.expandedKeys.has(v.key) || k.key === pt.collapse[a] && t.selectionManager.focusedKey === v.key && w && (t.expandedKeys === "all" || t.expandedKeys.has(v.key))) && (t.toggleKey(v.key), k.stopPropagation());
1329
+ },
1330
+ "aria-expanded": w ? t.expandedKeys === "all" || t.expandedKeys.has(n.key) : void 0,
1331
+ "aria-level": v.level,
1332
+ "aria-posinset": ((g = v.indexOfType) !== null && g !== void 0 ? g : 0) + 1,
1333
+ "aria-setsize": v.level > 1 ? ((m = (p = oe((y = (f = t.keyMap.get(v.parentKey)) === null || f === void 0 ? void 0 : f.childNodes) !== null && y !== void 0 ? y : [])) === null || p === void 0 ? void 0 : p.indexOfType) !== null && m !== void 0 ? m : 0) + 1 : ((D = (h = oe(t.collection.body.childNodes)) === null || h === void 0 ? void 0 : h.indexOfType) !== null && D !== void 0 ? D : 0) + 1
1334
+ };
1335
+ }
1336
+ }
1337
+ let b = on(n.props), $ = i.hasAction ? b : {};
1338
+ return {
1339
+ rowProps: {
1340
+ ...H(r, c, $),
1341
+ "aria-labelledby": Rt(t, n.key)
1342
+ },
1343
+ ...i
1344
+ };
1345
+ }
1346
+ function Tn(e, t, l) {
1347
+ let { node: n, isVirtualized: o } = e, r = {
1348
+ role: "row"
1349
+ };
1350
+ return o && !(Pe() && "expandedKeys" in t) && (r["aria-rowindex"] = n.index + 1), {
1351
+ rowProps: r
1352
+ };
1353
+ }
1354
+ function Fn(e, t, l) {
1355
+ var n;
1356
+ let { gridCellProps: o, isPressed: r } = zt(e, t, l), i = (n = e.node.column) === null || n === void 0 ? void 0 : n.key;
1357
+ return i != null && t.collection.rowHeaderColumnKeys.has(i) && (o.role = "rowheader", o.id = Pt(t, e.node.parentKey, i)), {
1358
+ gridCellProps: o,
1359
+ isPressed: r
1360
+ };
1361
+ }
1362
+ function In(e) {
1363
+ return e && e.__esModule ? e.default : e;
1364
+ }
1365
+ function Wn(e, t) {
1366
+ let { key: l } = e;
1367
+ const { checkboxProps: n } = An(e, t);
1368
+ return {
1369
+ checkboxProps: {
1370
+ ...n,
1371
+ "aria-labelledby": `${n.id} ${Rt(t, l)}`
1372
+ }
1373
+ };
1374
+ }
1375
+ function Vn(e) {
1376
+ let { isEmpty: t, isSelectAll: l, selectionMode: n } = e.selectionManager;
1377
+ return {
1378
+ checkboxProps: {
1379
+ "aria-label": ye(In(Ee), "@react-aria/table").format(n === "single" ? "select" : "selectAll"),
1380
+ isSelected: l,
1381
+ isDisabled: n !== "multiple" || e.collection.size === 0 || e.collection.rows.length === 1 && e.collection.rows[0].type === "loader",
1382
+ isIndeterminate: !t && !l,
1383
+ onChange: () => e.selectionManager.toggleSelectAll()
1384
+ }
1385
+ };
1386
+ }
1387
+ function Hn(e) {
1388
+ return e && e.__esModule ? e.default : e;
1389
+ }
1390
+ function jn(e, t, l) {
1391
+ let { column: n, triggerRef: o, isDisabled: r, onResizeStart: i, onResize: a, onResizeEnd: c, "aria-label": d } = e;
1392
+ const s = ye(Hn(Ee), "@react-aria/table");
1393
+ let u = Ke(), p = t.resizingColumn === n.key, f = M(p), h = M(null), g = M(!1), y = t.tableState.isKeyboardNavigationDisabled, { direction: m } = ve(), { keyboardProps: D } = _l({
1394
+ onKeyDown: (x) => {
1395
+ y ? (x.key === "Escape" || x.key === "Enter" || x.key === " " || x.key === "Tab") && (x.preventDefault(), v(n)) : (x.continuePropagation(), x.key === "Enter" && b(n));
1396
+ }
1397
+ }), b = Ce((x) => {
1398
+ f.current || (h.current = t.updateResizedColumns(x.key, t.getColumnWidth(x.key)), t.startResize(x.key), t.tableState.setKeyboardNavigationDisabled(!0), i?.(h.current)), f.current = !0;
1399
+ }), $ = Ce((x, z) => {
1400
+ let N = t.updateResizedColumns(x.key, z);
1401
+ a?.(N), h.current = N;
1402
+ }), v = Ce((x) => {
1403
+ f.current && (h.current == null && (h.current = t.updateResizedColumns(x.key, t.getColumnWidth(x.key))), t.endResize(), t.tableState.setKeyboardNavigationDisabled(!1), c?.(h.current), f.current = !1, o?.current && !g.current && Z(o.current)), h.current = null;
1404
+ });
1405
+ const w = M(0), { moveProps: k } = Cn({
1406
+ onMoveStart() {
1407
+ w.current = t.getColumnWidth(n.key), b(n);
1408
+ },
1409
+ onMove(x) {
1410
+ let { deltaX: z, deltaY: N, pointerType: fe } = x;
1411
+ m === "rtl" && (z *= -1), fe === "keyboard" && (N !== 0 && z === 0 && (z = N * -1), z *= 10), z !== 0 && (w.current += z, $(n, w.current));
1412
+ },
1413
+ onMoveEnd(x) {
1414
+ let { pointerType: z } = x;
1415
+ w.current = 0, (z === "mouse" || z === "touch" && g.current) && v(n);
1416
+ }
1417
+ });
1418
+ let A = j((x) => {
1419
+ var z;
1420
+ y && ((z = k.onKeyDown) === null || z === void 0 || z.call(k, x));
1421
+ }, [
1422
+ y,
1423
+ k
1424
+ ]), R = Math.floor(t.getColumnMinWidth(n.key)), E = Math.floor(t.getColumnMaxWidth(n.key));
1425
+ E === 1 / 0 && (E = Number.MAX_SAFE_INTEGER);
1426
+ let K = Math.floor(t.getColumnWidth(n.key)), W = tn();
1427
+ W === "virtual" && typeof window < "u" && "ontouchstart" in window && (W = "touch");
1428
+ let T = o?.current == null && (W === "keyboard" || W === "virtual") && !p ? s.format("resizerDescription") : void 0, I = je(T), F = {
1429
+ "aria-label": d,
1430
+ "aria-orientation": "horizontal",
1431
+ "aria-labelledby": `${u} ${At(t.tableState, n.key)}`,
1432
+ "aria-valuetext": s.format("columnSize", {
1433
+ value: K
1434
+ }),
1435
+ type: "range",
1436
+ min: R,
1437
+ max: E,
1438
+ value: K,
1439
+ ...I
1440
+ };
1441
+ const U = j(() => {
1442
+ l.current && Z(l.current);
1443
+ }, [
1444
+ l
1445
+ ]);
1446
+ let L = t.resizingColumn, le = M(null);
1447
+ se(() => {
1448
+ if (le.current !== L && L != null && L === n.key) {
1449
+ g.current = document.activeElement === l.current, b(n);
1450
+ let x = setTimeout(() => U(), 0), z = setTimeout(U, 400);
1451
+ return () => {
1452
+ clearTimeout(x), clearTimeout(z);
1453
+ };
1454
+ }
1455
+ le.current = L;
1456
+ }, [
1457
+ L,
1458
+ n,
1459
+ U,
1460
+ l,
1461
+ b
1462
+ ]);
1463
+ let ee = (x) => {
1464
+ let z = t.getColumnWidth(n.key), N = parseFloat(x.target.value);
1465
+ N > z ? N = z + 10 : N = z - 10, $(n, N);
1466
+ }, { pressProps: X } = wt({
1467
+ preventFocusOnPress: !0,
1468
+ onPressStart: (x) => {
1469
+ if (!(x.ctrlKey || x.altKey || x.metaKey || x.shiftKey || x.pointerType === "keyboard")) {
1470
+ if (x.pointerType === "virtual" && t.resizingColumn != null) {
1471
+ v(n);
1472
+ return;
1473
+ }
1474
+ U(), x.pointerType !== "virtual" && b(n);
1475
+ }
1476
+ },
1477
+ onPress: (x) => {
1478
+ (x.pointerType === "touch" && g.current || x.pointerType === "mouse") && t.resizingColumn != null && v(n);
1479
+ }
1480
+ }), { visuallyHiddenProps: G } = Me();
1481
+ return {
1482
+ resizerProps: H(D, {
1483
+ ...k,
1484
+ onKeyDown: A
1485
+ }, X, {
1486
+ style: {
1487
+ touchAction: "none"
1488
+ }
1489
+ }),
1490
+ inputProps: H(G, {
1491
+ id: u,
1492
+ onBlur: () => {
1493
+ v(n);
1494
+ },
1495
+ onChange: ee,
1496
+ disabled: r
1497
+ }, F),
1498
+ isResizing: p
1499
+ };
1500
+ }
1501
+ function fl() {
1502
+ return kn();
1503
+ }
1504
+ function On(e) {
1505
+ return e != null && (!isNaN(e) || String(e).match(/^(\d+)(?=%$)/) !== null);
1506
+ }
1507
+ function Un(e) {
1508
+ if (!e || typeof e == "number") return 1;
1509
+ let t = e.match(/^(.+)(?=fr$)/);
1510
+ return t ? parseFloat(t[0]) : (process.env.NODE_ENV !== "production" && console.warn(`width: ${e} is not a supported format, width should be a number (ex. 150), percentage (ex. '50%') or fr unit (ex. '2fr')`, "defaulting to '1fr'"), 1);
1511
+ }
1512
+ function Le(e, t) {
1513
+ if (typeof e == "string") {
1514
+ let l = e.match(/^(\d+)(?=%$)/);
1515
+ if (!l) throw new Error("Only percentages or numbers are supported for static column widths");
1516
+ return t * (parseFloat(l[0]) / 100);
1517
+ }
1518
+ return e;
1519
+ }
1520
+ function pl(e, t) {
1521
+ return e != null ? Le(e, t) : Number.MAX_SAFE_INTEGER;
1522
+ }
1523
+ function hl(e, t) {
1524
+ return e != null ? Le(e, t) : 0;
1525
+ }
1526
+ function Ln(e, t, l, n, o) {
1527
+ let r = !1, i = t.map((a, c) => {
1528
+ var d, s, u, p;
1529
+ let f = l.get(a.key) != null ? (d = l.get(a.key)) !== null && d !== void 0 ? d : "1fr" : (p = (u = (s = a.width) !== null && s !== void 0 ? s : a.defaultWidth) !== null && u !== void 0 ? u : n?.(c)) !== null && p !== void 0 ? p : "1fr", h = !1, g = 0, y = 0, m = 0;
1530
+ On(f) ? (g = Le(f, e), h = !0) : (y = Un(f), y <= 0 && (h = !0));
1531
+ var D, b;
1532
+ let $ = hl((b = (D = a.minWidth) !== null && D !== void 0 ? D : o?.(c)) !== null && b !== void 0 ? b : 0, e), v = pl(a.maxWidth, e), w = Math.max($, Math.min(g, v));
1533
+ return h ? m = w : g > w && (h = !0, m = w), h || (r = !0), {
1534
+ frozen: h,
1535
+ baseSize: g,
1536
+ hypotheticalMainSize: w,
1537
+ min: $,
1538
+ max: v,
1539
+ flex: y,
1540
+ targetMainSize: m,
1541
+ violation: 0
1542
+ };
1543
+ });
1544
+ for (; r; ) {
1545
+ let a = 0, c = 0;
1546
+ i.forEach((u) => {
1547
+ u.frozen ? a += u.targetMainSize : (a += u.baseSize, c += u.flex);
1548
+ });
1549
+ let d = e - a;
1550
+ d > 0 && i.forEach((u) => {
1551
+ if (!u.frozen) {
1552
+ let p = u.flex / c;
1553
+ u.targetMainSize = u.baseSize + p * d;
1554
+ }
1555
+ });
1556
+ let s = 0;
1557
+ i.forEach((u) => {
1558
+ if (u.violation = 0, !u.frozen) {
1559
+ let { min: p, max: f, targetMainSize: h } = u;
1560
+ u.targetMainSize = Math.max(p, Math.min(h, f)), u.violation = u.targetMainSize - h, s += u.violation;
1561
+ }
1562
+ }), r = !1, i.forEach((u) => {
1563
+ s === 0 || Math.sign(s) === Math.sign(u.violation) ? u.frozen = !0 : u.frozen || (r = !0);
1564
+ });
1565
+ }
1566
+ return Yn(i);
1567
+ }
1568
+ function Yn(e) {
1569
+ let t = 0, l = 0, n = [];
1570
+ return e.forEach(function(o) {
1571
+ let r = o.targetMainSize, i = Math.round(r + t) - l;
1572
+ t += r, l += i, n.push(i);
1573
+ }), n;
1574
+ }
1575
+ class Xn {
1576
+ /** Takes an array of columns and splits it into 2 maps of columns with controlled and columns with uncontrolled widths. */
1577
+ splitColumnsIntoControlledAndUncontrolled(t) {
1578
+ return t.reduce((l, n) => (n.props.width != null ? l[0].set(n.key, n) : l[1].set(n.key, n), l), [
1579
+ /* @__PURE__ */ new Map(),
1580
+ /* @__PURE__ */ new Map()
1581
+ ]);
1582
+ }
1583
+ /** Takes uncontrolled and controlled widths and joins them into a single Map. */
1584
+ recombineColumns(t, l, n, o) {
1585
+ return new Map(t.map((r) => n.has(r.key) ? [
1586
+ r.key,
1587
+ l.get(r.key)
1588
+ ] : [
1589
+ r.key,
1590
+ o.get(r.key).props.width
1591
+ ]));
1592
+ }
1593
+ /** Used to make an initial Map of the uncontrolled widths based on default widths. */
1594
+ getInitialUncontrolledWidths(t) {
1595
+ return new Map(Array.from(t).map(([l, n]) => {
1596
+ var o, r, i, a;
1597
+ return [
1598
+ l,
1599
+ (a = (i = n.props.defaultWidth) !== null && i !== void 0 ? i : (o = (r = this).getDefaultWidth) === null || o === void 0 ? void 0 : o.call(r, n)) !== null && a !== void 0 ? a : "1fr"
1600
+ ];
1601
+ }));
1602
+ }
1603
+ getColumnWidth(t) {
1604
+ var l;
1605
+ return (l = this.columnWidths.get(t)) !== null && l !== void 0 ? l : 0;
1606
+ }
1607
+ getColumnMinWidth(t) {
1608
+ var l;
1609
+ return (l = this.columnMinWidths.get(t)) !== null && l !== void 0 ? l : 0;
1610
+ }
1611
+ getColumnMaxWidth(t) {
1612
+ var l;
1613
+ return (l = this.columnMaxWidths.get(t)) !== null && l !== void 0 ? l : 0;
1614
+ }
1615
+ resizeColumnWidth(t, l, n, o) {
1616
+ let r = this.columnWidths, i = !0, a = /* @__PURE__ */ new Map();
1617
+ return o = Math.max(this.getColumnMinWidth(n), Math.min(this.getColumnMaxWidth(n), Math.floor(o))), t.columns.forEach((c) => {
1618
+ var d, s;
1619
+ c.key === n ? (a.set(c.key, o), i = !1) : i ? a.set(c.key, (d = r.get(c.key)) !== null && d !== void 0 ? d : 0) : a.set(c.key, (s = c.props.width) !== null && s !== void 0 ? s : l.get(c.key));
1620
+ }), a;
1621
+ }
1622
+ buildColumnWidths(t, l, n) {
1623
+ return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), Ln(t, l.columns.map((r) => ({
1624
+ ...r.props,
1625
+ key: r.key
1626
+ })), n, (r) => this.getDefaultWidth(l.columns[r]), (r) => this.getDefaultMinWidth(l.columns[r])).forEach((r, i) => {
1627
+ let a = l.columns[i].key, c = l.columns[i];
1628
+ this.columnWidths.set(a, r);
1629
+ var d;
1630
+ this.columnMinWidths.set(a, hl((d = c.props.minWidth) !== null && d !== void 0 ? d : this.getDefaultMinWidth(c), t)), this.columnMaxWidths.set(a, pl(c.props.maxWidth, t));
1631
+ }), this.columnWidths;
1632
+ }
1633
+ constructor(t) {
1634
+ this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map();
1635
+ var l;
1636
+ this.getDefaultWidth = (l = t?.getDefaultWidth) !== null && l !== void 0 ? l : () => "1fr";
1637
+ var n;
1638
+ this.getDefaultMinWidth = (n = t?.getDefaultMinWidth) !== null && n !== void 0 ? n : () => 75;
1639
+ }
1640
+ }
1641
+ function Gn(e, t) {
1642
+ let { getDefaultWidth: l, getDefaultMinWidth: n, tableWidth: o = 0 } = e, [r, i] = Q(null), a = B(() => new Xn({
1643
+ getDefaultWidth: l,
1644
+ getDefaultMinWidth: n
1645
+ }), [
1646
+ l,
1647
+ n
1648
+ ]), [c, d] = B(() => a.splitColumnsIntoControlledAndUncontrolled(t.collection.columns), [
1649
+ t.collection.columns,
1650
+ a
1651
+ ]), [s, u] = Q(() => a.getInitialUncontrolledWidths(d)), [p, f] = Q(t.collection.columns);
1652
+ if (t.collection.columns !== p) {
1653
+ if (t.collection.columns.length !== p.length || t.collection.columns.some((b, $) => b.key !== p[$].key)) {
1654
+ let b = a.getInitialUncontrolledWidths(d);
1655
+ u(b);
1656
+ }
1657
+ f(t.collection.columns);
1658
+ }
1659
+ let h = B(() => a.recombineColumns(t.collection.columns, s, d, c), [
1660
+ t.collection.columns,
1661
+ s,
1662
+ d,
1663
+ c,
1664
+ a
1665
+ ]), g = j((b) => {
1666
+ i(b);
1667
+ }, [
1668
+ i
1669
+ ]), y = j((b, $) => {
1670
+ let v = a.resizeColumnWidth(t.collection, s, b, $), w = new Map(Array.from(d).map(([k]) => [
1671
+ k,
1672
+ v.get(k)
1673
+ ]));
1674
+ return w.set(b, $), u(w), v;
1675
+ }, [
1676
+ d,
1677
+ u,
1678
+ a,
1679
+ t.collection,
1680
+ s
1681
+ ]), m = j(() => {
1682
+ i(null);
1683
+ }, [
1684
+ i
1685
+ ]), D = B(() => a.buildColumnWidths(o, t.collection, h), [
1686
+ o,
1687
+ t.collection,
1688
+ h,
1689
+ a
1690
+ ]);
1691
+ return B(() => ({
1692
+ resizingColumn: r,
1693
+ updateResizedColumns: y,
1694
+ startResize: g,
1695
+ endResize: m,
1696
+ getColumnWidth: (b) => a.getColumnWidth(b),
1697
+ getColumnMinWidth: (b) => a.getColumnMinWidth(b),
1698
+ getColumnMaxWidth: (b) => a.getColumnMaxWidth(b),
1699
+ tableState: t,
1700
+ columnWidths: D
1701
+ }), [
1702
+ a,
1703
+ D,
1704
+ r,
1705
+ y,
1706
+ g,
1707
+ m,
1708
+ t
1709
+ ]);
1710
+ }
1711
+ function qn(e) {
1712
+ let { collection: t, focusMode: l } = e, n = e.UNSAFE_selectionState || $t(e), o = B(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [
1713
+ e.disabledKeys
1714
+ ]), r = n.setFocusedKey;
1715
+ n.setFocusedKey = (c, d) => {
1716
+ if (l === "cell" && c != null) {
1717
+ let h = t.getItem(c);
1718
+ if (h?.type === "item") {
1719
+ var s, u;
1720
+ let g = V(h, t);
1721
+ var p, f;
1722
+ d === "last" ? c = (p = (s = oe(g)) === null || s === void 0 ? void 0 : s.key) !== null && p !== void 0 ? p : null : c = (f = (u = ne(g)) === null || u === void 0 ? void 0 : u.key) !== null && f !== void 0 ? f : null;
1723
+ }
1724
+ }
1725
+ r(c, d);
1726
+ };
1727
+ let i = B(() => new Kl(t, n), [
1728
+ t,
1729
+ n
1730
+ ]);
1731
+ const a = M(null);
1732
+ return se(() => {
1733
+ if (n.focusedKey != null && a.current && !t.getItem(n.focusedKey)) {
1734
+ const c = a.current.getItem(n.focusedKey), d = c?.parentKey != null && (c.type === "cell" || c.type === "rowheader" || c.type === "column") ? a.current.getItem(c.parentKey) : c;
1735
+ if (!d) {
1736
+ n.setFocusedKey(null);
1737
+ return;
1738
+ }
1739
+ const s = a.current.rows, u = t.rows, p = s.length - u.length;
1740
+ let f = Math.min(p > 1 ? Math.max(d.index - p + 1, 0) : d.index, u.length - 1), h = null;
1741
+ for (; f >= 0; ) {
1742
+ if (!i.isDisabled(u[f].key) && u[f].type !== "headerrow") {
1743
+ h = u[f];
1744
+ break;
1745
+ }
1746
+ f < u.length - 1 ? f++ : (f > d.index && (f = d.index), f--);
1747
+ }
1748
+ if (h) {
1749
+ const g = h.hasChildNodes ? [
1750
+ ...V(h, t)
1751
+ ] : [], y = h.hasChildNodes && d !== c && c && c.index < g.length ? g[c.index].key : h.key;
1752
+ n.setFocusedKey(y);
1753
+ } else n.setFocusedKey(null);
1754
+ }
1755
+ a.current = t;
1756
+ }, [
1757
+ t,
1758
+ i,
1759
+ n,
1760
+ n.focusedKey
1761
+ ]), {
1762
+ collection: t,
1763
+ disabledKeys: o,
1764
+ isKeyboardNavigationDisabled: !1,
1765
+ selectionManager: i
1766
+ };
1767
+ }
1768
+ class Zn {
1769
+ *[Symbol.iterator]() {
1770
+ yield* [
1771
+ ...this.rows
1772
+ ];
1773
+ }
1774
+ get size() {
1775
+ return [
1776
+ ...this.rows
1777
+ ].length;
1778
+ }
1779
+ getKeys() {
1780
+ return this.keyMap.keys();
1781
+ }
1782
+ getKeyBefore(t) {
1783
+ let l = this.keyMap.get(t);
1784
+ var n;
1785
+ return l && (n = l.prevKey) !== null && n !== void 0 ? n : null;
1786
+ }
1787
+ getKeyAfter(t) {
1788
+ let l = this.keyMap.get(t);
1789
+ var n;
1790
+ return l && (n = l.nextKey) !== null && n !== void 0 ? n : null;
1791
+ }
1792
+ getFirstKey() {
1793
+ var t;
1794
+ return (t = [
1795
+ ...this.rows
1796
+ ][0]) === null || t === void 0 ? void 0 : t.key;
1797
+ }
1798
+ getLastKey() {
1799
+ var t;
1800
+ let l = [
1801
+ ...this.rows
1802
+ ];
1803
+ return (t = l[l.length - 1]) === null || t === void 0 ? void 0 : t.key;
1804
+ }
1805
+ getItem(t) {
1806
+ var l;
1807
+ return (l = this.keyMap.get(t)) !== null && l !== void 0 ? l : null;
1808
+ }
1809
+ at(t) {
1810
+ const l = [
1811
+ ...this.getKeys()
1812
+ ];
1813
+ return this.getItem(l[t]);
1814
+ }
1815
+ getChildren(t) {
1816
+ let l = this.keyMap.get(t);
1817
+ return l?.childNodes || [];
1818
+ }
1819
+ constructor(t) {
1820
+ this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = t?.columnCount, this.rows = [];
1821
+ let l = (u) => {
1822
+ let p = this.keyMap.get(u.key);
1823
+ t.visitNode && (u = t.visitNode(u)), this.keyMap.set(u.key, u);
1824
+ let f = /* @__PURE__ */ new Set(), h = null, g = !1;
1825
+ if (u.type === "item") {
1826
+ var y;
1827
+ for (let v of u.childNodes) if (((y = v.props) === null || y === void 0 ? void 0 : y.colSpan) !== void 0) {
1828
+ g = !0;
1829
+ break;
1830
+ }
1831
+ }
1832
+ for (let v of u.childNodes) {
1833
+ if (v.type === "cell" && g) {
1834
+ var m, D;
1835
+ v.colspan = (m = v.props) === null || m === void 0 ? void 0 : m.colSpan, v.colSpan = (D = v.props) === null || D === void 0 ? void 0 : D.colSpan;
1836
+ var b, $;
1837
+ v.colIndex = h ? ((b = h.colIndex) !== null && b !== void 0 ? b : h.index) + (($ = h.colSpan) !== null && $ !== void 0 ? $ : 1) : v.index;
1838
+ }
1839
+ v.type === "cell" && v.parentKey == null && (v.parentKey = u.key), f.add(v.key), h ? (h.nextKey = v.key, v.prevKey = h.key) : v.prevKey = null, l(v), h = v;
1840
+ }
1841
+ if (h && (h.nextKey = null), p)
1842
+ for (let v of p.childNodes) f.has(v.key) || n(v);
1843
+ }, n = (u) => {
1844
+ this.keyMap.delete(u.key);
1845
+ for (let p of u.childNodes) this.keyMap.get(p.key) === p && n(p);
1846
+ }, o = null;
1847
+ for (let [u, p] of t.items.entries()) {
1848
+ var r, i, a, c, d, s;
1849
+ let f = {
1850
+ ...p,
1851
+ level: (r = p.level) !== null && r !== void 0 ? r : 0,
1852
+ key: (i = p.key) !== null && i !== void 0 ? i : "row-" + u,
1853
+ type: (a = p.type) !== null && a !== void 0 ? a : "row",
1854
+ value: (c = p.value) !== null && c !== void 0 ? c : null,
1855
+ hasChildNodes: !0,
1856
+ childNodes: [
1857
+ ...p.childNodes
1858
+ ],
1859
+ rendered: p.rendered,
1860
+ textValue: (d = p.textValue) !== null && d !== void 0 ? d : "",
1861
+ index: (s = p.index) !== null && s !== void 0 ? s : u
1862
+ };
1863
+ o ? (o.nextKey = f.key, f.prevKey = o.key) : f.prevKey = null, this.rows.push(f), l(f), o = f;
1864
+ }
1865
+ o && (o.nextKey = null);
1866
+ }
1867
+ }
1868
+ const ml = "row-header-column-" + /* @__PURE__ */ Math.random().toString(36).slice(2);
1869
+ let Ie = "row-header-column-" + /* @__PURE__ */ Math.random().toString(36).slice(2);
1870
+ for (; ml === Ie; ) Ie = "row-header-column-" + Math.random().toString(36).slice(2);
1871
+ function gl(e, t) {
1872
+ if (t.length === 0) return [];
1873
+ let l = [], n = /* @__PURE__ */ new Map();
1874
+ for (let s of t) {
1875
+ let u = s.parentKey, p = [
1876
+ s
1877
+ ];
1878
+ for (; u; ) {
1879
+ let f = e.get(u);
1880
+ if (!f) break;
1881
+ if (n.has(f)) {
1882
+ var o, r;
1883
+ (r = (o = f).colSpan) !== null && r !== void 0 || (o.colSpan = 0), f.colSpan++, f.colspan = f.colSpan;
1884
+ let { column: h, index: g } = n.get(f);
1885
+ if (g > p.length) break;
1886
+ for (let y = g; y < p.length; y++) h.splice(y, 0, null);
1887
+ for (let y = p.length; y < h.length; y++)
1888
+ h[y] && n.has(h[y]) && (n.get(h[y]).index = y);
1889
+ } else
1890
+ f.colSpan = 1, f.colspan = 1, p.push(f), n.set(f, {
1891
+ column: p,
1892
+ index: p.length - 1
1893
+ });
1894
+ u = f.parentKey;
1895
+ }
1896
+ l.push(p), s.index = l.length - 1;
1897
+ }
1898
+ let i = Math.max(...l.map((s) => s.length)), a = Array(i).fill(0).map(() => []), c = 0;
1899
+ for (let s of l) {
1900
+ let u = i - 1;
1901
+ for (let p of s) {
1902
+ if (p) {
1903
+ let f = a[u], h = f.reduce((g, y) => {
1904
+ var m;
1905
+ return g + ((m = y.colSpan) !== null && m !== void 0 ? m : 1);
1906
+ }, 0);
1907
+ if (h < c) {
1908
+ let g = {
1909
+ type: "placeholder",
1910
+ key: "placeholder-" + p.key,
1911
+ colspan: c - h,
1912
+ colSpan: c - h,
1913
+ index: h,
1914
+ value: null,
1915
+ rendered: null,
1916
+ level: u,
1917
+ hasChildNodes: !1,
1918
+ childNodes: [],
1919
+ textValue: ""
1920
+ };
1921
+ f.length > 0 && (f[f.length - 1].nextKey = g.key, g.prevKey = f[f.length - 1].key), f.push(g);
1922
+ }
1923
+ f.length > 0 && (f[f.length - 1].nextKey = p.key, p.prevKey = f[f.length - 1].key), p.level = u, p.colIndex = c, f.push(p);
1924
+ }
1925
+ u--;
1926
+ }
1927
+ c++;
1928
+ }
1929
+ let d = 0;
1930
+ for (let s of a) {
1931
+ let u = s.reduce((p, f) => {
1932
+ var h;
1933
+ return p + ((h = f.colSpan) !== null && h !== void 0 ? h : 1);
1934
+ }, 0);
1935
+ if (u < t.length) {
1936
+ let p = {
1937
+ type: "placeholder",
1938
+ key: "placeholder-" + s[s.length - 1].key,
1939
+ colSpan: t.length - u,
1940
+ colspan: t.length - u,
1941
+ index: u,
1942
+ value: null,
1943
+ rendered: null,
1944
+ level: d,
1945
+ hasChildNodes: !1,
1946
+ childNodes: [],
1947
+ textValue: "",
1948
+ prevKey: s[s.length - 1].key
1949
+ };
1950
+ s.push(p);
1951
+ }
1952
+ d++;
1953
+ }
1954
+ return a.map((s, u) => ({
1955
+ type: "headerrow",
1956
+ key: "headerrow-" + u,
1957
+ index: u,
1958
+ value: null,
1959
+ rendered: null,
1960
+ level: 0,
1961
+ hasChildNodes: !0,
1962
+ childNodes: s,
1963
+ textValue: ""
1964
+ }));
1965
+ }
1966
+ class Qn extends Zn {
1967
+ *[Symbol.iterator]() {
1968
+ yield* this.body.childNodes;
1969
+ }
1970
+ get size() {
1971
+ return this._size;
1972
+ }
1973
+ getKeys() {
1974
+ return this.keyMap.keys();
1975
+ }
1976
+ getKeyBefore(t) {
1977
+ let l = this.keyMap.get(t);
1978
+ var n;
1979
+ return (n = l?.prevKey) !== null && n !== void 0 ? n : null;
1980
+ }
1981
+ getKeyAfter(t) {
1982
+ let l = this.keyMap.get(t);
1983
+ var n;
1984
+ return (n = l?.nextKey) !== null && n !== void 0 ? n : null;
1985
+ }
1986
+ getFirstKey() {
1987
+ var t, l;
1988
+ return (l = (t = ne(this.body.childNodes)) === null || t === void 0 ? void 0 : t.key) !== null && l !== void 0 ? l : null;
1989
+ }
1990
+ getLastKey() {
1991
+ var t, l;
1992
+ return (l = (t = oe(this.body.childNodes)) === null || t === void 0 ? void 0 : t.key) !== null && l !== void 0 ? l : null;
1993
+ }
1994
+ getItem(t) {
1995
+ var l;
1996
+ return (l = this.keyMap.get(t)) !== null && l !== void 0 ? l : null;
1997
+ }
1998
+ at(t) {
1999
+ const l = [
2000
+ ...this.getKeys()
2001
+ ];
2002
+ return this.getItem(l[t]);
2003
+ }
2004
+ getChildren(t) {
2005
+ return t === this.body.key ? this.body.childNodes : super.getChildren(t);
2006
+ }
2007
+ getTextValue(t) {
2008
+ let l = this.getItem(t);
2009
+ if (!l) return "";
2010
+ if (l.textValue) return l.textValue;
2011
+ let n = this.rowHeaderColumnKeys;
2012
+ if (n) {
2013
+ let o = [];
2014
+ for (let r of l.childNodes) {
2015
+ let i = this.columns[r.index];
2016
+ if (n.has(i.key) && r.textValue && o.push(r.textValue), o.length === n.size) break;
2017
+ }
2018
+ return o.join(" ");
2019
+ }
2020
+ return "";
2021
+ }
2022
+ constructor(t, l, n) {
2023
+ let o = /* @__PURE__ */ new Set(), r = null, i = [];
2024
+ if (n?.showSelectionCheckboxes) {
2025
+ let u = {
2026
+ type: "column",
2027
+ key: ml,
2028
+ value: null,
2029
+ textValue: "",
2030
+ level: 0,
2031
+ index: n?.showDragButtons ? 1 : 0,
2032
+ hasChildNodes: !1,
2033
+ rendered: null,
2034
+ childNodes: [],
2035
+ props: {
2036
+ isSelectionCell: !0
2037
+ }
2038
+ };
2039
+ i.unshift(u);
2040
+ }
2041
+ if (n?.showDragButtons) {
2042
+ let u = {
2043
+ type: "column",
2044
+ key: Ie,
2045
+ value: null,
2046
+ textValue: "",
2047
+ level: 0,
2048
+ index: 0,
2049
+ hasChildNodes: !1,
2050
+ rendered: null,
2051
+ childNodes: [],
2052
+ props: {
2053
+ isDragButtonCell: !0
2054
+ }
2055
+ };
2056
+ i.unshift(u);
2057
+ }
2058
+ let a = [], c = /* @__PURE__ */ new Map(), d = (u) => {
2059
+ switch (u.type) {
2060
+ case "body":
2061
+ r = u;
2062
+ break;
2063
+ case "column":
2064
+ c.set(u.key, u), u.hasChildNodes || (i.push(u), u.props.isRowHeader && o.add(u.key));
2065
+ break;
2066
+ case "item":
2067
+ a.push(u);
2068
+ return;
2069
+ }
2070
+ for (let p of u.childNodes) d(p);
2071
+ };
2072
+ for (let u of t) d(u);
2073
+ let s = gl(c, i);
2074
+ if (s.forEach((u, p) => a.splice(p, 0, u)), super({
2075
+ columnCount: i.length,
2076
+ items: a,
2077
+ visitNode: (u) => (u.column = i[u.index], u)
2078
+ }), this._size = 0, this.columns = i, this.rowHeaderColumnKeys = o, this.body = r, this.headerRows = s, this._size = [
2079
+ ...r.childNodes
2080
+ ].length, this.rowHeaderColumnKeys.size === 0) {
2081
+ let u = this.columns.find((p) => {
2082
+ var f, h;
2083
+ return !(!((f = p.props) === null || f === void 0) && f.isDragButtonCell) && !(!((h = p.props) === null || h === void 0) && h.isSelectionCell);
2084
+ });
2085
+ u && this.rowHeaderColumnKeys.add(u.key);
2086
+ }
2087
+ }
2088
+ }
2089
+ const Jn = {
2090
+ ascending: "descending",
2091
+ descending: "ascending"
2092
+ };
2093
+ function _n(e) {
2094
+ let [t, l] = Q(!1), { selectionMode: n = "none", showSelectionCheckboxes: o, showDragButtons: r } = e, i = B(() => ({
2095
+ showSelectionCheckboxes: o && n !== "none",
2096
+ showDragButtons: r,
2097
+ selectionMode: n,
2098
+ columns: []
2099
+ }), [
2100
+ e.children,
2101
+ o,
2102
+ n,
2103
+ r
2104
+ ]), a = Ml(e, j((u) => new Qn(u, null, i), [
2105
+ i
2106
+ ]), i), { disabledKeys: c, selectionManager: d } = qn({
2107
+ ...e,
2108
+ collection: a,
2109
+ disabledBehavior: e.disabledBehavior || "selection"
2110
+ });
2111
+ var s;
2112
+ return {
2113
+ collection: a,
2114
+ disabledKeys: c,
2115
+ selectionManager: d,
2116
+ showSelectionCheckboxes: e.showSelectionCheckboxes || !1,
2117
+ sortDescriptor: (s = e.sortDescriptor) !== null && s !== void 0 ? s : null,
2118
+ isKeyboardNavigationDisabled: a.size === 0 || t,
2119
+ setKeyboardNavigationDisabled: l,
2120
+ sort(u, p) {
2121
+ var f, h;
2122
+ (h = e.onSortChange) === null || h === void 0 || h.call(e, {
2123
+ column: u,
2124
+ direction: p ?? (((f = e.sortDescriptor) === null || f === void 0 ? void 0 : f.column) === u ? Jn[e.sortDescriptor.direction] : "ascending")
2125
+ });
2126
+ }
2127
+ };
2128
+ }
2129
+ function eo(e, t) {
2130
+ let l = B(() => t ? e.collection.filter(t) : e.collection, [
2131
+ e.collection,
2132
+ t
2133
+ ]), n = e.selectionManager.withCollection(l);
2134
+ return {
2135
+ ...e,
2136
+ collection: l,
2137
+ selectionManager: n
2138
+ };
2139
+ }
2140
+ function to(e) {
2141
+ return e && e.__esModule ? e.default : e;
2142
+ }
2143
+ class lo extends Fl {
2144
+ addNode(t) {
2145
+ super.addNode(t), this.columnsDirty || (this.columnsDirty = t.type === "column"), t.type === "tableheader" && (this.head = t), t.type === "tablebody" && (this.body = t);
2146
+ }
2147
+ commit(t, l, n = !1) {
2148
+ this.updateColumns(n), this.rows = [];
2149
+ for (let i of this.getChildren(this.body.key)) {
2150
+ let a = i.lastChildKey;
2151
+ if (a != null) {
2152
+ let c = this.getItem(a);
2153
+ var o, r;
2154
+ let d = ((o = c.colIndex) !== null && o !== void 0 ? o : c.index) + ((r = c.colSpan) !== null && r !== void 0 ? r : 1);
2155
+ if (d !== this.columns.length && !n) throw new Error(`Cell count must match column count. Found ${d} cells and ${this.columns.length} columns.`);
2156
+ }
2157
+ this.rows.push(i);
2158
+ }
2159
+ super.commit(t, l, n);
2160
+ }
2161
+ updateColumns(t) {
2162
+ if (!this.columnsDirty) return;
2163
+ this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.columns = [];
2164
+ let l = /* @__PURE__ */ new Map(), n = (o) => {
2165
+ switch (o.type) {
2166
+ case "column":
2167
+ l.set(o.key, o), o.hasChildNodes || (o.index = this.columns.length, this.columns.push(o), o.props.isRowHeader && this.rowHeaderColumnKeys.add(o.key));
2168
+ break;
2169
+ }
2170
+ for (let r of this.getChildren(o.key)) n(r);
2171
+ };
2172
+ for (let o of this.getChildren(this.head.key)) n(o);
2173
+ if (this.headerRows = gl(l, this.columns), this.columnsDirty = !1, this.rowHeaderColumnKeys.size === 0 && this.columns.length > 0 && !t) throw new Error("A table must have at least one Column with the isRowHeader prop set to true");
2174
+ }
2175
+ get columnCount() {
2176
+ return this.columns.length;
2177
+ }
2178
+ *[Symbol.iterator]() {
2179
+ this.head.key !== -1 && (yield this.head, yield this.body);
2180
+ }
2181
+ getFirstKey() {
2182
+ return this.body.firstChildKey;
2183
+ }
2184
+ getLastKey() {
2185
+ return this.body.lastChildKey;
2186
+ }
2187
+ getKeyAfter(t) {
2188
+ let l = this.getItem(t);
2189
+ var n;
2190
+ return l?.type === "column" ? (n = l.nextKey) !== null && n !== void 0 ? n : null : super.getKeyAfter(t);
2191
+ }
2192
+ getKeyBefore(t) {
2193
+ var l;
2194
+ let n = this.getItem(t);
2195
+ var o;
2196
+ if (n?.type === "column") return (o = n.prevKey) !== null && o !== void 0 ? o : null;
2197
+ let r = super.getKeyBefore(t);
2198
+ return r != null && ((l = this.getItem(r)) === null || l === void 0 ? void 0 : l.type) === "tablebody" ? null : r;
2199
+ }
2200
+ getChildren(t) {
2201
+ if (!this.getItem(t)) {
2202
+ for (let l of this.headerRows)
2203
+ if (l.key === t) return l.childNodes;
2204
+ }
2205
+ return super.getChildren(t);
2206
+ }
2207
+ clone() {
2208
+ let t = super.clone();
2209
+ return t.headerRows = this.headerRows, t.columns = this.columns, t.rowHeaderColumnKeys = this.rowHeaderColumnKeys, t.head = this.head, t.body = this.body, t;
2210
+ }
2211
+ getTextValue(t) {
2212
+ let l = this.getItem(t);
2213
+ if (!l) return "";
2214
+ if (l.textValue) return l.textValue;
2215
+ let n = this.rowHeaderColumnKeys, o = [];
2216
+ for (let r of this.getChildren(t)) {
2217
+ let i = this.columns[r.index];
2218
+ if (n.has(i.key) && r.textValue && o.push(r.textValue), o.length === n.size) break;
2219
+ }
2220
+ return o.join(" ");
2221
+ }
2222
+ constructor(...t) {
2223
+ super(...t), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new Ge(-1), this.body = new qe(-2), this.columnsDirty = !0;
2224
+ }
2225
+ }
2226
+ const Ye = /* @__PURE__ */ de(null), no = /* @__PURE__ */ ie(function(t, l) {
2227
+ let n = ce(l), o = M(null), r = M(null), [i, a] = Q(0);
2228
+ ut(() => {
2229
+ let d = o.current;
2230
+ for (; d && d !== n.current && !Gl(d); ) d = d.parentElement;
2231
+ r.current = d;
2232
+ }, [
2233
+ n
2234
+ ]), Xl({
2235
+ ref: r,
2236
+ box: "border-box",
2237
+ onResize() {
2238
+ var d, s;
2239
+ a((s = (d = r.current) === null || d === void 0 ? void 0 : d.clientWidth) !== null && s !== void 0 ? s : 0);
2240
+ }
2241
+ }), ut(() => {
2242
+ var d, s;
2243
+ a((s = (d = r.current) === null || d === void 0 ? void 0 : d.clientWidth) !== null && s !== void 0 ? s : 0);
2244
+ }, []);
2245
+ let c = B(() => ({
2246
+ tableRef: o,
2247
+ scrollRef: r,
2248
+ tableWidth: i,
2249
+ useTableColumnResizeState: Gn,
2250
+ onResizeStart: t.onResizeStart,
2251
+ onResize: t.onResize,
2252
+ onResizeEnd: t.onResizeEnd
2253
+ }), [
2254
+ o,
2255
+ i,
2256
+ t.onResizeStart,
2257
+ t.onResize,
2258
+ t.onResizeEnd
2259
+ ]);
2260
+ return /* @__PURE__ */ S.createElement("div", {
2261
+ ..._(t, {
2262
+ global: !0
2263
+ }),
2264
+ ref: n,
2265
+ className: t.className || "react-aria-ResizableTableContainer",
2266
+ style: t.style,
2267
+ onScroll: t.onScroll
2268
+ }, /* @__PURE__ */ S.createElement(Ye.Provider, {
2269
+ value: c
2270
+ }, t.children));
2271
+ }), oo = /* @__PURE__ */ de(null), te = /* @__PURE__ */ de(null), Xe = /* @__PURE__ */ de(null), ro = /* @__PURE__ */ ie(function(t, l) {
2272
+ var n;
2273
+ [t, l] = Ct(t, l, oo);
2274
+ let o = $t(t), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = o, c = !!(!((n = t.dragAndDropHooks) === null || n === void 0) && n.useDraggableCollectionState), d = B(() => ({
2275
+ selectionBehavior: i === "none" ? null : r,
2276
+ selectionMode: i,
2277
+ disallowEmptySelection: a,
2278
+ allowsDragging: c
2279
+ }), [
2280
+ r,
2281
+ i,
2282
+ a,
2283
+ c
2284
+ ]), s = /* @__PURE__ */ S.createElement(bl.Provider, {
2285
+ value: d
2286
+ }, /* @__PURE__ */ S.createElement(Se, t));
2287
+ return /* @__PURE__ */ S.createElement(Nl, {
2288
+ content: s,
2289
+ createCollection: () => new lo()
2290
+ }, (u) => /* @__PURE__ */ S.createElement(io, {
2291
+ props: t,
2292
+ forwardedRef: l,
2293
+ selectionState: o,
2294
+ collection: u
2295
+ }));
2296
+ });
2297
+ function io({ props: e, forwardedRef: t, selectionState: l, collection: n }) {
2298
+ let o;
2299
+ [o] = Ct({}, null, it);
2300
+ let { filter: r, ...i } = o, { shouldUseVirtualFocus: a, disallowTypeAhead: c, ...d } = i || {}, s = P(Ye);
2301
+ t = ce(B(() => Hl(t, s?.tableRef), [
2302
+ t,
2303
+ s?.tableRef
2304
+ ]));
2305
+ let u = _n({
2306
+ ...e,
2307
+ collection: n,
2308
+ children: void 0,
2309
+ UNSAFE_selectionState: l
2310
+ }), p = eo(u, r), { isVirtualized: f, layoutDelegate: h, dropTargetDelegate: g, CollectionRoot: y } = P(J), { dragAndDropHooks: m } = e, { gridProps: D } = Bn({
2311
+ ...e,
2312
+ ...d,
2313
+ layoutDelegate: h,
2314
+ isVirtualized: f
2315
+ }, p, t), b = p.selectionManager, $ = !!m?.useDraggableCollectionState, v = !!m?.useDroppableCollectionState, w = M($), k = M(v);
2316
+ se(() => {
2317
+ process.env.NODE_ENV !== "production" && (w.current !== $ && console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."), k.current !== v && console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."));
2318
+ }, [
2319
+ $,
2320
+ v
2321
+ ]);
2322
+ let A, R, E, K = !1, W = null, T = M(null);
2323
+ if ($ && m) {
2324
+ A = m.useDraggableCollectionState({
2325
+ collection: p.collection,
2326
+ selectionManager: b,
2327
+ preview: m.renderDragPreview ? T : void 0
2328
+ }), m.useDraggableCollection({}, A, t);
2329
+ let N = m.DragPreview;
2330
+ W = m.renderDragPreview ? /* @__PURE__ */ S.createElement(N, {
2331
+ ref: T
2332
+ }, m.renderDragPreview) : null;
2333
+ }
2334
+ if (v && m) {
2335
+ R = m.useDroppableCollectionState({
2336
+ collection: p.collection,
2337
+ selectionManager: b
2338
+ });
2339
+ let N = new Il({
2340
+ collection: p.collection,
2341
+ disabledKeys: b.disabledKeys,
2342
+ disabledBehavior: b.disabledBehavior,
2343
+ ref: t,
2344
+ layoutDelegate: h
2345
+ }), fe = m.dropTargetDelegate || g || new m.ListDropTargetDelegate(n.rows, t);
2346
+ E = m.useDroppableCollection({
2347
+ keyboardDelegate: N,
2348
+ dropTargetDelegate: fe
2349
+ }, R, t), K = R.isDropTarget({
2350
+ type: "root"
2351
+ });
2352
+ }
2353
+ let { focusProps: I, isFocused: F, isFocusVisible: U } = ge(), L = ae({
2354
+ className: e.className,
2355
+ style: e.style,
2356
+ defaultClassName: "react-aria-Table",
2357
+ values: {
2358
+ isDropTarget: K,
2359
+ isFocused: F,
2360
+ isFocusVisible: U,
2361
+ state: p
2362
+ }
2363
+ }), le = !!($ && !A?.isDisabled), ee = L.style, X = null;
2364
+ s && (X = s.useTableColumnResizeState({
2365
+ tableWidth: s.tableWidth
2366
+ }, p), f || (ee = {
2367
+ ...ee,
2368
+ tableLayout: "fixed",
2369
+ width: "fit-content"
2370
+ }));
2371
+ let G = O("table"), x = _(e, {
2372
+ global: !0
2373
+ });
2374
+ var z;
2375
+ return /* @__PURE__ */ S.createElement(Be, {
2376
+ values: [
2377
+ [
2378
+ te,
2379
+ p
2380
+ ],
2381
+ [
2382
+ Xe,
2383
+ X
2384
+ ],
2385
+ [
2386
+ be,
2387
+ {
2388
+ dragAndDropHooks: m,
2389
+ dragState: A,
2390
+ dropState: R
2391
+ }
2392
+ ],
2393
+ [
2394
+ Ol,
2395
+ {
2396
+ render: ho
2397
+ }
2398
+ ],
2399
+ [
2400
+ it,
2401
+ null
2402
+ ],
2403
+ [
2404
+ Wl,
2405
+ null
2406
+ ]
2407
+ ]
2408
+ }, /* @__PURE__ */ S.createElement(ln, null, /* @__PURE__ */ S.createElement(G, {
2409
+ ...H(x, L, D, I, E?.collectionProps),
2410
+ style: ee,
2411
+ ref: t,
2412
+ slot: e.slot || void 0,
2413
+ onScroll: e.onScroll,
2414
+ "data-allows-dragging": le || void 0,
2415
+ "data-drop-target": K || void 0,
2416
+ "data-focused": F || void 0,
2417
+ "data-focus-visible": U || void 0
2418
+ }, /* @__PURE__ */ S.createElement(y, {
2419
+ collection: p.collection,
2420
+ scrollRef: (z = s?.scrollRef) !== null && z !== void 0 ? z : t,
2421
+ persistedKeys: Ul(b, m, R)
2422
+ }))), W);
2423
+ }
2424
+ function O(e) {
2425
+ let { isVirtualized: t } = P(J);
2426
+ return t ? "div" : e;
2427
+ }
2428
+ const bl = /* @__PURE__ */ de(null);
2429
+ function vl() {
2430
+ return P(bl);
2431
+ }
2432
+ class Ge extends Re {
2433
+ }
2434
+ Ge.type = "tableheader";
2435
+ const ao = /* @__PURE__ */ He(Ge, (e, t) => {
2436
+ let l = P(te).collection, n = Tl({
2437
+ items: l.headerRows,
2438
+ children: j((d) => {
2439
+ switch (d.type) {
2440
+ case "headerrow":
2441
+ return /* @__PURE__ */ S.createElement(uo, {
2442
+ item: d
2443
+ });
2444
+ default:
2445
+ throw new Error("Unsupported node type in TableHeader: " + d.type);
2446
+ }
2447
+ }, [])
2448
+ }), o = O("thead"), { rowGroupProps: r } = fl(), { hoverProps: i, isHovered: a } = ke({
2449
+ onHoverStart: e.onHoverStart,
2450
+ onHoverChange: e.onHoverChange,
2451
+ onHoverEnd: e.onHoverEnd
2452
+ }), c = ae({
2453
+ className: e.className,
2454
+ style: e.style,
2455
+ defaultClassName: "react-aria-TableHeader",
2456
+ values: {
2457
+ isHovered: a
2458
+ }
2459
+ });
2460
+ return /* @__PURE__ */ S.createElement(o, {
2461
+ ...H(_(e, {
2462
+ global: !0
2463
+ }), r, i),
2464
+ ...c,
2465
+ ref: t,
2466
+ "data-hovered": a || void 0
2467
+ }, n);
2468
+ }, (e) => /* @__PURE__ */ S.createElement(Se, {
2469
+ dependencies: e.dependencies,
2470
+ items: e.columns
2471
+ }, e.children));
2472
+ function uo({ item: e }) {
2473
+ let t = M(null), l = P(te), { isVirtualized: n, CollectionBranch: o } = P(J), { rowProps: r } = Tn({
2474
+ node: e,
2475
+ isVirtualized: n
2476
+ }, l, t), { checkboxProps: i } = Vn(l), a = O("tr");
2477
+ return /* @__PURE__ */ S.createElement(a, {
2478
+ ...r,
2479
+ ref: t
2480
+ }, /* @__PURE__ */ S.createElement(Be, {
2481
+ values: [
2482
+ [
2483
+ vt,
2484
+ {
2485
+ slots: {
2486
+ selection: i
2487
+ }
2488
+ }
2489
+ ]
2490
+ ]
2491
+ }, /* @__PURE__ */ S.createElement(o, {
2492
+ collection: l.collection,
2493
+ parent: e
2494
+ })));
2495
+ }
2496
+ class yl extends Re {
2497
+ }
2498
+ yl.type = "column";
2499
+ const so = /* @__PURE__ */ xt(yl, (e, t, l) => {
2500
+ var n, o;
2501
+ let r = ce(t), i = P(te), { isVirtualized: a } = P(J), { columnHeaderProps: c } = Mn({
2502
+ node: l,
2503
+ isVirtualized: a
2504
+ }, i, r), { isFocused: d, isFocusVisible: s, focusProps: u } = ge(), p = P(Xe), f = !1;
2505
+ if (p) f = p.resizingColumn === l.key;
2506
+ else if (process.env.NODE_ENV !== "production")
2507
+ for (let $ in [
2508
+ "width",
2509
+ "defaultWidth",
2510
+ "minWidth",
2511
+ "maxWidth"
2512
+ ]) $ in l.props && console.warn(`The ${$} prop on a <Column> only applies when a <Table> is wrapped in a <ResizableTableContainer>. If you aren't using column resizing, you can set the width of a column with CSS.`);
2513
+ let { hoverProps: h, isHovered: g } = ke({
2514
+ isDisabled: !e.allowsSorting
2515
+ }), y = ae({
2516
+ ...e,
2517
+ id: void 0,
2518
+ children: l.rendered,
2519
+ defaultClassName: "react-aria-Column",
2520
+ values: {
2521
+ isHovered: g,
2522
+ isFocused: d,
2523
+ isFocusVisible: s,
2524
+ allowsSorting: l.props.allowsSorting,
2525
+ sortDirection: ((n = i.sortDescriptor) === null || n === void 0 ? void 0 : n.column) === l.key ? i.sortDescriptor.direction : void 0,
2526
+ isResizing: f,
2527
+ startResize: () => {
2528
+ if (p)
2529
+ p.startResize(l.key), i.setKeyboardNavigationDisabled(!0);
2530
+ else throw new Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");
2531
+ },
2532
+ sort: ($) => {
2533
+ i.sort(l.key, $);
2534
+ }
2535
+ }
2536
+ }), m = y.style;
2537
+ p && (m = {
2538
+ ...m,
2539
+ width: p.getColumnWidth(l.key)
2540
+ });
2541
+ let D = O("th"), b = _(e, {
2542
+ global: !0
2543
+ });
2544
+ return delete b.id, /* @__PURE__ */ S.createElement(D, {
2545
+ ...H(b, c, u, h),
2546
+ ...y,
2547
+ style: m,
2548
+ ref: r,
2549
+ "data-hovered": g || void 0,
2550
+ "data-focused": d || void 0,
2551
+ "data-focus-visible": s || void 0,
2552
+ "data-resizing": f || void 0,
2553
+ "data-allows-sorting": l.props.allowsSorting || void 0,
2554
+ "data-sort-direction": ((o = i.sortDescriptor) === null || o === void 0 ? void 0 : o.column) === l.key ? i.sortDescriptor.direction : void 0
2555
+ }, /* @__PURE__ */ S.createElement(Be, {
2556
+ values: [
2557
+ [
2558
+ $l,
2559
+ {
2560
+ column: l,
2561
+ triggerRef: r
2562
+ }
2563
+ ],
2564
+ [
2565
+ J,
2566
+ Dt
2567
+ ]
2568
+ ]
2569
+ }, y.children));
2570
+ }), $l = /* @__PURE__ */ de(null), co = /* @__PURE__ */ ie(function(t, l) {
2571
+ let n = P(Xe);
2572
+ if (!n) throw new Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");
2573
+ let o = ye(to(Ll), "react-aria-components"), { onResizeStart: r, onResize: i, onResizeEnd: a } = P(Ye), { column: c, triggerRef: d } = P($l), s = M(null), { resizerProps: u, inputProps: p, isResizing: f } = jn({
2574
+ column: c,
2575
+ "aria-label": t["aria-label"] || o.format("tableResizer"),
2576
+ onResizeStart: r,
2577
+ onResize: i,
2578
+ onResizeEnd: a,
2579
+ triggerRef: d
2580
+ }, n, s), { focusProps: h, isFocused: g, isFocusVisible: y } = ge(), { hoverProps: m, isHovered: D } = ke(t), b = n.getColumnMinWidth(c.key) >= n.getColumnWidth(c.key), $ = n.getColumnMaxWidth(c.key) <= n.getColumnWidth(c.key), { direction: v } = ve(), w = "both";
2581
+ b ? w = v === "rtl" ? "right" : "left" : $ ? w = v === "rtl" ? "left" : "right" : w = "both";
2582
+ let k = ce(l), [A, R] = Q("");
2583
+ se(() => {
2584
+ if (!k.current) return;
2585
+ let F = window.getComputedStyle(k.current);
2586
+ R(F.cursor);
2587
+ }, [
2588
+ k,
2589
+ w
2590
+ ]);
2591
+ let E = ae({
2592
+ ...t,
2593
+ defaultClassName: "react-aria-ColumnResizer",
2594
+ values: {
2595
+ isFocused: g,
2596
+ isFocusVisible: y,
2597
+ isResizing: f,
2598
+ isHovered: D,
2599
+ resizableDirection: w
2600
+ }
2601
+ }), [K, W] = Q(!1), T = (F) => {
2602
+ F.pointerType === "mouse" && W(!0);
2603
+ };
2604
+ !f && K && W(!1);
2605
+ let I = _(t, {
2606
+ global: !0
2607
+ });
2608
+ return /* @__PURE__ */ S.createElement("div", {
2609
+ ref: k,
2610
+ role: "presentation",
2611
+ ...H(I, E, u, {
2612
+ onPointerDown: T
2613
+ }, m),
2614
+ "data-hovered": D || void 0,
2615
+ "data-focused": g || void 0,
2616
+ "data-focus-visible": y || void 0,
2617
+ "data-resizing": f || void 0,
2618
+ "data-resizable-direction": w
2619
+ }, E.children, /* @__PURE__ */ S.createElement("input", {
2620
+ ref: s,
2621
+ ...H(p, h)
2622
+ }), f && K && /* @__PURE__ */ ql.createPortal(/* @__PURE__ */ S.createElement("div", {
2623
+ style: {
2624
+ position: "fixed",
2625
+ top: 0,
2626
+ left: 0,
2627
+ bottom: 0,
2628
+ right: 0,
2629
+ cursor: A
2630
+ }
2631
+ }), document.body));
2632
+ });
2633
+ class qe extends Vl {
2634
+ }
2635
+ qe.type = "tablebody";
2636
+ const fo = /* @__PURE__ */ He(qe, (e, t) => {
2637
+ let l = P(te), { isVirtualized: n } = P(J), o = l.collection, { CollectionBranch: r } = P(J), { dragAndDropHooks: i, dropState: a } = P(be), c = !!i?.useDroppableCollectionState && !a?.isDisabled;
2638
+ var d;
2639
+ let s = c && !!a && ((d = a.isDropTarget({
2640
+ type: "root"
2641
+ })) !== null && d !== void 0 ? d : !1), u = o.size === 0, p = {
2642
+ isDropTarget: s,
2643
+ isEmpty: u
2644
+ }, f = ae({
2645
+ ...e,
2646
+ id: void 0,
2647
+ children: void 0,
2648
+ defaultClassName: "react-aria-TableBody",
2649
+ values: p
2650
+ }), h, g = O("tr"), y = O("td"), m = o.columnCount;
2651
+ if (u && e.renderEmptyState && l) {
2652
+ let v = {}, w = {}, k = {};
2653
+ n ? (w["aria-colspan"] = m, k = {
2654
+ display: "contents"
2655
+ }) : w.colSpan = m, h = /* @__PURE__ */ S.createElement(g, {
2656
+ role: "row",
2657
+ ...v,
2658
+ style: k
2659
+ }, /* @__PURE__ */ S.createElement(y, {
2660
+ role: "rowheader",
2661
+ ...w,
2662
+ style: k
2663
+ }, e.renderEmptyState(p)));
2664
+ }
2665
+ let { rowGroupProps: D } = fl(), b = O("tbody"), $ = _(e, {
2666
+ global: !0
2667
+ });
2668
+ return /* @__PURE__ */ S.createElement(b, {
2669
+ ...H($, f, D),
2670
+ ref: t,
2671
+ "data-empty": u || void 0
2672
+ }, c && /* @__PURE__ */ S.createElement(bo, null), /* @__PURE__ */ S.createElement(r, {
2673
+ collection: o,
2674
+ parent: o.body,
2675
+ renderDropIndicator: jl(i, a)
2676
+ }), h);
2677
+ });
2678
+ class xl extends Re {
2679
+ filter(t, l, n) {
2680
+ let o = t.getChildren(this.key);
2681
+ for (let r of o) if (n(r.textValue, r)) {
2682
+ let i = this.clone();
2683
+ return l.addDescendants(i, t), i;
2684
+ }
2685
+ return null;
2686
+ }
2687
+ }
2688
+ xl.type = "item";
2689
+ const ht = /* @__PURE__ */ He(xl, (e, t, l) => {
2690
+ let n = ce(t), o = P(te), { dragAndDropHooks: r, dragState: i, dropState: a } = P(be), { isVirtualized: c, CollectionBranch: d } = P(J), { rowProps: s, ...u } = Nn({
2691
+ node: l,
2692
+ shouldSelectOnPressUp: !!i,
2693
+ isVirtualized: c
2694
+ }, o, n), { isFocused: p, isFocusVisible: f, focusProps: h } = ge(), { isFocusVisible: g, focusProps: y } = ge({
2695
+ within: !0
2696
+ }), { hoverProps: m, isHovered: D } = ke({
2697
+ isDisabled: !u.allowsSelection && !u.hasAction,
2698
+ onHoverStart: e.onHoverStart,
2699
+ onHoverChange: e.onHoverChange,
2700
+ onHoverEnd: e.onHoverEnd
2701
+ }), { checkboxProps: b } = Wn({
2702
+ key: l.key
2703
+ }, o), $;
2704
+ i && r && ($ = r.useDraggableItem({
2705
+ key: l.key,
2706
+ hasDragButton: !0
2707
+ }, i));
2708
+ let v, w = M(null), { visuallyHiddenProps: k } = Me();
2709
+ a && r && (v = r.useDropIndicator({
2710
+ target: {
2711
+ type: "item",
2712
+ key: l.key,
2713
+ dropPosition: "on"
2714
+ }
2715
+ }, a, w));
2716
+ let A = M(null);
2717
+ se(() => {
2718
+ i && !A.current && process.env.NODE_ENV !== "production" && console.warn('Draggable items in a Table must contain a <Button slot="drag"> element so that keyboard and screen reader users can drag them.');
2719
+ }, []);
2720
+ let R = i && i.isDragging(l.key), { children: E, ...K } = e, W = ae({
2721
+ ...K,
2722
+ id: void 0,
2723
+ defaultClassName: "react-aria-Row",
2724
+ values: {
2725
+ ...u,
2726
+ isHovered: D,
2727
+ isFocused: p,
2728
+ isFocusVisible: f,
2729
+ selectionMode: o.selectionManager.selectionMode,
2730
+ selectionBehavior: o.selectionManager.selectionBehavior,
2731
+ isDragging: R,
2732
+ isDropTarget: v?.isDropTarget,
2733
+ isFocusVisibleWithin: g,
2734
+ id: l.key
2735
+ }
2736
+ }), T = O("tr"), I = O("td"), F = _(e, {
2737
+ global: !0
2738
+ });
2739
+ return delete F.id, delete F.onClick, /* @__PURE__ */ S.createElement(S.Fragment, null, v && !v.isHidden && /* @__PURE__ */ S.createElement(T, {
2740
+ role: "row",
2741
+ style: {
2742
+ height: 0
2743
+ }
2744
+ }, /* @__PURE__ */ S.createElement(I, {
2745
+ role: "gridcell",
2746
+ colSpan: o.collection.columnCount,
2747
+ style: {
2748
+ padding: 0
2749
+ }
2750
+ }, /* @__PURE__ */ S.createElement("div", {
2751
+ role: "button",
2752
+ ...k,
2753
+ ...v.dropIndicatorProps,
2754
+ ref: w
2755
+ }))), /* @__PURE__ */ S.createElement(T, {
2756
+ ...H(F, W, s, h, m, $?.dragProps, y),
2757
+ ref: n,
2758
+ "data-disabled": u.isDisabled || void 0,
2759
+ "data-selected": u.isSelected || void 0,
2760
+ "data-hovered": D || void 0,
2761
+ "data-focused": u.isFocused || void 0,
2762
+ "data-focus-visible": f || void 0,
2763
+ "data-pressed": u.isPressed || void 0,
2764
+ "data-dragging": R || void 0,
2765
+ "data-drop-target": v?.isDropTarget || void 0,
2766
+ "data-selection-mode": o.selectionManager.selectionMode === "none" ? void 0 : o.selectionManager.selectionMode,
2767
+ "data-focus-visible-within": g || void 0
2768
+ }, /* @__PURE__ */ S.createElement(Be, {
2769
+ values: [
2770
+ [
2771
+ vt,
2772
+ {
2773
+ slots: {
2774
+ [at]: {},
2775
+ selection: b
2776
+ }
2777
+ }
2778
+ ],
2779
+ [
2780
+ bt,
2781
+ {
2782
+ slots: {
2783
+ [at]: {},
2784
+ drag: {
2785
+ ...$?.dragButtonProps,
2786
+ ref: A,
2787
+ style: {
2788
+ pointerEvents: "none"
2789
+ }
2790
+ }
2791
+ }
2792
+ }
2793
+ ]
2794
+ ]
2795
+ }, /* @__PURE__ */ S.createElement(d, {
2796
+ collection: o.collection,
2797
+ parent: l
2798
+ }))));
2799
+ }, (e) => {
2800
+ if (e.id == null && typeof e.children == "function") throw new Error("No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.");
2801
+ let t = [
2802
+ e.value
2803
+ ].concat(e.dependencies);
2804
+ return /* @__PURE__ */ S.createElement(Se, {
2805
+ dependencies: t,
2806
+ items: e.columns,
2807
+ idScope: e.id
2808
+ }, e.children);
2809
+ });
2810
+ class Dl extends Re {
2811
+ }
2812
+ Dl.type = "cell";
2813
+ const po = /* @__PURE__ */ xt(Dl, (e, t, l) => {
2814
+ let n = ce(t), o = P(te), { dragState: r } = P(be), { isVirtualized: i } = P(J);
2815
+ l.column = o.collection.columns[l.index];
2816
+ let { gridCellProps: a, isPressed: c } = Fn({
2817
+ node: l,
2818
+ shouldSelectOnPressUp: !!r,
2819
+ isVirtualized: i
2820
+ }, o, n), { isFocused: d, isFocusVisible: s, focusProps: u } = ge(), { hoverProps: p, isHovered: f } = ke({}), h = ae({
2821
+ ...e,
2822
+ id: void 0,
2823
+ defaultClassName: "react-aria-Cell",
2824
+ values: {
2825
+ isFocused: d,
2826
+ isFocusVisible: s,
2827
+ isPressed: c,
2828
+ isHovered: f,
2829
+ id: l.key
2830
+ }
2831
+ }), g = O("td"), y = _(e, {
2832
+ global: !0
2833
+ });
2834
+ return delete y.id, /* @__PURE__ */ S.createElement(g, {
2835
+ ...H(y, h, a, u, p),
2836
+ ref: n,
2837
+ "data-focused": d || void 0,
2838
+ "data-focus-visible": s || void 0,
2839
+ "data-pressed": c || void 0
2840
+ }, /* @__PURE__ */ S.createElement(J.Provider, {
2841
+ value: Dt
2842
+ }, h.children));
2843
+ });
2844
+ function ho(e, t) {
2845
+ t = ce(t);
2846
+ let { dragAndDropHooks: l, dropState: n } = P(be), o = M(null), { dropIndicatorProps: r, isHidden: i, isDropTarget: a } = l.useDropIndicator(e, n, o);
2847
+ return i ? null : /* @__PURE__ */ S.createElement(go, {
2848
+ ...e,
2849
+ dropIndicatorProps: r,
2850
+ isDropTarget: a,
2851
+ buttonRef: o,
2852
+ ref: t
2853
+ });
2854
+ }
2855
+ function mo(e, t) {
2856
+ let { dropIndicatorProps: l, isDropTarget: n, buttonRef: o, ...r } = e, i = P(te), { visuallyHiddenProps: a } = Me(), c = ae({
2857
+ ...r,
2858
+ defaultClassName: "react-aria-DropIndicator",
2859
+ values: {
2860
+ isDropTarget: n
2861
+ }
2862
+ }), d = O("tr"), s = O("td");
2863
+ return /* @__PURE__ */ S.createElement(d, {
2864
+ ..._(e, {
2865
+ global: !0
2866
+ }),
2867
+ ...c,
2868
+ role: "row",
2869
+ ref: t,
2870
+ "data-drop-target": n || void 0
2871
+ }, /* @__PURE__ */ S.createElement(s, {
2872
+ role: "gridcell",
2873
+ colSpan: i.collection.columnCount,
2874
+ style: {
2875
+ padding: 0
2876
+ }
2877
+ }, /* @__PURE__ */ S.createElement("div", {
2878
+ ...a,
2879
+ role: "button",
2880
+ ...l,
2881
+ ref: o
2882
+ }), c.children));
2883
+ }
2884
+ const go = /* @__PURE__ */ ie(mo);
2885
+ function bo() {
2886
+ let e = P(te), { dragAndDropHooks: t, dropState: l } = P(be), n = M(null), { dropIndicatorProps: o } = t.useDropIndicator({
2887
+ target: {
2888
+ type: "root"
2889
+ }
2890
+ }, l, n), r = l.isDropTarget({
2891
+ type: "root"
2892
+ }), { visuallyHiddenProps: i } = Me(), a = O("tr"), c = O("td");
2893
+ return !r && o["aria-hidden"] ? null : /* @__PURE__ */ S.createElement(a, {
2894
+ role: "row",
2895
+ "aria-hidden": o["aria-hidden"],
2896
+ style: {
2897
+ height: 0
2898
+ }
2899
+ }, /* @__PURE__ */ S.createElement(c, {
2900
+ role: "gridcell",
2901
+ colSpan: e.collection.columnCount,
2902
+ style: {
2903
+ padding: 0
2904
+ }
2905
+ }, /* @__PURE__ */ S.createElement("div", {
2906
+ role: "button",
2907
+ ...i,
2908
+ ...o,
2909
+ ref: n
2910
+ })));
2911
+ }
2912
+ const { withProvider: vo, withContext: Y } = /* @__PURE__ */ fn({
2913
+ recipe: hn
2914
+ }), yo = /* @__PURE__ */ vo(
2915
+ "div",
2916
+ "root"
2917
+ ), $o = /* @__PURE__ */ Y("table", "table"), xo = /* @__PURE__ */ Y("tr", "header"), Do = /* @__PURE__ */ Y("th", "column"), Co = /* @__PURE__ */ Y("tbody", "body"), mt = /* @__PURE__ */ Y("tr", "row"), wo = /* @__PURE__ */ Y("td", "cell"), So = /* @__PURE__ */ Y("footer", "footer"), ko = /* @__PURE__ */ Y("td", "selectionCell"), Cl = /* @__PURE__ */ Y("button", "expandButton"), Eo = /* @__PURE__ */ Y("span", "nestedIcon"), zo = /* @__PURE__ */ Y("span", "headerSortIcon"), Ao = /* @__PURE__ */ Y("div", "columnResizer"), Ne = /* @__PURE__ */ de(null);
2918
+ Ne.displayName = "DataTableContext";
2919
+ const xe = () => {
2920
+ const e = P(
2921
+ Ne
2922
+ );
2923
+ if (!e)
2924
+ throw new Error("DataTable components must be used within DataTable.Root");
2925
+ return e;
2926
+ };
2927
+ var We = (e, t) => {
2928
+ const l = [], n = (o, r, i) => {
2929
+ r - o > 0 && l.push({ start: o, end: r, match: i });
2930
+ };
2931
+ if (e.length === 0)
2932
+ n(0, t, !1);
2933
+ else {
2934
+ let o = 0;
2935
+ for (const r of e)
2936
+ n(o, r.start, !1), n(r.start, r.end, !0), o = r.end;
2937
+ n(o, t, !1);
2938
+ }
2939
+ return l;
2940
+ }, wl = (e) => e.replace(/[|\\{}()[\]^$+*?.-]/g, (t) => `\\${t}`);
2941
+ function Po(e) {
2942
+ const { text: t, query: l, ignoreCase: n, exactMatch: o } = e;
2943
+ if (o) {
2944
+ const s = wl(l), u = new RegExp(`\\b(${s})\\b`, n ? "i" : ""), p = t.match(u);
2945
+ if (!p || p.index === void 0)
2946
+ return [{ text: t, match: !1 }];
2947
+ const f = p.index, h = f + p[0].length;
2948
+ return We([{ start: f, end: h }], t.length).map((y) => ({
2949
+ text: t.slice(y.start, y.end),
2950
+ match: !!y.match
2951
+ }));
2952
+ }
2953
+ const r = n ? t.toLowerCase() : t, i = n && typeof l == "string" ? l.toLowerCase() : l, a = typeof r == "string" ? r.indexOf(i) : -1;
2954
+ if (a === -1)
2955
+ return [{ text: t, match: !1 }];
2956
+ const c = a + i.length;
2957
+ return We([{ start: a, end: c }], t.length).map((s) => ({
2958
+ text: t.slice(s.start, s.end),
2959
+ match: !!s.match
2960
+ }));
2961
+ }
2962
+ var Ro = (e, t, l) => {
2963
+ const n = e.filter(Boolean).map((r) => wl(r)), o = l ? `\\b(${n.join("|")})\\b` : `(${n.join("|")})`;
2964
+ return new RegExp(o, t);
2965
+ }, Bo = (e, t = !0) => `${e ? "i" : ""}${t ? "g" : ""}`;
2966
+ function Ko(e) {
2967
+ const { text: t, query: l, ignoreCase: n, matchAll: o, exactMatch: r } = e;
2968
+ if (l.length === 0)
2969
+ return [{ text: t, match: !1 }];
2970
+ const i = Bo(n, o), a = Ro(Array.isArray(l) ? l : [l], i, r), c = [...t.matchAll(a)].map((d) => ({
2971
+ start: d.index || 0,
2972
+ end: (d.index || 0) + d[0].length
2973
+ }));
2974
+ return We(c, e.text.length).map((d) => ({
2975
+ text: e.text.slice(d.start, d.end),
2976
+ match: !!d.match
2977
+ }));
2978
+ }
2979
+ var Mo = (e) => {
2980
+ if (e.matchAll == null && (e.matchAll = Array.isArray(e.query)), !e.matchAll && Array.isArray(e.query))
2981
+ throw new Error("matchAll must be true when using multiple queries");
2982
+ return e.matchAll ? Ko(e) : Po(e);
2983
+ };
2984
+ const No = (e) => B(() => Mo(e), [e]), { withContext: To } = /* @__PURE__ */ $n({
2985
+ key: "mark"
2986
+ }), Fo = /* @__PURE__ */ To("mark");
2987
+ function Io(e) {
2988
+ const { each: t, fallback: l, children: n } = e;
2989
+ return t?.length === 0 ? l || null : t?.map(n);
2990
+ }
2991
+ function Wo(e) {
2992
+ const { children: t, query: l, ignoreCase: n, matchAll: o, styles: r } = e;
2993
+ if (typeof t != "string")
2994
+ throw new Error("The children prop of Highlight must be a string");
2995
+ const i = No({
2996
+ query: l,
2997
+ text: t,
2998
+ matchAll: o,
2999
+ ignoreCase: n
3000
+ });
3001
+ return /* @__PURE__ */ C(Io, { each: i, children: (a, c) => a.match ? /* @__PURE__ */ C(Fo, { css: r, children: a.text }, c) : /* @__PURE__ */ C(Pl, { children: a.text }, c) });
3002
+ }
3003
+ const me = ({
3004
+ ref: e,
3005
+ children: t,
3006
+ isDisabled: l,
3007
+ ...n
3008
+ }) => {
3009
+ const [o, r] = $e(n);
3010
+ return /* @__PURE__ */ C(wo, { asChild: !0, ...o, children: /* @__PURE__ */ C(po, { ref: e, ...r, children: (i) => /* @__PURE__ */ C(bt.Provider, { value: { isDisabled: l }, children: typeof t == "function" ? t(i) : t }) }) });
3011
+ };
3012
+ function Ve(e) {
3013
+ return e.target?.closest(
3014
+ 'button, input, [role="button"], [role="checkbox"], [slot="selection"], [data-slot="selection"]'
3015
+ );
3016
+ }
3017
+ function Vo(e) {
3018
+ return e.target?.closest(
3019
+ '[slot="selection"], [data-slot="selection"], [role="checkbox"]'
3020
+ );
3021
+ }
3022
+ function gt(e) {
3023
+ const t = Ve(e), l = Vo(e);
3024
+ (!t || t && !l) && e.stopPropagation();
3025
+ }
3026
+ const Ze = ({
3027
+ row: e,
3028
+ ref: t,
3029
+ ...l
3030
+ }) => {
3031
+ const {
3032
+ activeColumns: n,
3033
+ search: o,
3034
+ expanded: r,
3035
+ toggleExpand: i,
3036
+ nestedKey: a,
3037
+ disabledKeys: c,
3038
+ showExpandColumn: d,
3039
+ showSelectionColumn: s,
3040
+ isTruncated: u,
3041
+ onRowClick: p,
3042
+ onRowAction: f,
3043
+ pinnedRows: h,
3044
+ togglePin: g,
3045
+ sortedRows: y
3046
+ } = xe(), [m, D] = $e(l), $ = ((x) => c ? c === "all" || e.isDisabled ? !0 : c.has(x) : !1)(e.id), v = M(null), w = j(
3047
+ (x) => {
3048
+ if (!p) return;
3049
+ const z = Ve(x), N = window.getSelection()?.toString() !== void 0 && window.getSelection().toString().length > 0;
3050
+ !z && !N && (v.current && window.clearTimeout(v.current), v.current = window.setTimeout(() => {
3051
+ $ ? f && f(e, "click") : p(e), v.current = null;
3052
+ }, 300));
3053
+ },
3054
+ [p, f, e, $]
3055
+ ), k = j((x) => {
3056
+ Ve(x) || v.current && (window.clearTimeout(v.current), v.current = null);
3057
+ }, []), A = M({
3058
+ count: 0,
3059
+ node: void 0
3060
+ }), R = j(
3061
+ (x) => {
3062
+ A.current.count += 1, A.current.count === 1 && x && (A.current.node = x, x.addEventListener(
3063
+ // Use pointerdown event in order to capture event before it bubbles to react-aria's onPress handler
3064
+ "pointerdown",
3065
+ gt,
3066
+ {
3067
+ capture: !0
3068
+ }
3069
+ ), x.addEventListener("mouseup", w, { capture: !0 }), x.addEventListener("dblclick", k, {
3070
+ capture: !0
3071
+ }));
3072
+ },
3073
+ [w, k]
3074
+ );
3075
+ se(() => () => {
3076
+ v.current && (window.clearTimeout(v.current), v.current = null), A.current.count >= 1 && A.current.node && (A.current.node.removeEventListener(
3077
+ "pointerdown",
3078
+ gt
3079
+ ), A.current.node.removeEventListener("mouseup", w), A.current.node.removeEventListener(
3080
+ "dblclick",
3081
+ k
3082
+ ));
3083
+ }, [w, k]);
3084
+ const E = pn(t, R), { selectionBehavior: K } = vl(), W = a && e[a] && (Array.isArray(e[a]) ? e[a].length > 0 : !0), T = r[e.id], I = h.has(e.id), F = y.filter((x) => h.has(x.id)).map((x) => x.id), U = I ? F.indexOf(e.id) : -1, L = U === 0, le = U === F.length - 1, ee = F.length === 1 && I, X = () => I ? ee ? "data-table-row-pinned-single" : L ? "data-table-row-pinned-first" : le ? "data-table-row-pinned-last" : "" : "", G = (x) => o && typeof x == "string" ? /* @__PURE__ */ C(Wo, { query: o, ignoreCase: !0, matchAll: !0, children: x }) : x;
3085
+ return /* @__PURE__ */ re(Al, { children: [
3086
+ /* @__PURE__ */ C(mt, { asChild: !0, ...m, children: /* @__PURE__ */ re(
3087
+ ht,
3088
+ {
3089
+ isDisabled: $,
3090
+ columns: n,
3091
+ ref: E,
3092
+ id: e.id,
3093
+ className: `data-table-row ${$ ? "data-table-row-disabled" : ""} ${I ? `data-table-row-pinned ${X()}` : ""}`,
3094
+ ...D,
3095
+ dependencies: [T, o, u],
3096
+ children: [
3097
+ K === "toggle" && /* @__PURE__ */ C(me, { "data-slot": "selection", isDisabled: $, children: /* @__PURE__ */ C(
3098
+ we,
3099
+ {
3100
+ display: "flex",
3101
+ alignItems: "center",
3102
+ justifyContent: "center",
3103
+ w: "100%",
3104
+ h: "100%",
3105
+ children: /* @__PURE__ */ C(
3106
+ kt,
3107
+ {
3108
+ name: "select-row",
3109
+ slot: "selection",
3110
+ "aria-label": "select row"
3111
+ }
3112
+ )
3113
+ }
3114
+ ) }),
3115
+ d && /* @__PURE__ */ C(me, { "data-slot": "expand", isDisabled: $, children: W ? /* @__PURE__ */ C(
3116
+ Cl,
3117
+ {
3118
+ w: "100%",
3119
+ h: "100%",
3120
+ cursor: "pointer",
3121
+ "aria-label": T ? "Collapse" : "Expand",
3122
+ onClick: (x) => {
3123
+ x.stopPropagation(), i(e.id);
3124
+ },
3125
+ children: T ? /* @__PURE__ */ C(gn, {}) : /* @__PURE__ */ C(bn, {})
3126
+ }
3127
+ ) : null }),
3128
+ /* @__PURE__ */ C(Se, { items: n, children: (x) => {
3129
+ const z = x.accessor(e);
3130
+ return /* @__PURE__ */ C(me, { isDisabled: $, children: /* @__PURE__ */ C(
3131
+ we,
3132
+ {
3133
+ className: u ? "truncated-cell" : "",
3134
+ display: "inline-block",
3135
+ h: "100%",
3136
+ minW: "0",
3137
+ maxW: "100%",
3138
+ position: "relative",
3139
+ overflow: "hidden",
3140
+ cursor: $ ? "not-allowed" : "text",
3141
+ children: x.render ? x.render({
3142
+ value: G(z),
3143
+ row: e,
3144
+ column: x
3145
+ }) : G(z)
3146
+ }
3147
+ ) }, x.id);
3148
+ } }),
3149
+ /* @__PURE__ */ C(me, { "data-slot": "pin-row-cell", isDisabled: $, children: /* @__PURE__ */ C(
3150
+ we,
3151
+ {
3152
+ display: "flex",
3153
+ alignItems: "center",
3154
+ justifyContent: "center",
3155
+ w: "100%",
3156
+ h: "100%",
3157
+ children: /* @__PURE__ */ re(ft.Root, { children: [
3158
+ /* @__PURE__ */ C(
3159
+ mn,
3160
+ {
3161
+ size: "2xs",
3162
+ variant: "ghost",
3163
+ "aria-label": I ? "Unpin row" : "Pin row",
3164
+ colorPalette: "primary",
3165
+ className: `nimbus-table-cell-pin-button ${I ? "nimbus-table-cell-pin-button-pinned" : ""}`,
3166
+ onClick: (x) => {
3167
+ x.stopPropagation(), g(e.id);
3168
+ },
3169
+ children: /* @__PURE__ */ C(vn, {})
3170
+ },
3171
+ "pin-btn"
3172
+ ),
3173
+ /* @__PURE__ */ C(ft.Content, { placement: "top", children: I ? "Unpin row" : "Pin row" })
3174
+ ] })
3175
+ }
3176
+ ) })
3177
+ ]
3178
+ }
3179
+ ) }),
3180
+ d && /* @__PURE__ */ C(mt, { ...m, asChild: !0, children: /* @__PURE__ */ C(
3181
+ ht,
3182
+ {
3183
+ "data-nested-row-expanded": T ? "true" : "false",
3184
+ dependencies: [T],
3185
+ children: /* @__PURE__ */ C(
3186
+ me,
3187
+ {
3188
+ isDisabled: $,
3189
+ colSpan: n.length + (d ? 1 : 0) + (s ? 1 : 0) + 1,
3190
+ "data-nested-cell": !0,
3191
+ children: T ? a && Array.isArray(e[a]) ? `${e[a].length} nested items` : a && e[a] : null
3192
+ }
3193
+ )
3194
+ }
3195
+ ) })
3196
+ ] });
3197
+ };
3198
+ Ze.displayName = "DataTable.Row";
3199
+ const Ho = () => /* @__PURE__ */ C(we, { w: "100%", p: "200", children: "No Data" }), Qe = ({
3200
+ ref: e,
3201
+ ...t
3202
+ }) => {
3203
+ const { sortedRows: l, activeColumns: n, renderEmptyState: o } = xe(), [r, i] = $e(t);
3204
+ return /* @__PURE__ */ C(Co, { asChild: !0, ...r, children: /* @__PURE__ */ C(
3205
+ fo,
3206
+ {
3207
+ ref: e,
3208
+ items: l,
3209
+ dependencies: [n],
3210
+ renderEmptyState: o ?? Ho,
3211
+ ...i,
3212
+ children: (a) => /* @__PURE__ */ C(Ze, { row: a }, a.id)
3213
+ }
3214
+ ) });
3215
+ };
3216
+ Qe.displayName = "DataTable.Body";
3217
+ const De = ({
3218
+ children: e,
3219
+ ref: t,
3220
+ column: l,
3221
+ isInternalColumn: n,
3222
+ width: o,
3223
+ minWidth: r,
3224
+ maxWidth: i,
3225
+ ...a
3226
+ }) => {
3227
+ const { sortDescriptor: c, isResizable: d } = xe(), s = c?.column === l?.id, u = l?.isResizable !== void 0 ? l?.isResizable : d, [p, f] = $e(a);
3228
+ return /* @__PURE__ */ C(Do, { ...p, asChild: !0, children: /* @__PURE__ */ C(
3229
+ so,
3230
+ {
3231
+ width: o,
3232
+ minWidth: r,
3233
+ maxWidth: i,
3234
+ ref: t,
3235
+ ...f,
3236
+ children: (h) => {
3237
+ const { allowsSorting: g } = h;
3238
+ return n ? typeof e == "function" ? e(h) : e : /* @__PURE__ */ re(
3239
+ Dn,
3240
+ {
3241
+ tabIndex: u || g ? -1 : 0,
3242
+ className: "nimbus-data-table__column-container",
3243
+ children: [
3244
+ /* @__PURE__ */ C(
3245
+ xn,
3246
+ {
3247
+ orientation: "vertical",
3248
+ className: "data-table-column-divider"
3249
+ }
3250
+ ),
3251
+ typeof e == "function" ? e(h) : e,
3252
+ g && /* @__PURE__ */ C(
3253
+ zo,
3254
+ {
3255
+ "aria-hidden": "true",
3256
+ "data-sort-active": s,
3257
+ "data-sort-direction": s ? c?.direction : "none",
3258
+ children: /* @__PURE__ */ C(yn, {})
3259
+ }
3260
+ ),
3261
+ u && /* @__PURE__ */ C(co, { "aria-label": "Resize column", children: ({ isResizing: y, isFocused: m, isHovered: D }) => /* @__PURE__ */ C(
3262
+ Ao,
3263
+ {
3264
+ "data-resizing": y,
3265
+ "data-focused": m,
3266
+ "data-hovered": D
3267
+ }
3268
+ ) })
3269
+ ]
3270
+ }
3271
+ );
3272
+ }
3273
+ }
3274
+ ) });
3275
+ }, Je = /* @__PURE__ */ ie(
3276
+ function({ children: t, ...l }, n) {
3277
+ return /* @__PURE__ */ C(So, { ref: n, ...l, children: t });
3278
+ }
3279
+ );
3280
+ Je.displayName = "DataTable.Footer";
3281
+ const _e = ({
3282
+ ref: e,
3283
+ ...t
3284
+ }) => {
3285
+ const { activeColumns: l, allowsSorting: n, maxHeight: o, showExpandColumn: r } = xe(), { selectionBehavior: i, selectionMode: a } = vl(), [c, d] = $e(t);
3286
+ return /* @__PURE__ */ C(xo, { ...c, asChild: !0, children: /* @__PURE__ */ re(
3287
+ ao,
3288
+ {
3289
+ ref: e,
3290
+ className: "data-table-header",
3291
+ ...o && { "data-sticky": !0 },
3292
+ columns: l,
3293
+ ...d,
3294
+ children: [
3295
+ i === "toggle" && /* @__PURE__ */ C(
3296
+ De,
3297
+ {
3298
+ id: "selection",
3299
+ className: "selection-column-header",
3300
+ maxWidth: 72,
3301
+ minWidth: 72,
3302
+ allowsSorting: !1,
3303
+ isInternalColumn: !0,
3304
+ children: a === "multiple" && /* @__PURE__ */ C(kt, { slot: "selection" })
3305
+ }
3306
+ ),
3307
+ r && /* @__PURE__ */ C(
3308
+ De,
3309
+ {
3310
+ className: "expand-column-header",
3311
+ maxWidth: i === "toggle" ? 24 : 72,
3312
+ minWidth: i === "toggle" ? 24 : 72,
3313
+ allowsSorting: !1,
3314
+ "aria-label": "Expand rows",
3315
+ isInternalColumn: !0,
3316
+ children: /* @__PURE__ */ C(ct, { children: "Expand rows" })
3317
+ }
3318
+ ),
3319
+ /* @__PURE__ */ C(Se, { items: l, children: (s) => /* @__PURE__ */ re(
3320
+ De,
3321
+ {
3322
+ allowsSorting: (
3323
+ // use column.isSortable if defined, and fallback to allowsSorting if not
3324
+ s.isSortable !== void 0 ? s.isSortable : n
3325
+ ),
3326
+ isRowHeader: !0,
3327
+ width: s.width,
3328
+ defaultWidth: s.defaultWidth,
3329
+ minWidth: s.minWidth ?? 150,
3330
+ maxWidth: s.maxWidth,
3331
+ column: s,
3332
+ children: [
3333
+ /* @__PURE__ */ C("span", { "data-multiline-header": !0, children: s.header }),
3334
+ s.headerIcon && /* @__PURE__ */ C(we, { as: "span", ml: "200", children: s.headerIcon })
3335
+ ]
3336
+ }
3337
+ ) }),
3338
+ /* @__PURE__ */ C(
3339
+ De,
3340
+ {
3341
+ className: "pin-rows-column-header",
3342
+ id: "pin-rows",
3343
+ maxWidth: 72,
3344
+ minWidth: 72,
3345
+ allowsSorting: !1,
3346
+ isInternalColumn: !0,
3347
+ "aria-label": "Pin rows",
3348
+ children: /* @__PURE__ */ C(ct, { children: "Pin rows" })
3349
+ }
3350
+ )
3351
+ ]
3352
+ }
3353
+ ) });
3354
+ };
3355
+ _e.displayName = "DataTable.Header";
3356
+ function Sl(e, t, l, n) {
3357
+ if (!t) return e;
3358
+ const o = t.toLowerCase();
3359
+ return e.map((r) => {
3360
+ const i = l.some((a) => {
3361
+ const c = a.accessor(r);
3362
+ return typeof c == "string" && c.toLowerCase().includes(o);
3363
+ });
3364
+ if (n && r[n]) {
3365
+ let a = r[n];
3366
+ if (Array.isArray(r[n])) {
3367
+ if (a = Sl(
3368
+ r[n],
3369
+ t,
3370
+ l,
3371
+ n
3372
+ ), i || a && Array.isArray(a) && a.length > 0)
3373
+ return { ...r, [n]: a };
3374
+ } else if (i)
3375
+ return { ...r, [n]: a };
3376
+ return null;
3377
+ } else
3378
+ return i ? r : null;
3379
+ }).filter(Boolean);
3380
+ }
3381
+ function kl(e, t, l, n, o) {
3382
+ const r = [], i = [];
3383
+ e.forEach((d) => {
3384
+ o?.has(d.id) ? r.push(d) : i.push(d);
3385
+ });
3386
+ let a = i;
3387
+ if (t) {
3388
+ const d = l.find((s) => s.id === t.column);
3389
+ d && (a = [...i].sort((s, u) => {
3390
+ const p = d.accessor(s), f = d.accessor(u);
3391
+ if (p == null && f == null) return 0;
3392
+ if (p == null) return 1;
3393
+ if (f == null) return -1;
3394
+ let h = p, g = f;
3395
+ return typeof p == "number" && typeof f == "number" ? (h = p, g = f) : (h = String(p).toLowerCase(), g = String(f).toLowerCase()), h < g ? t.direction === "ascending" ? -1 : 1 : h > g ? t.direction === "ascending" ? 1 : -1 : 0;
3396
+ }));
3397
+ }
3398
+ return [...r, ...a].map((d) => !n || !d[n] ? d : {
3399
+ ...d,
3400
+ [n]: Array.isArray(d[n]) ? kl(
3401
+ d[n],
3402
+ t,
3403
+ l,
3404
+ n,
3405
+ o
3406
+ ) : d[n]
3407
+ });
3408
+ }
3409
+ function El(e, t) {
3410
+ return t ? e.some(
3411
+ (l) => l[t] && (Array.isArray(l[t]) ? l[t].length > 0 : !0) || Array.isArray(l[t]) && El(l[t], t)
3412
+ ) : !1;
3413
+ }
3414
+ const et = /* @__PURE__ */ ie(
3415
+ function(t, l) {
3416
+ const {
3417
+ columns: n = [],
3418
+ data: o = [],
3419
+ visibleColumns: r,
3420
+ search: i,
3421
+ sortDescriptor: a,
3422
+ defaultSortDescriptor: c,
3423
+ onSortChange: d,
3424
+ selectedKeys: s,
3425
+ defaultSelectedKeys: u,
3426
+ onSelectionChange: p,
3427
+ selectionMode: f = "none",
3428
+ disallowEmptySelection: h = !1,
3429
+ allowsSorting: g = !1,
3430
+ maxHeight: y,
3431
+ isTruncated: m = !1,
3432
+ density: D = "default",
3433
+ nestedKey: b,
3434
+ onRowClick: $,
3435
+ onDetailsClick: v,
3436
+ disabledKeys: w,
3437
+ onRowAction: k,
3438
+ isResizable: A,
3439
+ pinnedRows: R,
3440
+ defaultPinnedRows: E,
3441
+ onPinToggle: K,
3442
+ children: W,
3443
+ ...T
3444
+ } = t, [I, F] = Q(c), [U, L] = Q({}), [le, ee] = Q(
3445
+ () => E || /* @__PURE__ */ new Set()
3446
+ ), X = a ?? I, G = R ?? le, x = B(() => n.filter(
3447
+ (ue) => (r ? r.includes(ue.id) : !0) && ue.isVisible !== !1
3448
+ ), [n, r]), z = B(
3449
+ () => i ? Sl(o, i, x, b) : o,
3450
+ [o, i, x, b]
3451
+ ), N = B(
3452
+ () => kl(
3453
+ z,
3454
+ X,
3455
+ x,
3456
+ b,
3457
+ G
3458
+ ),
3459
+ [z, X, x, b, G]
3460
+ ), fe = El(N, b), lt = f !== "none", nt = j(
3461
+ (q) => L((ue) => ({ ...ue, [q]: !ue[q] })),
3462
+ []
3463
+ ), ot = j(
3464
+ (q) => {
3465
+ K ? K(q) : ee((ue) => {
3466
+ const ze = new Set(ue);
3467
+ return ze.has(q) ? ze.delete(q) : ze.add(q), ze;
3468
+ });
3469
+ },
3470
+ [K]
3471
+ ), rt = j(
3472
+ (q) => {
3473
+ d ? d(q) : F(q);
3474
+ },
3475
+ [d]
3476
+ ), zl = B(
3477
+ () => ({
3478
+ columns: n,
3479
+ data: o,
3480
+ visibleColumns: r,
3481
+ search: i,
3482
+ sortDescriptor: X,
3483
+ selectedKeys: s,
3484
+ defaultSelectedKeys: u,
3485
+ expanded: U,
3486
+ allowsSorting: g,
3487
+ selectionMode: f,
3488
+ disallowEmptySelection: h,
3489
+ maxHeight: y,
3490
+ isTruncated: m,
3491
+ density: D,
3492
+ nestedKey: b,
3493
+ onSortChange: rt,
3494
+ onSelectionChange: p,
3495
+ onRowClick: $,
3496
+ onDetailsClick: v,
3497
+ toggleExpand: nt,
3498
+ activeColumns: x,
3499
+ filteredRows: z,
3500
+ sortedRows: N,
3501
+ showExpandColumn: fe,
3502
+ showSelectionColumn: lt,
3503
+ isResizable: A,
3504
+ disabledKeys: w,
3505
+ onRowAction: k,
3506
+ pinnedRows: G,
3507
+ onPinToggle: K,
3508
+ togglePin: ot
3509
+ }),
3510
+ [
3511
+ n,
3512
+ o,
3513
+ r,
3514
+ i,
3515
+ X,
3516
+ s,
3517
+ u,
3518
+ U,
3519
+ g,
3520
+ f,
3521
+ h,
3522
+ y,
3523
+ m,
3524
+ D,
3525
+ b,
3526
+ rt,
3527
+ p,
3528
+ $,
3529
+ v,
3530
+ nt,
3531
+ x,
3532
+ z,
3533
+ N,
3534
+ fe,
3535
+ lt,
3536
+ A,
3537
+ w,
3538
+ k,
3539
+ G,
3540
+ K,
3541
+ ot
3542
+ ]
3543
+ );
3544
+ return /* @__PURE__ */ C(
3545
+ yo,
3546
+ {
3547
+ ref: l,
3548
+ truncated: m,
3549
+ density: D,
3550
+ maxH: y,
3551
+ ...T,
3552
+ asChild: !0,
3553
+ children: /* @__PURE__ */ C(no, { children: /* @__PURE__ */ C(
3554
+ Ne.Provider,
3555
+ {
3556
+ value: zl,
3557
+ children: W
3558
+ }
3559
+ ) })
3560
+ }
3561
+ );
3562
+ }
3563
+ );
3564
+ et.displayName = "DataTableRoot";
3565
+ const tt = /* @__PURE__ */ ie(function({ children: t, ...l }, n) {
3566
+ const {
3567
+ sortDescriptor: o,
3568
+ onSortChange: r,
3569
+ selectionMode: i,
3570
+ onSelectionChange: a,
3571
+ selectedKeys: c,
3572
+ defaultSelectedKeys: d,
3573
+ disallowEmptySelection: s,
3574
+ disabledKeys: u
3575
+ } = xe(), [p, f] = $e(l), h = o ? {
3576
+ column: o.column,
3577
+ direction: o.direction
3578
+ } : void 0;
3579
+ return /* @__PURE__ */ C($o, { ...p, asChild: !0, children: /* @__PURE__ */ C(
3580
+ ro,
3581
+ {
3582
+ ref: n,
3583
+ sortDescriptor: h,
3584
+ onSortChange: (y) => {
3585
+ y && r && r({
3586
+ column: String(y.column),
3587
+ direction: y.direction
3588
+ });
3589
+ },
3590
+ selectedKeys: c,
3591
+ defaultSelectedKeys: d,
3592
+ onSelectionChange: a,
3593
+ selectionMode: i,
3594
+ disallowEmptySelection: s,
3595
+ disabledKeys: u,
3596
+ disabledBehavior: "all",
3597
+ ...f,
3598
+ children: t
3599
+ }
3600
+ ) });
3601
+ });
3602
+ tt.displayName = "DataTable.Table";
3603
+ const jo = /* @__PURE__ */ ie(function({ footer: t, ...l }, n) {
3604
+ return /* @__PURE__ */ re(et, { ref: n, ...l, children: [
3605
+ /* @__PURE__ */ re(tt, { "aria-label": "Data Table", children: [
3606
+ /* @__PURE__ */ C(_e, { "aria-label": "Data Table Header" }),
3607
+ /* @__PURE__ */ C(Qe, { "aria-label": "Data Table Body" })
3608
+ ] }),
3609
+ t && /* @__PURE__ */ C(Je, { children: t })
3610
+ ] });
3611
+ }), Nr = /* @__PURE__ */ Object.assign(jo, {
3612
+ Root: et,
3613
+ Table: tt,
3614
+ Header: _e,
3615
+ Column: De,
3616
+ Body: Qe,
3617
+ Row: Ze,
3618
+ Cell: me,
3619
+ Footer: Je,
3620
+ ExpandButton: Cl,
3621
+ NestedIcon: Eo,
3622
+ SelectionCell: ko,
3623
+ Context: Ne,
3624
+ useDataTableContext: xe
3625
+ });
3626
+ export {
3627
+ Nr as D,
3628
+ et as a,
3629
+ tt as b,
3630
+ _e as c,
3631
+ De as d,
3632
+ Qe as e,
3633
+ Ze as f,
3634
+ me as g,
3635
+ Je as h,
3636
+ Cl as i,
3637
+ Eo as j,
3638
+ ko as k
3639
+ };
3640
+ //# sourceMappingURL=data-table-BmhYF5gH.es.js.map