@commercetools/nimbus 0.0.12-rc1 → 0.0.12-rc3
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/accordion.d.ts +13 -4
- package/dist/alert.d.ts +10 -1
- package/dist/avatar.d.ts +9 -0
- package/dist/badge.d.ts +9 -0
- package/dist/box.d.ts +9 -0
- package/dist/button.d.ts +9 -0
- package/dist/calendar.d.ts +9 -0
- package/dist/card.d.ts +9 -0
- package/dist/checkbox.d.ts +17 -6
- package/dist/chunks/Button-BtJHe9xY.cjs.js +2 -0
- package/dist/chunks/Button-BtJHe9xY.cjs.js.map +1 -0
- package/dist/chunks/Button-CNBS3n5a.es.js +73 -0
- package/dist/chunks/Button-CNBS3n5a.es.js.map +1 -0
- package/dist/chunks/DateField-Dm2Qlhbk.es.js +2685 -0
- package/dist/chunks/DateField-Dm2Qlhbk.es.js.map +1 -0
- package/dist/chunks/DateField-rweHHCKR.cjs.js +2 -0
- package/dist/chunks/DateField-rweHHCKR.cjs.js.map +1 -0
- package/dist/chunks/DatePicker-BdV6ICAm.cjs.js +2 -0
- package/dist/chunks/DatePicker-BdV6ICAm.cjs.js.map +1 -0
- package/dist/chunks/DatePicker-BthC1bZ_.es.js +782 -0
- package/dist/chunks/DatePicker-BthC1bZ_.es.js.map +1 -0
- package/dist/chunks/Dialog-BeQ6Z6l2.es.js +1924 -0
- package/dist/chunks/Dialog-BeQ6Z6l2.es.js.map +1 -0
- package/dist/chunks/Dialog-CYa26HlL.cjs.js +2 -0
- package/dist/chunks/Dialog-CYa26HlL.cjs.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-CNO0fzPs.es.js +625 -0
- package/dist/chunks/FocusScope-CNO0fzPs.es.js.map +1 -0
- package/dist/chunks/FocusScope-DPn5XtSy.cjs.js +2 -0
- package/dist/chunks/FocusScope-DPn5XtSy.cjs.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-Cfixd-fh.es.js +46 -0
- package/dist/chunks/Group-Cfixd-fh.es.js.map +1 -0
- package/dist/chunks/Group-MdeByg6t.cjs.js +2 -0
- package/dist/chunks/Group-MdeByg6t.cjs.js.map +1 -0
- package/dist/chunks/Heading-BaW6t55l.cjs.js +2 -0
- package/dist/chunks/Heading-BaW6t55l.cjs.js.map +1 -0
- package/dist/chunks/Heading-DEfy_f01.es.js +1618 -0
- package/dist/chunks/Heading-DEfy_f01.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-BiHwUBo4.es.js +43 -0
- package/dist/chunks/Input-BiHwUBo4.es.js.map +1 -0
- package/dist/chunks/Input-HBDt7LmM.cjs.js +2 -0
- package/dist/chunks/Input-HBDt7LmM.cjs.js.map +1 -0
- package/dist/chunks/Keyboard-Clnp4zAC.es.js.map +1 -1
- package/dist/chunks/Keyboard-rYf2KxZN.cjs.js.map +1 -1
- package/dist/chunks/Label-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-CikEmFBx.cjs.js +2 -0
- package/dist/chunks/ListBox-CikEmFBx.cjs.js.map +1 -0
- package/dist/chunks/ListBox-DF3NHeEX.es.js +605 -0
- package/dist/chunks/ListBox-DF3NHeEX.es.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-CYjyBtg8.cjs.js +2 -0
- package/dist/chunks/OverlayArrow-CYjyBtg8.cjs.js.map +1 -0
- package/dist/chunks/OverlayArrow-sJzRZNbO.es.js +491 -0
- package/dist/chunks/OverlayArrow-sJzRZNbO.es.js.map +1 -0
- package/dist/chunks/ProgressBar-BA3sLh1k.cjs.js +2 -0
- package/dist/chunks/ProgressBar-BA3sLh1k.cjs.js.map +1 -0
- package/dist/chunks/ProgressBar-DjaUQI7N.es.js +42 -0
- package/dist/chunks/ProgressBar-DjaUQI7N.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/SelectionManager-CLyu96pU.es.js +1946 -0
- package/dist/chunks/SelectionManager-CLyu96pU.es.js.map +1 -0
- package/dist/chunks/SelectionManager-Mrwf4SFv.cjs.js +18 -0
- package/dist/chunks/SelectionManager-Mrwf4SFv.cjs.js.map +1 -0
- package/dist/chunks/Separator-3-E2tRbk.es.js +92 -0
- package/dist/chunks/Separator-3-E2tRbk.es.js.map +1 -0
- package/dist/chunks/Separator-CAOg-vqY.cjs.js +2 -0
- package/dist/chunks/Separator-CAOg-vqY.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-BmpgvS0R.es.js +42 -0
- package/dist/chunks/TextArea-BmpgvS0R.es.js.map +1 -0
- package/dist/chunks/TextArea-D3FFXnUy.cjs.js +2 -0
- package/dist/chunks/TextArea-D3FFXnUy.cjs.js.map +1 -0
- package/dist/chunks/ToggleButton-C3JL0pgD.es.js +145 -0
- package/dist/chunks/ToggleButton-C3JL0pgD.es.js.map +1 -0
- package/dist/chunks/ToggleButton-CPAdPTCr.cjs.js +2 -0
- package/dist/chunks/ToggleButton-CPAdPTCr.cjs.js.map +1 -0
- package/dist/chunks/VisuallyHidden-Bv_AJXZ7.cjs.js +2 -0
- package/dist/chunks/VisuallyHidden-Bv_AJXZ7.cjs.js.map +1 -0
- package/dist/chunks/VisuallyHidden-VHEPK04F.es.js +41 -0
- package/dist/chunks/VisuallyHidden-VHEPK04F.es.js.map +1 -0
- package/dist/chunks/accordion-Be--VNW6.cjs.js +2 -0
- package/dist/chunks/accordion-Be--VNW6.cjs.js.map +1 -0
- package/dist/chunks/accordion-Drl_Y6QC.es.js +223 -0
- package/dist/chunks/accordion-Drl_Y6QC.es.js.map +1 -0
- package/dist/chunks/alert-9-Hp2KQ4.es.js +187 -0
- package/dist/chunks/alert-9-Hp2KQ4.es.js.map +1 -0
- package/dist/chunks/alert-CsJON6h-.cjs.js +2 -0
- package/dist/chunks/alert-CsJON6h-.cjs.js.map +1 -0
- package/dist/chunks/avatar-DEAravTR.cjs.js +2 -0
- package/dist/chunks/avatar-DEAravTR.cjs.js.map +1 -0
- package/dist/chunks/avatar-DXWmY247.es.js +38 -0
- package/dist/chunks/avatar-DXWmY247.es.js.map +1 -0
- package/dist/chunks/badge-BjhZ-byo.cjs.js +2 -0
- package/dist/chunks/badge-BjhZ-byo.cjs.js.map +1 -0
- package/dist/chunks/badge-Cg7jASs5.es.js +78 -0
- package/dist/chunks/badge-Cg7jASs5.es.js.map +1 -0
- package/dist/chunks/box-BK_2R49p.es.js +13 -0
- package/dist/chunks/box-BK_2R49p.es.js.map +1 -0
- package/dist/chunks/box-BwCVnAwb.cjs.js +2 -0
- package/dist/chunks/box-BwCVnAwb.cjs.js.map +1 -0
- package/dist/chunks/button-CihUSHJo.cjs.js +2 -0
- package/dist/chunks/button-CihUSHJo.cjs.js.map +1 -0
- package/dist/chunks/button-DNPDogwN.es.js +59 -0
- package/dist/chunks/button-DNPDogwN.es.js.map +1 -0
- package/dist/chunks/calendar-C-YasyPe.cjs.js +2 -0
- package/dist/chunks/calendar-C-YasyPe.cjs.js.map +1 -0
- package/dist/chunks/calendar-DGKSCKht.es.js +187 -0
- package/dist/chunks/calendar-DGKSCKht.es.js.map +1 -0
- package/dist/chunks/card-DX8r4prk.es.js +139 -0
- package/dist/chunks/card-DX8r4prk.es.js.map +1 -0
- package/dist/chunks/card-DgvP36g1.cjs.js +2 -0
- package/dist/chunks/card-DgvP36g1.cjs.js.map +1 -0
- package/dist/chunks/checkbox-6DkVAh4W.cjs.js +2 -0
- package/dist/chunks/checkbox-6DkVAh4W.cjs.js.map +1 -0
- package/dist/chunks/checkbox-BnfwQBT0.es.js +219 -0
- package/dist/chunks/checkbox-BnfwQBT0.es.js.map +1 -0
- package/dist/chunks/code-C3WbF6Qh.cjs.js +2 -0
- package/dist/chunks/code-C3WbF6Qh.cjs.js.map +1 -0
- package/dist/chunks/code-DM_AtVy-.es.js +8 -0
- package/dist/chunks/code-DM_AtVy-.es.js.map +1 -0
- package/dist/chunks/combobox-BS6TWlhm.es.js +2392 -0
- package/dist/chunks/combobox-BS6TWlhm.es.js.map +1 -0
- package/dist/chunks/combobox-CLGVlx_7.cjs.js +2 -0
- package/dist/chunks/combobox-CLGVlx_7.cjs.js.map +1 -0
- package/dist/chunks/config-Mt8_uyhI.cjs.js.map +1 -1
- package/dist/chunks/config-ufbQ08Vi.es.js.map +1 -1
- package/dist/chunks/context-OoV8SSWX.cjs.js +2 -0
- package/dist/chunks/context-OoV8SSWX.cjs.js.map +1 -0
- package/dist/chunks/context-R4YUlO9Y.es.js +108 -0
- package/dist/chunks/context-R4YUlO9Y.es.js.map +1 -0
- package/dist/chunks/create-recipe-context-CrNaylZN.es.js +62 -0
- package/dist/chunks/create-recipe-context-CrNaylZN.es.js.map +1 -0
- package/dist/chunks/create-recipe-context-bXYFTZLs.cjs.js +2 -0
- package/dist/chunks/create-recipe-context-bXYFTZLs.cjs.js.map +1 -0
- package/dist/chunks/create-slot-recipe-context--T0CaFjW.es.js +104 -0
- package/dist/chunks/create-slot-recipe-context--T0CaFjW.es.js.map +1 -0
- package/dist/chunks/create-slot-recipe-context-CimocFDH.cjs.js +2 -0
- package/dist/chunks/create-slot-recipe-context-CimocFDH.cjs.js.map +1 -0
- package/dist/chunks/data-table-B8hn0UVI.cjs.js +2 -0
- package/dist/chunks/data-table-B8hn0UVI.cjs.js.map +1 -0
- package/dist/chunks/data-table-BmhYF5gH.es.js +3640 -0
- package/dist/chunks/data-table-BmhYF5gH.es.js.map +1 -0
- package/dist/chunks/date-input-BR6daiWa.es.js +17 -0
- package/dist/chunks/date-input-BR6daiWa.es.js.map +1 -0
- package/dist/chunks/date-input-VXO92NPV.cjs.js +2 -0
- package/dist/chunks/date-input-VXO92NPV.cjs.js.map +1 -0
- package/dist/chunks/date-picker-DNaxpmgh.cjs.js +2 -0
- package/dist/chunks/date-picker-DNaxpmgh.cjs.js.map +1 -0
- package/dist/chunks/date-picker-DqvZ_FI0.es.js +190 -0
- package/dist/chunks/date-picker-DqvZ_FI0.es.js.map +1 -0
- package/dist/chunks/date-range-picker-B5s-AFSY.cjs.js +2 -0
- package/dist/chunks/date-range-picker-B5s-AFSY.cjs.js.map +1 -0
- package/dist/chunks/date-range-picker-Dh-F7d4e.es.js +283 -0
- package/dist/chunks/date-range-picker-Dh-F7d4e.es.js.map +1 -0
- package/dist/chunks/dialog-BQa_NWSr.cjs.js +2 -0
- package/dist/chunks/dialog-BQa_NWSr.cjs.js.map +1 -0
- package/dist/chunks/dialog-D4u5so0e.es.js +1912 -0
- package/dist/chunks/dialog-D4u5so0e.es.js.map +1 -0
- package/dist/chunks/divider-Cjs3ESH7.es.js +54 -0
- package/dist/chunks/divider-Cjs3ESH7.es.js.map +1 -0
- package/dist/chunks/divider-DU351gdE.cjs.js +2 -0
- package/dist/chunks/divider-DU351gdE.cjs.js.map +1 -0
- package/dist/chunks/empty-B5_AO6Pg.cjs.js.map +1 -1
- package/dist/chunks/empty-D7ZFmvo6.es.js.map +1 -1
- package/dist/chunks/extractStyleProps-BsLft3q1.cjs.js +2 -0
- package/dist/chunks/extractStyleProps-BsLft3q1.cjs.js.map +1 -0
- package/dist/chunks/extractStyleProps-D6vCCKog.es.js +11 -0
- package/dist/chunks/extractStyleProps-D6vCCKog.es.js.map +1 -0
- package/dist/chunks/factory-CVGqU9CD.cjs.js +3 -0
- package/dist/chunks/factory-CVGqU9CD.cjs.js.map +1 -0
- package/dist/chunks/factory-DmIX2puY.es.js +269 -0
- package/dist/chunks/factory-DmIX2puY.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-BFC_f5BH.es.js +40 -0
- package/dist/chunks/flex-BFC_f5BH.es.js.map +1 -0
- package/dist/chunks/flex-yqydM5z_.cjs.js +2 -0
- package/dist/chunks/flex-yqydM5z_.cjs.js.map +1 -0
- package/dist/chunks/focusSafely-DJpphVHF.es.js +27 -0
- package/dist/chunks/focusSafely-DJpphVHF.es.js.map +1 -0
- package/dist/chunks/focusSafely-jDMW9aEx.cjs.js +2 -0
- package/dist/chunks/focusSafely-jDMW9aEx.cjs.js.map +1 -0
- package/dist/chunks/focusWithoutScrolling-BlyUcXdY.cjs.js.map +1 -1
- package/dist/chunks/focusWithoutScrolling-CDw3JYiq.es.js.map +1 -1
- package/dist/chunks/form-field-BjT4m4AE.cjs.js +11 -0
- package/dist/chunks/form-field-BjT4m4AE.cjs.js.map +1 -0
- package/dist/chunks/form-field-hq4IMj9f.es.js +310 -0
- package/dist/chunks/form-field-hq4IMj9f.es.js.map +1 -0
- package/dist/chunks/grid-B3Ggy_FW.es.js +14 -0
- package/dist/chunks/grid-B3Ggy_FW.es.js.map +1 -0
- package/dist/chunks/grid-CXpKN2OR.cjs.js +2 -0
- package/dist/chunks/grid-CXpKN2OR.cjs.js.map +1 -0
- package/dist/chunks/grid-item-CGwfSnm7.cjs.js +2 -0
- package/dist/chunks/grid-item-CGwfSnm7.cjs.js.map +1 -0
- package/dist/chunks/grid-item-DuAynDd1.es.js +78 -0
- package/dist/chunks/grid-item-DuAynDd1.es.js.map +1 -0
- package/dist/chunks/group-Buy-O6Mr.cjs.js +2 -0
- package/dist/chunks/group-Buy-O6Mr.cjs.js.map +1 -0
- package/dist/chunks/group-CqfSQXe7.es.js +14 -0
- package/dist/chunks/group-CqfSQXe7.es.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/icon-BDsjJ4Zi.es.js +32 -0
- package/dist/chunks/icon-BDsjJ4Zi.es.js.map +1 -0
- package/dist/chunks/icon-DHoLo7_S.cjs.js +2 -0
- package/dist/chunks/icon-DHoLo7_S.cjs.js.map +1 -0
- package/dist/chunks/icon-button-DOo2GUqd.cjs.js +2 -0
- package/dist/chunks/icon-button-DOo2GUqd.cjs.js.map +1 -0
- package/dist/chunks/icon-button-EonZGbth.es.js +14 -0
- package/dist/chunks/icon-button-EonZGbth.es.js.map +1 -0
- package/dist/chunks/icon-toggle-button-CcEARpnu.es.js +13 -0
- package/dist/chunks/icon-toggle-button-CcEARpnu.es.js.map +1 -0
- package/dist/chunks/icon-toggle-button-DmYB27yi.cjs.js +2 -0
- package/dist/chunks/icon-toggle-button-DmYB27yi.cjs.js.map +1 -0
- package/dist/chunks/image-B3ISQSVL.cjs.js +2 -0
- package/dist/chunks/image-B3ISQSVL.cjs.js.map +1 -0
- package/dist/chunks/image-CwcCZREa.es.js +22 -0
- package/dist/chunks/image-CwcCZREa.es.js.map +1 -0
- package/dist/chunks/image-MeWmLoV0.es.js +8 -0
- package/dist/chunks/image-MeWmLoV0.es.js.map +1 -0
- package/dist/chunks/image-bt28epM5.cjs.js +2 -0
- package/dist/chunks/image-bt28epM5.cjs.js.map +1 -0
- package/dist/chunks/index-46Tt2Ww4.es.js +8 -0
- package/dist/chunks/index-46Tt2Ww4.es.js.map +1 -0
- package/dist/chunks/index-BYEAMD8A.cjs.js +2 -0
- package/dist/chunks/index-BYEAMD8A.cjs.js.map +1 -0
- package/dist/chunks/index-BsmdMT4w.cjs.js +4 -0
- package/dist/chunks/index-BsmdMT4w.cjs.js.map +1 -0
- package/dist/chunks/index-Dvel3Oj5.es.js +3787 -0
- package/dist/chunks/index-Dvel3Oj5.es.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-Bc97Bwq3.es.js +16 -0
- package/dist/chunks/kbd-Bc97Bwq3.es.js.map +1 -0
- package/dist/chunks/kbd-BlZ2RGfa.cjs.js +2 -0
- package/dist/chunks/kbd-BlZ2RGfa.cjs.js.map +1 -0
- package/dist/chunks/link-DjzrPyx3.es.js +50 -0
- package/dist/chunks/link-DjzrPyx3.es.js.map +1 -0
- package/dist/chunks/link-DzUonoQg.cjs.js +2 -0
- package/dist/chunks/link-DzUonoQg.cjs.js.map +1 -0
- package/dist/chunks/list-BTkkDy6B.es.js +23 -0
- package/dist/chunks/list-BTkkDy6B.es.js.map +1 -0
- package/dist/chunks/list-DokC0Ks-.cjs.js +2 -0
- package/dist/chunks/list-DokC0Ks-.cjs.js.map +1 -0
- package/dist/chunks/loading-spinner-DuBf2cIy.es.js +106 -0
- package/dist/chunks/loading-spinner-DuBf2cIy.es.js.map +1 -0
- package/dist/chunks/loading-spinner-VVQyl725.cjs.js +2 -0
- package/dist/chunks/loading-spinner-VVQyl725.cjs.js.map +1 -0
- package/dist/chunks/make-element-focusable-C4ZHUSEU.es.js +22 -0
- package/dist/chunks/make-element-focusable-C4ZHUSEU.es.js.map +1 -0
- package/dist/chunks/make-element-focusable-bPAMXt4D.cjs.js +2 -0
- package/dist/chunks/make-element-focusable-bPAMXt4D.cjs.js.map +1 -0
- package/dist/chunks/menu-C8il9--K.cjs.js +2 -0
- package/dist/chunks/menu-C8il9--K.cjs.js.map +1 -0
- package/dist/chunks/menu-CKJfYhIU.es.js +157 -0
- package/dist/chunks/menu-CKJfYhIU.es.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-D28clI-o.cjs.js +12 -0
- package/dist/chunks/multiline-text-input-D28clI-o.cjs.js.map +1 -0
- package/dist/chunks/multiline-text-input-DoHeA-kt.es.js +120 -0
- package/dist/chunks/multiline-text-input-DoHeA-kt.es.js.map +1 -0
- package/dist/chunks/namespace---Td8pR2.es.js +74 -0
- package/dist/chunks/namespace---Td8pR2.es.js.map +1 -0
- package/dist/chunks/namespace-CpLmDcCq.cjs.js +2 -0
- package/dist/chunks/namespace-CpLmDcCq.cjs.js.map +1 -0
- package/dist/chunks/nimbus-provider-BlfO5_bi.cjs.js +2 -0
- package/dist/chunks/nimbus-provider-BlfO5_bi.cjs.js.map +1 -0
- package/dist/chunks/nimbus-provider-DKRUbH11.es.js +101 -0
- package/dist/chunks/nimbus-provider-DKRUbH11.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-BEn83Z9q.es.js +657 -0
- package/dist/chunks/number-input-BEn83Z9q.es.js.map +1 -0
- package/dist/chunks/number-input-CCEiz-4P.cjs.js +2 -0
- package/dist/chunks/number-input-CCEiz-4P.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-BGPsQ2R9.es.js +50 -0
- package/dist/chunks/password-input-BGPsQ2R9.es.js.map +1 -0
- package/dist/chunks/password-input-DY4slQHQ.cjs.js +2 -0
- package/dist/chunks/password-input-DY4slQHQ.cjs.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-0RRIR4ef.cjs.js +2 -0
- package/dist/chunks/progress-bar-0RRIR4ef.cjs.js.map +1 -0
- package/dist/chunks/progress-bar-BsuOolTl.es.js +77 -0
- package/dist/chunks/progress-bar-BsuOolTl.es.js.map +1 -0
- package/dist/chunks/provider-CHFgwvsP.es.js +989 -0
- package/dist/chunks/provider-CHFgwvsP.es.js.map +1 -0
- package/dist/chunks/provider-DFlBEH6q.cjs.js +16 -0
- package/dist/chunks/provider-DFlBEH6q.cjs.js.map +1 -0
- package/dist/chunks/radio-input-B40xSi6r.cjs.js +2 -0
- package/dist/chunks/radio-input-B40xSi6r.cjs.js.map +1 -0
- package/dist/chunks/radio-input-CDYvzPq7.es.js +341 -0
- package/dist/chunks/radio-input-CDYvzPq7.es.js.map +1 -0
- package/dist/chunks/range-calendar-BiNek1C7.cjs.js +2 -0
- package/dist/chunks/range-calendar-BiNek1C7.cjs.js.map +1 -0
- package/dist/chunks/range-calendar-DxPBRKpW.es.js +187 -0
- package/dist/chunks/range-calendar-DxPBRKpW.es.js.map +1 -0
- package/dist/chunks/rich-text-input-B6OYMXXr.es.js +691 -0
- package/dist/chunks/rich-text-input-B6OYMXXr.es.js.map +1 -0
- package/dist/chunks/rich-text-input-gNWvLb4m.cjs.js +2 -0
- package/dist/chunks/rich-text-input-gNWvLb4m.cjs.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-BuXA5VgT.cjs.js +2 -0
- package/dist/chunks/select-BuXA5VgT.cjs.js.map +1 -0
- package/dist/chunks/select-X7n0xTYd.es.js +559 -0
- package/dist/chunks/select-X7n0xTYd.es.js.map +1 -0
- package/dist/chunks/simple-grid-B7BgfVAS.cjs.js +2 -0
- package/dist/chunks/simple-grid-B7BgfVAS.cjs.js.map +1 -0
- package/dist/chunks/simple-grid-C6GRMtip.es.js +38 -0
- package/dist/chunks/simple-grid-C6GRMtip.es.js.map +1 -0
- package/dist/chunks/slate-helpers-BN_9Hky2.cjs.js +24 -0
- package/dist/chunks/slate-helpers-BN_9Hky2.cjs.js.map +1 -0
- package/dist/chunks/slate-helpers-DunxggA8.es.js +6919 -0
- package/dist/chunks/slate-helpers-DunxggA8.es.js.map +1 -0
- package/dist/chunks/split-button-BWXYRDuQ.es.js +103 -0
- package/dist/chunks/split-button-BWXYRDuQ.es.js.map +1 -0
- package/dist/chunks/split-button-CgQYMeH7.cjs.js +2 -0
- package/dist/chunks/split-button-CgQYMeH7.cjs.js.map +1 -0
- package/dist/chunks/stack-BG0j9HvT.cjs.js +2 -0
- package/dist/chunks/stack-BG0j9HvT.cjs.js.map +1 -0
- package/dist/chunks/stack-QzuqKTKb.es.js +89 -0
- package/dist/chunks/stack-QzuqKTKb.es.js.map +1 -0
- package/dist/chunks/switch-BQXiI02l.cjs.js +2 -0
- package/dist/chunks/switch-BQXiI02l.cjs.js.map +1 -0
- package/dist/chunks/switch-rkewogOb.es.js +79 -0
- package/dist/chunks/switch-rkewogOb.es.js.map +1 -0
- package/dist/chunks/tag-group-DqTm8v26.es.js +781 -0
- package/dist/chunks/tag-group-DqTm8v26.es.js.map +1 -0
- package/dist/chunks/tag-group-DwTq8DeA.cjs.js +2 -0
- package/dist/chunks/tag-group-DwTq8DeA.cjs.js.map +1 -0
- package/dist/chunks/text-DSjt3Sqv.es.js +26 -0
- package/dist/chunks/text-DSjt3Sqv.es.js.map +1 -0
- package/dist/chunks/text-Dg1sFCuC.cjs.js +2 -0
- package/dist/chunks/text-Dg1sFCuC.cjs.js.map +1 -0
- package/dist/chunks/text-input-DJUpcp3k.cjs.js +2 -0
- package/dist/chunks/text-input-DJUpcp3k.cjs.js.map +1 -0
- package/dist/chunks/text-input-Dinn4J2V.es.js +19 -0
- package/dist/chunks/text-input-Dinn4J2V.es.js.map +1 -0
- package/dist/chunks/time-input-B5oRiIpu.cjs.js +2 -0
- package/dist/chunks/time-input-B5oRiIpu.cjs.js.map +1 -0
- package/dist/chunks/time-input-Us0JugnD.es.js +132 -0
- package/dist/chunks/time-input-Us0JugnD.es.js.map +1 -0
- package/dist/chunks/toggle-button-C_7Evcn3.cjs.js +2 -0
- package/dist/chunks/toggle-button-C_7Evcn3.cjs.js.map +1 -0
- package/dist/chunks/toggle-button-RS4Z6UNN.es.js +30 -0
- package/dist/chunks/toggle-button-RS4Z6UNN.es.js.map +1 -0
- package/dist/chunks/toggle-button-group-DHMnBWSg.es.js +82 -0
- package/dist/chunks/toggle-button-group-DHMnBWSg.es.js.map +1 -0
- package/dist/chunks/toggle-button-group-LddoXszz.cjs.js +2 -0
- package/dist/chunks/toggle-button-group-LddoXszz.cjs.js.map +1 -0
- package/dist/chunks/toolbar-BUYkQMPz.cjs.js +2 -0
- package/dist/chunks/toolbar-BUYkQMPz.cjs.js.map +1 -0
- package/dist/chunks/toolbar-DI1eQG-1.es.js +59 -0
- package/dist/chunks/toolbar-DI1eQG-1.es.js.map +1 -0
- package/dist/chunks/tooltip-CIAEV4_B.cjs.js +2 -0
- package/dist/chunks/tooltip-CIAEV4_B.cjs.js.map +1 -0
- package/dist/chunks/tooltip-CTvNYvui.es.js +269 -0
- package/dist/chunks/tooltip-CTvNYvui.es.js.map +1 -0
- package/dist/chunks/use-formatting-state-DVcnyVBl.cjs.js +2 -0
- package/dist/chunks/use-formatting-state-DVcnyVBl.cjs.js.map +1 -0
- package/dist/chunks/use-formatting-state-DdKYccZs.es.js +247 -0
- package/dist/chunks/use-formatting-state-DdKYccZs.es.js.map +1 -0
- package/dist/chunks/use-recipe-DuU8En0C.es.js +13 -0
- package/dist/chunks/use-recipe-DuU8En0C.es.js.map +1 -0
- package/dist/chunks/use-recipe-pbWWLWIq.cjs.js +2 -0
- package/dist/chunks/use-recipe-pbWWLWIq.cjs.js.map +1 -0
- package/dist/chunks/useButton-BgBfaV_L.cjs.js +2 -0
- package/dist/chunks/useButton-BgBfaV_L.cjs.js.map +1 -0
- package/dist/chunks/useButton-DAeSjgg9.es.js +57 -0
- package/dist/chunks/useButton-DAeSjgg9.es.js.map +1 -0
- package/dist/chunks/useCollator-BHMZd1r6.es.js +12 -0
- package/dist/chunks/useCollator-BHMZd1r6.es.js.map +1 -0
- package/dist/chunks/useCollator-YVJAe1GI.cjs.js +2 -0
- package/dist/chunks/useCollator-YVJAe1GI.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-C7Kxzwro.es.js +1601 -0
- package/dist/chunks/useDateFormatter-C7Kxzwro.es.js.map +1 -0
- package/dist/chunks/useDateFormatter-CS19Cch2.cjs.js +2 -0
- package/dist/chunks/useDateFormatter-CS19Cch2.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-CG8lxfCP.cjs.js +2 -0
- package/dist/chunks/useFilter-CG8lxfCP.cjs.js.map +1 -0
- package/dist/chunks/useFilter-DOfNzeZ9.es.js +36 -0
- package/dist/chunks/useFilter-DOfNzeZ9.es.js.map +1 -0
- package/dist/chunks/useFocus-BtJ38vev.cjs.js +2 -0
- package/dist/chunks/useFocus-BtJ38vev.cjs.js.map +1 -0
- package/dist/chunks/useFocus-DkWJ2TJC.es.js +29 -0
- package/dist/chunks/useFocus-DkWJ2TJC.es.js.map +1 -0
- package/dist/chunks/useFocusRing-CzFer4bD.cjs.js +2 -0
- package/dist/chunks/useFocusRing-CzFer4bD.cjs.js.map +1 -0
- package/dist/chunks/useFocusRing-updnkDQg.es.js +35 -0
- package/dist/chunks/useFocusRing-updnkDQg.es.js.map +1 -0
- package/dist/chunks/useFocusVisible-CWDaG0ze.es.js +111 -0
- package/dist/chunks/useFocusVisible-CWDaG0ze.es.js.map +1 -0
- package/dist/chunks/useFocusVisible-Co0C61s7.cjs.js +2 -0
- package/dist/chunks/useFocusVisible-Co0C61s7.cjs.js.map +1 -0
- package/dist/chunks/useFocusWithin-BDSWp3rw.cjs.js +2 -0
- package/dist/chunks/useFocusWithin-BDSWp3rw.cjs.js.map +1 -0
- package/dist/chunks/useFocusWithin-ByYlHjju.es.js +56 -0
- package/dist/chunks/useFocusWithin-ByYlHjju.es.js.map +1 -0
- package/dist/chunks/useFocusable-CrsD8ZcF.es.js +77 -0
- package/dist/chunks/useFocusable-CrsD8ZcF.es.js.map +1 -0
- package/dist/chunks/useFocusable-DCgmQxS1.cjs.js +2 -0
- package/dist/chunks/useFocusable-DCgmQxS1.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-4hZ1_a6w.es.js +202 -0
- package/dist/chunks/useFormValidation-4hZ1_a6w.es.js.map +1 -0
- package/dist/chunks/useFormValidation-BEaCuNx1.cjs.js +2 -0
- package/dist/chunks/useFormValidation-BEaCuNx1.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-BQg1WcM3.es.js +598 -0
- package/dist/chunks/useHighlightSelectionDescription-BQg1WcM3.es.js.map +1 -0
- package/dist/chunks/useHighlightSelectionDescription-CpDw-Mgj.cjs.js +2 -0
- package/dist/chunks/useHighlightSelectionDescription-CpDw-Mgj.cjs.js.map +1 -0
- package/dist/chunks/useHover-CiP9jMFy.cjs.js +2 -0
- package/dist/chunks/useHover-CiP9jMFy.cjs.js.map +1 -0
- package/dist/chunks/useHover-DhoE75lX.es.js +86 -0
- package/dist/chunks/useHover-DhoE75lX.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-BRnRyxJp.es.js +97 -0
- package/dist/chunks/useLocalizedStringFormatter-BRnRyxJp.es.js.map +1 -0
- package/dist/chunks/useLocalizedStringFormatter-sB0mFYtL.cjs.js +2 -0
- package/dist/chunks/useLocalizedStringFormatter-sB0mFYtL.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-C8-hLXJw.cjs.js +8 -0
- package/dist/chunks/usePress-C8-hLXJw.cjs.js.map +1 -0
- package/dist/chunks/usePress-DHhWHfMz.es.js +456 -0
- package/dist/chunks/usePress-DHhWHfMz.es.js.map +1 -0
- package/dist/chunks/useProgressBar-DHFmTHqL.es.js +48 -0
- package/dist/chunks/useProgressBar-DHFmTHqL.es.js.map +1 -0
- package/dist/chunks/useProgressBar-DWH4I0qR.cjs.js +2 -0
- package/dist/chunks/useProgressBar-DWH4I0qR.cjs.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-D1rjgMv_.es.js +35 -0
- package/dist/chunks/useSingleSelectListState-D1rjgMv_.es.js.map +1 -0
- package/dist/chunks/useSingleSelectListState-F2WkLZRg.cjs.js +2 -0
- package/dist/chunks/useSingleSelectListState-F2WkLZRg.cjs.js.map +1 -0
- package/dist/chunks/useSpinButton-C9DPDo0r.es.js +433 -0
- package/dist/chunks/useSpinButton-C9DPDo0r.es.js.map +1 -0
- package/dist/chunks/useSpinButton-DA7sVP3T.cjs.js +2 -0
- package/dist/chunks/useSpinButton-DA7sVP3T.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-BcthGRd8.cjs.js +2 -0
- package/dist/chunks/useTextField-BcthGRd8.cjs.js.map +1 -0
- package/dist/chunks/useTextField-BnL6tOdd.es.js +91 -0
- package/dist/chunks/useTextField-BnL6tOdd.es.js.map +1 -0
- package/dist/chunks/useToggle-DqruaaTq.es.js +62 -0
- package/dist/chunks/useToggle-DqruaaTq.es.js.map +1 -0
- package/dist/chunks/useToggle-VJWgbeCC.cjs.js +2 -0
- package/dist/chunks/useToggle-VJWgbeCC.cjs.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-Bqn3EANT.cjs.js +2 -0
- package/dist/chunks/useToolbar-Bqn3EANT.cjs.js.map +1 -0
- package/dist/chunks/useToolbar-CLH6Sjes.es.js +55 -0
- package/dist/chunks/useToolbar-CLH6Sjes.es.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-BGHwK7fd.cjs.js +2 -0
- package/dist/chunks/utils-BGHwK7fd.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-jpfA6kxk.es.js +188 -0
- package/dist/chunks/utils-jpfA6kxk.es.js.map +1 -0
- package/dist/chunks/visually-hidden-Bh-G5QHv.cjs.js +2 -0
- package/dist/chunks/visually-hidden-Bh-G5QHv.cjs.js.map +1 -0
- package/dist/chunks/visually-hidden-BluyWhUI.es.js +11 -0
- package/dist/chunks/visually-hidden-BluyWhUI.es.js.map +1 -0
- package/dist/chunks/walk-object-CPVtf-bb.cjs.js +2 -0
- package/dist/chunks/walk-object-CPVtf-bb.cjs.js.map +1 -0
- package/dist/chunks/walk-object-Dpb8i9wi.es.js +27 -0
- package/dist/chunks/walk-object-Dpb8i9wi.es.js.map +1 -0
- package/dist/code.d.ts +9 -0
- package/dist/combobox.d.ts +9 -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 +156 -135
- package/dist/components/components.es.js.map +1 -1
- package/dist/components/constants.cjs +2 -0
- package/dist/components/constants.cjs.map +1 -0
- package/dist/components/constants.es.js +125 -0
- package/dist/components/constants.es.js.map +1 -0
- package/dist/components/data-table.cjs +2 -0
- package/dist/components/data-table.cjs.map +1 -0
- package/dist/components/data-table.es.js +16 -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/hooks.cjs +2 -0
- package/dist/components/hooks.cjs.map +1 -0
- package/dist/components/hooks.es.js +8 -0
- package/dist/components/hooks.es.js.map +1 -0
- 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/popover.cjs +2 -0
- package/dist/components/popover.cjs.map +1 -0
- package/dist/components/popover.es.js +26 -0
- package/dist/components/popover.es.js.map +1 -0
- 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/rich-text-input.cjs +2 -0
- package/dist/components/rich-text-input.cjs.map +1 -0
- package/dist/components/rich-text-input.es.js +5 -0
- package/dist/components/rich-text-input.es.js.map +1 -0
- 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/utils.cjs +2 -0
- package/dist/components/utils.cjs.map +1 -0
- package/dist/components/utils.es.js +76 -0
- package/dist/components/utils.es.js.map +1 -0
- package/dist/components/visually-hidden.cjs +1 -1
- package/dist/components/visually-hidden.es.js +1 -1
- package/dist/components.d.ts +540 -31
- package/dist/constants.d.ts +129 -0
- package/dist/data-table.d.ts +327 -0
- package/dist/date-input.d.ts +9 -0
- package/dist/date-picker.d.ts +10 -1
- package/dist/date-range-picker.d.ts +10 -1
- package/dist/dialog.d.ts +9 -0
- package/dist/divider.d.ts +11 -8
- package/dist/flex.d.ts +9 -0
- package/dist/form-field.d.ts +9 -0
- package/dist/grid.d.ts +9 -0
- package/dist/group.d.ts +44 -0
- package/dist/heading.d.ts +10 -1
- package/dist/hooks.d.ts +60 -0
- package/dist/icon-button.d.ts +9 -0
- package/dist/icon-toggle-button.d.ts +9 -0
- package/dist/icon.d.ts +9 -0
- package/dist/image.d.ts +9 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +575 -84
- package/dist/index.es.js +258 -239
- package/dist/index.es.js.map +1 -1
- package/dist/kbd.d.ts +9 -0
- package/dist/link.d.ts +9 -0
- package/dist/list.d.ts +9 -0
- package/dist/loading-spinner.d.ts +9 -0
- package/dist/multiline-text-input.d.ts +9 -0
- package/dist/nimbus-provider.d.ts +9 -0
- package/dist/number-input.d.ts +9 -0
- package/dist/password-input.d.ts +9 -0
- package/dist/popover.d.ts +27 -0
- package/dist/progress-bar.d.ts +13 -2
- package/dist/radio-input.d.ts +9 -0
- package/dist/range-calendar.d.ts +9 -0
- package/dist/rich-text-input.d.ts +79 -0
- package/dist/select.d.ts +12 -3
- package/dist/setup-jsdom-polyfills.cjs.map +1 -1
- package/dist/setup-jsdom-polyfills.d.ts +9 -0
- package/dist/setup-jsdom-polyfills.es.js.map +1 -1
- package/dist/simple-grid.d.ts +10 -1
- package/dist/split-button.d.ts +76 -0
- package/dist/stack.d.ts +9 -0
- package/dist/switch.d.ts +9 -0
- package/dist/table.d.ts +9 -0
- package/dist/tag-group.d.ts +9 -0
- package/dist/text-input.d.ts +9 -0
- package/dist/text.d.ts +10 -1
- package/dist/time-input.d.ts +9 -0
- package/dist/toggle-button-group.d.ts +9 -0
- package/dist/toggle-button.d.ts +9 -0
- package/dist/toolbar.d.ts +96 -0
- package/dist/tooltip.d.ts +9 -0
- package/dist/utils.d.ts +164 -0
- package/dist/visually-hidden.d.ts +9 -0
- package/package.json +28 -20
- 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
|
@@ -0,0 +1,1946 @@
|
|
|
1
|
+
import $, { useRef as E, useEffect as Y, useMemo as B, createContext as z, cloneElement as ze, forwardRef as He, useContext as _, useCallback as X, useState as ie, isValidElement as st } from "react";
|
|
2
|
+
import { a as Ue, d as _e } from "./utils-jpfA6kxk.es.js";
|
|
3
|
+
import { c as me, $ as J, a as qe, d as we, e as ot } from "./mergeProps-B_9syxhT.es.js";
|
|
4
|
+
import { $ as be } from "./focusWithoutScrolling-CDw3JYiq.es.js";
|
|
5
|
+
import { $ as Ge, d as ut } from "./openLink-Ctl0AdAy.es.js";
|
|
6
|
+
import { $ as ee } from "./useEvent-YHhqZvpU.es.js";
|
|
7
|
+
import { a as at, b as ct, c as Ce, d as De } from "./scrollIntoView-BYF_8_6g.es.js";
|
|
8
|
+
import { b as dt } from "./FocusScope-CNO0fzPs.es.js";
|
|
9
|
+
import { b as Ee } from "./useFocusVisible-CWDaG0ze.es.js";
|
|
10
|
+
import { $ as Se } from "./focusSafely-DJpphVHF.es.js";
|
|
11
|
+
import { flushSync as ft, createPortal as ht } from "react-dom";
|
|
12
|
+
import { $ as yt } from "./context-R4YUlO9Y.es.js";
|
|
13
|
+
import { b as pt, g as vt } from "./platform-Z5fvtFmM.es.js";
|
|
14
|
+
import { $ as We } from "./usePress-DHhWHfMz.es.js";
|
|
15
|
+
import { $ as gt } from "./useGlobalListeners-BOOfV5Wh.es.js";
|
|
16
|
+
import { a as mt } from "./Hidden-j3Lbt7xL.es.js";
|
|
17
|
+
import { b as ke } from "./useFocusable-CrsD8ZcF.es.js";
|
|
18
|
+
import { $ as je } from "./SSRProvider-Cu8KibIK.es.js";
|
|
19
|
+
import { $ as bt } from "./useControlledState-u436Wbp1.es.js";
|
|
20
|
+
function Ie(n, e) {
|
|
21
|
+
const t = E(!0), i = E(null);
|
|
22
|
+
me(() => (t.current = !0, () => {
|
|
23
|
+
t.current = !1;
|
|
24
|
+
}), []), me(() => {
|
|
25
|
+
t.current ? t.current = !1 : (!i.current || e.some((l, r) => !Object.is(l, i[r]))) && n(), i.current = e;
|
|
26
|
+
}, e);
|
|
27
|
+
}
|
|
28
|
+
const St = "react-aria-clear-focus", $t = "react-aria-focus";
|
|
29
|
+
function q(n) {
|
|
30
|
+
return pt() ? n.metaKey : n.ctrlKey;
|
|
31
|
+
}
|
|
32
|
+
const Kt = 500;
|
|
33
|
+
function xt(n) {
|
|
34
|
+
let { isDisabled: e, onLongPressStart: t, onLongPressEnd: i, onLongPress: l, threshold: r = Kt, accessibilityDescription: s } = n;
|
|
35
|
+
const c = E(void 0);
|
|
36
|
+
let { addGlobalListener: u, removeGlobalListener: h } = gt(), { pressProps: b } = We({
|
|
37
|
+
isDisabled: e,
|
|
38
|
+
onPressStart(f) {
|
|
39
|
+
if (f.continuePropagation(), (f.pointerType === "mouse" || f.pointerType === "touch") && (t && t({
|
|
40
|
+
...f,
|
|
41
|
+
type: "longpressstart"
|
|
42
|
+
}), c.current = setTimeout(() => {
|
|
43
|
+
f.target.dispatchEvent(new PointerEvent("pointercancel", {
|
|
44
|
+
bubbles: !0
|
|
45
|
+
})), Ue(f.target).activeElement !== f.target && be(f.target), l && l({
|
|
46
|
+
...f,
|
|
47
|
+
type: "longpress"
|
|
48
|
+
}), c.current = void 0;
|
|
49
|
+
}, r), f.pointerType === "touch")) {
|
|
50
|
+
let y = (v) => {
|
|
51
|
+
v.preventDefault();
|
|
52
|
+
};
|
|
53
|
+
u(f.target, "contextmenu", y, {
|
|
54
|
+
once: !0
|
|
55
|
+
}), u(window, "pointerup", () => {
|
|
56
|
+
setTimeout(() => {
|
|
57
|
+
h(f.target, "contextmenu", y);
|
|
58
|
+
}, 30);
|
|
59
|
+
}, {
|
|
60
|
+
once: !0
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
onPressEnd(f) {
|
|
65
|
+
c.current && clearTimeout(c.current), i && (f.pointerType === "mouse" || f.pointerType === "touch") && i({
|
|
66
|
+
...f,
|
|
67
|
+
type: "longpressend"
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
}), d = at(l && !e ? s : void 0);
|
|
71
|
+
return {
|
|
72
|
+
longPressProps: J(b, d)
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
function Ye(n) {
|
|
76
|
+
let e = Ct(Ue(n));
|
|
77
|
+
e !== n && (e && wt(e, n), n && Xe(n, e));
|
|
78
|
+
}
|
|
79
|
+
function wt(n, e) {
|
|
80
|
+
n.dispatchEvent(new FocusEvent("blur", {
|
|
81
|
+
relatedTarget: e
|
|
82
|
+
})), n.dispatchEvent(new FocusEvent("focusout", {
|
|
83
|
+
bubbles: !0,
|
|
84
|
+
relatedTarget: e
|
|
85
|
+
}));
|
|
86
|
+
}
|
|
87
|
+
function Xe(n, e) {
|
|
88
|
+
n.dispatchEvent(new FocusEvent("focus", {
|
|
89
|
+
relatedTarget: e
|
|
90
|
+
})), n.dispatchEvent(new FocusEvent("focusin", {
|
|
91
|
+
bubbles: !0,
|
|
92
|
+
relatedTarget: e
|
|
93
|
+
}));
|
|
94
|
+
}
|
|
95
|
+
function Ct(n) {
|
|
96
|
+
let e = _e(n), t = e?.getAttribute("aria-activedescendant");
|
|
97
|
+
return t && n.getElementById(t) || e;
|
|
98
|
+
}
|
|
99
|
+
function $e(n) {
|
|
100
|
+
return vt() ? n.altKey : n.ctrlKey;
|
|
101
|
+
}
|
|
102
|
+
function le(n, e) {
|
|
103
|
+
var t, i;
|
|
104
|
+
let l = `[data-key="${CSS.escape(String(e))}"]`, r = (t = n.current) === null || t === void 0 ? void 0 : t.dataset.collection;
|
|
105
|
+
return r && (l = `[data-collection="${CSS.escape(r)}"]${l}`), (i = n.current) === null || i === void 0 ? void 0 : i.querySelector(l);
|
|
106
|
+
}
|
|
107
|
+
const Je = /* @__PURE__ */ new WeakMap();
|
|
108
|
+
function Dt(n) {
|
|
109
|
+
let e = qe();
|
|
110
|
+
return Je.set(n, e), e;
|
|
111
|
+
}
|
|
112
|
+
function Et(n) {
|
|
113
|
+
return Je.get(n);
|
|
114
|
+
}
|
|
115
|
+
const kt = 1e3;
|
|
116
|
+
function It(n) {
|
|
117
|
+
let { keyboardDelegate: e, selectionManager: t, onTypeSelect: i } = n, l = E({
|
|
118
|
+
search: "",
|
|
119
|
+
timeout: void 0
|
|
120
|
+
}).current, r = (s) => {
|
|
121
|
+
let c = Pt(s.key);
|
|
122
|
+
if (!(!c || s.ctrlKey || s.metaKey || !s.currentTarget.contains(s.target) || l.search.length === 0 && c === " ")) {
|
|
123
|
+
if (c === " " && l.search.trim().length > 0 && (s.preventDefault(), "continuePropagation" in s || s.stopPropagation()), l.search += c, e.getKeyForSearch != null) {
|
|
124
|
+
let u = e.getKeyForSearch(l.search, t.focusedKey);
|
|
125
|
+
u == null && (u = e.getKeyForSearch(l.search)), u != null && (t.setFocusedKey(u), i && i(u));
|
|
126
|
+
}
|
|
127
|
+
clearTimeout(l.timeout), l.timeout = setTimeout(() => {
|
|
128
|
+
l.search = "";
|
|
129
|
+
}, kt);
|
|
130
|
+
}
|
|
131
|
+
};
|
|
132
|
+
return {
|
|
133
|
+
typeSelectProps: {
|
|
134
|
+
// Using a capturing listener to catch the keydown event before
|
|
135
|
+
// other hooks in order to handle the Spacebar event.
|
|
136
|
+
onKeyDownCapture: e.getKeyForSearch ? r : void 0
|
|
137
|
+
}
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
function Pt(n) {
|
|
141
|
+
return n.length === 1 || !/^[A-Z]/i.test(n) ? n : "";
|
|
142
|
+
}
|
|
143
|
+
function Si(n) {
|
|
144
|
+
let { selectionManager: e, keyboardDelegate: t, ref: i, autoFocus: l = !1, shouldFocusWrap: r = !1, disallowEmptySelection: s = !1, disallowSelectAll: c = !1, escapeKeyBehavior: u = "clearSelection", selectOnFocus: h = e.selectionBehavior === "replace", disallowTypeAhead: b = !1, shouldUseVirtualFocus: d, allowsTabNavigation: f = !1, isVirtualized: y, scrollRef: v = i, linkBehavior: K = "action" } = n, { direction: g } = yt(), m = Ge(), w = (a) => {
|
|
145
|
+
var S;
|
|
146
|
+
if (a.altKey && a.key === "Tab" && a.preventDefault(), !(!((S = i.current) === null || S === void 0) && S.contains(a.target))) return;
|
|
147
|
+
const o = (p, H) => {
|
|
148
|
+
if (p != null) {
|
|
149
|
+
if (e.isLink(p) && K === "selection" && h && !$e(a)) {
|
|
150
|
+
ft(() => {
|
|
151
|
+
e.setFocusedKey(p, H);
|
|
152
|
+
});
|
|
153
|
+
let U = le(i, p), xe = e.getItemProps(p);
|
|
154
|
+
U && m.open(U, a, xe.href, xe.routerOptions);
|
|
155
|
+
return;
|
|
156
|
+
}
|
|
157
|
+
if (e.setFocusedKey(p, H), e.isLink(p) && K === "override") return;
|
|
158
|
+
a.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(p) : h && !$e(a) && e.replaceSelection(p);
|
|
159
|
+
}
|
|
160
|
+
};
|
|
161
|
+
switch (a.key) {
|
|
162
|
+
case "ArrowDown":
|
|
163
|
+
if (t.getKeyBelow) {
|
|
164
|
+
var C, F, P;
|
|
165
|
+
let p = e.focusedKey != null ? (C = t.getKeyBelow) === null || C === void 0 ? void 0 : C.call(t, e.focusedKey) : (F = t.getFirstKey) === null || F === void 0 ? void 0 : F.call(t);
|
|
166
|
+
p == null && r && (p = (P = t.getFirstKey) === null || P === void 0 ? void 0 : P.call(t, e.focusedKey)), p != null && (a.preventDefault(), o(p));
|
|
167
|
+
}
|
|
168
|
+
break;
|
|
169
|
+
case "ArrowUp":
|
|
170
|
+
if (t.getKeyAbove) {
|
|
171
|
+
var L, N, oe;
|
|
172
|
+
let p = e.focusedKey != null ? (L = t.getKeyAbove) === null || L === void 0 ? void 0 : L.call(t, e.focusedKey) : (N = t.getLastKey) === null || N === void 0 ? void 0 : N.call(t);
|
|
173
|
+
p == null && r && (p = (oe = t.getLastKey) === null || oe === void 0 ? void 0 : oe.call(t, e.focusedKey)), p != null && (a.preventDefault(), o(p));
|
|
174
|
+
}
|
|
175
|
+
break;
|
|
176
|
+
case "ArrowLeft":
|
|
177
|
+
if (t.getKeyLeftOf) {
|
|
178
|
+
var ue, ae, ce;
|
|
179
|
+
let p = e.focusedKey != null ? (ue = t.getKeyLeftOf) === null || ue === void 0 ? void 0 : ue.call(t, e.focusedKey) : null;
|
|
180
|
+
p == null && r && (p = g === "rtl" ? (ae = t.getFirstKey) === null || ae === void 0 ? void 0 : ae.call(t, e.focusedKey) : (ce = t.getLastKey) === null || ce === void 0 ? void 0 : ce.call(t, e.focusedKey)), p != null && (a.preventDefault(), o(p, g === "rtl" ? "first" : "last"));
|
|
181
|
+
}
|
|
182
|
+
break;
|
|
183
|
+
case "ArrowRight":
|
|
184
|
+
if (t.getKeyRightOf) {
|
|
185
|
+
var de, fe, he;
|
|
186
|
+
let p = e.focusedKey != null ? (de = t.getKeyRightOf) === null || de === void 0 ? void 0 : de.call(t, e.focusedKey) : null;
|
|
187
|
+
p == null && r && (p = g === "rtl" ? (fe = t.getLastKey) === null || fe === void 0 ? void 0 : fe.call(t, e.focusedKey) : (he = t.getFirstKey) === null || he === void 0 ? void 0 : he.call(t, e.focusedKey)), p != null && (a.preventDefault(), o(p, g === "rtl" ? "last" : "first"));
|
|
188
|
+
}
|
|
189
|
+
break;
|
|
190
|
+
case "Home":
|
|
191
|
+
if (t.getFirstKey) {
|
|
192
|
+
if (e.focusedKey === null && a.shiftKey) return;
|
|
193
|
+
a.preventDefault();
|
|
194
|
+
let p = t.getFirstKey(e.focusedKey, q(a));
|
|
195
|
+
e.setFocusedKey(p), p != null && (q(a) && a.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(p) : h && e.replaceSelection(p));
|
|
196
|
+
}
|
|
197
|
+
break;
|
|
198
|
+
case "End":
|
|
199
|
+
if (t.getLastKey) {
|
|
200
|
+
if (e.focusedKey === null && a.shiftKey) return;
|
|
201
|
+
a.preventDefault();
|
|
202
|
+
let p = t.getLastKey(e.focusedKey, q(a));
|
|
203
|
+
e.setFocusedKey(p), p != null && (q(a) && a.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(p) : h && e.replaceSelection(p));
|
|
204
|
+
}
|
|
205
|
+
break;
|
|
206
|
+
case "PageDown":
|
|
207
|
+
if (t.getKeyPageBelow && e.focusedKey != null) {
|
|
208
|
+
let p = t.getKeyPageBelow(e.focusedKey);
|
|
209
|
+
p != null && (a.preventDefault(), o(p));
|
|
210
|
+
}
|
|
211
|
+
break;
|
|
212
|
+
case "PageUp":
|
|
213
|
+
if (t.getKeyPageAbove && e.focusedKey != null) {
|
|
214
|
+
let p = t.getKeyPageAbove(e.focusedKey);
|
|
215
|
+
p != null && (a.preventDefault(), o(p));
|
|
216
|
+
}
|
|
217
|
+
break;
|
|
218
|
+
case "a":
|
|
219
|
+
q(a) && e.selectionMode === "multiple" && c !== !0 && (a.preventDefault(), e.selectAll());
|
|
220
|
+
break;
|
|
221
|
+
case "Escape":
|
|
222
|
+
u === "clearSelection" && !s && e.selectedKeys.size !== 0 && (a.stopPropagation(), a.preventDefault(), e.clearSelection());
|
|
223
|
+
break;
|
|
224
|
+
case "Tab":
|
|
225
|
+
if (!f) {
|
|
226
|
+
if (a.shiftKey) i.current.focus();
|
|
227
|
+
else {
|
|
228
|
+
let p = dt(i.current, {
|
|
229
|
+
tabbable: !0
|
|
230
|
+
}), H, U;
|
|
231
|
+
do
|
|
232
|
+
U = p.lastChild(), U && (H = U);
|
|
233
|
+
while (U);
|
|
234
|
+
H && !H.contains(document.activeElement) && be(H);
|
|
235
|
+
}
|
|
236
|
+
break;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}, x = E({
|
|
240
|
+
top: 0,
|
|
241
|
+
left: 0
|
|
242
|
+
});
|
|
243
|
+
ee(v, "scroll", y ? void 0 : () => {
|
|
244
|
+
var a, S, o, C;
|
|
245
|
+
x.current = {
|
|
246
|
+
top: (o = (a = v.current) === null || a === void 0 ? void 0 : a.scrollTop) !== null && o !== void 0 ? o : 0,
|
|
247
|
+
left: (C = (S = v.current) === null || S === void 0 ? void 0 : S.scrollLeft) !== null && C !== void 0 ? C : 0
|
|
248
|
+
};
|
|
249
|
+
});
|
|
250
|
+
let k = (a) => {
|
|
251
|
+
if (e.isFocused) {
|
|
252
|
+
a.currentTarget.contains(a.target) || e.setFocused(!1);
|
|
253
|
+
return;
|
|
254
|
+
}
|
|
255
|
+
if (a.currentTarget.contains(a.target)) {
|
|
256
|
+
if (e.setFocused(!0), e.focusedKey == null) {
|
|
257
|
+
var S, o;
|
|
258
|
+
let P = (N) => {
|
|
259
|
+
N != null && (e.setFocusedKey(N), h && !e.isSelected(N) && e.replaceSelection(N));
|
|
260
|
+
}, L = a.relatedTarget;
|
|
261
|
+
var C, F;
|
|
262
|
+
L && a.currentTarget.compareDocumentPosition(L) & Node.DOCUMENT_POSITION_FOLLOWING ? P((C = e.lastSelectedKey) !== null && C !== void 0 ? C : (S = t.getLastKey) === null || S === void 0 ? void 0 : S.call(t)) : P((F = e.firstSelectedKey) !== null && F !== void 0 ? F : (o = t.getFirstKey) === null || o === void 0 ? void 0 : o.call(t));
|
|
263
|
+
} else !y && v.current && (v.current.scrollTop = x.current.top, v.current.scrollLeft = x.current.left);
|
|
264
|
+
if (e.focusedKey != null && v.current) {
|
|
265
|
+
let P = le(i, e.focusedKey);
|
|
266
|
+
P instanceof HTMLElement && (!P.contains(document.activeElement) && !d && be(P), Ee() === "keyboard" && Ce(P, {
|
|
267
|
+
containingElement: i.current
|
|
268
|
+
}));
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
}, M = (a) => {
|
|
272
|
+
a.currentTarget.contains(a.relatedTarget) || e.setFocused(!1);
|
|
273
|
+
}, A = E(!1);
|
|
274
|
+
ee(i, $t, d ? (a) => {
|
|
275
|
+
let { detail: S } = a;
|
|
276
|
+
a.stopPropagation(), e.setFocused(!0), S?.focusStrategy === "first" && (A.current = !0);
|
|
277
|
+
} : void 0);
|
|
278
|
+
let T = we(() => {
|
|
279
|
+
var a, S;
|
|
280
|
+
let o = (S = (a = t.getFirstKey) === null || a === void 0 ? void 0 : a.call(t)) !== null && S !== void 0 ? S : null;
|
|
281
|
+
if (o == null) {
|
|
282
|
+
let C = _e();
|
|
283
|
+
Ye(i.current), Xe(C, null), e.collection.size > 0 && (A.current = !1);
|
|
284
|
+
} else
|
|
285
|
+
e.setFocusedKey(o), A.current = !1;
|
|
286
|
+
});
|
|
287
|
+
Ie(() => {
|
|
288
|
+
A.current && T();
|
|
289
|
+
}, [
|
|
290
|
+
e.collection,
|
|
291
|
+
T
|
|
292
|
+
]);
|
|
293
|
+
let I = we(() => {
|
|
294
|
+
e.collection.size > 0 && (A.current = !1);
|
|
295
|
+
});
|
|
296
|
+
Ie(() => {
|
|
297
|
+
I();
|
|
298
|
+
}, [
|
|
299
|
+
e.focusedKey,
|
|
300
|
+
I
|
|
301
|
+
]), ee(i, St, d ? (a) => {
|
|
302
|
+
var S;
|
|
303
|
+
a.stopPropagation(), e.setFocused(!1), !((S = a.detail) === null || S === void 0) && S.clearFocusKey && e.setFocusedKey(null);
|
|
304
|
+
} : void 0);
|
|
305
|
+
const W = E(l), O = E(!1);
|
|
306
|
+
Y(() => {
|
|
307
|
+
if (W.current) {
|
|
308
|
+
var a, S;
|
|
309
|
+
let F = null;
|
|
310
|
+
var o;
|
|
311
|
+
l === "first" && (F = (o = (a = t.getFirstKey) === null || a === void 0 ? void 0 : a.call(t)) !== null && o !== void 0 ? o : null);
|
|
312
|
+
var C;
|
|
313
|
+
l === "last" && (F = (C = (S = t.getLastKey) === null || S === void 0 ? void 0 : S.call(t)) !== null && C !== void 0 ? C : null);
|
|
314
|
+
let P = e.selectedKeys;
|
|
315
|
+
if (P.size) {
|
|
316
|
+
for (let L of P) if (e.canSelectItem(L)) {
|
|
317
|
+
F = L;
|
|
318
|
+
break;
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
e.setFocused(!0), e.setFocusedKey(F), F == null && !d && i.current && Se(i.current), e.collection.size > 0 && (W.current = !1, O.current = !0);
|
|
322
|
+
}
|
|
323
|
+
});
|
|
324
|
+
let V = E(e.focusedKey), D = E(null);
|
|
325
|
+
Y(() => {
|
|
326
|
+
if (e.isFocused && e.focusedKey != null && (e.focusedKey !== V.current || O.current) && v.current && i.current) {
|
|
327
|
+
let a = Ee(), S = le(i, e.focusedKey);
|
|
328
|
+
if (!(S instanceof HTMLElement))
|
|
329
|
+
return;
|
|
330
|
+
(a === "keyboard" || O.current) && (D.current && cancelAnimationFrame(D.current), D.current = requestAnimationFrame(() => {
|
|
331
|
+
v.current && (ct(v.current, S), a !== "virtual" && Ce(S, {
|
|
332
|
+
containingElement: i.current
|
|
333
|
+
}));
|
|
334
|
+
}));
|
|
335
|
+
}
|
|
336
|
+
!d && e.isFocused && e.focusedKey == null && V.current != null && i.current && Se(i.current), V.current = e.focusedKey, O.current = !1;
|
|
337
|
+
}), Y(() => () => {
|
|
338
|
+
D.current && cancelAnimationFrame(D.current);
|
|
339
|
+
}, []), ee(i, "react-aria-focus-scope-restore", (a) => {
|
|
340
|
+
a.preventDefault(), e.setFocused(!0);
|
|
341
|
+
});
|
|
342
|
+
let j = {
|
|
343
|
+
onKeyDown: w,
|
|
344
|
+
onFocus: k,
|
|
345
|
+
onBlur: M,
|
|
346
|
+
onMouseDown(a) {
|
|
347
|
+
v.current === a.target && a.preventDefault();
|
|
348
|
+
}
|
|
349
|
+
}, { typeSelectProps: re } = It({
|
|
350
|
+
keyboardDelegate: t,
|
|
351
|
+
selectionManager: e
|
|
352
|
+
});
|
|
353
|
+
b || (j = J(re, j));
|
|
354
|
+
let Q;
|
|
355
|
+
d || (Q = e.focusedKey == null ? 0 : -1);
|
|
356
|
+
let se = Dt(e.collection);
|
|
357
|
+
return {
|
|
358
|
+
collectionProps: J(j, {
|
|
359
|
+
tabIndex: Q,
|
|
360
|
+
"data-collection": se
|
|
361
|
+
})
|
|
362
|
+
};
|
|
363
|
+
}
|
|
364
|
+
function $i(n) {
|
|
365
|
+
let { id: e, selectionManager: t, key: i, ref: l, shouldSelectOnPressUp: r, shouldUseVirtualFocus: s, focus: c, isDisabled: u, onAction: h, allowsDifferentPressOrigin: b, linkBehavior: d = "action" } = n, f = Ge();
|
|
366
|
+
e = qe(e);
|
|
367
|
+
let y = (o) => {
|
|
368
|
+
if (o.pointerType === "keyboard" && $e(o)) t.toggleSelection(i);
|
|
369
|
+
else {
|
|
370
|
+
if (t.selectionMode === "none") return;
|
|
371
|
+
if (t.isLink(i)) {
|
|
372
|
+
if (d === "selection" && l.current) {
|
|
373
|
+
let C = t.getItemProps(i);
|
|
374
|
+
f.open(l.current, o, C.href, C.routerOptions), t.setSelectedKeys(t.selectedKeys);
|
|
375
|
+
return;
|
|
376
|
+
} else if (d === "override" || d === "none") return;
|
|
377
|
+
}
|
|
378
|
+
t.selectionMode === "single" ? t.isSelected(i) && !t.disallowEmptySelection ? t.toggleSelection(i) : t.replaceSelection(i) : o && o.shiftKey ? t.extendSelection(i) : t.selectionBehavior === "toggle" || o && (q(o) || o.pointerType === "touch" || o.pointerType === "virtual") ? t.toggleSelection(i) : t.replaceSelection(i);
|
|
379
|
+
}
|
|
380
|
+
};
|
|
381
|
+
Y(() => {
|
|
382
|
+
i === t.focusedKey && t.isFocused && (s ? Ye(l.current) : c ? c() : document.activeElement !== l.current && l.current && Se(l.current));
|
|
383
|
+
}, [
|
|
384
|
+
l,
|
|
385
|
+
i,
|
|
386
|
+
t.focusedKey,
|
|
387
|
+
t.childFocusStrategy,
|
|
388
|
+
t.isFocused,
|
|
389
|
+
s
|
|
390
|
+
]), u = u || t.isDisabled(i);
|
|
391
|
+
let v = {};
|
|
392
|
+
!s && !u ? v = {
|
|
393
|
+
tabIndex: i === t.focusedKey ? 0 : -1,
|
|
394
|
+
onFocus(o) {
|
|
395
|
+
o.target === l.current && t.setFocusedKey(i);
|
|
396
|
+
}
|
|
397
|
+
} : u && (v.onMouseDown = (o) => {
|
|
398
|
+
o.preventDefault();
|
|
399
|
+
});
|
|
400
|
+
let K = t.isLink(i) && d === "override", g = t.isLink(i) && d !== "selection" && d !== "none", m = !u && t.canSelectItem(i) && !K, w = (h || g) && !u, x = w && (t.selectionBehavior === "replace" ? !m : !m || t.isEmpty), k = w && m && t.selectionBehavior === "replace", M = x || k, A = E(null), T = M && m, I = E(!1), W = E(!1), O = t.getItemProps(i), V = (o) => {
|
|
401
|
+
h && h(), g && l.current && f.open(l.current, o, O.href, O.routerOptions);
|
|
402
|
+
}, D = {
|
|
403
|
+
ref: l
|
|
404
|
+
};
|
|
405
|
+
if (r ? (D.onPressStart = (o) => {
|
|
406
|
+
A.current = o.pointerType, I.current = T, o.pointerType === "keyboard" && (!M || Fe()) && y(o);
|
|
407
|
+
}, b ? (D.onPressUp = x ? void 0 : (o) => {
|
|
408
|
+
o.pointerType === "mouse" && m && y(o);
|
|
409
|
+
}, D.onPress = x ? V : (o) => {
|
|
410
|
+
o.pointerType !== "keyboard" && o.pointerType !== "mouse" && m && y(o);
|
|
411
|
+
}) : D.onPress = (o) => {
|
|
412
|
+
if (x || k && o.pointerType !== "mouse") {
|
|
413
|
+
if (o.pointerType === "keyboard" && !Pe()) return;
|
|
414
|
+
V(o);
|
|
415
|
+
} else o.pointerType !== "keyboard" && m && y(o);
|
|
416
|
+
}) : (D.onPressStart = (o) => {
|
|
417
|
+
A.current = o.pointerType, I.current = T, W.current = x, m && (o.pointerType === "mouse" && !x || o.pointerType === "keyboard" && (!w || Fe())) && y(o);
|
|
418
|
+
}, D.onPress = (o) => {
|
|
419
|
+
(o.pointerType === "touch" || o.pointerType === "pen" || o.pointerType === "virtual" || o.pointerType === "keyboard" && M && Pe() || o.pointerType === "mouse" && W.current) && (M ? V(o) : m && y(o));
|
|
420
|
+
}), v["data-collection"] = Et(t.collection), v["data-key"] = i, D.preventFocusOnPress = s, s && (D = J(D, {
|
|
421
|
+
onPressStart(o) {
|
|
422
|
+
o.pointerType !== "touch" && (t.setFocused(!0), t.setFocusedKey(i));
|
|
423
|
+
},
|
|
424
|
+
onPress(o) {
|
|
425
|
+
o.pointerType === "touch" && (t.setFocused(!0), t.setFocusedKey(i));
|
|
426
|
+
}
|
|
427
|
+
})), O)
|
|
428
|
+
for (let o of [
|
|
429
|
+
"onPressStart",
|
|
430
|
+
"onPressEnd",
|
|
431
|
+
"onPressChange",
|
|
432
|
+
"onPress",
|
|
433
|
+
"onPressUp",
|
|
434
|
+
"onClick"
|
|
435
|
+
]) O[o] && (D[o] = ot(D[o], O[o]));
|
|
436
|
+
let { pressProps: j, isPressed: re } = We(D), Q = k ? (o) => {
|
|
437
|
+
A.current === "mouse" && (o.stopPropagation(), o.preventDefault(), V(o));
|
|
438
|
+
} : void 0, { longPressProps: se } = xt({
|
|
439
|
+
isDisabled: !T,
|
|
440
|
+
onLongPress(o) {
|
|
441
|
+
o.pointerType === "touch" && (y(o), t.setSelectionBehavior("toggle"));
|
|
442
|
+
}
|
|
443
|
+
}), a = (o) => {
|
|
444
|
+
A.current === "touch" && I.current && o.preventDefault();
|
|
445
|
+
}, S = d !== "none" && t.isLink(i) ? (o) => {
|
|
446
|
+
ut.isOpening || o.preventDefault();
|
|
447
|
+
} : void 0;
|
|
448
|
+
return {
|
|
449
|
+
itemProps: J(
|
|
450
|
+
v,
|
|
451
|
+
m || x || s && !u ? j : {},
|
|
452
|
+
T ? se : {},
|
|
453
|
+
{
|
|
454
|
+
onDoubleClick: Q,
|
|
455
|
+
onDragStartCapture: a,
|
|
456
|
+
onClick: S,
|
|
457
|
+
id: e
|
|
458
|
+
},
|
|
459
|
+
// Prevent DOM focus from moving on mouse down when using virtual focus
|
|
460
|
+
s ? {
|
|
461
|
+
onMouseDown: (o) => o.preventDefault()
|
|
462
|
+
} : void 0
|
|
463
|
+
),
|
|
464
|
+
isPressed: re,
|
|
465
|
+
isSelected: t.isSelected(i),
|
|
466
|
+
isFocused: t.isFocused && t.focusedKey === i,
|
|
467
|
+
isDisabled: u,
|
|
468
|
+
allowsSelection: m,
|
|
469
|
+
hasAction: M
|
|
470
|
+
};
|
|
471
|
+
}
|
|
472
|
+
function Pe() {
|
|
473
|
+
let n = window.event;
|
|
474
|
+
return n?.key === "Enter";
|
|
475
|
+
}
|
|
476
|
+
function Fe() {
|
|
477
|
+
let n = window.event;
|
|
478
|
+
return n?.key === " " || n?.code === "Space";
|
|
479
|
+
}
|
|
480
|
+
class Me {
|
|
481
|
+
getItemRect(e) {
|
|
482
|
+
let t = this.ref.current;
|
|
483
|
+
if (!t) return null;
|
|
484
|
+
let i = e != null ? le(this.ref, e) : null;
|
|
485
|
+
if (!i) return null;
|
|
486
|
+
let l = t.getBoundingClientRect(), r = i.getBoundingClientRect();
|
|
487
|
+
return {
|
|
488
|
+
x: r.left - l.left + t.scrollLeft,
|
|
489
|
+
y: r.top - l.top + t.scrollTop,
|
|
490
|
+
width: r.width,
|
|
491
|
+
height: r.height
|
|
492
|
+
};
|
|
493
|
+
}
|
|
494
|
+
getContentSize() {
|
|
495
|
+
let e = this.ref.current;
|
|
496
|
+
var t, i;
|
|
497
|
+
return {
|
|
498
|
+
width: (t = e?.scrollWidth) !== null && t !== void 0 ? t : 0,
|
|
499
|
+
height: (i = e?.scrollHeight) !== null && i !== void 0 ? i : 0
|
|
500
|
+
};
|
|
501
|
+
}
|
|
502
|
+
getVisibleRect() {
|
|
503
|
+
let e = this.ref.current;
|
|
504
|
+
var t, i, l, r;
|
|
505
|
+
return {
|
|
506
|
+
x: (t = e?.scrollLeft) !== null && t !== void 0 ? t : 0,
|
|
507
|
+
y: (i = e?.scrollTop) !== null && i !== void 0 ? i : 0,
|
|
508
|
+
width: (l = e?.offsetWidth) !== null && l !== void 0 ? l : 0,
|
|
509
|
+
height: (r = e?.offsetHeight) !== null && r !== void 0 ? r : 0
|
|
510
|
+
};
|
|
511
|
+
}
|
|
512
|
+
constructor(e) {
|
|
513
|
+
this.ref = e;
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
class Ki {
|
|
517
|
+
isDisabled(e) {
|
|
518
|
+
var t;
|
|
519
|
+
return this.disabledBehavior === "all" && (((t = e.props) === null || t === void 0 ? void 0 : t.isDisabled) || this.disabledKeys.has(e.key));
|
|
520
|
+
}
|
|
521
|
+
findNextNonDisabled(e, t) {
|
|
522
|
+
let i = e;
|
|
523
|
+
for (; i != null; ) {
|
|
524
|
+
let l = this.collection.getItem(i);
|
|
525
|
+
if (l?.type === "item" && !this.isDisabled(l)) return i;
|
|
526
|
+
i = t(i);
|
|
527
|
+
}
|
|
528
|
+
return null;
|
|
529
|
+
}
|
|
530
|
+
getNextKey(e) {
|
|
531
|
+
let t = e;
|
|
532
|
+
return t = this.collection.getKeyAfter(t), this.findNextNonDisabled(t, (i) => this.collection.getKeyAfter(i));
|
|
533
|
+
}
|
|
534
|
+
getPreviousKey(e) {
|
|
535
|
+
let t = e;
|
|
536
|
+
return t = this.collection.getKeyBefore(t), this.findNextNonDisabled(t, (i) => this.collection.getKeyBefore(i));
|
|
537
|
+
}
|
|
538
|
+
findKey(e, t, i) {
|
|
539
|
+
let l = e, r = this.layoutDelegate.getItemRect(l);
|
|
540
|
+
if (!r || l == null) return null;
|
|
541
|
+
let s = r;
|
|
542
|
+
do {
|
|
543
|
+
if (l = t(l), l == null) break;
|
|
544
|
+
r = this.layoutDelegate.getItemRect(l);
|
|
545
|
+
} while (r && i(s, r) && l != null);
|
|
546
|
+
return l;
|
|
547
|
+
}
|
|
548
|
+
isSameRow(e, t) {
|
|
549
|
+
return e.y === t.y || e.x !== t.x;
|
|
550
|
+
}
|
|
551
|
+
isSameColumn(e, t) {
|
|
552
|
+
return e.x === t.x || e.y !== t.y;
|
|
553
|
+
}
|
|
554
|
+
getKeyBelow(e) {
|
|
555
|
+
return this.layout === "grid" && this.orientation === "vertical" ? this.findKey(e, (t) => this.getNextKey(t), this.isSameRow) : this.getNextKey(e);
|
|
556
|
+
}
|
|
557
|
+
getKeyAbove(e) {
|
|
558
|
+
return this.layout === "grid" && this.orientation === "vertical" ? this.findKey(e, (t) => this.getPreviousKey(t), this.isSameRow) : this.getPreviousKey(e);
|
|
559
|
+
}
|
|
560
|
+
getNextColumn(e, t) {
|
|
561
|
+
return t ? this.getPreviousKey(e) : this.getNextKey(e);
|
|
562
|
+
}
|
|
563
|
+
getKeyRightOf(e) {
|
|
564
|
+
let t = this.direction === "ltr" ? "getKeyRightOf" : "getKeyLeftOf";
|
|
565
|
+
return this.layoutDelegate[t] ? (e = this.layoutDelegate[t](e), this.findNextNonDisabled(e, (i) => this.layoutDelegate[t](i))) : this.layout === "grid" ? this.orientation === "vertical" ? this.getNextColumn(e, this.direction === "rtl") : this.findKey(e, (i) => this.getNextColumn(i, this.direction === "rtl"), this.isSameColumn) : this.orientation === "horizontal" ? this.getNextColumn(e, this.direction === "rtl") : null;
|
|
566
|
+
}
|
|
567
|
+
getKeyLeftOf(e) {
|
|
568
|
+
let t = this.direction === "ltr" ? "getKeyLeftOf" : "getKeyRightOf";
|
|
569
|
+
return this.layoutDelegate[t] ? (e = this.layoutDelegate[t](e), this.findNextNonDisabled(e, (i) => this.layoutDelegate[t](i))) : this.layout === "grid" ? this.orientation === "vertical" ? this.getNextColumn(e, this.direction === "ltr") : this.findKey(e, (i) => this.getNextColumn(i, this.direction === "ltr"), this.isSameColumn) : this.orientation === "horizontal" ? this.getNextColumn(e, this.direction === "ltr") : null;
|
|
570
|
+
}
|
|
571
|
+
getFirstKey() {
|
|
572
|
+
let e = this.collection.getFirstKey();
|
|
573
|
+
return this.findNextNonDisabled(e, (t) => this.collection.getKeyAfter(t));
|
|
574
|
+
}
|
|
575
|
+
getLastKey() {
|
|
576
|
+
let e = this.collection.getLastKey();
|
|
577
|
+
return this.findNextNonDisabled(e, (t) => this.collection.getKeyBefore(t));
|
|
578
|
+
}
|
|
579
|
+
getKeyPageAbove(e) {
|
|
580
|
+
let t = this.ref.current, i = this.layoutDelegate.getItemRect(e);
|
|
581
|
+
if (!i) return null;
|
|
582
|
+
if (t && !De(t)) return this.getFirstKey();
|
|
583
|
+
let l = e;
|
|
584
|
+
if (this.orientation === "horizontal") {
|
|
585
|
+
let r = Math.max(0, i.x + i.width - this.layoutDelegate.getVisibleRect().width);
|
|
586
|
+
for (; i && i.x > r && l != null; )
|
|
587
|
+
l = this.getKeyAbove(l), i = l == null ? null : this.layoutDelegate.getItemRect(l);
|
|
588
|
+
} else {
|
|
589
|
+
let r = Math.max(0, i.y + i.height - this.layoutDelegate.getVisibleRect().height);
|
|
590
|
+
for (; i && i.y > r && l != null; )
|
|
591
|
+
l = this.getKeyAbove(l), i = l == null ? null : this.layoutDelegate.getItemRect(l);
|
|
592
|
+
}
|
|
593
|
+
return l ?? this.getFirstKey();
|
|
594
|
+
}
|
|
595
|
+
getKeyPageBelow(e) {
|
|
596
|
+
let t = this.ref.current, i = this.layoutDelegate.getItemRect(e);
|
|
597
|
+
if (!i) return null;
|
|
598
|
+
if (t && !De(t)) return this.getLastKey();
|
|
599
|
+
let l = e;
|
|
600
|
+
if (this.orientation === "horizontal") {
|
|
601
|
+
let r = Math.min(this.layoutDelegate.getContentSize().width, i.y - i.width + this.layoutDelegate.getVisibleRect().width);
|
|
602
|
+
for (; i && i.x < r && l != null; )
|
|
603
|
+
l = this.getKeyBelow(l), i = l == null ? null : this.layoutDelegate.getItemRect(l);
|
|
604
|
+
} else {
|
|
605
|
+
let r = Math.min(this.layoutDelegate.getContentSize().height, i.y - i.height + this.layoutDelegate.getVisibleRect().height);
|
|
606
|
+
for (; i && i.y < r && l != null; )
|
|
607
|
+
l = this.getKeyBelow(l), i = l == null ? null : this.layoutDelegate.getItemRect(l);
|
|
608
|
+
}
|
|
609
|
+
return l ?? this.getLastKey();
|
|
610
|
+
}
|
|
611
|
+
getKeyForSearch(e, t) {
|
|
612
|
+
if (!this.collator) return null;
|
|
613
|
+
let i = this.collection, l = t || this.getFirstKey();
|
|
614
|
+
for (; l != null; ) {
|
|
615
|
+
let r = i.getItem(l);
|
|
616
|
+
if (!r) return null;
|
|
617
|
+
let s = r.textValue.slice(0, e.length);
|
|
618
|
+
if (r.textValue && this.collator.compare(s, e) === 0) return l;
|
|
619
|
+
l = this.getNextKey(l);
|
|
620
|
+
}
|
|
621
|
+
return null;
|
|
622
|
+
}
|
|
623
|
+
constructor(...e) {
|
|
624
|
+
if (e.length === 1) {
|
|
625
|
+
let t = e[0];
|
|
626
|
+
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 Me(t.ref);
|
|
627
|
+
} else
|
|
628
|
+
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 Me(this.ref);
|
|
629
|
+
this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
class Ft {
|
|
633
|
+
build(e, t) {
|
|
634
|
+
return this.context = t, Ae(() => this.iterateCollection(e));
|
|
635
|
+
}
|
|
636
|
+
*iterateCollection(e) {
|
|
637
|
+
let { children: t, items: i } = e;
|
|
638
|
+
if ($.isValidElement(t) && t.type === $.Fragment) yield* this.iterateCollection({
|
|
639
|
+
children: t.props.children,
|
|
640
|
+
items: i
|
|
641
|
+
});
|
|
642
|
+
else if (typeof t == "function") {
|
|
643
|
+
if (!i) throw new Error("props.children was a function but props.items is missing");
|
|
644
|
+
let l = 0;
|
|
645
|
+
for (let r of i)
|
|
646
|
+
yield* this.getFullNode({
|
|
647
|
+
value: r,
|
|
648
|
+
index: l
|
|
649
|
+
}, {
|
|
650
|
+
renderer: t
|
|
651
|
+
}), l++;
|
|
652
|
+
} else {
|
|
653
|
+
let l = [];
|
|
654
|
+
$.Children.forEach(t, (s) => {
|
|
655
|
+
s && l.push(s);
|
|
656
|
+
});
|
|
657
|
+
let r = 0;
|
|
658
|
+
for (let s of l) {
|
|
659
|
+
let c = this.getFullNode({
|
|
660
|
+
element: s,
|
|
661
|
+
index: r
|
|
662
|
+
}, {});
|
|
663
|
+
for (let u of c)
|
|
664
|
+
r++, yield u;
|
|
665
|
+
}
|
|
666
|
+
}
|
|
667
|
+
}
|
|
668
|
+
getKey(e, t, i, l) {
|
|
669
|
+
if (e.key != null) return e.key;
|
|
670
|
+
if (t.type === "cell" && t.key != null) return `${l}${t.key}`;
|
|
671
|
+
let r = t.value;
|
|
672
|
+
if (r != null) {
|
|
673
|
+
var s;
|
|
674
|
+
let c = (s = r.key) !== null && s !== void 0 ? s : r.id;
|
|
675
|
+
if (c == null) throw new Error("No key found for item");
|
|
676
|
+
return c;
|
|
677
|
+
}
|
|
678
|
+
return l ? `${l}.${t.index}` : `$.${t.index}`;
|
|
679
|
+
}
|
|
680
|
+
getChildState(e, t) {
|
|
681
|
+
return {
|
|
682
|
+
renderer: t.renderer || e.renderer
|
|
683
|
+
};
|
|
684
|
+
}
|
|
685
|
+
*getFullNode(e, t, i, l) {
|
|
686
|
+
if ($.isValidElement(e.element) && e.element.type === $.Fragment) {
|
|
687
|
+
let g = [];
|
|
688
|
+
$.Children.forEach(e.element.props.children, (w) => {
|
|
689
|
+
g.push(w);
|
|
690
|
+
});
|
|
691
|
+
var r;
|
|
692
|
+
let m = (r = e.index) !== null && r !== void 0 ? r : 0;
|
|
693
|
+
for (const w of g) yield* this.getFullNode({
|
|
694
|
+
element: w,
|
|
695
|
+
index: m++
|
|
696
|
+
}, t, i, l);
|
|
697
|
+
return;
|
|
698
|
+
}
|
|
699
|
+
let s = e.element;
|
|
700
|
+
if (!s && e.value && t && t.renderer) {
|
|
701
|
+
let g = this.cache.get(e.value);
|
|
702
|
+
if (g && (!g.shouldInvalidate || !g.shouldInvalidate(this.context))) {
|
|
703
|
+
g.index = e.index, g.parentKey = l ? l.key : null, yield g;
|
|
704
|
+
return;
|
|
705
|
+
}
|
|
706
|
+
s = t.renderer(e.value);
|
|
707
|
+
}
|
|
708
|
+
if ($.isValidElement(s)) {
|
|
709
|
+
let g = s.type;
|
|
710
|
+
if (typeof g != "function" && typeof g.getCollectionNode != "function") {
|
|
711
|
+
let k = s.type;
|
|
712
|
+
throw new Error(`Unknown element <${k}> in collection.`);
|
|
713
|
+
}
|
|
714
|
+
let m = g.getCollectionNode(s.props, this.context);
|
|
715
|
+
var c;
|
|
716
|
+
let w = (c = e.index) !== null && c !== void 0 ? c : 0, x = m.next();
|
|
717
|
+
for (; !x.done && x.value; ) {
|
|
718
|
+
let k = x.value;
|
|
719
|
+
e.index = w;
|
|
720
|
+
var u;
|
|
721
|
+
let M = (u = k.key) !== null && u !== void 0 ? u : null;
|
|
722
|
+
M == null && (M = k.element ? null : this.getKey(s, e, t, i));
|
|
723
|
+
let T = [
|
|
724
|
+
...this.getFullNode({
|
|
725
|
+
...k,
|
|
726
|
+
key: M,
|
|
727
|
+
index: w,
|
|
728
|
+
wrapper: Mt(e.wrapper, k.wrapper)
|
|
729
|
+
}, this.getChildState(t, k), i ? `${i}${s.key}` : s.key, l)
|
|
730
|
+
];
|
|
731
|
+
for (let I of T) {
|
|
732
|
+
var h, b;
|
|
733
|
+
I.value = (b = (h = k.value) !== null && h !== void 0 ? h : e.value) !== null && b !== void 0 ? b : null, I.value && this.cache.set(I.value, I);
|
|
734
|
+
var d;
|
|
735
|
+
if (e.type && I.type !== e.type) throw new Error(`Unsupported type <${ye(I.type)}> in <${ye((d = l?.type) !== null && d !== void 0 ? d : "unknown parent type")}>. Only <${ye(e.type)}> is supported.`);
|
|
736
|
+
w++, yield I;
|
|
737
|
+
}
|
|
738
|
+
x = m.next(T);
|
|
739
|
+
}
|
|
740
|
+
return;
|
|
741
|
+
}
|
|
742
|
+
if (e.key == null || e.type == null) return;
|
|
743
|
+
let f = this;
|
|
744
|
+
var y, v;
|
|
745
|
+
let K = {
|
|
746
|
+
type: e.type,
|
|
747
|
+
props: e.props,
|
|
748
|
+
key: e.key,
|
|
749
|
+
parentKey: l ? l.key : null,
|
|
750
|
+
value: (y = e.value) !== null && y !== void 0 ? y : null,
|
|
751
|
+
level: l ? l.level + 1 : 0,
|
|
752
|
+
index: e.index,
|
|
753
|
+
rendered: e.rendered,
|
|
754
|
+
textValue: (v = e.textValue) !== null && v !== void 0 ? v : "",
|
|
755
|
+
"aria-label": e["aria-label"],
|
|
756
|
+
wrapper: e.wrapper,
|
|
757
|
+
shouldInvalidate: e.shouldInvalidate,
|
|
758
|
+
hasChildNodes: e.hasChildNodes || !1,
|
|
759
|
+
childNodes: Ae(function* () {
|
|
760
|
+
if (!e.hasChildNodes || !e.childNodes) return;
|
|
761
|
+
let g = 0;
|
|
762
|
+
for (let m of e.childNodes()) {
|
|
763
|
+
m.key != null && (m.key = `${K.key}${m.key}`);
|
|
764
|
+
let w = f.getFullNode({
|
|
765
|
+
...m,
|
|
766
|
+
index: g
|
|
767
|
+
}, f.getChildState(t, m), K.key, K);
|
|
768
|
+
for (let x of w)
|
|
769
|
+
g++, yield x;
|
|
770
|
+
}
|
|
771
|
+
})
|
|
772
|
+
};
|
|
773
|
+
yield K;
|
|
774
|
+
}
|
|
775
|
+
constructor() {
|
|
776
|
+
this.cache = /* @__PURE__ */ new WeakMap();
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
function Ae(n) {
|
|
780
|
+
let e = [], t = null;
|
|
781
|
+
return {
|
|
782
|
+
*[Symbol.iterator]() {
|
|
783
|
+
for (let i of e) yield i;
|
|
784
|
+
t || (t = n());
|
|
785
|
+
for (let i of t)
|
|
786
|
+
e.push(i), yield i;
|
|
787
|
+
}
|
|
788
|
+
};
|
|
789
|
+
}
|
|
790
|
+
function Mt(n, e) {
|
|
791
|
+
if (n && e) return (t) => n(e(t));
|
|
792
|
+
if (n) return n;
|
|
793
|
+
if (e) return e;
|
|
794
|
+
}
|
|
795
|
+
function ye(n) {
|
|
796
|
+
return n[0].toUpperCase() + n.slice(1);
|
|
797
|
+
}
|
|
798
|
+
function xi(n, e, t) {
|
|
799
|
+
let i = B(() => new Ft(), []), { children: l, items: r, collection: s } = n;
|
|
800
|
+
return B(() => {
|
|
801
|
+
if (s) return s;
|
|
802
|
+
let u = i.build({
|
|
803
|
+
children: l,
|
|
804
|
+
items: r
|
|
805
|
+
}, t);
|
|
806
|
+
return e(u);
|
|
807
|
+
}, [
|
|
808
|
+
i,
|
|
809
|
+
l,
|
|
810
|
+
r,
|
|
811
|
+
s,
|
|
812
|
+
t,
|
|
813
|
+
e
|
|
814
|
+
]);
|
|
815
|
+
}
|
|
816
|
+
function At(n, e) {
|
|
817
|
+
return typeof e.getChildren == "function" ? e.getChildren(n.key) : n.childNodes;
|
|
818
|
+
}
|
|
819
|
+
function Rt(n) {
|
|
820
|
+
return Tt(n, 0);
|
|
821
|
+
}
|
|
822
|
+
function Tt(n, e) {
|
|
823
|
+
if (e < 0) return;
|
|
824
|
+
let t = 0;
|
|
825
|
+
for (let i of n) {
|
|
826
|
+
if (t === e) return i;
|
|
827
|
+
t++;
|
|
828
|
+
}
|
|
829
|
+
}
|
|
830
|
+
function wi(n) {
|
|
831
|
+
let e;
|
|
832
|
+
for (let t of n) e = t;
|
|
833
|
+
return e;
|
|
834
|
+
}
|
|
835
|
+
function pe(n, e, t) {
|
|
836
|
+
if (e.parentKey === t.parentKey) return e.index - t.index;
|
|
837
|
+
let i = [
|
|
838
|
+
...Re(n, e),
|
|
839
|
+
e
|
|
840
|
+
], l = [
|
|
841
|
+
...Re(n, t),
|
|
842
|
+
t
|
|
843
|
+
], r = i.slice(0, l.length).findIndex((s, c) => s !== l[c]);
|
|
844
|
+
return r !== -1 ? (e = i[r], t = l[r], e.index - t.index) : i.findIndex((s) => s === t) >= 0 ? 1 : (l.findIndex((s) => s === e) >= 0, -1);
|
|
845
|
+
}
|
|
846
|
+
function Re(n, e) {
|
|
847
|
+
let t = [], i = e;
|
|
848
|
+
for (; i?.parentKey != null; )
|
|
849
|
+
i = n.getItem(i.parentKey), i && t.unshift(i);
|
|
850
|
+
return t;
|
|
851
|
+
}
|
|
852
|
+
var te = { exports: {} }, ve = {};
|
|
853
|
+
/**
|
|
854
|
+
* @license React
|
|
855
|
+
* use-sync-external-store-shim.production.js
|
|
856
|
+
*
|
|
857
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
858
|
+
*
|
|
859
|
+
* This source code is licensed under the MIT license found in the
|
|
860
|
+
* LICENSE file in the root directory of this source tree.
|
|
861
|
+
*/
|
|
862
|
+
var Te;
|
|
863
|
+
function Ot() {
|
|
864
|
+
if (Te) return ve;
|
|
865
|
+
Te = 1;
|
|
866
|
+
var n = $;
|
|
867
|
+
function e(d, f) {
|
|
868
|
+
return d === f && (d !== 0 || 1 / d === 1 / f) || d !== d && f !== f;
|
|
869
|
+
}
|
|
870
|
+
var t = typeof Object.is == "function" ? Object.is : e, i = n.useState, l = n.useEffect, r = n.useLayoutEffect, s = n.useDebugValue;
|
|
871
|
+
function c(d, f) {
|
|
872
|
+
var y = f(), v = i({ inst: { value: y, getSnapshot: f } }), K = v[0].inst, g = v[1];
|
|
873
|
+
return r(
|
|
874
|
+
function() {
|
|
875
|
+
K.value = y, K.getSnapshot = f, u(K) && g({ inst: K });
|
|
876
|
+
},
|
|
877
|
+
[d, y, f]
|
|
878
|
+
), l(
|
|
879
|
+
function() {
|
|
880
|
+
return u(K) && g({ inst: K }), d(function() {
|
|
881
|
+
u(K) && g({ inst: K });
|
|
882
|
+
});
|
|
883
|
+
},
|
|
884
|
+
[d]
|
|
885
|
+
), s(y), y;
|
|
886
|
+
}
|
|
887
|
+
function u(d) {
|
|
888
|
+
var f = d.getSnapshot;
|
|
889
|
+
d = d.value;
|
|
890
|
+
try {
|
|
891
|
+
var y = f();
|
|
892
|
+
return !t(d, y);
|
|
893
|
+
} catch {
|
|
894
|
+
return !0;
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
function h(d, f) {
|
|
898
|
+
return f();
|
|
899
|
+
}
|
|
900
|
+
var b = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? h : c;
|
|
901
|
+
return ve.useSyncExternalStore = n.useSyncExternalStore !== void 0 ? n.useSyncExternalStore : b, ve;
|
|
902
|
+
}
|
|
903
|
+
var ge = {};
|
|
904
|
+
/**
|
|
905
|
+
* @license React
|
|
906
|
+
* use-sync-external-store-shim.development.js
|
|
907
|
+
*
|
|
908
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
909
|
+
*
|
|
910
|
+
* This source code is licensed under the MIT license found in the
|
|
911
|
+
* LICENSE file in the root directory of this source tree.
|
|
912
|
+
*/
|
|
913
|
+
var Oe;
|
|
914
|
+
function Lt() {
|
|
915
|
+
return Oe || (Oe = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
916
|
+
function n(y, v) {
|
|
917
|
+
return y === v && (y !== 0 || 1 / y === 1 / v) || y !== y && v !== v;
|
|
918
|
+
}
|
|
919
|
+
function e(y, v) {
|
|
920
|
+
b || l.startTransition === void 0 || (b = !0, console.error(
|
|
921
|
+
"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."
|
|
922
|
+
));
|
|
923
|
+
var K = v();
|
|
924
|
+
if (!d) {
|
|
925
|
+
var g = v();
|
|
926
|
+
r(K, g) || (console.error(
|
|
927
|
+
"The result of getSnapshot should be cached to avoid an infinite loop"
|
|
928
|
+
), d = !0);
|
|
929
|
+
}
|
|
930
|
+
g = s({
|
|
931
|
+
inst: { value: K, getSnapshot: v }
|
|
932
|
+
});
|
|
933
|
+
var m = g[0].inst, w = g[1];
|
|
934
|
+
return u(
|
|
935
|
+
function() {
|
|
936
|
+
m.value = K, m.getSnapshot = v, t(m) && w({ inst: m });
|
|
937
|
+
},
|
|
938
|
+
[y, K, v]
|
|
939
|
+
), c(
|
|
940
|
+
function() {
|
|
941
|
+
return t(m) && w({ inst: m }), y(function() {
|
|
942
|
+
t(m) && w({ inst: m });
|
|
943
|
+
});
|
|
944
|
+
},
|
|
945
|
+
[y]
|
|
946
|
+
), h(K), K;
|
|
947
|
+
}
|
|
948
|
+
function t(y) {
|
|
949
|
+
var v = y.getSnapshot;
|
|
950
|
+
y = y.value;
|
|
951
|
+
try {
|
|
952
|
+
var K = v();
|
|
953
|
+
return !r(y, K);
|
|
954
|
+
} catch {
|
|
955
|
+
return !0;
|
|
956
|
+
}
|
|
957
|
+
}
|
|
958
|
+
function i(y, v) {
|
|
959
|
+
return v();
|
|
960
|
+
}
|
|
961
|
+
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
962
|
+
var l = $, r = typeof Object.is == "function" ? Object.is : n, s = l.useState, c = l.useEffect, u = l.useLayoutEffect, h = l.useDebugValue, b = !1, d = !1, f = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? i : e;
|
|
963
|
+
ge.useSyncExternalStore = l.useSyncExternalStore !== void 0 ? l.useSyncExternalStore : f, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
964
|
+
})()), ge;
|
|
965
|
+
}
|
|
966
|
+
var Le;
|
|
967
|
+
function Bt() {
|
|
968
|
+
return Le || (Le = 1, process.env.NODE_ENV === "production" ? te.exports = Ot() : te.exports = Lt()), te.exports;
|
|
969
|
+
}
|
|
970
|
+
var Vt = /* @__PURE__ */ Bt();
|
|
971
|
+
const Ci = /* @__PURE__ */ z(null), Di = /* @__PURE__ */ z(null);
|
|
972
|
+
class ne {
|
|
973
|
+
get childNodes() {
|
|
974
|
+
throw new Error("childNodes is not supported");
|
|
975
|
+
}
|
|
976
|
+
clone() {
|
|
977
|
+
let e = new this.constructor(this.key);
|
|
978
|
+
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;
|
|
979
|
+
}
|
|
980
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
981
|
+
filter(e, t, i) {
|
|
982
|
+
let l = this.clone();
|
|
983
|
+
return t.addDescendants(l, e), l;
|
|
984
|
+
}
|
|
985
|
+
constructor(e) {
|
|
986
|
+
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 = this.constructor.type, this.key = e;
|
|
987
|
+
}
|
|
988
|
+
}
|
|
989
|
+
class Ze extends ne {
|
|
990
|
+
filter(e, t, i) {
|
|
991
|
+
let [l, r] = Qe(e, t, this.firstChildKey, i), s = this.clone();
|
|
992
|
+
return s.firstChildKey = l, s.lastChildKey = r, s;
|
|
993
|
+
}
|
|
994
|
+
}
|
|
995
|
+
class Nt extends ne {
|
|
996
|
+
}
|
|
997
|
+
Nt.type = "header";
|
|
998
|
+
class zt extends ne {
|
|
999
|
+
}
|
|
1000
|
+
zt.type = "loader";
|
|
1001
|
+
class Ht extends Ze {
|
|
1002
|
+
filter(e, t, i) {
|
|
1003
|
+
if (i(this.textValue, this)) {
|
|
1004
|
+
let l = this.clone();
|
|
1005
|
+
return t.addDescendants(l, e), l;
|
|
1006
|
+
}
|
|
1007
|
+
return null;
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
1010
|
+
Ht.type = "item";
|
|
1011
|
+
class Ut extends Ze {
|
|
1012
|
+
filter(e, t, i) {
|
|
1013
|
+
let l = super.filter(e, t, i);
|
|
1014
|
+
if (l && l.lastChildKey !== null) {
|
|
1015
|
+
let r = e.getItem(l.lastChildKey);
|
|
1016
|
+
if (r && r.type !== "header") return l;
|
|
1017
|
+
}
|
|
1018
|
+
return null;
|
|
1019
|
+
}
|
|
1020
|
+
}
|
|
1021
|
+
Ut.type = "section";
|
|
1022
|
+
class _t {
|
|
1023
|
+
get size() {
|
|
1024
|
+
return this.itemCount;
|
|
1025
|
+
}
|
|
1026
|
+
getKeys() {
|
|
1027
|
+
return this.keyMap.keys();
|
|
1028
|
+
}
|
|
1029
|
+
*[Symbol.iterator]() {
|
|
1030
|
+
let e = this.firstKey != null ? this.keyMap.get(this.firstKey) : void 0;
|
|
1031
|
+
for (; e; )
|
|
1032
|
+
yield e, e = e.nextKey != null ? this.keyMap.get(e.nextKey) : void 0;
|
|
1033
|
+
}
|
|
1034
|
+
getChildren(e) {
|
|
1035
|
+
let t = this.keyMap;
|
|
1036
|
+
return {
|
|
1037
|
+
*[Symbol.iterator]() {
|
|
1038
|
+
let i = t.get(e), l = i?.firstChildKey != null ? t.get(i.firstChildKey) : null;
|
|
1039
|
+
for (; l; )
|
|
1040
|
+
yield l, l = l.nextKey != null ? t.get(l.nextKey) : void 0;
|
|
1041
|
+
}
|
|
1042
|
+
};
|
|
1043
|
+
}
|
|
1044
|
+
getKeyBefore(e) {
|
|
1045
|
+
let t = this.keyMap.get(e);
|
|
1046
|
+
if (!t) return null;
|
|
1047
|
+
if (t.prevKey != null) {
|
|
1048
|
+
for (t = this.keyMap.get(t.prevKey); t && t.type !== "item" && t.lastChildKey != null; ) t = this.keyMap.get(t.lastChildKey);
|
|
1049
|
+
var i;
|
|
1050
|
+
return (i = t?.key) !== null && i !== void 0 ? i : null;
|
|
1051
|
+
}
|
|
1052
|
+
return t.parentKey;
|
|
1053
|
+
}
|
|
1054
|
+
getKeyAfter(e) {
|
|
1055
|
+
let t = this.keyMap.get(e);
|
|
1056
|
+
if (!t) return null;
|
|
1057
|
+
if (t.type !== "item" && t.firstChildKey != null) return t.firstChildKey;
|
|
1058
|
+
for (; t; ) {
|
|
1059
|
+
if (t.nextKey != null) return t.nextKey;
|
|
1060
|
+
if (t.parentKey != null) t = this.keyMap.get(t.parentKey);
|
|
1061
|
+
else return null;
|
|
1062
|
+
}
|
|
1063
|
+
return null;
|
|
1064
|
+
}
|
|
1065
|
+
getFirstKey() {
|
|
1066
|
+
return this.firstKey;
|
|
1067
|
+
}
|
|
1068
|
+
getLastKey() {
|
|
1069
|
+
let e = this.lastKey != null ? this.keyMap.get(this.lastKey) : null;
|
|
1070
|
+
for (; e?.lastChildKey != null; ) e = this.keyMap.get(e.lastChildKey);
|
|
1071
|
+
var t;
|
|
1072
|
+
return (t = e?.key) !== null && t !== void 0 ? t : null;
|
|
1073
|
+
}
|
|
1074
|
+
getItem(e) {
|
|
1075
|
+
var t;
|
|
1076
|
+
return (t = this.keyMap.get(e)) !== null && t !== void 0 ? t : null;
|
|
1077
|
+
}
|
|
1078
|
+
at() {
|
|
1079
|
+
throw new Error("Not implemented");
|
|
1080
|
+
}
|
|
1081
|
+
clone() {
|
|
1082
|
+
let e = this.constructor, t = new e();
|
|
1083
|
+
return t.keyMap = new Map(this.keyMap), t.firstKey = this.firstKey, t.lastKey = this.lastKey, t.itemCount = this.itemCount, t;
|
|
1084
|
+
}
|
|
1085
|
+
addNode(e) {
|
|
1086
|
+
if (this.frozen) throw new Error("Cannot add a node to a frozen collection");
|
|
1087
|
+
e.type === "item" && this.keyMap.get(e.key) == null && this.itemCount++, this.keyMap.set(e.key, e);
|
|
1088
|
+
}
|
|
1089
|
+
// Deeply add a node and its children to the collection from another collection, primarily used when filtering a collection
|
|
1090
|
+
addDescendants(e, t) {
|
|
1091
|
+
this.addNode(e);
|
|
1092
|
+
let i = t.getChildren(e.key);
|
|
1093
|
+
for (let l of i) this.addDescendants(l, t);
|
|
1094
|
+
}
|
|
1095
|
+
removeNode(e) {
|
|
1096
|
+
if (this.frozen) throw new Error("Cannot remove a node to a frozen collection");
|
|
1097
|
+
let t = this.keyMap.get(e);
|
|
1098
|
+
t != null && t.type === "item" && this.itemCount--, this.keyMap.delete(e);
|
|
1099
|
+
}
|
|
1100
|
+
commit(e, t, i = !1) {
|
|
1101
|
+
if (this.frozen) throw new Error("Cannot commit a frozen collection");
|
|
1102
|
+
this.firstKey = e, this.lastKey = t, this.frozen = !i;
|
|
1103
|
+
}
|
|
1104
|
+
filter(e) {
|
|
1105
|
+
let t = new this.constructor(), [i, l] = Qe(this, t, this.firstKey, e);
|
|
1106
|
+
return t?.commit(i, l), t;
|
|
1107
|
+
}
|
|
1108
|
+
constructor() {
|
|
1109
|
+
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1, this.itemCount = 0;
|
|
1110
|
+
}
|
|
1111
|
+
}
|
|
1112
|
+
function Qe(n, e, t, i) {
|
|
1113
|
+
if (t == null) return [
|
|
1114
|
+
null,
|
|
1115
|
+
null
|
|
1116
|
+
];
|
|
1117
|
+
let l = null, r = null, s = n.getItem(t);
|
|
1118
|
+
for (; s != null; ) {
|
|
1119
|
+
let h = s.filter(n, e, i);
|
|
1120
|
+
h != null && (h.nextKey = null, r && (h.prevKey = r.key, r.nextKey = h.key), l == null && (l = h), e.addNode(h), r = h), s = s.nextKey ? n.getItem(s.nextKey) : null;
|
|
1121
|
+
}
|
|
1122
|
+
if (r && r.type === "separator") {
|
|
1123
|
+
let h = r.prevKey;
|
|
1124
|
+
e.removeNode(r.key), h ? (r = e.getItem(h), r.nextKey = null) : r = null;
|
|
1125
|
+
}
|
|
1126
|
+
var c, u;
|
|
1127
|
+
return [
|
|
1128
|
+
(c = l?.key) !== null && c !== void 0 ? c : null,
|
|
1129
|
+
(u = r?.key) !== null && u !== void 0 ? u : null
|
|
1130
|
+
];
|
|
1131
|
+
}
|
|
1132
|
+
class et {
|
|
1133
|
+
*[Symbol.iterator]() {
|
|
1134
|
+
let e = this.firstChild;
|
|
1135
|
+
for (; e; )
|
|
1136
|
+
yield e, e = e.nextSibling;
|
|
1137
|
+
}
|
|
1138
|
+
get firstChild() {
|
|
1139
|
+
return this._firstChild;
|
|
1140
|
+
}
|
|
1141
|
+
set firstChild(e) {
|
|
1142
|
+
this._firstChild = e, this.ownerDocument.markDirty(this);
|
|
1143
|
+
}
|
|
1144
|
+
get lastChild() {
|
|
1145
|
+
return this._lastChild;
|
|
1146
|
+
}
|
|
1147
|
+
set lastChild(e) {
|
|
1148
|
+
this._lastChild = e, this.ownerDocument.markDirty(this);
|
|
1149
|
+
}
|
|
1150
|
+
get previousSibling() {
|
|
1151
|
+
return this._previousSibling;
|
|
1152
|
+
}
|
|
1153
|
+
set previousSibling(e) {
|
|
1154
|
+
this._previousSibling = e, this.ownerDocument.markDirty(this);
|
|
1155
|
+
}
|
|
1156
|
+
get nextSibling() {
|
|
1157
|
+
return this._nextSibling;
|
|
1158
|
+
}
|
|
1159
|
+
set nextSibling(e) {
|
|
1160
|
+
this._nextSibling = e, this.ownerDocument.markDirty(this);
|
|
1161
|
+
}
|
|
1162
|
+
get parentNode() {
|
|
1163
|
+
return this._parentNode;
|
|
1164
|
+
}
|
|
1165
|
+
set parentNode(e) {
|
|
1166
|
+
this._parentNode = e, this.ownerDocument.markDirty(this);
|
|
1167
|
+
}
|
|
1168
|
+
get isConnected() {
|
|
1169
|
+
var e;
|
|
1170
|
+
return ((e = this.parentNode) === null || e === void 0 ? void 0 : e.isConnected) || !1;
|
|
1171
|
+
}
|
|
1172
|
+
invalidateChildIndices(e) {
|
|
1173
|
+
(this._minInvalidChildIndex == null || !this._minInvalidChildIndex.isConnected || e.index < this._minInvalidChildIndex.index) && (this._minInvalidChildIndex = e, this.ownerDocument.markDirty(this));
|
|
1174
|
+
}
|
|
1175
|
+
updateChildIndices() {
|
|
1176
|
+
let e = this._minInvalidChildIndex;
|
|
1177
|
+
for (; e; )
|
|
1178
|
+
e.index = e.previousSibling ? e.previousSibling.index + 1 : 0, e = e.nextSibling;
|
|
1179
|
+
this._minInvalidChildIndex = null;
|
|
1180
|
+
}
|
|
1181
|
+
appendChild(e) {
|
|
1182
|
+
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();
|
|
1183
|
+
}
|
|
1184
|
+
insertBefore(e, t) {
|
|
1185
|
+
if (t == null) return this.appendChild(e);
|
|
1186
|
+
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();
|
|
1187
|
+
}
|
|
1188
|
+
removeChild(e) {
|
|
1189
|
+
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());
|
|
1190
|
+
}
|
|
1191
|
+
addEventListener() {
|
|
1192
|
+
}
|
|
1193
|
+
removeEventListener() {
|
|
1194
|
+
}
|
|
1195
|
+
get previousVisibleSibling() {
|
|
1196
|
+
let e = this.previousSibling;
|
|
1197
|
+
for (; e && e.isHidden; ) e = e.previousSibling;
|
|
1198
|
+
return e;
|
|
1199
|
+
}
|
|
1200
|
+
get nextVisibleSibling() {
|
|
1201
|
+
let e = this.nextSibling;
|
|
1202
|
+
for (; e && e.isHidden; ) e = e.nextSibling;
|
|
1203
|
+
return e;
|
|
1204
|
+
}
|
|
1205
|
+
get firstVisibleChild() {
|
|
1206
|
+
let e = this.firstChild;
|
|
1207
|
+
for (; e && e.isHidden; ) e = e.nextSibling;
|
|
1208
|
+
return e;
|
|
1209
|
+
}
|
|
1210
|
+
get lastVisibleChild() {
|
|
1211
|
+
let e = this.lastChild;
|
|
1212
|
+
for (; e && e.isHidden; ) e = e.previousSibling;
|
|
1213
|
+
return e;
|
|
1214
|
+
}
|
|
1215
|
+
constructor(e) {
|
|
1216
|
+
this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;
|
|
1217
|
+
}
|
|
1218
|
+
}
|
|
1219
|
+
class G extends et {
|
|
1220
|
+
get index() {
|
|
1221
|
+
return this._index;
|
|
1222
|
+
}
|
|
1223
|
+
set index(e) {
|
|
1224
|
+
this._index = e, this.ownerDocument.markDirty(this);
|
|
1225
|
+
}
|
|
1226
|
+
get level() {
|
|
1227
|
+
var e;
|
|
1228
|
+
return this.parentNode instanceof G ? this.parentNode.level + (((e = this.node) === null || e === void 0 ? void 0 : e.type) === "item" ? 1 : 0) : 0;
|
|
1229
|
+
}
|
|
1230
|
+
get node() {
|
|
1231
|
+
if (this._node == null) throw Error("Attempted to access node before it was defined. Check if setProps wasn't called before attempting to access the node.");
|
|
1232
|
+
return this._node;
|
|
1233
|
+
}
|
|
1234
|
+
set node(e) {
|
|
1235
|
+
this._node = e;
|
|
1236
|
+
}
|
|
1237
|
+
/**
|
|
1238
|
+
* Lazily gets a mutable instance of a Node. If the node has already
|
|
1239
|
+
* been cloned during this update cycle, it just returns the existing one.
|
|
1240
|
+
*/
|
|
1241
|
+
getMutableNode() {
|
|
1242
|
+
return this.isMutated || (this.node = this.node.clone(), this.isMutated = !0), this.ownerDocument.markDirty(this), this.node;
|
|
1243
|
+
}
|
|
1244
|
+
updateNode() {
|
|
1245
|
+
var e, t, i;
|
|
1246
|
+
let l = this.nextVisibleSibling, r = this.getMutableNode();
|
|
1247
|
+
r.index = this.index, r.level = this.level, r.parentKey = this.parentNode instanceof G ? this.parentNode.node.key : null;
|
|
1248
|
+
var s;
|
|
1249
|
+
r.prevKey = (s = (e = this.previousVisibleSibling) === null || e === void 0 ? void 0 : e.node.key) !== null && s !== void 0 ? s : null;
|
|
1250
|
+
var c;
|
|
1251
|
+
r.nextKey = (c = l?.node.key) !== null && c !== void 0 ? c : null, r.hasChildNodes = !!this.firstChild;
|
|
1252
|
+
var u;
|
|
1253
|
+
r.firstChildKey = (u = (t = this.firstVisibleChild) === null || t === void 0 ? void 0 : t.node.key) !== null && u !== void 0 ? u : null;
|
|
1254
|
+
var h;
|
|
1255
|
+
if (r.lastChildKey = (h = (i = this.lastVisibleChild) === null || i === void 0 ? void 0 : i.node.key) !== null && h !== void 0 ? h : null, (r.colSpan != null || r.colIndex != null) && l) {
|
|
1256
|
+
var b, d;
|
|
1257
|
+
let f = ((b = r.colIndex) !== null && b !== void 0 ? b : r.index) + ((d = r.colSpan) !== null && d !== void 0 ? d : 1);
|
|
1258
|
+
if (f !== l.node.colIndex) {
|
|
1259
|
+
let y = l.getMutableNode();
|
|
1260
|
+
y.colIndex = f;
|
|
1261
|
+
}
|
|
1262
|
+
}
|
|
1263
|
+
}
|
|
1264
|
+
setProps(e, t, i, l, r) {
|
|
1265
|
+
let s, { value: c, textValue: u, id: h, ...b } = e;
|
|
1266
|
+
if (this._node == null ? (s = new i(h ?? `react-aria-${++this.ownerDocument.nodeId}`), this.node = s) : s = this.getMutableNode(), b.ref = t, s.props = b, s.rendered = l, s.render = r, s.value = c, s.textValue = u || (typeof b.children == "string" ? b.children : "") || e["aria-label"] || "", h != null && h !== s.key) throw new Error("Cannot change the id of an item");
|
|
1267
|
+
b.colSpan != null && (s.colSpan = b.colSpan), this.isConnected && this.ownerDocument.queueUpdate();
|
|
1268
|
+
}
|
|
1269
|
+
get style() {
|
|
1270
|
+
let e = this;
|
|
1271
|
+
return {
|
|
1272
|
+
get display() {
|
|
1273
|
+
return e.isHidden ? "none" : "";
|
|
1274
|
+
},
|
|
1275
|
+
set display(t) {
|
|
1276
|
+
let i = t === "none";
|
|
1277
|
+
if (e.isHidden !== i) {
|
|
1278
|
+
var l, r;
|
|
1279
|
+
(((l = e.parentNode) === null || l === void 0 ? void 0 : l.firstVisibleChild) === e || ((r = e.parentNode) === null || r === void 0 ? void 0 : r.lastVisibleChild) === e) && e.ownerDocument.markDirty(e.parentNode);
|
|
1280
|
+
let s = e.previousVisibleSibling, c = e.nextVisibleSibling;
|
|
1281
|
+
s && e.ownerDocument.markDirty(s), c && e.ownerDocument.markDirty(c), e.isHidden = i, e.ownerDocument.markDirty(e);
|
|
1282
|
+
}
|
|
1283
|
+
}
|
|
1284
|
+
};
|
|
1285
|
+
}
|
|
1286
|
+
hasAttribute() {
|
|
1287
|
+
}
|
|
1288
|
+
setAttribute() {
|
|
1289
|
+
}
|
|
1290
|
+
setAttributeNS() {
|
|
1291
|
+
}
|
|
1292
|
+
removeAttribute() {
|
|
1293
|
+
}
|
|
1294
|
+
constructor(e, t) {
|
|
1295
|
+
super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this._node = null;
|
|
1296
|
+
}
|
|
1297
|
+
}
|
|
1298
|
+
class qt extends et {
|
|
1299
|
+
get isConnected() {
|
|
1300
|
+
return this.isMounted;
|
|
1301
|
+
}
|
|
1302
|
+
createElement(e) {
|
|
1303
|
+
return new G(e, this);
|
|
1304
|
+
}
|
|
1305
|
+
getMutableCollection() {
|
|
1306
|
+
return this.nextCollection || (this.nextCollection = this.collection.clone()), this.nextCollection;
|
|
1307
|
+
}
|
|
1308
|
+
markDirty(e) {
|
|
1309
|
+
this.dirtyNodes.add(e);
|
|
1310
|
+
}
|
|
1311
|
+
addNode(e) {
|
|
1312
|
+
if (e.isHidden) return;
|
|
1313
|
+
let t = this.getMutableCollection();
|
|
1314
|
+
if (!t.getItem(e.node.key)) for (let i of e) this.addNode(i);
|
|
1315
|
+
t.addNode(e.node);
|
|
1316
|
+
}
|
|
1317
|
+
removeNode(e) {
|
|
1318
|
+
for (let i of e) this.removeNode(i);
|
|
1319
|
+
this.getMutableCollection().removeNode(e.node.key);
|
|
1320
|
+
}
|
|
1321
|
+
/** Finalizes the collection update, updating all nodes and freezing the collection. */
|
|
1322
|
+
getCollection() {
|
|
1323
|
+
return this.inSubscription ? this.collection.clone() : (this.queuedRender = !1, this.updateCollection(), this.collection);
|
|
1324
|
+
}
|
|
1325
|
+
updateCollection() {
|
|
1326
|
+
for (let r of this.dirtyNodes) r instanceof G && (!r.isConnected || r.isHidden) ? this.removeNode(r) : r.updateChildIndices();
|
|
1327
|
+
for (let r of this.dirtyNodes) r instanceof G && (r.isConnected && !r.isHidden && (r.updateNode(), this.addNode(r)), r.isMutated = !1);
|
|
1328
|
+
if (this.dirtyNodes.clear(), this.nextCollection) {
|
|
1329
|
+
var e, t, i, l;
|
|
1330
|
+
this.nextCollection.commit((i = (e = this.firstVisibleChild) === null || e === void 0 ? void 0 : e.node.key) !== null && i !== void 0 ? i : null, (l = (t = this.lastVisibleChild) === null || t === void 0 ? void 0 : t.node.key) !== null && l !== void 0 ? l : null, this.isSSR), this.isSSR || (this.collection = this.nextCollection, this.nextCollection = null);
|
|
1331
|
+
}
|
|
1332
|
+
}
|
|
1333
|
+
queueUpdate() {
|
|
1334
|
+
if (!(this.dirtyNodes.size === 0 || this.queuedRender)) {
|
|
1335
|
+
this.queuedRender = !0, this.inSubscription = !0;
|
|
1336
|
+
for (let e of this.subscriptions) e();
|
|
1337
|
+
this.inSubscription = !1;
|
|
1338
|
+
}
|
|
1339
|
+
}
|
|
1340
|
+
subscribe(e) {
|
|
1341
|
+
return this.subscriptions.add(e), () => this.subscriptions.delete(e);
|
|
1342
|
+
}
|
|
1343
|
+
resetAfterSSR() {
|
|
1344
|
+
this.isSSR && (this.isSSR = !1, this.firstChild = null, this.lastChild = null, this.nodeId = 0);
|
|
1345
|
+
}
|
|
1346
|
+
constructor(e) {
|
|
1347
|
+
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;
|
|
1348
|
+
}
|
|
1349
|
+
}
|
|
1350
|
+
function tt(n) {
|
|
1351
|
+
let { children: e, items: t, idScope: i, addIdAndValue: l, dependencies: r = [] } = n, s = B(() => /* @__PURE__ */ new WeakMap(), r);
|
|
1352
|
+
return B(() => {
|
|
1353
|
+
if (t && typeof e == "function") {
|
|
1354
|
+
let h = [];
|
|
1355
|
+
for (let b of t) {
|
|
1356
|
+
let d = s.get(b);
|
|
1357
|
+
if (!d) {
|
|
1358
|
+
d = e(b);
|
|
1359
|
+
var c, u;
|
|
1360
|
+
let f = (u = (c = d.props.id) !== null && c !== void 0 ? c : b.key) !== null && u !== void 0 ? u : b.id;
|
|
1361
|
+
if (f == null) throw new Error("Could not determine key for item");
|
|
1362
|
+
i && (f = i + ":" + f), d = ze(d, l ? {
|
|
1363
|
+
key: f,
|
|
1364
|
+
id: f,
|
|
1365
|
+
value: b
|
|
1366
|
+
} : {
|
|
1367
|
+
key: f
|
|
1368
|
+
}), s.set(b, d);
|
|
1369
|
+
}
|
|
1370
|
+
h.push(d);
|
|
1371
|
+
}
|
|
1372
|
+
return h;
|
|
1373
|
+
} else if (typeof e != "function") return e;
|
|
1374
|
+
}, [
|
|
1375
|
+
e,
|
|
1376
|
+
t,
|
|
1377
|
+
s,
|
|
1378
|
+
i,
|
|
1379
|
+
l
|
|
1380
|
+
]);
|
|
1381
|
+
}
|
|
1382
|
+
const it = /* @__PURE__ */ z(!1), Z = /* @__PURE__ */ z(null);
|
|
1383
|
+
function Ei(n) {
|
|
1384
|
+
if (_(Z))
|
|
1385
|
+
return n.content;
|
|
1386
|
+
let { collection: t, document: i } = Yt(n.createCollection);
|
|
1387
|
+
return /* @__PURE__ */ $.createElement($.Fragment, null, /* @__PURE__ */ $.createElement(mt, null, /* @__PURE__ */ $.createElement(Z.Provider, {
|
|
1388
|
+
value: i
|
|
1389
|
+
}, n.content)), /* @__PURE__ */ $.createElement(Gt, {
|
|
1390
|
+
render: n.children,
|
|
1391
|
+
collection: t
|
|
1392
|
+
}));
|
|
1393
|
+
}
|
|
1394
|
+
function Gt({ collection: n, render: e }) {
|
|
1395
|
+
return e(n);
|
|
1396
|
+
}
|
|
1397
|
+
function Wt(n, e, t) {
|
|
1398
|
+
let i = je(), l = E(i);
|
|
1399
|
+
l.current = i;
|
|
1400
|
+
let r = X(() => l.current ? t() : e(), [
|
|
1401
|
+
e,
|
|
1402
|
+
t
|
|
1403
|
+
]);
|
|
1404
|
+
return Vt.useSyncExternalStore(n, r);
|
|
1405
|
+
}
|
|
1406
|
+
const jt = typeof $.useSyncExternalStore == "function" ? $.useSyncExternalStore : Wt;
|
|
1407
|
+
function Yt(n) {
|
|
1408
|
+
let [e] = ie(() => new qt(n?.() || new _t())), t = X((s) => e.subscribe(s), [
|
|
1409
|
+
e
|
|
1410
|
+
]), i = X(() => {
|
|
1411
|
+
let s = e.getCollection();
|
|
1412
|
+
return e.isSSR && e.resetAfterSSR(), s;
|
|
1413
|
+
}, [
|
|
1414
|
+
e
|
|
1415
|
+
]), l = X(() => (e.isSSR = !0, e.getCollection()), [
|
|
1416
|
+
e
|
|
1417
|
+
]), r = jt(t, i, l);
|
|
1418
|
+
return me(() => (e.isMounted = !0, () => {
|
|
1419
|
+
e.isMounted = !1;
|
|
1420
|
+
}), [
|
|
1421
|
+
e
|
|
1422
|
+
]), {
|
|
1423
|
+
collection: r,
|
|
1424
|
+
document: e
|
|
1425
|
+
};
|
|
1426
|
+
}
|
|
1427
|
+
const Ke = /* @__PURE__ */ z(null);
|
|
1428
|
+
function Xt(n) {
|
|
1429
|
+
var e;
|
|
1430
|
+
return e = class extends ne {
|
|
1431
|
+
}, e.type = n, e;
|
|
1432
|
+
}
|
|
1433
|
+
function lt(n, e, t, i, l, r) {
|
|
1434
|
+
typeof n == "string" && (n = Xt(n));
|
|
1435
|
+
let s = X((u) => {
|
|
1436
|
+
u?.setProps(e, t, n, i, r);
|
|
1437
|
+
}, [
|
|
1438
|
+
e,
|
|
1439
|
+
t,
|
|
1440
|
+
i,
|
|
1441
|
+
r,
|
|
1442
|
+
n
|
|
1443
|
+
]), c = _(Ke);
|
|
1444
|
+
if (c) {
|
|
1445
|
+
let u = c.ownerDocument.nodesByProps.get(e);
|
|
1446
|
+
return u || (u = c.ownerDocument.createElement(n.type), u.setProps(e, t, n, i, r), c.appendChild(u), c.ownerDocument.updateCollection(), c.ownerDocument.nodesByProps.set(e, u)), l ? /* @__PURE__ */ $.createElement(Ke.Provider, {
|
|
1447
|
+
value: u
|
|
1448
|
+
}, l) : null;
|
|
1449
|
+
}
|
|
1450
|
+
return /* @__PURE__ */ $.createElement(n.type, {
|
|
1451
|
+
ref: s
|
|
1452
|
+
}, l);
|
|
1453
|
+
}
|
|
1454
|
+
function ki(n, e) {
|
|
1455
|
+
let t = ({ node: l }) => e(l.props, l.props.ref, l), i = He((l, r) => {
|
|
1456
|
+
let s = _(ke);
|
|
1457
|
+
if (!_(it)) {
|
|
1458
|
+
if (e.length >= 3) throw new Error(e.name + " cannot be rendered outside a collection.");
|
|
1459
|
+
return e(l, r);
|
|
1460
|
+
}
|
|
1461
|
+
return lt(n, l, r, "children" in l ? l.children : null, null, (u) => (
|
|
1462
|
+
// Forward FocusableContext to real DOM tree so tooltips work.
|
|
1463
|
+
/* @__PURE__ */ $.createElement(ke.Provider, {
|
|
1464
|
+
value: s
|
|
1465
|
+
}, /* @__PURE__ */ $.createElement(t, {
|
|
1466
|
+
node: u
|
|
1467
|
+
}))
|
|
1468
|
+
));
|
|
1469
|
+
});
|
|
1470
|
+
return i.displayName = e.name, i;
|
|
1471
|
+
}
|
|
1472
|
+
function Ii(n, e, t = nt) {
|
|
1473
|
+
let i = ({ node: r }) => e(r.props, r.props.ref, r), l = He((r, s) => {
|
|
1474
|
+
let c = t(r);
|
|
1475
|
+
var u;
|
|
1476
|
+
return (u = lt(n, r, s, null, c, (h) => /* @__PURE__ */ $.createElement(i, {
|
|
1477
|
+
node: h
|
|
1478
|
+
}))) !== null && u !== void 0 ? u : /* @__PURE__ */ $.createElement($.Fragment, null);
|
|
1479
|
+
});
|
|
1480
|
+
return l.displayName = e.name, l;
|
|
1481
|
+
}
|
|
1482
|
+
function nt(n) {
|
|
1483
|
+
return tt({
|
|
1484
|
+
...n,
|
|
1485
|
+
addIdAndValue: !0
|
|
1486
|
+
});
|
|
1487
|
+
}
|
|
1488
|
+
const Be = /* @__PURE__ */ z(null);
|
|
1489
|
+
function Pi(n) {
|
|
1490
|
+
let e = _(Be), t = (e?.dependencies || []).concat(n.dependencies), i = n.idScope || e?.idScope, l = nt({
|
|
1491
|
+
...n,
|
|
1492
|
+
idScope: i,
|
|
1493
|
+
dependencies: t
|
|
1494
|
+
});
|
|
1495
|
+
return _(Z) && (l = /* @__PURE__ */ $.createElement(Jt, null, l)), e = B(() => ({
|
|
1496
|
+
dependencies: t,
|
|
1497
|
+
idScope: i
|
|
1498
|
+
}), [
|
|
1499
|
+
i,
|
|
1500
|
+
...t
|
|
1501
|
+
]), /* @__PURE__ */ $.createElement(Be.Provider, {
|
|
1502
|
+
value: e
|
|
1503
|
+
}, l);
|
|
1504
|
+
}
|
|
1505
|
+
function Jt({ children: n }) {
|
|
1506
|
+
let e = _(Z), t = B(() => /* @__PURE__ */ $.createElement(Z.Provider, {
|
|
1507
|
+
value: null
|
|
1508
|
+
}, /* @__PURE__ */ $.createElement(it.Provider, {
|
|
1509
|
+
value: !0
|
|
1510
|
+
}, n)), [
|
|
1511
|
+
n
|
|
1512
|
+
]);
|
|
1513
|
+
return je() ? /* @__PURE__ */ $.createElement(Ke.Provider, {
|
|
1514
|
+
value: e
|
|
1515
|
+
}, t) : /* @__PURE__ */ ht(t, e);
|
|
1516
|
+
}
|
|
1517
|
+
const Fi = /* @__PURE__ */ z(null), Zt = {
|
|
1518
|
+
CollectionRoot({ collection: n, renderDropIndicator: e }) {
|
|
1519
|
+
return Ve(n, null, e);
|
|
1520
|
+
},
|
|
1521
|
+
CollectionBranch({ collection: n, parent: e, renderDropIndicator: t }) {
|
|
1522
|
+
return Ve(n, e, t);
|
|
1523
|
+
}
|
|
1524
|
+
};
|
|
1525
|
+
function Ve(n, e, t) {
|
|
1526
|
+
return tt({
|
|
1527
|
+
items: e ? n.getChildren(e.key) : n,
|
|
1528
|
+
dependencies: [
|
|
1529
|
+
t
|
|
1530
|
+
],
|
|
1531
|
+
children(i) {
|
|
1532
|
+
let l = i.render(i);
|
|
1533
|
+
return !t || i.type !== "item" ? l : /* @__PURE__ */ $.createElement($.Fragment, null, t({
|
|
1534
|
+
type: "item",
|
|
1535
|
+
key: i.key,
|
|
1536
|
+
dropPosition: "before"
|
|
1537
|
+
}), l, Qt(n, i, t));
|
|
1538
|
+
}
|
|
1539
|
+
});
|
|
1540
|
+
}
|
|
1541
|
+
function Qt(n, e, t) {
|
|
1542
|
+
let i = e.key, l = n.getKeyAfter(i), r = l != null ? n.getItem(l) : null;
|
|
1543
|
+
for (; r != null && r.type !== "item"; )
|
|
1544
|
+
l = n.getKeyAfter(r.key), r = l != null ? n.getItem(l) : null;
|
|
1545
|
+
let s = e.nextKey != null ? n.getItem(e.nextKey) : null;
|
|
1546
|
+
for (; s != null && s.type !== "item"; ) s = s.nextKey != null ? n.getItem(s.nextKey) : null;
|
|
1547
|
+
let c = [];
|
|
1548
|
+
if (s == null) {
|
|
1549
|
+
let u = e;
|
|
1550
|
+
for (; u && (!r || u.parentKey !== r.parentKey && r.level < u.level); ) {
|
|
1551
|
+
let h = t({
|
|
1552
|
+
type: "item",
|
|
1553
|
+
key: u.key,
|
|
1554
|
+
dropPosition: "after"
|
|
1555
|
+
});
|
|
1556
|
+
/* @__PURE__ */ st(h) && c.push(/* @__PURE__ */ ze(h, {
|
|
1557
|
+
key: `${u.key}-after`
|
|
1558
|
+
})), u = u.parentKey != null ? n.getItem(u.parentKey) : null;
|
|
1559
|
+
}
|
|
1560
|
+
}
|
|
1561
|
+
return c;
|
|
1562
|
+
}
|
|
1563
|
+
const Mi = /* @__PURE__ */ z(Zt);
|
|
1564
|
+
function Ai(n) {
|
|
1565
|
+
return B(() => n != null ? /* @__PURE__ */ new Set([
|
|
1566
|
+
n
|
|
1567
|
+
]) : null, [
|
|
1568
|
+
n
|
|
1569
|
+
]);
|
|
1570
|
+
}
|
|
1571
|
+
class R extends Set {
|
|
1572
|
+
constructor(e, t, i) {
|
|
1573
|
+
super(e), e instanceof R ? (this.anchorKey = t ?? e.anchorKey, this.currentKey = i ?? e.currentKey) : (this.anchorKey = t ?? null, this.currentKey = i ?? null);
|
|
1574
|
+
}
|
|
1575
|
+
}
|
|
1576
|
+
function ei(n, e) {
|
|
1577
|
+
if (n.size !== e.size) return !1;
|
|
1578
|
+
for (let t of n)
|
|
1579
|
+
if (!e.has(t)) return !1;
|
|
1580
|
+
return !0;
|
|
1581
|
+
}
|
|
1582
|
+
function Ri(n) {
|
|
1583
|
+
let { selectionMode: e = "none", disallowEmptySelection: t = !1, allowDuplicateSelectionEvents: i, selectionBehavior: l = "toggle", disabledBehavior: r = "all" } = n, s = E(!1), [, c] = ie(!1), u = E(null), h = E(null), [, b] = ie(null), d = B(() => Ne(n.selectedKeys), [
|
|
1584
|
+
n.selectedKeys
|
|
1585
|
+
]), f = B(() => Ne(n.defaultSelectedKeys, new R()), [
|
|
1586
|
+
n.defaultSelectedKeys
|
|
1587
|
+
]), [y, v] = bt(d, f, n.onSelectionChange), K = B(() => n.disabledKeys ? new Set(n.disabledKeys) : /* @__PURE__ */ new Set(), [
|
|
1588
|
+
n.disabledKeys
|
|
1589
|
+
]), [g, m] = ie(l);
|
|
1590
|
+
l === "replace" && g === "toggle" && typeof y == "object" && y.size === 0 && m("replace");
|
|
1591
|
+
let w = E(l);
|
|
1592
|
+
return Y(() => {
|
|
1593
|
+
l !== w.current && (m(l), w.current = l);
|
|
1594
|
+
}, [
|
|
1595
|
+
l
|
|
1596
|
+
]), {
|
|
1597
|
+
selectionMode: e,
|
|
1598
|
+
disallowEmptySelection: t,
|
|
1599
|
+
selectionBehavior: g,
|
|
1600
|
+
setSelectionBehavior: m,
|
|
1601
|
+
get isFocused() {
|
|
1602
|
+
return s.current;
|
|
1603
|
+
},
|
|
1604
|
+
setFocused(x) {
|
|
1605
|
+
s.current = x, c(x);
|
|
1606
|
+
},
|
|
1607
|
+
get focusedKey() {
|
|
1608
|
+
return u.current;
|
|
1609
|
+
},
|
|
1610
|
+
get childFocusStrategy() {
|
|
1611
|
+
return h.current;
|
|
1612
|
+
},
|
|
1613
|
+
setFocusedKey(x, k = "first") {
|
|
1614
|
+
u.current = x, h.current = k, b(x);
|
|
1615
|
+
},
|
|
1616
|
+
selectedKeys: y,
|
|
1617
|
+
setSelectedKeys(x) {
|
|
1618
|
+
(i || !ei(x, y)) && v(x);
|
|
1619
|
+
},
|
|
1620
|
+
disabledKeys: K,
|
|
1621
|
+
disabledBehavior: r
|
|
1622
|
+
};
|
|
1623
|
+
}
|
|
1624
|
+
function Ne(n, e) {
|
|
1625
|
+
return n ? n === "all" ? "all" : new R(n) : e;
|
|
1626
|
+
}
|
|
1627
|
+
class rt {
|
|
1628
|
+
/**
|
|
1629
|
+
* The type of selection that is allowed in the collection.
|
|
1630
|
+
*/
|
|
1631
|
+
get selectionMode() {
|
|
1632
|
+
return this.state.selectionMode;
|
|
1633
|
+
}
|
|
1634
|
+
/**
|
|
1635
|
+
* Whether the collection allows empty selection.
|
|
1636
|
+
*/
|
|
1637
|
+
get disallowEmptySelection() {
|
|
1638
|
+
return this.state.disallowEmptySelection;
|
|
1639
|
+
}
|
|
1640
|
+
/**
|
|
1641
|
+
* The selection behavior for the collection.
|
|
1642
|
+
*/
|
|
1643
|
+
get selectionBehavior() {
|
|
1644
|
+
return this.state.selectionBehavior;
|
|
1645
|
+
}
|
|
1646
|
+
/**
|
|
1647
|
+
* Sets the selection behavior for the collection.
|
|
1648
|
+
*/
|
|
1649
|
+
setSelectionBehavior(e) {
|
|
1650
|
+
this.state.setSelectionBehavior(e);
|
|
1651
|
+
}
|
|
1652
|
+
/**
|
|
1653
|
+
* Whether the collection is currently focused.
|
|
1654
|
+
*/
|
|
1655
|
+
get isFocused() {
|
|
1656
|
+
return this.state.isFocused;
|
|
1657
|
+
}
|
|
1658
|
+
/**
|
|
1659
|
+
* Sets whether the collection is focused.
|
|
1660
|
+
*/
|
|
1661
|
+
setFocused(e) {
|
|
1662
|
+
this.state.setFocused(e);
|
|
1663
|
+
}
|
|
1664
|
+
/**
|
|
1665
|
+
* The current focused key in the collection.
|
|
1666
|
+
*/
|
|
1667
|
+
get focusedKey() {
|
|
1668
|
+
return this.state.focusedKey;
|
|
1669
|
+
}
|
|
1670
|
+
/** Whether the first or last child of the focused key should receive focus. */
|
|
1671
|
+
get childFocusStrategy() {
|
|
1672
|
+
return this.state.childFocusStrategy;
|
|
1673
|
+
}
|
|
1674
|
+
/**
|
|
1675
|
+
* Sets the focused key.
|
|
1676
|
+
*/
|
|
1677
|
+
setFocusedKey(e, t) {
|
|
1678
|
+
(e == null || this.collection.getItem(e)) && this.state.setFocusedKey(e, t);
|
|
1679
|
+
}
|
|
1680
|
+
/**
|
|
1681
|
+
* The currently selected keys in the collection.
|
|
1682
|
+
*/
|
|
1683
|
+
get selectedKeys() {
|
|
1684
|
+
return this.state.selectedKeys === "all" ? new Set(this.getSelectAllKeys()) : this.state.selectedKeys;
|
|
1685
|
+
}
|
|
1686
|
+
/**
|
|
1687
|
+
* The raw selection value for the collection.
|
|
1688
|
+
* Either 'all' for select all, or a set of keys.
|
|
1689
|
+
*/
|
|
1690
|
+
get rawSelection() {
|
|
1691
|
+
return this.state.selectedKeys;
|
|
1692
|
+
}
|
|
1693
|
+
/**
|
|
1694
|
+
* Returns whether a key is selected.
|
|
1695
|
+
*/
|
|
1696
|
+
isSelected(e) {
|
|
1697
|
+
if (this.state.selectionMode === "none") return !1;
|
|
1698
|
+
let t = this.getKey(e);
|
|
1699
|
+
return t == null ? !1 : this.state.selectedKeys === "all" ? this.canSelectItem(t) : this.state.selectedKeys.has(t);
|
|
1700
|
+
}
|
|
1701
|
+
/**
|
|
1702
|
+
* Whether the selection is empty.
|
|
1703
|
+
*/
|
|
1704
|
+
get isEmpty() {
|
|
1705
|
+
return this.state.selectedKeys !== "all" && this.state.selectedKeys.size === 0;
|
|
1706
|
+
}
|
|
1707
|
+
/**
|
|
1708
|
+
* Whether all items in the collection are selected.
|
|
1709
|
+
*/
|
|
1710
|
+
get isSelectAll() {
|
|
1711
|
+
if (this.isEmpty) return !1;
|
|
1712
|
+
if (this.state.selectedKeys === "all") return !0;
|
|
1713
|
+
if (this._isSelectAll != null) return this._isSelectAll;
|
|
1714
|
+
let e = this.getSelectAllKeys(), t = this.state.selectedKeys;
|
|
1715
|
+
return this._isSelectAll = e.every((i) => t.has(i)), this._isSelectAll;
|
|
1716
|
+
}
|
|
1717
|
+
get firstSelectedKey() {
|
|
1718
|
+
let e = null;
|
|
1719
|
+
for (let i of this.state.selectedKeys) {
|
|
1720
|
+
let l = this.collection.getItem(i);
|
|
1721
|
+
(!e || l && pe(this.collection, l, e) < 0) && (e = l);
|
|
1722
|
+
}
|
|
1723
|
+
var t;
|
|
1724
|
+
return (t = e?.key) !== null && t !== void 0 ? t : null;
|
|
1725
|
+
}
|
|
1726
|
+
get lastSelectedKey() {
|
|
1727
|
+
let e = null;
|
|
1728
|
+
for (let i of this.state.selectedKeys) {
|
|
1729
|
+
let l = this.collection.getItem(i);
|
|
1730
|
+
(!e || l && pe(this.collection, l, e) > 0) && (e = l);
|
|
1731
|
+
}
|
|
1732
|
+
var t;
|
|
1733
|
+
return (t = e?.key) !== null && t !== void 0 ? t : null;
|
|
1734
|
+
}
|
|
1735
|
+
get disabledKeys() {
|
|
1736
|
+
return this.state.disabledKeys;
|
|
1737
|
+
}
|
|
1738
|
+
get disabledBehavior() {
|
|
1739
|
+
return this.state.disabledBehavior;
|
|
1740
|
+
}
|
|
1741
|
+
/**
|
|
1742
|
+
* Extends the selection to the given key.
|
|
1743
|
+
*/
|
|
1744
|
+
extendSelection(e) {
|
|
1745
|
+
if (this.selectionMode === "none") return;
|
|
1746
|
+
if (this.selectionMode === "single") {
|
|
1747
|
+
this.replaceSelection(e);
|
|
1748
|
+
return;
|
|
1749
|
+
}
|
|
1750
|
+
let t = this.getKey(e);
|
|
1751
|
+
if (t == null) return;
|
|
1752
|
+
let i;
|
|
1753
|
+
if (this.state.selectedKeys === "all") i = new R([
|
|
1754
|
+
t
|
|
1755
|
+
], t, t);
|
|
1756
|
+
else {
|
|
1757
|
+
let s = this.state.selectedKeys;
|
|
1758
|
+
var l;
|
|
1759
|
+
let c = (l = s.anchorKey) !== null && l !== void 0 ? l : t;
|
|
1760
|
+
i = new R(s, c, t);
|
|
1761
|
+
var r;
|
|
1762
|
+
for (let u of this.getKeyRange(c, (r = s.currentKey) !== null && r !== void 0 ? r : t)) i.delete(u);
|
|
1763
|
+
for (let u of this.getKeyRange(t, c)) this.canSelectItem(u) && i.add(u);
|
|
1764
|
+
}
|
|
1765
|
+
this.state.setSelectedKeys(i);
|
|
1766
|
+
}
|
|
1767
|
+
getKeyRange(e, t) {
|
|
1768
|
+
let i = this.collection.getItem(e), l = this.collection.getItem(t);
|
|
1769
|
+
return i && l ? pe(this.collection, i, l) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
|
|
1770
|
+
}
|
|
1771
|
+
getKeyRangeInternal(e, t) {
|
|
1772
|
+
var i;
|
|
1773
|
+
if (!((i = this.layoutDelegate) === null || i === void 0) && i.getKeyRange) return this.layoutDelegate.getKeyRange(e, t);
|
|
1774
|
+
let l = [], r = e;
|
|
1775
|
+
for (; r != null; ) {
|
|
1776
|
+
let s = this.collection.getItem(r);
|
|
1777
|
+
if (s && (s.type === "item" || s.type === "cell" && this.allowsCellSelection) && l.push(r), r === t) return l;
|
|
1778
|
+
r = this.collection.getKeyAfter(r);
|
|
1779
|
+
}
|
|
1780
|
+
return [];
|
|
1781
|
+
}
|
|
1782
|
+
getKey(e) {
|
|
1783
|
+
let t = this.collection.getItem(e);
|
|
1784
|
+
if (!t || t.type === "cell" && this.allowsCellSelection) return e;
|
|
1785
|
+
for (; t && t.type !== "item" && t.parentKey != null; ) t = this.collection.getItem(t.parentKey);
|
|
1786
|
+
return !t || t.type !== "item" ? null : t.key;
|
|
1787
|
+
}
|
|
1788
|
+
/**
|
|
1789
|
+
* Toggles whether the given key is selected.
|
|
1790
|
+
*/
|
|
1791
|
+
toggleSelection(e) {
|
|
1792
|
+
if (this.selectionMode === "none") return;
|
|
1793
|
+
if (this.selectionMode === "single" && !this.isSelected(e)) {
|
|
1794
|
+
this.replaceSelection(e);
|
|
1795
|
+
return;
|
|
1796
|
+
}
|
|
1797
|
+
let t = this.getKey(e);
|
|
1798
|
+
if (t == null) return;
|
|
1799
|
+
let i = new R(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
|
|
1800
|
+
i.has(t) ? i.delete(t) : this.canSelectItem(t) && (i.add(t), i.anchorKey = t, i.currentKey = t), !(this.disallowEmptySelection && i.size === 0) && this.state.setSelectedKeys(i);
|
|
1801
|
+
}
|
|
1802
|
+
/**
|
|
1803
|
+
* Replaces the selection with only the given key.
|
|
1804
|
+
*/
|
|
1805
|
+
replaceSelection(e) {
|
|
1806
|
+
if (this.selectionMode === "none") return;
|
|
1807
|
+
let t = this.getKey(e);
|
|
1808
|
+
if (t == null) return;
|
|
1809
|
+
let i = this.canSelectItem(t) ? new R([
|
|
1810
|
+
t
|
|
1811
|
+
], t, t) : new R();
|
|
1812
|
+
this.state.setSelectedKeys(i);
|
|
1813
|
+
}
|
|
1814
|
+
/**
|
|
1815
|
+
* Replaces the selection with the given keys.
|
|
1816
|
+
*/
|
|
1817
|
+
setSelectedKeys(e) {
|
|
1818
|
+
if (this.selectionMode === "none") return;
|
|
1819
|
+
let t = new R();
|
|
1820
|
+
for (let i of e) {
|
|
1821
|
+
let l = this.getKey(i);
|
|
1822
|
+
if (l != null && (t.add(l), this.selectionMode === "single"))
|
|
1823
|
+
break;
|
|
1824
|
+
}
|
|
1825
|
+
this.state.setSelectedKeys(t);
|
|
1826
|
+
}
|
|
1827
|
+
getSelectAllKeys() {
|
|
1828
|
+
let e = [], t = (i) => {
|
|
1829
|
+
for (; i != null; ) {
|
|
1830
|
+
if (this.canSelectItem(i)) {
|
|
1831
|
+
var l;
|
|
1832
|
+
let s = this.collection.getItem(i);
|
|
1833
|
+
s?.type === "item" && e.push(i);
|
|
1834
|
+
var r;
|
|
1835
|
+
s?.hasChildNodes && (this.allowsCellSelection || s.type !== "item") && t((r = (l = Rt(At(s, this.collection))) === null || l === void 0 ? void 0 : l.key) !== null && r !== void 0 ? r : null);
|
|
1836
|
+
}
|
|
1837
|
+
i = this.collection.getKeyAfter(i);
|
|
1838
|
+
}
|
|
1839
|
+
};
|
|
1840
|
+
return t(this.collection.getFirstKey()), e;
|
|
1841
|
+
}
|
|
1842
|
+
/**
|
|
1843
|
+
* Selects all items in the collection.
|
|
1844
|
+
*/
|
|
1845
|
+
selectAll() {
|
|
1846
|
+
!this.isSelectAll && this.selectionMode === "multiple" && this.state.setSelectedKeys("all");
|
|
1847
|
+
}
|
|
1848
|
+
/**
|
|
1849
|
+
* Removes all keys from the selection.
|
|
1850
|
+
*/
|
|
1851
|
+
clearSelection() {
|
|
1852
|
+
!this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new R());
|
|
1853
|
+
}
|
|
1854
|
+
/**
|
|
1855
|
+
* Toggles between select all and an empty selection.
|
|
1856
|
+
*/
|
|
1857
|
+
toggleSelectAll() {
|
|
1858
|
+
this.isSelectAll ? this.clearSelection() : this.selectAll();
|
|
1859
|
+
}
|
|
1860
|
+
select(e, t) {
|
|
1861
|
+
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));
|
|
1862
|
+
}
|
|
1863
|
+
/**
|
|
1864
|
+
* Returns whether the current selection is equal to the given selection.
|
|
1865
|
+
*/
|
|
1866
|
+
isSelectionEqual(e) {
|
|
1867
|
+
if (e === this.state.selectedKeys) return !0;
|
|
1868
|
+
let t = this.selectedKeys;
|
|
1869
|
+
if (e.size !== t.size) return !1;
|
|
1870
|
+
for (let i of e)
|
|
1871
|
+
if (!t.has(i)) return !1;
|
|
1872
|
+
for (let i of t)
|
|
1873
|
+
if (!e.has(i)) return !1;
|
|
1874
|
+
return !0;
|
|
1875
|
+
}
|
|
1876
|
+
canSelectItem(e) {
|
|
1877
|
+
var t;
|
|
1878
|
+
if (this.state.selectionMode === "none" || this.state.disabledKeys.has(e)) return !1;
|
|
1879
|
+
let i = this.collection.getItem(e);
|
|
1880
|
+
return !(!i || !(i == null || (t = i.props) === null || t === void 0) && t.isDisabled || i.type === "cell" && !this.allowsCellSelection);
|
|
1881
|
+
}
|
|
1882
|
+
isDisabled(e) {
|
|
1883
|
+
var t, i;
|
|
1884
|
+
return this.state.disabledBehavior === "all" && (this.state.disabledKeys.has(e) || !!(!((i = this.collection.getItem(e)) === null || i === void 0 || (t = i.props) === null || t === void 0) && t.isDisabled));
|
|
1885
|
+
}
|
|
1886
|
+
isLink(e) {
|
|
1887
|
+
var t, i;
|
|
1888
|
+
return !!(!((i = this.collection.getItem(e)) === null || i === void 0 || (t = i.props) === null || t === void 0) && t.href);
|
|
1889
|
+
}
|
|
1890
|
+
getItemProps(e) {
|
|
1891
|
+
var t;
|
|
1892
|
+
return (t = this.collection.getItem(e)) === null || t === void 0 ? void 0 : t.props;
|
|
1893
|
+
}
|
|
1894
|
+
withCollection(e) {
|
|
1895
|
+
return new rt(e, this.state, {
|
|
1896
|
+
allowsCellSelection: this.allowsCellSelection,
|
|
1897
|
+
layoutDelegate: this.layoutDelegate || void 0
|
|
1898
|
+
});
|
|
1899
|
+
}
|
|
1900
|
+
constructor(e, t, i) {
|
|
1901
|
+
this.collection = e, this.state = t;
|
|
1902
|
+
var l;
|
|
1903
|
+
this.allowsCellSelection = (l = i?.allowsCellSelection) !== null && l !== void 0 ? l : !1, this._isSelectAll = null, this.layoutDelegate = i?.layoutDelegate || null;
|
|
1904
|
+
}
|
|
1905
|
+
}
|
|
1906
|
+
export {
|
|
1907
|
+
Ki as $,
|
|
1908
|
+
_t as A,
|
|
1909
|
+
Di as B,
|
|
1910
|
+
Ze as C,
|
|
1911
|
+
Xe as D,
|
|
1912
|
+
$t as E,
|
|
1913
|
+
Ye as F,
|
|
1914
|
+
St as G,
|
|
1915
|
+
wt as H,
|
|
1916
|
+
q as I,
|
|
1917
|
+
Ct as J,
|
|
1918
|
+
xt as K,
|
|
1919
|
+
Si as a,
|
|
1920
|
+
At as b,
|
|
1921
|
+
ki as c,
|
|
1922
|
+
Nt as d,
|
|
1923
|
+
ne as e,
|
|
1924
|
+
$i as f,
|
|
1925
|
+
Ri as g,
|
|
1926
|
+
xi as h,
|
|
1927
|
+
rt as i,
|
|
1928
|
+
Ii as j,
|
|
1929
|
+
Ht as k,
|
|
1930
|
+
Ut as l,
|
|
1931
|
+
Ei as m,
|
|
1932
|
+
Pi as n,
|
|
1933
|
+
Mi as o,
|
|
1934
|
+
Ci as p,
|
|
1935
|
+
Fi as q,
|
|
1936
|
+
zt as r,
|
|
1937
|
+
It as s,
|
|
1938
|
+
Zt as t,
|
|
1939
|
+
Ai as u,
|
|
1940
|
+
wi as v,
|
|
1941
|
+
Rt as w,
|
|
1942
|
+
Tt as x,
|
|
1943
|
+
Me as y,
|
|
1944
|
+
tt as z
|
|
1945
|
+
};
|
|
1946
|
+
//# sourceMappingURL=SelectionManager-CLyu96pU.es.js.map
|