@commercetools/nimbus 0.0.12-rc1 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/checkbox.d.ts +8 -6
- package/dist/chunks/Button-C-yUWwZg.es.js +73 -0
- package/dist/chunks/Button-C-yUWwZg.es.js.map +1 -0
- package/dist/chunks/Button-DQ_WkLNH.cjs.js +2 -0
- package/dist/chunks/Button-DQ_WkLNH.cjs.js.map +1 -0
- package/dist/chunks/Collection-BsItrctR.cjs.js +18 -0
- package/dist/chunks/Collection-BsItrctR.cjs.js.map +1 -0
- package/dist/chunks/Collection-DFZhstai.es.js +1896 -0
- package/dist/chunks/Collection-DFZhstai.es.js.map +1 -0
- package/dist/chunks/DateField-D-KvZd-Q.cjs.js +2 -0
- package/dist/chunks/DateField-D-KvZd-Q.cjs.js.map +1 -0
- package/dist/chunks/DateField-m1BUGo8i.es.js +2672 -0
- package/dist/chunks/DateField-m1BUGo8i.es.js.map +1 -0
- package/dist/chunks/DatePicker-BQ6EfAU2.cjs.js +2 -0
- package/dist/chunks/DatePicker-BQ6EfAU2.cjs.js.map +1 -0
- package/dist/chunks/DatePicker-DtefBSoN.es.js +779 -0
- package/dist/chunks/DatePicker-DtefBSoN.es.js.map +1 -0
- package/dist/chunks/Dialog-B4OIDU7t.cjs.js +2 -0
- package/dist/chunks/Dialog-B4OIDU7t.cjs.js.map +1 -0
- package/dist/chunks/Dialog-DNPIKkGE.es.js +1904 -0
- package/dist/chunks/Dialog-DNPIKkGE.es.js.map +1 -0
- package/dist/chunks/DragAndDrop-ChYb3tCX.es.js +81 -0
- package/dist/chunks/DragAndDrop-ChYb3tCX.es.js.map +1 -0
- package/dist/chunks/DragAndDrop-cOfUfFj8.cjs.js +2 -0
- package/dist/chunks/DragAndDrop-cOfUfFj8.cjs.js.map +1 -0
- package/dist/chunks/FieldError-CXcEMuBf.es.js +6 -0
- package/dist/chunks/FieldError-CXcEMuBf.es.js.map +1 -0
- package/dist/chunks/FieldError-DyGFfqST.cjs.js +2 -0
- package/dist/chunks/FieldError-DyGFfqST.cjs.js.map +1 -0
- package/dist/chunks/FocusScope-B78iFLeF.cjs.js +2 -0
- package/dist/chunks/FocusScope-B78iFLeF.cjs.js.map +1 -0
- package/dist/chunks/FocusScope-C1Aw7j9H.es.js +625 -0
- package/dist/chunks/FocusScope-C1Aw7j9H.es.js.map +1 -0
- package/dist/chunks/Form-BuOomA4T.cjs.js +2 -0
- package/dist/chunks/Form-BuOomA4T.cjs.js.map +1 -0
- package/dist/chunks/Form-CXcEMuBf.es.js +6 -0
- package/dist/chunks/Form-CXcEMuBf.es.js.map +1 -0
- package/dist/chunks/Group-KVM7Xnxu.cjs.js +2 -0
- package/dist/chunks/Group-KVM7Xnxu.cjs.js.map +1 -0
- package/dist/chunks/Group-kT8-3NGT.es.js +46 -0
- package/dist/chunks/Group-kT8-3NGT.es.js.map +1 -0
- package/dist/chunks/Heading-CQJ-3eon.cjs.js +2 -0
- package/dist/chunks/Heading-CQJ-3eon.cjs.js.map +1 -0
- package/dist/chunks/Heading-DGvdnp7W.es.js +1618 -0
- package/dist/chunks/Heading-DGvdnp7W.es.js.map +1 -0
- package/dist/chunks/Hidden-CNJIJ63M.cjs.js.map +1 -1
- package/dist/chunks/Hidden-j3Lbt7xL.es.js +28 -0
- package/dist/chunks/Hidden-j3Lbt7xL.es.js.map +1 -0
- package/dist/chunks/Input-93z9WR_a.cjs.js +2 -0
- package/dist/chunks/Input-93z9WR_a.cjs.js.map +1 -0
- package/dist/chunks/Input-C4REHQYD.es.js +43 -0
- package/dist/chunks/Input-C4REHQYD.es.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-B2YyCdLl.es.js +17 -0
- package/dist/chunks/Label-B2YyCdLl.es.js.map +1 -0
- package/dist/chunks/Label-BgrYyYXn.cjs.js +2 -0
- package/dist/chunks/Label-BgrYyYXn.cjs.js.map +1 -0
- package/dist/chunks/ListBox-B8Tz7EWS.es.js +615 -0
- package/dist/chunks/ListBox-B8Tz7EWS.es.js.map +1 -0
- package/dist/chunks/ListBox-CzZFXtHY.cjs.js +2 -0
- package/dist/chunks/ListBox-CzZFXtHY.cjs.js.map +1 -0
- package/dist/chunks/LiveAnnouncer-BkrEjKY8.cjs.js.map +1 -1
- package/dist/chunks/LiveAnnouncer-CsPyaceH.es.js.map +1 -1
- package/dist/chunks/NumberFormatter-DewVDY5w.cjs.js.map +1 -1
- package/dist/chunks/NumberFormatter-DgOUVrge.es.js.map +1 -1
- package/dist/chunks/OverlayArrow-BD-oGsXg.es.js +452 -0
- package/dist/chunks/OverlayArrow-BD-oGsXg.es.js.map +1 -0
- package/dist/chunks/OverlayArrow-aq8OInch.cjs.js +2 -0
- package/dist/chunks/OverlayArrow-aq8OInch.cjs.js.map +1 -0
- package/dist/chunks/ProgressBar-BNPexoD9.cjs.js +2 -0
- package/dist/chunks/ProgressBar-BNPexoD9.cjs.js.map +1 -0
- package/dist/chunks/ProgressBar-BnGsEC_2.es.js +42 -0
- package/dist/chunks/ProgressBar-BnGsEC_2.es.js.map +1 -0
- package/dist/chunks/RSPContexts-B4yvXuBR.es.js +7 -0
- package/dist/chunks/RSPContexts-B4yvXuBR.es.js.map +1 -0
- package/dist/chunks/RSPContexts-CkSl9jRK.cjs.js +2 -0
- package/dist/chunks/RSPContexts-CkSl9jRK.cjs.js.map +1 -0
- package/dist/chunks/SSRProvider-Bc-sMhsT.cjs.js +2 -0
- package/dist/chunks/SSRProvider-Bc-sMhsT.cjs.js.map +1 -0
- package/dist/chunks/SSRProvider-Cu8KibIK.es.js +51 -0
- package/dist/chunks/SSRProvider-Cu8KibIK.es.js.map +1 -0
- package/dist/chunks/Separator-BUmWfQvi.es.js +573 -0
- package/dist/chunks/Separator-BUmWfQvi.es.js.map +1 -0
- package/dist/chunks/Separator-DBLZ41YB.cjs.js +2 -0
- package/dist/chunks/Separator-DBLZ41YB.cjs.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/TextArea-Cc0cDaeu.cjs.js +2 -0
- package/dist/chunks/TextArea-Cc0cDaeu.cjs.js.map +1 -0
- package/dist/chunks/TextArea-DIyosEKy.es.js +42 -0
- package/dist/chunks/TextArea-DIyosEKy.es.js.map +1 -0
- package/dist/chunks/ToggleButton-BbM5Zv6q.cjs.js +2 -0
- package/dist/chunks/ToggleButton-BbM5Zv6q.cjs.js.map +1 -0
- package/dist/chunks/ToggleButton-CgbTgCVi.es.js +145 -0
- package/dist/chunks/ToggleButton-CgbTgCVi.es.js.map +1 -0
- package/dist/chunks/VisuallyHidden-B4l0wZHw.cjs.js +2 -0
- package/dist/chunks/VisuallyHidden-B4l0wZHw.cjs.js.map +1 -0
- package/dist/chunks/VisuallyHidden-C38kRNm0.es.js +41 -0
- package/dist/chunks/VisuallyHidden-C38kRNm0.es.js.map +1 -0
- package/dist/chunks/accordion-B_MC1ZEv.es.js +223 -0
- package/dist/chunks/accordion-B_MC1ZEv.es.js.map +1 -0
- package/dist/chunks/accordion-C9-YyEB4.cjs.js +2 -0
- package/dist/chunks/accordion-C9-YyEB4.cjs.js.map +1 -0
- package/dist/chunks/alert-BcTfv-Kw.es.js +194 -0
- package/dist/chunks/alert-BcTfv-Kw.es.js.map +1 -0
- package/dist/chunks/alert-Bp15DXZM.cjs.js +2 -0
- package/dist/chunks/alert-Bp15DXZM.cjs.js.map +1 -0
- package/dist/chunks/avatar-BWG1uDUT.cjs.js +2 -0
- package/dist/chunks/avatar-BWG1uDUT.cjs.js.map +1 -0
- package/dist/chunks/avatar-d49Ix9eV.es.js +45 -0
- package/dist/chunks/avatar-d49Ix9eV.es.js.map +1 -0
- package/dist/chunks/badge-BeR8OqtD.es.js +78 -0
- package/dist/chunks/badge-BeR8OqtD.es.js.map +1 -0
- package/dist/chunks/badge-CJK91qKC.cjs.js +2 -0
- package/dist/chunks/badge-CJK91qKC.cjs.js.map +1 -0
- package/dist/chunks/box-7pkPaNxe.es.js +13 -0
- package/dist/chunks/box-7pkPaNxe.es.js.map +1 -0
- package/dist/chunks/box-DL4MWnyy.cjs.js +2 -0
- package/dist/chunks/box-DL4MWnyy.cjs.js.map +1 -0
- package/dist/chunks/button-D5pgTe6f.es.js +57 -0
- package/dist/chunks/button-D5pgTe6f.es.js.map +1 -0
- package/dist/chunks/button-IGP--12e.cjs.js +2 -0
- package/dist/chunks/button-IGP--12e.cjs.js.map +1 -0
- package/dist/chunks/calendar-CYqib6Tm.cjs.js +2 -0
- package/dist/chunks/calendar-CYqib6Tm.cjs.js.map +1 -0
- package/dist/chunks/calendar-jrs4VkfV.es.js +209 -0
- package/dist/chunks/calendar-jrs4VkfV.es.js.map +1 -0
- package/dist/chunks/card-4i9NTJKM.cjs.js +2 -0
- package/dist/chunks/card-4i9NTJKM.cjs.js.map +1 -0
- package/dist/chunks/card-D1BUuNzg.es.js +139 -0
- package/dist/chunks/card-D1BUuNzg.es.js.map +1 -0
- package/dist/chunks/checkbox-BJQlCxDq.es.js +219 -0
- package/dist/chunks/checkbox-BJQlCxDq.es.js.map +1 -0
- package/dist/chunks/checkbox-DVb0qX6x.cjs.js +2 -0
- package/dist/chunks/checkbox-DVb0qX6x.cjs.js.map +1 -0
- package/dist/chunks/code-C245FocZ.es.js +8 -0
- package/dist/chunks/code-C245FocZ.es.js.map +1 -0
- package/dist/chunks/code-DqjWYzPU.cjs.js +2 -0
- package/dist/chunks/code-DqjWYzPU.cjs.js.map +1 -0
- package/dist/chunks/combobox-P1kEHLnr.cjs.js +2 -0
- package/dist/chunks/combobox-P1kEHLnr.cjs.js.map +1 -0
- package/dist/chunks/combobox-eT94voy1.es.js +1947 -0
- package/dist/chunks/combobox-eT94voy1.es.js.map +1 -0
- package/dist/chunks/context-D0_cRaDZ.cjs.js +2 -0
- package/dist/chunks/context-D0_cRaDZ.cjs.js.map +1 -0
- package/dist/chunks/context-Pt-0ojuK.es.js +94 -0
- package/dist/chunks/context-Pt-0ojuK.es.js.map +1 -0
- package/dist/chunks/create-recipe-context-BEEJ70DA.cjs.js +2 -0
- package/dist/chunks/create-recipe-context-BEEJ70DA.cjs.js.map +1 -0
- package/dist/chunks/create-recipe-context-BuajKZ9o.es.js +62 -0
- package/dist/chunks/create-recipe-context-BuajKZ9o.es.js.map +1 -0
- package/dist/chunks/create-slot-recipe-context-CHGQvGou.cjs.js +2 -0
- package/dist/chunks/create-slot-recipe-context-CHGQvGou.cjs.js.map +1 -0
- package/dist/chunks/create-slot-recipe-context-DgamNbR-.es.js +104 -0
- package/dist/chunks/create-slot-recipe-context-DgamNbR-.es.js.map +1 -0
- package/dist/chunks/data-table-BRjRsTel.cjs.js +2 -0
- package/dist/chunks/data-table-BRjRsTel.cjs.js.map +1 -0
- package/dist/chunks/data-table-CSWloD1b.es.js +3912 -0
- package/dist/chunks/data-table-CSWloD1b.es.js.map +1 -0
- package/dist/chunks/date-input-BFHLRnBr.cjs.js +2 -0
- package/dist/chunks/date-input-BFHLRnBr.cjs.js.map +1 -0
- package/dist/chunks/date-input-DADLkfIT.es.js +17 -0
- package/dist/chunks/date-input-DADLkfIT.es.js.map +1 -0
- package/dist/chunks/date-picker-CgCR5Rwk.es.js +236 -0
- package/dist/chunks/date-picker-CgCR5Rwk.es.js.map +1 -0
- package/dist/chunks/date-picker-CsspyMz9.cjs.js +2 -0
- package/dist/chunks/date-picker-CsspyMz9.cjs.js.map +1 -0
- package/dist/chunks/date-range-picker-C6v-n1IH.es.js +283 -0
- package/dist/chunks/date-range-picker-C6v-n1IH.es.js.map +1 -0
- package/dist/chunks/date-range-picker-D_gkG0on.cjs.js +2 -0
- package/dist/chunks/date-range-picker-D_gkG0on.cjs.js.map +1 -0
- package/dist/chunks/dialog-B1XThG7_.cjs.js +2 -0
- package/dist/chunks/dialog-B1XThG7_.cjs.js.map +1 -0
- package/dist/chunks/dialog-De8l1nzr.es.js +1874 -0
- package/dist/chunks/dialog-De8l1nzr.es.js.map +1 -0
- package/dist/chunks/divider-BicBw1PK.cjs.js +2 -0
- package/dist/chunks/divider-BicBw1PK.cjs.js.map +1 -0
- package/dist/chunks/divider-DMH0p6Pr.es.js +54 -0
- package/dist/chunks/divider-DMH0p6Pr.es.js.map +1 -0
- package/dist/chunks/extractStyleProps-BBWaCIdJ.es.js +11 -0
- package/dist/chunks/extractStyleProps-BBWaCIdJ.es.js.map +1 -0
- package/dist/chunks/extractStyleProps-wjyId_vK.cjs.js +2 -0
- package/dist/chunks/extractStyleProps-wjyId_vK.cjs.js.map +1 -0
- package/dist/chunks/factory-DUzr3LTt.cjs.js +3 -0
- package/dist/chunks/factory-DUzr3LTt.cjs.js.map +1 -0
- package/dist/chunks/factory-Dwv06Ntb.es.js +266 -0
- package/dist/chunks/factory-Dwv06Ntb.es.js.map +1 -0
- package/dist/chunks/filterDOMProps-BSVCO5jK.es.js +66 -0
- package/dist/chunks/filterDOMProps-BSVCO5jK.es.js.map +1 -0
- package/dist/chunks/filterDOMProps-WUskt27c.cjs.js +2 -0
- package/dist/chunks/filterDOMProps-WUskt27c.cjs.js.map +1 -0
- package/dist/chunks/flex-9fkV4bsm.es.js +40 -0
- package/dist/chunks/flex-9fkV4bsm.es.js.map +1 -0
- package/dist/chunks/flex-CDVfeTs4.cjs.js +2 -0
- package/dist/chunks/flex-CDVfeTs4.cjs.js.map +1 -0
- package/dist/chunks/focusSafely-CpzfaUTO.cjs.js +2 -0
- package/dist/chunks/focusSafely-CpzfaUTO.cjs.js.map +1 -0
- package/dist/chunks/focusSafely-Di2ArC9L.es.js +27 -0
- package/dist/chunks/focusSafely-Di2ArC9L.es.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-BHknOPYf.es.js +310 -0
- package/dist/chunks/form-field-BHknOPYf.es.js.map +1 -0
- package/dist/chunks/form-field-CM_uSyZr.cjs.js +11 -0
- package/dist/chunks/form-field-CM_uSyZr.cjs.js.map +1 -0
- package/dist/chunks/grid-DcLdIZYK.es.js +14 -0
- package/dist/chunks/grid-DcLdIZYK.es.js.map +1 -0
- package/dist/chunks/grid-Dm38IozR.cjs.js +2 -0
- package/dist/chunks/grid-Dm38IozR.cjs.js.map +1 -0
- package/dist/chunks/grid-item-B0PfRhfs.cjs.js +2 -0
- package/dist/chunks/grid-item-B0PfRhfs.cjs.js.map +1 -0
- package/dist/chunks/grid-item-BZOflk76.es.js +75 -0
- package/dist/chunks/grid-item-BZOflk76.es.js.map +1 -0
- package/dist/chunks/group-BQeamedA.es.js +14 -0
- package/dist/chunks/group-BQeamedA.es.js.map +1 -0
- package/dist/chunks/group-BwSwp_8B.cjs.js +2 -0
- package/dist/chunks/group-BwSwp_8B.cjs.js.map +1 -0
- package/dist/chunks/group.recipe-BQafmscW.es.js +13 -0
- package/dist/chunks/group.recipe-BQafmscW.es.js.map +1 -0
- package/dist/chunks/group.recipe-BffrkcjL.cjs.js +2 -0
- package/dist/chunks/group.recipe-BffrkcjL.cjs.js.map +1 -0
- package/dist/chunks/heading-CEFp09pV.cjs.js +2 -0
- package/dist/chunks/heading-CEFp09pV.cjs.js.map +1 -0
- package/dist/chunks/heading-DYcfaS5T.es.js +8 -0
- package/dist/chunks/heading-DYcfaS5T.es.js.map +1 -0
- package/dist/chunks/icon-Cgp53xQ2.es.js +32 -0
- package/dist/chunks/icon-Cgp53xQ2.es.js.map +1 -0
- package/dist/chunks/icon-DxRnsJFu.cjs.js +2 -0
- package/dist/chunks/icon-DxRnsJFu.cjs.js.map +1 -0
- package/dist/chunks/icon-button-C2GGAKhI.es.js +14 -0
- package/dist/chunks/icon-button-C2GGAKhI.es.js.map +1 -0
- package/dist/chunks/icon-button-KMr_sm5y.cjs.js +2 -0
- package/dist/chunks/icon-button-KMr_sm5y.cjs.js.map +1 -0
- package/dist/chunks/icon-toggle-button-CyhtfTs4.es.js +13 -0
- package/dist/chunks/icon-toggle-button-CyhtfTs4.es.js.map +1 -0
- package/dist/chunks/icon-toggle-button-p3GT9QUC.cjs.js +2 -0
- package/dist/chunks/icon-toggle-button-p3GT9QUC.cjs.js.map +1 -0
- package/dist/chunks/image-B_X4IZ54.es.js +8 -0
- package/dist/chunks/image-B_X4IZ54.es.js.map +1 -0
- package/dist/chunks/image-CenZDDs1.cjs.js +2 -0
- package/dist/chunks/image-CenZDDs1.cjs.js.map +1 -0
- package/dist/chunks/image-DCZ7u0Yz.cjs.js +2 -0
- package/dist/chunks/image-DCZ7u0Yz.cjs.js.map +1 -0
- package/dist/chunks/image-Dk3v9f16.es.js +22 -0
- package/dist/chunks/image-Dk3v9f16.es.js.map +1 -0
- package/dist/chunks/index-CPFuzoME.es.js +3424 -0
- package/dist/chunks/index-CPFuzoME.es.js.map +1 -0
- package/dist/chunks/index-CcqI-ipN.cjs.js +2 -0
- package/dist/chunks/index-CcqI-ipN.cjs.js.map +1 -0
- package/dist/chunks/index-DsGIn0AT.es.js +51 -0
- package/dist/chunks/index-DsGIn0AT.es.js.map +1 -0
- package/dist/chunks/index-XyB4gGC8.cjs.js +4 -0
- package/dist/chunks/index-XyB4gGC8.cjs.js.map +1 -0
- package/dist/chunks/intlStrings-Cd44R5hT.es.js +279 -0
- package/dist/chunks/intlStrings-Cd44R5hT.es.js.map +1 -0
- package/dist/chunks/intlStrings-ClBuC6xN.cjs.js +2 -0
- package/dist/chunks/intlStrings-ClBuC6xN.cjs.js.map +1 -0
- package/dist/chunks/kbd-CSMHvaH6.cjs.js +2 -0
- package/dist/chunks/kbd-CSMHvaH6.cjs.js.map +1 -0
- package/dist/chunks/kbd-CUSbYvfc.es.js +16 -0
- package/dist/chunks/kbd-CUSbYvfc.es.js.map +1 -0
- package/dist/chunks/link-B2cOAxZz.cjs.js +2 -0
- package/dist/chunks/link-B2cOAxZz.cjs.js.map +1 -0
- package/dist/chunks/link-DteZUB4U.es.js +50 -0
- package/dist/chunks/link-DteZUB4U.es.js.map +1 -0
- package/dist/chunks/list-Bm8bFcHO.cjs.js +2 -0
- package/dist/chunks/list-Bm8bFcHO.cjs.js.map +1 -0
- package/dist/chunks/list-De4DYOvu.es.js +23 -0
- package/dist/chunks/list-De4DYOvu.es.js.map +1 -0
- package/dist/chunks/loading-spinner-BMtvjIcS.es.js +119 -0
- package/dist/chunks/loading-spinner-BMtvjIcS.es.js.map +1 -0
- package/dist/chunks/loading-spinner-Cap3elI4.cjs.js +2 -0
- package/dist/chunks/loading-spinner-Cap3elI4.cjs.js.map +1 -0
- package/dist/chunks/make-element-focusable-_FWEyVtG.es.js +22 -0
- package/dist/chunks/make-element-focusable-_FWEyVtG.es.js.map +1 -0
- package/dist/chunks/make-element-focusable-fn-8kTQK.cjs.js +2 -0
- package/dist/chunks/make-element-focusable-fn-8kTQK.cjs.js.map +1 -0
- package/dist/chunks/mergeProps-BA5Cwf5w.cjs.js +2 -0
- package/dist/chunks/mergeProps-BA5Cwf5w.cjs.js.map +1 -0
- package/dist/chunks/mergeProps-B_9syxhT.es.js +130 -0
- package/dist/chunks/mergeProps-B_9syxhT.es.js.map +1 -0
- package/dist/chunks/multiline-text-input-CaGDNakb.es.js +120 -0
- package/dist/chunks/multiline-text-input-CaGDNakb.es.js.map +1 -0
- package/dist/chunks/multiline-text-input-ChVzVZob.cjs.js +12 -0
- package/dist/chunks/multiline-text-input-ChVzVZob.cjs.js.map +1 -0
- package/dist/chunks/namespace-BayyiBSr.es.js +74 -0
- package/dist/chunks/namespace-BayyiBSr.es.js.map +1 -0
- package/dist/chunks/namespace-E8aHFVxM.cjs.js +2 -0
- package/dist/chunks/namespace-E8aHFVxM.cjs.js.map +1 -0
- package/dist/chunks/nimbus-provider-DCCIMVE_.cjs.js +2 -0
- package/dist/chunks/nimbus-provider-DCCIMVE_.cjs.js.map +1 -0
- package/dist/chunks/nimbus-provider-Dlt9_yol.es.js +101 -0
- package/dist/chunks/nimbus-provider-Dlt9_yol.es.js.map +1 -0
- package/dist/chunks/number-DHvo-MDe.cjs.js +2 -0
- package/dist/chunks/number-DHvo-MDe.cjs.js.map +1 -0
- package/dist/chunks/number-dMxJejI6.es.js +26 -0
- package/dist/chunks/number-dMxJejI6.es.js.map +1 -0
- package/dist/chunks/number-input-BHHKhYR7.es.js +669 -0
- package/dist/chunks/number-input-BHHKhYR7.es.js.map +1 -0
- package/dist/chunks/number-input-DFFxFKrR.cjs.js +2 -0
- package/dist/chunks/number-input-DFFxFKrR.cjs.js.map +1 -0
- package/dist/chunks/openLink-Ctl0AdAy.es.js +105 -0
- package/dist/chunks/openLink-Ctl0AdAy.es.js.map +1 -0
- package/dist/chunks/openLink-DkCJYbzq.cjs.js +2 -0
- package/dist/chunks/openLink-DkCJYbzq.cjs.js.map +1 -0
- package/dist/chunks/password-input-DVcMdFAI.cjs.js +2 -0
- package/dist/chunks/password-input-DVcMdFAI.cjs.js.map +1 -0
- package/dist/chunks/password-input-DbMYteEW.es.js +65 -0
- package/dist/chunks/password-input-DbMYteEW.es.js.map +1 -0
- package/dist/chunks/platform-BDLy2vDY.cjs.js +2 -0
- package/dist/chunks/platform-BDLy2vDY.cjs.js.map +1 -0
- package/dist/chunks/platform-Z5fvtFmM.es.js +47 -0
- package/dist/chunks/platform-Z5fvtFmM.es.js.map +1 -0
- package/dist/chunks/progress-bar-BsWBRJc2.cjs.js +2 -0
- package/dist/chunks/progress-bar-BsWBRJc2.cjs.js.map +1 -0
- package/dist/chunks/progress-bar-C3sqvC_T.es.js +77 -0
- package/dist/chunks/progress-bar-C3sqvC_T.es.js.map +1 -0
- package/dist/chunks/provider-BzZZw3fF.cjs.js +16 -0
- package/dist/chunks/provider-BzZZw3fF.cjs.js.map +1 -0
- package/dist/chunks/provider-DxFdjgyb.es.js +989 -0
- package/dist/chunks/provider-DxFdjgyb.es.js.map +1 -0
- package/dist/chunks/radio-input-CFNznM66.es.js +341 -0
- package/dist/chunks/radio-input-CFNznM66.es.js.map +1 -0
- package/dist/chunks/radio-input-D3ePwO1n.cjs.js +2 -0
- package/dist/chunks/radio-input-D3ePwO1n.cjs.js.map +1 -0
- package/dist/chunks/range-calendar-Bk_im2QK.cjs.js +2 -0
- package/dist/chunks/range-calendar-Bk_im2QK.cjs.js.map +1 -0
- package/dist/chunks/range-calendar-C5pDvIuq.es.js +187 -0
- package/dist/chunks/range-calendar-C5pDvIuq.es.js.map +1 -0
- package/dist/chunks/scrollIntoView-BYF_8_6g.es.js +94 -0
- package/dist/chunks/scrollIntoView-BYF_8_6g.es.js.map +1 -0
- package/dist/chunks/scrollIntoView-BzIqpHLO.cjs.js +2 -0
- package/dist/chunks/scrollIntoView-BzIqpHLO.cjs.js.map +1 -0
- package/dist/chunks/select-BZGHsJAO.es.js +571 -0
- package/dist/chunks/select-BZGHsJAO.es.js.map +1 -0
- package/dist/chunks/select-DCQjhFbh.cjs.js +2 -0
- package/dist/chunks/select-DCQjhFbh.cjs.js.map +1 -0
- package/dist/chunks/simple-grid-1F5YBj03.es.js +38 -0
- package/dist/chunks/simple-grid-1F5YBj03.es.js.map +1 -0
- package/dist/chunks/simple-grid-BfDDcTNA.cjs.js +2 -0
- package/dist/chunks/simple-grid-BfDDcTNA.cjs.js.map +1 -0
- package/dist/chunks/split-button-CIHXMvxD.cjs.js +2 -0
- package/dist/chunks/split-button-CIHXMvxD.cjs.js.map +1 -0
- package/dist/chunks/split-button-DJoqZPXX.es.js +262 -0
- package/dist/chunks/split-button-DJoqZPXX.es.js.map +1 -0
- package/dist/chunks/stack-B2xQMEdj.cjs.js +2 -0
- package/dist/chunks/stack-B2xQMEdj.cjs.js.map +1 -0
- package/dist/chunks/stack-DosdbBli.es.js +89 -0
- package/dist/chunks/stack-DosdbBli.es.js.map +1 -0
- package/dist/chunks/switch-C3AG1gUR.cjs.js +2 -0
- package/dist/chunks/switch-C3AG1gUR.cjs.js.map +1 -0
- package/dist/chunks/switch-DEKbPCQG.es.js +79 -0
- package/dist/chunks/switch-DEKbPCQG.es.js.map +1 -0
- package/dist/chunks/tag-group-4kwJie4V.es.js +768 -0
- package/dist/chunks/tag-group-4kwJie4V.es.js.map +1 -0
- package/dist/chunks/tag-group-BYQkpbiY.cjs.js +2 -0
- package/dist/chunks/tag-group-BYQkpbiY.cjs.js.map +1 -0
- package/dist/chunks/text-DNjTZCtR.cjs.js +2 -0
- package/dist/chunks/text-DNjTZCtR.cjs.js.map +1 -0
- package/dist/chunks/text-QANNJ4E4.es.js +26 -0
- package/dist/chunks/text-QANNJ4E4.es.js.map +1 -0
- package/dist/chunks/text-input-COPlnTZU.es.js +19 -0
- package/dist/chunks/text-input-COPlnTZU.es.js.map +1 -0
- package/dist/chunks/text-input-DnS2RVDs.cjs.js +2 -0
- package/dist/chunks/text-input-DnS2RVDs.cjs.js.map +1 -0
- package/dist/chunks/time-input-BWkx15sb.cjs.js +2 -0
- package/dist/chunks/time-input-BWkx15sb.cjs.js.map +1 -0
- package/dist/chunks/time-input-DXMs43_R.es.js +132 -0
- package/dist/chunks/time-input-DXMs43_R.es.js.map +1 -0
- package/dist/chunks/toggle-button-BEvOqB5n.es.js +30 -0
- package/dist/chunks/toggle-button-BEvOqB5n.es.js.map +1 -0
- package/dist/chunks/toggle-button-PE5251Fm.cjs.js +2 -0
- package/dist/chunks/toggle-button-PE5251Fm.cjs.js.map +1 -0
- package/dist/chunks/toggle-button-group-B2G_b7h8.cjs.js +2 -0
- package/dist/chunks/toggle-button-group-B2G_b7h8.cjs.js.map +1 -0
- package/dist/chunks/toggle-button-group-CXrwjOF0.es.js +82 -0
- package/dist/chunks/toggle-button-group-CXrwjOF0.es.js.map +1 -0
- package/dist/chunks/toolbar-BJrobBzi.es.js +59 -0
- package/dist/chunks/toolbar-BJrobBzi.es.js.map +1 -0
- package/dist/chunks/toolbar-BxIQI626.cjs.js +2 -0
- package/dist/chunks/toolbar-BxIQI626.cjs.js.map +1 -0
- package/dist/chunks/tooltip-Ya7L6lQR.es.js +274 -0
- package/dist/chunks/tooltip-Ya7L6lQR.es.js.map +1 -0
- package/dist/chunks/tooltip-fOhxG4pp.cjs.js +2 -0
- package/dist/chunks/tooltip-fOhxG4pp.cjs.js.map +1 -0
- package/dist/chunks/use-recipe-BZ_iqCkN.cjs.js +2 -0
- package/dist/chunks/use-recipe-BZ_iqCkN.cjs.js.map +1 -0
- package/dist/chunks/use-recipe-CR4W7Dne.es.js +13 -0
- package/dist/chunks/use-recipe-CR4W7Dne.es.js.map +1 -0
- package/dist/chunks/useButton-Cgkz8UEs.es.js +56 -0
- package/dist/chunks/useButton-Cgkz8UEs.es.js.map +1 -0
- package/dist/chunks/useButton-D3BedLtL.cjs.js +2 -0
- package/dist/chunks/useButton-D3BedLtL.cjs.js.map +1 -0
- package/dist/chunks/useCollator-BvjDbml1.es.js +12 -0
- package/dist/chunks/useCollator-BvjDbml1.es.js.map +1 -0
- package/dist/chunks/useCollator-ZqnkTllN.cjs.js +2 -0
- package/dist/chunks/useCollator-ZqnkTllN.cjs.js.map +1 -0
- package/dist/chunks/useControlledState-D0L6S_5r.cjs.js.map +1 -1
- package/dist/chunks/useControlledState-u436Wbp1.es.js.map +1 -1
- package/dist/chunks/useDateFormatter-D9HBAX1w.es.js +1601 -0
- package/dist/chunks/useDateFormatter-D9HBAX1w.es.js.map +1 -0
- package/dist/chunks/useDateFormatter-G9oGkNG5.cjs.js +2 -0
- package/dist/chunks/useDateFormatter-G9oGkNG5.cjs.js.map +1 -0
- package/dist/chunks/useEvent-CuUOU5WV.cjs.js +2 -0
- package/dist/chunks/useEvent-CuUOU5WV.cjs.js.map +1 -0
- package/dist/chunks/useEvent-YHhqZvpU.es.js +22 -0
- package/dist/chunks/useEvent-YHhqZvpU.es.js.map +1 -0
- package/dist/chunks/useField-Ce9zQxmx.es.js +36 -0
- package/dist/chunks/useField-Ce9zQxmx.es.js.map +1 -0
- package/dist/chunks/useField-DmqO9k7a.cjs.js +2 -0
- package/dist/chunks/useField-DmqO9k7a.cjs.js.map +1 -0
- package/dist/chunks/useFilter-Bh0adxQ-.es.js +36 -0
- package/dist/chunks/useFilter-Bh0adxQ-.es.js.map +1 -0
- package/dist/chunks/useFilter-Du48WXDn.cjs.js +2 -0
- package/dist/chunks/useFilter-Du48WXDn.cjs.js.map +1 -0
- package/dist/chunks/useFocus-BcBbbuWU.cjs.js +2 -0
- package/dist/chunks/useFocus-BcBbbuWU.cjs.js.map +1 -0
- package/dist/chunks/useFocus-CeI1jbl8.es.js +29 -0
- package/dist/chunks/useFocus-CeI1jbl8.es.js.map +1 -0
- package/dist/chunks/useFocusRing-D8cwV0EM.es.js +35 -0
- package/dist/chunks/useFocusRing-D8cwV0EM.es.js.map +1 -0
- package/dist/chunks/useFocusRing-DRIoF592.cjs.js +2 -0
- package/dist/chunks/useFocusRing-DRIoF592.cjs.js.map +1 -0
- package/dist/chunks/useFocusVisible-C5ivHvqm.es.js +111 -0
- package/dist/chunks/useFocusVisible-C5ivHvqm.es.js.map +1 -0
- package/dist/chunks/useFocusVisible-bRnVksaU.cjs.js +2 -0
- package/dist/chunks/useFocusVisible-bRnVksaU.cjs.js.map +1 -0
- package/dist/chunks/useFocusWithin-i-cVKYQ8.cjs.js +2 -0
- package/dist/chunks/useFocusWithin-i-cVKYQ8.cjs.js.map +1 -0
- package/dist/chunks/useFocusWithin-yfiHuOEs.es.js +56 -0
- package/dist/chunks/useFocusWithin-yfiHuOEs.es.js.map +1 -0
- package/dist/chunks/useFocusable-BghVNiQU.es.js +77 -0
- package/dist/chunks/useFocusable-BghVNiQU.es.js.map +1 -0
- package/dist/chunks/useFocusable-avM9w6OE.cjs.js +2 -0
- package/dist/chunks/useFocusable-avM9w6OE.cjs.js.map +1 -0
- package/dist/chunks/useFormReset--wPlnEOl.cjs.js +2 -0
- package/dist/chunks/useFormReset--wPlnEOl.cjs.js.map +1 -0
- package/dist/chunks/useFormReset-DurgUJL-.es.js +21 -0
- package/dist/chunks/useFormReset-DurgUJL-.es.js.map +1 -0
- package/dist/chunks/useFormValidation-DJMNbIhx.es.js +202 -0
- package/dist/chunks/useFormValidation-DJMNbIhx.es.js.map +1 -0
- package/dist/chunks/useFormValidation-DJy_cdgv.cjs.js +2 -0
- package/dist/chunks/useFormValidation-DJy_cdgv.cjs.js.map +1 -0
- package/dist/chunks/useGlobalListeners-BOOfV5Wh.es.js +35 -0
- package/dist/chunks/useGlobalListeners-BOOfV5Wh.es.js.map +1 -0
- package/dist/chunks/useGlobalListeners-DcmIlwrO.cjs.js +2 -0
- package/dist/chunks/useGlobalListeners-DcmIlwrO.cjs.js.map +1 -0
- package/dist/chunks/useHighlightSelectionDescription-DAR8wV79.es.js +598 -0
- package/dist/chunks/useHighlightSelectionDescription-DAR8wV79.es.js.map +1 -0
- package/dist/chunks/useHighlightSelectionDescription-DPwy1mkw.cjs.js +2 -0
- package/dist/chunks/useHighlightSelectionDescription-DPwy1mkw.cjs.js.map +1 -0
- package/dist/chunks/useHover-BlZx5CU2.cjs.js +2 -0
- package/dist/chunks/useHover-BlZx5CU2.cjs.js.map +1 -0
- package/dist/chunks/useHover-cJOf02TT.es.js +86 -0
- package/dist/chunks/useHover-cJOf02TT.es.js.map +1 -0
- package/dist/chunks/useLabel-BBmkkrPP.es.js +37 -0
- package/dist/chunks/useLabel-BBmkkrPP.es.js.map +1 -0
- package/dist/chunks/useLabel-Y8tWagLu.cjs.js +2 -0
- package/dist/chunks/useLabel-Y8tWagLu.cjs.js.map +1 -0
- package/dist/chunks/useLocalizedStringFormatter-CvzOUusg.es.js +97 -0
- package/dist/chunks/useLocalizedStringFormatter-CvzOUusg.es.js.map +1 -0
- package/dist/chunks/useLocalizedStringFormatter-fJnbqb2x.cjs.js +2 -0
- package/dist/chunks/useLocalizedStringFormatter-fJnbqb2x.cjs.js.map +1 -0
- package/dist/chunks/useObjectRef-CaJ5pgjX.es.js.map +1 -1
- package/dist/chunks/useObjectRef-dXOJdONs.cjs.js +2 -0
- package/dist/chunks/useObjectRef-dXOJdONs.cjs.js.map +1 -0
- package/dist/chunks/usePress-BquTSwUd.es.js +456 -0
- package/dist/chunks/usePress-BquTSwUd.es.js.map +1 -0
- package/dist/chunks/usePress-D8F1U6qk.cjs.js +8 -0
- package/dist/chunks/usePress-D8F1U6qk.cjs.js.map +1 -0
- package/dist/chunks/useProgressBar-8ZyM2_T3.cjs.js +2 -0
- package/dist/chunks/useProgressBar-8ZyM2_T3.cjs.js.map +1 -0
- package/dist/chunks/useProgressBar-BgURyN6q.es.js +48 -0
- package/dist/chunks/useProgressBar-BgURyN6q.es.js.map +1 -0
- package/dist/chunks/useResizeObserver-Dx-vDLiW.cjs.js +2 -0
- package/dist/chunks/useResizeObserver-Dx-vDLiW.cjs.js.map +1 -0
- package/dist/chunks/useResizeObserver-FIPBIG5S.es.js +32 -0
- package/dist/chunks/useResizeObserver-FIPBIG5S.es.js.map +1 -0
- package/dist/chunks/useSeparator-B-OtWwE7.cjs.js +2 -0
- package/dist/chunks/useSeparator-B-OtWwE7.cjs.js.map +1 -0
- package/dist/chunks/useSeparator-Dg70ACBm.es.js +19 -0
- package/dist/chunks/useSeparator-Dg70ACBm.es.js.map +1 -0
- package/dist/chunks/useSingleSelectListState-BpAVpRdZ.cjs.js +2 -0
- package/dist/chunks/useSingleSelectListState-BpAVpRdZ.cjs.js.map +1 -0
- package/dist/chunks/useSingleSelectListState-CiK-JkEX.es.js +35 -0
- package/dist/chunks/useSingleSelectListState-CiK-JkEX.es.js.map +1 -0
- package/dist/chunks/useSpinButton-C-tpK-T9.es.js +433 -0
- package/dist/chunks/useSpinButton-C-tpK-T9.es.js.map +1 -0
- package/dist/chunks/useSpinButton-Cw8QxU2l.cjs.js +2 -0
- package/dist/chunks/useSpinButton-Cw8QxU2l.cjs.js.map +1 -0
- package/dist/chunks/useSyncRef-DGRbdR4H.es.js +13 -0
- package/dist/chunks/useSyncRef-DGRbdR4H.es.js.map +1 -0
- package/dist/chunks/useSyncRef-bcjp9eId.cjs.js +2 -0
- package/dist/chunks/useSyncRef-bcjp9eId.cjs.js.map +1 -0
- package/dist/chunks/useTextField-Cv1jQqUp.cjs.js +2 -0
- package/dist/chunks/useTextField-Cv1jQqUp.cjs.js.map +1 -0
- package/dist/chunks/useTextField-Doh-sQHP.es.js +91 -0
- package/dist/chunks/useTextField-Doh-sQHP.es.js.map +1 -0
- package/dist/chunks/useToggle-BK36AEko.cjs.js +2 -0
- package/dist/chunks/useToggle-BK36AEko.cjs.js.map +1 -0
- package/dist/chunks/useToggle-DcdigPKG.es.js +62 -0
- package/dist/chunks/useToggle-DcdigPKG.es.js.map +1 -0
- package/dist/chunks/useToggleState-Dl-o05wQ.cjs.js +2 -0
- package/dist/chunks/useToggleState-Dl-o05wQ.cjs.js.map +1 -0
- package/dist/chunks/useToggleState-Uh0wTgdI.es.js +22 -0
- package/dist/chunks/useToggleState-Uh0wTgdI.es.js.map +1 -0
- package/dist/chunks/useToolbar-CYJ2PbtO.es.js +55 -0
- package/dist/chunks/useToolbar-CYJ2PbtO.es.js.map +1 -0
- package/dist/chunks/useToolbar-D3B8DvbF.cjs.js +2 -0
- package/dist/chunks/useToolbar-D3B8DvbF.cjs.js.map +1 -0
- package/dist/chunks/useUpdateEffect-C5YQs_1w.cjs.js +2 -0
- package/dist/chunks/useUpdateEffect-C5YQs_1w.cjs.js.map +1 -0
- package/dist/chunks/useUpdateEffect-CCDx8D4X.es.js.map +1 -1
- package/dist/chunks/utils-BHVnNfaH.cjs.js +2 -0
- package/dist/chunks/utils-BHVnNfaH.cjs.js.map +1 -0
- package/dist/chunks/utils-BHdR5Nww.cjs.js +2 -0
- package/dist/chunks/utils-BHdR5Nww.cjs.js.map +1 -0
- package/dist/chunks/utils-BkdW_cdL.es.js +128 -0
- package/dist/chunks/utils-BkdW_cdL.es.js.map +1 -0
- package/dist/chunks/utils-Gg3iiYhl.es.js +188 -0
- package/dist/chunks/utils-Gg3iiYhl.es.js.map +1 -0
- package/dist/chunks/visually-hidden-Uhh-2Y-q.cjs.js +2 -0
- package/dist/chunks/visually-hidden-Uhh-2Y-q.cjs.js.map +1 -0
- package/dist/chunks/visually-hidden-vh07nrZa.es.js +11 -0
- package/dist/chunks/visually-hidden-vh07nrZa.es.js.map +1 -0
- package/dist/chunks/walk-object-CvcTxMj1.es.js +27 -0
- package/dist/chunks/walk-object-CvcTxMj1.es.js.map +1 -0
- package/dist/chunks/walk-object-vr3sAS3_.cjs.js +2 -0
- package/dist/chunks/walk-object-vr3sAS3_.cjs.js.map +1 -0
- package/dist/components/accordion.cjs +1 -1
- package/dist/components/accordion.es.js +1 -1
- package/dist/components/alert.cjs +1 -1
- package/dist/components/alert.es.js +1 -1
- package/dist/components/avatar.cjs +1 -1
- package/dist/components/avatar.es.js +1 -1
- package/dist/components/badge.cjs +1 -1
- package/dist/components/badge.es.js +1 -1
- package/dist/components/box.cjs +1 -1
- package/dist/components/box.es.js +1 -1
- package/dist/components/button.cjs +1 -1
- package/dist/components/button.es.js +1 -1
- 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/code.cjs +1 -1
- package/dist/components/code.es.js +1 -1
- 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 +154 -135
- package/dist/components/components.es.js.map +1 -1
- package/dist/components/data-table.cjs +2 -0
- package/dist/components/data-table.cjs.map +1 -0
- package/dist/components/data-table.es.js +17 -0
- package/dist/components/data-table.es.js.map +1 -0
- package/dist/components/date-input.cjs +1 -1
- package/dist/components/date-input.es.js +1 -1
- package/dist/components/date-picker.cjs +1 -1
- package/dist/components/date-picker.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.cjs +1 -1
- package/dist/components/dialog.es.js +1 -1
- package/dist/components/divider.cjs +1 -1
- package/dist/components/divider.es.js +1 -1
- package/dist/components/flex.cjs +1 -1
- package/dist/components/flex.es.js +1 -1
- package/dist/components/form-field.cjs +1 -1
- package/dist/components/form-field.es.js +1 -1
- package/dist/components/grid.cjs +1 -1
- package/dist/components/grid.es.js +1 -1
- package/dist/components/group.cjs +2 -0
- package/dist/components/group.cjs.map +1 -0
- package/dist/components/group.es.js +5 -0
- package/dist/components/group.es.js.map +1 -0
- 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/icon.cjs +1 -1
- package/dist/components/icon.es.js +1 -1
- package/dist/components/image.cjs +1 -1
- package/dist/components/image.es.js +1 -1
- package/dist/components/kbd.cjs +1 -1
- package/dist/components/kbd.es.js +1 -1
- package/dist/components/link.cjs +1 -1
- package/dist/components/link.es.js +1 -1
- package/dist/components/list.cjs +1 -1
- package/dist/components/list.es.js +1 -1
- package/dist/components/loading-spinner.cjs +1 -1
- package/dist/components/loading-spinner.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-provider.cjs +1 -1
- package/dist/components/nimbus-provider.es.js +1 -1
- package/dist/components/number-input.cjs +1 -1
- package/dist/components/number-input.es.js +1 -1
- package/dist/components/password-input.cjs +1 -1
- package/dist/components/password-input.es.js +1 -1
- package/dist/components/progress-bar.cjs +1 -1
- package/dist/components/progress-bar.es.js +1 -1
- package/dist/components/radio-input.cjs +1 -1
- package/dist/components/radio-input.es.js +1 -1
- package/dist/components/range-calendar.cjs +1 -1
- package/dist/components/range-calendar.es.js +1 -1
- package/dist/components/select.cjs +1 -1
- package/dist/components/select.es.js +1 -1
- package/dist/components/simple-grid.cjs +1 -1
- package/dist/components/simple-grid.es.js +1 -1
- package/dist/components/split-button.cjs +2 -0
- package/dist/components/split-button.cjs.map +1 -0
- package/dist/components/split-button.es.js +5 -0
- package/dist/components/split-button.es.js.map +1 -0
- package/dist/components/stack.cjs +1 -1
- package/dist/components/stack.es.js +1 -1
- package/dist/components/switch.cjs +1 -1
- package/dist/components/switch.es.js +1 -1
- package/dist/components/table.cjs +1 -1
- package/dist/components/table.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.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.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 +2 -0
- package/dist/components/toolbar.cjs.map +1 -0
- package/dist/components/toolbar.es.js +5 -0
- package/dist/components/toolbar.es.js.map +1 -0
- 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/components.d.ts +393 -19
- package/dist/data-table.d.ts +268 -0
- package/dist/date-picker.d.ts +1 -1
- package/dist/date-range-picker.d.ts +1 -1
- package/dist/divider.d.ts +2 -8
- package/dist/group.d.ts +35 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +389 -15
- package/dist/index.es.js +284 -401
- package/dist/index.es.js.map +1 -1
- package/dist/setup-jsdom-polyfills.cjs.map +1 -1
- package/dist/setup-jsdom-polyfills.es.js.map +1 -1
- package/dist/split-button.d.ts +67 -0
- package/dist/toolbar.d.ts +73 -0
- package/i18n/compiled-data/core.json +146 -0
- package/i18n/compiled-data/de.json +146 -0
- package/i18n/compiled-data/en.json +146 -0
- package/i18n/compiled-data/fr-FR.json +146 -0
- package/i18n/compiled-data/pt-BR.json +146 -0
- package/package.json +20 -12
- package/dist/chunks/Button-BLHXvl6m.es.js +0 -80
- package/dist/chunks/Button-BLHXvl6m.es.js.map +0 -1
- package/dist/chunks/Button-BjOgrRmH.cjs.js +0 -2
- package/dist/chunks/Button-BjOgrRmH.cjs.js.map +0 -1
- package/dist/chunks/DateField-Aj6J_Ms0.es.js +0 -2589
- package/dist/chunks/DateField-Aj6J_Ms0.es.js.map +0 -1
- package/dist/chunks/DateField-G0i9Cflc.cjs.js +0 -2
- package/dist/chunks/DateField-G0i9Cflc.cjs.js.map +0 -1
- package/dist/chunks/DatePicker-BD8RjPSL.cjs.js +0 -2
- package/dist/chunks/DatePicker-BD8RjPSL.cjs.js.map +0 -1
- package/dist/chunks/DatePicker-BnQyHiTi.es.js +0 -762
- package/dist/chunks/DatePicker-BnQyHiTi.es.js.map +0 -1
- package/dist/chunks/Dialog-Btds5x4W.cjs.js +0 -2
- package/dist/chunks/Dialog-Btds5x4W.cjs.js.map +0 -1
- package/dist/chunks/Dialog-CTf0VB6B.es.js +0 -1888
- package/dist/chunks/Dialog-CTf0VB6B.es.js.map +0 -1
- package/dist/chunks/FocusScope-BEOPrcCH.cjs.js +0 -2
- package/dist/chunks/FocusScope-BEOPrcCH.cjs.js.map +0 -1
- package/dist/chunks/FocusScope-qJgAziUV.es.js +0 -671
- package/dist/chunks/FocusScope-qJgAziUV.es.js.map +0 -1
- package/dist/chunks/Form-amb1SjpT.cjs.js +0 -2
- package/dist/chunks/Form-amb1SjpT.cjs.js.map +0 -1
- package/dist/chunks/Form-yBl0QZl8.es.js +0 -7
- package/dist/chunks/Form-yBl0QZl8.es.js.map +0 -1
- package/dist/chunks/Group-apcpZquv.cjs.js +0 -2
- package/dist/chunks/Group-apcpZquv.cjs.js.map +0 -1
- package/dist/chunks/Group-nelci54o.es.js +0 -78
- package/dist/chunks/Group-nelci54o.es.js.map +0 -1
- package/dist/chunks/Heading-CYQ_Jn6M.es.js +0 -1605
- package/dist/chunks/Heading-CYQ_Jn6M.es.js.map +0 -1
- package/dist/chunks/Heading-DiqU5dbv.cjs.js +0 -2
- package/dist/chunks/Heading-DiqU5dbv.cjs.js.map +0 -1
- package/dist/chunks/Hidden-X9vuhkMZ.es.js +0 -28
- package/dist/chunks/Hidden-X9vuhkMZ.es.js.map +0 -1
- package/dist/chunks/Input-BEgGe6bw.cjs.js +0 -2
- package/dist/chunks/Input-BEgGe6bw.cjs.js.map +0 -1
- package/dist/chunks/Input-Cvh_r_c1.es.js +0 -43
- package/dist/chunks/Input-Cvh_r_c1.es.js.map +0 -1
- package/dist/chunks/Label-BhU-HP65.es.js +0 -17
- package/dist/chunks/Label-BhU-HP65.es.js.map +0 -1
- package/dist/chunks/Label-DFXyfxZM.cjs.js +0 -2
- package/dist/chunks/Label-DFXyfxZM.cjs.js.map +0 -1
- package/dist/chunks/ListBox-0C7L4Sat.es.js +0 -645
- package/dist/chunks/ListBox-0C7L4Sat.es.js.map +0 -1
- package/dist/chunks/ListBox-BEZfjFMq.cjs.js +0 -2
- package/dist/chunks/ListBox-BEZfjFMq.cjs.js.map +0 -1
- package/dist/chunks/OverlayArrow-BcRQfR_V.cjs.js +0 -2
- package/dist/chunks/OverlayArrow-BcRQfR_V.cjs.js.map +0 -1
- package/dist/chunks/OverlayArrow-C1hn2WBd.es.js +0 -479
- package/dist/chunks/OverlayArrow-C1hn2WBd.es.js.map +0 -1
- package/dist/chunks/ProgressBar-Cot0VLjE.cjs.js +0 -2
- package/dist/chunks/ProgressBar-Cot0VLjE.cjs.js.map +0 -1
- package/dist/chunks/ProgressBar-DrSArMks.es.js +0 -39
- package/dist/chunks/ProgressBar-DrSArMks.es.js.map +0 -1
- package/dist/chunks/RSPContexts-AkhSBHGO.es.js +0 -6
- package/dist/chunks/RSPContexts-AkhSBHGO.es.js.map +0 -1
- package/dist/chunks/RSPContexts-CIAIlAKH.cjs.js +0 -2
- package/dist/chunks/RSPContexts-CIAIlAKH.cjs.js.map +0 -1
- package/dist/chunks/SSRProvider-DZRLwxPS.cjs.js +0 -2
- package/dist/chunks/SSRProvider-DZRLwxPS.cjs.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/Separator-BFKzWOOv.cjs.js +0 -18
- package/dist/chunks/Separator-BFKzWOOv.cjs.js.map +0 -1
- package/dist/chunks/Separator-ChieGwKF.es.js +0 -2435
- package/dist/chunks/Separator-ChieGwKF.es.js.map +0 -1
- package/dist/chunks/TextArea-BleoN8N2.es.js +0 -42
- package/dist/chunks/TextArea-BleoN8N2.es.js.map +0 -1
- package/dist/chunks/TextArea-ciW_61Jv.cjs.js +0 -2
- package/dist/chunks/TextArea-ciW_61Jv.cjs.js.map +0 -1
- package/dist/chunks/ToggleButton-CXa3lkD6.cjs.js +0 -2
- package/dist/chunks/ToggleButton-CXa3lkD6.cjs.js.map +0 -1
- package/dist/chunks/ToggleButton-CcA_6EjA.es.js +0 -189
- package/dist/chunks/ToggleButton-CcA_6EjA.es.js.map +0 -1
- package/dist/chunks/VisuallyHidden-Cqkg4RzT.cjs.js +0 -2
- package/dist/chunks/VisuallyHidden-Cqkg4RzT.cjs.js.map +0 -1
- package/dist/chunks/VisuallyHidden-vVsCehgl.es.js +0 -41
- package/dist/chunks/VisuallyHidden-vVsCehgl.es.js.map +0 -1
- package/dist/chunks/accordion-4C7hF2JJ.es.js +0 -223
- package/dist/chunks/accordion-4C7hF2JJ.es.js.map +0 -1
- package/dist/chunks/accordion-B-0SAOc-.cjs.js +0 -2
- package/dist/chunks/accordion-B-0SAOc-.cjs.js.map +0 -1
- package/dist/chunks/alert-C9I2_j1h.es.js +0 -187
- package/dist/chunks/alert-C9I2_j1h.es.js.map +0 -1
- package/dist/chunks/alert-DWA7Mm4i.cjs.js +0 -2
- package/dist/chunks/alert-DWA7Mm4i.cjs.js.map +0 -1
- package/dist/chunks/avatar-DDCMu1RQ.es.js +0 -38
- package/dist/chunks/avatar-DDCMu1RQ.es.js.map +0 -1
- package/dist/chunks/avatar-Dps7PI8I.cjs.js +0 -2
- package/dist/chunks/avatar-Dps7PI8I.cjs.js.map +0 -1
- package/dist/chunks/badge-Do9L64AE.cjs.js +0 -2
- package/dist/chunks/badge-Do9L64AE.cjs.js.map +0 -1
- package/dist/chunks/badge-Iq596jRa.es.js +0 -78
- package/dist/chunks/badge-Iq596jRa.es.js.map +0 -1
- package/dist/chunks/box-BOsRGQEm.cjs.js +0 -2
- package/dist/chunks/box-BOsRGQEm.cjs.js.map +0 -1
- package/dist/chunks/box-Cd4iddEV.es.js +0 -13
- package/dist/chunks/box-Cd4iddEV.es.js.map +0 -1
- package/dist/chunks/button-CdEn0J7Z.cjs.js +0 -2
- package/dist/chunks/button-CdEn0J7Z.cjs.js.map +0 -1
- package/dist/chunks/button-CueBxdjn.es.js +0 -57
- package/dist/chunks/button-CueBxdjn.es.js.map +0 -1
- package/dist/chunks/calendar-DssRRpmr.cjs.js +0 -2
- package/dist/chunks/calendar-DssRRpmr.cjs.js.map +0 -1
- package/dist/chunks/calendar-DwmLJswz.es.js +0 -187
- package/dist/chunks/calendar-DwmLJswz.es.js.map +0 -1
- package/dist/chunks/card-BZEVZLCo.cjs.js +0 -2
- package/dist/chunks/card-BZEVZLCo.cjs.js.map +0 -1
- package/dist/chunks/card-CDFYX3Fk.es.js +0 -139
- package/dist/chunks/card-CDFYX3Fk.es.js.map +0 -1
- package/dist/chunks/checkbox-C9AJOro3.es.js +0 -90
- package/dist/chunks/checkbox-C9AJOro3.es.js.map +0 -1
- package/dist/chunks/checkbox-Cc2Yab3K.cjs.js +0 -2
- package/dist/chunks/checkbox-Cc2Yab3K.cjs.js.map +0 -1
- package/dist/chunks/code-7P3tH99x.cjs.js +0 -2
- package/dist/chunks/code-7P3tH99x.cjs.js.map +0 -1
- package/dist/chunks/code-C44qm68X.es.js +0 -8
- package/dist/chunks/code-C44qm68X.es.js.map +0 -1
- package/dist/chunks/combobox-BuL7gWCK.cjs.js +0 -2
- package/dist/chunks/combobox-BuL7gWCK.cjs.js.map +0 -1
- package/dist/chunks/combobox-qAi2j415.es.js +0 -1918
- package/dist/chunks/combobox-qAi2j415.es.js.map +0 -1
- package/dist/chunks/context-D3RF-nTI.es.js +0 -94
- package/dist/chunks/context-D3RF-nTI.es.js.map +0 -1
- package/dist/chunks/context-DURpz5en.cjs.js +0 -2
- package/dist/chunks/context-DURpz5en.cjs.js.map +0 -1
- package/dist/chunks/create-recipe-context-BfiKn3k_.cjs.js +0 -2
- package/dist/chunks/create-recipe-context-BfiKn3k_.cjs.js.map +0 -1
- package/dist/chunks/create-recipe-context-c0qjq1fz.es.js +0 -62
- package/dist/chunks/create-recipe-context-c0qjq1fz.es.js.map +0 -1
- package/dist/chunks/create-slot-recipe-context-7JMdJHPF.cjs.js +0 -2
- package/dist/chunks/create-slot-recipe-context-7JMdJHPF.cjs.js.map +0 -1
- package/dist/chunks/create-slot-recipe-context-Cv3lncUO.es.js +0 -104
- package/dist/chunks/create-slot-recipe-context-Cv3lncUO.es.js.map +0 -1
- package/dist/chunks/date-input-CCTsf1nI.es.js +0 -17
- package/dist/chunks/date-input-CCTsf1nI.es.js.map +0 -1
- package/dist/chunks/date-input-CmiFb8SU.cjs.js +0 -2
- package/dist/chunks/date-input-CmiFb8SU.cjs.js.map +0 -1
- package/dist/chunks/date-picker-BFVj989W.es.js +0 -187
- package/dist/chunks/date-picker-BFVj989W.es.js.map +0 -1
- package/dist/chunks/date-picker-BwlDu__G.cjs.js +0 -2
- package/dist/chunks/date-picker-BwlDu__G.cjs.js.map +0 -1
- package/dist/chunks/date-range-picker-Cx9WSfmc.cjs.js +0 -2
- package/dist/chunks/date-range-picker-Cx9WSfmc.cjs.js.map +0 -1
- package/dist/chunks/date-range-picker-Cxe6UXcI.es.js +0 -277
- package/dist/chunks/date-range-picker-Cxe6UXcI.es.js.map +0 -1
- package/dist/chunks/dialog-7iIFtc75.cjs.js +0 -2
- package/dist/chunks/dialog-7iIFtc75.cjs.js.map +0 -1
- package/dist/chunks/dialog-CbMKp4zh.es.js +0 -1874
- package/dist/chunks/dialog-CbMKp4zh.es.js.map +0 -1
- package/dist/chunks/divider-CEphvk-H.es.js +0 -60
- package/dist/chunks/divider-CEphvk-H.es.js.map +0 -1
- package/dist/chunks/divider-CjCxQeVK.cjs.js +0 -2
- package/dist/chunks/divider-CjCxQeVK.cjs.js.map +0 -1
- package/dist/chunks/domHelpers-InH3T0qs.es.js +0 -16
- package/dist/chunks/domHelpers-InH3T0qs.es.js.map +0 -1
- package/dist/chunks/domHelpers-YAYZ9fE9.cjs.js +0 -2
- package/dist/chunks/domHelpers-YAYZ9fE9.cjs.js.map +0 -1
- package/dist/chunks/extractStyleProps-CRJEfqqS.cjs.js +0 -2
- package/dist/chunks/extractStyleProps-CRJEfqqS.cjs.js.map +0 -1
- package/dist/chunks/extractStyleProps-KcWE_ep4.es.js +0 -11
- package/dist/chunks/extractStyleProps-KcWE_ep4.es.js.map +0 -1
- package/dist/chunks/factory-BpGQXckI.es.js +0 -266
- package/dist/chunks/factory-BpGQXckI.es.js.map +0 -1
- package/dist/chunks/factory-DNbWS0Ob.cjs.js +0 -3
- package/dist/chunks/factory-DNbWS0Ob.cjs.js.map +0 -1
- package/dist/chunks/filterDOMProps-HzsCnE3d.es.js +0 -25
- package/dist/chunks/filterDOMProps-HzsCnE3d.es.js.map +0 -1
- package/dist/chunks/filterDOMProps-_f3L9QML.cjs.js +0 -2
- package/dist/chunks/filterDOMProps-_f3L9QML.cjs.js.map +0 -1
- package/dist/chunks/flex-DgabwPpo.es.js +0 -40
- package/dist/chunks/flex-DgabwPpo.es.js.map +0 -1
- package/dist/chunks/flex-DgsstZZT.cjs.js +0 -2
- package/dist/chunks/flex-DgsstZZT.cjs.js.map +0 -1
- package/dist/chunks/focusSafely-BEP7qH8R.cjs.js +0 -2
- package/dist/chunks/focusSafely-BEP7qH8R.cjs.js.map +0 -1
- package/dist/chunks/focusSafely-DJGT4IAS.es.js +0 -69
- package/dist/chunks/focusSafely-DJGT4IAS.es.js.map +0 -1
- package/dist/chunks/form-field-CZ9tkW04.cjs.js +0 -11
- package/dist/chunks/form-field-CZ9tkW04.cjs.js.map +0 -1
- package/dist/chunks/form-field-cwuj6464.es.js +0 -310
- package/dist/chunks/form-field-cwuj6464.es.js.map +0 -1
- package/dist/chunks/grid-D2EDS3Nw.cjs.js +0 -2
- package/dist/chunks/grid-D2EDS3Nw.cjs.js.map +0 -1
- package/dist/chunks/grid-item-BHKNxWuU.es.js +0 -75
- package/dist/chunks/grid-item-BHKNxWuU.es.js.map +0 -1
- package/dist/chunks/grid-item-Bwt35oD8.cjs.js +0 -2
- package/dist/chunks/grid-item-Bwt35oD8.cjs.js.map +0 -1
- package/dist/chunks/grid-ksgCqjX_.es.js +0 -14
- package/dist/chunks/grid-ksgCqjX_.es.js.map +0 -1
- package/dist/chunks/heading-C9DC5cG8.es.js +0 -8
- package/dist/chunks/heading-C9DC5cG8.es.js.map +0 -1
- package/dist/chunks/heading-CbGsyynP.cjs.js +0 -2
- package/dist/chunks/heading-CbGsyynP.cjs.js.map +0 -1
- package/dist/chunks/icon-BSGub7AG.es.js +0 -32
- package/dist/chunks/icon-BSGub7AG.es.js.map +0 -1
- package/dist/chunks/icon-H-rP9kq5.cjs.js +0 -2
- package/dist/chunks/icon-H-rP9kq5.cjs.js.map +0 -1
- package/dist/chunks/icon-button-C7MMcLBN.es.js +0 -14
- package/dist/chunks/icon-button-C7MMcLBN.es.js.map +0 -1
- package/dist/chunks/icon-button-DF2_vh-X.cjs.js +0 -2
- package/dist/chunks/icon-button-DF2_vh-X.cjs.js.map +0 -1
- package/dist/chunks/icon-toggle-button-BJBv57G-.es.js +0 -13
- package/dist/chunks/icon-toggle-button-BJBv57G-.es.js.map +0 -1
- package/dist/chunks/icon-toggle-button-D3QOY_O9.cjs.js +0 -2
- package/dist/chunks/icon-toggle-button-D3QOY_O9.cjs.js.map +0 -1
- package/dist/chunks/image-B-WEdENT.cjs.js +0 -2
- package/dist/chunks/image-B-WEdENT.cjs.js.map +0 -1
- package/dist/chunks/image-BVUCjLWP.es.js +0 -22
- package/dist/chunks/image-BVUCjLWP.es.js.map +0 -1
- package/dist/chunks/image-BwlmPt3P.es.js +0 -8
- package/dist/chunks/image-BwlmPt3P.es.js.map +0 -1
- package/dist/chunks/image-CIQlu9WX.cjs.js +0 -2
- package/dist/chunks/image-CIQlu9WX.cjs.js.map +0 -1
- package/dist/chunks/index--oJQaJZy.es.js +0 -3316
- package/dist/chunks/index--oJQaJZy.es.js.map +0 -1
- package/dist/chunks/index-Ca-OEf5O.cjs.js +0 -4
- package/dist/chunks/index-Ca-OEf5O.cjs.js.map +0 -1
- package/dist/chunks/kbd-D4NGKYuV.cjs.js +0 -2
- package/dist/chunks/kbd-D4NGKYuV.cjs.js.map +0 -1
- package/dist/chunks/kbd-r-if98_U.es.js +0 -16
- package/dist/chunks/kbd-r-if98_U.es.js.map +0 -1
- package/dist/chunks/link-BzKZPUDc.cjs.js +0 -2
- package/dist/chunks/link-BzKZPUDc.cjs.js.map +0 -1
- package/dist/chunks/link-CpCTJrhi.es.js +0 -51
- package/dist/chunks/link-CpCTJrhi.es.js.map +0 -1
- package/dist/chunks/list-BaX7-sRB.cjs.js +0 -2
- package/dist/chunks/list-BaX7-sRB.cjs.js.map +0 -1
- package/dist/chunks/list-BhODpevn.es.js +0 -23
- package/dist/chunks/list-BhODpevn.es.js.map +0 -1
- package/dist/chunks/loading-spinner-DJg5GzG_.cjs.js +0 -2
- package/dist/chunks/loading-spinner-DJg5GzG_.cjs.js.map +0 -1
- package/dist/chunks/loading-spinner-DchMqwoe.es.js +0 -106
- package/dist/chunks/loading-spinner-DchMqwoe.es.js.map +0 -1
- package/dist/chunks/make-element-focusable-Ca78aIFw.es.js +0 -22
- package/dist/chunks/make-element-focusable-Ca78aIFw.es.js.map +0 -1
- package/dist/chunks/make-element-focusable-DDGKtWBN.cjs.js +0 -2
- package/dist/chunks/make-element-focusable-DDGKtWBN.cjs.js.map +0 -1
- package/dist/chunks/menu-B3lbUDtQ.cjs.js +0 -2
- package/dist/chunks/menu-B3lbUDtQ.cjs.js.map +0 -1
- package/dist/chunks/menu-Bcxace3m.es.js +0 -167
- package/dist/chunks/menu-Bcxace3m.es.js.map +0 -1
- package/dist/chunks/mergeProps-C0OSi2w3.es.js +0 -129
- package/dist/chunks/mergeProps-C0OSi2w3.es.js.map +0 -1
- package/dist/chunks/mergeProps-VvQrkhSh.cjs.js +0 -2
- package/dist/chunks/mergeProps-VvQrkhSh.cjs.js.map +0 -1
- package/dist/chunks/multiline-text-input-CsC1RnrK.cjs.js +0 -12
- package/dist/chunks/multiline-text-input-CsC1RnrK.cjs.js.map +0 -1
- package/dist/chunks/multiline-text-input-mG88SzQO.es.js +0 -120
- package/dist/chunks/multiline-text-input-mG88SzQO.es.js.map +0 -1
- package/dist/chunks/namespace-BXD5i_90.cjs.js +0 -2
- package/dist/chunks/namespace-BXD5i_90.cjs.js.map +0 -1
- package/dist/chunks/namespace-BmDr3F-d.es.js +0 -74
- package/dist/chunks/namespace-BmDr3F-d.es.js.map +0 -1
- package/dist/chunks/nimbus-provider-DJEIgoZl.cjs.js +0 -2
- package/dist/chunks/nimbus-provider-DJEIgoZl.cjs.js.map +0 -1
- package/dist/chunks/nimbus-provider-DPlYG_b9.es.js +0 -101
- package/dist/chunks/nimbus-provider-DPlYG_b9.es.js.map +0 -1
- package/dist/chunks/number-5qMXmHyn.es.js +0 -21
- package/dist/chunks/number-5qMXmHyn.es.js.map +0 -1
- package/dist/chunks/number-CnrRPi4_.cjs.js +0 -2
- package/dist/chunks/number-CnrRPi4_.cjs.js.map +0 -1
- package/dist/chunks/number-input-BNL4jPo5.cjs.js +0 -2
- package/dist/chunks/number-input-BNL4jPo5.cjs.js.map +0 -1
- package/dist/chunks/number-input-xPBvFtO8.es.js +0 -670
- package/dist/chunks/number-input-xPBvFtO8.es.js.map +0 -1
- package/dist/chunks/openLink-BRnXRj9w.es.js +0 -101
- package/dist/chunks/openLink-BRnXRj9w.es.js.map +0 -1
- package/dist/chunks/openLink-BjodHrGD.cjs.js +0 -2
- package/dist/chunks/openLink-BjodHrGD.cjs.js.map +0 -1
- package/dist/chunks/password-input-ClTF8ndK.cjs.js +0 -2
- package/dist/chunks/password-input-ClTF8ndK.cjs.js.map +0 -1
- package/dist/chunks/password-input-SKlXZSjb.es.js +0 -50
- package/dist/chunks/password-input-SKlXZSjb.es.js.map +0 -1
- package/dist/chunks/platform-D-bXaP3n.es.js +0 -45
- package/dist/chunks/platform-D-bXaP3n.es.js.map +0 -1
- package/dist/chunks/platform-Vom5nEUR.cjs.js +0 -2
- package/dist/chunks/platform-Vom5nEUR.cjs.js.map +0 -1
- package/dist/chunks/progress-bar-D0NErylg.cjs.js +0 -2
- package/dist/chunks/progress-bar-D0NErylg.cjs.js.map +0 -1
- package/dist/chunks/progress-bar-D6DHvllq.es.js +0 -73
- package/dist/chunks/progress-bar-D6DHvllq.es.js.map +0 -1
- package/dist/chunks/provider-CUesptNK.cjs.js +0 -16
- package/dist/chunks/provider-CUesptNK.cjs.js.map +0 -1
- package/dist/chunks/provider-D5u1b72_.es.js +0 -989
- package/dist/chunks/provider-D5u1b72_.es.js.map +0 -1
- package/dist/chunks/radio-input-CigGVjie.es.js +0 -320
- package/dist/chunks/radio-input-CigGVjie.es.js.map +0 -1
- package/dist/chunks/radio-input-K6pvxMCL.cjs.js +0 -2
- package/dist/chunks/radio-input-K6pvxMCL.cjs.js.map +0 -1
- package/dist/chunks/range-calendar-BPSLYP1r.cjs.js +0 -2
- package/dist/chunks/range-calendar-BPSLYP1r.cjs.js.map +0 -1
- package/dist/chunks/range-calendar-CREtOSp1.es.js +0 -187
- package/dist/chunks/range-calendar-CREtOSp1.es.js.map +0 -1
- package/dist/chunks/scrollIntoView-B2eLOBfw.cjs.js +0 -2
- package/dist/chunks/scrollIntoView-B2eLOBfw.cjs.js.map +0 -1
- package/dist/chunks/scrollIntoView-C5qp-va8.es.js +0 -64
- package/dist/chunks/scrollIntoView-C5qp-va8.es.js.map +0 -1
- package/dist/chunks/select-C-s_r1_Z.es.js +0 -795
- package/dist/chunks/select-C-s_r1_Z.es.js.map +0 -1
- package/dist/chunks/select-Cjftrm7h.cjs.js +0 -2
- package/dist/chunks/select-Cjftrm7h.cjs.js.map +0 -1
- package/dist/chunks/simple-grid-BYgtLdTo.cjs.js +0 -2
- package/dist/chunks/simple-grid-BYgtLdTo.cjs.js.map +0 -1
- package/dist/chunks/simple-grid-QwCuXJDe.es.js +0 -38
- package/dist/chunks/simple-grid-QwCuXJDe.es.js.map +0 -1
- package/dist/chunks/stack-CFOuBCxS.es.js +0 -89
- package/dist/chunks/stack-CFOuBCxS.es.js.map +0 -1
- package/dist/chunks/stack-CSKcZxll.cjs.js +0 -2
- package/dist/chunks/stack-CSKcZxll.cjs.js.map +0 -1
- package/dist/chunks/switch-B3aegNjN.cjs.js +0 -2
- package/dist/chunks/switch-B3aegNjN.cjs.js.map +0 -1
- package/dist/chunks/switch-CBphZKZD.es.js +0 -79
- package/dist/chunks/switch-CBphZKZD.es.js.map +0 -1
- package/dist/chunks/tag-group-CZ0CriPC.es.js +0 -1348
- package/dist/chunks/tag-group-CZ0CriPC.es.js.map +0 -1
- package/dist/chunks/tag-group-sIFeH1CP.cjs.js +0 -2
- package/dist/chunks/tag-group-sIFeH1CP.cjs.js.map +0 -1
- package/dist/chunks/text-CcMvqWol.es.js +0 -26
- package/dist/chunks/text-CcMvqWol.es.js.map +0 -1
- package/dist/chunks/text-input-7wLAgfnj.cjs.js +0 -2
- package/dist/chunks/text-input-7wLAgfnj.cjs.js.map +0 -1
- package/dist/chunks/text-input-BWQuGlA8.es.js +0 -19
- package/dist/chunks/text-input-BWQuGlA8.es.js.map +0 -1
- package/dist/chunks/text-tO5nXPfT.cjs.js +0 -2
- package/dist/chunks/text-tO5nXPfT.cjs.js.map +0 -1
- package/dist/chunks/time-input-7bQqoZ8n.cjs.js +0 -2
- package/dist/chunks/time-input-7bQqoZ8n.cjs.js.map +0 -1
- package/dist/chunks/time-input-Bdh2yhge.es.js +0 -132
- package/dist/chunks/time-input-Bdh2yhge.es.js.map +0 -1
- package/dist/chunks/toggle-button-C-rQJENJ.cjs.js +0 -2
- package/dist/chunks/toggle-button-C-rQJENJ.cjs.js.map +0 -1
- package/dist/chunks/toggle-button-FiX9ip7L.es.js +0 -30
- package/dist/chunks/toggle-button-FiX9ip7L.es.js.map +0 -1
- package/dist/chunks/toggle-button-group-Cx9CekN6.es.js +0 -82
- package/dist/chunks/toggle-button-group-Cx9CekN6.es.js.map +0 -1
- package/dist/chunks/toggle-button-group-Cxx4yqgI.cjs.js +0 -2
- package/dist/chunks/toggle-button-group-Cxx4yqgI.cjs.js.map +0 -1
- package/dist/chunks/tooltip-CjYTweG9.cjs.js +0 -2
- package/dist/chunks/tooltip-CjYTweG9.cjs.js.map +0 -1
- package/dist/chunks/tooltip-D5cpNfnp.es.js +0 -273
- package/dist/chunks/tooltip-D5cpNfnp.es.js.map +0 -1
- package/dist/chunks/use-recipe-CJAjTxPP.cjs.js +0 -2
- package/dist/chunks/use-recipe-CJAjTxPP.cjs.js.map +0 -1
- package/dist/chunks/use-recipe-dUXCQYfa.es.js +0 -13
- package/dist/chunks/use-recipe-dUXCQYfa.es.js.map +0 -1
- package/dist/chunks/useButton-Bnd1IfAy.cjs.js +0 -2
- package/dist/chunks/useButton-Bnd1IfAy.cjs.js.map +0 -1
- package/dist/chunks/useButton-Codl22pH.es.js +0 -48
- package/dist/chunks/useButton-Codl22pH.es.js.map +0 -1
- package/dist/chunks/useCollator-BhJcleP-.es.js +0 -12
- package/dist/chunks/useCollator-BhJcleP-.es.js.map +0 -1
- package/dist/chunks/useCollator-DLdpB_Ui.cjs.js +0 -2
- package/dist/chunks/useCollator-DLdpB_Ui.cjs.js.map +0 -1
- package/dist/chunks/useDateFormatter-Byp_7yyY.cjs.js +0 -2
- package/dist/chunks/useDateFormatter-Byp_7yyY.cjs.js.map +0 -1
- package/dist/chunks/useDateFormatter-zNqeIcSK.es.js +0 -1581
- package/dist/chunks/useDateFormatter-zNqeIcSK.es.js.map +0 -1
- package/dist/chunks/useDescription-Bb-vj5q6.cjs.js +0 -2
- package/dist/chunks/useDescription-Bb-vj5q6.cjs.js.map +0 -1
- package/dist/chunks/useDescription-CMy9RMYn.es.js +0 -33
- package/dist/chunks/useDescription-CMy9RMYn.es.js.map +0 -1
- package/dist/chunks/useEvent-DxQcG2ZD.es.js +0 -22
- package/dist/chunks/useEvent-DxQcG2ZD.es.js.map +0 -1
- package/dist/chunks/useEvent-ZeHBdflg.cjs.js +0 -2
- package/dist/chunks/useEvent-ZeHBdflg.cjs.js.map +0 -1
- package/dist/chunks/useField-Bj5XOvuD.es.js +0 -36
- package/dist/chunks/useField-Bj5XOvuD.es.js.map +0 -1
- package/dist/chunks/useField-Doh1_zqa.cjs.js +0 -2
- package/dist/chunks/useField-Doh1_zqa.cjs.js.map +0 -1
- package/dist/chunks/useFocus-CRjxQc9J.cjs.js +0 -2
- package/dist/chunks/useFocus-CRjxQc9J.cjs.js.map +0 -1
- package/dist/chunks/useFocus-DyrL604F.es.js +0 -189
- package/dist/chunks/useFocus-DyrL604F.es.js.map +0 -1
- package/dist/chunks/useFocusRing-BOPRvfsD.es.js +0 -34
- package/dist/chunks/useFocusRing-BOPRvfsD.es.js.map +0 -1
- package/dist/chunks/useFocusRing-wD8IMPEh.cjs.js +0 -2
- package/dist/chunks/useFocusRing-wD8IMPEh.cjs.js.map +0 -1
- package/dist/chunks/useFocusWithin-B5GNsbfr.cjs.js +0 -2
- package/dist/chunks/useFocusWithin-B5GNsbfr.cjs.js.map +0 -1
- package/dist/chunks/useFocusWithin-DH1ei7eA.es.js +0 -55
- package/dist/chunks/useFocusWithin-DH1ei7eA.es.js.map +0 -1
- package/dist/chunks/useFocusable-Bbz310Qf.cjs.js +0 -2
- package/dist/chunks/useFocusable-Bbz310Qf.cjs.js.map +0 -1
- package/dist/chunks/useFocusable-BzkEaBA7.es.js +0 -100
- package/dist/chunks/useFocusable-BzkEaBA7.es.js.map +0 -1
- package/dist/chunks/useFormReset-B_4kzDrc.es.js +0 -21
- package/dist/chunks/useFormReset-B_4kzDrc.es.js.map +0 -1
- package/dist/chunks/useFormReset-C6y6YYJp.cjs.js +0 -2
- package/dist/chunks/useFormReset-C6y6YYJp.cjs.js.map +0 -1
- package/dist/chunks/useFormValidation-D5EJ50gR.cjs.js +0 -2
- package/dist/chunks/useFormValidation-D5EJ50gR.cjs.js.map +0 -1
- package/dist/chunks/useFormValidation-x8TYT3v1.es.js +0 -200
- package/dist/chunks/useFormValidation-x8TYT3v1.es.js.map +0 -1
- package/dist/chunks/useHover-B4ryD1zd.cjs.js +0 -2
- package/dist/chunks/useHover-B4ryD1zd.cjs.js.map +0 -1
- package/dist/chunks/useHover-EutQBS3I.es.js +0 -85
- package/dist/chunks/useHover-EutQBS3I.es.js.map +0 -1
- package/dist/chunks/useLabel-Dsvi6pv1.es.js +0 -37
- package/dist/chunks/useLabel-Dsvi6pv1.es.js.map +0 -1
- package/dist/chunks/useLabel-f5x32F8v.cjs.js +0 -2
- package/dist/chunks/useLabel-f5x32F8v.cjs.js.map +0 -1
- package/dist/chunks/useLocalizedStringFormatter-B_O_C-A0.es.js +0 -97
- package/dist/chunks/useLocalizedStringFormatter-B_O_C-A0.es.js.map +0 -1
- package/dist/chunks/useLocalizedStringFormatter-ZUZDzNOP.cjs.js +0 -2
- package/dist/chunks/useLocalizedStringFormatter-ZUZDzNOP.cjs.js.map +0 -1
- package/dist/chunks/useObjectRef-4v2MxSjQ.cjs.js +0 -2
- package/dist/chunks/useObjectRef-4v2MxSjQ.cjs.js.map +0 -1
- package/dist/chunks/usePress--0XlnE9U.es.js +0 -469
- package/dist/chunks/usePress--0XlnE9U.es.js.map +0 -1
- package/dist/chunks/usePress-Cqy1fzvV.cjs.js +0 -8
- package/dist/chunks/usePress-Cqy1fzvV.cjs.js.map +0 -1
- package/dist/chunks/useProgressBar-3tBtQD6p.cjs.js +0 -2
- package/dist/chunks/useProgressBar-3tBtQD6p.cjs.js.map +0 -1
- package/dist/chunks/useProgressBar-BcErX3zh.es.js +0 -48
- package/dist/chunks/useProgressBar-BcErX3zh.es.js.map +0 -1
- package/dist/chunks/useSeparator-CZKjqF0N.cjs.js +0 -2
- package/dist/chunks/useSeparator-CZKjqF0N.cjs.js.map +0 -1
- package/dist/chunks/useSeparator-g1ilWvTX.es.js +0 -19
- package/dist/chunks/useSeparator-g1ilWvTX.es.js.map +0 -1
- package/dist/chunks/useSingleSelectListState-BLYvCKPf.cjs.js +0 -2
- package/dist/chunks/useSingleSelectListState-BLYvCKPf.cjs.js.map +0 -1
- package/dist/chunks/useSingleSelectListState-IunZbRoh.es.js +0 -35
- package/dist/chunks/useSingleSelectListState-IunZbRoh.es.js.map +0 -1
- package/dist/chunks/useSpinButton-DkqZHy9E.cjs.js +0 -2
- package/dist/chunks/useSpinButton-DkqZHy9E.cjs.js.map +0 -1
- package/dist/chunks/useSpinButton-_qIyNcRw.es.js +0 -461
- package/dist/chunks/useSpinButton-_qIyNcRw.es.js.map +0 -1
- package/dist/chunks/useTextField-DOho5fCG.es.js +0 -88
- package/dist/chunks/useTextField-DOho5fCG.es.js.map +0 -1
- package/dist/chunks/useTextField-J5W2QB4G.cjs.js +0 -2
- package/dist/chunks/useTextField-J5W2QB4G.cjs.js.map +0 -1
- package/dist/chunks/useToggle-BLG4h8I9.es.js +0 -50
- package/dist/chunks/useToggle-BLG4h8I9.es.js.map +0 -1
- package/dist/chunks/useToggle-VMBvyMfl.cjs.js +0 -2
- package/dist/chunks/useToggle-VMBvyMfl.cjs.js.map +0 -1
- package/dist/chunks/useToggleState-bO90kfqG.cjs.js +0 -2
- package/dist/chunks/useToggleState-bO90kfqG.cjs.js.map +0 -1
- package/dist/chunks/useToggleState-mKFEFD2Q.es.js +0 -19
- package/dist/chunks/useToggleState-mKFEFD2Q.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-BR34o1UE.es.js +0 -269
- package/dist/chunks/utils-BR34o1UE.es.js.map +0 -1
- package/dist/chunks/utils-C4ruQppN.es.js +0 -128
- package/dist/chunks/utils-C4ruQppN.es.js.map +0 -1
- package/dist/chunks/utils-CThuzDqT.cjs.js +0 -2
- package/dist/chunks/utils-CThuzDqT.cjs.js.map +0 -1
- package/dist/chunks/utils-sWqo2nmW.cjs.js +0 -2
- package/dist/chunks/utils-sWqo2nmW.cjs.js.map +0 -1
- package/dist/chunks/visually-hidden-XBx29_tJ.es.js +0 -11
- package/dist/chunks/visually-hidden-XBx29_tJ.es.js.map +0 -1
- package/dist/chunks/visually-hidden-YFEW-yS7.cjs.js +0 -2
- package/dist/chunks/visually-hidden-YFEW-yS7.cjs.js.map +0 -1
- package/dist/chunks/walk-object-BGye4E3_.cjs.js +0 -2
- package/dist/chunks/walk-object-BGye4E3_.cjs.js.map +0 -1
- package/dist/chunks/walk-object-D9P1kanu.es.js +0 -27
- package/dist/chunks/walk-object-D9P1kanu.es.js.map +0 -1
|
@@ -1,2435 +0,0 @@
|
|
|
1
|
-
import { $ as Ze } from "./usePress--0XlnE9U.es.js";
|
|
2
|
-
import { k as ll, $ as il, a as nl, l as rl } from "./utils-BR34o1UE.es.js";
|
|
3
|
-
import { $ as ol, a as me } from "./focusSafely-DJGT4IAS.es.js";
|
|
4
|
-
import S, { useRef as D, useState as X, useEffect as Z, useMemo as N, cloneElement as Qe, forwardRef as et, useContext as Q, createContext as B, useCallback as G, isValidElement as sl } from "react";
|
|
5
|
-
import { d as xe, a as Ie, c as te, $ as ee } from "./mergeProps-C0OSi2w3.es.js";
|
|
6
|
-
import { $ as tt, d as al } from "./openLink-BRnXRj9w.es.js";
|
|
7
|
-
import { b as ul, h as cl } from "./platform-D-bXaP3n.es.js";
|
|
8
|
-
import { $ as Ae } from "./focusWithoutScrolling-CDw3JYiq.es.js";
|
|
9
|
-
import { $ as ne } from "./useEvent-DxQcG2ZD.es.js";
|
|
10
|
-
import { b as dl, a as Le, c as Me } from "./scrollIntoView-C5qp-va8.es.js";
|
|
11
|
-
import { flushSync as fl, createPortal as hl } from "react-dom";
|
|
12
|
-
import { d as Se } from "./useFocus-DyrL604F.es.js";
|
|
13
|
-
import { c as Ke, a as pl } from "./FocusScope-qJgAziUV.es.js";
|
|
14
|
-
import { $ as yl } from "./context-D3RF-nTI.es.js";
|
|
15
|
-
import { $ as vl } from "./useCollator-BhJcleP-.es.js";
|
|
16
|
-
import { $ as lt } from "./useControlledState-u436Wbp1.es.js";
|
|
17
|
-
import { a as Ce } from "./Input-Cvh_r_c1.es.js";
|
|
18
|
-
import { $ as se, c as it, b as bl, e as nt, a as $l, d as rt, f as gl } from "./utils-C4ruQppN.es.js";
|
|
19
|
-
import { $ as ml, a as xl } from "./Form-yBl0QZl8.es.js";
|
|
20
|
-
import { $ as Sl } from "./Label-BhU-HP65.es.js";
|
|
21
|
-
import { a as Kl } from "./TextArea-BleoN8N2.es.js";
|
|
22
|
-
import { $ as Cl } from "./Text-DOcU1ycg.es.js";
|
|
23
|
-
import { a as wl, $ as El } from "./Hidden-X9vuhkMZ.es.js";
|
|
24
|
-
import { $ as ot } from "./filterDOMProps-HzsCnE3d.es.js";
|
|
25
|
-
import { $ as Dl } from "./useTextField-DOho5fCG.es.js";
|
|
26
|
-
import { b as st } from "./domHelpers-InH3T0qs.es.js";
|
|
27
|
-
import { a as kl } from "./useLabel-Dsvi6pv1.es.js";
|
|
28
|
-
import { $ as Il } from "./useObjectRef-CaJ5pgjX.es.js";
|
|
29
|
-
import { $ as Pl } from "./useLocalizedStringFormatter-B_O_C-A0.es.js";
|
|
30
|
-
import { c as Be } from "./useFocusable-BzkEaBA7.es.js";
|
|
31
|
-
import { $ as at } from "./SSRProvider-eIEwc-2s.es.js";
|
|
32
|
-
import { $ as Fl } from "./useSeparator-g1ilWvTX.es.js";
|
|
33
|
-
function Oe(r, e) {
|
|
34
|
-
const t = D(!0), l = D(null);
|
|
35
|
-
xe(() => (t.current = !0, () => {
|
|
36
|
-
t.current = !1;
|
|
37
|
-
}), []), xe(() => {
|
|
38
|
-
t.current ? t.current = !1 : (!l.current || e.some((i, n) => !Object.is(i, l[n]))) && r(), l.current = e;
|
|
39
|
-
}, e);
|
|
40
|
-
}
|
|
41
|
-
const ut = "react-aria-clear-focus", we = "react-aria-focus";
|
|
42
|
-
function J(r) {
|
|
43
|
-
return ul() ? r.metaKey : r.ctrlKey;
|
|
44
|
-
}
|
|
45
|
-
let Rl = 0;
|
|
46
|
-
const ye = /* @__PURE__ */ new Map();
|
|
47
|
-
function Tl(r) {
|
|
48
|
-
let [e, t] = X();
|
|
49
|
-
return ll(() => {
|
|
50
|
-
if (!r) return;
|
|
51
|
-
let l = ye.get(r);
|
|
52
|
-
if (l)
|
|
53
|
-
t(l.element.id);
|
|
54
|
-
else {
|
|
55
|
-
let i = `react-aria-description-${Rl++}`;
|
|
56
|
-
t(i);
|
|
57
|
-
let n = document.createElement("div");
|
|
58
|
-
n.id = i, n.style.display = "none", n.textContent = r, document.body.appendChild(n), l = {
|
|
59
|
-
refCount: 0,
|
|
60
|
-
element: n
|
|
61
|
-
}, ye.set(r, l);
|
|
62
|
-
}
|
|
63
|
-
return l.refCount++, () => {
|
|
64
|
-
l && --l.refCount === 0 && (l.element.remove(), ye.delete(r));
|
|
65
|
-
};
|
|
66
|
-
}, [
|
|
67
|
-
r
|
|
68
|
-
]), {
|
|
69
|
-
"aria-describedby": r ? e : void 0
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
const Al = 500;
|
|
73
|
-
function Ll(r) {
|
|
74
|
-
let { isDisabled: e, onLongPressStart: t, onLongPressEnd: l, onLongPress: i, threshold: n = Al, accessibilityDescription: o } = r;
|
|
75
|
-
const u = D(void 0);
|
|
76
|
-
let { addGlobalListener: s, removeGlobalListener: d } = il(), { pressProps: m } = Ze({
|
|
77
|
-
isDisabled: e,
|
|
78
|
-
onPressStart(h) {
|
|
79
|
-
if (h.continuePropagation(), (h.pointerType === "mouse" || h.pointerType === "touch") && (t && t({
|
|
80
|
-
...h,
|
|
81
|
-
type: "longpressstart"
|
|
82
|
-
}), u.current = setTimeout(() => {
|
|
83
|
-
h.target.dispatchEvent(new PointerEvent("pointercancel", {
|
|
84
|
-
bubbles: !0
|
|
85
|
-
})), nl(h.target).activeElement !== h.target && rl(h.target), i && i({
|
|
86
|
-
...h,
|
|
87
|
-
type: "longpress"
|
|
88
|
-
}), u.current = void 0;
|
|
89
|
-
}, n), h.pointerType === "touch")) {
|
|
90
|
-
let y = (v) => {
|
|
91
|
-
v.preventDefault();
|
|
92
|
-
};
|
|
93
|
-
s(h.target, "contextmenu", y, {
|
|
94
|
-
once: !0
|
|
95
|
-
}), s(window, "pointerup", () => {
|
|
96
|
-
setTimeout(() => {
|
|
97
|
-
d(h.target, "contextmenu", y);
|
|
98
|
-
}, 30);
|
|
99
|
-
}, {
|
|
100
|
-
once: !0
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
},
|
|
104
|
-
onPressEnd(h) {
|
|
105
|
-
u.current && clearTimeout(u.current), l && (h.pointerType === "mouse" || h.pointerType === "touch") && l({
|
|
106
|
-
...h,
|
|
107
|
-
type: "longpressend"
|
|
108
|
-
});
|
|
109
|
-
}
|
|
110
|
-
}), p = Tl(i && !e ? o : void 0);
|
|
111
|
-
return {
|
|
112
|
-
longPressProps: ol(m, p)
|
|
113
|
-
};
|
|
114
|
-
}
|
|
115
|
-
function Pe(r) {
|
|
116
|
-
let e = Ml(st(r));
|
|
117
|
-
e !== r && (e && Ee(e, r), r && ct(r, e));
|
|
118
|
-
}
|
|
119
|
-
function Ee(r, e) {
|
|
120
|
-
r.dispatchEvent(new FocusEvent("blur", {
|
|
121
|
-
relatedTarget: e
|
|
122
|
-
})), r.dispatchEvent(new FocusEvent("focusout", {
|
|
123
|
-
bubbles: !0,
|
|
124
|
-
relatedTarget: e
|
|
125
|
-
}));
|
|
126
|
-
}
|
|
127
|
-
function ct(r, e) {
|
|
128
|
-
r.dispatchEvent(new FocusEvent("focus", {
|
|
129
|
-
relatedTarget: e
|
|
130
|
-
})), r.dispatchEvent(new FocusEvent("focusin", {
|
|
131
|
-
bubbles: !0,
|
|
132
|
-
relatedTarget: e
|
|
133
|
-
}));
|
|
134
|
-
}
|
|
135
|
-
function Ml(r) {
|
|
136
|
-
let e = Ke(r), t = e?.getAttribute("aria-activedescendant");
|
|
137
|
-
return t && r.getElementById(t) || e;
|
|
138
|
-
}
|
|
139
|
-
function De(r) {
|
|
140
|
-
return cl() ? r.altKey : r.ctrlKey;
|
|
141
|
-
}
|
|
142
|
-
function oe(r, e) {
|
|
143
|
-
var t, l;
|
|
144
|
-
let i = `[data-key="${CSS.escape(String(e))}"]`, n = (t = r.current) === null || t === void 0 ? void 0 : t.dataset.collection;
|
|
145
|
-
return n && (i = `[data-collection="${CSS.escape(n)}"]${i}`), (l = r.current) === null || l === void 0 ? void 0 : l.querySelector(i);
|
|
146
|
-
}
|
|
147
|
-
const dt = /* @__PURE__ */ new WeakMap();
|
|
148
|
-
function Bl(r) {
|
|
149
|
-
let e = Ie();
|
|
150
|
-
return dt.set(r, e), e;
|
|
151
|
-
}
|
|
152
|
-
function Ol(r) {
|
|
153
|
-
return dt.get(r);
|
|
154
|
-
}
|
|
155
|
-
const Nl = 1e3;
|
|
156
|
-
function Vl(r) {
|
|
157
|
-
let { keyboardDelegate: e, selectionManager: t, onTypeSelect: l } = r, i = D({
|
|
158
|
-
search: "",
|
|
159
|
-
timeout: void 0
|
|
160
|
-
}).current, n = (o) => {
|
|
161
|
-
let u = zl(o.key);
|
|
162
|
-
if (!(!u || o.ctrlKey || o.metaKey || !o.currentTarget.contains(o.target))) {
|
|
163
|
-
if (u === " " && i.search.trim().length > 0 && (o.preventDefault(), "continuePropagation" in o || o.stopPropagation()), i.search += u, e.getKeyForSearch != null) {
|
|
164
|
-
let s = e.getKeyForSearch(i.search, t.focusedKey);
|
|
165
|
-
s == null && (s = e.getKeyForSearch(i.search)), s != null && (t.setFocusedKey(s), l && l(s));
|
|
166
|
-
}
|
|
167
|
-
clearTimeout(i.timeout), i.timeout = setTimeout(() => {
|
|
168
|
-
i.search = "";
|
|
169
|
-
}, Nl);
|
|
170
|
-
}
|
|
171
|
-
};
|
|
172
|
-
return {
|
|
173
|
-
typeSelectProps: {
|
|
174
|
-
// Using a capturing listener to catch the keydown event before
|
|
175
|
-
// other hooks in order to handle the Spacebar event.
|
|
176
|
-
onKeyDownCapture: e.getKeyForSearch ? n : void 0
|
|
177
|
-
}
|
|
178
|
-
};
|
|
179
|
-
}
|
|
180
|
-
function zl(r) {
|
|
181
|
-
return r.length === 1 || !/^[A-Z]/i.test(r) ? r : "";
|
|
182
|
-
}
|
|
183
|
-
function Ul(r) {
|
|
184
|
-
let { selectionManager: e, keyboardDelegate: t, ref: l, autoFocus: i = !1, shouldFocusWrap: n = !1, disallowEmptySelection: o = !1, disallowSelectAll: u = !1, escapeKeyBehavior: s = "clearSelection", selectOnFocus: d = e.selectionBehavior === "replace", disallowTypeAhead: m = !1, shouldUseVirtualFocus: p, allowsTabNavigation: h = !1, isVirtualized: y, scrollRef: v = l, linkBehavior: K = "action" } = r, { direction: $ } = yl(), g = tt(), w = (c) => {
|
|
185
|
-
var a;
|
|
186
|
-
if (c.altKey && c.key === "Tab" && c.preventDefault(), !(!((a = l.current) === null || a === void 0) && a.contains(c.target))) return;
|
|
187
|
-
const E = (b, j) => {
|
|
188
|
-
if (b != null) {
|
|
189
|
-
if (e.isLink(b) && K === "selection" && d && !De(c)) {
|
|
190
|
-
fl(() => {
|
|
191
|
-
e.setFocusedKey(b, j);
|
|
192
|
-
});
|
|
193
|
-
let Y = oe(l, b), Te = e.getItemProps(b);
|
|
194
|
-
Y && g.open(Y, c, Te.href, Te.routerOptions);
|
|
195
|
-
return;
|
|
196
|
-
}
|
|
197
|
-
if (e.setFocusedKey(b, j), e.isLink(b) && K === "override") return;
|
|
198
|
-
c.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(b) : d && !De(c) && e.replaceSelection(b);
|
|
199
|
-
}
|
|
200
|
-
};
|
|
201
|
-
switch (c.key) {
|
|
202
|
-
case "ArrowDown":
|
|
203
|
-
if (t.getKeyBelow) {
|
|
204
|
-
var T, M, A;
|
|
205
|
-
let b = e.focusedKey != null ? (T = t.getKeyBelow) === null || T === void 0 ? void 0 : T.call(t, e.focusedKey) : (M = t.getFirstKey) === null || M === void 0 ? void 0 : M.call(t);
|
|
206
|
-
b == null && n && (b = (A = t.getFirstKey) === null || A === void 0 ? void 0 : A.call(t, e.focusedKey)), b != null && (c.preventDefault(), E(b));
|
|
207
|
-
}
|
|
208
|
-
break;
|
|
209
|
-
case "ArrowUp":
|
|
210
|
-
if (t.getKeyAbove) {
|
|
211
|
-
var U, W, ae;
|
|
212
|
-
let b = e.focusedKey != null ? (U = t.getKeyAbove) === null || U === void 0 ? void 0 : U.call(t, e.focusedKey) : (W = t.getLastKey) === null || W === void 0 ? void 0 : W.call(t);
|
|
213
|
-
b == null && n && (b = (ae = t.getLastKey) === null || ae === void 0 ? void 0 : ae.call(t, e.focusedKey)), b != null && (c.preventDefault(), E(b));
|
|
214
|
-
}
|
|
215
|
-
break;
|
|
216
|
-
case "ArrowLeft":
|
|
217
|
-
if (t.getKeyLeftOf) {
|
|
218
|
-
var ue, ce, de;
|
|
219
|
-
let b = e.focusedKey != null ? (ue = t.getKeyLeftOf) === null || ue === void 0 ? void 0 : ue.call(t, e.focusedKey) : null;
|
|
220
|
-
b == null && n && (b = $ === "rtl" ? (ce = t.getFirstKey) === null || ce === void 0 ? void 0 : ce.call(t, e.focusedKey) : (de = t.getLastKey) === null || de === void 0 ? void 0 : de.call(t, e.focusedKey)), b != null && (c.preventDefault(), E(b, $ === "rtl" ? "first" : "last"));
|
|
221
|
-
}
|
|
222
|
-
break;
|
|
223
|
-
case "ArrowRight":
|
|
224
|
-
if (t.getKeyRightOf) {
|
|
225
|
-
var fe, he, pe;
|
|
226
|
-
let b = e.focusedKey != null ? (fe = t.getKeyRightOf) === null || fe === void 0 ? void 0 : fe.call(t, e.focusedKey) : null;
|
|
227
|
-
b == null && n && (b = $ === "rtl" ? (he = t.getLastKey) === null || he === void 0 ? void 0 : he.call(t, e.focusedKey) : (pe = t.getFirstKey) === null || pe === void 0 ? void 0 : pe.call(t, e.focusedKey)), b != null && (c.preventDefault(), E(b, $ === "rtl" ? "last" : "first"));
|
|
228
|
-
}
|
|
229
|
-
break;
|
|
230
|
-
case "Home":
|
|
231
|
-
if (t.getFirstKey) {
|
|
232
|
-
if (e.focusedKey === null && c.shiftKey) return;
|
|
233
|
-
c.preventDefault();
|
|
234
|
-
let b = t.getFirstKey(e.focusedKey, J(c));
|
|
235
|
-
e.setFocusedKey(b), b != null && (J(c) && c.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(b) : d && e.replaceSelection(b));
|
|
236
|
-
}
|
|
237
|
-
break;
|
|
238
|
-
case "End":
|
|
239
|
-
if (t.getLastKey) {
|
|
240
|
-
if (e.focusedKey === null && c.shiftKey) return;
|
|
241
|
-
c.preventDefault();
|
|
242
|
-
let b = t.getLastKey(e.focusedKey, J(c));
|
|
243
|
-
e.setFocusedKey(b), b != null && (J(c) && c.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(b) : d && e.replaceSelection(b));
|
|
244
|
-
}
|
|
245
|
-
break;
|
|
246
|
-
case "PageDown":
|
|
247
|
-
if (t.getKeyPageBelow && e.focusedKey != null) {
|
|
248
|
-
let b = t.getKeyPageBelow(e.focusedKey);
|
|
249
|
-
b != null && (c.preventDefault(), E(b));
|
|
250
|
-
}
|
|
251
|
-
break;
|
|
252
|
-
case "PageUp":
|
|
253
|
-
if (t.getKeyPageAbove && e.focusedKey != null) {
|
|
254
|
-
let b = t.getKeyPageAbove(e.focusedKey);
|
|
255
|
-
b != null && (c.preventDefault(), E(b));
|
|
256
|
-
}
|
|
257
|
-
break;
|
|
258
|
-
case "a":
|
|
259
|
-
J(c) && e.selectionMode === "multiple" && u !== !0 && (c.preventDefault(), e.selectAll());
|
|
260
|
-
break;
|
|
261
|
-
case "Escape":
|
|
262
|
-
s === "clearSelection" && !o && e.selectedKeys.size !== 0 && (c.stopPropagation(), c.preventDefault(), e.clearSelection());
|
|
263
|
-
break;
|
|
264
|
-
case "Tab":
|
|
265
|
-
if (!h) {
|
|
266
|
-
if (c.shiftKey) l.current.focus();
|
|
267
|
-
else {
|
|
268
|
-
let b = pl(l.current, {
|
|
269
|
-
tabbable: !0
|
|
270
|
-
}), j, Y;
|
|
271
|
-
do
|
|
272
|
-
Y = b.lastChild(), Y && (j = Y);
|
|
273
|
-
while (Y);
|
|
274
|
-
j && !j.contains(document.activeElement) && Ae(j);
|
|
275
|
-
}
|
|
276
|
-
break;
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
}, C = D({
|
|
280
|
-
top: 0,
|
|
281
|
-
left: 0
|
|
282
|
-
});
|
|
283
|
-
ne(v, "scroll", y ? void 0 : () => {
|
|
284
|
-
var c, a, E, T;
|
|
285
|
-
C.current = {
|
|
286
|
-
top: (E = (c = v.current) === null || c === void 0 ? void 0 : c.scrollTop) !== null && E !== void 0 ? E : 0,
|
|
287
|
-
left: (T = (a = v.current) === null || a === void 0 ? void 0 : a.scrollLeft) !== null && T !== void 0 ? T : 0
|
|
288
|
-
};
|
|
289
|
-
});
|
|
290
|
-
let k = (c) => {
|
|
291
|
-
if (e.isFocused) {
|
|
292
|
-
c.currentTarget.contains(c.target) || e.setFocused(!1);
|
|
293
|
-
return;
|
|
294
|
-
}
|
|
295
|
-
if (c.currentTarget.contains(c.target)) {
|
|
296
|
-
if (e.setFocused(!0), e.focusedKey == null) {
|
|
297
|
-
var a, E;
|
|
298
|
-
let A = (W) => {
|
|
299
|
-
W != null && (e.setFocusedKey(W), d && !e.isSelected(W) && e.replaceSelection(W));
|
|
300
|
-
}, U = c.relatedTarget;
|
|
301
|
-
var T, M;
|
|
302
|
-
U && c.currentTarget.compareDocumentPosition(U) & Node.DOCUMENT_POSITION_FOLLOWING ? A((T = e.lastSelectedKey) !== null && T !== void 0 ? T : (a = t.getLastKey) === null || a === void 0 ? void 0 : a.call(t)) : A((M = e.firstSelectedKey) !== null && M !== void 0 ? M : (E = t.getFirstKey) === null || E === void 0 ? void 0 : E.call(t));
|
|
303
|
-
} else !y && v.current && (v.current.scrollTop = C.current.top, v.current.scrollLeft = C.current.left);
|
|
304
|
-
if (e.focusedKey != null && v.current) {
|
|
305
|
-
let A = oe(l, e.focusedKey);
|
|
306
|
-
A instanceof HTMLElement && (!A.contains(document.activeElement) && !p && Ae(A), Se() === "keyboard" && Le(A, {
|
|
307
|
-
containingElement: l.current
|
|
308
|
-
}));
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
}, F = (c) => {
|
|
312
|
-
c.currentTarget.contains(c.relatedTarget) || e.setFocused(!1);
|
|
313
|
-
}, P = D(!1);
|
|
314
|
-
ne(l, we, p ? (c) => {
|
|
315
|
-
let { detail: a } = c;
|
|
316
|
-
c.stopPropagation(), e.setFocused(!0), a?.focusStrategy === "first" && (P.current = !0);
|
|
317
|
-
} : void 0);
|
|
318
|
-
let O = te(() => {
|
|
319
|
-
var c, a;
|
|
320
|
-
let E = (a = (c = t.getFirstKey) === null || c === void 0 ? void 0 : c.call(t)) !== null && a !== void 0 ? a : null;
|
|
321
|
-
E == null ? (Pe(l.current), e.collection.size > 0 && (P.current = !1)) : (e.setFocusedKey(E), P.current = !1);
|
|
322
|
-
});
|
|
323
|
-
Oe(() => {
|
|
324
|
-
P.current && O();
|
|
325
|
-
}, [
|
|
326
|
-
e.collection,
|
|
327
|
-
O
|
|
328
|
-
]);
|
|
329
|
-
let R = te(() => {
|
|
330
|
-
e.collection.size > 0 && (P.current = !1);
|
|
331
|
-
});
|
|
332
|
-
Oe(() => {
|
|
333
|
-
R();
|
|
334
|
-
}, [
|
|
335
|
-
e.focusedKey,
|
|
336
|
-
R
|
|
337
|
-
]), ne(l, ut, p ? (c) => {
|
|
338
|
-
var a;
|
|
339
|
-
c.stopPropagation(), e.setFocused(!1), !((a = c.detail) === null || a === void 0) && a.clearFocusKey && e.setFocusedKey(null);
|
|
340
|
-
} : void 0);
|
|
341
|
-
const _ = D(i), L = D(!1);
|
|
342
|
-
Z(() => {
|
|
343
|
-
if (_.current) {
|
|
344
|
-
var c, a;
|
|
345
|
-
let M = null;
|
|
346
|
-
var E;
|
|
347
|
-
i === "first" && (M = (E = (c = t.getFirstKey) === null || c === void 0 ? void 0 : c.call(t)) !== null && E !== void 0 ? E : null);
|
|
348
|
-
var T;
|
|
349
|
-
i === "last" && (M = (T = (a = t.getLastKey) === null || a === void 0 ? void 0 : a.call(t)) !== null && T !== void 0 ? T : null);
|
|
350
|
-
let A = e.selectedKeys;
|
|
351
|
-
if (A.size) {
|
|
352
|
-
for (let U of A) if (e.canSelectItem(U)) {
|
|
353
|
-
M = U;
|
|
354
|
-
break;
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
e.setFocused(!0), e.setFocusedKey(M), M == null && !p && l.current && me(l.current), e.collection.size > 0 && (_.current = !1, L.current = !0);
|
|
358
|
-
}
|
|
359
|
-
});
|
|
360
|
-
let f = D(e.focusedKey), x = D(null);
|
|
361
|
-
Z(() => {
|
|
362
|
-
if (e.isFocused && e.focusedKey != null && (e.focusedKey !== f.current || L.current) && v.current && l.current) {
|
|
363
|
-
let c = Se(), a = oe(l, e.focusedKey);
|
|
364
|
-
if (!(a instanceof HTMLElement))
|
|
365
|
-
return;
|
|
366
|
-
(c === "keyboard" || L.current) && (x.current && cancelAnimationFrame(x.current), x.current = requestAnimationFrame(() => {
|
|
367
|
-
v.current && (dl(v.current, a), c !== "virtual" && Le(a, {
|
|
368
|
-
containingElement: l.current
|
|
369
|
-
}));
|
|
370
|
-
}));
|
|
371
|
-
}
|
|
372
|
-
!p && e.isFocused && e.focusedKey == null && f.current != null && l.current && me(l.current), f.current = e.focusedKey, L.current = !1;
|
|
373
|
-
}), Z(() => () => {
|
|
374
|
-
x.current && cancelAnimationFrame(x.current);
|
|
375
|
-
}, []), ne(l, "react-aria-focus-scope-restore", (c) => {
|
|
376
|
-
c.preventDefault(), e.setFocused(!0);
|
|
377
|
-
});
|
|
378
|
-
let I = {
|
|
379
|
-
onKeyDown: w,
|
|
380
|
-
onFocus: k,
|
|
381
|
-
onBlur: F,
|
|
382
|
-
onMouseDown(c) {
|
|
383
|
-
v.current === c.target && c.preventDefault();
|
|
384
|
-
}
|
|
385
|
-
}, { typeSelectProps: V } = Vl({
|
|
386
|
-
keyboardDelegate: t,
|
|
387
|
-
selectionManager: e
|
|
388
|
-
});
|
|
389
|
-
m || (I = ee(V, I));
|
|
390
|
-
let q;
|
|
391
|
-
p || (q = e.focusedKey == null ? 0 : -1);
|
|
392
|
-
let H = Bl(e.collection);
|
|
393
|
-
return {
|
|
394
|
-
collectionProps: ee(I, {
|
|
395
|
-
tabIndex: q,
|
|
396
|
-
"data-collection": H
|
|
397
|
-
})
|
|
398
|
-
};
|
|
399
|
-
}
|
|
400
|
-
function ji(r) {
|
|
401
|
-
let { id: e, selectionManager: t, key: l, ref: i, shouldSelectOnPressUp: n, shouldUseVirtualFocus: o, focus: u, isDisabled: s, onAction: d, allowsDifferentPressOrigin: m, linkBehavior: p = "action" } = r, h = tt();
|
|
402
|
-
e = Ie(e);
|
|
403
|
-
let y = (a) => {
|
|
404
|
-
if (a.pointerType === "keyboard" && De(a)) t.toggleSelection(l);
|
|
405
|
-
else {
|
|
406
|
-
if (t.selectionMode === "none") return;
|
|
407
|
-
if (t.isLink(l)) {
|
|
408
|
-
if (p === "selection" && i.current) {
|
|
409
|
-
let E = t.getItemProps(l);
|
|
410
|
-
h.open(i.current, a, E.href, E.routerOptions), t.setSelectedKeys(t.selectedKeys);
|
|
411
|
-
return;
|
|
412
|
-
} else if (p === "override" || p === "none") return;
|
|
413
|
-
}
|
|
414
|
-
t.selectionMode === "single" ? t.isSelected(l) && !t.disallowEmptySelection ? t.toggleSelection(l) : t.replaceSelection(l) : a && a.shiftKey ? t.extendSelection(l) : t.selectionBehavior === "toggle" || a && (J(a) || a.pointerType === "touch" || a.pointerType === "virtual") ? t.toggleSelection(l) : t.replaceSelection(l);
|
|
415
|
-
}
|
|
416
|
-
};
|
|
417
|
-
Z(() => {
|
|
418
|
-
l === t.focusedKey && t.isFocused && (o ? Pe(i.current) : u ? u() : document.activeElement !== i.current && i.current && me(i.current));
|
|
419
|
-
}, [
|
|
420
|
-
i,
|
|
421
|
-
l,
|
|
422
|
-
t.focusedKey,
|
|
423
|
-
t.childFocusStrategy,
|
|
424
|
-
t.isFocused,
|
|
425
|
-
o
|
|
426
|
-
]), s = s || t.isDisabled(l);
|
|
427
|
-
let v = {};
|
|
428
|
-
!o && !s ? v = {
|
|
429
|
-
tabIndex: l === t.focusedKey ? 0 : -1,
|
|
430
|
-
onFocus(a) {
|
|
431
|
-
a.target === i.current && t.setFocusedKey(l);
|
|
432
|
-
}
|
|
433
|
-
} : s && (v.onMouseDown = (a) => {
|
|
434
|
-
a.preventDefault();
|
|
435
|
-
});
|
|
436
|
-
let K = t.isLink(l) && p === "override", $ = t.isLink(l) && p !== "selection" && p !== "none", g = !s && t.canSelectItem(l) && !K, w = (d || $) && !s, C = w && (t.selectionBehavior === "replace" ? !g : !g || t.isEmpty), k = w && g && t.selectionBehavior === "replace", F = C || k, P = D(null), O = F && g, R = D(!1), _ = D(!1), L = (a) => {
|
|
437
|
-
if (d && d(), $ && i.current) {
|
|
438
|
-
let E = t.getItemProps(l);
|
|
439
|
-
h.open(i.current, a, E.href, E.routerOptions);
|
|
440
|
-
}
|
|
441
|
-
}, f = {
|
|
442
|
-
ref: i
|
|
443
|
-
};
|
|
444
|
-
n ? (f.onPressStart = (a) => {
|
|
445
|
-
P.current = a.pointerType, R.current = O, a.pointerType === "keyboard" && (!F || Ve()) && y(a);
|
|
446
|
-
}, m ? (f.onPressUp = C ? void 0 : (a) => {
|
|
447
|
-
a.pointerType === "mouse" && g && y(a);
|
|
448
|
-
}, f.onPress = C ? L : (a) => {
|
|
449
|
-
a.pointerType !== "keyboard" && a.pointerType !== "mouse" && g && y(a);
|
|
450
|
-
}) : f.onPress = (a) => {
|
|
451
|
-
if (C || k && a.pointerType !== "mouse") {
|
|
452
|
-
if (a.pointerType === "keyboard" && !Ne()) return;
|
|
453
|
-
L(a);
|
|
454
|
-
} else a.pointerType !== "keyboard" && g && y(a);
|
|
455
|
-
}) : (f.onPressStart = (a) => {
|
|
456
|
-
P.current = a.pointerType, R.current = O, _.current = C, g && (a.pointerType === "mouse" && !C || a.pointerType === "keyboard" && (!w || Ve())) && y(a);
|
|
457
|
-
}, f.onPress = (a) => {
|
|
458
|
-
(a.pointerType === "touch" || a.pointerType === "pen" || a.pointerType === "virtual" || a.pointerType === "keyboard" && F && Ne() || a.pointerType === "mouse" && _.current) && (F ? L(a) : g && y(a));
|
|
459
|
-
}), v["data-collection"] = Ol(t.collection), v["data-key"] = l, f.preventFocusOnPress = o, o && (f = ee(f, {
|
|
460
|
-
onPressStart(a) {
|
|
461
|
-
a.pointerType !== "touch" && (t.setFocused(!0), t.setFocusedKey(l));
|
|
462
|
-
},
|
|
463
|
-
onPress(a) {
|
|
464
|
-
a.pointerType === "touch" && (t.setFocused(!0), t.setFocusedKey(l));
|
|
465
|
-
}
|
|
466
|
-
}));
|
|
467
|
-
let { pressProps: x, isPressed: I } = Ze(f), V = k ? (a) => {
|
|
468
|
-
P.current === "mouse" && (a.stopPropagation(), a.preventDefault(), L(a));
|
|
469
|
-
} : void 0, { longPressProps: q } = Ll({
|
|
470
|
-
isDisabled: !O,
|
|
471
|
-
onLongPress(a) {
|
|
472
|
-
a.pointerType === "touch" && (y(a), t.setSelectionBehavior("toggle"));
|
|
473
|
-
}
|
|
474
|
-
}), H = (a) => {
|
|
475
|
-
P.current === "touch" && R.current && a.preventDefault();
|
|
476
|
-
}, c = t.isLink(l) ? (a) => {
|
|
477
|
-
al.isOpening || a.preventDefault();
|
|
478
|
-
} : void 0;
|
|
479
|
-
return {
|
|
480
|
-
itemProps: ee(
|
|
481
|
-
v,
|
|
482
|
-
g || C || o && !s ? x : {},
|
|
483
|
-
O ? q : {},
|
|
484
|
-
{
|
|
485
|
-
onDoubleClick: V,
|
|
486
|
-
onDragStartCapture: H,
|
|
487
|
-
onClick: c,
|
|
488
|
-
id: e
|
|
489
|
-
},
|
|
490
|
-
// Prevent DOM focus from moving on mouse down when using virtual focus
|
|
491
|
-
o ? {
|
|
492
|
-
onMouseDown: (a) => a.preventDefault()
|
|
493
|
-
} : void 0
|
|
494
|
-
),
|
|
495
|
-
isPressed: I,
|
|
496
|
-
isSelected: t.isSelected(l),
|
|
497
|
-
isFocused: t.isFocused && t.focusedKey === l,
|
|
498
|
-
isDisabled: s,
|
|
499
|
-
allowsSelection: g,
|
|
500
|
-
hasAction: F
|
|
501
|
-
};
|
|
502
|
-
}
|
|
503
|
-
function Ne() {
|
|
504
|
-
let r = window.event;
|
|
505
|
-
return r?.key === "Enter";
|
|
506
|
-
}
|
|
507
|
-
function Ve() {
|
|
508
|
-
let r = window.event;
|
|
509
|
-
return r?.key === " " || r?.code === "Space";
|
|
510
|
-
}
|
|
511
|
-
class ze {
|
|
512
|
-
getItemRect(e) {
|
|
513
|
-
let t = this.ref.current;
|
|
514
|
-
if (!t) return null;
|
|
515
|
-
let l = e != null ? oe(this.ref, e) : null;
|
|
516
|
-
if (!l) return null;
|
|
517
|
-
let i = t.getBoundingClientRect(), n = l.getBoundingClientRect();
|
|
518
|
-
return {
|
|
519
|
-
x: n.left - i.left + t.scrollLeft,
|
|
520
|
-
y: n.top - i.top + t.scrollTop,
|
|
521
|
-
width: n.width,
|
|
522
|
-
height: n.height
|
|
523
|
-
};
|
|
524
|
-
}
|
|
525
|
-
getContentSize() {
|
|
526
|
-
let e = this.ref.current;
|
|
527
|
-
var t, l;
|
|
528
|
-
return {
|
|
529
|
-
width: (t = e?.scrollWidth) !== null && t !== void 0 ? t : 0,
|
|
530
|
-
height: (l = e?.scrollHeight) !== null && l !== void 0 ? l : 0
|
|
531
|
-
};
|
|
532
|
-
}
|
|
533
|
-
getVisibleRect() {
|
|
534
|
-
let e = this.ref.current;
|
|
535
|
-
var t, l, i, n;
|
|
536
|
-
return {
|
|
537
|
-
x: (t = e?.scrollLeft) !== null && t !== void 0 ? t : 0,
|
|
538
|
-
y: (l = e?.scrollTop) !== null && l !== void 0 ? l : 0,
|
|
539
|
-
width: (i = e?.offsetWidth) !== null && i !== void 0 ? i : 0,
|
|
540
|
-
height: (n = e?.offsetHeight) !== null && n !== void 0 ? n : 0
|
|
541
|
-
};
|
|
542
|
-
}
|
|
543
|
-
constructor(e) {
|
|
544
|
-
this.ref = e;
|
|
545
|
-
}
|
|
546
|
-
}
|
|
547
|
-
class Hl {
|
|
548
|
-
isDisabled(e) {
|
|
549
|
-
var t;
|
|
550
|
-
return this.disabledBehavior === "all" && (((t = e.props) === null || t === void 0 ? void 0 : t.isDisabled) || this.disabledKeys.has(e.key));
|
|
551
|
-
}
|
|
552
|
-
findNextNonDisabled(e, t) {
|
|
553
|
-
let l = e;
|
|
554
|
-
for (; l != null; ) {
|
|
555
|
-
let i = this.collection.getItem(l);
|
|
556
|
-
if (i?.type === "item" && !this.isDisabled(i)) return l;
|
|
557
|
-
l = t(l);
|
|
558
|
-
}
|
|
559
|
-
return null;
|
|
560
|
-
}
|
|
561
|
-
getNextKey(e) {
|
|
562
|
-
let t = e;
|
|
563
|
-
return t = this.collection.getKeyAfter(t), this.findNextNonDisabled(t, (l) => this.collection.getKeyAfter(l));
|
|
564
|
-
}
|
|
565
|
-
getPreviousKey(e) {
|
|
566
|
-
let t = e;
|
|
567
|
-
return t = this.collection.getKeyBefore(t), this.findNextNonDisabled(t, (l) => this.collection.getKeyBefore(l));
|
|
568
|
-
}
|
|
569
|
-
findKey(e, t, l) {
|
|
570
|
-
let i = e, n = this.layoutDelegate.getItemRect(i);
|
|
571
|
-
if (!n || i == null) return null;
|
|
572
|
-
let o = n;
|
|
573
|
-
do {
|
|
574
|
-
if (i = t(i), i == null) break;
|
|
575
|
-
n = this.layoutDelegate.getItemRect(i);
|
|
576
|
-
} while (n && l(o, n) && i != null);
|
|
577
|
-
return i;
|
|
578
|
-
}
|
|
579
|
-
isSameRow(e, t) {
|
|
580
|
-
return e.y === t.y || e.x !== t.x;
|
|
581
|
-
}
|
|
582
|
-
isSameColumn(e, t) {
|
|
583
|
-
return e.x === t.x || e.y !== t.y;
|
|
584
|
-
}
|
|
585
|
-
getKeyBelow(e) {
|
|
586
|
-
return this.layout === "grid" && this.orientation === "vertical" ? this.findKey(e, (t) => this.getNextKey(t), this.isSameRow) : this.getNextKey(e);
|
|
587
|
-
}
|
|
588
|
-
getKeyAbove(e) {
|
|
589
|
-
return this.layout === "grid" && this.orientation === "vertical" ? this.findKey(e, (t) => this.getPreviousKey(t), this.isSameRow) : this.getPreviousKey(e);
|
|
590
|
-
}
|
|
591
|
-
getNextColumn(e, t) {
|
|
592
|
-
return t ? this.getPreviousKey(e) : this.getNextKey(e);
|
|
593
|
-
}
|
|
594
|
-
getKeyRightOf(e) {
|
|
595
|
-
let t = this.direction === "ltr" ? "getKeyRightOf" : "getKeyLeftOf";
|
|
596
|
-
return this.layoutDelegate[t] ? (e = this.layoutDelegate[t](e), this.findNextNonDisabled(e, (l) => this.layoutDelegate[t](l))) : this.layout === "grid" ? this.orientation === "vertical" ? this.getNextColumn(e, this.direction === "rtl") : this.findKey(e, (l) => this.getNextColumn(l, this.direction === "rtl"), this.isSameColumn) : this.orientation === "horizontal" ? this.getNextColumn(e, this.direction === "rtl") : null;
|
|
597
|
-
}
|
|
598
|
-
getKeyLeftOf(e) {
|
|
599
|
-
let t = this.direction === "ltr" ? "getKeyLeftOf" : "getKeyRightOf";
|
|
600
|
-
return this.layoutDelegate[t] ? (e = this.layoutDelegate[t](e), this.findNextNonDisabled(e, (l) => this.layoutDelegate[t](l))) : this.layout === "grid" ? this.orientation === "vertical" ? this.getNextColumn(e, this.direction === "ltr") : this.findKey(e, (l) => this.getNextColumn(l, this.direction === "ltr"), this.isSameColumn) : this.orientation === "horizontal" ? this.getNextColumn(e, this.direction === "ltr") : null;
|
|
601
|
-
}
|
|
602
|
-
getFirstKey() {
|
|
603
|
-
let e = this.collection.getFirstKey();
|
|
604
|
-
return this.findNextNonDisabled(e, (t) => this.collection.getKeyAfter(t));
|
|
605
|
-
}
|
|
606
|
-
getLastKey() {
|
|
607
|
-
let e = this.collection.getLastKey();
|
|
608
|
-
return this.findNextNonDisabled(e, (t) => this.collection.getKeyBefore(t));
|
|
609
|
-
}
|
|
610
|
-
getKeyPageAbove(e) {
|
|
611
|
-
let t = this.ref.current, l = this.layoutDelegate.getItemRect(e);
|
|
612
|
-
if (!l) return null;
|
|
613
|
-
if (t && !Me(t)) return this.getFirstKey();
|
|
614
|
-
let i = e;
|
|
615
|
-
if (this.orientation === "horizontal") {
|
|
616
|
-
let n = Math.max(0, l.x + l.width - this.layoutDelegate.getVisibleRect().width);
|
|
617
|
-
for (; l && l.x > n && i != null; )
|
|
618
|
-
i = this.getKeyAbove(i), l = i == null ? null : this.layoutDelegate.getItemRect(i);
|
|
619
|
-
} else {
|
|
620
|
-
let n = Math.max(0, l.y + l.height - this.layoutDelegate.getVisibleRect().height);
|
|
621
|
-
for (; l && l.y > n && i != null; )
|
|
622
|
-
i = this.getKeyAbove(i), l = i == null ? null : this.layoutDelegate.getItemRect(i);
|
|
623
|
-
}
|
|
624
|
-
return i ?? this.getFirstKey();
|
|
625
|
-
}
|
|
626
|
-
getKeyPageBelow(e) {
|
|
627
|
-
let t = this.ref.current, l = this.layoutDelegate.getItemRect(e);
|
|
628
|
-
if (!l) return null;
|
|
629
|
-
if (t && !Me(t)) return this.getLastKey();
|
|
630
|
-
let i = e;
|
|
631
|
-
if (this.orientation === "horizontal") {
|
|
632
|
-
let n = Math.min(this.layoutDelegate.getContentSize().width, l.y - l.width + this.layoutDelegate.getVisibleRect().width);
|
|
633
|
-
for (; l && l.x < n && i != null; )
|
|
634
|
-
i = this.getKeyBelow(i), l = i == null ? null : this.layoutDelegate.getItemRect(i);
|
|
635
|
-
} else {
|
|
636
|
-
let n = Math.min(this.layoutDelegate.getContentSize().height, l.y - l.height + this.layoutDelegate.getVisibleRect().height);
|
|
637
|
-
for (; l && l.y < n && i != null; )
|
|
638
|
-
i = this.getKeyBelow(i), l = i == null ? null : this.layoutDelegate.getItemRect(i);
|
|
639
|
-
}
|
|
640
|
-
return i ?? this.getLastKey();
|
|
641
|
-
}
|
|
642
|
-
getKeyForSearch(e, t) {
|
|
643
|
-
if (!this.collator) return null;
|
|
644
|
-
let l = this.collection, i = t || this.getFirstKey();
|
|
645
|
-
for (; i != null; ) {
|
|
646
|
-
let n = l.getItem(i);
|
|
647
|
-
if (!n) return null;
|
|
648
|
-
let o = n.textValue.slice(0, e.length);
|
|
649
|
-
if (n.textValue && this.collator.compare(o, e) === 0) return i;
|
|
650
|
-
i = this.getNextKey(i);
|
|
651
|
-
}
|
|
652
|
-
return null;
|
|
653
|
-
}
|
|
654
|
-
constructor(...e) {
|
|
655
|
-
if (e.length === 1) {
|
|
656
|
-
let t = e[0];
|
|
657
|
-
this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new ze(t.ref);
|
|
658
|
-
} else
|
|
659
|
-
this.collection = e[0], this.disabledKeys = e[1], this.ref = e[2], this.collator = e[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new ze(this.ref);
|
|
660
|
-
this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);
|
|
661
|
-
}
|
|
662
|
-
}
|
|
663
|
-
function Yi(r) {
|
|
664
|
-
let { selectionManager: e, collection: t, disabledKeys: l, ref: i, keyboardDelegate: n, layoutDelegate: o } = r, u = vl({
|
|
665
|
-
usage: "search",
|
|
666
|
-
sensitivity: "base"
|
|
667
|
-
}), s = e.disabledBehavior, d = N(() => n || new Hl({
|
|
668
|
-
collection: t,
|
|
669
|
-
disabledKeys: l,
|
|
670
|
-
disabledBehavior: s,
|
|
671
|
-
ref: i,
|
|
672
|
-
collator: u,
|
|
673
|
-
layoutDelegate: o
|
|
674
|
-
}), [
|
|
675
|
-
n,
|
|
676
|
-
o,
|
|
677
|
-
t,
|
|
678
|
-
l,
|
|
679
|
-
i,
|
|
680
|
-
u,
|
|
681
|
-
s
|
|
682
|
-
]), { collectionProps: m } = Ul({
|
|
683
|
-
...r,
|
|
684
|
-
ref: i,
|
|
685
|
-
selectionManager: e,
|
|
686
|
-
keyboardDelegate: d
|
|
687
|
-
});
|
|
688
|
-
return {
|
|
689
|
-
listProps: m
|
|
690
|
-
};
|
|
691
|
-
}
|
|
692
|
-
class ql {
|
|
693
|
-
build(e, t) {
|
|
694
|
-
return this.context = t, Ue(() => this.iterateCollection(e));
|
|
695
|
-
}
|
|
696
|
-
*iterateCollection(e) {
|
|
697
|
-
let { children: t, items: l } = e;
|
|
698
|
-
if (S.isValidElement(t) && t.type === S.Fragment) yield* this.iterateCollection({
|
|
699
|
-
children: t.props.children,
|
|
700
|
-
items: l
|
|
701
|
-
});
|
|
702
|
-
else if (typeof t == "function") {
|
|
703
|
-
if (!l) throw new Error("props.children was a function but props.items is missing");
|
|
704
|
-
let i = 0;
|
|
705
|
-
for (let n of l)
|
|
706
|
-
yield* this.getFullNode({
|
|
707
|
-
value: n,
|
|
708
|
-
index: i
|
|
709
|
-
}, {
|
|
710
|
-
renderer: t
|
|
711
|
-
}), i++;
|
|
712
|
-
} else {
|
|
713
|
-
let i = [];
|
|
714
|
-
S.Children.forEach(t, (o) => {
|
|
715
|
-
o && i.push(o);
|
|
716
|
-
});
|
|
717
|
-
let n = 0;
|
|
718
|
-
for (let o of i) {
|
|
719
|
-
let u = this.getFullNode({
|
|
720
|
-
element: o,
|
|
721
|
-
index: n
|
|
722
|
-
}, {});
|
|
723
|
-
for (let s of u)
|
|
724
|
-
n++, yield s;
|
|
725
|
-
}
|
|
726
|
-
}
|
|
727
|
-
}
|
|
728
|
-
getKey(e, t, l, i) {
|
|
729
|
-
if (e.key != null) return e.key;
|
|
730
|
-
if (t.type === "cell" && t.key != null) return `${i}${t.key}`;
|
|
731
|
-
let n = t.value;
|
|
732
|
-
if (n != null) {
|
|
733
|
-
var o;
|
|
734
|
-
let u = (o = n.key) !== null && o !== void 0 ? o : n.id;
|
|
735
|
-
if (u == null) throw new Error("No key found for item");
|
|
736
|
-
return u;
|
|
737
|
-
}
|
|
738
|
-
return i ? `${i}.${t.index}` : `$.${t.index}`;
|
|
739
|
-
}
|
|
740
|
-
getChildState(e, t) {
|
|
741
|
-
return {
|
|
742
|
-
renderer: t.renderer || e.renderer
|
|
743
|
-
};
|
|
744
|
-
}
|
|
745
|
-
*getFullNode(e, t, l, i) {
|
|
746
|
-
if (S.isValidElement(e.element) && e.element.type === S.Fragment) {
|
|
747
|
-
let $ = [];
|
|
748
|
-
S.Children.forEach(e.element.props.children, (w) => {
|
|
749
|
-
$.push(w);
|
|
750
|
-
});
|
|
751
|
-
var n;
|
|
752
|
-
let g = (n = e.index) !== null && n !== void 0 ? n : 0;
|
|
753
|
-
for (const w of $) yield* this.getFullNode({
|
|
754
|
-
element: w,
|
|
755
|
-
index: g++
|
|
756
|
-
}, t, l, i);
|
|
757
|
-
return;
|
|
758
|
-
}
|
|
759
|
-
let o = e.element;
|
|
760
|
-
if (!o && e.value && t && t.renderer) {
|
|
761
|
-
let $ = this.cache.get(e.value);
|
|
762
|
-
if ($ && (!$.shouldInvalidate || !$.shouldInvalidate(this.context))) {
|
|
763
|
-
$.index = e.index, $.parentKey = i ? i.key : null, yield $;
|
|
764
|
-
return;
|
|
765
|
-
}
|
|
766
|
-
o = t.renderer(e.value);
|
|
767
|
-
}
|
|
768
|
-
if (S.isValidElement(o)) {
|
|
769
|
-
let $ = o.type;
|
|
770
|
-
if (typeof $ != "function" && typeof $.getCollectionNode != "function") {
|
|
771
|
-
let k = o.type;
|
|
772
|
-
throw new Error(`Unknown element <${k}> in collection.`);
|
|
773
|
-
}
|
|
774
|
-
let g = $.getCollectionNode(o.props, this.context);
|
|
775
|
-
var u;
|
|
776
|
-
let w = (u = e.index) !== null && u !== void 0 ? u : 0, C = g.next();
|
|
777
|
-
for (; !C.done && C.value; ) {
|
|
778
|
-
let k = C.value;
|
|
779
|
-
e.index = w;
|
|
780
|
-
var s;
|
|
781
|
-
let F = (s = k.key) !== null && s !== void 0 ? s : null;
|
|
782
|
-
F == null && (F = k.element ? null : this.getKey(o, e, t, l));
|
|
783
|
-
let O = [
|
|
784
|
-
...this.getFullNode({
|
|
785
|
-
...k,
|
|
786
|
-
key: F,
|
|
787
|
-
index: w,
|
|
788
|
-
wrapper: Wl(e.wrapper, k.wrapper)
|
|
789
|
-
}, this.getChildState(t, k), l ? `${l}${o.key}` : o.key, i)
|
|
790
|
-
];
|
|
791
|
-
for (let R of O) {
|
|
792
|
-
var d, m;
|
|
793
|
-
R.value = (m = (d = k.value) !== null && d !== void 0 ? d : e.value) !== null && m !== void 0 ? m : null, R.value && this.cache.set(R.value, R);
|
|
794
|
-
var p;
|
|
795
|
-
if (e.type && R.type !== e.type) throw new Error(`Unsupported type <${ve(R.type)}> in <${ve((p = i?.type) !== null && p !== void 0 ? p : "unknown parent type")}>. Only <${ve(e.type)}> is supported.`);
|
|
796
|
-
w++, yield R;
|
|
797
|
-
}
|
|
798
|
-
C = g.next(O);
|
|
799
|
-
}
|
|
800
|
-
return;
|
|
801
|
-
}
|
|
802
|
-
if (e.key == null || e.type == null) return;
|
|
803
|
-
let h = this;
|
|
804
|
-
var y, v;
|
|
805
|
-
let K = {
|
|
806
|
-
type: e.type,
|
|
807
|
-
props: e.props,
|
|
808
|
-
key: e.key,
|
|
809
|
-
parentKey: i ? i.key : null,
|
|
810
|
-
value: (y = e.value) !== null && y !== void 0 ? y : null,
|
|
811
|
-
level: i ? i.level + 1 : 0,
|
|
812
|
-
index: e.index,
|
|
813
|
-
rendered: e.rendered,
|
|
814
|
-
textValue: (v = e.textValue) !== null && v !== void 0 ? v : "",
|
|
815
|
-
"aria-label": e["aria-label"],
|
|
816
|
-
wrapper: e.wrapper,
|
|
817
|
-
shouldInvalidate: e.shouldInvalidate,
|
|
818
|
-
hasChildNodes: e.hasChildNodes || !1,
|
|
819
|
-
childNodes: Ue(function* () {
|
|
820
|
-
if (!e.hasChildNodes || !e.childNodes) return;
|
|
821
|
-
let $ = 0;
|
|
822
|
-
for (let g of e.childNodes()) {
|
|
823
|
-
g.key != null && (g.key = `${K.key}${g.key}`);
|
|
824
|
-
let w = h.getFullNode({
|
|
825
|
-
...g,
|
|
826
|
-
index: $
|
|
827
|
-
}, h.getChildState(t, g), K.key, K);
|
|
828
|
-
for (let C of w)
|
|
829
|
-
$++, yield C;
|
|
830
|
-
}
|
|
831
|
-
})
|
|
832
|
-
};
|
|
833
|
-
yield K;
|
|
834
|
-
}
|
|
835
|
-
constructor() {
|
|
836
|
-
this.cache = /* @__PURE__ */ new WeakMap();
|
|
837
|
-
}
|
|
838
|
-
}
|
|
839
|
-
function Ue(r) {
|
|
840
|
-
let e = [], t = null;
|
|
841
|
-
return {
|
|
842
|
-
*[Symbol.iterator]() {
|
|
843
|
-
for (let l of e) yield l;
|
|
844
|
-
t || (t = r());
|
|
845
|
-
for (let l of t)
|
|
846
|
-
e.push(l), yield l;
|
|
847
|
-
}
|
|
848
|
-
};
|
|
849
|
-
}
|
|
850
|
-
function Wl(r, e) {
|
|
851
|
-
if (r && e) return (t) => r(e(t));
|
|
852
|
-
if (r) return r;
|
|
853
|
-
if (e) return e;
|
|
854
|
-
}
|
|
855
|
-
function ve(r) {
|
|
856
|
-
return r[0].toUpperCase() + r.slice(1);
|
|
857
|
-
}
|
|
858
|
-
function Ji(r, e, t) {
|
|
859
|
-
let l = N(() => new ql(), []), { children: i, items: n, collection: o } = r;
|
|
860
|
-
return N(() => {
|
|
861
|
-
if (o) return o;
|
|
862
|
-
let s = l.build({
|
|
863
|
-
children: i,
|
|
864
|
-
items: n
|
|
865
|
-
}, t);
|
|
866
|
-
return e(s);
|
|
867
|
-
}, [
|
|
868
|
-
l,
|
|
869
|
-
i,
|
|
870
|
-
n,
|
|
871
|
-
o,
|
|
872
|
-
t,
|
|
873
|
-
e
|
|
874
|
-
]);
|
|
875
|
-
}
|
|
876
|
-
function ft(r, e) {
|
|
877
|
-
return typeof e.getChildren == "function" ? e.getChildren(r.key) : r.childNodes;
|
|
878
|
-
}
|
|
879
|
-
function Gl(r) {
|
|
880
|
-
return _l(r);
|
|
881
|
-
}
|
|
882
|
-
function _l(r, e) {
|
|
883
|
-
for (let t of r)
|
|
884
|
-
return t;
|
|
885
|
-
}
|
|
886
|
-
function Xi(r) {
|
|
887
|
-
let e;
|
|
888
|
-
for (let t of r) e = t;
|
|
889
|
-
return e;
|
|
890
|
-
}
|
|
891
|
-
function be(r, e, t) {
|
|
892
|
-
if (e.parentKey === t.parentKey) return e.index - t.index;
|
|
893
|
-
let l = [
|
|
894
|
-
...He(r, e),
|
|
895
|
-
e
|
|
896
|
-
], i = [
|
|
897
|
-
...He(r, t),
|
|
898
|
-
t
|
|
899
|
-
], n = l.slice(0, i.length).findIndex((o, u) => o !== i[u]);
|
|
900
|
-
return n !== -1 ? (e = l[n], t = i[n], e.index - t.index) : l.findIndex((o) => o === t) >= 0 ? 1 : (i.findIndex((o) => o === e) >= 0, -1);
|
|
901
|
-
}
|
|
902
|
-
function He(r, e) {
|
|
903
|
-
let t = [], l = e;
|
|
904
|
-
for (; l?.parentKey != null; )
|
|
905
|
-
l = r.getItem(l.parentKey), l && t.unshift(l);
|
|
906
|
-
return t;
|
|
907
|
-
}
|
|
908
|
-
const qe = /* @__PURE__ */ new WeakMap();
|
|
909
|
-
function Zi(r) {
|
|
910
|
-
let e = qe.get(r);
|
|
911
|
-
if (e != null) return e;
|
|
912
|
-
let t = 0, l = (i) => {
|
|
913
|
-
for (let n of i)
|
|
914
|
-
n.type === "section" ? l(ft(n, r)) : n.type === "item" && t++;
|
|
915
|
-
};
|
|
916
|
-
return l(r), qe.set(r, t), t;
|
|
917
|
-
}
|
|
918
|
-
var re = { exports: {} }, $e = {};
|
|
919
|
-
/**
|
|
920
|
-
* @license React
|
|
921
|
-
* use-sync-external-store-shim.production.js
|
|
922
|
-
*
|
|
923
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
924
|
-
*
|
|
925
|
-
* This source code is licensed under the MIT license found in the
|
|
926
|
-
* LICENSE file in the root directory of this source tree.
|
|
927
|
-
*/
|
|
928
|
-
var We;
|
|
929
|
-
function jl() {
|
|
930
|
-
if (We) return $e;
|
|
931
|
-
We = 1;
|
|
932
|
-
var r = S;
|
|
933
|
-
function e(p, h) {
|
|
934
|
-
return p === h && (p !== 0 || 1 / p === 1 / h) || p !== p && h !== h;
|
|
935
|
-
}
|
|
936
|
-
var t = typeof Object.is == "function" ? Object.is : e, l = r.useState, i = r.useEffect, n = r.useLayoutEffect, o = r.useDebugValue;
|
|
937
|
-
function u(p, h) {
|
|
938
|
-
var y = h(), v = l({ inst: { value: y, getSnapshot: h } }), K = v[0].inst, $ = v[1];
|
|
939
|
-
return n(
|
|
940
|
-
function() {
|
|
941
|
-
K.value = y, K.getSnapshot = h, s(K) && $({ inst: K });
|
|
942
|
-
},
|
|
943
|
-
[p, y, h]
|
|
944
|
-
), i(
|
|
945
|
-
function() {
|
|
946
|
-
return s(K) && $({ inst: K }), p(function() {
|
|
947
|
-
s(K) && $({ inst: K });
|
|
948
|
-
});
|
|
949
|
-
},
|
|
950
|
-
[p]
|
|
951
|
-
), o(y), y;
|
|
952
|
-
}
|
|
953
|
-
function s(p) {
|
|
954
|
-
var h = p.getSnapshot;
|
|
955
|
-
p = p.value;
|
|
956
|
-
try {
|
|
957
|
-
var y = h();
|
|
958
|
-
return !t(p, y);
|
|
959
|
-
} catch {
|
|
960
|
-
return !0;
|
|
961
|
-
}
|
|
962
|
-
}
|
|
963
|
-
function d(p, h) {
|
|
964
|
-
return h();
|
|
965
|
-
}
|
|
966
|
-
var m = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? d : u;
|
|
967
|
-
return $e.useSyncExternalStore = r.useSyncExternalStore !== void 0 ? r.useSyncExternalStore : m, $e;
|
|
968
|
-
}
|
|
969
|
-
var ge = {};
|
|
970
|
-
/**
|
|
971
|
-
* @license React
|
|
972
|
-
* use-sync-external-store-shim.development.js
|
|
973
|
-
*
|
|
974
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
975
|
-
*
|
|
976
|
-
* This source code is licensed under the MIT license found in the
|
|
977
|
-
* LICENSE file in the root directory of this source tree.
|
|
978
|
-
*/
|
|
979
|
-
var Ge;
|
|
980
|
-
function Yl() {
|
|
981
|
-
return Ge || (Ge = 1, process.env.NODE_ENV !== "production" && function() {
|
|
982
|
-
function r(y, v) {
|
|
983
|
-
return y === v && (y !== 0 || 1 / y === 1 / v) || y !== y && v !== v;
|
|
984
|
-
}
|
|
985
|
-
function e(y, v) {
|
|
986
|
-
m || i.startTransition === void 0 || (m = !0, console.error(
|
|
987
|
-
"You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
|
|
988
|
-
));
|
|
989
|
-
var K = v();
|
|
990
|
-
if (!p) {
|
|
991
|
-
var $ = v();
|
|
992
|
-
n(K, $) || (console.error(
|
|
993
|
-
"The result of getSnapshot should be cached to avoid an infinite loop"
|
|
994
|
-
), p = !0);
|
|
995
|
-
}
|
|
996
|
-
$ = o({
|
|
997
|
-
inst: { value: K, getSnapshot: v }
|
|
998
|
-
});
|
|
999
|
-
var g = $[0].inst, w = $[1];
|
|
1000
|
-
return s(
|
|
1001
|
-
function() {
|
|
1002
|
-
g.value = K, g.getSnapshot = v, t(g) && w({ inst: g });
|
|
1003
|
-
},
|
|
1004
|
-
[y, K, v]
|
|
1005
|
-
), u(
|
|
1006
|
-
function() {
|
|
1007
|
-
return t(g) && w({ inst: g }), y(function() {
|
|
1008
|
-
t(g) && w({ inst: g });
|
|
1009
|
-
});
|
|
1010
|
-
},
|
|
1011
|
-
[y]
|
|
1012
|
-
), d(K), K;
|
|
1013
|
-
}
|
|
1014
|
-
function t(y) {
|
|
1015
|
-
var v = y.getSnapshot;
|
|
1016
|
-
y = y.value;
|
|
1017
|
-
try {
|
|
1018
|
-
var K = v();
|
|
1019
|
-
return !n(y, K);
|
|
1020
|
-
} catch {
|
|
1021
|
-
return !0;
|
|
1022
|
-
}
|
|
1023
|
-
}
|
|
1024
|
-
function l(y, v) {
|
|
1025
|
-
return v();
|
|
1026
|
-
}
|
|
1027
|
-
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
1028
|
-
var i = S, n = typeof Object.is == "function" ? Object.is : r, o = i.useState, u = i.useEffect, s = i.useLayoutEffect, d = i.useDebugValue, m = !1, p = !1, h = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? l : e;
|
|
1029
|
-
ge.useSyncExternalStore = i.useSyncExternalStore !== void 0 ? i.useSyncExternalStore : h, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
1030
|
-
}()), ge;
|
|
1031
|
-
}
|
|
1032
|
-
var _e;
|
|
1033
|
-
function Jl() {
|
|
1034
|
-
return _e || (_e = 1, process.env.NODE_ENV === "production" ? re.exports = jl() : re.exports = Yl()), re.exports;
|
|
1035
|
-
}
|
|
1036
|
-
var Xl = /* @__PURE__ */ Jl();
|
|
1037
|
-
class Fe {
|
|
1038
|
-
get childNodes() {
|
|
1039
|
-
throw new Error("childNodes is not supported");
|
|
1040
|
-
}
|
|
1041
|
-
clone() {
|
|
1042
|
-
let e = new Fe(this.type, this.key);
|
|
1043
|
-
return e.value = this.value, e.level = this.level, e.hasChildNodes = this.hasChildNodes, e.rendered = this.rendered, e.textValue = this.textValue, e["aria-label"] = this["aria-label"], e.index = this.index, e.parentKey = this.parentKey, e.prevKey = this.prevKey, e.nextKey = this.nextKey, e.firstChildKey = this.firstChildKey, e.lastChildKey = this.lastChildKey, e.props = this.props, e.render = this.render, e.colSpan = this.colSpan, e.colIndex = this.colIndex, e;
|
|
1044
|
-
}
|
|
1045
|
-
constructor(e, t) {
|
|
1046
|
-
this.value = null, this.level = 0, this.hasChildNodes = !1, this.rendered = null, this.textValue = "", this["aria-label"] = void 0, this.index = 0, this.parentKey = null, this.prevKey = null, this.nextKey = null, this.firstChildKey = null, this.lastChildKey = null, this.props = {}, this.colSpan = null, this.colIndex = null, this.type = e, this.key = t;
|
|
1047
|
-
}
|
|
1048
|
-
}
|
|
1049
|
-
class Re {
|
|
1050
|
-
get size() {
|
|
1051
|
-
return this.keyMap.size;
|
|
1052
|
-
}
|
|
1053
|
-
getKeys() {
|
|
1054
|
-
return this.keyMap.keys();
|
|
1055
|
-
}
|
|
1056
|
-
*[Symbol.iterator]() {
|
|
1057
|
-
let e = this.firstKey != null ? this.keyMap.get(this.firstKey) : void 0;
|
|
1058
|
-
for (; e; )
|
|
1059
|
-
yield e, e = e.nextKey != null ? this.keyMap.get(e.nextKey) : void 0;
|
|
1060
|
-
}
|
|
1061
|
-
getChildren(e) {
|
|
1062
|
-
let t = this.keyMap;
|
|
1063
|
-
return {
|
|
1064
|
-
*[Symbol.iterator]() {
|
|
1065
|
-
let l = t.get(e), i = l?.firstChildKey != null ? t.get(l.firstChildKey) : null;
|
|
1066
|
-
for (; i; )
|
|
1067
|
-
yield i, i = i.nextKey != null ? t.get(i.nextKey) : void 0;
|
|
1068
|
-
}
|
|
1069
|
-
};
|
|
1070
|
-
}
|
|
1071
|
-
getKeyBefore(e) {
|
|
1072
|
-
let t = this.keyMap.get(e);
|
|
1073
|
-
if (!t) return null;
|
|
1074
|
-
if (t.prevKey != null) {
|
|
1075
|
-
for (t = this.keyMap.get(t.prevKey); t && t.type !== "item" && t.lastChildKey != null; ) t = this.keyMap.get(t.lastChildKey);
|
|
1076
|
-
var l;
|
|
1077
|
-
return (l = t?.key) !== null && l !== void 0 ? l : null;
|
|
1078
|
-
}
|
|
1079
|
-
return t.parentKey;
|
|
1080
|
-
}
|
|
1081
|
-
getKeyAfter(e) {
|
|
1082
|
-
let t = this.keyMap.get(e);
|
|
1083
|
-
if (!t) return null;
|
|
1084
|
-
if (t.type !== "item" && t.firstChildKey != null) return t.firstChildKey;
|
|
1085
|
-
for (; t; ) {
|
|
1086
|
-
if (t.nextKey != null) return t.nextKey;
|
|
1087
|
-
if (t.parentKey != null) t = this.keyMap.get(t.parentKey);
|
|
1088
|
-
else return null;
|
|
1089
|
-
}
|
|
1090
|
-
return null;
|
|
1091
|
-
}
|
|
1092
|
-
getFirstKey() {
|
|
1093
|
-
return this.firstKey;
|
|
1094
|
-
}
|
|
1095
|
-
getLastKey() {
|
|
1096
|
-
let e = this.lastKey != null ? this.keyMap.get(this.lastKey) : null;
|
|
1097
|
-
for (; e?.lastChildKey != null; ) e = this.keyMap.get(e.lastChildKey);
|
|
1098
|
-
var t;
|
|
1099
|
-
return (t = e?.key) !== null && t !== void 0 ? t : null;
|
|
1100
|
-
}
|
|
1101
|
-
getItem(e) {
|
|
1102
|
-
var t;
|
|
1103
|
-
return (t = this.keyMap.get(e)) !== null && t !== void 0 ? t : null;
|
|
1104
|
-
}
|
|
1105
|
-
at() {
|
|
1106
|
-
throw new Error("Not implemented");
|
|
1107
|
-
}
|
|
1108
|
-
clone() {
|
|
1109
|
-
let e = this.constructor, t = new e();
|
|
1110
|
-
return t.keyMap = new Map(this.keyMap), t.firstKey = this.firstKey, t.lastKey = this.lastKey, t;
|
|
1111
|
-
}
|
|
1112
|
-
addNode(e) {
|
|
1113
|
-
if (this.frozen) throw new Error("Cannot add a node to a frozen collection");
|
|
1114
|
-
this.keyMap.set(e.key, e);
|
|
1115
|
-
}
|
|
1116
|
-
removeNode(e) {
|
|
1117
|
-
if (this.frozen) throw new Error("Cannot remove a node to a frozen collection");
|
|
1118
|
-
this.keyMap.delete(e);
|
|
1119
|
-
}
|
|
1120
|
-
commit(e, t, l = !1) {
|
|
1121
|
-
if (this.frozen) throw new Error("Cannot commit a frozen collection");
|
|
1122
|
-
this.firstKey = e, this.lastKey = t, this.frozen = !l;
|
|
1123
|
-
}
|
|
1124
|
-
// TODO: this is pretty specific to menu, will need to check if it is generic enough
|
|
1125
|
-
// Will need to handle varying levels I assume but will revisit after I get searchable menu working for base menu
|
|
1126
|
-
// TODO: an alternative is to simply walk the collection and add all item nodes that match the filter and any sections/separators we encounter
|
|
1127
|
-
// to an array, then walk that new array and fix all the next/Prev keys while adding them to the new collection
|
|
1128
|
-
UNSTABLE_filter(e) {
|
|
1129
|
-
let t = new Re(), l = null;
|
|
1130
|
-
for (let i of this)
|
|
1131
|
-
if (i.type === "section" && i.hasChildNodes) {
|
|
1132
|
-
let n = i.clone(), o = null;
|
|
1133
|
-
for (let u of this.getChildren(i.key)) if (je(u, e, this, t)) {
|
|
1134
|
-
let s = u.clone();
|
|
1135
|
-
o == null && (n.firstChildKey = s.key), t.firstKey == null && (t.firstKey = n.key), o && o.parentKey === s.parentKey ? (o.nextKey = s.key, s.prevKey = o.key) : s.prevKey = null, s.nextKey = null, t.addNode(s), o = s;
|
|
1136
|
-
}
|
|
1137
|
-
o && (o.type !== "header" ? (n.lastChildKey = o.key, l == null ? n.prevKey = null : (l.type === "section" || l.type === "separator") && (l.nextKey = n.key, n.prevKey = l.key), n.nextKey = null, l = n, t.addNode(n)) : (t.firstKey === n.key && (t.firstKey = null), t.removeNode(o.key)));
|
|
1138
|
-
} else if (i.type === "separator") {
|
|
1139
|
-
let n = i.clone();
|
|
1140
|
-
n.nextKey = null, l?.type === "section" && (l.nextKey = n.key, n.prevKey = l.key, l = n, t.addNode(n));
|
|
1141
|
-
} else {
|
|
1142
|
-
let n = i.clone();
|
|
1143
|
-
je(n, e, this, t) && (t.firstKey == null && (t.firstKey = n.key), l != null && l.type !== "section" && l.type !== "separator" && l.parentKey === n.parentKey ? (l.nextKey = n.key, n.prevKey = l.key) : n.prevKey = null, n.nextKey = null, t.addNode(n), l = n);
|
|
1144
|
-
}
|
|
1145
|
-
if (l?.type === "separator" && l.nextKey === null) {
|
|
1146
|
-
let i;
|
|
1147
|
-
l.prevKey != null && (i = t.getItem(l.prevKey), i.nextKey = null), t.removeNode(l.key), l = i;
|
|
1148
|
-
}
|
|
1149
|
-
return t.lastKey = l?.key || null, t;
|
|
1150
|
-
}
|
|
1151
|
-
constructor() {
|
|
1152
|
-
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1;
|
|
1153
|
-
}
|
|
1154
|
-
}
|
|
1155
|
-
function je(r, e, t, l) {
|
|
1156
|
-
if (r.type === "subdialogtrigger" || r.type === "submenutrigger") {
|
|
1157
|
-
let i = [
|
|
1158
|
-
...t.getChildren(r.key)
|
|
1159
|
-
][0];
|
|
1160
|
-
if (i && e(i.textValue)) {
|
|
1161
|
-
let n = i.clone();
|
|
1162
|
-
return l.addNode(n), !0;
|
|
1163
|
-
} else return !1;
|
|
1164
|
-
} else return r.type === "header" ? !0 : e(r.textValue);
|
|
1165
|
-
}
|
|
1166
|
-
class ht {
|
|
1167
|
-
*[Symbol.iterator]() {
|
|
1168
|
-
let e = this.firstChild;
|
|
1169
|
-
for (; e; )
|
|
1170
|
-
yield e, e = e.nextSibling;
|
|
1171
|
-
}
|
|
1172
|
-
get firstChild() {
|
|
1173
|
-
return this._firstChild;
|
|
1174
|
-
}
|
|
1175
|
-
set firstChild(e) {
|
|
1176
|
-
this._firstChild = e, this.ownerDocument.markDirty(this);
|
|
1177
|
-
}
|
|
1178
|
-
get lastChild() {
|
|
1179
|
-
return this._lastChild;
|
|
1180
|
-
}
|
|
1181
|
-
set lastChild(e) {
|
|
1182
|
-
this._lastChild = e, this.ownerDocument.markDirty(this);
|
|
1183
|
-
}
|
|
1184
|
-
get previousSibling() {
|
|
1185
|
-
return this._previousSibling;
|
|
1186
|
-
}
|
|
1187
|
-
set previousSibling(e) {
|
|
1188
|
-
this._previousSibling = e, this.ownerDocument.markDirty(this);
|
|
1189
|
-
}
|
|
1190
|
-
get nextSibling() {
|
|
1191
|
-
return this._nextSibling;
|
|
1192
|
-
}
|
|
1193
|
-
set nextSibling(e) {
|
|
1194
|
-
this._nextSibling = e, this.ownerDocument.markDirty(this);
|
|
1195
|
-
}
|
|
1196
|
-
get parentNode() {
|
|
1197
|
-
return this._parentNode;
|
|
1198
|
-
}
|
|
1199
|
-
set parentNode(e) {
|
|
1200
|
-
this._parentNode = e, this.ownerDocument.markDirty(this);
|
|
1201
|
-
}
|
|
1202
|
-
get isConnected() {
|
|
1203
|
-
var e;
|
|
1204
|
-
return ((e = this.parentNode) === null || e === void 0 ? void 0 : e.isConnected) || !1;
|
|
1205
|
-
}
|
|
1206
|
-
invalidateChildIndices(e) {
|
|
1207
|
-
(this._minInvalidChildIndex == null || !this._minInvalidChildIndex.isConnected || e.index < this._minInvalidChildIndex.index) && (this._minInvalidChildIndex = e, this.ownerDocument.markDirty(this));
|
|
1208
|
-
}
|
|
1209
|
-
updateChildIndices() {
|
|
1210
|
-
let e = this._minInvalidChildIndex;
|
|
1211
|
-
for (; e; )
|
|
1212
|
-
e.index = e.previousSibling ? e.previousSibling.index + 1 : 0, e = e.nextSibling;
|
|
1213
|
-
this._minInvalidChildIndex = null;
|
|
1214
|
-
}
|
|
1215
|
-
appendChild(e) {
|
|
1216
|
-
e.parentNode && e.parentNode.removeChild(e), this.firstChild == null && (this.firstChild = e), this.lastChild ? (this.lastChild.nextSibling = e, e.index = this.lastChild.index + 1, e.previousSibling = this.lastChild) : (e.previousSibling = null, e.index = 0), e.parentNode = this, e.nextSibling = null, this.lastChild = e, this.ownerDocument.markDirty(this), this.isConnected && this.ownerDocument.queueUpdate();
|
|
1217
|
-
}
|
|
1218
|
-
insertBefore(e, t) {
|
|
1219
|
-
if (t == null) return this.appendChild(e);
|
|
1220
|
-
e.parentNode && e.parentNode.removeChild(e), e.nextSibling = t, e.previousSibling = t.previousSibling, e.index = t.index - 1, this.firstChild === t ? this.firstChild = e : t.previousSibling && (t.previousSibling.nextSibling = e), t.previousSibling = e, e.parentNode = t.parentNode, this.invalidateChildIndices(e), this.isConnected && this.ownerDocument.queueUpdate();
|
|
1221
|
-
}
|
|
1222
|
-
removeChild(e) {
|
|
1223
|
-
e.parentNode !== this || !this.ownerDocument.isMounted || (this._minInvalidChildIndex === e && (this._minInvalidChildIndex = null), e.nextSibling && (this.invalidateChildIndices(e.nextSibling), e.nextSibling.previousSibling = e.previousSibling), e.previousSibling && (e.previousSibling.nextSibling = e.nextSibling), this.firstChild === e && (this.firstChild = e.nextSibling), this.lastChild === e && (this.lastChild = e.previousSibling), e.parentNode = null, e.nextSibling = null, e.previousSibling = null, e.index = 0, this.ownerDocument.markDirty(e), this.isConnected && this.ownerDocument.queueUpdate());
|
|
1224
|
-
}
|
|
1225
|
-
addEventListener() {
|
|
1226
|
-
}
|
|
1227
|
-
removeEventListener() {
|
|
1228
|
-
}
|
|
1229
|
-
get previousVisibleSibling() {
|
|
1230
|
-
let e = this.previousSibling;
|
|
1231
|
-
for (; e && e.isHidden; ) e = e.previousSibling;
|
|
1232
|
-
return e;
|
|
1233
|
-
}
|
|
1234
|
-
get nextVisibleSibling() {
|
|
1235
|
-
let e = this.nextSibling;
|
|
1236
|
-
for (; e && e.isHidden; ) e = e.nextSibling;
|
|
1237
|
-
return e;
|
|
1238
|
-
}
|
|
1239
|
-
get firstVisibleChild() {
|
|
1240
|
-
let e = this.firstChild;
|
|
1241
|
-
for (; e && e.isHidden; ) e = e.nextSibling;
|
|
1242
|
-
return e;
|
|
1243
|
-
}
|
|
1244
|
-
get lastVisibleChild() {
|
|
1245
|
-
let e = this.lastChild;
|
|
1246
|
-
for (; e && e.isHidden; ) e = e.previousSibling;
|
|
1247
|
-
return e;
|
|
1248
|
-
}
|
|
1249
|
-
constructor(e) {
|
|
1250
|
-
this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;
|
|
1251
|
-
}
|
|
1252
|
-
}
|
|
1253
|
-
class le extends ht {
|
|
1254
|
-
get index() {
|
|
1255
|
-
return this._index;
|
|
1256
|
-
}
|
|
1257
|
-
set index(e) {
|
|
1258
|
-
this._index = e, this.ownerDocument.markDirty(this);
|
|
1259
|
-
}
|
|
1260
|
-
get level() {
|
|
1261
|
-
return this.parentNode instanceof le ? this.parentNode.level + (this.node.type === "item" ? 1 : 0) : 0;
|
|
1262
|
-
}
|
|
1263
|
-
/**
|
|
1264
|
-
* Lazily gets a mutable instance of a Node. If the node has already
|
|
1265
|
-
* been cloned during this update cycle, it just returns the existing one.
|
|
1266
|
-
*/
|
|
1267
|
-
getMutableNode() {
|
|
1268
|
-
return this.isMutated || (this.node = this.node.clone(), this.isMutated = !0), this.ownerDocument.markDirty(this), this.node;
|
|
1269
|
-
}
|
|
1270
|
-
updateNode() {
|
|
1271
|
-
var e, t, l;
|
|
1272
|
-
let i = this.nextVisibleSibling, n = this.getMutableNode();
|
|
1273
|
-
n.index = this.index, n.level = this.level, n.parentKey = this.parentNode instanceof le ? this.parentNode.node.key : null;
|
|
1274
|
-
var o;
|
|
1275
|
-
n.prevKey = (o = (e = this.previousVisibleSibling) === null || e === void 0 ? void 0 : e.node.key) !== null && o !== void 0 ? o : null;
|
|
1276
|
-
var u;
|
|
1277
|
-
n.nextKey = (u = i?.node.key) !== null && u !== void 0 ? u : null, n.hasChildNodes = !!this.firstChild;
|
|
1278
|
-
var s;
|
|
1279
|
-
n.firstChildKey = (s = (t = this.firstVisibleChild) === null || t === void 0 ? void 0 : t.node.key) !== null && s !== void 0 ? s : null;
|
|
1280
|
-
var d;
|
|
1281
|
-
if (n.lastChildKey = (d = (l = this.lastVisibleChild) === null || l === void 0 ? void 0 : l.node.key) !== null && d !== void 0 ? d : null, (n.colSpan != null || n.colIndex != null) && i) {
|
|
1282
|
-
var m, p;
|
|
1283
|
-
let h = ((m = n.colIndex) !== null && m !== void 0 ? m : n.index) + ((p = n.colSpan) !== null && p !== void 0 ? p : 1);
|
|
1284
|
-
if (h !== i.node.colIndex) {
|
|
1285
|
-
let y = i.getMutableNode();
|
|
1286
|
-
y.colIndex = h;
|
|
1287
|
-
}
|
|
1288
|
-
}
|
|
1289
|
-
}
|
|
1290
|
-
setProps(e, t, l, i) {
|
|
1291
|
-
let n = this.getMutableNode(), { value: o, textValue: u, id: s, ...d } = e;
|
|
1292
|
-
if (d.ref = t, n.props = d, n.rendered = l, n.render = i, n.value = o, n.textValue = u || (typeof d.children == "string" ? d.children : "") || e["aria-label"] || "", s != null && s !== n.key) {
|
|
1293
|
-
if (this.hasSetProps) throw new Error("Cannot change the id of an item");
|
|
1294
|
-
n.key = s;
|
|
1295
|
-
}
|
|
1296
|
-
d.colSpan != null && (n.colSpan = d.colSpan), this.hasSetProps = !0, this.isConnected && this.ownerDocument.queueUpdate();
|
|
1297
|
-
}
|
|
1298
|
-
get style() {
|
|
1299
|
-
let e = this;
|
|
1300
|
-
return {
|
|
1301
|
-
get display() {
|
|
1302
|
-
return e.isHidden ? "none" : "";
|
|
1303
|
-
},
|
|
1304
|
-
set display(t) {
|
|
1305
|
-
let l = t === "none";
|
|
1306
|
-
if (e.isHidden !== l) {
|
|
1307
|
-
var i, n;
|
|
1308
|
-
(((i = e.parentNode) === null || i === void 0 ? void 0 : i.firstVisibleChild) === e || ((n = e.parentNode) === null || n === void 0 ? void 0 : n.lastVisibleChild) === e) && e.ownerDocument.markDirty(e.parentNode);
|
|
1309
|
-
let o = e.previousVisibleSibling, u = e.nextVisibleSibling;
|
|
1310
|
-
o && e.ownerDocument.markDirty(o), u && e.ownerDocument.markDirty(u), e.isHidden = l, e.ownerDocument.markDirty(e);
|
|
1311
|
-
}
|
|
1312
|
-
}
|
|
1313
|
-
};
|
|
1314
|
-
}
|
|
1315
|
-
hasAttribute() {
|
|
1316
|
-
}
|
|
1317
|
-
setAttribute() {
|
|
1318
|
-
}
|
|
1319
|
-
setAttributeNS() {
|
|
1320
|
-
}
|
|
1321
|
-
removeAttribute() {
|
|
1322
|
-
}
|
|
1323
|
-
constructor(e, t) {
|
|
1324
|
-
super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.hasSetProps = !1, this.isHidden = !1, this.node = new Fe(e, `react-aria-${++t.nodeId}`);
|
|
1325
|
-
}
|
|
1326
|
-
}
|
|
1327
|
-
class Zl extends ht {
|
|
1328
|
-
get isConnected() {
|
|
1329
|
-
return this.isMounted;
|
|
1330
|
-
}
|
|
1331
|
-
createElement(e) {
|
|
1332
|
-
return new le(e, this);
|
|
1333
|
-
}
|
|
1334
|
-
getMutableCollection() {
|
|
1335
|
-
return this.nextCollection || (this.nextCollection = this.collection.clone()), this.nextCollection;
|
|
1336
|
-
}
|
|
1337
|
-
markDirty(e) {
|
|
1338
|
-
this.dirtyNodes.add(e);
|
|
1339
|
-
}
|
|
1340
|
-
addNode(e) {
|
|
1341
|
-
if (e.isHidden) return;
|
|
1342
|
-
let t = this.getMutableCollection();
|
|
1343
|
-
if (!t.getItem(e.node.key)) for (let l of e) this.addNode(l);
|
|
1344
|
-
t.addNode(e.node);
|
|
1345
|
-
}
|
|
1346
|
-
removeNode(e) {
|
|
1347
|
-
for (let l of e) this.removeNode(l);
|
|
1348
|
-
this.getMutableCollection().removeNode(e.node.key);
|
|
1349
|
-
}
|
|
1350
|
-
/** Finalizes the collection update, updating all nodes and freezing the collection. */
|
|
1351
|
-
getCollection() {
|
|
1352
|
-
return this.inSubscription ? this.collection.clone() : (this.queuedRender = !1, this.updateCollection(), this.collection);
|
|
1353
|
-
}
|
|
1354
|
-
updateCollection() {
|
|
1355
|
-
for (let n of this.dirtyNodes) n instanceof le && (!n.isConnected || n.isHidden) ? this.removeNode(n) : n.updateChildIndices();
|
|
1356
|
-
for (let n of this.dirtyNodes) n instanceof le && (n.isConnected && !n.isHidden && (n.updateNode(), this.addNode(n)), n.isMutated = !1);
|
|
1357
|
-
if (this.dirtyNodes.clear(), this.nextCollection) {
|
|
1358
|
-
var e, t, l, i;
|
|
1359
|
-
this.nextCollection.commit((l = (e = this.firstVisibleChild) === null || e === void 0 ? void 0 : e.node.key) !== null && l !== void 0 ? l : null, (i = (t = this.lastVisibleChild) === null || t === void 0 ? void 0 : t.node.key) !== null && i !== void 0 ? i : null, this.isSSR), this.isSSR || (this.collection = this.nextCollection, this.nextCollection = null);
|
|
1360
|
-
}
|
|
1361
|
-
}
|
|
1362
|
-
queueUpdate() {
|
|
1363
|
-
if (!(this.dirtyNodes.size === 0 || this.queuedRender)) {
|
|
1364
|
-
this.queuedRender = !0, this.inSubscription = !0;
|
|
1365
|
-
for (let e of this.subscriptions) e();
|
|
1366
|
-
this.inSubscription = !1;
|
|
1367
|
-
}
|
|
1368
|
-
}
|
|
1369
|
-
subscribe(e) {
|
|
1370
|
-
return this.subscriptions.add(e), () => this.subscriptions.delete(e);
|
|
1371
|
-
}
|
|
1372
|
-
resetAfterSSR() {
|
|
1373
|
-
this.isSSR && (this.isSSR = !1, this.firstChild = null, this.lastChild = null, this.nodeId = 0);
|
|
1374
|
-
}
|
|
1375
|
-
constructor(e) {
|
|
1376
|
-
super(null), this.nodeType = 11, this.ownerDocument = this, this.dirtyNodes = /* @__PURE__ */ new Set(), this.isSSR = !1, this.nodeId = 0, this.nodesByProps = /* @__PURE__ */ new WeakMap(), this.isMounted = !0, this.nextCollection = null, this.subscriptions = /* @__PURE__ */ new Set(), this.queuedRender = !1, this.inSubscription = !1, this.collection = e, this.nextCollection = e;
|
|
1377
|
-
}
|
|
1378
|
-
}
|
|
1379
|
-
function pt(r) {
|
|
1380
|
-
let { children: e, items: t, idScope: l, addIdAndValue: i, dependencies: n = [] } = r, o = N(() => /* @__PURE__ */ new WeakMap(), n);
|
|
1381
|
-
return N(() => {
|
|
1382
|
-
if (t && typeof e == "function") {
|
|
1383
|
-
let d = [];
|
|
1384
|
-
for (let m of t) {
|
|
1385
|
-
let p = o.get(m);
|
|
1386
|
-
if (!p) {
|
|
1387
|
-
p = e(m);
|
|
1388
|
-
var u, s;
|
|
1389
|
-
let h = (s = (u = p.props.id) !== null && u !== void 0 ? u : m.key) !== null && s !== void 0 ? s : m.id;
|
|
1390
|
-
if (h == null) throw new Error("Could not determine key for item");
|
|
1391
|
-
l && (h = l + ":" + h), p = Qe(p, i ? {
|
|
1392
|
-
key: h,
|
|
1393
|
-
id: h,
|
|
1394
|
-
value: m
|
|
1395
|
-
} : {
|
|
1396
|
-
key: h
|
|
1397
|
-
}), o.set(m, p);
|
|
1398
|
-
}
|
|
1399
|
-
d.push(p);
|
|
1400
|
-
}
|
|
1401
|
-
return d;
|
|
1402
|
-
} else if (typeof e != "function") return e;
|
|
1403
|
-
}, [
|
|
1404
|
-
e,
|
|
1405
|
-
t,
|
|
1406
|
-
o,
|
|
1407
|
-
l,
|
|
1408
|
-
i
|
|
1409
|
-
]);
|
|
1410
|
-
}
|
|
1411
|
-
const yt = /* @__PURE__ */ B(!1), ie = /* @__PURE__ */ B(null);
|
|
1412
|
-
function Qi(r) {
|
|
1413
|
-
if (Q(ie))
|
|
1414
|
-
return r.content;
|
|
1415
|
-
let { collection: t, document: l } = li(r.createCollection);
|
|
1416
|
-
return /* @__PURE__ */ S.createElement(S.Fragment, null, /* @__PURE__ */ S.createElement(wl, null, /* @__PURE__ */ S.createElement(ie.Provider, {
|
|
1417
|
-
value: l
|
|
1418
|
-
}, r.content)), /* @__PURE__ */ S.createElement(Ql, {
|
|
1419
|
-
render: r.children,
|
|
1420
|
-
collection: t
|
|
1421
|
-
}));
|
|
1422
|
-
}
|
|
1423
|
-
function Ql({ collection: r, render: e }) {
|
|
1424
|
-
return e(r);
|
|
1425
|
-
}
|
|
1426
|
-
function ei(r, e, t) {
|
|
1427
|
-
let l = at(), i = D(l);
|
|
1428
|
-
i.current = l;
|
|
1429
|
-
let n = G(() => i.current ? t() : e(), [
|
|
1430
|
-
e,
|
|
1431
|
-
t
|
|
1432
|
-
]);
|
|
1433
|
-
return Xl.useSyncExternalStore(r, n);
|
|
1434
|
-
}
|
|
1435
|
-
const ti = typeof S.useSyncExternalStore == "function" ? S.useSyncExternalStore : ei;
|
|
1436
|
-
function li(r) {
|
|
1437
|
-
let [e] = X(() => new Zl(r?.() || new Re())), t = G((o) => e.subscribe(o), [
|
|
1438
|
-
e
|
|
1439
|
-
]), l = G(() => {
|
|
1440
|
-
let o = e.getCollection();
|
|
1441
|
-
return e.isSSR && e.resetAfterSSR(), o;
|
|
1442
|
-
}, [
|
|
1443
|
-
e
|
|
1444
|
-
]), i = G(() => (e.isSSR = !0, e.getCollection()), [
|
|
1445
|
-
e
|
|
1446
|
-
]), n = ti(t, l, i);
|
|
1447
|
-
return xe(() => (e.isMounted = !0, () => {
|
|
1448
|
-
e.isMounted = !1;
|
|
1449
|
-
}), [
|
|
1450
|
-
e
|
|
1451
|
-
]), {
|
|
1452
|
-
collection: n,
|
|
1453
|
-
document: e
|
|
1454
|
-
};
|
|
1455
|
-
}
|
|
1456
|
-
const ke = /* @__PURE__ */ B(null);
|
|
1457
|
-
function vt(r, e, t, l, i, n) {
|
|
1458
|
-
let o = G((s) => {
|
|
1459
|
-
s?.setProps(e, t, l, n);
|
|
1460
|
-
}, [
|
|
1461
|
-
e,
|
|
1462
|
-
t,
|
|
1463
|
-
l,
|
|
1464
|
-
n
|
|
1465
|
-
]), u = Q(ke);
|
|
1466
|
-
if (u) {
|
|
1467
|
-
let s = u.ownerDocument.nodesByProps.get(e);
|
|
1468
|
-
return s || (s = u.ownerDocument.createElement(r), s.setProps(e, t, l, n), u.appendChild(s), u.ownerDocument.updateCollection(), u.ownerDocument.nodesByProps.set(e, s)), i ? /* @__PURE__ */ S.createElement(ke.Provider, {
|
|
1469
|
-
value: s
|
|
1470
|
-
}, i) : null;
|
|
1471
|
-
}
|
|
1472
|
-
return /* @__PURE__ */ S.createElement(r, {
|
|
1473
|
-
ref: o
|
|
1474
|
-
}, i);
|
|
1475
|
-
}
|
|
1476
|
-
function bt(r, e) {
|
|
1477
|
-
let t = ({ node: i }) => e(i.props, i.props.ref, i), l = et((i, n) => {
|
|
1478
|
-
let o = Q(Be);
|
|
1479
|
-
if (!Q(yt)) {
|
|
1480
|
-
if (e.length >= 3) throw new Error(e.name + " cannot be rendered outside a collection.");
|
|
1481
|
-
return e(i, n);
|
|
1482
|
-
}
|
|
1483
|
-
return vt(r, i, n, "children" in i ? i.children : null, null, (s) => (
|
|
1484
|
-
// Forward FocusableContext to real DOM tree so tooltips work.
|
|
1485
|
-
/* @__PURE__ */ S.createElement(Be.Provider, {
|
|
1486
|
-
value: o
|
|
1487
|
-
}, /* @__PURE__ */ S.createElement(t, {
|
|
1488
|
-
node: s
|
|
1489
|
-
}))
|
|
1490
|
-
));
|
|
1491
|
-
});
|
|
1492
|
-
return l.displayName = e.name, l;
|
|
1493
|
-
}
|
|
1494
|
-
function en(r, e, t = $t) {
|
|
1495
|
-
let l = ({ node: n }) => e(n.props, n.props.ref, n), i = et((n, o) => {
|
|
1496
|
-
let u = t(n);
|
|
1497
|
-
var s;
|
|
1498
|
-
return (s = vt(r, n, o, null, u, (d) => /* @__PURE__ */ S.createElement(l, {
|
|
1499
|
-
node: d
|
|
1500
|
-
}))) !== null && s !== void 0 ? s : /* @__PURE__ */ S.createElement(S.Fragment, null);
|
|
1501
|
-
});
|
|
1502
|
-
return i.displayName = e.name, i;
|
|
1503
|
-
}
|
|
1504
|
-
function $t(r) {
|
|
1505
|
-
return pt({
|
|
1506
|
-
...r,
|
|
1507
|
-
addIdAndValue: !0
|
|
1508
|
-
});
|
|
1509
|
-
}
|
|
1510
|
-
const Ye = /* @__PURE__ */ B(null);
|
|
1511
|
-
function tn(r) {
|
|
1512
|
-
let e = Q(Ye), t = (e?.dependencies || []).concat(r.dependencies), l = r.idScope || e?.idScope, i = $t({
|
|
1513
|
-
...r,
|
|
1514
|
-
idScope: l,
|
|
1515
|
-
dependencies: t
|
|
1516
|
-
});
|
|
1517
|
-
return Q(ie) && (i = /* @__PURE__ */ S.createElement(ii, null, i)), e = N(() => ({
|
|
1518
|
-
dependencies: t,
|
|
1519
|
-
idScope: l
|
|
1520
|
-
}), [
|
|
1521
|
-
l,
|
|
1522
|
-
...t
|
|
1523
|
-
]), /* @__PURE__ */ S.createElement(Ye.Provider, {
|
|
1524
|
-
value: e
|
|
1525
|
-
}, i);
|
|
1526
|
-
}
|
|
1527
|
-
function ii({ children: r }) {
|
|
1528
|
-
let e = Q(ie), t = N(() => /* @__PURE__ */ S.createElement(ie.Provider, {
|
|
1529
|
-
value: null
|
|
1530
|
-
}, /* @__PURE__ */ S.createElement(yt.Provider, {
|
|
1531
|
-
value: !0
|
|
1532
|
-
}, r)), [
|
|
1533
|
-
r
|
|
1534
|
-
]);
|
|
1535
|
-
return at() ? /* @__PURE__ */ S.createElement(ke.Provider, {
|
|
1536
|
-
value: e
|
|
1537
|
-
}, t) : /* @__PURE__ */ hl(t, e);
|
|
1538
|
-
}
|
|
1539
|
-
class z extends Set {
|
|
1540
|
-
constructor(e, t, l) {
|
|
1541
|
-
super(e), e instanceof z ? (this.anchorKey = t ?? e.anchorKey, this.currentKey = l ?? e.currentKey) : (this.anchorKey = t ?? null, this.currentKey = l ?? null);
|
|
1542
|
-
}
|
|
1543
|
-
}
|
|
1544
|
-
function ni(r, e) {
|
|
1545
|
-
if (r.size !== e.size) return !1;
|
|
1546
|
-
for (let t of r)
|
|
1547
|
-
if (!e.has(t)) return !1;
|
|
1548
|
-
return !0;
|
|
1549
|
-
}
|
|
1550
|
-
function ln(r) {
|
|
1551
|
-
let { selectionMode: e = "none", disallowEmptySelection: t = !1, allowDuplicateSelectionEvents: l, selectionBehavior: i = "toggle", disabledBehavior: n = "all" } = r, o = D(!1), [, u] = X(!1), s = D(null), d = D(null), [, m] = X(null), p = N(() => Je(r.selectedKeys), [
|
|
1552
|
-
r.selectedKeys
|
|
1553
|
-
]), h = N(() => Je(r.defaultSelectedKeys, new z()), [
|
|
1554
|
-
r.defaultSelectedKeys
|
|
1555
|
-
]), [y, v] = lt(p, h, r.onSelectionChange), K = N(() => r.disabledKeys ? new Set(r.disabledKeys) : /* @__PURE__ */ new Set(), [
|
|
1556
|
-
r.disabledKeys
|
|
1557
|
-
]), [$, g] = X(i);
|
|
1558
|
-
i === "replace" && $ === "toggle" && typeof y == "object" && y.size === 0 && g("replace");
|
|
1559
|
-
let w = D(i);
|
|
1560
|
-
return Z(() => {
|
|
1561
|
-
i !== w.current && (g(i), w.current = i);
|
|
1562
|
-
}, [
|
|
1563
|
-
i
|
|
1564
|
-
]), {
|
|
1565
|
-
selectionMode: e,
|
|
1566
|
-
disallowEmptySelection: t,
|
|
1567
|
-
selectionBehavior: $,
|
|
1568
|
-
setSelectionBehavior: g,
|
|
1569
|
-
get isFocused() {
|
|
1570
|
-
return o.current;
|
|
1571
|
-
},
|
|
1572
|
-
setFocused(C) {
|
|
1573
|
-
o.current = C, u(C);
|
|
1574
|
-
},
|
|
1575
|
-
get focusedKey() {
|
|
1576
|
-
return s.current;
|
|
1577
|
-
},
|
|
1578
|
-
get childFocusStrategy() {
|
|
1579
|
-
return d.current;
|
|
1580
|
-
},
|
|
1581
|
-
setFocusedKey(C, k = "first") {
|
|
1582
|
-
s.current = C, d.current = k, m(C);
|
|
1583
|
-
},
|
|
1584
|
-
selectedKeys: y,
|
|
1585
|
-
setSelectedKeys(C) {
|
|
1586
|
-
(l || !ni(C, y)) && v(C);
|
|
1587
|
-
},
|
|
1588
|
-
disabledKeys: K,
|
|
1589
|
-
disabledBehavior: n
|
|
1590
|
-
};
|
|
1591
|
-
}
|
|
1592
|
-
function Je(r, e) {
|
|
1593
|
-
return r ? r === "all" ? "all" : new z(r) : e;
|
|
1594
|
-
}
|
|
1595
|
-
class gt {
|
|
1596
|
-
/**
|
|
1597
|
-
* The type of selection that is allowed in the collection.
|
|
1598
|
-
*/
|
|
1599
|
-
get selectionMode() {
|
|
1600
|
-
return this.state.selectionMode;
|
|
1601
|
-
}
|
|
1602
|
-
/**
|
|
1603
|
-
* Whether the collection allows empty selection.
|
|
1604
|
-
*/
|
|
1605
|
-
get disallowEmptySelection() {
|
|
1606
|
-
return this.state.disallowEmptySelection;
|
|
1607
|
-
}
|
|
1608
|
-
/**
|
|
1609
|
-
* The selection behavior for the collection.
|
|
1610
|
-
*/
|
|
1611
|
-
get selectionBehavior() {
|
|
1612
|
-
return this.state.selectionBehavior;
|
|
1613
|
-
}
|
|
1614
|
-
/**
|
|
1615
|
-
* Sets the selection behavior for the collection.
|
|
1616
|
-
*/
|
|
1617
|
-
setSelectionBehavior(e) {
|
|
1618
|
-
this.state.setSelectionBehavior(e);
|
|
1619
|
-
}
|
|
1620
|
-
/**
|
|
1621
|
-
* Whether the collection is currently focused.
|
|
1622
|
-
*/
|
|
1623
|
-
get isFocused() {
|
|
1624
|
-
return this.state.isFocused;
|
|
1625
|
-
}
|
|
1626
|
-
/**
|
|
1627
|
-
* Sets whether the collection is focused.
|
|
1628
|
-
*/
|
|
1629
|
-
setFocused(e) {
|
|
1630
|
-
this.state.setFocused(e);
|
|
1631
|
-
}
|
|
1632
|
-
/**
|
|
1633
|
-
* The current focused key in the collection.
|
|
1634
|
-
*/
|
|
1635
|
-
get focusedKey() {
|
|
1636
|
-
return this.state.focusedKey;
|
|
1637
|
-
}
|
|
1638
|
-
/** Whether the first or last child of the focused key should receive focus. */
|
|
1639
|
-
get childFocusStrategy() {
|
|
1640
|
-
return this.state.childFocusStrategy;
|
|
1641
|
-
}
|
|
1642
|
-
/**
|
|
1643
|
-
* Sets the focused key.
|
|
1644
|
-
*/
|
|
1645
|
-
setFocusedKey(e, t) {
|
|
1646
|
-
(e == null || this.collection.getItem(e)) && this.state.setFocusedKey(e, t);
|
|
1647
|
-
}
|
|
1648
|
-
/**
|
|
1649
|
-
* The currently selected keys in the collection.
|
|
1650
|
-
*/
|
|
1651
|
-
get selectedKeys() {
|
|
1652
|
-
return this.state.selectedKeys === "all" ? new Set(this.getSelectAllKeys()) : this.state.selectedKeys;
|
|
1653
|
-
}
|
|
1654
|
-
/**
|
|
1655
|
-
* The raw selection value for the collection.
|
|
1656
|
-
* Either 'all' for select all, or a set of keys.
|
|
1657
|
-
*/
|
|
1658
|
-
get rawSelection() {
|
|
1659
|
-
return this.state.selectedKeys;
|
|
1660
|
-
}
|
|
1661
|
-
/**
|
|
1662
|
-
* Returns whether a key is selected.
|
|
1663
|
-
*/
|
|
1664
|
-
isSelected(e) {
|
|
1665
|
-
if (this.state.selectionMode === "none") return !1;
|
|
1666
|
-
let t = this.getKey(e);
|
|
1667
|
-
return t == null ? !1 : this.state.selectedKeys === "all" ? this.canSelectItem(t) : this.state.selectedKeys.has(t);
|
|
1668
|
-
}
|
|
1669
|
-
/**
|
|
1670
|
-
* Whether the selection is empty.
|
|
1671
|
-
*/
|
|
1672
|
-
get isEmpty() {
|
|
1673
|
-
return this.state.selectedKeys !== "all" && this.state.selectedKeys.size === 0;
|
|
1674
|
-
}
|
|
1675
|
-
/**
|
|
1676
|
-
* Whether all items in the collection are selected.
|
|
1677
|
-
*/
|
|
1678
|
-
get isSelectAll() {
|
|
1679
|
-
if (this.isEmpty) return !1;
|
|
1680
|
-
if (this.state.selectedKeys === "all") return !0;
|
|
1681
|
-
if (this._isSelectAll != null) return this._isSelectAll;
|
|
1682
|
-
let e = this.getSelectAllKeys(), t = this.state.selectedKeys;
|
|
1683
|
-
return this._isSelectAll = e.every((l) => t.has(l)), this._isSelectAll;
|
|
1684
|
-
}
|
|
1685
|
-
get firstSelectedKey() {
|
|
1686
|
-
let e = null;
|
|
1687
|
-
for (let l of this.state.selectedKeys) {
|
|
1688
|
-
let i = this.collection.getItem(l);
|
|
1689
|
-
(!e || i && be(this.collection, i, e) < 0) && (e = i);
|
|
1690
|
-
}
|
|
1691
|
-
var t;
|
|
1692
|
-
return (t = e?.key) !== null && t !== void 0 ? t : null;
|
|
1693
|
-
}
|
|
1694
|
-
get lastSelectedKey() {
|
|
1695
|
-
let e = null;
|
|
1696
|
-
for (let l of this.state.selectedKeys) {
|
|
1697
|
-
let i = this.collection.getItem(l);
|
|
1698
|
-
(!e || i && be(this.collection, i, e) > 0) && (e = i);
|
|
1699
|
-
}
|
|
1700
|
-
var t;
|
|
1701
|
-
return (t = e?.key) !== null && t !== void 0 ? t : null;
|
|
1702
|
-
}
|
|
1703
|
-
get disabledKeys() {
|
|
1704
|
-
return this.state.disabledKeys;
|
|
1705
|
-
}
|
|
1706
|
-
get disabledBehavior() {
|
|
1707
|
-
return this.state.disabledBehavior;
|
|
1708
|
-
}
|
|
1709
|
-
/**
|
|
1710
|
-
* Extends the selection to the given key.
|
|
1711
|
-
*/
|
|
1712
|
-
extendSelection(e) {
|
|
1713
|
-
if (this.selectionMode === "none") return;
|
|
1714
|
-
if (this.selectionMode === "single") {
|
|
1715
|
-
this.replaceSelection(e);
|
|
1716
|
-
return;
|
|
1717
|
-
}
|
|
1718
|
-
let t = this.getKey(e);
|
|
1719
|
-
if (t == null) return;
|
|
1720
|
-
let l;
|
|
1721
|
-
if (this.state.selectedKeys === "all") l = new z([
|
|
1722
|
-
t
|
|
1723
|
-
], t, t);
|
|
1724
|
-
else {
|
|
1725
|
-
let o = this.state.selectedKeys;
|
|
1726
|
-
var i;
|
|
1727
|
-
let u = (i = o.anchorKey) !== null && i !== void 0 ? i : t;
|
|
1728
|
-
l = new z(o, u, t);
|
|
1729
|
-
var n;
|
|
1730
|
-
for (let s of this.getKeyRange(u, (n = o.currentKey) !== null && n !== void 0 ? n : t)) l.delete(s);
|
|
1731
|
-
for (let s of this.getKeyRange(t, u)) this.canSelectItem(s) && l.add(s);
|
|
1732
|
-
}
|
|
1733
|
-
this.state.setSelectedKeys(l);
|
|
1734
|
-
}
|
|
1735
|
-
getKeyRange(e, t) {
|
|
1736
|
-
let l = this.collection.getItem(e), i = this.collection.getItem(t);
|
|
1737
|
-
return l && i ? be(this.collection, l, i) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
|
|
1738
|
-
}
|
|
1739
|
-
getKeyRangeInternal(e, t) {
|
|
1740
|
-
var l;
|
|
1741
|
-
if (!((l = this.layoutDelegate) === null || l === void 0) && l.getKeyRange) return this.layoutDelegate.getKeyRange(e, t);
|
|
1742
|
-
let i = [], n = e;
|
|
1743
|
-
for (; n != null; ) {
|
|
1744
|
-
let o = this.collection.getItem(n);
|
|
1745
|
-
if (o && (o.type === "item" || o.type === "cell" && this.allowsCellSelection) && i.push(n), n === t) return i;
|
|
1746
|
-
n = this.collection.getKeyAfter(n);
|
|
1747
|
-
}
|
|
1748
|
-
return [];
|
|
1749
|
-
}
|
|
1750
|
-
getKey(e) {
|
|
1751
|
-
let t = this.collection.getItem(e);
|
|
1752
|
-
if (!t || t.type === "cell" && this.allowsCellSelection) return e;
|
|
1753
|
-
for (; t && t.type !== "item" && t.parentKey != null; ) t = this.collection.getItem(t.parentKey);
|
|
1754
|
-
return !t || t.type !== "item" ? null : t.key;
|
|
1755
|
-
}
|
|
1756
|
-
/**
|
|
1757
|
-
* Toggles whether the given key is selected.
|
|
1758
|
-
*/
|
|
1759
|
-
toggleSelection(e) {
|
|
1760
|
-
if (this.selectionMode === "none") return;
|
|
1761
|
-
if (this.selectionMode === "single" && !this.isSelected(e)) {
|
|
1762
|
-
this.replaceSelection(e);
|
|
1763
|
-
return;
|
|
1764
|
-
}
|
|
1765
|
-
let t = this.getKey(e);
|
|
1766
|
-
if (t == null) return;
|
|
1767
|
-
let l = new z(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
|
|
1768
|
-
l.has(t) ? l.delete(t) : this.canSelectItem(t) && (l.add(t), l.anchorKey = t, l.currentKey = t), !(this.disallowEmptySelection && l.size === 0) && this.state.setSelectedKeys(l);
|
|
1769
|
-
}
|
|
1770
|
-
/**
|
|
1771
|
-
* Replaces the selection with only the given key.
|
|
1772
|
-
*/
|
|
1773
|
-
replaceSelection(e) {
|
|
1774
|
-
if (this.selectionMode === "none") return;
|
|
1775
|
-
let t = this.getKey(e);
|
|
1776
|
-
if (t == null) return;
|
|
1777
|
-
let l = this.canSelectItem(t) ? new z([
|
|
1778
|
-
t
|
|
1779
|
-
], t, t) : new z();
|
|
1780
|
-
this.state.setSelectedKeys(l);
|
|
1781
|
-
}
|
|
1782
|
-
/**
|
|
1783
|
-
* Replaces the selection with the given keys.
|
|
1784
|
-
*/
|
|
1785
|
-
setSelectedKeys(e) {
|
|
1786
|
-
if (this.selectionMode === "none") return;
|
|
1787
|
-
let t = new z();
|
|
1788
|
-
for (let l of e) {
|
|
1789
|
-
let i = this.getKey(l);
|
|
1790
|
-
if (i != null && (t.add(i), this.selectionMode === "single"))
|
|
1791
|
-
break;
|
|
1792
|
-
}
|
|
1793
|
-
this.state.setSelectedKeys(t);
|
|
1794
|
-
}
|
|
1795
|
-
getSelectAllKeys() {
|
|
1796
|
-
let e = [], t = (l) => {
|
|
1797
|
-
for (; l != null; ) {
|
|
1798
|
-
if (this.canSelectItem(l)) {
|
|
1799
|
-
var i;
|
|
1800
|
-
let o = this.collection.getItem(l);
|
|
1801
|
-
o?.type === "item" && e.push(l);
|
|
1802
|
-
var n;
|
|
1803
|
-
o?.hasChildNodes && (this.allowsCellSelection || o.type !== "item") && t((n = (i = Gl(ft(o, this.collection))) === null || i === void 0 ? void 0 : i.key) !== null && n !== void 0 ? n : null);
|
|
1804
|
-
}
|
|
1805
|
-
l = this.collection.getKeyAfter(l);
|
|
1806
|
-
}
|
|
1807
|
-
};
|
|
1808
|
-
return t(this.collection.getFirstKey()), e;
|
|
1809
|
-
}
|
|
1810
|
-
/**
|
|
1811
|
-
* Selects all items in the collection.
|
|
1812
|
-
*/
|
|
1813
|
-
selectAll() {
|
|
1814
|
-
!this.isSelectAll && this.selectionMode === "multiple" && this.state.setSelectedKeys("all");
|
|
1815
|
-
}
|
|
1816
|
-
/**
|
|
1817
|
-
* Removes all keys from the selection.
|
|
1818
|
-
*/
|
|
1819
|
-
clearSelection() {
|
|
1820
|
-
!this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new z());
|
|
1821
|
-
}
|
|
1822
|
-
/**
|
|
1823
|
-
* Toggles between select all and an empty selection.
|
|
1824
|
-
*/
|
|
1825
|
-
toggleSelectAll() {
|
|
1826
|
-
this.isSelectAll ? this.clearSelection() : this.selectAll();
|
|
1827
|
-
}
|
|
1828
|
-
select(e, t) {
|
|
1829
|
-
this.selectionMode !== "none" && (this.selectionMode === "single" ? this.isSelected(e) && !this.disallowEmptySelection ? this.toggleSelection(e) : this.replaceSelection(e) : this.selectionBehavior === "toggle" || t && (t.pointerType === "touch" || t.pointerType === "virtual") ? this.toggleSelection(e) : this.replaceSelection(e));
|
|
1830
|
-
}
|
|
1831
|
-
/**
|
|
1832
|
-
* Returns whether the current selection is equal to the given selection.
|
|
1833
|
-
*/
|
|
1834
|
-
isSelectionEqual(e) {
|
|
1835
|
-
if (e === this.state.selectedKeys) return !0;
|
|
1836
|
-
let t = this.selectedKeys;
|
|
1837
|
-
if (e.size !== t.size) return !1;
|
|
1838
|
-
for (let l of e)
|
|
1839
|
-
if (!t.has(l)) return !1;
|
|
1840
|
-
for (let l of t)
|
|
1841
|
-
if (!e.has(l)) return !1;
|
|
1842
|
-
return !0;
|
|
1843
|
-
}
|
|
1844
|
-
canSelectItem(e) {
|
|
1845
|
-
var t;
|
|
1846
|
-
if (this.state.selectionMode === "none" || this.state.disabledKeys.has(e)) return !1;
|
|
1847
|
-
let l = this.collection.getItem(e);
|
|
1848
|
-
return !(!l || !(l == null || (t = l.props) === null || t === void 0) && t.isDisabled || l.type === "cell" && !this.allowsCellSelection);
|
|
1849
|
-
}
|
|
1850
|
-
isDisabled(e) {
|
|
1851
|
-
var t, l;
|
|
1852
|
-
return this.state.disabledBehavior === "all" && (this.state.disabledKeys.has(e) || !!(!((l = this.collection.getItem(e)) === null || l === void 0 || (t = l.props) === null || t === void 0) && t.isDisabled));
|
|
1853
|
-
}
|
|
1854
|
-
isLink(e) {
|
|
1855
|
-
var t, l;
|
|
1856
|
-
return !!(!((l = this.collection.getItem(e)) === null || l === void 0 || (t = l.props) === null || t === void 0) && t.href);
|
|
1857
|
-
}
|
|
1858
|
-
getItemProps(e) {
|
|
1859
|
-
var t;
|
|
1860
|
-
return (t = this.collection.getItem(e)) === null || t === void 0 ? void 0 : t.props;
|
|
1861
|
-
}
|
|
1862
|
-
withCollection(e) {
|
|
1863
|
-
return new gt(e, this.state, {
|
|
1864
|
-
allowsCellSelection: this.allowsCellSelection,
|
|
1865
|
-
layoutDelegate: this.layoutDelegate || void 0
|
|
1866
|
-
});
|
|
1867
|
-
}
|
|
1868
|
-
constructor(e, t, l) {
|
|
1869
|
-
this.collection = e, this.state = t;
|
|
1870
|
-
var i;
|
|
1871
|
-
this.allowsCellSelection = (i = l?.allowsCellSelection) !== null && i !== void 0 ? i : !1, this._isSelectAll = null, this.layoutDelegate = l?.layoutDelegate || null;
|
|
1872
|
-
}
|
|
1873
|
-
}
|
|
1874
|
-
const ri = /* @__PURE__ */ B(null), mt = /* @__PURE__ */ B(null), nn = /* @__PURE__ */ El(function(e, t) {
|
|
1875
|
-
[e, t] = se(e, t, mt);
|
|
1876
|
-
let { validationBehavior: l } = it(ml) || {};
|
|
1877
|
-
var i, n;
|
|
1878
|
-
let o = (n = (i = e.validationBehavior) !== null && i !== void 0 ? i : l) !== null && n !== void 0 ? n : "native", u = D(null), [s, d] = se({}, u, Ce), [m, p] = bl(!e["aria-label"] && !e["aria-labelledby"]), [h, y] = X("input"), { labelProps: v, inputProps: K, descriptionProps: $, errorMessageProps: g, ...w } = Dl({
|
|
1879
|
-
...nt(e),
|
|
1880
|
-
inputElementType: h,
|
|
1881
|
-
label: p,
|
|
1882
|
-
validationBehavior: o
|
|
1883
|
-
}, d), C = G((P) => {
|
|
1884
|
-
d.current = P, P && y(P instanceof HTMLTextAreaElement ? "textarea" : "input");
|
|
1885
|
-
}, [
|
|
1886
|
-
d
|
|
1887
|
-
]), k = $l({
|
|
1888
|
-
...e,
|
|
1889
|
-
values: {
|
|
1890
|
-
isDisabled: e.isDisabled || !1,
|
|
1891
|
-
isInvalid: w.isInvalid,
|
|
1892
|
-
isReadOnly: e.isReadOnly || !1,
|
|
1893
|
-
isRequired: e.isRequired || !1
|
|
1894
|
-
},
|
|
1895
|
-
defaultClassName: "react-aria-TextField"
|
|
1896
|
-
}), F = ot(e);
|
|
1897
|
-
return delete F.id, /* @__PURE__ */ S.createElement("div", {
|
|
1898
|
-
...F,
|
|
1899
|
-
...k,
|
|
1900
|
-
ref: t,
|
|
1901
|
-
slot: e.slot || void 0,
|
|
1902
|
-
"data-disabled": e.isDisabled || void 0,
|
|
1903
|
-
"data-invalid": w.isInvalid || void 0,
|
|
1904
|
-
"data-readonly": e.isReadOnly || void 0,
|
|
1905
|
-
"data-required": e.isRequired || void 0
|
|
1906
|
-
}, /* @__PURE__ */ S.createElement(rt, {
|
|
1907
|
-
values: [
|
|
1908
|
-
[
|
|
1909
|
-
Sl,
|
|
1910
|
-
{
|
|
1911
|
-
...v,
|
|
1912
|
-
ref: m
|
|
1913
|
-
}
|
|
1914
|
-
],
|
|
1915
|
-
[
|
|
1916
|
-
Ce,
|
|
1917
|
-
{
|
|
1918
|
-
...ee(K, s),
|
|
1919
|
-
ref: C
|
|
1920
|
-
}
|
|
1921
|
-
],
|
|
1922
|
-
[
|
|
1923
|
-
Kl,
|
|
1924
|
-
{
|
|
1925
|
-
...K,
|
|
1926
|
-
ref: C
|
|
1927
|
-
}
|
|
1928
|
-
],
|
|
1929
|
-
[
|
|
1930
|
-
Cl,
|
|
1931
|
-
{
|
|
1932
|
-
slots: {
|
|
1933
|
-
description: $,
|
|
1934
|
-
errorMessage: g
|
|
1935
|
-
}
|
|
1936
|
-
}
|
|
1937
|
-
],
|
|
1938
|
-
[
|
|
1939
|
-
xl,
|
|
1940
|
-
w
|
|
1941
|
-
]
|
|
1942
|
-
]
|
|
1943
|
-
}, k.children));
|
|
1944
|
-
});
|
|
1945
|
-
var xt = {};
|
|
1946
|
-
xt = {
|
|
1947
|
-
collectionLabel: "مقترحات"
|
|
1948
|
-
};
|
|
1949
|
-
var St = {};
|
|
1950
|
-
St = {
|
|
1951
|
-
collectionLabel: "Предложения"
|
|
1952
|
-
};
|
|
1953
|
-
var Kt = {};
|
|
1954
|
-
Kt = {
|
|
1955
|
-
collectionLabel: "Návrhy"
|
|
1956
|
-
};
|
|
1957
|
-
var Ct = {};
|
|
1958
|
-
Ct = {
|
|
1959
|
-
collectionLabel: "Forslag"
|
|
1960
|
-
};
|
|
1961
|
-
var wt = {};
|
|
1962
|
-
wt = {
|
|
1963
|
-
collectionLabel: "Empfehlungen"
|
|
1964
|
-
};
|
|
1965
|
-
var Et = {};
|
|
1966
|
-
Et = {
|
|
1967
|
-
collectionLabel: "Προτάσεις"
|
|
1968
|
-
};
|
|
1969
|
-
var Dt = {};
|
|
1970
|
-
Dt = {
|
|
1971
|
-
collectionLabel: "Suggestions"
|
|
1972
|
-
};
|
|
1973
|
-
var kt = {};
|
|
1974
|
-
kt = {
|
|
1975
|
-
collectionLabel: "Sugerencias"
|
|
1976
|
-
};
|
|
1977
|
-
var It = {};
|
|
1978
|
-
It = {
|
|
1979
|
-
collectionLabel: "Soovitused"
|
|
1980
|
-
};
|
|
1981
|
-
var Pt = {};
|
|
1982
|
-
Pt = {
|
|
1983
|
-
collectionLabel: "Ehdotukset"
|
|
1984
|
-
};
|
|
1985
|
-
var Ft = {};
|
|
1986
|
-
Ft = {
|
|
1987
|
-
collectionLabel: "Suggestions"
|
|
1988
|
-
};
|
|
1989
|
-
var Rt = {};
|
|
1990
|
-
Rt = {
|
|
1991
|
-
collectionLabel: "הצעות"
|
|
1992
|
-
};
|
|
1993
|
-
var Tt = {};
|
|
1994
|
-
Tt = {
|
|
1995
|
-
collectionLabel: "Prijedlozi"
|
|
1996
|
-
};
|
|
1997
|
-
var At = {};
|
|
1998
|
-
At = {
|
|
1999
|
-
collectionLabel: "Javaslatok"
|
|
2000
|
-
};
|
|
2001
|
-
var Lt = {};
|
|
2002
|
-
Lt = {
|
|
2003
|
-
collectionLabel: "Suggerimenti"
|
|
2004
|
-
};
|
|
2005
|
-
var Mt = {};
|
|
2006
|
-
Mt = {
|
|
2007
|
-
collectionLabel: "候補"
|
|
2008
|
-
};
|
|
2009
|
-
var Bt = {};
|
|
2010
|
-
Bt = {
|
|
2011
|
-
collectionLabel: "제안"
|
|
2012
|
-
};
|
|
2013
|
-
var Ot = {};
|
|
2014
|
-
Ot = {
|
|
2015
|
-
collectionLabel: "Pasiūlymai"
|
|
2016
|
-
};
|
|
2017
|
-
var Nt = {};
|
|
2018
|
-
Nt = {
|
|
2019
|
-
collectionLabel: "Ieteikumi"
|
|
2020
|
-
};
|
|
2021
|
-
var Vt = {};
|
|
2022
|
-
Vt = {
|
|
2023
|
-
collectionLabel: "Forslag"
|
|
2024
|
-
};
|
|
2025
|
-
var zt = {};
|
|
2026
|
-
zt = {
|
|
2027
|
-
collectionLabel: "Suggesties"
|
|
2028
|
-
};
|
|
2029
|
-
var Ut = {};
|
|
2030
|
-
Ut = {
|
|
2031
|
-
collectionLabel: "Sugestie"
|
|
2032
|
-
};
|
|
2033
|
-
var Ht = {};
|
|
2034
|
-
Ht = {
|
|
2035
|
-
collectionLabel: "Sugestões"
|
|
2036
|
-
};
|
|
2037
|
-
var qt = {};
|
|
2038
|
-
qt = {
|
|
2039
|
-
collectionLabel: "Sugestões"
|
|
2040
|
-
};
|
|
2041
|
-
var Wt = {};
|
|
2042
|
-
Wt = {
|
|
2043
|
-
collectionLabel: "Sugestii"
|
|
2044
|
-
};
|
|
2045
|
-
var Gt = {};
|
|
2046
|
-
Gt = {
|
|
2047
|
-
collectionLabel: "Предложения"
|
|
2048
|
-
};
|
|
2049
|
-
var _t = {};
|
|
2050
|
-
_t = {
|
|
2051
|
-
collectionLabel: "Návrhy"
|
|
2052
|
-
};
|
|
2053
|
-
var jt = {};
|
|
2054
|
-
jt = {
|
|
2055
|
-
collectionLabel: "Predlogi"
|
|
2056
|
-
};
|
|
2057
|
-
var Yt = {};
|
|
2058
|
-
Yt = {
|
|
2059
|
-
collectionLabel: "Predlozi"
|
|
2060
|
-
};
|
|
2061
|
-
var Jt = {};
|
|
2062
|
-
Jt = {
|
|
2063
|
-
collectionLabel: "Förslag"
|
|
2064
|
-
};
|
|
2065
|
-
var Xt = {};
|
|
2066
|
-
Xt = {
|
|
2067
|
-
collectionLabel: "Öneriler"
|
|
2068
|
-
};
|
|
2069
|
-
var Zt = {};
|
|
2070
|
-
Zt = {
|
|
2071
|
-
collectionLabel: "Пропозиції"
|
|
2072
|
-
};
|
|
2073
|
-
var Qt = {};
|
|
2074
|
-
Qt = {
|
|
2075
|
-
collectionLabel: "建议"
|
|
2076
|
-
};
|
|
2077
|
-
var el = {};
|
|
2078
|
-
el = {
|
|
2079
|
-
collectionLabel: "建議"
|
|
2080
|
-
};
|
|
2081
|
-
var tl = {};
|
|
2082
|
-
tl = {
|
|
2083
|
-
"ar-AE": xt,
|
|
2084
|
-
"bg-BG": St,
|
|
2085
|
-
"cs-CZ": Kt,
|
|
2086
|
-
"da-DK": Ct,
|
|
2087
|
-
"de-DE": wt,
|
|
2088
|
-
"el-GR": Et,
|
|
2089
|
-
"en-US": Dt,
|
|
2090
|
-
"es-ES": kt,
|
|
2091
|
-
"et-EE": It,
|
|
2092
|
-
"fi-FI": Pt,
|
|
2093
|
-
"fr-FR": Ft,
|
|
2094
|
-
"he-IL": Rt,
|
|
2095
|
-
"hr-HR": Tt,
|
|
2096
|
-
"hu-HU": At,
|
|
2097
|
-
"it-IT": Lt,
|
|
2098
|
-
"ja-JP": Mt,
|
|
2099
|
-
"ko-KR": Bt,
|
|
2100
|
-
"lt-LT": Ot,
|
|
2101
|
-
"lv-LV": Nt,
|
|
2102
|
-
"nb-NO": Vt,
|
|
2103
|
-
"nl-NL": zt,
|
|
2104
|
-
"pl-PL": Ut,
|
|
2105
|
-
"pt-BR": Ht,
|
|
2106
|
-
"pt-PT": qt,
|
|
2107
|
-
"ro-RO": Wt,
|
|
2108
|
-
"ru-RU": Gt,
|
|
2109
|
-
"sk-SK": _t,
|
|
2110
|
-
"sl-SI": jt,
|
|
2111
|
-
"sr-SP": Yt,
|
|
2112
|
-
"sv-SE": Jt,
|
|
2113
|
-
"tr-TR": Xt,
|
|
2114
|
-
"uk-UA": Zt,
|
|
2115
|
-
"zh-CN": Qt,
|
|
2116
|
-
"zh-TW": el
|
|
2117
|
-
};
|
|
2118
|
-
function oi(r) {
|
|
2119
|
-
return r && r.__esModule ? r.default : r;
|
|
2120
|
-
}
|
|
2121
|
-
function si(r, e) {
|
|
2122
|
-
let { inputRef: t, collectionRef: l, filter: i, disableAutoFocusFirst: n = !1 } = r, o = Ie(), u = D(void 0), s = D(!1), d = D(null), m = D(null), p = Se() !== "virtual";
|
|
2123
|
-
Z(() => () => clearTimeout(u.current), []);
|
|
2124
|
-
let h = te((f) => {
|
|
2125
|
-
!f.isTrusted && p && t.current && Ke(st(t.current)) !== t.current && t.current.focus();
|
|
2126
|
-
let x = f.target;
|
|
2127
|
-
f.isTrusted || !x || d.current === x.id || (clearTimeout(u.current), x !== l.current ? s.current ? (d.current = x.id, u.current = setTimeout(() => {
|
|
2128
|
-
e.setFocusedNodeId(x.id);
|
|
2129
|
-
}, 500)) : (d.current = x.id, e.setFocusedNodeId(x.id)) : (d.current = null, e.setFocusedNodeId(null)), s.current = !1);
|
|
2130
|
-
}), y = G((f) => {
|
|
2131
|
-
var x;
|
|
2132
|
-
if (f != null) {
|
|
2133
|
-
var I;
|
|
2134
|
-
(I = m.current) === null || I === void 0 || I.removeEventListener("focusin", h), m.current = f, f.addEventListener("focusin", h);
|
|
2135
|
-
} else (x = m.current) === null || x === void 0 || x.removeEventListener("focusin", h);
|
|
2136
|
-
}, [
|
|
2137
|
-
h
|
|
2138
|
-
]), v = Il(N(() => gl(l, y), [
|
|
2139
|
-
l,
|
|
2140
|
-
y
|
|
2141
|
-
])), K = te(() => {
|
|
2142
|
-
var f;
|
|
2143
|
-
s.current = !0, (f = l.current) === null || f === void 0 || f.dispatchEvent(new CustomEvent(we, {
|
|
2144
|
-
cancelable: !0,
|
|
2145
|
-
bubbles: !0,
|
|
2146
|
-
detail: {
|
|
2147
|
-
focusStrategy: "first"
|
|
2148
|
-
}
|
|
2149
|
-
}));
|
|
2150
|
-
}), $ = te((f) => {
|
|
2151
|
-
var x;
|
|
2152
|
-
Pe(Ke()), d.current = null, e.setFocusedNodeId(null);
|
|
2153
|
-
let I = new CustomEvent(ut, {
|
|
2154
|
-
cancelable: !0,
|
|
2155
|
-
bubbles: !0,
|
|
2156
|
-
detail: {
|
|
2157
|
-
clearFocusKey: f
|
|
2158
|
-
}
|
|
2159
|
-
});
|
|
2160
|
-
clearTimeout(u.current), s.current = !1, (x = l.current) === null || x === void 0 || x.dispatchEvent(I);
|
|
2161
|
-
}), g = (f) => {
|
|
2162
|
-
e.inputValue !== f && e.inputValue.length <= f.length && !n ? K() : $(!0), e.setInputValue(f);
|
|
2163
|
-
}, w = D(null), C = (f) => {
|
|
2164
|
-
var x;
|
|
2165
|
-
if (w.current = f.target, f.nativeEvent.isComposing) return;
|
|
2166
|
-
let I = d.current;
|
|
2167
|
-
switch (f.key) {
|
|
2168
|
-
case "a":
|
|
2169
|
-
if (J(f)) return;
|
|
2170
|
-
break;
|
|
2171
|
-
case "Escape":
|
|
2172
|
-
if (f.isDefaultPrevented()) return;
|
|
2173
|
-
break;
|
|
2174
|
-
case " ":
|
|
2175
|
-
return;
|
|
2176
|
-
case "Tab":
|
|
2177
|
-
"continuePropagation" in f && f.continuePropagation();
|
|
2178
|
-
return;
|
|
2179
|
-
case "Home":
|
|
2180
|
-
case "End":
|
|
2181
|
-
case "PageDown":
|
|
2182
|
-
case "PageUp":
|
|
2183
|
-
case "ArrowUp":
|
|
2184
|
-
case "ArrowDown": {
|
|
2185
|
-
var V;
|
|
2186
|
-
if ((f.key === "Home" || f.key === "End") && I == null && f.shiftKey) return;
|
|
2187
|
-
f.preventDefault();
|
|
2188
|
-
let H = new CustomEvent(we, {
|
|
2189
|
-
cancelable: !0,
|
|
2190
|
-
bubbles: !0
|
|
2191
|
-
});
|
|
2192
|
-
(V = l.current) === null || V === void 0 || V.dispatchEvent(H);
|
|
2193
|
-
break;
|
|
2194
|
-
}
|
|
2195
|
-
}
|
|
2196
|
-
f.isPropagationStopped() || f.stopPropagation();
|
|
2197
|
-
let q = !0;
|
|
2198
|
-
if (I == null) q = ((x = l.current) === null || x === void 0 ? void 0 : x.dispatchEvent(new KeyboardEvent(f.nativeEvent.type, f.nativeEvent))) || !1;
|
|
2199
|
-
else {
|
|
2200
|
-
let H = document.getElementById(I);
|
|
2201
|
-
q = H?.dispatchEvent(new KeyboardEvent(f.nativeEvent.type, f.nativeEvent)) || !1;
|
|
2202
|
-
}
|
|
2203
|
-
if (q) switch (f.key) {
|
|
2204
|
-
case "ArrowLeft":
|
|
2205
|
-
case "ArrowRight":
|
|
2206
|
-
$();
|
|
2207
|
-
break;
|
|
2208
|
-
}
|
|
2209
|
-
}, k = te((f) => {
|
|
2210
|
-
if (f.target === w.current) {
|
|
2211
|
-
var x;
|
|
2212
|
-
f.stopImmediatePropagation();
|
|
2213
|
-
let I = d.current;
|
|
2214
|
-
if (I == null) (x = l.current) === null || x === void 0 || x.dispatchEvent(new KeyboardEvent(f.type, f));
|
|
2215
|
-
else {
|
|
2216
|
-
let V = document.getElementById(I);
|
|
2217
|
-
V?.dispatchEvent(new KeyboardEvent(f.type, f));
|
|
2218
|
-
}
|
|
2219
|
-
}
|
|
2220
|
-
});
|
|
2221
|
-
Z(() => (document.addEventListener("keyup", k, !0), () => {
|
|
2222
|
-
document.removeEventListener("keyup", k, !0);
|
|
2223
|
-
}), [
|
|
2224
|
-
k
|
|
2225
|
-
]);
|
|
2226
|
-
let F = Pl(oi(tl), "@react-aria/autocomplete"), P = kl({
|
|
2227
|
-
id: o,
|
|
2228
|
-
"aria-label": F.format("collectionLabel")
|
|
2229
|
-
}), O = G((f) => i ? i(f, e.inputValue) : !0, [
|
|
2230
|
-
e.inputValue,
|
|
2231
|
-
i
|
|
2232
|
-
]), R = (f) => {
|
|
2233
|
-
if (!f.isTrusted) return;
|
|
2234
|
-
let x = d.current ? document.getElementById(d.current) : null;
|
|
2235
|
-
x && Ee(x, f.relatedTarget);
|
|
2236
|
-
}, _ = (f) => {
|
|
2237
|
-
if (!f.isTrusted) return;
|
|
2238
|
-
let x = d.current ? document.getElementById(d.current) : null;
|
|
2239
|
-
if (x) {
|
|
2240
|
-
let I = f.target;
|
|
2241
|
-
queueMicrotask(() => {
|
|
2242
|
-
Ee(I, x), ct(x, I);
|
|
2243
|
-
});
|
|
2244
|
-
}
|
|
2245
|
-
};
|
|
2246
|
-
var L;
|
|
2247
|
-
return {
|
|
2248
|
-
textFieldProps: {
|
|
2249
|
-
value: e.inputValue,
|
|
2250
|
-
onChange: g,
|
|
2251
|
-
onKeyDown: C,
|
|
2252
|
-
autoComplete: "off",
|
|
2253
|
-
"aria-haspopup": "listbox",
|
|
2254
|
-
"aria-controls": o,
|
|
2255
|
-
// TODO: readd proper logic for completionMode = complete (aria-autocomplete: both)
|
|
2256
|
-
"aria-autocomplete": "list",
|
|
2257
|
-
"aria-activedescendant": (L = e.focusedNodeId) !== null && L !== void 0 ? L : void 0,
|
|
2258
|
-
// This disable's iOS's autocorrect suggestions, since the autocomplete provides its own suggestions.
|
|
2259
|
-
autoCorrect: "off",
|
|
2260
|
-
// This disable's the macOS Safari spell check auto corrections.
|
|
2261
|
-
spellCheck: "false",
|
|
2262
|
-
enterKeyHint: "go",
|
|
2263
|
-
onBlur: R,
|
|
2264
|
-
onFocus: _
|
|
2265
|
-
},
|
|
2266
|
-
collectionProps: ee(P, {
|
|
2267
|
-
shouldUseVirtualFocus: p,
|
|
2268
|
-
disallowTypeAhead: !0
|
|
2269
|
-
}),
|
|
2270
|
-
collectionRef: v,
|
|
2271
|
-
filter: i != null ? O : void 0
|
|
2272
|
-
};
|
|
2273
|
-
}
|
|
2274
|
-
function ai(r) {
|
|
2275
|
-
let { onInputChange: e, inputValue: t, defaultInputValue: l = "" } = r, i = (d) => {
|
|
2276
|
-
e && e(d);
|
|
2277
|
-
}, [n, o] = X(null), [u, s] = lt(t, l, i);
|
|
2278
|
-
return {
|
|
2279
|
-
inputValue: u,
|
|
2280
|
-
setInputValue: s,
|
|
2281
|
-
focusedNodeId: n,
|
|
2282
|
-
setFocusedNodeId: o
|
|
2283
|
-
};
|
|
2284
|
-
}
|
|
2285
|
-
const ui = /* @__PURE__ */ B(null), ci = /* @__PURE__ */ B(null), di = /* @__PURE__ */ B(null);
|
|
2286
|
-
function rn(r) {
|
|
2287
|
-
let e = it(ui, r.slot);
|
|
2288
|
-
r = ee(e, r);
|
|
2289
|
-
let { filter: t, disableAutoFocusFirst: l } = r, i = ai(r), n = D(null), o = D(null), { textFieldProps: u, collectionProps: s, collectionRef: d, filter: m } = si({
|
|
2290
|
-
...nt(r),
|
|
2291
|
-
filter: t,
|
|
2292
|
-
disableAutoFocusFirst: l,
|
|
2293
|
-
inputRef: n,
|
|
2294
|
-
collectionRef: o
|
|
2295
|
-
}, i);
|
|
2296
|
-
return /* @__PURE__ */ S.createElement(rt, {
|
|
2297
|
-
values: [
|
|
2298
|
-
[
|
|
2299
|
-
ci,
|
|
2300
|
-
i
|
|
2301
|
-
],
|
|
2302
|
-
[
|
|
2303
|
-
ri,
|
|
2304
|
-
u
|
|
2305
|
-
],
|
|
2306
|
-
[
|
|
2307
|
-
mt,
|
|
2308
|
-
u
|
|
2309
|
-
],
|
|
2310
|
-
[
|
|
2311
|
-
Ce,
|
|
2312
|
-
{
|
|
2313
|
-
ref: n
|
|
2314
|
-
}
|
|
2315
|
-
],
|
|
2316
|
-
[
|
|
2317
|
-
di,
|
|
2318
|
-
{
|
|
2319
|
-
filter: m,
|
|
2320
|
-
collectionProps: s,
|
|
2321
|
-
collectionRef: d
|
|
2322
|
-
}
|
|
2323
|
-
]
|
|
2324
|
-
]
|
|
2325
|
-
}, r.children);
|
|
2326
|
-
}
|
|
2327
|
-
const on = /* @__PURE__ */ B(null), fi = {
|
|
2328
|
-
CollectionRoot({ collection: r, renderDropIndicator: e }) {
|
|
2329
|
-
return Xe(r, null, e);
|
|
2330
|
-
},
|
|
2331
|
-
CollectionBranch({ collection: r, parent: e, renderDropIndicator: t }) {
|
|
2332
|
-
return Xe(r, e, t);
|
|
2333
|
-
}
|
|
2334
|
-
};
|
|
2335
|
-
function Xe(r, e, t) {
|
|
2336
|
-
return pt({
|
|
2337
|
-
items: e ? r.getChildren(e.key) : r,
|
|
2338
|
-
dependencies: [
|
|
2339
|
-
t
|
|
2340
|
-
],
|
|
2341
|
-
children(l) {
|
|
2342
|
-
let i = l.render(l);
|
|
2343
|
-
return !t || l.type !== "item" ? i : /* @__PURE__ */ S.createElement(S.Fragment, null, t({
|
|
2344
|
-
type: "item",
|
|
2345
|
-
key: l.key,
|
|
2346
|
-
dropPosition: "before"
|
|
2347
|
-
}), i, hi(r, l, t));
|
|
2348
|
-
}
|
|
2349
|
-
});
|
|
2350
|
-
}
|
|
2351
|
-
function hi(r, e, t) {
|
|
2352
|
-
let l = e.key, i = r.getKeyAfter(l), n = i != null ? r.getItem(i) : null;
|
|
2353
|
-
for (; n != null && n.type !== "item"; )
|
|
2354
|
-
i = r.getKeyAfter(n.key), n = i != null ? r.getItem(i) : null;
|
|
2355
|
-
let o = e.nextKey != null ? r.getItem(e.nextKey) : null;
|
|
2356
|
-
for (; o != null && o.type !== "item"; ) o = o.nextKey != null ? r.getItem(o.nextKey) : null;
|
|
2357
|
-
let u = [];
|
|
2358
|
-
if (o == null) {
|
|
2359
|
-
let s = e;
|
|
2360
|
-
for (; s && (!n || s.parentKey !== n.parentKey && n.level < s.level); ) {
|
|
2361
|
-
let d = t({
|
|
2362
|
-
type: "item",
|
|
2363
|
-
key: s.key,
|
|
2364
|
-
dropPosition: "after"
|
|
2365
|
-
});
|
|
2366
|
-
/* @__PURE__ */ sl(d) && u.push(/* @__PURE__ */ Qe(d, {
|
|
2367
|
-
key: `${s.key}-after`
|
|
2368
|
-
})), s = s.parentKey != null ? r.getItem(s.parentKey) : null;
|
|
2369
|
-
}
|
|
2370
|
-
}
|
|
2371
|
-
return u;
|
|
2372
|
-
}
|
|
2373
|
-
const sn = /* @__PURE__ */ B(fi);
|
|
2374
|
-
function an(r) {
|
|
2375
|
-
return N(() => r != null ? /* @__PURE__ */ new Set([
|
|
2376
|
-
r
|
|
2377
|
-
]) : null, [
|
|
2378
|
-
r
|
|
2379
|
-
]);
|
|
2380
|
-
}
|
|
2381
|
-
const pi = /* @__PURE__ */ B({}), un = /* @__PURE__ */ bt("header", function(e, t) {
|
|
2382
|
-
return [e, t] = se(e, t, pi), /* @__PURE__ */ S.createElement("header", {
|
|
2383
|
-
className: "react-aria-Header",
|
|
2384
|
-
...e,
|
|
2385
|
-
ref: t
|
|
2386
|
-
}, e.children);
|
|
2387
|
-
}), yi = /* @__PURE__ */ B({}), cn = /* @__PURE__ */ bt("separator", function(e, t) {
|
|
2388
|
-
[e, t] = se(e, t, yi);
|
|
2389
|
-
let { elementType: l, orientation: i, style: n, className: o, slot: u, ...s } = e, d = l || "hr";
|
|
2390
|
-
d === "hr" && i === "vertical" && (d = "div");
|
|
2391
|
-
let { separatorProps: m } = Fl({
|
|
2392
|
-
...s,
|
|
2393
|
-
elementType: l,
|
|
2394
|
-
orientation: i
|
|
2395
|
-
});
|
|
2396
|
-
return /* @__PURE__ */ S.createElement(d, {
|
|
2397
|
-
...ot(e),
|
|
2398
|
-
...m,
|
|
2399
|
-
style: n,
|
|
2400
|
-
className: o ?? "react-aria-Separator",
|
|
2401
|
-
ref: t,
|
|
2402
|
-
slot: u || void 0
|
|
2403
|
-
});
|
|
2404
|
-
});
|
|
2405
|
-
export {
|
|
2406
|
-
Yi as $,
|
|
2407
|
-
Ll as A,
|
|
2408
|
-
Zi as a,
|
|
2409
|
-
ji as b,
|
|
2410
|
-
ln as c,
|
|
2411
|
-
Ji as d,
|
|
2412
|
-
gt as e,
|
|
2413
|
-
bt as f,
|
|
2414
|
-
en as g,
|
|
2415
|
-
Qi as h,
|
|
2416
|
-
tn as i,
|
|
2417
|
-
sn as j,
|
|
2418
|
-
pi as k,
|
|
2419
|
-
di as l,
|
|
2420
|
-
Hl as m,
|
|
2421
|
-
yi as n,
|
|
2422
|
-
on as o,
|
|
2423
|
-
cn as p,
|
|
2424
|
-
un as q,
|
|
2425
|
-
Vl as r,
|
|
2426
|
-
Ul as s,
|
|
2427
|
-
ft as t,
|
|
2428
|
-
ct as u,
|
|
2429
|
-
rn as v,
|
|
2430
|
-
nn as w,
|
|
2431
|
-
Xi as x,
|
|
2432
|
-
fi as y,
|
|
2433
|
-
an as z
|
|
2434
|
-
};
|
|
2435
|
-
//# sourceMappingURL=Separator-ChieGwKF.es.js.map
|