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