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