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