@commercetools/nimbus 2.7.0 → 2.8.0

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 (1242) hide show
  1. package/dist/chunks/Button-B_f19f6I.es.js +79 -0
  2. package/dist/chunks/Button-B_f19f6I.es.js.map +1 -0
  3. package/dist/chunks/Button-Cd6tzMBr.cjs.js +2 -0
  4. package/dist/chunks/Button-Cd6tzMBr.cjs.js.map +1 -0
  5. package/dist/chunks/CollectionBuilder-Bzm4ICAd.es.js +661 -0
  6. package/dist/chunks/CollectionBuilder-Bzm4ICAd.es.js.map +1 -0
  7. package/dist/chunks/CollectionBuilder-C_QqJynd.cjs.js +2 -0
  8. package/dist/chunks/CollectionBuilder-C_QqJynd.cjs.js.map +1 -0
  9. package/dist/chunks/DateField-D2II47OB.cjs.js +2 -0
  10. package/dist/chunks/DateField-D2II47OB.cjs.js.map +1 -0
  11. package/dist/chunks/DateField-gqvwqOd9.es.js +2863 -0
  12. package/dist/chunks/DateField-gqvwqOd9.es.js.map +1 -0
  13. package/dist/chunks/DatePicker-BaPDkR9D.cjs.js +2 -0
  14. package/dist/chunks/DatePicker-BaPDkR9D.cjs.js.map +1 -0
  15. package/dist/chunks/DatePicker-Gm4Pobyb.es.js +791 -0
  16. package/dist/chunks/DatePicker-Gm4Pobyb.es.js.map +1 -0
  17. package/dist/chunks/Dialog-BrbJce0u.es.js +2008 -0
  18. package/dist/chunks/Dialog-BrbJce0u.es.js.map +1 -0
  19. package/dist/chunks/Dialog-BwUsRNPT.cjs.js +7 -0
  20. package/dist/chunks/Dialog-BwUsRNPT.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-Bzy10RyD.cjs.js +2 -0
  24. package/dist/chunks/FocusScope-Bzy10RyD.cjs.js.map +1 -0
  25. package/dist/chunks/FocusScope-D_JoB-Y8.es.js +623 -0
  26. package/dist/chunks/FocusScope-D_JoB-Y8.es.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-D8J_QjlE.es.js +47 -0
  30. package/dist/chunks/Group-D8J_QjlE.es.js.map +1 -0
  31. package/dist/chunks/Group-Fz0VwUdJ.cjs.js +2 -0
  32. package/dist/chunks/Group-Fz0VwUdJ.cjs.js.map +1 -0
  33. package/dist/chunks/Header-BBMNqseS.es.js +213 -0
  34. package/dist/chunks/Header-BBMNqseS.es.js.map +1 -0
  35. package/dist/chunks/Header-Daaf7xDF.cjs.js +2 -0
  36. package/dist/chunks/Header-Daaf7xDF.cjs.js.map +1 -0
  37. package/dist/chunks/Heading-Dftjn5Wq.cjs.js +2 -0
  38. package/dist/chunks/Heading-Dftjn5Wq.cjs.js.map +1 -0
  39. package/dist/chunks/Heading-mK-8zY0b.es.js +1623 -0
  40. package/dist/chunks/Heading-mK-8zY0b.es.js.map +1 -0
  41. package/dist/chunks/Hidden-S64SHphJ.es.js +23 -0
  42. package/dist/chunks/Hidden-S64SHphJ.es.js.map +1 -0
  43. package/dist/chunks/Hidden-pXvWRTeY.cjs.js +2 -0
  44. package/dist/chunks/Hidden-pXvWRTeY.cjs.js.map +1 -0
  45. package/dist/chunks/Input-DK3H-e45.cjs.js +2 -0
  46. package/dist/chunks/Input-DK3H-e45.cjs.js.map +1 -0
  47. package/dist/chunks/Input-DeuGV6TF.es.js +46 -0
  48. package/dist/chunks/Input-DeuGV6TF.es.js.map +1 -0
  49. package/dist/chunks/Keyboard-Clnp4zAC.es.js.map +1 -1
  50. package/dist/chunks/Keyboard-rYf2KxZN.cjs.js.map +1 -1
  51. package/dist/chunks/Label-DE_LaM97.es.js +17 -0
  52. package/dist/chunks/Label-DE_LaM97.es.js.map +1 -0
  53. package/dist/chunks/Label-udDCVpjy.cjs.js +2 -0
  54. package/dist/chunks/Label-udDCVpjy.cjs.js.map +1 -0
  55. package/dist/chunks/ListBox-CAJx8YBh.es.js +563 -0
  56. package/dist/chunks/ListBox-CAJx8YBh.es.js.map +1 -0
  57. package/dist/chunks/ListBox-CNFNgyJO.cjs.js +2 -0
  58. package/dist/chunks/ListBox-CNFNgyJO.cjs.js.map +1 -0
  59. package/dist/chunks/Modal-6dYMHDKd.cjs.js +2 -0
  60. package/dist/chunks/Modal-6dYMHDKd.cjs.js.map +1 -0
  61. package/dist/chunks/Modal-YlwhpJoL.es.js +197 -0
  62. package/dist/chunks/Modal-YlwhpJoL.es.js.map +1 -0
  63. package/dist/chunks/OverlayArrow-BiIjcsUQ.es.js +459 -0
  64. package/dist/chunks/OverlayArrow-BiIjcsUQ.es.js.map +1 -0
  65. package/dist/chunks/OverlayArrow-BrN7647V.cjs.js +2 -0
  66. package/dist/chunks/OverlayArrow-BrN7647V.cjs.js.map +1 -0
  67. package/dist/chunks/ProgressBar-CSe_g05D.es.js +42 -0
  68. package/dist/chunks/ProgressBar-CSe_g05D.es.js.map +1 -0
  69. package/dist/chunks/ProgressBar-YkTDvxkF.cjs.js +2 -0
  70. package/dist/chunks/ProgressBar-YkTDvxkF.cjs.js.map +1 -0
  71. package/dist/chunks/RSPContexts-BdKenzIN.cjs.js.map +1 -1
  72. package/dist/chunks/RSPContexts-DLgb84PF.es.js.map +1 -1
  73. package/dist/chunks/SelectionIndicator-B27AsfqE.es.js.map +1 -1
  74. package/dist/chunks/SelectionIndicator-Du7-bvy3.cjs.js.map +1 -1
  75. package/dist/chunks/SelectionManager-DCvmq5pa.cjs.js +2 -0
  76. package/dist/chunks/SelectionManager-DCvmq5pa.cjs.js.map +1 -0
  77. package/dist/chunks/SelectionManager-Dwxt3P_U.es.js +1119 -0
  78. package/dist/chunks/SelectionManager-Dwxt3P_U.es.js.map +1 -0
  79. package/dist/chunks/Separator-CKJksem-.cjs.js +2 -0
  80. package/dist/chunks/Separator-CKJksem-.cjs.js.map +1 -0
  81. package/dist/chunks/Separator-CTeUIGug.es.js +56 -0
  82. package/dist/chunks/Separator-CTeUIGug.es.js.map +1 -0
  83. package/dist/chunks/Text-BWSfeB9p.cjs.js.map +1 -1
  84. package/dist/chunks/Text-DOcU1ycg.es.js.map +1 -1
  85. package/dist/chunks/ToggleButton-BRyJFACN.es.js +154 -0
  86. package/dist/chunks/ToggleButton-BRyJFACN.es.js.map +1 -0
  87. package/dist/chunks/ToggleButton-D7CPaVXA.cjs.js +2 -0
  88. package/dist/chunks/ToggleButton-D7CPaVXA.cjs.js.map +1 -0
  89. package/dist/chunks/VisuallyHidden-B6DIvP4_.es.js +41 -0
  90. package/dist/chunks/VisuallyHidden-B6DIvP4_.es.js.map +1 -0
  91. package/dist/chunks/VisuallyHidden-Cp9bbfLS.cjs.js +2 -0
  92. package/dist/chunks/VisuallyHidden-Cp9bbfLS.cjs.js.map +1 -0
  93. package/dist/chunks/accordion-DW96w8SO.cjs.js +2 -0
  94. package/dist/chunks/accordion-DW96w8SO.cjs.js.map +1 -0
  95. package/dist/chunks/accordion-w2snPAFa.es.js +84 -0
  96. package/dist/chunks/accordion-w2snPAFa.es.js.map +1 -0
  97. package/dist/chunks/accordion.content-B0YHoSnW.cjs.js +2 -0
  98. package/dist/chunks/accordion.content-B0YHoSnW.cjs.js.map +1 -0
  99. package/dist/chunks/accordion.content-DfOG_PZm.es.js +228 -0
  100. package/dist/chunks/accordion.content-DfOG_PZm.es.js.map +1 -0
  101. package/dist/chunks/alert-BdHXhgWQ.es.js +158 -0
  102. package/dist/chunks/alert-BdHXhgWQ.es.js.map +1 -0
  103. package/dist/chunks/alert-Bk6m8bhe.cjs.js +2 -0
  104. package/dist/chunks/alert-Bk6m8bhe.cjs.js.map +1 -0
  105. package/dist/chunks/animation-BmCHvba5.cjs.js.map +1 -1
  106. package/dist/chunks/animation-sblr3yZx.es.js.map +1 -1
  107. package/dist/chunks/avatar-B8vetM5G.cjs.js +2 -0
  108. package/dist/chunks/avatar-B8vetM5G.cjs.js.map +1 -0
  109. package/dist/chunks/avatar-D559WPRc.es.js +58 -0
  110. package/dist/chunks/avatar-D559WPRc.es.js.map +1 -0
  111. package/dist/chunks/badge-Be-xE-Ke.es.js +17 -0
  112. package/dist/chunks/badge-Be-xE-Ke.es.js.map +1 -0
  113. package/dist/chunks/badge-m_QkSvpu.cjs.js +2 -0
  114. package/dist/chunks/badge-m_QkSvpu.cjs.js.map +1 -0
  115. package/dist/chunks/button-8SLj5U1n.es.js +75 -0
  116. package/dist/chunks/button-8SLj5U1n.es.js.map +1 -0
  117. package/dist/chunks/button-Dp5zCqqo.cjs.js +2 -0
  118. package/dist/chunks/button-Dp5zCqqo.cjs.js.map +1 -0
  119. package/dist/chunks/calendar-DvKmJdxP.cjs.js +2 -0
  120. package/dist/chunks/calendar-DvKmJdxP.cjs.js.map +1 -0
  121. package/dist/chunks/calendar-DvOZQUUz.es.js +226 -0
  122. package/dist/chunks/calendar-DvOZQUUz.es.js.map +1 -0
  123. package/dist/chunks/card-BtoTvzfy.cjs.js +2 -0
  124. package/dist/chunks/card-BtoTvzfy.cjs.js.map +1 -0
  125. package/dist/chunks/card-DO1Aj8a4.es.js +114 -0
  126. package/dist/chunks/card-DO1Aj8a4.es.js.map +1 -0
  127. package/dist/chunks/checkbox-DB_2vX8q.es.js +220 -0
  128. package/dist/chunks/checkbox-DB_2vX8q.es.js.map +1 -0
  129. package/dist/chunks/checkbox-NDwP5yso.cjs.js +2 -0
  130. package/dist/chunks/checkbox-NDwP5yso.cjs.js.map +1 -0
  131. package/dist/chunks/code-BveGzfST.cjs.js +2 -0
  132. package/dist/chunks/code-BveGzfST.cjs.js.map +1 -0
  133. package/dist/chunks/code-CN-T5XSw.es.js +6 -0
  134. package/dist/chunks/code-CN-T5XSw.es.js.map +1 -0
  135. package/dist/chunks/collapsible-motion-B4lvbw3B.cjs.js +2 -0
  136. package/dist/chunks/collapsible-motion-B4lvbw3B.cjs.js.map +1 -0
  137. package/dist/chunks/collapsible-motion-CyvkDH8J.es.js +127 -0
  138. package/dist/chunks/collapsible-motion-CyvkDH8J.es.js.map +1 -0
  139. package/dist/chunks/combobox-Cwg7Jjco.es.js +1570 -0
  140. package/dist/chunks/combobox-Cwg7Jjco.es.js.map +1 -0
  141. package/dist/chunks/combobox-DJ5qTOSW.cjs.js +2 -0
  142. package/dist/chunks/combobox-DJ5qTOSW.cjs.js.map +1 -0
  143. package/dist/chunks/context-BfHy4NgG.es.js.map +1 -1
  144. package/dist/chunks/context-XwB7Jud0.cjs.js.map +1 -1
  145. package/dist/chunks/data-table-BXyUohZe.cjs.js +2 -0
  146. package/dist/chunks/data-table-BXyUohZe.cjs.js.map +1 -0
  147. package/dist/chunks/data-table-DTj-VXDE.es.js +4428 -0
  148. package/dist/chunks/data-table-DTj-VXDE.es.js.map +1 -0
  149. package/dist/chunks/date-input-BEiFdI-1.cjs.js +2 -0
  150. package/dist/chunks/date-input-BEiFdI-1.cjs.js.map +1 -0
  151. package/dist/chunks/date-input-CKWu7-nx.es.js +20 -0
  152. package/dist/chunks/date-input-CKWu7-nx.es.js.map +1 -0
  153. package/dist/chunks/date-picker-DRciIJ3I.cjs.js +2 -0
  154. package/dist/chunks/date-picker-DRciIJ3I.cjs.js.map +1 -0
  155. package/dist/chunks/date-picker-ndD6PWRc.es.js +227 -0
  156. package/dist/chunks/date-picker-ndD6PWRc.es.js.map +1 -0
  157. package/dist/chunks/date-range-picker-AXe8_SzX.cjs.js +2 -0
  158. package/dist/chunks/date-range-picker-AXe8_SzX.cjs.js.map +1 -0
  159. package/dist/chunks/date-range-picker-IL3e2pv7.es.js +363 -0
  160. package/dist/chunks/date-range-picker-IL3e2pv7.es.js.map +1 -0
  161. package/dist/chunks/date-range-picker-field-6-s9fQl8.es.js +61 -0
  162. package/dist/chunks/date-range-picker-field-6-s9fQl8.es.js.map +1 -0
  163. package/dist/chunks/date-range-picker-field-CiVL2apb.cjs.js +2 -0
  164. package/dist/chunks/date-range-picker-field-CiVL2apb.cjs.js.map +1 -0
  165. package/dist/chunks/dialog-B1lCwAIp.es.js +304 -0
  166. package/dist/chunks/dialog-B1lCwAIp.es.js.map +1 -0
  167. package/dist/chunks/dialog-DuN4dj-A.cjs.js +2 -0
  168. package/dist/chunks/dialog-DuN4dj-A.cjs.js.map +1 -0
  169. package/dist/chunks/draggable-list-BD2dmQqO.cjs.js +3 -0
  170. package/dist/chunks/draggable-list-BD2dmQqO.cjs.js.map +1 -0
  171. package/dist/chunks/draggable-list-BTDXUK8V.es.js +4122 -0
  172. package/dist/chunks/draggable-list-BTDXUK8V.es.js.map +1 -0
  173. package/dist/chunks/drawer-BbTuL5zl.cjs.js +2 -0
  174. package/dist/chunks/drawer-BbTuL5zl.cjs.js.map +1 -0
  175. package/dist/chunks/drawer-CgKSSEc-.es.js +320 -0
  176. package/dist/chunks/drawer-CgKSSEc-.es.js.map +1 -0
  177. package/dist/chunks/extract-style-props-DuSHABTl.es.js +11 -0
  178. package/dist/chunks/extract-style-props-DuSHABTl.es.js.map +1 -0
  179. package/dist/chunks/extract-style-props-xZ29rO70.cjs.js +2 -0
  180. package/dist/chunks/extract-style-props-xZ29rO70.cjs.js.map +1 -0
  181. package/dist/chunks/field-errors-DbRPC8Jb.es.js +219 -0
  182. package/dist/chunks/field-errors-DbRPC8Jb.es.js.map +1 -0
  183. package/dist/chunks/field-errors-hBl0j2ag.cjs.js +2 -0
  184. package/dist/chunks/field-errors-hBl0j2ag.cjs.js.map +1 -0
  185. package/dist/chunks/filterDOMProps-AbzzCIX-.cjs.js.map +1 -1
  186. package/dist/chunks/filterDOMProps-Cxz9cAAv.es.js.map +1 -1
  187. package/dist/chunks/focusSafely-C-2FDJH8.cjs.js +2 -0
  188. package/dist/chunks/focusSafely-C-2FDJH8.cjs.js.map +1 -0
  189. package/dist/chunks/focusSafely-DfbNI-gf.es.js +28 -0
  190. package/dist/chunks/focusSafely-DfbNI-gf.es.js.map +1 -0
  191. package/dist/chunks/form-field-BG-I9QxC.es.js +358 -0
  192. package/dist/chunks/form-field-BG-I9QxC.es.js.map +1 -0
  193. package/dist/chunks/form-field-Da4KAAE9.cjs.js +2 -0
  194. package/dist/chunks/form-field-Da4KAAE9.cjs.js.map +1 -0
  195. package/dist/chunks/getScrollParent-BYABLTPb.cjs.js +2 -0
  196. package/dist/chunks/getScrollParent-BYABLTPb.cjs.js.map +1 -0
  197. package/dist/chunks/getScrollParent-CYyA2kLT.es.js +10 -0
  198. package/dist/chunks/getScrollParent-CYyA2kLT.es.js.map +1 -0
  199. package/dist/chunks/group-8Wkx5fVV.cjs.js +2 -0
  200. package/dist/chunks/group-8Wkx5fVV.cjs.js.map +1 -0
  201. package/dist/chunks/group-tkn9asoK.es.js +13 -0
  202. package/dist/chunks/group-tkn9asoK.es.js.map +1 -0
  203. package/dist/chunks/heading-BFcG7l1U.cjs.js +2 -0
  204. package/dist/chunks/heading-BFcG7l1U.cjs.js.map +1 -0
  205. package/dist/chunks/heading-ezNMcRxO.es.js +25 -0
  206. package/dist/chunks/heading-ezNMcRxO.es.js.map +1 -0
  207. package/dist/chunks/icon-BMjkW_u3.cjs.js +2 -0
  208. package/dist/chunks/icon-BMjkW_u3.cjs.js.map +1 -0
  209. package/dist/chunks/icon-DVW5I_jj.es.js +19 -0
  210. package/dist/chunks/icon-DVW5I_jj.es.js.map +1 -0
  211. package/dist/chunks/icon-button-BCeQqBD7.es.js +33 -0
  212. package/dist/chunks/icon-button-BCeQqBD7.es.js.map +1 -0
  213. package/dist/chunks/icon-button-TUo0Zh3-.cjs.js +2 -0
  214. package/dist/chunks/icon-button-TUo0Zh3-.cjs.js.map +1 -0
  215. package/dist/chunks/icon-toggle-button-Bq919oWc.cjs.js +2 -0
  216. package/dist/chunks/icon-toggle-button-Bq919oWc.cjs.js.map +1 -0
  217. package/dist/chunks/icon-toggle-button-CBersNeg.es.js +13 -0
  218. package/dist/chunks/icon-toggle-button-CBersNeg.es.js.map +1 -0
  219. package/dist/chunks/index-CB18bWc-.cjs.js +34 -0
  220. package/dist/chunks/index-CB18bWc-.cjs.js.map +1 -0
  221. package/dist/chunks/index-N3LCjK2b.es.js +6589 -0
  222. package/dist/chunks/index-N3LCjK2b.es.js.map +1 -0
  223. package/dist/chunks/inline-svg-Ct3XXJCo.cjs.js +2 -0
  224. package/dist/chunks/inline-svg-Ct3XXJCo.cjs.js.map +1 -0
  225. package/dist/chunks/inline-svg-D0MU6k2J.es.js +21 -0
  226. package/dist/chunks/inline-svg-D0MU6k2J.es.js.map +1 -0
  227. package/dist/chunks/intlStrings-Cd44R5hT.es.js.map +1 -1
  228. package/dist/chunks/intlStrings-ClBuC6xN.cjs.js.map +1 -1
  229. package/dist/chunks/kbd-C22HGSIk.cjs.js +2 -0
  230. package/dist/chunks/kbd-C22HGSIk.cjs.js.map +1 -0
  231. package/dist/chunks/kbd-pvGIJN_-.es.js +16 -0
  232. package/dist/chunks/kbd-pvGIJN_-.es.js.map +1 -0
  233. package/dist/chunks/link-B1bi6UkZ.es.js +49 -0
  234. package/dist/chunks/link-B1bi6UkZ.es.js.map +1 -0
  235. package/dist/chunks/link-DmxaGmar.cjs.js +2 -0
  236. package/dist/chunks/link-DmxaGmar.cjs.js.map +1 -0
  237. package/dist/chunks/list-D2cUzD9o.es.js +26 -0
  238. package/dist/chunks/list-D2cUzD9o.es.js.map +1 -0
  239. package/dist/chunks/list-pfnNUdGl.cjs.js +2 -0
  240. package/dist/chunks/list-pfnNUdGl.cjs.js.map +1 -0
  241. package/dist/chunks/loading-spinner-C2hfbSXt.cjs.js +2 -0
  242. package/dist/chunks/loading-spinner-C2hfbSXt.cjs.js.map +1 -0
  243. package/dist/chunks/loading-spinner-DQ33Zrq8.es.js +53 -0
  244. package/dist/chunks/loading-spinner-DQ33Zrq8.es.js.map +1 -0
  245. package/dist/chunks/localized-field-BaUY0tn2.es.js +486 -0
  246. package/dist/chunks/localized-field-BaUY0tn2.es.js.map +1 -0
  247. package/dist/chunks/localized-field-DRZO0b7x.cjs.js +2 -0
  248. package/dist/chunks/localized-field-DRZO0b7x.cjs.js.map +1 -0
  249. package/dist/chunks/make-element-focusable-C7F_esXN.es.js +25 -0
  250. package/dist/chunks/make-element-focusable-C7F_esXN.es.js.map +1 -0
  251. package/dist/chunks/make-element-focusable-Cf-r4YQd.cjs.js +2 -0
  252. package/dist/chunks/make-element-focusable-Cf-r4YQd.cjs.js.map +1 -0
  253. package/dist/chunks/menu-CBq8uLF4.cjs.js +2 -0
  254. package/dist/chunks/menu-CBq8uLF4.cjs.js.map +1 -0
  255. package/dist/chunks/menu-DDoPo75I.es.js +256 -0
  256. package/dist/chunks/menu-DDoPo75I.es.js.map +1 -0
  257. package/dist/chunks/merge-refs-D-zSwpoh.es.js +10 -0
  258. package/dist/chunks/merge-refs-D-zSwpoh.es.js.map +1 -0
  259. package/dist/chunks/merge-refs-D8liJcZz.cjs.js +2 -0
  260. package/dist/chunks/merge-refs-D8liJcZz.cjs.js.map +1 -0
  261. package/dist/chunks/mergeProps-BAXAqyMT.cjs.js.map +1 -1
  262. package/dist/chunks/mergeProps-Dg8WqJiN.es.js.map +1 -1
  263. package/dist/chunks/money-input-BtRMHiwE.es.js +548 -0
  264. package/dist/chunks/money-input-BtRMHiwE.es.js.map +1 -0
  265. package/dist/chunks/money-input-NvahgygE.cjs.js +2 -0
  266. package/dist/chunks/money-input-NvahgygE.cjs.js.map +1 -0
  267. package/dist/chunks/money-input-field-Bl4ZqzLj.es.js +51 -0
  268. package/dist/chunks/money-input-field-Bl4ZqzLj.es.js.map +1 -0
  269. package/dist/chunks/money-input-field-CLTzaE8n.cjs.js +2 -0
  270. package/dist/chunks/money-input-field-CLTzaE8n.cjs.js.map +1 -0
  271. package/dist/chunks/multiline-text-input-KQNER4oO.cjs.js +2 -0
  272. package/dist/chunks/multiline-text-input-KQNER4oO.cjs.js.map +1 -0
  273. package/dist/chunks/multiline-text-input-Y4Sd30Xq.es.js +98 -0
  274. package/dist/chunks/multiline-text-input-Y4Sd30Xq.es.js.map +1 -0
  275. package/dist/chunks/multiline-text-input-field-Cw6GupLc.cjs.js +2 -0
  276. package/dist/chunks/multiline-text-input-field-Cw6GupLc.cjs.js.map +1 -0
  277. package/dist/chunks/multiline-text-input-field-DLR7B3Ob.es.js +56 -0
  278. package/dist/chunks/multiline-text-input-field-DLR7B3Ob.es.js.map +1 -0
  279. package/dist/chunks/nimbus-provider-CGTqRM1E.es.js +125 -0
  280. package/dist/chunks/nimbus-provider-CGTqRM1E.es.js.map +1 -0
  281. package/dist/chunks/nimbus-provider-Z3gJkPBJ.cjs.js +2 -0
  282. package/dist/chunks/nimbus-provider-Z3gJkPBJ.cjs.js.map +1 -0
  283. package/dist/chunks/number-input-DoDxKLSN.es.js +713 -0
  284. package/dist/chunks/number-input-DoDxKLSN.es.js.map +1 -0
  285. package/dist/chunks/number-input-IR820qje.cjs.js +2 -0
  286. package/dist/chunks/number-input-IR820qje.cjs.js.map +1 -0
  287. package/dist/chunks/number-input-field-DTk_pXDQ.es.js +51 -0
  288. package/dist/chunks/number-input-field-DTk_pXDQ.es.js.map +1 -0
  289. package/dist/chunks/number-input-field-DcWTW8HX.cjs.js +2 -0
  290. package/dist/chunks/number-input-field-DcWTW8HX.cjs.js.map +1 -0
  291. package/dist/chunks/page-content--s1gGk_N.cjs.js +2 -0
  292. package/dist/chunks/page-content--s1gGk_N.cjs.js.map +1 -0
  293. package/dist/chunks/page-content-YTz6Jfmj.es.js +68 -0
  294. package/dist/chunks/page-content-YTz6Jfmj.es.js.map +1 -0
  295. package/dist/chunks/pagination-D59xquoX.cjs.js +2 -0
  296. package/dist/chunks/pagination-D59xquoX.cjs.js.map +1 -0
  297. package/dist/chunks/pagination-DpgEL5m7.es.js +226 -0
  298. package/dist/chunks/pagination-DpgEL5m7.es.js.map +1 -0
  299. package/dist/chunks/password-input-BQs2tc7Z.cjs.js +2 -0
  300. package/dist/chunks/password-input-BQs2tc7Z.cjs.js.map +1 -0
  301. package/dist/chunks/password-input-Bh0jllNR.es.js +47 -0
  302. package/dist/chunks/password-input-Bh0jllNR.es.js.map +1 -0
  303. package/dist/chunks/password-input-field-B-ADdwQI.es.js +56 -0
  304. package/dist/chunks/password-input-field-B-ADdwQI.es.js.map +1 -0
  305. package/dist/chunks/password-input-field-C14F6Fhe.cjs.js +2 -0
  306. package/dist/chunks/password-input-field-C14F6Fhe.cjs.js.map +1 -0
  307. package/dist/chunks/popover-CFWE6RED.es.js +11 -0
  308. package/dist/chunks/popover-CFWE6RED.es.js.map +1 -0
  309. package/dist/chunks/popover-FjS43_KY.cjs.js +2 -0
  310. package/dist/chunks/popover-FjS43_KY.cjs.js.map +1 -0
  311. package/dist/chunks/progress-bar-Brzwm511.cjs.js +2 -0
  312. package/dist/chunks/progress-bar-Brzwm511.cjs.js.map +1 -0
  313. package/dist/chunks/progress-bar-DttNpI6T.es.js +76 -0
  314. package/dist/chunks/progress-bar-DttNpI6T.es.js.map +1 -0
  315. package/dist/chunks/radio-input-CU7jAtai.es.js +378 -0
  316. package/dist/chunks/radio-input-CU7jAtai.es.js.map +1 -0
  317. package/dist/chunks/radio-input-DS7BKazN.cjs.js +2 -0
  318. package/dist/chunks/radio-input-DS7BKazN.cjs.js.map +1 -0
  319. package/dist/chunks/range-calendar-165da7OP.cjs.js +2 -0
  320. package/dist/chunks/range-calendar-165da7OP.cjs.js.map +1 -0
  321. package/dist/chunks/range-calendar-DvfjIcvD.es.js +228 -0
  322. package/dist/chunks/range-calendar-DvfjIcvD.es.js.map +1 -0
  323. package/dist/chunks/rich-text-input-CWdFIIJl.es.js +1204 -0
  324. package/dist/chunks/rich-text-input-CWdFIIJl.es.js.map +1 -0
  325. package/dist/chunks/rich-text-input-jnrEcbPy.cjs.js +4 -0
  326. package/dist/chunks/rich-text-input-jnrEcbPy.cjs.js.map +1 -0
  327. package/dist/chunks/scoped-search-input-CIJktjQ4.cjs.js +2 -0
  328. package/dist/chunks/scoped-search-input-CIJktjQ4.cjs.js.map +1 -0
  329. package/dist/chunks/scoped-search-input-G2Ut6yTr.es.js +150 -0
  330. package/dist/chunks/scoped-search-input-G2Ut6yTr.es.js.map +1 -0
  331. package/dist/chunks/scrollIntoView-Cwx7UyTw.es.js +112 -0
  332. package/dist/chunks/scrollIntoView-Cwx7UyTw.es.js.map +1 -0
  333. package/dist/chunks/scrollIntoView-DD-xdA8B.cjs.js +2 -0
  334. package/dist/chunks/scrollIntoView-DD-xdA8B.cjs.js.map +1 -0
  335. package/dist/chunks/search-input-DaCfHjO2.cjs.js +2 -0
  336. package/dist/chunks/search-input-DaCfHjO2.cjs.js.map +1 -0
  337. package/dist/chunks/search-input-DjPnnH_T.es.js +368 -0
  338. package/dist/chunks/search-input-DjPnnH_T.es.js.map +1 -0
  339. package/dist/chunks/search-input-field-BbvHjWLH.es.js +51 -0
  340. package/dist/chunks/search-input-field-BbvHjWLH.es.js.map +1 -0
  341. package/dist/chunks/search-input-field-Xr_SnIN3.cjs.js +2 -0
  342. package/dist/chunks/search-input-field-Xr_SnIN3.cjs.js.map +1 -0
  343. package/dist/chunks/select-BCclMTCA.es.js +775 -0
  344. package/dist/chunks/select-BCclMTCA.es.js.map +1 -0
  345. package/dist/chunks/select-ExTJjtrC.cjs.js +2 -0
  346. package/dist/chunks/select-ExTJjtrC.cjs.js.map +1 -0
  347. package/dist/chunks/separator-8zTJ3WbE.es.js +24 -0
  348. package/dist/chunks/separator-8zTJ3WbE.es.js.map +1 -0
  349. package/dist/chunks/separator-EzWfz9T4.cjs.js +2 -0
  350. package/dist/chunks/separator-EzWfz9T4.cjs.js.map +1 -0
  351. package/dist/chunks/spacer-DayymcMy.es.js +8 -0
  352. package/dist/chunks/spacer-DayymcMy.es.js.map +1 -0
  353. package/dist/chunks/spacer-DhPljomZ.cjs.js +2 -0
  354. package/dist/chunks/spacer-DhPljomZ.cjs.js.map +1 -0
  355. package/dist/chunks/split-button-AbOGF7a2.cjs.js +2 -0
  356. package/dist/chunks/split-button-AbOGF7a2.cjs.js.map +1 -0
  357. package/dist/chunks/split-button-CpPcC1ma.es.js +106 -0
  358. package/dist/chunks/split-button-CpPcC1ma.es.js.map +1 -0
  359. package/dist/chunks/steps-BGPeyd5K.cjs.js +2 -0
  360. package/dist/chunks/steps-BGPeyd5K.cjs.js.map +1 -0
  361. package/dist/chunks/steps-BjarSCK8.es.js +309 -0
  362. package/dist/chunks/steps-BjarSCK8.es.js.map +1 -0
  363. package/dist/chunks/switch-By_KtP6e.cjs.js +2 -0
  364. package/dist/chunks/switch-By_KtP6e.cjs.js.map +1 -0
  365. package/dist/chunks/switch-JzEkZe3S.es.js +73 -0
  366. package/dist/chunks/switch-JzEkZe3S.es.js.map +1 -0
  367. package/dist/chunks/table-CglTnQuK.es.js +71 -0
  368. package/dist/chunks/table-CglTnQuK.es.js.map +1 -0
  369. package/dist/chunks/table-VGN0xVbn.cjs.js +2 -0
  370. package/dist/chunks/table-VGN0xVbn.cjs.js.map +1 -0
  371. package/dist/chunks/tabs-CVx3v_oi.cjs.js +2 -0
  372. package/dist/chunks/tabs-CVx3v_oi.cjs.js.map +1 -0
  373. package/dist/chunks/tabs-vCbqDoL9.es.js +560 -0
  374. package/dist/chunks/tabs-vCbqDoL9.es.js.map +1 -0
  375. package/dist/chunks/tag-group-C1kfOOIe.es.js +614 -0
  376. package/dist/chunks/tag-group-C1kfOOIe.es.js.map +1 -0
  377. package/dist/chunks/tag-group-lmqnOpRQ.cjs.js +2 -0
  378. package/dist/chunks/tag-group-lmqnOpRQ.cjs.js.map +1 -0
  379. package/dist/chunks/text-input-CYhoaXwn.es.js +78 -0
  380. package/dist/chunks/text-input-CYhoaXwn.es.js.map +1 -0
  381. package/dist/chunks/text-input-CbG9GsIH.cjs.js +2 -0
  382. package/dist/chunks/text-input-CbG9GsIH.cjs.js.map +1 -0
  383. package/dist/chunks/text-input-field-De9VXhYd.es.js +58 -0
  384. package/dist/chunks/text-input-field-De9VXhYd.es.js.map +1 -0
  385. package/dist/chunks/text-input-field-P1gmf8qH.cjs.js +2 -0
  386. package/dist/chunks/text-input-field-P1gmf8qH.cjs.js.map +1 -0
  387. package/dist/chunks/time-input-BOGcS3Uy.es.js +20 -0
  388. package/dist/chunks/time-input-BOGcS3Uy.es.js.map +1 -0
  389. package/dist/chunks/time-input-Dd8Bm7rA.cjs.js +2 -0
  390. package/dist/chunks/time-input-Dd8Bm7rA.cjs.js.map +1 -0
  391. package/dist/chunks/toast.manager-C-xQVs3Q.cjs.js +2 -0
  392. package/dist/chunks/toast.manager-C-xQVs3Q.cjs.js.map +1 -0
  393. package/dist/chunks/toast.manager-Dj0xhoar.es.js +173 -0
  394. package/dist/chunks/toast.manager-Dj0xhoar.es.js.map +1 -0
  395. package/dist/chunks/toast.outlet-C8fv8YzY.es.js +92 -0
  396. package/dist/chunks/toast.outlet-C8fv8YzY.es.js.map +1 -0
  397. package/dist/chunks/toast.outlet-Ojazv9Da.cjs.js +2 -0
  398. package/dist/chunks/toast.outlet-Ojazv9Da.cjs.js.map +1 -0
  399. package/dist/chunks/toast.toasters-Dw2i0QAB.es.js +70 -0
  400. package/dist/chunks/toast.toasters-Dw2i0QAB.es.js.map +1 -0
  401. package/dist/chunks/toast.toasters-oRICplwM.cjs.js +2 -0
  402. package/dist/chunks/toast.toasters-oRICplwM.cjs.js.map +1 -0
  403. package/dist/chunks/toggle-button-CZjsgZAb.es.js +29 -0
  404. package/dist/chunks/toggle-button-CZjsgZAb.es.js.map +1 -0
  405. package/dist/chunks/toggle-button-VjKDjHMu.cjs.js +2 -0
  406. package/dist/chunks/toggle-button-VjKDjHMu.cjs.js.map +1 -0
  407. package/dist/chunks/toggle-button-group-DONqa5F0.es.js +28 -0
  408. package/dist/chunks/toggle-button-group-DONqa5F0.es.js.map +1 -0
  409. package/dist/chunks/toggle-button-group-Dt36o8cR.cjs.js +2 -0
  410. package/dist/chunks/toggle-button-group-Dt36o8cR.cjs.js.map +1 -0
  411. package/dist/chunks/toolbar-D7siAVmx.es.js +62 -0
  412. package/dist/chunks/toolbar-D7siAVmx.es.js.map +1 -0
  413. package/dist/chunks/toolbar-q5-QMUWS.cjs.js +2 -0
  414. package/dist/chunks/toolbar-q5-QMUWS.cjs.js.map +1 -0
  415. package/dist/chunks/tooltip-M0jvp5BS.cjs.js +2 -0
  416. package/dist/chunks/tooltip-M0jvp5BS.cjs.js.map +1 -0
  417. package/dist/chunks/tooltip-qXiO_TDp.es.js +302 -0
  418. package/dist/chunks/tooltip-qXiO_TDp.es.js.map +1 -0
  419. package/dist/chunks/useButton-BMV-bIDp.es.js +57 -0
  420. package/dist/chunks/useButton-BMV-bIDp.es.js.map +1 -0
  421. package/dist/chunks/useButton-DJVGv7gm.cjs.js +2 -0
  422. package/dist/chunks/useButton-DJVGv7gm.cjs.js.map +1 -0
  423. package/dist/chunks/useCollator-CSX9kZqi.cjs.js.map +1 -1
  424. package/dist/chunks/useCollator-DKdD8vEj.es.js.map +1 -1
  425. package/dist/chunks/useDateFormatter-BQohlVo-.cjs.js +2 -0
  426. package/dist/chunks/useDateFormatter-BQohlVo-.cjs.js.map +1 -0
  427. package/dist/chunks/useDateFormatter-CcwdZcn_.es.js +1662 -0
  428. package/dist/chunks/useDateFormatter-CcwdZcn_.es.js.map +1 -0
  429. package/dist/chunks/useDisclosureState-D6YWKxa1.cjs.js.map +1 -1
  430. package/dist/chunks/useDisclosureState-D7l1lGtf.es.js.map +1 -1
  431. package/dist/chunks/useEffectEvent-BqXYahDg.es.js.map +1 -1
  432. package/dist/chunks/useEffectEvent-CK6scUab.cjs.js.map +1 -1
  433. package/dist/chunks/useEvent-Czz9XOL1.es.js.map +1 -1
  434. package/dist/chunks/useEvent-DMj-I46c.cjs.js.map +1 -1
  435. package/dist/chunks/useField-D0J7lepl.cjs.js.map +1 -1
  436. package/dist/chunks/useField-ZuobdMEN.es.js.map +1 -1
  437. package/dist/chunks/useFocus-B0B7awjt.cjs.js +2 -0
  438. package/dist/chunks/useFocus-B0B7awjt.cjs.js.map +1 -0
  439. package/dist/chunks/useFocus-DM1aM_pr.es.js +30 -0
  440. package/dist/chunks/useFocus-DM1aM_pr.es.js.map +1 -0
  441. package/dist/chunks/useFocusRing-BUzNZISS.es.js +39 -0
  442. package/dist/chunks/useFocusRing-BUzNZISS.es.js.map +1 -0
  443. package/dist/chunks/useFocusRing-DQPYgiqV.cjs.js +2 -0
  444. package/dist/chunks/useFocusRing-DQPYgiqV.cjs.js.map +1 -0
  445. package/dist/chunks/useFocusVisible-DXIbYUB8.cjs.js +2 -0
  446. package/dist/chunks/useFocusVisible-DXIbYUB8.cjs.js.map +1 -0
  447. package/dist/chunks/useFocusVisible-DY8qx7TG.es.js +256 -0
  448. package/dist/chunks/useFocusVisible-DY8qx7TG.es.js.map +1 -0
  449. package/dist/chunks/useFocusWithin-CB4q5dkw.cjs.js +2 -0
  450. package/dist/chunks/useFocusWithin-CB4q5dkw.cjs.js.map +1 -0
  451. package/dist/chunks/useFocusWithin-DJvFzdbU.es.js +58 -0
  452. package/dist/chunks/useFocusWithin-DJvFzdbU.es.js.map +1 -0
  453. package/dist/chunks/useFocusable-B3Z_s4s7.es.js +77 -0
  454. package/dist/chunks/useFocusable-B3Z_s4s7.es.js.map +1 -0
  455. package/dist/chunks/useFocusable-Tx8137XZ.cjs.js +2 -0
  456. package/dist/chunks/useFocusable-Tx8137XZ.cjs.js.map +1 -0
  457. package/dist/chunks/useFormReset-Bv_AylRp.cjs.js.map +1 -1
  458. package/dist/chunks/useFormReset-vR88DCc9.es.js.map +1 -1
  459. package/dist/chunks/useFormValidation-B6ieSHzO.es.js +202 -0
  460. package/dist/chunks/useFormValidation-B6ieSHzO.es.js.map +1 -0
  461. package/dist/chunks/useFormValidation-CJRGHLt7.cjs.js +2 -0
  462. package/dist/chunks/useFormValidation-CJRGHLt7.cjs.js.map +1 -0
  463. package/dist/chunks/useGlobalListeners-BOOfV5Wh.es.js.map +1 -1
  464. package/dist/chunks/useGlobalListeners-CwGh-cDn.cjs.js.map +1 -1
  465. package/dist/chunks/useGridListItem-Kf-bFqMq.cjs.js +2 -0
  466. package/dist/chunks/useGridListItem-Kf-bFqMq.cjs.js.map +1 -0
  467. package/dist/chunks/useGridListItem-eJAlF8kk.es.js +828 -0
  468. package/dist/chunks/useGridListItem-eJAlF8kk.es.js.map +1 -0
  469. package/dist/chunks/useHasTabbableChild-Bx9YAhMX.es.js +35 -0
  470. package/dist/chunks/useHasTabbableChild-Bx9YAhMX.es.js.map +1 -0
  471. package/dist/chunks/useHasTabbableChild-DTwzcNq5.cjs.js +2 -0
  472. package/dist/chunks/useHasTabbableChild-DTwzcNq5.cjs.js.map +1 -0
  473. package/dist/chunks/useHover-BU1r4b8G.cjs.js +2 -0
  474. package/dist/chunks/useHover-BU1r4b8G.cjs.js.map +1 -0
  475. package/dist/chunks/useHover-_d7KqTYf.es.js +86 -0
  476. package/dist/chunks/useHover-_d7KqTYf.es.js.map +1 -0
  477. package/dist/chunks/useLabel-CPUq3ruB.cjs.js.map +1 -1
  478. package/dist/chunks/useLabel-CoJt5prC.es.js.map +1 -1
  479. package/dist/chunks/useLabels-By-QBOAK.cjs.js.map +1 -1
  480. package/dist/chunks/useLabels-kXO7sGKX.es.js.map +1 -1
  481. package/dist/chunks/useListData-CRIq9XWX.es.js.map +1 -1
  482. package/dist/chunks/useListData-DgCKbwHX.cjs.js.map +1 -1
  483. package/dist/chunks/useListState-CK0Ynhz8.es.js +138 -0
  484. package/dist/chunks/useListState-CK0Ynhz8.es.js.map +1 -0
  485. package/dist/chunks/useListState-xpfKx1uw.cjs.js +2 -0
  486. package/dist/chunks/useListState-xpfKx1uw.cjs.js.map +1 -0
  487. package/dist/chunks/useLocalizedStringFormatter-CYDf7GZk.es.js.map +1 -1
  488. package/dist/chunks/useLocalizedStringFormatter-Dg-fFas4.cjs.js.map +1 -1
  489. package/dist/chunks/useObjectRef-4v2MxSjQ.cjs.js.map +1 -1
  490. package/dist/chunks/useObjectRef-CaJ5pgjX.es.js.map +1 -1
  491. package/dist/chunks/usePress-BRMC7qZ9.cjs.js +8 -0
  492. package/dist/chunks/usePress-BRMC7qZ9.cjs.js.map +1 -0
  493. package/dist/chunks/usePress-BwYt_DhT.es.js +501 -0
  494. package/dist/chunks/usePress-BwYt_DhT.es.js.map +1 -0
  495. package/dist/chunks/useProgressBar-B34aegwC.es.js.map +1 -1
  496. package/dist/chunks/useProgressBar-YsNod7J7.cjs.js.map +1 -1
  497. package/dist/chunks/useSpinButton-BoJwDEUU.es.js.map +1 -1
  498. package/dist/chunks/useSpinButton-dNYRUDZ9.cjs.js.map +1 -1
  499. package/dist/chunks/useSyncRef-B-t9wXa7.cjs.js.map +1 -1
  500. package/dist/chunks/useSyncRef-DT-Fqu5J.es.js.map +1 -1
  501. package/dist/chunks/useTextField-C0wD77oD.cjs.js +2 -0
  502. package/dist/chunks/useTextField-C0wD77oD.cjs.js.map +1 -0
  503. package/dist/chunks/useTextField-CJIdrEVS.es.js +79 -0
  504. package/dist/chunks/useTextField-CJIdrEVS.es.js.map +1 -0
  505. package/dist/chunks/useToggle-Zw1unmxY.es.js +63 -0
  506. package/dist/chunks/useToggle-Zw1unmxY.es.js.map +1 -0
  507. package/dist/chunks/useToggle-nNR5_Kgn.cjs.js +2 -0
  508. package/dist/chunks/useToggle-nNR5_Kgn.cjs.js.map +1 -0
  509. package/dist/chunks/useToggleState-CKQxC8Yz.cjs.js.map +1 -1
  510. package/dist/chunks/useToggleState-DWm4nWJh.es.js.map +1 -1
  511. package/dist/chunks/useToolbar-DgGSMjRV.es.js +55 -0
  512. package/dist/chunks/useToolbar-DgGSMjRV.es.js.map +1 -0
  513. package/dist/chunks/useToolbar-zfjJ7jeo.cjs.js +2 -0
  514. package/dist/chunks/useToolbar-zfjJ7jeo.cjs.js.map +1 -0
  515. package/dist/chunks/useUpdateEffect-D_SyR6VE.cjs.js.map +1 -1
  516. package/dist/chunks/useUpdateEffect-DlZlnK9P.es.js.map +1 -1
  517. package/dist/chunks/utils-CF9fvZgv.cjs.js +2 -0
  518. package/dist/chunks/utils-CF9fvZgv.cjs.js.map +1 -0
  519. package/dist/chunks/utils-CiIOoh_a.es.js.map +1 -1
  520. package/dist/chunks/utils-CjZmL8XS.es.js +242 -0
  521. package/dist/chunks/utils-CjZmL8XS.es.js.map +1 -0
  522. package/dist/chunks/utils-Dn-IhiTh.cjs.js.map +1 -1
  523. package/dist/chunks/visually-hidden-D6p_jGM-.es.js +11 -0
  524. package/dist/chunks/visually-hidden-D6p_jGM-.es.js.map +1 -0
  525. package/dist/chunks/visually-hidden-vUuCude-.cjs.js +2 -0
  526. package/dist/chunks/visually-hidden-vUuCude-.cjs.js.map +1 -0
  527. package/dist/components/accordion/accordion.types.d.ts +1 -1
  528. package/dist/components/accordion.cjs +1 -1
  529. package/dist/components/accordion.es.js +2 -2
  530. package/dist/components/alert/alert.types.d.ts +1 -1
  531. package/dist/components/alert.cjs +1 -1
  532. package/dist/components/alert.es.js +1 -1
  533. package/dist/components/avatar/avatar.types.d.ts +1 -1
  534. package/dist/components/avatar.cjs +1 -1
  535. package/dist/components/avatar.es.js +1 -1
  536. package/dist/components/badge/badge.d.ts +1 -0
  537. package/dist/components/badge/badge.types.d.ts +1 -1
  538. package/dist/components/badge.cjs +1 -1
  539. package/dist/components/badge.es.js +1 -1
  540. package/dist/components/button/button.types.d.ts +1 -1
  541. package/dist/components/button.cjs +1 -1
  542. package/dist/components/button.es.js +1 -1
  543. package/dist/components/calendar/calendar.types.d.ts +1 -1
  544. package/dist/components/calendar.cjs +1 -1
  545. package/dist/components/calendar.es.js +1 -1
  546. package/dist/components/card/card.types.d.ts +1 -1
  547. package/dist/components/card.cjs +1 -1
  548. package/dist/components/card.es.js +1 -1
  549. package/dist/components/checkbox/checkbox.types.d.ts +1 -1
  550. package/dist/components/checkbox.cjs +1 -1
  551. package/dist/components/checkbox.es.js +1 -1
  552. package/dist/components/code/code.types.d.ts +1 -1
  553. package/dist/components/code.cjs +1 -1
  554. package/dist/components/code.es.js +1 -1
  555. package/dist/components/collapsible-motion/collapsible-motion.types.d.ts +1 -1
  556. package/dist/components/collapsible-motion.cjs +1 -1
  557. package/dist/components/collapsible-motion.es.js +1 -1
  558. package/dist/components/combobox/combobox.types.d.ts +1 -1
  559. package/dist/components/combobox.cjs +1 -1
  560. package/dist/components/combobox.es.js +1 -1
  561. package/dist/components/components.cjs +1 -1
  562. package/dist/components/components.es.js +1 -1
  563. package/dist/components/data-table/data-table.types.d.ts +1 -1
  564. package/dist/components/data-table.cjs +1 -1
  565. package/dist/components/data-table.es.js +1 -1
  566. package/dist/components/date-input/date-input.types.d.ts +1 -1
  567. package/dist/components/date-input.cjs +1 -1
  568. package/dist/components/date-input.es.js +1 -1
  569. package/dist/components/date-picker/date-picker.types.d.ts +1 -1
  570. package/dist/components/date-picker.cjs +1 -1
  571. package/dist/components/date-picker.es.js +1 -1
  572. package/dist/components/date-range-picker/date-range-picker.types.d.ts +1 -1
  573. package/dist/components/date-range-picker-field.cjs +1 -1
  574. package/dist/components/date-range-picker-field.es.js +1 -1
  575. package/dist/components/date-range-picker.cjs +1 -1
  576. package/dist/components/date-range-picker.es.js +1 -1
  577. package/dist/components/dialog/dialog.types.d.ts +1 -1
  578. package/dist/components/dialog.cjs +1 -1
  579. package/dist/components/dialog.es.js +1 -1
  580. package/dist/components/draggable-list/draggable-list.types.d.ts +1 -1
  581. package/dist/components/draggable-list.cjs +1 -1
  582. package/dist/components/draggable-list.es.js +1 -1
  583. package/dist/components/drawer/drawer.types.d.ts +1 -1
  584. package/dist/components/drawer.cjs +1 -1
  585. package/dist/components/drawer.es.js +1 -1
  586. package/dist/components/field-errors/field-errors.types.d.ts +1 -1
  587. package/dist/components/field-errors.cjs +1 -1
  588. package/dist/components/field-errors.es.js +1 -1
  589. package/dist/components/fields.cjs +1 -1
  590. package/dist/components/fields.es.js +7 -7
  591. package/dist/components/form-field/form-field.types.d.ts +1 -1
  592. package/dist/components/form-field.cjs +1 -1
  593. package/dist/components/form-field.es.js +1 -1
  594. package/dist/components/group/group.types.d.ts +1 -1
  595. package/dist/components/group.cjs +1 -1
  596. package/dist/components/group.es.js +1 -1
  597. package/dist/components/heading/heading.types.d.ts +1 -1
  598. package/dist/components/heading.cjs +1 -1
  599. package/dist/components/heading.es.js +1 -1
  600. package/dist/components/icon/icon.types.d.ts +1 -1
  601. package/dist/components/icon-button.cjs +1 -1
  602. package/dist/components/icon-button.es.js +1 -1
  603. package/dist/components/icon-toggle-button.cjs +1 -1
  604. package/dist/components/icon-toggle-button.es.js +1 -1
  605. package/dist/components/icon.cjs +1 -1
  606. package/dist/components/icon.es.js +1 -1
  607. package/dist/components/index.d.ts +2 -0
  608. package/dist/components/inline-svg/inline-svg.slots.d.ts +1 -1
  609. package/dist/components/inline-svg.cjs +1 -1
  610. package/dist/components/inline-svg.es.js +1 -1
  611. package/dist/components/kbd/kbd.slots.d.ts +1 -1
  612. package/dist/components/kbd.cjs +1 -1
  613. package/dist/components/kbd.es.js +1 -1
  614. package/dist/components/link/link.types.d.ts +1 -1
  615. package/dist/components/link.cjs +1 -1
  616. package/dist/components/link.es.js +1 -1
  617. package/dist/components/list/list.slots.d.ts +1 -1
  618. package/dist/components/list/list.types.d.ts +1 -1
  619. package/dist/components/list.cjs +1 -1
  620. package/dist/components/list.es.js +1 -1
  621. package/dist/components/loading-spinner/loading-spinner.types.d.ts +1 -1
  622. package/dist/components/loading-spinner.cjs +1 -1
  623. package/dist/components/loading-spinner.es.js +1 -1
  624. package/dist/components/localized-field/localized-field.types.d.ts +1 -1
  625. package/dist/components/localized-field.cjs +1 -1
  626. package/dist/components/localized-field.es.js +1 -1
  627. package/dist/components/menu/components/menu.content.d.ts +1 -1
  628. package/dist/components/menu/menu.d.ts +1 -1
  629. package/dist/components/menu/menu.types.d.ts +2 -2
  630. package/dist/components/money-input/money-input.types.d.ts +1 -1
  631. package/dist/components/money-input-field.cjs +1 -1
  632. package/dist/components/money-input-field.es.js +1 -1
  633. package/dist/components/money-input.cjs +1 -1
  634. package/dist/components/money-input.es.js +1 -1
  635. package/dist/components/multiline-text-input/multiline-text-input.types.d.ts +1 -1
  636. package/dist/components/multiline-text-input-field.cjs +1 -1
  637. package/dist/components/multiline-text-input-field.es.js +1 -1
  638. package/dist/components/multiline-text-input.cjs +1 -1
  639. package/dist/components/multiline-text-input.es.js +1 -1
  640. package/dist/components/nimbus-provider/nimbus-provider.d.ts +4 -1
  641. package/dist/components/nimbus-provider/nimbus-provider.types.d.ts +5 -0
  642. package/dist/components/nimbus-provider.cjs +1 -1
  643. package/dist/components/nimbus-provider.es.js +1 -1
  644. package/dist/components/number-input/number-input.types.d.ts +1 -1
  645. package/dist/components/number-input-field.cjs +1 -1
  646. package/dist/components/number-input-field.es.js +1 -1
  647. package/dist/components/number-input.cjs +1 -1
  648. package/dist/components/number-input.es.js +1 -1
  649. package/dist/components/page-content/components/index.d.ts +2 -0
  650. package/dist/components/page-content/components/page-content.column.d.ts +13 -0
  651. package/dist/components/page-content/components/page-content.root.d.ts +15 -0
  652. package/dist/components/page-content/index.d.ts +2 -0
  653. package/dist/components/page-content/page-content.d.ts +62 -0
  654. package/dist/components/page-content/page-content.recipe.d.ts +63 -0
  655. package/dist/components/page-content/page-content.slots.d.ts +8 -0
  656. package/dist/components/page-content/page-content.types.d.ts +25 -0
  657. package/dist/components/page-content.cjs +2 -0
  658. package/dist/components/page-content.cjs.map +1 -0
  659. package/dist/components/page-content.es.js +7 -0
  660. package/dist/components/page-content.es.js.map +1 -0
  661. package/dist/components/pagination.cjs +1 -1
  662. package/dist/components/pagination.es.js +1 -1
  663. package/dist/components/password-input-field.cjs +1 -1
  664. package/dist/components/password-input-field.es.js +1 -1
  665. package/dist/components/password-input.cjs +1 -1
  666. package/dist/components/password-input.es.js +1 -1
  667. package/dist/components/patterns.cjs +1 -1
  668. package/dist/components/patterns.es.js +7 -7
  669. package/dist/components/popover/popover.types.d.ts +1 -1
  670. package/dist/components/popover.cjs +1 -1
  671. package/dist/components/popover.es.js +1 -1
  672. package/dist/components/progress-bar/progress-bar.types.d.ts +1 -1
  673. package/dist/components/progress-bar.cjs +1 -1
  674. package/dist/components/progress-bar.es.js +1 -1
  675. package/dist/components/radio-input/radio-input.types.d.ts +1 -1
  676. package/dist/components/radio-input.cjs +1 -1
  677. package/dist/components/radio-input.es.js +1 -1
  678. package/dist/components/range-calendar/range-calendar.types.d.ts +1 -1
  679. package/dist/components/range-calendar.cjs +1 -1
  680. package/dist/components/range-calendar.es.js +1 -1
  681. package/dist/components/rich-text-input/components/rich-text-editor.d.ts +10 -3
  682. package/dist/components/rich-text-input/rich-text-input.types.d.ts +1 -1
  683. package/dist/components/rich-text-input.cjs +1 -1
  684. package/dist/components/rich-text-input.es.js +1 -1
  685. package/dist/components/scoped-search-input/scoped-search-input.types.d.ts +1 -1
  686. package/dist/components/scoped-search-input.cjs +1 -1
  687. package/dist/components/scoped-search-input.es.js +1 -1
  688. package/dist/components/search-input/search-input.types.d.ts +1 -1
  689. package/dist/components/search-input-field.cjs +1 -1
  690. package/dist/components/search-input-field.es.js +1 -1
  691. package/dist/components/search-input.cjs +1 -1
  692. package/dist/components/search-input.es.js +1 -1
  693. package/dist/components/select/select.types.d.ts +1 -1
  694. package/dist/components/select.cjs +1 -1
  695. package/dist/components/select.es.js +1 -1
  696. package/dist/components/separator/separator.types.d.ts +1 -1
  697. package/dist/components/separator.cjs +1 -1
  698. package/dist/components/separator.es.js +1 -1
  699. package/dist/components/services.cjs +2 -0
  700. package/dist/components/services.cjs.map +1 -0
  701. package/dist/components/services.es.js +12 -0
  702. package/dist/components/services.es.js.map +1 -0
  703. package/dist/components/spacer/spacer.types.d.ts +1 -1
  704. package/dist/components/spacer.cjs +1 -1
  705. package/dist/components/spacer.es.js +1 -1
  706. package/dist/components/split-button/split-button.types.d.ts +1 -1
  707. package/dist/components/split-button.cjs +1 -1
  708. package/dist/components/split-button.es.js +1 -1
  709. package/dist/components/stack/stack.types.d.ts +1 -1
  710. package/dist/components/steps/steps.types.d.ts +2 -1
  711. package/dist/components/steps.cjs +1 -1
  712. package/dist/components/steps.es.js +1 -1
  713. package/dist/components/switch/switch.types.d.ts +1 -1
  714. package/dist/components/switch.cjs +1 -1
  715. package/dist/components/switch.es.js +1 -1
  716. package/dist/components/table/table.slots.d.ts +1 -1
  717. package/dist/components/table/table.types.d.ts +1 -1
  718. package/dist/components/table.cjs +1 -1
  719. package/dist/components/table.es.js +1 -1
  720. package/dist/components/tabs/components/tabs.panel.d.ts +6 -1
  721. package/dist/components/tabs/components/tabs.tab.d.ts +1 -1
  722. package/dist/components/tabs/tabs.d.ts +6 -3
  723. package/dist/components/tabs/tabs.slots.d.ts +4 -61
  724. package/dist/components/tabs/tabs.types.d.ts +114 -53
  725. package/dist/components/tabs.cjs +1 -1
  726. package/dist/components/tabs.es.js +1 -1
  727. package/dist/components/tag-group/tag-group.types.d.ts +1 -1
  728. package/dist/components/tag-group.cjs +1 -1
  729. package/dist/components/tag-group.es.js +1 -1
  730. package/dist/components/text-input/text-input.types.d.ts +1 -1
  731. package/dist/components/text-input-field.cjs +1 -1
  732. package/dist/components/text-input-field.es.js +1 -1
  733. package/dist/components/text-input.cjs +1 -1
  734. package/dist/components/text-input.es.js +1 -1
  735. package/dist/components/time-input/time-input.types.d.ts +1 -1
  736. package/dist/components/time-input.cjs +1 -1
  737. package/dist/components/time-input.es.js +1 -1
  738. package/dist/components/toast/components/index.d.ts +2 -0
  739. package/dist/components/toast/components/toast.content.d.ts +10 -0
  740. package/dist/components/toast/components/toast.outlet.d.ts +29 -0
  741. package/dist/components/toast/constants/index.d.ts +36 -0
  742. package/dist/components/toast/index.d.ts +6 -0
  743. package/dist/components/toast/intl/de.d.ts +9 -0
  744. package/dist/components/toast/intl/en.d.ts +9 -0
  745. package/dist/components/toast/intl/es.d.ts +9 -0
  746. package/dist/components/toast/intl/fr-FR.d.ts +9 -0
  747. package/dist/components/toast/intl/pt-BR.d.ts +9 -0
  748. package/dist/components/toast/services/index.d.ts +2 -0
  749. package/dist/components/toast/services/toast.manager.d.ts +112 -0
  750. package/dist/components/toast/toast.i18n.d.ts +7 -0
  751. package/dist/components/toast/toast.messages.d.ts +6 -0
  752. package/dist/components/toast/toast.recipe.d.ts +81 -0
  753. package/dist/components/toast/toast.types.d.ts +116 -0
  754. package/dist/components/toast.cjs +2 -0
  755. package/dist/components/toast.cjs.map +1 -0
  756. package/dist/components/toast.es.js +7 -0
  757. package/dist/components/toast.es.js.map +1 -0
  758. package/dist/components/toggle-button/toggle-button.types.d.ts +1 -1
  759. package/dist/components/toggle-button-group.cjs +1 -1
  760. package/dist/components/toggle-button-group.es.js +1 -1
  761. package/dist/components/toggle-button.cjs +1 -1
  762. package/dist/components/toggle-button.es.js +1 -1
  763. package/dist/components/toolbar/toolbar.types.d.ts +1 -1
  764. package/dist/components/toolbar.cjs +1 -1
  765. package/dist/components/toolbar.es.js +1 -1
  766. package/dist/components/tooltip/tooltip.types.d.ts +1 -1
  767. package/dist/components/tooltip.cjs +1 -1
  768. package/dist/components/tooltip.es.js +2 -2
  769. package/dist/components/utils.cjs +2 -2
  770. package/dist/components/utils.cjs.map +1 -1
  771. package/dist/components/utils.es.js +93 -93
  772. package/dist/components/utils.es.js.map +1 -1
  773. package/dist/components/visually-hidden.cjs +1 -1
  774. package/dist/components/visually-hidden.es.js +1 -1
  775. package/dist/index.cjs +1 -1
  776. package/dist/index.cjs.map +1 -1
  777. package/dist/index.es.js +201 -193
  778. package/dist/index.es.js.map +1 -1
  779. package/dist/theme/animation-styles.d.ts +1 -1
  780. package/dist/theme/layer-styles.d.ts +1 -1
  781. package/dist/theme/slot-recipes/index.d.ts +122 -0
  782. package/dist/theme/text-styles.d.ts +1 -1
  783. package/dist/type-utils/shared-types.d.ts +1 -1
  784. package/dist/utils/index.d.ts +1 -0
  785. package/dist/utils/merge-refs.d.ts +6 -0
  786. package/package.json +32 -31
  787. package/dist/chunks/Button-DdJe0Bsx.es.js +0 -79
  788. package/dist/chunks/Button-DdJe0Bsx.es.js.map +0 -1
  789. package/dist/chunks/Button-gMAH0Rj3.cjs.js +0 -2
  790. package/dist/chunks/Button-gMAH0Rj3.cjs.js.map +0 -1
  791. package/dist/chunks/CollectionBuilder-0GDhYLYj.es.js +0 -661
  792. package/dist/chunks/CollectionBuilder-0GDhYLYj.es.js.map +0 -1
  793. package/dist/chunks/CollectionBuilder-DmVvcwgr.cjs.js +0 -2
  794. package/dist/chunks/CollectionBuilder-DmVvcwgr.cjs.js.map +0 -1
  795. package/dist/chunks/DateField-BRUydaav.es.js +0 -2859
  796. package/dist/chunks/DateField-BRUydaav.es.js.map +0 -1
  797. package/dist/chunks/DateField-C1q0JKwm.cjs.js +0 -2
  798. package/dist/chunks/DateField-C1q0JKwm.cjs.js.map +0 -1
  799. package/dist/chunks/DatePicker-DRgk46pk.es.js +0 -787
  800. package/dist/chunks/DatePicker-DRgk46pk.es.js.map +0 -1
  801. package/dist/chunks/DatePicker-sdi0fQDK.cjs.js +0 -2
  802. package/dist/chunks/DatePicker-sdi0fQDK.cjs.js.map +0 -1
  803. package/dist/chunks/Dialog-Cj-cFRnN.cjs.js +0 -7
  804. package/dist/chunks/Dialog-Cj-cFRnN.cjs.js.map +0 -1
  805. package/dist/chunks/Dialog-DWaWA6Gb.es.js +0 -1965
  806. package/dist/chunks/Dialog-DWaWA6Gb.es.js.map +0 -1
  807. package/dist/chunks/FocusScope-DZRwkXut.cjs.js +0 -2
  808. package/dist/chunks/FocusScope-DZRwkXut.cjs.js.map +0 -1
  809. package/dist/chunks/FocusScope-uL2GkoJc.es.js +0 -624
  810. package/dist/chunks/FocusScope-uL2GkoJc.es.js.map +0 -1
  811. package/dist/chunks/Group--hcG4Pud.cjs.js +0 -2
  812. package/dist/chunks/Group--hcG4Pud.cjs.js.map +0 -1
  813. package/dist/chunks/Group-Cx-fqsnU.es.js +0 -47
  814. package/dist/chunks/Group-Cx-fqsnU.es.js.map +0 -1
  815. package/dist/chunks/Header-CzXmXauX.cjs.js +0 -2
  816. package/dist/chunks/Header-CzXmXauX.cjs.js.map +0 -1
  817. package/dist/chunks/Header-DtejjUvp.es.js +0 -213
  818. package/dist/chunks/Header-DtejjUvp.es.js.map +0 -1
  819. package/dist/chunks/Heading-Cowxq9Ye.es.js +0 -1624
  820. package/dist/chunks/Heading-Cowxq9Ye.es.js.map +0 -1
  821. package/dist/chunks/Heading-DL9iTePj.cjs.js +0 -2
  822. package/dist/chunks/Heading-DL9iTePj.cjs.js.map +0 -1
  823. package/dist/chunks/Hidden-CNJIJ63M.cjs.js +0 -2
  824. package/dist/chunks/Hidden-CNJIJ63M.cjs.js.map +0 -1
  825. package/dist/chunks/Hidden-X9vuhkMZ.es.js +0 -28
  826. package/dist/chunks/Hidden-X9vuhkMZ.es.js.map +0 -1
  827. package/dist/chunks/Input-BDVq5GWX.cjs.js +0 -2
  828. package/dist/chunks/Input-BDVq5GWX.cjs.js.map +0 -1
  829. package/dist/chunks/Input-C7ULCEC5.es.js +0 -46
  830. package/dist/chunks/Input-C7ULCEC5.es.js.map +0 -1
  831. package/dist/chunks/Label-CBhqSlcw.es.js +0 -17
  832. package/dist/chunks/Label-CBhqSlcw.es.js.map +0 -1
  833. package/dist/chunks/Label-Ccyew9NI.cjs.js +0 -2
  834. package/dist/chunks/Label-Ccyew9NI.cjs.js.map +0 -1
  835. package/dist/chunks/ListBox-B1XPvV-u.es.js +0 -563
  836. package/dist/chunks/ListBox-B1XPvV-u.es.js.map +0 -1
  837. package/dist/chunks/ListBox-E082-iYR.cjs.js +0 -2
  838. package/dist/chunks/ListBox-E082-iYR.cjs.js.map +0 -1
  839. package/dist/chunks/Modal-C582CnE7.cjs.js +0 -2
  840. package/dist/chunks/Modal-C582CnE7.cjs.js.map +0 -1
  841. package/dist/chunks/Modal-CRQyEMVO.es.js +0 -194
  842. package/dist/chunks/Modal-CRQyEMVO.es.js.map +0 -1
  843. package/dist/chunks/OverlayArrow-BZ9PiNJQ.cjs.js +0 -2
  844. package/dist/chunks/OverlayArrow-BZ9PiNJQ.cjs.js.map +0 -1
  845. package/dist/chunks/OverlayArrow-Dk149xUz.es.js +0 -443
  846. package/dist/chunks/OverlayArrow-Dk149xUz.es.js.map +0 -1
  847. package/dist/chunks/ProgressBar-ChwWx0n4.cjs.js +0 -2
  848. package/dist/chunks/ProgressBar-ChwWx0n4.cjs.js.map +0 -1
  849. package/dist/chunks/ProgressBar-D5Xm62vr.es.js +0 -42
  850. package/dist/chunks/ProgressBar-D5Xm62vr.es.js.map +0 -1
  851. package/dist/chunks/SelectionManager-CKL0m64P.es.js +0 -1119
  852. package/dist/chunks/SelectionManager-CKL0m64P.es.js.map +0 -1
  853. package/dist/chunks/SelectionManager-jmSiFOkB.cjs.js +0 -2
  854. package/dist/chunks/SelectionManager-jmSiFOkB.cjs.js.map +0 -1
  855. package/dist/chunks/Separator-CCND3-Tq.cjs.js +0 -2
  856. package/dist/chunks/Separator-CCND3-Tq.cjs.js.map +0 -1
  857. package/dist/chunks/Separator-DOGzl0RN.es.js +0 -56
  858. package/dist/chunks/Separator-DOGzl0RN.es.js.map +0 -1
  859. package/dist/chunks/ToggleButton-BjPTP5eQ.es.js +0 -154
  860. package/dist/chunks/ToggleButton-BjPTP5eQ.es.js.map +0 -1
  861. package/dist/chunks/ToggleButton-LqDEArqH.cjs.js +0 -2
  862. package/dist/chunks/ToggleButton-LqDEArqH.cjs.js.map +0 -1
  863. package/dist/chunks/VisuallyHidden-B84WBioE.es.js +0 -41
  864. package/dist/chunks/VisuallyHidden-B84WBioE.es.js.map +0 -1
  865. package/dist/chunks/VisuallyHidden-D26Isbxh.cjs.js +0 -2
  866. package/dist/chunks/VisuallyHidden-D26Isbxh.cjs.js.map +0 -1
  867. package/dist/chunks/accordion-CwkaMP2U.cjs.js +0 -2
  868. package/dist/chunks/accordion-CwkaMP2U.cjs.js.map +0 -1
  869. package/dist/chunks/accordion-pgWDiJlE.es.js +0 -84
  870. package/dist/chunks/accordion-pgWDiJlE.es.js.map +0 -1
  871. package/dist/chunks/accordion.content-Cnngd-v4.es.js +0 -229
  872. package/dist/chunks/accordion.content-Cnngd-v4.es.js.map +0 -1
  873. package/dist/chunks/accordion.content-stFfa5jr.cjs.js +0 -2
  874. package/dist/chunks/accordion.content-stFfa5jr.cjs.js.map +0 -1
  875. package/dist/chunks/alert-CvdybbI7.cjs.js +0 -2
  876. package/dist/chunks/alert-CvdybbI7.cjs.js.map +0 -1
  877. package/dist/chunks/alert-ZujhQ2Hi.es.js +0 -158
  878. package/dist/chunks/alert-ZujhQ2Hi.es.js.map +0 -1
  879. package/dist/chunks/avatar-Dxv4iY1T.cjs.js +0 -2
  880. package/dist/chunks/avatar-Dxv4iY1T.cjs.js.map +0 -1
  881. package/dist/chunks/avatar-XKmhQ3Wm.es.js +0 -58
  882. package/dist/chunks/avatar-XKmhQ3Wm.es.js.map +0 -1
  883. package/dist/chunks/badge-BrehcyG8.cjs.js +0 -2
  884. package/dist/chunks/badge-BrehcyG8.cjs.js.map +0 -1
  885. package/dist/chunks/badge-CE5J551x.es.js +0 -16
  886. package/dist/chunks/badge-CE5J551x.es.js.map +0 -1
  887. package/dist/chunks/button-CoAqYH5C.es.js +0 -74
  888. package/dist/chunks/button-CoAqYH5C.es.js.map +0 -1
  889. package/dist/chunks/button-RZc0NaYO.cjs.js +0 -2
  890. package/dist/chunks/button-RZc0NaYO.cjs.js.map +0 -1
  891. package/dist/chunks/calendar-CVoK-i8b.cjs.js +0 -2
  892. package/dist/chunks/calendar-CVoK-i8b.cjs.js.map +0 -1
  893. package/dist/chunks/calendar-DiSeAQvb.es.js +0 -227
  894. package/dist/chunks/calendar-DiSeAQvb.es.js.map +0 -1
  895. package/dist/chunks/card-By0QHD5x.cjs.js +0 -2
  896. package/dist/chunks/card-By0QHD5x.cjs.js.map +0 -1
  897. package/dist/chunks/card-Dh5kPbi2.es.js +0 -115
  898. package/dist/chunks/card-Dh5kPbi2.es.js.map +0 -1
  899. package/dist/chunks/checkbox-F_Hv9VwU.es.js +0 -221
  900. package/dist/chunks/checkbox-F_Hv9VwU.es.js.map +0 -1
  901. package/dist/chunks/checkbox-N5CKkrwT.cjs.js +0 -2
  902. package/dist/chunks/checkbox-N5CKkrwT.cjs.js.map +0 -1
  903. package/dist/chunks/code-BKbS3YgV.es.js +0 -6
  904. package/dist/chunks/code-BKbS3YgV.es.js.map +0 -1
  905. package/dist/chunks/code-CNsIcAi8.cjs.js +0 -2
  906. package/dist/chunks/code-CNsIcAi8.cjs.js.map +0 -1
  907. package/dist/chunks/collapsible-motion-XqFU1dzd.es.js +0 -126
  908. package/dist/chunks/collapsible-motion-XqFU1dzd.es.js.map +0 -1
  909. package/dist/chunks/collapsible-motion-gy0R3eTS.cjs.js +0 -2
  910. package/dist/chunks/collapsible-motion-gy0R3eTS.cjs.js.map +0 -1
  911. package/dist/chunks/combobox-CFdPv5_p.cjs.js +0 -2
  912. package/dist/chunks/combobox-CFdPv5_p.cjs.js.map +0 -1
  913. package/dist/chunks/combobox-D1JWxtDI.es.js +0 -1562
  914. package/dist/chunks/combobox-D1JWxtDI.es.js.map +0 -1
  915. package/dist/chunks/data-table-C16QVTYF.cjs.js +0 -2
  916. package/dist/chunks/data-table-C16QVTYF.cjs.js.map +0 -1
  917. package/dist/chunks/data-table-DlcR-8aA.es.js +0 -4440
  918. package/dist/chunks/data-table-DlcR-8aA.es.js.map +0 -1
  919. package/dist/chunks/date-input-DiCJN4d1.cjs.js +0 -2
  920. package/dist/chunks/date-input-DiCJN4d1.cjs.js.map +0 -1
  921. package/dist/chunks/date-input-XlazMnbY.es.js +0 -21
  922. package/dist/chunks/date-input-XlazMnbY.es.js.map +0 -1
  923. package/dist/chunks/date-picker-BR4TttLr.es.js +0 -228
  924. package/dist/chunks/date-picker-BR4TttLr.es.js.map +0 -1
  925. package/dist/chunks/date-picker-CIg6lwfe.cjs.js +0 -2
  926. package/dist/chunks/date-picker-CIg6lwfe.cjs.js.map +0 -1
  927. package/dist/chunks/date-range-picker-B5JQy4pN.cjs.js +0 -2
  928. package/dist/chunks/date-range-picker-B5JQy4pN.cjs.js.map +0 -1
  929. package/dist/chunks/date-range-picker-BDCzvJZ9.es.js +0 -364
  930. package/dist/chunks/date-range-picker-BDCzvJZ9.es.js.map +0 -1
  931. package/dist/chunks/date-range-picker-field-DLOfFRo-.es.js +0 -61
  932. package/dist/chunks/date-range-picker-field-DLOfFRo-.es.js.map +0 -1
  933. package/dist/chunks/date-range-picker-field-DaOfL-n5.cjs.js +0 -2
  934. package/dist/chunks/date-range-picker-field-DaOfL-n5.cjs.js.map +0 -1
  935. package/dist/chunks/dialog-BnaqDHtY.cjs.js +0 -2
  936. package/dist/chunks/dialog-BnaqDHtY.cjs.js.map +0 -1
  937. package/dist/chunks/dialog-DnMibxl9.es.js +0 -305
  938. package/dist/chunks/dialog-DnMibxl9.es.js.map +0 -1
  939. package/dist/chunks/draggable-list-BHsqT_Jr.es.js +0 -4114
  940. package/dist/chunks/draggable-list-BHsqT_Jr.es.js.map +0 -1
  941. package/dist/chunks/draggable-list-CGedsng-.cjs.js +0 -3
  942. package/dist/chunks/draggable-list-CGedsng-.cjs.js.map +0 -1
  943. package/dist/chunks/drawer-B3bBXwk9.cjs.js +0 -2
  944. package/dist/chunks/drawer-B3bBXwk9.cjs.js.map +0 -1
  945. package/dist/chunks/drawer-BT6HuA73.es.js +0 -320
  946. package/dist/chunks/drawer-BT6HuA73.es.js.map +0 -1
  947. package/dist/chunks/extract-style-props-Ct7Gz3Mt.cjs.js +0 -2
  948. package/dist/chunks/extract-style-props-Ct7Gz3Mt.cjs.js.map +0 -1
  949. package/dist/chunks/extract-style-props-DycRTKUw.es.js +0 -11
  950. package/dist/chunks/extract-style-props-DycRTKUw.es.js.map +0 -1
  951. package/dist/chunks/field-errors-C8G94e3K.cjs.js +0 -2
  952. package/dist/chunks/field-errors-C8G94e3K.cjs.js.map +0 -1
  953. package/dist/chunks/field-errors-DYvB-OZF.es.js +0 -219
  954. package/dist/chunks/field-errors-DYvB-OZF.es.js.map +0 -1
  955. package/dist/chunks/focusSafely-BEx2juqL.cjs.js +0 -2
  956. package/dist/chunks/focusSafely-BEx2juqL.cjs.js.map +0 -1
  957. package/dist/chunks/focusSafely-CCta_Ygk.es.js +0 -28
  958. package/dist/chunks/focusSafely-CCta_Ygk.es.js.map +0 -1
  959. package/dist/chunks/focusWithoutScrolling-BlyUcXdY.cjs.js +0 -2
  960. package/dist/chunks/focusWithoutScrolling-BlyUcXdY.cjs.js.map +0 -1
  961. package/dist/chunks/focusWithoutScrolling-CDw3JYiq.es.js +0 -46
  962. package/dist/chunks/focusWithoutScrolling-CDw3JYiq.es.js.map +0 -1
  963. package/dist/chunks/form-field-4H9orTHD.cjs.js +0 -2
  964. package/dist/chunks/form-field-4H9orTHD.cjs.js.map +0 -1
  965. package/dist/chunks/form-field-BiV_IJa9.es.js +0 -357
  966. package/dist/chunks/form-field-BiV_IJa9.es.js.map +0 -1
  967. package/dist/chunks/getScrollParent-Bf02nsKW.es.js +0 -10
  968. package/dist/chunks/getScrollParent-Bf02nsKW.es.js.map +0 -1
  969. package/dist/chunks/getScrollParent-FamUfUoi.cjs.js +0 -2
  970. package/dist/chunks/getScrollParent-FamUfUoi.cjs.js.map +0 -1
  971. package/dist/chunks/group-CKLa1Tba.es.js +0 -13
  972. package/dist/chunks/group-CKLa1Tba.es.js.map +0 -1
  973. package/dist/chunks/group-DxWYupRX.cjs.js +0 -2
  974. package/dist/chunks/group-DxWYupRX.cjs.js.map +0 -1
  975. package/dist/chunks/heading-C4Z-E1Nx.cjs.js +0 -2
  976. package/dist/chunks/heading-C4Z-E1Nx.cjs.js.map +0 -1
  977. package/dist/chunks/heading-D-lZeC8r.es.js +0 -25
  978. package/dist/chunks/heading-D-lZeC8r.es.js.map +0 -1
  979. package/dist/chunks/icon-DIEEgcIZ.es.js +0 -19
  980. package/dist/chunks/icon-DIEEgcIZ.es.js.map +0 -1
  981. package/dist/chunks/icon-Ep1rnhRT.cjs.js +0 -2
  982. package/dist/chunks/icon-Ep1rnhRT.cjs.js.map +0 -1
  983. package/dist/chunks/icon-button-BP-AkGEm.es.js +0 -28
  984. package/dist/chunks/icon-button-BP-AkGEm.es.js.map +0 -1
  985. package/dist/chunks/icon-button-DAZjGSZC.cjs.js +0 -2
  986. package/dist/chunks/icon-button-DAZjGSZC.cjs.js.map +0 -1
  987. package/dist/chunks/icon-toggle-button-DlHJOu2w.cjs.js +0 -2
  988. package/dist/chunks/icon-toggle-button-DlHJOu2w.cjs.js.map +0 -1
  989. package/dist/chunks/icon-toggle-button-YtpVxus0.es.js +0 -13
  990. package/dist/chunks/icon-toggle-button-YtpVxus0.es.js.map +0 -1
  991. package/dist/chunks/index-2OfbaOAd.es.js +0 -6365
  992. package/dist/chunks/index-2OfbaOAd.es.js.map +0 -1
  993. package/dist/chunks/index-DqvhN7j3.cjs.js +0 -34
  994. package/dist/chunks/index-DqvhN7j3.cjs.js.map +0 -1
  995. package/dist/chunks/inline-svg-DeHAHjI4.es.js +0 -21
  996. package/dist/chunks/inline-svg-DeHAHjI4.es.js.map +0 -1
  997. package/dist/chunks/inline-svg-ZvGLE5-3.cjs.js +0 -2
  998. package/dist/chunks/inline-svg-ZvGLE5-3.cjs.js.map +0 -1
  999. package/dist/chunks/kbd-DKQY4b4-.cjs.js +0 -2
  1000. package/dist/chunks/kbd-DKQY4b4-.cjs.js.map +0 -1
  1001. package/dist/chunks/kbd-Dr2MAv1T.es.js +0 -15
  1002. package/dist/chunks/kbd-Dr2MAv1T.es.js.map +0 -1
  1003. package/dist/chunks/link-CgEffPtL.es.js +0 -48
  1004. package/dist/chunks/link-CgEffPtL.es.js.map +0 -1
  1005. package/dist/chunks/link-DpFdrKmH.cjs.js +0 -2
  1006. package/dist/chunks/link-DpFdrKmH.cjs.js.map +0 -1
  1007. package/dist/chunks/list-HlfTUT_u.es.js +0 -27
  1008. package/dist/chunks/list-HlfTUT_u.es.js.map +0 -1
  1009. package/dist/chunks/list-xEqsTYSb.cjs.js +0 -2
  1010. package/dist/chunks/list-xEqsTYSb.cjs.js.map +0 -1
  1011. package/dist/chunks/loading-spinner-C0grjMgI.es.js +0 -53
  1012. package/dist/chunks/loading-spinner-C0grjMgI.es.js.map +0 -1
  1013. package/dist/chunks/loading-spinner-Cck6xCAl.cjs.js +0 -2
  1014. package/dist/chunks/loading-spinner-Cck6xCAl.cjs.js.map +0 -1
  1015. package/dist/chunks/localized-field-GjolktFC.cjs.js +0 -2
  1016. package/dist/chunks/localized-field-GjolktFC.cjs.js.map +0 -1
  1017. package/dist/chunks/localized-field-pf-eohqv.es.js +0 -483
  1018. package/dist/chunks/localized-field-pf-eohqv.es.js.map +0 -1
  1019. package/dist/chunks/make-element-focusable-AmxCDNBB.cjs.js +0 -2
  1020. package/dist/chunks/make-element-focusable-AmxCDNBB.cjs.js.map +0 -1
  1021. package/dist/chunks/make-element-focusable-BNkjt6Kk.es.js +0 -25
  1022. package/dist/chunks/make-element-focusable-BNkjt6Kk.es.js.map +0 -1
  1023. package/dist/chunks/menu-BznpT9eI.cjs.js +0 -2
  1024. package/dist/chunks/menu-BznpT9eI.cjs.js.map +0 -1
  1025. package/dist/chunks/menu-Dgjq9bCf.es.js +0 -256
  1026. package/dist/chunks/menu-Dgjq9bCf.es.js.map +0 -1
  1027. package/dist/chunks/money-input-D2mkymkO.es.js +0 -535
  1028. package/dist/chunks/money-input-D2mkymkO.es.js.map +0 -1
  1029. package/dist/chunks/money-input-field-DDoX1KXD.cjs.js +0 -2
  1030. package/dist/chunks/money-input-field-DDoX1KXD.cjs.js.map +0 -1
  1031. package/dist/chunks/money-input-field-Jz6vRp_h.es.js +0 -51
  1032. package/dist/chunks/money-input-field-Jz6vRp_h.es.js.map +0 -1
  1033. package/dist/chunks/money-input-tvo6uSqC.cjs.js +0 -2
  1034. package/dist/chunks/money-input-tvo6uSqC.cjs.js.map +0 -1
  1035. package/dist/chunks/multiline-text-input-DTWHMTpI.cjs.js +0 -2
  1036. package/dist/chunks/multiline-text-input-DTWHMTpI.cjs.js.map +0 -1
  1037. package/dist/chunks/multiline-text-input-field-DUxSPH-K.es.js +0 -56
  1038. package/dist/chunks/multiline-text-input-field-DUxSPH-K.es.js.map +0 -1
  1039. package/dist/chunks/multiline-text-input-field-s4iFy548.cjs.js +0 -2
  1040. package/dist/chunks/multiline-text-input-field-s4iFy548.cjs.js.map +0 -1
  1041. package/dist/chunks/multiline-text-input-sUF7MTJG.es.js +0 -98
  1042. package/dist/chunks/multiline-text-input-sUF7MTJG.es.js.map +0 -1
  1043. package/dist/chunks/nimbus-provider-B0e0YAe2.es.js +0 -101
  1044. package/dist/chunks/nimbus-provider-B0e0YAe2.es.js.map +0 -1
  1045. package/dist/chunks/nimbus-provider-B5tc-eDx.cjs.js +0 -2
  1046. package/dist/chunks/nimbus-provider-B5tc-eDx.cjs.js.map +0 -1
  1047. package/dist/chunks/number-input-ChLh9mmL.es.js +0 -686
  1048. package/dist/chunks/number-input-ChLh9mmL.es.js.map +0 -1
  1049. package/dist/chunks/number-input-field-B1dQOxIN.es.js +0 -51
  1050. package/dist/chunks/number-input-field-B1dQOxIN.es.js.map +0 -1
  1051. package/dist/chunks/number-input-field-Dq24Ma75.cjs.js +0 -2
  1052. package/dist/chunks/number-input-field-Dq24Ma75.cjs.js.map +0 -1
  1053. package/dist/chunks/number-input-qbCRTRha.cjs.js +0 -2
  1054. package/dist/chunks/number-input-qbCRTRha.cjs.js.map +0 -1
  1055. package/dist/chunks/openLink-CkDzR4gQ.cjs.js +0 -2
  1056. package/dist/chunks/openLink-CkDzR4gQ.cjs.js.map +0 -1
  1057. package/dist/chunks/openLink-HsZR1nGD.es.js +0 -147
  1058. package/dist/chunks/openLink-HsZR1nGD.es.js.map +0 -1
  1059. package/dist/chunks/pagination-BcNCZTZq.es.js +0 -226
  1060. package/dist/chunks/pagination-BcNCZTZq.es.js.map +0 -1
  1061. package/dist/chunks/pagination-DdtQ7vkL.cjs.js +0 -2
  1062. package/dist/chunks/pagination-DdtQ7vkL.cjs.js.map +0 -1
  1063. package/dist/chunks/password-input-DxS1fx5V.es.js +0 -47
  1064. package/dist/chunks/password-input-DxS1fx5V.es.js.map +0 -1
  1065. package/dist/chunks/password-input-field-DbbLOZ1t.cjs.js +0 -2
  1066. package/dist/chunks/password-input-field-DbbLOZ1t.cjs.js.map +0 -1
  1067. package/dist/chunks/password-input-field-mR9iGja1.es.js +0 -56
  1068. package/dist/chunks/password-input-field-mR9iGja1.es.js.map +0 -1
  1069. package/dist/chunks/password-input-tfbkCjWd.cjs.js +0 -2
  1070. package/dist/chunks/password-input-tfbkCjWd.cjs.js.map +0 -1
  1071. package/dist/chunks/popover-CMEv0BL5.cjs.js +0 -2
  1072. package/dist/chunks/popover-CMEv0BL5.cjs.js.map +0 -1
  1073. package/dist/chunks/popover-Da9e7Mrv.es.js +0 -11
  1074. package/dist/chunks/popover-Da9e7Mrv.es.js.map +0 -1
  1075. package/dist/chunks/progress-bar-B9j2Dy4i.es.js +0 -76
  1076. package/dist/chunks/progress-bar-B9j2Dy4i.es.js.map +0 -1
  1077. package/dist/chunks/progress-bar-DOwJyQYC.cjs.js +0 -2
  1078. package/dist/chunks/progress-bar-DOwJyQYC.cjs.js.map +0 -1
  1079. package/dist/chunks/radio-input-B-k71IM5.cjs.js +0 -2
  1080. package/dist/chunks/radio-input-B-k71IM5.cjs.js.map +0 -1
  1081. package/dist/chunks/radio-input-BoGP9yeU.es.js +0 -376
  1082. package/dist/chunks/radio-input-BoGP9yeU.es.js.map +0 -1
  1083. package/dist/chunks/range-calendar-CdEx75be.cjs.js +0 -2
  1084. package/dist/chunks/range-calendar-CdEx75be.cjs.js.map +0 -1
  1085. package/dist/chunks/range-calendar-h9bzBiqE.es.js +0 -229
  1086. package/dist/chunks/range-calendar-h9bzBiqE.es.js.map +0 -1
  1087. package/dist/chunks/rich-text-input-DDwOty-z.es.js +0 -1200
  1088. package/dist/chunks/rich-text-input-DDwOty-z.es.js.map +0 -1
  1089. package/dist/chunks/rich-text-input-cvwIdwRu.cjs.js +0 -4
  1090. package/dist/chunks/rich-text-input-cvwIdwRu.cjs.js.map +0 -1
  1091. package/dist/chunks/scoped-search-input-CZaXu8yR.es.js +0 -151
  1092. package/dist/chunks/scoped-search-input-CZaXu8yR.es.js.map +0 -1
  1093. package/dist/chunks/scoped-search-input-mBw2frly.cjs.js +0 -2
  1094. package/dist/chunks/scoped-search-input-mBw2frly.cjs.js.map +0 -1
  1095. package/dist/chunks/scrollIntoView-BJswSLXM.cjs.js +0 -2
  1096. package/dist/chunks/scrollIntoView-BJswSLXM.cjs.js.map +0 -1
  1097. package/dist/chunks/scrollIntoView-BusXP5qP.es.js +0 -90
  1098. package/dist/chunks/scrollIntoView-BusXP5qP.es.js.map +0 -1
  1099. package/dist/chunks/search-input-5e2zcgNd.es.js +0 -368
  1100. package/dist/chunks/search-input-5e2zcgNd.es.js.map +0 -1
  1101. package/dist/chunks/search-input-BbLBq7HN.cjs.js +0 -2
  1102. package/dist/chunks/search-input-BbLBq7HN.cjs.js.map +0 -1
  1103. package/dist/chunks/search-input-field-JyT-hMIU.cjs.js +0 -2
  1104. package/dist/chunks/search-input-field-JyT-hMIU.cjs.js.map +0 -1
  1105. package/dist/chunks/search-input-field-zRH6CvM0.es.js +0 -51
  1106. package/dist/chunks/search-input-field-zRH6CvM0.es.js.map +0 -1
  1107. package/dist/chunks/select-CBFEiFtr.cjs.js +0 -2
  1108. package/dist/chunks/select-CBFEiFtr.cjs.js.map +0 -1
  1109. package/dist/chunks/select-LE98qSJK.es.js +0 -774
  1110. package/dist/chunks/select-LE98qSJK.es.js.map +0 -1
  1111. package/dist/chunks/separator-0F57Sl2U.cjs.js +0 -2
  1112. package/dist/chunks/separator-0F57Sl2U.cjs.js.map +0 -1
  1113. package/dist/chunks/separator-CU4JgqNT.es.js +0 -24
  1114. package/dist/chunks/separator-CU4JgqNT.es.js.map +0 -1
  1115. package/dist/chunks/spacer-BvQD2vU1.cjs.js +0 -2
  1116. package/dist/chunks/spacer-BvQD2vU1.cjs.js.map +0 -1
  1117. package/dist/chunks/spacer-pHklG6Ri.es.js +0 -8
  1118. package/dist/chunks/spacer-pHklG6Ri.es.js.map +0 -1
  1119. package/dist/chunks/split-button-DBBVLB0b.es.js +0 -106
  1120. package/dist/chunks/split-button-DBBVLB0b.es.js.map +0 -1
  1121. package/dist/chunks/split-button-Dpr5Ql8l.cjs.js +0 -2
  1122. package/dist/chunks/split-button-Dpr5Ql8l.cjs.js.map +0 -1
  1123. package/dist/chunks/steps-D9soRVOM.cjs.js +0 -2
  1124. package/dist/chunks/steps-D9soRVOM.cjs.js.map +0 -1
  1125. package/dist/chunks/steps-fn1a61eB.es.js +0 -307
  1126. package/dist/chunks/steps-fn1a61eB.es.js.map +0 -1
  1127. package/dist/chunks/switch-B-Nshlie.cjs.js +0 -2
  1128. package/dist/chunks/switch-B-Nshlie.cjs.js.map +0 -1
  1129. package/dist/chunks/switch-CbO7p2uX.es.js +0 -67
  1130. package/dist/chunks/switch-CbO7p2uX.es.js.map +0 -1
  1131. package/dist/chunks/table-B0lbDPJW.cjs.js +0 -2
  1132. package/dist/chunks/table-B0lbDPJW.cjs.js.map +0 -1
  1133. package/dist/chunks/table-Dar7_XsB.es.js +0 -72
  1134. package/dist/chunks/table-Dar7_XsB.es.js.map +0 -1
  1135. package/dist/chunks/tabs-DJs4uNk5.cjs.js +0 -2
  1136. package/dist/chunks/tabs-DJs4uNk5.cjs.js.map +0 -1
  1137. package/dist/chunks/tabs-ZyrURnl1.es.js +0 -537
  1138. package/dist/chunks/tabs-ZyrURnl1.es.js.map +0 -1
  1139. package/dist/chunks/tag-group-Bc3O_rKO.cjs.js +0 -2
  1140. package/dist/chunks/tag-group-Bc3O_rKO.cjs.js.map +0 -1
  1141. package/dist/chunks/tag-group-wLg_Z4H3.es.js +0 -615
  1142. package/dist/chunks/tag-group-wLg_Z4H3.es.js.map +0 -1
  1143. package/dist/chunks/text-input-C0bV6U-0.es.js +0 -78
  1144. package/dist/chunks/text-input-C0bV6U-0.es.js.map +0 -1
  1145. package/dist/chunks/text-input-CpJMU8je.cjs.js +0 -2
  1146. package/dist/chunks/text-input-CpJMU8je.cjs.js.map +0 -1
  1147. package/dist/chunks/text-input-field-D3TUPd74.cjs.js +0 -2
  1148. package/dist/chunks/text-input-field-D3TUPd74.cjs.js.map +0 -1
  1149. package/dist/chunks/text-input-field-DKtfhahU.es.js +0 -58
  1150. package/dist/chunks/text-input-field-DKtfhahU.es.js.map +0 -1
  1151. package/dist/chunks/time-input-CBb2Jfbo.cjs.js +0 -2
  1152. package/dist/chunks/time-input-CBb2Jfbo.cjs.js.map +0 -1
  1153. package/dist/chunks/time-input-Cobjycid.es.js +0 -21
  1154. package/dist/chunks/time-input-Cobjycid.es.js.map +0 -1
  1155. package/dist/chunks/toggle-button-CQkIgFSC.cjs.js +0 -2
  1156. package/dist/chunks/toggle-button-CQkIgFSC.cjs.js.map +0 -1
  1157. package/dist/chunks/toggle-button-ZDqoRk4M.es.js +0 -30
  1158. package/dist/chunks/toggle-button-ZDqoRk4M.es.js.map +0 -1
  1159. package/dist/chunks/toggle-button-group--ZStnkyT.cjs.js +0 -2
  1160. package/dist/chunks/toggle-button-group--ZStnkyT.cjs.js.map +0 -1
  1161. package/dist/chunks/toggle-button-group-PnfISweU.es.js +0 -28
  1162. package/dist/chunks/toggle-button-group-PnfISweU.es.js.map +0 -1
  1163. package/dist/chunks/toolbar-CN0gYhZS.cjs.js +0 -2
  1164. package/dist/chunks/toolbar-CN0gYhZS.cjs.js.map +0 -1
  1165. package/dist/chunks/toolbar-Clh1EbKK.es.js +0 -61
  1166. package/dist/chunks/toolbar-Clh1EbKK.es.js.map +0 -1
  1167. package/dist/chunks/tooltip-DYy_urAN.cjs.js +0 -2
  1168. package/dist/chunks/tooltip-DYy_urAN.cjs.js.map +0 -1
  1169. package/dist/chunks/tooltip-DsIxtZs4.es.js +0 -302
  1170. package/dist/chunks/tooltip-DsIxtZs4.es.js.map +0 -1
  1171. package/dist/chunks/useButton-9oTHM6S2.cjs.js +0 -2
  1172. package/dist/chunks/useButton-9oTHM6S2.cjs.js.map +0 -1
  1173. package/dist/chunks/useButton-B9pZzEdT.es.js +0 -57
  1174. package/dist/chunks/useButton-B9pZzEdT.es.js.map +0 -1
  1175. package/dist/chunks/useDateFormatter-D0ddZ_gd.es.js +0 -1660
  1176. package/dist/chunks/useDateFormatter-D0ddZ_gd.es.js.map +0 -1
  1177. package/dist/chunks/useDateFormatter-DNW3PPAW.cjs.js +0 -2
  1178. package/dist/chunks/useDateFormatter-DNW3PPAW.cjs.js.map +0 -1
  1179. package/dist/chunks/useFocus-CeeAz0bF.es.js +0 -29
  1180. package/dist/chunks/useFocus-CeeAz0bF.es.js.map +0 -1
  1181. package/dist/chunks/useFocus-DCxMIlxB.cjs.js +0 -2
  1182. package/dist/chunks/useFocus-DCxMIlxB.cjs.js.map +0 -1
  1183. package/dist/chunks/useFocusRing-BMbyOrJt.es.js +0 -39
  1184. package/dist/chunks/useFocusRing-BMbyOrJt.es.js.map +0 -1
  1185. package/dist/chunks/useFocusRing-D6OR62eN.cjs.js +0 -2
  1186. package/dist/chunks/useFocusRing-D6OR62eN.cjs.js.map +0 -1
  1187. package/dist/chunks/useFocusVisible-5vZ1WXFZ.cjs.js +0 -2
  1188. package/dist/chunks/useFocusVisible-5vZ1WXFZ.cjs.js.map +0 -1
  1189. package/dist/chunks/useFocusVisible-BYry1gSZ.es.js +0 -114
  1190. package/dist/chunks/useFocusVisible-BYry1gSZ.es.js.map +0 -1
  1191. package/dist/chunks/useFocusWithin-Cpf4Z-xW.cjs.js +0 -2
  1192. package/dist/chunks/useFocusWithin-Cpf4Z-xW.cjs.js.map +0 -1
  1193. package/dist/chunks/useFocusWithin-ZY7HuppD.es.js +0 -56
  1194. package/dist/chunks/useFocusWithin-ZY7HuppD.es.js.map +0 -1
  1195. package/dist/chunks/useFocusable-hSEKBu4u.es.js +0 -77
  1196. package/dist/chunks/useFocusable-hSEKBu4u.es.js.map +0 -1
  1197. package/dist/chunks/useFocusable-q7ZZirlt.cjs.js +0 -2
  1198. package/dist/chunks/useFocusable-q7ZZirlt.cjs.js.map +0 -1
  1199. package/dist/chunks/useFormValidation-Cf3op7rM.cjs.js +0 -2
  1200. package/dist/chunks/useFormValidation-Cf3op7rM.cjs.js.map +0 -1
  1201. package/dist/chunks/useFormValidation-DFPASiIB.es.js +0 -200
  1202. package/dist/chunks/useFormValidation-DFPASiIB.es.js.map +0 -1
  1203. package/dist/chunks/useGridListItem-Dmqv0ftv.cjs.js +0 -2
  1204. package/dist/chunks/useGridListItem-Dmqv0ftv.cjs.js.map +0 -1
  1205. package/dist/chunks/useGridListItem-VfYU11P8.es.js +0 -820
  1206. package/dist/chunks/useGridListItem-VfYU11P8.es.js.map +0 -1
  1207. package/dist/chunks/useHasTabbableChild-C4uQEwV0.cjs.js +0 -2
  1208. package/dist/chunks/useHasTabbableChild-C4uQEwV0.cjs.js.map +0 -1
  1209. package/dist/chunks/useHasTabbableChild-MKRDwhdr.es.js +0 -35
  1210. package/dist/chunks/useHasTabbableChild-MKRDwhdr.es.js.map +0 -1
  1211. package/dist/chunks/useHover-D0jSsXYH.cjs.js +0 -2
  1212. package/dist/chunks/useHover-D0jSsXYH.cjs.js.map +0 -1
  1213. package/dist/chunks/useHover-Y3jiyL7C.es.js +0 -86
  1214. package/dist/chunks/useHover-Y3jiyL7C.es.js.map +0 -1
  1215. package/dist/chunks/useListState-C7XQAUnL.cjs.js +0 -2
  1216. package/dist/chunks/useListState-C7XQAUnL.cjs.js.map +0 -1
  1217. package/dist/chunks/useListState-xdP8vTga.es.js +0 -138
  1218. package/dist/chunks/useListState-xdP8vTga.es.js.map +0 -1
  1219. package/dist/chunks/usePress-D2-EBPg9.cjs.js +0 -8
  1220. package/dist/chunks/usePress-D2-EBPg9.cjs.js.map +0 -1
  1221. package/dist/chunks/usePress-qb58ZN-U.es.js +0 -503
  1222. package/dist/chunks/usePress-qb58ZN-U.es.js.map +0 -1
  1223. package/dist/chunks/useTextField-BQU1OdIu.es.js +0 -78
  1224. package/dist/chunks/useTextField-BQU1OdIu.es.js.map +0 -1
  1225. package/dist/chunks/useTextField-kSqhrTDY.cjs.js +0 -2
  1226. package/dist/chunks/useTextField-kSqhrTDY.cjs.js.map +0 -1
  1227. package/dist/chunks/useToggle-CBhPQREj.es.js +0 -62
  1228. package/dist/chunks/useToggle-CBhPQREj.es.js.map +0 -1
  1229. package/dist/chunks/useToggle-D0yhCNgE.cjs.js +0 -2
  1230. package/dist/chunks/useToggle-D0yhCNgE.cjs.js.map +0 -1
  1231. package/dist/chunks/useToolbar-DEyXvA2U.cjs.js +0 -2
  1232. package/dist/chunks/useToolbar-DEyXvA2U.cjs.js.map +0 -1
  1233. package/dist/chunks/useToolbar-kIqkN0S0.es.js +0 -55
  1234. package/dist/chunks/useToolbar-kIqkN0S0.es.js.map +0 -1
  1235. package/dist/chunks/utils-DgKHb8HM.cjs.js +0 -2
  1236. package/dist/chunks/utils-DgKHb8HM.cjs.js.map +0 -1
  1237. package/dist/chunks/utils-_TS1FtP1.es.js +0 -186
  1238. package/dist/chunks/utils-_TS1FtP1.es.js.map +0 -1
  1239. package/dist/chunks/visually-hidden-BrG70ba_.cjs.js +0 -2
  1240. package/dist/chunks/visually-hidden-BrG70ba_.cjs.js.map +0 -1
  1241. package/dist/chunks/visually-hidden-EGgKt7hK.es.js +0 -11
  1242. package/dist/chunks/visually-hidden-EGgKt7hK.es.js.map +0 -1
@@ -0,0 +1,4428 @@
1
+ import { jsx as x, jsxs as R, Fragment as Re } from "react/jsx-runtime";
2
+ import D, { useRef as T, useCallback as N, useState as Z, useMemo as K, useEffect as fe, useContext as k, forwardRef as J, createContext as pe } from "react";
3
+ import { m as Pe } from "./merge-refs-D-zSwpoh.es.js";
4
+ import { n as ze, u as ie } from "./normalize-messages-BN9BAFXe.es.js";
5
+ import { ArrowDownward as an, KeyboardArrowDown as sn, KeyboardArrowRight as un, PushPin as dn, VisibilityOff as cn, Visibility as fn, Refresh as pn, WrapText as mn, ShortText as hn, DensitySmall as bn, FormatAlignJustify as gn, Settings as vn, ViewWeek as yn, ViewDay as $n } from "@commercetools/nimbus-icons";
6
+ import { S as xe } from "./simple-grid-DU5v66TG.es.js";
7
+ import { S as xn } from "./search-input-DjPnnH_T.es.js";
8
+ import { $ as Cn, D as Le } from "./draggable-list-BTDXUK8V.es.js";
9
+ import { S as Oe } from "./stack-CoNreM7B.es.js";
10
+ import { B as oe } from "./box-DuBoAZvq.es.js";
11
+ import { T as Te } from "./text-61Btuuxn.es.js";
12
+ import { S as Ut } from "./separator-8zTJ3WbE.es.js";
13
+ import { B as wn } from "./button-8SLj5U1n.es.js";
14
+ import { I as je } from "./icon-toggle-button-CBersNeg.es.js";
15
+ import { T as Pt } from "./toolbar-D7siAVmx.es.js";
16
+ import { T as Bt } from "./toggle-button-group-DONqa5F0.es.js";
17
+ import { D as ve } from "./drawer-CgKSSEc-.es.js";
18
+ import { T as Dn } from "./tabs-vCbqDoL9.es.js";
19
+ import { T as Ye } from "./tooltip-qXiO_TDp.es.js";
20
+ import { I as it } from "./icon-button-BCeQqBD7.es.js";
21
+ import { createSlotRecipeContext as Sn } from "@chakra-ui/react/styled-system";
22
+ import { $ as Q } from "./useObjectRef-CaJ5pgjX.es.js";
23
+ import { $ as Gt } from "./Button-B_f19f6I.es.js";
24
+ import { a as Yt, b as Kt, c as En } from "./RSPContexts-DLgb84PF.es.js";
25
+ import { a as me, b as V, $ as Xt, e as Je, g as Mt } from "./utils-CiIOoh_a.es.js";
26
+ import { f as L, m as ce, n as de, o as Ue, e as kn, g as qt, $ as Zt, b as zn, a as Rn, h as H, j as Jt } from "./SelectionManager-Dwxt3P_U.es.js";
27
+ import { e as Se, g as An, f as Tn, h as Pn, i as nr } from "./ListBox-CAJx8YBh.es.js";
28
+ import { $ as Bn } from "./intlStrings-Cd44R5hT.es.js";
29
+ import { a as Kn, $ as Mn } from "./SelectionIndicator-B27AsfqE.es.js";
30
+ import { c as ct, i as Nn, g as Be, f as Fn, j as In, a as Qe, $ as Qt, k as Vn, h as ar } from "./CollectionBuilder-Bzm4ICAd.es.js";
31
+ import { c as rt, $ as ft, a as j, e as Hn, b as Wn } from "./mergeProps-Dg8WqJiN.es.js";
32
+ import { $ as ee } from "./filterDOMProps-Cxz9cAAv.es.js";
33
+ import { a as Ln } from "./OverlayArrow-BiIjcsUQ.es.js";
34
+ import { c as ye, a as pt, $ as On } from "./scrollIntoView-Cwx7UyTw.es.js";
35
+ import { b as pr } from "./useListState-CK0Ynhz8.es.js";
36
+ import jn from "react-dom";
37
+ import { $ as Ke } from "./useHover-_d7KqTYf.es.js";
38
+ import { a as _e, $ as Nt } from "./VisuallyHidden-B6DIvP4_.es.js";
39
+ import { $ as Un, d as Ft, r as Gn, q as Yn } from "./useFocusVisible-DY8qx7TG.es.js";
40
+ import { $ as Xe, a as we, m as It, d as Ge, o as qe } from "./utils-CjZmL8XS.es.js";
41
+ import { $ as Ee } from "./context-BfHy4NgG.es.js";
42
+ import { $ as De } from "./useFocusRing-BUzNZISS.es.js";
43
+ import { a as Vt, b as Xn } from "./FocusScope-D_JoB-Y8.es.js";
44
+ import { $ as Me } from "./useLocalizedStringFormatter-CYDf7GZk.es.js";
45
+ import { a as qn, b as Zn, $ as _t } from "./usePress-BwYt_DhT.es.js";
46
+ import { $ as Jn, a as Qn } from "./useFocusable-B3Z_s4s7.es.js";
47
+ import { $ as _ } from "./focusSafely-DfbNI-gf.es.js";
48
+ import { $ as $e } from "./getScrollParent-CYyA2kLT.es.js";
49
+ import { $ as _n } from "./useGlobalListeners-BOOfV5Wh.es.js";
50
+ import { $ as at } from "./useEffectEvent-BqXYahDg.es.js";
51
+ import { e as eo, c as to } from "./Header-BBMNqseS.es.js";
52
+ import { $ as lo } from "./LiveAnnouncer-CsPyaceH.es.js";
53
+ import { d as no, e as oo } from "./useGridListItem-eJAlF8kk.es.js";
54
+ import { $ as el } from "./useCollator-DKdD8vEj.es.js";
55
+ import { $ as io } from "./useHasTabbableChild-Bx9YAhMX.es.js";
56
+ import { $ as ro } from "./useUpdateEffect-DlZlnK9P.es.js";
57
+ import { e as ke } from "./extract-style-props-DuSHABTl.es.js";
58
+ import { Highlight as ao } from "@chakra-ui/react/highlight";
59
+ import { C as tl } from "./checkbox-DB_2vX8q.es.js";
60
+ import { F as so } from "./flex-BqxAMF-7.es.js";
61
+ function uo(t) {
62
+ let { onMoveStart: e, onMove: l, onMoveEnd: n } = t, o = T({
63
+ didMove: !1,
64
+ lastPosition: null,
65
+ id: null
66
+ }), { addGlobalListener: i, removeGlobalListener: r } = _n(), d = N((p, h, g, b) => {
67
+ g === 0 && b === 0 || (o.current.didMove || (o.current.didMove = !0, e?.({
68
+ type: "movestart",
69
+ pointerType: h,
70
+ shiftKey: p.shiftKey,
71
+ metaKey: p.metaKey,
72
+ ctrlKey: p.ctrlKey,
73
+ altKey: p.altKey
74
+ })), l?.({
75
+ type: "move",
76
+ pointerType: h,
77
+ deltaX: g,
78
+ deltaY: b,
79
+ shiftKey: p.shiftKey,
80
+ metaKey: p.metaKey,
81
+ ctrlKey: p.ctrlKey,
82
+ altKey: p.altKey
83
+ }));
84
+ }, [
85
+ e,
86
+ l,
87
+ o
88
+ ]), s = at(d), u = N((p, h) => {
89
+ qn(), o.current.didMove && n?.({
90
+ type: "moveend",
91
+ pointerType: h,
92
+ shiftKey: p.shiftKey,
93
+ metaKey: p.metaKey,
94
+ ctrlKey: p.ctrlKey,
95
+ altKey: p.altKey
96
+ });
97
+ }, [
98
+ n,
99
+ o
100
+ ]), f = at(u), [a, m] = Z(null);
101
+ return rt(() => {
102
+ if (a === "pointer") {
103
+ let p = (g) => {
104
+ if (g.pointerId === o.current.id) {
105
+ var b, $;
106
+ let y = g.pointerType || "mouse";
107
+ var v, C;
108
+ s(g, y, g.pageX - ((v = (b = o.current.lastPosition) === null || b === void 0 ? void 0 : b.pageX) !== null && v !== void 0 ? v : 0), g.pageY - ((C = ($ = o.current.lastPosition) === null || $ === void 0 ? void 0 : $.pageY) !== null && C !== void 0 ? C : 0)), o.current.lastPosition = {
109
+ pageX: g.pageX,
110
+ pageY: g.pageY
111
+ };
112
+ }
113
+ }, h = (g) => {
114
+ if (g.pointerId === o.current.id) {
115
+ let b = g.pointerType || "mouse";
116
+ f(g, b), o.current.id = null, r(window, "pointermove", p, !1), r(window, "pointerup", h, !1), r(window, "pointercancel", h, !1), m(null);
117
+ }
118
+ };
119
+ return i(window, "pointermove", p, !1), i(window, "pointerup", h, !1), i(window, "pointercancel", h, !1), () => {
120
+ r(window, "pointermove", p, !1), r(window, "pointerup", h, !1), r(window, "pointercancel", h, !1);
121
+ };
122
+ } else if (a === "mouse" && process.env.NODE_ENV === "test") {
123
+ let p = (g) => {
124
+ if (g.button === 0) {
125
+ var b, $, v, C;
126
+ s(g, "mouse", g.pageX - ((v = (b = o.current.lastPosition) === null || b === void 0 ? void 0 : b.pageX) !== null && v !== void 0 ? v : 0), g.pageY - ((C = ($ = o.current.lastPosition) === null || $ === void 0 ? void 0 : $.pageY) !== null && C !== void 0 ? C : 0)), o.current.lastPosition = {
127
+ pageX: g.pageX,
128
+ pageY: g.pageY
129
+ };
130
+ }
131
+ }, h = (g) => {
132
+ g.button === 0 && (f(g, "mouse"), r(window, "mousemove", p, !1), r(window, "mouseup", h, !1), m(null));
133
+ };
134
+ return i(window, "mousemove", p, !1), i(window, "mouseup", h, !1), () => {
135
+ r(window, "mousemove", p, !1), r(window, "mouseup", h, !1);
136
+ };
137
+ } else if (a === "touch" && process.env.NODE_ENV === "test") {
138
+ let p = (g) => {
139
+ let b = [
140
+ ...g.changedTouches
141
+ ].findIndex(({ identifier: S }) => S === o.current.id);
142
+ if (b >= 0) {
143
+ var $, v;
144
+ let { pageX: S, pageY: E } = g.changedTouches[b];
145
+ var C, y;
146
+ s(g, "touch", S - ((C = ($ = o.current.lastPosition) === null || $ === void 0 ? void 0 : $.pageX) !== null && C !== void 0 ? C : 0), E - ((y = (v = o.current.lastPosition) === null || v === void 0 ? void 0 : v.pageY) !== null && y !== void 0 ? y : 0)), o.current.lastPosition = {
147
+ pageX: S,
148
+ pageY: E
149
+ };
150
+ }
151
+ }, h = (g) => {
152
+ [
153
+ ...g.changedTouches
154
+ ].findIndex(({ identifier: $ }) => $ === o.current.id) >= 0 && (f(g, "touch"), o.current.id = null, r(window, "touchmove", p), r(window, "touchend", h), r(window, "touchcancel", h), m(null));
155
+ };
156
+ return i(window, "touchmove", p, !1), i(window, "touchend", h, !1), i(window, "touchcancel", h, !1), () => {
157
+ r(window, "touchmove", p, !1), r(window, "touchend", h, !1), r(window, "touchcancel", h, !1);
158
+ };
159
+ }
160
+ }, [
161
+ a,
162
+ i,
163
+ r
164
+ ]), {
165
+ moveProps: K(() => {
166
+ let p = {}, h = () => {
167
+ Zn(), o.current.didMove = !1;
168
+ };
169
+ typeof PointerEvent > "u" && process.env.NODE_ENV === "test" ? (p.onMouseDown = (b) => {
170
+ b.button === 0 && (h(), b.stopPropagation(), b.preventDefault(), o.current.lastPosition = {
171
+ pageX: b.pageX,
172
+ pageY: b.pageY
173
+ }, m("mouse"));
174
+ }, p.onTouchStart = (b) => {
175
+ if (b.changedTouches.length === 0 || o.current.id != null) return;
176
+ let { pageX: $, pageY: v, identifier: C } = b.changedTouches[0];
177
+ h(), b.stopPropagation(), b.preventDefault(), o.current.lastPosition = {
178
+ pageX: $,
179
+ pageY: v
180
+ }, o.current.id = C, m("touch");
181
+ }) : p.onPointerDown = (b) => {
182
+ b.button === 0 && o.current.id == null && (h(), b.stopPropagation(), b.preventDefault(), o.current.lastPosition = {
183
+ pageX: b.pageX,
184
+ pageY: b.pageY
185
+ }, o.current.id = b.pointerId, m("pointer"));
186
+ };
187
+ let g = (b, $, v) => {
188
+ h(), d(b, "keyboard", $, v), u(b, "keyboard");
189
+ };
190
+ return p.onKeyDown = (b) => {
191
+ switch (b.key) {
192
+ case "Left":
193
+ case "ArrowLeft":
194
+ b.preventDefault(), b.stopPropagation(), g(b, -1, 0);
195
+ break;
196
+ case "Right":
197
+ case "ArrowRight":
198
+ b.preventDefault(), b.stopPropagation(), g(b, 1, 0);
199
+ break;
200
+ case "Up":
201
+ case "ArrowUp":
202
+ b.preventDefault(), b.stopPropagation(), g(b, 0, -1);
203
+ break;
204
+ case "Down":
205
+ case "ArrowDown":
206
+ b.preventDefault(), b.stopPropagation(), g(b, 0, 1);
207
+ break;
208
+ }
209
+ }, p;
210
+ }, [
211
+ o,
212
+ d,
213
+ u
214
+ ])
215
+ };
216
+ }
217
+ class ll {
218
+ isCell(e) {
219
+ return e.type === "cell";
220
+ }
221
+ isRow(e) {
222
+ return e.type === "row" || e.type === "item";
223
+ }
224
+ isDisabled(e) {
225
+ var l;
226
+ return this.disabledBehavior === "all" && (((l = e.props) === null || l === void 0 ? void 0 : l.isDisabled) || this.disabledKeys.has(e.key));
227
+ }
228
+ findPreviousKey(e, l) {
229
+ let n = e != null ? this.collection.getKeyBefore(e) : this.collection.getLastKey();
230
+ for (; n != null; ) {
231
+ let o = this.collection.getItem(n);
232
+ if (!o) return null;
233
+ if (!this.isDisabled(o) && (!l || l(o))) return n;
234
+ n = this.collection.getKeyBefore(n);
235
+ }
236
+ return null;
237
+ }
238
+ findNextKey(e, l) {
239
+ let n = e != null ? this.collection.getKeyAfter(e) : this.collection.getFirstKey();
240
+ for (; n != null; ) {
241
+ let o = this.collection.getItem(n);
242
+ if (!o) return null;
243
+ if (!this.isDisabled(o) && (!l || l(o))) return n;
244
+ if (n = this.collection.getKeyAfter(n), n == null) return null;
245
+ }
246
+ return null;
247
+ }
248
+ getKeyForItemInRowByIndex(e, l = 0) {
249
+ if (l < 0) return null;
250
+ let n = this.collection.getItem(e);
251
+ if (!n) return null;
252
+ let o = 0;
253
+ for (let d of L(n, this.collection)) {
254
+ var i;
255
+ if (d.colSpan && d.colSpan + o > l) return (i = d.key) !== null && i !== void 0 ? i : null;
256
+ d.colSpan && (o = o + d.colSpan - 1);
257
+ var r;
258
+ if (o === l) return (r = d.key) !== null && r !== void 0 ? r : null;
259
+ o++;
260
+ }
261
+ return null;
262
+ }
263
+ getKeyBelow(e) {
264
+ let l = e, n = this.collection.getItem(l);
265
+ if (!n) return null;
266
+ var o;
267
+ if (this.isCell(n) && (l = (o = n.parentKey) !== null && o !== void 0 ? o : null), l == null) return null;
268
+ if (l = this.findNextKey(l, (i) => i.type === "item"), l != null) {
269
+ if (this.isCell(n)) {
270
+ let i = n.colIndex ? n.colIndex : n.index;
271
+ return this.getKeyForItemInRowByIndex(l, i);
272
+ }
273
+ if (this.focusMode === "row") return l;
274
+ }
275
+ return null;
276
+ }
277
+ getKeyAbove(e) {
278
+ let l = e, n = this.collection.getItem(l);
279
+ if (!n) return null;
280
+ var o;
281
+ if (this.isCell(n) && (l = (o = n.parentKey) !== null && o !== void 0 ? o : null), l == null) return null;
282
+ if (l = this.findPreviousKey(l, (i) => i.type === "item"), l != null) {
283
+ if (this.isCell(n)) {
284
+ let i = n.colIndex ? n.colIndex : n.index;
285
+ return this.getKeyForItemInRowByIndex(l, i);
286
+ }
287
+ if (this.focusMode === "row") return l;
288
+ }
289
+ return null;
290
+ }
291
+ getKeyRightOf(e) {
292
+ let l = this.collection.getItem(e);
293
+ if (!l) return null;
294
+ if (this.isRow(l)) {
295
+ var n, o;
296
+ let f = L(l, this.collection);
297
+ var i;
298
+ return (i = this.direction === "rtl" ? (n = ce(f)) === null || n === void 0 ? void 0 : n.key : (o = de(f)) === null || o === void 0 ? void 0 : o.key) !== null && i !== void 0 ? i : null;
299
+ }
300
+ if (this.isCell(l) && l.parentKey != null) {
301
+ let f = this.collection.getItem(l.parentKey);
302
+ if (!f) return null;
303
+ let a = L(f, this.collection);
304
+ var r;
305
+ let m = (r = this.direction === "rtl" ? Ue(a, l.index - 1) : Ue(a, l.index + 1)) !== null && r !== void 0 ? r : null;
306
+ var d;
307
+ if (m) return (d = m.key) !== null && d !== void 0 ? d : null;
308
+ var s;
309
+ if (this.focusMode === "row") return (s = l.parentKey) !== null && s !== void 0 ? s : null;
310
+ var u;
311
+ return (u = this.direction === "rtl" ? this.getFirstKey(e) : this.getLastKey(e)) !== null && u !== void 0 ? u : null;
312
+ }
313
+ return null;
314
+ }
315
+ getKeyLeftOf(e) {
316
+ let l = this.collection.getItem(e);
317
+ if (!l) return null;
318
+ if (this.isRow(l)) {
319
+ var n, o;
320
+ let f = L(l, this.collection);
321
+ var i;
322
+ return (i = this.direction === "rtl" ? (n = de(f)) === null || n === void 0 ? void 0 : n.key : (o = ce(f)) === null || o === void 0 ? void 0 : o.key) !== null && i !== void 0 ? i : null;
323
+ }
324
+ if (this.isCell(l) && l.parentKey != null) {
325
+ let f = this.collection.getItem(l.parentKey);
326
+ if (!f) return null;
327
+ let a = L(f, this.collection);
328
+ var r;
329
+ let m = (r = this.direction === "rtl" ? Ue(a, l.index + 1) : Ue(a, l.index - 1)) !== null && r !== void 0 ? r : null;
330
+ var d;
331
+ if (m) return (d = m.key) !== null && d !== void 0 ? d : null;
332
+ var s;
333
+ if (this.focusMode === "row") return (s = l.parentKey) !== null && s !== void 0 ? s : null;
334
+ var u;
335
+ return (u = this.direction === "rtl" ? this.getLastKey(e) : this.getFirstKey(e)) !== null && u !== void 0 ? u : null;
336
+ }
337
+ return null;
338
+ }
339
+ getFirstKey(e, l) {
340
+ let n = e ?? null, o;
341
+ if (n != null) {
342
+ if (o = this.collection.getItem(n), !o) return null;
343
+ if (this.isCell(o) && !l && o.parentKey != null) {
344
+ var i;
345
+ let u = this.collection.getItem(o.parentKey);
346
+ if (!u) return null;
347
+ var r;
348
+ return (r = (i = de(L(u, this.collection))) === null || i === void 0 ? void 0 : i.key) !== null && r !== void 0 ? r : null;
349
+ }
350
+ }
351
+ if (n = this.findNextKey(void 0, (u) => u.type === "item"), n != null && (o && this.isCell(o) && l || this.focusMode === "cell")) {
352
+ var d;
353
+ let u = this.collection.getItem(n);
354
+ if (!u) return null;
355
+ var s;
356
+ n = (s = (d = de(L(u, this.collection))) === null || d === void 0 ? void 0 : d.key) !== null && s !== void 0 ? s : null;
357
+ }
358
+ return n;
359
+ }
360
+ getLastKey(e, l) {
361
+ let n = e ?? null, o;
362
+ if (n != null) {
363
+ if (o = this.collection.getItem(n), !o) return null;
364
+ if (this.isCell(o) && !l && o.parentKey != null) {
365
+ var i;
366
+ let u = this.collection.getItem(o.parentKey);
367
+ if (!u) return null;
368
+ let f = L(u, this.collection);
369
+ var r;
370
+ return (r = (i = ce(f)) === null || i === void 0 ? void 0 : i.key) !== null && r !== void 0 ? r : null;
371
+ }
372
+ }
373
+ if (n = this.findPreviousKey(void 0, (u) => u.type === "item"), n != null && (o && this.isCell(o) && l || this.focusMode === "cell")) {
374
+ var d;
375
+ let u = this.collection.getItem(n);
376
+ if (!u) return null;
377
+ let f = L(u, this.collection);
378
+ var s;
379
+ n = (s = (d = ce(f)) === null || d === void 0 ? void 0 : d.key) !== null && s !== void 0 ? s : null;
380
+ }
381
+ return n;
382
+ }
383
+ getKeyPageAbove(e) {
384
+ let l = e, n = this.layoutDelegate.getItemRect(l);
385
+ if (!n) return null;
386
+ let o = Math.max(0, n.y + n.height - this.layoutDelegate.getVisibleRect().height);
387
+ for (; n && n.y > o && l != null; ) {
388
+ var i;
389
+ if (l = (i = this.getKeyAbove(l)) !== null && i !== void 0 ? i : null, l == null) break;
390
+ n = this.layoutDelegate.getItemRect(l);
391
+ }
392
+ return l;
393
+ }
394
+ getKeyPageBelow(e) {
395
+ let l = e, n = this.layoutDelegate.getItemRect(l);
396
+ if (!n) return null;
397
+ let o = this.layoutDelegate.getVisibleRect().height, i = Math.min(this.layoutDelegate.getContentSize().height, n.y + o);
398
+ for (; n && n.y + n.height < i; ) {
399
+ let r = this.getKeyBelow(l);
400
+ if (r == null) break;
401
+ n = this.layoutDelegate.getItemRect(r), l = r;
402
+ }
403
+ return l;
404
+ }
405
+ getKeyForSearch(e, l) {
406
+ let n = l ?? null;
407
+ if (!this.collator) return null;
408
+ let o = this.collection;
409
+ if (n = l ?? this.getFirstKey(), n == null) return null;
410
+ let i = o.getItem(n);
411
+ if (!i) return null;
412
+ var r;
413
+ i.type === "cell" && (n = (r = i.parentKey) !== null && r !== void 0 ? r : null);
414
+ let d = !1;
415
+ for (; n != null; ) {
416
+ let f = o.getItem(n);
417
+ if (!f) return null;
418
+ if (f.textValue) {
419
+ let a = f.textValue.slice(0, e.length);
420
+ if (this.collator.compare(a, e) === 0) {
421
+ var s, u;
422
+ return this.isRow(f) && this.focusMode === "cell" ? (u = (s = de(L(f, this.collection))) === null || s === void 0 ? void 0 : s.key) !== null && u !== void 0 ? u : null : f.key;
423
+ }
424
+ }
425
+ n = this.findNextKey(n, (a) => a.type === "item"), n == null && !d && (n = this.getFirstKey(), d = !0);
426
+ }
427
+ return null;
428
+ }
429
+ constructor(e) {
430
+ if (this.collection = e.collection, this.disabledKeys = e.disabledKeys, this.disabledBehavior = e.disabledBehavior || "all", this.direction = e.direction, this.collator = e.collator, !e.layout && !e.ref) throw new Error("Either a layout or a ref must be specified.");
431
+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new co(e.layout) : new eo(e.ref));
432
+ var l;
433
+ this.focusMode = (l = e.focusMode) !== null && l !== void 0 ? l : "row";
434
+ }
435
+ }
436
+ class co {
437
+ getContentSize() {
438
+ return this.layout.getContentSize();
439
+ }
440
+ getItemRect(e) {
441
+ var l;
442
+ return ((l = this.layout.getLayoutInfo(e)) === null || l === void 0 ? void 0 : l.rect) || null;
443
+ }
444
+ getVisibleRect() {
445
+ return this.layout.virtualizer.visibleRect;
446
+ }
447
+ constructor(e) {
448
+ this.layout = e;
449
+ }
450
+ }
451
+ const mt = /* @__PURE__ */ new WeakMap();
452
+ function fo(t, e, l) {
453
+ let { isVirtualized: n, disallowTypeAhead: o, keyboardDelegate: i, focusMode: r, scrollRef: d, getRowText: s, onRowAction: u, onCellAction: f, escapeKeyBehavior: a = "clearSelection", shouldSelectOnPressUp: m } = t, { selectionManager: c } = e;
454
+ !t["aria-label"] && !t["aria-labelledby"] && console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
455
+ let p = el({
456
+ usage: "search",
457
+ sensitivity: "base"
458
+ }), { direction: h } = Ee(), g = e.selectionManager.disabledBehavior, b = K(() => i || new ll({
459
+ collection: e.collection,
460
+ disabledKeys: e.disabledKeys,
461
+ disabledBehavior: g,
462
+ ref: l,
463
+ direction: h,
464
+ collator: p,
465
+ focusMode: r
466
+ }), [
467
+ i,
468
+ e.collection,
469
+ e.disabledKeys,
470
+ g,
471
+ l,
472
+ h,
473
+ p,
474
+ r
475
+ ]), { collectionProps: $ } = kn({
476
+ ref: l,
477
+ selectionManager: c,
478
+ keyboardDelegate: b,
479
+ isVirtualized: n,
480
+ scrollRef: d,
481
+ disallowTypeAhead: o,
482
+ escapeKeyBehavior: a
483
+ }), v = ft(t.id);
484
+ mt.set(e, {
485
+ keyboardDelegate: b,
486
+ actions: {
487
+ onRowAction: u,
488
+ onCellAction: f
489
+ },
490
+ shouldSelectOnPressUp: m
491
+ });
492
+ let C = no({
493
+ selectionManager: c,
494
+ hasItemActions: !!(u || f)
495
+ }), y = ee(t, {
496
+ labelable: !0
497
+ }), S = N((M) => {
498
+ if (c.isFocused) {
499
+ Xe(M.currentTarget, we(M)) || c.setFocused(!1);
500
+ return;
501
+ }
502
+ Xe(M.currentTarget, we(M)) && c.setFocused(!0);
503
+ }, [
504
+ c
505
+ ]), E = K(() => ({
506
+ onBlur: $.onBlur,
507
+ onFocus: S
508
+ }), [
509
+ S,
510
+ $.onBlur
511
+ ]), P = io(l, {
512
+ isDisabled: e.collection.size !== 0
513
+ }), B = j(
514
+ y,
515
+ {
516
+ role: "grid",
517
+ id: v,
518
+ "aria-multiselectable": c.selectionMode === "multiple" ? "true" : void 0
519
+ },
520
+ e.isKeyboardNavigationDisabled ? E : $,
521
+ // If collection is empty, make sure the grid is tabbable unless there is a child tabbable element.
522
+ e.collection.size === 0 && {
523
+ tabIndex: P ? -1 : 0
524
+ } || void 0,
525
+ C
526
+ );
527
+ return n && (B["aria-rowcount"] = e.collection.size, B["aria-colcount"] = e.collection.columnCount), oo({
528
+ getRowText: s
529
+ }, e), {
530
+ gridProps: B
531
+ };
532
+ }
533
+ function po() {
534
+ return {
535
+ rowGroupProps: {
536
+ role: "rowgroup"
537
+ }
538
+ };
539
+ }
540
+ function mo(t, e, l) {
541
+ var n, o;
542
+ let { node: i, isVirtualized: r, shouldSelectOnPressUp: d, onAction: s } = t, { actions: u, shouldSelectOnPressUp: f } = mt.get(e), a = u.onRowAction ? () => {
543
+ var g;
544
+ return (g = u.onRowAction) === null || g === void 0 ? void 0 : g.call(u, i.key);
545
+ } : s, { itemProps: m, ...c } = qt({
546
+ selectionManager: e.selectionManager,
547
+ key: i.key,
548
+ ref: l,
549
+ isVirtualized: r,
550
+ shouldSelectOnPressUp: f || d,
551
+ onAction: a || !(i == null || (n = i.props) === null || n === void 0) && n.onAction ? Hn(i == null || (o = i.props) === null || o === void 0 ? void 0 : o.onAction, a) : void 0,
552
+ isDisabled: e.collection.size === 0
553
+ }), p = e.selectionManager.isSelected(i.key), h = {
554
+ role: "row",
555
+ "aria-selected": e.selectionManager.selectionMode !== "none" ? p : void 0,
556
+ "aria-disabled": c.isDisabled || void 0,
557
+ ...m
558
+ };
559
+ return r && (h["aria-rowindex"] = i.index + 1), {
560
+ rowProps: h,
561
+ ...c
562
+ };
563
+ }
564
+ function nl(t, e, l) {
565
+ let { node: n, isVirtualized: o, focusMode: i = "child", shouldSelectOnPressUp: r, onAction: d } = t, { direction: s } = Ee(), { keyboardDelegate: u, actions: { onCellAction: f } } = mt.get(e), a = T(null), m = () => {
566
+ if (l.current) {
567
+ let v = Vt(l.current);
568
+ if (i === "child") {
569
+ if (It(l.current) && l.current !== Ge()) return;
570
+ let C = e.selectionManager.childFocusStrategy === "last" ? ot(v) : v.firstChild();
571
+ if (C) {
572
+ _(C);
573
+ return;
574
+ }
575
+ }
576
+ (a.current != null && n.key !== a.current || !It(l.current)) && _(l.current);
577
+ }
578
+ }, { itemProps: c, isPressed: p } = qt({
579
+ selectionManager: e.selectionManager,
580
+ key: n.key,
581
+ ref: l,
582
+ isVirtualized: o,
583
+ focus: m,
584
+ shouldSelectOnPressUp: r,
585
+ onAction: f ? () => f(n.key) : d,
586
+ isDisabled: e.collection.size === 0
587
+ }), h = (v) => {
588
+ let C = Ge();
589
+ if (!Xe(v.currentTarget, we(v)) || e.isKeyboardNavigationDisabled || !l.current || !C) return;
590
+ let y = Vt(l.current);
591
+ switch (y.currentNode = C, v.key) {
592
+ case "ArrowLeft": {
593
+ let z = s === "rtl" ? y.nextNode() : y.previousNode();
594
+ if (i === "child" && z === l.current && (z = null), v.preventDefault(), v.stopPropagation(), z)
595
+ _(z), ye(z, {
596
+ containingElement: $e(l.current)
597
+ });
598
+ else {
599
+ var S;
600
+ if (((S = u.getKeyLeftOf) === null || S === void 0 ? void 0 : S.call(u, n.key)) !== n.key) {
601
+ var E;
602
+ (E = l.current.parentElement) === null || E === void 0 || E.dispatchEvent(new KeyboardEvent(v.nativeEvent.type, v.nativeEvent));
603
+ break;
604
+ }
605
+ i === "cell" && s === "rtl" ? (_(l.current), ye(l.current, {
606
+ containingElement: $e(l.current)
607
+ })) : (y.currentNode = l.current, z = s === "rtl" ? y.firstChild() : ot(y), z && (_(z), ye(z, {
608
+ containingElement: $e(l.current)
609
+ })));
610
+ }
611
+ break;
612
+ }
613
+ case "ArrowRight": {
614
+ let z = s === "rtl" ? y.previousNode() : y.nextNode();
615
+ if (i === "child" && z === l.current && (z = null), v.preventDefault(), v.stopPropagation(), z)
616
+ _(z), ye(z, {
617
+ containingElement: $e(l.current)
618
+ });
619
+ else {
620
+ var P;
621
+ if (((P = u.getKeyRightOf) === null || P === void 0 ? void 0 : P.call(u, n.key)) !== n.key) {
622
+ var B;
623
+ (B = l.current.parentElement) === null || B === void 0 || B.dispatchEvent(new KeyboardEvent(v.nativeEvent.type, v.nativeEvent));
624
+ break;
625
+ }
626
+ i === "cell" && s === "ltr" ? (_(l.current), ye(l.current, {
627
+ containingElement: $e(l.current)
628
+ })) : (y.currentNode = l.current, z = s === "rtl" ? ot(y) : y.firstChild(), z && (_(z), ye(z, {
629
+ containingElement: $e(l.current)
630
+ })));
631
+ }
632
+ break;
633
+ }
634
+ case "ArrowUp":
635
+ case "ArrowDown":
636
+ if (!v.altKey && Xe(l.current, we(v))) {
637
+ var M;
638
+ v.stopPropagation(), v.preventDefault(), (M = l.current.parentElement) === null || M === void 0 || M.dispatchEvent(new KeyboardEvent(v.nativeEvent.type, v.nativeEvent));
639
+ }
640
+ break;
641
+ }
642
+ }, g = (v) => {
643
+ if (a.current = n.key, we(v) !== l.current) {
644
+ Un() || e.selectionManager.setFocusedKey(n.key);
645
+ return;
646
+ }
647
+ requestAnimationFrame(() => {
648
+ i === "child" && Ge() === l.current && m();
649
+ });
650
+ }, b = j(c, {
651
+ role: "gridcell",
652
+ onKeyDownCapture: h,
653
+ "aria-colspan": n.colSpan,
654
+ "aria-colindex": n.colIndex != null ? n.colIndex + 1 : void 0,
655
+ colSpan: o ? void 0 : n.colSpan,
656
+ onFocus: g
657
+ });
658
+ var $;
659
+ return o && (b["aria-colindex"] = (($ = n.colIndex) !== null && $ !== void 0 ? $ : n.index) + 1), r && b.tabIndex != null && b.onPointerDown == null && (b.onPointerDown = (v) => {
660
+ let C = v.currentTarget, y = C.getAttribute("tabindex");
661
+ C.removeAttribute("tabindex"), requestAnimationFrame(() => {
662
+ y != null && C.setAttribute("tabindex", y);
663
+ });
664
+ }), {
665
+ gridCellProps: b,
666
+ isPressed: p
667
+ };
668
+ }
669
+ function ot(t) {
670
+ let e = null, l = null;
671
+ do
672
+ l = t.lastChild(), l && (e = l);
673
+ while (l);
674
+ return e;
675
+ }
676
+ const ht = /* @__PURE__ */ new WeakMap();
677
+ function st(t) {
678
+ return typeof t == "string" ? t.replace(/\s*/g, "") : "" + t;
679
+ }
680
+ function ol(t, e) {
681
+ let l = ht.get(t);
682
+ if (!l) throw new Error("Unknown grid");
683
+ return `${l}-${st(e)}`;
684
+ }
685
+ function il(t, e, l) {
686
+ let n = ht.get(t);
687
+ if (!n) throw new Error("Unknown grid");
688
+ return `${n}-${st(e)}-${st(l)}`;
689
+ }
690
+ function rl(t, e) {
691
+ return [
692
+ ...t.collection.rowHeaderColumnKeys
693
+ ].map((l) => il(t, e, l)).join(" ");
694
+ }
695
+ var al = {};
696
+ al = {
697
+ ascending: "تصاعدي",
698
+ ascendingSort: (t) => `ترتيب حسب العمود ${t.columnName} بترتيب تصاعدي`,
699
+ columnSize: (t) => `${t.value} بالبكسل`,
700
+ descending: "تنازلي",
701
+ descendingSort: (t) => `ترتيب حسب العمود ${t.columnName} بترتيب تنازلي`,
702
+ resizerDescription: "اضغط على مفتاح Enter لبدء تغيير الحجم",
703
+ select: "تحديد",
704
+ selectAll: "تحديد الكل",
705
+ sortable: "عمود قابل للترتيب"
706
+ };
707
+ var sl = {};
708
+ sl = {
709
+ ascending: "възходящ",
710
+ ascendingSort: (t) => `сортирано по колона ${t.columnName} във възходящ ред`,
711
+ columnSize: (t) => `${t.value} пиксела`,
712
+ descending: "низходящ",
713
+ descendingSort: (t) => `сортирано по колона ${t.columnName} в низходящ ред`,
714
+ resizerDescription: "Натиснете „Enter“, за да започнете да преоразмерявате",
715
+ select: "Изберете",
716
+ selectAll: "Изберете всичко",
717
+ sortable: "сортираща колона"
718
+ };
719
+ var ul = {};
720
+ ul = {
721
+ ascending: "vzestupně",
722
+ ascendingSort: (t) => `řazeno vzestupně podle sloupce ${t.columnName}`,
723
+ columnSize: (t) => `${t.value} pixelů`,
724
+ descending: "sestupně",
725
+ descendingSort: (t) => `řazeno sestupně podle sloupce ${t.columnName}`,
726
+ resizerDescription: "Stisknutím klávesy Enter začnete měnit velikost",
727
+ select: "Vybrat",
728
+ selectAll: "Vybrat vše",
729
+ sortable: "sloupec s možností řazení"
730
+ };
731
+ var dl = {};
732
+ dl = {
733
+ ascending: "stigende",
734
+ ascendingSort: (t) => `sorteret efter kolonne ${t.columnName} i stigende rækkefølge`,
735
+ columnSize: (t) => `${t.value} pixels`,
736
+ descending: "faldende",
737
+ descendingSort: (t) => `sorteret efter kolonne ${t.columnName} i faldende rækkefølge`,
738
+ resizerDescription: "Tryk på Enter for at ændre størrelse",
739
+ select: "Vælg",
740
+ selectAll: "Vælg alle",
741
+ sortable: "sorterbar kolonne"
742
+ };
743
+ var cl = {};
744
+ cl = {
745
+ ascending: "aufsteigend",
746
+ ascendingSort: (t) => `sortiert nach Spalte ${t.columnName} in aufsteigender Reihenfolge`,
747
+ columnSize: (t) => `${t.value} Pixel`,
748
+ descending: "absteigend",
749
+ descendingSort: (t) => `sortiert nach Spalte ${t.columnName} in absteigender Reihenfolge`,
750
+ resizerDescription: "Eingabetaste zum Starten der Größenänderung drücken",
751
+ select: "Auswählen",
752
+ selectAll: "Alles auswählen",
753
+ sortable: "sortierbare Spalte"
754
+ };
755
+ var fl = {};
756
+ fl = {
757
+ ascending: "αύξουσα",
758
+ ascendingSort: (t) => `διαλογή ανά στήλη ${t.columnName} σε αύξουσα σειρά`,
759
+ columnSize: (t) => `${t.value} pixel`,
760
+ descending: "φθίνουσα",
761
+ descendingSort: (t) => `διαλογή ανά στήλη ${t.columnName} σε φθίνουσα σειρά`,
762
+ resizerDescription: "Πατήστε Enter για έναρξη της αλλαγής μεγέθους",
763
+ select: "Επιλογή",
764
+ selectAll: "Επιλογή όλων",
765
+ sortable: "Στήλη διαλογής"
766
+ };
767
+ var pl = {};
768
+ pl = {
769
+ select: "Select",
770
+ selectAll: "Select All",
771
+ sortable: "sortable column",
772
+ ascending: "ascending",
773
+ descending: "descending",
774
+ ascendingSort: (t) => `sorted by column ${t.columnName} in ascending order`,
775
+ descendingSort: (t) => `sorted by column ${t.columnName} in descending order`,
776
+ columnSize: (t) => `${t.value} pixels`,
777
+ resizerDescription: "Press Enter to start resizing"
778
+ };
779
+ var ml = {};
780
+ ml = {
781
+ ascending: "ascendente",
782
+ ascendingSort: (t) => `ordenado por columna ${t.columnName} en sentido ascendente`,
783
+ columnSize: (t) => `${t.value} píxeles`,
784
+ descending: "descendente",
785
+ descendingSort: (t) => `ordenado por columna ${t.columnName} en orden descendente`,
786
+ resizerDescription: "Pulse Intro para empezar a redimensionar",
787
+ select: "Seleccionar",
788
+ selectAll: "Seleccionar todos",
789
+ sortable: "columna ordenable"
790
+ };
791
+ var hl = {};
792
+ hl = {
793
+ ascending: "tõusev järjestus",
794
+ ascendingSort: (t) => `sorditud veeru järgi ${t.columnName} tõusvas järjestuses`,
795
+ columnSize: (t) => `${t.value} pikslit`,
796
+ descending: "laskuv järjestus",
797
+ descendingSort: (t) => `sorditud veeru järgi ${t.columnName} laskuvas järjestuses`,
798
+ resizerDescription: "Suuruse muutmise alustamiseks vajutage klahvi Enter",
799
+ select: "Vali",
800
+ selectAll: "Vali kõik",
801
+ sortable: "sorditav veerg"
802
+ };
803
+ var bl = {};
804
+ bl = {
805
+ ascending: "nouseva",
806
+ ascendingSort: (t) => `lajiteltu sarakkeen ${t.columnName} mukaan nousevassa järjestyksessä`,
807
+ columnSize: (t) => `${t.value} pikseliä`,
808
+ descending: "laskeva",
809
+ descendingSort: (t) => `lajiteltu sarakkeen ${t.columnName} mukaan laskevassa järjestyksessä`,
810
+ resizerDescription: "Aloita koon muutos painamalla Enter-näppäintä",
811
+ select: "Valitse",
812
+ selectAll: "Valitse kaikki",
813
+ sortable: "lajiteltava sarake"
814
+ };
815
+ var gl = {};
816
+ gl = {
817
+ ascending: "croissant",
818
+ ascendingSort: (t) => `trié en fonction de la colonne ${t.columnName} par ordre croissant`,
819
+ columnSize: (t) => `${t.value} pixels`,
820
+ descending: "décroissant",
821
+ descendingSort: (t) => `trié en fonction de la colonne ${t.columnName} par ordre décroissant`,
822
+ resizerDescription: "Appuyez sur Entrée pour commencer le redimensionnement.",
823
+ select: "Sélectionner",
824
+ selectAll: "Sélectionner tout",
825
+ sortable: "colonne triable"
826
+ };
827
+ var vl = {};
828
+ vl = {
829
+ ascending: "עולה",
830
+ ascendingSort: (t) => `מוין לפי עמודה ${t.columnName} בסדר עולה`,
831
+ columnSize: (t) => `${t.value} פיקסלים`,
832
+ descending: "יורד",
833
+ descendingSort: (t) => `מוין לפי עמודה ${t.columnName} בסדר יורד`,
834
+ resizerDescription: "הקש Enter כדי לשנות את הגודל",
835
+ select: "בחר",
836
+ selectAll: "בחר הכול",
837
+ sortable: "עמודה שניתן למיין"
838
+ };
839
+ var yl = {};
840
+ yl = {
841
+ ascending: "rastući",
842
+ ascendingSort: (t) => `razvrstano po stupcima ${t.columnName} rastućem redoslijedom`,
843
+ columnSize: (t) => `${t.value} piksela`,
844
+ descending: "padajući",
845
+ descendingSort: (t) => `razvrstano po stupcima ${t.columnName} padajućim redoslijedom`,
846
+ resizerDescription: "Pritisnite Enter da biste započeli promenu veličine",
847
+ select: "Odaberite",
848
+ selectAll: "Odaberite sve",
849
+ sortable: "stupac koji se može razvrstati"
850
+ };
851
+ var $l = {};
852
+ $l = {
853
+ ascending: "növekvő",
854
+ ascendingSort: (t) => `rendezve a(z) ${t.columnName} oszlop szerint, növekvő sorrendben`,
855
+ columnSize: (t) => `${t.value} képpont`,
856
+ descending: "csökkenő",
857
+ descendingSort: (t) => `rendezve a(z) ${t.columnName} oszlop szerint, csökkenő sorrendben`,
858
+ resizerDescription: "Nyomja le az Enter billentyűt az átméretezés megkezdéséhez",
859
+ select: "Kijelölés",
860
+ selectAll: "Összes kijelölése",
861
+ sortable: "rendezendő oszlop"
862
+ };
863
+ var xl = {};
864
+ xl = {
865
+ ascending: "crescente",
866
+ ascendingSort: (t) => `in ordine crescente in base alla colonna ${t.columnName}`,
867
+ columnSize: (t) => `${t.value} pixel`,
868
+ descending: "decrescente",
869
+ descendingSort: (t) => `in ordine decrescente in base alla colonna ${t.columnName}`,
870
+ resizerDescription: "Premi Invio per iniziare a ridimensionare",
871
+ select: "Seleziona",
872
+ selectAll: "Seleziona tutto",
873
+ sortable: "colonna ordinabile"
874
+ };
875
+ var Cl = {};
876
+ Cl = {
877
+ ascending: "昇順",
878
+ ascendingSort: (t) => `列 ${t.columnName} を昇順で並べ替え`,
879
+ columnSize: (t) => `${t.value} ピクセル`,
880
+ descending: "降順",
881
+ descendingSort: (t) => `列 ${t.columnName} を降順で並べ替え`,
882
+ resizerDescription: "Enter キーを押してサイズ変更を開始",
883
+ select: "選択",
884
+ selectAll: "すべて選択",
885
+ sortable: "並べ替え可能な列"
886
+ };
887
+ var wl = {};
888
+ wl = {
889
+ ascending: "오름차순",
890
+ ascendingSort: (t) => `${t.columnName} 열을 기준으로 오름차순으로 정렬됨`,
891
+ columnSize: (t) => `${t.value} 픽셀`,
892
+ descending: "내림차순",
893
+ descendingSort: (t) => `${t.columnName} 열을 기준으로 내림차순으로 정렬됨`,
894
+ resizerDescription: "크기 조정을 시작하려면 Enter를 누르세요.",
895
+ select: "선택",
896
+ selectAll: "모두 선택",
897
+ sortable: "정렬 가능한 열"
898
+ };
899
+ var Dl = {};
900
+ Dl = {
901
+ ascending: "didėjančia tvarka",
902
+ ascendingSort: (t) => `surikiuota pagal stulpelį ${t.columnName} didėjančia tvarka`,
903
+ columnSize: (t) => `${t.value} piks.`,
904
+ descending: "mažėjančia tvarka",
905
+ descendingSort: (t) => `surikiuota pagal stulpelį ${t.columnName} mažėjančia tvarka`,
906
+ resizerDescription: "Paspauskite „Enter“, kad pradėtumėte keisti dydį",
907
+ select: "Pasirinkti",
908
+ selectAll: "Pasirinkti viską",
909
+ sortable: "rikiuojamas stulpelis"
910
+ };
911
+ var Sl = {};
912
+ Sl = {
913
+ ascending: "augošā secībā",
914
+ ascendingSort: (t) => `kārtots pēc kolonnas ${t.columnName} augošā secībā`,
915
+ columnSize: (t) => `${t.value} pikseļi`,
916
+ descending: "dilstošā secībā",
917
+ descendingSort: (t) => `kārtots pēc kolonnas ${t.columnName} dilstošā secībā`,
918
+ resizerDescription: "Nospiediet Enter, lai sāktu izmēru mainīšanu",
919
+ select: "Atlasīt",
920
+ selectAll: "Atlasīt visu",
921
+ sortable: "kārtojamā kolonna"
922
+ };
923
+ var El = {};
924
+ El = {
925
+ ascending: "stigende",
926
+ ascendingSort: (t) => `sortert etter kolonne ${t.columnName} i stigende rekkefølge`,
927
+ columnSize: (t) => `${t.value} piksler`,
928
+ descending: "synkende",
929
+ descendingSort: (t) => `sortert etter kolonne ${t.columnName} i synkende rekkefølge`,
930
+ resizerDescription: "Trykk på Enter for å starte størrelsesendring",
931
+ select: "Velg",
932
+ selectAll: "Velg alle",
933
+ sortable: "kolonne som kan sorteres"
934
+ };
935
+ var kl = {};
936
+ kl = {
937
+ ascending: "oplopend",
938
+ ascendingSort: (t) => `gesorteerd in oplopende volgorde in kolom ${t.columnName}`,
939
+ columnSize: (t) => `${t.value} pixels`,
940
+ descending: "aflopend",
941
+ descendingSort: (t) => `gesorteerd in aflopende volgorde in kolom ${t.columnName}`,
942
+ resizerDescription: "Druk op Enter om het formaat te wijzigen",
943
+ select: "Selecteren",
944
+ selectAll: "Alles selecteren",
945
+ sortable: "sorteerbare kolom"
946
+ };
947
+ var zl = {};
948
+ zl = {
949
+ ascending: "rosnąco",
950
+ ascendingSort: (t) => `posortowano według kolumny ${t.columnName} w porządku rosnącym`,
951
+ columnSize: (t) => `Liczba pikseli: ${t.value}`,
952
+ descending: "malejąco",
953
+ descendingSort: (t) => `posortowano według kolumny ${t.columnName} w porządku malejącym`,
954
+ resizerDescription: "Naciśnij Enter, aby rozpocząć zmienianie rozmiaru",
955
+ select: "Zaznacz",
956
+ selectAll: "Zaznacz wszystko",
957
+ sortable: "kolumna z możliwością sortowania"
958
+ };
959
+ var Rl = {};
960
+ Rl = {
961
+ ascending: "crescente",
962
+ ascendingSort: (t) => `classificado pela coluna ${t.columnName} em ordem crescente`,
963
+ columnSize: (t) => `${t.value} pixels`,
964
+ descending: "decrescente",
965
+ descendingSort: (t) => `classificado pela coluna ${t.columnName} em ordem decrescente`,
966
+ resizerDescription: "Pressione Enter para começar a redimensionar",
967
+ select: "Selecionar",
968
+ selectAll: "Selecionar tudo",
969
+ sortable: "coluna classificável"
970
+ };
971
+ var Al = {};
972
+ Al = {
973
+ ascending: "ascendente",
974
+ ascendingSort: (t) => `Ordenar por coluna ${t.columnName} em ordem ascendente`,
975
+ columnSize: (t) => `${t.value} pixels`,
976
+ descending: "descendente",
977
+ descendingSort: (t) => `Ordenar por coluna ${t.columnName} em ordem descendente`,
978
+ resizerDescription: "Prima Enter para iniciar o redimensionamento",
979
+ select: "Selecionar",
980
+ selectAll: "Selecionar tudo",
981
+ sortable: "Coluna ordenável"
982
+ };
983
+ var Tl = {};
984
+ Tl = {
985
+ ascending: "crescătoare",
986
+ ascendingSort: (t) => `sortate după coloana ${t.columnName} în ordine crescătoare`,
987
+ columnSize: (t) => `${t.value} pixeli`,
988
+ descending: "descrescătoare",
989
+ descendingSort: (t) => `sortate după coloana ${t.columnName} în ordine descrescătoare`,
990
+ resizerDescription: "Apăsați pe Enter pentru a începe redimensionarea",
991
+ select: "Selectare",
992
+ selectAll: "Selectare totală",
993
+ sortable: "coloană sortabilă"
994
+ };
995
+ var Pl = {};
996
+ Pl = {
997
+ ascending: "возрастание",
998
+ ascendingSort: (t) => `сортировать столбец ${t.columnName} в порядке возрастания`,
999
+ columnSize: (t) => `${t.value} пикс.`,
1000
+ descending: "убывание",
1001
+ descendingSort: (t) => `сортировать столбец ${t.columnName} в порядке убывания`,
1002
+ resizerDescription: "Нажмите клавишу Enter для начала изменения размеров",
1003
+ select: "Выбрать",
1004
+ selectAll: "Выбрать все",
1005
+ sortable: "сортируемый столбец"
1006
+ };
1007
+ var Bl = {};
1008
+ Bl = {
1009
+ ascending: "vzostupne",
1010
+ ascendingSort: (t) => `zoradené zostupne podľa stĺpca ${t.columnName}`,
1011
+ columnSize: (t) => `Počet pixelov: ${t.value}`,
1012
+ descending: "zostupne",
1013
+ descendingSort: (t) => `zoradené zostupne podľa stĺpca ${t.columnName}`,
1014
+ resizerDescription: "Stlačením klávesu Enter začnete zmenu veľkosti",
1015
+ select: "Vybrať",
1016
+ selectAll: "Vybrať všetko",
1017
+ sortable: "zoraditeľný stĺpec"
1018
+ };
1019
+ var Kl = {};
1020
+ Kl = {
1021
+ ascending: "naraščajoče",
1022
+ ascendingSort: (t) => `razvrščeno po stolpcu ${t.columnName} v naraščajočem vrstnem redu`,
1023
+ columnSize: (t) => `${t.value} slikovnih pik`,
1024
+ descending: "padajoče",
1025
+ descendingSort: (t) => `razvrščeno po stolpcu ${t.columnName} v padajočem vrstnem redu`,
1026
+ resizerDescription: "Pritisnite tipko Enter da začnete spreminjati velikost",
1027
+ select: "Izberite",
1028
+ selectAll: "Izberite vse",
1029
+ sortable: "razvrstljivi stolpec"
1030
+ };
1031
+ var Ml = {};
1032
+ Ml = {
1033
+ ascending: "rastući",
1034
+ ascendingSort: (t) => `sortirano po kolonama ${t.columnName} rastućim redosledom`,
1035
+ columnSize: (t) => `${t.value} piksela`,
1036
+ descending: "padajući",
1037
+ descendingSort: (t) => `sortirano po kolonama ${t.columnName} padajućim redosledom`,
1038
+ resizerDescription: "Pritisnite Enter da biste započeli promenu veličine",
1039
+ select: "Izaberite",
1040
+ selectAll: "Izaberite sve",
1041
+ sortable: "kolona koja se može sortirati"
1042
+ };
1043
+ var Nl = {};
1044
+ Nl = {
1045
+ ascending: "stigande",
1046
+ ascendingSort: (t) => `sorterat på kolumn ${t.columnName} i stigande ordning`,
1047
+ columnSize: (t) => `${t.value} pixlar`,
1048
+ descending: "fallande",
1049
+ descendingSort: (t) => `sorterat på kolumn ${t.columnName} i fallande ordning`,
1050
+ resizerDescription: "Tryck på Retur för att börja ändra storlek",
1051
+ select: "Markera",
1052
+ selectAll: "Markera allt",
1053
+ sortable: "sorterbar kolumn"
1054
+ };
1055
+ var Fl = {};
1056
+ Fl = {
1057
+ ascending: "artan sırada",
1058
+ ascendingSort: (t) => `${t.columnName} sütuna göre artan düzende sırala`,
1059
+ columnSize: (t) => `${t.value} piksel`,
1060
+ descending: "azalan sırada",
1061
+ descendingSort: (t) => `${t.columnName} sütuna göre azalan düzende sırala`,
1062
+ resizerDescription: "Yeniden boyutlandırmak için Enter'a basın",
1063
+ select: "Seç",
1064
+ selectAll: "Tümünü Seç",
1065
+ sortable: "Sıralanabilir sütun"
1066
+ };
1067
+ var Il = {};
1068
+ Il = {
1069
+ ascending: "висхідний",
1070
+ ascendingSort: (t) => `відсортовано за стовпцем ${t.columnName} у висхідному порядку`,
1071
+ columnSize: (t) => `${t.value} пікс.`,
1072
+ descending: "низхідний",
1073
+ descendingSort: (t) => `відсортовано за стовпцем ${t.columnName} у низхідному порядку`,
1074
+ resizerDescription: "Натисніть Enter, щоб почати зміну розміру",
1075
+ select: "Вибрати",
1076
+ selectAll: "Вибрати все",
1077
+ sortable: "сортувальний стовпець"
1078
+ };
1079
+ var Vl = {};
1080
+ Vl = {
1081
+ ascending: "升序",
1082
+ ascendingSort: (t) => `按列 ${t.columnName} 升序排序`,
1083
+ columnSize: (t) => `${t.value} 像素`,
1084
+ descending: "降序",
1085
+ descendingSort: (t) => `按列 ${t.columnName} 降序排序`,
1086
+ resizerDescription: "按“输入”键开始调整大小。",
1087
+ select: "选择",
1088
+ selectAll: "全选",
1089
+ sortable: "可排序的列"
1090
+ };
1091
+ var Hl = {};
1092
+ Hl = {
1093
+ ascending: "遞增",
1094
+ ascendingSort: (t) => `已依據「${t.columnName}」欄遞增排序`,
1095
+ columnSize: (t) => `${t.value} 像素`,
1096
+ descending: "遞減",
1097
+ descendingSort: (t) => `已依據「${t.columnName}」欄遞減排序`,
1098
+ resizerDescription: "按 Enter 鍵以開始調整大小",
1099
+ select: "選取",
1100
+ selectAll: "全選",
1101
+ sortable: "可排序的欄"
1102
+ };
1103
+ var Ne = {};
1104
+ Ne = {
1105
+ "ar-AE": al,
1106
+ "bg-BG": sl,
1107
+ "cs-CZ": ul,
1108
+ "da-DK": dl,
1109
+ "de-DE": cl,
1110
+ "el-GR": fl,
1111
+ "en-US": pl,
1112
+ "es-ES": ml,
1113
+ "et-EE": hl,
1114
+ "fi-FI": bl,
1115
+ "fr-FR": gl,
1116
+ "he-IL": vl,
1117
+ "hr-HR": yl,
1118
+ "hu-HU": $l,
1119
+ "it-IT": xl,
1120
+ "ja-JP": Cl,
1121
+ "ko-KR": wl,
1122
+ "lt-LT": Dl,
1123
+ "lv-LV": Sl,
1124
+ "nb-NO": El,
1125
+ "nl-NL": kl,
1126
+ "pl-PL": zl,
1127
+ "pt-BR": Rl,
1128
+ "pt-PT": Al,
1129
+ "ro-RO": Tl,
1130
+ "ru-RU": Pl,
1131
+ "sk-SK": Bl,
1132
+ "sl-SI": Kl,
1133
+ "sr-SP": Ml,
1134
+ "sv-SE": Nl,
1135
+ "tr-TR": Fl,
1136
+ "uk-UA": Il,
1137
+ "zh-CN": Vl,
1138
+ "zh-TW": Hl
1139
+ };
1140
+ class ho extends ll {
1141
+ isCell(e) {
1142
+ return e.type === "cell" || e.type === "rowheader" || e.type === "column";
1143
+ }
1144
+ getKeyBelow(e) {
1145
+ let l = this.collection.getItem(e);
1146
+ if (!l) return null;
1147
+ if (l.type === "column") {
1148
+ let n = de(L(l, this.collection));
1149
+ if (n) return n.key;
1150
+ let o = this.getFirstKey();
1151
+ return o == null || !this.collection.getItem(o) ? null : super.getKeyForItemInRowByIndex(o, l.index);
1152
+ }
1153
+ return super.getKeyBelow(e);
1154
+ }
1155
+ getKeyAbove(e) {
1156
+ let l = this.collection.getItem(e);
1157
+ if (!l) return null;
1158
+ if (l.type === "column") {
1159
+ let i = l.parentKey != null ? this.collection.getItem(l.parentKey) : null;
1160
+ return i && i.type === "column" ? i.key : null;
1161
+ }
1162
+ let n = super.getKeyAbove(e), o = n != null ? this.collection.getItem(n) : null;
1163
+ return o && o.type !== "headerrow" ? n : this.isCell(l) ? this.collection.columns[l.index].key : this.collection.columns[0].key;
1164
+ }
1165
+ findNextColumnKey(e) {
1166
+ let l = this.findNextKey(e.key, (o) => o.type === "column");
1167
+ if (l != null) return l;
1168
+ let n = this.collection.headerRows[e.level];
1169
+ for (let o of L(n, this.collection))
1170
+ if (o.type === "column") return o.key;
1171
+ return null;
1172
+ }
1173
+ findPreviousColumnKey(e) {
1174
+ let l = this.findPreviousKey(e.key, (i) => i.type === "column");
1175
+ if (l != null) return l;
1176
+ let n = this.collection.headerRows[e.level], o = [
1177
+ ...L(n, this.collection)
1178
+ ];
1179
+ for (let i = o.length - 1; i >= 0; i--) {
1180
+ let r = o[i];
1181
+ if (r.type === "column") return r.key;
1182
+ }
1183
+ return null;
1184
+ }
1185
+ getKeyRightOf(e) {
1186
+ let l = this.collection.getItem(e);
1187
+ return l ? l.type === "column" ? this.direction === "rtl" ? this.findPreviousColumnKey(l) : this.findNextColumnKey(l) : super.getKeyRightOf(e) : null;
1188
+ }
1189
+ getKeyLeftOf(e) {
1190
+ let l = this.collection.getItem(e);
1191
+ return l ? l.type === "column" ? this.direction === "rtl" ? this.findNextColumnKey(l) : this.findPreviousColumnKey(l) : super.getKeyLeftOf(e) : null;
1192
+ }
1193
+ getKeyForSearch(e, l) {
1194
+ if (!this.collator) return null;
1195
+ let n = this.collection, o = l ?? this.getFirstKey();
1196
+ if (o == null) return null;
1197
+ let i = n.getItem(o);
1198
+ var r;
1199
+ i?.type === "cell" && (o = (r = i.parentKey) !== null && r !== void 0 ? r : null);
1200
+ let d = !1;
1201
+ for (; o != null; ) {
1202
+ let s = n.getItem(o);
1203
+ if (!s) return null;
1204
+ if (s.textValue) {
1205
+ let u = s.textValue.slice(0, e.length);
1206
+ if (this.collator.compare(u, e) === 0) return s.key;
1207
+ }
1208
+ for (let u of L(s, this.collection)) {
1209
+ let f = n.columns[u.index];
1210
+ if (n.rowHeaderColumnKeys.has(f.key) && u.textValue) {
1211
+ let a = u.textValue.slice(0, e.length);
1212
+ if (this.collator.compare(a, e) === 0) {
1213
+ let m = l != null ? n.getItem(l) : i;
1214
+ return m?.type === "cell" ? u.key : s.key;
1215
+ }
1216
+ }
1217
+ }
1218
+ o = this.getKeyBelow(o), o == null && !d && (o = this.getFirstKey(), d = !0);
1219
+ }
1220
+ return null;
1221
+ }
1222
+ }
1223
+ function bo(t) {
1224
+ return t && t.__esModule ? t.default : t;
1225
+ }
1226
+ function go(t, e, l) {
1227
+ let { keyboardDelegate: n, isVirtualized: o, layoutDelegate: i, layout: r } = t, d = el({
1228
+ usage: "search",
1229
+ sensitivity: "base"
1230
+ }), { direction: s } = Ee(), u = e.selectionManager.disabledBehavior, f = K(() => n || new ho({
1231
+ collection: e.collection,
1232
+ disabledKeys: e.disabledKeys,
1233
+ disabledBehavior: u,
1234
+ ref: l,
1235
+ direction: s,
1236
+ collator: d,
1237
+ layoutDelegate: i,
1238
+ layout: r
1239
+ }), [
1240
+ n,
1241
+ e.collection,
1242
+ e.disabledKeys,
1243
+ u,
1244
+ l,
1245
+ s,
1246
+ d,
1247
+ i,
1248
+ r
1249
+ ]), a = ft(t.id);
1250
+ ht.set(e, a);
1251
+ let { gridProps: m } = fo({
1252
+ ...t,
1253
+ id: a,
1254
+ keyboardDelegate: f
1255
+ }, e, l);
1256
+ o && (m["aria-rowcount"] = e.collection.size + e.collection.headerRows.length), qe() && "expandedKeys" in e && (m.role = "treegrid");
1257
+ let { column: c, direction: p } = e.sortDescriptor || {}, h = Me(bo(Ne), "@react-aria/table"), g = K(() => {
1258
+ var $, v;
1259
+ let C = (v = ($ = e.collection.columns.find((y) => y.key === c)) === null || $ === void 0 ? void 0 : $.textValue) !== null && v !== void 0 ? v : "";
1260
+ return p && c ? h.format(`${p}Sort`, {
1261
+ columnName: C
1262
+ }) : void 0;
1263
+ }, [
1264
+ p,
1265
+ c,
1266
+ e.collection.columns
1267
+ ]), b = pt(g);
1268
+ return ro(() => {
1269
+ g && lo(g, "assertive", 500);
1270
+ }, [
1271
+ g
1272
+ ]), {
1273
+ gridProps: j(m, b, {
1274
+ // merge sort description with long press information
1275
+ "aria-describedby": [
1276
+ b["aria-describedby"],
1277
+ m["aria-describedby"]
1278
+ ].filter(Boolean).join(" ")
1279
+ })
1280
+ };
1281
+ }
1282
+ function vo(t) {
1283
+ return t && t.__esModule ? t.default : t;
1284
+ }
1285
+ function yo(t, e, l) {
1286
+ var n, o;
1287
+ let { node: i } = t, r = i.props.allowsSorting, { gridCellProps: d } = nl({
1288
+ ...t,
1289
+ focusMode: "child"
1290
+ }, e, l), s = i.props.isSelectionCell && e.selectionManager.selectionMode === "single", { pressProps: u, isPressed: f } = _t({
1291
+ isDisabled: !r || s,
1292
+ onPress() {
1293
+ e.sort(i.key);
1294
+ },
1295
+ ref: l
1296
+ }), { focusableProps: a } = Jn({}, l), m, c = ((n = e.sortDescriptor) === null || n === void 0 ? void 0 : n.column) === i.key, p = (o = e.sortDescriptor) === null || o === void 0 ? void 0 : o.direction;
1297
+ i.props.allowsSorting && !Ft() && (m = c ? p : "none");
1298
+ let h = Me(vo(Ne), "@react-aria/table"), g;
1299
+ r && (g = `${h.format("sortable")}`, c && p && Ft() && (g = `${g}, ${h.format(p)}`));
1300
+ let b = pt(g), $ = e.collection.size === 0;
1301
+ return fe(() => {
1302
+ $ && e.selectionManager.focusedKey === i.key && e.selectionManager.setFocusedKey(null);
1303
+ }, [
1304
+ $,
1305
+ e.selectionManager,
1306
+ i.key
1307
+ ]), {
1308
+ columnHeaderProps: {
1309
+ ...j(
1310
+ a,
1311
+ d,
1312
+ u,
1313
+ b,
1314
+ // If the table is empty, make all column headers untabbable
1315
+ $ ? {
1316
+ tabIndex: -1
1317
+ } : null
1318
+ ),
1319
+ role: "columnheader",
1320
+ id: ol(e, i.key),
1321
+ "aria-colspan": i.colSpan && i.colSpan > 1 ? i.colSpan : void 0,
1322
+ "aria-sort": m
1323
+ },
1324
+ isPressed: f
1325
+ };
1326
+ }
1327
+ const Ht = {
1328
+ expand: {
1329
+ ltr: "ArrowRight",
1330
+ rtl: "ArrowLeft"
1331
+ },
1332
+ collapse: {
1333
+ ltr: "ArrowLeft",
1334
+ rtl: "ArrowRight"
1335
+ }
1336
+ };
1337
+ function $o(t, e, l) {
1338
+ let { node: n, isVirtualized: o } = t, { rowProps: i, ...r } = mo(t, e, l), { direction: d } = Ee();
1339
+ o && !(qe() && "expandedKeys" in e) ? i["aria-rowindex"] = n.index + 1 + e.collection.headerRows.length : delete i["aria-rowindex"];
1340
+ let s = {};
1341
+ if (qe() && "expandedKeys" in e) {
1342
+ let y = e.keyMap.get(n.key);
1343
+ if (y != null) {
1344
+ var u, f, a, m, c, p;
1345
+ let S = ((u = y.props) === null || u === void 0 ? void 0 : u.UNSTABLE_childItems) || ((a = y.props) === null || a === void 0 || (f = a.children) === null || f === void 0 ? void 0 : f.length) > e.userColumnCount;
1346
+ var h, g, b, $;
1347
+ s = {
1348
+ onKeyDown: (E) => {
1349
+ (E.key === Ht.expand[d] && e.selectionManager.focusedKey === y.key && S && e.expandedKeys !== "all" && !e.expandedKeys.has(y.key) || E.key === Ht.collapse[d] && e.selectionManager.focusedKey === y.key && S && (e.expandedKeys === "all" || e.expandedKeys.has(y.key))) && (e.toggleKey(y.key), E.stopPropagation());
1350
+ },
1351
+ "aria-expanded": S ? e.expandedKeys === "all" || e.expandedKeys.has(n.key) : void 0,
1352
+ "aria-level": y.level,
1353
+ "aria-posinset": ((h = y.indexOfType) !== null && h !== void 0 ? h : 0) + 1,
1354
+ "aria-setsize": y.level > 1 ? ((b = (m = ce((g = (c = e.keyMap.get(y.parentKey)) === null || c === void 0 ? void 0 : c.childNodes) !== null && g !== void 0 ? g : [])) === null || m === void 0 ? void 0 : m.indexOfType) !== null && b !== void 0 ? b : 0) + 1 : (($ = (p = ce(e.collection.body.childNodes)) === null || p === void 0 ? void 0 : p.indexOfType) !== null && $ !== void 0 ? $ : 0) + 1
1355
+ };
1356
+ }
1357
+ }
1358
+ let v = Gn(n.props), C = r.hasAction ? v : {};
1359
+ return {
1360
+ rowProps: {
1361
+ ...j(i, s, C),
1362
+ "aria-labelledby": rl(e, n.key)
1363
+ },
1364
+ ...r
1365
+ };
1366
+ }
1367
+ function xo(t, e, l) {
1368
+ let { node: n, isVirtualized: o } = t, i = {
1369
+ role: "row"
1370
+ };
1371
+ return o && !(qe() && "expandedKeys" in e) && (i["aria-rowindex"] = n.index + 1), {
1372
+ rowProps: i
1373
+ };
1374
+ }
1375
+ function Co(t, e, l) {
1376
+ var n;
1377
+ let { gridCellProps: o, isPressed: i } = nl(t, e, l), r = (n = t.node.column) === null || n === void 0 ? void 0 : n.key;
1378
+ return r != null && e.collection.rowHeaderColumnKeys.has(r) && (o.role = "rowheader", o.id = il(e, t.node.parentKey, r)), {
1379
+ gridCellProps: o,
1380
+ isPressed: i
1381
+ };
1382
+ }
1383
+ function wo(t) {
1384
+ return t && t.__esModule ? t.default : t;
1385
+ }
1386
+ function Do(t, e) {
1387
+ let { key: l } = t;
1388
+ const { checkboxProps: n } = Cn(t, e);
1389
+ return {
1390
+ checkboxProps: {
1391
+ ...n,
1392
+ "aria-labelledby": `${n.id} ${rl(e, l)}`
1393
+ }
1394
+ };
1395
+ }
1396
+ function So(t) {
1397
+ let { isEmpty: e, isSelectAll: l, selectionMode: n } = t.selectionManager;
1398
+ return {
1399
+ checkboxProps: {
1400
+ "aria-label": Me(wo(Ne), "@react-aria/table").format(n === "single" ? "select" : "selectAll"),
1401
+ isSelected: l,
1402
+ isDisabled: n !== "multiple" || t.collection.size === 0 || t.collection.rows.length === 1 && t.collection.rows[0].type === "loader",
1403
+ isIndeterminate: !e && !l,
1404
+ onChange: () => t.selectionManager.toggleSelectAll()
1405
+ }
1406
+ };
1407
+ }
1408
+ function Eo(t) {
1409
+ return t && t.__esModule ? t.default : t;
1410
+ }
1411
+ function ko(t, e, l) {
1412
+ let { column: n, triggerRef: o, isDisabled: i, onResizeStart: r, onResize: d, onResizeEnd: s, "aria-label": u } = t;
1413
+ const f = Me(Eo(Ne), "@react-aria/table");
1414
+ let a = ft(), m = e.resizingColumn === n.key, c = T(m), p = T(null), h = T(!1), g = e.tableState.isKeyboardNavigationDisabled, { direction: b } = Ee(), $ = N((w) => {
1415
+ c.current || (p.current = e.updateResizedColumns(w.key, e.getColumnWidth(w.key)), e.startResize(w.key), e.tableState.setKeyboardNavigationDisabled(!0), r?.(p.current)), c.current = !0;
1416
+ }, [
1417
+ e,
1418
+ r
1419
+ ]), v = N((w, A) => {
1420
+ let G = e.updateResizedColumns(w.key, A);
1421
+ d?.(G), p.current = G;
1422
+ }, [
1423
+ e,
1424
+ d
1425
+ ]), C = N((w) => {
1426
+ c.current && (p.current == null && (p.current = e.updateResizedColumns(w.key, e.getColumnWidth(w.key))), e.endResize(), e.tableState.setKeyboardNavigationDisabled(!1), s?.(p.current), c.current = !1, o?.current && !h.current && _(o.current)), p.current = null;
1427
+ }, [
1428
+ e,
1429
+ o,
1430
+ s
1431
+ ]), { keyboardProps: y } = Qn({
1432
+ onKeyDown: (w) => {
1433
+ g ? (w.key === "Escape" || w.key === "Enter" || w.key === " " || w.key === "Tab") && (w.preventDefault(), C(n)) : (w.continuePropagation(), w.key === "Enter" && $(n));
1434
+ }
1435
+ });
1436
+ const S = T(0), { moveProps: E } = uo({
1437
+ onMoveStart() {
1438
+ S.current = e.getColumnWidth(n.key), $(n);
1439
+ },
1440
+ onMove(w) {
1441
+ let { deltaX: A, deltaY: G, pointerType: lt } = w;
1442
+ b === "rtl" && (A *= -1), lt === "keyboard" && (G !== 0 && A === 0 && (A = G * -1), A *= 10), A !== 0 && (S.current += A, v(n, S.current));
1443
+ },
1444
+ onMoveEnd(w) {
1445
+ let { pointerType: A } = w;
1446
+ S.current = 0, (A === "mouse" || A === "touch" && h.current) && C(n);
1447
+ }
1448
+ });
1449
+ let P = N((w) => {
1450
+ var A;
1451
+ g && ((A = E.onKeyDown) === null || A === void 0 || A.call(E, w));
1452
+ }, [
1453
+ g,
1454
+ E
1455
+ ]), B = Math.floor(e.getColumnMinWidth(n.key)), M = Math.floor(e.getColumnMaxWidth(n.key));
1456
+ M === 1 / 0 && (M = Number.MAX_SAFE_INTEGER);
1457
+ let z = Math.floor(e.getColumnWidth(n.key)), W = Yn();
1458
+ W === "virtual" && typeof window < "u" && "ontouchstart" in window && (W = "touch");
1459
+ let U = o?.current == null && (W === "keyboard" || W === "virtual") && !m ? f.format("resizerDescription") : void 0, F = pt(U), I = {
1460
+ "aria-label": u,
1461
+ "aria-orientation": "horizontal",
1462
+ "aria-labelledby": `${a} ${ol(e.tableState, n.key)}`,
1463
+ "aria-valuetext": f.format("columnSize", {
1464
+ value: z
1465
+ }),
1466
+ type: "range",
1467
+ min: B,
1468
+ max: M,
1469
+ value: z,
1470
+ ...F
1471
+ };
1472
+ const X = N(() => {
1473
+ l.current && _(l.current);
1474
+ }, [
1475
+ l
1476
+ ]);
1477
+ let O = e.resizingColumn, te = T(null), be = at($);
1478
+ fe(() => {
1479
+ if (te.current !== O && O != null && O === n.key) {
1480
+ h.current = Ge() === l.current, be(n);
1481
+ let w = setTimeout(() => X(), 0), A = setTimeout(X, 400);
1482
+ return () => {
1483
+ clearTimeout(w), clearTimeout(A);
1484
+ };
1485
+ }
1486
+ te.current = O;
1487
+ }, [
1488
+ O,
1489
+ n,
1490
+ X,
1491
+ l
1492
+ ]);
1493
+ let le = (w) => {
1494
+ let A = e.getColumnWidth(n.key), G = parseFloat(we(w).value);
1495
+ G > A ? G = A + 10 : G = A - 10, v(n, G);
1496
+ }, { pressProps: ne } = _t({
1497
+ preventFocusOnPress: !0,
1498
+ onPressStart: (w) => {
1499
+ if (!(w.ctrlKey || w.altKey || w.metaKey || w.shiftKey || w.pointerType === "keyboard")) {
1500
+ if (w.pointerType === "virtual" && e.resizingColumn != null) {
1501
+ C(n);
1502
+ return;
1503
+ }
1504
+ X(), w.pointerType !== "virtual" && $(n);
1505
+ }
1506
+ },
1507
+ onPress: (w) => {
1508
+ (w.pointerType === "touch" && h.current || w.pointerType === "mouse") && e.resizingColumn != null && C(n);
1509
+ }
1510
+ }), { visuallyHiddenProps: ue } = _e();
1511
+ return {
1512
+ resizerProps: j(y, {
1513
+ ...E,
1514
+ onKeyDown: P
1515
+ }, ne, {
1516
+ style: {
1517
+ touchAction: "none"
1518
+ }
1519
+ }),
1520
+ inputProps: j(ue, {
1521
+ id: a,
1522
+ onBlur: () => {
1523
+ C(n);
1524
+ },
1525
+ onChange: le,
1526
+ disabled: i
1527
+ }, I),
1528
+ isResizing: m
1529
+ };
1530
+ }
1531
+ function Wl() {
1532
+ return po();
1533
+ }
1534
+ function zo(t) {
1535
+ return t != null && (!isNaN(t) || String(t).match(/^(\d+)(?=%$)/) !== null);
1536
+ }
1537
+ function Ro(t) {
1538
+ if (!t || typeof t == "number") return 1;
1539
+ let e = t.match(/^(.+)(?=fr$)/);
1540
+ return e ? parseFloat(e[0]) : (process.env.NODE_ENV !== "production" && console.warn(`width: ${t} is not a supported format, width should be a number (ex. 150), percentage (ex. '50%') or fr unit (ex. '2fr')`, "defaulting to '1fr'"), 1);
1541
+ }
1542
+ function bt(t, e) {
1543
+ if (typeof t == "string") {
1544
+ let l = t.match(/^(\d+)(?=%$)/);
1545
+ if (!l) throw new Error("Only percentages or numbers are supported for static column widths");
1546
+ return e * (parseFloat(l[0]) / 100);
1547
+ }
1548
+ return t;
1549
+ }
1550
+ function Ll(t, e) {
1551
+ return t != null ? bt(t, e) : Number.MAX_SAFE_INTEGER;
1552
+ }
1553
+ function Ol(t, e) {
1554
+ return t != null ? bt(t, e) : 0;
1555
+ }
1556
+ function Ao(t, e, l, n, o) {
1557
+ let i = !1, r = e.map((d, s) => {
1558
+ var u, f, a, m;
1559
+ let c = l.get(d.key) != null ? (u = l.get(d.key)) !== null && u !== void 0 ? u : "1fr" : (m = (a = (f = d.width) !== null && f !== void 0 ? f : d.defaultWidth) !== null && a !== void 0 ? a : n?.(s)) !== null && m !== void 0 ? m : "1fr", p = !1, h = 0, g = 0, b = 0;
1560
+ zo(c) ? (h = bt(c, t), p = !0) : (g = Ro(c), g <= 0 && (p = !0));
1561
+ var $, v;
1562
+ let C = Ol((v = ($ = d.minWidth) !== null && $ !== void 0 ? $ : o?.(s)) !== null && v !== void 0 ? v : 0, t), y = Ll(d.maxWidth, t), S = Math.max(C, Math.min(h, y));
1563
+ return p ? b = S : h > S && (p = !0, b = S), p || (i = !0), {
1564
+ frozen: p,
1565
+ baseSize: h,
1566
+ hypotheticalMainSize: S,
1567
+ min: C,
1568
+ max: y,
1569
+ flex: g,
1570
+ targetMainSize: b,
1571
+ violation: 0
1572
+ };
1573
+ });
1574
+ for (; i; ) {
1575
+ let d = 0, s = 0;
1576
+ r.forEach((a) => {
1577
+ a.frozen ? d += a.targetMainSize : (d += a.baseSize, s += a.flex);
1578
+ });
1579
+ let u = t - d;
1580
+ u > 0 && r.forEach((a) => {
1581
+ if (!a.frozen) {
1582
+ let m = a.flex / s;
1583
+ a.targetMainSize = a.baseSize + m * u;
1584
+ }
1585
+ });
1586
+ let f = 0;
1587
+ r.forEach((a) => {
1588
+ if (a.violation = 0, !a.frozen) {
1589
+ let { min: m, max: c, targetMainSize: p } = a;
1590
+ a.targetMainSize = Math.max(m, Math.min(p, c)), a.violation = a.targetMainSize - p, f += a.violation;
1591
+ }
1592
+ }), i = !1, r.forEach((a) => {
1593
+ f === 0 || Math.sign(f) === Math.sign(a.violation) ? a.frozen = !0 : a.frozen || (i = !0);
1594
+ });
1595
+ }
1596
+ return To(r);
1597
+ }
1598
+ function To(t) {
1599
+ let e = 0, l = 0, n = [];
1600
+ return t.forEach(function(o) {
1601
+ let i = o.targetMainSize, r = Math.round(i + e) - l;
1602
+ e += i, l += r, n.push(r);
1603
+ }), n;
1604
+ }
1605
+ class Po {
1606
+ /** Takes an array of columns and splits it into 2 maps of columns with controlled and columns with uncontrolled widths. */
1607
+ splitColumnsIntoControlledAndUncontrolled(e) {
1608
+ return e.reduce((l, n) => (n.props.width != null ? l[0].set(n.key, n) : l[1].set(n.key, n), l), [
1609
+ /* @__PURE__ */ new Map(),
1610
+ /* @__PURE__ */ new Map()
1611
+ ]);
1612
+ }
1613
+ /** Takes uncontrolled and controlled widths and joins them into a single Map. */
1614
+ recombineColumns(e, l, n, o) {
1615
+ return new Map(e.map((i) => n.has(i.key) ? [
1616
+ i.key,
1617
+ l.get(i.key)
1618
+ ] : [
1619
+ i.key,
1620
+ o.get(i.key).props.width
1621
+ ]));
1622
+ }
1623
+ /** Used to make an initial Map of the uncontrolled widths based on default widths. */
1624
+ getInitialUncontrolledWidths(e) {
1625
+ return new Map(Array.from(e).map(([l, n]) => {
1626
+ var o, i, r, d;
1627
+ return [
1628
+ l,
1629
+ (d = (r = n.props.defaultWidth) !== null && r !== void 0 ? r : (o = (i = this).getDefaultWidth) === null || o === void 0 ? void 0 : o.call(i, n)) !== null && d !== void 0 ? d : "1fr"
1630
+ ];
1631
+ }));
1632
+ }
1633
+ getColumnWidth(e) {
1634
+ var l;
1635
+ return (l = this.columnWidths.get(e)) !== null && l !== void 0 ? l : 0;
1636
+ }
1637
+ getColumnMinWidth(e) {
1638
+ var l;
1639
+ return (l = this.columnMinWidths.get(e)) !== null && l !== void 0 ? l : 0;
1640
+ }
1641
+ getColumnMaxWidth(e) {
1642
+ var l;
1643
+ return (l = this.columnMaxWidths.get(e)) !== null && l !== void 0 ? l : 0;
1644
+ }
1645
+ resizeColumnWidth(e, l, n, o) {
1646
+ let i = this.columnWidths, r = !0, d = /* @__PURE__ */ new Map();
1647
+ return o = Math.max(this.getColumnMinWidth(n), Math.min(this.getColumnMaxWidth(n), Math.floor(o))), e.columns.forEach((s) => {
1648
+ var u, f;
1649
+ s.key === n ? (d.set(s.key, o), r = !1) : r ? d.set(s.key, (u = i.get(s.key)) !== null && u !== void 0 ? u : 0) : d.set(s.key, (f = s.props.width) !== null && f !== void 0 ? f : l.get(s.key));
1650
+ }), d;
1651
+ }
1652
+ buildColumnWidths(e, l, n) {
1653
+ return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), Ao(e, l.columns.map((i) => ({
1654
+ ...i.props,
1655
+ key: i.key
1656
+ })), n, (i) => this.getDefaultWidth(l.columns[i]), (i) => this.getDefaultMinWidth(l.columns[i])).forEach((i, r) => {
1657
+ let d = l.columns[r].key, s = l.columns[r];
1658
+ this.columnWidths.set(d, i);
1659
+ var u;
1660
+ this.columnMinWidths.set(d, Ol((u = s.props.minWidth) !== null && u !== void 0 ? u : this.getDefaultMinWidth(s), e)), this.columnMaxWidths.set(d, Ll(s.props.maxWidth, e));
1661
+ }), this.columnWidths;
1662
+ }
1663
+ constructor(e) {
1664
+ this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map();
1665
+ var l;
1666
+ this.getDefaultWidth = (l = e?.getDefaultWidth) !== null && l !== void 0 ? l : () => "1fr";
1667
+ var n;
1668
+ this.getDefaultMinWidth = (n = e?.getDefaultMinWidth) !== null && n !== void 0 ? n : () => 75;
1669
+ }
1670
+ }
1671
+ function Bo(t, e) {
1672
+ let { getDefaultWidth: l, getDefaultMinWidth: n, tableWidth: o = 0 } = t, [i, r] = Z(null), d = K(() => new Po({
1673
+ getDefaultWidth: l,
1674
+ getDefaultMinWidth: n
1675
+ }), [
1676
+ l,
1677
+ n
1678
+ ]), [s, u] = K(() => d.splitColumnsIntoControlledAndUncontrolled(e.collection.columns), [
1679
+ e.collection.columns,
1680
+ d
1681
+ ]), [f, a] = Z(() => d.getInitialUncontrolledWidths(u)), [m, c] = Z(e.collection.columns);
1682
+ if (e.collection.columns !== m) {
1683
+ if (e.collection.columns.length !== m.length || e.collection.columns.some((v, C) => v.key !== m[C].key)) {
1684
+ let v = d.getInitialUncontrolledWidths(u);
1685
+ a(v);
1686
+ }
1687
+ c(e.collection.columns);
1688
+ }
1689
+ let p = K(() => d.recombineColumns(e.collection.columns, f, u, s), [
1690
+ e.collection.columns,
1691
+ f,
1692
+ u,
1693
+ s,
1694
+ d
1695
+ ]), h = N((v) => {
1696
+ r(v);
1697
+ }, [
1698
+ r
1699
+ ]), g = N((v, C) => {
1700
+ let y = d.resizeColumnWidth(e.collection, f, v, C), S = new Map(Array.from(u).map(([E]) => [
1701
+ E,
1702
+ y.get(E)
1703
+ ]));
1704
+ return S.set(v, C), a(S), y;
1705
+ }, [
1706
+ u,
1707
+ a,
1708
+ d,
1709
+ e.collection,
1710
+ f
1711
+ ]), b = N(() => {
1712
+ r(null);
1713
+ }, [
1714
+ r
1715
+ ]), $ = K(() => d.buildColumnWidths(o, e.collection, p), [
1716
+ o,
1717
+ e.collection,
1718
+ p,
1719
+ d
1720
+ ]);
1721
+ return K(() => ({
1722
+ resizingColumn: i,
1723
+ updateResizedColumns: g,
1724
+ startResize: h,
1725
+ endResize: b,
1726
+ getColumnWidth: (v) => d.getColumnWidth(v),
1727
+ getColumnMinWidth: (v) => d.getColumnMinWidth(v),
1728
+ getColumnMaxWidth: (v) => d.getColumnMaxWidth(v),
1729
+ tableState: e,
1730
+ columnWidths: $
1731
+ }), [
1732
+ d,
1733
+ $,
1734
+ i,
1735
+ g,
1736
+ h,
1737
+ b,
1738
+ e
1739
+ ]);
1740
+ }
1741
+ function Ko(t) {
1742
+ let { collection: e, focusMode: l } = t, n = t.UNSAFE_selectionState || Zt(t), o = K(() => t.disabledKeys ? new Set(t.disabledKeys) : /* @__PURE__ */ new Set(), [
1743
+ t.disabledKeys
1744
+ ]), i = n.setFocusedKey;
1745
+ n.setFocusedKey = (s, u) => {
1746
+ if (l === "cell" && s != null) {
1747
+ let p = e.getItem(s);
1748
+ if (p?.type === "item") {
1749
+ var f, a;
1750
+ let h = L(p, e);
1751
+ var m, c;
1752
+ u === "last" ? s = (m = (f = ce(h)) === null || f === void 0 ? void 0 : f.key) !== null && m !== void 0 ? m : null : s = (c = (a = de(h)) === null || a === void 0 ? void 0 : a.key) !== null && c !== void 0 ? c : null;
1753
+ }
1754
+ }
1755
+ i(s, u);
1756
+ };
1757
+ let r = K(() => new zn(e, n), [
1758
+ e,
1759
+ n
1760
+ ]);
1761
+ const d = T(null);
1762
+ return fe(() => {
1763
+ if (n.focusedKey != null && d.current && !e.getItem(n.focusedKey)) {
1764
+ const s = d.current.getItem(n.focusedKey), u = s?.parentKey != null && (s.type === "cell" || s.type === "rowheader" || s.type === "column") ? d.current.getItem(s.parentKey) : s;
1765
+ if (!u) {
1766
+ n.setFocusedKey(null);
1767
+ return;
1768
+ }
1769
+ const f = d.current.rows, a = e.rows, m = f.length - a.length;
1770
+ let c = Math.min(m > 1 ? Math.max(u.index - m + 1, 0) : u.index, a.length - 1), p = null;
1771
+ for (; c >= 0; ) {
1772
+ if (!r.isDisabled(a[c].key) && a[c].type !== "headerrow") {
1773
+ p = a[c];
1774
+ break;
1775
+ }
1776
+ c < a.length - 1 ? c++ : (c > u.index && (c = u.index), c--);
1777
+ }
1778
+ if (p) {
1779
+ const h = p.hasChildNodes ? [
1780
+ ...L(p, e)
1781
+ ] : [], g = p.hasChildNodes && u !== s && s && s.index < h.length ? h[s.index].key : p.key;
1782
+ n.setFocusedKey(g);
1783
+ } else n.setFocusedKey(null);
1784
+ }
1785
+ d.current = e;
1786
+ }, [
1787
+ e,
1788
+ r,
1789
+ n,
1790
+ n.focusedKey
1791
+ ]), {
1792
+ collection: e,
1793
+ disabledKeys: o,
1794
+ isKeyboardNavigationDisabled: !1,
1795
+ selectionManager: r
1796
+ };
1797
+ }
1798
+ class Mo {
1799
+ *[Symbol.iterator]() {
1800
+ yield* [
1801
+ ...this.rows
1802
+ ];
1803
+ }
1804
+ get size() {
1805
+ return [
1806
+ ...this.rows
1807
+ ].length;
1808
+ }
1809
+ getKeys() {
1810
+ return this.keyMap.keys();
1811
+ }
1812
+ getKeyBefore(e) {
1813
+ let l = this.keyMap.get(e);
1814
+ var n;
1815
+ return l && (n = l.prevKey) !== null && n !== void 0 ? n : null;
1816
+ }
1817
+ getKeyAfter(e) {
1818
+ let l = this.keyMap.get(e);
1819
+ var n;
1820
+ return l && (n = l.nextKey) !== null && n !== void 0 ? n : null;
1821
+ }
1822
+ getFirstKey() {
1823
+ var e;
1824
+ return (e = [
1825
+ ...this.rows
1826
+ ][0]) === null || e === void 0 ? void 0 : e.key;
1827
+ }
1828
+ getLastKey() {
1829
+ var e;
1830
+ let l = [
1831
+ ...this.rows
1832
+ ];
1833
+ return (e = l[l.length - 1]) === null || e === void 0 ? void 0 : e.key;
1834
+ }
1835
+ getItem(e) {
1836
+ var l;
1837
+ return (l = this.keyMap.get(e)) !== null && l !== void 0 ? l : null;
1838
+ }
1839
+ at(e) {
1840
+ const l = [
1841
+ ...this.getKeys()
1842
+ ];
1843
+ return this.getItem(l[e]);
1844
+ }
1845
+ getChildren(e) {
1846
+ let l = this.keyMap.get(e);
1847
+ return l?.childNodes || [];
1848
+ }
1849
+ constructor(e) {
1850
+ this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];
1851
+ let l = (a) => {
1852
+ let m = this.keyMap.get(a.key);
1853
+ e.visitNode && (a = e.visitNode(a)), this.keyMap.set(a.key, a);
1854
+ let c = /* @__PURE__ */ new Set(), p = null, h = !1;
1855
+ if (a.type === "item") {
1856
+ var g;
1857
+ for (let y of a.childNodes) if (((g = y.props) === null || g === void 0 ? void 0 : g.colSpan) !== void 0) {
1858
+ h = !0;
1859
+ break;
1860
+ }
1861
+ }
1862
+ for (let y of a.childNodes) {
1863
+ if (y.type === "cell" && h) {
1864
+ var b, $;
1865
+ y.colspan = (b = y.props) === null || b === void 0 ? void 0 : b.colSpan, y.colSpan = ($ = y.props) === null || $ === void 0 ? void 0 : $.colSpan;
1866
+ var v, C;
1867
+ y.colIndex = p ? ((v = p.colIndex) !== null && v !== void 0 ? v : p.index) + ((C = p.colSpan) !== null && C !== void 0 ? C : 1) : y.index;
1868
+ }
1869
+ y.type === "cell" && y.parentKey == null && (y.parentKey = a.key), c.add(y.key), p ? (p.nextKey = y.key, y.prevKey = p.key) : y.prevKey = null, l(y), p = y;
1870
+ }
1871
+ if (p && (p.nextKey = null), m)
1872
+ for (let y of m.childNodes) c.has(y.key) || n(y);
1873
+ }, n = (a) => {
1874
+ this.keyMap.delete(a.key);
1875
+ for (let m of a.childNodes) this.keyMap.get(m.key) === m && n(m);
1876
+ }, o = null;
1877
+ for (let [a, m] of e.items.entries()) {
1878
+ var i, r, d, s, u, f;
1879
+ let c = {
1880
+ ...m,
1881
+ level: (i = m.level) !== null && i !== void 0 ? i : 0,
1882
+ key: (r = m.key) !== null && r !== void 0 ? r : "row-" + a,
1883
+ type: (d = m.type) !== null && d !== void 0 ? d : "row",
1884
+ value: (s = m.value) !== null && s !== void 0 ? s : null,
1885
+ hasChildNodes: !0,
1886
+ childNodes: [
1887
+ ...m.childNodes
1888
+ ],
1889
+ rendered: m.rendered,
1890
+ textValue: (u = m.textValue) !== null && u !== void 0 ? u : "",
1891
+ index: (f = m.index) !== null && f !== void 0 ? f : a
1892
+ };
1893
+ o ? (o.nextKey = c.key, c.prevKey = o.key) : c.prevKey = null, this.rows.push(c), l(c), o = c;
1894
+ }
1895
+ o && (o.nextKey = null);
1896
+ }
1897
+ }
1898
+ const jl = "row-header-column-" + /* @__PURE__ */ Math.random().toString(36).slice(2);
1899
+ let ut = "row-header-column-" + /* @__PURE__ */ Math.random().toString(36).slice(2);
1900
+ for (; jl === ut; ) ut = "row-header-column-" + Math.random().toString(36).slice(2);
1901
+ function Ul(t, e) {
1902
+ if (e.length === 0) return [];
1903
+ let l = [], n = /* @__PURE__ */ new Map();
1904
+ for (let f of e) {
1905
+ let a = f.parentKey, m = [
1906
+ f
1907
+ ];
1908
+ for (; a; ) {
1909
+ let c = t.get(a);
1910
+ if (!c) break;
1911
+ if (n.has(c)) {
1912
+ var o, i;
1913
+ (i = (o = c).colSpan) !== null && i !== void 0 || (o.colSpan = 0), c.colSpan++, c.colspan = c.colSpan;
1914
+ let { column: p, index: h } = n.get(c);
1915
+ if (h > m.length) break;
1916
+ for (let g = h; g < m.length; g++) p.splice(g, 0, null);
1917
+ for (let g = m.length; g < p.length; g++)
1918
+ p[g] && n.has(p[g]) && (n.get(p[g]).index = g);
1919
+ } else
1920
+ c.colSpan = 1, c.colspan = 1, m.push(c), n.set(c, {
1921
+ column: m,
1922
+ index: m.length - 1
1923
+ });
1924
+ a = c.parentKey;
1925
+ }
1926
+ l.push(m), f.index = l.length - 1;
1927
+ }
1928
+ let r = Math.max(...l.map((f) => f.length)), d = Array(r).fill(0).map(() => []), s = 0;
1929
+ for (let f of l) {
1930
+ let a = r - 1;
1931
+ for (let m of f) {
1932
+ if (m) {
1933
+ let c = d[a], p = c.reduce((h, g) => {
1934
+ var b;
1935
+ return h + ((b = g.colSpan) !== null && b !== void 0 ? b : 1);
1936
+ }, 0);
1937
+ if (p < s) {
1938
+ let h = {
1939
+ type: "placeholder",
1940
+ key: "placeholder-" + m.key,
1941
+ colspan: s - p,
1942
+ colSpan: s - p,
1943
+ index: p,
1944
+ value: null,
1945
+ rendered: null,
1946
+ level: a,
1947
+ hasChildNodes: !1,
1948
+ childNodes: [],
1949
+ textValue: ""
1950
+ };
1951
+ c.length > 0 && (c[c.length - 1].nextKey = h.key, h.prevKey = c[c.length - 1].key), c.push(h);
1952
+ }
1953
+ c.length > 0 && (c[c.length - 1].nextKey = m.key, m.prevKey = c[c.length - 1].key), m.level = a, m.colIndex = s, c.push(m);
1954
+ }
1955
+ a--;
1956
+ }
1957
+ s++;
1958
+ }
1959
+ let u = 0;
1960
+ for (let f of d) {
1961
+ let a = f.reduce((m, c) => {
1962
+ var p;
1963
+ return m + ((p = c.colSpan) !== null && p !== void 0 ? p : 1);
1964
+ }, 0);
1965
+ if (a < e.length) {
1966
+ let m = {
1967
+ type: "placeholder",
1968
+ key: "placeholder-" + f[f.length - 1].key,
1969
+ colSpan: e.length - a,
1970
+ colspan: e.length - a,
1971
+ index: a,
1972
+ value: null,
1973
+ rendered: null,
1974
+ level: u,
1975
+ hasChildNodes: !1,
1976
+ childNodes: [],
1977
+ textValue: "",
1978
+ prevKey: f[f.length - 1].key
1979
+ };
1980
+ f.push(m);
1981
+ }
1982
+ u++;
1983
+ }
1984
+ return d.map((f, a) => ({
1985
+ type: "headerrow",
1986
+ key: "headerrow-" + a,
1987
+ index: a,
1988
+ value: null,
1989
+ rendered: null,
1990
+ level: 0,
1991
+ hasChildNodes: !0,
1992
+ childNodes: f,
1993
+ textValue: ""
1994
+ }));
1995
+ }
1996
+ class No extends Mo {
1997
+ *[Symbol.iterator]() {
1998
+ yield* this.body.childNodes;
1999
+ }
2000
+ get size() {
2001
+ return this._size;
2002
+ }
2003
+ getKeys() {
2004
+ return this.keyMap.keys();
2005
+ }
2006
+ getKeyBefore(e) {
2007
+ let l = this.keyMap.get(e);
2008
+ var n;
2009
+ return (n = l?.prevKey) !== null && n !== void 0 ? n : null;
2010
+ }
2011
+ getKeyAfter(e) {
2012
+ let l = this.keyMap.get(e);
2013
+ var n;
2014
+ return (n = l?.nextKey) !== null && n !== void 0 ? n : null;
2015
+ }
2016
+ getFirstKey() {
2017
+ var e, l;
2018
+ return (l = (e = de(this.body.childNodes)) === null || e === void 0 ? void 0 : e.key) !== null && l !== void 0 ? l : null;
2019
+ }
2020
+ getLastKey() {
2021
+ var e, l;
2022
+ return (l = (e = ce(this.body.childNodes)) === null || e === void 0 ? void 0 : e.key) !== null && l !== void 0 ? l : null;
2023
+ }
2024
+ getItem(e) {
2025
+ var l;
2026
+ return (l = this.keyMap.get(e)) !== null && l !== void 0 ? l : null;
2027
+ }
2028
+ at(e) {
2029
+ const l = [
2030
+ ...this.getKeys()
2031
+ ];
2032
+ return this.getItem(l[e]);
2033
+ }
2034
+ getChildren(e) {
2035
+ return e === this.body.key ? this.body.childNodes : super.getChildren(e);
2036
+ }
2037
+ getTextValue(e) {
2038
+ let l = this.getItem(e);
2039
+ if (!l) return "";
2040
+ if (l.textValue) return l.textValue;
2041
+ let n = this.rowHeaderColumnKeys;
2042
+ if (n) {
2043
+ let o = [];
2044
+ for (let i of l.childNodes) {
2045
+ let r = this.columns[i.index];
2046
+ if (n.has(r.key) && i.textValue && o.push(i.textValue), o.length === n.size) break;
2047
+ }
2048
+ return o.join(" ");
2049
+ }
2050
+ return "";
2051
+ }
2052
+ constructor(e, l, n) {
2053
+ let o = /* @__PURE__ */ new Set(), i = null, r = [];
2054
+ if (n?.showSelectionCheckboxes) {
2055
+ let a = {
2056
+ type: "column",
2057
+ key: jl,
2058
+ value: null,
2059
+ textValue: "",
2060
+ level: 0,
2061
+ index: n?.showDragButtons ? 1 : 0,
2062
+ hasChildNodes: !1,
2063
+ rendered: null,
2064
+ childNodes: [],
2065
+ props: {
2066
+ isSelectionCell: !0
2067
+ }
2068
+ };
2069
+ r.unshift(a);
2070
+ }
2071
+ if (n?.showDragButtons) {
2072
+ let a = {
2073
+ type: "column",
2074
+ key: ut,
2075
+ value: null,
2076
+ textValue: "",
2077
+ level: 0,
2078
+ index: 0,
2079
+ hasChildNodes: !1,
2080
+ rendered: null,
2081
+ childNodes: [],
2082
+ props: {
2083
+ isDragButtonCell: !0
2084
+ }
2085
+ };
2086
+ r.unshift(a);
2087
+ }
2088
+ let d = [], s = /* @__PURE__ */ new Map(), u = (a) => {
2089
+ switch (a.type) {
2090
+ case "body":
2091
+ i = a;
2092
+ break;
2093
+ case "column":
2094
+ s.set(a.key, a), a.hasChildNodes || (r.push(a), a.props.isRowHeader && o.add(a.key));
2095
+ break;
2096
+ case "item":
2097
+ d.push(a);
2098
+ return;
2099
+ }
2100
+ for (let m of a.childNodes) u(m);
2101
+ };
2102
+ for (let a of e) u(a);
2103
+ let f = Ul(s, r);
2104
+ if (f.forEach((a, m) => d.splice(m, 0, a)), super({
2105
+ columnCount: r.length,
2106
+ items: d,
2107
+ visitNode: (a) => (a.column = r[a.index], a)
2108
+ }), this._size = 0, this.columns = r, this.rowHeaderColumnKeys = o, this.body = i, this.headerRows = f, this._size = [
2109
+ ...i.childNodes
2110
+ ].length, this.rowHeaderColumnKeys.size === 0) {
2111
+ let a = this.columns.find((m) => {
2112
+ var c, p;
2113
+ return !(!((c = m.props) === null || c === void 0) && c.isDragButtonCell) && !(!((p = m.props) === null || p === void 0) && p.isSelectionCell);
2114
+ });
2115
+ a && this.rowHeaderColumnKeys.add(a.key);
2116
+ }
2117
+ }
2118
+ }
2119
+ const Fo = {
2120
+ ascending: "descending",
2121
+ descending: "ascending"
2122
+ };
2123
+ function Io(t) {
2124
+ let [e, l] = Z(!1), { selectionMode: n = "none", showSelectionCheckboxes: o, showDragButtons: i } = t, r = K(() => ({
2125
+ showSelectionCheckboxes: o && n !== "none",
2126
+ showDragButtons: i,
2127
+ selectionMode: n,
2128
+ columns: []
2129
+ }), [
2130
+ t.children,
2131
+ o,
2132
+ n,
2133
+ i
2134
+ ]), d = Rn(t, N((a) => new No(a, null, r), [
2135
+ r
2136
+ ]), r), { disabledKeys: s, selectionManager: u } = Ko({
2137
+ ...t,
2138
+ collection: d,
2139
+ disabledBehavior: t.disabledBehavior || "selection"
2140
+ });
2141
+ var f;
2142
+ return {
2143
+ collection: d,
2144
+ disabledKeys: s,
2145
+ selectionManager: u,
2146
+ showSelectionCheckboxes: t.showSelectionCheckboxes || !1,
2147
+ sortDescriptor: (f = t.sortDescriptor) !== null && f !== void 0 ? f : null,
2148
+ isKeyboardNavigationDisabled: d.size === 0 || e,
2149
+ setKeyboardNavigationDisabled: l,
2150
+ sort(a, m) {
2151
+ var c, p;
2152
+ (p = t.onSortChange) === null || p === void 0 || p.call(t, {
2153
+ column: a,
2154
+ direction: m ?? (((c = t.sortDescriptor) === null || c === void 0 ? void 0 : c.column) === a ? Fo[t.sortDescriptor.direction] : "ascending")
2155
+ });
2156
+ }
2157
+ };
2158
+ }
2159
+ function Vo(t, e) {
2160
+ let l = K(() => e ? t.collection.filter(e) : t.collection, [
2161
+ t.collection,
2162
+ e
2163
+ ]), n = t.selectionManager.withCollection(l);
2164
+ return {
2165
+ ...t,
2166
+ collection: l,
2167
+ selectionManager: n
2168
+ };
2169
+ }
2170
+ function Ho(t) {
2171
+ return t && t.__esModule ? t.default : t;
2172
+ }
2173
+ class Wo extends Vn {
2174
+ addNode(e) {
2175
+ super.addNode(e), this.columnsDirty || (this.columnsDirty = e.type === "column"), e.type === "tableheader" && (this.head = e), e.type === "tablebody" && (this.body = e);
2176
+ }
2177
+ commit(e, l, n = !1) {
2178
+ this.updateColumns(n), this.rows = [];
2179
+ for (let r of this.getChildren(this.body.key)) {
2180
+ let d = r.lastChildKey;
2181
+ if (d != null) {
2182
+ let s = this.getItem(d);
2183
+ var o, i;
2184
+ let u = ((o = s.colIndex) !== null && o !== void 0 ? o : s.index) + ((i = s.colSpan) !== null && i !== void 0 ? i : 1);
2185
+ if (u !== this.columns.length && !n) throw new Error(`Cell count must match column count. Found ${u} cells and ${this.columns.length} columns.`);
2186
+ }
2187
+ this.rows.push(r);
2188
+ }
2189
+ super.commit(e, l, n);
2190
+ }
2191
+ updateColumns(e) {
2192
+ if (!this.columnsDirty) return;
2193
+ this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.columns = [];
2194
+ let l = /* @__PURE__ */ new Map(), n = (o) => {
2195
+ o.type === "column" && (l.set(o.key, o), o.hasChildNodes || (o.index = this.columns.length, this.columns.push(o), o.props.isRowHeader && this.rowHeaderColumnKeys.add(o.key)));
2196
+ for (let i of this.getChildren(o.key)) n(i);
2197
+ };
2198
+ for (let o of this.getChildren(this.head.key)) n(o);
2199
+ if (this.headerRows = Ul(l, this.columns), this.columnsDirty = !1, this.rowHeaderColumnKeys.size === 0 && this.columns.length > 0 && !e) throw new Error("A table must have at least one Column with the isRowHeader prop set to true");
2200
+ }
2201
+ get columnCount() {
2202
+ return this.columns.length;
2203
+ }
2204
+ *[Symbol.iterator]() {
2205
+ this.head.key !== -1 && (yield this.head, yield this.body);
2206
+ }
2207
+ getFirstKey() {
2208
+ return this.body.firstChildKey;
2209
+ }
2210
+ getLastKey() {
2211
+ return this.body.lastChildKey;
2212
+ }
2213
+ getKeyAfter(e) {
2214
+ let l = this.getItem(e);
2215
+ var n;
2216
+ return l?.type === "column" ? (n = l.nextKey) !== null && n !== void 0 ? n : null : super.getKeyAfter(e);
2217
+ }
2218
+ getKeyBefore(e) {
2219
+ var l;
2220
+ let n = this.getItem(e);
2221
+ var o;
2222
+ if (n?.type === "column") return (o = n.prevKey) !== null && o !== void 0 ? o : null;
2223
+ let i = super.getKeyBefore(e);
2224
+ return i != null && ((l = this.getItem(i)) === null || l === void 0 ? void 0 : l.type) === "tablebody" ? null : i;
2225
+ }
2226
+ getChildren(e) {
2227
+ if (!this.getItem(e)) {
2228
+ for (let l of this.headerRows)
2229
+ if (l.key === e) return l.childNodes;
2230
+ }
2231
+ return super.getChildren(e);
2232
+ }
2233
+ clone() {
2234
+ let e = super.clone();
2235
+ return e.headerRows = this.headerRows, e.columns = this.columns, e.rowHeaderColumnKeys = this.rowHeaderColumnKeys, e.head = this.head, e.body = this.body, e;
2236
+ }
2237
+ getTextValue(e) {
2238
+ let l = this.getItem(e);
2239
+ if (!l) return "";
2240
+ if (l.textValue) return l.textValue;
2241
+ let n = this.rowHeaderColumnKeys, o = [];
2242
+ for (let i of this.getChildren(e)) {
2243
+ let r = this.columns[i.index];
2244
+ if (n.has(r.key) && i.textValue && o.push(i.textValue), o.length === n.size) break;
2245
+ }
2246
+ return o.join(" ");
2247
+ }
2248
+ constructor(...e) {
2249
+ super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new yt(-1), this.body = new $t(-2), this.columnsDirty = !0;
2250
+ }
2251
+ }
2252
+ const gt = /* @__PURE__ */ pe(null), Lo = /* @__PURE__ */ J(function(e, l) {
2253
+ let n = Q(l), o = T(null), i = T(null), [r, d] = Z(0);
2254
+ rt(() => {
2255
+ let u = o.current;
2256
+ for (; u && u !== n.current && !On(u); ) u = u.parentElement;
2257
+ i.current = u;
2258
+ }, [
2259
+ n
2260
+ ]), Ln({
2261
+ ref: i,
2262
+ box: "border-box",
2263
+ onResize() {
2264
+ var u, f;
2265
+ d((f = (u = i.current) === null || u === void 0 ? void 0 : u.clientWidth) !== null && f !== void 0 ? f : 0);
2266
+ }
2267
+ }), rt(() => {
2268
+ var u, f;
2269
+ d((f = (u = i.current) === null || u === void 0 ? void 0 : u.clientWidth) !== null && f !== void 0 ? f : 0);
2270
+ }, []);
2271
+ let s = K(() => ({
2272
+ tableRef: o,
2273
+ scrollRef: i,
2274
+ tableWidth: r,
2275
+ useTableColumnResizeState: Bo,
2276
+ onResizeStart: e.onResizeStart,
2277
+ onResize: e.onResize,
2278
+ onResizeEnd: e.onResizeEnd
2279
+ }), [
2280
+ o,
2281
+ r,
2282
+ e.onResizeStart,
2283
+ e.onResize,
2284
+ e.onResizeEnd
2285
+ ]);
2286
+ return /* @__PURE__ */ D.createElement(V.div, {
2287
+ render: e.render,
2288
+ ...ee(e, {
2289
+ global: !0
2290
+ }),
2291
+ ref: n,
2292
+ className: e.className || "react-aria-ResizableTableContainer",
2293
+ style: e.style,
2294
+ onScroll: e.onScroll
2295
+ }, /* @__PURE__ */ D.createElement(gt.Provider, {
2296
+ value: s
2297
+ }, e.children));
2298
+ }), Oo = /* @__PURE__ */ pe(null), re = /* @__PURE__ */ pe(null), vt = /* @__PURE__ */ pe(null), jo = /* @__PURE__ */ J(function(e, l) {
2299
+ var n;
2300
+ [e, l] = Xt(e, l, Oo);
2301
+ let o = Zt(e), { selectionBehavior: i, selectionMode: r, disallowEmptySelection: d } = o, s = !!(!((n = e.dragAndDropHooks) === null || n === void 0) && n.useDraggableCollectionState), u = K(() => ({
2302
+ selectionBehavior: r === "none" ? null : i,
2303
+ selectionMode: r,
2304
+ disallowEmptySelection: d,
2305
+ allowsDragging: s
2306
+ }), [
2307
+ i,
2308
+ r,
2309
+ d,
2310
+ s
2311
+ ]), f = /* @__PURE__ */ D.createElement(Gl.Provider, {
2312
+ value: u
2313
+ }, /* @__PURE__ */ D.createElement(Be, e));
2314
+ return /* @__PURE__ */ D.createElement(Fn, {
2315
+ content: f,
2316
+ createCollection: () => new Wo()
2317
+ }, (a) => /* @__PURE__ */ D.createElement(Go, {
2318
+ props: e,
2319
+ forwardedRef: l,
2320
+ selectionState: o,
2321
+ collection: a
2322
+ }));
2323
+ });
2324
+ let Uo = /* @__PURE__ */ J(function(e, l) {
2325
+ let { isVirtualized: n } = k(H);
2326
+ return n ? /* @__PURE__ */ D.createElement(V.div, {
2327
+ ...e,
2328
+ ref: l
2329
+ }) : /* @__PURE__ */ D.createElement(V.table, {
2330
+ ...e,
2331
+ ref: l
2332
+ });
2333
+ });
2334
+ function Go({ props: t, forwardedRef: e, selectionState: l, collection: n }) {
2335
+ [t, e] = Xt(t, e, Kt);
2336
+ let { shouldUseVirtualFocus: o, disallowTypeAhead: i, filter: r, ...d } = t, s = k(gt);
2337
+ e = Q(K(() => Wn(e, s?.tableRef), [
2338
+ e,
2339
+ s?.tableRef
2340
+ ]));
2341
+ let u = Io({
2342
+ ...d,
2343
+ collection: n,
2344
+ children: void 0,
2345
+ UNSAFE_selectionState: l
2346
+ }), f = Vo(u, r), { isVirtualized: a, layoutDelegate: m, dropTargetDelegate: c, CollectionRoot: p } = k(H), { dragAndDropHooks: h } = t, { gridProps: g } = go({
2347
+ ...d,
2348
+ layoutDelegate: m,
2349
+ isVirtualized: a
2350
+ }, f, e), b = f.selectionManager, $ = !!h?.useDraggableCollectionState, v = !!h?.useDroppableCollectionState, C = T($), y = T(v);
2351
+ fe(() => {
2352
+ 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."), y.current !== v && console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."));
2353
+ }, [
2354
+ $,
2355
+ v
2356
+ ]);
2357
+ let S, E, P, B = !1, M = null, z = T(null);
2358
+ if ($ && h) {
2359
+ S = h.useDraggableCollectionState({
2360
+ collection: f.collection,
2361
+ selectionManager: b,
2362
+ preview: h.renderDragPreview ? z : void 0
2363
+ }), h.useDraggableCollection({}, S, e);
2364
+ let ne = h.DragPreview;
2365
+ M = h.renderDragPreview ? /* @__PURE__ */ D.createElement(ne, {
2366
+ ref: z
2367
+ }, h.renderDragPreview) : null;
2368
+ }
2369
+ if (v && h) {
2370
+ E = h.useDroppableCollectionState({
2371
+ collection: f.collection,
2372
+ selectionManager: b
2373
+ });
2374
+ let ne = new to({
2375
+ collection: f.collection,
2376
+ disabledKeys: b.disabledKeys,
2377
+ disabledBehavior: b.disabledBehavior,
2378
+ ref: e,
2379
+ layoutDelegate: m
2380
+ }), ue = h.dropTargetDelegate || c || new h.ListDropTargetDelegate(n.rows, e);
2381
+ P = h.useDroppableCollection({
2382
+ keyboardDelegate: ne,
2383
+ dropTargetDelegate: ue
2384
+ }, E, e), B = E.isDropTarget({
2385
+ type: "root"
2386
+ });
2387
+ }
2388
+ let { focusProps: W, isFocused: U, isFocusVisible: F } = De(), I = me({
2389
+ ...t,
2390
+ children: void 0,
2391
+ defaultClassName: "react-aria-Table",
2392
+ values: {
2393
+ isDropTarget: B,
2394
+ isFocused: U,
2395
+ isFocusVisible: F,
2396
+ state: f
2397
+ }
2398
+ }), X = !!($ && !S?.isDisabled), O = I.style, te = null;
2399
+ s && (te = s.useTableColumnResizeState({
2400
+ tableWidth: s.tableWidth
2401
+ }, f), a || (O = {
2402
+ ...O,
2403
+ tableLayout: "fixed",
2404
+ width: "fit-content"
2405
+ }));
2406
+ let be = ee(t, {
2407
+ global: !0
2408
+ });
2409
+ var le;
2410
+ return /* @__PURE__ */ D.createElement(Je, {
2411
+ values: [
2412
+ [
2413
+ re,
2414
+ f
2415
+ ],
2416
+ [
2417
+ vt,
2418
+ te
2419
+ ],
2420
+ [
2421
+ Se,
2422
+ {
2423
+ dragAndDropHooks: h,
2424
+ dragState: S,
2425
+ dropState: E
2426
+ }
2427
+ ],
2428
+ [
2429
+ Tn,
2430
+ {
2431
+ render: ni
2432
+ }
2433
+ ],
2434
+ [
2435
+ Kt,
2436
+ null
2437
+ ],
2438
+ [
2439
+ En,
2440
+ null
2441
+ ]
2442
+ ]
2443
+ }, /* @__PURE__ */ D.createElement(Xn, null, /* @__PURE__ */ D.createElement(Uo, {
2444
+ ...j(be, I, g, W, P?.collectionProps),
2445
+ style: O,
2446
+ ref: e,
2447
+ slot: t.slot || void 0,
2448
+ onScroll: t.onScroll,
2449
+ "data-allows-dragging": X || void 0,
2450
+ "data-drop-target": B || void 0,
2451
+ "data-focused": U || void 0,
2452
+ "data-focus-visible": F || void 0
2453
+ }, /* @__PURE__ */ D.createElement(Mn, null, /* @__PURE__ */ D.createElement(p, {
2454
+ collection: f.collection,
2455
+ scrollRef: (le = s?.scrollRef) !== null && le !== void 0 ? le : e,
2456
+ persistedKeys: Pn(b, h, E)
2457
+ })))), M);
2458
+ }
2459
+ const Gl = /* @__PURE__ */ pe(null);
2460
+ function Yl() {
2461
+ return k(Gl);
2462
+ }
2463
+ class yt extends Qe {
2464
+ }
2465
+ yt.type = "tableheader";
2466
+ let Yo = /* @__PURE__ */ J(function(e, l) {
2467
+ let { isVirtualized: n } = k(H);
2468
+ return n ? /* @__PURE__ */ D.createElement(V.div, {
2469
+ ...e,
2470
+ ref: l
2471
+ }) : /* @__PURE__ */ D.createElement(V.thead, {
2472
+ ...e,
2473
+ ref: l
2474
+ });
2475
+ });
2476
+ const Xo = /* @__PURE__ */ ct(yt, (t, e) => {
2477
+ let l = k(re).collection, n = Nn({
2478
+ items: l.headerRows,
2479
+ children: N((s) => {
2480
+ if (s.type === "headerrow")
2481
+ return /* @__PURE__ */ D.createElement(Zo, {
2482
+ item: s
2483
+ });
2484
+ throw new Error("Unsupported node type in TableHeader: " + s.type);
2485
+ }, [])
2486
+ }), { rowGroupProps: o } = Wl(), { hoverProps: i, isHovered: r } = Ke({
2487
+ onHoverStart: t.onHoverStart,
2488
+ onHoverChange: t.onHoverChange,
2489
+ onHoverEnd: t.onHoverEnd
2490
+ }), d = me({
2491
+ ...t,
2492
+ children: void 0,
2493
+ defaultClassName: "react-aria-TableHeader",
2494
+ values: {
2495
+ isHovered: r
2496
+ }
2497
+ });
2498
+ return /* @__PURE__ */ D.createElement(Yo, {
2499
+ ...j(ee(t, {
2500
+ global: !0
2501
+ }), o, i),
2502
+ ...d,
2503
+ ref: e,
2504
+ "data-hovered": r || void 0
2505
+ }, n);
2506
+ }, (t) => /* @__PURE__ */ D.createElement(Be, {
2507
+ dependencies: t.dependencies,
2508
+ items: t.columns
2509
+ }, t.children));
2510
+ let qo = /* @__PURE__ */ J(function(e, l) {
2511
+ let { isVirtualized: n } = k(H);
2512
+ return n ? /* @__PURE__ */ D.createElement("div", {
2513
+ ...e,
2514
+ ref: l
2515
+ }) : /* @__PURE__ */ D.createElement("tr", {
2516
+ ...e,
2517
+ ref: l
2518
+ });
2519
+ });
2520
+ function Zo({ item: t }) {
2521
+ let e = T(null), l = k(re), { isVirtualized: n, CollectionBranch: o } = k(H), { rowProps: i } = xo({
2522
+ node: t,
2523
+ isVirtualized: n
2524
+ }, l, e), { checkboxProps: r } = So(l);
2525
+ return /* @__PURE__ */ D.createElement(qo, {
2526
+ ...i,
2527
+ ref: e
2528
+ }, /* @__PURE__ */ D.createElement(Je, {
2529
+ values: [
2530
+ [
2531
+ Yt,
2532
+ {
2533
+ slots: {
2534
+ selection: r
2535
+ }
2536
+ }
2537
+ ]
2538
+ ]
2539
+ }, /* @__PURE__ */ D.createElement(o, {
2540
+ collection: l.collection,
2541
+ parent: t
2542
+ })));
2543
+ }
2544
+ class Xl extends Qe {
2545
+ }
2546
+ Xl.type = "column";
2547
+ let Jo = /* @__PURE__ */ J(function(e, l) {
2548
+ let { isVirtualized: n } = k(H);
2549
+ return n ? /* @__PURE__ */ D.createElement(V.div, {
2550
+ ...e,
2551
+ ref: l
2552
+ }) : /* @__PURE__ */ D.createElement(V.th, {
2553
+ ...e,
2554
+ ref: l
2555
+ });
2556
+ });
2557
+ const Qo = /* @__PURE__ */ Qt(Xl, (t, e, l) => {
2558
+ var n, o;
2559
+ let i = Q(e), r = k(re), { isVirtualized: d } = k(H), { columnHeaderProps: s, isPressed: u } = yo({
2560
+ node: l,
2561
+ isVirtualized: d
2562
+ }, r, i), { isFocused: f, isFocusVisible: a, focusProps: m } = De(), c = k(vt), p = !1;
2563
+ if (c) p = c.resizingColumn === l.key;
2564
+ else if (process.env.NODE_ENV !== "production")
2565
+ for (let C in [
2566
+ "width",
2567
+ "defaultWidth",
2568
+ "minWidth",
2569
+ "maxWidth"
2570
+ ]) C in l.props && console.warn(`The ${C} 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.`);
2571
+ let { hoverProps: h, isHovered: g } = Ke({
2572
+ isDisabled: !t.allowsSorting
2573
+ }), b = me({
2574
+ ...t,
2575
+ id: void 0,
2576
+ children: l.rendered,
2577
+ defaultClassName: "react-aria-Column",
2578
+ values: {
2579
+ isHovered: g,
2580
+ isPressed: u,
2581
+ isFocused: f,
2582
+ isFocusVisible: a,
2583
+ allowsSorting: l.props.allowsSorting,
2584
+ sortDirection: ((n = r.sortDescriptor) === null || n === void 0 ? void 0 : n.column) === l.key ? r.sortDescriptor.direction : void 0,
2585
+ isResizing: p,
2586
+ startResize: () => {
2587
+ if (c)
2588
+ c.startResize(l.key), r.setKeyboardNavigationDisabled(!0);
2589
+ else throw new Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");
2590
+ },
2591
+ sort: (C) => {
2592
+ r.sort(l.key, C);
2593
+ }
2594
+ }
2595
+ }), $ = b.style;
2596
+ c && ($ = {
2597
+ ...$,
2598
+ width: c.getColumnWidth(l.key)
2599
+ });
2600
+ let v = ee(t, {
2601
+ global: !0
2602
+ });
2603
+ return delete v.id, /* @__PURE__ */ D.createElement(Jo, {
2604
+ ...j(v, s, m, h),
2605
+ ...b,
2606
+ style: $,
2607
+ ref: i,
2608
+ "data-hovered": g || void 0,
2609
+ "data-pressed": u || void 0,
2610
+ "data-focused": f || void 0,
2611
+ "data-focus-visible": a || void 0,
2612
+ "data-resizing": p || void 0,
2613
+ "data-allows-sorting": l.props.allowsSorting || void 0,
2614
+ "data-sort-direction": ((o = r.sortDescriptor) === null || o === void 0 ? void 0 : o.column) === l.key ? r.sortDescriptor.direction : void 0
2615
+ }, /* @__PURE__ */ D.createElement(Je, {
2616
+ values: [
2617
+ [
2618
+ ql,
2619
+ {
2620
+ column: l,
2621
+ triggerRef: i
2622
+ }
2623
+ ],
2624
+ [
2625
+ H,
2626
+ Jt
2627
+ ]
2628
+ ]
2629
+ }, b.children));
2630
+ }), ql = /* @__PURE__ */ pe(null), _o = /* @__PURE__ */ J(function(e, l) {
2631
+ let n = k(vt);
2632
+ if (!n) throw new Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");
2633
+ let o = Me(Ho(Bn), "react-aria-components"), { onResizeStart: i, onResize: r, onResizeEnd: d } = k(gt), { column: s, triggerRef: u } = k(ql), f = T(null), { resizerProps: a, inputProps: m, isResizing: c } = ko({
2634
+ column: s,
2635
+ "aria-label": e["aria-label"] || o.format("tableResizer"),
2636
+ onResizeStart: i,
2637
+ onResize: r,
2638
+ onResizeEnd: d,
2639
+ triggerRef: u
2640
+ }, n, f), { focusProps: p, isFocused: h, isFocusVisible: g } = De(), { hoverProps: b, isHovered: $ } = Ke(e), v = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), C = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: y } = Ee(), S = "both";
2641
+ v ? S = y === "rtl" ? "right" : "left" : C ? S = y === "rtl" ? "left" : "right" : S = "both";
2642
+ let E = Q(l), [P, B] = Z("");
2643
+ fe(() => {
2644
+ if (!E.current) return;
2645
+ let I = window.getComputedStyle(E.current);
2646
+ B(I.cursor);
2647
+ }, [
2648
+ E,
2649
+ S
2650
+ ]);
2651
+ let M = me({
2652
+ ...e,
2653
+ defaultClassName: "react-aria-ColumnResizer",
2654
+ values: {
2655
+ isFocused: h,
2656
+ isFocusVisible: g,
2657
+ isResizing: c,
2658
+ isHovered: $,
2659
+ resizableDirection: S
2660
+ }
2661
+ }), [z, W] = Z(!1), U = (I) => {
2662
+ I.pointerType === "mouse" && W(!0);
2663
+ };
2664
+ !c && z && W(!1);
2665
+ let F = ee(e, {
2666
+ global: !0
2667
+ });
2668
+ return /* @__PURE__ */ D.createElement(V.div, {
2669
+ ref: E,
2670
+ role: "presentation",
2671
+ ...j(F, M, a, {
2672
+ onPointerDown: U
2673
+ }, b),
2674
+ "data-hovered": $ || void 0,
2675
+ "data-focused": h || void 0,
2676
+ "data-focus-visible": g || void 0,
2677
+ "data-resizing": c || void 0,
2678
+ "data-resizable-direction": S
2679
+ }, M.children, /* @__PURE__ */ D.createElement("input", {
2680
+ ref: f,
2681
+ ...j(m, p)
2682
+ }), c && z && /* @__PURE__ */ jn.createPortal(/* @__PURE__ */ D.createElement("div", {
2683
+ style: {
2684
+ position: "fixed",
2685
+ top: 0,
2686
+ left: 0,
2687
+ bottom: 0,
2688
+ right: 0,
2689
+ cursor: P
2690
+ }
2691
+ }), document.body));
2692
+ });
2693
+ class $t extends In {
2694
+ }
2695
+ $t.type = "tablebody";
2696
+ let ei = /* @__PURE__ */ J(function(e, l) {
2697
+ let { isVirtualized: n } = k(H);
2698
+ return n ? /* @__PURE__ */ D.createElement(V.div, {
2699
+ ...e,
2700
+ ref: l
2701
+ }) : /* @__PURE__ */ D.createElement(V.tbody, {
2702
+ ...e,
2703
+ ref: l
2704
+ });
2705
+ });
2706
+ const ti = /* @__PURE__ */ ct($t, (t, e) => {
2707
+ let l = k(re), { isVirtualized: n } = k(H), o = l.collection, { CollectionBranch: i } = k(H), { dragAndDropHooks: r, dropState: d } = k(Se), s = !!r?.useDroppableCollectionState && !d?.isDisabled;
2708
+ var u;
2709
+ let f = s && !!d && ((u = d.isDropTarget({
2710
+ type: "root"
2711
+ })) !== null && u !== void 0 ? u : !1), a = o.size === 0, m = {
2712
+ isDropTarget: f,
2713
+ isEmpty: a
2714
+ }, c = me({
2715
+ ...t,
2716
+ id: void 0,
2717
+ children: void 0,
2718
+ defaultClassName: "react-aria-TableBody",
2719
+ values: m
2720
+ }), p, h = o.columnCount;
2721
+ if (a && t.renderEmptyState && l) {
2722
+ let $ = {}, v = {}, C = {};
2723
+ n ? (v["aria-colspan"] = h, C = {
2724
+ display: "contents"
2725
+ }) : v.colSpan = h, p = /* @__PURE__ */ D.createElement(Ze, {
2726
+ role: "row",
2727
+ ...$,
2728
+ style: C
2729
+ }, /* @__PURE__ */ D.createElement(et, {
2730
+ role: "rowheader",
2731
+ ...v,
2732
+ style: C
2733
+ }, t.renderEmptyState(m)));
2734
+ }
2735
+ let { rowGroupProps: g } = Wl(), b = ee(t, {
2736
+ global: !0
2737
+ });
2738
+ return /* @__PURE__ */ D.createElement(ei, {
2739
+ ...j(b, c, g),
2740
+ ref: e,
2741
+ "data-empty": a || void 0
2742
+ }, s && /* @__PURE__ */ D.createElement(si, null), /* @__PURE__ */ D.createElement(i, {
2743
+ collection: o,
2744
+ parent: o.body,
2745
+ renderDropIndicator: An(r, d)
2746
+ }), p);
2747
+ });
2748
+ class Zl extends Qe {
2749
+ filter(e, l, n) {
2750
+ let o = e.getChildren(this.key);
2751
+ for (let i of o) if (n(i.textValue, i)) {
2752
+ let r = this.clone();
2753
+ return l.addDescendants(r, e), r;
2754
+ }
2755
+ return null;
2756
+ }
2757
+ }
2758
+ Zl.type = "item";
2759
+ let Ze = /* @__PURE__ */ J(function(e, l) {
2760
+ let { isVirtualized: n } = k(H);
2761
+ return n ? /* @__PURE__ */ D.createElement(V.div, {
2762
+ ...e,
2763
+ ref: l
2764
+ }) : /* @__PURE__ */ D.createElement(V.tr, {
2765
+ ...e,
2766
+ ref: l
2767
+ });
2768
+ });
2769
+ const Wt = /* @__PURE__ */ ct(Zl, (t, e, l) => {
2770
+ let n = Q(e), o = k(re), { dragAndDropHooks: i, dragState: r, dropState: d } = k(Se), { isVirtualized: s, CollectionBranch: u } = k(H), { rowProps: f, ...a } = $o({
2771
+ node: l,
2772
+ shouldSelectOnPressUp: !!r,
2773
+ isVirtualized: s
2774
+ }, o, n), { isFocused: m, isFocusVisible: c, focusProps: p } = De(), { isFocusVisible: h, focusProps: g } = De({
2775
+ within: !0
2776
+ }), { hoverProps: b, isHovered: $ } = Ke({
2777
+ isDisabled: !a.allowsSelection && !a.hasAction,
2778
+ onHoverStart: t.onHoverStart,
2779
+ onHoverChange: t.onHoverChange,
2780
+ onHoverEnd: t.onHoverEnd
2781
+ }), { checkboxProps: v } = Do({
2782
+ key: l.key
2783
+ }, o), C;
2784
+ r && i && (C = i.useDraggableItem({
2785
+ key: l.key,
2786
+ hasDragButton: !0
2787
+ }, r));
2788
+ let y, S = T(null), { visuallyHiddenProps: E } = _e();
2789
+ d && i && (y = i.useDropIndicator({
2790
+ target: {
2791
+ type: "item",
2792
+ key: l.key,
2793
+ dropPosition: "on"
2794
+ }
2795
+ }, d, S));
2796
+ let P = T(null);
2797
+ fe(() => {
2798
+ r && !P.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.');
2799
+ }, []);
2800
+ let B = r && r.isDragging(l.key), { children: M, ...z } = t, W = me({
2801
+ ...z,
2802
+ id: void 0,
2803
+ defaultClassName: "react-aria-Row",
2804
+ values: {
2805
+ ...a,
2806
+ isHovered: $,
2807
+ isFocused: m,
2808
+ isFocusVisible: c,
2809
+ selectionMode: o.selectionManager.selectionMode,
2810
+ selectionBehavior: o.selectionManager.selectionBehavior,
2811
+ isDragging: B,
2812
+ isDropTarget: y?.isDropTarget,
2813
+ isFocusVisibleWithin: h,
2814
+ id: l.key
2815
+ }
2816
+ }), U = ee(t, {
2817
+ global: !0
2818
+ });
2819
+ return delete U.id, delete U.onClick, /* @__PURE__ */ D.createElement(D.Fragment, null, y && !y.isHidden && /* @__PURE__ */ D.createElement(Ze, {
2820
+ role: "row",
2821
+ style: {
2822
+ height: 0
2823
+ }
2824
+ }, /* @__PURE__ */ D.createElement(et, {
2825
+ role: "gridcell",
2826
+ colSpan: o.collection.columnCount,
2827
+ style: {
2828
+ padding: 0
2829
+ }
2830
+ }, /* @__PURE__ */ D.createElement("div", {
2831
+ role: "button",
2832
+ ...E,
2833
+ ...y.dropIndicatorProps,
2834
+ ref: S
2835
+ }))), /* @__PURE__ */ D.createElement(Ze, {
2836
+ ...j(U, W, f, p, b, C?.dragProps, g),
2837
+ ref: n,
2838
+ "data-disabled": a.isDisabled || void 0,
2839
+ "data-selected": a.isSelected || void 0,
2840
+ "data-hovered": $ || void 0,
2841
+ "data-focused": a.isFocused || void 0,
2842
+ "data-focus-visible": c || void 0,
2843
+ "data-pressed": a.isPressed || void 0,
2844
+ "data-dragging": B || void 0,
2845
+ "data-drop-target": y?.isDropTarget || void 0,
2846
+ "data-selection-mode": o.selectionManager.selectionMode === "none" ? void 0 : o.selectionManager.selectionMode,
2847
+ "data-focus-visible-within": h || void 0
2848
+ }, /* @__PURE__ */ D.createElement(Je, {
2849
+ values: [
2850
+ [
2851
+ Yt,
2852
+ {
2853
+ slots: {
2854
+ [Mt]: {},
2855
+ selection: v
2856
+ }
2857
+ }
2858
+ ],
2859
+ [
2860
+ Gt,
2861
+ {
2862
+ slots: {
2863
+ [Mt]: {},
2864
+ drag: {
2865
+ ...C?.dragButtonProps,
2866
+ ref: P,
2867
+ style: {
2868
+ pointerEvents: "none"
2869
+ }
2870
+ }
2871
+ }
2872
+ }
2873
+ ],
2874
+ [
2875
+ Kn,
2876
+ {
2877
+ isSelected: a.isSelected
2878
+ }
2879
+ ]
2880
+ ]
2881
+ }, /* @__PURE__ */ D.createElement(u, {
2882
+ collection: o.collection,
2883
+ parent: l
2884
+ }))));
2885
+ }, (t) => {
2886
+ if (t.id == null && typeof t.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.");
2887
+ let e = [
2888
+ t.value
2889
+ ].concat(t.dependencies);
2890
+ return /* @__PURE__ */ D.createElement(Be, {
2891
+ dependencies: e,
2892
+ items: t.columns,
2893
+ idScope: t.id
2894
+ }, t.children);
2895
+ });
2896
+ class Jl extends Qe {
2897
+ }
2898
+ Jl.type = "cell";
2899
+ let et = /* @__PURE__ */ J(function(e, l) {
2900
+ let { isVirtualized: n } = k(H);
2901
+ return n ? /* @__PURE__ */ D.createElement(V.div, {
2902
+ ...e,
2903
+ ref: l
2904
+ }) : /* @__PURE__ */ D.createElement(V.td, {
2905
+ ...e,
2906
+ ref: l
2907
+ });
2908
+ });
2909
+ const li = /* @__PURE__ */ Qt(Jl, (t, e, l) => {
2910
+ let n = Q(e), o = k(re), { dragState: i } = k(Se), { isVirtualized: r } = k(H);
2911
+ l.column = o.collection.columns[l.index];
2912
+ let { gridCellProps: d, isPressed: s } = Co({
2913
+ node: l,
2914
+ shouldSelectOnPressUp: !!i,
2915
+ isVirtualized: r
2916
+ }, o, n), { isFocused: u, isFocusVisible: f, focusProps: a } = De(), { hoverProps: m, isHovered: c } = Ke({}), p = l.parentKey != null ? o.selectionManager.isSelected(l.parentKey) : !1, h = l.colIndex || l.index, g = me({
2917
+ ...t,
2918
+ id: void 0,
2919
+ defaultClassName: "react-aria-Cell",
2920
+ values: {
2921
+ isFocused: u,
2922
+ isFocusVisible: f,
2923
+ isPressed: s,
2924
+ isHovered: c,
2925
+ isSelected: p,
2926
+ id: l.key,
2927
+ columnIndex: h
2928
+ }
2929
+ }), b = ee(t, {
2930
+ global: !0
2931
+ });
2932
+ return delete b.id, /* @__PURE__ */ D.createElement(et, {
2933
+ ...j(b, g, d, a, m),
2934
+ ref: n,
2935
+ "data-focused": u || void 0,
2936
+ "data-focus-visible": f || void 0,
2937
+ "data-pressed": s || void 0,
2938
+ "data-selected": p || void 0,
2939
+ "data-column-index": h
2940
+ }, /* @__PURE__ */ D.createElement(H.Provider, {
2941
+ value: Jt
2942
+ }, g.children));
2943
+ });
2944
+ function ni(t, e) {
2945
+ e = Q(e);
2946
+ let { dragAndDropHooks: l, dropState: n } = k(Se), o = T(null), { dropIndicatorProps: i, isHidden: r, isDropTarget: d } = l.useDropIndicator(t, n, o);
2947
+ return r ? null : /* @__PURE__ */ D.createElement(ai, {
2948
+ ...t,
2949
+ dropIndicatorProps: i,
2950
+ isDropTarget: d,
2951
+ buttonRef: o,
2952
+ ref: e
2953
+ });
2954
+ }
2955
+ let oi = /* @__PURE__ */ J(function(e, l) {
2956
+ let { isVirtualized: n } = k(H);
2957
+ return n ? /* @__PURE__ */ D.createElement(V.div, {
2958
+ ...e,
2959
+ ref: l
2960
+ }) : /* @__PURE__ */ D.createElement(V.tr, {
2961
+ ...e,
2962
+ ref: l
2963
+ });
2964
+ }), ii = /* @__PURE__ */ J(function(e, l) {
2965
+ let { isVirtualized: n } = k(H);
2966
+ return n ? /* @__PURE__ */ D.createElement(V.div, {
2967
+ ...e,
2968
+ ref: l
2969
+ }) : /* @__PURE__ */ D.createElement(V.td, {
2970
+ ...e,
2971
+ ref: l
2972
+ });
2973
+ });
2974
+ function ri(t, e) {
2975
+ let { dropIndicatorProps: l, isDropTarget: n, buttonRef: o, ...i } = t, r = k(re), { visuallyHiddenProps: d } = _e(), s = me({
2976
+ ...i,
2977
+ defaultClassName: "react-aria-DropIndicator",
2978
+ values: {
2979
+ isDropTarget: n
2980
+ }
2981
+ });
2982
+ return /* @__PURE__ */ D.createElement(oi, {
2983
+ ...ee(t, {
2984
+ global: !0
2985
+ }),
2986
+ ...s,
2987
+ role: "row",
2988
+ ref: e,
2989
+ "data-drop-target": n || void 0
2990
+ }, /* @__PURE__ */ D.createElement(ii, {
2991
+ role: "gridcell",
2992
+ colSpan: r.collection.columnCount,
2993
+ style: {
2994
+ padding: 0
2995
+ }
2996
+ }, /* @__PURE__ */ D.createElement("div", {
2997
+ ...d,
2998
+ role: "button",
2999
+ ...l,
3000
+ ref: o
3001
+ }), s.children));
3002
+ }
3003
+ const ai = /* @__PURE__ */ J(ri);
3004
+ function si() {
3005
+ let t = k(re), { dragAndDropHooks: e, dropState: l } = k(Se), n = T(null), { dropIndicatorProps: o } = e.useDropIndicator({
3006
+ target: {
3007
+ type: "root"
3008
+ }
3009
+ }, l, n), i = l.isDropTarget({
3010
+ type: "root"
3011
+ }), { visuallyHiddenProps: r } = _e();
3012
+ return !i && o["aria-hidden"] ? null : /* @__PURE__ */ D.createElement(Ze, {
3013
+ role: "row",
3014
+ "aria-hidden": o["aria-hidden"],
3015
+ style: {
3016
+ height: 0
3017
+ }
3018
+ }, /* @__PURE__ */ D.createElement(et, {
3019
+ role: "gridcell",
3020
+ colSpan: t.collection.columnCount,
3021
+ style: {
3022
+ padding: 0
3023
+ }
3024
+ }, /* @__PURE__ */ D.createElement("div", {
3025
+ role: "button",
3026
+ ...r,
3027
+ ...o,
3028
+ ref: n
3029
+ })));
3030
+ }
3031
+ const { withProvider: ui, withContext: ae } = /* @__PURE__ */ Sn({
3032
+ key: "nimbusDataTable"
3033
+ }), di = /* @__PURE__ */ ui("div", "root"), ci = /* @__PURE__ */ ae("table", "table"), fi = /* @__PURE__ */ ae("tr", "header"), pi = /* @__PURE__ */ ae("th", "column"), mi = /* @__PURE__ */ ae("tbody", "body"), Lt = /* @__PURE__ */ ae("tr", "row"), hi = /* @__PURE__ */ ae("td", "cell"), bi = /* @__PURE__ */ ae("footer", "footer"), gi = /* @__PURE__ */ ae("span", "headerSortIcon"), vi = /* @__PURE__ */ ae("div", "columnResizer"), tt = /* @__PURE__ */ pe(null);
3034
+ tt.displayName = "DataTable.Context";
3035
+ const xt = /* @__PURE__ */ pe(null);
3036
+ xt.displayName = "CustomSettings.Context";
3037
+ const he = () => {
3038
+ const t = k(
3039
+ tt
3040
+ );
3041
+ if (!t)
3042
+ throw new Error("DataTable components must be used within DataTable.Root");
3043
+ return t;
3044
+ }, yi = () => {
3045
+ const t = k(xt);
3046
+ if (!t)
3047
+ throw new Error(
3048
+ "CustomSettings components must be used within CustomSettings.Root"
3049
+ );
3050
+ return t;
3051
+ };
3052
+ function Ql(t, e, l, n) {
3053
+ if (!e) return t;
3054
+ const o = e.toLowerCase();
3055
+ return t.map((i) => {
3056
+ const r = l.some((d) => {
3057
+ const s = d.accessor(i);
3058
+ return typeof s == "string" && s.toLowerCase().includes(o);
3059
+ });
3060
+ if (n && i[n]) {
3061
+ let d = i[n];
3062
+ if (Array.isArray(i[n])) {
3063
+ if (d = Ql(
3064
+ i[n],
3065
+ e,
3066
+ l,
3067
+ n
3068
+ ), r || d && Array.isArray(d) && d.length > 0)
3069
+ return { ...i, [n]: d };
3070
+ } else if (r)
3071
+ return { ...i, [n]: d };
3072
+ return null;
3073
+ } else
3074
+ return r ? i : null;
3075
+ }).filter(Boolean);
3076
+ }
3077
+ function _l(t, e, l, n, o) {
3078
+ const i = [], r = [];
3079
+ t.forEach((u) => {
3080
+ o?.has(u.id) ? i.push(u) : r.push(u);
3081
+ });
3082
+ let d = r;
3083
+ if (e) {
3084
+ const u = l.find((f) => f.id === e.column);
3085
+ u && (d = [...r].sort((f, a) => {
3086
+ const m = u.accessor(f), c = u.accessor(a);
3087
+ if (m == null && c == null) return 0;
3088
+ if (m == null) return 1;
3089
+ if (c == null) return -1;
3090
+ const p = typeof m == "number" && typeof c == "number" ? m : String(m).toLowerCase(), h = typeof m == "number" && typeof c == "number" ? c : String(c).toLowerCase();
3091
+ return p < h ? e.direction === "ascending" ? -1 : 1 : p > h ? e.direction === "ascending" ? 1 : -1 : 0;
3092
+ }));
3093
+ }
3094
+ return [...i, ...d].map((u) => !n || !u[n] ? u : {
3095
+ ...u,
3096
+ [n]: Array.isArray(u[n]) ? _l(
3097
+ u[n],
3098
+ e,
3099
+ l,
3100
+ n,
3101
+ o
3102
+ ) : u[n]
3103
+ });
3104
+ }
3105
+ function en(t, e) {
3106
+ return e ? t.some(
3107
+ (l) => l[e] && (Array.isArray(l[e]) ? l[e].length > 0 : !0) || Array.isArray(l[e]) && en(l[e], e)
3108
+ ) : !1;
3109
+ }
3110
+ const Ct = function(e) {
3111
+ const {
3112
+ ref: l,
3113
+ columns: n = [],
3114
+ rows: o = [],
3115
+ visibleColumns: i,
3116
+ search: r,
3117
+ sortDescriptor: d,
3118
+ defaultSortDescriptor: s,
3119
+ onSortChange: u,
3120
+ selectedKeys: f,
3121
+ defaultSelectedKeys: a,
3122
+ onSelectionChange: m,
3123
+ selectionMode: c = "none",
3124
+ disallowEmptySelection: p = !1,
3125
+ allowsSorting: h = !1,
3126
+ maxHeight: g,
3127
+ isTruncated: b = !1,
3128
+ density: $ = "default",
3129
+ nestedKey: v,
3130
+ onRowClick: C,
3131
+ onDetailsClick: y,
3132
+ disabledKeys: S,
3133
+ onRowAction: E,
3134
+ isResizable: P,
3135
+ expandedRows: B,
3136
+ defaultExpandedRows: M,
3137
+ onExpandRowsChange: z,
3138
+ pinnedRows: W,
3139
+ defaultPinnedRows: U,
3140
+ onPinToggle: F,
3141
+ onColumnsChange: I,
3142
+ onSettingsChange: X,
3143
+ customSettings: O,
3144
+ children: te,
3145
+ ...be
3146
+ } = e, le = T(null), ne = Q(Pe(le, l)), [ue, w] = Z(s), [A, G] = Z(
3147
+ () => M || /* @__PURE__ */ new Set()
3148
+ ), [lt, nn] = Z(
3149
+ () => U || /* @__PURE__ */ new Set()
3150
+ ), Fe = d ?? ue, Ie = B ?? A, Ve = W ?? lt, ge = K(() => {
3151
+ if (!i)
3152
+ return n;
3153
+ const q = new Map(n.map((Y) => [Y.id, Y]));
3154
+ return i.map((Y) => q.get(Y)).filter((Y) => Y !== void 0);
3155
+ }, [n, i]), He = K(
3156
+ () => r ? Ql(o, r, ge, v) : o,
3157
+ [o, r, ge, v]
3158
+ ), nt = K(
3159
+ () => _l(
3160
+ He,
3161
+ Fe,
3162
+ ge,
3163
+ v,
3164
+ Ve
3165
+ ),
3166
+ [He, Fe, ge, v, Ve]
3167
+ ), kt = en(nt, v), zt = c !== "none", Rt = N(
3168
+ (q) => {
3169
+ const Y = new Set(Ie);
3170
+ Y.has(q) ? Y.delete(q) : Y.add(q), z?.(Y), B === void 0 && G(Y);
3171
+ },
3172
+ [Ie, z, B]
3173
+ ), At = N(
3174
+ (q) => {
3175
+ F ? F(q) : nn((Y) => {
3176
+ const We = new Set(Y);
3177
+ return We.has(q) ? We.delete(q) : We.add(q), We;
3178
+ });
3179
+ },
3180
+ [F]
3181
+ ), Tt = N(
3182
+ (q) => {
3183
+ u ? u(q) : w(q);
3184
+ },
3185
+ [u]
3186
+ ), on = K(
3187
+ () => ({
3188
+ columns: n,
3189
+ rows: o,
3190
+ visibleColumns: i,
3191
+ search: r,
3192
+ sortDescriptor: Fe,
3193
+ selectedKeys: f,
3194
+ defaultSelectedKeys: a,
3195
+ expanded: Ie,
3196
+ allowsSorting: h,
3197
+ selectionMode: c,
3198
+ disallowEmptySelection: p,
3199
+ maxHeight: g,
3200
+ isTruncated: b,
3201
+ density: $,
3202
+ nestedKey: v,
3203
+ onSortChange: Tt,
3204
+ onSelectionChange: m,
3205
+ onRowClick: C,
3206
+ onDetailsClick: y,
3207
+ toggleExpand: Rt,
3208
+ activeColumns: ge,
3209
+ filteredRows: He,
3210
+ sortedRows: nt,
3211
+ showExpandColumn: kt,
3212
+ showSelectionColumn: zt,
3213
+ isResizable: P,
3214
+ disabledKeys: S,
3215
+ onRowAction: E,
3216
+ pinnedRows: Ve,
3217
+ onPinToggle: F,
3218
+ togglePin: At,
3219
+ onColumnsChange: I,
3220
+ onSettingsChange: X
3221
+ }),
3222
+ [
3223
+ n,
3224
+ o,
3225
+ i,
3226
+ r,
3227
+ Fe,
3228
+ f,
3229
+ a,
3230
+ Ie,
3231
+ h,
3232
+ c,
3233
+ p,
3234
+ g,
3235
+ b,
3236
+ $,
3237
+ v,
3238
+ Tt,
3239
+ m,
3240
+ C,
3241
+ y,
3242
+ Rt,
3243
+ ge,
3244
+ He,
3245
+ nt,
3246
+ kt,
3247
+ zt,
3248
+ P,
3249
+ S,
3250
+ E,
3251
+ Ve,
3252
+ F,
3253
+ At,
3254
+ I,
3255
+ X
3256
+ ]
3257
+ ), rn = K(
3258
+ () => ({
3259
+ customSettings: O
3260
+ }),
3261
+ [O]
3262
+ );
3263
+ return /* @__PURE__ */ x(
3264
+ di,
3265
+ {
3266
+ ref: ne,
3267
+ truncated: b,
3268
+ density: $,
3269
+ maxH: g,
3270
+ ...be,
3271
+ asChild: !0,
3272
+ children: /* @__PURE__ */ x(Lo, { children: /* @__PURE__ */ x(
3273
+ tt.Provider,
3274
+ {
3275
+ value: on,
3276
+ children: /* @__PURE__ */ x(xt.Provider, { value: rn, children: te })
3277
+ }
3278
+ ) })
3279
+ }
3280
+ );
3281
+ };
3282
+ Ct.displayName = "DataTable.Root";
3283
+ const $i = {
3284
+ comfortable: "Comfortable",
3285
+ comfortableAriaLabel: "Comfortable section",
3286
+ compact: "Compact",
3287
+ compactAriaLabel: "Compact section",
3288
+ dataTable: "Data table",
3289
+ dataTableBody: "Data table body",
3290
+ dataTableHeader: "Data table header",
3291
+ expandRows: "Expand rows",
3292
+ fullText: "Full text",
3293
+ fullTextAriaLabel: "Full text section",
3294
+ hiddenColumns: "Hidden columns",
3295
+ hiddenColumnsAriaLabel: "Hidden columns list",
3296
+ hideColumn: "Hide column",
3297
+ layoutSettings: "Layout settings",
3298
+ layoutSettingsAriaLabel: "Layout settings section",
3299
+ noHiddenColumns: "No Hidden columns",
3300
+ pinRows: "Pin rows",
3301
+ reset: "Reset columns",
3302
+ resizeColumn: "Resize column",
3303
+ rowDensity: "Row density",
3304
+ rowDensityAriaLabel: "Row density section",
3305
+ searchHiddenColumns: "Search...",
3306
+ selectRow: "Select row",
3307
+ settings: "Table settings",
3308
+ settingsTabsAriaLabel: "Settings tabs",
3309
+ textPreviews: "Text previews",
3310
+ textPreviewsAriaLabel: "Text previews section",
3311
+ textVisibility: "Text visibility",
3312
+ textVisibilityAriaLabel: "Text visibility section",
3313
+ visibleColumns: "Visible columns",
3314
+ visibleColumnsAria: "Visible columns list",
3315
+ visibleColumnsList: "Visible columns"
3316
+ }, xi = {
3317
+ comfortable: "Komfortabel",
3318
+ comfortableAriaLabel: "Komfortabler Bereich",
3319
+ compact: "Kompakt",
3320
+ compactAriaLabel: "Kompakter Bereich",
3321
+ dataTable: "Datentabelle",
3322
+ dataTableBody: "Datentabellenkörper",
3323
+ dataTableHeader: "Datentabellenüberschrift",
3324
+ expandRows: "Zeilen erweitern",
3325
+ fullText: "Vollständiger Text",
3326
+ fullTextAriaLabel: "Volltextbereich",
3327
+ hiddenColumns: "Ausgeblendete Spalten",
3328
+ hiddenColumnsAriaLabel: "Ausgeblendete Spaltenliste",
3329
+ hideColumn: "Spalte ausblenden",
3330
+ layoutSettings: "Layout-Einstellungen",
3331
+ layoutSettingsAriaLabel: "Bereich Layout-Einstellungen",
3332
+ noHiddenColumns: "Keine ausgeblendeten Spalten",
3333
+ pinRows: "Zeilen fixieren",
3334
+ reset: "Spalten zurücksetzen",
3335
+ resizeColumn: "Spalte vergrößern",
3336
+ rowDensity: "Zeilendichte",
3337
+ rowDensityAriaLabel: "Abschnitt Zellendichte",
3338
+ searchHiddenColumns: "Suche ...",
3339
+ selectRow: "Zeile auswählen",
3340
+ settings: "Tabellen-Einstellungen",
3341
+ settingsTabsAriaLabel: "Settings tabs",
3342
+ textPreviews: "Textvorschau",
3343
+ textPreviewsAriaLabel: "Abschnitt Textvorschau",
3344
+ textVisibility: "Textsichtbarkeit",
3345
+ textVisibilityAriaLabel: "Abschnitt Textsichtbarkeit",
3346
+ visibleColumns: "Sichtbare Spalten",
3347
+ visibleColumnsAria: "Sichtbare Spaltenliste",
3348
+ visibleColumnsList: "Sichtbare Spalten"
3349
+ }, Ci = {
3350
+ comfortable: "Cómoda",
3351
+ comfortableAriaLabel: "Sección cómoda",
3352
+ compact: "Compacta",
3353
+ compactAriaLabel: "Sección compacta",
3354
+ dataTable: "Tabla de datos",
3355
+ dataTableBody: "Cuerpo de la tabla de datos",
3356
+ dataTableHeader: "Encabezamiento de la tabla de datos",
3357
+ expandRows: "Extender filas",
3358
+ fullText: "Texto completo",
3359
+ fullTextAriaLabel: "Sección de texto completo",
3360
+ hiddenColumns: "Columnas ocultas",
3361
+ hiddenColumnsAriaLabel: "Lista de columnas ocultas",
3362
+ hideColumn: "Ocultar columna",
3363
+ layoutSettings: "Configuraciones de formato",
3364
+ layoutSettingsAriaLabel: "Sección de configuraciones de formato",
3365
+ noHiddenColumns: "Sin columnas ocultas",
3366
+ pinRows: "Fijar filas",
3367
+ reset: "Restablecer columnas",
3368
+ resizeColumn: "Ajustar tamaño de columna",
3369
+ rowDensity: "Densidad de filas",
3370
+ rowDensityAriaLabel: "Sección de densidad de filas",
3371
+ searchHiddenColumns: "Buscar...",
3372
+ selectRow: "Seleccionar fila",
3373
+ settings: "Configuraciones de tablas",
3374
+ settingsTabsAriaLabel: "Settings tabs",
3375
+ textPreviews: "Vistas preliminares de texto",
3376
+ textPreviewsAriaLabel: "Sección de vistas preliminares de texto",
3377
+ textVisibility: "Visibilidad de texto",
3378
+ textVisibilityAriaLabel: "Sección de visibilidad de texto",
3379
+ visibleColumns: "Columnas visibles",
3380
+ visibleColumnsAria: "Lista de columnas visibles",
3381
+ visibleColumnsList: "Columnas visibles"
3382
+ }, wi = {
3383
+ comfortable: "Confortable",
3384
+ comfortableAriaLabel: "Section Confortable",
3385
+ compact: "Compact",
3386
+ compactAriaLabel: "Section Compact",
3387
+ dataTable: "Tableau de données",
3388
+ dataTableBody: "Corps du tableau de données",
3389
+ dataTableHeader: "En-tête du tableau de données",
3390
+ expandRows: "Agrandir les lignes",
3391
+ fullText: "Texte complet",
3392
+ fullTextAriaLabel: "Section Texte complet",
3393
+ hiddenColumns: "Colonnes masquées",
3394
+ hiddenColumnsAriaLabel: "Liste des colonnes masquées",
3395
+ hideColumn: "Masquer la colonne",
3396
+ layoutSettings: "Paramètres de disposition",
3397
+ layoutSettingsAriaLabel: "Section Paramètres de disposition",
3398
+ noHiddenColumns: "Pas de colonnes masquées",
3399
+ pinRows: "Épingler les lignes",
3400
+ reset: "Réinitialiser les colonnes",
3401
+ resizeColumn: "Modifier la taille de la colonne",
3402
+ rowDensity: "Densité des lignes",
3403
+ rowDensityAriaLabel: "Section Densité des lignes",
3404
+ searchHiddenColumns: "Rechercher...",
3405
+ selectRow: "Sélectionner une ligne",
3406
+ settings: "Paramètres du tableau",
3407
+ settingsTabsAriaLabel: "Settings tabs",
3408
+ textPreviews: "Aperçu du texte",
3409
+ textPreviewsAriaLabel: "Section Aperçu du texte",
3410
+ textVisibility: "Visibilité du texte",
3411
+ textVisibilityAriaLabel: "Section Visibilité du texte",
3412
+ visibleColumns: "Colonnes visibles",
3413
+ visibleColumnsAria: "Liste des colonnes visibles",
3414
+ visibleColumnsList: "Colonnes visibles"
3415
+ }, Di = {
3416
+ comfortable: "Confortável",
3417
+ comfortableAriaLabel: "Seção confortável",
3418
+ compact: "Compacto",
3419
+ compactAriaLabel: "Seção compacta",
3420
+ dataTable: "Tabela de dados",
3421
+ dataTableBody: "Corpo da tabela de dados",
3422
+ dataTableHeader: "Cabeçalho da tabela de dados",
3423
+ expandRows: "Expandir linhas",
3424
+ fullText: "Texto completo",
3425
+ fullTextAriaLabel: "Seção de texto completo",
3426
+ hiddenColumns: "Colunas ocultas",
3427
+ hiddenColumnsAriaLabel: "Lista de colunas ocultas",
3428
+ hideColumn: "Ocultar coluna",
3429
+ layoutSettings: "Configurações de layout",
3430
+ layoutSettingsAriaLabel: "Seção de configurações de layout",
3431
+ noHiddenColumns: "Sem colunas ocultas",
3432
+ pinRows: "Fixar linhas",
3433
+ reset: "Redefinir colunas",
3434
+ resizeColumn: "Redimensionar colunas",
3435
+ rowDensity: "Densidade da linha",
3436
+ rowDensityAriaLabel: "Seção de densidade da linha",
3437
+ searchHiddenColumns: "Buscar...",
3438
+ selectRow: "Selecionar linha",
3439
+ settings: "Configurações da tabela",
3440
+ settingsTabsAriaLabel: "Settings tabs",
3441
+ textPreviews: "Pré-visualizações de texto",
3442
+ textPreviewsAriaLabel: "Seção de pré-visualizações de texto",
3443
+ textVisibility: "Visibilidade do texto",
3444
+ textVisibilityAriaLabel: "Seção de visibilidade do texto",
3445
+ visibleColumns: "Colunas visíveis",
3446
+ visibleColumnsAria: "Lista de colunas visíveis",
3447
+ visibleColumnsList: "Colunas visíveis"
3448
+ }, se = {
3449
+ en: /* @__PURE__ */ ze($i),
3450
+ de: /* @__PURE__ */ ze(xi),
3451
+ es: /* @__PURE__ */ ze(Ci),
3452
+ "fr-FR": /* @__PURE__ */ ze(wi),
3453
+ "pt-BR": /* @__PURE__ */ ze(Di)
3454
+ }, wt = function({
3455
+ ref: e,
3456
+ children: l,
3457
+ "aria-label": n,
3458
+ ...o
3459
+ }) {
3460
+ const i = T(null), r = Q(Pe(i, e)), d = ie(se), {
3461
+ sortDescriptor: s,
3462
+ onSortChange: u,
3463
+ selectionMode: f,
3464
+ onSelectionChange: a,
3465
+ selectedKeys: m,
3466
+ defaultSelectedKeys: c,
3467
+ disallowEmptySelection: p,
3468
+ disabledKeys: h
3469
+ } = he(), [g, b] = ke(o), $ = n ?? d.format("dataTable"), v = s ? {
3470
+ column: s.column,
3471
+ direction: s.direction
3472
+ } : void 0;
3473
+ return /* @__PURE__ */ x(ci, { ...g, asChild: !0, children: /* @__PURE__ */ x(
3474
+ jo,
3475
+ {
3476
+ ref: r,
3477
+ "aria-label": $,
3478
+ sortDescriptor: v,
3479
+ onSortChange: (y) => {
3480
+ y && u && u({
3481
+ column: String(y.column),
3482
+ direction: y.direction
3483
+ });
3484
+ },
3485
+ selectedKeys: m,
3486
+ defaultSelectedKeys: c,
3487
+ onSelectionChange: a,
3488
+ selectionMode: f,
3489
+ disallowEmptySelection: p,
3490
+ disabledKeys: h,
3491
+ disabledBehavior: "all",
3492
+ ...b,
3493
+ children: l
3494
+ }
3495
+ ) });
3496
+ };
3497
+ wt.displayName = "DataTable.Table";
3498
+ const Ae = ({
3499
+ children: t,
3500
+ ref: e,
3501
+ column: l,
3502
+ isInternalColumn: n,
3503
+ width: o,
3504
+ minWidth: i,
3505
+ maxWidth: r,
3506
+ ...d
3507
+ }) => {
3508
+ const s = ie(se), { sortDescriptor: u, isResizable: f } = he(), a = u?.column === l?.id, m = l?.isResizable !== void 0 ? l?.isResizable : f, [c, p] = ke(d);
3509
+ return /* @__PURE__ */ x(pi, { ...c, asChild: !0, children: /* @__PURE__ */ x(
3510
+ Qo,
3511
+ {
3512
+ width: o,
3513
+ minWidth: i,
3514
+ maxWidth: r,
3515
+ ref: e,
3516
+ ...p,
3517
+ children: (h) => {
3518
+ const { allowsSorting: g } = h;
3519
+ return n ? typeof t == "function" ? t(h) : t : /* @__PURE__ */ R(
3520
+ so,
3521
+ {
3522
+ tabIndex: m || g ? -1 : 0,
3523
+ className: "nimbus-data-table__column-container",
3524
+ children: [
3525
+ /* @__PURE__ */ x(
3526
+ Ut,
3527
+ {
3528
+ orientation: "vertical",
3529
+ className: "data-table-column-divider"
3530
+ }
3531
+ ),
3532
+ typeof t == "function" ? t(h) : t,
3533
+ g && /* @__PURE__ */ x(
3534
+ gi,
3535
+ {
3536
+ "aria-hidden": "true",
3537
+ "data-sort-active": a,
3538
+ "data-sort-direction": a ? u?.direction : "none",
3539
+ children: /* @__PURE__ */ x(an, {})
3540
+ }
3541
+ ),
3542
+ m && /* @__PURE__ */ x(_o, { "aria-label": s.format("resizeColumn"), children: ({ isResizing: b, isFocused: $, isHovered: v }) => /* @__PURE__ */ x(
3543
+ vi,
3544
+ {
3545
+ "data-resizing": b,
3546
+ "data-focused": $,
3547
+ "data-hovered": v
3548
+ }
3549
+ ) })
3550
+ ]
3551
+ }
3552
+ );
3553
+ }
3554
+ }
3555
+ ) });
3556
+ };
3557
+ Ae.displayName = "DataTable.Column";
3558
+ const Dt = ({
3559
+ ref: t,
3560
+ "aria-label": e,
3561
+ ...l
3562
+ }) => {
3563
+ const n = ie(se), { activeColumns: o, allowsSorting: i, maxHeight: r, showExpandColumn: d } = he(), { selectionBehavior: s, selectionMode: u } = Yl(), [f, a] = ke(l), m = e ?? n.format("dataTableHeader");
3564
+ return /* @__PURE__ */ x(fi, { ...f, asChild: !0, children: /* @__PURE__ */ R(
3565
+ Xo,
3566
+ {
3567
+ ref: t,
3568
+ "aria-label": m,
3569
+ className: "data-table-header",
3570
+ ...r && { "data-sticky": !0 },
3571
+ columns: o,
3572
+ ...a,
3573
+ children: [
3574
+ s === "toggle" && /* @__PURE__ */ x(
3575
+ Ae,
3576
+ {
3577
+ id: "selection",
3578
+ className: "selection-column-header",
3579
+ maxWidth: 72,
3580
+ minWidth: 72,
3581
+ allowsSorting: !1,
3582
+ isInternalColumn: !0,
3583
+ children: u === "multiple" && /* @__PURE__ */ x(tl, { slot: "selection" })
3584
+ }
3585
+ ),
3586
+ d && /* @__PURE__ */ x(
3587
+ Ae,
3588
+ {
3589
+ className: "expand-column-header",
3590
+ maxWidth: s === "toggle" ? 24 : 72,
3591
+ minWidth: s === "toggle" ? 24 : 72,
3592
+ allowsSorting: !1,
3593
+ "aria-label": n.format("expandRows"),
3594
+ isInternalColumn: !0,
3595
+ children: /* @__PURE__ */ x(Nt, { children: n.format("expandRows") })
3596
+ }
3597
+ ),
3598
+ /* @__PURE__ */ x(Be, { items: o, children: (c) => /* @__PURE__ */ R(
3599
+ Ae,
3600
+ {
3601
+ allowsSorting: (
3602
+ // use column.isSortable if defined, and fallback to allowsSorting if not
3603
+ c.isSortable !== void 0 ? c.isSortable : i
3604
+ ),
3605
+ isRowHeader: !0,
3606
+ width: c.width,
3607
+ defaultWidth: c.defaultWidth,
3608
+ minWidth: c.minWidth ?? 150,
3609
+ maxWidth: c.maxWidth,
3610
+ column: c,
3611
+ children: [
3612
+ /* @__PURE__ */ x("span", { "data-multiline-header": !0, children: c.header }),
3613
+ c.headerIcon && /* @__PURE__ */ x(oe, { as: "span", ml: "200", children: c.headerIcon })
3614
+ ]
3615
+ }
3616
+ ) }),
3617
+ /* @__PURE__ */ x(
3618
+ Ae,
3619
+ {
3620
+ className: "pin-rows-column-header",
3621
+ id: "pin-rows",
3622
+ maxWidth: 72,
3623
+ minWidth: 72,
3624
+ allowsSorting: !1,
3625
+ isInternalColumn: !0,
3626
+ "aria-label": n.format("pinRows"),
3627
+ children: /* @__PURE__ */ x(Nt, { children: n.format("pinRows") })
3628
+ }
3629
+ )
3630
+ ]
3631
+ }
3632
+ ) });
3633
+ };
3634
+ Dt.displayName = "DataTable.Header";
3635
+ const Ce = ({
3636
+ ref: t,
3637
+ children: e,
3638
+ isDisabled: l,
3639
+ ...n
3640
+ }) => {
3641
+ const [o, i] = ke(n);
3642
+ return /* @__PURE__ */ x(hi, { asChild: !0, ...o, children: /* @__PURE__ */ x(li, { ref: t, ...i, children: (r) => /* @__PURE__ */ x(Gt.Provider, { value: { isDisabled: l }, children: typeof e == "function" ? e(r) : e }) }) });
3643
+ };
3644
+ Ce.displayName = "DataTable.Cell";
3645
+ function dt(t) {
3646
+ return t.target?.closest(
3647
+ 'button, input, [role="button"], [role="checkbox"], [slot="selection"], [data-slot="selection"]'
3648
+ );
3649
+ }
3650
+ function Ot(t) {
3651
+ dt(t) || t.stopPropagation();
3652
+ }
3653
+ const tn = ({
3654
+ row: t,
3655
+ ref: e,
3656
+ ...l
3657
+ }) => {
3658
+ const n = ie(se), {
3659
+ activeColumns: o,
3660
+ search: i,
3661
+ expanded: r,
3662
+ toggleExpand: d,
3663
+ nestedKey: s,
3664
+ disabledKeys: u,
3665
+ showExpandColumn: f,
3666
+ showSelectionColumn: a,
3667
+ isTruncated: m,
3668
+ onRowClick: c,
3669
+ onRowAction: p,
3670
+ pinnedRows: h,
3671
+ togglePin: g,
3672
+ sortedRows: b
3673
+ } = he(), [$, v] = ke(l), y = ((w) => u ? u === "all" || t.isDisabled ? !0 : u.has(w) : !1)(t.id), S = T(null), E = N(
3674
+ (w) => {
3675
+ if (!c) return;
3676
+ const A = dt(w), G = window.getSelection()?.toString() !== void 0 && window.getSelection().toString().length > 0;
3677
+ !A && !G && (S.current && window.clearTimeout(S.current), S.current = window.setTimeout(() => {
3678
+ y ? p && p(t, "click") : c(t), S.current = null;
3679
+ }, 300));
3680
+ },
3681
+ [c, p, t, y]
3682
+ ), P = N((w) => {
3683
+ dt(w) || S.current && (window.clearTimeout(S.current), S.current = null);
3684
+ }, []), B = T({
3685
+ count: 0,
3686
+ node: void 0
3687
+ }), M = N(
3688
+ (w) => {
3689
+ B.current.count += 1, B.current.count === 1 && w && (B.current.node = w, w.addEventListener(
3690
+ // Use pointerdown event in order to capture event before it bubbles to react-aria's onPress handler
3691
+ "pointerdown",
3692
+ Ot,
3693
+ {
3694
+ capture: !0
3695
+ }
3696
+ ), w.addEventListener("mouseup", E, { capture: !0 }), w.addEventListener("dblclick", P, {
3697
+ capture: !0
3698
+ }));
3699
+ },
3700
+ [E, P]
3701
+ );
3702
+ fe(() => {
3703
+ const w = B.current;
3704
+ return () => {
3705
+ S.current && (window.clearTimeout(S.current), S.current = null), w.count >= 1 && w.node && (w.node.removeEventListener(
3706
+ "pointerdown",
3707
+ Ot
3708
+ ), w.node.removeEventListener("mouseup", E), w.node.removeEventListener("dblclick", P));
3709
+ };
3710
+ }, [E, P]);
3711
+ const z = Pe(e, M), { selectionBehavior: W } = Yl(), U = s && t[s] && (Array.isArray(t[s]) ? t[s].length > 0 : !0), F = r.has(t.id), I = h.has(t.id), X = b.filter((w) => h.has(w.id)).map((w) => w.id), O = I ? X.indexOf(t.id) : -1, te = O === 0, be = O === X.length - 1, le = X.length === 1 && I, ne = () => I ? le ? "data-table-row-pinned-single" : te ? "data-table-row-pinned-first" : be ? "data-table-row-pinned-last" : "" : "", ue = (w) => i && typeof w == "string" ? /* @__PURE__ */ x(ao, { query: i, ignoreCase: !0, matchAll: !0, children: w }) : w;
3712
+ return /* @__PURE__ */ R(Re, { children: [
3713
+ /* @__PURE__ */ x(Lt, { asChild: !0, ...$, children: /* @__PURE__ */ R(
3714
+ Wt,
3715
+ {
3716
+ isDisabled: y,
3717
+ columns: o,
3718
+ ref: z,
3719
+ id: t.id,
3720
+ className: `data-table-row ${y ? "data-table-row-disabled" : ""} ${I ? `data-table-row-pinned ${ne()}` : ""}`,
3721
+ ...v,
3722
+ dependencies: [F, i, m],
3723
+ children: [
3724
+ W === "toggle" && /* @__PURE__ */ x(
3725
+ Ce,
3726
+ {
3727
+ className: "data-table-sticky-cell",
3728
+ "data-slot": "selection",
3729
+ isDisabled: y,
3730
+ children: /* @__PURE__ */ x(
3731
+ oe,
3732
+ {
3733
+ display: "flex",
3734
+ alignItems: "center",
3735
+ justifyContent: "center",
3736
+ w: "100%",
3737
+ h: "100%",
3738
+ children: /* @__PURE__ */ x(
3739
+ tl,
3740
+ {
3741
+ name: "select-row",
3742
+ slot: "selection",
3743
+ "aria-label": n.format("selectRow")
3744
+ }
3745
+ )
3746
+ }
3747
+ )
3748
+ }
3749
+ ),
3750
+ f && /* @__PURE__ */ x(
3751
+ Ce,
3752
+ {
3753
+ className: "data-table-sticky-cell",
3754
+ "data-slot": "expand",
3755
+ isDisabled: y,
3756
+ children: U ? (
3757
+ // TODO:Button does not occupy the whole height
3758
+ /* @__PURE__ */ x(
3759
+ it,
3760
+ {
3761
+ w: "100%",
3762
+ h: "100%",
3763
+ unstyled: !0,
3764
+ borderRadius: "0",
3765
+ "aria-label": F ? "Collapse" : "Expand",
3766
+ onPress: () => d(t.id),
3767
+ children: F ? /* @__PURE__ */ x(sn, {}) : /* @__PURE__ */ x(un, {})
3768
+ }
3769
+ )
3770
+ ) : null
3771
+ }
3772
+ ),
3773
+ /* @__PURE__ */ x(Be, { items: o, children: (w) => {
3774
+ const A = w.accessor(t);
3775
+ return /* @__PURE__ */ x(Ce, { isDisabled: y, children: /* @__PURE__ */ x(
3776
+ oe,
3777
+ {
3778
+ className: m ? "truncated-cell" : "",
3779
+ "data-truncated": m ? "true" : "false",
3780
+ display: "inline-block",
3781
+ h: "100%",
3782
+ minW: "0",
3783
+ maxW: "100%",
3784
+ position: "relative",
3785
+ overflow: "hidden",
3786
+ cursor: y ? "not-allowed" : "text",
3787
+ children: w.render ? w.render({
3788
+ value: ue(A),
3789
+ row: t,
3790
+ column: w
3791
+ }) : ue(A)
3792
+ }
3793
+ ) }, w.id);
3794
+ } }),
3795
+ /* @__PURE__ */ x(
3796
+ Ce,
3797
+ {
3798
+ className: "data-table-sticky-cell",
3799
+ "data-slot": "pin-row-cell",
3800
+ isDisabled: y,
3801
+ children: /* @__PURE__ */ x(
3802
+ oe,
3803
+ {
3804
+ "data-slot": I ? "nimbus-table-cell-pin-button-pinned" : "nimbus-table-cell-pin-button",
3805
+ children: /* @__PURE__ */ R(Ye.Root, { children: [
3806
+ /* @__PURE__ */ x(
3807
+ it,
3808
+ {
3809
+ size: "2xs",
3810
+ variant: "ghost",
3811
+ "aria-label": I ? "Unpin row" : "Pin row",
3812
+ colorPalette: "primary",
3813
+ onPress: () => g(t.id),
3814
+ children: /* @__PURE__ */ x(dn, {})
3815
+ },
3816
+ "pin-btn"
3817
+ ),
3818
+ /* @__PURE__ */ x(Ye.Content, { placement: "top", children: I ? "Unpin row" : "Pin row" })
3819
+ ] })
3820
+ }
3821
+ )
3822
+ }
3823
+ )
3824
+ ]
3825
+ }
3826
+ ) }),
3827
+ f && /* @__PURE__ */ x(Lt, { ...$, asChild: !0, children: /* @__PURE__ */ x(
3828
+ Wt,
3829
+ {
3830
+ "data-nested-row-expanded": F ? "true" : "false",
3831
+ dependencies: [F],
3832
+ children: /* @__PURE__ */ x(
3833
+ Ce,
3834
+ {
3835
+ isDisabled: y,
3836
+ colSpan: o.length + (f ? 1 : 0) + (a ? 1 : 0) + 1,
3837
+ "data-nested-cell": !0,
3838
+ children: F ? s && Array.isArray(t[s]) ? `${t[s].length} nested items` : s && t[s] : null
3839
+ }
3840
+ )
3841
+ }
3842
+ ) })
3843
+ ] });
3844
+ };
3845
+ tn.displayName = "DataTable.Row";
3846
+ const Si = () => /* @__PURE__ */ x(oe, { w: "100%", p: "200", children: "No Data" }), St = ({
3847
+ ref: t,
3848
+ "aria-label": e,
3849
+ ...l
3850
+ }) => {
3851
+ const n = ie(se), { sortedRows: o, activeColumns: i, renderEmptyState: r } = he(), [d, s] = ke(l), u = e ?? n.format("dataTableBody");
3852
+ return /* @__PURE__ */ x(mi, { asChild: !0, ...d, children: /* @__PURE__ */ x(
3853
+ ti,
3854
+ {
3855
+ ref: t,
3856
+ "aria-label": u,
3857
+ items: o,
3858
+ dependencies: [i],
3859
+ renderEmptyState: r ?? Si,
3860
+ ...s,
3861
+ children: (f) => /* @__PURE__ */ x(tn, { row: f }, f.id)
3862
+ }
3863
+ ) });
3864
+ };
3865
+ St.displayName = "DataTable.Body";
3866
+ const Et = function({
3867
+ ref: e,
3868
+ children: l,
3869
+ ...n
3870
+ }) {
3871
+ const o = T(null), i = Q(Pe(o, e));
3872
+ return /* @__PURE__ */ x(bi, { ref: i, ...n, children: l });
3873
+ };
3874
+ Et.displayName = "DataTable.Footer";
3875
+ function Ei(t) {
3876
+ return "onRemoveItem" in t && typeof t.onRemoveItem == "function";
3877
+ }
3878
+ const ki = ({
3879
+ hiddenItems: t,
3880
+ visibleItems: e,
3881
+ handleVisibleColumnsUpdate: l,
3882
+ handleResetColumns: n
3883
+ }) => {
3884
+ const [o, i] = Z(""), r = ie(se), d = K(() => t.filter(
3885
+ (a) => a.label?.toString().toLowerCase().includes(o.toLowerCase())
3886
+ ), [t, o]), s = (a) => {
3887
+ i(a);
3888
+ }, u = N(
3889
+ (a) => {
3890
+ const m = new Set(t.map((b) => b.id)), c = new Set(
3891
+ a.map((b) => b.id)
3892
+ ), p = t.filter(
3893
+ (b) => !c.has(b.id)
3894
+ ), h = a.filter(
3895
+ (b) => !m.has(b.id)
3896
+ );
3897
+ let g = [...e];
3898
+ if (p.length > 0 && (g = [...g, ...p]), h.length > 0) {
3899
+ const b = new Set(h.map(($) => $.id));
3900
+ g = g.filter(
3901
+ ($) => !b.has($.id)
3902
+ );
3903
+ }
3904
+ l(g);
3905
+ },
3906
+ [t, e, l]
3907
+ ), f = N(
3908
+ (a) => {
3909
+ l(a);
3910
+ },
3911
+ [l]
3912
+ );
3913
+ return !t || !e ? null : /* @__PURE__ */ R(Oe, { mt: "800", children: [
3914
+ /* @__PURE__ */ R(xe, { gap: "400", width: "100%", columns: 2, children: [
3915
+ /* @__PURE__ */ R(oe, { children: [
3916
+ /* @__PURE__ */ R(Oe, { direction: "row", alignItems: "center", mb: "200", children: [
3917
+ /* @__PURE__ */ x(cn, {}),
3918
+ /* @__PURE__ */ x(Te, { fontWeight: "700", fontSize: "sm", w: "full", children: r.format("hiddenColumns") })
3919
+ ] }),
3920
+ /* @__PURE__ */ R(
3921
+ Oe,
3922
+ {
3923
+ colorPalette: "primary",
3924
+ border: "{sizes.25} solid",
3925
+ borderColor: "colorPalette.3",
3926
+ borderRadius: "200",
3927
+ gap: "200",
3928
+ p: "300",
3929
+ h: "lg",
3930
+ children: [
3931
+ /* @__PURE__ */ x(
3932
+ xn,
3933
+ {
3934
+ w: "full",
3935
+ size: "sm",
3936
+ variant: "ghost",
3937
+ placeholder: r.format("searchHiddenColumns"),
3938
+ "aria-label": r.format("searchHiddenColumns"),
3939
+ onChange: s,
3940
+ value: o,
3941
+ "data-testid": "search-hidden-columns"
3942
+ }
3943
+ ),
3944
+ /* @__PURE__ */ x(
3945
+ Ut,
3946
+ {
3947
+ colorPalette: "primary",
3948
+ border: "{sizes.25} solid",
3949
+ borderColor: "colorPalette.3"
3950
+ }
3951
+ ),
3952
+ /* @__PURE__ */ x(
3953
+ Le.Root,
3954
+ {
3955
+ border: "none",
3956
+ borderColor: "none",
3957
+ h: "full",
3958
+ w: "full",
3959
+ overflowY: "auto",
3960
+ items: d,
3961
+ onUpdateItems: u,
3962
+ "aria-label": r.format("hiddenColumnsAriaLabel"),
3963
+ "data-testid": "hidden-columns-list",
3964
+ renderEmptyState: /* @__PURE__ */ x(Te, { fontSize: "sm", color: "gray.9", children: r.format("noHiddenColumns") }),
3965
+ children: (a) => /* @__PURE__ */ x(
3966
+ Le.Item,
3967
+ {
3968
+ py: "100",
3969
+ id: a.id,
3970
+ "aria-label": a.label?.toString() ?? a.id,
3971
+ children: a.label
3972
+ },
3973
+ a.id
3974
+ )
3975
+ }
3976
+ )
3977
+ ]
3978
+ }
3979
+ )
3980
+ ] }),
3981
+ /* @__PURE__ */ R(oe, { children: [
3982
+ /* @__PURE__ */ R(Oe, { direction: "row", alignItems: "center", mb: "200", children: [
3983
+ /* @__PURE__ */ x(fn, {}),
3984
+ /* @__PURE__ */ x(Te, { fontWeight: "700", fontSize: "sm", children: r.format("visibleColumnsList") })
3985
+ ] }),
3986
+ /* @__PURE__ */ x(
3987
+ Le.Root,
3988
+ {
3989
+ removableItems: !0,
3990
+ p: "300",
3991
+ h: "lg",
3992
+ overflowY: "auto",
3993
+ items: e,
3994
+ onUpdateItems: f,
3995
+ "aria-label": r.format("visibleColumnsAria"),
3996
+ "data-testid": "visible-columns-list",
3997
+ children: (a) => /* @__PURE__ */ x(
3998
+ Le.Item,
3999
+ {
4000
+ py: "100",
4001
+ id: a.id,
4002
+ onRemoveItem: Ei(a) ? a.onRemoveItem : void 0,
4003
+ "aria-label": a.label?.toString() ?? a.id,
4004
+ children: a.label
4005
+ },
4006
+ a.id
4007
+ )
4008
+ }
4009
+ )
4010
+ ] })
4011
+ ] }),
4012
+ /* @__PURE__ */ x(oe, { children: /* @__PURE__ */ R(
4013
+ wn,
4014
+ {
4015
+ variant: "ghost",
4016
+ colorPalette: "primary",
4017
+ size: "xs",
4018
+ onPress: n,
4019
+ "aria-label": r.format("reset"),
4020
+ children: [
4021
+ /* @__PURE__ */ x(pn, {}),
4022
+ r.format("reset")
4023
+ ]
4024
+ }
4025
+ ) })
4026
+ ] });
4027
+ }, jt = {
4028
+ TOGGLE_TEXT_VISIBILITY: "toggleTextVisibility",
4029
+ TOGGLE_ROW_DENSITY: "toggleRowDensity"
4030
+ }, zi = ({
4031
+ onSettingsChange: t
4032
+ }) => {
4033
+ const e = ie(se), l = he(), n = l.isTruncated ?? !1, o = l.density === "condensed" ? "compact" : "comfortable", i = (d) => {
4034
+ Array.from(d)[0] && t?.(jt.TOGGLE_TEXT_VISIBILITY);
4035
+ }, r = (d) => {
4036
+ Array.from(d)[0] && t?.(jt.TOGGLE_ROW_DENSITY);
4037
+ };
4038
+ return /* @__PURE__ */ R(
4039
+ xe,
4040
+ {
4041
+ templateColumns: "repeat(4, 1fr)",
4042
+ columnGap: "400",
4043
+ rowGap: "600",
4044
+ mt: "800",
4045
+ alignItems: "center",
4046
+ children: [
4047
+ /* @__PURE__ */ x(xe.Item, { colSpan: 1, children: /* @__PURE__ */ x(Te, { fontWeight: "500", children: e.format("textVisibility") }) }),
4048
+ /* @__PURE__ */ x(xe.Item, { colSpan: 3, children: /* @__PURE__ */ x(Pt, { orientation: "horizontal", variant: "outline", size: "xs", w: "full", children: /* @__PURE__ */ R(
4049
+ Bt.Root,
4050
+ {
4051
+ w: "full",
4052
+ selectedKeys: n ? ["preview"] : ["full"],
4053
+ onSelectionChange: i,
4054
+ "aria-label": e.format("textVisibilityAriaLabel"),
4055
+ children: [
4056
+ /* @__PURE__ */ R(
4057
+ je,
4058
+ {
4059
+ id: "full",
4060
+ size: "xs",
4061
+ "aria-label": e.format("fullText"),
4062
+ variant: "ghost",
4063
+ px: "300",
4064
+ flex: "1",
4065
+ children: [
4066
+ /* @__PURE__ */ x(mn, {}),
4067
+ e.format("fullText")
4068
+ ]
4069
+ }
4070
+ ),
4071
+ /* @__PURE__ */ R(
4072
+ je,
4073
+ {
4074
+ id: "preview",
4075
+ size: "xs",
4076
+ "aria-label": e.format("textPreviews"),
4077
+ variant: "ghost",
4078
+ px: "300",
4079
+ flex: "1",
4080
+ children: [
4081
+ /* @__PURE__ */ x(hn, {}),
4082
+ e.format("textPreviews")
4083
+ ]
4084
+ }
4085
+ )
4086
+ ]
4087
+ }
4088
+ ) }) }),
4089
+ /* @__PURE__ */ x(xe.Item, { colSpan: 1, children: /* @__PURE__ */ x(Te, { fontWeight: "500", children: e.format("rowDensity") }) }),
4090
+ /* @__PURE__ */ x(xe.Item, { colSpan: 3, children: /* @__PURE__ */ x(Pt, { orientation: "horizontal", variant: "outline", size: "xs", w: "full", children: /* @__PURE__ */ R(
4091
+ Bt.Root,
4092
+ {
4093
+ w: "full",
4094
+ colorPalette: "primary",
4095
+ selectedKeys: [o],
4096
+ onSelectionChange: r,
4097
+ "aria-label": e.format("rowDensityAriaLabel"),
4098
+ children: [
4099
+ /* @__PURE__ */ R(
4100
+ je,
4101
+ {
4102
+ id: "comfortable",
4103
+ size: "xs",
4104
+ variant: "ghost",
4105
+ "aria-label": e.format("comfortable"),
4106
+ px: "300",
4107
+ flex: "1",
4108
+ children: [
4109
+ /* @__PURE__ */ x(bn, {}),
4110
+ e.format("comfortable")
4111
+ ]
4112
+ }
4113
+ ),
4114
+ /* @__PURE__ */ R(
4115
+ je,
4116
+ {
4117
+ id: "compact",
4118
+ size: "xs",
4119
+ variant: "ghost",
4120
+ "aria-label": e.format("compact"),
4121
+ px: "300",
4122
+ flex: "1",
4123
+ children: [
4124
+ /* @__PURE__ */ x(gn, {}),
4125
+ e.format("compact")
4126
+ ]
4127
+ }
4128
+ )
4129
+ ]
4130
+ }
4131
+ ) }) })
4132
+ ]
4133
+ }
4134
+ );
4135
+ }, ln = () => {
4136
+ const [t, e] = Z(!1), l = he(), n = ie(se), {
4137
+ columns: o,
4138
+ visibleColumns: i,
4139
+ onColumnsChange: r,
4140
+ onSettingsChange: d
4141
+ // customSettings,
4142
+ } = l, s = o.filter(
4143
+ ($) => !i?.includes($.id)
4144
+ ), { customSettings: u } = yi(), f = T(o);
4145
+ fe(() => {
4146
+ f.current = o;
4147
+ }, [o]);
4148
+ const a = T(o), m = T(i), c = T(i || []), p = K(() => ($) => {
4149
+ const v = $.map((E) => E.id);
4150
+ if (!(v.length !== c.current.length || v.some(
4151
+ (E, P) => E !== c.current[P]
4152
+ )))
4153
+ return;
4154
+ const y = new Map(f.current.map((E) => [E.id, E])), S = $.map((E) => y.get(E.id)).filter(
4155
+ (E) => E !== void 0
4156
+ );
4157
+ c.current = v, r && r(S);
4158
+ }, []), h = K(() => o.filter(($) => !i?.includes($.id)).map(($) => ({
4159
+ key: $.id,
4160
+ id: $.id,
4161
+ label: $.header
4162
+ })), [i, o]), g = K(() => {
4163
+ if (!i || i.length === 0)
4164
+ return [];
4165
+ const $ = new Map(o.map((v) => [v.id, v]));
4166
+ return i.map((v) => {
4167
+ const C = $.get(v);
4168
+ return C ? {
4169
+ key: C.id,
4170
+ id: C.id,
4171
+ label: C.header
4172
+ } : null;
4173
+ }).filter((v) => v !== null);
4174
+ }, [o, i]), b = N(() => {
4175
+ if (r) {
4176
+ const $ = m.current;
4177
+ if ($ && $.length > 0) {
4178
+ const v = new Map(
4179
+ a.current.map((y) => [y.id, y])
4180
+ ), C = $.map((y) => v.get(y)).filter(
4181
+ (y) => y !== void 0
4182
+ );
4183
+ c.current = $, r(C);
4184
+ } else
4185
+ c.current = a.current.map(
4186
+ (v) => v.id
4187
+ ), r(a.current);
4188
+ }
4189
+ }, [r]);
4190
+ return !i || !s ? null : /* @__PURE__ */ R(Re, { children: [
4191
+ /* @__PURE__ */ R(Ye.Root, { children: [
4192
+ /* @__PURE__ */ x(Ye.Content, { placement: "top", children: n.format("settings") }),
4193
+ /* @__PURE__ */ x(
4194
+ it,
4195
+ {
4196
+ variant: "ghost",
4197
+ colorPalette: "primary",
4198
+ size: "xs",
4199
+ "aria-label": n.format("settings"),
4200
+ onPress: () => e(!0),
4201
+ children: /* @__PURE__ */ x(vn, {})
4202
+ }
4203
+ )
4204
+ ] }),
4205
+ /* @__PURE__ */ x(
4206
+ ve.Root,
4207
+ {
4208
+ isOpen: t,
4209
+ onOpenChange: e,
4210
+ placement: "right",
4211
+ "data-testid": "data-table-manager-drawer",
4212
+ children: /* @__PURE__ */ R(
4213
+ ve.Content,
4214
+ {
4215
+ width: "2xl",
4216
+ "data-testid": "data-table-manager-drawer",
4217
+ "aria-label": n.format("settings"),
4218
+ children: [
4219
+ /* @__PURE__ */ R(ve.Header, { children: [
4220
+ /* @__PURE__ */ x(ve.Title, { children: n.format("settings") }),
4221
+ /* @__PURE__ */ x(ve.CloseTrigger, {})
4222
+ ] }),
4223
+ /* @__PURE__ */ x(ve.Body, { children: /* @__PURE__ */ x(
4224
+ Dn.Root,
4225
+ {
4226
+ tabListAriaLabel: n.format("settingsTabsAriaLabel"),
4227
+ tabs: [
4228
+ {
4229
+ id: "visible-columns",
4230
+ tabLabel: /* @__PURE__ */ R(Re, { children: [
4231
+ /* @__PURE__ */ x(yn, {}),
4232
+ n.format("visibleColumns")
4233
+ ] }),
4234
+ panelContent: /* @__PURE__ */ x(
4235
+ ki,
4236
+ {
4237
+ hiddenItems: h,
4238
+ visibleItems: g,
4239
+ handleVisibleColumnsUpdate: p,
4240
+ handleResetColumns: b
4241
+ }
4242
+ )
4243
+ },
4244
+ {
4245
+ id: "layout-settings",
4246
+ tabLabel: /* @__PURE__ */ R(Re, { children: [
4247
+ /* @__PURE__ */ x($n, {}),
4248
+ n.format("layoutSettings")
4249
+ ] }),
4250
+ panelContent: /* @__PURE__ */ x(zi, { onSettingsChange: d })
4251
+ },
4252
+ u ? {
4253
+ id: "custom-settings",
4254
+ tabLabel: /* @__PURE__ */ R(Re, { children: [
4255
+ u?.icon ?? null,
4256
+ u?.label
4257
+ ] }),
4258
+ panelContent: /* @__PURE__ */ x(oe, { mt: "800", children: u.panel })
4259
+ } : null
4260
+ // Filter out null values when no custom settings are provided
4261
+ ].filter(($) => $ !== null)
4262
+ }
4263
+ ) })
4264
+ ]
4265
+ }
4266
+ )
4267
+ }
4268
+ )
4269
+ ] });
4270
+ };
4271
+ ln.displayName = "DataTable.Manager";
4272
+ const Ri = function({
4273
+ ref: e,
4274
+ footer: l,
4275
+ ...n
4276
+ }) {
4277
+ const o = ie(se), i = T(null), r = Q(Pe(i, e));
4278
+ return /* @__PURE__ */ R(Ct, { ref: r, ...n, children: [
4279
+ /* @__PURE__ */ R(wt, { "aria-label": o.format("dataTable"), children: [
4280
+ /* @__PURE__ */ x(Dt, { "aria-label": o.format("dataTableHeader") }),
4281
+ /* @__PURE__ */ x(St, { "aria-label": o.format("dataTableBody") })
4282
+ ] }),
4283
+ l && /* @__PURE__ */ x(Et, { children: l })
4284
+ ] });
4285
+ }, Vr = /* @__PURE__ */ Object.assign(Ri, {
4286
+ /**
4287
+ * # DataTable.Root
4288
+ *
4289
+ * The root container that provides context and state management for the entire data table.
4290
+ * Handles data processing, sorting, filtering, selection, and expansion state.
4291
+ *
4292
+ * @example
4293
+ * ```tsx
4294
+ * <DataTable.Root columns={columns} rows={rows} allowsSorting>
4295
+ * <DataTable.Table>
4296
+ * <DataTable.Header />
4297
+ * <DataTable.Body />
4298
+ * </DataTable.Table>
4299
+ * </DataTable.Root>
4300
+ * ```
4301
+ */
4302
+ Root: Ct,
4303
+ /**
4304
+ * # DataTable.Table
4305
+ *
4306
+ * The main table element that wraps the header and body components.
4307
+ * Provides the semantic HTML table structure with React Aria table behavior.
4308
+ *
4309
+ * @example
4310
+ * ```tsx
4311
+ * <DataTable.Root columns={columns} rows={rows}>
4312
+ * <DataTable.Table>
4313
+ * <DataTable.Header />
4314
+ * <DataTable.Body />
4315
+ * </DataTable.Table>
4316
+ * </DataTable.Root>
4317
+ * ```
4318
+ */
4319
+ Table: wt,
4320
+ /**
4321
+ * # DataTable.Header
4322
+ *
4323
+ * The table header section that renders column headers with sorting capabilities.
4324
+ * Automatically generates columns based on the configuration provided to Root.
4325
+ *
4326
+ * @example
4327
+ * ```tsx
4328
+ * <DataTable.Root columns={columns} rows={rows}>
4329
+ * <DataTable.Table>
4330
+ * <DataTable.Header />
4331
+ * <DataTable.Body />
4332
+ * </DataTable.Table>
4333
+ * </DataTable.Root>
4334
+ * ```
4335
+ */
4336
+ Header: Dt,
4337
+ /**
4338
+ * # DataTable.Body
4339
+ *
4340
+ * The table body section that renders all data rows with selection and expansion capabilities.
4341
+ * Handles empty states and provides accessibility features for row navigation.
4342
+ *
4343
+ * @example
4344
+ * ```tsx
4345
+ * <DataTable.Root columns={columns} rows={rows}>
4346
+ * <DataTable.Table>
4347
+ * <DataTable.Header />
4348
+ * <DataTable.Body />
4349
+ * </DataTable.Table>
4350
+ * </DataTable.Root>
4351
+ * ```
4352
+ */
4353
+ Body: St,
4354
+ /**
4355
+ * # DataTable.Footer
4356
+ *
4357
+ * Optional footer section for displaying summary information, pagination, or actions.
4358
+ * Positioned below the table with proper styling integration.
4359
+ *
4360
+ * @example
4361
+ * ```tsx
4362
+ * <DataTable.Root columns={columns} rows={rows}>
4363
+ * <DataTable.Table>
4364
+ * <DataTable.Header />
4365
+ * <DataTable.Body />
4366
+ * </DataTable.Table>
4367
+ * <DataTable.Footer>
4368
+ * <Pagination />
4369
+ * </DataTable.Footer>
4370
+ * </DataTable.Root>
4371
+ * ```
4372
+ */
4373
+ Footer: Et,
4374
+ /**
4375
+ * # DataTable.Manager
4376
+ *
4377
+ * A settings panel that allows users to manage table columns visibility and layout.
4378
+ * Opens in a drawer with tabs for "Visible columns" and "Layout settings".
4379
+ * Uses drag-and-drop to reorder columns.
4380
+ *
4381
+ * @example
4382
+ * ```tsx
4383
+ * <DataTable.Root columns={columns} rows={rows}>
4384
+ * <DataTable.Manager />
4385
+ * <DataTable.Table>
4386
+ * <DataTable.Header />
4387
+ * <DataTable.Body />
4388
+ * </DataTable.Table>
4389
+ * </DataTable.Root>
4390
+ * ```
4391
+ */
4392
+ Manager: ln,
4393
+ /**
4394
+ * # DataTable.Context
4395
+ *
4396
+ * React context that provides shared state and configuration to all table components.
4397
+ * Used internally for component coordination - not typically used directly.
4398
+ *
4399
+ * @example
4400
+ * ```tsx
4401
+ * const context = useContext(DataTable.Context);
4402
+ * ```
4403
+ */
4404
+ Context: tt,
4405
+ /**
4406
+ * # DataTable.useDataTableContext
4407
+ *
4408
+ * Hook that provides access to the DataTable context with proper error handling.
4409
+ * Throws an error if used outside of a DataTable.Root provider.
4410
+ *
4411
+ * @example
4412
+ * ```tsx
4413
+ * const { columns, rows, sortDescriptor } = DataTable.useDataTableContext();
4414
+ * ```
4415
+ */
4416
+ useDataTableContext: he
4417
+ });
4418
+ export {
4419
+ Vr as D,
4420
+ jt as U,
4421
+ St as a,
4422
+ Et as b,
4423
+ Dt as c,
4424
+ ln as d,
4425
+ Ct as e,
4426
+ wt as f
4427
+ };
4428
+ //# sourceMappingURL=data-table-DTj-VXDE.es.js.map