@commercetools/nimbus 0.0.0-canary-20260127191515 → 0.0.0-canary-20260128095531

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 (1173) hide show
  1. package/dist/chunks/Button-C92vyQPT.cjs.js +2 -0
  2. package/dist/chunks/Button-C92vyQPT.cjs.js.map +1 -0
  3. package/dist/chunks/Button-C9AKe3Kt.es.js +79 -0
  4. package/dist/chunks/Button-C9AKe3Kt.es.js.map +1 -0
  5. package/dist/chunks/CollectionBuilder-CCexRz-1.cjs.js +2 -0
  6. package/dist/chunks/CollectionBuilder-CCexRz-1.cjs.js.map +1 -0
  7. package/dist/chunks/CollectionBuilder-CTjJUDzO.es.js +661 -0
  8. package/dist/chunks/CollectionBuilder-CTjJUDzO.es.js.map +1 -0
  9. package/dist/chunks/DateField-Cr3wqfe3.cjs.js +2 -0
  10. package/dist/chunks/DateField-Cr3wqfe3.cjs.js.map +1 -0
  11. package/dist/chunks/DateField-Q8JgjnI7.es.js +2724 -0
  12. package/dist/chunks/DateField-Q8JgjnI7.es.js.map +1 -0
  13. package/dist/chunks/DatePicker-DsDslmBT.cjs.js +2 -0
  14. package/dist/chunks/DatePicker-DsDslmBT.cjs.js.map +1 -0
  15. package/dist/chunks/DatePicker-Q7fh8tyb.es.js +786 -0
  16. package/dist/chunks/DatePicker-Q7fh8tyb.es.js.map +1 -0
  17. package/dist/chunks/Dialog-7Yf08giu.es.js +1955 -0
  18. package/dist/chunks/Dialog-7Yf08giu.es.js.map +1 -0
  19. package/dist/chunks/Dialog-B64GoQlm.cjs.js +7 -0
  20. package/dist/chunks/Dialog-B64GoQlm.cjs.js.map +1 -0
  21. package/dist/chunks/FieldError-CXcEMuBf.es.js.map +1 -1
  22. package/dist/chunks/FieldError-DyGFfqST.cjs.js.map +1 -1
  23. package/dist/chunks/FocusScope-DI1zU4s2.es.js +625 -0
  24. package/dist/chunks/FocusScope-DI1zU4s2.es.js.map +1 -0
  25. package/dist/chunks/FocusScope-DpnOCGtt.cjs.js +2 -0
  26. package/dist/chunks/FocusScope-DpnOCGtt.cjs.js.map +1 -0
  27. package/dist/chunks/Form-BuOomA4T.cjs.js.map +1 -1
  28. package/dist/chunks/Form-CXcEMuBf.es.js.map +1 -1
  29. package/dist/chunks/Group-AZdS7wQM.cjs.js +2 -0
  30. package/dist/chunks/Group-AZdS7wQM.cjs.js.map +1 -0
  31. package/dist/chunks/Group-GVlDKuLP.es.js +47 -0
  32. package/dist/chunks/Group-GVlDKuLP.es.js.map +1 -0
  33. package/dist/chunks/Header-BQ99pNEi.es.js +213 -0
  34. package/dist/chunks/Header-BQ99pNEi.es.js.map +1 -0
  35. package/dist/chunks/Header-M4pnGsRC.cjs.js +2 -0
  36. package/dist/chunks/Header-M4pnGsRC.cjs.js.map +1 -0
  37. package/dist/chunks/Heading-C0SIgP_B.es.js +1619 -0
  38. package/dist/chunks/Heading-C0SIgP_B.es.js.map +1 -0
  39. package/dist/chunks/Heading-DZs_EBvf.cjs.js +2 -0
  40. package/dist/chunks/Heading-DZs_EBvf.cjs.js.map +1 -0
  41. package/dist/chunks/Hidden-CNJIJ63M.cjs.js.map +1 -1
  42. package/dist/chunks/Hidden-X9vuhkMZ.es.js.map +1 -1
  43. package/dist/chunks/Input-CXkgRPwc.es.js +46 -0
  44. package/dist/chunks/Input-CXkgRPwc.es.js.map +1 -0
  45. package/dist/chunks/Input-vwFPIv-x.cjs.js +2 -0
  46. package/dist/chunks/Input-vwFPIv-x.cjs.js.map +1 -0
  47. package/dist/chunks/Keyboard-Clnp4zAC.es.js.map +1 -1
  48. package/dist/chunks/Keyboard-rYf2KxZN.cjs.js.map +1 -1
  49. package/dist/chunks/Label-BPLFvUwR.es.js +17 -0
  50. package/dist/chunks/Label-BPLFvUwR.es.js.map +1 -0
  51. package/dist/chunks/Label-DFDSAYVj.cjs.js +2 -0
  52. package/dist/chunks/Label-DFDSAYVj.cjs.js.map +1 -0
  53. package/dist/chunks/ListBox-Bp_3E18l.es.js +560 -0
  54. package/dist/chunks/ListBox-Bp_3E18l.es.js.map +1 -0
  55. package/dist/chunks/ListBox-LchlmcOY.cjs.js +2 -0
  56. package/dist/chunks/ListBox-LchlmcOY.cjs.js.map +1 -0
  57. package/dist/chunks/Modal-DCxn1MEV.es.js +198 -0
  58. package/dist/chunks/Modal-DCxn1MEV.es.js.map +1 -0
  59. package/dist/chunks/Modal-vGTvonTS.cjs.js +2 -0
  60. package/dist/chunks/Modal-vGTvonTS.cjs.js.map +1 -0
  61. package/dist/chunks/OverlayArrow-4FCEkZq-.cjs.js +2 -0
  62. package/dist/chunks/OverlayArrow-4FCEkZq-.cjs.js.map +1 -0
  63. package/dist/chunks/OverlayArrow-DQTbb80n.es.js +442 -0
  64. package/dist/chunks/OverlayArrow-DQTbb80n.es.js.map +1 -0
  65. package/dist/chunks/ProgressBar-DByVsgd2.es.js +42 -0
  66. package/dist/chunks/ProgressBar-DByVsgd2.es.js.map +1 -0
  67. package/dist/chunks/ProgressBar-h-7epPQV.cjs.js +2 -0
  68. package/dist/chunks/ProgressBar-h-7epPQV.cjs.js.map +1 -0
  69. package/dist/chunks/RSPContexts-BdKenzIN.cjs.js.map +1 -1
  70. package/dist/chunks/RSPContexts-DLgb84PF.es.js.map +1 -1
  71. package/dist/chunks/SSRProvider-CQ9PmFV6.es.js +51 -0
  72. package/dist/chunks/SSRProvider-CQ9PmFV6.es.js.map +1 -0
  73. package/dist/chunks/SelectionIndicator-B27AsfqE.es.js.map +1 -1
  74. package/dist/chunks/SelectionIndicator-Du7-bvy3.cjs.js.map +1 -1
  75. package/dist/chunks/SelectionManager-Bf1F6kPb.cjs.js +2 -0
  76. package/dist/chunks/SelectionManager-Bf1F6kPb.cjs.js.map +1 -0
  77. package/dist/chunks/SelectionManager-GNsyMc-q.es.js +1116 -0
  78. package/dist/chunks/SelectionManager-GNsyMc-q.es.js.map +1 -0
  79. package/dist/chunks/Separator-CEB8otkU.cjs.js +2 -0
  80. package/dist/chunks/Separator-CEB8otkU.cjs.js.map +1 -0
  81. package/dist/chunks/Separator-DFaT-SpI.es.js +55 -0
  82. package/dist/chunks/Separator-DFaT-SpI.es.js.map +1 -0
  83. package/dist/chunks/Text-BWSfeB9p.cjs.js.map +1 -1
  84. package/dist/chunks/Text-DOcU1ycg.es.js.map +1 -1
  85. package/dist/chunks/ToggleButton-BwI1d60i.es.js +151 -0
  86. package/dist/chunks/ToggleButton-BwI1d60i.es.js.map +1 -0
  87. package/dist/chunks/ToggleButton-D3aar_By.cjs.js +2 -0
  88. package/dist/chunks/ToggleButton-D3aar_By.cjs.js.map +1 -0
  89. package/dist/chunks/VisuallyHidden-BW_C1pFq.es.js +41 -0
  90. package/dist/chunks/VisuallyHidden-BW_C1pFq.es.js.map +1 -0
  91. package/dist/chunks/VisuallyHidden-D5wm1M6h.cjs.js +2 -0
  92. package/dist/chunks/VisuallyHidden-D5wm1M6h.cjs.js.map +1 -0
  93. package/dist/chunks/accordion-CUlzIabw.cjs.js +2 -0
  94. package/dist/chunks/accordion-CUlzIabw.cjs.js.map +1 -0
  95. package/dist/chunks/accordion-CrdDOs7w.es.js +84 -0
  96. package/dist/chunks/accordion-CrdDOs7w.es.js.map +1 -0
  97. package/dist/chunks/accordion.content-C-odl89P.es.js +228 -0
  98. package/dist/chunks/accordion.content-C-odl89P.es.js.map +1 -0
  99. package/dist/chunks/accordion.content-DUXvouz7.cjs.js +2 -0
  100. package/dist/chunks/accordion.content-DUXvouz7.cjs.js.map +1 -0
  101. package/dist/chunks/alert-B41td1qk.cjs.js +2 -0
  102. package/dist/chunks/alert-B41td1qk.cjs.js.map +1 -0
  103. package/dist/chunks/alert-C6MWVfiR.es.js +158 -0
  104. package/dist/chunks/alert-C6MWVfiR.es.js.map +1 -0
  105. package/dist/chunks/animation-BfmkkMe7.es.js +62 -0
  106. package/dist/chunks/animation-BfmkkMe7.es.js.map +1 -0
  107. package/dist/chunks/animation-CUKRNx9n.cjs.js +2 -0
  108. package/dist/chunks/animation-CUKRNx9n.cjs.js.map +1 -0
  109. package/dist/chunks/avatar-0cAhGZlK.cjs.js +2 -0
  110. package/dist/chunks/avatar-0cAhGZlK.cjs.js.map +1 -0
  111. package/dist/chunks/avatar-D6c_lDFg.es.js +59 -0
  112. package/dist/chunks/avatar-D6c_lDFg.es.js.map +1 -0
  113. package/dist/chunks/badge-B5U4QHPl.cjs.js +2 -0
  114. package/dist/chunks/badge-B5U4QHPl.cjs.js.map +1 -0
  115. package/dist/chunks/badge-CFmx2bHC.es.js +17 -0
  116. package/dist/chunks/badge-CFmx2bHC.es.js.map +1 -0
  117. package/dist/chunks/button-CdFpsSj-.cjs.js +2 -0
  118. package/dist/chunks/button-CdFpsSj-.cjs.js.map +1 -0
  119. package/dist/chunks/button-CqHIGpN1.es.js +82 -0
  120. package/dist/chunks/button-CqHIGpN1.es.js.map +1 -0
  121. package/dist/chunks/calendar-DOlM18nQ.cjs.js +2 -0
  122. package/dist/chunks/calendar-DOlM18nQ.cjs.js.map +1 -0
  123. package/dist/chunks/calendar-DR2wWI2U.es.js +227 -0
  124. package/dist/chunks/calendar-DR2wWI2U.es.js.map +1 -0
  125. package/dist/chunks/card-DwEqSPsr.es.js +115 -0
  126. package/dist/chunks/card-DwEqSPsr.es.js.map +1 -0
  127. package/dist/chunks/checkbox-BUxiJPh3.es.js +221 -0
  128. package/dist/chunks/checkbox-BUxiJPh3.es.js.map +1 -0
  129. package/dist/chunks/checkbox-Bue8n-rU.cjs.js +2 -0
  130. package/dist/chunks/checkbox-Bue8n-rU.cjs.js.map +1 -0
  131. package/dist/chunks/collapsible-motion-Cw8rARRb.cjs.js +2 -0
  132. package/dist/chunks/collapsible-motion-Cw8rARRb.cjs.js.map +1 -0
  133. package/dist/chunks/collapsible-motion-DvCdOWiI.es.js +126 -0
  134. package/dist/chunks/collapsible-motion-DvCdOWiI.es.js.map +1 -0
  135. package/dist/chunks/combobox-BrWAptAY.cjs.js +2 -0
  136. package/dist/chunks/combobox-BrWAptAY.cjs.js.map +1 -0
  137. package/dist/chunks/combobox-DkD0oi27.es.js +1560 -0
  138. package/dist/chunks/combobox-DkD0oi27.es.js.map +1 -0
  139. package/dist/chunks/context-BfHy4NgG.es.js +108 -0
  140. package/dist/chunks/context-BfHy4NgG.es.js.map +1 -0
  141. package/dist/chunks/context-XwB7Jud0.cjs.js +2 -0
  142. package/dist/chunks/context-XwB7Jud0.cjs.js.map +1 -0
  143. package/dist/chunks/data-table-BNm2gb84.cjs.js +2 -0
  144. package/dist/chunks/data-table-BNm2gb84.cjs.js.map +1 -0
  145. package/dist/chunks/data-table-CKhJ_ujL.es.js +4546 -0
  146. package/dist/chunks/data-table-CKhJ_ujL.es.js.map +1 -0
  147. package/dist/chunks/date-input-BIVro-bn.cjs.js +2 -0
  148. package/dist/chunks/date-input-BIVro-bn.cjs.js.map +1 -0
  149. package/dist/chunks/date-input-CG5JhV_e.es.js +21 -0
  150. package/dist/chunks/date-input-CG5JhV_e.es.js.map +1 -0
  151. package/dist/chunks/date-picker-CqH_x6bQ.cjs.js +2 -0
  152. package/dist/chunks/date-picker-CqH_x6bQ.cjs.js.map +1 -0
  153. package/dist/chunks/date-picker-D3OG8ykn.es.js +228 -0
  154. package/dist/chunks/date-picker-D3OG8ykn.es.js.map +1 -0
  155. package/dist/chunks/date-range-picker-HxxBpCF7.cjs.js +2 -0
  156. package/dist/chunks/date-range-picker-HxxBpCF7.cjs.js.map +1 -0
  157. package/dist/chunks/date-range-picker-N4f-R6h-.es.js +364 -0
  158. package/dist/chunks/date-range-picker-N4f-R6h-.es.js.map +1 -0
  159. package/dist/chunks/date-range-picker-field-DK7zZrdf.es.js +61 -0
  160. package/dist/chunks/date-range-picker-field-DK7zZrdf.es.js.map +1 -0
  161. package/dist/chunks/date-range-picker-field-Dq5ttq9A.cjs.js +2 -0
  162. package/dist/chunks/date-range-picker-field-Dq5ttq9A.cjs.js.map +1 -0
  163. package/dist/chunks/dialog-4vovg4iN.cjs.js +2 -0
  164. package/dist/chunks/dialog-4vovg4iN.cjs.js.map +1 -0
  165. package/dist/chunks/dialog-BSpZJK5u.es.js +305 -0
  166. package/dist/chunks/dialog-BSpZJK5u.es.js.map +1 -0
  167. package/dist/chunks/draggable-list-BqtOeGMi.cjs.js +3 -0
  168. package/dist/chunks/draggable-list-BqtOeGMi.cjs.js.map +1 -0
  169. package/dist/chunks/draggable-list-C02rW85A.es.js +4108 -0
  170. package/dist/chunks/draggable-list-C02rW85A.es.js.map +1 -0
  171. package/dist/chunks/drawer-6ahSpyMw.cjs.js +2 -0
  172. package/dist/chunks/drawer-6ahSpyMw.cjs.js.map +1 -0
  173. package/dist/chunks/drawer-CsrMI_eY.es.js +320 -0
  174. package/dist/chunks/drawer-CsrMI_eY.es.js.map +1 -0
  175. package/dist/chunks/field-errors-B14XLbGD.es.js +219 -0
  176. package/dist/chunks/field-errors-B14XLbGD.es.js.map +1 -0
  177. package/dist/chunks/field-errors-DeLjj4JX.cjs.js +2 -0
  178. package/dist/chunks/field-errors-DeLjj4JX.cjs.js.map +1 -0
  179. package/dist/chunks/filterDOMProps-AbzzCIX-.cjs.js +2 -0
  180. package/dist/chunks/filterDOMProps-AbzzCIX-.cjs.js.map +1 -0
  181. package/dist/chunks/filterDOMProps-Cxz9cAAv.es.js +66 -0
  182. package/dist/chunks/filterDOMProps-Cxz9cAAv.es.js.map +1 -0
  183. package/dist/chunks/focusSafely-hLKtxoJI.es.js +28 -0
  184. package/dist/chunks/focusSafely-hLKtxoJI.es.js.map +1 -0
  185. package/dist/chunks/focusSafely-k5Q6M5_H.cjs.js +2 -0
  186. package/dist/chunks/focusSafely-k5Q6M5_H.cjs.js.map +1 -0
  187. package/dist/chunks/focusWithoutScrolling-BlyUcXdY.cjs.js.map +1 -1
  188. package/dist/chunks/focusWithoutScrolling-CDw3JYiq.es.js.map +1 -1
  189. package/dist/chunks/form-field-CmsZqZCC.cjs.js +2 -0
  190. package/dist/chunks/form-field-CmsZqZCC.cjs.js.map +1 -0
  191. package/dist/chunks/form-field-HhPHeDPT.es.js +358 -0
  192. package/dist/chunks/form-field-HhPHeDPT.es.js.map +1 -0
  193. package/dist/chunks/getScrollParent-Cm940pbO.cjs.js +2 -0
  194. package/dist/chunks/getScrollParent-Cm940pbO.cjs.js.map +1 -0
  195. package/dist/chunks/getScrollParent-vifdmp1X.es.js +10 -0
  196. package/dist/chunks/getScrollParent-vifdmp1X.es.js.map +1 -0
  197. package/dist/chunks/group-BPdGAGf3.cjs.js +2 -0
  198. package/dist/chunks/group-BPdGAGf3.cjs.js.map +1 -0
  199. package/dist/chunks/group-CHrFR97R.es.js +13 -0
  200. package/dist/chunks/group-CHrFR97R.es.js.map +1 -0
  201. package/dist/chunks/heading-D7xCezAz.cjs.js +2 -0
  202. package/dist/chunks/heading-D7xCezAz.cjs.js.map +1 -0
  203. package/dist/chunks/heading-yS6Ghl2_.es.js +25 -0
  204. package/dist/chunks/heading-yS6Ghl2_.es.js.map +1 -0
  205. package/dist/chunks/icon-button-QUJAfreK.cjs.js +2 -0
  206. package/dist/chunks/icon-button-QUJAfreK.cjs.js.map +1 -0
  207. package/dist/chunks/icon-button-YqGrVmHT.es.js +28 -0
  208. package/dist/chunks/icon-button-YqGrVmHT.es.js.map +1 -0
  209. package/dist/chunks/icon-toggle-button-ChCUEQBF.cjs.js +2 -0
  210. package/dist/chunks/icon-toggle-button-ChCUEQBF.cjs.js.map +1 -0
  211. package/dist/chunks/icon-toggle-button-e9nPBYbQ.es.js +13 -0
  212. package/dist/chunks/icon-toggle-button-e9nPBYbQ.es.js.map +1 -0
  213. package/dist/chunks/intlStrings-Cd44R5hT.es.js.map +1 -1
  214. package/dist/chunks/intlStrings-ClBuC6xN.cjs.js.map +1 -1
  215. package/dist/chunks/kbd-rJRhKzZV.cjs.js +2 -0
  216. package/dist/chunks/kbd-rJRhKzZV.cjs.js.map +1 -0
  217. package/dist/chunks/kbd-wO4LqwW4.es.js +15 -0
  218. package/dist/chunks/kbd-wO4LqwW4.es.js.map +1 -0
  219. package/dist/chunks/link-CDuQ72lj.es.js +48 -0
  220. package/dist/chunks/link-CDuQ72lj.es.js.map +1 -0
  221. package/dist/chunks/link-D5SIBVys.cjs.js +2 -0
  222. package/dist/chunks/link-D5SIBVys.cjs.js.map +1 -0
  223. package/dist/chunks/list-3Q6XtZi9.es.js +13 -0
  224. package/dist/chunks/list-3Q6XtZi9.es.js.map +1 -0
  225. package/dist/chunks/loading-spinner-BUfn_hwj.cjs.js +2 -0
  226. package/dist/chunks/loading-spinner-BUfn_hwj.cjs.js.map +1 -0
  227. package/dist/chunks/loading-spinner-DkGtg8wA.es.js +53 -0
  228. package/dist/chunks/loading-spinner-DkGtg8wA.es.js.map +1 -0
  229. package/dist/chunks/localized-field-DqoDy9mF.es.js +483 -0
  230. package/dist/chunks/localized-field-DqoDy9mF.es.js.map +1 -0
  231. package/dist/chunks/localized-field-YyHu-4K5.cjs.js +2 -0
  232. package/dist/chunks/localized-field-YyHu-4K5.cjs.js.map +1 -0
  233. package/dist/chunks/make-element-focusable-CyFmgkXE.cjs.js +2 -0
  234. package/dist/chunks/make-element-focusable-CyFmgkXE.cjs.js.map +1 -0
  235. package/dist/chunks/make-element-focusable-DPGCjzPa.es.js +25 -0
  236. package/dist/chunks/make-element-focusable-DPGCjzPa.es.js.map +1 -0
  237. package/dist/chunks/menu-DRifnTIz.es.js +256 -0
  238. package/dist/chunks/menu-DRifnTIz.es.js.map +1 -0
  239. package/dist/chunks/menu-muBvHzjB.cjs.js +2 -0
  240. package/dist/chunks/menu-muBvHzjB.cjs.js.map +1 -0
  241. package/dist/chunks/mergeProps-B-cqsBhL.es.js +118 -0
  242. package/dist/chunks/mergeProps-B-cqsBhL.es.js.map +1 -0
  243. package/dist/chunks/mergeProps-DD8aR8go.cjs.js +2 -0
  244. package/dist/chunks/mergeProps-DD8aR8go.cjs.js.map +1 -0
  245. package/dist/chunks/money-input-CdagGBgL.es.js +535 -0
  246. package/dist/chunks/money-input-CdagGBgL.es.js.map +1 -0
  247. package/dist/chunks/money-input-CgkEf36_.cjs.js +2 -0
  248. package/dist/chunks/money-input-CgkEf36_.cjs.js.map +1 -0
  249. package/dist/chunks/money-input-field-oLUXcmFp.cjs.js +2 -0
  250. package/dist/chunks/money-input-field-oLUXcmFp.cjs.js.map +1 -0
  251. package/dist/chunks/money-input-field-pecAAUIq.es.js +51 -0
  252. package/dist/chunks/money-input-field-pecAAUIq.es.js.map +1 -0
  253. package/dist/chunks/multiline-text-input-DaZ5tEt_.es.js +98 -0
  254. package/dist/chunks/multiline-text-input-DaZ5tEt_.es.js.map +1 -0
  255. package/dist/chunks/multiline-text-input-field-C5-D25aC.cjs.js +2 -0
  256. package/dist/chunks/multiline-text-input-field-C5-D25aC.cjs.js.map +1 -0
  257. package/dist/chunks/multiline-text-input-field-CY510DEC.es.js +56 -0
  258. package/dist/chunks/multiline-text-input-field-CY510DEC.es.js.map +1 -0
  259. package/dist/chunks/multiline-text-input-qQ2ne7nM.cjs.js +2 -0
  260. package/dist/chunks/multiline-text-input-qQ2ne7nM.cjs.js.map +1 -0
  261. package/dist/chunks/nimbus-i18n-provider-BPK9twpQ.cjs.js +2 -0
  262. package/dist/chunks/nimbus-i18n-provider-BPK9twpQ.cjs.js.map +1 -0
  263. package/dist/chunks/nimbus-i18n-provider-C-ceyXCZ.es.js +11 -0
  264. package/dist/chunks/nimbus-i18n-provider-C-ceyXCZ.es.js.map +1 -0
  265. package/dist/chunks/nimbus-provider-Bg3mNePx.cjs.js +2 -0
  266. package/dist/chunks/nimbus-provider-Bg3mNePx.cjs.js.map +1 -0
  267. package/dist/chunks/nimbus-provider-sH4SeEmY.es.js +101 -0
  268. package/dist/chunks/nimbus-provider-sH4SeEmY.es.js.map +1 -0
  269. package/dist/chunks/normalize-messages-BN9BAFXe.es.js +52 -0
  270. package/dist/chunks/normalize-messages-BN9BAFXe.es.js.map +1 -0
  271. package/dist/chunks/normalize-messages-DtVffO09.cjs.js +2 -0
  272. package/dist/chunks/normalize-messages-DtVffO09.cjs.js.map +1 -0
  273. package/dist/chunks/number-DHvo-MDe.cjs.js.map +1 -1
  274. package/dist/chunks/number-dMxJejI6.es.js.map +1 -1
  275. package/dist/chunks/number-input-CKYYjTgr.cjs.js +2 -0
  276. package/dist/chunks/number-input-CKYYjTgr.cjs.js.map +1 -0
  277. package/dist/chunks/number-input-DDLr06AY.es.js +686 -0
  278. package/dist/chunks/number-input-DDLr06AY.es.js.map +1 -0
  279. package/dist/chunks/number-input-field-CAq6YnY7.es.js +51 -0
  280. package/dist/chunks/number-input-field-CAq6YnY7.es.js.map +1 -0
  281. package/dist/chunks/number-input-field-CwyQ0Ej4.cjs.js +2 -0
  282. package/dist/chunks/number-input-field-CwyQ0Ej4.cjs.js.map +1 -0
  283. package/dist/chunks/openLink-CkDzR4gQ.cjs.js +2 -0
  284. package/dist/chunks/openLink-CkDzR4gQ.cjs.js.map +1 -0
  285. package/dist/chunks/openLink-m90p5mer.es.js +147 -0
  286. package/dist/chunks/openLink-m90p5mer.es.js.map +1 -0
  287. package/dist/chunks/pagination-C2bJy7CU.cjs.js +2 -0
  288. package/dist/chunks/pagination-C2bJy7CU.cjs.js.map +1 -0
  289. package/dist/chunks/pagination-DyQIXkSk.es.js +226 -0
  290. package/dist/chunks/pagination-DyQIXkSk.es.js.map +1 -0
  291. package/dist/chunks/password-input-BtTzjLPe.cjs.js +2 -0
  292. package/dist/chunks/password-input-BtTzjLPe.cjs.js.map +1 -0
  293. package/dist/chunks/password-input-C3Swd1-9.es.js +47 -0
  294. package/dist/chunks/password-input-C3Swd1-9.es.js.map +1 -0
  295. package/dist/chunks/password-input-field-B8MAcBby.cjs.js +2 -0
  296. package/dist/chunks/password-input-field-B8MAcBby.cjs.js.map +1 -0
  297. package/dist/chunks/password-input-field-BpB5HqzJ.es.js +56 -0
  298. package/dist/chunks/password-input-field-BpB5HqzJ.es.js.map +1 -0
  299. package/dist/chunks/popover-D1VNOIaW.cjs.js +2 -0
  300. package/dist/chunks/popover-D1VNOIaW.cjs.js.map +1 -0
  301. package/dist/chunks/popover-pai6Owvl.es.js +11 -0
  302. package/dist/chunks/popover-pai6Owvl.es.js.map +1 -0
  303. package/dist/chunks/progress-bar-Cdpzcc4G.es.js +76 -0
  304. package/dist/chunks/progress-bar-Cdpzcc4G.es.js.map +1 -0
  305. package/dist/chunks/progress-bar-ClHpJHga.cjs.js +2 -0
  306. package/dist/chunks/progress-bar-ClHpJHga.cjs.js.map +1 -0
  307. package/dist/chunks/radio-input-D81qID3A.cjs.js +2 -0
  308. package/dist/chunks/radio-input-D81qID3A.cjs.js.map +1 -0
  309. package/dist/chunks/radio-input-f1D7qXmL.es.js +376 -0
  310. package/dist/chunks/radio-input-f1D7qXmL.es.js.map +1 -0
  311. package/dist/chunks/range-calendar-B7Oo10YE.cjs.js +2 -0
  312. package/dist/chunks/range-calendar-B7Oo10YE.cjs.js.map +1 -0
  313. package/dist/chunks/range-calendar-DTuHMEF-.es.js +229 -0
  314. package/dist/chunks/range-calendar-DTuHMEF-.es.js.map +1 -0
  315. package/dist/chunks/rich-text-input-C3kj1lEs.cjs.js +4 -0
  316. package/dist/chunks/rich-text-input-C3kj1lEs.cjs.js.map +1 -0
  317. package/dist/chunks/rich-text-input-DXezy1_w.es.js +1200 -0
  318. package/dist/chunks/rich-text-input-DXezy1_w.es.js.map +1 -0
  319. package/dist/chunks/scoped-search-input-Cox67rU_.es.js +151 -0
  320. package/dist/chunks/scoped-search-input-Cox67rU_.es.js.map +1 -0
  321. package/dist/chunks/scoped-search-input-D4XGW3-v.cjs.js +2 -0
  322. package/dist/chunks/scoped-search-input-D4XGW3-v.cjs.js.map +1 -0
  323. package/dist/chunks/scrollIntoView-BYkRO16_.cjs.js +2 -0
  324. package/dist/chunks/scrollIntoView-BYkRO16_.cjs.js.map +1 -0
  325. package/dist/chunks/scrollIntoView-Btu7DgIo.es.js +89 -0
  326. package/dist/chunks/scrollIntoView-Btu7DgIo.es.js.map +1 -0
  327. package/dist/chunks/search-input-C271M-oS.cjs.js +2 -0
  328. package/dist/chunks/search-input-C271M-oS.cjs.js.map +1 -0
  329. package/dist/chunks/search-input-field-DpMIfQjy.cjs.js +2 -0
  330. package/dist/chunks/search-input-field-DpMIfQjy.cjs.js.map +1 -0
  331. package/dist/chunks/search-input-field-puEVVj8z.es.js +51 -0
  332. package/dist/chunks/search-input-field-puEVVj8z.es.js.map +1 -0
  333. package/dist/chunks/search-input-s4WDQ4Fd.es.js +368 -0
  334. package/dist/chunks/search-input-s4WDQ4Fd.es.js.map +1 -0
  335. package/dist/chunks/select-BdNQmxAR.es.js +770 -0
  336. package/dist/chunks/select-BdNQmxAR.es.js.map +1 -0
  337. package/dist/chunks/select-DNP2eEQj.cjs.js +2 -0
  338. package/dist/chunks/select-DNP2eEQj.cjs.js.map +1 -0
  339. package/dist/chunks/separator-DNM6keEg.es.js +24 -0
  340. package/dist/chunks/separator-DNM6keEg.es.js.map +1 -0
  341. package/dist/chunks/separator-DzAvfNj5.cjs.js +2 -0
  342. package/dist/chunks/separator-DzAvfNj5.cjs.js.map +1 -0
  343. package/dist/chunks/split-button-BRySl0cx.cjs.js +2 -0
  344. package/dist/chunks/split-button-BRySl0cx.cjs.js.map +1 -0
  345. package/dist/chunks/split-button-D6zbGR_f.es.js +106 -0
  346. package/dist/chunks/split-button-D6zbGR_f.es.js.map +1 -0
  347. package/dist/chunks/switch-BBBoNwra.es.js +67 -0
  348. package/dist/chunks/switch-BBBoNwra.es.js.map +1 -0
  349. package/dist/chunks/switch-Dam-cMa7.cjs.js +2 -0
  350. package/dist/chunks/switch-Dam-cMa7.cjs.js.map +1 -0
  351. package/dist/chunks/tabs-8CdyaTFR.es.js +536 -0
  352. package/dist/chunks/tabs-8CdyaTFR.es.js.map +1 -0
  353. package/dist/chunks/tabs-uf5Ger6C.cjs.js +2 -0
  354. package/dist/chunks/tabs-uf5Ger6C.cjs.js.map +1 -0
  355. package/dist/chunks/tag-group-DRUqE3JM.es.js +613 -0
  356. package/dist/chunks/tag-group-DRUqE3JM.es.js.map +1 -0
  357. package/dist/chunks/tag-group-DXKJNnAJ.cjs.js +2 -0
  358. package/dist/chunks/tag-group-DXKJNnAJ.cjs.js.map +1 -0
  359. package/dist/chunks/text-CH7Y0lWq.cjs.js +2 -0
  360. package/dist/chunks/text-CH7Y0lWq.cjs.js.map +1 -0
  361. package/dist/chunks/text-iTgAZrNO.es.js +24 -0
  362. package/dist/chunks/text-iTgAZrNO.es.js.map +1 -0
  363. package/dist/chunks/text-input-Cp5eZeWV.es.js +78 -0
  364. package/dist/chunks/text-input-Cp5eZeWV.es.js.map +1 -0
  365. package/dist/chunks/text-input-D2zkZbRo.cjs.js +2 -0
  366. package/dist/chunks/text-input-D2zkZbRo.cjs.js.map +1 -0
  367. package/dist/chunks/text-input-field-BlkW_X2M.cjs.js +2 -0
  368. package/dist/chunks/text-input-field-BlkW_X2M.cjs.js.map +1 -0
  369. package/dist/chunks/text-input-field-DoYF6SaU.es.js +58 -0
  370. package/dist/chunks/text-input-field-DoYF6SaU.es.js.map +1 -0
  371. package/dist/chunks/time-input-BQ4IAgS-.es.js +21 -0
  372. package/dist/chunks/time-input-BQ4IAgS-.es.js.map +1 -0
  373. package/dist/chunks/time-input-Dy323QkC.cjs.js +2 -0
  374. package/dist/chunks/time-input-Dy323QkC.cjs.js.map +1 -0
  375. package/dist/chunks/toggle-button-DQN8bnad.es.js +30 -0
  376. package/dist/chunks/toggle-button-DQN8bnad.es.js.map +1 -0
  377. package/dist/chunks/toggle-button-eiuRtIbK.cjs.js +2 -0
  378. package/dist/chunks/toggle-button-eiuRtIbK.cjs.js.map +1 -0
  379. package/dist/chunks/toggle-button-group-Q15h-2Qy.es.js +29 -0
  380. package/dist/chunks/toggle-button-group-Q15h-2Qy.es.js.map +1 -0
  381. package/dist/chunks/toggle-button-group-XOfib7Sj.cjs.js +2 -0
  382. package/dist/chunks/toggle-button-group-XOfib7Sj.cjs.js.map +1 -0
  383. package/dist/chunks/toolbar-C8FnV_hi.cjs.js +2 -0
  384. package/dist/chunks/toolbar-C8FnV_hi.cjs.js.map +1 -0
  385. package/dist/chunks/toolbar-Dd6Db9sH.es.js +61 -0
  386. package/dist/chunks/toolbar-Dd6Db9sH.es.js.map +1 -0
  387. package/dist/chunks/tooltip-C3517xYv.es.js +302 -0
  388. package/dist/chunks/tooltip-C3517xYv.es.js.map +1 -0
  389. package/dist/chunks/tooltip-CekN4ezR.cjs.js +2 -0
  390. package/dist/chunks/tooltip-CekN4ezR.cjs.js.map +1 -0
  391. package/dist/chunks/useButton-C0YxSZ4p.es.js +57 -0
  392. package/dist/chunks/useButton-C0YxSZ4p.es.js.map +1 -0
  393. package/dist/chunks/useButton-Dp2NwAPA.cjs.js +2 -0
  394. package/dist/chunks/useButton-Dp2NwAPA.cjs.js.map +1 -0
  395. package/dist/chunks/useCollator-CSX9kZqi.cjs.js +2 -0
  396. package/dist/chunks/useCollator-CSX9kZqi.cjs.js.map +1 -0
  397. package/dist/chunks/useCollator-DKdD8vEj.es.js +12 -0
  398. package/dist/chunks/useCollator-DKdD8vEj.es.js.map +1 -0
  399. package/dist/chunks/useControlledState-3TGZUXux.es.js +31 -0
  400. package/dist/chunks/useControlledState-3TGZUXux.es.js.map +1 -0
  401. package/dist/chunks/useControlledState-DLAEsTLd.cjs.js +2 -0
  402. package/dist/chunks/useControlledState-DLAEsTLd.cjs.js.map +1 -0
  403. package/dist/chunks/useDateFormatter-C0T2-xr7.es.js +1634 -0
  404. package/dist/chunks/useDateFormatter-C0T2-xr7.es.js.map +1 -0
  405. package/dist/chunks/useDateFormatter-DcND0YZj.cjs.js +2 -0
  406. package/dist/chunks/useDateFormatter-DcND0YZj.cjs.js.map +1 -0
  407. package/dist/chunks/useDisclosureState-CPUsvP5-.es.js +87 -0
  408. package/dist/chunks/useDisclosureState-CPUsvP5-.es.js.map +1 -0
  409. package/dist/chunks/useDisclosureState-DXwEPD8Y.cjs.js +2 -0
  410. package/dist/chunks/useDisclosureState-DXwEPD8Y.cjs.js.map +1 -0
  411. package/dist/chunks/useEffectEvent-B4Fd4l1o.es.js +19 -0
  412. package/dist/chunks/useEffectEvent-B4Fd4l1o.es.js.map +1 -0
  413. package/dist/chunks/useEffectEvent-DH-2wVX0.cjs.js +2 -0
  414. package/dist/chunks/useEffectEvent-DH-2wVX0.cjs.js.map +1 -0
  415. package/dist/chunks/useEvent-CKoH5wGJ.es.js +21 -0
  416. package/dist/chunks/useEvent-CKoH5wGJ.es.js.map +1 -0
  417. package/dist/chunks/useEvent-DXB5yIJh.cjs.js +2 -0
  418. package/dist/chunks/useEvent-DXB5yIJh.cjs.js.map +1 -0
  419. package/dist/chunks/useField-BxLfE_kx.es.js +36 -0
  420. package/dist/chunks/useField-BxLfE_kx.es.js.map +1 -0
  421. package/dist/chunks/useField-DOT9H5ld.cjs.js +2 -0
  422. package/dist/chunks/useField-DOT9H5ld.cjs.js.map +1 -0
  423. package/dist/chunks/useFocus-DR1VtW2A.cjs.js +2 -0
  424. package/dist/chunks/useFocus-DR1VtW2A.cjs.js.map +1 -0
  425. package/dist/chunks/useFocus-DWn32Fi6.es.js +29 -0
  426. package/dist/chunks/useFocus-DWn32Fi6.es.js.map +1 -0
  427. package/dist/chunks/useFocusRing-CZQUsztf.es.js +35 -0
  428. package/dist/chunks/useFocusRing-CZQUsztf.es.js.map +1 -0
  429. package/dist/chunks/useFocusRing-DScmIOhv.cjs.js +2 -0
  430. package/dist/chunks/useFocusRing-DScmIOhv.cjs.js.map +1 -0
  431. package/dist/chunks/useFocusVisible-CKofa_M1.cjs.js +2 -0
  432. package/dist/chunks/useFocusVisible-CKofa_M1.cjs.js.map +1 -0
  433. package/dist/chunks/useFocusVisible-_CKiSck5.es.js +111 -0
  434. package/dist/chunks/useFocusVisible-_CKiSck5.es.js.map +1 -0
  435. package/dist/chunks/useFocusWithin-B4xl6F8A.cjs.js +2 -0
  436. package/dist/chunks/useFocusWithin-B4xl6F8A.cjs.js.map +1 -0
  437. package/dist/chunks/useFocusWithin-CdBYoNiQ.es.js +56 -0
  438. package/dist/chunks/useFocusWithin-CdBYoNiQ.es.js.map +1 -0
  439. package/dist/chunks/useFocusable-C4Re42UX.es.js +77 -0
  440. package/dist/chunks/useFocusable-C4Re42UX.es.js.map +1 -0
  441. package/dist/chunks/useFocusable-HmbZyg7l.cjs.js +2 -0
  442. package/dist/chunks/useFocusable-HmbZyg7l.cjs.js.map +1 -0
  443. package/dist/chunks/useFormReset-Dl03QHFW.es.js +20 -0
  444. package/dist/chunks/useFormReset-Dl03QHFW.es.js.map +1 -0
  445. package/dist/chunks/useFormReset-SdZC5b5k.cjs.js +2 -0
  446. package/dist/chunks/useFormReset-SdZC5b5k.cjs.js.map +1 -0
  447. package/dist/chunks/useFormValidation-B8CXjzeH.cjs.js +2 -0
  448. package/dist/chunks/useFormValidation-B8CXjzeH.cjs.js.map +1 -0
  449. package/dist/chunks/useFormValidation-Cx9rG8-b.es.js +200 -0
  450. package/dist/chunks/useFormValidation-Cx9rG8-b.es.js.map +1 -0
  451. package/dist/chunks/useGlobalListeners-BOOfV5Wh.es.js.map +1 -1
  452. package/dist/chunks/useGlobalListeners-CwGh-cDn.cjs.js.map +1 -1
  453. package/dist/chunks/useGridListItem-CZn3RZIy.es.js +820 -0
  454. package/dist/chunks/useGridListItem-CZn3RZIy.es.js.map +1 -0
  455. package/dist/chunks/useGridListItem-lHq6dpN3.cjs.js +2 -0
  456. package/dist/chunks/useGridListItem-lHq6dpN3.cjs.js.map +1 -0
  457. package/dist/chunks/useHasTabbableChild-BKDz3bMI.es.js +35 -0
  458. package/dist/chunks/useHasTabbableChild-BKDz3bMI.es.js.map +1 -0
  459. package/dist/chunks/useHasTabbableChild-C-c1qYBI.cjs.js +2 -0
  460. package/dist/chunks/useHasTabbableChild-C-c1qYBI.cjs.js.map +1 -0
  461. package/dist/chunks/useHover-BCGp55jR.cjs.js +2 -0
  462. package/dist/chunks/useHover-BCGp55jR.cjs.js.map +1 -0
  463. package/dist/chunks/useHover-BiPYlZr_.es.js +86 -0
  464. package/dist/chunks/useHover-BiPYlZr_.es.js.map +1 -0
  465. package/dist/chunks/useLabel-BYUx0yyV.cjs.js +2 -0
  466. package/dist/chunks/useLabel-BYUx0yyV.cjs.js.map +1 -0
  467. package/dist/chunks/useLabel-D521nHvC.es.js +24 -0
  468. package/dist/chunks/useLabel-D521nHvC.es.js.map +1 -0
  469. package/dist/chunks/useLabels-BOBP8-HM.es.js +18 -0
  470. package/dist/chunks/useLabels-BOBP8-HM.es.js.map +1 -0
  471. package/dist/chunks/useLabels-DR2fK5nd.cjs.js +2 -0
  472. package/dist/chunks/useLabels-DR2fK5nd.cjs.js.map +1 -0
  473. package/dist/chunks/useListData-CRIq9XWX.es.js +213 -0
  474. package/dist/chunks/useListData-CRIq9XWX.es.js.map +1 -0
  475. package/dist/chunks/useListData-DgCKbwHX.cjs.js +2 -0
  476. package/dist/chunks/useListData-DgCKbwHX.cjs.js.map +1 -0
  477. package/dist/chunks/useListState-BxWOm_-s.es.js +138 -0
  478. package/dist/chunks/useListState-BxWOm_-s.es.js.map +1 -0
  479. package/dist/chunks/useListState-CzO_maGH.cjs.js +2 -0
  480. package/dist/chunks/useListState-CzO_maGH.cjs.js.map +1 -0
  481. package/dist/chunks/useLocalizedStringFormatter-CYDf7GZk.es.js +53 -0
  482. package/dist/chunks/useLocalizedStringFormatter-CYDf7GZk.es.js.map +1 -0
  483. package/dist/chunks/useLocalizedStringFormatter-Dg-fFas4.cjs.js +2 -0
  484. package/dist/chunks/useLocalizedStringFormatter-Dg-fFas4.cjs.js.map +1 -0
  485. package/dist/chunks/useObjectRef-4v2MxSjQ.cjs.js.map +1 -1
  486. package/dist/chunks/useObjectRef-CaJ5pgjX.es.js.map +1 -1
  487. package/dist/chunks/usePress-Dh8t0tPF.cjs.js +8 -0
  488. package/dist/chunks/usePress-Dh8t0tPF.cjs.js.map +1 -0
  489. package/dist/chunks/usePress-UxAvyvOO.es.js +502 -0
  490. package/dist/chunks/usePress-UxAvyvOO.es.js.map +1 -0
  491. package/dist/chunks/useProgressBar-B1hDpeFj.es.js +48 -0
  492. package/dist/chunks/useProgressBar-B1hDpeFj.es.js.map +1 -0
  493. package/dist/chunks/useProgressBar-CiLam1li.cjs.js +2 -0
  494. package/dist/chunks/useProgressBar-CiLam1li.cjs.js.map +1 -0
  495. package/dist/chunks/useSpinButton-BiyDsWG5.es.js +468 -0
  496. package/dist/chunks/useSpinButton-BiyDsWG5.es.js.map +1 -0
  497. package/dist/chunks/useSpinButton-C9IJ6Zk_.cjs.js +2 -0
  498. package/dist/chunks/useSpinButton-C9IJ6Zk_.cjs.js.map +1 -0
  499. package/dist/chunks/useSyncRef-BGo3C9WN.es.js +13 -0
  500. package/dist/chunks/useSyncRef-BGo3C9WN.es.js.map +1 -0
  501. package/dist/chunks/useSyncRef-BmnO4TYD.cjs.js +2 -0
  502. package/dist/chunks/useSyncRef-BmnO4TYD.cjs.js.map +1 -0
  503. package/dist/chunks/useTextField-Def10i_1.es.js +78 -0
  504. package/dist/chunks/useTextField-Def10i_1.es.js.map +1 -0
  505. package/dist/chunks/useTextField-xUsOzG8r.cjs.js +2 -0
  506. package/dist/chunks/useTextField-xUsOzG8r.cjs.js.map +1 -0
  507. package/dist/chunks/useToggle-DPaFYvr8.es.js +62 -0
  508. package/dist/chunks/useToggle-DPaFYvr8.es.js.map +1 -0
  509. package/dist/chunks/useToggle-_ZBKYYYk.cjs.js +2 -0
  510. package/dist/chunks/useToggle-_ZBKYYYk.cjs.js.map +1 -0
  511. package/dist/chunks/useToggleState-CKQxC8Yz.cjs.js +2 -0
  512. package/dist/chunks/useToggleState-CKQxC8Yz.cjs.js.map +1 -0
  513. package/dist/chunks/useToggleState-DWm4nWJh.es.js +22 -0
  514. package/dist/chunks/useToggleState-DWm4nWJh.es.js.map +1 -0
  515. package/dist/chunks/useToolbar-NGUPId3z.es.js +55 -0
  516. package/dist/chunks/useToolbar-NGUPId3z.es.js.map +1 -0
  517. package/dist/chunks/useToolbar-xJrixYVd.cjs.js +2 -0
  518. package/dist/chunks/useToolbar-xJrixYVd.cjs.js.map +1 -0
  519. package/dist/chunks/useUpdateEffect-BKrABGNa.cjs.js +2 -0
  520. package/dist/chunks/useUpdateEffect-BKrABGNa.cjs.js.map +1 -0
  521. package/dist/chunks/useUpdateEffect-CxkSZ4PM.es.js +16 -0
  522. package/dist/chunks/useUpdateEffect-CxkSZ4PM.es.js.map +1 -0
  523. package/dist/chunks/utils-BNYGVv6l.cjs.js +2 -0
  524. package/dist/chunks/utils-BNYGVv6l.cjs.js.map +1 -0
  525. package/dist/chunks/utils-CrjF8U_E.es.js +128 -0
  526. package/dist/chunks/utils-CrjF8U_E.es.js.map +1 -0
  527. package/dist/chunks/utils-V7nfNEif.es.js +186 -0
  528. package/dist/chunks/utils-V7nfNEif.es.js.map +1 -0
  529. package/dist/chunks/utils-yMPNzXQX.cjs.js +2 -0
  530. package/dist/chunks/utils-yMPNzXQX.cjs.js.map +1 -0
  531. package/dist/chunks/visually-hidden-CE1SDmBy.cjs.js +2 -0
  532. package/dist/chunks/visually-hidden-CE1SDmBy.cjs.js.map +1 -0
  533. package/dist/chunks/visually-hidden-DVHn3y3w.es.js +11 -0
  534. package/dist/chunks/visually-hidden-DVHn3y3w.es.js.map +1 -0
  535. package/dist/components/accordion.cjs +1 -1
  536. package/dist/components/accordion.es.js +2 -2
  537. package/dist/components/alert.cjs +1 -1
  538. package/dist/components/alert.es.js +1 -1
  539. package/dist/components/avatar.cjs +1 -1
  540. package/dist/components/avatar.es.js +1 -1
  541. package/dist/components/badge.cjs +1 -1
  542. package/dist/components/badge.es.js +1 -1
  543. package/dist/components/button.cjs +1 -1
  544. package/dist/components/button.es.js +1 -1
  545. package/dist/components/calendar.cjs +1 -1
  546. package/dist/components/calendar.es.js +1 -1
  547. package/dist/components/card.es.js +1 -1
  548. package/dist/components/checkbox.cjs +1 -1
  549. package/dist/components/checkbox.es.js +1 -1
  550. package/dist/components/collapsible-motion.cjs +1 -1
  551. package/dist/components/collapsible-motion.es.js +1 -1
  552. package/dist/components/combobox.cjs +1 -1
  553. package/dist/components/combobox.es.js +1 -1
  554. package/dist/components/components.cjs +1 -1
  555. package/dist/components/components.es.js +1 -1
  556. package/dist/components/data-table.cjs +1 -1
  557. package/dist/components/data-table.es.js +1 -1
  558. package/dist/components/date-input.cjs +1 -1
  559. package/dist/components/date-input.es.js +1 -1
  560. package/dist/components/date-picker.cjs +1 -1
  561. package/dist/components/date-picker.es.js +1 -1
  562. package/dist/components/date-range-picker-field.cjs +1 -1
  563. package/dist/components/date-range-picker-field.es.js +1 -1
  564. package/dist/components/date-range-picker.cjs +1 -1
  565. package/dist/components/date-range-picker.es.js +1 -1
  566. package/dist/components/dialog.cjs +1 -1
  567. package/dist/components/dialog.es.js +1 -1
  568. package/dist/components/draggable-list.cjs +1 -1
  569. package/dist/components/draggable-list.es.js +1 -1
  570. package/dist/components/drawer.cjs +1 -1
  571. package/dist/components/drawer.es.js +1 -1
  572. package/dist/components/field-errors.cjs +1 -1
  573. package/dist/components/field-errors.es.js +1 -1
  574. package/dist/components/fields.cjs +1 -1
  575. package/dist/components/fields.es.js +7 -7
  576. package/dist/components/form-field.cjs +1 -1
  577. package/dist/components/form-field.es.js +1 -1
  578. package/dist/components/group.cjs +1 -1
  579. package/dist/components/group.es.js +1 -1
  580. package/dist/components/heading.cjs +1 -1
  581. package/dist/components/heading.es.js +1 -1
  582. package/dist/components/icon-button.cjs +1 -1
  583. package/dist/components/icon-button.es.js +1 -1
  584. package/dist/components/icon-toggle-button.cjs +1 -1
  585. package/dist/components/icon-toggle-button.es.js +1 -1
  586. package/dist/components/kbd.cjs +1 -1
  587. package/dist/components/kbd.es.js +1 -1
  588. package/dist/components/link.cjs +1 -1
  589. package/dist/components/link.es.js +1 -1
  590. package/dist/components/list.es.js +1 -1
  591. package/dist/components/loading-spinner.cjs +1 -1
  592. package/dist/components/loading-spinner.es.js +1 -1
  593. package/dist/components/localized-field.cjs +1 -1
  594. package/dist/components/localized-field.es.js +1 -1
  595. package/dist/components/money-input-field.cjs +1 -1
  596. package/dist/components/money-input-field.es.js +1 -1
  597. package/dist/components/money-input.cjs +1 -1
  598. package/dist/components/money-input.es.js +1 -1
  599. package/dist/components/multiline-text-input-field.cjs +1 -1
  600. package/dist/components/multiline-text-input-field.es.js +1 -1
  601. package/dist/components/multiline-text-input.cjs +1 -1
  602. package/dist/components/multiline-text-input.es.js +1 -1
  603. package/dist/components/nimbus-i18n-provider.cjs +1 -1
  604. package/dist/components/nimbus-i18n-provider.es.js +1 -1
  605. package/dist/components/nimbus-provider.cjs +1 -1
  606. package/dist/components/nimbus-provider.es.js +1 -1
  607. package/dist/components/number-input-field.cjs +1 -1
  608. package/dist/components/number-input-field.es.js +1 -1
  609. package/dist/components/number-input.cjs +1 -1
  610. package/dist/components/number-input.es.js +1 -1
  611. package/dist/components/pagination.cjs +1 -1
  612. package/dist/components/pagination.es.js +1 -1
  613. package/dist/components/password-input-field.cjs +1 -1
  614. package/dist/components/password-input-field.es.js +1 -1
  615. package/dist/components/password-input.cjs +1 -1
  616. package/dist/components/password-input.es.js +1 -1
  617. package/dist/components/patterns.cjs +1 -1
  618. package/dist/components/patterns.es.js +7 -7
  619. package/dist/components/popover.cjs +1 -1
  620. package/dist/components/popover.es.js +1 -1
  621. package/dist/components/progress-bar.cjs +1 -1
  622. package/dist/components/progress-bar.es.js +1 -1
  623. package/dist/components/radio-input.cjs +1 -1
  624. package/dist/components/radio-input.es.js +1 -1
  625. package/dist/components/range-calendar.cjs +1 -1
  626. package/dist/components/range-calendar.es.js +1 -1
  627. package/dist/components/rich-text-input.cjs +1 -1
  628. package/dist/components/rich-text-input.es.js +1 -1
  629. package/dist/components/scoped-search-input.cjs +1 -1
  630. package/dist/components/scoped-search-input.es.js +1 -1
  631. package/dist/components/search-input-field.cjs +1 -1
  632. package/dist/components/search-input-field.es.js +1 -1
  633. package/dist/components/search-input.cjs +1 -1
  634. package/dist/components/search-input.es.js +1 -1
  635. package/dist/components/select.cjs +1 -1
  636. package/dist/components/select.es.js +1 -1
  637. package/dist/components/separator.cjs +1 -1
  638. package/dist/components/separator.es.js +1 -1
  639. package/dist/components/split-button.cjs +1 -1
  640. package/dist/components/split-button.es.js +1 -1
  641. package/dist/components/switch.cjs +1 -1
  642. package/dist/components/switch.es.js +1 -1
  643. package/dist/components/tabs.cjs +1 -1
  644. package/dist/components/tabs.es.js +1 -1
  645. package/dist/components/tag-group.cjs +1 -1
  646. package/dist/components/tag-group.es.js +1 -1
  647. package/dist/components/text-input-field.cjs +1 -1
  648. package/dist/components/text-input-field.es.js +1 -1
  649. package/dist/components/text-input.cjs +1 -1
  650. package/dist/components/text-input.es.js +1 -1
  651. package/dist/components/text.cjs +1 -1
  652. package/dist/components/text.es.js +1 -1
  653. package/dist/components/time-input.cjs +1 -1
  654. package/dist/components/time-input.es.js +1 -1
  655. package/dist/components/toggle-button-group.cjs +1 -1
  656. package/dist/components/toggle-button-group.es.js +1 -1
  657. package/dist/components/toggle-button.cjs +1 -1
  658. package/dist/components/toggle-button.es.js +1 -1
  659. package/dist/components/toolbar.cjs +1 -1
  660. package/dist/components/toolbar.es.js +1 -1
  661. package/dist/components/tooltip.cjs +1 -1
  662. package/dist/components/tooltip.es.js +2 -2
  663. package/dist/components/visually-hidden.cjs +1 -1
  664. package/dist/components/visually-hidden.es.js +1 -1
  665. package/dist/index.cjs +1 -1
  666. package/dist/index.es.js +209 -209
  667. package/package.json +22 -22
  668. package/dist/chunks/Button-BjcDZ5eb.es.js +0 -79
  669. package/dist/chunks/Button-BjcDZ5eb.es.js.map +0 -1
  670. package/dist/chunks/Button-DLCecw8f.cjs.js +0 -2
  671. package/dist/chunks/Button-DLCecw8f.cjs.js.map +0 -1
  672. package/dist/chunks/CollectionBuilder-BOe312C_.es.js +0 -659
  673. package/dist/chunks/CollectionBuilder-BOe312C_.es.js.map +0 -1
  674. package/dist/chunks/CollectionBuilder-DjRx57vm.cjs.js +0 -2
  675. package/dist/chunks/CollectionBuilder-DjRx57vm.cjs.js.map +0 -1
  676. package/dist/chunks/DateField-BxXzaXAv.cjs.js +0 -2
  677. package/dist/chunks/DateField-BxXzaXAv.cjs.js.map +0 -1
  678. package/dist/chunks/DateField-DCWy1Ysp.es.js +0 -2722
  679. package/dist/chunks/DateField-DCWy1Ysp.es.js.map +0 -1
  680. package/dist/chunks/DatePicker-CL72jbDo.es.js +0 -786
  681. package/dist/chunks/DatePicker-CL72jbDo.es.js.map +0 -1
  682. package/dist/chunks/DatePicker-NWRDzwUt.cjs.js +0 -2
  683. package/dist/chunks/DatePicker-NWRDzwUt.cjs.js.map +0 -1
  684. package/dist/chunks/Dialog-B0BQfdQa.es.js +0 -1951
  685. package/dist/chunks/Dialog-B0BQfdQa.es.js.map +0 -1
  686. package/dist/chunks/Dialog-CSr6lHSd.cjs.js +0 -7
  687. package/dist/chunks/Dialog-CSr6lHSd.cjs.js.map +0 -1
  688. package/dist/chunks/FocusScope-CqEZq7sr.es.js +0 -625
  689. package/dist/chunks/FocusScope-CqEZq7sr.es.js.map +0 -1
  690. package/dist/chunks/FocusScope-vAM-Q62b.cjs.js +0 -2
  691. package/dist/chunks/FocusScope-vAM-Q62b.cjs.js.map +0 -1
  692. package/dist/chunks/Group-1nWkximy.cjs.js +0 -2
  693. package/dist/chunks/Group-1nWkximy.cjs.js.map +0 -1
  694. package/dist/chunks/Group-BQc9LuMT.es.js +0 -47
  695. package/dist/chunks/Group-BQc9LuMT.es.js.map +0 -1
  696. package/dist/chunks/Header-BXEPjypM.cjs.js +0 -2
  697. package/dist/chunks/Header-BXEPjypM.cjs.js.map +0 -1
  698. package/dist/chunks/Header-CiYtrnTw.es.js +0 -213
  699. package/dist/chunks/Header-CiYtrnTw.es.js.map +0 -1
  700. package/dist/chunks/Heading-BMsylHxq.es.js +0 -1619
  701. package/dist/chunks/Heading-BMsylHxq.es.js.map +0 -1
  702. package/dist/chunks/Heading-C7J8IDnn.cjs.js +0 -2
  703. package/dist/chunks/Heading-C7J8IDnn.cjs.js.map +0 -1
  704. package/dist/chunks/Input-2FU1rljx.cjs.js +0 -2
  705. package/dist/chunks/Input-2FU1rljx.cjs.js.map +0 -1
  706. package/dist/chunks/Input-Cmg08oRP.es.js +0 -43
  707. package/dist/chunks/Input-Cmg08oRP.es.js.map +0 -1
  708. package/dist/chunks/Label-DIseLESi.es.js +0 -17
  709. package/dist/chunks/Label-DIseLESi.es.js.map +0 -1
  710. package/dist/chunks/Label-szabofdc.cjs.js +0 -2
  711. package/dist/chunks/Label-szabofdc.cjs.js.map +0 -1
  712. package/dist/chunks/ListBox-RrHJjnuq.es.js +0 -559
  713. package/dist/chunks/ListBox-RrHJjnuq.es.js.map +0 -1
  714. package/dist/chunks/ListBox-rm_vuzPg.cjs.js +0 -2
  715. package/dist/chunks/ListBox-rm_vuzPg.cjs.js.map +0 -1
  716. package/dist/chunks/Modal-K4JEy19g.es.js +0 -197
  717. package/dist/chunks/Modal-K4JEy19g.es.js.map +0 -1
  718. package/dist/chunks/Modal-u97jKK9t.cjs.js +0 -2
  719. package/dist/chunks/Modal-u97jKK9t.cjs.js.map +0 -1
  720. package/dist/chunks/OverlayArrow-BIjbCSXk.es.js +0 -491
  721. package/dist/chunks/OverlayArrow-BIjbCSXk.es.js.map +0 -1
  722. package/dist/chunks/OverlayArrow-ltipYWUv.cjs.js +0 -2
  723. package/dist/chunks/OverlayArrow-ltipYWUv.cjs.js.map +0 -1
  724. package/dist/chunks/ProgressBar-BnIWveAr.cjs.js +0 -2
  725. package/dist/chunks/ProgressBar-BnIWveAr.cjs.js.map +0 -1
  726. package/dist/chunks/ProgressBar-Dm2Ge45l.es.js +0 -42
  727. package/dist/chunks/ProgressBar-Dm2Ge45l.es.js.map +0 -1
  728. package/dist/chunks/SSRProvider-eIEwc-2s.es.js +0 -51
  729. package/dist/chunks/SSRProvider-eIEwc-2s.es.js.map +0 -1
  730. package/dist/chunks/SelectionManager-5YkuhVau.cjs.js +0 -2
  731. package/dist/chunks/SelectionManager-5YkuhVau.cjs.js.map +0 -1
  732. package/dist/chunks/SelectionManager-CX9btso_.es.js +0 -1125
  733. package/dist/chunks/SelectionManager-CX9btso_.es.js.map +0 -1
  734. package/dist/chunks/Separator-BvA4UGuq.cjs.js +0 -2
  735. package/dist/chunks/Separator-BvA4UGuq.cjs.js.map +0 -1
  736. package/dist/chunks/Separator-x6wk4JUe.es.js +0 -55
  737. package/dist/chunks/Separator-x6wk4JUe.es.js.map +0 -1
  738. package/dist/chunks/ToggleButton-BqW-X6iJ.es.js +0 -150
  739. package/dist/chunks/ToggleButton-BqW-X6iJ.es.js.map +0 -1
  740. package/dist/chunks/ToggleButton-CFG1iLco.cjs.js +0 -2
  741. package/dist/chunks/ToggleButton-CFG1iLco.cjs.js.map +0 -1
  742. package/dist/chunks/VisuallyHidden-BLRzeMsq.es.js +0 -41
  743. package/dist/chunks/VisuallyHidden-BLRzeMsq.es.js.map +0 -1
  744. package/dist/chunks/VisuallyHidden-CDvZiyH6.cjs.js +0 -2
  745. package/dist/chunks/VisuallyHidden-CDvZiyH6.cjs.js.map +0 -1
  746. package/dist/chunks/accordion-DD2oi7Kn.cjs.js +0 -2
  747. package/dist/chunks/accordion-DD2oi7Kn.cjs.js.map +0 -1
  748. package/dist/chunks/accordion-DDAV8l9X.es.js +0 -84
  749. package/dist/chunks/accordion-DDAV8l9X.es.js.map +0 -1
  750. package/dist/chunks/accordion.content-BfZnzJuc.es.js +0 -227
  751. package/dist/chunks/accordion.content-BfZnzJuc.es.js.map +0 -1
  752. package/dist/chunks/accordion.content-BlOjica9.cjs.js +0 -2
  753. package/dist/chunks/accordion.content-BlOjica9.cjs.js.map +0 -1
  754. package/dist/chunks/alert-Br_PRPAr.es.js +0 -158
  755. package/dist/chunks/alert-Br_PRPAr.es.js.map +0 -1
  756. package/dist/chunks/alert-CmZF0yAh.cjs.js +0 -2
  757. package/dist/chunks/alert-CmZF0yAh.cjs.js.map +0 -1
  758. package/dist/chunks/avatar-1Y7cLjZT.es.js +0 -59
  759. package/dist/chunks/avatar-1Y7cLjZT.es.js.map +0 -1
  760. package/dist/chunks/avatar-BVQ91Ccd.cjs.js +0 -2
  761. package/dist/chunks/avatar-BVQ91Ccd.cjs.js.map +0 -1
  762. package/dist/chunks/badge-5F6i4KSF.cjs.js +0 -2
  763. package/dist/chunks/badge-5F6i4KSF.cjs.js.map +0 -1
  764. package/dist/chunks/badge-CgYpum7D.es.js +0 -17
  765. package/dist/chunks/badge-CgYpum7D.es.js.map +0 -1
  766. package/dist/chunks/button-BAPG6d5m.cjs.js +0 -2
  767. package/dist/chunks/button-BAPG6d5m.cjs.js.map +0 -1
  768. package/dist/chunks/button-Dp-F9cZ2.es.js +0 -82
  769. package/dist/chunks/button-Dp-F9cZ2.es.js.map +0 -1
  770. package/dist/chunks/calendar-CTVKVt7P.cjs.js +0 -2
  771. package/dist/chunks/calendar-CTVKVt7P.cjs.js.map +0 -1
  772. package/dist/chunks/calendar-CqqLfNJd.es.js +0 -227
  773. package/dist/chunks/calendar-CqqLfNJd.es.js.map +0 -1
  774. package/dist/chunks/card-CnJ-EQ7o.es.js +0 -115
  775. package/dist/chunks/card-CnJ-EQ7o.es.js.map +0 -1
  776. package/dist/chunks/checkbox-Bz-bJcd3.cjs.js +0 -2
  777. package/dist/chunks/checkbox-Bz-bJcd3.cjs.js.map +0 -1
  778. package/dist/chunks/checkbox-CnXqjwDQ.es.js +0 -221
  779. package/dist/chunks/checkbox-CnXqjwDQ.es.js.map +0 -1
  780. package/dist/chunks/collapsible-motion-AdpfNSeX.cjs.js +0 -2
  781. package/dist/chunks/collapsible-motion-AdpfNSeX.cjs.js.map +0 -1
  782. package/dist/chunks/collapsible-motion-GaDcSGNH.es.js +0 -126
  783. package/dist/chunks/collapsible-motion-GaDcSGNH.es.js.map +0 -1
  784. package/dist/chunks/combobox-Da0Jjrhq.cjs.js +0 -2
  785. package/dist/chunks/combobox-Da0Jjrhq.cjs.js.map +0 -1
  786. package/dist/chunks/combobox-DrsKE20q.es.js +0 -1560
  787. package/dist/chunks/combobox-DrsKE20q.es.js.map +0 -1
  788. package/dist/chunks/context-CyT9C4U4.cjs.js +0 -2
  789. package/dist/chunks/context-CyT9C4U4.cjs.js.map +0 -1
  790. package/dist/chunks/context-DW7UvQ8z.es.js +0 -108
  791. package/dist/chunks/context-DW7UvQ8z.es.js.map +0 -1
  792. package/dist/chunks/data-table-DE-C-D1P.es.js +0 -4429
  793. package/dist/chunks/data-table-DE-C-D1P.es.js.map +0 -1
  794. package/dist/chunks/data-table-DRicoaSn.cjs.js +0 -2
  795. package/dist/chunks/data-table-DRicoaSn.cjs.js.map +0 -1
  796. package/dist/chunks/date-input-8_qMwPMF.cjs.js +0 -2
  797. package/dist/chunks/date-input-8_qMwPMF.cjs.js.map +0 -1
  798. package/dist/chunks/date-input-sr0tD8IV.es.js +0 -21
  799. package/dist/chunks/date-input-sr0tD8IV.es.js.map +0 -1
  800. package/dist/chunks/date-picker-C70ZxIvZ.cjs.js +0 -2
  801. package/dist/chunks/date-picker-C70ZxIvZ.cjs.js.map +0 -1
  802. package/dist/chunks/date-picker-CIqmuX9R.es.js +0 -228
  803. package/dist/chunks/date-picker-CIqmuX9R.es.js.map +0 -1
  804. package/dist/chunks/date-range-picker-6iesoL38.es.js +0 -364
  805. package/dist/chunks/date-range-picker-6iesoL38.es.js.map +0 -1
  806. package/dist/chunks/date-range-picker-D9jrkFvn.cjs.js +0 -2
  807. package/dist/chunks/date-range-picker-D9jrkFvn.cjs.js.map +0 -1
  808. package/dist/chunks/date-range-picker-field-CeFd8bBn.es.js +0 -61
  809. package/dist/chunks/date-range-picker-field-CeFd8bBn.es.js.map +0 -1
  810. package/dist/chunks/date-range-picker-field-qk3uI1UO.cjs.js +0 -2
  811. package/dist/chunks/date-range-picker-field-qk3uI1UO.cjs.js.map +0 -1
  812. package/dist/chunks/dialog-4MWi1A8M.es.js +0 -305
  813. package/dist/chunks/dialog-4MWi1A8M.es.js.map +0 -1
  814. package/dist/chunks/dialog-DL7S2S85.cjs.js +0 -2
  815. package/dist/chunks/dialog-DL7S2S85.cjs.js.map +0 -1
  816. package/dist/chunks/draggable-list-Bc-zVIyw.cjs.js +0 -3
  817. package/dist/chunks/draggable-list-Bc-zVIyw.cjs.js.map +0 -1
  818. package/dist/chunks/draggable-list-C8IxYWJ1.es.js +0 -4110
  819. package/dist/chunks/draggable-list-C8IxYWJ1.es.js.map +0 -1
  820. package/dist/chunks/drawer-4wnwFcUV.es.js +0 -320
  821. package/dist/chunks/drawer-4wnwFcUV.es.js.map +0 -1
  822. package/dist/chunks/drawer-Bz1CKSc_.cjs.js +0 -2
  823. package/dist/chunks/drawer-Bz1CKSc_.cjs.js.map +0 -1
  824. package/dist/chunks/field-errors-D1BQvoYg.es.js +0 -219
  825. package/dist/chunks/field-errors-D1BQvoYg.es.js.map +0 -1
  826. package/dist/chunks/field-errors-aqrV93vp.cjs.js +0 -2
  827. package/dist/chunks/field-errors-aqrV93vp.cjs.js.map +0 -1
  828. package/dist/chunks/filterDOMProps-BSVCO5jK.es.js +0 -66
  829. package/dist/chunks/filterDOMProps-BSVCO5jK.es.js.map +0 -1
  830. package/dist/chunks/filterDOMProps-WUskt27c.cjs.js +0 -2
  831. package/dist/chunks/filterDOMProps-WUskt27c.cjs.js.map +0 -1
  832. package/dist/chunks/focusSafely-Cwb0Tyy6.es.js +0 -27
  833. package/dist/chunks/focusSafely-Cwb0Tyy6.es.js.map +0 -1
  834. package/dist/chunks/focusSafely-Dvxmj9Tu.cjs.js +0 -2
  835. package/dist/chunks/focusSafely-Dvxmj9Tu.cjs.js.map +0 -1
  836. package/dist/chunks/form-field-DO-UFEVi.cjs.js +0 -2
  837. package/dist/chunks/form-field-DO-UFEVi.cjs.js.map +0 -1
  838. package/dist/chunks/form-field-DhbLbIJX.es.js +0 -358
  839. package/dist/chunks/form-field-DhbLbIJX.es.js.map +0 -1
  840. package/dist/chunks/getScrollParent-MZgwmCKW.es.js +0 -10
  841. package/dist/chunks/getScrollParent-MZgwmCKW.es.js.map +0 -1
  842. package/dist/chunks/getScrollParent-oFZOwvRj.cjs.js +0 -2
  843. package/dist/chunks/getScrollParent-oFZOwvRj.cjs.js.map +0 -1
  844. package/dist/chunks/group-CCBgdph2.es.js +0 -13
  845. package/dist/chunks/group-CCBgdph2.es.js.map +0 -1
  846. package/dist/chunks/group-Cjq5lNQD.cjs.js +0 -2
  847. package/dist/chunks/group-Cjq5lNQD.cjs.js.map +0 -1
  848. package/dist/chunks/heading-DWweWKGQ.cjs.js +0 -2
  849. package/dist/chunks/heading-DWweWKGQ.cjs.js.map +0 -1
  850. package/dist/chunks/heading-nfjoR4vL.es.js +0 -25
  851. package/dist/chunks/heading-nfjoR4vL.es.js.map +0 -1
  852. package/dist/chunks/icon-button-C1TIOrC2.cjs.js +0 -2
  853. package/dist/chunks/icon-button-C1TIOrC2.cjs.js.map +0 -1
  854. package/dist/chunks/icon-button-Cf0LSF4C.es.js +0 -28
  855. package/dist/chunks/icon-button-Cf0LSF4C.es.js.map +0 -1
  856. package/dist/chunks/icon-toggle-button-BtNYkBMK.cjs.js +0 -2
  857. package/dist/chunks/icon-toggle-button-BtNYkBMK.cjs.js.map +0 -1
  858. package/dist/chunks/icon-toggle-button-D8czvFVW.es.js +0 -13
  859. package/dist/chunks/icon-toggle-button-D8czvFVW.es.js.map +0 -1
  860. package/dist/chunks/kbd-Bl5Ncm2d.es.js +0 -15
  861. package/dist/chunks/kbd-Bl5Ncm2d.es.js.map +0 -1
  862. package/dist/chunks/kbd-tKeWcdmy.cjs.js +0 -2
  863. package/dist/chunks/kbd-tKeWcdmy.cjs.js.map +0 -1
  864. package/dist/chunks/link-BMUyXcmC.es.js +0 -48
  865. package/dist/chunks/link-BMUyXcmC.es.js.map +0 -1
  866. package/dist/chunks/link-CI7W-6L3.cjs.js +0 -2
  867. package/dist/chunks/link-CI7W-6L3.cjs.js.map +0 -1
  868. package/dist/chunks/list-Nz5KjWzs.es.js +0 -13
  869. package/dist/chunks/list-Nz5KjWzs.es.js.map +0 -1
  870. package/dist/chunks/loading-spinner-DYEYnI5N.cjs.js +0 -2
  871. package/dist/chunks/loading-spinner-DYEYnI5N.cjs.js.map +0 -1
  872. package/dist/chunks/loading-spinner-gf62wtm3.es.js +0 -53
  873. package/dist/chunks/loading-spinner-gf62wtm3.es.js.map +0 -1
  874. package/dist/chunks/localized-field-B3OxesP5.es.js +0 -483
  875. package/dist/chunks/localized-field-B3OxesP5.es.js.map +0 -1
  876. package/dist/chunks/localized-field-CSN5jJgw.cjs.js +0 -2
  877. package/dist/chunks/localized-field-CSN5jJgw.cjs.js.map +0 -1
  878. package/dist/chunks/make-element-focusable-7-aXFtDJ.es.js +0 -25
  879. package/dist/chunks/make-element-focusable-7-aXFtDJ.es.js.map +0 -1
  880. package/dist/chunks/make-element-focusable-Cdmdc8sd.cjs.js +0 -2
  881. package/dist/chunks/make-element-focusable-Cdmdc8sd.cjs.js.map +0 -1
  882. package/dist/chunks/menu-Ba3r-dhK.es.js +0 -256
  883. package/dist/chunks/menu-Ba3r-dhK.es.js.map +0 -1
  884. package/dist/chunks/menu-hBGeRvHK.cjs.js +0 -2
  885. package/dist/chunks/menu-hBGeRvHK.cjs.js.map +0 -1
  886. package/dist/chunks/mergeProps-CxnHrnow.cjs.js +0 -2
  887. package/dist/chunks/mergeProps-CxnHrnow.cjs.js.map +0 -1
  888. package/dist/chunks/mergeProps-Dsl8k3Ig.es.js +0 -130
  889. package/dist/chunks/mergeProps-Dsl8k3Ig.es.js.map +0 -1
  890. package/dist/chunks/money-input-BF-dLYad.cjs.js +0 -2
  891. package/dist/chunks/money-input-BF-dLYad.cjs.js.map +0 -1
  892. package/dist/chunks/money-input-Cnx44q9h.es.js +0 -535
  893. package/dist/chunks/money-input-Cnx44q9h.es.js.map +0 -1
  894. package/dist/chunks/money-input-field-BYeWQIDh.es.js +0 -51
  895. package/dist/chunks/money-input-field-BYeWQIDh.es.js.map +0 -1
  896. package/dist/chunks/money-input-field-ctc_KjuQ.cjs.js +0 -2
  897. package/dist/chunks/money-input-field-ctc_KjuQ.cjs.js.map +0 -1
  898. package/dist/chunks/multiline-text-input-BgA7wrCp.cjs.js +0 -2
  899. package/dist/chunks/multiline-text-input-BgA7wrCp.cjs.js.map +0 -1
  900. package/dist/chunks/multiline-text-input-DFL0MyoX.es.js +0 -98
  901. package/dist/chunks/multiline-text-input-DFL0MyoX.es.js.map +0 -1
  902. package/dist/chunks/multiline-text-input-field-CIzfVmkc.cjs.js +0 -2
  903. package/dist/chunks/multiline-text-input-field-CIzfVmkc.cjs.js.map +0 -1
  904. package/dist/chunks/multiline-text-input-field-D6yYeHct.es.js +0 -56
  905. package/dist/chunks/multiline-text-input-field-D6yYeHct.es.js.map +0 -1
  906. package/dist/chunks/nimbus-i18n-provider-BbsapOze.cjs.js +0 -2
  907. package/dist/chunks/nimbus-i18n-provider-BbsapOze.cjs.js.map +0 -1
  908. package/dist/chunks/nimbus-i18n-provider-CZh1r8F5.es.js +0 -11
  909. package/dist/chunks/nimbus-i18n-provider-CZh1r8F5.es.js.map +0 -1
  910. package/dist/chunks/nimbus-provider-DrYI3Mb4.cjs.js +0 -2
  911. package/dist/chunks/nimbus-provider-DrYI3Mb4.cjs.js.map +0 -1
  912. package/dist/chunks/nimbus-provider-Dt4CLOBH.es.js +0 -101
  913. package/dist/chunks/nimbus-provider-Dt4CLOBH.es.js.map +0 -1
  914. package/dist/chunks/normalize-messages-CaDzkuUm.cjs.js +0 -2
  915. package/dist/chunks/normalize-messages-CaDzkuUm.cjs.js.map +0 -1
  916. package/dist/chunks/normalize-messages-D5T4I93D.es.js +0 -52
  917. package/dist/chunks/normalize-messages-D5T4I93D.es.js.map +0 -1
  918. package/dist/chunks/number-input-BGpHu2lB.cjs.js +0 -2
  919. package/dist/chunks/number-input-BGpHu2lB.cjs.js.map +0 -1
  920. package/dist/chunks/number-input-CKAwKm69.es.js +0 -686
  921. package/dist/chunks/number-input-CKAwKm69.es.js.map +0 -1
  922. package/dist/chunks/number-input-field-BNbMhFmZ.cjs.js +0 -2
  923. package/dist/chunks/number-input-field-BNbMhFmZ.cjs.js.map +0 -1
  924. package/dist/chunks/number-input-field-C69Ksf0q.es.js +0 -51
  925. package/dist/chunks/number-input-field-C69Ksf0q.es.js.map +0 -1
  926. package/dist/chunks/openLink-BNz58j4a.es.js +0 -105
  927. package/dist/chunks/openLink-BNz58j4a.es.js.map +0 -1
  928. package/dist/chunks/openLink-DkCJYbzq.cjs.js +0 -2
  929. package/dist/chunks/openLink-DkCJYbzq.cjs.js.map +0 -1
  930. package/dist/chunks/pagination-BiY0r6-2.es.js +0 -226
  931. package/dist/chunks/pagination-BiY0r6-2.es.js.map +0 -1
  932. package/dist/chunks/pagination-J7n7ZeH_.cjs.js +0 -2
  933. package/dist/chunks/pagination-J7n7ZeH_.cjs.js.map +0 -1
  934. package/dist/chunks/password-input-BjkpqqvR.cjs.js +0 -2
  935. package/dist/chunks/password-input-BjkpqqvR.cjs.js.map +0 -1
  936. package/dist/chunks/password-input-C5zlOKrv.es.js +0 -47
  937. package/dist/chunks/password-input-C5zlOKrv.es.js.map +0 -1
  938. package/dist/chunks/password-input-field-BMg8r-ZX.es.js +0 -56
  939. package/dist/chunks/password-input-field-BMg8r-ZX.es.js.map +0 -1
  940. package/dist/chunks/password-input-field-CCImx9wE.cjs.js +0 -2
  941. package/dist/chunks/password-input-field-CCImx9wE.cjs.js.map +0 -1
  942. package/dist/chunks/platform-BDLy2vDY.cjs.js +0 -2
  943. package/dist/chunks/platform-BDLy2vDY.cjs.js.map +0 -1
  944. package/dist/chunks/platform-Z5fvtFmM.es.js +0 -47
  945. package/dist/chunks/platform-Z5fvtFmM.es.js.map +0 -1
  946. package/dist/chunks/popover-CuA9VugH.es.js +0 -11
  947. package/dist/chunks/popover-CuA9VugH.es.js.map +0 -1
  948. package/dist/chunks/popover-Dhg--8YC.cjs.js +0 -2
  949. package/dist/chunks/popover-Dhg--8YC.cjs.js.map +0 -1
  950. package/dist/chunks/progress-bar-6t2IcBps.cjs.js +0 -2
  951. package/dist/chunks/progress-bar-6t2IcBps.cjs.js.map +0 -1
  952. package/dist/chunks/progress-bar-DRqomrJz.es.js +0 -76
  953. package/dist/chunks/progress-bar-DRqomrJz.es.js.map +0 -1
  954. package/dist/chunks/radio-input-BBvyHOLd.cjs.js +0 -2
  955. package/dist/chunks/radio-input-BBvyHOLd.cjs.js.map +0 -1
  956. package/dist/chunks/radio-input-Bonx28Iu.es.js +0 -376
  957. package/dist/chunks/radio-input-Bonx28Iu.es.js.map +0 -1
  958. package/dist/chunks/range-calendar-CzjsGfoF.cjs.js +0 -2
  959. package/dist/chunks/range-calendar-CzjsGfoF.cjs.js.map +0 -1
  960. package/dist/chunks/range-calendar-goIyjM90.es.js +0 -229
  961. package/dist/chunks/range-calendar-goIyjM90.es.js.map +0 -1
  962. package/dist/chunks/rich-text-input-CQsTr4Gf.cjs.js +0 -4
  963. package/dist/chunks/rich-text-input-CQsTr4Gf.cjs.js.map +0 -1
  964. package/dist/chunks/rich-text-input-lcyJvKnq.es.js +0 -1200
  965. package/dist/chunks/rich-text-input-lcyJvKnq.es.js.map +0 -1
  966. package/dist/chunks/scoped-search-input-DNgrz2rB.es.js +0 -151
  967. package/dist/chunks/scoped-search-input-DNgrz2rB.es.js.map +0 -1
  968. package/dist/chunks/scoped-search-input-yE6YcP7W.cjs.js +0 -2
  969. package/dist/chunks/scoped-search-input-yE6YcP7W.cjs.js.map +0 -1
  970. package/dist/chunks/scrollIntoView-B7D07fJk.es.js +0 -96
  971. package/dist/chunks/scrollIntoView-B7D07fJk.es.js.map +0 -1
  972. package/dist/chunks/scrollIntoView-BE5bh59O.cjs.js +0 -2
  973. package/dist/chunks/scrollIntoView-BE5bh59O.cjs.js.map +0 -1
  974. package/dist/chunks/search-input-BinM5Y8r.es.js +0 -364
  975. package/dist/chunks/search-input-BinM5Y8r.es.js.map +0 -1
  976. package/dist/chunks/search-input-CK78tugC.cjs.js +0 -2
  977. package/dist/chunks/search-input-CK78tugC.cjs.js.map +0 -1
  978. package/dist/chunks/search-input-field-DiymorOb.cjs.js +0 -2
  979. package/dist/chunks/search-input-field-DiymorOb.cjs.js.map +0 -1
  980. package/dist/chunks/search-input-field-p_kP223y.es.js +0 -51
  981. package/dist/chunks/search-input-field-p_kP223y.es.js.map +0 -1
  982. package/dist/chunks/select-BGQ8xpWl.cjs.js +0 -2
  983. package/dist/chunks/select-BGQ8xpWl.cjs.js.map +0 -1
  984. package/dist/chunks/select-BXTnPwyv.es.js +0 -770
  985. package/dist/chunks/select-BXTnPwyv.es.js.map +0 -1
  986. package/dist/chunks/separator-C86a1TZ3.cjs.js +0 -2
  987. package/dist/chunks/separator-C86a1TZ3.cjs.js.map +0 -1
  988. package/dist/chunks/separator-DmOGoG79.es.js +0 -24
  989. package/dist/chunks/separator-DmOGoG79.es.js.map +0 -1
  990. package/dist/chunks/split-button-D0tmM7ib.es.js +0 -106
  991. package/dist/chunks/split-button-D0tmM7ib.es.js.map +0 -1
  992. package/dist/chunks/split-button-fWShbx9Y.cjs.js +0 -2
  993. package/dist/chunks/split-button-fWShbx9Y.cjs.js.map +0 -1
  994. package/dist/chunks/switch-DMtV3mOG.es.js +0 -67
  995. package/dist/chunks/switch-DMtV3mOG.es.js.map +0 -1
  996. package/dist/chunks/switch-Dy0v5Aj4.cjs.js +0 -2
  997. package/dist/chunks/switch-Dy0v5Aj4.cjs.js.map +0 -1
  998. package/dist/chunks/tabs-CKm4TvSS.es.js +0 -521
  999. package/dist/chunks/tabs-CKm4TvSS.es.js.map +0 -1
  1000. package/dist/chunks/tabs-DXmjn0vH.cjs.js +0 -2
  1001. package/dist/chunks/tabs-DXmjn0vH.cjs.js.map +0 -1
  1002. package/dist/chunks/tag-group-B7QZhXAF.cjs.js +0 -2
  1003. package/dist/chunks/tag-group-B7QZhXAF.cjs.js.map +0 -1
  1004. package/dist/chunks/tag-group-CpLRtc1p.es.js +0 -613
  1005. package/dist/chunks/tag-group-CpLRtc1p.es.js.map +0 -1
  1006. package/dist/chunks/text-BtRhIklG.cjs.js +0 -2
  1007. package/dist/chunks/text-BtRhIklG.cjs.js.map +0 -1
  1008. package/dist/chunks/text-CIb_VDvO.es.js +0 -24
  1009. package/dist/chunks/text-CIb_VDvO.es.js.map +0 -1
  1010. package/dist/chunks/text-input-CaPCyZ2-.cjs.js +0 -2
  1011. package/dist/chunks/text-input-CaPCyZ2-.cjs.js.map +0 -1
  1012. package/dist/chunks/text-input-DzVWAlCx.es.js +0 -78
  1013. package/dist/chunks/text-input-DzVWAlCx.es.js.map +0 -1
  1014. package/dist/chunks/text-input-field-_4RX-6hV.cjs.js +0 -2
  1015. package/dist/chunks/text-input-field-_4RX-6hV.cjs.js.map +0 -1
  1016. package/dist/chunks/text-input-field-cIf83Y5M.es.js +0 -58
  1017. package/dist/chunks/text-input-field-cIf83Y5M.es.js.map +0 -1
  1018. package/dist/chunks/time-input-B4_-rL-A.es.js +0 -21
  1019. package/dist/chunks/time-input-B4_-rL-A.es.js.map +0 -1
  1020. package/dist/chunks/time-input-Du0BWaGv.cjs.js +0 -2
  1021. package/dist/chunks/time-input-Du0BWaGv.cjs.js.map +0 -1
  1022. package/dist/chunks/toggle-button-Bu2ZxXdl.cjs.js +0 -2
  1023. package/dist/chunks/toggle-button-Bu2ZxXdl.cjs.js.map +0 -1
  1024. package/dist/chunks/toggle-button-Dv3hro8W.es.js +0 -30
  1025. package/dist/chunks/toggle-button-Dv3hro8W.es.js.map +0 -1
  1026. package/dist/chunks/toggle-button-group-BWpmMkEz.es.js +0 -29
  1027. package/dist/chunks/toggle-button-group-BWpmMkEz.es.js.map +0 -1
  1028. package/dist/chunks/toggle-button-group-Lfn3zYmC.cjs.js +0 -2
  1029. package/dist/chunks/toggle-button-group-Lfn3zYmC.cjs.js.map +0 -1
  1030. package/dist/chunks/toolbar-BkLgY_VF.es.js +0 -61
  1031. package/dist/chunks/toolbar-BkLgY_VF.es.js.map +0 -1
  1032. package/dist/chunks/toolbar-CKursXK9.cjs.js +0 -2
  1033. package/dist/chunks/toolbar-CKursXK9.cjs.js.map +0 -1
  1034. package/dist/chunks/tooltip-Bv-QlJ1O.cjs.js +0 -2
  1035. package/dist/chunks/tooltip-Bv-QlJ1O.cjs.js.map +0 -1
  1036. package/dist/chunks/tooltip-D3QrrizN.es.js +0 -301
  1037. package/dist/chunks/tooltip-D3QrrizN.es.js.map +0 -1
  1038. package/dist/chunks/useButton-BwsmYrml.cjs.js +0 -2
  1039. package/dist/chunks/useButton-BwsmYrml.cjs.js.map +0 -1
  1040. package/dist/chunks/useButton-CiPiehgC.es.js +0 -57
  1041. package/dist/chunks/useButton-CiPiehgC.es.js.map +0 -1
  1042. package/dist/chunks/useCollator-BjnMaGJd.es.js +0 -12
  1043. package/dist/chunks/useCollator-BjnMaGJd.es.js.map +0 -1
  1044. package/dist/chunks/useCollator-Lsi9B90Z.cjs.js +0 -2
  1045. package/dist/chunks/useCollator-Lsi9B90Z.cjs.js.map +0 -1
  1046. package/dist/chunks/useControlledState-D0L6S_5r.cjs.js +0 -2
  1047. package/dist/chunks/useControlledState-D0L6S_5r.cjs.js.map +0 -1
  1048. package/dist/chunks/useControlledState-u436Wbp1.es.js +0 -31
  1049. package/dist/chunks/useControlledState-u436Wbp1.es.js.map +0 -1
  1050. package/dist/chunks/useDateFormatter-9juUpmrj.es.js +0 -1634
  1051. package/dist/chunks/useDateFormatter-9juUpmrj.es.js.map +0 -1
  1052. package/dist/chunks/useDateFormatter-Bq98mt4A.cjs.js +0 -2
  1053. package/dist/chunks/useDateFormatter-Bq98mt4A.cjs.js.map +0 -1
  1054. package/dist/chunks/useDisclosureState-CWZTR2xM.es.js +0 -87
  1055. package/dist/chunks/useDisclosureState-CWZTR2xM.es.js.map +0 -1
  1056. package/dist/chunks/useDisclosureState-mIvoKolL.cjs.js +0 -2
  1057. package/dist/chunks/useDisclosureState-mIvoKolL.cjs.js.map +0 -1
  1058. package/dist/chunks/useEvent-CRo5BZDX.es.js +0 -22
  1059. package/dist/chunks/useEvent-CRo5BZDX.es.js.map +0 -1
  1060. package/dist/chunks/useEvent-D0r31Azw.cjs.js +0 -2
  1061. package/dist/chunks/useEvent-D0r31Azw.cjs.js.map +0 -1
  1062. package/dist/chunks/useField-CHrpmkxe.es.js +0 -36
  1063. package/dist/chunks/useField-CHrpmkxe.es.js.map +0 -1
  1064. package/dist/chunks/useField-lK6K_h1G.cjs.js +0 -2
  1065. package/dist/chunks/useField-lK6K_h1G.cjs.js.map +0 -1
  1066. package/dist/chunks/useFocus-9leARHB4.cjs.js +0 -2
  1067. package/dist/chunks/useFocus-9leARHB4.cjs.js.map +0 -1
  1068. package/dist/chunks/useFocus-CrgTusM3.es.js +0 -29
  1069. package/dist/chunks/useFocus-CrgTusM3.es.js.map +0 -1
  1070. package/dist/chunks/useFocusRing-B7_ogYbr.cjs.js +0 -2
  1071. package/dist/chunks/useFocusRing-B7_ogYbr.cjs.js.map +0 -1
  1072. package/dist/chunks/useFocusRing-FPt2Rwil.es.js +0 -35
  1073. package/dist/chunks/useFocusRing-FPt2Rwil.es.js.map +0 -1
  1074. package/dist/chunks/useFocusVisible-B3HmFL2Q.es.js +0 -111
  1075. package/dist/chunks/useFocusVisible-B3HmFL2Q.es.js.map +0 -1
  1076. package/dist/chunks/useFocusVisible-DfE3Z6QO.cjs.js +0 -2
  1077. package/dist/chunks/useFocusVisible-DfE3Z6QO.cjs.js.map +0 -1
  1078. package/dist/chunks/useFocusWithin-CX8GdFVw.cjs.js +0 -2
  1079. package/dist/chunks/useFocusWithin-CX8GdFVw.cjs.js.map +0 -1
  1080. package/dist/chunks/useFocusWithin-EFOG-Jn1.es.js +0 -56
  1081. package/dist/chunks/useFocusWithin-EFOG-Jn1.es.js.map +0 -1
  1082. package/dist/chunks/useFocusable-C7VjcJHL.cjs.js +0 -2
  1083. package/dist/chunks/useFocusable-C7VjcJHL.cjs.js.map +0 -1
  1084. package/dist/chunks/useFocusable-Cs6i58WP.es.js +0 -77
  1085. package/dist/chunks/useFocusable-Cs6i58WP.es.js.map +0 -1
  1086. package/dist/chunks/useFormReset-BGuIA_u2.es.js +0 -21
  1087. package/dist/chunks/useFormReset-BGuIA_u2.es.js.map +0 -1
  1088. package/dist/chunks/useFormReset-COoih4uI.cjs.js +0 -2
  1089. package/dist/chunks/useFormReset-COoih4uI.cjs.js.map +0 -1
  1090. package/dist/chunks/useFormValidation-BCVLtR0U.es.js +0 -202
  1091. package/dist/chunks/useFormValidation-BCVLtR0U.es.js.map +0 -1
  1092. package/dist/chunks/useFormValidation-BfTV0EQ1.cjs.js +0 -2
  1093. package/dist/chunks/useFormValidation-BfTV0EQ1.cjs.js.map +0 -1
  1094. package/dist/chunks/useGridListItem-Bjqm2KGe.cjs.js +0 -2
  1095. package/dist/chunks/useGridListItem-Bjqm2KGe.cjs.js.map +0 -1
  1096. package/dist/chunks/useGridListItem-CJrr2QNO.es.js +0 -811
  1097. package/dist/chunks/useGridListItem-CJrr2QNO.es.js.map +0 -1
  1098. package/dist/chunks/useHasTabbableChild-DXq72IE3.es.js +0 -35
  1099. package/dist/chunks/useHasTabbableChild-DXq72IE3.es.js.map +0 -1
  1100. package/dist/chunks/useHasTabbableChild-ytnnMmC_.cjs.js +0 -2
  1101. package/dist/chunks/useHasTabbableChild-ytnnMmC_.cjs.js.map +0 -1
  1102. package/dist/chunks/useHover-BQRSM3qT.es.js +0 -86
  1103. package/dist/chunks/useHover-BQRSM3qT.es.js.map +0 -1
  1104. package/dist/chunks/useHover-xrdh1GG9.cjs.js +0 -2
  1105. package/dist/chunks/useHover-xrdh1GG9.cjs.js.map +0 -1
  1106. package/dist/chunks/useLabel-BFqAB17s.cjs.js +0 -2
  1107. package/dist/chunks/useLabel-BFqAB17s.cjs.js.map +0 -1
  1108. package/dist/chunks/useLabel-DQaRD22u.es.js +0 -24
  1109. package/dist/chunks/useLabel-DQaRD22u.es.js.map +0 -1
  1110. package/dist/chunks/useLabels-BDqWMehi.es.js +0 -18
  1111. package/dist/chunks/useLabels-BDqWMehi.es.js.map +0 -1
  1112. package/dist/chunks/useLabels-C_UIaxmz.cjs.js +0 -2
  1113. package/dist/chunks/useLabels-C_UIaxmz.cjs.js.map +0 -1
  1114. package/dist/chunks/useListData-BGzhnkuO.cjs.js +0 -2
  1115. package/dist/chunks/useListData-BGzhnkuO.cjs.js.map +0 -1
  1116. package/dist/chunks/useListData-CX8_NxJv.es.js +0 -211
  1117. package/dist/chunks/useListData-CX8_NxJv.es.js.map +0 -1
  1118. package/dist/chunks/useListState-BjCb6LLO.cjs.js +0 -2
  1119. package/dist/chunks/useListState-BjCb6LLO.cjs.js.map +0 -1
  1120. package/dist/chunks/useListState-Dd0Mtev3.es.js +0 -138
  1121. package/dist/chunks/useListState-Dd0Mtev3.es.js.map +0 -1
  1122. package/dist/chunks/useLocalizedStringFormatter-CJ-iYW1Z.cjs.js +0 -2
  1123. package/dist/chunks/useLocalizedStringFormatter-CJ-iYW1Z.cjs.js.map +0 -1
  1124. package/dist/chunks/useLocalizedStringFormatter-DWb0DkHL.es.js +0 -53
  1125. package/dist/chunks/useLocalizedStringFormatter-DWb0DkHL.es.js.map +0 -1
  1126. package/dist/chunks/usePress-BuLomD_X.es.js +0 -456
  1127. package/dist/chunks/usePress-BuLomD_X.es.js.map +0 -1
  1128. package/dist/chunks/usePress-MEEljcWP.cjs.js +0 -8
  1129. package/dist/chunks/usePress-MEEljcWP.cjs.js.map +0 -1
  1130. package/dist/chunks/useProgressBar--OvVKto2.es.js +0 -48
  1131. package/dist/chunks/useProgressBar--OvVKto2.es.js.map +0 -1
  1132. package/dist/chunks/useProgressBar-C_mJ1JKi.cjs.js +0 -2
  1133. package/dist/chunks/useProgressBar-C_mJ1JKi.cjs.js.map +0 -1
  1134. package/dist/chunks/useSpinButton-D8B_x4uj.es.js +0 -433
  1135. package/dist/chunks/useSpinButton-D8B_x4uj.es.js.map +0 -1
  1136. package/dist/chunks/useSpinButton-RB0J1fiP.cjs.js +0 -2
  1137. package/dist/chunks/useSpinButton-RB0J1fiP.cjs.js.map +0 -1
  1138. package/dist/chunks/useSyncRef-BRCOnlwB.cjs.js +0 -2
  1139. package/dist/chunks/useSyncRef-BRCOnlwB.cjs.js.map +0 -1
  1140. package/dist/chunks/useSyncRef-BpLviItW.es.js +0 -13
  1141. package/dist/chunks/useSyncRef-BpLviItW.es.js.map +0 -1
  1142. package/dist/chunks/useTextField-B1RrrtMI.cjs.js +0 -2
  1143. package/dist/chunks/useTextField-B1RrrtMI.cjs.js.map +0 -1
  1144. package/dist/chunks/useTextField-yuaT8-G4.es.js +0 -91
  1145. package/dist/chunks/useTextField-yuaT8-G4.es.js.map +0 -1
  1146. package/dist/chunks/useToggle-DKP3zVOY.es.js +0 -62
  1147. package/dist/chunks/useToggle-DKP3zVOY.es.js.map +0 -1
  1148. package/dist/chunks/useToggle-DWRQYar0.cjs.js +0 -2
  1149. package/dist/chunks/useToggle-DWRQYar0.cjs.js.map +0 -1
  1150. package/dist/chunks/useToggleState-D7k4zllv.cjs.js +0 -2
  1151. package/dist/chunks/useToggleState-D7k4zllv.cjs.js.map +0 -1
  1152. package/dist/chunks/useToggleState-Uh0wTgdI.es.js +0 -22
  1153. package/dist/chunks/useToggleState-Uh0wTgdI.es.js.map +0 -1
  1154. package/dist/chunks/useToolbar-CbJkugif.es.js +0 -55
  1155. package/dist/chunks/useToolbar-CbJkugif.es.js.map +0 -1
  1156. package/dist/chunks/useToolbar-D0DQSSBf.cjs.js +0 -2
  1157. package/dist/chunks/useToolbar-D0DQSSBf.cjs.js.map +0 -1
  1158. package/dist/chunks/useUpdateEffect-CCDx8D4X.es.js +0 -14
  1159. package/dist/chunks/useUpdateEffect-CCDx8D4X.es.js.map +0 -1
  1160. package/dist/chunks/useUpdateEffect-sk3kiVGz.cjs.js +0 -2
  1161. package/dist/chunks/useUpdateEffect-sk3kiVGz.cjs.js.map +0 -1
  1162. package/dist/chunks/utils-B6pV5ewr.es.js +0 -128
  1163. package/dist/chunks/utils-B6pV5ewr.es.js.map +0 -1
  1164. package/dist/chunks/utils-Bv1frUk6.cjs.js +0 -2
  1165. package/dist/chunks/utils-Bv1frUk6.cjs.js.map +0 -1
  1166. package/dist/chunks/utils-DVb3jcp5.cjs.js +0 -2
  1167. package/dist/chunks/utils-DVb3jcp5.cjs.js.map +0 -1
  1168. package/dist/chunks/utils-oAGBWzI5.es.js +0 -190
  1169. package/dist/chunks/utils-oAGBWzI5.es.js.map +0 -1
  1170. package/dist/chunks/visually-hidden-BjtXUoFK.cjs.js +0 -2
  1171. package/dist/chunks/visually-hidden-BjtXUoFK.cjs.js.map +0 -1
  1172. package/dist/chunks/visually-hidden-Dj5CT-u_.es.js +0 -11
  1173. package/dist/chunks/visually-hidden-Dj5CT-u_.es.js.map +0 -1
@@ -1,4429 +0,0 @@
1
- import { jsx as x, jsxs as R, Fragment as ze } from "react/jsx-runtime";
2
- import E, { useRef as P, useMemo as K, useCallback as V, useEffect as de, useState as X, forwardRef as Ue, createContext as ce, useContext as B } from "react";
3
- import { createSlotRecipeContext as Jl, mergeRefs as Te } from "@chakra-ui/react";
4
- import { n as Ee, u as oe } from "./normalize-messages-D5T4I93D.es.js";
5
- import { ArrowDownward as Ql, KeyboardArrowDown as _l, KeyboardArrowRight as en, PushPin as tn, VisibilityOff as ln, Visibility as nn, Refresh as on, WrapText as rn, ShortText as an, DensitySmall as sn, FormatAlignJustify as un, Settings as dn, ViewWeek as cn, ViewDay as fn } from "@commercetools/nimbus-icons";
6
- import { S as xe } from "./simple-grid-DU5v66TG.es.js";
7
- import { S as pn } from "./search-input-BinM5Y8r.es.js";
8
- import { $ as mn, D as Ve } from "./draggable-list-C8IxYWJ1.es.js";
9
- import { S as He } from "./stack-CoNreM7B.es.js";
10
- import { B as ne } from "./box-DuBoAZvq.es.js";
11
- import { T as Ae } from "./text-CIb_VDvO.es.js";
12
- import { S as Nt } from "./separator-DmOGoG79.es.js";
13
- import { B as hn } from "./button-Dp-F9cZ2.es.js";
14
- import { I as We } from "./icon-toggle-button-D8czvFVW.es.js";
15
- import { T as wt } from "./toolbar-BkLgY_VF.es.js";
16
- import { T as Dt } from "./toggle-button-group-BWpmMkEz.es.js";
17
- import { D as ve } from "./drawer-4wnwFcUV.es.js";
18
- import { T as bn } from "./tabs-CKm4TvSS.es.js";
19
- import { T as Oe } from "./tooltip-D3QrrizN.es.js";
20
- import { I as Ft } from "./icon-button-Cf0LSF4C.es.js";
21
- import { $ as J } from "./useObjectRef-CaJ5pgjX.es.js";
22
- import { $ as It } from "./Button-BjcDZ5eb.es.js";
23
- import { a as Vt, b as St, c as gn } from "./RSPContexts-DLgb84PF.es.js";
24
- import { f as W, m as ue, n as se, o as Le, e as vn, g as Ht, $ as Wt, b as yn, a as $n, h as ee, j as Lt } from "./SelectionManager-CX9btso_.es.js";
25
- import { $ as Ot, a as fe, e as Ge, g as kt, d as xn } from "./utils-B6pV5ewr.es.js";
26
- import { e as De, g as Cn, f as wn, h as Dn, i as Oi } from "./ListBox-RrHJjnuq.es.js";
27
- import { $ as Sn } from "./intlStrings-Cd44R5hT.es.js";
28
- import { a as kn, $ as En } from "./SelectionIndicator-B27AsfqE.es.js";
29
- import { c as tt, $ as jt, g as Pe, f as zn, i as An, j as Rn, a as Ye, k as Tn, h as Yi } from "./CollectionBuilder-BOe312C_.es.js";
30
- import { c as Re, a as lt, $ as L, e as Pn, d as Et } from "./mergeProps-Dsl8k3Ig.es.js";
31
- import { $ as te } from "./filterDOMProps-BSVCO5jK.es.js";
32
- import { c as Bn } from "./OverlayArrow-BIjbCSXk.es.js";
33
- import { c as ye, a as nt, $ as Kn } from "./scrollIntoView-B7D07fJk.es.js";
34
- import { b as _i } from "./useListState-Dd0Mtev3.es.js";
35
- import Mn from "react-dom";
36
- import { $ as Be } from "./useHover-BQRSM3qT.es.js";
37
- import { d as zt } from "./platform-Z5fvtFmM.es.js";
38
- import { a as Nn, b as Fn, $ as Ut } from "./usePress-BuLomD_X.es.js";
39
- import { $ as In, c as Vn } from "./useFocusable-Cs6i58WP.es.js";
40
- import { $ as Hn, f as Wn } from "./useFocusVisible-B3HmFL2Q.es.js";
41
- import { $ as _ } from "./focusSafely-Cwb0Tyy6.es.js";
42
- import { a as At, b as Ln } from "./FocusScope-CqEZq7sr.es.js";
43
- import { $ as $e } from "./getScrollParent-MZgwmCKW.es.js";
44
- import { $ as Se } from "./context-DW7UvQ8z.es.js";
45
- import { $ as Ke } from "./useLocalizedStringFormatter-DWb0DkHL.es.js";
46
- import { $ as we } from "./useFocusRing-FPt2Rwil.es.js";
47
- import { $ as On } from "./useGlobalListeners-BOOfV5Wh.es.js";
48
- import { a as Xe, $ as Rt } from "./VisuallyHidden-BLRzeMsq.es.js";
49
- import { e as jn } from "./openLink-BNz58j4a.es.js";
50
- import { m as je } from "./utils-oAGBWzI5.es.js";
51
- import { e as Un, c as Gn } from "./Header-CiYtrnTw.es.js";
52
- import { $ as Yn } from "./LiveAnnouncer-CsPyaceH.es.js";
53
- import { d as Xn, e as qn } from "./useGridListItem-CJrr2QNO.es.js";
54
- import { $ as Gt } from "./useCollator-BjnMaGJd.es.js";
55
- import { $ as Zn } from "./useHasTabbableChild-DXq72IE3.es.js";
56
- import { $ as Jn } from "./useUpdateEffect-CCDx8D4X.es.js";
57
- import { e as ke } from "./extract-style-props-Cgg8HsH7.es.js";
58
- import { Highlight as Qn } from "@chakra-ui/react/highlight";
59
- import { C as Yt } from "./checkbox-CnXqjwDQ.es.js";
60
- import { F as _n } from "./flex-BqxAMF-7.es.js";
61
- function eo(t) {
62
- let { onMoveStart: e, onMove: l, onMoveEnd: n } = t, o = P({
63
- didMove: !1,
64
- lastPosition: null,
65
- id: null
66
- }), { addGlobalListener: i, removeGlobalListener: r } = On(), u = Re((f, a, p, c) => {
67
- p === 0 && c === 0 || (o.current.didMove || (o.current.didMove = !0, e?.({
68
- type: "movestart",
69
- pointerType: a,
70
- shiftKey: f.shiftKey,
71
- metaKey: f.metaKey,
72
- ctrlKey: f.ctrlKey,
73
- altKey: f.altKey
74
- })), l?.({
75
- type: "move",
76
- pointerType: a,
77
- deltaX: p,
78
- deltaY: c,
79
- shiftKey: f.shiftKey,
80
- metaKey: f.metaKey,
81
- ctrlKey: f.ctrlKey,
82
- altKey: f.altKey
83
- }));
84
- }), s = Re((f, a) => {
85
- Nn(), o.current.didMove && n?.({
86
- type: "moveend",
87
- pointerType: a,
88
- shiftKey: f.shiftKey,
89
- metaKey: f.metaKey,
90
- ctrlKey: f.ctrlKey,
91
- altKey: f.altKey
92
- });
93
- });
94
- return {
95
- moveProps: K(() => {
96
- let f = {}, a = () => {
97
- Fn(), o.current.didMove = !1;
98
- };
99
- if (typeof PointerEvent > "u" && process.env.NODE_ENV === "test") {
100
- let c = (v) => {
101
- if (v.button === 0) {
102
- var $, b, C, g;
103
- u(v, "mouse", v.pageX - ((C = ($ = o.current.lastPosition) === null || $ === void 0 ? void 0 : $.pageX) !== null && C !== void 0 ? C : 0), v.pageY - ((g = (b = o.current.lastPosition) === null || b === void 0 ? void 0 : b.pageY) !== null && g !== void 0 ? g : 0)), o.current.lastPosition = {
104
- pageX: v.pageX,
105
- pageY: v.pageY
106
- };
107
- }
108
- }, m = (v) => {
109
- v.button === 0 && (s(v, "mouse"), r(window, "mousemove", c, !1), r(window, "mouseup", m, !1));
110
- };
111
- f.onMouseDown = (v) => {
112
- v.button === 0 && (a(), v.stopPropagation(), v.preventDefault(), o.current.lastPosition = {
113
- pageX: v.pageX,
114
- pageY: v.pageY
115
- }, i(window, "mousemove", c, !1), i(window, "mouseup", m, !1));
116
- };
117
- let h = (v) => {
118
- let $ = [
119
- ...v.changedTouches
120
- ].findIndex(({ identifier: D }) => D === o.current.id);
121
- if ($ >= 0) {
122
- var b, C;
123
- let { pageX: D, pageY: A } = v.changedTouches[$];
124
- var g, w;
125
- u(v, "touch", D - ((g = (b = o.current.lastPosition) === null || b === void 0 ? void 0 : b.pageX) !== null && g !== void 0 ? g : 0), A - ((w = (C = o.current.lastPosition) === null || C === void 0 ? void 0 : C.pageY) !== null && w !== void 0 ? w : 0)), o.current.lastPosition = {
126
- pageX: D,
127
- pageY: A
128
- };
129
- }
130
- }, y = (v) => {
131
- [
132
- ...v.changedTouches
133
- ].findIndex(({ identifier: b }) => b === o.current.id) >= 0 && (s(v, "touch"), o.current.id = null, r(window, "touchmove", h), r(window, "touchend", y), r(window, "touchcancel", y));
134
- };
135
- f.onTouchStart = (v) => {
136
- if (v.changedTouches.length === 0 || o.current.id != null) return;
137
- let { pageX: $, pageY: b, identifier: C } = v.changedTouches[0];
138
- a(), v.stopPropagation(), v.preventDefault(), o.current.lastPosition = {
139
- pageX: $,
140
- pageY: b
141
- }, o.current.id = C, i(window, "touchmove", h, !1), i(window, "touchend", y, !1), i(window, "touchcancel", y, !1);
142
- };
143
- } else {
144
- let c = (h) => {
145
- if (h.pointerId === o.current.id) {
146
- var y, v;
147
- let C = h.pointerType || "mouse";
148
- var $, b;
149
- u(h, C, h.pageX - (($ = (y = o.current.lastPosition) === null || y === void 0 ? void 0 : y.pageX) !== null && $ !== void 0 ? $ : 0), h.pageY - ((b = (v = o.current.lastPosition) === null || v === void 0 ? void 0 : v.pageY) !== null && b !== void 0 ? b : 0)), o.current.lastPosition = {
150
- pageX: h.pageX,
151
- pageY: h.pageY
152
- };
153
- }
154
- }, m = (h) => {
155
- if (h.pointerId === o.current.id) {
156
- let y = h.pointerType || "mouse";
157
- s(h, y), o.current.id = null, r(window, "pointermove", c, !1), r(window, "pointerup", m, !1), r(window, "pointercancel", m, !1);
158
- }
159
- };
160
- f.onPointerDown = (h) => {
161
- h.button === 0 && o.current.id == null && (a(), h.stopPropagation(), h.preventDefault(), o.current.lastPosition = {
162
- pageX: h.pageX,
163
- pageY: h.pageY
164
- }, o.current.id = h.pointerId, i(window, "pointermove", c, !1), i(window, "pointerup", m, !1), i(window, "pointercancel", m, !1));
165
- };
166
- }
167
- let p = (c, m, h) => {
168
- a(), u(c, "keyboard", m, h), s(c, "keyboard");
169
- };
170
- return f.onKeyDown = (c) => {
171
- switch (c.key) {
172
- case "Left":
173
- case "ArrowLeft":
174
- c.preventDefault(), c.stopPropagation(), p(c, -1, 0);
175
- break;
176
- case "Right":
177
- case "ArrowRight":
178
- c.preventDefault(), c.stopPropagation(), p(c, 1, 0);
179
- break;
180
- case "Up":
181
- case "ArrowUp":
182
- c.preventDefault(), c.stopPropagation(), p(c, 0, -1);
183
- break;
184
- case "Down":
185
- case "ArrowDown":
186
- c.preventDefault(), c.stopPropagation(), p(c, 0, 1);
187
- break;
188
- }
189
- }, f;
190
- }, [
191
- o,
192
- i,
193
- r,
194
- u,
195
- s
196
- ])
197
- };
198
- }
199
- class Xt {
200
- isCell(e) {
201
- return e.type === "cell";
202
- }
203
- isRow(e) {
204
- return e.type === "row" || e.type === "item";
205
- }
206
- isDisabled(e) {
207
- var l;
208
- return this.disabledBehavior === "all" && (((l = e.props) === null || l === void 0 ? void 0 : l.isDisabled) || this.disabledKeys.has(e.key));
209
- }
210
- findPreviousKey(e, l) {
211
- let n = e != null ? this.collection.getKeyBefore(e) : this.collection.getLastKey();
212
- for (; n != null; ) {
213
- let o = this.collection.getItem(n);
214
- if (!o) return null;
215
- if (!this.isDisabled(o) && (!l || l(o))) return n;
216
- n = this.collection.getKeyBefore(n);
217
- }
218
- return null;
219
- }
220
- findNextKey(e, l) {
221
- let n = e != null ? this.collection.getKeyAfter(e) : this.collection.getFirstKey();
222
- for (; n != null; ) {
223
- let o = this.collection.getItem(n);
224
- if (!o) return null;
225
- if (!this.isDisabled(o) && (!l || l(o))) return n;
226
- if (n = this.collection.getKeyAfter(n), n == null) return null;
227
- }
228
- return null;
229
- }
230
- getKeyForItemInRowByIndex(e, l = 0) {
231
- if (l < 0) return null;
232
- let n = this.collection.getItem(e);
233
- if (!n) return null;
234
- let o = 0;
235
- for (let u of W(n, this.collection)) {
236
- var i;
237
- if (u.colSpan && u.colSpan + o > l) return (i = u.key) !== null && i !== void 0 ? i : null;
238
- u.colSpan && (o = o + u.colSpan - 1);
239
- var r;
240
- if (o === l) return (r = u.key) !== null && r !== void 0 ? r : null;
241
- o++;
242
- }
243
- return null;
244
- }
245
- getKeyBelow(e) {
246
- let l = e, n = this.collection.getItem(l);
247
- if (!n) return null;
248
- var o;
249
- if (this.isCell(n) && (l = (o = n.parentKey) !== null && o !== void 0 ? o : null), l == null) return null;
250
- if (l = this.findNextKey(l, (i) => i.type === "item"), l != null) {
251
- if (this.isCell(n)) {
252
- let i = n.colIndex ? n.colIndex : n.index;
253
- return this.getKeyForItemInRowByIndex(l, i);
254
- }
255
- if (this.focusMode === "row") return l;
256
- }
257
- return null;
258
- }
259
- getKeyAbove(e) {
260
- let l = e, n = this.collection.getItem(l);
261
- if (!n) return null;
262
- var o;
263
- if (this.isCell(n) && (l = (o = n.parentKey) !== null && o !== void 0 ? o : null), l == null) return null;
264
- if (l = this.findPreviousKey(l, (i) => i.type === "item"), l != null) {
265
- if (this.isCell(n)) {
266
- let i = n.colIndex ? n.colIndex : n.index;
267
- return this.getKeyForItemInRowByIndex(l, i);
268
- }
269
- if (this.focusMode === "row") return l;
270
- }
271
- return null;
272
- }
273
- getKeyRightOf(e) {
274
- let l = this.collection.getItem(e);
275
- if (!l) return null;
276
- if (this.isRow(l)) {
277
- var n, o;
278
- let f = W(l, this.collection);
279
- var i;
280
- return (i = this.direction === "rtl" ? (n = ue(f)) === null || n === void 0 ? void 0 : n.key : (o = se(f)) === null || o === void 0 ? void 0 : o.key) !== null && i !== void 0 ? i : null;
281
- }
282
- if (this.isCell(l) && l.parentKey != null) {
283
- let f = this.collection.getItem(l.parentKey);
284
- if (!f) return null;
285
- let a = W(f, this.collection);
286
- var r;
287
- let p = (r = this.direction === "rtl" ? Le(a, l.index - 1) : Le(a, l.index + 1)) !== null && r !== void 0 ? r : null;
288
- var u;
289
- if (p) return (u = p.key) !== null && u !== void 0 ? u : null;
290
- var s;
291
- if (this.focusMode === "row") return (s = l.parentKey) !== null && s !== void 0 ? s : null;
292
- var d;
293
- return (d = this.direction === "rtl" ? this.getFirstKey(e) : this.getLastKey(e)) !== null && d !== void 0 ? d : null;
294
- }
295
- return null;
296
- }
297
- getKeyLeftOf(e) {
298
- let l = this.collection.getItem(e);
299
- if (!l) return null;
300
- if (this.isRow(l)) {
301
- var n, o;
302
- let f = W(l, this.collection);
303
- var i;
304
- return (i = this.direction === "rtl" ? (n = se(f)) === null || n === void 0 ? void 0 : n.key : (o = ue(f)) === null || o === void 0 ? void 0 : o.key) !== null && i !== void 0 ? i : null;
305
- }
306
- if (this.isCell(l) && l.parentKey != null) {
307
- let f = this.collection.getItem(l.parentKey);
308
- if (!f) return null;
309
- let a = W(f, this.collection);
310
- var r;
311
- let p = (r = this.direction === "rtl" ? Le(a, l.index + 1) : Le(a, l.index - 1)) !== null && r !== void 0 ? r : null;
312
- var u;
313
- if (p) return (u = p.key) !== null && u !== void 0 ? u : null;
314
- var s;
315
- if (this.focusMode === "row") return (s = l.parentKey) !== null && s !== void 0 ? s : null;
316
- var d;
317
- return (d = this.direction === "rtl" ? this.getLastKey(e) : this.getFirstKey(e)) !== null && d !== void 0 ? d : null;
318
- }
319
- return null;
320
- }
321
- getFirstKey(e, l) {
322
- let n = e ?? null, o;
323
- if (n != null) {
324
- if (o = this.collection.getItem(n), !o) return null;
325
- if (this.isCell(o) && !l && o.parentKey != null) {
326
- var i;
327
- let d = this.collection.getItem(o.parentKey);
328
- if (!d) return null;
329
- var r;
330
- return (r = (i = se(W(d, this.collection))) === null || i === void 0 ? void 0 : i.key) !== null && r !== void 0 ? r : null;
331
- }
332
- }
333
- if (n = this.findNextKey(void 0, (d) => d.type === "item"), n != null && (o && this.isCell(o) && l || this.focusMode === "cell")) {
334
- var u;
335
- let d = this.collection.getItem(n);
336
- if (!d) return null;
337
- var s;
338
- n = (s = (u = se(W(d, this.collection))) === null || u === void 0 ? void 0 : u.key) !== null && s !== void 0 ? s : null;
339
- }
340
- return n;
341
- }
342
- getLastKey(e, l) {
343
- let n = e ?? null, o;
344
- if (n != null) {
345
- if (o = this.collection.getItem(n), !o) return null;
346
- if (this.isCell(o) && !l && o.parentKey != null) {
347
- var i;
348
- let d = this.collection.getItem(o.parentKey);
349
- if (!d) return null;
350
- let f = W(d, this.collection);
351
- var r;
352
- return (r = (i = ue(f)) === null || i === void 0 ? void 0 : i.key) !== null && r !== void 0 ? r : null;
353
- }
354
- }
355
- if (n = this.findPreviousKey(void 0, (d) => d.type === "item"), n != null && (o && this.isCell(o) && l || this.focusMode === "cell")) {
356
- var u;
357
- let d = this.collection.getItem(n);
358
- if (!d) return null;
359
- let f = W(d, this.collection);
360
- var s;
361
- n = (s = (u = ue(f)) === null || u === void 0 ? void 0 : u.key) !== null && s !== void 0 ? s : null;
362
- }
363
- return n;
364
- }
365
- getKeyPageAbove(e) {
366
- let l = e, n = this.layoutDelegate.getItemRect(l);
367
- if (!n) return null;
368
- let o = Math.max(0, n.y + n.height - this.layoutDelegate.getVisibleRect().height);
369
- for (; n && n.y > o && l != null; ) {
370
- var i;
371
- if (l = (i = this.getKeyAbove(l)) !== null && i !== void 0 ? i : null, l == null) break;
372
- n = this.layoutDelegate.getItemRect(l);
373
- }
374
- return l;
375
- }
376
- getKeyPageBelow(e) {
377
- let l = e, n = this.layoutDelegate.getItemRect(l);
378
- if (!n) return null;
379
- let o = this.layoutDelegate.getVisibleRect().height, i = Math.min(this.layoutDelegate.getContentSize().height, n.y + o);
380
- for (; n && n.y + n.height < i; ) {
381
- let r = this.getKeyBelow(l);
382
- if (r == null) break;
383
- n = this.layoutDelegate.getItemRect(r), l = r;
384
- }
385
- return l;
386
- }
387
- getKeyForSearch(e, l) {
388
- let n = l ?? null;
389
- if (!this.collator) return null;
390
- let o = this.collection;
391
- if (n = l ?? this.getFirstKey(), n == null) return null;
392
- let i = o.getItem(n);
393
- if (!i) return null;
394
- var r;
395
- i.type === "cell" && (n = (r = i.parentKey) !== null && r !== void 0 ? r : null);
396
- let u = !1;
397
- for (; n != null; ) {
398
- let f = o.getItem(n);
399
- if (!f) return null;
400
- if (f.textValue) {
401
- let a = f.textValue.slice(0, e.length);
402
- if (this.collator.compare(a, e) === 0) {
403
- var s, d;
404
- return this.isRow(f) && this.focusMode === "cell" ? (d = (s = se(W(f, this.collection))) === null || s === void 0 ? void 0 : s.key) !== null && d !== void 0 ? d : null : f.key;
405
- }
406
- }
407
- n = this.findNextKey(n, (a) => a.type === "item"), n == null && !u && (n = this.getFirstKey(), u = !0);
408
- }
409
- return null;
410
- }
411
- constructor(e) {
412
- 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.");
413
- this.layoutDelegate = e.layoutDelegate || (e.layout ? new to(e.layout) : new Un(e.ref));
414
- var l;
415
- this.focusMode = (l = e.focusMode) !== null && l !== void 0 ? l : "row";
416
- }
417
- }
418
- class to {
419
- getContentSize() {
420
- return this.layout.getContentSize();
421
- }
422
- getItemRect(e) {
423
- var l;
424
- return ((l = this.layout.getLayoutInfo(e)) === null || l === void 0 ? void 0 : l.rect) || null;
425
- }
426
- getVisibleRect() {
427
- return this.layout.virtualizer.visibleRect;
428
- }
429
- constructor(e) {
430
- this.layout = e;
431
- }
432
- }
433
- const ot = /* @__PURE__ */ new WeakMap();
434
- function lo(t, e, l) {
435
- let { isVirtualized: n, disallowTypeAhead: o, keyboardDelegate: i, focusMode: r, scrollRef: u, getRowText: s, onRowAction: d, onCellAction: f, escapeKeyBehavior: a = "clearSelection", shouldSelectOnPressUp: p } = t, { selectionManager: c } = e;
436
- !t["aria-label"] && !t["aria-labelledby"] && console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
437
- let m = Gt({
438
- usage: "search",
439
- sensitivity: "base"
440
- }), { direction: h } = Se(), y = e.selectionManager.disabledBehavior, v = K(() => i || new Xt({
441
- collection: e.collection,
442
- disabledKeys: e.disabledKeys,
443
- disabledBehavior: y,
444
- ref: l,
445
- direction: h,
446
- collator: m,
447
- focusMode: r
448
- }), [
449
- i,
450
- e.collection,
451
- e.disabledKeys,
452
- y,
453
- l,
454
- h,
455
- m,
456
- r
457
- ]), { collectionProps: $ } = vn({
458
- ref: l,
459
- selectionManager: c,
460
- keyboardDelegate: v,
461
- isVirtualized: n,
462
- scrollRef: u,
463
- disallowTypeAhead: o,
464
- escapeKeyBehavior: a
465
- }), b = lt(t.id);
466
- ot.set(e, {
467
- keyboardDelegate: v,
468
- actions: {
469
- onRowAction: d,
470
- onCellAction: f
471
- },
472
- shouldSelectOnPressUp: p
473
- });
474
- let C = Xn({
475
- selectionManager: c,
476
- hasItemActions: !!(d || f)
477
- }), g = te(t, {
478
- labelable: !0
479
- }), w = V((z) => {
480
- if (c.isFocused) {
481
- z.currentTarget.contains(z.target) || c.setFocused(!1);
482
- return;
483
- }
484
- z.currentTarget.contains(z.target) && c.setFocused(!0);
485
- }, [
486
- c
487
- ]), D = K(() => ({
488
- onBlur: $.onBlur,
489
- onFocus: w
490
- }), [
491
- w,
492
- $.onBlur
493
- ]), A = Zn(l, {
494
- isDisabled: e.collection.size !== 0
495
- }), T = L(
496
- g,
497
- {
498
- role: "grid",
499
- id: b,
500
- "aria-multiselectable": c.selectionMode === "multiple" ? "true" : void 0
501
- },
502
- e.isKeyboardNavigationDisabled ? D : $,
503
- // If collection is empty, make sure the grid is tabbable unless there is a child tabbable element.
504
- e.collection.size === 0 && {
505
- tabIndex: A ? -1 : 0
506
- } || void 0,
507
- C
508
- );
509
- return n && (T["aria-rowcount"] = e.collection.size, T["aria-colcount"] = e.collection.columnCount), qn({
510
- getRowText: s
511
- }, e), {
512
- gridProps: T
513
- };
514
- }
515
- function no() {
516
- return {
517
- rowGroupProps: {
518
- role: "rowgroup"
519
- }
520
- };
521
- }
522
- function oo(t, e, l) {
523
- var n, o;
524
- let { node: i, isVirtualized: r, shouldSelectOnPressUp: u, onAction: s } = t, { actions: d, shouldSelectOnPressUp: f } = ot.get(e), a = d.onRowAction ? () => {
525
- var y;
526
- return (y = d.onRowAction) === null || y === void 0 ? void 0 : y.call(d, i.key);
527
- } : s, { itemProps: p, ...c } = Ht({
528
- selectionManager: e.selectionManager,
529
- key: i.key,
530
- ref: l,
531
- isVirtualized: r,
532
- shouldSelectOnPressUp: f || u,
533
- onAction: a || !(i == null || (n = i.props) === null || n === void 0) && n.onAction ? Pn(i == null || (o = i.props) === null || o === void 0 ? void 0 : o.onAction, a) : void 0,
534
- isDisabled: e.collection.size === 0
535
- }), m = e.selectionManager.isSelected(i.key), h = {
536
- role: "row",
537
- "aria-selected": e.selectionManager.selectionMode !== "none" ? m : void 0,
538
- "aria-disabled": c.isDisabled || void 0,
539
- ...p
540
- };
541
- return r && (h["aria-rowindex"] = i.index + 1), {
542
- rowProps: h,
543
- ...c
544
- };
545
- }
546
- function qt(t, e, l) {
547
- let { node: n, isVirtualized: o, focusMode: i = "child", shouldSelectOnPressUp: r, onAction: u } = t, { direction: s } = Se(), { keyboardDelegate: d, actions: { onCellAction: f } } = ot.get(e), a = P(null), p = () => {
548
- if (l.current) {
549
- let b = At(l.current);
550
- if (i === "child") {
551
- if (l.current.contains(document.activeElement) && l.current !== document.activeElement) return;
552
- let C = e.selectionManager.childFocusStrategy === "last" ? Je(b) : b.firstChild();
553
- if (C) {
554
- _(C);
555
- return;
556
- }
557
- }
558
- (a.current != null && n.key !== a.current || !l.current.contains(document.activeElement)) && _(l.current);
559
- }
560
- }, { itemProps: c, isPressed: m } = Ht({
561
- selectionManager: e.selectionManager,
562
- key: n.key,
563
- ref: l,
564
- isVirtualized: o,
565
- focus: p,
566
- shouldSelectOnPressUp: r,
567
- onAction: f ? () => f(n.key) : u,
568
- isDisabled: e.collection.size === 0
569
- }), h = (b) => {
570
- if (!b.currentTarget.contains(b.target) || e.isKeyboardNavigationDisabled || !l.current || !document.activeElement) return;
571
- let C = At(l.current);
572
- switch (C.currentNode = document.activeElement, b.key) {
573
- case "ArrowLeft": {
574
- let z = s === "rtl" ? C.nextNode() : C.previousNode();
575
- if (i === "child" && z === l.current && (z = null), b.preventDefault(), b.stopPropagation(), z)
576
- _(z), ye(z, {
577
- containingElement: $e(l.current)
578
- });
579
- else {
580
- var g;
581
- if (((g = d.getKeyLeftOf) === null || g === void 0 ? void 0 : g.call(d, n.key)) !== n.key) {
582
- var w;
583
- (w = l.current.parentElement) === null || w === void 0 || w.dispatchEvent(new KeyboardEvent(b.nativeEvent.type, b.nativeEvent));
584
- break;
585
- }
586
- i === "cell" && s === "rtl" ? (_(l.current), ye(l.current, {
587
- containingElement: $e(l.current)
588
- })) : (C.currentNode = l.current, z = s === "rtl" ? C.firstChild() : Je(C), z && (_(z), ye(z, {
589
- containingElement: $e(l.current)
590
- })));
591
- }
592
- break;
593
- }
594
- case "ArrowRight": {
595
- let z = s === "rtl" ? C.previousNode() : C.nextNode();
596
- if (i === "child" && z === l.current && (z = null), b.preventDefault(), b.stopPropagation(), z)
597
- _(z), ye(z, {
598
- containingElement: $e(l.current)
599
- });
600
- else {
601
- var D;
602
- if (((D = d.getKeyRightOf) === null || D === void 0 ? void 0 : D.call(d, n.key)) !== n.key) {
603
- var A;
604
- (A = l.current.parentElement) === null || A === void 0 || A.dispatchEvent(new KeyboardEvent(b.nativeEvent.type, b.nativeEvent));
605
- break;
606
- }
607
- i === "cell" && s === "ltr" ? (_(l.current), ye(l.current, {
608
- containingElement: $e(l.current)
609
- })) : (C.currentNode = l.current, z = s === "rtl" ? Je(C) : C.firstChild(), z && (_(z), ye(z, {
610
- containingElement: $e(l.current)
611
- })));
612
- }
613
- break;
614
- }
615
- case "ArrowUp":
616
- case "ArrowDown":
617
- if (!b.altKey && l.current.contains(b.target)) {
618
- var T;
619
- b.stopPropagation(), b.preventDefault(), (T = l.current.parentElement) === null || T === void 0 || T.dispatchEvent(new KeyboardEvent(b.nativeEvent.type, b.nativeEvent));
620
- }
621
- break;
622
- }
623
- }, y = (b) => {
624
- if (a.current = n.key, b.target !== l.current) {
625
- Hn() || e.selectionManager.setFocusedKey(n.key);
626
- return;
627
- }
628
- requestAnimationFrame(() => {
629
- i === "child" && document.activeElement === l.current && p();
630
- });
631
- }, v = L(c, {
632
- role: "gridcell",
633
- onKeyDownCapture: h,
634
- "aria-colspan": n.colSpan,
635
- "aria-colindex": n.colIndex != null ? n.colIndex + 1 : void 0,
636
- colSpan: o ? void 0 : n.colSpan,
637
- onFocus: y
638
- });
639
- var $;
640
- return o && (v["aria-colindex"] = (($ = n.colIndex) !== null && $ !== void 0 ? $ : n.index) + 1), r && v.tabIndex != null && v.onPointerDown == null && (v.onPointerDown = (b) => {
641
- let C = b.currentTarget, g = C.getAttribute("tabindex");
642
- C.removeAttribute("tabindex"), requestAnimationFrame(() => {
643
- g != null && C.setAttribute("tabindex", g);
644
- });
645
- }), {
646
- gridCellProps: v,
647
- isPressed: m
648
- };
649
- }
650
- function Je(t) {
651
- let e = null, l = null;
652
- do
653
- l = t.lastChild(), l && (e = l);
654
- while (l);
655
- return e;
656
- }
657
- const it = /* @__PURE__ */ new WeakMap();
658
- function Qe(t) {
659
- return typeof t == "string" ? t.replace(/\s*/g, "") : "" + t;
660
- }
661
- function Zt(t, e) {
662
- let l = it.get(t);
663
- if (!l) throw new Error("Unknown grid");
664
- return `${l}-${Qe(e)}`;
665
- }
666
- function Jt(t, e, l) {
667
- let n = it.get(t);
668
- if (!n) throw new Error("Unknown grid");
669
- return `${n}-${Qe(e)}-${Qe(l)}`;
670
- }
671
- function Qt(t, e) {
672
- return [
673
- ...t.collection.rowHeaderColumnKeys
674
- ].map((l) => Jt(t, e, l)).join(" ");
675
- }
676
- var _t = {};
677
- _t = {
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 el = {};
689
- el = {
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 tl = {};
701
- tl = {
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 ll = {};
713
- ll = {
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 nl = {};
725
- nl = {
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 ol = {};
737
- ol = {
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 il = {};
749
- il = {
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 rl = {};
761
- rl = {
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 al = {};
773
- al = {
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 sl = {};
785
- sl = {
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 ul = {};
797
- ul = {
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 dl = {};
809
- dl = {
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 cl = {};
821
- cl = {
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 fl = {};
833
- fl = {
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 pl = {};
845
- pl = {
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 ml = {};
857
- ml = {
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 hl = {};
869
- hl = {
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 bl = {};
881
- bl = {
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 gl = {};
893
- gl = {
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 vl = {};
905
- vl = {
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 yl = {};
917
- yl = {
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 $l = {};
929
- $l = {
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 xl = {};
941
- xl = {
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 Cl = {};
953
- Cl = {
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 wl = {};
965
- wl = {
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 Dl = {};
977
- Dl = {
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 Sl = {};
989
- Sl = {
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 kl = {};
1001
- kl = {
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 El = {};
1013
- El = {
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 zl = {};
1025
- zl = {
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 Al = {};
1037
- Al = {
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 Rl = {};
1049
- Rl = {
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 Tl = {};
1061
- Tl = {
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 Pl = {};
1073
- Pl = {
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 Me = {};
1085
- Me = {
1086
- "ar-AE": _t,
1087
- "bg-BG": el,
1088
- "cs-CZ": tl,
1089
- "da-DK": ll,
1090
- "de-DE": nl,
1091
- "el-GR": ol,
1092
- "en-US": il,
1093
- "es-ES": rl,
1094
- "et-EE": al,
1095
- "fi-FI": sl,
1096
- "fr-FR": ul,
1097
- "he-IL": dl,
1098
- "hr-HR": cl,
1099
- "hu-HU": fl,
1100
- "it-IT": pl,
1101
- "ja-JP": ml,
1102
- "ko-KR": hl,
1103
- "lt-LT": bl,
1104
- "lv-LV": gl,
1105
- "nb-NO": vl,
1106
- "nl-NL": yl,
1107
- "pl-PL": $l,
1108
- "pt-BR": xl,
1109
- "pt-PT": Cl,
1110
- "ro-RO": wl,
1111
- "ru-RU": Dl,
1112
- "sk-SK": Sl,
1113
- "sl-SI": kl,
1114
- "sr-SP": El,
1115
- "sv-SE": zl,
1116
- "tr-TR": Al,
1117
- "uk-UA": Rl,
1118
- "zh-CN": Tl,
1119
- "zh-TW": Pl
1120
- };
1121
- class io extends Xt {
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 = se(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 i = l.parentKey != null ? this.collection.getItem(l.parentKey) : null;
1141
- return i && i.type === "column" ? i.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, (i) => i.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 i = o.length - 1; i >= 0; i--) {
1161
- let r = o[i];
1162
- if (r.type === "column") return r.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 i = n.getItem(o);
1179
- var r;
1180
- i?.type === "cell" && (o = (r = i.parentKey) !== null && r !== void 0 ? r : null);
1181
- let u = !1;
1182
- for (; o != null; ) {
1183
- let s = n.getItem(o);
1184
- if (!s) return null;
1185
- if (s.textValue) {
1186
- let d = s.textValue.slice(0, e.length);
1187
- if (this.collator.compare(d, e) === 0) return s.key;
1188
- }
1189
- for (let d of W(s, this.collection)) {
1190
- let f = n.columns[d.index];
1191
- if (n.rowHeaderColumnKeys.has(f.key) && d.textValue) {
1192
- let a = d.textValue.slice(0, e.length);
1193
- if (this.collator.compare(a, e) === 0) {
1194
- let p = l != null ? n.getItem(l) : i;
1195
- return p?.type === "cell" ? d.key : s.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 ro(t) {
1205
- return t && t.__esModule ? t.default : t;
1206
- }
1207
- function ao(t, e, l) {
1208
- let { keyboardDelegate: n, isVirtualized: o, layoutDelegate: i, layout: r } = t, u = Gt({
1209
- usage: "search",
1210
- sensitivity: "base"
1211
- }), { direction: s } = Se(), d = e.selectionManager.disabledBehavior, f = K(() => n || new io({
1212
- collection: e.collection,
1213
- disabledKeys: e.disabledKeys,
1214
- disabledBehavior: d,
1215
- ref: l,
1216
- direction: s,
1217
- collator: u,
1218
- layoutDelegate: i,
1219
- layout: r
1220
- }), [
1221
- n,
1222
- e.collection,
1223
- e.disabledKeys,
1224
- d,
1225
- l,
1226
- s,
1227
- u,
1228
- i,
1229
- r
1230
- ]), a = lt(t.id);
1231
- it.set(e, a);
1232
- let { gridProps: p } = lo({
1233
- ...t,
1234
- id: a,
1235
- keyboardDelegate: f
1236
- }, e, l);
1237
- o && (p["aria-rowcount"] = e.collection.size + e.collection.headerRows.length), je() && "expandedKeys" in e && (p.role = "treegrid");
1238
- let { column: c, direction: m } = e.sortDescriptor || {}, h = Ke(ro(Me), "@react-aria/table"), y = K(() => {
1239
- var $, b;
1240
- let C = (b = ($ = e.collection.columns.find((g) => g.key === c)) === null || $ === void 0 ? void 0 : $.textValue) !== null && b !== void 0 ? b : "";
1241
- return m && c ? h.format(`${m}Sort`, {
1242
- columnName: C
1243
- }) : void 0;
1244
- }, [
1245
- m,
1246
- c,
1247
- e.collection.columns
1248
- ]), v = nt(y);
1249
- return Jn(() => {
1250
- y && Yn(y, "assertive", 500);
1251
- }, [
1252
- y
1253
- ]), {
1254
- gridProps: L(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 so(t) {
1264
- return t && t.__esModule ? t.default : t;
1265
- }
1266
- function uo(t, e, l) {
1267
- var n, o;
1268
- let { node: i } = t, r = i.props.allowsSorting, { gridCellProps: u } = qt({
1269
- ...t,
1270
- focusMode: "child"
1271
- }, e, l), s = i.props.isSelectionCell && e.selectionManager.selectionMode === "single", { pressProps: d } = Ut({
1272
- isDisabled: !r || s,
1273
- onPress() {
1274
- e.sort(i.key);
1275
- },
1276
- ref: l
1277
- }), { focusableProps: f } = In({}, l), a, p = ((n = e.sortDescriptor) === null || n === void 0 ? void 0 : n.column) === i.key, c = (o = e.sortDescriptor) === null || o === void 0 ? void 0 : o.direction;
1278
- i.props.allowsSorting && !zt() && (a = p ? c : "none");
1279
- let m = Ke(so(Me), "@react-aria/table"), h;
1280
- r && (h = `${m.format("sortable")}`, p && c && zt() && (h = `${h}, ${m.format(c)}`));
1281
- let y = nt(h), v = e.collection.size === 0;
1282
- return de(() => {
1283
- v && e.selectionManager.focusedKey === i.key && e.selectionManager.setFocusedKey(null);
1284
- }, [
1285
- v,
1286
- e.selectionManager,
1287
- i.key
1288
- ]), {
1289
- columnHeaderProps: {
1290
- ...L(
1291
- f,
1292
- u,
1293
- d,
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: Zt(e, i.key),
1302
- "aria-colspan": i.colSpan && i.colSpan > 1 ? i.colSpan : void 0,
1303
- "aria-sort": a
1304
- }
1305
- };
1306
- }
1307
- const Tt = {
1308
- expand: {
1309
- ltr: "ArrowRight",
1310
- rtl: "ArrowLeft"
1311
- },
1312
- collapse: {
1313
- ltr: "ArrowLeft",
1314
- rtl: "ArrowRight"
1315
- }
1316
- };
1317
- function co(t, e, l) {
1318
- let { node: n, isVirtualized: o } = t, { rowProps: i, ...r } = oo(t, e, l), { direction: u } = Se();
1319
- o && !(je() && "expandedKeys" in e) ? i["aria-rowindex"] = n.index + 1 + e.collection.headerRows.length : delete i["aria-rowindex"];
1320
- let s = {};
1321
- if (je() && "expandedKeys" in e) {
1322
- let g = e.keyMap.get(n.key);
1323
- if (g != null) {
1324
- var d, f, a, p, c, m;
1325
- let w = ((d = g.props) === null || d === void 0 ? void 0 : d.UNSTABLE_childItems) || ((a = g.props) === null || a === void 0 || (f = a.children) === null || f === void 0 ? void 0 : f.length) > e.userColumnCount;
1326
- var h, y, v, $;
1327
- s = {
1328
- onKeyDown: (D) => {
1329
- (D.key === Tt.expand[u] && e.selectionManager.focusedKey === g.key && w && e.expandedKeys !== "all" && !e.expandedKeys.has(g.key) || D.key === Tt.collapse[u] && e.selectionManager.focusedKey === g.key && w && (e.expandedKeys === "all" || e.expandedKeys.has(g.key))) && (e.toggleKey(g.key), D.stopPropagation());
1330
- },
1331
- "aria-expanded": w ? e.expandedKeys === "all" || e.expandedKeys.has(n.key) : void 0,
1332
- "aria-level": g.level,
1333
- "aria-posinset": ((h = g.indexOfType) !== null && h !== void 0 ? h : 0) + 1,
1334
- "aria-setsize": g.level > 1 ? ((v = (p = ue((y = (c = e.keyMap.get(g.parentKey)) === null || c === void 0 ? void 0 : c.childNodes) !== null && y !== void 0 ? y : [])) === null || p === void 0 ? void 0 : p.indexOfType) !== null && v !== void 0 ? v : 0) + 1 : (($ = (m = ue(e.collection.body.childNodes)) === null || m === void 0 ? void 0 : m.indexOfType) !== null && $ !== void 0 ? $ : 0) + 1
1335
- };
1336
- }
1337
- }
1338
- let b = jn(n.props), C = r.hasAction ? b : {};
1339
- return {
1340
- rowProps: {
1341
- ...L(i, s, C),
1342
- "aria-labelledby": Qt(e, n.key)
1343
- },
1344
- ...r
1345
- };
1346
- }
1347
- function fo(t, e, l) {
1348
- let { node: n, isVirtualized: o } = t, i = {
1349
- role: "row"
1350
- };
1351
- return o && !(je() && "expandedKeys" in e) && (i["aria-rowindex"] = n.index + 1), {
1352
- rowProps: i
1353
- };
1354
- }
1355
- function po(t, e, l) {
1356
- var n;
1357
- let { gridCellProps: o, isPressed: i } = qt(t, e, l), r = (n = t.node.column) === null || n === void 0 ? void 0 : n.key;
1358
- return r != null && e.collection.rowHeaderColumnKeys.has(r) && (o.role = "rowheader", o.id = Jt(e, t.node.parentKey, r)), {
1359
- gridCellProps: o,
1360
- isPressed: i
1361
- };
1362
- }
1363
- function mo(t) {
1364
- return t && t.__esModule ? t.default : t;
1365
- }
1366
- function ho(t, e) {
1367
- let { key: l } = t;
1368
- const { checkboxProps: n } = mn(t, e);
1369
- return {
1370
- checkboxProps: {
1371
- ...n,
1372
- "aria-labelledby": `${n.id} ${Qt(e, l)}`
1373
- }
1374
- };
1375
- }
1376
- function bo(t) {
1377
- let { isEmpty: e, isSelectAll: l, selectionMode: n } = t.selectionManager;
1378
- return {
1379
- checkboxProps: {
1380
- "aria-label": Ke(mo(Me), "@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 go(t) {
1389
- return t && t.__esModule ? t.default : t;
1390
- }
1391
- function vo(t, e, l) {
1392
- let { column: n, triggerRef: o, isDisabled: i, onResizeStart: r, onResize: u, onResizeEnd: s, "aria-label": d } = t;
1393
- const f = Ke(go(Me), "@react-aria/table");
1394
- let a = lt(), p = e.resizingColumn === n.key, c = P(p), m = P(null), h = P(!1), y = e.tableState.isKeyboardNavigationDisabled, { direction: v } = Se(), { keyboardProps: $ } = Vn({
1395
- onKeyDown: (k) => {
1396
- y ? (k.key === "Escape" || k.key === "Enter" || k.key === " " || k.key === "Tab") && (k.preventDefault(), g(n)) : (k.continuePropagation(), k.key === "Enter" && b(n));
1397
- }
1398
- }), b = Re((k) => {
1399
- c.current || (m.current = e.updateResizedColumns(k.key, e.getColumnWidth(k.key)), e.startResize(k.key), e.tableState.setKeyboardNavigationDisabled(!0), r?.(m.current)), c.current = !0;
1400
- }), C = Re((k, S) => {
1401
- let I = e.updateResizedColumns(k.key, S);
1402
- u?.(I), m.current = I;
1403
- }), g = Re((k) => {
1404
- c.current && (m.current == null && (m.current = e.updateResizedColumns(k.key, e.getColumnWidth(k.key))), e.endResize(), e.tableState.setKeyboardNavigationDisabled(!1), s?.(m.current), c.current = !1, o?.current && !h.current && _(o.current)), m.current = null;
1405
- });
1406
- const w = P(0), { moveProps: D } = eo({
1407
- onMoveStart() {
1408
- w.current = e.getColumnWidth(n.key), b(n);
1409
- },
1410
- onMove(k) {
1411
- let { deltaX: S, deltaY: I, pointerType: ae } = k;
1412
- v === "rtl" && (S *= -1), ae === "keyboard" && (I !== 0 && S === 0 && (S = I * -1), S *= 10), S !== 0 && (w.current += S, C(n, w.current));
1413
- },
1414
- onMoveEnd(k) {
1415
- let { pointerType: S } = k;
1416
- w.current = 0, (S === "mouse" || S === "touch" && h.current) && g(n);
1417
- }
1418
- });
1419
- let A = V((k) => {
1420
- var S;
1421
- y && ((S = D.onKeyDown) === null || S === void 0 || S.call(D, k));
1422
- }, [
1423
- y,
1424
- D
1425
- ]), T = Math.floor(e.getColumnMinWidth(n.key)), z = Math.floor(e.getColumnMaxWidth(n.key));
1426
- z === 1 / 0 && (z = Number.MAX_SAFE_INTEGER);
1427
- let N = Math.floor(e.getColumnWidth(n.key)), H = Wn();
1428
- H === "virtual" && typeof window < "u" && "ontouchstart" in window && (H = "touch");
1429
- let O = o?.current == null && (H === "keyboard" || H === "virtual") && !p ? f.format("resizerDescription") : void 0, F = nt(O), M = {
1430
- "aria-label": d,
1431
- "aria-orientation": "horizontal",
1432
- "aria-labelledby": `${a} ${Zt(e.tableState, n.key)}`,
1433
- "aria-valuetext": f.format("columnSize", {
1434
- value: N
1435
- }),
1436
- type: "range",
1437
- min: T,
1438
- max: z,
1439
- value: N,
1440
- ...F
1441
- };
1442
- const G = V(() => {
1443
- l.current && _(l.current);
1444
- }, [
1445
- l
1446
- ]);
1447
- let j = e.resizingColumn, le = P(null);
1448
- de(() => {
1449
- if (le.current !== j && j != null && j === n.key) {
1450
- h.current = document.activeElement === l.current, b(n);
1451
- let k = setTimeout(() => G(), 0), S = setTimeout(G, 400);
1452
- return () => {
1453
- clearTimeout(k), clearTimeout(S);
1454
- };
1455
- }
1456
- le.current = j;
1457
- }, [
1458
- j,
1459
- n,
1460
- G,
1461
- l,
1462
- b
1463
- ]);
1464
- let me = (k) => {
1465
- let S = e.getColumnWidth(n.key), I = parseFloat(k.target.value);
1466
- I > S ? I = S + 10 : I = S - 10, C(n, I);
1467
- }, { pressProps: he } = Ut({
1468
- preventFocusOnPress: !0,
1469
- onPressStart: (k) => {
1470
- if (!(k.ctrlKey || k.altKey || k.metaKey || k.shiftKey || k.pointerType === "keyboard")) {
1471
- if (k.pointerType === "virtual" && e.resizingColumn != null) {
1472
- g(n);
1473
- return;
1474
- }
1475
- G(), k.pointerType !== "virtual" && b(n);
1476
- }
1477
- },
1478
- onPress: (k) => {
1479
- (k.pointerType === "touch" && h.current || k.pointerType === "mouse") && e.resizingColumn != null && g(n);
1480
- }
1481
- }), { visuallyHiddenProps: Q } = Xe();
1482
- return {
1483
- resizerProps: L($, {
1484
- ...D,
1485
- onKeyDown: A
1486
- }, he, {
1487
- style: {
1488
- touchAction: "none"
1489
- }
1490
- }),
1491
- inputProps: L(Q, {
1492
- id: a,
1493
- onBlur: () => {
1494
- g(n);
1495
- },
1496
- onChange: me,
1497
- disabled: i
1498
- }, M),
1499
- isResizing: p
1500
- };
1501
- }
1502
- function Bl() {
1503
- return no();
1504
- }
1505
- function yo(t) {
1506
- return t != null && (!isNaN(t) || String(t).match(/^(\d+)(?=%$)/) !== null);
1507
- }
1508
- function $o(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 rt(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 Kl(t, e) {
1522
- return t != null ? rt(t, e) : Number.MAX_SAFE_INTEGER;
1523
- }
1524
- function Ml(t, e) {
1525
- return t != null ? rt(t, e) : 0;
1526
- }
1527
- function xo(t, e, l, n, o) {
1528
- let i = !1, r = e.map((u, s) => {
1529
- var d, f, a, p;
1530
- let c = l.get(u.key) != null ? (d = l.get(u.key)) !== null && d !== void 0 ? d : "1fr" : (p = (a = (f = u.width) !== null && f !== void 0 ? f : u.defaultWidth) !== null && a !== void 0 ? a : n?.(s)) !== null && p !== void 0 ? p : "1fr", m = !1, h = 0, y = 0, v = 0;
1531
- yo(c) ? (h = rt(c, t), m = !0) : (y = $o(c), y <= 0 && (m = !0));
1532
- var $, b;
1533
- let C = Ml((b = ($ = u.minWidth) !== null && $ !== void 0 ? $ : o?.(s)) !== null && b !== void 0 ? b : 0, t), g = Kl(u.maxWidth, t), w = Math.max(C, Math.min(h, g));
1534
- return m ? v = w : h > w && (m = !0, v = w), m || (i = !0), {
1535
- frozen: m,
1536
- baseSize: h,
1537
- hypotheticalMainSize: w,
1538
- min: C,
1539
- max: g,
1540
- flex: y,
1541
- targetMainSize: v,
1542
- violation: 0
1543
- };
1544
- });
1545
- for (; i; ) {
1546
- let u = 0, s = 0;
1547
- r.forEach((a) => {
1548
- a.frozen ? u += a.targetMainSize : (u += a.baseSize, s += a.flex);
1549
- });
1550
- let d = t - u;
1551
- d > 0 && r.forEach((a) => {
1552
- if (!a.frozen) {
1553
- let p = a.flex / s;
1554
- a.targetMainSize = a.baseSize + p * d;
1555
- }
1556
- });
1557
- let f = 0;
1558
- r.forEach((a) => {
1559
- if (a.violation = 0, !a.frozen) {
1560
- let { min: p, max: c, targetMainSize: m } = a;
1561
- a.targetMainSize = Math.max(p, Math.min(m, c)), a.violation = a.targetMainSize - m, f += a.violation;
1562
- }
1563
- }), i = !1, r.forEach((a) => {
1564
- f === 0 || Math.sign(f) === Math.sign(a.violation) ? a.frozen = !0 : a.frozen || (i = !0);
1565
- });
1566
- }
1567
- return Co(r);
1568
- }
1569
- function Co(t) {
1570
- let e = 0, l = 0, n = [];
1571
- return t.forEach(function(o) {
1572
- let i = o.targetMainSize, r = Math.round(i + e) - l;
1573
- e += i, l += r, n.push(r);
1574
- }), n;
1575
- }
1576
- class wo {
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((i) => n.has(i.key) ? [
1587
- i.key,
1588
- l.get(i.key)
1589
- ] : [
1590
- i.key,
1591
- o.get(i.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, i, r, u;
1598
- return [
1599
- l,
1600
- (u = (r = n.props.defaultWidth) !== null && r !== void 0 ? r : (o = (i = this).getDefaultWidth) === null || o === void 0 ? void 0 : o.call(i, 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 i = this.columnWidths, r = !0, u = /* @__PURE__ */ new Map();
1618
- return o = Math.max(this.getColumnMinWidth(n), Math.min(this.getColumnMaxWidth(n), Math.floor(o))), e.columns.forEach((s) => {
1619
- var d, f;
1620
- s.key === n ? (u.set(s.key, o), r = !1) : r ? u.set(s.key, (d = i.get(s.key)) !== null && d !== void 0 ? d : 0) : u.set(s.key, (f = s.props.width) !== null && f !== void 0 ? f : l.get(s.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(), xo(e, l.columns.map((i) => ({
1625
- ...i.props,
1626
- key: i.key
1627
- })), n, (i) => this.getDefaultWidth(l.columns[i]), (i) => this.getDefaultMinWidth(l.columns[i])).forEach((i, r) => {
1628
- let u = l.columns[r].key, s = l.columns[r];
1629
- this.columnWidths.set(u, i);
1630
- var d;
1631
- this.columnMinWidths.set(u, Ml((d = s.props.minWidth) !== null && d !== void 0 ? d : this.getDefaultMinWidth(s), e)), this.columnMaxWidths.set(u, Kl(s.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 Do(t, e) {
1643
- let { getDefaultWidth: l, getDefaultMinWidth: n, tableWidth: o = 0 } = t, [i, r] = X(null), u = K(() => new wo({
1644
- getDefaultWidth: l,
1645
- getDefaultMinWidth: n
1646
- }), [
1647
- l,
1648
- n
1649
- ]), [s, d] = K(() => u.splitColumnsIntoControlledAndUncontrolled(e.collection.columns), [
1650
- e.collection.columns,
1651
- u
1652
- ]), [f, a] = X(() => u.getInitialUncontrolledWidths(d)), [p, c] = X(e.collection.columns);
1653
- if (e.collection.columns !== p) {
1654
- if (e.collection.columns.length !== p.length || e.collection.columns.some((b, C) => b.key !== p[C].key)) {
1655
- let b = u.getInitialUncontrolledWidths(d);
1656
- a(b);
1657
- }
1658
- c(e.collection.columns);
1659
- }
1660
- let m = K(() => u.recombineColumns(e.collection.columns, f, d, s), [
1661
- e.collection.columns,
1662
- f,
1663
- d,
1664
- s,
1665
- u
1666
- ]), h = V((b) => {
1667
- r(b);
1668
- }, [
1669
- r
1670
- ]), y = V((b, C) => {
1671
- let g = u.resizeColumnWidth(e.collection, f, b, C), w = new Map(Array.from(d).map(([D]) => [
1672
- D,
1673
- g.get(D)
1674
- ]));
1675
- return w.set(b, C), a(w), g;
1676
- }, [
1677
- d,
1678
- a,
1679
- u,
1680
- e.collection,
1681
- f
1682
- ]), v = V(() => {
1683
- r(null);
1684
- }, [
1685
- r
1686
- ]), $ = K(() => u.buildColumnWidths(o, e.collection, m), [
1687
- o,
1688
- e.collection,
1689
- m,
1690
- u
1691
- ]);
1692
- return K(() => ({
1693
- resizingColumn: i,
1694
- updateResizedColumns: y,
1695
- startResize: h,
1696
- endResize: v,
1697
- getColumnWidth: (b) => u.getColumnWidth(b),
1698
- getColumnMinWidth: (b) => u.getColumnMinWidth(b),
1699
- getColumnMaxWidth: (b) => u.getColumnMaxWidth(b),
1700
- tableState: e,
1701
- columnWidths: $
1702
- }), [
1703
- u,
1704
- $,
1705
- i,
1706
- y,
1707
- h,
1708
- v,
1709
- e
1710
- ]);
1711
- }
1712
- function So(t) {
1713
- let { collection: e, focusMode: l } = t, n = t.UNSAFE_selectionState || Wt(t), o = K(() => t.disabledKeys ? new Set(t.disabledKeys) : /* @__PURE__ */ new Set(), [
1714
- t.disabledKeys
1715
- ]), i = n.setFocusedKey;
1716
- n.setFocusedKey = (s, d) => {
1717
- if (l === "cell" && s != null) {
1718
- let m = e.getItem(s);
1719
- if (m?.type === "item") {
1720
- var f, a;
1721
- let h = W(m, e);
1722
- var p, c;
1723
- d === "last" ? s = (p = (f = ue(h)) === null || f === void 0 ? void 0 : f.key) !== null && p !== void 0 ? p : null : s = (c = (a = se(h)) === null || a === void 0 ? void 0 : a.key) !== null && c !== void 0 ? c : null;
1724
- }
1725
- }
1726
- i(s, d);
1727
- };
1728
- let r = K(() => new yn(e, n), [
1729
- e,
1730
- n
1731
- ]);
1732
- const u = P(null);
1733
- return de(() => {
1734
- if (n.focusedKey != null && u.current && !e.getItem(n.focusedKey)) {
1735
- const s = u.current.getItem(n.focusedKey), d = s?.parentKey != null && (s.type === "cell" || s.type === "rowheader" || s.type === "column") ? u.current.getItem(s.parentKey) : s;
1736
- if (!d) {
1737
- n.setFocusedKey(null);
1738
- return;
1739
- }
1740
- const f = u.current.rows, a = e.rows, p = f.length - a.length;
1741
- let c = Math.min(p > 1 ? Math.max(d.index - p + 1, 0) : d.index, a.length - 1), m = null;
1742
- for (; c >= 0; ) {
1743
- if (!r.isDisabled(a[c].key) && a[c].type !== "headerrow") {
1744
- m = a[c];
1745
- break;
1746
- }
1747
- c < a.length - 1 ? c++ : (c > d.index && (c = d.index), c--);
1748
- }
1749
- if (m) {
1750
- const h = m.hasChildNodes ? [
1751
- ...W(m, e)
1752
- ] : [], y = m.hasChildNodes && d !== s && s && s.index < h.length ? h[s.index].key : m.key;
1753
- n.setFocusedKey(y);
1754
- } else n.setFocusedKey(null);
1755
- }
1756
- u.current = e;
1757
- }, [
1758
- e,
1759
- r,
1760
- n,
1761
- n.focusedKey
1762
- ]), {
1763
- collection: e,
1764
- disabledKeys: o,
1765
- isKeyboardNavigationDisabled: !1,
1766
- selectionManager: r
1767
- };
1768
- }
1769
- class ko {
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 = (a) => {
1823
- let p = this.keyMap.get(a.key);
1824
- e.visitNode && (a = e.visitNode(a)), this.keyMap.set(a.key, a);
1825
- let c = /* @__PURE__ */ new Set(), m = null, h = !1;
1826
- if (a.type === "item") {
1827
- var y;
1828
- for (let g of a.childNodes) if (((y = g.props) === null || y === void 0 ? void 0 : y.colSpan) !== void 0) {
1829
- h = !0;
1830
- break;
1831
- }
1832
- }
1833
- for (let g of a.childNodes) {
1834
- if (g.type === "cell" && h) {
1835
- var v, $;
1836
- g.colspan = (v = g.props) === null || v === void 0 ? void 0 : v.colSpan, g.colSpan = ($ = g.props) === null || $ === void 0 ? void 0 : $.colSpan;
1837
- var b, C;
1838
- g.colIndex = m ? ((b = m.colIndex) !== null && b !== void 0 ? b : m.index) + ((C = m.colSpan) !== null && C !== void 0 ? C : 1) : g.index;
1839
- }
1840
- g.type === "cell" && g.parentKey == null && (g.parentKey = a.key), c.add(g.key), m ? (m.nextKey = g.key, g.prevKey = m.key) : g.prevKey = null, l(g), m = g;
1841
- }
1842
- if (m && (m.nextKey = null), p)
1843
- for (let g of p.childNodes) c.has(g.key) || n(g);
1844
- }, n = (a) => {
1845
- this.keyMap.delete(a.key);
1846
- for (let p of a.childNodes) this.keyMap.get(p.key) === p && n(p);
1847
- }, o = null;
1848
- for (let [a, p] of e.items.entries()) {
1849
- var i, r, u, s, d, f;
1850
- let c = {
1851
- ...p,
1852
- level: (i = p.level) !== null && i !== void 0 ? i : 0,
1853
- key: (r = p.key) !== null && r !== void 0 ? r : "row-" + a,
1854
- type: (u = p.type) !== null && u !== void 0 ? u : "row",
1855
- value: (s = p.value) !== null && s !== void 0 ? s : null,
1856
- hasChildNodes: !0,
1857
- childNodes: [
1858
- ...p.childNodes
1859
- ],
1860
- rendered: p.rendered,
1861
- textValue: (d = p.textValue) !== null && d !== void 0 ? d : "",
1862
- index: (f = p.index) !== null && f !== void 0 ? f : a
1863
- };
1864
- o ? (o.nextKey = c.key, c.prevKey = o.key) : c.prevKey = null, this.rows.push(c), l(c), o = c;
1865
- }
1866
- o && (o.nextKey = null);
1867
- }
1868
- }
1869
- const Nl = "row-header-column-" + /* @__PURE__ */ Math.random().toString(36).slice(2);
1870
- let _e = "row-header-column-" + /* @__PURE__ */ Math.random().toString(36).slice(2);
1871
- for (; Nl === _e; ) _e = "row-header-column-" + Math.random().toString(36).slice(2);
1872
- function Fl(t, e) {
1873
- if (e.length === 0) return [];
1874
- let l = [], n = /* @__PURE__ */ new Map();
1875
- for (let f of e) {
1876
- let a = f.parentKey, p = [
1877
- f
1878
- ];
1879
- for (; a; ) {
1880
- let c = t.get(a);
1881
- if (!c) break;
1882
- if (n.has(c)) {
1883
- var o, i;
1884
- (i = (o = c).colSpan) !== null && i !== void 0 || (o.colSpan = 0), c.colSpan++, c.colspan = c.colSpan;
1885
- let { column: m, index: h } = n.get(c);
1886
- if (h > p.length) break;
1887
- for (let y = h; y < p.length; y++) m.splice(y, 0, null);
1888
- for (let y = p.length; y < m.length; y++)
1889
- m[y] && n.has(m[y]) && (n.get(m[y]).index = y);
1890
- } else
1891
- c.colSpan = 1, c.colspan = 1, p.push(c), n.set(c, {
1892
- column: p,
1893
- index: p.length - 1
1894
- });
1895
- a = c.parentKey;
1896
- }
1897
- l.push(p), f.index = l.length - 1;
1898
- }
1899
- let r = Math.max(...l.map((f) => f.length)), u = Array(r).fill(0).map(() => []), s = 0;
1900
- for (let f of l) {
1901
- let a = r - 1;
1902
- for (let p of f) {
1903
- if (p) {
1904
- let c = u[a], m = c.reduce((h, y) => {
1905
- var v;
1906
- return h + ((v = y.colSpan) !== null && v !== void 0 ? v : 1);
1907
- }, 0);
1908
- if (m < s) {
1909
- let h = {
1910
- type: "placeholder",
1911
- key: "placeholder-" + p.key,
1912
- colspan: s - m,
1913
- colSpan: s - m,
1914
- index: m,
1915
- value: null,
1916
- rendered: null,
1917
- level: a,
1918
- hasChildNodes: !1,
1919
- childNodes: [],
1920
- textValue: ""
1921
- };
1922
- c.length > 0 && (c[c.length - 1].nextKey = h.key, h.prevKey = c[c.length - 1].key), c.push(h);
1923
- }
1924
- c.length > 0 && (c[c.length - 1].nextKey = p.key, p.prevKey = c[c.length - 1].key), p.level = a, p.colIndex = s, c.push(p);
1925
- }
1926
- a--;
1927
- }
1928
- s++;
1929
- }
1930
- let d = 0;
1931
- for (let f of u) {
1932
- let a = f.reduce((p, c) => {
1933
- var m;
1934
- return p + ((m = c.colSpan) !== null && m !== void 0 ? m : 1);
1935
- }, 0);
1936
- if (a < e.length) {
1937
- let p = {
1938
- type: "placeholder",
1939
- key: "placeholder-" + f[f.length - 1].key,
1940
- colSpan: e.length - a,
1941
- colspan: e.length - a,
1942
- index: a,
1943
- value: null,
1944
- rendered: null,
1945
- level: d,
1946
- hasChildNodes: !1,
1947
- childNodes: [],
1948
- textValue: "",
1949
- prevKey: f[f.length - 1].key
1950
- };
1951
- f.push(p);
1952
- }
1953
- d++;
1954
- }
1955
- return u.map((f, a) => ({
1956
- type: "headerrow",
1957
- key: "headerrow-" + a,
1958
- index: a,
1959
- value: null,
1960
- rendered: null,
1961
- level: 0,
1962
- hasChildNodes: !0,
1963
- childNodes: f,
1964
- textValue: ""
1965
- }));
1966
- }
1967
- class Eo extends ko {
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 = se(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 = ue(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 i of l.childNodes) {
2016
- let r = this.columns[i.index];
2017
- if (n.has(r.key) && i.textValue && o.push(i.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(), i = null, r = [];
2025
- if (n?.showSelectionCheckboxes) {
2026
- let a = {
2027
- type: "column",
2028
- key: Nl,
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
- r.unshift(a);
2041
- }
2042
- if (n?.showDragButtons) {
2043
- let a = {
2044
- type: "column",
2045
- key: _e,
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
- r.unshift(a);
2058
- }
2059
- let u = [], s = /* @__PURE__ */ new Map(), d = (a) => {
2060
- switch (a.type) {
2061
- case "body":
2062
- i = a;
2063
- break;
2064
- case "column":
2065
- s.set(a.key, a), a.hasChildNodes || (r.push(a), a.props.isRowHeader && o.add(a.key));
2066
- break;
2067
- case "item":
2068
- u.push(a);
2069
- return;
2070
- }
2071
- for (let p of a.childNodes) d(p);
2072
- };
2073
- for (let a of e) d(a);
2074
- let f = Fl(s, r);
2075
- if (f.forEach((a, p) => u.splice(p, 0, a)), super({
2076
- columnCount: r.length,
2077
- items: u,
2078
- visitNode: (a) => (a.column = r[a.index], a)
2079
- }), this._size = 0, this.columns = r, this.rowHeaderColumnKeys = o, this.body = i, this.headerRows = f, this._size = [
2080
- ...i.childNodes
2081
- ].length, this.rowHeaderColumnKeys.size === 0) {
2082
- let a = this.columns.find((p) => {
2083
- var c, m;
2084
- return !(!((c = p.props) === null || c === void 0) && c.isDragButtonCell) && !(!((m = p.props) === null || m === void 0) && m.isSelectionCell);
2085
- });
2086
- a && this.rowHeaderColumnKeys.add(a.key);
2087
- }
2088
- }
2089
- }
2090
- const zo = {
2091
- ascending: "descending",
2092
- descending: "ascending"
2093
- };
2094
- function Ao(t) {
2095
- let [e, l] = X(!1), { selectionMode: n = "none", showSelectionCheckboxes: o, showDragButtons: i } = t, r = K(() => ({
2096
- showSelectionCheckboxes: o && n !== "none",
2097
- showDragButtons: i,
2098
- selectionMode: n,
2099
- columns: []
2100
- }), [
2101
- t.children,
2102
- o,
2103
- n,
2104
- i
2105
- ]), u = $n(t, V((a) => new Eo(a, null, r), [
2106
- r
2107
- ]), r), { disabledKeys: s, selectionManager: d } = So({
2108
- ...t,
2109
- collection: u,
2110
- disabledBehavior: t.disabledBehavior || "selection"
2111
- });
2112
- var f;
2113
- return {
2114
- collection: u,
2115
- disabledKeys: s,
2116
- selectionManager: d,
2117
- showSelectionCheckboxes: t.showSelectionCheckboxes || !1,
2118
- sortDescriptor: (f = t.sortDescriptor) !== null && f !== void 0 ? f : null,
2119
- isKeyboardNavigationDisabled: u.size === 0 || e,
2120
- setKeyboardNavigationDisabled: l,
2121
- sort(a, p) {
2122
- var c, m;
2123
- (m = t.onSortChange) === null || m === void 0 || m.call(t, {
2124
- column: a,
2125
- direction: p ?? (((c = t.sortDescriptor) === null || c === void 0 ? void 0 : c.column) === a ? zo[t.sortDescriptor.direction] : "ascending")
2126
- });
2127
- }
2128
- };
2129
- }
2130
- function Ro(t, e) {
2131
- let l = K(() => e ? t.collection.filter(e) : t.collection, [
2132
- t.collection,
2133
- e
2134
- ]), n = t.selectionManager.withCollection(l);
2135
- return {
2136
- ...t,
2137
- collection: l,
2138
- selectionManager: n
2139
- };
2140
- }
2141
- function To(t) {
2142
- return t && t.__esModule ? t.default : t;
2143
- }
2144
- class Po extends Rn {
2145
- addNode(e) {
2146
- super.addNode(e), this.columnsDirty || (this.columnsDirty = e.type === "column"), e.type === "tableheader" && (this.head = e), e.type === "tablebody" && (this.body = e);
2147
- }
2148
- commit(e, l, n = !1) {
2149
- this.updateColumns(n), this.rows = [];
2150
- for (let r of this.getChildren(this.body.key)) {
2151
- let u = r.lastChildKey;
2152
- if (u != null) {
2153
- let s = this.getItem(u);
2154
- var o, i;
2155
- let d = ((o = s.colIndex) !== null && o !== void 0 ? o : s.index) + ((i = s.colSpan) !== null && i !== void 0 ? i : 1);
2156
- if (d !== this.columns.length && !n) throw new Error(`Cell count must match column count. Found ${d} cells and ${this.columns.length} columns.`);
2157
- }
2158
- this.rows.push(r);
2159
- }
2160
- super.commit(e, l, n);
2161
- }
2162
- updateColumns(e) {
2163
- if (!this.columnsDirty) return;
2164
- this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.columns = [];
2165
- let l = /* @__PURE__ */ new Map(), n = (o) => {
2166
- switch (o.type) {
2167
- case "column":
2168
- l.set(o.key, o), o.hasChildNodes || (o.index = this.columns.length, this.columns.push(o), o.props.isRowHeader && this.rowHeaderColumnKeys.add(o.key));
2169
- break;
2170
- }
2171
- for (let i of this.getChildren(o.key)) n(i);
2172
- };
2173
- for (let o of this.getChildren(this.head.key)) n(o);
2174
- if (this.headerRows = Fl(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");
2175
- }
2176
- get columnCount() {
2177
- return this.columns.length;
2178
- }
2179
- *[Symbol.iterator]() {
2180
- this.head.key !== -1 && (yield this.head, yield this.body);
2181
- }
2182
- getFirstKey() {
2183
- return this.body.firstChildKey;
2184
- }
2185
- getLastKey() {
2186
- return this.body.lastChildKey;
2187
- }
2188
- getKeyAfter(e) {
2189
- let l = this.getItem(e);
2190
- var n;
2191
- return l?.type === "column" ? (n = l.nextKey) !== null && n !== void 0 ? n : null : super.getKeyAfter(e);
2192
- }
2193
- getKeyBefore(e) {
2194
- var l;
2195
- let n = this.getItem(e);
2196
- var o;
2197
- if (n?.type === "column") return (o = n.prevKey) !== null && o !== void 0 ? o : null;
2198
- let i = super.getKeyBefore(e);
2199
- return i != null && ((l = this.getItem(i)) === null || l === void 0 ? void 0 : l.type) === "tablebody" ? null : i;
2200
- }
2201
- getChildren(e) {
2202
- if (!this.getItem(e)) {
2203
- for (let l of this.headerRows)
2204
- if (l.key === e) return l.childNodes;
2205
- }
2206
- return super.getChildren(e);
2207
- }
2208
- clone() {
2209
- let e = super.clone();
2210
- return e.headerRows = this.headerRows, e.columns = this.columns, e.rowHeaderColumnKeys = this.rowHeaderColumnKeys, e.head = this.head, e.body = this.body, e;
2211
- }
2212
- getTextValue(e) {
2213
- let l = this.getItem(e);
2214
- if (!l) return "";
2215
- if (l.textValue) return l.textValue;
2216
- let n = this.rowHeaderColumnKeys, o = [];
2217
- for (let i of this.getChildren(e)) {
2218
- let r = this.columns[i.index];
2219
- if (n.has(r.key) && i.textValue && o.push(i.textValue), o.length === n.size) break;
2220
- }
2221
- return o.join(" ");
2222
- }
2223
- constructor(...e) {
2224
- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new ut(-1), this.body = new dt(-2), this.columnsDirty = !0;
2225
- }
2226
- }
2227
- const at = /* @__PURE__ */ ce(null), Bo = /* @__PURE__ */ Ue(function(e, l) {
2228
- let n = J(l), o = P(null), i = P(null), [r, u] = X(0);
2229
- Et(() => {
2230
- let d = o.current;
2231
- for (; d && d !== n.current && !Kn(d); ) d = d.parentElement;
2232
- i.current = d;
2233
- }, [
2234
- n
2235
- ]), Bn({
2236
- ref: i,
2237
- box: "border-box",
2238
- onResize() {
2239
- var d, f;
2240
- u((f = (d = i.current) === null || d === void 0 ? void 0 : d.clientWidth) !== null && f !== void 0 ? f : 0);
2241
- }
2242
- }), Et(() => {
2243
- var d, f;
2244
- u((f = (d = i.current) === null || d === void 0 ? void 0 : d.clientWidth) !== null && f !== void 0 ? f : 0);
2245
- }, []);
2246
- let s = K(() => ({
2247
- tableRef: o,
2248
- scrollRef: i,
2249
- tableWidth: r,
2250
- useTableColumnResizeState: Do,
2251
- onResizeStart: e.onResizeStart,
2252
- onResize: e.onResize,
2253
- onResizeEnd: e.onResizeEnd
2254
- }), [
2255
- o,
2256
- r,
2257
- e.onResizeStart,
2258
- e.onResize,
2259
- e.onResizeEnd
2260
- ]);
2261
- return /* @__PURE__ */ E.createElement("div", {
2262
- ...te(e, {
2263
- global: !0
2264
- }),
2265
- ref: n,
2266
- className: e.className || "react-aria-ResizableTableContainer",
2267
- style: e.style,
2268
- onScroll: e.onScroll
2269
- }, /* @__PURE__ */ E.createElement(at.Provider, {
2270
- value: s
2271
- }, e.children));
2272
- }), Ko = /* @__PURE__ */ ce(null), ie = /* @__PURE__ */ ce(null), st = /* @__PURE__ */ ce(null), Mo = /* @__PURE__ */ Ue(function(e, l) {
2273
- var n;
2274
- [e, l] = Ot(e, l, Ko);
2275
- let o = Wt(e), { selectionBehavior: i, selectionMode: r, disallowEmptySelection: u } = o, s = !!(!((n = e.dragAndDropHooks) === null || n === void 0) && n.useDraggableCollectionState), d = K(() => ({
2276
- selectionBehavior: r === "none" ? null : i,
2277
- selectionMode: r,
2278
- disallowEmptySelection: u,
2279
- allowsDragging: s
2280
- }), [
2281
- i,
2282
- r,
2283
- u,
2284
- s
2285
- ]), f = /* @__PURE__ */ E.createElement(Il.Provider, {
2286
- value: d
2287
- }, /* @__PURE__ */ E.createElement(Pe, e));
2288
- return /* @__PURE__ */ E.createElement(zn, {
2289
- content: f,
2290
- createCollection: () => new Po()
2291
- }, (a) => /* @__PURE__ */ E.createElement(No, {
2292
- props: e,
2293
- forwardedRef: l,
2294
- selectionState: o,
2295
- collection: a
2296
- }));
2297
- });
2298
- function No({ props: t, forwardedRef: e, selectionState: l, collection: n }) {
2299
- [t, e] = Ot(t, e, St);
2300
- let { shouldUseVirtualFocus: o, disallowTypeAhead: i, filter: r, ...u } = t, s = B(at);
2301
- e = J(K(() => xn(e, s?.tableRef), [
2302
- e,
2303
- s?.tableRef
2304
- ]));
2305
- let d = Ao({
2306
- ...u,
2307
- collection: n,
2308
- children: void 0,
2309
- UNSAFE_selectionState: l
2310
- }), f = Ro(d, r), { isVirtualized: a, layoutDelegate: p, dropTargetDelegate: c, CollectionRoot: m } = B(ee), { dragAndDropHooks: h } = t, { gridProps: y } = ao({
2311
- ...u,
2312
- layoutDelegate: p,
2313
- isVirtualized: a
2314
- }, f, e), v = f.selectionManager, $ = !!h?.useDraggableCollectionState, b = !!h?.useDroppableCollectionState, C = P($), g = P(b);
2315
- de(() => {
2316
- process.env.NODE_ENV !== "production" && (C.current !== $ && console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."), g.current !== b && console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."));
2317
- }, [
2318
- $,
2319
- b
2320
- ]);
2321
- let w, D, A, T = !1, z = null, N = P(null);
2322
- if ($ && h) {
2323
- w = h.useDraggableCollectionState({
2324
- collection: f.collection,
2325
- selectionManager: v,
2326
- preview: h.renderDragPreview ? N : void 0
2327
- }), h.useDraggableCollection({}, w, e);
2328
- let k = h.DragPreview;
2329
- z = h.renderDragPreview ? /* @__PURE__ */ E.createElement(k, {
2330
- ref: N
2331
- }, h.renderDragPreview) : null;
2332
- }
2333
- if (b && h) {
2334
- D = h.useDroppableCollectionState({
2335
- collection: f.collection,
2336
- selectionManager: v
2337
- });
2338
- let k = new Gn({
2339
- collection: f.collection,
2340
- disabledKeys: v.disabledKeys,
2341
- disabledBehavior: v.disabledBehavior,
2342
- ref: e,
2343
- layoutDelegate: p
2344
- }), S = h.dropTargetDelegate || c || new h.ListDropTargetDelegate(n.rows, e);
2345
- A = h.useDroppableCollection({
2346
- keyboardDelegate: k,
2347
- dropTargetDelegate: S
2348
- }, D, e), T = D.isDropTarget({
2349
- type: "root"
2350
- });
2351
- }
2352
- let { focusProps: H, isFocused: O, isFocusVisible: F } = we(), M = fe({
2353
- className: t.className,
2354
- style: t.style,
2355
- defaultClassName: "react-aria-Table",
2356
- values: {
2357
- isDropTarget: T,
2358
- isFocused: O,
2359
- isFocusVisible: F,
2360
- state: f
2361
- }
2362
- }), G = !!($ && !w?.isDisabled), j = M.style, le = null;
2363
- s && (le = s.useTableColumnResizeState({
2364
- tableWidth: s.tableWidth
2365
- }, f), a || (j = {
2366
- ...j,
2367
- tableLayout: "fixed",
2368
- width: "fit-content"
2369
- }));
2370
- let me = U("table"), he = te(t, {
2371
- global: !0
2372
- });
2373
- var Q;
2374
- return /* @__PURE__ */ E.createElement(Ge, {
2375
- values: [
2376
- [
2377
- ie,
2378
- f
2379
- ],
2380
- [
2381
- st,
2382
- le
2383
- ],
2384
- [
2385
- De,
2386
- {
2387
- dragAndDropHooks: h,
2388
- dragState: w,
2389
- dropState: D
2390
- }
2391
- ],
2392
- [
2393
- wn,
2394
- {
2395
- render: Oo
2396
- }
2397
- ],
2398
- [
2399
- St,
2400
- null
2401
- ],
2402
- [
2403
- gn,
2404
- null
2405
- ]
2406
- ]
2407
- }, /* @__PURE__ */ E.createElement(Ln, null, /* @__PURE__ */ E.createElement(me, {
2408
- ...L(he, M, y, H, A?.collectionProps),
2409
- style: j,
2410
- ref: e,
2411
- slot: t.slot || void 0,
2412
- onScroll: t.onScroll,
2413
- "data-allows-dragging": G || void 0,
2414
- "data-drop-target": T || void 0,
2415
- "data-focused": O || void 0,
2416
- "data-focus-visible": F || void 0
2417
- }, /* @__PURE__ */ E.createElement(En, null, /* @__PURE__ */ E.createElement(m, {
2418
- collection: f.collection,
2419
- scrollRef: (Q = s?.scrollRef) !== null && Q !== void 0 ? Q : e,
2420
- persistedKeys: Dn(v, h, D)
2421
- })))), z);
2422
- }
2423
- function U(t) {
2424
- let { isVirtualized: e } = B(ee);
2425
- return e ? "div" : t;
2426
- }
2427
- const Il = /* @__PURE__ */ ce(null);
2428
- function Vl() {
2429
- return B(Il);
2430
- }
2431
- class ut extends Ye {
2432
- }
2433
- ut.type = "tableheader";
2434
- const Fo = /* @__PURE__ */ tt(ut, (t, e) => {
2435
- let l = B(ie).collection, n = An({
2436
- items: l.headerRows,
2437
- children: V((d) => {
2438
- switch (d.type) {
2439
- case "headerrow":
2440
- return /* @__PURE__ */ E.createElement(Io, {
2441
- item: d
2442
- });
2443
- default:
2444
- throw new Error("Unsupported node type in TableHeader: " + d.type);
2445
- }
2446
- }, [])
2447
- }), o = U("thead"), { rowGroupProps: i } = Bl(), { hoverProps: r, isHovered: u } = Be({
2448
- onHoverStart: t.onHoverStart,
2449
- onHoverChange: t.onHoverChange,
2450
- onHoverEnd: t.onHoverEnd
2451
- }), s = fe({
2452
- className: t.className,
2453
- style: t.style,
2454
- defaultClassName: "react-aria-TableHeader",
2455
- values: {
2456
- isHovered: u
2457
- }
2458
- });
2459
- return /* @__PURE__ */ E.createElement(o, {
2460
- ...L(te(t, {
2461
- global: !0
2462
- }), i, r),
2463
- ...s,
2464
- ref: e,
2465
- "data-hovered": u || void 0
2466
- }, n);
2467
- }, (t) => /* @__PURE__ */ E.createElement(Pe, {
2468
- dependencies: t.dependencies,
2469
- items: t.columns
2470
- }, t.children));
2471
- function Io({ item: t }) {
2472
- let e = P(null), l = B(ie), { isVirtualized: n, CollectionBranch: o } = B(ee), { rowProps: i } = fo({
2473
- node: t,
2474
- isVirtualized: n
2475
- }, l, e), { checkboxProps: r } = bo(l), u = U("tr");
2476
- return /* @__PURE__ */ E.createElement(u, {
2477
- ...i,
2478
- ref: e
2479
- }, /* @__PURE__ */ E.createElement(Ge, {
2480
- values: [
2481
- [
2482
- Vt,
2483
- {
2484
- slots: {
2485
- selection: r
2486
- }
2487
- }
2488
- ]
2489
- ]
2490
- }, /* @__PURE__ */ E.createElement(o, {
2491
- collection: l.collection,
2492
- parent: t
2493
- })));
2494
- }
2495
- class Hl extends Ye {
2496
- }
2497
- Hl.type = "column";
2498
- const Vo = /* @__PURE__ */ jt(Hl, (t, e, l) => {
2499
- var n, o;
2500
- let i = J(e), r = B(ie), { isVirtualized: u } = B(ee), { columnHeaderProps: s } = uo({
2501
- node: l,
2502
- isVirtualized: u
2503
- }, r, i), { isFocused: d, isFocusVisible: f, focusProps: a } = we(), p = B(st), c = !1;
2504
- if (p) c = p.resizingColumn === l.key;
2505
- else if (process.env.NODE_ENV !== "production")
2506
- for (let C in [
2507
- "width",
2508
- "defaultWidth",
2509
- "minWidth",
2510
- "maxWidth"
2511
- ]) C in l.props && console.warn(`The ${C} prop on a <Column> only applies when a <Table> is wrapped in a <ResizableTableContainer>. If you aren't using column resizing, you can set the width of a column with CSS.`);
2512
- let { hoverProps: m, isHovered: h } = Be({
2513
- isDisabled: !t.allowsSorting
2514
- }), y = fe({
2515
- ...t,
2516
- id: void 0,
2517
- children: l.rendered,
2518
- defaultClassName: "react-aria-Column",
2519
- values: {
2520
- isHovered: h,
2521
- isFocused: d,
2522
- isFocusVisible: f,
2523
- allowsSorting: l.props.allowsSorting,
2524
- sortDirection: ((n = r.sortDescriptor) === null || n === void 0 ? void 0 : n.column) === l.key ? r.sortDescriptor.direction : void 0,
2525
- isResizing: c,
2526
- startResize: () => {
2527
- if (p)
2528
- p.startResize(l.key), r.setKeyboardNavigationDisabled(!0);
2529
- else throw new Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");
2530
- },
2531
- sort: (C) => {
2532
- r.sort(l.key, C);
2533
- }
2534
- }
2535
- }), v = y.style;
2536
- p && (v = {
2537
- ...v,
2538
- width: p.getColumnWidth(l.key)
2539
- });
2540
- let $ = U("th"), b = te(t, {
2541
- global: !0
2542
- });
2543
- return delete b.id, /* @__PURE__ */ E.createElement($, {
2544
- ...L(b, s, a, m),
2545
- ...y,
2546
- style: v,
2547
- ref: i,
2548
- "data-hovered": h || void 0,
2549
- "data-focused": d || void 0,
2550
- "data-focus-visible": f || void 0,
2551
- "data-resizing": c || void 0,
2552
- "data-allows-sorting": l.props.allowsSorting || void 0,
2553
- "data-sort-direction": ((o = r.sortDescriptor) === null || o === void 0 ? void 0 : o.column) === l.key ? r.sortDescriptor.direction : void 0
2554
- }, /* @__PURE__ */ E.createElement(Ge, {
2555
- values: [
2556
- [
2557
- Wl,
2558
- {
2559
- column: l,
2560
- triggerRef: i
2561
- }
2562
- ],
2563
- [
2564
- ee,
2565
- Lt
2566
- ]
2567
- ]
2568
- }, y.children));
2569
- }), Wl = /* @__PURE__ */ ce(null), Ho = /* @__PURE__ */ Ue(function(e, l) {
2570
- let n = B(st);
2571
- if (!n) throw new Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");
2572
- let o = Ke(To(Sn), "react-aria-components"), { onResizeStart: i, onResize: r, onResizeEnd: u } = B(at), { column: s, triggerRef: d } = B(Wl), f = P(null), { resizerProps: a, inputProps: p, isResizing: c } = vo({
2573
- column: s,
2574
- "aria-label": e["aria-label"] || o.format("tableResizer"),
2575
- onResizeStart: i,
2576
- onResize: r,
2577
- onResizeEnd: u,
2578
- triggerRef: d
2579
- }, n, f), { focusProps: m, isFocused: h, isFocusVisible: y } = we(), { hoverProps: v, isHovered: $ } = Be(e), b = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), C = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: g } = Se(), w = "both";
2580
- b ? w = g === "rtl" ? "right" : "left" : C ? w = g === "rtl" ? "left" : "right" : w = "both";
2581
- let D = J(l), [A, T] = X("");
2582
- de(() => {
2583
- if (!D.current) return;
2584
- let M = window.getComputedStyle(D.current);
2585
- T(M.cursor);
2586
- }, [
2587
- D,
2588
- w
2589
- ]);
2590
- let z = fe({
2591
- ...e,
2592
- defaultClassName: "react-aria-ColumnResizer",
2593
- values: {
2594
- isFocused: h,
2595
- isFocusVisible: y,
2596
- isResizing: c,
2597
- isHovered: $,
2598
- resizableDirection: w
2599
- }
2600
- }), [N, H] = X(!1), O = (M) => {
2601
- M.pointerType === "mouse" && H(!0);
2602
- };
2603
- !c && N && H(!1);
2604
- let F = te(e, {
2605
- global: !0
2606
- });
2607
- return /* @__PURE__ */ E.createElement("div", {
2608
- ref: D,
2609
- role: "presentation",
2610
- ...L(F, z, a, {
2611
- onPointerDown: O
2612
- }, v),
2613
- "data-hovered": $ || void 0,
2614
- "data-focused": h || void 0,
2615
- "data-focus-visible": y || void 0,
2616
- "data-resizing": c || void 0,
2617
- "data-resizable-direction": w
2618
- }, z.children, /* @__PURE__ */ E.createElement("input", {
2619
- ref: f,
2620
- ...L(p, m)
2621
- }), c && N && /* @__PURE__ */ Mn.createPortal(/* @__PURE__ */ E.createElement("div", {
2622
- style: {
2623
- position: "fixed",
2624
- top: 0,
2625
- left: 0,
2626
- bottom: 0,
2627
- right: 0,
2628
- cursor: A
2629
- }
2630
- }), document.body));
2631
- });
2632
- class dt extends Tn {
2633
- }
2634
- dt.type = "tablebody";
2635
- const Wo = /* @__PURE__ */ tt(dt, (t, e) => {
2636
- let l = B(ie), { isVirtualized: n } = B(ee), o = l.collection, { CollectionBranch: i } = B(ee), { dragAndDropHooks: r, dropState: u } = B(De), s = !!r?.useDroppableCollectionState && !u?.isDisabled;
2637
- var d;
2638
- let f = s && !!u && ((d = u.isDropTarget({
2639
- type: "root"
2640
- })) !== null && d !== void 0 ? d : !1), a = o.size === 0, p = {
2641
- isDropTarget: f,
2642
- isEmpty: a
2643
- }, c = fe({
2644
- ...t,
2645
- id: void 0,
2646
- children: void 0,
2647
- defaultClassName: "react-aria-TableBody",
2648
- values: p
2649
- }), m, h = U("tr"), y = U("td"), v = o.columnCount;
2650
- if (a && t.renderEmptyState && l) {
2651
- let g = {}, w = {}, D = {};
2652
- n ? (w["aria-colspan"] = v, D = {
2653
- display: "contents"
2654
- }) : w.colSpan = v, m = /* @__PURE__ */ E.createElement(h, {
2655
- role: "row",
2656
- ...g,
2657
- style: D
2658
- }, /* @__PURE__ */ E.createElement(y, {
2659
- role: "rowheader",
2660
- ...w,
2661
- style: D
2662
- }, t.renderEmptyState(p)));
2663
- }
2664
- let { rowGroupProps: $ } = Bl(), b = U("tbody"), C = te(t, {
2665
- global: !0
2666
- });
2667
- return /* @__PURE__ */ E.createElement(b, {
2668
- ...L(C, c, $),
2669
- ref: e,
2670
- "data-empty": a || void 0
2671
- }, s && /* @__PURE__ */ E.createElement(Go, null), /* @__PURE__ */ E.createElement(i, {
2672
- collection: o,
2673
- parent: o.body,
2674
- renderDropIndicator: Cn(r, u)
2675
- }), m);
2676
- });
2677
- class Ll extends Ye {
2678
- filter(e, l, n) {
2679
- let o = e.getChildren(this.key);
2680
- for (let i of o) if (n(i.textValue, i)) {
2681
- let r = this.clone();
2682
- return l.addDescendants(r, e), r;
2683
- }
2684
- return null;
2685
- }
2686
- }
2687
- Ll.type = "item";
2688
- const Pt = /* @__PURE__ */ tt(Ll, (t, e, l) => {
2689
- let n = J(e), o = B(ie), { dragAndDropHooks: i, dragState: r, dropState: u } = B(De), { isVirtualized: s, CollectionBranch: d } = B(ee), { rowProps: f, ...a } = co({
2690
- node: l,
2691
- shouldSelectOnPressUp: !!r,
2692
- isVirtualized: s
2693
- }, o, n), { isFocused: p, isFocusVisible: c, focusProps: m } = we(), { isFocusVisible: h, focusProps: y } = we({
2694
- within: !0
2695
- }), { hoverProps: v, isHovered: $ } = Be({
2696
- isDisabled: !a.allowsSelection && !a.hasAction,
2697
- onHoverStart: t.onHoverStart,
2698
- onHoverChange: t.onHoverChange,
2699
- onHoverEnd: t.onHoverEnd
2700
- }), { checkboxProps: b } = ho({
2701
- key: l.key
2702
- }, o), C;
2703
- r && i && (C = i.useDraggableItem({
2704
- key: l.key,
2705
- hasDragButton: !0
2706
- }, r));
2707
- let g, w = P(null), { visuallyHiddenProps: D } = Xe();
2708
- u && i && (g = i.useDropIndicator({
2709
- target: {
2710
- type: "item",
2711
- key: l.key,
2712
- dropPosition: "on"
2713
- }
2714
- }, u, w));
2715
- let A = P(null);
2716
- de(() => {
2717
- r && !A.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.');
2718
- }, []);
2719
- let T = r && r.isDragging(l.key), { children: z, ...N } = t, H = fe({
2720
- ...N,
2721
- id: void 0,
2722
- defaultClassName: "react-aria-Row",
2723
- values: {
2724
- ...a,
2725
- isHovered: $,
2726
- isFocused: p,
2727
- isFocusVisible: c,
2728
- selectionMode: o.selectionManager.selectionMode,
2729
- selectionBehavior: o.selectionManager.selectionBehavior,
2730
- isDragging: T,
2731
- isDropTarget: g?.isDropTarget,
2732
- isFocusVisibleWithin: h,
2733
- id: l.key
2734
- }
2735
- }), O = U("tr"), F = U("td"), M = te(t, {
2736
- global: !0
2737
- });
2738
- return delete M.id, delete M.onClick, /* @__PURE__ */ E.createElement(E.Fragment, null, g && !g.isHidden && /* @__PURE__ */ E.createElement(O, {
2739
- role: "row",
2740
- style: {
2741
- height: 0
2742
- }
2743
- }, /* @__PURE__ */ E.createElement(F, {
2744
- role: "gridcell",
2745
- colSpan: o.collection.columnCount,
2746
- style: {
2747
- padding: 0
2748
- }
2749
- }, /* @__PURE__ */ E.createElement("div", {
2750
- role: "button",
2751
- ...D,
2752
- ...g.dropIndicatorProps,
2753
- ref: w
2754
- }))), /* @__PURE__ */ E.createElement(O, {
2755
- ...L(M, H, f, m, v, C?.dragProps, y),
2756
- ref: n,
2757
- "data-disabled": a.isDisabled || void 0,
2758
- "data-selected": a.isSelected || void 0,
2759
- "data-hovered": $ || void 0,
2760
- "data-focused": a.isFocused || void 0,
2761
- "data-focus-visible": c || void 0,
2762
- "data-pressed": a.isPressed || void 0,
2763
- "data-dragging": T || void 0,
2764
- "data-drop-target": g?.isDropTarget || void 0,
2765
- "data-selection-mode": o.selectionManager.selectionMode === "none" ? void 0 : o.selectionManager.selectionMode,
2766
- "data-focus-visible-within": h || void 0
2767
- }, /* @__PURE__ */ E.createElement(Ge, {
2768
- values: [
2769
- [
2770
- Vt,
2771
- {
2772
- slots: {
2773
- [kt]: {},
2774
- selection: b
2775
- }
2776
- }
2777
- ],
2778
- [
2779
- It,
2780
- {
2781
- slots: {
2782
- [kt]: {},
2783
- drag: {
2784
- ...C?.dragButtonProps,
2785
- ref: A,
2786
- style: {
2787
- pointerEvents: "none"
2788
- }
2789
- }
2790
- }
2791
- }
2792
- ],
2793
- [
2794
- kn,
2795
- {
2796
- isSelected: a.isSelected
2797
- }
2798
- ]
2799
- ]
2800
- }, /* @__PURE__ */ E.createElement(d, {
2801
- collection: o.collection,
2802
- parent: l
2803
- }))));
2804
- }, (t) => {
2805
- 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.");
2806
- let e = [
2807
- t.value
2808
- ].concat(t.dependencies);
2809
- return /* @__PURE__ */ E.createElement(Pe, {
2810
- dependencies: e,
2811
- items: t.columns,
2812
- idScope: t.id
2813
- }, t.children);
2814
- });
2815
- class Ol extends Ye {
2816
- }
2817
- Ol.type = "cell";
2818
- const Lo = /* @__PURE__ */ jt(Ol, (t, e, l) => {
2819
- let n = J(e), o = B(ie), { dragState: i } = B(De), { isVirtualized: r } = B(ee);
2820
- l.column = o.collection.columns[l.index];
2821
- let { gridCellProps: u, isPressed: s } = po({
2822
- node: l,
2823
- shouldSelectOnPressUp: !!i,
2824
- isVirtualized: r
2825
- }, o, n), { isFocused: d, isFocusVisible: f, focusProps: a } = we(), { hoverProps: p, isHovered: c } = Be({}), m = fe({
2826
- ...t,
2827
- id: void 0,
2828
- defaultClassName: "react-aria-Cell",
2829
- values: {
2830
- isFocused: d,
2831
- isFocusVisible: f,
2832
- isPressed: s,
2833
- isHovered: c,
2834
- id: l.key
2835
- }
2836
- }), h = U("td"), y = te(t, {
2837
- global: !0
2838
- });
2839
- return delete y.id, /* @__PURE__ */ E.createElement(h, {
2840
- ...L(y, m, u, a, p),
2841
- ref: n,
2842
- "data-focused": d || void 0,
2843
- "data-focus-visible": f || void 0,
2844
- "data-pressed": s || void 0
2845
- }, /* @__PURE__ */ E.createElement(ee.Provider, {
2846
- value: Lt
2847
- }, m.children));
2848
- });
2849
- function Oo(t, e) {
2850
- e = J(e);
2851
- let { dragAndDropHooks: l, dropState: n } = B(De), o = P(null), { dropIndicatorProps: i, isHidden: r, isDropTarget: u } = l.useDropIndicator(t, n, o);
2852
- return r ? null : /* @__PURE__ */ E.createElement(Uo, {
2853
- ...t,
2854
- dropIndicatorProps: i,
2855
- isDropTarget: u,
2856
- buttonRef: o,
2857
- ref: e
2858
- });
2859
- }
2860
- function jo(t, e) {
2861
- let { dropIndicatorProps: l, isDropTarget: n, buttonRef: o, ...i } = t, r = B(ie), { visuallyHiddenProps: u } = Xe(), s = fe({
2862
- ...i,
2863
- defaultClassName: "react-aria-DropIndicator",
2864
- values: {
2865
- isDropTarget: n
2866
- }
2867
- }), d = U("tr"), f = U("td");
2868
- return /* @__PURE__ */ E.createElement(d, {
2869
- ...te(t, {
2870
- global: !0
2871
- }),
2872
- ...s,
2873
- role: "row",
2874
- ref: e,
2875
- "data-drop-target": n || void 0
2876
- }, /* @__PURE__ */ E.createElement(f, {
2877
- role: "gridcell",
2878
- colSpan: r.collection.columnCount,
2879
- style: {
2880
- padding: 0
2881
- }
2882
- }, /* @__PURE__ */ E.createElement("div", {
2883
- ...u,
2884
- role: "button",
2885
- ...l,
2886
- ref: o
2887
- }), s.children));
2888
- }
2889
- const Uo = /* @__PURE__ */ Ue(jo);
2890
- function Go() {
2891
- let t = B(ie), { dragAndDropHooks: e, dropState: l } = B(De), n = P(null), { dropIndicatorProps: o } = e.useDropIndicator({
2892
- target: {
2893
- type: "root"
2894
- }
2895
- }, l, n), i = l.isDropTarget({
2896
- type: "root"
2897
- }), { visuallyHiddenProps: r } = Xe(), u = U("tr"), s = U("td");
2898
- return !i && o["aria-hidden"] ? null : /* @__PURE__ */ E.createElement(u, {
2899
- role: "row",
2900
- "aria-hidden": o["aria-hidden"],
2901
- style: {
2902
- height: 0
2903
- }
2904
- }, /* @__PURE__ */ E.createElement(s, {
2905
- role: "gridcell",
2906
- colSpan: t.collection.columnCount,
2907
- style: {
2908
- padding: 0
2909
- }
2910
- }, /* @__PURE__ */ E.createElement("div", {
2911
- role: "button",
2912
- ...r,
2913
- ...o,
2914
- ref: n
2915
- })));
2916
- }
2917
- const { withProvider: Yo, withContext: q } = /* @__PURE__ */ Jl({
2918
- key: "dataTable"
2919
- }), Xo = /* @__PURE__ */ Yo("div", "root"), qo = /* @__PURE__ */ q("table", "table"), Zo = /* @__PURE__ */ q("tr", "header"), Jo = /* @__PURE__ */ q("th", "column"), Qo = /* @__PURE__ */ q("tbody", "body"), Bt = /* @__PURE__ */ q("tr", "row"), _o = /* @__PURE__ */ q("td", "cell"), ei = /* @__PURE__ */ q("footer", "footer"), ti = /* @__PURE__ */ q("td", "selectionCell"), jl = /* @__PURE__ */ q("button", "expandButton"), li = /* @__PURE__ */ q("span", "nestedIcon"), ni = /* @__PURE__ */ q("span", "headerSortIcon"), oi = /* @__PURE__ */ q("div", "columnResizer"), qe = /* @__PURE__ */ ce(null);
2920
- qe.displayName = "DataTable.Context";
2921
- const ct = /* @__PURE__ */ ce(null);
2922
- ct.displayName = "CustomSettings.Context";
2923
- const pe = () => {
2924
- const t = B(
2925
- qe
2926
- );
2927
- if (!t)
2928
- throw new Error("DataTable components must be used within DataTable.Root");
2929
- return t;
2930
- }, ii = () => {
2931
- const t = B(ct);
2932
- if (!t)
2933
- throw new Error(
2934
- "CustomSettings components must be used within CustomSettings.Root"
2935
- );
2936
- return t;
2937
- };
2938
- function Ul(t, e, l, n) {
2939
- if (!e) return t;
2940
- const o = e.toLowerCase();
2941
- return t.map((i) => {
2942
- const r = l.some((u) => {
2943
- const s = u.accessor(i);
2944
- return typeof s == "string" && s.toLowerCase().includes(o);
2945
- });
2946
- if (n && i[n]) {
2947
- let u = i[n];
2948
- if (Array.isArray(i[n])) {
2949
- if (u = Ul(
2950
- i[n],
2951
- e,
2952
- l,
2953
- n
2954
- ), r || u && Array.isArray(u) && u.length > 0)
2955
- return { ...i, [n]: u };
2956
- } else if (r)
2957
- return { ...i, [n]: u };
2958
- return null;
2959
- } else
2960
- return r ? i : null;
2961
- }).filter(Boolean);
2962
- }
2963
- function Gl(t, e, l, n, o) {
2964
- const i = [], r = [];
2965
- t.forEach((d) => {
2966
- o?.has(d.id) ? i.push(d) : r.push(d);
2967
- });
2968
- let u = r;
2969
- if (e) {
2970
- const d = l.find((f) => f.id === e.column);
2971
- d && (u = [...r].sort((f, a) => {
2972
- const p = d.accessor(f), c = d.accessor(a);
2973
- if (p == null && c == null) return 0;
2974
- if (p == null) return 1;
2975
- if (c == null) return -1;
2976
- let m = p, h = c;
2977
- return typeof p == "number" && typeof c == "number" ? (m = p, h = c) : (m = String(p).toLowerCase(), h = String(c).toLowerCase()), m < h ? e.direction === "ascending" ? -1 : 1 : m > h ? e.direction === "ascending" ? 1 : -1 : 0;
2978
- }));
2979
- }
2980
- return [...i, ...u].map((d) => !n || !d[n] ? d : {
2981
- ...d,
2982
- [n]: Array.isArray(d[n]) ? Gl(
2983
- d[n],
2984
- e,
2985
- l,
2986
- n,
2987
- o
2988
- ) : d[n]
2989
- });
2990
- }
2991
- function Yl(t, e) {
2992
- return e ? t.some(
2993
- (l) => l[e] && (Array.isArray(l[e]) ? l[e].length > 0 : !0) || Array.isArray(l[e]) && Yl(l[e], e)
2994
- ) : !1;
2995
- }
2996
- const ft = function(e) {
2997
- const {
2998
- ref: l,
2999
- columns: n = [],
3000
- rows: o = [],
3001
- visibleColumns: i,
3002
- search: r,
3003
- sortDescriptor: u,
3004
- defaultSortDescriptor: s,
3005
- onSortChange: d,
3006
- selectedKeys: f,
3007
- defaultSelectedKeys: a,
3008
- onSelectionChange: p,
3009
- selectionMode: c = "none",
3010
- disallowEmptySelection: m = !1,
3011
- allowsSorting: h = !1,
3012
- maxHeight: y,
3013
- isTruncated: v = !1,
3014
- density: $ = "default",
3015
- nestedKey: b,
3016
- onRowClick: C,
3017
- onDetailsClick: g,
3018
- disabledKeys: w,
3019
- onRowAction: D,
3020
- isResizable: A,
3021
- pinnedRows: T,
3022
- defaultPinnedRows: z,
3023
- onPinToggle: N,
3024
- onColumnsChange: H,
3025
- onSettingsChange: O,
3026
- customSettings: F,
3027
- children: M,
3028
- ...G
3029
- } = e, j = P(null), le = J(Te(j, l)), [me, he] = X(s), [Q, k] = X({}), [S, I] = X(
3030
- () => z || /* @__PURE__ */ new Set()
3031
- ), ae = u ?? me, Ne = T ?? S, ge = K(() => {
3032
- if (!i)
3033
- return n;
3034
- const Y = new Map(n.map((Z) => [Z.id, Z]));
3035
- return i.map((Z) => Y.get(Z)).filter((Z) => Z !== void 0);
3036
- }, [n, i]), Fe = K(
3037
- () => r ? Ul(o, r, ge, b) : o,
3038
- [o, r, ge, b]
3039
- ), Ze = K(
3040
- () => Gl(
3041
- Fe,
3042
- ae,
3043
- ge,
3044
- b,
3045
- Ne
3046
- ),
3047
- [Fe, ae, ge, b, Ne]
3048
- ), vt = Yl(Ze, b), yt = c !== "none", $t = V(
3049
- (Y) => k((Z) => ({ ...Z, [Y]: !Z[Y] })),
3050
- []
3051
- ), xt = V(
3052
- (Y) => {
3053
- N ? N(Y) : I((Z) => {
3054
- const Ie = new Set(Z);
3055
- return Ie.has(Y) ? Ie.delete(Y) : Ie.add(Y), Ie;
3056
- });
3057
- },
3058
- [N]
3059
- ), Ct = V(
3060
- (Y) => {
3061
- d ? d(Y) : he(Y);
3062
- },
3063
- [d]
3064
- ), ql = K(
3065
- () => ({
3066
- columns: n,
3067
- rows: o,
3068
- visibleColumns: i,
3069
- search: r,
3070
- sortDescriptor: ae,
3071
- selectedKeys: f,
3072
- defaultSelectedKeys: a,
3073
- expanded: Q,
3074
- allowsSorting: h,
3075
- selectionMode: c,
3076
- disallowEmptySelection: m,
3077
- maxHeight: y,
3078
- isTruncated: v,
3079
- density: $,
3080
- nestedKey: b,
3081
- onSortChange: Ct,
3082
- onSelectionChange: p,
3083
- onRowClick: C,
3084
- onDetailsClick: g,
3085
- toggleExpand: $t,
3086
- activeColumns: ge,
3087
- filteredRows: Fe,
3088
- sortedRows: Ze,
3089
- showExpandColumn: vt,
3090
- showSelectionColumn: yt,
3091
- isResizable: A,
3092
- disabledKeys: w,
3093
- onRowAction: D,
3094
- pinnedRows: Ne,
3095
- onPinToggle: N,
3096
- togglePin: xt,
3097
- onColumnsChange: H,
3098
- onSettingsChange: O
3099
- }),
3100
- [
3101
- n,
3102
- o,
3103
- i,
3104
- r,
3105
- ae,
3106
- f,
3107
- a,
3108
- Q,
3109
- h,
3110
- c,
3111
- m,
3112
- y,
3113
- v,
3114
- $,
3115
- b,
3116
- Ct,
3117
- p,
3118
- C,
3119
- g,
3120
- $t,
3121
- ge,
3122
- Fe,
3123
- Ze,
3124
- vt,
3125
- yt,
3126
- A,
3127
- w,
3128
- D,
3129
- Ne,
3130
- N,
3131
- xt,
3132
- H,
3133
- O
3134
- ]
3135
- ), Zl = K(
3136
- () => ({
3137
- customSettings: F
3138
- }),
3139
- [F]
3140
- );
3141
- return /* @__PURE__ */ x(
3142
- Xo,
3143
- {
3144
- ref: le,
3145
- truncated: v,
3146
- density: $,
3147
- maxH: y,
3148
- ...G,
3149
- asChild: !0,
3150
- children: /* @__PURE__ */ x(Bo, { children: /* @__PURE__ */ x(
3151
- qe.Provider,
3152
- {
3153
- value: ql,
3154
- children: /* @__PURE__ */ x(ct.Provider, { value: Zl, children: M })
3155
- }
3156
- ) })
3157
- }
3158
- );
3159
- };
3160
- ft.displayName = "DataTable.Root";
3161
- const ri = {
3162
- comfortable: "Comfortable",
3163
- comfortableAriaLabel: "Comfortable section",
3164
- compact: "Compact",
3165
- compactAriaLabel: "Compact section",
3166
- dataTable: "Data table",
3167
- dataTableBody: "Data table body",
3168
- dataTableHeader: "Data table header",
3169
- expandRows: "Expand rows",
3170
- fullText: "Full text",
3171
- fullTextAriaLabel: "Full text section",
3172
- hiddenColumns: "Hidden columns",
3173
- hiddenColumnsAriaLabel: "Hidden columns list",
3174
- hideColumn: "Hide column",
3175
- layoutSettings: "Layout settings",
3176
- layoutSettingsAriaLabel: "Layout settings section",
3177
- noHiddenColumns: "No Hidden columns",
3178
- pinRows: "Pin rows",
3179
- reset: "Reset columns",
3180
- resizeColumn: "Resize column",
3181
- rowDensity: "Row density",
3182
- rowDensityAriaLabel: "Row density section",
3183
- searchHiddenColumns: "Search...",
3184
- selectRow: "Select row",
3185
- settings: "Table settings",
3186
- settingsTabsAriaLabel: "Settings tabs",
3187
- textPreviews: "Text previews",
3188
- textPreviewsAriaLabel: "Text previews section",
3189
- textVisibility: "Text visibility",
3190
- textVisibilityAriaLabel: "Text visibility section",
3191
- visibleColumns: "Visible columns",
3192
- visibleColumnsAria: "Visible columns list",
3193
- visibleColumnsList: "Visible columns"
3194
- }, ai = {
3195
- comfortable: "Komfortabel",
3196
- comfortableAriaLabel: "Komfortabler Bereich",
3197
- compact: "Kompakt",
3198
- compactAriaLabel: "Kompakter Bereich",
3199
- dataTable: "Datentabelle",
3200
- dataTableBody: "Datentabellenkörper",
3201
- dataTableHeader: "Datentabellenüberschrift",
3202
- expandRows: "Zeilen erweitern",
3203
- fullText: "Vollständiger Text",
3204
- fullTextAriaLabel: "Volltextbereich",
3205
- hiddenColumns: "Ausgeblendete Spalten",
3206
- hiddenColumnsAriaLabel: "Ausgeblendete Spaltenliste",
3207
- hideColumn: "Spalte ausblenden",
3208
- layoutSettings: "Layout-Einstellungen",
3209
- layoutSettingsAriaLabel: "Bereich Layout-Einstellungen",
3210
- noHiddenColumns: "Keine ausgeblendeten Spalten",
3211
- pinRows: "Zeilen fixieren",
3212
- reset: "Spalten zurücksetzen",
3213
- resizeColumn: "Spalte vergrößern",
3214
- rowDensity: "Zeilendichte",
3215
- rowDensityAriaLabel: "Abschnitt Zellendichte",
3216
- searchHiddenColumns: "Suche ...",
3217
- selectRow: "Zeile auswählen",
3218
- settings: "Tabellen-Einstellungen",
3219
- settingsTabsAriaLabel: "Settings tabs",
3220
- textPreviews: "Textvorschau",
3221
- textPreviewsAriaLabel: "Abschnitt Textvorschau",
3222
- textVisibility: "Textsichtbarkeit",
3223
- textVisibilityAriaLabel: "Abschnitt Textsichtbarkeit",
3224
- visibleColumns: "Sichtbare Spalten",
3225
- visibleColumnsAria: "Sichtbare Spaltenliste",
3226
- visibleColumnsList: "Sichtbare Spalten"
3227
- }, si = {
3228
- comfortable: "Cómoda",
3229
- comfortableAriaLabel: "Sección cómoda",
3230
- compact: "Compacta",
3231
- compactAriaLabel: "Sección compacta",
3232
- dataTable: "Tabla de datos",
3233
- dataTableBody: "Cuerpo de la tabla de datos",
3234
- dataTableHeader: "Encabezamiento de la tabla de datos",
3235
- expandRows: "Extender filas",
3236
- fullText: "Texto completo",
3237
- fullTextAriaLabel: "Sección de texto completo",
3238
- hiddenColumns: "Columnas ocultas",
3239
- hiddenColumnsAriaLabel: "Lista de columnas ocultas",
3240
- hideColumn: "Ocultar columna",
3241
- layoutSettings: "Configuraciones de formato",
3242
- layoutSettingsAriaLabel: "Sección de configuraciones de formato",
3243
- noHiddenColumns: "Sin columnas ocultas",
3244
- pinRows: "Fijar filas",
3245
- reset: "Restablecer columnas",
3246
- resizeColumn: "Ajustar tamaño de columna",
3247
- rowDensity: "Densidad de filas",
3248
- rowDensityAriaLabel: "Sección de densidad de filas",
3249
- searchHiddenColumns: "Buscar...",
3250
- selectRow: "Seleccionar fila",
3251
- settings: "Configuraciones de tablas",
3252
- settingsTabsAriaLabel: "Settings tabs",
3253
- textPreviews: "Vistas preliminares de texto",
3254
- textPreviewsAriaLabel: "Sección de vistas preliminares de texto",
3255
- textVisibility: "Visibilidad de texto",
3256
- textVisibilityAriaLabel: "Sección de visibilidad de texto",
3257
- visibleColumns: "Columnas visibles",
3258
- visibleColumnsAria: "Lista de columnas visibles",
3259
- visibleColumnsList: "Columnas visibles"
3260
- }, ui = {
3261
- comfortable: "Confortable",
3262
- comfortableAriaLabel: "Section Confortable",
3263
- compact: "Compact",
3264
- compactAriaLabel: "Section Compact",
3265
- dataTable: "Tableau de données",
3266
- dataTableBody: "Corps du tableau de données",
3267
- dataTableHeader: "En-tête du tableau de données",
3268
- expandRows: "Agrandir les lignes",
3269
- fullText: "Texte complet",
3270
- fullTextAriaLabel: "Section Texte complet",
3271
- hiddenColumns: "Colonnes masquées",
3272
- hiddenColumnsAriaLabel: "Liste des colonnes masquées",
3273
- hideColumn: "Masquer la colonne",
3274
- layoutSettings: "Paramètres de disposition",
3275
- layoutSettingsAriaLabel: "Section Paramètres de disposition",
3276
- noHiddenColumns: "Pas de colonnes masquées",
3277
- pinRows: "Épingler les lignes",
3278
- reset: "Réinitialiser les colonnes",
3279
- resizeColumn: "Modifier la taille de la colonne",
3280
- rowDensity: "Densité des lignes",
3281
- rowDensityAriaLabel: "Section Densité des lignes",
3282
- searchHiddenColumns: "Rechercher...",
3283
- selectRow: "Sélectionner une ligne",
3284
- settings: "Paramètres du tableau",
3285
- settingsTabsAriaLabel: "Settings tabs",
3286
- textPreviews: "Aperçu du texte",
3287
- textPreviewsAriaLabel: "Section Aperçu du texte",
3288
- textVisibility: "Visibilité du texte",
3289
- textVisibilityAriaLabel: "Section Visibilité du texte",
3290
- visibleColumns: "Colonnes visibles",
3291
- visibleColumnsAria: "Liste des colonnes visibles",
3292
- visibleColumnsList: "Colonnes visibles"
3293
- }, di = {
3294
- comfortable: "Confortável",
3295
- comfortableAriaLabel: "Seção confortável",
3296
- compact: "Compacto",
3297
- compactAriaLabel: "Seção compacta",
3298
- dataTable: "Tabela de dados",
3299
- dataTableBody: "Corpo da tabela de dados",
3300
- dataTableHeader: "Cabeçalho da tabela de dados",
3301
- expandRows: "Expandir linhas",
3302
- fullText: "Texto completo",
3303
- fullTextAriaLabel: "Seção de texto completo",
3304
- hiddenColumns: "Colunas ocultas",
3305
- hiddenColumnsAriaLabel: "Lista de colunas ocultas",
3306
- hideColumn: "Ocultar coluna",
3307
- layoutSettings: "Configurações de layout",
3308
- layoutSettingsAriaLabel: "Seção de configurações de layout",
3309
- noHiddenColumns: "Sem colunas ocultas",
3310
- pinRows: "Fixar linhas",
3311
- reset: "Redefinir colunas",
3312
- resizeColumn: "Redimensionar colunas",
3313
- rowDensity: "Densidade da linha",
3314
- rowDensityAriaLabel: "Seção de densidade da linha",
3315
- searchHiddenColumns: "Buscar...",
3316
- selectRow: "Selecionar linha",
3317
- settings: "Configurações da tabela",
3318
- settingsTabsAriaLabel: "Settings tabs",
3319
- textPreviews: "Pré-visualizações de texto",
3320
- textPreviewsAriaLabel: "Seção de pré-visualizações de texto",
3321
- textVisibility: "Visibilidade do texto",
3322
- textVisibilityAriaLabel: "Seção de visibilidade do texto",
3323
- visibleColumns: "Colunas visíveis",
3324
- visibleColumnsAria: "Lista de colunas visíveis",
3325
- visibleColumnsList: "Colunas visíveis"
3326
- }, re = {
3327
- en: /* @__PURE__ */ Ee(ri),
3328
- de: /* @__PURE__ */ Ee(ai),
3329
- es: /* @__PURE__ */ Ee(si),
3330
- "fr-FR": /* @__PURE__ */ Ee(ui),
3331
- "pt-BR": /* @__PURE__ */ Ee(di)
3332
- }, pt = function({
3333
- ref: e,
3334
- children: l,
3335
- "aria-label": n,
3336
- ...o
3337
- }) {
3338
- const i = P(null), r = J(Te(i, e)), u = oe(re), {
3339
- sortDescriptor: s,
3340
- onSortChange: d,
3341
- selectionMode: f,
3342
- onSelectionChange: a,
3343
- selectedKeys: p,
3344
- defaultSelectedKeys: c,
3345
- disallowEmptySelection: m,
3346
- disabledKeys: h
3347
- } = pe(), [y, v] = ke(o), $ = n ?? u.format("dataTable"), b = s ? {
3348
- column: s.column,
3349
- direction: s.direction
3350
- } : void 0;
3351
- return /* @__PURE__ */ x(qo, { ...y, asChild: !0, children: /* @__PURE__ */ x(
3352
- Mo,
3353
- {
3354
- ref: r,
3355
- "aria-label": $,
3356
- sortDescriptor: b,
3357
- onSortChange: (g) => {
3358
- g && d && d({
3359
- column: String(g.column),
3360
- direction: g.direction
3361
- });
3362
- },
3363
- selectedKeys: p,
3364
- defaultSelectedKeys: c,
3365
- onSelectionChange: a,
3366
- selectionMode: f,
3367
- disallowEmptySelection: m,
3368
- disabledKeys: h,
3369
- disabledBehavior: "all",
3370
- ...v,
3371
- children: l
3372
- }
3373
- ) });
3374
- };
3375
- pt.displayName = "DataTable.Table";
3376
- const Ce = ({
3377
- children: t,
3378
- ref: e,
3379
- column: l,
3380
- isInternalColumn: n,
3381
- width: o,
3382
- minWidth: i,
3383
- maxWidth: r,
3384
- ...u
3385
- }) => {
3386
- const s = oe(re), { sortDescriptor: d, isResizable: f } = pe(), a = d?.column === l?.id, p = l?.isResizable !== void 0 ? l?.isResizable : f, [c, m] = ke(u);
3387
- return /* @__PURE__ */ x(Jo, { ...c, asChild: !0, children: /* @__PURE__ */ x(
3388
- Vo,
3389
- {
3390
- width: o,
3391
- minWidth: i,
3392
- maxWidth: r,
3393
- ref: e,
3394
- ...m,
3395
- children: (h) => {
3396
- const { allowsSorting: y } = h;
3397
- return n ? typeof t == "function" ? t(h) : t : /* @__PURE__ */ R(
3398
- _n,
3399
- {
3400
- tabIndex: p || y ? -1 : 0,
3401
- className: "nimbus-data-table__column-container",
3402
- children: [
3403
- /* @__PURE__ */ x(
3404
- Nt,
3405
- {
3406
- orientation: "vertical",
3407
- className: "data-table-column-divider"
3408
- }
3409
- ),
3410
- typeof t == "function" ? t(h) : t,
3411
- y && /* @__PURE__ */ x(
3412
- ni,
3413
- {
3414
- "aria-hidden": "true",
3415
- "data-sort-active": a,
3416
- "data-sort-direction": a ? d?.direction : "none",
3417
- children: /* @__PURE__ */ x(Ql, {})
3418
- }
3419
- ),
3420
- p && /* @__PURE__ */ x(Ho, { "aria-label": s.format("resizeColumn"), children: ({ isResizing: v, isFocused: $, isHovered: b }) => /* @__PURE__ */ x(
3421
- oi,
3422
- {
3423
- "data-resizing": v,
3424
- "data-focused": $,
3425
- "data-hovered": b
3426
- }
3427
- ) })
3428
- ]
3429
- }
3430
- );
3431
- }
3432
- }
3433
- ) });
3434
- };
3435
- Ce.displayName = "DataTable.Column";
3436
- const mt = ({
3437
- ref: t,
3438
- "aria-label": e,
3439
- ...l
3440
- }) => {
3441
- const n = oe(re), { activeColumns: o, allowsSorting: i, maxHeight: r, showExpandColumn: u } = pe(), { selectionBehavior: s, selectionMode: d } = Vl(), [f, a] = ke(l), p = e ?? n.format("dataTableHeader");
3442
- return /* @__PURE__ */ x(Zo, { ...f, asChild: !0, children: /* @__PURE__ */ R(
3443
- Fo,
3444
- {
3445
- ref: t,
3446
- "aria-label": p,
3447
- className: "data-table-header",
3448
- ...r && { "data-sticky": !0 },
3449
- columns: o,
3450
- ...a,
3451
- children: [
3452
- s === "toggle" && /* @__PURE__ */ x(
3453
- Ce,
3454
- {
3455
- id: "selection",
3456
- className: "selection-column-header",
3457
- maxWidth: 72,
3458
- minWidth: 72,
3459
- allowsSorting: !1,
3460
- isInternalColumn: !0,
3461
- children: d === "multiple" && /* @__PURE__ */ x(Yt, { slot: "selection" })
3462
- }
3463
- ),
3464
- u && /* @__PURE__ */ x(
3465
- Ce,
3466
- {
3467
- className: "expand-column-header",
3468
- maxWidth: s === "toggle" ? 24 : 72,
3469
- minWidth: s === "toggle" ? 24 : 72,
3470
- allowsSorting: !1,
3471
- "aria-label": n.format("expandRows"),
3472
- isInternalColumn: !0,
3473
- children: /* @__PURE__ */ x(Rt, { children: n.format("expandRows") })
3474
- }
3475
- ),
3476
- /* @__PURE__ */ x(Pe, { items: o, children: (c) => /* @__PURE__ */ R(
3477
- Ce,
3478
- {
3479
- allowsSorting: (
3480
- // use column.isSortable if defined, and fallback to allowsSorting if not
3481
- c.isSortable !== void 0 ? c.isSortable : i
3482
- ),
3483
- isRowHeader: !0,
3484
- width: c.width,
3485
- defaultWidth: c.defaultWidth,
3486
- minWidth: c.minWidth ?? 150,
3487
- maxWidth: c.maxWidth,
3488
- column: c,
3489
- children: [
3490
- /* @__PURE__ */ x("span", { "data-multiline-header": !0, children: c.header }),
3491
- c.headerIcon && /* @__PURE__ */ x(ne, { as: "span", ml: "200", children: c.headerIcon })
3492
- ]
3493
- }
3494
- ) }),
3495
- /* @__PURE__ */ x(
3496
- Ce,
3497
- {
3498
- className: "pin-rows-column-header",
3499
- id: "pin-rows",
3500
- maxWidth: 72,
3501
- minWidth: 72,
3502
- allowsSorting: !1,
3503
- isInternalColumn: !0,
3504
- "aria-label": n.format("pinRows"),
3505
- children: /* @__PURE__ */ x(Rt, { children: n.format("pinRows") })
3506
- }
3507
- )
3508
- ]
3509
- }
3510
- ) });
3511
- };
3512
- mt.displayName = "DataTable.Header";
3513
- const be = ({
3514
- ref: t,
3515
- children: e,
3516
- isDisabled: l,
3517
- ...n
3518
- }) => {
3519
- const [o, i] = ke(n);
3520
- return /* @__PURE__ */ x(_o, { asChild: !0, ...o, children: /* @__PURE__ */ x(Lo, { ref: t, ...i, children: (r) => /* @__PURE__ */ x(It.Provider, { value: { isDisabled: l }, children: typeof e == "function" ? e(r) : e }) }) });
3521
- };
3522
- be.displayName = "DataTable.Cell";
3523
- function et(t) {
3524
- return t.target?.closest(
3525
- 'button, input, [role="button"], [role="checkbox"], [slot="selection"], [data-slot="selection"]'
3526
- );
3527
- }
3528
- function ci(t) {
3529
- return t.target?.closest(
3530
- '[slot="selection"], [data-slot="selection"], [role="checkbox"]'
3531
- );
3532
- }
3533
- function Kt(t) {
3534
- const e = et(t), l = ci(t);
3535
- (!e || e && !l) && t.stopPropagation();
3536
- }
3537
- const ht = ({
3538
- row: t,
3539
- ref: e,
3540
- ...l
3541
- }) => {
3542
- const n = oe(re), {
3543
- activeColumns: o,
3544
- search: i,
3545
- expanded: r,
3546
- toggleExpand: u,
3547
- nestedKey: s,
3548
- disabledKeys: d,
3549
- showExpandColumn: f,
3550
- showSelectionColumn: a,
3551
- isTruncated: p,
3552
- onRowClick: c,
3553
- onRowAction: m,
3554
- pinnedRows: h,
3555
- togglePin: y,
3556
- sortedRows: v
3557
- } = pe(), [$, b] = ke(l), g = ((S) => d ? d === "all" || t.isDisabled ? !0 : d.has(S) : !1)(t.id), w = P(null), D = V(
3558
- (S) => {
3559
- if (!c) return;
3560
- const I = et(S), ae = window.getSelection()?.toString() !== void 0 && window.getSelection().toString().length > 0;
3561
- !I && !ae && (w.current && window.clearTimeout(w.current), w.current = window.setTimeout(() => {
3562
- g ? m && m(t, "click") : c(t), w.current = null;
3563
- }, 300));
3564
- },
3565
- [c, m, t, g]
3566
- ), A = V((S) => {
3567
- et(S) || w.current && (window.clearTimeout(w.current), w.current = null);
3568
- }, []), T = P({
3569
- count: 0,
3570
- node: void 0
3571
- }), z = V(
3572
- (S) => {
3573
- T.current.count += 1, T.current.count === 1 && S && (T.current.node = S, S.addEventListener(
3574
- // Use pointerdown event in order to capture event before it bubbles to react-aria's onPress handler
3575
- "pointerdown",
3576
- Kt,
3577
- {
3578
- capture: !0
3579
- }
3580
- ), S.addEventListener("mouseup", D, { capture: !0 }), S.addEventListener("dblclick", A, {
3581
- capture: !0
3582
- }));
3583
- },
3584
- [D, A]
3585
- );
3586
- de(() => () => {
3587
- w.current && (window.clearTimeout(w.current), w.current = null), T.current.count >= 1 && T.current.node && (T.current.node.removeEventListener(
3588
- "pointerdown",
3589
- Kt
3590
- ), T.current.node.removeEventListener("mouseup", D), T.current.node.removeEventListener(
3591
- "dblclick",
3592
- A
3593
- ));
3594
- }, [D, A]);
3595
- const N = Te(e, z), { selectionBehavior: H } = Vl(), O = s && t[s] && (Array.isArray(t[s]) ? t[s].length > 0 : !0), F = r[t.id], M = h.has(t.id), G = v.filter((S) => h.has(S.id)).map((S) => S.id), j = M ? G.indexOf(t.id) : -1, le = j === 0, me = j === G.length - 1, he = G.length === 1 && M, Q = () => M ? he ? "data-table-row-pinned-single" : le ? "data-table-row-pinned-first" : me ? "data-table-row-pinned-last" : "" : "", k = (S) => i && typeof S == "string" ? /* @__PURE__ */ x(Qn, { query: i, ignoreCase: !0, matchAll: !0, children: S }) : S;
3596
- return /* @__PURE__ */ R(ze, { children: [
3597
- /* @__PURE__ */ x(Bt, { asChild: !0, ...$, children: /* @__PURE__ */ R(
3598
- Pt,
3599
- {
3600
- isDisabled: g,
3601
- columns: o,
3602
- ref: N,
3603
- id: t.id,
3604
- className: `data-table-row ${g ? "data-table-row-disabled" : ""} ${M ? `data-table-row-pinned ${Q()}` : ""}`,
3605
- ...b,
3606
- dependencies: [F, i, p],
3607
- children: [
3608
- H === "toggle" && /* @__PURE__ */ x(
3609
- be,
3610
- {
3611
- className: "data-table-sticky-cell",
3612
- "data-slot": "selection",
3613
- isDisabled: g,
3614
- children: /* @__PURE__ */ x(
3615
- ne,
3616
- {
3617
- display: "flex",
3618
- alignItems: "center",
3619
- justifyContent: "center",
3620
- w: "100%",
3621
- h: "100%",
3622
- children: /* @__PURE__ */ x(
3623
- Yt,
3624
- {
3625
- name: "select-row",
3626
- slot: "selection",
3627
- "aria-label": n.format("selectRow")
3628
- }
3629
- )
3630
- }
3631
- )
3632
- }
3633
- ),
3634
- f && /* @__PURE__ */ x(
3635
- be,
3636
- {
3637
- className: "data-table-sticky-cell",
3638
- "data-slot": "expand",
3639
- isDisabled: g,
3640
- children: O ? /* @__PURE__ */ x(
3641
- jl,
3642
- {
3643
- w: "100%",
3644
- h: "100%",
3645
- cursor: "pointer",
3646
- "aria-label": F ? "Collapse" : "Expand",
3647
- onClick: (S) => {
3648
- S.stopPropagation(), u(t.id);
3649
- },
3650
- children: F ? /* @__PURE__ */ x(_l, {}) : /* @__PURE__ */ x(en, {})
3651
- }
3652
- ) : null
3653
- }
3654
- ),
3655
- /* @__PURE__ */ x(Pe, { items: o, children: (S) => {
3656
- const I = S.accessor(t);
3657
- return /* @__PURE__ */ x(be, { isDisabled: g, children: /* @__PURE__ */ x(
3658
- ne,
3659
- {
3660
- className: p ? "truncated-cell" : "",
3661
- "data-truncated": p ? "true" : "false",
3662
- display: "inline-block",
3663
- h: "100%",
3664
- minW: "0",
3665
- maxW: "100%",
3666
- position: "relative",
3667
- overflow: "hidden",
3668
- cursor: g ? "not-allowed" : "text",
3669
- children: S.render ? S.render({
3670
- value: k(I),
3671
- row: t,
3672
- column: S
3673
- }) : k(I)
3674
- }
3675
- ) }, S.id);
3676
- } }),
3677
- /* @__PURE__ */ x(
3678
- be,
3679
- {
3680
- className: "data-table-sticky-cell",
3681
- "data-slot": "pin-row-cell",
3682
- isDisabled: g,
3683
- children: /* @__PURE__ */ x(
3684
- ne,
3685
- {
3686
- "data-slot": M ? "nimbus-table-cell-pin-button-pinned" : "nimbus-table-cell-pin-button",
3687
- children: /* @__PURE__ */ R(Oe.Root, { children: [
3688
- /* @__PURE__ */ x(
3689
- Ft,
3690
- {
3691
- size: "2xs",
3692
- variant: "ghost",
3693
- "aria-label": M ? "Unpin row" : "Pin row",
3694
- colorPalette: "primary",
3695
- onClick: (S) => {
3696
- S.stopPropagation(), y(t.id);
3697
- },
3698
- children: /* @__PURE__ */ x(tn, {})
3699
- },
3700
- "pin-btn"
3701
- ),
3702
- /* @__PURE__ */ x(Oe.Content, { placement: "top", children: M ? "Unpin row" : "Pin row" })
3703
- ] })
3704
- }
3705
- )
3706
- }
3707
- )
3708
- ]
3709
- }
3710
- ) }),
3711
- f && /* @__PURE__ */ x(Bt, { ...$, asChild: !0, children: /* @__PURE__ */ x(
3712
- Pt,
3713
- {
3714
- "data-nested-row-expanded": F ? "true" : "false",
3715
- dependencies: [F],
3716
- children: /* @__PURE__ */ x(
3717
- be,
3718
- {
3719
- isDisabled: g,
3720
- colSpan: o.length + (f ? 1 : 0) + (a ? 1 : 0) + 1,
3721
- "data-nested-cell": !0,
3722
- children: F ? s && Array.isArray(t[s]) ? `${t[s].length} nested items` : s && t[s] : null
3723
- }
3724
- )
3725
- }
3726
- ) })
3727
- ] });
3728
- };
3729
- ht.displayName = "DataTable.Row";
3730
- const fi = () => /* @__PURE__ */ x(ne, { w: "100%", p: "200", children: "No Data" }), bt = ({
3731
- ref: t,
3732
- "aria-label": e,
3733
- ...l
3734
- }) => {
3735
- const n = oe(re), { sortedRows: o, activeColumns: i, renderEmptyState: r } = pe(), [u, s] = ke(l), d = e ?? n.format("dataTableBody");
3736
- return /* @__PURE__ */ x(Qo, { asChild: !0, ...u, children: /* @__PURE__ */ x(
3737
- Wo,
3738
- {
3739
- ref: t,
3740
- "aria-label": d,
3741
- items: o,
3742
- dependencies: [i],
3743
- renderEmptyState: r ?? fi,
3744
- ...s,
3745
- children: (f) => /* @__PURE__ */ x(ht, { row: f }, f.id)
3746
- }
3747
- ) });
3748
- };
3749
- bt.displayName = "DataTable.Body";
3750
- const gt = function({
3751
- ref: e,
3752
- children: l,
3753
- ...n
3754
- }) {
3755
- const o = P(null), i = J(Te(o, e));
3756
- return /* @__PURE__ */ x(ei, { ref: i, ...n, children: l });
3757
- };
3758
- gt.displayName = "DataTable.Footer";
3759
- function pi(t) {
3760
- return "onRemoveItem" in t && typeof t.onRemoveItem == "function";
3761
- }
3762
- const mi = ({
3763
- hiddenItems: t,
3764
- visibleItems: e,
3765
- handleVisibleColumnsUpdate: l,
3766
- handleResetColumns: n
3767
- }) => {
3768
- const [o, i] = X(""), r = oe(re);
3769
- if (!t || !e)
3770
- return null;
3771
- const u = K(() => t.filter(
3772
- (a) => a.label?.toString().toLowerCase().includes(o.toLowerCase())
3773
- ), [t, o]), s = (a) => {
3774
- i(a);
3775
- }, d = V(
3776
- (a) => {
3777
- const p = new Set(t.map((v) => v.id)), c = new Set(
3778
- a.map((v) => v.id)
3779
- ), m = t.filter(
3780
- (v) => !c.has(v.id)
3781
- ), h = a.filter(
3782
- (v) => !p.has(v.id)
3783
- );
3784
- let y = [...e];
3785
- if (m.length > 0 && (y = [...y, ...m]), h.length > 0) {
3786
- const v = new Set(h.map(($) => $.id));
3787
- y = y.filter(
3788
- ($) => !v.has($.id)
3789
- );
3790
- }
3791
- l(y);
3792
- },
3793
- [t, e, l]
3794
- ), f = V(
3795
- (a) => {
3796
- l(a);
3797
- },
3798
- [l]
3799
- );
3800
- return /* @__PURE__ */ R(He, { mt: "800", children: [
3801
- /* @__PURE__ */ R(xe, { gap: "400", width: "100%", columns: 2, children: [
3802
- /* @__PURE__ */ R(ne, { children: [
3803
- /* @__PURE__ */ R(He, { direction: "row", alignItems: "center", mb: "200", children: [
3804
- /* @__PURE__ */ x(ln, {}),
3805
- /* @__PURE__ */ x(Ae, { fontWeight: "700", fontSize: "sm", w: "full", children: r.format("hiddenColumns") })
3806
- ] }),
3807
- /* @__PURE__ */ R(
3808
- He,
3809
- {
3810
- colorPalette: "primary",
3811
- border: "{sizes.25} solid",
3812
- borderColor: "colorPalette.3",
3813
- borderRadius: "200",
3814
- gap: "200",
3815
- p: "300",
3816
- h: "lg",
3817
- children: [
3818
- /* @__PURE__ */ x(
3819
- pn,
3820
- {
3821
- w: "full",
3822
- size: "sm",
3823
- variant: "ghost",
3824
- placeholder: r.format("searchHiddenColumns"),
3825
- "aria-label": r.format("searchHiddenColumns"),
3826
- onChange: s,
3827
- value: o,
3828
- "data-testid": "search-hidden-columns"
3829
- }
3830
- ),
3831
- /* @__PURE__ */ x(
3832
- Nt,
3833
- {
3834
- colorPalette: "primary",
3835
- border: "{sizes.25} solid",
3836
- borderColor: "colorPalette.3"
3837
- }
3838
- ),
3839
- /* @__PURE__ */ x(
3840
- Ve.Root,
3841
- {
3842
- border: "none",
3843
- borderColor: "none",
3844
- h: "full",
3845
- w: "full",
3846
- overflowY: "auto",
3847
- items: u,
3848
- onUpdateItems: d,
3849
- "aria-label": r.format("hiddenColumnsAriaLabel"),
3850
- "data-testid": "hidden-columns-list",
3851
- renderEmptyState: /* @__PURE__ */ x(Ae, { fontSize: "sm", color: "gray.9", children: r.format("noHiddenColumns") }),
3852
- children: (a) => /* @__PURE__ */ x(
3853
- Ve.Item,
3854
- {
3855
- py: "100",
3856
- id: a.id,
3857
- "aria-label": a.label?.toString() ?? a.id,
3858
- children: a.label
3859
- },
3860
- a.id
3861
- )
3862
- }
3863
- )
3864
- ]
3865
- }
3866
- )
3867
- ] }),
3868
- /* @__PURE__ */ R(ne, { children: [
3869
- /* @__PURE__ */ R(He, { direction: "row", alignItems: "center", mb: "200", children: [
3870
- /* @__PURE__ */ x(nn, {}),
3871
- /* @__PURE__ */ x(Ae, { fontWeight: "700", fontSize: "sm", children: r.format("visibleColumnsList") })
3872
- ] }),
3873
- /* @__PURE__ */ x(
3874
- Ve.Root,
3875
- {
3876
- removableItems: !0,
3877
- p: "300",
3878
- h: "lg",
3879
- overflowY: "auto",
3880
- items: e,
3881
- onUpdateItems: f,
3882
- "aria-label": r.format("visibleColumnsAria"),
3883
- "data-testid": "visible-columns-list",
3884
- children: (a) => /* @__PURE__ */ x(
3885
- Ve.Item,
3886
- {
3887
- py: "100",
3888
- id: a.id,
3889
- onRemoveItem: pi(a) ? a.onRemoveItem : void 0,
3890
- "aria-label": a.label?.toString() ?? a.id,
3891
- children: a.label
3892
- },
3893
- a.id
3894
- )
3895
- }
3896
- )
3897
- ] })
3898
- ] }),
3899
- /* @__PURE__ */ x(ne, { children: /* @__PURE__ */ R(
3900
- hn,
3901
- {
3902
- variant: "ghost",
3903
- colorPalette: "primary",
3904
- size: "xs",
3905
- onClick: n,
3906
- "aria-label": r.format("reset"),
3907
- children: [
3908
- /* @__PURE__ */ x(on, {}),
3909
- r.format("reset")
3910
- ]
3911
- }
3912
- ) })
3913
- ] });
3914
- }, Mt = {
3915
- TOGGLE_TEXT_VISIBILITY: "toggleTextVisibility",
3916
- TOGGLE_ROW_DENSITY: "toggleRowDensity"
3917
- }, hi = ({
3918
- onSettingsChange: t
3919
- }) => {
3920
- const e = oe(re), l = pe(), n = l.isTruncated ?? !1, o = l.density === "condensed" ? "compact" : "comfortable", i = (u) => {
3921
- Array.from(u)[0] && t?.(Mt.TOGGLE_TEXT_VISIBILITY);
3922
- }, r = (u) => {
3923
- Array.from(u)[0] && t?.(Mt.TOGGLE_ROW_DENSITY);
3924
- };
3925
- return /* @__PURE__ */ R(
3926
- xe,
3927
- {
3928
- templateColumns: "repeat(4, 1fr)",
3929
- columnGap: "400",
3930
- rowGap: "600",
3931
- mt: "800",
3932
- alignItems: "center",
3933
- children: [
3934
- /* @__PURE__ */ x(xe.Item, { colSpan: 1, children: /* @__PURE__ */ x(Ae, { fontWeight: "500", children: e.format("textVisibility") }) }),
3935
- /* @__PURE__ */ x(xe.Item, { colSpan: 3, children: /* @__PURE__ */ x(wt, { orientation: "horizontal", variant: "outline", size: "xs", w: "full", children: /* @__PURE__ */ R(
3936
- Dt.Root,
3937
- {
3938
- w: "full",
3939
- selectedKeys: n ? ["preview"] : ["full"],
3940
- onSelectionChange: i,
3941
- "aria-label": e.format("textVisibilityAriaLabel"),
3942
- children: [
3943
- /* @__PURE__ */ R(
3944
- We,
3945
- {
3946
- id: "full",
3947
- size: "xs",
3948
- "aria-label": e.format("fullText"),
3949
- variant: "ghost",
3950
- px: "300",
3951
- flex: "1",
3952
- children: [
3953
- /* @__PURE__ */ x(rn, {}),
3954
- e.format("fullText")
3955
- ]
3956
- }
3957
- ),
3958
- /* @__PURE__ */ R(
3959
- We,
3960
- {
3961
- id: "preview",
3962
- size: "xs",
3963
- "aria-label": e.format("textPreviews"),
3964
- variant: "ghost",
3965
- px: "300",
3966
- flex: "1",
3967
- children: [
3968
- /* @__PURE__ */ x(an, {}),
3969
- e.format("textPreviews")
3970
- ]
3971
- }
3972
- )
3973
- ]
3974
- }
3975
- ) }) }),
3976
- /* @__PURE__ */ x(xe.Item, { colSpan: 1, children: /* @__PURE__ */ x(Ae, { fontWeight: "500", children: e.format("rowDensity") }) }),
3977
- /* @__PURE__ */ x(xe.Item, { colSpan: 3, children: /* @__PURE__ */ x(wt, { orientation: "horizontal", variant: "outline", size: "xs", w: "full", children: /* @__PURE__ */ R(
3978
- Dt.Root,
3979
- {
3980
- w: "full",
3981
- colorPalette: "primary",
3982
- selectedKeys: [o],
3983
- onSelectionChange: r,
3984
- "aria-label": e.format("rowDensityAriaLabel"),
3985
- children: [
3986
- /* @__PURE__ */ R(
3987
- We,
3988
- {
3989
- id: "comfortable",
3990
- size: "xs",
3991
- variant: "ghost",
3992
- "aria-label": e.format("comfortable"),
3993
- px: "300",
3994
- flex: "1",
3995
- children: [
3996
- /* @__PURE__ */ x(sn, {}),
3997
- e.format("comfortable")
3998
- ]
3999
- }
4000
- ),
4001
- /* @__PURE__ */ R(
4002
- We,
4003
- {
4004
- id: "compact",
4005
- size: "xs",
4006
- variant: "ghost",
4007
- "aria-label": e.format("compact"),
4008
- px: "300",
4009
- flex: "1",
4010
- children: [
4011
- /* @__PURE__ */ x(un, {}),
4012
- e.format("compact")
4013
- ]
4014
- }
4015
- )
4016
- ]
4017
- }
4018
- ) }) })
4019
- ]
4020
- }
4021
- );
4022
- }, Xl = () => {
4023
- const [t, e] = X(!1), l = pe(), n = oe(re), {
4024
- columns: o,
4025
- visibleColumns: i,
4026
- onColumnsChange: r,
4027
- onSettingsChange: u
4028
- // customSettings,
4029
- } = l, s = o.filter(
4030
- ($) => !i?.includes($.id)
4031
- ), { customSettings: d } = ii(), f = P(o);
4032
- de(() => {
4033
- f.current = o;
4034
- }, [o]);
4035
- const a = P(o), p = P(i), c = P(i || []);
4036
- if (!i || !s)
4037
- return null;
4038
- const m = K(() => ($) => {
4039
- const b = $.map((D) => D.id);
4040
- if (!(b.length !== c.current.length || b.some(
4041
- (D, A) => D !== c.current[A]
4042
- )))
4043
- return;
4044
- const g = new Map(f.current.map((D) => [D.id, D])), w = $.map((D) => g.get(D.id)).filter(
4045
- (D) => D !== void 0
4046
- );
4047
- c.current = b, r && r(w);
4048
- }, []), h = K(() => o.filter(($) => !i?.includes($.id)).map(($) => ({
4049
- key: $.id,
4050
- id: $.id,
4051
- label: $.header
4052
- })), [i, o]), y = K(() => {
4053
- if (!i || i.length === 0)
4054
- return [];
4055
- const $ = new Map(o.map((b) => [b.id, b]));
4056
- return i.map((b) => {
4057
- const C = $.get(b);
4058
- return C ? {
4059
- key: C.id,
4060
- id: C.id,
4061
- label: C.header
4062
- } : null;
4063
- }).filter((b) => b !== null);
4064
- }, [o, i]), v = V(() => {
4065
- if (r) {
4066
- const $ = p.current;
4067
- if ($ && $.length > 0) {
4068
- const b = new Map(
4069
- a.current.map((g) => [g.id, g])
4070
- ), C = $.map((g) => b.get(g)).filter(
4071
- (g) => g !== void 0
4072
- );
4073
- c.current = $, r(C);
4074
- } else
4075
- c.current = a.current.map(
4076
- (b) => b.id
4077
- ), r(a.current);
4078
- }
4079
- }, [r]);
4080
- return /* @__PURE__ */ R(ze, { children: [
4081
- /* @__PURE__ */ R(Oe.Root, { children: [
4082
- /* @__PURE__ */ x(Oe.Content, { placement: "top", children: n.format("settings") }),
4083
- /* @__PURE__ */ x(
4084
- Ft,
4085
- {
4086
- variant: "ghost",
4087
- colorPalette: "primary",
4088
- size: "xs",
4089
- "aria-label": n.format("settings"),
4090
- onClick: () => e(!0),
4091
- children: /* @__PURE__ */ x(dn, {})
4092
- }
4093
- )
4094
- ] }),
4095
- /* @__PURE__ */ x(
4096
- ve.Root,
4097
- {
4098
- isOpen: t,
4099
- onOpenChange: e,
4100
- placement: "right",
4101
- "data-testid": "data-table-manager-drawer",
4102
- children: /* @__PURE__ */ R(
4103
- ve.Content,
4104
- {
4105
- width: "2xl",
4106
- "data-testid": "data-table-manager-drawer",
4107
- "aria-label": n.format("settings"),
4108
- children: [
4109
- /* @__PURE__ */ R(ve.Header, { children: [
4110
- /* @__PURE__ */ x(ve.Title, { children: n.format("settings") }),
4111
- /* @__PURE__ */ x(ve.CloseTrigger, {})
4112
- ] }),
4113
- /* @__PURE__ */ x(ve.Body, { children: /* @__PURE__ */ x(
4114
- bn.Root,
4115
- {
4116
- tabListAriaLabel: n.format("settingsTabsAriaLabel"),
4117
- tabs: [
4118
- {
4119
- id: "visible-columns",
4120
- tabLabel: /* @__PURE__ */ R(ze, { children: [
4121
- /* @__PURE__ */ x(cn, {}),
4122
- n.format("visibleColumns")
4123
- ] }),
4124
- panelContent: /* @__PURE__ */ x(
4125
- mi,
4126
- {
4127
- hiddenItems: h,
4128
- visibleItems: y,
4129
- handleVisibleColumnsUpdate: m,
4130
- handleResetColumns: v
4131
- }
4132
- )
4133
- },
4134
- {
4135
- id: "layout-settings",
4136
- tabLabel: /* @__PURE__ */ R(ze, { children: [
4137
- /* @__PURE__ */ x(fn, {}),
4138
- n.format("layoutSettings")
4139
- ] }),
4140
- panelContent: /* @__PURE__ */ x(hi, { onSettingsChange: u })
4141
- },
4142
- d ? {
4143
- id: "custom-settings",
4144
- tabLabel: /* @__PURE__ */ R(ze, { children: [
4145
- d?.icon ?? null,
4146
- d?.label
4147
- ] }),
4148
- panelContent: /* @__PURE__ */ x(ne, { mt: "800", children: d.panel })
4149
- } : null
4150
- // Filter out null values when no custom settings are provided
4151
- ].filter(($) => $ !== null)
4152
- }
4153
- ) })
4154
- ]
4155
- }
4156
- )
4157
- }
4158
- )
4159
- ] });
4160
- };
4161
- Xl.displayName = "DataTable.Manager";
4162
- const bi = function({
4163
- ref: e,
4164
- footer: l,
4165
- ...n
4166
- }) {
4167
- const o = oe(re), i = P(null), r = J(Te(i, e));
4168
- return /* @__PURE__ */ R(ft, { ref: r, ...n, children: [
4169
- /* @__PURE__ */ R(pt, { "aria-label": o.format("dataTable"), children: [
4170
- /* @__PURE__ */ x(mt, { "aria-label": o.format("dataTableHeader") }),
4171
- /* @__PURE__ */ x(bt, { "aria-label": o.format("dataTableBody") })
4172
- ] }),
4173
- l && /* @__PURE__ */ x(gt, { children: l })
4174
- ] });
4175
- }, kr = /* @__PURE__ */ Object.assign(bi, {
4176
- /**
4177
- * # DataTable.Root
4178
- *
4179
- * The root container that provides context and state management for the entire data table.
4180
- * Handles data processing, sorting, filtering, selection, and expansion state.
4181
- *
4182
- * @example
4183
- * ```tsx
4184
- * <DataTable.Root columns={columns} rows={rows} allowsSorting>
4185
- * <DataTable.Table>
4186
- * <DataTable.Header />
4187
- * <DataTable.Body />
4188
- * </DataTable.Table>
4189
- * </DataTable.Root>
4190
- * ```
4191
- */
4192
- Root: ft,
4193
- /**
4194
- * # DataTable.Table
4195
- *
4196
- * The main table element that wraps the header and body components.
4197
- * Provides the semantic HTML table structure with React Aria table behavior.
4198
- *
4199
- * @example
4200
- * ```tsx
4201
- * <DataTable.Root columns={columns} rows={rows}>
4202
- * <DataTable.Table>
4203
- * <DataTable.Header />
4204
- * <DataTable.Body />
4205
- * </DataTable.Table>
4206
- * </DataTable.Root>
4207
- * ```
4208
- */
4209
- Table: pt,
4210
- /**
4211
- * # DataTable.Header
4212
- *
4213
- * The table header section that renders column headers with sorting capabilities.
4214
- * Automatically generates columns based on the configuration provided to Root.
4215
- *
4216
- * @example
4217
- * ```tsx
4218
- * <DataTable.Root columns={columns} rows={rows}>
4219
- * <DataTable.Table>
4220
- * <DataTable.Header />
4221
- * <DataTable.Body />
4222
- * </DataTable.Table>
4223
- * </DataTable.Root>
4224
- * ```
4225
- */
4226
- Header: mt,
4227
- /**
4228
- * # DataTable.Column
4229
- *
4230
- * Individual column header component that handles sorting interactions and displays column content.
4231
- * Used internally by Header but can be used for custom header implementations.
4232
- *
4233
- * @example
4234
- * ```tsx
4235
- * <DataTable.Root columns={columns} rows={rows}>
4236
- * <DataTable.Table>
4237
- * <DataTable.Header>
4238
- * <DataTable.Column column={customColumn} />
4239
- * </DataTable.Header>
4240
- * <DataTable.Body />
4241
- * </DataTable.Table>
4242
- * </DataTable.Root>
4243
- * ```
4244
- */
4245
- Column: Ce,
4246
- /**
4247
- * # DataTable.Body
4248
- *
4249
- * The table body section that renders all data rows with selection and expansion capabilities.
4250
- * Handles empty states and provides accessibility features for row navigation.
4251
- *
4252
- * @example
4253
- * ```tsx
4254
- * <DataTable.Root columns={columns} rows={rows}>
4255
- * <DataTable.Table>
4256
- * <DataTable.Header />
4257
- * <DataTable.Body />
4258
- * </DataTable.Table>
4259
- * </DataTable.Root>
4260
- * ```
4261
- */
4262
- Body: bt,
4263
- /**
4264
- * # DataTable.Row
4265
- *
4266
- * Individual row component that renders data cells and handles row-level interactions.
4267
- * Supports selection, expansion, and click handlers for custom row actions.
4268
- *
4269
- * @example
4270
- * ```tsx
4271
- * <DataTable.Root columns={columns} rows={rows}>
4272
- * <DataTable.Table>
4273
- * <DataTable.Header />
4274
- * <DataTable.Body>
4275
- * <DataTable.Row row={customRow} />
4276
- * </DataTable.Body>
4277
- * </DataTable.Table>
4278
- * </DataTable.Root>
4279
- * ```
4280
- */
4281
- Row: ht,
4282
- /**
4283
- * # DataTable.Cell
4284
- *
4285
- * Individual cell component that displays data values with proper accessibility attributes.
4286
- * Supports custom rendering and truncation based on table configuration.
4287
- *
4288
- * @example
4289
- * ```tsx
4290
- * <DataTable.Root columns={columns} rows={rows}>
4291
- * <DataTable.Table>
4292
- * <DataTable.Header />
4293
- * <DataTable.Body>
4294
- * <DataTable.Row>
4295
- * <DataTable.Cell>Custom cell content</DataTable.Cell>
4296
- * </DataTable.Row>
4297
- * </DataTable.Body>
4298
- * </DataTable.Table>
4299
- * </DataTable.Root>
4300
- * ```
4301
- */
4302
- Cell: be,
4303
- /**
4304
- * # DataTable.Footer
4305
- *
4306
- * Optional footer section for displaying summary information, pagination, or actions.
4307
- * Positioned below the table with proper styling integration.
4308
- *
4309
- * @example
4310
- * ```tsx
4311
- * <DataTable.Root columns={columns} rows={rows}>
4312
- * <DataTable.Table>
4313
- * <DataTable.Header />
4314
- * <DataTable.Body />
4315
- * </DataTable.Table>
4316
- * <DataTable.Footer>
4317
- * <Pagination />
4318
- * </DataTable.Footer>
4319
- * </DataTable.Root>
4320
- * ```
4321
- */
4322
- Footer: gt,
4323
- /**
4324
- * # DataTable.Manager
4325
- *
4326
- * A settings panel that allows users to manage table columns visibility and layout.
4327
- * Opens in a drawer with tabs for "Visible columns" and "Layout settings".
4328
- * Uses drag-and-drop to reorder columns.
4329
- *
4330
- * @example
4331
- * ```tsx
4332
- * <DataTable.Root columns={columns} rows={rows}>
4333
- * <DataTable.Manager />
4334
- * <DataTable.Table>
4335
- * <DataTable.Header />
4336
- * <DataTable.Body />
4337
- * </DataTable.Table>
4338
- * </DataTable.Root>
4339
- * ```
4340
- */
4341
- Manager: Xl,
4342
- /**
4343
- * # DataTable.ExpandButton
4344
- *
4345
- * Button component for expanding/collapsing nested rows in hierarchical data.
4346
- * Automatically shown when data contains nested structures.
4347
- *
4348
- * @example
4349
- * ```tsx
4350
- * <DataTable.ExpandButton
4351
- * isExpanded={expanded}
4352
- * onPress={() => toggleExpand(rowId)}
4353
- * />
4354
- * ```
4355
- */
4356
- ExpandButton: jl,
4357
- /**
4358
- * # DataTable.NestedIcon
4359
- *
4360
- * Icon component that indicates the nesting level and expansion state of hierarchical rows.
4361
- * Provides visual hierarchy cues for nested data structures.
4362
- *
4363
- * @example
4364
- * ```tsx
4365
- * <DataTable.NestedIcon
4366
- * depth={2}
4367
- * isExpanded={expanded}
4368
- * hasChildren={hasChildren}
4369
- * />
4370
- * ```
4371
- */
4372
- NestedIcon: li,
4373
- /**
4374
- * # DataTable.SelectionCell
4375
- *
4376
- * Specialized cell component that contains selection checkboxes or radio buttons.
4377
- * Handles row selection state and provides accessible selection controls.
4378
- *
4379
- * @example
4380
- * ```tsx
4381
- * <DataTable.SelectionCell
4382
- * isSelected={selected}
4383
- * onSelectionChange={handleSelection}
4384
- * />
4385
- * ```
4386
- */
4387
- SelectionCell: ti,
4388
- /**
4389
- * # DataTable.Context
4390
- *
4391
- * React context that provides shared state and configuration to all table components.
4392
- * Used internally for component coordination - not typically used directly.
4393
- *
4394
- * @example
4395
- * ```tsx
4396
- * const context = useContext(DataTable.Context);
4397
- * ```
4398
- */
4399
- Context: qe,
4400
- /**
4401
- * # DataTable.useDataTableContext
4402
- *
4403
- * Hook that provides access to the DataTable context with proper error handling.
4404
- * Throws an error if used outside of a DataTable.Root provider.
4405
- *
4406
- * @example
4407
- * ```tsx
4408
- * const { columns, rows, sortDescriptor } = DataTable.useDataTableContext();
4409
- * ```
4410
- */
4411
- useDataTableContext: pe
4412
- });
4413
- export {
4414
- kr as D,
4415
- Mt as U,
4416
- ft as a,
4417
- pt as b,
4418
- mt as c,
4419
- Ce as d,
4420
- bt as e,
4421
- ht as f,
4422
- be as g,
4423
- gt as h,
4424
- Xl as i,
4425
- jl as j,
4426
- li as k,
4427
- ti as l
4428
- };
4429
- //# sourceMappingURL=data-table-DE-C-D1P.es.js.map