@commercetools/nimbus 0.0.0-canary-20250901122738 → 0.0.0-canary-20250902091333

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