@commercetools/nimbus 0.0.0-canary-20250902075758 → 0.0.0-canary-20250902091333
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{Button-Bh-FLo_8.cjs.js → Button-BtJHe9xY.cjs.js} +2 -2
- package/dist/chunks/{Button-Bh-FLo_8.cjs.js.map → Button-BtJHe9xY.cjs.js.map} +1 -1
- package/dist/chunks/{Button--gemnXF8.es.js → Button-CNBS3n5a.es.js} +3 -3
- package/dist/chunks/{Button--gemnXF8.es.js.map → Button-CNBS3n5a.es.js.map} +1 -1
- package/dist/chunks/{DateField-DVzmD_D6.es.js → DateField-Dm2Qlhbk.es.js} +71 -58
- 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-_A7-hp_b.es.js → DatePicker-BthC1bZ_.es.js} +109 -105
- 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.map +1 -1
- package/dist/chunks/DragAndDrop-cOfUfFj8.cjs.js.map +1 -1
- package/dist/chunks/FieldError-CXcEMuBf.es.js.map +1 -1
- package/dist/chunks/FieldError-DyGFfqST.cjs.js.map +1 -1
- package/dist/chunks/FocusScope-CNO0fzPs.es.js.map +1 -1
- package/dist/chunks/FocusScope-DPn5XtSy.cjs.js.map +1 -1
- package/dist/chunks/Form-BuOomA4T.cjs.js.map +1 -1
- package/dist/chunks/Form-CXcEMuBf.es.js.map +1 -1
- package/dist/chunks/Group-Cfixd-fh.es.js.map +1 -1
- package/dist/chunks/Group-MdeByg6t.cjs.js.map +1 -1
- package/dist/chunks/{Heading-BI5vqfiY.cjs.js → Heading-BaW6t55l.cjs.js} +2 -2
- package/dist/chunks/{Heading-BI5vqfiY.cjs.js.map → Heading-BaW6t55l.cjs.js.map} +1 -1
- package/dist/chunks/{Heading-sepFdCCa.es.js → Heading-DEfy_f01.es.js} +5 -5
- package/dist/chunks/{Heading-sepFdCCa.es.js.map → Heading-DEfy_f01.es.js.map} +1 -1
- package/dist/chunks/Hidden-CNJIJ63M.cjs.js.map +1 -1
- package/dist/chunks/Hidden-j3Lbt7xL.es.js.map +1 -1
- package/dist/chunks/Input-BiHwUBo4.es.js.map +1 -1
- package/dist/chunks/Input-HBDt7LmM.cjs.js.map +1 -1
- 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.map +1 -1
- package/dist/chunks/Label-BgrYyYXn.cjs.js.map +1 -1
- 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/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-BNPexoD9.cjs.js → ProgressBar-BA3sLh1k.cjs.js} +2 -2
- package/dist/chunks/{ProgressBar-BNPexoD9.cjs.js.map → ProgressBar-BA3sLh1k.cjs.js.map} +1 -1
- package/dist/chunks/{ProgressBar-BnGsEC_2.es.js → ProgressBar-DjaUQI7N.es.js} +2 -2
- package/dist/chunks/{ProgressBar-BnGsEC_2.es.js.map → ProgressBar-DjaUQI7N.es.js.map} +1 -1
- package/dist/chunks/RSPContexts-B4yvXuBR.es.js.map +1 -1
- package/dist/chunks/RSPContexts-CkSl9jRK.cjs.js.map +1 -1
- package/dist/chunks/SSRProvider-Bc-sMhsT.cjs.js.map +1 -1
- package/dist/chunks/SSRProvider-Cu8KibIK.es.js.map +1 -1
- package/dist/chunks/{Collection-Df3FPouy.es.js → SelectionManager-CLyu96pU.es.js} +627 -577
- 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.map +1 -1
- package/dist/chunks/TextArea-D3FFXnUy.cjs.js.map +1 -1
- package/dist/chunks/{ToggleButton-BoIyPi3U.es.js → ToggleButton-C3JL0pgD.es.js} +3 -3
- package/dist/chunks/{ToggleButton-BoIyPi3U.es.js.map → ToggleButton-C3JL0pgD.es.js.map} +1 -1
- package/dist/chunks/{ToggleButton-By3cqA7R.cjs.js → ToggleButton-CPAdPTCr.cjs.js} +2 -2
- package/dist/chunks/{ToggleButton-By3cqA7R.cjs.js.map → ToggleButton-CPAdPTCr.cjs.js.map} +1 -1
- package/dist/chunks/VisuallyHidden-Bv_AJXZ7.cjs.js.map +1 -1
- package/dist/chunks/VisuallyHidden-VHEPK04F.es.js.map +1 -1
- package/dist/chunks/{accordion-CAC36XIK.cjs.js → accordion-Be--VNW6.cjs.js} +2 -2
- package/dist/chunks/{accordion-CAC36XIK.cjs.js.map → accordion-Be--VNW6.cjs.js.map} +1 -1
- package/dist/chunks/{accordion-8XmJkF18.es.js → accordion-Drl_Y6QC.es.js} +4 -4
- package/dist/chunks/{accordion-8XmJkF18.es.js.map → accordion-Drl_Y6QC.es.js.map} +1 -1
- package/dist/chunks/{alert-CbAPX3xQ.es.js → alert-CTCZ5bln.es.js} +5 -5
- package/dist/chunks/{alert-CbAPX3xQ.es.js.map → alert-CTCZ5bln.es.js.map} +1 -1
- package/dist/chunks/{alert-STlW7NU8.cjs.js → alert-_ZQT8Lkj.cjs.js} +2 -2
- package/dist/chunks/{alert-STlW7NU8.cjs.js.map → alert-_ZQT8Lkj.cjs.js.map} +1 -1
- package/dist/chunks/{avatar-mL-2hOve.cjs.js → avatar-DEAravTR.cjs.js} +2 -2
- package/dist/chunks/{avatar-mL-2hOve.cjs.js.map → avatar-DEAravTR.cjs.js.map} +1 -1
- package/dist/chunks/{avatar-B7CMxFNg.es.js → avatar-DXWmY247.es.js} +3 -3
- package/dist/chunks/{avatar-B7CMxFNg.es.js.map → avatar-DXWmY247.es.js.map} +1 -1
- package/dist/chunks/{badge-HHzfG1BI.cjs.js → badge-BjhZ-byo.cjs.js} +2 -2
- package/dist/chunks/{badge-HHzfG1BI.cjs.js.map → badge-BjhZ-byo.cjs.js.map} +1 -1
- package/dist/chunks/{badge-C2elCKPp.es.js → badge-Cg7jASs5.es.js} +2 -2
- package/dist/chunks/{badge-C2elCKPp.es.js.map → badge-Cg7jASs5.es.js.map} +1 -1
- package/dist/chunks/{box-C8731OYq.es.js → box-BK_2R49p.es.js} +2 -2
- package/dist/chunks/{box-C8731OYq.es.js.map → box-BK_2R49p.es.js.map} +1 -1
- package/dist/chunks/{box-BPfqlznQ.cjs.js → box-BwCVnAwb.cjs.js} +2 -2
- package/dist/chunks/{box-BPfqlznQ.cjs.js.map → box-BwCVnAwb.cjs.js.map} +1 -1
- package/dist/chunks/{button-_TqIjVy-.es.js → button-CXRRo1Zo.es.js} +5 -5
- package/dist/chunks/{button-_TqIjVy-.es.js.map → button-CXRRo1Zo.es.js.map} +1 -1
- package/dist/chunks/{button-CtWoT2k5.cjs.js → button-DYpzmnga.cjs.js} +2 -2
- package/dist/chunks/{button-CtWoT2k5.cjs.js.map → button-DYpzmnga.cjs.js.map} +1 -1
- package/dist/chunks/{calendar-DFhIC3YS.cjs.js → calendar-D7q7B1ej.cjs.js} +2 -2
- package/dist/chunks/{calendar-DFhIC3YS.cjs.js.map → calendar-D7q7B1ej.cjs.js.map} +1 -1
- package/dist/chunks/{calendar-Cgm2jctu.es.js → calendar-DAPG3st4.es.js} +12 -12
- package/dist/chunks/{calendar-Cgm2jctu.es.js.map → calendar-DAPG3st4.es.js.map} +1 -1
- package/dist/chunks/{card-R8oaAKgo.es.js → card-DX8r4prk.es.js} +3 -3
- package/dist/chunks/{card-R8oaAKgo.es.js.map → card-DX8r4prk.es.js.map} +1 -1
- package/dist/chunks/{card-CHfjhPF8.cjs.js → card-DgvP36g1.cjs.js} +2 -2
- package/dist/chunks/{card-CHfjhPF8.cjs.js.map → card-DgvP36g1.cjs.js.map} +1 -1
- package/dist/chunks/{checkbox-pYAJn7HX.cjs.js → checkbox-Bfms-o7I.cjs.js} +2 -2
- package/dist/chunks/{checkbox-pYAJn7HX.cjs.js.map → checkbox-Bfms-o7I.cjs.js.map} +1 -1
- package/dist/chunks/{checkbox-Ce37pKIe.es.js → checkbox-KT-n-5er.es.js} +2 -2
- package/dist/chunks/{checkbox-Ce37pKIe.es.js.map → checkbox-KT-n-5er.es.js.map} +1 -1
- package/dist/chunks/code-C3WbF6Qh.cjs.js +2 -0
- package/dist/chunks/{code-CTuEvrXA.cjs.js.map → code-C3WbF6Qh.cjs.js.map} +1 -1
- package/dist/chunks/{code-CieYW1ER.es.js → code-DM_AtVy-.es.js} +2 -2
- package/dist/chunks/{code-CieYW1ER.es.js.map → code-DM_AtVy-.es.js.map} +1 -1
- package/dist/chunks/combobox-BOXZUeIh.cjs.js +2 -0
- package/dist/chunks/combobox-BOXZUeIh.cjs.js.map +1 -0
- package/dist/chunks/combobox-DpnWEs47.es.js +2392 -0
- package/dist/chunks/combobox-DpnWEs47.es.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-D0_cRaDZ.cjs.js.map → context-OoV8SSWX.cjs.js.map} +1 -1
- package/dist/chunks/context-R4YUlO9Y.es.js +108 -0
- package/dist/chunks/{context-Pt-0ojuK.es.js.map → context-R4YUlO9Y.es.js.map} +1 -1
- package/dist/chunks/{create-recipe-context-i2odau3L.es.js → create-recipe-context-CrNaylZN.es.js} +4 -4
- package/dist/chunks/{create-recipe-context-i2odau3L.es.js.map → create-recipe-context-CrNaylZN.es.js.map} +1 -1
- package/dist/chunks/{create-recipe-context-D0_lCuqq.cjs.js → create-recipe-context-bXYFTZLs.cjs.js} +2 -2
- package/dist/chunks/{create-recipe-context-D0_lCuqq.cjs.js.map → create-recipe-context-bXYFTZLs.cjs.js.map} +1 -1
- package/dist/chunks/{create-slot-recipe-context-DBNItnlK.es.js → create-slot-recipe-context--T0CaFjW.es.js} +3 -3
- package/dist/chunks/{create-slot-recipe-context-DBNItnlK.es.js.map → create-slot-recipe-context--T0CaFjW.es.js.map} +1 -1
- package/dist/chunks/{create-slot-recipe-context-HIF51Igr.cjs.js → create-slot-recipe-context-CimocFDH.cjs.js} +2 -2
- package/dist/chunks/{create-slot-recipe-context-HIF51Igr.cjs.js.map → create-slot-recipe-context-CimocFDH.cjs.js.map} +1 -1
- package/dist/chunks/{data-table-BvYN1Stn.es.js → data-table-CkldF9nZ.es.js} +1612 -1564
- package/dist/chunks/data-table-CkldF9nZ.es.js.map +1 -0
- package/dist/chunks/data-table-DPetwlWs.cjs.js +2 -0
- package/dist/chunks/data-table-DPetwlWs.cjs.js.map +1 -0
- package/dist/chunks/{date-input-BmKSBIL2.cjs.js → date-input-jXS-SVpU.cjs.js} +2 -2
- package/dist/chunks/{date-input-BmKSBIL2.cjs.js.map → date-input-jXS-SVpU.cjs.js.map} +1 -1
- package/dist/chunks/{date-input-DFx77xwE.es.js → date-input-wQ1WdB4N.es.js} +4 -4
- package/dist/chunks/{date-input-DFx77xwE.es.js.map → date-input-wQ1WdB4N.es.js.map} +1 -1
- package/dist/chunks/{date-picker-CsGYO3HW.cjs.js → date-picker-CDbiNEBg.cjs.js} +2 -2
- package/dist/chunks/{date-picker-CsGYO3HW.cjs.js.map → date-picker-CDbiNEBg.cjs.js.map} +1 -1
- package/dist/chunks/{date-picker-BzkAJfXO.es.js → date-picker-Do5hNEe5.es.js} +13 -13
- package/dist/chunks/{date-picker-BzkAJfXO.es.js.map → date-picker-Do5hNEe5.es.js.map} +1 -1
- package/dist/chunks/{date-range-picker-uomzPtYK.cjs.js → date-range-picker-Bq6Wkwwo.cjs.js} +2 -2
- package/dist/chunks/{date-range-picker-uomzPtYK.cjs.js.map → date-range-picker-Bq6Wkwwo.cjs.js.map} +1 -1
- package/dist/chunks/{date-range-picker-B1Sxvj0C.es.js → date-range-picker-DhX5QVXh.es.js} +13 -13
- package/dist/chunks/{date-range-picker-B1Sxvj0C.es.js.map → date-range-picker-DhX5QVXh.es.js.map} +1 -1
- 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-CpctZ_-U.es.js → divider-Cjs3ESH7.es.js} +2 -2
- package/dist/chunks/{divider-CpctZ_-U.es.js.map → divider-Cjs3ESH7.es.js.map} +1 -1
- package/dist/chunks/{divider-CTTExmLv.cjs.js → divider-DU351gdE.cjs.js} +2 -2
- package/dist/chunks/{divider-CTTExmLv.cjs.js.map → divider-DU351gdE.cjs.js.map} +1 -1
- package/dist/chunks/empty-B5_AO6Pg.cjs.js.map +1 -1
- package/dist/chunks/empty-D7ZFmvo6.es.js.map +1 -1
- package/dist/chunks/{factory-DlCuwIGL.cjs.js → factory-CVGqU9CD.cjs.js} +2 -2
- package/dist/chunks/{factory-DlCuwIGL.cjs.js.map → factory-CVGqU9CD.cjs.js.map} +1 -1
- package/dist/chunks/{factory-BpxiKxSs.es.js → factory-DmIX2puY.es.js} +2 -2
- package/dist/chunks/{factory-BpxiKxSs.es.js.map → factory-DmIX2puY.es.js.map} +1 -1
- package/dist/chunks/filterDOMProps-BSVCO5jK.es.js.map +1 -1
- package/dist/chunks/filterDOMProps-WUskt27c.cjs.js.map +1 -1
- package/dist/chunks/{flex-B81RbgfK.es.js → flex-BFC_f5BH.es.js} +2 -2
- package/dist/chunks/{flex-B81RbgfK.es.js.map → flex-BFC_f5BH.es.js.map} +1 -1
- package/dist/chunks/{flex-BhVeeItQ.cjs.js → flex-yqydM5z_.cjs.js} +2 -2
- package/dist/chunks/{flex-BhVeeItQ.cjs.js.map → flex-yqydM5z_.cjs.js.map} +1 -1
- package/dist/chunks/focusSafely-DJpphVHF.es.js.map +1 -1
- package/dist/chunks/focusSafely-jDMW9aEx.cjs.js.map +1 -1
- 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-B1B4BtvO.es.js → form-field-B8N-bvac.es.js} +5 -5
- package/dist/chunks/{form-field-B1B4BtvO.es.js.map → form-field-B8N-bvac.es.js.map} +1 -1
- package/dist/chunks/{form-field-6_jyAhgo.cjs.js → form-field-CH2EUQMc.cjs.js} +2 -2
- package/dist/chunks/{form-field-6_jyAhgo.cjs.js.map → form-field-CH2EUQMc.cjs.js.map} +1 -1
- package/dist/chunks/{grid-Cdmh4YaF.es.js → grid-B3Ggy_FW.es.js} +2 -2
- package/dist/chunks/{grid-Cdmh4YaF.es.js.map → grid-B3Ggy_FW.es.js.map} +1 -1
- package/dist/chunks/{grid-CWdLtU5p.cjs.js → grid-CXpKN2OR.cjs.js} +2 -2
- package/dist/chunks/{grid-CWdLtU5p.cjs.js.map → grid-CXpKN2OR.cjs.js.map} +1 -1
- package/dist/chunks/{grid-item-CJHf3veC.cjs.js → grid-item-CGwfSnm7.cjs.js} +2 -2
- package/dist/chunks/{grid-item-CJHf3veC.cjs.js.map → grid-item-CGwfSnm7.cjs.js.map} +1 -1
- package/dist/chunks/{grid-item-CpPkpUVF.es.js → grid-item-DuAynDd1.es.js} +3 -3
- package/dist/chunks/{grid-item-CpPkpUVF.es.js.map → grid-item-DuAynDd1.es.js.map} +1 -1
- package/dist/chunks/{icon-DTe62Nqz.es.js → icon-BDsjJ4Zi.es.js} +2 -2
- package/dist/chunks/{icon-DTe62Nqz.es.js.map → icon-BDsjJ4Zi.es.js.map} +1 -1
- package/dist/chunks/{icon-C_BZeqkm.cjs.js → icon-DHoLo7_S.cjs.js} +2 -2
- package/dist/chunks/{icon-C_BZeqkm.cjs.js.map → icon-DHoLo7_S.cjs.js.map} +1 -1
- package/dist/chunks/{icon-button-Dqhm4rBI.cjs.js → icon-button-1MQYEWVd.cjs.js} +2 -2
- package/dist/chunks/{icon-button-Dqhm4rBI.cjs.js.map → icon-button-1MQYEWVd.cjs.js.map} +1 -1
- package/dist/chunks/{icon-button-oIKucbza.es.js → icon-button-Bp92vS0I.es.js} +2 -2
- package/dist/chunks/{icon-button-oIKucbza.es.js.map → icon-button-Bp92vS0I.es.js.map} +1 -1
- package/dist/chunks/{icon-toggle-button-DIfDVDd4.cjs.js → icon-toggle-button-D42wYTJF.cjs.js} +2 -2
- package/dist/chunks/{icon-toggle-button-DIfDVDd4.cjs.js.map → icon-toggle-button-D42wYTJF.cjs.js.map} +1 -1
- package/dist/chunks/{icon-toggle-button-BYKHQRsq.es.js → icon-toggle-button-D7N1RxnR.es.js} +2 -2
- package/dist/chunks/{icon-toggle-button-BYKHQRsq.es.js.map → icon-toggle-button-D7N1RxnR.es.js.map} +1 -1
- package/dist/chunks/{image-BP9LcU28.cjs.js → image-B3ISQSVL.cjs.js} +2 -2
- package/dist/chunks/{image-BP9LcU28.cjs.js.map → image-B3ISQSVL.cjs.js.map} +1 -1
- package/dist/chunks/{image-BycsRl2K.es.js → image-CwcCZREa.es.js} +2 -2
- package/dist/chunks/{image-BycsRl2K.es.js.map → image-CwcCZREa.es.js.map} +1 -1
- package/dist/chunks/{image-B2WbQ5hi.es.js → image-MeWmLoV0.es.js} +2 -2
- package/dist/chunks/{image-B2WbQ5hi.es.js.map → image-MeWmLoV0.es.js.map} +1 -1
- package/dist/chunks/image-bt28epM5.cjs.js +2 -0
- package/dist/chunks/{image-BAqoLZQB.cjs.js.map → image-bt28epM5.cjs.js.map} +1 -1
- package/dist/chunks/{index-0CyuQQet.es.js → index-46Tt2Ww4.es.js} +2 -2
- package/dist/chunks/{index-0CyuQQet.es.js.map → index-46Tt2Ww4.es.js.map} +1 -1
- package/dist/chunks/index-BYEAMD8A.cjs.js +2 -0
- package/dist/chunks/{index-x9OhLGGf.cjs.js.map → index-BYEAMD8A.cjs.js.map} +1 -1
- package/dist/chunks/intlStrings-Cd44R5hT.es.js.map +1 -1
- package/dist/chunks/intlStrings-ClBuC6xN.cjs.js.map +1 -1
- package/dist/chunks/{kbd-CDEXQyg2.es.js → kbd-Bc97Bwq3.es.js} +2 -2
- package/dist/chunks/{kbd-CDEXQyg2.es.js.map → kbd-Bc97Bwq3.es.js.map} +1 -1
- package/dist/chunks/{kbd-DP3lZ80W.cjs.js → kbd-BlZ2RGfa.cjs.js} +2 -2
- package/dist/chunks/{kbd-DP3lZ80W.cjs.js.map → kbd-BlZ2RGfa.cjs.js.map} +1 -1
- package/dist/chunks/{link-BoUhLeO-.es.js → link-DjzrPyx3.es.js} +2 -2
- package/dist/chunks/{link-BoUhLeO-.es.js.map → link-DjzrPyx3.es.js.map} +1 -1
- package/dist/chunks/{link-DTUiEXYJ.cjs.js → link-DzUonoQg.cjs.js} +2 -2
- package/dist/chunks/{link-DTUiEXYJ.cjs.js.map → link-DzUonoQg.cjs.js.map} +1 -1
- package/dist/chunks/{list-x423RThD.es.js → list-BTkkDy6B.es.js} +2 -2
- package/dist/chunks/{list-x423RThD.es.js.map → list-BTkkDy6B.es.js.map} +1 -1
- package/dist/chunks/{list-r1G4iBXo.cjs.js → list-DokC0Ks-.cjs.js} +2 -2
- package/dist/chunks/{list-r1G4iBXo.cjs.js.map → list-DokC0Ks-.cjs.js.map} +1 -1
- package/dist/chunks/{loading-spinner-C7yZE-QF.es.js → loading-spinner-DuBf2cIy.es.js} +3 -3
- package/dist/chunks/{loading-spinner-C7yZE-QF.es.js.map → loading-spinner-DuBf2cIy.es.js.map} +1 -1
- package/dist/chunks/{loading-spinner-BLDpwNFm.cjs.js → loading-spinner-VVQyl725.cjs.js} +2 -2
- package/dist/chunks/{loading-spinner-BLDpwNFm.cjs.js.map → loading-spinner-VVQyl725.cjs.js.map} +1 -1
- package/dist/chunks/{menu-BZWMAG92.es.js → menu-DFrwX16L.es.js} +25 -25
- package/dist/chunks/{menu-BZWMAG92.es.js.map → menu-DFrwX16L.es.js.map} +1 -1
- package/dist/chunks/menu-DHZ-kLy2.cjs.js +2 -0
- package/dist/chunks/{menu-C41LRy4b.cjs.js.map → menu-DHZ-kLy2.cjs.js.map} +1 -1
- package/dist/chunks/mergeProps-BA5Cwf5w.cjs.js.map +1 -1
- package/dist/chunks/mergeProps-B_9syxhT.es.js.map +1 -1
- package/dist/chunks/{multiline-text-input-Dy6gbL7T.es.js → multiline-text-input-DJUUQQcc.es.js} +3 -3
- package/dist/chunks/{multiline-text-input-Dy6gbL7T.es.js.map → multiline-text-input-DJUUQQcc.es.js.map} +1 -1
- package/dist/chunks/{multiline-text-input-B5XtIAAO.cjs.js → multiline-text-input-c-ycPy7O.cjs.js} +2 -2
- package/dist/chunks/{multiline-text-input-B5XtIAAO.cjs.js.map → multiline-text-input-c-ycPy7O.cjs.js.map} +1 -1
- package/dist/chunks/{namespace-HxAMZBwF.es.js → namespace---Td8pR2.es.js} +3 -3
- package/dist/chunks/{namespace-HxAMZBwF.es.js.map → namespace---Td8pR2.es.js.map} +1 -1
- package/dist/chunks/{namespace-CYjqWfVn.cjs.js → namespace-CpLmDcCq.cjs.js} +2 -2
- package/dist/chunks/{namespace-CYjqWfVn.cjs.js.map → namespace-CpLmDcCq.cjs.js.map} +1 -1
- package/dist/chunks/{nimbus-provider-Yka95N38.cjs.js → nimbus-provider-CVhVm-aq.cjs.js} +2 -2
- package/dist/chunks/{nimbus-provider-Yka95N38.cjs.js.map → nimbus-provider-CVhVm-aq.cjs.js.map} +1 -1
- package/dist/chunks/{nimbus-provider-C68IpiXi.es.js → nimbus-provider-_f5vEIR_.es.js} +3 -3
- package/dist/chunks/{nimbus-provider-C68IpiXi.es.js.map → nimbus-provider-_f5vEIR_.es.js.map} +1 -1
- package/dist/chunks/number-DHvo-MDe.cjs.js.map +1 -1
- package/dist/chunks/number-dMxJejI6.es.js.map +1 -1
- package/dist/chunks/{number-input-Dm2FFtQx.cjs.js → number-input-BFmnS-UB.cjs.js} +2 -2
- package/dist/chunks/{number-input-Dm2FFtQx.cjs.js.map → number-input-BFmnS-UB.cjs.js.map} +1 -1
- package/dist/chunks/{number-input-BxLU6AgG.es.js → number-input-DloMrtt6.es.js} +8 -8
- package/dist/chunks/{number-input-BxLU6AgG.es.js.map → number-input-DloMrtt6.es.js.map} +1 -1
- package/dist/chunks/openLink-Ctl0AdAy.es.js.map +1 -1
- package/dist/chunks/openLink-DkCJYbzq.cjs.js.map +1 -1
- package/dist/chunks/{password-input-CwWWxcly.cjs.js → password-input-C-tPs6EJ.cjs.js} +2 -2
- package/dist/chunks/{password-input-CwWWxcly.cjs.js.map → password-input-C-tPs6EJ.cjs.js.map} +1 -1
- package/dist/chunks/{password-input-DJjAz3TP.es.js → password-input-CBdBny43.es.js} +5 -5
- package/dist/chunks/{password-input-DJjAz3TP.es.js.map → password-input-CBdBny43.es.js.map} +1 -1
- package/dist/chunks/platform-BDLy2vDY.cjs.js.map +1 -1
- package/dist/chunks/platform-Z5fvtFmM.es.js.map +1 -1
- package/dist/chunks/{progress-bar-CDRI279T.es.js → progress-bar-Dx1MVCsz.es.js} +5 -5
- package/dist/chunks/{progress-bar-CDRI279T.es.js.map → progress-bar-Dx1MVCsz.es.js.map} +1 -1
- package/dist/chunks/{progress-bar-nQCcdv_4.cjs.js → progress-bar-vPPXrzbA.cjs.js} +2 -2
- package/dist/chunks/{progress-bar-nQCcdv_4.cjs.js.map → progress-bar-vPPXrzbA.cjs.js.map} +1 -1
- package/dist/chunks/{provider-DxFdjgyb.es.js → provider-CHFgwvsP.es.js} +3 -3
- 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-BXFY8CaT.cjs.js → radio-input-1eswyY0o.cjs.js} +2 -2
- package/dist/chunks/{radio-input-BXFY8CaT.cjs.js.map → radio-input-1eswyY0o.cjs.js.map} +1 -1
- package/dist/chunks/{radio-input-CAogtJP7.es.js → radio-input-D-9Q8REK.es.js} +3 -3
- package/dist/chunks/{radio-input-CAogtJP7.es.js.map → radio-input-D-9Q8REK.es.js.map} +1 -1
- package/dist/chunks/{range-calendar-D-CvB2-1.es.js → range-calendar-B6T5RB2u.es.js} +12 -12
- package/dist/chunks/{range-calendar-D-CvB2-1.es.js.map → range-calendar-B6T5RB2u.es.js.map} +1 -1
- package/dist/chunks/{range-calendar-BuzvPCc1.cjs.js → range-calendar-NhqUtCdU.cjs.js} +2 -2
- package/dist/chunks/{range-calendar-BuzvPCc1.cjs.js.map → range-calendar-NhqUtCdU.cjs.js.map} +1 -1
- package/dist/chunks/{rich-text-input-Dv7OofX2.es.js → rich-text-input-BvYBUkt_.es.js} +12 -12
- package/dist/chunks/{rich-text-input-Dv7OofX2.es.js.map → rich-text-input-BvYBUkt_.es.js.map} +1 -1
- package/dist/chunks/{rich-text-input-Dmp5hx2t.cjs.js → rich-text-input-DXzaZuhE.cjs.js} +2 -2
- package/dist/chunks/{rich-text-input-Dmp5hx2t.cjs.js.map → rich-text-input-DXzaZuhE.cjs.js.map} +1 -1
- package/dist/chunks/scrollIntoView-BYF_8_6g.es.js.map +1 -1
- package/dist/chunks/scrollIntoView-BzIqpHLO.cjs.js.map +1 -1
- package/dist/chunks/select-CXwoEwFo.cjs.js +2 -0
- package/dist/chunks/{select-IUEop3i7.cjs.js.map → select-CXwoEwFo.cjs.js.map} +1 -1
- package/dist/chunks/{select-Dlg0m5Ww.es.js → select-CanxdDbU.es.js} +15 -15
- package/dist/chunks/{select-Dlg0m5Ww.es.js.map → select-CanxdDbU.es.js.map} +1 -1
- package/dist/chunks/{simple-grid-yOwvCBEN.cjs.js → simple-grid-B7BgfVAS.cjs.js} +2 -2
- package/dist/chunks/{simple-grid-yOwvCBEN.cjs.js.map → simple-grid-B7BgfVAS.cjs.js.map} +1 -1
- package/dist/chunks/{simple-grid-Crtlocqj.es.js → simple-grid-C6GRMtip.es.js} +4 -4
- package/dist/chunks/{simple-grid-Crtlocqj.es.js.map → simple-grid-C6GRMtip.es.js.map} +1 -1
- package/dist/chunks/{slate-helpers-CMAwCMk0.cjs.js → slate-helpers-BN_9Hky2.cjs.js} +3 -3
- package/dist/chunks/{slate-helpers-CMAwCMk0.cjs.js.map → slate-helpers-BN_9Hky2.cjs.js.map} +1 -1
- package/dist/chunks/{slate-helpers-BwRHJO4o.es.js → slate-helpers-DunxggA8.es.js} +45 -45
- package/dist/chunks/{slate-helpers-BwRHJO4o.es.js.map → slate-helpers-DunxggA8.es.js.map} +1 -1
- package/dist/chunks/{split-button-Dpj44F6g.es.js → split-button-BTheahW8.es.js} +4 -4
- package/dist/chunks/{split-button-Dpj44F6g.es.js.map → split-button-BTheahW8.es.js.map} +1 -1
- package/dist/chunks/{split-button-B4Wp7H3n.cjs.js → split-button-CM-MvUGD.cjs.js} +2 -2
- package/dist/chunks/{split-button-B4Wp7H3n.cjs.js.map → split-button-CM-MvUGD.cjs.js.map} +1 -1
- package/dist/chunks/{stack-B6PqFPMh.cjs.js → stack-BG0j9HvT.cjs.js} +2 -2
- package/dist/chunks/{stack-B6PqFPMh.cjs.js.map → stack-BG0j9HvT.cjs.js.map} +1 -1
- package/dist/chunks/{stack-CBx-c8hI.es.js → stack-QzuqKTKb.es.js} +3 -3
- package/dist/chunks/{stack-CBx-c8hI.es.js.map → stack-QzuqKTKb.es.js.map} +1 -1
- package/dist/chunks/{switch-CeNcr608.cjs.js → switch-D2Wfgfnu.cjs.js} +2 -2
- package/dist/chunks/{switch-CeNcr608.cjs.js.map → switch-D2Wfgfnu.cjs.js.map} +1 -1
- package/dist/chunks/{switch-Ba9WXDDP.es.js → switch-DfH87j5a.es.js} +2 -2
- package/dist/chunks/{switch-Ba9WXDDP.es.js.map → switch-DfH87j5a.es.js.map} +1 -1
- package/dist/chunks/tag-group-BxRaZjiA.cjs.js +2 -0
- package/dist/chunks/tag-group-BxRaZjiA.cjs.js.map +1 -0
- package/dist/chunks/{tag-group-BY7yGmmv.es.js → tag-group-EIsTAERM.es.js} +278 -265
- package/dist/chunks/tag-group-EIsTAERM.es.js.map +1 -0
- package/dist/chunks/{text-B2wziCK6.es.js → text-DSjt3Sqv.es.js} +2 -2
- package/dist/chunks/{text-B2wziCK6.es.js.map → text-DSjt3Sqv.es.js.map} +1 -1
- package/dist/chunks/{text-hUMahKuA.cjs.js → text-Dg1sFCuC.cjs.js} +2 -2
- package/dist/chunks/{text-hUMahKuA.cjs.js.map → text-Dg1sFCuC.cjs.js.map} +1 -1
- package/dist/chunks/{text-input-82882hyq.es.js → text-input-BnwR9awD.es.js} +3 -3
- package/dist/chunks/{text-input-82882hyq.es.js.map → text-input-BnwR9awD.es.js.map} +1 -1
- package/dist/chunks/{text-input-CBcEG79G.cjs.js → text-input-DtwV2zvu.cjs.js} +2 -2
- package/dist/chunks/{text-input-CBcEG79G.cjs.js.map → text-input-DtwV2zvu.cjs.js.map} +1 -1
- package/dist/chunks/{time-input-CCnD_SWq.cjs.js → time-input-BS5RS11d.cjs.js} +2 -2
- package/dist/chunks/{time-input-CCnD_SWq.cjs.js.map → time-input-BS5RS11d.cjs.js.map} +1 -1
- package/dist/chunks/{time-input-DAA-IK0I.es.js → time-input-BuFPyNcW.es.js} +4 -4
- package/dist/chunks/{time-input-DAA-IK0I.es.js.map → time-input-BuFPyNcW.es.js.map} +1 -1
- package/dist/chunks/{toggle-button-163ZMcpk.es.js → toggle-button-B5nYtXCP.es.js} +5 -5
- package/dist/chunks/{toggle-button-163ZMcpk.es.js.map → toggle-button-B5nYtXCP.es.js.map} +1 -1
- package/dist/chunks/{toggle-button-BTYd563-.cjs.js → toggle-button-CZcbVyDV.cjs.js} +2 -2
- package/dist/chunks/{toggle-button-BTYd563-.cjs.js.map → toggle-button-CZcbVyDV.cjs.js.map} +1 -1
- package/dist/chunks/{toggle-button-group-D-sGsuZ_.es.js → toggle-button-group-DHMnBWSg.es.js} +3 -3
- package/dist/chunks/{toggle-button-group-D-sGsuZ_.es.js.map → toggle-button-group-DHMnBWSg.es.js.map} +1 -1
- package/dist/chunks/{toggle-button-group-Dq51N27j.cjs.js → toggle-button-group-LddoXszz.cjs.js} +2 -2
- package/dist/chunks/{toggle-button-group-Dq51N27j.cjs.js.map → toggle-button-group-LddoXszz.cjs.js.map} +1 -1
- package/dist/chunks/{toolbar-Ch-bOLkm.es.js → toolbar-CWst3Tik.es.js} +2 -2
- package/dist/chunks/{toolbar-Ch-bOLkm.es.js.map → toolbar-CWst3Tik.es.js.map} +1 -1
- package/dist/chunks/{toolbar-CzXpYEbP.cjs.js → toolbar-CrxjHhQi.cjs.js} +2 -2
- package/dist/chunks/{toolbar-CzXpYEbP.cjs.js.map → toolbar-CrxjHhQi.cjs.js.map} +1 -1
- 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-Denpy3Zo.cjs.js → use-formatting-state-DVcnyVBl.cjs.js} +2 -2
- package/dist/chunks/{use-formatting-state-Denpy3Zo.cjs.js.map → use-formatting-state-DVcnyVBl.cjs.js.map} +1 -1
- package/dist/chunks/{use-formatting-state-RJvSR-Zg.es.js → use-formatting-state-DdKYccZs.es.js} +2 -2
- package/dist/chunks/{use-formatting-state-RJvSR-Zg.es.js.map → use-formatting-state-DdKYccZs.es.js.map} +1 -1
- package/dist/chunks/{use-recipe-CR4W7Dne.es.js → use-recipe-DuU8En0C.es.js} +2 -2
- package/dist/chunks/{use-recipe-CR4W7Dne.es.js.map → use-recipe-DuU8En0C.es.js.map} +1 -1
- package/dist/chunks/use-recipe-pbWWLWIq.cjs.js +2 -0
- package/dist/chunks/{use-recipe-BZ_iqCkN.cjs.js.map → use-recipe-pbWWLWIq.cjs.js.map} +1 -1
- package/dist/chunks/{useButton-C8n_NtBu.cjs.js → useButton-BgBfaV_L.cjs.js} +2 -2
- package/dist/chunks/{useButton-C8n_NtBu.cjs.js.map → useButton-BgBfaV_L.cjs.js.map} +1 -1
- package/dist/chunks/{useButton-M3_syr-Y.es.js → useButton-DAeSjgg9.es.js} +19 -18
- package/dist/chunks/{useButton-M3_syr-Y.es.js.map → useButton-DAeSjgg9.es.js.map} +1 -1
- package/dist/chunks/{useCollator-BvjDbml1.es.js → useCollator-BHMZd1r6.es.js} +2 -2
- package/dist/chunks/{useCollator-BvjDbml1.es.js.map → useCollator-BHMZd1r6.es.js.map} +1 -1
- package/dist/chunks/{useCollator-ZqnkTllN.cjs.js → useCollator-YVJAe1GI.cjs.js} +2 -2
- package/dist/chunks/{useCollator-ZqnkTllN.cjs.js.map → useCollator-YVJAe1GI.cjs.js.map} +1 -1
- 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-BqJA667a.es.js → useDateFormatter-C7Kxzwro.es.js} +2 -2
- package/dist/chunks/useDateFormatter-C7Kxzwro.es.js.map +1 -0
- package/dist/chunks/{useDateFormatter-Dq2Ly1Je.cjs.js → useDateFormatter-CS19Cch2.cjs.js} +2 -2
- package/dist/chunks/useDateFormatter-CS19Cch2.cjs.js.map +1 -0
- package/dist/chunks/useEvent-CuUOU5WV.cjs.js.map +1 -1
- package/dist/chunks/useEvent-YHhqZvpU.es.js.map +1 -1
- package/dist/chunks/useField-Ce9zQxmx.es.js.map +1 -1
- package/dist/chunks/useField-DmqO9k7a.cjs.js.map +1 -1
- package/dist/chunks/{useFilter-Du48WXDn.cjs.js → useFilter-CG8lxfCP.cjs.js} +2 -2
- package/dist/chunks/{useFilter-Du48WXDn.cjs.js.map → useFilter-CG8lxfCP.cjs.js.map} +1 -1
- package/dist/chunks/{useFilter-Bh0adxQ-.es.js → useFilter-DOfNzeZ9.es.js} +2 -2
- package/dist/chunks/{useFilter-Bh0adxQ-.es.js.map → useFilter-DOfNzeZ9.es.js.map} +1 -1
- package/dist/chunks/useFocus-BtJ38vev.cjs.js.map +1 -1
- package/dist/chunks/useFocus-DkWJ2TJC.es.js.map +1 -1
- package/dist/chunks/useFocusRing-CzFer4bD.cjs.js.map +1 -1
- package/dist/chunks/useFocusRing-updnkDQg.es.js.map +1 -1
- package/dist/chunks/useFocusVisible-CWDaG0ze.es.js.map +1 -1
- package/dist/chunks/useFocusVisible-Co0C61s7.cjs.js.map +1 -1
- package/dist/chunks/useFocusWithin-BDSWp3rw.cjs.js.map +1 -1
- package/dist/chunks/useFocusWithin-ByYlHjju.es.js.map +1 -1
- package/dist/chunks/useFocusable-CrsD8ZcF.es.js.map +1 -1
- package/dist/chunks/useFocusable-DCgmQxS1.cjs.js.map +1 -1
- package/dist/chunks/useFormReset--wPlnEOl.cjs.js.map +1 -1
- package/dist/chunks/useFormReset-DurgUJL-.es.js.map +1 -1
- package/dist/chunks/useFormValidation-4hZ1_a6w.es.js.map +1 -1
- package/dist/chunks/useFormValidation-BEaCuNx1.cjs.js.map +1 -1
- package/dist/chunks/useGlobalListeners-BOOfV5Wh.es.js.map +1 -1
- package/dist/chunks/useGlobalListeners-DcmIlwrO.cjs.js.map +1 -1
- package/dist/chunks/{useHighlightSelectionDescription-CsL0QM95.es.js → useHighlightSelectionDescription-BQg1WcM3.es.js} +2 -2
- package/dist/chunks/{useHighlightSelectionDescription-CsL0QM95.es.js.map → useHighlightSelectionDescription-BQg1WcM3.es.js.map} +1 -1
- package/dist/chunks/{useHighlightSelectionDescription-DwBGGESb.cjs.js → useHighlightSelectionDescription-CpDw-Mgj.cjs.js} +2 -2
- package/dist/chunks/{useHighlightSelectionDescription-DwBGGESb.cjs.js.map → useHighlightSelectionDescription-CpDw-Mgj.cjs.js.map} +1 -1
- package/dist/chunks/useHover-CiP9jMFy.cjs.js.map +1 -1
- package/dist/chunks/useHover-DhoE75lX.es.js.map +1 -1
- package/dist/chunks/useLabel-BBmkkrPP.es.js.map +1 -1
- package/dist/chunks/useLabel-Y8tWagLu.cjs.js.map +1 -1
- package/dist/chunks/{useLocalizedStringFormatter-CvzOUusg.es.js → useLocalizedStringFormatter-BRnRyxJp.es.js} +2 -2
- package/dist/chunks/{useLocalizedStringFormatter-CvzOUusg.es.js.map → useLocalizedStringFormatter-BRnRyxJp.es.js.map} +1 -1
- package/dist/chunks/{useLocalizedStringFormatter-fJnbqb2x.cjs.js → useLocalizedStringFormatter-sB0mFYtL.cjs.js} +2 -2
- package/dist/chunks/{useLocalizedStringFormatter-fJnbqb2x.cjs.js.map → useLocalizedStringFormatter-sB0mFYtL.cjs.js.map} +1 -1
- package/dist/chunks/useObjectRef-CaJ5pgjX.es.js.map +1 -1
- package/dist/chunks/useObjectRef-dXOJdONs.cjs.js.map +1 -1
- package/dist/chunks/usePress-C8-hLXJw.cjs.js.map +1 -1
- package/dist/chunks/usePress-DHhWHfMz.es.js.map +1 -1
- package/dist/chunks/{useProgressBar-BgURyN6q.es.js → useProgressBar-DHFmTHqL.es.js} +2 -2
- package/dist/chunks/{useProgressBar-BgURyN6q.es.js.map → useProgressBar-DHFmTHqL.es.js.map} +1 -1
- package/dist/chunks/{useProgressBar-8ZyM2_T3.cjs.js → useProgressBar-DWH4I0qR.cjs.js} +2 -2
- package/dist/chunks/{useProgressBar-8ZyM2_T3.cjs.js.map → useProgressBar-DWH4I0qR.cjs.js.map} +1 -1
- package/dist/chunks/useSeparator-B-OtWwE7.cjs.js.map +1 -1
- package/dist/chunks/useSeparator-Dg70ACBm.es.js.map +1 -1
- package/dist/chunks/{useSingleSelectListState-CYqW_Fx5.es.js → useSingleSelectListState-D1rjgMv_.es.js} +2 -2
- package/dist/chunks/{useSingleSelectListState-CYqW_Fx5.es.js.map → useSingleSelectListState-D1rjgMv_.es.js.map} +1 -1
- package/dist/chunks/{useSingleSelectListState-8Jfm9Pr1.cjs.js → useSingleSelectListState-F2WkLZRg.cjs.js} +2 -2
- package/dist/chunks/{useSingleSelectListState-8Jfm9Pr1.cjs.js.map → useSingleSelectListState-F2WkLZRg.cjs.js.map} +1 -1
- package/dist/chunks/{useSpinButton-C-tpK-T9.es.js → useSpinButton-C9DPDo0r.es.js} +30 -30
- 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.map +1 -1
- package/dist/chunks/useSyncRef-bcjp9eId.cjs.js.map +1 -1
- package/dist/chunks/useTextField-BcthGRd8.cjs.js.map +1 -1
- package/dist/chunks/useTextField-BnL6tOdd.es.js.map +1 -1
- package/dist/chunks/useToggle-DqruaaTq.es.js.map +1 -1
- package/dist/chunks/useToggle-VJWgbeCC.cjs.js.map +1 -1
- package/dist/chunks/useToggleState-Dl-o05wQ.cjs.js.map +1 -1
- package/dist/chunks/useToggleState-Uh0wTgdI.es.js.map +1 -1
- package/dist/chunks/{useToolbar-Coi7qK2U.cjs.js → useToolbar-Bqn3EANT.cjs.js} +2 -2
- package/dist/chunks/{useToolbar-Coi7qK2U.cjs.js.map → useToolbar-Bqn3EANT.cjs.js.map} +1 -1
- package/dist/chunks/{useToolbar-9B43whQM.es.js → useToolbar-CLH6Sjes.es.js} +2 -2
- package/dist/chunks/{useToolbar-9B43whQM.es.js.map → useToolbar-CLH6Sjes.es.js.map} +1 -1
- package/dist/chunks/useUpdateEffect-C5YQs_1w.cjs.js.map +1 -1
- package/dist/chunks/useUpdateEffect-CCDx8D4X.es.js.map +1 -1
- package/dist/chunks/utils-BGHwK7fd.cjs.js.map +1 -1
- package/dist/chunks/utils-BHdR5Nww.cjs.js.map +1 -1
- package/dist/chunks/utils-BkdW_cdL.es.js.map +1 -1
- package/dist/chunks/utils-jpfA6kxk.es.js.map +1 -1
- package/dist/chunks/{walk-object-Ad4Rz5Gh.cjs.js → walk-object-CPVtf-bb.cjs.js} +2 -2
- package/dist/chunks/{walk-object-Ad4Rz5Gh.cjs.js.map → walk-object-CPVtf-bb.cjs.js.map} +1 -1
- package/dist/chunks/{walk-object-Drjey5HY.es.js → walk-object-Dpb8i9wi.es.js} +2 -2
- package/dist/chunks/{walk-object-Drjey5HY.es.js.map → walk-object-Dpb8i9wi.es.js.map} +1 -1
- 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 +52 -52
- package/dist/components/data-table.cjs +1 -1
- package/dist/components/data-table.es.js +1 -1
- 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/heading.cjs +1 -1
- package/dist/components/heading.es.js +1 -1
- package/dist/components/hooks.cjs +1 -1
- package/dist/components/hooks.es.js +1 -1
- package/dist/components/icon-button.cjs +1 -1
- package/dist/components/icon-button.es.js +1 -1
- package/dist/components/icon-toggle-button.cjs +1 -1
- package/dist/components/icon-toggle-button.es.js +1 -1
- package/dist/components/icon.cjs +1 -1
- package/dist/components/icon.es.js +1 -1
- package/dist/components/image.cjs +1 -1
- package/dist/components/image.es.js +1 -1
- package/dist/components/kbd.cjs +1 -1
- package/dist/components/kbd.es.js +1 -1
- package/dist/components/link.cjs +1 -1
- package/dist/components/link.es.js +1 -1
- package/dist/components/list.cjs +1 -1
- package/dist/components/list.es.js +1 -1
- package/dist/components/loading-spinner.cjs +1 -1
- package/dist/components/loading-spinner.es.js +1 -1
- package/dist/components/multiline-text-input.cjs +1 -1
- package/dist/components/multiline-text-input.es.js +1 -1
- package/dist/components/nimbus-provider.cjs +1 -1
- package/dist/components/nimbus-provider.es.js +1 -1
- package/dist/components/number-input.cjs +1 -1
- package/dist/components/number-input.es.js +1 -1
- package/dist/components/password-input.cjs +1 -1
- package/dist/components/password-input.es.js +1 -1
- package/dist/components/popover.cjs +1 -1
- package/dist/components/popover.es.js +2 -2
- 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 +1 -1
- package/dist/components/rich-text-input.es.js +1 -1
- package/dist/components/select.cjs +1 -1
- package/dist/components/select.es.js +1 -1
- package/dist/components/simple-grid.cjs +1 -1
- package/dist/components/simple-grid.es.js +1 -1
- package/dist/components/split-button.cjs +1 -1
- package/dist/components/split-button.es.js +1 -1
- 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 +1 -1
- package/dist/components/toolbar.es.js +1 -1
- package/dist/components/tooltip.cjs +1 -1
- package/dist/components/tooltip.es.js +1 -1
- package/dist/components/utils.cjs +1 -1
- package/dist/components/utils.es.js +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +54 -54
- package/dist/index.es.js.map +1 -1
- package/package.json +12 -12
- package/dist/chunks/Collection-BYX373AD.cjs.js +0 -18
- package/dist/chunks/Collection-BYX373AD.cjs.js.map +0 -1
- package/dist/chunks/Collection-Df3FPouy.es.js.map +0 -1
- package/dist/chunks/DateField-DVzmD_D6.es.js.map +0 -1
- package/dist/chunks/DateField-Dh2hoOBr.cjs.js +0 -2
- package/dist/chunks/DateField-Dh2hoOBr.cjs.js.map +0 -1
- package/dist/chunks/DatePicker-C0NXSwOw.cjs.js +0 -2
- package/dist/chunks/DatePicker-C0NXSwOw.cjs.js.map +0 -1
- package/dist/chunks/DatePicker-_A7-hp_b.es.js.map +0 -1
- package/dist/chunks/Dialog-BnIvgMq1.cjs.js +0 -2
- package/dist/chunks/Dialog-BnIvgMq1.cjs.js.map +0 -1
- package/dist/chunks/Dialog-C3wKnoBH.es.js +0 -1903
- package/dist/chunks/Dialog-C3wKnoBH.es.js.map +0 -1
- package/dist/chunks/ListBox-B2Z13FyL.cjs.js +0 -2
- package/dist/chunks/ListBox-B2Z13FyL.cjs.js.map +0 -1
- package/dist/chunks/ListBox-BzuLanGT.es.js +0 -615
- package/dist/chunks/ListBox-BzuLanGT.es.js.map +0 -1
- package/dist/chunks/OverlayArrow-C5Ymp9MC.cjs.js +0 -2
- package/dist/chunks/OverlayArrow-C5Ymp9MC.cjs.js.map +0 -1
- package/dist/chunks/OverlayArrow-ERS8ZqL3.es.js +0 -479
- package/dist/chunks/OverlayArrow-ERS8ZqL3.es.js.map +0 -1
- package/dist/chunks/Separator-QdyS03-E.cjs.js +0 -2
- package/dist/chunks/Separator-QdyS03-E.cjs.js.map +0 -1
- package/dist/chunks/Separator-T5Cc3sUj.es.js +0 -573
- package/dist/chunks/Separator-T5Cc3sUj.es.js.map +0 -1
- package/dist/chunks/code-CTuEvrXA.cjs.js +0 -2
- package/dist/chunks/combobox-C3FEfver.es.js +0 -1912
- package/dist/chunks/combobox-C3FEfver.es.js.map +0 -1
- package/dist/chunks/combobox-CnUfDGC-.cjs.js +0 -2
- package/dist/chunks/combobox-CnUfDGC-.cjs.js.map +0 -1
- package/dist/chunks/context-D0_cRaDZ.cjs.js +0 -2
- package/dist/chunks/context-Pt-0ojuK.es.js +0 -94
- package/dist/chunks/data-table-BvTXYpZB.cjs.js +0 -2
- package/dist/chunks/data-table-BvTXYpZB.cjs.js.map +0 -1
- package/dist/chunks/data-table-BvYN1Stn.es.js.map +0 -1
- package/dist/chunks/dialog-CG-cCFkg.es.js +0 -1889
- package/dist/chunks/dialog-CG-cCFkg.es.js.map +0 -1
- package/dist/chunks/dialog-CNZGNU5Q.cjs.js +0 -2
- package/dist/chunks/dialog-CNZGNU5Q.cjs.js.map +0 -1
- package/dist/chunks/image-BAqoLZQB.cjs.js +0 -2
- package/dist/chunks/index-x9OhLGGf.cjs.js +0 -2
- package/dist/chunks/menu-C41LRy4b.cjs.js +0 -2
- package/dist/chunks/provider-BzZZw3fF.cjs.js +0 -16
- package/dist/chunks/provider-BzZZw3fF.cjs.js.map +0 -1
- package/dist/chunks/provider-DxFdjgyb.es.js.map +0 -1
- package/dist/chunks/select-IUEop3i7.cjs.js +0 -2
- package/dist/chunks/tag-group-BY7yGmmv.es.js.map +0 -1
- package/dist/chunks/tag-group-DXKC_JuG.cjs.js +0 -2
- package/dist/chunks/tag-group-DXKC_JuG.cjs.js.map +0 -1
- package/dist/chunks/tooltip-BFuuQNa4.cjs.js +0 -2
- package/dist/chunks/tooltip-BFuuQNa4.cjs.js.map +0 -1
- package/dist/chunks/tooltip-BpUbO0NA.es.js +0 -274
- package/dist/chunks/tooltip-BpUbO0NA.es.js.map +0 -1
- package/dist/chunks/use-recipe-BZ_iqCkN.cjs.js +0 -2
- package/dist/chunks/useDateFormatter-BqJA667a.es.js.map +0 -1
- package/dist/chunks/useDateFormatter-Dq2Ly1Je.cjs.js.map +0 -1
- package/dist/chunks/useSpinButton-C-tpK-T9.es.js.map +0 -1
- package/dist/chunks/useSpinButton-Cw8QxU2l.cjs.js +0 -2
- package/dist/chunks/useSpinButton-Cw8QxU2l.cjs.js.map +0 -1
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { a as
|
|
3
|
-
import { c as
|
|
4
|
-
import { $ as
|
|
5
|
-
import { $ as
|
|
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
6
|
import { $ as ee } from "./useEvent-YHhqZvpU.es.js";
|
|
7
|
-
import { a as at, b as ct, c as
|
|
7
|
+
import { a as at, b as ct, c as Ce, d as De } from "./scrollIntoView-BYF_8_6g.es.js";
|
|
8
8
|
import { b as dt } from "./FocusScope-CNO0fzPs.es.js";
|
|
9
9
|
import { b as Ee } from "./useFocusVisible-CWDaG0ze.es.js";
|
|
10
|
-
import { $ as
|
|
10
|
+
import { $ as Se } from "./focusSafely-DJpphVHF.es.js";
|
|
11
11
|
import { flushSync as ft, createPortal as ht } from "react-dom";
|
|
12
|
-
import { $ as yt } from "./context-
|
|
12
|
+
import { $ as yt } from "./context-R4YUlO9Y.es.js";
|
|
13
13
|
import { b as pt, g as vt } from "./platform-Z5fvtFmM.es.js";
|
|
14
|
-
import { $ as
|
|
14
|
+
import { $ as We } from "./usePress-DHhWHfMz.es.js";
|
|
15
15
|
import { $ as gt } from "./useGlobalListeners-BOOfV5Wh.es.js";
|
|
16
16
|
import { a as mt } from "./Hidden-j3Lbt7xL.es.js";
|
|
17
|
-
import { b as
|
|
18
|
-
import { $ as
|
|
17
|
+
import { b as ke } from "./useFocusable-CrsD8ZcF.es.js";
|
|
18
|
+
import { $ as je } from "./SSRProvider-Cu8KibIK.es.js";
|
|
19
19
|
import { $ as bt } from "./useControlledState-u436Wbp1.es.js";
|
|
20
|
-
function
|
|
21
|
-
const t =
|
|
22
|
-
|
|
20
|
+
function Ie(n, e) {
|
|
21
|
+
const t = E(!0), i = E(null);
|
|
22
|
+
me(() => (t.current = !0, () => {
|
|
23
23
|
t.current = !1;
|
|
24
|
-
}), []),
|
|
25
|
-
t.current ? t.current = !1 : (!i.current || e.some((l,
|
|
24
|
+
}), []), me(() => {
|
|
25
|
+
t.current ? t.current = !1 : (!i.current || e.some((l, r) => !Object.is(l, i[r]))) && n(), i.current = e;
|
|
26
26
|
}, e);
|
|
27
27
|
}
|
|
28
|
-
const St = "react-aria-clear-focus",
|
|
29
|
-
function q(
|
|
30
|
-
return pt() ?
|
|
28
|
+
const St = "react-aria-clear-focus", $t = "react-aria-focus";
|
|
29
|
+
function q(n) {
|
|
30
|
+
return pt() ? n.metaKey : n.ctrlKey;
|
|
31
31
|
}
|
|
32
|
-
const
|
|
33
|
-
function xt(
|
|
34
|
-
let { isDisabled: e, onLongPressStart: t, onLongPressEnd: i, onLongPress: l, threshold:
|
|
35
|
-
const c =
|
|
36
|
-
let { addGlobalListener: u, removeGlobalListener:
|
|
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
37
|
isDisabled: e,
|
|
38
38
|
onPressStart(f) {
|
|
39
39
|
if (f.continuePropagation(), (f.pointerType === "mouse" || f.pointerType === "touch") && (t && t({
|
|
@@ -42,19 +42,19 @@ function xt(r) {
|
|
|
42
42
|
}), c.current = setTimeout(() => {
|
|
43
43
|
f.target.dispatchEvent(new PointerEvent("pointercancel", {
|
|
44
44
|
bubbles: !0
|
|
45
|
-
})),
|
|
45
|
+
})), Ue(f.target).activeElement !== f.target && be(f.target), l && l({
|
|
46
46
|
...f,
|
|
47
47
|
type: "longpress"
|
|
48
48
|
}), c.current = void 0;
|
|
49
|
-
},
|
|
50
|
-
let
|
|
51
|
-
|
|
49
|
+
}, r), f.pointerType === "touch")) {
|
|
50
|
+
let y = (v) => {
|
|
51
|
+
v.preventDefault();
|
|
52
52
|
};
|
|
53
|
-
u(f.target, "contextmenu",
|
|
53
|
+
u(f.target, "contextmenu", y, {
|
|
54
54
|
once: !0
|
|
55
55
|
}), u(window, "pointerup", () => {
|
|
56
56
|
setTimeout(() => {
|
|
57
|
-
|
|
57
|
+
h(f.target, "contextmenu", y);
|
|
58
58
|
}, 30);
|
|
59
59
|
}, {
|
|
60
60
|
once: !0
|
|
@@ -69,55 +69,55 @@ function xt(r) {
|
|
|
69
69
|
}
|
|
70
70
|
}), d = at(l && !e ? s : void 0);
|
|
71
71
|
return {
|
|
72
|
-
longPressProps:
|
|
72
|
+
longPressProps: J(b, d)
|
|
73
73
|
};
|
|
74
74
|
}
|
|
75
|
-
function
|
|
76
|
-
let e =
|
|
77
|
-
e !==
|
|
75
|
+
function Ye(n) {
|
|
76
|
+
let e = Ct(Ue(n));
|
|
77
|
+
e !== n && (e && wt(e, n), n && Xe(n, e));
|
|
78
78
|
}
|
|
79
|
-
function
|
|
80
|
-
|
|
79
|
+
function wt(n, e) {
|
|
80
|
+
n.dispatchEvent(new FocusEvent("blur", {
|
|
81
81
|
relatedTarget: e
|
|
82
|
-
})),
|
|
82
|
+
})), n.dispatchEvent(new FocusEvent("focusout", {
|
|
83
83
|
bubbles: !0,
|
|
84
84
|
relatedTarget: e
|
|
85
85
|
}));
|
|
86
86
|
}
|
|
87
|
-
function
|
|
88
|
-
|
|
87
|
+
function Xe(n, e) {
|
|
88
|
+
n.dispatchEvent(new FocusEvent("focus", {
|
|
89
89
|
relatedTarget: e
|
|
90
|
-
})),
|
|
90
|
+
})), n.dispatchEvent(new FocusEvent("focusin", {
|
|
91
91
|
bubbles: !0,
|
|
92
92
|
relatedTarget: e
|
|
93
93
|
}));
|
|
94
94
|
}
|
|
95
|
-
function
|
|
96
|
-
let e =
|
|
97
|
-
return t &&
|
|
95
|
+
function Ct(n) {
|
|
96
|
+
let e = _e(n), t = e?.getAttribute("aria-activedescendant");
|
|
97
|
+
return t && n.getElementById(t) || e;
|
|
98
98
|
}
|
|
99
|
-
function
|
|
100
|
-
return vt() ?
|
|
99
|
+
function $e(n) {
|
|
100
|
+
return vt() ? n.altKey : n.ctrlKey;
|
|
101
101
|
}
|
|
102
|
-
function le(
|
|
102
|
+
function le(n, e) {
|
|
103
103
|
var t, i;
|
|
104
|
-
let l = `[data-key="${CSS.escape(String(e))}"]`,
|
|
105
|
-
return
|
|
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
106
|
}
|
|
107
|
-
const
|
|
108
|
-
function Dt(
|
|
109
|
-
let e =
|
|
110
|
-
return
|
|
107
|
+
const Je = /* @__PURE__ */ new WeakMap();
|
|
108
|
+
function Dt(n) {
|
|
109
|
+
let e = qe();
|
|
110
|
+
return Je.set(n, e), e;
|
|
111
111
|
}
|
|
112
|
-
function
|
|
113
|
-
return
|
|
112
|
+
function Et(n) {
|
|
113
|
+
return Je.get(n);
|
|
114
114
|
}
|
|
115
|
-
const
|
|
116
|
-
function It(
|
|
117
|
-
let { keyboardDelegate: e, selectionManager: t, onTypeSelect: i } =
|
|
115
|
+
const kt = 1e3;
|
|
116
|
+
function It(n) {
|
|
117
|
+
let { keyboardDelegate: e, selectionManager: t, onTypeSelect: i } = n, l = E({
|
|
118
118
|
search: "",
|
|
119
119
|
timeout: void 0
|
|
120
|
-
}).current,
|
|
120
|
+
}).current, r = (s) => {
|
|
121
121
|
let c = Pt(s.key);
|
|
122
122
|
if (!(!c || s.ctrlKey || s.metaKey || !s.currentTarget.contains(s.target) || l.search.length === 0 && c === " ")) {
|
|
123
123
|
if (c === " " && l.search.trim().length > 0 && (s.preventDefault(), "continuePropagation" in s || s.stopPropagation()), l.search += c, e.getKeyForSearch != null) {
|
|
@@ -126,93 +126,93 @@ function It(r) {
|
|
|
126
126
|
}
|
|
127
127
|
clearTimeout(l.timeout), l.timeout = setTimeout(() => {
|
|
128
128
|
l.search = "";
|
|
129
|
-
},
|
|
129
|
+
}, kt);
|
|
130
130
|
}
|
|
131
131
|
};
|
|
132
132
|
return {
|
|
133
133
|
typeSelectProps: {
|
|
134
134
|
// Using a capturing listener to catch the keydown event before
|
|
135
135
|
// other hooks in order to handle the Spacebar event.
|
|
136
|
-
onKeyDownCapture: e.getKeyForSearch ?
|
|
136
|
+
onKeyDownCapture: e.getKeyForSearch ? r : void 0
|
|
137
137
|
}
|
|
138
138
|
};
|
|
139
139
|
}
|
|
140
|
-
function Pt(
|
|
141
|
-
return
|
|
140
|
+
function Pt(n) {
|
|
141
|
+
return n.length === 1 || !/^[A-Z]/i.test(n) ? n : "";
|
|
142
142
|
}
|
|
143
|
-
function
|
|
144
|
-
let { selectionManager: e, keyboardDelegate: t, ref: i, autoFocus: l = !1, shouldFocusWrap:
|
|
145
|
-
var
|
|
146
|
-
if (a.altKey && a.key === "Tab" && a.preventDefault(), !(!((
|
|
147
|
-
const o = (
|
|
148
|
-
if (
|
|
149
|
-
if (e.isLink(
|
|
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
150
|
ft(() => {
|
|
151
|
-
e.setFocusedKey(
|
|
151
|
+
e.setFocusedKey(p, H);
|
|
152
152
|
});
|
|
153
|
-
let U = le(i,
|
|
154
|
-
U && m.open(U, a,
|
|
153
|
+
let U = le(i, p), xe = e.getItemProps(p);
|
|
154
|
+
U && m.open(U, a, xe.href, xe.routerOptions);
|
|
155
155
|
return;
|
|
156
156
|
}
|
|
157
|
-
if (e.setFocusedKey(
|
|
158
|
-
a.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(
|
|
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
159
|
}
|
|
160
160
|
};
|
|
161
161
|
switch (a.key) {
|
|
162
162
|
case "ArrowDown":
|
|
163
163
|
if (t.getKeyBelow) {
|
|
164
|
-
var
|
|
165
|
-
let
|
|
166
|
-
|
|
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
167
|
}
|
|
168
168
|
break;
|
|
169
169
|
case "ArrowUp":
|
|
170
170
|
if (t.getKeyAbove) {
|
|
171
|
-
var L, N,
|
|
172
|
-
let
|
|
173
|
-
|
|
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
174
|
}
|
|
175
175
|
break;
|
|
176
176
|
case "ArrowLeft":
|
|
177
177
|
if (t.getKeyLeftOf) {
|
|
178
|
-
var
|
|
179
|
-
let
|
|
180
|
-
|
|
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
181
|
}
|
|
182
182
|
break;
|
|
183
183
|
case "ArrowRight":
|
|
184
184
|
if (t.getKeyRightOf) {
|
|
185
|
-
var
|
|
186
|
-
let
|
|
187
|
-
|
|
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
188
|
}
|
|
189
189
|
break;
|
|
190
190
|
case "Home":
|
|
191
191
|
if (t.getFirstKey) {
|
|
192
192
|
if (e.focusedKey === null && a.shiftKey) return;
|
|
193
193
|
a.preventDefault();
|
|
194
|
-
let
|
|
195
|
-
e.setFocusedKey(
|
|
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
196
|
}
|
|
197
197
|
break;
|
|
198
198
|
case "End":
|
|
199
199
|
if (t.getLastKey) {
|
|
200
200
|
if (e.focusedKey === null && a.shiftKey) return;
|
|
201
201
|
a.preventDefault();
|
|
202
|
-
let
|
|
203
|
-
e.setFocusedKey(
|
|
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
204
|
}
|
|
205
205
|
break;
|
|
206
206
|
case "PageDown":
|
|
207
207
|
if (t.getKeyPageBelow && e.focusedKey != null) {
|
|
208
|
-
let
|
|
209
|
-
|
|
208
|
+
let p = t.getKeyPageBelow(e.focusedKey);
|
|
209
|
+
p != null && (a.preventDefault(), o(p));
|
|
210
210
|
}
|
|
211
211
|
break;
|
|
212
212
|
case "PageUp":
|
|
213
213
|
if (t.getKeyPageAbove && e.focusedKey != null) {
|
|
214
|
-
let
|
|
215
|
-
|
|
214
|
+
let p = t.getKeyPageAbove(e.focusedKey);
|
|
215
|
+
p != null && (a.preventDefault(), o(p));
|
|
216
216
|
}
|
|
217
217
|
break;
|
|
218
218
|
case "a":
|
|
@@ -225,66 +225,66 @@ function yi(r) {
|
|
|
225
225
|
if (!f) {
|
|
226
226
|
if (a.shiftKey) i.current.focus();
|
|
227
227
|
else {
|
|
228
|
-
let
|
|
228
|
+
let p = dt(i.current, {
|
|
229
229
|
tabbable: !0
|
|
230
|
-
}),
|
|
230
|
+
}), H, U;
|
|
231
231
|
do
|
|
232
|
-
U =
|
|
232
|
+
U = p.lastChild(), U && (H = U);
|
|
233
233
|
while (U);
|
|
234
|
-
|
|
234
|
+
H && !H.contains(document.activeElement) && be(H);
|
|
235
235
|
}
|
|
236
236
|
break;
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
|
-
}, x =
|
|
239
|
+
}, x = E({
|
|
240
240
|
top: 0,
|
|
241
241
|
left: 0
|
|
242
242
|
});
|
|
243
|
-
ee(
|
|
244
|
-
var a,
|
|
243
|
+
ee(v, "scroll", y ? void 0 : () => {
|
|
244
|
+
var a, S, o, C;
|
|
245
245
|
x.current = {
|
|
246
|
-
top: (o = (a =
|
|
247
|
-
left: (
|
|
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
248
|
};
|
|
249
249
|
});
|
|
250
|
-
let
|
|
250
|
+
let k = (a) => {
|
|
251
251
|
if (e.isFocused) {
|
|
252
252
|
a.currentTarget.contains(a.target) || e.setFocused(!1);
|
|
253
253
|
return;
|
|
254
254
|
}
|
|
255
255
|
if (a.currentTarget.contains(a.target)) {
|
|
256
256
|
if (e.setFocused(!0), e.focusedKey == null) {
|
|
257
|
-
var
|
|
257
|
+
var S, o;
|
|
258
258
|
let P = (N) => {
|
|
259
|
-
N != null && (e.setFocusedKey(N),
|
|
259
|
+
N != null && (e.setFocusedKey(N), h && !e.isSelected(N) && e.replaceSelection(N));
|
|
260
260
|
}, L = a.relatedTarget;
|
|
261
|
-
var
|
|
262
|
-
L && a.currentTarget.compareDocumentPosition(L) & Node.DOCUMENT_POSITION_FOLLOWING ? P((
|
|
263
|
-
} else !
|
|
264
|
-
if (e.focusedKey != null &&
|
|
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
265
|
let P = le(i, e.focusedKey);
|
|
266
|
-
P instanceof HTMLElement && (!P.contains(document.activeElement) && !d &&
|
|
266
|
+
P instanceof HTMLElement && (!P.contains(document.activeElement) && !d && be(P), Ee() === "keyboard" && Ce(P, {
|
|
267
267
|
containingElement: i.current
|
|
268
268
|
}));
|
|
269
269
|
}
|
|
270
270
|
}
|
|
271
271
|
}, M = (a) => {
|
|
272
272
|
a.currentTarget.contains(a.relatedTarget) || e.setFocused(!1);
|
|
273
|
-
}, A =
|
|
274
|
-
ee(i,
|
|
275
|
-
let { detail:
|
|
276
|
-
a.stopPropagation(), e.setFocused(!0),
|
|
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
277
|
} : void 0);
|
|
278
278
|
let T = we(() => {
|
|
279
|
-
var a,
|
|
280
|
-
let o = (
|
|
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
281
|
if (o == null) {
|
|
282
|
-
let
|
|
283
|
-
|
|
282
|
+
let C = _e();
|
|
283
|
+
Ye(i.current), Xe(C, null), e.collection.size > 0 && (A.current = !1);
|
|
284
284
|
} else
|
|
285
285
|
e.setFocusedKey(o), A.current = !1;
|
|
286
286
|
});
|
|
287
|
-
|
|
287
|
+
Ie(() => {
|
|
288
288
|
A.current && T();
|
|
289
289
|
}, [
|
|
290
290
|
e.collection,
|
|
@@ -293,24 +293,24 @@ function yi(r) {
|
|
|
293
293
|
let I = we(() => {
|
|
294
294
|
e.collection.size > 0 && (A.current = !1);
|
|
295
295
|
});
|
|
296
|
-
|
|
296
|
+
Ie(() => {
|
|
297
297
|
I();
|
|
298
298
|
}, [
|
|
299
299
|
e.focusedKey,
|
|
300
300
|
I
|
|
301
301
|
]), ee(i, St, d ? (a) => {
|
|
302
|
-
var
|
|
303
|
-
a.stopPropagation(), e.setFocused(!1), !((
|
|
302
|
+
var S;
|
|
303
|
+
a.stopPropagation(), e.setFocused(!1), !((S = a.detail) === null || S === void 0) && S.clearFocusKey && e.setFocusedKey(null);
|
|
304
304
|
} : void 0);
|
|
305
|
-
const
|
|
305
|
+
const W = E(l), O = E(!1);
|
|
306
306
|
Y(() => {
|
|
307
|
-
if (
|
|
308
|
-
var a,
|
|
307
|
+
if (W.current) {
|
|
308
|
+
var a, S;
|
|
309
309
|
let F = null;
|
|
310
310
|
var o;
|
|
311
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
|
|
313
|
-
l === "last" && (F = (
|
|
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
314
|
let P = e.selectedKeys;
|
|
315
315
|
if (P.size) {
|
|
316
316
|
for (let L of P) if (e.canSelectItem(L)) {
|
|
@@ -318,60 +318,60 @@ function yi(r) {
|
|
|
318
318
|
break;
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
|
-
e.setFocused(!0), e.setFocusedKey(F), F == null && !d && i.current &&
|
|
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
322
|
}
|
|
323
323
|
});
|
|
324
|
-
let V =
|
|
324
|
+
let V = E(e.focusedKey), D = E(null);
|
|
325
325
|
Y(() => {
|
|
326
|
-
if (e.isFocused && e.focusedKey != null && (e.focusedKey !== V.current || O.current) &&
|
|
327
|
-
let a = Ee(),
|
|
328
|
-
if (!(
|
|
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
329
|
return;
|
|
330
330
|
(a === "keyboard" || O.current) && (D.current && cancelAnimationFrame(D.current), D.current = requestAnimationFrame(() => {
|
|
331
|
-
|
|
331
|
+
v.current && (ct(v.current, S), a !== "virtual" && Ce(S, {
|
|
332
332
|
containingElement: i.current
|
|
333
333
|
}));
|
|
334
334
|
}));
|
|
335
335
|
}
|
|
336
|
-
!d && e.isFocused && e.focusedKey == null && V.current != null && i.current &&
|
|
336
|
+
!d && e.isFocused && e.focusedKey == null && V.current != null && i.current && Se(i.current), V.current = e.focusedKey, O.current = !1;
|
|
337
337
|
}), Y(() => () => {
|
|
338
338
|
D.current && cancelAnimationFrame(D.current);
|
|
339
339
|
}, []), ee(i, "react-aria-focus-scope-restore", (a) => {
|
|
340
340
|
a.preventDefault(), e.setFocused(!0);
|
|
341
341
|
});
|
|
342
342
|
let j = {
|
|
343
|
-
onKeyDown:
|
|
344
|
-
onFocus:
|
|
343
|
+
onKeyDown: w,
|
|
344
|
+
onFocus: k,
|
|
345
345
|
onBlur: M,
|
|
346
346
|
onMouseDown(a) {
|
|
347
|
-
|
|
347
|
+
v.current === a.target && a.preventDefault();
|
|
348
348
|
}
|
|
349
|
-
}, { typeSelectProps:
|
|
349
|
+
}, { typeSelectProps: re } = It({
|
|
350
350
|
keyboardDelegate: t,
|
|
351
351
|
selectionManager: e
|
|
352
352
|
});
|
|
353
|
-
|
|
353
|
+
b || (j = J(re, j));
|
|
354
354
|
let Q;
|
|
355
355
|
d || (Q = e.focusedKey == null ? 0 : -1);
|
|
356
|
-
let
|
|
356
|
+
let se = Dt(e.collection);
|
|
357
357
|
return {
|
|
358
|
-
collectionProps:
|
|
358
|
+
collectionProps: J(j, {
|
|
359
359
|
tabIndex: Q,
|
|
360
|
-
"data-collection":
|
|
360
|
+
"data-collection": se
|
|
361
361
|
})
|
|
362
362
|
};
|
|
363
363
|
}
|
|
364
|
-
function
|
|
365
|
-
let { id: e, selectionManager: t, key: i, ref: l, shouldSelectOnPressUp:
|
|
366
|
-
e =
|
|
367
|
-
let
|
|
368
|
-
if (o.pointerType === "keyboard" &&
|
|
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
369
|
else {
|
|
370
370
|
if (t.selectionMode === "none") return;
|
|
371
371
|
if (t.isLink(i)) {
|
|
372
372
|
if (d === "selection" && l.current) {
|
|
373
|
-
let
|
|
374
|
-
f.open(l.current, o,
|
|
373
|
+
let C = t.getItemProps(i);
|
|
374
|
+
f.open(l.current, o, C.href, C.routerOptions), t.setSelectedKeys(t.selectedKeys);
|
|
375
375
|
return;
|
|
376
376
|
} else if (d === "override" || d === "none") return;
|
|
377
377
|
}
|
|
@@ -379,7 +379,7 @@ function pi(r) {
|
|
|
379
379
|
}
|
|
380
380
|
};
|
|
381
381
|
Y(() => {
|
|
382
|
-
i === t.focusedKey && t.isFocused && (s ?
|
|
382
|
+
i === t.focusedKey && t.isFocused && (s ? Ye(l.current) : c ? c() : document.activeElement !== l.current && l.current && Se(l.current));
|
|
383
383
|
}, [
|
|
384
384
|
l,
|
|
385
385
|
i,
|
|
@@ -388,36 +388,36 @@ function pi(r) {
|
|
|
388
388
|
t.isFocused,
|
|
389
389
|
s
|
|
390
390
|
]), u = u || t.isDisabled(i);
|
|
391
|
-
let
|
|
392
|
-
!s && !u ?
|
|
391
|
+
let v = {};
|
|
392
|
+
!s && !u ? v = {
|
|
393
393
|
tabIndex: i === t.focusedKey ? 0 : -1,
|
|
394
394
|
onFocus(o) {
|
|
395
395
|
o.target === l.current && t.setFocusedKey(i);
|
|
396
396
|
}
|
|
397
|
-
} : u && (
|
|
397
|
+
} : u && (v.onMouseDown = (o) => {
|
|
398
398
|
o.preventDefault();
|
|
399
399
|
});
|
|
400
|
-
let K = t.isLink(i) && d === "override", g = t.isLink(i) && d !== "selection" && d !== "none", m = !u && t.canSelectItem(i) && !K,
|
|
401
|
-
|
|
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
402
|
}, D = {
|
|
403
403
|
ref: l
|
|
404
404
|
};
|
|
405
|
-
if (
|
|
406
|
-
A.current = o.pointerType, I.current = T, o.pointerType === "keyboard" && (!M ||
|
|
407
|
-
},
|
|
408
|
-
o.pointerType === "mouse" && m &&
|
|
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
409
|
}, D.onPress = x ? V : (o) => {
|
|
410
|
-
o.pointerType !== "keyboard" && o.pointerType !== "mouse" && m &&
|
|
410
|
+
o.pointerType !== "keyboard" && o.pointerType !== "mouse" && m && y(o);
|
|
411
411
|
}) : D.onPress = (o) => {
|
|
412
|
-
if (x ||
|
|
413
|
-
if (o.pointerType === "keyboard" && !
|
|
412
|
+
if (x || k && o.pointerType !== "mouse") {
|
|
413
|
+
if (o.pointerType === "keyboard" && !Pe()) return;
|
|
414
414
|
V(o);
|
|
415
|
-
} else o.pointerType !== "keyboard" && m &&
|
|
415
|
+
} else o.pointerType !== "keyboard" && m && y(o);
|
|
416
416
|
}) : (D.onPressStart = (o) => {
|
|
417
|
-
A.current = o.pointerType, I.current = T,
|
|
417
|
+
A.current = o.pointerType, I.current = T, W.current = x, m && (o.pointerType === "mouse" && !x || o.pointerType === "keyboard" && (!w || Fe())) && y(o);
|
|
418
418
|
}, D.onPress = (o) => {
|
|
419
|
-
(o.pointerType === "touch" || o.pointerType === "pen" || o.pointerType === "virtual" || o.pointerType === "keyboard" && M &&
|
|
420
|
-
}),
|
|
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
421
|
onPressStart(o) {
|
|
422
422
|
o.pointerType !== "touch" && (t.setFocused(!0), t.setFocusedKey(i));
|
|
423
423
|
},
|
|
@@ -433,27 +433,27 @@ function pi(r) {
|
|
|
433
433
|
"onPressUp",
|
|
434
434
|
"onClick"
|
|
435
435
|
]) O[o] && (D[o] = ot(D[o], O[o]));
|
|
436
|
-
let { pressProps: j, isPressed:
|
|
436
|
+
let { pressProps: j, isPressed: re } = We(D), Q = k ? (o) => {
|
|
437
437
|
A.current === "mouse" && (o.stopPropagation(), o.preventDefault(), V(o));
|
|
438
|
-
} : void 0, { longPressProps:
|
|
438
|
+
} : void 0, { longPressProps: se } = xt({
|
|
439
439
|
isDisabled: !T,
|
|
440
440
|
onLongPress(o) {
|
|
441
|
-
o.pointerType === "touch" && (
|
|
441
|
+
o.pointerType === "touch" && (y(o), t.setSelectionBehavior("toggle"));
|
|
442
442
|
}
|
|
443
443
|
}), a = (o) => {
|
|
444
444
|
A.current === "touch" && I.current && o.preventDefault();
|
|
445
|
-
},
|
|
445
|
+
}, S = d !== "none" && t.isLink(i) ? (o) => {
|
|
446
446
|
ut.isOpening || o.preventDefault();
|
|
447
447
|
} : void 0;
|
|
448
448
|
return {
|
|
449
|
-
itemProps:
|
|
450
|
-
|
|
449
|
+
itemProps: J(
|
|
450
|
+
v,
|
|
451
451
|
m || x || s && !u ? j : {},
|
|
452
|
-
T ?
|
|
452
|
+
T ? se : {},
|
|
453
453
|
{
|
|
454
454
|
onDoubleClick: Q,
|
|
455
455
|
onDragStartCapture: a,
|
|
456
|
-
onClick:
|
|
456
|
+
onClick: S,
|
|
457
457
|
id: e
|
|
458
458
|
},
|
|
459
459
|
// Prevent DOM focus from moving on mouse down when using virtual focus
|
|
@@ -461,7 +461,7 @@ function pi(r) {
|
|
|
461
461
|
onMouseDown: (o) => o.preventDefault()
|
|
462
462
|
} : void 0
|
|
463
463
|
),
|
|
464
|
-
isPressed:
|
|
464
|
+
isPressed: re,
|
|
465
465
|
isSelected: t.isSelected(i),
|
|
466
466
|
isFocused: t.isFocused && t.focusedKey === i,
|
|
467
467
|
isDisabled: u,
|
|
@@ -469,26 +469,26 @@ function pi(r) {
|
|
|
469
469
|
hasAction: M
|
|
470
470
|
};
|
|
471
471
|
}
|
|
472
|
-
function
|
|
473
|
-
let
|
|
474
|
-
return
|
|
472
|
+
function Pe() {
|
|
473
|
+
let n = window.event;
|
|
474
|
+
return n?.key === "Enter";
|
|
475
475
|
}
|
|
476
|
-
function
|
|
477
|
-
let
|
|
478
|
-
return
|
|
476
|
+
function Fe() {
|
|
477
|
+
let n = window.event;
|
|
478
|
+
return n?.key === " " || n?.code === "Space";
|
|
479
479
|
}
|
|
480
|
-
class
|
|
480
|
+
class Me {
|
|
481
481
|
getItemRect(e) {
|
|
482
482
|
let t = this.ref.current;
|
|
483
483
|
if (!t) return null;
|
|
484
484
|
let i = e != null ? le(this.ref, e) : null;
|
|
485
485
|
if (!i) return null;
|
|
486
|
-
let l = t.getBoundingClientRect(),
|
|
486
|
+
let l = t.getBoundingClientRect(), r = i.getBoundingClientRect();
|
|
487
487
|
return {
|
|
488
|
-
x:
|
|
489
|
-
y:
|
|
490
|
-
width:
|
|
491
|
-
height:
|
|
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
492
|
};
|
|
493
493
|
}
|
|
494
494
|
getContentSize() {
|
|
@@ -501,19 +501,19 @@ class Ae {
|
|
|
501
501
|
}
|
|
502
502
|
getVisibleRect() {
|
|
503
503
|
let e = this.ref.current;
|
|
504
|
-
var t, i, l,
|
|
504
|
+
var t, i, l, r;
|
|
505
505
|
return {
|
|
506
506
|
x: (t = e?.scrollLeft) !== null && t !== void 0 ? t : 0,
|
|
507
507
|
y: (i = e?.scrollTop) !== null && i !== void 0 ? i : 0,
|
|
508
508
|
width: (l = e?.offsetWidth) !== null && l !== void 0 ? l : 0,
|
|
509
|
-
height: (
|
|
509
|
+
height: (r = e?.offsetHeight) !== null && r !== void 0 ? r : 0
|
|
510
510
|
};
|
|
511
511
|
}
|
|
512
512
|
constructor(e) {
|
|
513
513
|
this.ref = e;
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
|
-
class
|
|
516
|
+
class Ki {
|
|
517
517
|
isDisabled(e) {
|
|
518
518
|
var t;
|
|
519
519
|
return this.disabledBehavior === "all" && (((t = e.props) === null || t === void 0 ? void 0 : t.isDisabled) || this.disabledKeys.has(e.key));
|
|
@@ -536,13 +536,13 @@ class vi {
|
|
|
536
536
|
return t = this.collection.getKeyBefore(t), this.findNextNonDisabled(t, (i) => this.collection.getKeyBefore(i));
|
|
537
537
|
}
|
|
538
538
|
findKey(e, t, i) {
|
|
539
|
-
let l = e,
|
|
540
|
-
if (!
|
|
541
|
-
let s =
|
|
539
|
+
let l = e, r = this.layoutDelegate.getItemRect(l);
|
|
540
|
+
if (!r || l == null) return null;
|
|
541
|
+
let s = r;
|
|
542
542
|
do {
|
|
543
543
|
if (l = t(l), l == null) break;
|
|
544
|
-
|
|
545
|
-
} while (
|
|
544
|
+
r = this.layoutDelegate.getItemRect(l);
|
|
545
|
+
} while (r && i(s, r) && l != null);
|
|
546
546
|
return l;
|
|
547
547
|
}
|
|
548
548
|
isSameRow(e, t) {
|
|
@@ -579,15 +579,15 @@ class vi {
|
|
|
579
579
|
getKeyPageAbove(e) {
|
|
580
580
|
let t = this.ref.current, i = this.layoutDelegate.getItemRect(e);
|
|
581
581
|
if (!i) return null;
|
|
582
|
-
if (t && !
|
|
582
|
+
if (t && !De(t)) return this.getFirstKey();
|
|
583
583
|
let l = e;
|
|
584
584
|
if (this.orientation === "horizontal") {
|
|
585
|
-
let
|
|
586
|
-
for (; i && i.x >
|
|
585
|
+
let r = Math.max(0, i.x + i.width - this.layoutDelegate.getVisibleRect().width);
|
|
586
|
+
for (; i && i.x > r && l != null; )
|
|
587
587
|
l = this.getKeyAbove(l), i = l == null ? null : this.layoutDelegate.getItemRect(l);
|
|
588
588
|
} else {
|
|
589
|
-
let
|
|
590
|
-
for (; i && i.y >
|
|
589
|
+
let r = Math.max(0, i.y + i.height - this.layoutDelegate.getVisibleRect().height);
|
|
590
|
+
for (; i && i.y > r && l != null; )
|
|
591
591
|
l = this.getKeyAbove(l), i = l == null ? null : this.layoutDelegate.getItemRect(l);
|
|
592
592
|
}
|
|
593
593
|
return l ?? this.getFirstKey();
|
|
@@ -595,15 +595,15 @@ class vi {
|
|
|
595
595
|
getKeyPageBelow(e) {
|
|
596
596
|
let t = this.ref.current, i = this.layoutDelegate.getItemRect(e);
|
|
597
597
|
if (!i) return null;
|
|
598
|
-
if (t && !
|
|
598
|
+
if (t && !De(t)) return this.getLastKey();
|
|
599
599
|
let l = e;
|
|
600
600
|
if (this.orientation === "horizontal") {
|
|
601
|
-
let
|
|
602
|
-
for (; i && i.x <
|
|
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
603
|
l = this.getKeyBelow(l), i = l == null ? null : this.layoutDelegate.getItemRect(l);
|
|
604
604
|
} else {
|
|
605
|
-
let
|
|
606
|
-
for (; i && i.y <
|
|
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
607
|
l = this.getKeyBelow(l), i = l == null ? null : this.layoutDelegate.getItemRect(l);
|
|
608
608
|
}
|
|
609
609
|
return l ?? this.getLastKey();
|
|
@@ -612,10 +612,10 @@ class vi {
|
|
|
612
612
|
if (!this.collator) return null;
|
|
613
613
|
let i = this.collection, l = t || this.getFirstKey();
|
|
614
614
|
for (; l != null; ) {
|
|
615
|
-
let
|
|
616
|
-
if (!
|
|
617
|
-
let s =
|
|
618
|
-
if (
|
|
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
619
|
l = this.getNextKey(l);
|
|
620
620
|
}
|
|
621
621
|
return null;
|
|
@@ -623,55 +623,55 @@ class vi {
|
|
|
623
623
|
constructor(...e) {
|
|
624
624
|
if (e.length === 1) {
|
|
625
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
|
|
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
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
|
|
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
629
|
this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);
|
|
630
630
|
}
|
|
631
631
|
}
|
|
632
632
|
class Ft {
|
|
633
633
|
build(e, t) {
|
|
634
|
-
return this.context = t,
|
|
634
|
+
return this.context = t, Ae(() => this.iterateCollection(e));
|
|
635
635
|
}
|
|
636
636
|
*iterateCollection(e) {
|
|
637
637
|
let { children: t, items: i } = e;
|
|
638
|
-
if (
|
|
638
|
+
if ($.isValidElement(t) && t.type === $.Fragment) yield* this.iterateCollection({
|
|
639
639
|
children: t.props.children,
|
|
640
640
|
items: i
|
|
641
641
|
});
|
|
642
642
|
else if (typeof t == "function") {
|
|
643
643
|
if (!i) throw new Error("props.children was a function but props.items is missing");
|
|
644
644
|
let l = 0;
|
|
645
|
-
for (let
|
|
645
|
+
for (let r of i)
|
|
646
646
|
yield* this.getFullNode({
|
|
647
|
-
value:
|
|
647
|
+
value: r,
|
|
648
648
|
index: l
|
|
649
649
|
}, {
|
|
650
650
|
renderer: t
|
|
651
651
|
}), l++;
|
|
652
652
|
} else {
|
|
653
653
|
let l = [];
|
|
654
|
-
|
|
654
|
+
$.Children.forEach(t, (s) => {
|
|
655
655
|
s && l.push(s);
|
|
656
656
|
});
|
|
657
|
-
let
|
|
657
|
+
let r = 0;
|
|
658
658
|
for (let s of l) {
|
|
659
659
|
let c = this.getFullNode({
|
|
660
660
|
element: s,
|
|
661
|
-
index:
|
|
661
|
+
index: r
|
|
662
662
|
}, {});
|
|
663
663
|
for (let u of c)
|
|
664
|
-
|
|
664
|
+
r++, yield u;
|
|
665
665
|
}
|
|
666
666
|
}
|
|
667
667
|
}
|
|
668
668
|
getKey(e, t, i, l) {
|
|
669
669
|
if (e.key != null) return e.key;
|
|
670
670
|
if (t.type === "cell" && t.key != null) return `${l}${t.key}`;
|
|
671
|
-
let
|
|
672
|
-
if (
|
|
671
|
+
let r = t.value;
|
|
672
|
+
if (r != null) {
|
|
673
673
|
var s;
|
|
674
|
-
let c = (s =
|
|
674
|
+
let c = (s = r.key) !== null && s !== void 0 ? s : r.id;
|
|
675
675
|
if (c == null) throw new Error("No key found for item");
|
|
676
676
|
return c;
|
|
677
677
|
}
|
|
@@ -683,15 +683,15 @@ class Ft {
|
|
|
683
683
|
};
|
|
684
684
|
}
|
|
685
685
|
*getFullNode(e, t, i, l) {
|
|
686
|
-
if (
|
|
686
|
+
if ($.isValidElement(e.element) && e.element.type === $.Fragment) {
|
|
687
687
|
let g = [];
|
|
688
|
-
|
|
689
|
-
g.push(
|
|
688
|
+
$.Children.forEach(e.element.props.children, (w) => {
|
|
689
|
+
g.push(w);
|
|
690
690
|
});
|
|
691
|
-
var
|
|
692
|
-
let m = (
|
|
693
|
-
for (const
|
|
694
|
-
element:
|
|
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
695
|
index: m++
|
|
696
696
|
}, t, i, l);
|
|
697
697
|
return;
|
|
@@ -705,35 +705,35 @@ class Ft {
|
|
|
705
705
|
}
|
|
706
706
|
s = t.renderer(e.value);
|
|
707
707
|
}
|
|
708
|
-
if (
|
|
708
|
+
if ($.isValidElement(s)) {
|
|
709
709
|
let g = s.type;
|
|
710
710
|
if (typeof g != "function" && typeof g.getCollectionNode != "function") {
|
|
711
|
-
let
|
|
712
|
-
throw new Error(`Unknown element <${
|
|
711
|
+
let k = s.type;
|
|
712
|
+
throw new Error(`Unknown element <${k}> in collection.`);
|
|
713
713
|
}
|
|
714
714
|
let m = g.getCollectionNode(s.props, this.context);
|
|
715
715
|
var c;
|
|
716
|
-
let
|
|
716
|
+
let w = (c = e.index) !== null && c !== void 0 ? c : 0, x = m.next();
|
|
717
717
|
for (; !x.done && x.value; ) {
|
|
718
|
-
let
|
|
719
|
-
e.index =
|
|
718
|
+
let k = x.value;
|
|
719
|
+
e.index = w;
|
|
720
720
|
var u;
|
|
721
|
-
let M = (u =
|
|
722
|
-
M == null && (M =
|
|
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
723
|
let T = [
|
|
724
724
|
...this.getFullNode({
|
|
725
|
-
...
|
|
725
|
+
...k,
|
|
726
726
|
key: M,
|
|
727
|
-
index:
|
|
728
|
-
wrapper: Mt(e.wrapper,
|
|
729
|
-
}, this.getChildState(t,
|
|
727
|
+
index: w,
|
|
728
|
+
wrapper: Mt(e.wrapper, k.wrapper)
|
|
729
|
+
}, this.getChildState(t, k), i ? `${i}${s.key}` : s.key, l)
|
|
730
730
|
];
|
|
731
731
|
for (let I of T) {
|
|
732
|
-
var
|
|
733
|
-
I.value = (
|
|
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
734
|
var d;
|
|
735
|
-
if (e.type && I.type !== e.type) throw new Error(`Unsupported type <${
|
|
736
|
-
|
|
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
737
|
}
|
|
738
738
|
x = m.next(T);
|
|
739
739
|
}
|
|
@@ -741,31 +741,31 @@ class Ft {
|
|
|
741
741
|
}
|
|
742
742
|
if (e.key == null || e.type == null) return;
|
|
743
743
|
let f = this;
|
|
744
|
-
var
|
|
744
|
+
var y, v;
|
|
745
745
|
let K = {
|
|
746
746
|
type: e.type,
|
|
747
747
|
props: e.props,
|
|
748
748
|
key: e.key,
|
|
749
749
|
parentKey: l ? l.key : null,
|
|
750
|
-
value: (
|
|
750
|
+
value: (y = e.value) !== null && y !== void 0 ? y : null,
|
|
751
751
|
level: l ? l.level + 1 : 0,
|
|
752
752
|
index: e.index,
|
|
753
753
|
rendered: e.rendered,
|
|
754
|
-
textValue: (
|
|
754
|
+
textValue: (v = e.textValue) !== null && v !== void 0 ? v : "",
|
|
755
755
|
"aria-label": e["aria-label"],
|
|
756
756
|
wrapper: e.wrapper,
|
|
757
757
|
shouldInvalidate: e.shouldInvalidate,
|
|
758
758
|
hasChildNodes: e.hasChildNodes || !1,
|
|
759
|
-
childNodes:
|
|
759
|
+
childNodes: Ae(function* () {
|
|
760
760
|
if (!e.hasChildNodes || !e.childNodes) return;
|
|
761
761
|
let g = 0;
|
|
762
762
|
for (let m of e.childNodes()) {
|
|
763
763
|
m.key != null && (m.key = `${K.key}${m.key}`);
|
|
764
|
-
let
|
|
764
|
+
let w = f.getFullNode({
|
|
765
765
|
...m,
|
|
766
766
|
index: g
|
|
767
767
|
}, f.getChildState(t, m), K.key, K);
|
|
768
|
-
for (let x of
|
|
768
|
+
for (let x of w)
|
|
769
769
|
g++, yield x;
|
|
770
770
|
}
|
|
771
771
|
})
|
|
@@ -776,80 +776,80 @@ class Ft {
|
|
|
776
776
|
this.cache = /* @__PURE__ */ new WeakMap();
|
|
777
777
|
}
|
|
778
778
|
}
|
|
779
|
-
function
|
|
779
|
+
function Ae(n) {
|
|
780
780
|
let e = [], t = null;
|
|
781
781
|
return {
|
|
782
782
|
*[Symbol.iterator]() {
|
|
783
783
|
for (let i of e) yield i;
|
|
784
|
-
t || (t =
|
|
784
|
+
t || (t = n());
|
|
785
785
|
for (let i of t)
|
|
786
786
|
e.push(i), yield i;
|
|
787
787
|
}
|
|
788
788
|
};
|
|
789
789
|
}
|
|
790
|
-
function Mt(
|
|
791
|
-
if (
|
|
792
|
-
if (
|
|
790
|
+
function Mt(n, e) {
|
|
791
|
+
if (n && e) return (t) => n(e(t));
|
|
792
|
+
if (n) return n;
|
|
793
793
|
if (e) return e;
|
|
794
794
|
}
|
|
795
|
-
function
|
|
796
|
-
return
|
|
795
|
+
function ye(n) {
|
|
796
|
+
return n[0].toUpperCase() + n.slice(1);
|
|
797
797
|
}
|
|
798
|
-
function
|
|
799
|
-
let i = B(() => new Ft(), []), { children: l, items:
|
|
798
|
+
function xi(n, e, t) {
|
|
799
|
+
let i = B(() => new Ft(), []), { children: l, items: r, collection: s } = n;
|
|
800
800
|
return B(() => {
|
|
801
801
|
if (s) return s;
|
|
802
802
|
let u = i.build({
|
|
803
803
|
children: l,
|
|
804
|
-
items:
|
|
804
|
+
items: r
|
|
805
805
|
}, t);
|
|
806
806
|
return e(u);
|
|
807
807
|
}, [
|
|
808
808
|
i,
|
|
809
809
|
l,
|
|
810
|
-
|
|
810
|
+
r,
|
|
811
811
|
s,
|
|
812
812
|
t,
|
|
813
813
|
e
|
|
814
814
|
]);
|
|
815
815
|
}
|
|
816
|
-
function At(
|
|
817
|
-
return typeof e.getChildren == "function" ? e.getChildren(
|
|
816
|
+
function At(n, e) {
|
|
817
|
+
return typeof e.getChildren == "function" ? e.getChildren(n.key) : n.childNodes;
|
|
818
818
|
}
|
|
819
|
-
function Rt(
|
|
820
|
-
return Tt(
|
|
819
|
+
function Rt(n) {
|
|
820
|
+
return Tt(n, 0);
|
|
821
821
|
}
|
|
822
|
-
function Tt(
|
|
822
|
+
function Tt(n, e) {
|
|
823
823
|
if (e < 0) return;
|
|
824
824
|
let t = 0;
|
|
825
|
-
for (let i of
|
|
825
|
+
for (let i of n) {
|
|
826
826
|
if (t === e) return i;
|
|
827
827
|
t++;
|
|
828
828
|
}
|
|
829
829
|
}
|
|
830
|
-
function
|
|
830
|
+
function wi(n) {
|
|
831
831
|
let e;
|
|
832
|
-
for (let t of
|
|
832
|
+
for (let t of n) e = t;
|
|
833
833
|
return e;
|
|
834
834
|
}
|
|
835
|
-
function
|
|
835
|
+
function pe(n, e, t) {
|
|
836
836
|
if (e.parentKey === t.parentKey) return e.index - t.index;
|
|
837
837
|
let i = [
|
|
838
|
-
...
|
|
838
|
+
...Re(n, e),
|
|
839
839
|
e
|
|
840
840
|
], l = [
|
|
841
|
-
...
|
|
841
|
+
...Re(n, t),
|
|
842
842
|
t
|
|
843
|
-
],
|
|
844
|
-
return
|
|
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
845
|
}
|
|
846
|
-
function
|
|
846
|
+
function Re(n, e) {
|
|
847
847
|
let t = [], i = e;
|
|
848
848
|
for (; i?.parentKey != null; )
|
|
849
|
-
i =
|
|
849
|
+
i = n.getItem(i.parentKey), i && t.unshift(i);
|
|
850
850
|
return t;
|
|
851
851
|
}
|
|
852
|
-
var te = { exports: {} },
|
|
852
|
+
var te = { exports: {} }, ve = {};
|
|
853
853
|
/**
|
|
854
854
|
* @license React
|
|
855
855
|
* use-sync-external-store-shim.production.js
|
|
@@ -859,22 +859,22 @@ var te = { exports: {} }, pe = {};
|
|
|
859
859
|
* This source code is licensed under the MIT license found in the
|
|
860
860
|
* LICENSE file in the root directory of this source tree.
|
|
861
861
|
*/
|
|
862
|
-
var
|
|
862
|
+
var Te;
|
|
863
863
|
function Ot() {
|
|
864
|
-
if (
|
|
865
|
-
|
|
866
|
-
var
|
|
864
|
+
if (Te) return ve;
|
|
865
|
+
Te = 1;
|
|
866
|
+
var n = $;
|
|
867
867
|
function e(d, f) {
|
|
868
868
|
return d === f && (d !== 0 || 1 / d === 1 / f) || d !== d && f !== f;
|
|
869
869
|
}
|
|
870
|
-
var t = typeof Object.is == "function" ? Object.is : e, i =
|
|
870
|
+
var t = typeof Object.is == "function" ? Object.is : e, i = n.useState, l = n.useEffect, r = n.useLayoutEffect, s = n.useDebugValue;
|
|
871
871
|
function c(d, f) {
|
|
872
|
-
var
|
|
873
|
-
return
|
|
872
|
+
var y = f(), v = i({ inst: { value: y, getSnapshot: f } }), K = v[0].inst, g = v[1];
|
|
873
|
+
return r(
|
|
874
874
|
function() {
|
|
875
|
-
K.value =
|
|
875
|
+
K.value = y, K.getSnapshot = f, u(K) && g({ inst: K });
|
|
876
876
|
},
|
|
877
|
-
[d,
|
|
877
|
+
[d, y, f]
|
|
878
878
|
), l(
|
|
879
879
|
function() {
|
|
880
880
|
return u(K) && g({ inst: K }), d(function() {
|
|
@@ -882,25 +882,25 @@ function Ot() {
|
|
|
882
882
|
});
|
|
883
883
|
},
|
|
884
884
|
[d]
|
|
885
|
-
), s(
|
|
885
|
+
), s(y), y;
|
|
886
886
|
}
|
|
887
887
|
function u(d) {
|
|
888
888
|
var f = d.getSnapshot;
|
|
889
889
|
d = d.value;
|
|
890
890
|
try {
|
|
891
|
-
var
|
|
892
|
-
return !t(d,
|
|
891
|
+
var y = f();
|
|
892
|
+
return !t(d, y);
|
|
893
893
|
} catch {
|
|
894
894
|
return !0;
|
|
895
895
|
}
|
|
896
896
|
}
|
|
897
|
-
function
|
|
897
|
+
function h(d, f) {
|
|
898
898
|
return f();
|
|
899
899
|
}
|
|
900
|
-
var
|
|
901
|
-
return
|
|
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
902
|
}
|
|
903
|
-
var
|
|
903
|
+
var ge = {};
|
|
904
904
|
/**
|
|
905
905
|
* @license React
|
|
906
906
|
* use-sync-external-store-shim.development.js
|
|
@@ -910,77 +910,116 @@ var ve = {};
|
|
|
910
910
|
* This source code is licensed under the MIT license found in the
|
|
911
911
|
* LICENSE file in the root directory of this source tree.
|
|
912
912
|
*/
|
|
913
|
-
var
|
|
913
|
+
var Oe;
|
|
914
914
|
function Lt() {
|
|
915
|
-
return
|
|
916
|
-
function
|
|
917
|
-
return
|
|
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
918
|
}
|
|
919
|
-
function e(
|
|
920
|
-
|
|
919
|
+
function e(y, v) {
|
|
920
|
+
b || l.startTransition === void 0 || (b = !0, console.error(
|
|
921
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
922
|
));
|
|
923
|
-
var K =
|
|
923
|
+
var K = v();
|
|
924
924
|
if (!d) {
|
|
925
|
-
var g =
|
|
926
|
-
|
|
925
|
+
var g = v();
|
|
926
|
+
r(K, g) || (console.error(
|
|
927
927
|
"The result of getSnapshot should be cached to avoid an infinite loop"
|
|
928
928
|
), d = !0);
|
|
929
929
|
}
|
|
930
930
|
g = s({
|
|
931
|
-
inst: { value: K, getSnapshot:
|
|
931
|
+
inst: { value: K, getSnapshot: v }
|
|
932
932
|
});
|
|
933
|
-
var m = g[0].inst,
|
|
933
|
+
var m = g[0].inst, w = g[1];
|
|
934
934
|
return u(
|
|
935
935
|
function() {
|
|
936
|
-
m.value = K, m.getSnapshot =
|
|
936
|
+
m.value = K, m.getSnapshot = v, t(m) && w({ inst: m });
|
|
937
937
|
},
|
|
938
|
-
[
|
|
938
|
+
[y, K, v]
|
|
939
939
|
), c(
|
|
940
940
|
function() {
|
|
941
|
-
return t(m) &&
|
|
942
|
-
t(m) &&
|
|
941
|
+
return t(m) && w({ inst: m }), y(function() {
|
|
942
|
+
t(m) && w({ inst: m });
|
|
943
943
|
});
|
|
944
944
|
},
|
|
945
|
-
[
|
|
946
|
-
),
|
|
945
|
+
[y]
|
|
946
|
+
), h(K), K;
|
|
947
947
|
}
|
|
948
|
-
function t(
|
|
949
|
-
var
|
|
950
|
-
|
|
948
|
+
function t(y) {
|
|
949
|
+
var v = y.getSnapshot;
|
|
950
|
+
y = y.value;
|
|
951
951
|
try {
|
|
952
|
-
var K =
|
|
953
|
-
return !
|
|
952
|
+
var K = v();
|
|
953
|
+
return !r(y, K);
|
|
954
954
|
} catch {
|
|
955
955
|
return !0;
|
|
956
956
|
}
|
|
957
957
|
}
|
|
958
|
-
function i(
|
|
959
|
-
return
|
|
958
|
+
function i(y, v) {
|
|
959
|
+
return v();
|
|
960
960
|
}
|
|
961
961
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
962
|
-
var l =
|
|
963
|
-
|
|
964
|
-
}()),
|
|
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
965
|
}
|
|
966
|
-
var
|
|
966
|
+
var Le;
|
|
967
967
|
function Bt() {
|
|
968
|
-
return
|
|
968
|
+
return Le || (Le = 1, process.env.NODE_ENV === "production" ? te.exports = Ot() : te.exports = Lt()), te.exports;
|
|
969
969
|
}
|
|
970
970
|
var Vt = /* @__PURE__ */ Bt();
|
|
971
|
-
|
|
971
|
+
const Ci = /* @__PURE__ */ z(null), Di = /* @__PURE__ */ z(null);
|
|
972
|
+
class ne {
|
|
972
973
|
get childNodes() {
|
|
973
974
|
throw new Error("childNodes is not supported");
|
|
974
975
|
}
|
|
975
976
|
clone() {
|
|
976
|
-
let e = new
|
|
977
|
+
let e = new this.constructor(this.key);
|
|
977
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;
|
|
978
979
|
}
|
|
979
|
-
|
|
980
|
-
|
|
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;
|
|
981
1019
|
}
|
|
982
1020
|
}
|
|
983
|
-
|
|
1021
|
+
Ut.type = "section";
|
|
1022
|
+
class _t {
|
|
984
1023
|
get size() {
|
|
985
1024
|
return this.itemCount;
|
|
986
1025
|
}
|
|
@@ -1047,6 +1086,12 @@ class xe {
|
|
|
1047
1086
|
if (this.frozen) throw new Error("Cannot add a node to a frozen collection");
|
|
1048
1087
|
e.type === "item" && this.keyMap.get(e.key) == null && this.itemCount++, this.keyMap.set(e.key, e);
|
|
1049
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
|
+
}
|
|
1050
1095
|
removeNode(e) {
|
|
1051
1096
|
if (this.frozen) throw new Error("Cannot remove a node to a frozen collection");
|
|
1052
1097
|
let t = this.keyMap.get(e);
|
|
@@ -1056,47 +1101,33 @@ class xe {
|
|
|
1056
1101
|
if (this.frozen) throw new Error("Cannot commit a frozen collection");
|
|
1057
1102
|
this.firstKey = e, this.lastKey = t, this.frozen = !i;
|
|
1058
1103
|
}
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
// to an array, then walk that new array and fix all the next/Prev keys while adding them to the new collection
|
|
1063
|
-
UNSTABLE_filter(e) {
|
|
1064
|
-
let t = new xe(), i = null;
|
|
1065
|
-
for (let l of this)
|
|
1066
|
-
if (l.type === "section" && l.hasChildNodes) {
|
|
1067
|
-
let n = l.clone(), s = null;
|
|
1068
|
-
for (let c of this.getChildren(l.key)) if (Ve(c, e, this, t)) {
|
|
1069
|
-
let u = c.clone();
|
|
1070
|
-
s == null && (n.firstChildKey = u.key), t.firstKey == null && (t.firstKey = n.key), s && s.parentKey === u.parentKey ? (s.nextKey = u.key, u.prevKey = s.key) : u.prevKey = null, u.nextKey = null, t.addNode(u), s = u;
|
|
1071
|
-
}
|
|
1072
|
-
s && (s.type !== "header" ? (n.lastChildKey = s.key, i == null ? n.prevKey = null : (i.type === "section" || i.type === "separator") && (i.nextKey = n.key, n.prevKey = i.key), n.nextKey = null, i = n, t.addNode(n)) : (t.firstKey === n.key && (t.firstKey = null), t.removeNode(s.key)));
|
|
1073
|
-
} else if (l.type === "separator") {
|
|
1074
|
-
let n = l.clone();
|
|
1075
|
-
n.nextKey = null, i?.type === "section" && (i.nextKey = n.key, n.prevKey = i.key, i = n, t.addNode(n));
|
|
1076
|
-
} else {
|
|
1077
|
-
let n = l.clone();
|
|
1078
|
-
Ve(n, e, this, t) && (t.firstKey == null && (t.firstKey = n.key), i != null && i.type !== "section" && i.type !== "separator" && i.parentKey === n.parentKey ? (i.nextKey = n.key, n.prevKey = i.key) : n.prevKey = null, n.nextKey = null, t.addNode(n), i = n);
|
|
1079
|
-
}
|
|
1080
|
-
if (i?.type === "separator" && i.nextKey === null) {
|
|
1081
|
-
let l;
|
|
1082
|
-
i.prevKey != null && (l = t.getItem(i.prevKey), l.nextKey = null), t.removeNode(i.key), i = l;
|
|
1083
|
-
}
|
|
1084
|
-
return t.lastKey = i?.key || null, t;
|
|
1104
|
+
filter(e) {
|
|
1105
|
+
let t = new this.constructor(), [i, l] = Qe(this, t, this.firstKey, e);
|
|
1106
|
+
return t?.commit(i, l), t;
|
|
1085
1107
|
}
|
|
1086
1108
|
constructor() {
|
|
1087
1109
|
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1, this.itemCount = 0;
|
|
1088
1110
|
}
|
|
1089
1111
|
}
|
|
1090
|
-
function
|
|
1091
|
-
if (
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
}
|
|
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
|
+
];
|
|
1100
1131
|
}
|
|
1101
1132
|
class et {
|
|
1102
1133
|
*[Symbol.iterator]() {
|
|
@@ -1185,7 +1216,7 @@ class et {
|
|
|
1185
1216
|
this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;
|
|
1186
1217
|
}
|
|
1187
1218
|
}
|
|
1188
|
-
class
|
|
1219
|
+
class G extends et {
|
|
1189
1220
|
get index() {
|
|
1190
1221
|
return this._index;
|
|
1191
1222
|
}
|
|
@@ -1193,7 +1224,15 @@ class W extends et {
|
|
|
1193
1224
|
this._index = e, this.ownerDocument.markDirty(this);
|
|
1194
1225
|
}
|
|
1195
1226
|
get level() {
|
|
1196
|
-
|
|
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;
|
|
1197
1236
|
}
|
|
1198
1237
|
/**
|
|
1199
1238
|
* Lazily gets a mutable instance of a Node. If the node has already
|
|
@@ -1204,31 +1243,28 @@ class W extends et {
|
|
|
1204
1243
|
}
|
|
1205
1244
|
updateNode() {
|
|
1206
1245
|
var e, t, i;
|
|
1207
|
-
let l = this.nextVisibleSibling,
|
|
1208
|
-
|
|
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;
|
|
1209
1248
|
var s;
|
|
1210
|
-
|
|
1249
|
+
r.prevKey = (s = (e = this.previousVisibleSibling) === null || e === void 0 ? void 0 : e.node.key) !== null && s !== void 0 ? s : null;
|
|
1211
1250
|
var c;
|
|
1212
|
-
|
|
1251
|
+
r.nextKey = (c = l?.node.key) !== null && c !== void 0 ? c : null, r.hasChildNodes = !!this.firstChild;
|
|
1213
1252
|
var u;
|
|
1214
|
-
|
|
1215
|
-
var
|
|
1216
|
-
if (
|
|
1217
|
-
var
|
|
1218
|
-
let f = ((
|
|
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);
|
|
1219
1258
|
if (f !== l.node.colIndex) {
|
|
1220
|
-
let
|
|
1221
|
-
|
|
1259
|
+
let y = l.getMutableNode();
|
|
1260
|
+
y.colIndex = f;
|
|
1222
1261
|
}
|
|
1223
1262
|
}
|
|
1224
1263
|
}
|
|
1225
|
-
setProps(e, t, i, l) {
|
|
1226
|
-
let
|
|
1227
|
-
if (
|
|
1228
|
-
|
|
1229
|
-
n.key = u;
|
|
1230
|
-
}
|
|
1231
|
-
v.colSpan != null && (n.colSpan = v.colSpan), this.hasSetProps = !0, this.isConnected && this.ownerDocument.queueUpdate();
|
|
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();
|
|
1232
1268
|
}
|
|
1233
1269
|
get style() {
|
|
1234
1270
|
let e = this;
|
|
@@ -1239,8 +1275,8 @@ class W extends et {
|
|
|
1239
1275
|
set display(t) {
|
|
1240
1276
|
let i = t === "none";
|
|
1241
1277
|
if (e.isHidden !== i) {
|
|
1242
|
-
var l,
|
|
1243
|
-
(((l = e.parentNode) === null || l === void 0 ? void 0 : l.firstVisibleChild) === e || ((
|
|
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);
|
|
1244
1280
|
let s = e.previousVisibleSibling, c = e.nextVisibleSibling;
|
|
1245
1281
|
s && e.ownerDocument.markDirty(s), c && e.ownerDocument.markDirty(c), e.isHidden = i, e.ownerDocument.markDirty(e);
|
|
1246
1282
|
}
|
|
@@ -1256,15 +1292,15 @@ class W extends et {
|
|
|
1256
1292
|
removeAttribute() {
|
|
1257
1293
|
}
|
|
1258
1294
|
constructor(e, t) {
|
|
1259
|
-
super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.
|
|
1295
|
+
super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this._node = null;
|
|
1260
1296
|
}
|
|
1261
1297
|
}
|
|
1262
|
-
class
|
|
1298
|
+
class qt extends et {
|
|
1263
1299
|
get isConnected() {
|
|
1264
1300
|
return this.isMounted;
|
|
1265
1301
|
}
|
|
1266
1302
|
createElement(e) {
|
|
1267
|
-
return new
|
|
1303
|
+
return new G(e, this);
|
|
1268
1304
|
}
|
|
1269
1305
|
getMutableCollection() {
|
|
1270
1306
|
return this.nextCollection || (this.nextCollection = this.collection.clone()), this.nextCollection;
|
|
@@ -1287,8 +1323,8 @@ class Nt extends et {
|
|
|
1287
1323
|
return this.inSubscription ? this.collection.clone() : (this.queuedRender = !1, this.updateCollection(), this.collection);
|
|
1288
1324
|
}
|
|
1289
1325
|
updateCollection() {
|
|
1290
|
-
for (let
|
|
1291
|
-
for (let
|
|
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);
|
|
1292
1328
|
if (this.dirtyNodes.clear(), this.nextCollection) {
|
|
1293
1329
|
var e, t, i, l;
|
|
1294
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);
|
|
@@ -1311,29 +1347,29 @@ class Nt extends et {
|
|
|
1311
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;
|
|
1312
1348
|
}
|
|
1313
1349
|
}
|
|
1314
|
-
function tt(
|
|
1315
|
-
let { children: e, items: t, idScope: i, addIdAndValue: l, dependencies:
|
|
1350
|
+
function tt(n) {
|
|
1351
|
+
let { children: e, items: t, idScope: i, addIdAndValue: l, dependencies: r = [] } = n, s = B(() => /* @__PURE__ */ new WeakMap(), r);
|
|
1316
1352
|
return B(() => {
|
|
1317
1353
|
if (t && typeof e == "function") {
|
|
1318
|
-
let
|
|
1319
|
-
for (let
|
|
1320
|
-
let d = s.get(
|
|
1354
|
+
let h = [];
|
|
1355
|
+
for (let b of t) {
|
|
1356
|
+
let d = s.get(b);
|
|
1321
1357
|
if (!d) {
|
|
1322
|
-
d = e(
|
|
1358
|
+
d = e(b);
|
|
1323
1359
|
var c, u;
|
|
1324
|
-
let f = (u = (c = d.props.id) !== null && c !== void 0 ? c :
|
|
1360
|
+
let f = (u = (c = d.props.id) !== null && c !== void 0 ? c : b.key) !== null && u !== void 0 ? u : b.id;
|
|
1325
1361
|
if (f == null) throw new Error("Could not determine key for item");
|
|
1326
|
-
i && (f = i + ":" + f), d =
|
|
1362
|
+
i && (f = i + ":" + f), d = ze(d, l ? {
|
|
1327
1363
|
key: f,
|
|
1328
1364
|
id: f,
|
|
1329
|
-
value:
|
|
1365
|
+
value: b
|
|
1330
1366
|
} : {
|
|
1331
1367
|
key: f
|
|
1332
|
-
}), s.set(
|
|
1368
|
+
}), s.set(b, d);
|
|
1333
1369
|
}
|
|
1334
|
-
|
|
1370
|
+
h.push(d);
|
|
1335
1371
|
}
|
|
1336
|
-
return
|
|
1372
|
+
return h;
|
|
1337
1373
|
} else if (typeof e != "function") return e;
|
|
1338
1374
|
}, [
|
|
1339
1375
|
e,
|
|
@@ -1343,33 +1379,33 @@ function tt(r) {
|
|
|
1343
1379
|
l
|
|
1344
1380
|
]);
|
|
1345
1381
|
}
|
|
1346
|
-
const it = /* @__PURE__ */
|
|
1347
|
-
function
|
|
1348
|
-
if (
|
|
1349
|
-
return
|
|
1350
|
-
let { collection: t, document: i } =
|
|
1351
|
-
return /* @__PURE__ */
|
|
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, {
|
|
1352
1388
|
value: i
|
|
1353
|
-
},
|
|
1354
|
-
render:
|
|
1389
|
+
}, n.content)), /* @__PURE__ */ $.createElement(Gt, {
|
|
1390
|
+
render: n.children,
|
|
1355
1391
|
collection: t
|
|
1356
1392
|
}));
|
|
1357
1393
|
}
|
|
1358
|
-
function
|
|
1359
|
-
return e(
|
|
1394
|
+
function Gt({ collection: n, render: e }) {
|
|
1395
|
+
return e(n);
|
|
1360
1396
|
}
|
|
1361
|
-
function
|
|
1362
|
-
let i =
|
|
1397
|
+
function Wt(n, e, t) {
|
|
1398
|
+
let i = je(), l = E(i);
|
|
1363
1399
|
l.current = i;
|
|
1364
|
-
let
|
|
1400
|
+
let r = X(() => l.current ? t() : e(), [
|
|
1365
1401
|
e,
|
|
1366
1402
|
t
|
|
1367
1403
|
]);
|
|
1368
|
-
return Vt.useSyncExternalStore(
|
|
1404
|
+
return Vt.useSyncExternalStore(n, r);
|
|
1369
1405
|
}
|
|
1370
|
-
const
|
|
1371
|
-
function
|
|
1372
|
-
let [e] = ie(() => new
|
|
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), [
|
|
1373
1409
|
e
|
|
1374
1410
|
]), i = X(() => {
|
|
1375
1411
|
let s = e.getCollection();
|
|
@@ -1378,122 +1414,183 @@ function qt(r) {
|
|
|
1378
1414
|
e
|
|
1379
1415
|
]), l = X(() => (e.isSSR = !0, e.getCollection()), [
|
|
1380
1416
|
e
|
|
1381
|
-
]),
|
|
1382
|
-
return
|
|
1417
|
+
]), r = jt(t, i, l);
|
|
1418
|
+
return me(() => (e.isMounted = !0, () => {
|
|
1383
1419
|
e.isMounted = !1;
|
|
1384
1420
|
}), [
|
|
1385
1421
|
e
|
|
1386
1422
|
]), {
|
|
1387
|
-
collection:
|
|
1423
|
+
collection: r,
|
|
1388
1424
|
document: e
|
|
1389
1425
|
};
|
|
1390
1426
|
}
|
|
1391
|
-
const Ke = /* @__PURE__ */
|
|
1392
|
-
function
|
|
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));
|
|
1393
1435
|
let s = X((u) => {
|
|
1394
|
-
u?.setProps(e, t, i,
|
|
1436
|
+
u?.setProps(e, t, n, i, r);
|
|
1395
1437
|
}, [
|
|
1396
1438
|
e,
|
|
1397
1439
|
t,
|
|
1398
1440
|
i,
|
|
1441
|
+
r,
|
|
1399
1442
|
n
|
|
1400
|
-
]), c =
|
|
1443
|
+
]), c = _(Ke);
|
|
1401
1444
|
if (c) {
|
|
1402
1445
|
let u = c.ownerDocument.nodesByProps.get(e);
|
|
1403
|
-
return u || (u = c.ownerDocument.createElement(
|
|
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, {
|
|
1404
1447
|
value: u
|
|
1405
1448
|
}, l) : null;
|
|
1406
1449
|
}
|
|
1407
|
-
return /* @__PURE__ */
|
|
1450
|
+
return /* @__PURE__ */ $.createElement(n.type, {
|
|
1408
1451
|
ref: s
|
|
1409
1452
|
}, l);
|
|
1410
1453
|
}
|
|
1411
|
-
function
|
|
1412
|
-
let t = ({ node: l }) => e(l.props, l.props.ref, l), i =
|
|
1413
|
-
let s =
|
|
1414
|
-
if (!
|
|
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)) {
|
|
1415
1458
|
if (e.length >= 3) throw new Error(e.name + " cannot be rendered outside a collection.");
|
|
1416
|
-
return e(l,
|
|
1459
|
+
return e(l, r);
|
|
1417
1460
|
}
|
|
1418
|
-
return lt(
|
|
1461
|
+
return lt(n, l, r, "children" in l ? l.children : null, null, (u) => (
|
|
1419
1462
|
// Forward FocusableContext to real DOM tree so tooltips work.
|
|
1420
|
-
/* @__PURE__ */
|
|
1463
|
+
/* @__PURE__ */ $.createElement(ke.Provider, {
|
|
1421
1464
|
value: s
|
|
1422
|
-
}, /* @__PURE__ */
|
|
1465
|
+
}, /* @__PURE__ */ $.createElement(t, {
|
|
1423
1466
|
node: u
|
|
1424
1467
|
}))
|
|
1425
1468
|
));
|
|
1426
1469
|
});
|
|
1427
1470
|
return i.displayName = e.name, i;
|
|
1428
1471
|
}
|
|
1429
|
-
function
|
|
1430
|
-
let i = ({ node:
|
|
1431
|
-
let c = t(
|
|
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);
|
|
1432
1475
|
var u;
|
|
1433
|
-
return (u = lt(
|
|
1434
|
-
node:
|
|
1435
|
-
}))) !== null && u !== void 0 ? u : /* @__PURE__ */
|
|
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);
|
|
1436
1479
|
});
|
|
1437
1480
|
return l.displayName = e.name, l;
|
|
1438
1481
|
}
|
|
1439
|
-
function nt(
|
|
1482
|
+
function nt(n) {
|
|
1440
1483
|
return tt({
|
|
1441
|
-
...
|
|
1484
|
+
...n,
|
|
1442
1485
|
addIdAndValue: !0
|
|
1443
1486
|
});
|
|
1444
1487
|
}
|
|
1445
|
-
const
|
|
1446
|
-
function
|
|
1447
|
-
let e =
|
|
1448
|
-
...
|
|
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,
|
|
1449
1492
|
idScope: i,
|
|
1450
1493
|
dependencies: t
|
|
1451
1494
|
});
|
|
1452
|
-
return
|
|
1495
|
+
return _(Z) && (l = /* @__PURE__ */ $.createElement(Jt, null, l)), e = B(() => ({
|
|
1453
1496
|
dependencies: t,
|
|
1454
1497
|
idScope: i
|
|
1455
1498
|
}), [
|
|
1456
1499
|
i,
|
|
1457
1500
|
...t
|
|
1458
|
-
]), /* @__PURE__ */
|
|
1501
|
+
]), /* @__PURE__ */ $.createElement(Be.Provider, {
|
|
1459
1502
|
value: e
|
|
1460
1503
|
}, l);
|
|
1461
1504
|
}
|
|
1462
|
-
function
|
|
1463
|
-
let e =
|
|
1505
|
+
function Jt({ children: n }) {
|
|
1506
|
+
let e = _(Z), t = B(() => /* @__PURE__ */ $.createElement(Z.Provider, {
|
|
1464
1507
|
value: null
|
|
1465
|
-
}, /* @__PURE__ */
|
|
1508
|
+
}, /* @__PURE__ */ $.createElement(it.Provider, {
|
|
1466
1509
|
value: !0
|
|
1467
|
-
},
|
|
1468
|
-
|
|
1510
|
+
}, n)), [
|
|
1511
|
+
n
|
|
1469
1512
|
]);
|
|
1470
|
-
return
|
|
1513
|
+
return je() ? /* @__PURE__ */ $.createElement(Ke.Provider, {
|
|
1471
1514
|
value: e
|
|
1472
1515
|
}, t) : /* @__PURE__ */ ht(t, e);
|
|
1473
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
|
+
}
|
|
1474
1571
|
class R extends Set {
|
|
1475
1572
|
constructor(e, t, i) {
|
|
1476
1573
|
super(e), e instanceof R ? (this.anchorKey = t ?? e.anchorKey, this.currentKey = i ?? e.currentKey) : (this.anchorKey = t ?? null, this.currentKey = i ?? null);
|
|
1477
1574
|
}
|
|
1478
1575
|
}
|
|
1479
|
-
function
|
|
1480
|
-
if (
|
|
1481
|
-
for (let t of
|
|
1576
|
+
function ei(n, e) {
|
|
1577
|
+
if (n.size !== e.size) return !1;
|
|
1578
|
+
for (let t of n)
|
|
1482
1579
|
if (!e.has(t)) return !1;
|
|
1483
1580
|
return !0;
|
|
1484
1581
|
}
|
|
1485
|
-
function
|
|
1486
|
-
let { selectionMode: e = "none", disallowEmptySelection: t = !1, allowDuplicateSelectionEvents: i, selectionBehavior: l = "toggle", disabledBehavior:
|
|
1487
|
-
|
|
1488
|
-
]), f = B(() =>
|
|
1489
|
-
|
|
1490
|
-
]), [
|
|
1491
|
-
|
|
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
|
|
1492
1589
|
]), [g, m] = ie(l);
|
|
1493
|
-
l === "replace" && g === "toggle" && typeof
|
|
1494
|
-
let
|
|
1590
|
+
l === "replace" && g === "toggle" && typeof y == "object" && y.size === 0 && m("replace");
|
|
1591
|
+
let w = E(l);
|
|
1495
1592
|
return Y(() => {
|
|
1496
|
-
l !==
|
|
1593
|
+
l !== w.current && (m(l), w.current = l);
|
|
1497
1594
|
}, [
|
|
1498
1595
|
l
|
|
1499
1596
|
]), {
|
|
@@ -1511,21 +1608,21 @@ function xi(r) {
|
|
|
1511
1608
|
return u.current;
|
|
1512
1609
|
},
|
|
1513
1610
|
get childFocusStrategy() {
|
|
1514
|
-
return
|
|
1611
|
+
return h.current;
|
|
1515
1612
|
},
|
|
1516
|
-
setFocusedKey(x,
|
|
1517
|
-
u.current = x,
|
|
1613
|
+
setFocusedKey(x, k = "first") {
|
|
1614
|
+
u.current = x, h.current = k, b(x);
|
|
1518
1615
|
},
|
|
1519
|
-
selectedKeys:
|
|
1616
|
+
selectedKeys: y,
|
|
1520
1617
|
setSelectedKeys(x) {
|
|
1521
|
-
(i || !
|
|
1618
|
+
(i || !ei(x, y)) && v(x);
|
|
1522
1619
|
},
|
|
1523
1620
|
disabledKeys: K,
|
|
1524
|
-
disabledBehavior:
|
|
1621
|
+
disabledBehavior: r
|
|
1525
1622
|
};
|
|
1526
1623
|
}
|
|
1527
|
-
function
|
|
1528
|
-
return
|
|
1624
|
+
function Ne(n, e) {
|
|
1625
|
+
return n ? n === "all" ? "all" : new R(n) : e;
|
|
1529
1626
|
}
|
|
1530
1627
|
class rt {
|
|
1531
1628
|
/**
|
|
@@ -1621,7 +1718,7 @@ class rt {
|
|
|
1621
1718
|
let e = null;
|
|
1622
1719
|
for (let i of this.state.selectedKeys) {
|
|
1623
1720
|
let l = this.collection.getItem(i);
|
|
1624
|
-
(!e || l &&
|
|
1721
|
+
(!e || l && pe(this.collection, l, e) < 0) && (e = l);
|
|
1625
1722
|
}
|
|
1626
1723
|
var t;
|
|
1627
1724
|
return (t = e?.key) !== null && t !== void 0 ? t : null;
|
|
@@ -1630,7 +1727,7 @@ class rt {
|
|
|
1630
1727
|
let e = null;
|
|
1631
1728
|
for (let i of this.state.selectedKeys) {
|
|
1632
1729
|
let l = this.collection.getItem(i);
|
|
1633
|
-
(!e || l &&
|
|
1730
|
+
(!e || l && pe(this.collection, l, e) > 0) && (e = l);
|
|
1634
1731
|
}
|
|
1635
1732
|
var t;
|
|
1636
1733
|
return (t = e?.key) !== null && t !== void 0 ? t : null;
|
|
@@ -1661,24 +1758,24 @@ class rt {
|
|
|
1661
1758
|
var l;
|
|
1662
1759
|
let c = (l = s.anchorKey) !== null && l !== void 0 ? l : t;
|
|
1663
1760
|
i = new R(s, c, t);
|
|
1664
|
-
var
|
|
1665
|
-
for (let u of this.getKeyRange(c, (
|
|
1761
|
+
var r;
|
|
1762
|
+
for (let u of this.getKeyRange(c, (r = s.currentKey) !== null && r !== void 0 ? r : t)) i.delete(u);
|
|
1666
1763
|
for (let u of this.getKeyRange(t, c)) this.canSelectItem(u) && i.add(u);
|
|
1667
1764
|
}
|
|
1668
1765
|
this.state.setSelectedKeys(i);
|
|
1669
1766
|
}
|
|
1670
1767
|
getKeyRange(e, t) {
|
|
1671
1768
|
let i = this.collection.getItem(e), l = this.collection.getItem(t);
|
|
1672
|
-
return i && l ?
|
|
1769
|
+
return i && l ? pe(this.collection, i, l) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
|
|
1673
1770
|
}
|
|
1674
1771
|
getKeyRangeInternal(e, t) {
|
|
1675
1772
|
var i;
|
|
1676
1773
|
if (!((i = this.layoutDelegate) === null || i === void 0) && i.getKeyRange) return this.layoutDelegate.getKeyRange(e, t);
|
|
1677
|
-
let l = [],
|
|
1678
|
-
for (;
|
|
1679
|
-
let s = this.collection.getItem(
|
|
1680
|
-
if (s && (s.type === "item" || s.type === "cell" && this.allowsCellSelection) && l.push(
|
|
1681
|
-
|
|
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);
|
|
1682
1779
|
}
|
|
1683
1780
|
return [];
|
|
1684
1781
|
}
|
|
@@ -1734,8 +1831,8 @@ class rt {
|
|
|
1734
1831
|
var l;
|
|
1735
1832
|
let s = this.collection.getItem(i);
|
|
1736
1833
|
s?.type === "item" && e.push(i);
|
|
1737
|
-
var
|
|
1738
|
-
s?.hasChildNodes && (this.allowsCellSelection || s.type !== "item") && t((
|
|
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);
|
|
1739
1836
|
}
|
|
1740
1837
|
i = this.collection.getKeyAfter(i);
|
|
1741
1838
|
}
|
|
@@ -1806,91 +1903,44 @@ class rt {
|
|
|
1806
1903
|
this.allowsCellSelection = (l = i?.allowsCellSelection) !== null && l !== void 0 ? l : !1, this._isSelectAll = null, this.layoutDelegate = i?.layoutDelegate || null;
|
|
1807
1904
|
}
|
|
1808
1905
|
}
|
|
1809
|
-
const Ci = /* @__PURE__ */ G(null), _t = {
|
|
1810
|
-
CollectionRoot({ collection: r, renderDropIndicator: e }) {
|
|
1811
|
-
return Ue(r, null, e);
|
|
1812
|
-
},
|
|
1813
|
-
CollectionBranch({ collection: r, parent: e, renderDropIndicator: t }) {
|
|
1814
|
-
return Ue(r, e, t);
|
|
1815
|
-
}
|
|
1816
|
-
};
|
|
1817
|
-
function Ue(r, e, t) {
|
|
1818
|
-
return tt({
|
|
1819
|
-
items: e ? r.getChildren(e.key) : r,
|
|
1820
|
-
dependencies: [
|
|
1821
|
-
t
|
|
1822
|
-
],
|
|
1823
|
-
children(i) {
|
|
1824
|
-
let l = i.render(i);
|
|
1825
|
-
return !t || i.type !== "item" ? l : /* @__PURE__ */ S.createElement(S.Fragment, null, t({
|
|
1826
|
-
type: "item",
|
|
1827
|
-
key: i.key,
|
|
1828
|
-
dropPosition: "before"
|
|
1829
|
-
}), l, jt(r, i, t));
|
|
1830
|
-
}
|
|
1831
|
-
});
|
|
1832
|
-
}
|
|
1833
|
-
function jt(r, e, t) {
|
|
1834
|
-
let i = e.key, l = r.getKeyAfter(i), n = l != null ? r.getItem(l) : null;
|
|
1835
|
-
for (; n != null && n.type !== "item"; )
|
|
1836
|
-
l = r.getKeyAfter(n.key), n = l != null ? r.getItem(l) : null;
|
|
1837
|
-
let s = e.nextKey != null ? r.getItem(e.nextKey) : null;
|
|
1838
|
-
for (; s != null && s.type !== "item"; ) s = s.nextKey != null ? r.getItem(s.nextKey) : null;
|
|
1839
|
-
let c = [];
|
|
1840
|
-
if (s == null) {
|
|
1841
|
-
let u = e;
|
|
1842
|
-
for (; u && (!n || u.parentKey !== n.parentKey && n.level < u.level); ) {
|
|
1843
|
-
let v = t({
|
|
1844
|
-
type: "item",
|
|
1845
|
-
key: u.key,
|
|
1846
|
-
dropPosition: "after"
|
|
1847
|
-
});
|
|
1848
|
-
/* @__PURE__ */ st(v) && c.push(/* @__PURE__ */ He(v, {
|
|
1849
|
-
key: `${u.key}-after`
|
|
1850
|
-
})), u = u.parentKey != null ? r.getItem(u.parentKey) : null;
|
|
1851
|
-
}
|
|
1852
|
-
}
|
|
1853
|
-
return c;
|
|
1854
|
-
}
|
|
1855
|
-
const wi = /* @__PURE__ */ G(_t);
|
|
1856
|
-
function Di(r) {
|
|
1857
|
-
return B(() => r != null ? /* @__PURE__ */ new Set([
|
|
1858
|
-
r
|
|
1859
|
-
]) : null, [
|
|
1860
|
-
r
|
|
1861
|
-
]);
|
|
1862
|
-
}
|
|
1863
1906
|
export {
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
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
|
|
1895
1945
|
};
|
|
1896
|
-
//# sourceMappingURL=
|
|
1946
|
+
//# sourceMappingURL=SelectionManager-CLyu96pU.es.js.map
|