@commercetools/nimbus 1.0.1 → 2.0.1-rc1

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 (1172) hide show
  1. package/README.md +43 -1
  2. package/dist/accordion.d.ts +84 -122
  3. package/dist/alert.d.ts +70 -82
  4. package/dist/avatar.d.ts +24 -40
  5. package/dist/badge.d.ts +22 -75
  6. package/dist/box.d.ts +2 -2
  7. package/dist/button.d.ts +32 -22
  8. package/dist/calendar.d.ts +21 -13
  9. package/dist/card.d.ts +34 -96
  10. package/dist/checkbox.d.ts +21 -45
  11. package/dist/chunks/Button-CFZnLKVR.cjs.js +2 -0
  12. package/dist/chunks/Button-CFZnLKVR.cjs.js.map +1 -0
  13. package/dist/chunks/Button-CrgZzRm9.es.js +79 -0
  14. package/dist/chunks/Button-CrgZzRm9.es.js.map +1 -0
  15. package/dist/chunks/CollectionBuilder-BiEelELF.cjs.js +18 -0
  16. package/dist/chunks/CollectionBuilder-BiEelELF.cjs.js.map +1 -0
  17. package/dist/chunks/CollectionBuilder-Wz-mnWjQ.es.js +677 -0
  18. package/dist/chunks/CollectionBuilder-Wz-mnWjQ.es.js.map +1 -0
  19. package/dist/chunks/DateField-CDTSjqvQ.cjs.js +2 -0
  20. package/dist/chunks/DateField-CDTSjqvQ.cjs.js.map +1 -0
  21. package/dist/chunks/DateField-qGypjFaJ.es.js +2691 -0
  22. package/dist/chunks/DateField-qGypjFaJ.es.js.map +1 -0
  23. package/dist/chunks/DatePicker-DCjrqg4Q.cjs.js +2 -0
  24. package/dist/chunks/DatePicker-DCjrqg4Q.cjs.js.map +1 -0
  25. package/dist/chunks/DatePicker-Dn0LNd7V.es.js +786 -0
  26. package/dist/chunks/DatePicker-Dn0LNd7V.es.js.map +1 -0
  27. package/dist/chunks/Dialog-B2hCMJnM.es.js +1951 -0
  28. package/dist/chunks/Dialog-B2hCMJnM.es.js.map +1 -0
  29. package/dist/chunks/Dialog-XGXh4NXU.cjs.js +7 -0
  30. package/dist/chunks/Dialog-XGXh4NXU.cjs.js.map +1 -0
  31. package/dist/chunks/DragAndDrop-BXEtfOEa.es.js +76 -0
  32. package/dist/chunks/DragAndDrop-BXEtfOEa.es.js.map +1 -0
  33. package/dist/chunks/DragAndDrop-Cu1BgmHe.cjs.js +2 -0
  34. package/dist/chunks/DragAndDrop-Cu1BgmHe.cjs.js.map +1 -0
  35. package/dist/chunks/FieldError-CXcEMuBf.es.js.map +1 -1
  36. package/dist/chunks/FieldError-DyGFfqST.cjs.js.map +1 -1
  37. package/dist/chunks/FocusScope-BY2fddGq.es.js +625 -0
  38. package/dist/chunks/FocusScope-BY2fddGq.es.js.map +1 -0
  39. package/dist/chunks/FocusScope-vogC4IAT.cjs.js +2 -0
  40. package/dist/chunks/FocusScope-vogC4IAT.cjs.js.map +1 -0
  41. package/dist/chunks/Form-BuOomA4T.cjs.js.map +1 -1
  42. package/dist/chunks/Form-CXcEMuBf.es.js.map +1 -1
  43. package/dist/chunks/Group-BBaUrRF9.es.js +47 -0
  44. package/dist/chunks/Group-BBaUrRF9.es.js.map +1 -0
  45. package/dist/chunks/Group-BX1EpD9E.cjs.js +2 -0
  46. package/dist/chunks/Group-BX1EpD9E.cjs.js.map +1 -0
  47. package/dist/chunks/Header-B4V0zxSN.es.js +59 -0
  48. package/dist/chunks/Header-B4V0zxSN.es.js.map +1 -0
  49. package/dist/chunks/Header-BmzdY2bW.cjs.js +2 -0
  50. package/dist/chunks/Header-BmzdY2bW.cjs.js.map +1 -0
  51. package/dist/chunks/Heading-CCs6OF_m.cjs.js +2 -0
  52. package/dist/chunks/Heading-CCs6OF_m.cjs.js.map +1 -0
  53. package/dist/chunks/Heading-CfiWDgRZ.es.js +1619 -0
  54. package/dist/chunks/Heading-CfiWDgRZ.es.js.map +1 -0
  55. package/dist/chunks/Hidden-CNJIJ63M.cjs.js.map +1 -1
  56. package/dist/chunks/Hidden-j3Lbt7xL.es.js.map +1 -1
  57. package/dist/chunks/Input-Da2oLmEN.es.js +43 -0
  58. package/dist/chunks/Input-Da2oLmEN.es.js.map +1 -0
  59. package/dist/chunks/Input-_6sPm9s0.cjs.js +2 -0
  60. package/dist/chunks/Input-_6sPm9s0.cjs.js.map +1 -0
  61. package/dist/chunks/Keyboard-Clnp4zAC.es.js.map +1 -1
  62. package/dist/chunks/Keyboard-rYf2KxZN.cjs.js.map +1 -1
  63. package/dist/chunks/Label-BgrYyYXn.cjs.js.map +1 -1
  64. package/dist/chunks/Label-qcXzazih.es.js +17 -0
  65. package/dist/chunks/Label-qcXzazih.es.js.map +1 -0
  66. package/dist/chunks/ListBox-CFvXqaPX.cjs.js +2 -0
  67. package/dist/chunks/ListBox-CFvXqaPX.cjs.js.map +1 -0
  68. package/dist/chunks/ListBox-DAcVFwWW.es.js +493 -0
  69. package/dist/chunks/ListBox-DAcVFwWW.es.js.map +1 -0
  70. package/dist/chunks/ListKeyboardDelegate-CYRgZzU8.cjs.js +2 -0
  71. package/dist/chunks/ListKeyboardDelegate-CYRgZzU8.cjs.js.map +1 -0
  72. package/dist/chunks/ListKeyboardDelegate-D-k0fIME.es.js +159 -0
  73. package/dist/chunks/ListKeyboardDelegate-D-k0fIME.es.js.map +1 -0
  74. package/dist/chunks/Modal-CVOcKPNx.cjs.js +2 -0
  75. package/dist/chunks/Modal-CVOcKPNx.cjs.js.map +1 -0
  76. package/dist/chunks/Modal-D91zBjIP.es.js +197 -0
  77. package/dist/chunks/Modal-D91zBjIP.es.js.map +1 -0
  78. package/dist/chunks/OverlayArrow-CYjyBtg8.cjs.js.map +1 -1
  79. package/dist/chunks/OverlayArrow-CwYMJqgj.es.js +491 -0
  80. package/dist/chunks/OverlayArrow-CwYMJqgj.es.js.map +1 -0
  81. package/dist/chunks/ProgressBar-C9Y3C7_B.cjs.js +2 -0
  82. package/dist/chunks/ProgressBar-C9Y3C7_B.cjs.js.map +1 -0
  83. package/dist/chunks/ProgressBar-dYIUhB6B.es.js +42 -0
  84. package/dist/chunks/ProgressBar-dYIUhB6B.es.js.map +1 -0
  85. package/dist/chunks/RSPContexts-BdKenzIN.cjs.js +2 -0
  86. package/dist/chunks/RSPContexts-BdKenzIN.cjs.js.map +1 -0
  87. package/dist/chunks/RSPContexts-DV4cFLUV.es.js +9 -0
  88. package/dist/chunks/RSPContexts-DV4cFLUV.es.js.map +1 -0
  89. package/dist/chunks/SSRProvider-Bc-sMhsT.cjs.js.map +1 -1
  90. package/dist/chunks/SSRProvider-Cu8KibIK.es.js.map +1 -1
  91. package/dist/chunks/SelectionIndicator-Cp3OYqg6.cjs.js +2 -0
  92. package/dist/chunks/SelectionIndicator-Cp3OYqg6.cjs.js.map +1 -0
  93. package/dist/chunks/SelectionIndicator-DopimabS.es.js +17 -0
  94. package/dist/chunks/SelectionIndicator-DopimabS.es.js.map +1 -0
  95. package/dist/chunks/SelectionManager-1rNaWE7D.cjs.js +2 -0
  96. package/dist/chunks/SelectionManager-1rNaWE7D.cjs.js.map +1 -0
  97. package/dist/chunks/SelectionManager-2q7N4psD.es.js +1132 -0
  98. package/dist/chunks/SelectionManager-2q7N4psD.es.js.map +1 -0
  99. package/dist/chunks/Separator-6J1KiDlQ.cjs.js +2 -0
  100. package/dist/chunks/Separator-6J1KiDlQ.cjs.js.map +1 -0
  101. package/dist/chunks/Separator-DyXjJGoH.es.js +55 -0
  102. package/dist/chunks/Separator-DyXjJGoH.es.js.map +1 -0
  103. package/dist/chunks/Text-BWSfeB9p.cjs.js.map +1 -1
  104. package/dist/chunks/Text-DOcU1ycg.es.js.map +1 -1
  105. package/dist/chunks/TextArea-DItoG16s.es.js +42 -0
  106. package/dist/chunks/TextArea-DItoG16s.es.js.map +1 -0
  107. package/dist/chunks/TextArea-Y5635aIM.cjs.js +2 -0
  108. package/dist/chunks/TextArea-Y5635aIM.cjs.js.map +1 -0
  109. package/dist/chunks/ToggleButton-1I5cetxI.cjs.js +2 -0
  110. package/dist/chunks/ToggleButton-1I5cetxI.cjs.js.map +1 -0
  111. package/dist/chunks/ToggleButton-Cj9AtHpY.es.js +150 -0
  112. package/dist/chunks/ToggleButton-Cj9AtHpY.es.js.map +1 -0
  113. package/dist/chunks/VisuallyHidden-C1WQXLCm.cjs.js +2 -0
  114. package/dist/chunks/VisuallyHidden-C1WQXLCm.cjs.js.map +1 -0
  115. package/dist/chunks/VisuallyHidden-Dxf1qswV.es.js +41 -0
  116. package/dist/chunks/VisuallyHidden-Dxf1qswV.es.js.map +1 -0
  117. package/dist/chunks/accordion-B2FLWAh5.cjs.js +2 -0
  118. package/dist/chunks/accordion-B2FLWAh5.cjs.js.map +1 -0
  119. package/dist/chunks/accordion-DSLccfDW.es.js +221 -0
  120. package/dist/chunks/accordion-DSLccfDW.es.js.map +1 -0
  121. package/dist/chunks/alert-CPHjPe4-.cjs.js +2 -0
  122. package/dist/chunks/alert-CPHjPe4-.cjs.js.map +1 -0
  123. package/dist/chunks/alert-Cz2mnKir.es.js +138 -0
  124. package/dist/chunks/alert-Cz2mnKir.es.js.map +1 -0
  125. package/dist/chunks/avatar-CTiSGVoD.es.js +40 -0
  126. package/dist/chunks/avatar-CTiSGVoD.es.js.map +1 -0
  127. package/dist/chunks/avatar-_o-uSXYy.cjs.js +2 -0
  128. package/dist/chunks/avatar-_o-uSXYy.cjs.js.map +1 -0
  129. package/dist/chunks/badge-Csn5glEd.es.js +17 -0
  130. package/dist/chunks/badge-Csn5glEd.es.js.map +1 -0
  131. package/dist/chunks/badge-mMpNb3Qj.cjs.js +2 -0
  132. package/dist/chunks/badge-mMpNb3Qj.cjs.js.map +1 -0
  133. package/dist/chunks/badge.recipe-Cu6u9yqC.cjs.js +2 -0
  134. package/dist/chunks/badge.recipe-Cu6u9yqC.cjs.js.map +1 -0
  135. package/dist/chunks/badge.recipe-DsV4A_UD.es.js +68 -0
  136. package/dist/chunks/badge.recipe-DsV4A_UD.es.js.map +1 -0
  137. package/dist/chunks/box-CWni3A32.cjs.js.map +1 -1
  138. package/dist/chunks/box-DuBoAZvq.es.js.map +1 -1
  139. package/dist/chunks/button-B5OOW-2z.cjs.js +2 -0
  140. package/dist/chunks/button-B5OOW-2z.cjs.js.map +1 -0
  141. package/dist/chunks/button-Cnui897Z.es.js +62 -0
  142. package/dist/chunks/button-Cnui897Z.es.js.map +1 -0
  143. package/dist/chunks/calendar-BTdHdh7y.es.js +187 -0
  144. package/dist/chunks/calendar-BTdHdh7y.es.js.map +1 -0
  145. package/dist/chunks/calendar-V0KeNCQ3.cjs.js +2 -0
  146. package/dist/chunks/calendar-V0KeNCQ3.cjs.js.map +1 -0
  147. package/dist/chunks/card-BB_1xrND.es.js +78 -0
  148. package/dist/chunks/card-BB_1xrND.es.js.map +1 -0
  149. package/dist/chunks/card-BPEsGx1J.cjs.js +2 -0
  150. package/dist/chunks/card-BPEsGx1J.cjs.js.map +1 -0
  151. package/dist/chunks/checkbox-Bm4Yqa_0.es.js +218 -0
  152. package/dist/chunks/checkbox-Bm4Yqa_0.es.js.map +1 -0
  153. package/dist/chunks/checkbox-Dod-yTj4.cjs.js +2 -0
  154. package/dist/chunks/checkbox-Dod-yTj4.cjs.js.map +1 -0
  155. package/dist/chunks/collapsible-motion-C7M_CLNI.cjs.js +2 -0
  156. package/dist/chunks/collapsible-motion-C7M_CLNI.cjs.js.map +1 -0
  157. package/dist/chunks/collapsible-motion-OOUmjdKw.es.js +83 -0
  158. package/dist/chunks/collapsible-motion-OOUmjdKw.es.js.map +1 -0
  159. package/dist/chunks/combobox-B5UxZWSX.cjs.js +2 -0
  160. package/dist/chunks/combobox-B5UxZWSX.cjs.js.map +1 -0
  161. package/dist/chunks/combobox-Ch4VokC9.es.js +2425 -0
  162. package/dist/chunks/combobox-Ch4VokC9.es.js.map +1 -0
  163. package/dist/chunks/context-OoV8SSWX.cjs.js.map +1 -1
  164. package/dist/chunks/context-R4YUlO9Y.es.js.map +1 -1
  165. package/dist/chunks/data-table-C51WU0Cc.cjs.js +2 -0
  166. package/dist/chunks/data-table-C51WU0Cc.cjs.js.map +1 -0
  167. package/dist/chunks/data-table-DC369pb3.es.js +3585 -0
  168. package/dist/chunks/data-table-DC369pb3.es.js.map +1 -0
  169. package/dist/chunks/date-input-DvOM0DLT.cjs.js +2 -0
  170. package/dist/chunks/date-input-DvOM0DLT.cjs.js.map +1 -0
  171. package/dist/chunks/date-input-KVuRsFzs.es.js +21 -0
  172. package/dist/chunks/date-input-KVuRsFzs.es.js.map +1 -0
  173. package/dist/chunks/date-picker-C304WfAN.es.js +220 -0
  174. package/dist/chunks/date-picker-C304WfAN.es.js.map +1 -0
  175. package/dist/chunks/date-picker-CZAoPNsT.cjs.js +2 -0
  176. package/dist/chunks/date-picker-CZAoPNsT.cjs.js.map +1 -0
  177. package/dist/chunks/date-range-picker-CkRgcwfm.es.js +281 -0
  178. package/dist/chunks/date-range-picker-CkRgcwfm.es.js.map +1 -0
  179. package/dist/chunks/date-range-picker-iENzosfN.cjs.js +2 -0
  180. package/dist/chunks/date-range-picker-iENzosfN.cjs.js.map +1 -0
  181. package/dist/chunks/dialog-CKwC3dk3.cjs.js +2 -0
  182. package/dist/chunks/dialog-CKwC3dk3.cjs.js.map +1 -0
  183. package/dist/chunks/dialog-gTeRW6GK.es.js +165 -0
  184. package/dist/chunks/dialog-gTeRW6GK.es.js.map +1 -0
  185. package/dist/chunks/dialog.title-B9cEUH8w.es.js +152 -0
  186. package/dist/chunks/dialog.title-B9cEUH8w.es.js.map +1 -0
  187. package/dist/chunks/dialog.title-DOPP47Zy.cjs.js +2 -0
  188. package/dist/chunks/dialog.title-DOPP47Zy.cjs.js.map +1 -0
  189. package/dist/chunks/draggable-list-BIJ7t5ou.es.js +4211 -0
  190. package/dist/chunks/draggable-list-BIJ7t5ou.es.js.map +1 -0
  191. package/dist/chunks/draggable-list-MGvr5-A-.cjs.js +3 -0
  192. package/dist/chunks/draggable-list-MGvr5-A-.cjs.js.map +1 -0
  193. package/dist/chunks/drawer-DKF34Nfc.es.js +304 -0
  194. package/dist/chunks/drawer-DKF34Nfc.es.js.map +1 -0
  195. package/dist/chunks/drawer-DzW9wBMk.cjs.js +2 -0
  196. package/dist/chunks/drawer-DzW9wBMk.cjs.js.map +1 -0
  197. package/dist/chunks/emotion-is-prop-valid.esm-BUuA3iy8.es.js +16 -0
  198. package/dist/chunks/emotion-is-prop-valid.esm-BUuA3iy8.es.js.map +1 -0
  199. package/dist/chunks/emotion-is-prop-valid.esm-ux_11lix.cjs.js +2 -0
  200. package/dist/chunks/emotion-is-prop-valid.esm-ux_11lix.cjs.js.map +1 -0
  201. package/dist/chunks/extractStyleProps-DYXEhLtq.es.js +11 -0
  202. package/dist/chunks/extractStyleProps-DYXEhLtq.es.js.map +1 -0
  203. package/dist/chunks/extractStyleProps-Dk3fpLyQ.cjs.js +2 -0
  204. package/dist/chunks/extractStyleProps-Dk3fpLyQ.cjs.js.map +1 -0
  205. package/dist/chunks/field-errors-ClQprmQz.es.js +213 -0
  206. package/dist/chunks/field-errors-ClQprmQz.es.js.map +1 -0
  207. package/dist/chunks/field-errors-D2re_C_c.cjs.js +2 -0
  208. package/dist/chunks/field-errors-D2re_C_c.cjs.js.map +1 -0
  209. package/dist/chunks/filterDOMProps-BSVCO5jK.es.js.map +1 -1
  210. package/dist/chunks/filterDOMProps-WUskt27c.cjs.js.map +1 -1
  211. package/dist/chunks/focusSafely-BNAvQ-wF.cjs.js +2 -0
  212. package/dist/chunks/focusSafely-BNAvQ-wF.cjs.js.map +1 -0
  213. package/dist/chunks/focusSafely-BS2OU9MQ.es.js +27 -0
  214. package/dist/chunks/focusSafely-BS2OU9MQ.es.js.map +1 -0
  215. package/dist/chunks/focusWithoutScrolling-BlyUcXdY.cjs.js.map +1 -1
  216. package/dist/chunks/focusWithoutScrolling-CDw3JYiq.es.js.map +1 -1
  217. package/dist/chunks/form-field-CIGQxVVS.cjs.js +2 -0
  218. package/dist/chunks/form-field-CIGQxVVS.cjs.js.map +1 -0
  219. package/dist/chunks/form-field-cRZo4WSf.es.js +231 -0
  220. package/dist/chunks/form-field-cRZo4WSf.es.js.map +1 -0
  221. package/dist/chunks/getScrollParent-B8PotBOX.cjs.js +2 -0
  222. package/dist/chunks/getScrollParent-B8PotBOX.cjs.js.map +1 -0
  223. package/dist/chunks/getScrollParent-BS4bncfK.es.js +10 -0
  224. package/dist/chunks/getScrollParent-BS4bncfK.es.js.map +1 -0
  225. package/dist/chunks/grid-Chuw1xje.cjs.js.map +1 -1
  226. package/dist/chunks/grid-De8qjf98.es.js.map +1 -1
  227. package/dist/chunks/group-BqUFlw5R.cjs.js +2 -0
  228. package/dist/chunks/group-BqUFlw5R.cjs.js.map +1 -0
  229. package/dist/chunks/group-CWADf2vF.es.js +13 -0
  230. package/dist/chunks/group-CWADf2vF.es.js.map +1 -0
  231. package/dist/chunks/heading-BTacGwo9.cjs.js +2 -0
  232. package/dist/chunks/heading-BTacGwo9.cjs.js.map +1 -0
  233. package/dist/chunks/heading-BtazVUd5.es.js +25 -0
  234. package/dist/chunks/heading-BtazVUd5.es.js.map +1 -0
  235. package/dist/chunks/icon-CenxuChf.es.js +11 -0
  236. package/dist/chunks/icon-CenxuChf.es.js.map +1 -0
  237. package/dist/chunks/icon-D39U--jA.cjs.js +2 -0
  238. package/dist/chunks/icon-D39U--jA.cjs.js.map +1 -0
  239. package/dist/chunks/icon-button-9Ni8-hO7.es.js +14 -0
  240. package/dist/chunks/icon-button-9Ni8-hO7.es.js.map +1 -0
  241. package/dist/chunks/icon-button-vWPrT-bR.cjs.js +2 -0
  242. package/dist/chunks/icon-button-vWPrT-bR.cjs.js.map +1 -0
  243. package/dist/chunks/icon-toggle-button-Db8CLmE5.es.js +13 -0
  244. package/dist/chunks/icon-toggle-button-Db8CLmE5.es.js.map +1 -0
  245. package/dist/chunks/icon-toggle-button-eLrsWehe.cjs.js +2 -0
  246. package/dist/chunks/icon-toggle-button-eLrsWehe.cjs.js.map +1 -0
  247. package/dist/chunks/icon.recipe-ClxbhW0Q.cjs.js +2 -0
  248. package/dist/chunks/icon.recipe-ClxbhW0Q.cjs.js.map +1 -0
  249. package/dist/chunks/icon.recipe-DjkjodUn.es.js +24 -0
  250. package/dist/chunks/icon.recipe-DjkjodUn.es.js.map +1 -0
  251. package/dist/chunks/image-CGOYoc2s.cjs.js.map +1 -1
  252. package/dist/chunks/image-DRigLU80.es.js.map +1 -1
  253. package/dist/chunks/index-CRFg4Mhx.cjs.js +34 -0
  254. package/dist/chunks/index-CRFg4Mhx.cjs.js.map +1 -0
  255. package/dist/chunks/index-CtB71yr7.es.js +5655 -0
  256. package/dist/chunks/index-CtB71yr7.es.js.map +1 -0
  257. package/dist/chunks/inertValue-B3AFhVG4.cjs.js +2 -0
  258. package/dist/chunks/inertValue-B3AFhVG4.cjs.js.map +1 -0
  259. package/dist/chunks/inertValue-B7loUihk.es.js +9 -0
  260. package/dist/chunks/inertValue-B7loUihk.es.js.map +1 -0
  261. package/dist/chunks/inline-svg-CbSC6O5X.es.js +21 -0
  262. package/dist/chunks/inline-svg-CbSC6O5X.es.js.map +1 -0
  263. package/dist/chunks/inline-svg-Yb2OyzRw.cjs.js +2 -0
  264. package/dist/chunks/inline-svg-Yb2OyzRw.cjs.js.map +1 -0
  265. package/dist/chunks/intlStrings-Cd44R5hT.es.js.map +1 -1
  266. package/dist/chunks/intlStrings-ClBuC6xN.cjs.js.map +1 -1
  267. package/dist/chunks/kbd-BaeV_DL-.cjs.js +2 -0
  268. package/dist/chunks/kbd-BaeV_DL-.cjs.js.map +1 -0
  269. package/dist/chunks/kbd-CH9rYghB.es.js +15 -0
  270. package/dist/chunks/kbd-CH9rYghB.es.js.map +1 -0
  271. package/dist/chunks/link-DpU4rPCp.cjs.js +2 -0
  272. package/dist/chunks/link-DpU4rPCp.cjs.js.map +1 -0
  273. package/dist/chunks/link-QwdgCWJd.es.js +48 -0
  274. package/dist/chunks/link-QwdgCWJd.es.js.map +1 -0
  275. package/dist/chunks/loading-spinner-BiVTAfmp.es.js +59 -0
  276. package/dist/chunks/loading-spinner-BiVTAfmp.es.js.map +1 -0
  277. package/dist/chunks/loading-spinner-DQM-6XnY.cjs.js +2 -0
  278. package/dist/chunks/loading-spinner-DQM-6XnY.cjs.js.map +1 -0
  279. package/dist/chunks/localized-field-C7Vribb2.cjs.js +2 -0
  280. package/dist/chunks/localized-field-C7Vribb2.cjs.js.map +1 -0
  281. package/dist/chunks/localized-field-pJSLdod5.es.js +470 -0
  282. package/dist/chunks/localized-field-pJSLdod5.es.js.map +1 -0
  283. package/dist/chunks/make-element-focusable-C4jhHHl0.es.js +25 -0
  284. package/dist/chunks/make-element-focusable-C4jhHHl0.es.js.map +1 -0
  285. package/dist/chunks/make-element-focusable-oedzOY_M.cjs.js +2 -0
  286. package/dist/chunks/make-element-focusable-oedzOY_M.cjs.js.map +1 -0
  287. package/dist/chunks/menu-4QTf2m-7.es.js +147 -0
  288. package/dist/chunks/menu-4QTf2m-7.es.js.map +1 -0
  289. package/dist/chunks/menu-DIepV2KZ.cjs.js +2 -0
  290. package/dist/chunks/menu-DIepV2KZ.cjs.js.map +1 -0
  291. package/dist/chunks/mergeProps-BA5Cwf5w.cjs.js.map +1 -1
  292. package/dist/chunks/mergeProps-CzyOU2NE.es.js +130 -0
  293. package/dist/chunks/mergeProps-CzyOU2NE.es.js.map +1 -0
  294. package/dist/chunks/money-input-BJpffXRR.es.js +526 -0
  295. package/dist/chunks/money-input-BJpffXRR.es.js.map +1 -0
  296. package/dist/chunks/money-input-Cu_J86Eu.cjs.js +2 -0
  297. package/dist/chunks/money-input-Cu_J86Eu.cjs.js.map +1 -0
  298. package/dist/chunks/multiline-text-input-B9TBDieZ.cjs.js +2 -0
  299. package/dist/chunks/multiline-text-input-B9TBDieZ.cjs.js.map +1 -0
  300. package/dist/chunks/multiline-text-input-CilSJJaO.es.js +64 -0
  301. package/dist/chunks/multiline-text-input-CilSJJaO.es.js.map +1 -0
  302. package/dist/chunks/nimbus-provider-BfpEKy6w.es.js +101 -0
  303. package/dist/chunks/nimbus-provider-BfpEKy6w.es.js.map +1 -0
  304. package/dist/chunks/nimbus-provider-WX_qUCxo.cjs.js +2 -0
  305. package/dist/chunks/nimbus-provider-WX_qUCxo.cjs.js.map +1 -0
  306. package/dist/chunks/number-DHvo-MDe.cjs.js.map +1 -1
  307. package/dist/chunks/number-dMxJejI6.es.js.map +1 -1
  308. package/dist/chunks/number-input-DXiwgboS.es.js +691 -0
  309. package/dist/chunks/number-input-DXiwgboS.es.js.map +1 -0
  310. package/dist/chunks/number-input-wMW-o4di.cjs.js +2 -0
  311. package/dist/chunks/number-input-wMW-o4di.cjs.js.map +1 -0
  312. package/dist/chunks/openLink-DT8XzqFh.es.js +105 -0
  313. package/dist/chunks/openLink-DT8XzqFh.es.js.map +1 -0
  314. package/dist/chunks/openLink-DkCJYbzq.cjs.js.map +1 -1
  315. package/dist/chunks/pagination-BWdg8s6g.cjs.js +2 -0
  316. package/dist/chunks/pagination-BWdg8s6g.cjs.js.map +1 -0
  317. package/dist/chunks/pagination-Sq1twv0k.es.js +160 -0
  318. package/dist/chunks/pagination-Sq1twv0k.es.js.map +1 -0
  319. package/dist/chunks/password-input-6SMjhXSO.cjs.js +2 -0
  320. package/dist/chunks/password-input-6SMjhXSO.cjs.js.map +1 -0
  321. package/dist/chunks/password-input-CBhC_e5Z.es.js +54 -0
  322. package/dist/chunks/password-input-CBhC_e5Z.es.js.map +1 -0
  323. package/dist/chunks/platform-BDLy2vDY.cjs.js.map +1 -1
  324. package/dist/chunks/platform-Z5fvtFmM.es.js.map +1 -1
  325. package/dist/chunks/popover-CfEq5G5-.cjs.js +2 -0
  326. package/dist/chunks/popover-CfEq5G5-.cjs.js.map +1 -0
  327. package/dist/chunks/popover-Cz6TnNt_.es.js +14 -0
  328. package/dist/chunks/popover-Cz6TnNt_.es.js.map +1 -0
  329. package/dist/chunks/progress-bar-Bhp7W6Eo.cjs.js +2 -0
  330. package/dist/chunks/progress-bar-Bhp7W6Eo.cjs.js.map +1 -0
  331. package/dist/chunks/progress-bar-DwuOjOcH.es.js +77 -0
  332. package/dist/chunks/progress-bar-DwuOjOcH.es.js.map +1 -0
  333. package/dist/chunks/radio-input-DhqS9ipf.es.js +350 -0
  334. package/dist/chunks/radio-input-DhqS9ipf.es.js.map +1 -0
  335. package/dist/chunks/radio-input-Dp05SXja.cjs.js +2 -0
  336. package/dist/chunks/radio-input-Dp05SXja.cjs.js.map +1 -0
  337. package/dist/chunks/range-calendar-RBEpLQJb.es.js +187 -0
  338. package/dist/chunks/range-calendar-RBEpLQJb.es.js.map +1 -0
  339. package/dist/chunks/range-calendar-_dZfAsdG.cjs.js +2 -0
  340. package/dist/chunks/range-calendar-_dZfAsdG.cjs.js.map +1 -0
  341. package/dist/chunks/rich-text-input-CrjP71KM.es.js +7801 -0
  342. package/dist/chunks/rich-text-input-CrjP71KM.es.js.map +1 -0
  343. package/dist/chunks/rich-text-input-Da5WFZ3l.cjs.js +24 -0
  344. package/dist/chunks/rich-text-input-Da5WFZ3l.cjs.js.map +1 -0
  345. package/dist/chunks/scrollIntoView-DTfS0nWq.es.js +96 -0
  346. package/dist/chunks/scrollIntoView-DTfS0nWq.es.js.map +1 -0
  347. package/dist/chunks/scrollIntoView-x1EbcfEq.cjs.js +2 -0
  348. package/dist/chunks/scrollIntoView-x1EbcfEq.cjs.js.map +1 -0
  349. package/dist/chunks/search-input-BefkmgPy.cjs.js +2 -0
  350. package/dist/chunks/search-input-BefkmgPy.cjs.js.map +1 -0
  351. package/dist/chunks/search-input-DCpjVXVS.es.js +361 -0
  352. package/dist/chunks/search-input-DCpjVXVS.es.js.map +1 -0
  353. package/dist/chunks/select-DMsU6bk9.cjs.js +2 -0
  354. package/dist/chunks/select-DMsU6bk9.cjs.js.map +1 -0
  355. package/dist/chunks/select-xlqMXZuO.es.js +775 -0
  356. package/dist/chunks/select-xlqMXZuO.es.js.map +1 -0
  357. package/dist/chunks/separator-CvRn_J0r.cjs.js +2 -0
  358. package/dist/chunks/separator-CvRn_J0r.cjs.js.map +1 -0
  359. package/dist/chunks/separator-DJGUFG-o.es.js +24 -0
  360. package/dist/chunks/separator-DJGUFG-o.es.js.map +1 -0
  361. package/dist/chunks/simple-grid-Cd2MJxSX.cjs.js.map +1 -1
  362. package/dist/chunks/simple-grid-DU5v66TG.es.js.map +1 -1
  363. package/dist/chunks/spacer-BvQD2vU1.cjs.js +2 -0
  364. package/dist/chunks/spacer-BvQD2vU1.cjs.js.map +1 -0
  365. package/dist/chunks/spacer-pHklG6Ri.es.js +8 -0
  366. package/dist/chunks/spacer-pHklG6Ri.es.js.map +1 -0
  367. package/dist/chunks/split-button-BO52sL7h.cjs.js +2 -0
  368. package/dist/chunks/split-button-BO52sL7h.cjs.js.map +1 -0
  369. package/dist/chunks/split-button-C5MmKuVW.es.js +100 -0
  370. package/dist/chunks/split-button-C5MmKuVW.es.js.map +1 -0
  371. package/dist/chunks/stack-CIN13EDn.cjs.js.map +1 -1
  372. package/dist/chunks/stack-CoNreM7B.es.js.map +1 -1
  373. package/dist/chunks/switch-B5bEl91n.es.js +67 -0
  374. package/dist/chunks/switch-B5bEl91n.es.js.map +1 -0
  375. package/dist/chunks/switch-CdLhBEPq.cjs.js +2 -0
  376. package/dist/chunks/switch-CdLhBEPq.cjs.js.map +1 -0
  377. package/dist/chunks/tabs-CJ0OAUSR.cjs.js +2 -0
  378. package/dist/chunks/tabs-CJ0OAUSR.cjs.js.map +1 -0
  379. package/dist/chunks/tabs-DGzmzlun.es.js +428 -0
  380. package/dist/chunks/tabs-DGzmzlun.es.js.map +1 -0
  381. package/dist/chunks/tag-group-Btt0egzG.cjs.js +2 -0
  382. package/dist/chunks/tag-group-Btt0egzG.cjs.js.map +1 -0
  383. package/dist/chunks/tag-group-pJFnuRoJ.es.js +554 -0
  384. package/dist/chunks/tag-group-pJFnuRoJ.es.js.map +1 -0
  385. package/dist/chunks/text-BgiP8ZB6.es.js +24 -0
  386. package/dist/chunks/text-BgiP8ZB6.es.js.map +1 -0
  387. package/dist/chunks/text-CCW9kDT_.cjs.js.map +1 -1
  388. package/dist/chunks/text-input-CSAODlCw.es.js +49 -0
  389. package/dist/chunks/text-input-CSAODlCw.es.js.map +1 -0
  390. package/dist/chunks/text-input-DZdkCbdd.cjs.js +2 -0
  391. package/dist/chunks/text-input-DZdkCbdd.cjs.js.map +1 -0
  392. package/dist/chunks/time-input-BUej1BjY.es.js +21 -0
  393. package/dist/chunks/time-input-BUej1BjY.es.js.map +1 -0
  394. package/dist/chunks/time-input-zXykDANk.cjs.js +2 -0
  395. package/dist/chunks/time-input-zXykDANk.cjs.js.map +1 -0
  396. package/dist/chunks/toggle-button-CPzjUSI_.es.js +30 -0
  397. package/dist/chunks/toggle-button-CPzjUSI_.es.js.map +1 -0
  398. package/dist/chunks/toggle-button-DxMZsem4.cjs.js +2 -0
  399. package/dist/chunks/toggle-button-DxMZsem4.cjs.js.map +1 -0
  400. package/dist/chunks/toggle-button-group-CE2Urvj8.cjs.js +2 -0
  401. package/dist/chunks/toggle-button-group-CE2Urvj8.cjs.js.map +1 -0
  402. package/dist/chunks/toggle-button-group-DOxjowig.es.js +29 -0
  403. package/dist/chunks/toggle-button-group-DOxjowig.es.js.map +1 -0
  404. package/dist/chunks/toggle-button-group.recipe-CbCnJQP3.es.js +244 -0
  405. package/dist/chunks/toggle-button-group.recipe-CbCnJQP3.es.js.map +1 -0
  406. package/dist/chunks/toggle-button-group.recipe-DgySRvOW.cjs.js +2 -0
  407. package/dist/chunks/toggle-button-group.recipe-DgySRvOW.cjs.js.map +1 -0
  408. package/dist/chunks/toolbar-DV0l5MqA.cjs.js +2 -0
  409. package/dist/chunks/toolbar-DV0l5MqA.cjs.js.map +1 -0
  410. package/dist/chunks/toolbar-Dduysqqi.es.js +61 -0
  411. package/dist/chunks/toolbar-Dduysqqi.es.js.map +1 -0
  412. package/dist/chunks/tooltip-BPTOkK7W.cjs.js +2 -0
  413. package/dist/chunks/tooltip-BPTOkK7W.cjs.js.map +1 -0
  414. package/dist/chunks/tooltip-sgakxhiy.es.js +268 -0
  415. package/dist/chunks/tooltip-sgakxhiy.es.js.map +1 -0
  416. package/dist/chunks/use-inline-svg-C2ko8Bcq.cjs.js +2 -0
  417. package/dist/chunks/use-inline-svg-C2ko8Bcq.cjs.js.map +1 -0
  418. package/dist/chunks/use-inline-svg-Cua0623E.es.js +47 -0
  419. package/dist/chunks/use-inline-svg-Cua0623E.es.js.map +1 -0
  420. package/dist/chunks/useButton-DkQVxdIF.es.js +57 -0
  421. package/dist/chunks/useButton-DkQVxdIF.es.js.map +1 -0
  422. package/dist/chunks/useButton-KnJ6A32S.cjs.js +2 -0
  423. package/dist/chunks/useButton-KnJ6A32S.cjs.js.map +1 -0
  424. package/dist/chunks/useCollator-BHMZd1r6.es.js.map +1 -1
  425. package/dist/chunks/useCollator-YVJAe1GI.cjs.js.map +1 -1
  426. package/dist/chunks/useControlledState-D0L6S_5r.cjs.js.map +1 -1
  427. package/dist/chunks/useControlledState-u436Wbp1.es.js.map +1 -1
  428. package/dist/chunks/useDateFormatter-BBcUQTYP.cjs.js +2 -0
  429. package/dist/chunks/useDateFormatter-BBcUQTYP.cjs.js.map +1 -0
  430. package/dist/chunks/useDateFormatter-BkKCXbud.es.js +1632 -0
  431. package/dist/chunks/useDateFormatter-BkKCXbud.es.js.map +1 -0
  432. package/dist/chunks/useDisclosureState-DtcHCDt4.es.js +87 -0
  433. package/dist/chunks/useDisclosureState-DtcHCDt4.es.js.map +1 -0
  434. package/dist/chunks/useDisclosureState-ipt8A1Kc.cjs.js +2 -0
  435. package/dist/chunks/useDisclosureState-ipt8A1Kc.cjs.js.map +1 -0
  436. package/dist/chunks/useEvent-Bh_fbauk.es.js +22 -0
  437. package/dist/chunks/useEvent-Bh_fbauk.es.js.map +1 -0
  438. package/dist/chunks/useEvent-CuUOU5WV.cjs.js.map +1 -1
  439. package/dist/chunks/useField-B0j4t47V.es.js +36 -0
  440. package/dist/chunks/useField-B0j4t47V.es.js.map +1 -0
  441. package/dist/chunks/useField-C_piDZ9g.cjs.js +2 -0
  442. package/dist/chunks/useField-C_piDZ9g.cjs.js.map +1 -0
  443. package/dist/chunks/useFilter-CG8lxfCP.cjs.js.map +1 -1
  444. package/dist/chunks/useFilter-DOfNzeZ9.es.js.map +1 -1
  445. package/dist/chunks/useFocus-CwNVYldV.es.js +29 -0
  446. package/dist/chunks/useFocus-CwNVYldV.es.js.map +1 -0
  447. package/dist/chunks/useFocus-DVHC9n4e.cjs.js +2 -0
  448. package/dist/chunks/useFocus-DVHC9n4e.cjs.js.map +1 -0
  449. package/dist/chunks/useFocusRing-BuJmrp03.cjs.js +2 -0
  450. package/dist/chunks/useFocusRing-BuJmrp03.cjs.js.map +1 -0
  451. package/dist/chunks/useFocusRing-DRIG5NVg.es.js +35 -0
  452. package/dist/chunks/useFocusRing-DRIG5NVg.es.js.map +1 -0
  453. package/dist/chunks/useFocusVisible-BIPjFmFE.es.js +111 -0
  454. package/dist/chunks/useFocusVisible-BIPjFmFE.es.js.map +1 -0
  455. package/dist/chunks/useFocusVisible-CN9NILN7.cjs.js +2 -0
  456. package/dist/chunks/useFocusVisible-CN9NILN7.cjs.js.map +1 -0
  457. package/dist/chunks/useFocusWithin-CfiDXiVK.es.js +56 -0
  458. package/dist/chunks/useFocusWithin-CfiDXiVK.es.js.map +1 -0
  459. package/dist/chunks/useFocusWithin-CucqUylS.cjs.js +2 -0
  460. package/dist/chunks/useFocusWithin-CucqUylS.cjs.js.map +1 -0
  461. package/dist/chunks/useFocusable-D1mzTlxa.es.js +77 -0
  462. package/dist/chunks/useFocusable-D1mzTlxa.es.js.map +1 -0
  463. package/dist/chunks/useFocusable-Dv8K4Git.cjs.js +2 -0
  464. package/dist/chunks/useFocusable-Dv8K4Git.cjs.js.map +1 -0
  465. package/dist/chunks/useFormReset--wPlnEOl.cjs.js.map +1 -1
  466. package/dist/chunks/useFormReset-D_wskGk5.es.js +21 -0
  467. package/dist/chunks/useFormReset-D_wskGk5.es.js.map +1 -0
  468. package/dist/chunks/useFormValidation-DR5NgZ9j.es.js +202 -0
  469. package/dist/chunks/useFormValidation-DR5NgZ9j.es.js.map +1 -0
  470. package/dist/chunks/useFormValidation-STNSjSmx.cjs.js +2 -0
  471. package/dist/chunks/useFormValidation-STNSjSmx.cjs.js.map +1 -0
  472. package/dist/chunks/useGlobalListeners-BOOfV5Wh.es.js.map +1 -1
  473. package/dist/chunks/useGlobalListeners-DcmIlwrO.cjs.js.map +1 -1
  474. package/dist/chunks/useGridListItem-6gZ8SfZH.cjs.js +2 -0
  475. package/dist/chunks/useGridListItem-6gZ8SfZH.cjs.js.map +1 -0
  476. package/dist/chunks/useGridListItem-Cosrmt8g.es.js +251 -0
  477. package/dist/chunks/useGridListItem-Cosrmt8g.es.js.map +1 -0
  478. package/dist/chunks/useGridSelectionCheckbox-UA-rsjJv.cjs.js +2 -0
  479. package/dist/chunks/useGridSelectionCheckbox-UA-rsjJv.cjs.js.map +1 -0
  480. package/dist/chunks/useGridSelectionCheckbox-yspK-vJA.es.js +23 -0
  481. package/dist/chunks/useGridSelectionCheckbox-yspK-vJA.es.js.map +1 -0
  482. package/dist/chunks/useHasTabbableChild-Bif_c3Cz.cjs.js +2 -0
  483. package/dist/chunks/useHasTabbableChild-Bif_c3Cz.cjs.js.map +1 -0
  484. package/dist/chunks/useHasTabbableChild-Dq0HGz7B.es.js +35 -0
  485. package/dist/chunks/useHasTabbableChild-Dq0HGz7B.es.js.map +1 -0
  486. package/dist/chunks/useHighlightSelectionDescription-BVp60RjN.cjs.js +2 -0
  487. package/dist/chunks/useHighlightSelectionDescription-BVp60RjN.cjs.js.map +1 -0
  488. package/dist/chunks/useHighlightSelectionDescription-qks4kKs2.es.js +568 -0
  489. package/dist/chunks/useHighlightSelectionDescription-qks4kKs2.es.js.map +1 -0
  490. package/dist/chunks/useHover-271zEzph.cjs.js +2 -0
  491. package/dist/chunks/useHover-271zEzph.cjs.js.map +1 -0
  492. package/dist/chunks/useHover-9Xdm5U9d.es.js +86 -0
  493. package/dist/chunks/useHover-9Xdm5U9d.es.js.map +1 -0
  494. package/dist/chunks/useLabel-Cv-EvK4W.es.js +24 -0
  495. package/dist/chunks/useLabel-Cv-EvK4W.es.js.map +1 -0
  496. package/dist/chunks/useLabel-neE14Yau.cjs.js +2 -0
  497. package/dist/chunks/useLabel-neE14Yau.cjs.js.map +1 -0
  498. package/dist/chunks/useLabels-82wzG8z1.es.js +18 -0
  499. package/dist/chunks/useLabels-82wzG8z1.es.js.map +1 -0
  500. package/dist/chunks/useLabels-BsHtLxGl.cjs.js +2 -0
  501. package/dist/chunks/useLabels-BsHtLxGl.cjs.js.map +1 -0
  502. package/dist/chunks/useListState-CUO8Wibt.es.js +134 -0
  503. package/dist/chunks/useListState-CUO8Wibt.es.js.map +1 -0
  504. package/dist/chunks/useListState-CyKtsfSM.cjs.js +2 -0
  505. package/dist/chunks/useListState-CyKtsfSM.cjs.js.map +1 -0
  506. package/dist/chunks/useLocalizedStringFormatter-BRnRyxJp.es.js.map +1 -1
  507. package/dist/chunks/useLocalizedStringFormatter-sB0mFYtL.cjs.js.map +1 -1
  508. package/dist/chunks/useObjectRef-CaJ5pgjX.es.js.map +1 -1
  509. package/dist/chunks/useObjectRef-dXOJdONs.cjs.js.map +1 -1
  510. package/dist/chunks/usePress-Bxb2-xLP.es.js +456 -0
  511. package/dist/chunks/usePress-Bxb2-xLP.es.js.map +1 -0
  512. package/dist/chunks/usePress-D5REDWI3.cjs.js +8 -0
  513. package/dist/chunks/usePress-D5REDWI3.cjs.js.map +1 -0
  514. package/dist/chunks/useProgressBar-BsSMDAsi.es.js +48 -0
  515. package/dist/chunks/useProgressBar-BsSMDAsi.es.js.map +1 -0
  516. package/dist/chunks/useProgressBar-COda2Qef.cjs.js +2 -0
  517. package/dist/chunks/useProgressBar-COda2Qef.cjs.js.map +1 -0
  518. package/dist/chunks/useSingleSelectListState-CgOgZMJh.cjs.js +2 -0
  519. package/dist/chunks/useSingleSelectListState-CgOgZMJh.cjs.js.map +1 -0
  520. package/dist/chunks/useSingleSelectListState-CnVWWOJD.es.js +35 -0
  521. package/dist/chunks/useSingleSelectListState-CnVWWOJD.es.js.map +1 -0
  522. package/dist/chunks/useSpinButton-2dD53rZp.es.js +433 -0
  523. package/dist/chunks/useSpinButton-2dD53rZp.es.js.map +1 -0
  524. package/dist/chunks/useSpinButton-DA7sVP3T.cjs.js.map +1 -1
  525. package/dist/chunks/useSyncRef-bcjp9eId.cjs.js.map +1 -1
  526. package/dist/chunks/useSyncRef-nVBzPD3o.es.js +13 -0
  527. package/dist/chunks/useSyncRef-nVBzPD3o.es.js.map +1 -0
  528. package/dist/chunks/useTextField-0jWzqKW2.cjs.js +2 -0
  529. package/dist/chunks/useTextField-0jWzqKW2.cjs.js.map +1 -0
  530. package/dist/chunks/useTextField-CT9tuc9X.es.js +91 -0
  531. package/dist/chunks/useTextField-CT9tuc9X.es.js.map +1 -0
  532. package/dist/chunks/useToggle-BXaU8bD5.cjs.js +2 -0
  533. package/dist/chunks/useToggle-BXaU8bD5.cjs.js.map +1 -0
  534. package/dist/chunks/useToggle-CUMQAGyE.es.js +62 -0
  535. package/dist/chunks/useToggle-CUMQAGyE.es.js.map +1 -0
  536. package/dist/chunks/useToggleState-Dl-o05wQ.cjs.js.map +1 -1
  537. package/dist/chunks/useToggleState-Uh0wTgdI.es.js.map +1 -1
  538. package/dist/chunks/useToolbar-CnYu1bn9.es.js +55 -0
  539. package/dist/chunks/useToolbar-CnYu1bn9.es.js.map +1 -0
  540. package/dist/chunks/useToolbar-iBRLn7DA.cjs.js +2 -0
  541. package/dist/chunks/useToolbar-iBRLn7DA.cjs.js.map +1 -0
  542. package/dist/chunks/useUpdateEffect-C5YQs_1w.cjs.js.map +1 -1
  543. package/dist/chunks/useUpdateEffect-CCDx8D4X.es.js.map +1 -1
  544. package/dist/chunks/utils-BHdR5Nww.cjs.js.map +1 -1
  545. package/dist/chunks/utils-Cjs5h3ad.es.js +190 -0
  546. package/dist/chunks/utils-Cjs5h3ad.es.js.map +1 -0
  547. package/dist/chunks/utils-Cyja2WdR.es.js +128 -0
  548. package/dist/chunks/utils-Cyja2WdR.es.js.map +1 -0
  549. package/dist/chunks/utils-DUS_ZjvE.cjs.js +2 -0
  550. package/dist/chunks/utils-DUS_ZjvE.cjs.js.map +1 -0
  551. package/dist/chunks/visually-hidden-CVUszTlg.es.js +11 -0
  552. package/dist/chunks/visually-hidden-CVUszTlg.es.js.map +1 -0
  553. package/dist/chunks/visually-hidden-tTYCAVoQ.cjs.js +2 -0
  554. package/dist/chunks/visually-hidden-tTYCAVoQ.cjs.js.map +1 -0
  555. package/dist/collapsible-motion.d.ts +125 -0
  556. package/dist/combobox.d.ts +91 -145
  557. package/dist/components/accordion.cjs +1 -1
  558. package/dist/components/accordion.es.js +1 -1
  559. package/dist/components/alert.cjs +1 -1
  560. package/dist/components/alert.es.js +1 -1
  561. package/dist/components/avatar.cjs +1 -1
  562. package/dist/components/avatar.es.js +1 -1
  563. package/dist/components/badge.cjs +1 -1
  564. package/dist/components/badge.es.js +1 -1
  565. package/dist/components/button.cjs +1 -1
  566. package/dist/components/button.es.js +1 -1
  567. package/dist/components/calendar.cjs +1 -1
  568. package/dist/components/calendar.es.js +1 -1
  569. package/dist/components/card.cjs +1 -1
  570. package/dist/components/card.es.js +1 -1
  571. package/dist/components/checkbox.cjs +1 -1
  572. package/dist/components/checkbox.es.js +1 -1
  573. package/dist/components/collapsible-motion.cjs +2 -0
  574. package/dist/components/collapsible-motion.cjs.map +1 -0
  575. package/dist/components/collapsible-motion.es.js +5 -0
  576. package/dist/components/collapsible-motion.es.js.map +1 -0
  577. package/dist/components/combobox.cjs +1 -1
  578. package/dist/components/combobox.es.js +1 -1
  579. package/dist/components/components.cjs +1 -1
  580. package/dist/components/components.es.js +9 -164
  581. package/dist/components/components.es.js.map +1 -1
  582. package/dist/components/constants.cjs +1 -1
  583. package/dist/components/constants.cjs.map +1 -1
  584. package/dist/components/constants.es.js +13 -122
  585. package/dist/components/constants.es.js.map +1 -1
  586. package/dist/components/data-table.cjs +1 -1
  587. package/dist/components/data-table.es.js +1 -1
  588. package/dist/components/date-input.cjs +1 -1
  589. package/dist/components/date-input.es.js +1 -1
  590. package/dist/components/date-picker.cjs +1 -1
  591. package/dist/components/date-picker.es.js +1 -1
  592. package/dist/components/date-range-picker.cjs +1 -1
  593. package/dist/components/date-range-picker.es.js +1 -1
  594. package/dist/components/dialog.cjs +1 -1
  595. package/dist/components/dialog.es.js +1 -1
  596. package/dist/components/draggable-list.cjs +2 -0
  597. package/dist/components/draggable-list.cjs.map +1 -0
  598. package/dist/components/draggable-list.es.js +8 -0
  599. package/dist/components/draggable-list.es.js.map +1 -0
  600. package/dist/components/drawer.cjs +2 -0
  601. package/dist/components/drawer.cjs.map +1 -0
  602. package/dist/components/drawer.es.js +5 -0
  603. package/dist/components/drawer.es.js.map +1 -0
  604. package/dist/components/field-errors.cjs +2 -0
  605. package/dist/components/field-errors.cjs.map +1 -0
  606. package/dist/components/field-errors.es.js +6 -0
  607. package/dist/components/field-errors.es.js.map +1 -0
  608. package/dist/components/form-field.cjs +1 -1
  609. package/dist/components/form-field.es.js +1 -1
  610. package/dist/components/group.cjs +1 -1
  611. package/dist/components/group.es.js +1 -1
  612. package/dist/components/heading.cjs +1 -1
  613. package/dist/components/heading.es.js +2 -2
  614. package/dist/components/hooks.cjs +1 -1
  615. package/dist/components/hooks.es.js +2 -5
  616. package/dist/components/icon-button.cjs +1 -1
  617. package/dist/components/icon-button.es.js +1 -1
  618. package/dist/components/icon-toggle-button.cjs +1 -1
  619. package/dist/components/icon-toggle-button.es.js +1 -1
  620. package/dist/components/icon.cjs +1 -1
  621. package/dist/components/icon.es.js +1 -1
  622. package/dist/components/inline-svg.cjs +2 -0
  623. package/dist/components/inline-svg.cjs.map +1 -0
  624. package/dist/components/inline-svg.es.js +5 -0
  625. package/dist/components/inline-svg.es.js.map +1 -0
  626. package/dist/components/kbd.cjs +1 -1
  627. package/dist/components/kbd.es.js +1 -1
  628. package/dist/components/link.cjs +1 -1
  629. package/dist/components/link.es.js +1 -1
  630. package/dist/components/loading-spinner.cjs +1 -1
  631. package/dist/components/loading-spinner.es.js +1 -1
  632. package/dist/components/localized-field.cjs +2 -0
  633. package/dist/components/localized-field.cjs.map +1 -0
  634. package/dist/components/localized-field.es.js +5 -0
  635. package/dist/components/localized-field.es.js.map +1 -0
  636. package/dist/components/money-input.cjs +2 -0
  637. package/dist/components/money-input.cjs.map +1 -0
  638. package/dist/components/money-input.es.js +5 -0
  639. package/dist/components/money-input.es.js.map +1 -0
  640. package/dist/components/multiline-text-input.cjs +1 -1
  641. package/dist/components/multiline-text-input.es.js +1 -1
  642. package/dist/components/nimbus-provider.cjs +1 -1
  643. package/dist/components/nimbus-provider.es.js +1 -1
  644. package/dist/components/number-input.cjs +1 -1
  645. package/dist/components/number-input.es.js +1 -1
  646. package/dist/components/pagination.cjs +2 -0
  647. package/dist/components/pagination.cjs.map +1 -0
  648. package/dist/components/pagination.es.js +5 -0
  649. package/dist/components/pagination.es.js.map +1 -0
  650. package/dist/components/password-input.cjs +1 -1
  651. package/dist/components/password-input.es.js +1 -1
  652. package/dist/components/popover.cjs +1 -1
  653. package/dist/components/popover.cjs.map +1 -1
  654. package/dist/components/popover.es.js +2 -22
  655. package/dist/components/popover.es.js.map +1 -1
  656. package/dist/components/progress-bar.cjs +1 -1
  657. package/dist/components/progress-bar.es.js +1 -1
  658. package/dist/components/radio-input.cjs +1 -1
  659. package/dist/components/radio-input.es.js +1 -1
  660. package/dist/components/range-calendar.cjs +1 -1
  661. package/dist/components/range-calendar.es.js +1 -1
  662. package/dist/components/rich-text-input.cjs +1 -1
  663. package/dist/components/rich-text-input.es.js +1 -1
  664. package/dist/components/scoped-search-input.cjs +2 -0
  665. package/dist/components/scoped-search-input.cjs.map +1 -0
  666. package/dist/components/scoped-search-input.es.js +153 -0
  667. package/dist/components/scoped-search-input.es.js.map +1 -0
  668. package/dist/components/search-input.cjs +2 -0
  669. package/dist/components/search-input.cjs.map +1 -0
  670. package/dist/components/search-input.es.js +5 -0
  671. package/dist/components/search-input.es.js.map +1 -0
  672. package/dist/components/select.cjs +1 -1
  673. package/dist/components/select.es.js +1 -1
  674. package/dist/components/separator.cjs +2 -0
  675. package/dist/components/separator.cjs.map +1 -0
  676. package/dist/components/separator.es.js +5 -0
  677. package/dist/components/separator.es.js.map +1 -0
  678. package/dist/components/spacer.cjs +2 -0
  679. package/dist/components/spacer.cjs.map +1 -0
  680. package/dist/components/spacer.es.js +5 -0
  681. package/dist/components/spacer.es.js.map +1 -0
  682. package/dist/components/split-button.cjs +1 -1
  683. package/dist/components/split-button.es.js +1 -1
  684. package/dist/components/switch.cjs +1 -1
  685. package/dist/components/switch.es.js +1 -1
  686. package/dist/components/tabs.cjs +2 -0
  687. package/dist/components/tabs.cjs.map +1 -0
  688. package/dist/components/tabs.es.js +10 -0
  689. package/dist/components/tabs.es.js.map +1 -0
  690. package/dist/components/tag-group.cjs +1 -1
  691. package/dist/components/tag-group.es.js +1 -1
  692. package/dist/components/text-input.cjs +1 -1
  693. package/dist/components/text-input.es.js +1 -1
  694. package/dist/components/text.es.js +1 -1
  695. package/dist/components/time-input.cjs +1 -1
  696. package/dist/components/time-input.es.js +1 -1
  697. package/dist/components/toggle-button-group.cjs +1 -1
  698. package/dist/components/toggle-button-group.es.js +1 -1
  699. package/dist/components/toggle-button.cjs +1 -1
  700. package/dist/components/toggle-button.es.js +1 -1
  701. package/dist/components/toolbar.cjs +1 -1
  702. package/dist/components/toolbar.es.js +1 -1
  703. package/dist/components/tooltip.cjs +1 -1
  704. package/dist/components/tooltip.es.js +2 -2
  705. package/dist/components/utils.cjs +2 -1
  706. package/dist/components/utils.cjs.map +1 -1
  707. package/dist/components/utils.es.js +568 -65
  708. package/dist/components/utils.es.js.map +1 -1
  709. package/dist/components/visually-hidden.cjs +1 -1
  710. package/dist/components/visually-hidden.es.js +1 -1
  711. package/dist/components.d.ts +200 -3937
  712. package/dist/constants.d.ts +4 -113
  713. package/dist/data-table.d.ts +70 -95
  714. package/dist/date-input.d.ts +19 -80
  715. package/dist/date-picker.d.ts +31 -133
  716. package/dist/date-range-picker.d.ts +20 -67
  717. package/dist/dialog.d.ts +478 -27
  718. package/dist/draggable-list.d.ts +331 -0
  719. package/dist/drawer.d.ts +590 -0
  720. package/dist/field-errors.d.ts +144 -0
  721. package/dist/form-field.d.ts +65 -89
  722. package/dist/grid.d.ts +2 -2
  723. package/dist/group.d.ts +9 -15
  724. package/dist/heading.d.ts +43 -2
  725. package/dist/hooks.d.ts +7 -46
  726. package/dist/icon-button.d.ts +40 -28
  727. package/dist/icon-toggle-button.d.ts +31 -122
  728. package/dist/icon.d.ts +9 -67
  729. package/dist/image.d.ts +1 -2
  730. package/dist/index.cjs +1 -1
  731. package/dist/index.cjs.map +1 -1
  732. package/dist/index.d.ts +196 -3970
  733. package/dist/index.es.js +461 -404
  734. package/dist/index.es.js.map +1 -1
  735. package/dist/inline-svg.d.ts +81 -0
  736. package/dist/kbd.d.ts +2 -2
  737. package/dist/link.d.ts +22 -61
  738. package/dist/loading-spinner.d.ts +20 -66
  739. package/dist/localized-field.d.ts +935 -0
  740. package/dist/money-input.d.ts +879 -0
  741. package/dist/multiline-text-input.d.ts +40 -46
  742. package/dist/nimbus-provider.d.ts +28 -18
  743. package/dist/number-input.d.ts +33 -115
  744. package/dist/pagination.d.ts +70 -0
  745. package/dist/password-input.d.ts +39 -52
  746. package/dist/popover.d.ts +10 -3
  747. package/dist/progress-bar.d.ts +42 -125
  748. package/dist/radio-input.d.ts +17 -36
  749. package/dist/range-calendar.d.ts +22 -17
  750. package/dist/rich-text-input.d.ts +9 -6
  751. package/dist/scoped-search-input.d.ts +94 -0
  752. package/dist/search-input.d.ts +56 -0
  753. package/dist/select.d.ts +167 -80
  754. package/dist/separator.d.ts +49 -0
  755. package/dist/setup-jsdom-polyfills.cjs +1 -1
  756. package/dist/setup-jsdom-polyfills.cjs.map +1 -1
  757. package/dist/setup-jsdom-polyfills.es.js +37 -2
  758. package/dist/setup-jsdom-polyfills.es.js.map +1 -1
  759. package/dist/simple-grid.d.ts +2 -2
  760. package/dist/spacer.d.ts +41 -0
  761. package/dist/split-button.d.ts +51 -28
  762. package/dist/stack.d.ts +2 -2
  763. package/dist/switch.d.ts +9 -51
  764. package/dist/tabs.d.ts +213 -0
  765. package/dist/tag-group.d.ts +18 -51
  766. package/dist/text-input.d.ts +38 -41
  767. package/dist/text.d.ts +2 -2
  768. package/dist/time-input.d.ts +20 -80
  769. package/dist/toggle-button-group.d.ts +21 -68
  770. package/dist/toggle-button.d.ts +23 -119
  771. package/dist/toolbar.d.ts +11 -67
  772. package/dist/tooltip.d.ts +41 -51
  773. package/dist/utils.d.ts +28 -148
  774. package/dist/visually-hidden.d.ts +2 -2
  775. package/package.json +40 -31
  776. package/dist/chunks/Button-BtJHe9xY.cjs.js +0 -2
  777. package/dist/chunks/Button-BtJHe9xY.cjs.js.map +0 -1
  778. package/dist/chunks/Button-CNBS3n5a.es.js +0 -73
  779. package/dist/chunks/Button-CNBS3n5a.es.js.map +0 -1
  780. package/dist/chunks/DateField-Dm2Qlhbk.es.js +0 -2685
  781. package/dist/chunks/DateField-Dm2Qlhbk.es.js.map +0 -1
  782. package/dist/chunks/DateField-rweHHCKR.cjs.js +0 -2
  783. package/dist/chunks/DateField-rweHHCKR.cjs.js.map +0 -1
  784. package/dist/chunks/DatePicker-BdV6ICAm.cjs.js +0 -2
  785. package/dist/chunks/DatePicker-BdV6ICAm.cjs.js.map +0 -1
  786. package/dist/chunks/DatePicker-BthC1bZ_.es.js +0 -782
  787. package/dist/chunks/DatePicker-BthC1bZ_.es.js.map +0 -1
  788. package/dist/chunks/Dialog-BeQ6Z6l2.es.js +0 -1924
  789. package/dist/chunks/Dialog-BeQ6Z6l2.es.js.map +0 -1
  790. package/dist/chunks/Dialog-CYa26HlL.cjs.js +0 -2
  791. package/dist/chunks/Dialog-CYa26HlL.cjs.js.map +0 -1
  792. package/dist/chunks/DragAndDrop-ChYb3tCX.es.js +0 -81
  793. package/dist/chunks/DragAndDrop-ChYb3tCX.es.js.map +0 -1
  794. package/dist/chunks/DragAndDrop-cOfUfFj8.cjs.js +0 -2
  795. package/dist/chunks/DragAndDrop-cOfUfFj8.cjs.js.map +0 -1
  796. package/dist/chunks/FocusScope-CNO0fzPs.es.js +0 -625
  797. package/dist/chunks/FocusScope-CNO0fzPs.es.js.map +0 -1
  798. package/dist/chunks/FocusScope-DPn5XtSy.cjs.js +0 -2
  799. package/dist/chunks/FocusScope-DPn5XtSy.cjs.js.map +0 -1
  800. package/dist/chunks/Group-Cfixd-fh.es.js +0 -46
  801. package/dist/chunks/Group-Cfixd-fh.es.js.map +0 -1
  802. package/dist/chunks/Group-MdeByg6t.cjs.js +0 -2
  803. package/dist/chunks/Group-MdeByg6t.cjs.js.map +0 -1
  804. package/dist/chunks/Heading-BaW6t55l.cjs.js +0 -2
  805. package/dist/chunks/Heading-BaW6t55l.cjs.js.map +0 -1
  806. package/dist/chunks/Heading-DEfy_f01.es.js +0 -1618
  807. package/dist/chunks/Heading-DEfy_f01.es.js.map +0 -1
  808. package/dist/chunks/Input-BiHwUBo4.es.js +0 -43
  809. package/dist/chunks/Input-BiHwUBo4.es.js.map +0 -1
  810. package/dist/chunks/Input-HBDt7LmM.cjs.js +0 -2
  811. package/dist/chunks/Input-HBDt7LmM.cjs.js.map +0 -1
  812. package/dist/chunks/Label-B2YyCdLl.es.js +0 -17
  813. package/dist/chunks/Label-B2YyCdLl.es.js.map +0 -1
  814. package/dist/chunks/ListBox-CikEmFBx.cjs.js +0 -2
  815. package/dist/chunks/ListBox-CikEmFBx.cjs.js.map +0 -1
  816. package/dist/chunks/ListBox-DF3NHeEX.es.js +0 -605
  817. package/dist/chunks/ListBox-DF3NHeEX.es.js.map +0 -1
  818. package/dist/chunks/OverlayArrow-sJzRZNbO.es.js +0 -491
  819. package/dist/chunks/OverlayArrow-sJzRZNbO.es.js.map +0 -1
  820. package/dist/chunks/ProgressBar-BA3sLh1k.cjs.js +0 -2
  821. package/dist/chunks/ProgressBar-BA3sLh1k.cjs.js.map +0 -1
  822. package/dist/chunks/ProgressBar-DjaUQI7N.es.js +0 -42
  823. package/dist/chunks/ProgressBar-DjaUQI7N.es.js.map +0 -1
  824. package/dist/chunks/RSPContexts-B4yvXuBR.es.js +0 -7
  825. package/dist/chunks/RSPContexts-B4yvXuBR.es.js.map +0 -1
  826. package/dist/chunks/RSPContexts-CkSl9jRK.cjs.js +0 -2
  827. package/dist/chunks/RSPContexts-CkSl9jRK.cjs.js.map +0 -1
  828. package/dist/chunks/SelectionManager-CLyu96pU.es.js +0 -1946
  829. package/dist/chunks/SelectionManager-CLyu96pU.es.js.map +0 -1
  830. package/dist/chunks/SelectionManager-Mrwf4SFv.cjs.js +0 -18
  831. package/dist/chunks/SelectionManager-Mrwf4SFv.cjs.js.map +0 -1
  832. package/dist/chunks/Separator-3-E2tRbk.es.js +0 -92
  833. package/dist/chunks/Separator-3-E2tRbk.es.js.map +0 -1
  834. package/dist/chunks/Separator-CAOg-vqY.cjs.js +0 -2
  835. package/dist/chunks/Separator-CAOg-vqY.cjs.js.map +0 -1
  836. package/dist/chunks/TextArea-BmpgvS0R.es.js +0 -42
  837. package/dist/chunks/TextArea-BmpgvS0R.es.js.map +0 -1
  838. package/dist/chunks/TextArea-D3FFXnUy.cjs.js +0 -2
  839. package/dist/chunks/TextArea-D3FFXnUy.cjs.js.map +0 -1
  840. package/dist/chunks/ToggleButton-C3JL0pgD.es.js +0 -145
  841. package/dist/chunks/ToggleButton-C3JL0pgD.es.js.map +0 -1
  842. package/dist/chunks/ToggleButton-CPAdPTCr.cjs.js +0 -2
  843. package/dist/chunks/ToggleButton-CPAdPTCr.cjs.js.map +0 -1
  844. package/dist/chunks/VisuallyHidden-Bv_AJXZ7.cjs.js +0 -2
  845. package/dist/chunks/VisuallyHidden-Bv_AJXZ7.cjs.js.map +0 -1
  846. package/dist/chunks/VisuallyHidden-VHEPK04F.es.js +0 -41
  847. package/dist/chunks/VisuallyHidden-VHEPK04F.es.js.map +0 -1
  848. package/dist/chunks/accordion-EDJoghXQ.cjs.js +0 -2
  849. package/dist/chunks/accordion-EDJoghXQ.cjs.js.map +0 -1
  850. package/dist/chunks/accordion-UL4pfC2d.es.js +0 -223
  851. package/dist/chunks/accordion-UL4pfC2d.es.js.map +0 -1
  852. package/dist/chunks/alert-BhoRNIWA.cjs.js +0 -2
  853. package/dist/chunks/alert-BhoRNIWA.cjs.js.map +0 -1
  854. package/dist/chunks/alert-D-ddqYG4.es.js +0 -186
  855. package/dist/chunks/alert-D-ddqYG4.es.js.map +0 -1
  856. package/dist/chunks/avatar-Bu12OMzz.es.js +0 -38
  857. package/dist/chunks/avatar-Bu12OMzz.es.js.map +0 -1
  858. package/dist/chunks/avatar-C2KIWewd.cjs.js +0 -2
  859. package/dist/chunks/avatar-C2KIWewd.cjs.js.map +0 -1
  860. package/dist/chunks/badge-BJd-Q81M.es.js +0 -77
  861. package/dist/chunks/badge-BJd-Q81M.es.js.map +0 -1
  862. package/dist/chunks/badge-CCrBksXu.cjs.js +0 -2
  863. package/dist/chunks/badge-CCrBksXu.cjs.js.map +0 -1
  864. package/dist/chunks/button-CRUdodZm.es.js +0 -59
  865. package/dist/chunks/button-CRUdodZm.es.js.map +0 -1
  866. package/dist/chunks/button-CU8FW_Pl.cjs.js +0 -2
  867. package/dist/chunks/button-CU8FW_Pl.cjs.js.map +0 -1
  868. package/dist/chunks/button.recipe-Cqkj3VMo.cjs.js +0 -2
  869. package/dist/chunks/button.recipe-Cqkj3VMo.cjs.js.map +0 -1
  870. package/dist/chunks/button.recipe-NdTb5f8M.es.js +0 -191
  871. package/dist/chunks/button.recipe-NdTb5f8M.es.js.map +0 -1
  872. package/dist/chunks/calendar-DJKWldpV.cjs.js +0 -2
  873. package/dist/chunks/calendar-DJKWldpV.cjs.js.map +0 -1
  874. package/dist/chunks/calendar-DzwFtg1t.es.js +0 -186
  875. package/dist/chunks/calendar-DzwFtg1t.es.js.map +0 -1
  876. package/dist/chunks/card-BfUdf1Fy.es.js +0 -138
  877. package/dist/chunks/card-BfUdf1Fy.es.js.map +0 -1
  878. package/dist/chunks/card-DeWTV05B.cjs.js +0 -2
  879. package/dist/chunks/card-DeWTV05B.cjs.js.map +0 -1
  880. package/dist/chunks/checkbox-6nLo9Jy2.cjs.js +0 -2
  881. package/dist/chunks/checkbox-6nLo9Jy2.cjs.js.map +0 -1
  882. package/dist/chunks/checkbox-GmYxVrZx.es.js +0 -219
  883. package/dist/chunks/checkbox-GmYxVrZx.es.js.map +0 -1
  884. package/dist/chunks/combobox-DtPDxCo3.cjs.js +0 -2
  885. package/dist/chunks/combobox-DtPDxCo3.cjs.js.map +0 -1
  886. package/dist/chunks/combobox-gIwba2QG.es.js +0 -2392
  887. package/dist/chunks/combobox-gIwba2QG.es.js.map +0 -1
  888. package/dist/chunks/data-table-Cpk3q34E.cjs.js +0 -2
  889. package/dist/chunks/data-table-Cpk3q34E.cjs.js.map +0 -1
  890. package/dist/chunks/data-table-mXLxUWQz.es.js +0 -3563
  891. package/dist/chunks/data-table-mXLxUWQz.es.js.map +0 -1
  892. package/dist/chunks/date-input-D5unoyMt.es.js +0 -16
  893. package/dist/chunks/date-input-D5unoyMt.es.js.map +0 -1
  894. package/dist/chunks/date-input-DJ_aFB9i.cjs.js +0 -2
  895. package/dist/chunks/date-input-DJ_aFB9i.cjs.js.map +0 -1
  896. package/dist/chunks/date-picker-CMqAI1lp.es.js +0 -190
  897. package/dist/chunks/date-picker-CMqAI1lp.es.js.map +0 -1
  898. package/dist/chunks/date-picker-f3TylaP5.cjs.js +0 -2
  899. package/dist/chunks/date-picker-f3TylaP5.cjs.js.map +0 -1
  900. package/dist/chunks/date-range-picker-CxsPpWyX.cjs.js +0 -2
  901. package/dist/chunks/date-range-picker-CxsPpWyX.cjs.js.map +0 -1
  902. package/dist/chunks/date-range-picker-Dtji64Q9.es.js +0 -283
  903. package/dist/chunks/date-range-picker-Dtji64Q9.es.js.map +0 -1
  904. package/dist/chunks/dialog-CVa-E9-A.cjs.js +0 -2
  905. package/dist/chunks/dialog-CVa-E9-A.cjs.js.map +0 -1
  906. package/dist/chunks/dialog-DTSuKnyk.es.js +0 -34
  907. package/dist/chunks/dialog-DTSuKnyk.es.js.map +0 -1
  908. package/dist/chunks/divider--BAm3ca4.es.js +0 -53
  909. package/dist/chunks/divider--BAm3ca4.es.js.map +0 -1
  910. package/dist/chunks/divider-BuizjeAj.cjs.js +0 -2
  911. package/dist/chunks/divider-BuizjeAj.cjs.js.map +0 -1
  912. package/dist/chunks/emotion-is-prop-valid.esm-Bb7Ou5_X.cjs.js +0 -2
  913. package/dist/chunks/emotion-is-prop-valid.esm-Bb7Ou5_X.cjs.js.map +0 -1
  914. package/dist/chunks/emotion-is-prop-valid.esm-qvxbqhmq.es.js +0 -16
  915. package/dist/chunks/emotion-is-prop-valid.esm-qvxbqhmq.es.js.map +0 -1
  916. package/dist/chunks/extractStyleProps-CZpHKp1I.cjs.js +0 -2
  917. package/dist/chunks/extractStyleProps-CZpHKp1I.cjs.js.map +0 -1
  918. package/dist/chunks/extractStyleProps-vA4cNUoc.es.js +0 -11
  919. package/dist/chunks/extractStyleProps-vA4cNUoc.es.js.map +0 -1
  920. package/dist/chunks/focusSafely-DJpphVHF.es.js +0 -27
  921. package/dist/chunks/focusSafely-DJpphVHF.es.js.map +0 -1
  922. package/dist/chunks/focusSafely-jDMW9aEx.cjs.js +0 -2
  923. package/dist/chunks/focusSafely-jDMW9aEx.cjs.js.map +0 -1
  924. package/dist/chunks/form-field-Dtcfgzyo.es.js +0 -309
  925. package/dist/chunks/form-field-Dtcfgzyo.es.js.map +0 -1
  926. package/dist/chunks/form-field-DxcGAb23.cjs.js +0 -11
  927. package/dist/chunks/form-field-DxcGAb23.cjs.js.map +0 -1
  928. package/dist/chunks/group-Buy-O6Mr.cjs.js +0 -2
  929. package/dist/chunks/group-Buy-O6Mr.cjs.js.map +0 -1
  930. package/dist/chunks/group-CqfSQXe7.es.js +0 -14
  931. package/dist/chunks/group-CqfSQXe7.es.js.map +0 -1
  932. package/dist/chunks/group.recipe-BQafmscW.es.js +0 -13
  933. package/dist/chunks/group.recipe-BQafmscW.es.js.map +0 -1
  934. package/dist/chunks/group.recipe-BffrkcjL.cjs.js +0 -2
  935. package/dist/chunks/group.recipe-BffrkcjL.cjs.js.map +0 -1
  936. package/dist/chunks/icon-BoRbJStV.es.js +0 -31
  937. package/dist/chunks/icon-BoRbJStV.es.js.map +0 -1
  938. package/dist/chunks/icon-Cny8ZtnX.cjs.js +0 -2
  939. package/dist/chunks/icon-Cny8ZtnX.cjs.js.map +0 -1
  940. package/dist/chunks/icon-button-C20Gw8gQ.es.js +0 -14
  941. package/dist/chunks/icon-button-C20Gw8gQ.es.js.map +0 -1
  942. package/dist/chunks/icon-button-Cc0MkBbk.cjs.js +0 -2
  943. package/dist/chunks/icon-button-Cc0MkBbk.cjs.js.map +0 -1
  944. package/dist/chunks/icon-toggle-button-CgHQMDs3.es.js +0 -13
  945. package/dist/chunks/icon-toggle-button-CgHQMDs3.es.js.map +0 -1
  946. package/dist/chunks/icon-toggle-button-D-C99Q0s.cjs.js +0 -2
  947. package/dist/chunks/icon-toggle-button-D-C99Q0s.cjs.js.map +0 -1
  948. package/dist/chunks/index-C8Yrk__l.cjs.js +0 -4
  949. package/dist/chunks/index-C8Yrk__l.cjs.js.map +0 -1
  950. package/dist/chunks/index-jAeaCpRm.es.js +0 -3787
  951. package/dist/chunks/index-jAeaCpRm.es.js.map +0 -1
  952. package/dist/chunks/kbd-BXN9aXRE.es.js +0 -17
  953. package/dist/chunks/kbd-BXN9aXRE.es.js.map +0 -1
  954. package/dist/chunks/kbd-DFeaXiKY.cjs.js +0 -2
  955. package/dist/chunks/kbd-DFeaXiKY.cjs.js.map +0 -1
  956. package/dist/chunks/kbd.recipe-DXiyvrAP.es.js +0 -26
  957. package/dist/chunks/kbd.recipe-DXiyvrAP.es.js.map +0 -1
  958. package/dist/chunks/kbd.recipe-DjQgeTG_.cjs.js +0 -2
  959. package/dist/chunks/kbd.recipe-DjQgeTG_.cjs.js.map +0 -1
  960. package/dist/chunks/link-CFK97sc0.es.js +0 -50
  961. package/dist/chunks/link-CFK97sc0.es.js.map +0 -1
  962. package/dist/chunks/link-DWa1zIUJ.cjs.js +0 -2
  963. package/dist/chunks/link-DWa1zIUJ.cjs.js.map +0 -1
  964. package/dist/chunks/link.recipe-Co4-fl4U.cjs.js +0 -2
  965. package/dist/chunks/link.recipe-Co4-fl4U.cjs.js.map +0 -1
  966. package/dist/chunks/link.recipe-pXiGIJtI.es.js +0 -51
  967. package/dist/chunks/link.recipe-pXiGIJtI.es.js.map +0 -1
  968. package/dist/chunks/loading-spinner-CvggCl-H.es.js +0 -105
  969. package/dist/chunks/loading-spinner-CvggCl-H.es.js.map +0 -1
  970. package/dist/chunks/loading-spinner-DdYXuYkg.cjs.js +0 -2
  971. package/dist/chunks/loading-spinner-DdYXuYkg.cjs.js.map +0 -1
  972. package/dist/chunks/make-element-focusable-C4ZHUSEU.es.js +0 -22
  973. package/dist/chunks/make-element-focusable-C4ZHUSEU.es.js.map +0 -1
  974. package/dist/chunks/make-element-focusable-bPAMXt4D.cjs.js +0 -2
  975. package/dist/chunks/make-element-focusable-bPAMXt4D.cjs.js.map +0 -1
  976. package/dist/chunks/menu-8g9Hn1nm.es.js +0 -157
  977. package/dist/chunks/menu-8g9Hn1nm.es.js.map +0 -1
  978. package/dist/chunks/menu-Bm1u-R6o.cjs.js +0 -2
  979. package/dist/chunks/menu-Bm1u-R6o.cjs.js.map +0 -1
  980. package/dist/chunks/mergeProps-B_9syxhT.es.js +0 -130
  981. package/dist/chunks/mergeProps-B_9syxhT.es.js.map +0 -1
  982. package/dist/chunks/multiline-text-input-BGnvpB1r.es.js +0 -118
  983. package/dist/chunks/multiline-text-input-BGnvpB1r.es.js.map +0 -1
  984. package/dist/chunks/multiline-text-input-sXIlwrvT.cjs.js +0 -12
  985. package/dist/chunks/multiline-text-input-sXIlwrvT.cjs.js.map +0 -1
  986. package/dist/chunks/nimbus-provider-CybdU89B.es.js +0 -101
  987. package/dist/chunks/nimbus-provider-CybdU89B.es.js.map +0 -1
  988. package/dist/chunks/nimbus-provider-D3DvYEDv.cjs.js +0 -2
  989. package/dist/chunks/nimbus-provider-D3DvYEDv.cjs.js.map +0 -1
  990. package/dist/chunks/number-input-CPnA0dO-.cjs.js +0 -2
  991. package/dist/chunks/number-input-CPnA0dO-.cjs.js.map +0 -1
  992. package/dist/chunks/number-input-CzObpfFa.es.js +0 -657
  993. package/dist/chunks/number-input-CzObpfFa.es.js.map +0 -1
  994. package/dist/chunks/openLink-Ctl0AdAy.es.js +0 -105
  995. package/dist/chunks/openLink-Ctl0AdAy.es.js.map +0 -1
  996. package/dist/chunks/password-input-BqhrDjyW.cjs.js +0 -2
  997. package/dist/chunks/password-input-BqhrDjyW.cjs.js.map +0 -1
  998. package/dist/chunks/password-input-C_rdTND7.es.js +0 -50
  999. package/dist/chunks/password-input-C_rdTND7.es.js.map +0 -1
  1000. package/dist/chunks/progress-bar-CrS1rODC.cjs.js +0 -2
  1001. package/dist/chunks/progress-bar-CrS1rODC.cjs.js.map +0 -1
  1002. package/dist/chunks/progress-bar-pPWJ1Sn8.es.js +0 -77
  1003. package/dist/chunks/progress-bar-pPWJ1Sn8.es.js.map +0 -1
  1004. package/dist/chunks/radio-input-BTEXrXaF.cjs.js +0 -2
  1005. package/dist/chunks/radio-input-BTEXrXaF.cjs.js.map +0 -1
  1006. package/dist/chunks/radio-input-OpbQD2zP.es.js +0 -341
  1007. package/dist/chunks/radio-input-OpbQD2zP.es.js.map +0 -1
  1008. package/dist/chunks/range-calendar-BOP_J_5a.es.js +0 -186
  1009. package/dist/chunks/range-calendar-BOP_J_5a.es.js.map +0 -1
  1010. package/dist/chunks/range-calendar-CFotnBzs.cjs.js +0 -2
  1011. package/dist/chunks/range-calendar-CFotnBzs.cjs.js.map +0 -1
  1012. package/dist/chunks/rich-text-input-CItP9BzJ.cjs.js +0 -2
  1013. package/dist/chunks/rich-text-input-CItP9BzJ.cjs.js.map +0 -1
  1014. package/dist/chunks/rich-text-input-CgrxAPHc.es.js +0 -691
  1015. package/dist/chunks/rich-text-input-CgrxAPHc.es.js.map +0 -1
  1016. package/dist/chunks/scrollIntoView-BYF_8_6g.es.js +0 -94
  1017. package/dist/chunks/scrollIntoView-BYF_8_6g.es.js.map +0 -1
  1018. package/dist/chunks/scrollIntoView-BzIqpHLO.cjs.js +0 -2
  1019. package/dist/chunks/scrollIntoView-BzIqpHLO.cjs.js.map +0 -1
  1020. package/dist/chunks/select-CAeD_ZuZ.es.js +0 -558
  1021. package/dist/chunks/select-CAeD_ZuZ.es.js.map +0 -1
  1022. package/dist/chunks/select-Coyt1pJN.cjs.js +0 -2
  1023. package/dist/chunks/select-Coyt1pJN.cjs.js.map +0 -1
  1024. package/dist/chunks/slate-helpers-BN_9Hky2.cjs.js +0 -24
  1025. package/dist/chunks/slate-helpers-BN_9Hky2.cjs.js.map +0 -1
  1026. package/dist/chunks/slate-helpers-DunxggA8.es.js +0 -6919
  1027. package/dist/chunks/slate-helpers-DunxggA8.es.js.map +0 -1
  1028. package/dist/chunks/split-button-BYrr5vRr.cjs.js +0 -2
  1029. package/dist/chunks/split-button-BYrr5vRr.cjs.js.map +0 -1
  1030. package/dist/chunks/split-button-j2bgcP59.es.js +0 -103
  1031. package/dist/chunks/split-button-j2bgcP59.es.js.map +0 -1
  1032. package/dist/chunks/switch-BgNpbn2e.cjs.js +0 -2
  1033. package/dist/chunks/switch-BgNpbn2e.cjs.js.map +0 -1
  1034. package/dist/chunks/switch-Cid4U3m8.es.js +0 -79
  1035. package/dist/chunks/switch-Cid4U3m8.es.js.map +0 -1
  1036. package/dist/chunks/tag-group-B3YSTBpb.cjs.js +0 -2
  1037. package/dist/chunks/tag-group-B3YSTBpb.cjs.js.map +0 -1
  1038. package/dist/chunks/tag-group-CeNHz5QQ.es.js +0 -781
  1039. package/dist/chunks/tag-group-CeNHz5QQ.es.js.map +0 -1
  1040. package/dist/chunks/text-DfQpupDi.es.js +0 -24
  1041. package/dist/chunks/text-DfQpupDi.es.js.map +0 -1
  1042. package/dist/chunks/text-input-C2y4O13I.cjs.js +0 -2
  1043. package/dist/chunks/text-input-C2y4O13I.cjs.js.map +0 -1
  1044. package/dist/chunks/text-input-TZXg0lEQ.es.js +0 -18
  1045. package/dist/chunks/text-input-TZXg0lEQ.es.js.map +0 -1
  1046. package/dist/chunks/time-input-CI_HoOGU.es.js +0 -130
  1047. package/dist/chunks/time-input-CI_HoOGU.es.js.map +0 -1
  1048. package/dist/chunks/time-input-cHUvGWDc.cjs.js +0 -2
  1049. package/dist/chunks/time-input-cHUvGWDc.cjs.js.map +0 -1
  1050. package/dist/chunks/toggle-button-C9ezVsSp.cjs.js +0 -2
  1051. package/dist/chunks/toggle-button-C9ezVsSp.cjs.js.map +0 -1
  1052. package/dist/chunks/toggle-button-a0gCembi.es.js +0 -29
  1053. package/dist/chunks/toggle-button-a0gCembi.es.js.map +0 -1
  1054. package/dist/chunks/toggle-button-group-DX134q7m.cjs.js +0 -2
  1055. package/dist/chunks/toggle-button-group-DX134q7m.cjs.js.map +0 -1
  1056. package/dist/chunks/toggle-button-group-jRdpdYyd.es.js +0 -81
  1057. package/dist/chunks/toggle-button-group-jRdpdYyd.es.js.map +0 -1
  1058. package/dist/chunks/toolbar-CLGq6IO7.cjs.js +0 -2
  1059. package/dist/chunks/toolbar-CLGq6IO7.cjs.js.map +0 -1
  1060. package/dist/chunks/toolbar-hpBfKrTl.es.js +0 -59
  1061. package/dist/chunks/toolbar-hpBfKrTl.es.js.map +0 -1
  1062. package/dist/chunks/tooltip-B1YdruCE.es.js +0 -269
  1063. package/dist/chunks/tooltip-B1YdruCE.es.js.map +0 -1
  1064. package/dist/chunks/tooltip-g8-hEdZp.cjs.js +0 -2
  1065. package/dist/chunks/tooltip-g8-hEdZp.cjs.js.map +0 -1
  1066. package/dist/chunks/tooltip.recipe-Cqi_tgR5.es.js +0 -24
  1067. package/dist/chunks/tooltip.recipe-Cqi_tgR5.es.js.map +0 -1
  1068. package/dist/chunks/tooltip.recipe-dx7DAJbZ.cjs.js +0 -2
  1069. package/dist/chunks/tooltip.recipe-dx7DAJbZ.cjs.js.map +0 -1
  1070. package/dist/chunks/use-formatting-state-DVcnyVBl.cjs.js +0 -2
  1071. package/dist/chunks/use-formatting-state-DVcnyVBl.cjs.js.map +0 -1
  1072. package/dist/chunks/use-formatting-state-DdKYccZs.es.js +0 -247
  1073. package/dist/chunks/use-formatting-state-DdKYccZs.es.js.map +0 -1
  1074. package/dist/chunks/useButton-BgBfaV_L.cjs.js +0 -2
  1075. package/dist/chunks/useButton-BgBfaV_L.cjs.js.map +0 -1
  1076. package/dist/chunks/useButton-DAeSjgg9.es.js +0 -57
  1077. package/dist/chunks/useButton-DAeSjgg9.es.js.map +0 -1
  1078. package/dist/chunks/useDateFormatter-C7Kxzwro.es.js +0 -1601
  1079. package/dist/chunks/useDateFormatter-C7Kxzwro.es.js.map +0 -1
  1080. package/dist/chunks/useDateFormatter-CS19Cch2.cjs.js +0 -2
  1081. package/dist/chunks/useDateFormatter-CS19Cch2.cjs.js.map +0 -1
  1082. package/dist/chunks/useEvent-YHhqZvpU.es.js +0 -22
  1083. package/dist/chunks/useEvent-YHhqZvpU.es.js.map +0 -1
  1084. package/dist/chunks/useField-Ce9zQxmx.es.js +0 -36
  1085. package/dist/chunks/useField-Ce9zQxmx.es.js.map +0 -1
  1086. package/dist/chunks/useField-DmqO9k7a.cjs.js +0 -2
  1087. package/dist/chunks/useField-DmqO9k7a.cjs.js.map +0 -1
  1088. package/dist/chunks/useFocus-BtJ38vev.cjs.js +0 -2
  1089. package/dist/chunks/useFocus-BtJ38vev.cjs.js.map +0 -1
  1090. package/dist/chunks/useFocus-DkWJ2TJC.es.js +0 -29
  1091. package/dist/chunks/useFocus-DkWJ2TJC.es.js.map +0 -1
  1092. package/dist/chunks/useFocusRing-CzFer4bD.cjs.js +0 -2
  1093. package/dist/chunks/useFocusRing-CzFer4bD.cjs.js.map +0 -1
  1094. package/dist/chunks/useFocusRing-updnkDQg.es.js +0 -35
  1095. package/dist/chunks/useFocusRing-updnkDQg.es.js.map +0 -1
  1096. package/dist/chunks/useFocusVisible-CWDaG0ze.es.js +0 -111
  1097. package/dist/chunks/useFocusVisible-CWDaG0ze.es.js.map +0 -1
  1098. package/dist/chunks/useFocusVisible-Co0C61s7.cjs.js +0 -2
  1099. package/dist/chunks/useFocusVisible-Co0C61s7.cjs.js.map +0 -1
  1100. package/dist/chunks/useFocusWithin-BDSWp3rw.cjs.js +0 -2
  1101. package/dist/chunks/useFocusWithin-BDSWp3rw.cjs.js.map +0 -1
  1102. package/dist/chunks/useFocusWithin-ByYlHjju.es.js +0 -56
  1103. package/dist/chunks/useFocusWithin-ByYlHjju.es.js.map +0 -1
  1104. package/dist/chunks/useFocusable-CrsD8ZcF.es.js +0 -77
  1105. package/dist/chunks/useFocusable-CrsD8ZcF.es.js.map +0 -1
  1106. package/dist/chunks/useFocusable-DCgmQxS1.cjs.js +0 -2
  1107. package/dist/chunks/useFocusable-DCgmQxS1.cjs.js.map +0 -1
  1108. package/dist/chunks/useFormReset-DurgUJL-.es.js +0 -21
  1109. package/dist/chunks/useFormReset-DurgUJL-.es.js.map +0 -1
  1110. package/dist/chunks/useFormValidation-4hZ1_a6w.es.js +0 -202
  1111. package/dist/chunks/useFormValidation-4hZ1_a6w.es.js.map +0 -1
  1112. package/dist/chunks/useFormValidation-BEaCuNx1.cjs.js +0 -2
  1113. package/dist/chunks/useFormValidation-BEaCuNx1.cjs.js.map +0 -1
  1114. package/dist/chunks/useHighlightSelectionDescription-BQg1WcM3.es.js +0 -598
  1115. package/dist/chunks/useHighlightSelectionDescription-BQg1WcM3.es.js.map +0 -1
  1116. package/dist/chunks/useHighlightSelectionDescription-CpDw-Mgj.cjs.js +0 -2
  1117. package/dist/chunks/useHighlightSelectionDescription-CpDw-Mgj.cjs.js.map +0 -1
  1118. package/dist/chunks/useHover-CiP9jMFy.cjs.js +0 -2
  1119. package/dist/chunks/useHover-CiP9jMFy.cjs.js.map +0 -1
  1120. package/dist/chunks/useHover-DhoE75lX.es.js +0 -86
  1121. package/dist/chunks/useHover-DhoE75lX.es.js.map +0 -1
  1122. package/dist/chunks/useLabel-BBmkkrPP.es.js +0 -37
  1123. package/dist/chunks/useLabel-BBmkkrPP.es.js.map +0 -1
  1124. package/dist/chunks/useLabel-Y8tWagLu.cjs.js +0 -2
  1125. package/dist/chunks/useLabel-Y8tWagLu.cjs.js.map +0 -1
  1126. package/dist/chunks/usePress-C8-hLXJw.cjs.js +0 -8
  1127. package/dist/chunks/usePress-C8-hLXJw.cjs.js.map +0 -1
  1128. package/dist/chunks/usePress-DHhWHfMz.es.js +0 -456
  1129. package/dist/chunks/usePress-DHhWHfMz.es.js.map +0 -1
  1130. package/dist/chunks/useProgressBar-DHFmTHqL.es.js +0 -48
  1131. package/dist/chunks/useProgressBar-DHFmTHqL.es.js.map +0 -1
  1132. package/dist/chunks/useProgressBar-DWH4I0qR.cjs.js +0 -2
  1133. package/dist/chunks/useProgressBar-DWH4I0qR.cjs.js.map +0 -1
  1134. package/dist/chunks/useSeparator-B-OtWwE7.cjs.js +0 -2
  1135. package/dist/chunks/useSeparator-B-OtWwE7.cjs.js.map +0 -1
  1136. package/dist/chunks/useSeparator-Dg70ACBm.es.js +0 -19
  1137. package/dist/chunks/useSeparator-Dg70ACBm.es.js.map +0 -1
  1138. package/dist/chunks/useSingleSelectListState-D1rjgMv_.es.js +0 -35
  1139. package/dist/chunks/useSingleSelectListState-D1rjgMv_.es.js.map +0 -1
  1140. package/dist/chunks/useSingleSelectListState-F2WkLZRg.cjs.js +0 -2
  1141. package/dist/chunks/useSingleSelectListState-F2WkLZRg.cjs.js.map +0 -1
  1142. package/dist/chunks/useSpinButton-C9DPDo0r.es.js +0 -433
  1143. package/dist/chunks/useSpinButton-C9DPDo0r.es.js.map +0 -1
  1144. package/dist/chunks/useSyncRef-DGRbdR4H.es.js +0 -13
  1145. package/dist/chunks/useSyncRef-DGRbdR4H.es.js.map +0 -1
  1146. package/dist/chunks/useTextField-BcthGRd8.cjs.js +0 -2
  1147. package/dist/chunks/useTextField-BcthGRd8.cjs.js.map +0 -1
  1148. package/dist/chunks/useTextField-BnL6tOdd.es.js +0 -91
  1149. package/dist/chunks/useTextField-BnL6tOdd.es.js.map +0 -1
  1150. package/dist/chunks/useToggle-DqruaaTq.es.js +0 -62
  1151. package/dist/chunks/useToggle-DqruaaTq.es.js.map +0 -1
  1152. package/dist/chunks/useToggle-VJWgbeCC.cjs.js +0 -2
  1153. package/dist/chunks/useToggle-VJWgbeCC.cjs.js.map +0 -1
  1154. package/dist/chunks/useToolbar-Bqn3EANT.cjs.js +0 -2
  1155. package/dist/chunks/useToolbar-Bqn3EANT.cjs.js.map +0 -1
  1156. package/dist/chunks/useToolbar-CLH6Sjes.es.js +0 -55
  1157. package/dist/chunks/useToolbar-CLH6Sjes.es.js.map +0 -1
  1158. package/dist/chunks/utils-BGHwK7fd.cjs.js +0 -2
  1159. package/dist/chunks/utils-BGHwK7fd.cjs.js.map +0 -1
  1160. package/dist/chunks/utils-BkdW_cdL.es.js +0 -128
  1161. package/dist/chunks/utils-BkdW_cdL.es.js.map +0 -1
  1162. package/dist/chunks/utils-jpfA6kxk.es.js +0 -188
  1163. package/dist/chunks/utils-jpfA6kxk.es.js.map +0 -1
  1164. package/dist/chunks/visually-hidden-Bh-G5QHv.cjs.js +0 -2
  1165. package/dist/chunks/visually-hidden-Bh-G5QHv.cjs.js.map +0 -1
  1166. package/dist/chunks/visually-hidden-BluyWhUI.es.js +0 -11
  1167. package/dist/chunks/visually-hidden-BluyWhUI.es.js.map +0 -1
  1168. package/dist/components/divider.cjs +0 -2
  1169. package/dist/components/divider.cjs.map +0 -1
  1170. package/dist/components/divider.es.js +0 -5
  1171. package/dist/components/divider.es.js.map +0 -1
  1172. package/dist/divider.d.ts +0 -90
@@ -0,0 +1,3585 @@
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-CrgZzRm9.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-2q7N4psD.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-Bxb2-xLP.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 { a as rn } from "./openLink-DT8XzqFh.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-D-k0fIME.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 "./extractStyleProps-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-Bm4Yqa_0.es.js";
46
+ import { b as ht } from "./tooltip-sgakxhiy.es.js";
47
+ import { I as $n } from "./icon-button-9Ni8-hO7.es.js";
48
+ import { Flex as xn } from "@chakra-ui/react/flex";
49
+ import { S as Dn } from "./separator-DJGUFG-o.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-DC369pb3.es.js.map