@commercetools/nimbus 0.0.11 → 1.0.0

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