@commercetools/nimbus 0.0.0-canary-20250820123249 → 0.0.0-canary-20250821080039
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-BLV4Eycw.cjs.js +2 -0
- package/dist/chunks/Button-BLV4Eycw.cjs.js.map +1 -0
- package/dist/chunks/Button-Dbso0-qF.es.js +73 -0
- package/dist/chunks/Button-Dbso0-qF.es.js.map +1 -0
- package/dist/chunks/DateField-iMlYFknq.cjs.js +2 -0
- package/dist/chunks/DateField-iMlYFknq.cjs.js.map +1 -0
- package/dist/chunks/{DateField-B54wG86x.es.js → DateField-pv0EoMnC.es.js} +855 -774
- package/dist/chunks/DateField-pv0EoMnC.es.js.map +1 -0
- package/dist/chunks/DatePicker-COZaw7tZ.es.js +777 -0
- package/dist/chunks/DatePicker-COZaw7tZ.es.js.map +1 -0
- package/dist/chunks/DatePicker-DhT2ekYj.cjs.js +2 -0
- package/dist/chunks/DatePicker-DhT2ekYj.cjs.js.map +1 -0
- package/dist/chunks/Dialog-CptyD9rP.cjs.js +2 -0
- package/dist/chunks/Dialog-CptyD9rP.cjs.js.map +1 -0
- package/dist/chunks/Dialog-zk-xJfoo.es.js +1902 -0
- package/dist/chunks/Dialog-zk-xJfoo.es.js.map +1 -0
- package/dist/chunks/FocusScope-DqjrxokF.es.js +625 -0
- package/dist/chunks/FocusScope-DqjrxokF.es.js.map +1 -0
- package/dist/chunks/FocusScope-GecpDnRx.cjs.js +2 -0
- package/dist/chunks/FocusScope-GecpDnRx.cjs.js.map +1 -0
- package/dist/chunks/Form-amb1SjpT.cjs.js.map +1 -1
- package/dist/chunks/Form-yBl0QZl8.es.js.map +1 -1
- package/dist/chunks/{Group-mwXBycvF.es.js → Group-BrHhkg3Q.es.js} +5 -5
- package/dist/chunks/{Group-mwXBycvF.es.js.map → Group-BrHhkg3Q.es.js.map} +1 -1
- package/dist/chunks/{Group-S8qldAfB.cjs.js → Group-NyoRRxUI.cjs.js} +2 -2
- package/dist/chunks/{Group-S8qldAfB.cjs.js.map → Group-NyoRRxUI.cjs.js.map} +1 -1
- package/dist/chunks/{Heading-CNw7cSHE.es.js → Heading-6PRCde4r.es.js} +552 -539
- package/dist/chunks/Heading-6PRCde4r.es.js.map +1 -0
- package/dist/chunks/Heading-P3M5XVwg.cjs.js +2 -0
- package/dist/chunks/Heading-P3M5XVwg.cjs.js.map +1 -0
- package/dist/chunks/Hidden-CNJIJ63M.cjs.js.map +1 -1
- package/dist/chunks/Hidden-j3Lbt7xL.es.js.map +1 -1
- package/dist/chunks/{Input-DdVYDR5H.cjs.js → Input-3b57jDmV.cjs.js} +2 -2
- package/dist/chunks/{Input-DdVYDR5H.cjs.js.map → Input-3b57jDmV.cjs.js.map} +1 -1
- package/dist/chunks/{Input-BVKgvaGQ.es.js → Input-DEUFE8kQ.es.js} +5 -5
- package/dist/chunks/{Input-BVKgvaGQ.es.js.map → Input-DEUFE8kQ.es.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-HQH6CpQI.es.js → Label-B2YyCdLl.es.js} +2 -2
- package/dist/chunks/{Label-HQH6CpQI.es.js.map → Label-B2YyCdLl.es.js.map} +1 -1
- package/dist/chunks/{Label-CECAwZGp.cjs.js → Label-BgrYyYXn.cjs.js} +2 -2
- package/dist/chunks/{Label-CECAwZGp.cjs.js.map → Label-BgrYyYXn.cjs.js.map} +1 -1
- package/dist/chunks/ListBox-CWStps80.es.js +662 -0
- package/dist/chunks/ListBox-CWStps80.es.js.map +1 -0
- package/dist/chunks/ListBox-s8tRtwA0.cjs.js +2 -0
- package/dist/chunks/ListBox-s8tRtwA0.cjs.js.map +1 -0
- package/dist/chunks/LiveAnnouncer-BkrEjKY8.cjs.js.map +1 -1
- package/dist/chunks/LiveAnnouncer-CsPyaceH.es.js.map +1 -1
- package/dist/chunks/NumberFormatter-DewVDY5w.cjs.js.map +1 -1
- package/dist/chunks/NumberFormatter-DgOUVrge.es.js.map +1 -1
- package/dist/chunks/{OverlayArrow-BXmPG4ww.es.js → OverlayArrow-BuwEfnJ_.es.js} +4 -4
- package/dist/chunks/{OverlayArrow-BXmPG4ww.es.js.map → OverlayArrow-BuwEfnJ_.es.js.map} +1 -1
- package/dist/chunks/{OverlayArrow-BApTHrZU.cjs.js → OverlayArrow-C5Ymp9MC.cjs.js} +2 -2
- package/dist/chunks/{OverlayArrow-BApTHrZU.cjs.js.map → OverlayArrow-C5Ymp9MC.cjs.js.map} +1 -1
- package/dist/chunks/ProgressBar-BNPexoD9.cjs.js +2 -0
- package/dist/chunks/ProgressBar-BNPexoD9.cjs.js.map +1 -0
- package/dist/chunks/ProgressBar-BnGsEC_2.es.js +42 -0
- package/dist/chunks/ProgressBar-BnGsEC_2.es.js.map +1 -0
- package/dist/chunks/RSPContexts-AkhSBHGO.es.js.map +1 -1
- package/dist/chunks/RSPContexts-CIAIlAKH.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/Separator-DOmXRTmt.cjs.js +18 -0
- package/dist/chunks/Separator-DOmXRTmt.cjs.js.map +1 -0
- package/dist/chunks/{Separator-m-nxIY-Z.es.js → Separator-jqT9Eof_.es.js} +577 -579
- package/dist/chunks/Separator-jqT9Eof_.es.js.map +1 -0
- package/dist/chunks/Text-BWSfeB9p.cjs.js.map +1 -1
- package/dist/chunks/Text-DOcU1ycg.es.js.map +1 -1
- package/dist/chunks/{TextArea-Dd44XtIL.es.js → TextArea-D31Tyn5f.es.js} +5 -5
- package/dist/chunks/{TextArea-Dd44XtIL.es.js.map → TextArea-D31Tyn5f.es.js.map} +1 -1
- package/dist/chunks/{TextArea-CKgj3W0e.cjs.js → TextArea-DfONO55t.cjs.js} +2 -2
- package/dist/chunks/{TextArea-CKgj3W0e.cjs.js.map → TextArea-DfONO55t.cjs.js.map} +1 -1
- package/dist/chunks/{ToggleButton--Chrvt2-.es.js → ToggleButton-BwfjgdrS.es.js} +51 -47
- package/dist/chunks/ToggleButton-BwfjgdrS.es.js.map +1 -0
- package/dist/chunks/ToggleButton-CgYoKWXE.cjs.js +2 -0
- package/dist/chunks/ToggleButton-CgYoKWXE.cjs.js.map +1 -0
- package/dist/chunks/{VisuallyHidden-D_v-Q4zg.cjs.js → VisuallyHidden-Cry3ILzH.cjs.js} +2 -2
- package/dist/chunks/{VisuallyHidden-D_v-Q4zg.cjs.js.map → VisuallyHidden-Cry3ILzH.cjs.js.map} +1 -1
- package/dist/chunks/{VisuallyHidden-OA9O6ss7.es.js → VisuallyHidden-vWWAOaeB.es.js} +3 -3
- package/dist/chunks/{VisuallyHidden-OA9O6ss7.es.js.map → VisuallyHidden-vWWAOaeB.es.js.map} +1 -1
- package/dist/chunks/{accordion-ClYjUgCm.es.js → accordion-BzVLPw0m.es.js} +5 -5
- package/dist/chunks/{accordion-ClYjUgCm.es.js.map → accordion-BzVLPw0m.es.js.map} +1 -1
- package/dist/chunks/{accordion-BCevgjfz.cjs.js → accordion-CqVqPnnk.cjs.js} +2 -2
- package/dist/chunks/{accordion-BCevgjfz.cjs.js.map → accordion-CqVqPnnk.cjs.js.map} +1 -1
- package/dist/chunks/{alert-DtykbztH.cjs.js → alert-7fGS6Jtp.cjs.js} +2 -2
- package/dist/chunks/{alert-DtykbztH.cjs.js.map → alert-7fGS6Jtp.cjs.js.map} +1 -1
- package/dist/chunks/{alert-CkCA_F0G.es.js → alert-BjlXzvt9.es.js} +2 -2
- package/dist/chunks/{alert-CkCA_F0G.es.js.map → alert-BjlXzvt9.es.js.map} +1 -1
- package/dist/chunks/{badge-svy4D5LX.es.js → badge-BeR8OqtD.es.js} +2 -2
- package/dist/chunks/{badge-svy4D5LX.es.js.map → badge-BeR8OqtD.es.js.map} +1 -1
- package/dist/chunks/{badge-DrunOIl4.cjs.js → badge-CJK91qKC.cjs.js} +2 -2
- package/dist/chunks/{badge-DrunOIl4.cjs.js.map → badge-CJK91qKC.cjs.js.map} +1 -1
- package/dist/chunks/{button-CtcszdQr.es.js → button-CuhF1g5I.es.js} +5 -5
- package/dist/chunks/{button-CtcszdQr.es.js.map → button-CuhF1g5I.es.js.map} +1 -1
- package/dist/chunks/{button-Cc5bRJ6s.cjs.js → button-DQVmtZsI.cjs.js} +2 -2
- package/dist/chunks/{button-Cc5bRJ6s.cjs.js.map → button-DQVmtZsI.cjs.js.map} +1 -1
- package/dist/chunks/{calendar-bCvE33zv.cjs.js → calendar-CX2aTMuK.cjs.js} +2 -2
- package/dist/chunks/{calendar-bCvE33zv.cjs.js.map → calendar-CX2aTMuK.cjs.js.map} +1 -1
- package/dist/chunks/{calendar-D5ju_SXN.es.js → calendar-Cgb94GBg.es.js} +8 -8
- package/dist/chunks/{calendar-D5ju_SXN.es.js.map → calendar-Cgb94GBg.es.js.map} +1 -1
- package/dist/chunks/{card-vyVNrQUp.cjs.js → card-DR7vGEKx.cjs.js} +2 -2
- package/dist/chunks/{card-vyVNrQUp.cjs.js.map → card-DR7vGEKx.cjs.js.map} +1 -1
- package/dist/chunks/{card-DuySl12T.es.js → card-DTunB9ZY.es.js} +3 -3
- package/dist/chunks/{card-DuySl12T.es.js.map → card-DTunB9ZY.es.js.map} +1 -1
- package/dist/chunks/{checkbox-1YXl_lbS.cjs.js → checkbox-Ci8-0C_9.cjs.js} +2 -2
- package/dist/chunks/{checkbox-1YXl_lbS.cjs.js.map → checkbox-Ci8-0C_9.cjs.js.map} +1 -1
- package/dist/chunks/{checkbox-CmNhDeu0.es.js → checkbox-CjpbV9HI.es.js} +8 -8
- package/dist/chunks/{checkbox-CmNhDeu0.es.js.map → checkbox-CjpbV9HI.es.js.map} +1 -1
- package/dist/chunks/combobox-1Kzme-cs.es.js +1910 -0
- package/dist/chunks/combobox-1Kzme-cs.es.js.map +1 -0
- package/dist/chunks/combobox-9_6OFmgk.cjs.js +2 -0
- package/dist/chunks/combobox-9_6OFmgk.cjs.js.map +1 -0
- package/dist/chunks/context-D0_cRaDZ.cjs.js.map +1 -1
- package/dist/chunks/context-Pt-0ojuK.es.js.map +1 -1
- package/dist/chunks/{date-input-C9ZcvfbY.cjs.js → date-input-BiNLEpfR.cjs.js} +2 -2
- package/dist/chunks/{date-input-C9ZcvfbY.cjs.js.map → date-input-BiNLEpfR.cjs.js.map} +1 -1
- package/dist/chunks/{date-input-B2h5XYct.es.js → date-input-DU74Qqxa.es.js} +2 -2
- package/dist/chunks/{date-input-B2h5XYct.es.js.map → date-input-DU74Qqxa.es.js.map} +1 -1
- package/dist/chunks/{date-picker-CoSwmyDt.cjs.js → date-picker-BU4NVftG.cjs.js} +2 -2
- package/dist/chunks/{date-picker-CoSwmyDt.cjs.js.map → date-picker-BU4NVftG.cjs.js.map} +1 -1
- package/dist/chunks/{date-picker-BNtQMIfz.es.js → date-picker-D6h7NeRV.es.js} +12 -12
- package/dist/chunks/{date-picker-BNtQMIfz.es.js.map → date-picker-D6h7NeRV.es.js.map} +1 -1
- package/dist/chunks/{date-range-picker-lX9xNms_.cjs.js → date-range-picker-BhWMCCGo.cjs.js} +2 -2
- package/dist/chunks/{date-range-picker-lX9xNms_.cjs.js.map → date-range-picker-BhWMCCGo.cjs.js.map} +1 -1
- package/dist/chunks/{date-range-picker-CsyWGPqF.es.js → date-range-picker-DouNAx8F.es.js} +12 -12
- package/dist/chunks/{date-range-picker-CsyWGPqF.es.js.map → date-range-picker-DouNAx8F.es.js.map} +1 -1
- package/dist/chunks/{divider-DqTADRa0.cjs.js → divider-BicBw1PK.cjs.js} +2 -2
- package/dist/chunks/{divider-DqTADRa0.cjs.js.map → divider-BicBw1PK.cjs.js.map} +1 -1
- package/dist/chunks/{divider-CvKO3nQL.es.js → divider-DMH0p6Pr.es.js} +3 -3
- package/dist/chunks/{divider-CvKO3nQL.es.js.map → divider-DMH0p6Pr.es.js.map} +1 -1
- package/dist/chunks/filterDOMProps-BSVCO5jK.es.js +66 -0
- package/dist/chunks/filterDOMProps-BSVCO5jK.es.js.map +1 -0
- package/dist/chunks/filterDOMProps-WUskt27c.cjs.js +2 -0
- package/dist/chunks/filterDOMProps-WUskt27c.cjs.js.map +1 -0
- package/dist/chunks/focusSafely-IqPqYGW2.cjs.js +2 -0
- package/dist/chunks/{focusSafely-Bv_RnHNT.cjs.js.map → focusSafely-IqPqYGW2.cjs.js.map} +1 -1
- package/dist/chunks/{focusSafely-DoM_n2jA.es.js → focusSafely-Z_llPDi1.es.js} +6 -5
- package/dist/chunks/{focusSafely-DoM_n2jA.es.js.map → focusSafely-Z_llPDi1.es.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-D8OuOQ5E.cjs.js → form-field-CtS2lThW.cjs.js} +2 -2
- package/dist/chunks/{form-field-D8OuOQ5E.cjs.js.map → form-field-CtS2lThW.cjs.js.map} +1 -1
- package/dist/chunks/{form-field-QQSY_Jm4.es.js → form-field-DyC1BwgL.es.js} +4 -4
- package/dist/chunks/{form-field-QQSY_Jm4.es.js.map → form-field-DyC1BwgL.es.js.map} +1 -1
- package/dist/chunks/{group-gNVdnMp6.cjs.js → group-BlwUrhBo.cjs.js} +2 -2
- package/dist/chunks/{group-gNVdnMp6.cjs.js.map → group-BlwUrhBo.cjs.js.map} +1 -1
- package/dist/chunks/{group-BUyqvOqA.es.js → group-C-AOBEBA.es.js} +2 -2
- package/dist/chunks/{group-BUyqvOqA.es.js.map → group-C-AOBEBA.es.js.map} +1 -1
- package/dist/chunks/{icon-button-DBY3-KjA.cjs.js → icon-button-Dz81DR3X.cjs.js} +2 -2
- package/dist/chunks/{icon-button-DBY3-KjA.cjs.js.map → icon-button-Dz81DR3X.cjs.js.map} +1 -1
- package/dist/chunks/{icon-button-CH683kN2.es.js → icon-button-eAxeO5Sy.es.js} +2 -2
- package/dist/chunks/{icon-button-CH683kN2.es.js.map → icon-button-eAxeO5Sy.es.js.map} +1 -1
- package/dist/chunks/{icon-toggle-button-B7ttsu07.cjs.js → icon-toggle-button-C0lscD-H.cjs.js} +2 -2
- package/dist/chunks/{icon-toggle-button-B7ttsu07.cjs.js.map → icon-toggle-button-C0lscD-H.cjs.js.map} +1 -1
- package/dist/chunks/{icon-toggle-button-DB4vAc3G.es.js → icon-toggle-button-JIH-oYkL.es.js} +2 -2
- package/dist/chunks/{icon-toggle-button-DB4vAc3G.es.js.map → icon-toggle-button-JIH-oYkL.es.js.map} +1 -1
- package/dist/chunks/{kbd-DtkBixW-.cjs.js → kbd-CSMHvaH6.cjs.js} +2 -2
- package/dist/chunks/{kbd-DtkBixW-.cjs.js.map → kbd-CSMHvaH6.cjs.js.map} +1 -1
- package/dist/chunks/{kbd-D2TJB0Xw.es.js → kbd-CUSbYvfc.es.js} +2 -2
- package/dist/chunks/{kbd-D2TJB0Xw.es.js.map → kbd-CUSbYvfc.es.js.map} +1 -1
- package/dist/chunks/link-ghRc-njF.es.js +50 -0
- package/dist/chunks/link-ghRc-njF.es.js.map +1 -0
- package/dist/chunks/link-sv3Y9kiL.cjs.js +2 -0
- package/dist/chunks/link-sv3Y9kiL.cjs.js.map +1 -0
- package/dist/chunks/{loading-spinner-CWiVMPa9.cjs.js → loading-spinner-Czc9y_Gn.cjs.js} +2 -2
- package/dist/chunks/{loading-spinner-CWiVMPa9.cjs.js.map → loading-spinner-Czc9y_Gn.cjs.js.map} +1 -1
- package/dist/chunks/{loading-spinner-CDxvsTM7.es.js → loading-spinner-hZA3mTh7.es.js} +3 -3
- package/dist/chunks/{loading-spinner-CDxvsTM7.es.js.map → loading-spinner-hZA3mTh7.es.js.map} +1 -1
- package/dist/chunks/{make-element-focusable-B3nqm8sS.cjs.js → make-element-focusable-DH5D8RT_.cjs.js} +2 -2
- package/dist/chunks/{make-element-focusable-B3nqm8sS.cjs.js.map → make-element-focusable-DH5D8RT_.cjs.js.map} +1 -1
- package/dist/chunks/{make-element-focusable-Cwa2mbxh.es.js → make-element-focusable-ZJARjxxy.es.js} +3 -3
- package/dist/chunks/{make-element-focusable-Cwa2mbxh.es.js.map → make-element-focusable-ZJARjxxy.es.js.map} +1 -1
- package/dist/chunks/mergeProps-BA5Cwf5w.cjs.js +2 -0
- package/dist/chunks/mergeProps-BA5Cwf5w.cjs.js.map +1 -0
- package/dist/chunks/{mergeProps-Cwgnfqio.es.js → mergeProps-B_9syxhT.es.js} +28 -27
- package/dist/chunks/mergeProps-B_9syxhT.es.js.map +1 -0
- package/dist/chunks/{multiline-text-input-ClPMQ7tA.es.js → multiline-text-input-C92pFhFJ.es.js} +3 -3
- package/dist/chunks/{multiline-text-input-ClPMQ7tA.es.js.map → multiline-text-input-C92pFhFJ.es.js.map} +1 -1
- package/dist/chunks/{multiline-text-input-DA_Fz8h9.cjs.js → multiline-text-input-CyuK_OFR.cjs.js} +2 -2
- package/dist/chunks/{multiline-text-input-DA_Fz8h9.cjs.js.map → multiline-text-input-CyuK_OFR.cjs.js.map} +1 -1
- package/dist/chunks/{nimbus-provider-D8US7K6p.cjs.js → nimbus-provider-DCCIMVE_.cjs.js} +2 -2
- package/dist/chunks/{nimbus-provider-D8US7K6p.cjs.js.map → nimbus-provider-DCCIMVE_.cjs.js.map} +1 -1
- package/dist/chunks/{nimbus-provider-Csv9bA7X.es.js → nimbus-provider-ayl_l7xS.es.js} +2 -2
- package/dist/chunks/{nimbus-provider-Csv9bA7X.es.js.map → nimbus-provider-ayl_l7xS.es.js.map} +1 -1
- package/dist/chunks/number-DHvo-MDe.cjs.js +2 -0
- package/dist/chunks/number-DHvo-MDe.cjs.js.map +1 -0
- package/dist/chunks/number-dMxJejI6.es.js +26 -0
- package/dist/chunks/number-dMxJejI6.es.js.map +1 -0
- package/dist/chunks/number-input-B1dhdihJ.cjs.js +2 -0
- package/dist/chunks/number-input-B1dhdihJ.cjs.js.map +1 -0
- package/dist/chunks/{number-input-DhePUBX4.es.js → number-input-CW2-kmte.es.js} +241 -254
- package/dist/chunks/number-input-CW2-kmte.es.js.map +1 -0
- package/dist/chunks/openLink-DkCJYbzq.cjs.js +2 -0
- package/dist/chunks/{openLink-BjodHrGD.cjs.js.map → openLink-DkCJYbzq.cjs.js.map} +1 -1
- package/dist/chunks/{openLink-BRnXRj9w.es.js → openLink-UGin_Dml.es.js} +42 -38
- package/dist/chunks/{openLink-BRnXRj9w.es.js.map → openLink-UGin_Dml.es.js.map} +1 -1
- package/dist/chunks/{password-input-DqBr_SOU.es.js → password-input-Cu0dFS1a.es.js} +4 -4
- package/dist/chunks/{password-input-DqBr_SOU.es.js.map → password-input-Cu0dFS1a.es.js.map} +1 -1
- package/dist/chunks/{password-input-C0i1n4rW.cjs.js → password-input-JB8O_D-h.cjs.js} +2 -2
- package/dist/chunks/{password-input-C0i1n4rW.cjs.js.map → password-input-JB8O_D-h.cjs.js.map} +1 -1
- package/dist/chunks/platform-BDLy2vDY.cjs.js +2 -0
- package/dist/chunks/platform-BDLy2vDY.cjs.js.map +1 -0
- package/dist/chunks/platform-BuOpbxqC.es.js +47 -0
- package/dist/chunks/platform-BuOpbxqC.es.js.map +1 -0
- package/dist/chunks/{progress-bar-BPk6bjED.cjs.js → progress-bar-BsWBRJc2.cjs.js} +2 -2
- package/dist/chunks/{progress-bar-BPk6bjED.cjs.js.map → progress-bar-BsWBRJc2.cjs.js.map} +1 -1
- package/dist/chunks/{progress-bar-BP4F1gOI.es.js → progress-bar-CUa2a1GW.es.js} +3 -3
- package/dist/chunks/{progress-bar-BP4F1gOI.es.js.map → progress-bar-CUa2a1GW.es.js.map} +1 -1
- package/dist/chunks/radio-input-Dm2vi4Tr.es.js +340 -0
- package/dist/chunks/radio-input-Dm2vi4Tr.es.js.map +1 -0
- package/dist/chunks/radio-input-ks3uMIHH.cjs.js +2 -0
- package/dist/chunks/radio-input-ks3uMIHH.cjs.js.map +1 -0
- package/dist/chunks/{range-calendar-CTngGdKU.es.js → range-calendar-BPr3OzhD.es.js} +8 -8
- package/dist/chunks/{range-calendar-CTngGdKU.es.js.map → range-calendar-BPr3OzhD.es.js.map} +1 -1
- package/dist/chunks/{range-calendar-DsPvLwZi.cjs.js → range-calendar-p93X9--W.cjs.js} +2 -2
- package/dist/chunks/{range-calendar-DsPvLwZi.cjs.js.map → range-calendar-p93X9--W.cjs.js.map} +1 -1
- package/dist/chunks/scrollIntoView-BzIqpHLO.cjs.js +2 -0
- package/dist/chunks/scrollIntoView-BzIqpHLO.cjs.js.map +1 -0
- package/dist/chunks/scrollIntoView-DBSz0DQ7.es.js +94 -0
- package/dist/chunks/scrollIntoView-DBSz0DQ7.es.js.map +1 -0
- package/dist/chunks/select-DZ-oIsVV.cjs.js +2 -0
- package/dist/chunks/select-DZ-oIsVV.cjs.js.map +1 -0
- package/dist/chunks/select-sJlm2NT8.es.js +831 -0
- package/dist/chunks/select-sJlm2NT8.es.js.map +1 -0
- package/dist/chunks/{split-button-S3vDaSRE.es.js → split-button-CD_Lc9Zk.es.js} +6 -6
- package/dist/chunks/{split-button-S3vDaSRE.es.js.map → split-button-CD_Lc9Zk.es.js.map} +1 -1
- package/dist/chunks/{split-button-BjXKLuNF.cjs.js → split-button-CcDW5RoK.cjs.js} +2 -2
- package/dist/chunks/{split-button-BjXKLuNF.cjs.js.map → split-button-CcDW5RoK.cjs.js.map} +1 -1
- package/dist/chunks/{switch-Dz65MgpM.cjs.js → switch-Crc8nVlW.cjs.js} +2 -2
- package/dist/chunks/{switch-Dz65MgpM.cjs.js.map → switch-Crc8nVlW.cjs.js.map} +1 -1
- package/dist/chunks/{switch-yxZy9-ic.es.js → switch-xIG_-I0g.es.js} +6 -6
- package/dist/chunks/{switch-yxZy9-ic.es.js.map → switch-xIG_-I0g.es.js.map} +1 -1
- package/dist/chunks/{tag-group-1AADllBn.es.js → tag-group-Dw0sYuC6.es.js} +467 -464
- package/dist/chunks/tag-group-Dw0sYuC6.es.js.map +1 -0
- package/dist/chunks/tag-group-lc7cj8fj.cjs.js +2 -0
- package/dist/chunks/tag-group-lc7cj8fj.cjs.js.map +1 -0
- package/dist/chunks/{text-DmDvx7V_.cjs.js → text-DNjTZCtR.cjs.js} +2 -2
- package/dist/chunks/{text-DmDvx7V_.cjs.js.map → text-DNjTZCtR.cjs.js.map} +1 -1
- package/dist/chunks/{text-DkDCu8ot.es.js → text-QANNJ4E4.es.js} +2 -2
- package/dist/chunks/{text-DkDCu8ot.es.js.map → text-QANNJ4E4.es.js.map} +1 -1
- package/dist/chunks/{text-input-BWzdKRYV.cjs.js → text-input-C-OhJndO.cjs.js} +2 -2
- package/dist/chunks/{text-input-BWzdKRYV.cjs.js.map → text-input-C-OhJndO.cjs.js.map} +1 -1
- package/dist/chunks/{text-input-W1iPBvXd.es.js → text-input-Co1vIdZ4.es.js} +3 -3
- package/dist/chunks/{text-input-W1iPBvXd.es.js.map → text-input-Co1vIdZ4.es.js.map} +1 -1
- package/dist/chunks/{time-input-DyKhJkkD.cjs.js → time-input-DBhELOKp.cjs.js} +2 -2
- package/dist/chunks/{time-input-DyKhJkkD.cjs.js.map → time-input-DBhELOKp.cjs.js.map} +1 -1
- package/dist/chunks/{time-input-DrAd1lXq.es.js → time-input-Qllp0HZz.es.js} +2 -2
- package/dist/chunks/{time-input-DrAd1lXq.es.js.map → time-input-Qllp0HZz.es.js.map} +1 -1
- package/dist/chunks/{toggle-button-Dowh5X2c.es.js → toggle-button-DS19vPrG.es.js} +2 -2
- package/dist/chunks/{toggle-button-Dowh5X2c.es.js.map → toggle-button-DS19vPrG.es.js.map} +1 -1
- package/dist/chunks/{toggle-button-CUbE_upB.cjs.js → toggle-button-DY1owmQc.cjs.js} +2 -2
- package/dist/chunks/{toggle-button-CUbE_upB.cjs.js.map → toggle-button-DY1owmQc.cjs.js.map} +1 -1
- package/dist/chunks/{toggle-button-group-Dwp7V9nb.cjs.js → toggle-button-group-BWIvUU_4.cjs.js} +2 -2
- package/dist/chunks/{toggle-button-group-Dwp7V9nb.cjs.js.map → toggle-button-group-BWIvUU_4.cjs.js.map} +1 -1
- package/dist/chunks/{toggle-button-group-Bh_OZF74.es.js → toggle-button-group-CgjXp8XN.es.js} +2 -2
- package/dist/chunks/{toggle-button-group-Bh_OZF74.es.js.map → toggle-button-group-CgjXp8XN.es.js.map} +1 -1
- package/dist/chunks/toolbar-CjHj5fIX.cjs.js +2 -0
- package/dist/chunks/toolbar-CjHj5fIX.cjs.js.map +1 -0
- package/dist/chunks/{toolbar-Bc6yC_Kq.es.js → toolbar-DLScuBdf.es.js} +14 -13
- package/dist/chunks/toolbar-DLScuBdf.es.js.map +1 -0
- package/dist/chunks/tooltip-BB7ooTKa.cjs.js +2 -0
- package/dist/chunks/tooltip-BB7ooTKa.cjs.js.map +1 -0
- package/dist/chunks/tooltip-Q46epl2a.es.js +274 -0
- package/dist/chunks/tooltip-Q46epl2a.es.js.map +1 -0
- package/dist/chunks/useButton-DlcUcB98.es.js +56 -0
- package/dist/chunks/useButton-DlcUcB98.es.js.map +1 -0
- package/dist/chunks/useButton-hi3sM3Ce.cjs.js +2 -0
- package/dist/chunks/useButton-hi3sM3Ce.cjs.js.map +1 -0
- package/dist/chunks/useCollator-BvjDbml1.es.js.map +1 -1
- package/dist/chunks/useCollator-ZqnkTllN.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-Dw7VGiwz.cjs.js +2 -0
- package/dist/chunks/{useDateFormatter-dQunecsL.cjs.js.map → useDateFormatter-Dw7VGiwz.cjs.js.map} +1 -1
- package/dist/chunks/{useDateFormatter-CFejfBgJ.es.js → useDateFormatter-kmlij37M.es.js} +441 -421
- package/dist/chunks/{useDateFormatter-CFejfBgJ.es.js.map → useDateFormatter-kmlij37M.es.js.map} +1 -1
- package/dist/chunks/{useEvent-Cao_u7hG.cjs.js → useEvent-CuUOU5WV.cjs.js} +2 -2
- package/dist/chunks/{useEvent-Cao_u7hG.cjs.js.map → useEvent-CuUOU5WV.cjs.js.map} +1 -1
- package/dist/chunks/{useEvent-CMKtxjkk.es.js → useEvent-YHhqZvpU.es.js} +7 -7
- package/dist/chunks/{useEvent-CMKtxjkk.es.js.map → useEvent-YHhqZvpU.es.js.map} +1 -1
- package/dist/chunks/{useField-BeQNqtrH.es.js → useField-Ce9zQxmx.es.js} +3 -3
- package/dist/chunks/{useField-BeQNqtrH.es.js.map → useField-Ce9zQxmx.es.js.map} +1 -1
- package/dist/chunks/{useField-C3i64Axh.cjs.js → useField-DmqO9k7a.cjs.js} +2 -2
- package/dist/chunks/{useField-C3i64Axh.cjs.js.map → useField-DmqO9k7a.cjs.js.map} +1 -1
- package/dist/chunks/useFilter-Bh0adxQ-.es.js.map +1 -1
- package/dist/chunks/useFilter-Du48WXDn.cjs.js.map +1 -1
- package/dist/chunks/{useFocus-B2KLYI7p.es.js → useFocus-BvGvYIan.es.js} +6 -6
- package/dist/chunks/{useFocus-B2KLYI7p.es.js.map → useFocus-BvGvYIan.es.js.map} +1 -1
- package/dist/chunks/{useFocus-BmPbv2AS.cjs.js → useFocus-CXfPnJ5G.cjs.js} +2 -2
- package/dist/chunks/{useFocus-BmPbv2AS.cjs.js.map → useFocus-CXfPnJ5G.cjs.js.map} +1 -1
- package/dist/chunks/{useFocusRing-CGS5w1di.es.js → useFocusRing-C1vq7lTw.es.js} +4 -4
- package/dist/chunks/{useFocusRing-CGS5w1di.es.js.map → useFocusRing-C1vq7lTw.es.js.map} +1 -1
- package/dist/chunks/{useFocusRing-Cq8Zm8qB.cjs.js → useFocusRing-ixPPR18r.cjs.js} +2 -2
- package/dist/chunks/{useFocusRing-Cq8Zm8qB.cjs.js.map → useFocusRing-ixPPR18r.cjs.js.map} +1 -1
- package/dist/chunks/useFocusVisible-BvNyuIMJ.es.js +111 -0
- package/dist/chunks/useFocusVisible-BvNyuIMJ.es.js.map +1 -0
- package/dist/chunks/useFocusVisible-ofYjJ-l6.cjs.js +2 -0
- package/dist/chunks/useFocusVisible-ofYjJ-l6.cjs.js.map +1 -0
- package/dist/chunks/{useFocusWithin-ypYig0QZ.cjs.js → useFocusWithin-Bf2suIR7.cjs.js} +2 -2
- package/dist/chunks/{useFocusWithin-ypYig0QZ.cjs.js.map → useFocusWithin-Bf2suIR7.cjs.js.map} +1 -1
- package/dist/chunks/{useFocusWithin-DxkmDuYs.es.js → useFocusWithin-s8WR5xWD.es.js} +6 -6
- package/dist/chunks/{useFocusWithin-DxkmDuYs.es.js.map → useFocusWithin-s8WR5xWD.es.js.map} +1 -1
- package/dist/chunks/useFocusable-9nZX8LFj.es.js +77 -0
- package/dist/chunks/useFocusable-9nZX8LFj.es.js.map +1 -0
- package/dist/chunks/useFocusable-lxn-toA4.cjs.js +2 -0
- package/dist/chunks/useFocusable-lxn-toA4.cjs.js.map +1 -0
- package/dist/chunks/useFormReset--wPlnEOl.cjs.js +2 -0
- package/dist/chunks/useFormReset--wPlnEOl.cjs.js.map +1 -0
- package/dist/chunks/useFormReset-DurgUJL-.es.js +21 -0
- package/dist/chunks/useFormReset-DurgUJL-.es.js.map +1 -0
- package/dist/chunks/useFormValidation-Cuj--965.cjs.js +2 -0
- package/dist/chunks/useFormValidation-Cuj--965.cjs.js.map +1 -0
- package/dist/chunks/useFormValidation-YmZxjLYm.es.js +202 -0
- package/dist/chunks/useFormValidation-YmZxjLYm.es.js.map +1 -0
- package/dist/chunks/{useHover-CTqV4Nw8.cjs.js → useHover-CS1E3DZy.cjs.js} +2 -2
- package/dist/chunks/{useHover-CTqV4Nw8.cjs.js.map → useHover-CS1E3DZy.cjs.js.map} +1 -1
- package/dist/chunks/{useHover-Dcwl8eOA.es.js → useHover-D4cqdNG6.es.js} +2 -2
- package/dist/chunks/{useHover-Dcwl8eOA.es.js.map → useHover-D4cqdNG6.es.js.map} +1 -1
- package/dist/chunks/{useLabel-CisZ8a6h.es.js → useLabel-BBmkkrPP.es.js} +2 -2
- package/dist/chunks/{useLabel-CisZ8a6h.es.js.map → useLabel-BBmkkrPP.es.js.map} +1 -1
- package/dist/chunks/{useLabel-CNejlqhX.cjs.js → useLabel-Y8tWagLu.cjs.js} +2 -2
- package/dist/chunks/{useLabel-CNejlqhX.cjs.js.map → useLabel-Y8tWagLu.cjs.js.map} +1 -1
- package/dist/chunks/useLocalizedStringFormatter-CvzOUusg.es.js.map +1 -1
- package/dist/chunks/useLocalizedStringFormatter-fJnbqb2x.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-CHQHbwut.es.js +454 -0
- package/dist/chunks/usePress-CHQHbwut.es.js.map +1 -0
- package/dist/chunks/usePress-EAB51g0R.cjs.js +8 -0
- package/dist/chunks/usePress-EAB51g0R.cjs.js.map +1 -0
- package/dist/chunks/{useProgressBar-PUck7ed-.cjs.js → useProgressBar-8ZyM2_T3.cjs.js} +2 -2
- package/dist/chunks/{useProgressBar-PUck7ed-.cjs.js.map → useProgressBar-8ZyM2_T3.cjs.js.map} +1 -1
- package/dist/chunks/{useProgressBar-CRW7pbYx.es.js → useProgressBar-BgURyN6q.es.js} +5 -5
- package/dist/chunks/{useProgressBar-CRW7pbYx.es.js.map → useProgressBar-BgURyN6q.es.js.map} +1 -1
- package/dist/chunks/{useSeparator-CZKjqF0N.cjs.js → useSeparator-B-OtWwE7.cjs.js} +2 -2
- package/dist/chunks/{useSeparator-CZKjqF0N.cjs.js.map → useSeparator-B-OtWwE7.cjs.js.map} +1 -1
- package/dist/chunks/{useSeparator-g1ilWvTX.es.js → useSeparator-Dg70ACBm.es.js} +2 -2
- package/dist/chunks/{useSeparator-g1ilWvTX.es.js.map → useSeparator-Dg70ACBm.es.js.map} +1 -1
- package/dist/chunks/{useSingleSelectListState-BrOqG2AF.cjs.js → useSingleSelectListState-C0yvvGsR.cjs.js} +2 -2
- package/dist/chunks/{useSingleSelectListState-BrOqG2AF.cjs.js.map → useSingleSelectListState-C0yvvGsR.cjs.js.map} +1 -1
- package/dist/chunks/{useSingleSelectListState-BrpXw6lw.es.js → useSingleSelectListState-uzLHyabs.es.js} +2 -2
- package/dist/chunks/{useSingleSelectListState-BrpXw6lw.es.js.map → useSingleSelectListState-uzLHyabs.es.js.map} +1 -1
- package/dist/chunks/{useSpinButton-DcOZDNgb.es.js → useSpinButton-C-tpK-T9.es.js} +181 -209
- package/dist/chunks/useSpinButton-C-tpK-T9.es.js.map +1 -0
- package/dist/chunks/useSpinButton-Cw8QxU2l.cjs.js +2 -0
- package/dist/chunks/useSpinButton-Cw8QxU2l.cjs.js.map +1 -0
- package/dist/chunks/useSyncRef-DGRbdR4H.es.js +13 -0
- package/dist/chunks/useSyncRef-DGRbdR4H.es.js.map +1 -0
- package/dist/chunks/useSyncRef-bcjp9eId.cjs.js +2 -0
- package/dist/chunks/useSyncRef-bcjp9eId.cjs.js.map +1 -0
- package/dist/chunks/useTextField-Dxspe3Dd.es.js +91 -0
- package/dist/chunks/useTextField-Dxspe3Dd.es.js.map +1 -0
- package/dist/chunks/useTextField-MxjVF2Cs.cjs.js +2 -0
- package/dist/chunks/useTextField-MxjVF2Cs.cjs.js.map +1 -0
- package/dist/chunks/useToggle-CCq_jSTE.es.js +62 -0
- package/dist/chunks/useToggle-CCq_jSTE.es.js.map +1 -0
- package/dist/chunks/useToggle-CTG3hkKx.cjs.js +2 -0
- package/dist/chunks/useToggle-CTG3hkKx.cjs.js.map +1 -0
- package/dist/chunks/useToggleState-Dl-o05wQ.cjs.js +2 -0
- package/dist/chunks/useToggleState-Dl-o05wQ.cjs.js.map +1 -0
- package/dist/chunks/useToggleState-Uh0wTgdI.es.js +22 -0
- package/dist/chunks/useToggleState-Uh0wTgdI.es.js.map +1 -0
- package/dist/chunks/{useToolbar-DaBxAQpy.es.js → useToolbar-Be7EMzF5.es.js} +4 -4
- package/dist/chunks/{useToolbar-DaBxAQpy.es.js.map → useToolbar-Be7EMzF5.es.js.map} +1 -1
- package/dist/chunks/{useToolbar-CqrPUpY4.cjs.js → useToolbar-Dx3B5fDy.cjs.js} +2 -2
- package/dist/chunks/{useToolbar-CqrPUpY4.cjs.js.map → useToolbar-Dx3B5fDy.cjs.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-Bag2AAeo.cjs.js → utils-BHdR5Nww.cjs.js} +2 -2
- package/dist/chunks/{utils-Bag2AAeo.cjs.js.map → utils-BHdR5Nww.cjs.js.map} +1 -1
- package/dist/chunks/{utils-CK1WzOK8.es.js → utils-BkdW_cdL.es.js} +2 -2
- package/dist/chunks/{utils-CK1WzOK8.es.js.map → utils-BkdW_cdL.es.js.map} +1 -1
- package/dist/chunks/utils-BlXAWjB_.es.js +184 -0
- package/dist/chunks/utils-BlXAWjB_.es.js.map +1 -0
- package/dist/chunks/utils-JGx-H9sJ.cjs.js +2 -0
- package/dist/chunks/utils-JGx-H9sJ.cjs.js.map +1 -0
- package/dist/chunks/{visually-hidden-Ct7jWlZQ.es.js → visually-hidden-Cr2DdJfv.es.js} +2 -2
- package/dist/chunks/{visually-hidden-Ct7jWlZQ.es.js.map → visually-hidden-Cr2DdJfv.es.js.map} +1 -1
- package/dist/chunks/{visually-hidden-CcZJkTkB.cjs.js → visually-hidden-DxNUFbOh.cjs.js} +2 -2
- package/dist/chunks/{visually-hidden-CcZJkTkB.cjs.js.map → visually-hidden-DxNUFbOh.cjs.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/badge.cjs +1 -1
- package/dist/components/badge.es.js +1 -1
- package/dist/components/button.cjs +1 -1
- package/dist/components/button.es.js +1 -1
- package/dist/components/calendar.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/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 +39 -39
- 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/divider.cjs +1 -1
- package/dist/components/divider.es.js +1 -1
- package/dist/components/form-field.cjs +1 -1
- package/dist/components/form-field.es.js +1 -1
- package/dist/components/group.cjs +1 -1
- package/dist/components/group.es.js +1 -1
- package/dist/components/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/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/loading-spinner.cjs +1 -1
- package/dist/components/loading-spinner.es.js +1 -1
- package/dist/components/multiline-text-input.cjs +1 -1
- package/dist/components/multiline-text-input.es.js +1 -1
- package/dist/components/nimbus-provider.cjs +1 -1
- package/dist/components/nimbus-provider.es.js +1 -1
- package/dist/components/number-input.cjs +1 -1
- package/dist/components/number-input.es.js +1 -1
- package/dist/components/password-input.cjs +1 -1
- package/dist/components/password-input.es.js +1 -1
- package/dist/components/progress-bar.cjs +1 -1
- package/dist/components/progress-bar.es.js +1 -1
- package/dist/components/radio-input.cjs +1 -1
- package/dist/components/radio-input.es.js +1 -1
- package/dist/components/range-calendar.cjs +1 -1
- package/dist/components/range-calendar.es.js +1 -1
- package/dist/components/select.cjs +1 -1
- package/dist/components/select.es.js +1 -1
- package/dist/components/split-button.cjs +1 -1
- package/dist/components/split-button.es.js +1 -1
- package/dist/components/switch.cjs +1 -1
- package/dist/components/switch.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 +2 -2
- package/dist/components/visually-hidden.cjs +1 -1
- package/dist/components/visually-hidden.es.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.es.js +40 -40
- package/package.json +9 -10
- package/dist/chunks/Button-CcXB_0ry.es.js +0 -80
- package/dist/chunks/Button-CcXB_0ry.es.js.map +0 -1
- package/dist/chunks/Button-POnkHGAl.cjs.js +0 -2
- package/dist/chunks/Button-POnkHGAl.cjs.js.map +0 -1
- package/dist/chunks/DateField-1UP91HrH.cjs.js +0 -2
- package/dist/chunks/DateField-1UP91HrH.cjs.js.map +0 -1
- package/dist/chunks/DateField-B54wG86x.es.js.map +0 -1
- package/dist/chunks/DatePicker-BG5u-FaB.es.js +0 -762
- package/dist/chunks/DatePicker-BG5u-FaB.es.js.map +0 -1
- package/dist/chunks/DatePicker-BKexK-Dx.cjs.js +0 -2
- package/dist/chunks/DatePicker-BKexK-Dx.cjs.js.map +0 -1
- package/dist/chunks/Dialog-Dz-h29rR.es.js +0 -1890
- package/dist/chunks/Dialog-Dz-h29rR.es.js.map +0 -1
- package/dist/chunks/Dialog-cOejkHqh.cjs.js +0 -2
- package/dist/chunks/Dialog-cOejkHqh.cjs.js.map +0 -1
- package/dist/chunks/FocusScope-C0BWU3OK.cjs.js +0 -2
- package/dist/chunks/FocusScope-C0BWU3OK.cjs.js.map +0 -1
- package/dist/chunks/FocusScope-WG69HxuH.es.js +0 -671
- package/dist/chunks/FocusScope-WG69HxuH.es.js.map +0 -1
- package/dist/chunks/Heading-CNw7cSHE.es.js.map +0 -1
- package/dist/chunks/Heading-HwM6p_yd.cjs.js +0 -2
- package/dist/chunks/Heading-HwM6p_yd.cjs.js.map +0 -1
- package/dist/chunks/ListBox-D3hU3NYN.cjs.js +0 -2
- package/dist/chunks/ListBox-D3hU3NYN.cjs.js.map +0 -1
- package/dist/chunks/ListBox-oj3R0YoN.es.js +0 -645
- package/dist/chunks/ListBox-oj3R0YoN.es.js.map +0 -1
- package/dist/chunks/ProgressBar-B7u7ocRM.cjs.js +0 -2
- package/dist/chunks/ProgressBar-B7u7ocRM.cjs.js.map +0 -1
- package/dist/chunks/ProgressBar-DSxkuZBK.es.js +0 -39
- package/dist/chunks/ProgressBar-DSxkuZBK.es.js.map +0 -1
- package/dist/chunks/Separator-BVSCS8fb.cjs.js +0 -18
- package/dist/chunks/Separator-BVSCS8fb.cjs.js.map +0 -1
- package/dist/chunks/Separator-m-nxIY-Z.es.js.map +0 -1
- package/dist/chunks/ToggleButton--Chrvt2-.es.js.map +0 -1
- package/dist/chunks/ToggleButton-M-hJvuFu.cjs.js +0 -2
- package/dist/chunks/ToggleButton-M-hJvuFu.cjs.js.map +0 -1
- package/dist/chunks/combobox-0Wmq1eri.es.js +0 -1919
- package/dist/chunks/combobox-0Wmq1eri.es.js.map +0 -1
- package/dist/chunks/combobox-B8xjkPGW.cjs.js +0 -2
- package/dist/chunks/combobox-B8xjkPGW.cjs.js.map +0 -1
- package/dist/chunks/domHelpers-InH3T0qs.es.js +0 -16
- package/dist/chunks/domHelpers-InH3T0qs.es.js.map +0 -1
- package/dist/chunks/domHelpers-YAYZ9fE9.cjs.js +0 -2
- package/dist/chunks/domHelpers-YAYZ9fE9.cjs.js.map +0 -1
- package/dist/chunks/filterDOMProps-HzsCnE3d.es.js +0 -25
- package/dist/chunks/filterDOMProps-HzsCnE3d.es.js.map +0 -1
- package/dist/chunks/filterDOMProps-_f3L9QML.cjs.js +0 -2
- package/dist/chunks/filterDOMProps-_f3L9QML.cjs.js.map +0 -1
- package/dist/chunks/focusSafely-Bv_RnHNT.cjs.js +0 -2
- package/dist/chunks/link-B4E0SLxG.es.js +0 -51
- package/dist/chunks/link-B4E0SLxG.es.js.map +0 -1
- package/dist/chunks/link-CV620rwL.cjs.js +0 -2
- package/dist/chunks/link-CV620rwL.cjs.js.map +0 -1
- package/dist/chunks/mergeProps-CqhkQvMb.cjs.js +0 -2
- package/dist/chunks/mergeProps-CqhkQvMb.cjs.js.map +0 -1
- package/dist/chunks/mergeProps-Cwgnfqio.es.js.map +0 -1
- package/dist/chunks/number-5qMXmHyn.es.js +0 -21
- package/dist/chunks/number-5qMXmHyn.es.js.map +0 -1
- package/dist/chunks/number-CnrRPi4_.cjs.js +0 -2
- package/dist/chunks/number-CnrRPi4_.cjs.js.map +0 -1
- package/dist/chunks/number-input-CecYepck.cjs.js +0 -2
- package/dist/chunks/number-input-CecYepck.cjs.js.map +0 -1
- package/dist/chunks/number-input-DhePUBX4.es.js.map +0 -1
- package/dist/chunks/openLink-BjodHrGD.cjs.js +0 -2
- package/dist/chunks/platform-D-bXaP3n.es.js +0 -45
- package/dist/chunks/platform-D-bXaP3n.es.js.map +0 -1
- package/dist/chunks/platform-Vom5nEUR.cjs.js +0 -2
- package/dist/chunks/platform-Vom5nEUR.cjs.js.map +0 -1
- package/dist/chunks/radio-input-CvBi7RAL.es.js +0 -320
- package/dist/chunks/radio-input-CvBi7RAL.es.js.map +0 -1
- package/dist/chunks/radio-input-jKyEGJsg.cjs.js +0 -2
- package/dist/chunks/radio-input-jKyEGJsg.cjs.js.map +0 -1
- package/dist/chunks/scrollIntoView-B2eLOBfw.cjs.js +0 -2
- package/dist/chunks/scrollIntoView-B2eLOBfw.cjs.js.map +0 -1
- package/dist/chunks/scrollIntoView-C5qp-va8.es.js +0 -64
- package/dist/chunks/scrollIntoView-C5qp-va8.es.js.map +0 -1
- package/dist/chunks/select-B3WgS573.cjs.js +0 -2
- package/dist/chunks/select-B3WgS573.cjs.js.map +0 -1
- package/dist/chunks/select-DbtGesVC.es.js +0 -795
- package/dist/chunks/select-DbtGesVC.es.js.map +0 -1
- package/dist/chunks/tag-group-1AADllBn.es.js.map +0 -1
- package/dist/chunks/tag-group-DNhZCkrF.cjs.js +0 -2
- package/dist/chunks/tag-group-DNhZCkrF.cjs.js.map +0 -1
- package/dist/chunks/toolbar-BOvyhSyS.cjs.js +0 -2
- package/dist/chunks/toolbar-BOvyhSyS.cjs.js.map +0 -1
- package/dist/chunks/toolbar-Bc6yC_Kq.es.js.map +0 -1
- package/dist/chunks/tooltip-ChDnFUve.cjs.js +0 -2
- package/dist/chunks/tooltip-ChDnFUve.cjs.js.map +0 -1
- package/dist/chunks/tooltip-cAKlYo3d.es.js +0 -273
- package/dist/chunks/tooltip-cAKlYo3d.es.js.map +0 -1
- package/dist/chunks/useButton-ChUnssRf.cjs.js +0 -2
- package/dist/chunks/useButton-ChUnssRf.cjs.js.map +0 -1
- package/dist/chunks/useButton-Cpm7uwPO.es.js +0 -48
- package/dist/chunks/useButton-Cpm7uwPO.es.js.map +0 -1
- package/dist/chunks/useDateFormatter-dQunecsL.cjs.js +0 -2
- package/dist/chunks/useDescription-D908ZGGj.es.js +0 -33
- package/dist/chunks/useDescription-D908ZGGj.es.js.map +0 -1
- package/dist/chunks/useDescription-Dy1e4_gg.cjs.js +0 -2
- package/dist/chunks/useDescription-Dy1e4_gg.cjs.js.map +0 -1
- package/dist/chunks/useFocusVisible-CfEJEJCf.cjs.js +0 -2
- package/dist/chunks/useFocusVisible-CfEJEJCf.cjs.js.map +0 -1
- package/dist/chunks/useFocusVisible-Dk8OwOkH.es.js +0 -165
- package/dist/chunks/useFocusVisible-Dk8OwOkH.es.js.map +0 -1
- package/dist/chunks/useFocusable-Btl_N3EJ.cjs.js +0 -2
- package/dist/chunks/useFocusable-Btl_N3EJ.cjs.js.map +0 -1
- package/dist/chunks/useFocusable-CxDxGOcK.es.js +0 -101
- package/dist/chunks/useFocusable-CxDxGOcK.es.js.map +0 -1
- package/dist/chunks/useFormReset-BiO2-w_B.es.js +0 -21
- package/dist/chunks/useFormReset-BiO2-w_B.es.js.map +0 -1
- package/dist/chunks/useFormReset-DXbasS3m.cjs.js +0 -2
- package/dist/chunks/useFormReset-DXbasS3m.cjs.js.map +0 -1
- package/dist/chunks/useFormValidation-BHPlWicy.cjs.js +0 -2
- package/dist/chunks/useFormValidation-BHPlWicy.cjs.js.map +0 -1
- package/dist/chunks/useFormValidation-wEYzOtbK.es.js +0 -200
- package/dist/chunks/useFormValidation-wEYzOtbK.es.js.map +0 -1
- package/dist/chunks/usePress-DrP775Ks.cjs.js +0 -8
- package/dist/chunks/usePress-DrP775Ks.cjs.js.map +0 -1
- package/dist/chunks/usePress-K9GdFtHv.es.js +0 -471
- package/dist/chunks/usePress-K9GdFtHv.es.js.map +0 -1
- package/dist/chunks/useSpinButton-BowNa_-v.cjs.js +0 -2
- package/dist/chunks/useSpinButton-BowNa_-v.cjs.js.map +0 -1
- package/dist/chunks/useSpinButton-DcOZDNgb.es.js.map +0 -1
- package/dist/chunks/useSyncRef-D9Qzt8nv.cjs.js +0 -2
- package/dist/chunks/useSyncRef-D9Qzt8nv.cjs.js.map +0 -1
- package/dist/chunks/useSyncRef-Gu0I2GXX.es.js +0 -47
- package/dist/chunks/useSyncRef-Gu0I2GXX.es.js.map +0 -1
- package/dist/chunks/useTextField-Birct0ti.cjs.js +0 -2
- package/dist/chunks/useTextField-Birct0ti.cjs.js.map +0 -1
- package/dist/chunks/useTextField-CF9hrjRg.es.js +0 -88
- package/dist/chunks/useTextField-CF9hrjRg.es.js.map +0 -1
- package/dist/chunks/useToggle-B5oGO_Tl.cjs.js +0 -2
- package/dist/chunks/useToggle-B5oGO_Tl.cjs.js.map +0 -1
- package/dist/chunks/useToggle-DL960lkn.es.js +0 -50
- package/dist/chunks/useToggle-DL960lkn.es.js.map +0 -1
- package/dist/chunks/useToggleState-bO90kfqG.cjs.js +0 -2
- package/dist/chunks/useToggleState-bO90kfqG.cjs.js.map +0 -1
- package/dist/chunks/useToggleState-mKFEFD2Q.es.js +0 -19
- package/dist/chunks/useToggleState-mKFEFD2Q.es.js.map +0 -1
- package/dist/chunks/utils-C732zipO.es.js +0 -238
- package/dist/chunks/utils-C732zipO.es.js.map +0 -1
- package/dist/chunks/utils-Ci_mT5Zh.cjs.js +0 -2
- package/dist/chunks/utils-Ci_mT5Zh.cjs.js.map +0 -1
|
@@ -1,38 +1,37 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import {
|
|
3
|
-
import { $ as
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import { $ as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { $ as
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { $ as
|
|
17
|
-
import { $ as
|
|
18
|
-
import {
|
|
19
|
-
import { a as
|
|
20
|
-
import { $ as
|
|
21
|
-
import {
|
|
22
|
-
import { $ as
|
|
23
|
-
import { a as
|
|
24
|
-
import { $ as
|
|
25
|
-
import { a as
|
|
26
|
-
import { $ as
|
|
27
|
-
import { $ as
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import { $ as Il } from "./
|
|
31
|
-
import {
|
|
32
|
-
import { c as Be } from "./useFocusable-CxDxGOcK.es.js";
|
|
1
|
+
import { c as xe, $ as q, a as Pe, d as ee, e as ll } from "./mergeProps-B_9syxhT.es.js";
|
|
2
|
+
import { $ as Qe, d as il } from "./openLink-UGin_Dml.es.js";
|
|
3
|
+
import { $ as et } from "./usePress-CHQHbwut.es.js";
|
|
4
|
+
import { a as Fe, d as se } from "./utils-BlXAWjB_.es.js";
|
|
5
|
+
import { $ as Se } from "./focusWithoutScrolling-CDw3JYiq.es.js";
|
|
6
|
+
import { $ as nl } from "./useGlobalListeners-BOOfV5Wh.es.js";
|
|
7
|
+
import { $ as rl, c as ol, b as Me, d as Be } from "./scrollIntoView-DBSz0DQ7.es.js";
|
|
8
|
+
import S, { useRef as D, useEffect as Z, useMemo as U, cloneElement as tt, forwardRef as lt, useContext as Q, createContext as M, useCallback as G, useState as te, isValidElement as sl } from "react";
|
|
9
|
+
import { $ as Ke } from "./focusSafely-Z_llPDi1.es.js";
|
|
10
|
+
import { b as al, h as ul } from "./platform-BuOpbxqC.es.js";
|
|
11
|
+
import { $ as ie } from "./useEvent-YHhqZvpU.es.js";
|
|
12
|
+
import { a as cl } from "./FocusScope-DqjrxokF.es.js";
|
|
13
|
+
import { b as Ce } from "./useFocusVisible-BvNyuIMJ.es.js";
|
|
14
|
+
import { flushSync as dl, createPortal as fl } from "react-dom";
|
|
15
|
+
import { $ as hl } from "./context-Pt-0ojuK.es.js";
|
|
16
|
+
import { $ as pl } from "./useCollator-BvjDbml1.es.js";
|
|
17
|
+
import { $ as it } from "./useControlledState-u436Wbp1.es.js";
|
|
18
|
+
import { a as we } from "./Input-DEUFE8kQ.es.js";
|
|
19
|
+
import { $ as ae, c as nt, b as yl, e as rt, a as vl, d as ot, f as bl } from "./utils-BkdW_cdL.es.js";
|
|
20
|
+
import { $ as gl, a as $l } from "./Form-yBl0QZl8.es.js";
|
|
21
|
+
import { a as ml } from "./Group-BrHhkg3Q.es.js";
|
|
22
|
+
import { $ as xl } from "./Label-B2YyCdLl.es.js";
|
|
23
|
+
import { a as Sl } from "./TextArea-D31Tyn5f.es.js";
|
|
24
|
+
import { $ as Kl } from "./Text-DOcU1ycg.es.js";
|
|
25
|
+
import { a as Cl, $ as wl } from "./Hidden-j3Lbt7xL.es.js";
|
|
26
|
+
import { $ as st } from "./filterDOMProps-BSVCO5jK.es.js";
|
|
27
|
+
import { $ as El } from "./useTextField-Dxspe3Dd.es.js";
|
|
28
|
+
import { a as Dl } from "./useLabel-BBmkkrPP.es.js";
|
|
29
|
+
import { $ as kl } from "./useObjectRef-CaJ5pgjX.es.js";
|
|
30
|
+
import { $ as Il } from "./useLocalizedStringFormatter-CvzOUusg.es.js";
|
|
31
|
+
import { b as Oe } from "./useFocusable-9nZX8LFj.es.js";
|
|
33
32
|
import { $ as at } from "./SSRProvider-Cu8KibIK.es.js";
|
|
34
|
-
import { $ as
|
|
35
|
-
function
|
|
33
|
+
import { $ as Pl } from "./useSeparator-Dg70ACBm.es.js";
|
|
34
|
+
function Ne(r, e) {
|
|
36
35
|
const t = D(!0), l = D(null);
|
|
37
36
|
xe(() => (t.current = !0, () => {
|
|
38
37
|
t.current = !1;
|
|
@@ -40,85 +39,58 @@ function Oe(r, e) {
|
|
|
40
39
|
t.current ? t.current = !1 : (!l.current || e.some((i, n) => !Object.is(i, l[n]))) && r(), l.current = e;
|
|
41
40
|
}, e);
|
|
42
41
|
}
|
|
43
|
-
const ut = "react-aria-clear-focus",
|
|
44
|
-
function
|
|
45
|
-
return
|
|
42
|
+
const ut = "react-aria-clear-focus", Ee = "react-aria-focus";
|
|
43
|
+
function X(r) {
|
|
44
|
+
return al() ? r.metaKey : r.ctrlKey;
|
|
46
45
|
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
let [e, t] = X();
|
|
51
|
-
return ll(() => {
|
|
52
|
-
if (!r) return;
|
|
53
|
-
let l = ye.get(r);
|
|
54
|
-
if (l)
|
|
55
|
-
t(l.element.id);
|
|
56
|
-
else {
|
|
57
|
-
let i = `react-aria-description-${Rl++}`;
|
|
58
|
-
t(i);
|
|
59
|
-
let n = document.createElement("div");
|
|
60
|
-
n.id = i, n.style.display = "none", n.textContent = r, document.body.appendChild(n), l = {
|
|
61
|
-
refCount: 0,
|
|
62
|
-
element: n
|
|
63
|
-
}, ye.set(r, l);
|
|
64
|
-
}
|
|
65
|
-
return l.refCount++, () => {
|
|
66
|
-
l && --l.refCount === 0 && (l.element.remove(), ye.delete(r));
|
|
67
|
-
};
|
|
68
|
-
}, [
|
|
69
|
-
r
|
|
70
|
-
]), {
|
|
71
|
-
"aria-describedby": r ? e : void 0
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
const Al = 500;
|
|
75
|
-
function Ll(r) {
|
|
76
|
-
let { isDisabled: e, onLongPressStart: t, onLongPressEnd: l, onLongPress: i, threshold: n = Al, accessibilityDescription: o } = r;
|
|
46
|
+
const Fl = 500;
|
|
47
|
+
function Rl(r) {
|
|
48
|
+
let { isDisabled: e, onLongPressStart: t, onLongPressEnd: l, onLongPress: i, threshold: n = Fl, accessibilityDescription: o } = r;
|
|
77
49
|
const u = D(void 0);
|
|
78
|
-
let { addGlobalListener: s, removeGlobalListener:
|
|
50
|
+
let { addGlobalListener: s, removeGlobalListener: f } = nl(), { pressProps: m } = et({
|
|
79
51
|
isDisabled: e,
|
|
80
|
-
onPressStart(
|
|
81
|
-
if (
|
|
82
|
-
...
|
|
52
|
+
onPressStart(p) {
|
|
53
|
+
if (p.continuePropagation(), (p.pointerType === "mouse" || p.pointerType === "touch") && (t && t({
|
|
54
|
+
...p,
|
|
83
55
|
type: "longpressstart"
|
|
84
56
|
}), u.current = setTimeout(() => {
|
|
85
|
-
|
|
57
|
+
p.target.dispatchEvent(new PointerEvent("pointercancel", {
|
|
86
58
|
bubbles: !0
|
|
87
|
-
})),
|
|
88
|
-
...
|
|
59
|
+
})), Fe(p.target).activeElement !== p.target && Se(p.target), i && i({
|
|
60
|
+
...p,
|
|
89
61
|
type: "longpress"
|
|
90
62
|
}), u.current = void 0;
|
|
91
|
-
}, n),
|
|
63
|
+
}, n), p.pointerType === "touch")) {
|
|
92
64
|
let y = (v) => {
|
|
93
65
|
v.preventDefault();
|
|
94
66
|
};
|
|
95
|
-
s(
|
|
67
|
+
s(p.target, "contextmenu", y, {
|
|
96
68
|
once: !0
|
|
97
69
|
}), s(window, "pointerup", () => {
|
|
98
70
|
setTimeout(() => {
|
|
99
|
-
|
|
71
|
+
f(p.target, "contextmenu", y);
|
|
100
72
|
}, 30);
|
|
101
73
|
}, {
|
|
102
74
|
once: !0
|
|
103
75
|
});
|
|
104
76
|
}
|
|
105
77
|
},
|
|
106
|
-
onPressEnd(
|
|
107
|
-
u.current && clearTimeout(u.current), l && (
|
|
108
|
-
...
|
|
78
|
+
onPressEnd(p) {
|
|
79
|
+
u.current && clearTimeout(u.current), l && (p.pointerType === "mouse" || p.pointerType === "touch") && l({
|
|
80
|
+
...p,
|
|
109
81
|
type: "longpressend"
|
|
110
82
|
});
|
|
111
83
|
}
|
|
112
|
-
}),
|
|
84
|
+
}), h = rl(i && !e ? o : void 0);
|
|
113
85
|
return {
|
|
114
|
-
longPressProps:
|
|
86
|
+
longPressProps: q(m, h)
|
|
115
87
|
};
|
|
116
88
|
}
|
|
117
|
-
function
|
|
118
|
-
let e =
|
|
119
|
-
e !== r && (e &&
|
|
89
|
+
function Re(r) {
|
|
90
|
+
let e = ct(Fe(r));
|
|
91
|
+
e !== r && (e && De(e, r), r && ue(r, e));
|
|
120
92
|
}
|
|
121
|
-
function
|
|
93
|
+
function De(r, e) {
|
|
122
94
|
r.dispatchEvent(new FocusEvent("blur", {
|
|
123
95
|
relatedTarget: e
|
|
124
96
|
})), r.dispatchEvent(new FocusEvent("focusout", {
|
|
@@ -126,7 +98,7 @@ function Ee(r, e) {
|
|
|
126
98
|
relatedTarget: e
|
|
127
99
|
}));
|
|
128
100
|
}
|
|
129
|
-
function
|
|
101
|
+
function ue(r, e) {
|
|
130
102
|
r.dispatchEvent(new FocusEvent("focus", {
|
|
131
103
|
relatedTarget: e
|
|
132
104
|
})), r.dispatchEvent(new FocusEvent("focusin", {
|
|
@@ -134,12 +106,12 @@ function ct(r, e) {
|
|
|
134
106
|
relatedTarget: e
|
|
135
107
|
}));
|
|
136
108
|
}
|
|
137
|
-
function
|
|
138
|
-
let e =
|
|
109
|
+
function ct(r) {
|
|
110
|
+
let e = se(r), t = e?.getAttribute("aria-activedescendant");
|
|
139
111
|
return t && r.getElementById(t) || e;
|
|
140
112
|
}
|
|
141
|
-
function
|
|
142
|
-
return
|
|
113
|
+
function ke(r) {
|
|
114
|
+
return ul() ? r.altKey : r.ctrlKey;
|
|
143
115
|
}
|
|
144
116
|
function oe(r, e) {
|
|
145
117
|
var t, l;
|
|
@@ -147,28 +119,28 @@ function oe(r, e) {
|
|
|
147
119
|
return n && (i = `[data-collection="${CSS.escape(n)}"]${i}`), (l = r.current) === null || l === void 0 ? void 0 : l.querySelector(i);
|
|
148
120
|
}
|
|
149
121
|
const dt = /* @__PURE__ */ new WeakMap();
|
|
150
|
-
function
|
|
151
|
-
let e =
|
|
122
|
+
function Tl(r) {
|
|
123
|
+
let e = Pe();
|
|
152
124
|
return dt.set(r, e), e;
|
|
153
125
|
}
|
|
154
|
-
function
|
|
126
|
+
function Al(r) {
|
|
155
127
|
return dt.get(r);
|
|
156
128
|
}
|
|
157
|
-
const
|
|
158
|
-
function
|
|
129
|
+
const Ll = 1e3;
|
|
130
|
+
function Ml(r) {
|
|
159
131
|
let { keyboardDelegate: e, selectionManager: t, onTypeSelect: l } = r, i = D({
|
|
160
132
|
search: "",
|
|
161
133
|
timeout: void 0
|
|
162
134
|
}).current, n = (o) => {
|
|
163
|
-
let u =
|
|
164
|
-
if (!(!u || o.ctrlKey || o.metaKey || !o.currentTarget.contains(o.target))) {
|
|
135
|
+
let u = Bl(o.key);
|
|
136
|
+
if (!(!u || o.ctrlKey || o.metaKey || !o.currentTarget.contains(o.target) || i.search.length === 0 && u === " ")) {
|
|
165
137
|
if (u === " " && i.search.trim().length > 0 && (o.preventDefault(), "continuePropagation" in o || o.stopPropagation()), i.search += u, e.getKeyForSearch != null) {
|
|
166
138
|
let s = e.getKeyForSearch(i.search, t.focusedKey);
|
|
167
139
|
s == null && (s = e.getKeyForSearch(i.search)), s != null && (t.setFocusedKey(s), l && l(s));
|
|
168
140
|
}
|
|
169
141
|
clearTimeout(i.timeout), i.timeout = setTimeout(() => {
|
|
170
142
|
i.search = "";
|
|
171
|
-
},
|
|
143
|
+
}, Ll);
|
|
172
144
|
}
|
|
173
145
|
};
|
|
174
146
|
return {
|
|
@@ -179,101 +151,101 @@ function Vl(r) {
|
|
|
179
151
|
}
|
|
180
152
|
};
|
|
181
153
|
}
|
|
182
|
-
function
|
|
154
|
+
function Bl(r) {
|
|
183
155
|
return r.length === 1 || !/^[A-Z]/i.test(r) ? r : "";
|
|
184
156
|
}
|
|
185
|
-
function
|
|
186
|
-
let { selectionManager: e, keyboardDelegate: t, ref: l, autoFocus: i = !1, shouldFocusWrap: n = !1, disallowEmptySelection: o = !1, disallowSelectAll: u = !1, escapeKeyBehavior: s = "clearSelection", selectOnFocus:
|
|
187
|
-
var
|
|
188
|
-
if (c.altKey && c.key === "Tab" && c.preventDefault(), !(!((
|
|
189
|
-
const
|
|
157
|
+
function Ol(r) {
|
|
158
|
+
let { selectionManager: e, keyboardDelegate: t, ref: l, autoFocus: i = !1, shouldFocusWrap: n = !1, disallowEmptySelection: o = !1, disallowSelectAll: u = !1, escapeKeyBehavior: s = "clearSelection", selectOnFocus: f = e.selectionBehavior === "replace", disallowTypeAhead: m = !1, shouldUseVirtualFocus: h, allowsTabNavigation: p = !1, isVirtualized: y, scrollRef: v = l, linkBehavior: K = "action" } = r, { direction: $ } = hl(), g = Qe(), E = (c) => {
|
|
159
|
+
var w;
|
|
160
|
+
if (c.altKey && c.key === "Tab" && c.preventDefault(), !(!((w = l.current) === null || w === void 0) && w.contains(c.target))) return;
|
|
161
|
+
const a = (b, Y) => {
|
|
190
162
|
if (b != null) {
|
|
191
|
-
if (e.isLink(b) && K === "selection" &&
|
|
192
|
-
|
|
193
|
-
e.setFocusedKey(b,
|
|
163
|
+
if (e.isLink(b) && K === "selection" && f && !ke(c)) {
|
|
164
|
+
dl(() => {
|
|
165
|
+
e.setFocusedKey(b, Y);
|
|
194
166
|
});
|
|
195
|
-
let
|
|
196
|
-
|
|
167
|
+
let J = oe(l, b), Le = e.getItemProps(b);
|
|
168
|
+
J && g.open(J, c, Le.href, Le.routerOptions);
|
|
197
169
|
return;
|
|
198
170
|
}
|
|
199
|
-
if (e.setFocusedKey(b,
|
|
200
|
-
c.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(b) :
|
|
171
|
+
if (e.setFocusedKey(b, Y), e.isLink(b) && K === "override") return;
|
|
172
|
+
c.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(b) : f && !ke(c) && e.replaceSelection(b);
|
|
201
173
|
}
|
|
202
174
|
};
|
|
203
175
|
switch (c.key) {
|
|
204
176
|
case "ArrowDown":
|
|
205
177
|
if (t.getKeyBelow) {
|
|
206
|
-
var
|
|
207
|
-
let b = e.focusedKey != null ? (
|
|
208
|
-
b == null && n && (b = (A = t.getFirstKey) === null || A === void 0 ? void 0 : A.call(t, e.focusedKey)), b != null && (c.preventDefault(),
|
|
178
|
+
var P, L, A;
|
|
179
|
+
let b = e.focusedKey != null ? (P = t.getKeyBelow) === null || P === void 0 ? void 0 : P.call(t, e.focusedKey) : (L = t.getFirstKey) === null || L === void 0 ? void 0 : L.call(t);
|
|
180
|
+
b == null && n && (b = (A = t.getFirstKey) === null || A === void 0 ? void 0 : A.call(t, e.focusedKey)), b != null && (c.preventDefault(), a(b));
|
|
209
181
|
}
|
|
210
182
|
break;
|
|
211
183
|
case "ArrowUp":
|
|
212
184
|
if (t.getKeyAbove) {
|
|
213
|
-
var
|
|
214
|
-
let b = e.focusedKey != null ? (
|
|
215
|
-
b == null && n && (b = (
|
|
185
|
+
var H, W, ce;
|
|
186
|
+
let b = e.focusedKey != null ? (H = t.getKeyAbove) === null || H === void 0 ? void 0 : H.call(t, e.focusedKey) : (W = t.getLastKey) === null || W === void 0 ? void 0 : W.call(t);
|
|
187
|
+
b == null && n && (b = (ce = t.getLastKey) === null || ce === void 0 ? void 0 : ce.call(t, e.focusedKey)), b != null && (c.preventDefault(), a(b));
|
|
216
188
|
}
|
|
217
189
|
break;
|
|
218
190
|
case "ArrowLeft":
|
|
219
191
|
if (t.getKeyLeftOf) {
|
|
220
|
-
var
|
|
221
|
-
let b = e.focusedKey != null ? (
|
|
222
|
-
b == null && n && (b = $ === "rtl" ? (
|
|
192
|
+
var de, fe, he;
|
|
193
|
+
let b = e.focusedKey != null ? (de = t.getKeyLeftOf) === null || de === void 0 ? void 0 : de.call(t, e.focusedKey) : null;
|
|
194
|
+
b == null && n && (b = $ === "rtl" ? (fe = t.getFirstKey) === null || fe === void 0 ? void 0 : fe.call(t, e.focusedKey) : (he = t.getLastKey) === null || he === void 0 ? void 0 : he.call(t, e.focusedKey)), b != null && (c.preventDefault(), a(b, $ === "rtl" ? "first" : "last"));
|
|
223
195
|
}
|
|
224
196
|
break;
|
|
225
197
|
case "ArrowRight":
|
|
226
198
|
if (t.getKeyRightOf) {
|
|
227
|
-
var
|
|
228
|
-
let b = e.focusedKey != null ? (
|
|
229
|
-
b == null && n && (b = $ === "rtl" ? (
|
|
199
|
+
var pe, ye, ve;
|
|
200
|
+
let b = e.focusedKey != null ? (pe = t.getKeyRightOf) === null || pe === void 0 ? void 0 : pe.call(t, e.focusedKey) : null;
|
|
201
|
+
b == null && n && (b = $ === "rtl" ? (ye = t.getLastKey) === null || ye === void 0 ? void 0 : ye.call(t, e.focusedKey) : (ve = t.getFirstKey) === null || ve === void 0 ? void 0 : ve.call(t, e.focusedKey)), b != null && (c.preventDefault(), a(b, $ === "rtl" ? "last" : "first"));
|
|
230
202
|
}
|
|
231
203
|
break;
|
|
232
204
|
case "Home":
|
|
233
205
|
if (t.getFirstKey) {
|
|
234
206
|
if (e.focusedKey === null && c.shiftKey) return;
|
|
235
207
|
c.preventDefault();
|
|
236
|
-
let b = t.getFirstKey(e.focusedKey,
|
|
237
|
-
e.setFocusedKey(b), b != null && (
|
|
208
|
+
let b = t.getFirstKey(e.focusedKey, X(c));
|
|
209
|
+
e.setFocusedKey(b), b != null && (X(c) && c.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(b) : f && e.replaceSelection(b));
|
|
238
210
|
}
|
|
239
211
|
break;
|
|
240
212
|
case "End":
|
|
241
213
|
if (t.getLastKey) {
|
|
242
214
|
if (e.focusedKey === null && c.shiftKey) return;
|
|
243
215
|
c.preventDefault();
|
|
244
|
-
let b = t.getLastKey(e.focusedKey,
|
|
245
|
-
e.setFocusedKey(b), b != null && (
|
|
216
|
+
let b = t.getLastKey(e.focusedKey, X(c));
|
|
217
|
+
e.setFocusedKey(b), b != null && (X(c) && c.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(b) : f && e.replaceSelection(b));
|
|
246
218
|
}
|
|
247
219
|
break;
|
|
248
220
|
case "PageDown":
|
|
249
221
|
if (t.getKeyPageBelow && e.focusedKey != null) {
|
|
250
222
|
let b = t.getKeyPageBelow(e.focusedKey);
|
|
251
|
-
b != null && (c.preventDefault(),
|
|
223
|
+
b != null && (c.preventDefault(), a(b));
|
|
252
224
|
}
|
|
253
225
|
break;
|
|
254
226
|
case "PageUp":
|
|
255
227
|
if (t.getKeyPageAbove && e.focusedKey != null) {
|
|
256
228
|
let b = t.getKeyPageAbove(e.focusedKey);
|
|
257
|
-
b != null && (c.preventDefault(),
|
|
229
|
+
b != null && (c.preventDefault(), a(b));
|
|
258
230
|
}
|
|
259
231
|
break;
|
|
260
232
|
case "a":
|
|
261
|
-
|
|
233
|
+
X(c) && e.selectionMode === "multiple" && u !== !0 && (c.preventDefault(), e.selectAll());
|
|
262
234
|
break;
|
|
263
235
|
case "Escape":
|
|
264
236
|
s === "clearSelection" && !o && e.selectedKeys.size !== 0 && (c.stopPropagation(), c.preventDefault(), e.clearSelection());
|
|
265
237
|
break;
|
|
266
238
|
case "Tab":
|
|
267
|
-
if (!
|
|
239
|
+
if (!p) {
|
|
268
240
|
if (c.shiftKey) l.current.focus();
|
|
269
241
|
else {
|
|
270
|
-
let b =
|
|
242
|
+
let b = cl(l.current, {
|
|
271
243
|
tabbable: !0
|
|
272
|
-
}),
|
|
244
|
+
}), Y, J;
|
|
273
245
|
do
|
|
274
|
-
|
|
275
|
-
while (
|
|
276
|
-
|
|
246
|
+
J = b.lastChild(), J && (Y = J);
|
|
247
|
+
while (J);
|
|
248
|
+
Y && !Y.contains(document.activeElement) && Se(Y);
|
|
277
249
|
}
|
|
278
250
|
break;
|
|
279
251
|
}
|
|
@@ -282,11 +254,11 @@ function Ul(r) {
|
|
|
282
254
|
top: 0,
|
|
283
255
|
left: 0
|
|
284
256
|
});
|
|
285
|
-
|
|
286
|
-
var c,
|
|
257
|
+
ie(v, "scroll", y ? void 0 : () => {
|
|
258
|
+
var c, w, a, P;
|
|
287
259
|
C.current = {
|
|
288
|
-
top: (
|
|
289
|
-
left: (
|
|
260
|
+
top: (a = (c = v.current) === null || c === void 0 ? void 0 : c.scrollTop) !== null && a !== void 0 ? a : 0,
|
|
261
|
+
left: (P = (w = v.current) === null || w === void 0 ? void 0 : w.scrollLeft) !== null && P !== void 0 ? P : 0
|
|
290
262
|
};
|
|
291
263
|
});
|
|
292
264
|
let k = (c) => {
|
|
@@ -296,128 +268,132 @@ function Ul(r) {
|
|
|
296
268
|
}
|
|
297
269
|
if (c.currentTarget.contains(c.target)) {
|
|
298
270
|
if (e.setFocused(!0), e.focusedKey == null) {
|
|
299
|
-
var
|
|
271
|
+
var w, a;
|
|
300
272
|
let A = (W) => {
|
|
301
|
-
W != null && (e.setFocusedKey(W),
|
|
302
|
-
},
|
|
303
|
-
var
|
|
304
|
-
|
|
273
|
+
W != null && (e.setFocusedKey(W), f && !e.isSelected(W) && e.replaceSelection(W));
|
|
274
|
+
}, H = c.relatedTarget;
|
|
275
|
+
var P, L;
|
|
276
|
+
H && c.currentTarget.compareDocumentPosition(H) & Node.DOCUMENT_POSITION_FOLLOWING ? A((P = e.lastSelectedKey) !== null && P !== void 0 ? P : (w = t.getLastKey) === null || w === void 0 ? void 0 : w.call(t)) : A((L = e.firstSelectedKey) !== null && L !== void 0 ? L : (a = t.getFirstKey) === null || a === void 0 ? void 0 : a.call(t));
|
|
305
277
|
} else !y && v.current && (v.current.scrollTop = C.current.top, v.current.scrollLeft = C.current.left);
|
|
306
278
|
if (e.focusedKey != null && v.current) {
|
|
307
279
|
let A = oe(l, e.focusedKey);
|
|
308
|
-
A instanceof HTMLElement && (!A.contains(document.activeElement) && !
|
|
280
|
+
A instanceof HTMLElement && (!A.contains(document.activeElement) && !h && Se(A), Ce() === "keyboard" && Me(A, {
|
|
309
281
|
containingElement: l.current
|
|
310
282
|
}));
|
|
311
283
|
}
|
|
312
284
|
}
|
|
313
285
|
}, F = (c) => {
|
|
314
286
|
c.currentTarget.contains(c.relatedTarget) || e.setFocused(!1);
|
|
315
|
-
},
|
|
316
|
-
|
|
317
|
-
let { detail:
|
|
318
|
-
c.stopPropagation(), e.setFocused(!0),
|
|
287
|
+
}, R = D(!1);
|
|
288
|
+
ie(l, Ee, h ? (c) => {
|
|
289
|
+
let { detail: w } = c;
|
|
290
|
+
c.stopPropagation(), e.setFocused(!0), w?.focusStrategy === "first" && (R.current = !0);
|
|
319
291
|
} : void 0);
|
|
320
|
-
let
|
|
321
|
-
var c,
|
|
322
|
-
let
|
|
323
|
-
|
|
292
|
+
let B = ee(() => {
|
|
293
|
+
var c, w;
|
|
294
|
+
let a = (w = (c = t.getFirstKey) === null || c === void 0 ? void 0 : c.call(t)) !== null && w !== void 0 ? w : null;
|
|
295
|
+
if (a == null) {
|
|
296
|
+
let P = se();
|
|
297
|
+
Re(l.current), ue(P, null), e.collection.size > 0 && (R.current = !1);
|
|
298
|
+
} else
|
|
299
|
+
e.setFocusedKey(a), R.current = !1;
|
|
324
300
|
});
|
|
325
|
-
|
|
326
|
-
|
|
301
|
+
Ne(() => {
|
|
302
|
+
R.current && B();
|
|
327
303
|
}, [
|
|
328
304
|
e.collection,
|
|
329
|
-
|
|
305
|
+
B
|
|
330
306
|
]);
|
|
331
|
-
let
|
|
332
|
-
e.collection.size > 0 && (
|
|
307
|
+
let T = ee(() => {
|
|
308
|
+
e.collection.size > 0 && (R.current = !1);
|
|
333
309
|
});
|
|
334
|
-
|
|
335
|
-
|
|
310
|
+
Ne(() => {
|
|
311
|
+
T();
|
|
336
312
|
}, [
|
|
337
313
|
e.focusedKey,
|
|
338
|
-
|
|
339
|
-
]),
|
|
340
|
-
var
|
|
341
|
-
c.stopPropagation(), e.setFocused(!1), !((
|
|
314
|
+
T
|
|
315
|
+
]), ie(l, ut, h ? (c) => {
|
|
316
|
+
var w;
|
|
317
|
+
c.stopPropagation(), e.setFocused(!1), !((w = c.detail) === null || w === void 0) && w.clearFocusKey && e.setFocusedKey(null);
|
|
342
318
|
} : void 0);
|
|
343
|
-
const _ = D(i),
|
|
319
|
+
const _ = D(i), O = D(!1);
|
|
344
320
|
Z(() => {
|
|
345
321
|
if (_.current) {
|
|
346
|
-
var c,
|
|
347
|
-
let
|
|
348
|
-
var
|
|
349
|
-
i === "first" && (
|
|
350
|
-
var
|
|
351
|
-
i === "last" && (
|
|
322
|
+
var c, w;
|
|
323
|
+
let L = null;
|
|
324
|
+
var a;
|
|
325
|
+
i === "first" && (L = (a = (c = t.getFirstKey) === null || c === void 0 ? void 0 : c.call(t)) !== null && a !== void 0 ? a : null);
|
|
326
|
+
var P;
|
|
327
|
+
i === "last" && (L = (P = (w = t.getLastKey) === null || w === void 0 ? void 0 : w.call(t)) !== null && P !== void 0 ? P : null);
|
|
352
328
|
let A = e.selectedKeys;
|
|
353
329
|
if (A.size) {
|
|
354
|
-
for (let
|
|
355
|
-
|
|
330
|
+
for (let H of A) if (e.canSelectItem(H)) {
|
|
331
|
+
L = H;
|
|
356
332
|
break;
|
|
357
333
|
}
|
|
358
334
|
}
|
|
359
|
-
e.setFocused(!0), e.setFocusedKey(
|
|
335
|
+
e.setFocused(!0), e.setFocusedKey(L), L == null && !h && l.current && Ke(l.current), e.collection.size > 0 && (_.current = !1, O.current = !0);
|
|
360
336
|
}
|
|
361
337
|
});
|
|
362
|
-
let
|
|
338
|
+
let N = D(e.focusedKey), d = D(null);
|
|
363
339
|
Z(() => {
|
|
364
|
-
if (e.isFocused && e.focusedKey != null && (e.focusedKey !==
|
|
365
|
-
let c =
|
|
366
|
-
if (!(
|
|
340
|
+
if (e.isFocused && e.focusedKey != null && (e.focusedKey !== N.current || O.current) && v.current && l.current) {
|
|
341
|
+
let c = Ce(), w = oe(l, e.focusedKey);
|
|
342
|
+
if (!(w instanceof HTMLElement))
|
|
367
343
|
return;
|
|
368
|
-
(c === "keyboard" ||
|
|
369
|
-
v.current && (
|
|
344
|
+
(c === "keyboard" || O.current) && (d.current && cancelAnimationFrame(d.current), d.current = requestAnimationFrame(() => {
|
|
345
|
+
v.current && (ol(v.current, w), c !== "virtual" && Me(w, {
|
|
370
346
|
containingElement: l.current
|
|
371
347
|
}));
|
|
372
348
|
}));
|
|
373
349
|
}
|
|
374
|
-
!
|
|
350
|
+
!h && e.isFocused && e.focusedKey == null && N.current != null && l.current && Ke(l.current), N.current = e.focusedKey, O.current = !1;
|
|
375
351
|
}), Z(() => () => {
|
|
376
|
-
|
|
377
|
-
}, []),
|
|
352
|
+
d.current && cancelAnimationFrame(d.current);
|
|
353
|
+
}, []), ie(l, "react-aria-focus-scope-restore", (c) => {
|
|
378
354
|
c.preventDefault(), e.setFocused(!0);
|
|
379
355
|
});
|
|
380
|
-
let
|
|
381
|
-
onKeyDown:
|
|
356
|
+
let x = {
|
|
357
|
+
onKeyDown: E,
|
|
382
358
|
onFocus: k,
|
|
383
359
|
onBlur: F,
|
|
384
360
|
onMouseDown(c) {
|
|
385
361
|
v.current === c.target && c.preventDefault();
|
|
386
362
|
}
|
|
387
|
-
}, { typeSelectProps:
|
|
363
|
+
}, { typeSelectProps: I } = Ml({
|
|
388
364
|
keyboardDelegate: t,
|
|
389
365
|
selectionManager: e
|
|
390
366
|
});
|
|
391
|
-
m || (
|
|
392
|
-
let
|
|
393
|
-
|
|
394
|
-
let
|
|
367
|
+
m || (x = q(I, x));
|
|
368
|
+
let V;
|
|
369
|
+
h || (V = e.focusedKey == null ? 0 : -1);
|
|
370
|
+
let j = Tl(e.collection);
|
|
395
371
|
return {
|
|
396
|
-
collectionProps:
|
|
397
|
-
tabIndex:
|
|
398
|
-
"data-collection":
|
|
372
|
+
collectionProps: q(x, {
|
|
373
|
+
tabIndex: V,
|
|
374
|
+
"data-collection": j
|
|
399
375
|
})
|
|
400
376
|
};
|
|
401
377
|
}
|
|
402
|
-
function
|
|
403
|
-
let { id: e, selectionManager: t, key: l, ref: i, shouldSelectOnPressUp: n, shouldUseVirtualFocus: o, focus: u, isDisabled: s, onAction:
|
|
404
|
-
e =
|
|
378
|
+
function Wi(r) {
|
|
379
|
+
let { id: e, selectionManager: t, key: l, ref: i, shouldSelectOnPressUp: n, shouldUseVirtualFocus: o, focus: u, isDisabled: s, onAction: f, allowsDifferentPressOrigin: m, linkBehavior: h = "action" } = r, p = Qe();
|
|
380
|
+
e = Pe(e);
|
|
405
381
|
let y = (a) => {
|
|
406
|
-
if (a.pointerType === "keyboard" &&
|
|
382
|
+
if (a.pointerType === "keyboard" && ke(a)) t.toggleSelection(l);
|
|
407
383
|
else {
|
|
408
384
|
if (t.selectionMode === "none") return;
|
|
409
385
|
if (t.isLink(l)) {
|
|
410
|
-
if (
|
|
411
|
-
let
|
|
412
|
-
|
|
386
|
+
if (h === "selection" && i.current) {
|
|
387
|
+
let P = t.getItemProps(l);
|
|
388
|
+
p.open(i.current, a, P.href, P.routerOptions), t.setSelectedKeys(t.selectedKeys);
|
|
413
389
|
return;
|
|
414
|
-
} else if (
|
|
390
|
+
} else if (h === "override" || h === "none") return;
|
|
415
391
|
}
|
|
416
|
-
t.selectionMode === "single" ? t.isSelected(l) && !t.disallowEmptySelection ? t.toggleSelection(l) : t.replaceSelection(l) : a && a.shiftKey ? t.extendSelection(l) : t.selectionBehavior === "toggle" || a && (
|
|
392
|
+
t.selectionMode === "single" ? t.isSelected(l) && !t.disallowEmptySelection ? t.toggleSelection(l) : t.replaceSelection(l) : a && a.shiftKey ? t.extendSelection(l) : t.selectionBehavior === "toggle" || a && (X(a) || a.pointerType === "touch" || a.pointerType === "virtual") ? t.toggleSelection(l) : t.replaceSelection(l);
|
|
417
393
|
}
|
|
418
394
|
};
|
|
419
395
|
Z(() => {
|
|
420
|
-
l === t.focusedKey && t.isFocused && (o ?
|
|
396
|
+
l === t.focusedKey && t.isFocused && (o ? Re(i.current) : u ? u() : document.activeElement !== i.current && i.current && Ke(i.current));
|
|
421
397
|
}, [
|
|
422
398
|
i,
|
|
423
399
|
l,
|
|
@@ -435,58 +411,63 @@ function Ji(r) {
|
|
|
435
411
|
} : s && (v.onMouseDown = (a) => {
|
|
436
412
|
a.preventDefault();
|
|
437
413
|
});
|
|
438
|
-
let K = t.isLink(l) &&
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
h.open(i.current, a, E.href, E.routerOptions);
|
|
442
|
-
}
|
|
443
|
-
}, f = {
|
|
414
|
+
let K = t.isLink(l) && h === "override", $ = t.isLink(l) && h !== "selection" && h !== "none", g = !s && t.canSelectItem(l) && !K, E = (f || $) && !s, C = E && (t.selectionBehavior === "replace" ? !g : !g || t.isEmpty), k = E && g && t.selectionBehavior === "replace", F = C || k, R = D(null), B = F && g, T = D(!1), _ = D(!1), O = t.getItemProps(l), N = (a) => {
|
|
415
|
+
f && f(), $ && i.current && p.open(i.current, a, O.href, O.routerOptions);
|
|
416
|
+
}, d = {
|
|
444
417
|
ref: i
|
|
445
418
|
};
|
|
446
|
-
n ? (
|
|
447
|
-
|
|
448
|
-
}, m ? (
|
|
419
|
+
if (n ? (d.onPressStart = (a) => {
|
|
420
|
+
R.current = a.pointerType, T.current = B, a.pointerType === "keyboard" && (!F || Ue()) && y(a);
|
|
421
|
+
}, m ? (d.onPressUp = C ? void 0 : (a) => {
|
|
449
422
|
a.pointerType === "mouse" && g && y(a);
|
|
450
|
-
},
|
|
423
|
+
}, d.onPress = C ? N : (a) => {
|
|
451
424
|
a.pointerType !== "keyboard" && a.pointerType !== "mouse" && g && y(a);
|
|
452
|
-
}) :
|
|
425
|
+
}) : d.onPress = (a) => {
|
|
453
426
|
if (C || k && a.pointerType !== "mouse") {
|
|
454
|
-
if (a.pointerType === "keyboard" && !
|
|
455
|
-
|
|
427
|
+
if (a.pointerType === "keyboard" && !Ve()) return;
|
|
428
|
+
N(a);
|
|
456
429
|
} else a.pointerType !== "keyboard" && g && y(a);
|
|
457
|
-
}) : (
|
|
458
|
-
|
|
459
|
-
},
|
|
460
|
-
(a.pointerType === "touch" || a.pointerType === "pen" || a.pointerType === "virtual" || a.pointerType === "keyboard" && F &&
|
|
461
|
-
}), v["data-collection"] =
|
|
430
|
+
}) : (d.onPressStart = (a) => {
|
|
431
|
+
R.current = a.pointerType, T.current = B, _.current = C, g && (a.pointerType === "mouse" && !C || a.pointerType === "keyboard" && (!E || Ue())) && y(a);
|
|
432
|
+
}, d.onPress = (a) => {
|
|
433
|
+
(a.pointerType === "touch" || a.pointerType === "pen" || a.pointerType === "virtual" || a.pointerType === "keyboard" && F && Ve() || a.pointerType === "mouse" && _.current) && (F ? N(a) : g && y(a));
|
|
434
|
+
}), v["data-collection"] = Al(t.collection), v["data-key"] = l, d.preventFocusOnPress = o, o && (d = q(d, {
|
|
462
435
|
onPressStart(a) {
|
|
463
436
|
a.pointerType !== "touch" && (t.setFocused(!0), t.setFocusedKey(l));
|
|
464
437
|
},
|
|
465
438
|
onPress(a) {
|
|
466
439
|
a.pointerType === "touch" && (t.setFocused(!0), t.setFocusedKey(l));
|
|
467
440
|
}
|
|
468
|
-
}))
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
441
|
+
})), O)
|
|
442
|
+
for (let a of [
|
|
443
|
+
"onPressStart",
|
|
444
|
+
"onPressEnd",
|
|
445
|
+
"onPressChange",
|
|
446
|
+
"onPress",
|
|
447
|
+
"onPressUp",
|
|
448
|
+
"onClick"
|
|
449
|
+
]) O[a] && (d[a] = ll(d[a], O[a]));
|
|
450
|
+
let { pressProps: x, isPressed: I } = et(d), V = k ? (a) => {
|
|
451
|
+
R.current === "mouse" && (a.stopPropagation(), a.preventDefault(), N(a));
|
|
452
|
+
} : void 0, { longPressProps: j } = Rl({
|
|
453
|
+
isDisabled: !B,
|
|
473
454
|
onLongPress(a) {
|
|
474
455
|
a.pointerType === "touch" && (y(a), t.setSelectionBehavior("toggle"));
|
|
475
456
|
}
|
|
476
|
-
}),
|
|
477
|
-
|
|
478
|
-
},
|
|
479
|
-
|
|
457
|
+
}), c = (a) => {
|
|
458
|
+
R.current === "touch" && T.current && a.preventDefault();
|
|
459
|
+
}, w = h !== "none" && t.isLink(l) ? (a) => {
|
|
460
|
+
il.isOpening || a.preventDefault();
|
|
480
461
|
} : void 0;
|
|
481
462
|
return {
|
|
482
|
-
itemProps:
|
|
463
|
+
itemProps: q(
|
|
483
464
|
v,
|
|
484
465
|
g || C || o && !s ? x : {},
|
|
485
|
-
|
|
466
|
+
B ? j : {},
|
|
486
467
|
{
|
|
487
468
|
onDoubleClick: V,
|
|
488
|
-
onDragStartCapture:
|
|
489
|
-
onClick:
|
|
469
|
+
onDragStartCapture: c,
|
|
470
|
+
onClick: w,
|
|
490
471
|
id: e
|
|
491
472
|
},
|
|
492
473
|
// Prevent DOM focus from moving on mouse down when using virtual focus
|
|
@@ -502,11 +483,11 @@ function Ji(r) {
|
|
|
502
483
|
hasAction: F
|
|
503
484
|
};
|
|
504
485
|
}
|
|
505
|
-
function
|
|
486
|
+
function Ve() {
|
|
506
487
|
let r = window.event;
|
|
507
488
|
return r?.key === "Enter";
|
|
508
489
|
}
|
|
509
|
-
function
|
|
490
|
+
function Ue() {
|
|
510
491
|
let r = window.event;
|
|
511
492
|
return r?.key === " " || r?.code === "Space";
|
|
512
493
|
}
|
|
@@ -546,7 +527,7 @@ class ze {
|
|
|
546
527
|
this.ref = e;
|
|
547
528
|
}
|
|
548
529
|
}
|
|
549
|
-
class
|
|
530
|
+
class Nl {
|
|
550
531
|
isDisabled(e) {
|
|
551
532
|
var t;
|
|
552
533
|
return this.disabledBehavior === "all" && (((t = e.props) === null || t === void 0 ? void 0 : t.isDisabled) || this.disabledKeys.has(e.key));
|
|
@@ -612,7 +593,7 @@ class Hl {
|
|
|
612
593
|
getKeyPageAbove(e) {
|
|
613
594
|
let t = this.ref.current, l = this.layoutDelegate.getItemRect(e);
|
|
614
595
|
if (!l) return null;
|
|
615
|
-
if (t && !
|
|
596
|
+
if (t && !Be(t)) return this.getFirstKey();
|
|
616
597
|
let i = e;
|
|
617
598
|
if (this.orientation === "horizontal") {
|
|
618
599
|
let n = Math.max(0, l.x + l.width - this.layoutDelegate.getVisibleRect().width);
|
|
@@ -628,7 +609,7 @@ class Hl {
|
|
|
628
609
|
getKeyPageBelow(e) {
|
|
629
610
|
let t = this.ref.current, l = this.layoutDelegate.getItemRect(e);
|
|
630
611
|
if (!l) return null;
|
|
631
|
-
if (t && !
|
|
612
|
+
if (t && !Be(t)) return this.getLastKey();
|
|
632
613
|
let i = e;
|
|
633
614
|
if (this.orientation === "horizontal") {
|
|
634
615
|
let n = Math.min(this.layoutDelegate.getContentSize().width, l.y - l.width + this.layoutDelegate.getVisibleRect().width);
|
|
@@ -662,11 +643,11 @@ class Hl {
|
|
|
662
643
|
this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);
|
|
663
644
|
}
|
|
664
645
|
}
|
|
665
|
-
function
|
|
666
|
-
let { selectionManager: e, collection: t, disabledKeys: l, ref: i, keyboardDelegate: n, layoutDelegate: o } = r, u =
|
|
646
|
+
function Gi(r) {
|
|
647
|
+
let { selectionManager: e, collection: t, disabledKeys: l, ref: i, keyboardDelegate: n, layoutDelegate: o } = r, u = pl({
|
|
667
648
|
usage: "search",
|
|
668
649
|
sensitivity: "base"
|
|
669
|
-
}), s = e.disabledBehavior,
|
|
650
|
+
}), s = e.disabledBehavior, f = U(() => n || new Nl({
|
|
670
651
|
collection: t,
|
|
671
652
|
disabledKeys: l,
|
|
672
653
|
disabledBehavior: s,
|
|
@@ -681,19 +662,19 @@ function Xi(r) {
|
|
|
681
662
|
i,
|
|
682
663
|
u,
|
|
683
664
|
s
|
|
684
|
-
]), { collectionProps: m } =
|
|
665
|
+
]), { collectionProps: m } = Ol({
|
|
685
666
|
...r,
|
|
686
667
|
ref: i,
|
|
687
668
|
selectionManager: e,
|
|
688
|
-
keyboardDelegate:
|
|
669
|
+
keyboardDelegate: f
|
|
689
670
|
});
|
|
690
671
|
return {
|
|
691
672
|
listProps: m
|
|
692
673
|
};
|
|
693
674
|
}
|
|
694
|
-
class
|
|
675
|
+
class Vl {
|
|
695
676
|
build(e, t) {
|
|
696
|
-
return this.context = t,
|
|
677
|
+
return this.context = t, He(() => this.iterateCollection(e));
|
|
697
678
|
}
|
|
698
679
|
*iterateCollection(e) {
|
|
699
680
|
let { children: t, items: l } = e;
|
|
@@ -747,13 +728,13 @@ class ql {
|
|
|
747
728
|
*getFullNode(e, t, l, i) {
|
|
748
729
|
if (S.isValidElement(e.element) && e.element.type === S.Fragment) {
|
|
749
730
|
let $ = [];
|
|
750
|
-
S.Children.forEach(e.element.props.children, (
|
|
751
|
-
$.push(
|
|
731
|
+
S.Children.forEach(e.element.props.children, (E) => {
|
|
732
|
+
$.push(E);
|
|
752
733
|
});
|
|
753
734
|
var n;
|
|
754
735
|
let g = (n = e.index) !== null && n !== void 0 ? n : 0;
|
|
755
|
-
for (const
|
|
756
|
-
element:
|
|
736
|
+
for (const E of $) yield* this.getFullNode({
|
|
737
|
+
element: E,
|
|
757
738
|
index: g++
|
|
758
739
|
}, t, l, i);
|
|
759
740
|
return;
|
|
@@ -775,34 +756,34 @@ class ql {
|
|
|
775
756
|
}
|
|
776
757
|
let g = $.getCollectionNode(o.props, this.context);
|
|
777
758
|
var u;
|
|
778
|
-
let
|
|
759
|
+
let E = (u = e.index) !== null && u !== void 0 ? u : 0, C = g.next();
|
|
779
760
|
for (; !C.done && C.value; ) {
|
|
780
761
|
let k = C.value;
|
|
781
|
-
e.index =
|
|
762
|
+
e.index = E;
|
|
782
763
|
var s;
|
|
783
764
|
let F = (s = k.key) !== null && s !== void 0 ? s : null;
|
|
784
765
|
F == null && (F = k.element ? null : this.getKey(o, e, t, l));
|
|
785
|
-
let
|
|
766
|
+
let B = [
|
|
786
767
|
...this.getFullNode({
|
|
787
768
|
...k,
|
|
788
769
|
key: F,
|
|
789
|
-
index:
|
|
790
|
-
wrapper:
|
|
770
|
+
index: E,
|
|
771
|
+
wrapper: Ul(e.wrapper, k.wrapper)
|
|
791
772
|
}, this.getChildState(t, k), l ? `${l}${o.key}` : o.key, i)
|
|
792
773
|
];
|
|
793
|
-
for (let
|
|
794
|
-
var
|
|
795
|
-
|
|
796
|
-
var
|
|
797
|
-
if (e.type &&
|
|
798
|
-
|
|
774
|
+
for (let T of B) {
|
|
775
|
+
var f, m;
|
|
776
|
+
T.value = (m = (f = k.value) !== null && f !== void 0 ? f : e.value) !== null && m !== void 0 ? m : null, T.value && this.cache.set(T.value, T);
|
|
777
|
+
var h;
|
|
778
|
+
if (e.type && T.type !== e.type) throw new Error(`Unsupported type <${be(T.type)}> in <${be((h = i?.type) !== null && h !== void 0 ? h : "unknown parent type")}>. Only <${be(e.type)}> is supported.`);
|
|
779
|
+
E++, yield T;
|
|
799
780
|
}
|
|
800
|
-
C = g.next(
|
|
781
|
+
C = g.next(B);
|
|
801
782
|
}
|
|
802
783
|
return;
|
|
803
784
|
}
|
|
804
785
|
if (e.key == null || e.type == null) return;
|
|
805
|
-
let
|
|
786
|
+
let p = this;
|
|
806
787
|
var y, v;
|
|
807
788
|
let K = {
|
|
808
789
|
type: e.type,
|
|
@@ -818,16 +799,16 @@ class ql {
|
|
|
818
799
|
wrapper: e.wrapper,
|
|
819
800
|
shouldInvalidate: e.shouldInvalidate,
|
|
820
801
|
hasChildNodes: e.hasChildNodes || !1,
|
|
821
|
-
childNodes:
|
|
802
|
+
childNodes: He(function* () {
|
|
822
803
|
if (!e.hasChildNodes || !e.childNodes) return;
|
|
823
804
|
let $ = 0;
|
|
824
805
|
for (let g of e.childNodes()) {
|
|
825
806
|
g.key != null && (g.key = `${K.key}${g.key}`);
|
|
826
|
-
let
|
|
807
|
+
let E = p.getFullNode({
|
|
827
808
|
...g,
|
|
828
809
|
index: $
|
|
829
|
-
},
|
|
830
|
-
for (let C of
|
|
810
|
+
}, p.getChildState(t, g), K.key, K);
|
|
811
|
+
for (let C of E)
|
|
831
812
|
$++, yield C;
|
|
832
813
|
}
|
|
833
814
|
})
|
|
@@ -838,7 +819,7 @@ class ql {
|
|
|
838
819
|
this.cache = /* @__PURE__ */ new WeakMap();
|
|
839
820
|
}
|
|
840
821
|
}
|
|
841
|
-
function
|
|
822
|
+
function He(r) {
|
|
842
823
|
let e = [], t = null;
|
|
843
824
|
return {
|
|
844
825
|
*[Symbol.iterator]() {
|
|
@@ -849,17 +830,17 @@ function Ue(r) {
|
|
|
849
830
|
}
|
|
850
831
|
};
|
|
851
832
|
}
|
|
852
|
-
function
|
|
833
|
+
function Ul(r, e) {
|
|
853
834
|
if (r && e) return (t) => r(e(t));
|
|
854
835
|
if (r) return r;
|
|
855
836
|
if (e) return e;
|
|
856
837
|
}
|
|
857
|
-
function
|
|
838
|
+
function be(r) {
|
|
858
839
|
return r[0].toUpperCase() + r.slice(1);
|
|
859
840
|
}
|
|
860
|
-
function
|
|
861
|
-
let l =
|
|
862
|
-
return
|
|
841
|
+
function _i(r, e, t) {
|
|
842
|
+
let l = U(() => new Vl(), []), { children: i, items: n, collection: o } = r;
|
|
843
|
+
return U(() => {
|
|
863
844
|
if (o) return o;
|
|
864
845
|
let s = l.build({
|
|
865
846
|
children: i,
|
|
@@ -878,44 +859,39 @@ function Zi(r, e, t) {
|
|
|
878
859
|
function ft(r, e) {
|
|
879
860
|
return typeof e.getChildren == "function" ? e.getChildren(r.key) : r.childNodes;
|
|
880
861
|
}
|
|
881
|
-
function
|
|
882
|
-
return
|
|
862
|
+
function zl(r) {
|
|
863
|
+
return Hl(r);
|
|
883
864
|
}
|
|
884
|
-
function
|
|
865
|
+
function Hl(r, e) {
|
|
885
866
|
for (let t of r)
|
|
886
867
|
return t;
|
|
887
868
|
}
|
|
888
|
-
function
|
|
889
|
-
let e;
|
|
890
|
-
for (let t of r) e = t;
|
|
891
|
-
return e;
|
|
892
|
-
}
|
|
893
|
-
function be(r, e, t) {
|
|
869
|
+
function ge(r, e, t) {
|
|
894
870
|
if (e.parentKey === t.parentKey) return e.index - t.index;
|
|
895
871
|
let l = [
|
|
896
|
-
...
|
|
872
|
+
...qe(r, e),
|
|
897
873
|
e
|
|
898
874
|
], i = [
|
|
899
|
-
...
|
|
875
|
+
...qe(r, t),
|
|
900
876
|
t
|
|
901
877
|
], n = l.slice(0, i.length).findIndex((o, u) => o !== i[u]);
|
|
902
878
|
return n !== -1 ? (e = l[n], t = i[n], e.index - t.index) : l.findIndex((o) => o === t) >= 0 ? 1 : (i.findIndex((o) => o === e) >= 0, -1);
|
|
903
879
|
}
|
|
904
|
-
function
|
|
880
|
+
function qe(r, e) {
|
|
905
881
|
let t = [], l = e;
|
|
906
882
|
for (; l?.parentKey != null; )
|
|
907
883
|
l = r.getItem(l.parentKey), l && t.unshift(l);
|
|
908
884
|
return t;
|
|
909
885
|
}
|
|
910
|
-
const
|
|
911
|
-
function
|
|
912
|
-
let e =
|
|
886
|
+
const We = /* @__PURE__ */ new WeakMap();
|
|
887
|
+
function ji(r) {
|
|
888
|
+
let e = We.get(r);
|
|
913
889
|
if (e != null) return e;
|
|
914
890
|
let t = 0, l = (i) => {
|
|
915
891
|
for (let n of i)
|
|
916
892
|
n.type === "section" ? l(ft(n, r)) : n.type === "item" && t++;
|
|
917
893
|
};
|
|
918
|
-
return l(r),
|
|
894
|
+
return l(r), We.set(r, t), t;
|
|
919
895
|
}
|
|
920
896
|
var re = { exports: {} }, $e = {};
|
|
921
897
|
/**
|
|
@@ -927,48 +903,48 @@ var re = { exports: {} }, $e = {};
|
|
|
927
903
|
* This source code is licensed under the MIT license found in the
|
|
928
904
|
* LICENSE file in the root directory of this source tree.
|
|
929
905
|
*/
|
|
930
|
-
var
|
|
931
|
-
function
|
|
932
|
-
if (
|
|
933
|
-
|
|
906
|
+
var Ge;
|
|
907
|
+
function ql() {
|
|
908
|
+
if (Ge) return $e;
|
|
909
|
+
Ge = 1;
|
|
934
910
|
var r = S;
|
|
935
|
-
function e(
|
|
936
|
-
return
|
|
911
|
+
function e(h, p) {
|
|
912
|
+
return h === p && (h !== 0 || 1 / h === 1 / p) || h !== h && p !== p;
|
|
937
913
|
}
|
|
938
914
|
var t = typeof Object.is == "function" ? Object.is : e, l = r.useState, i = r.useEffect, n = r.useLayoutEffect, o = r.useDebugValue;
|
|
939
|
-
function u(
|
|
940
|
-
var y =
|
|
915
|
+
function u(h, p) {
|
|
916
|
+
var y = p(), v = l({ inst: { value: y, getSnapshot: p } }), K = v[0].inst, $ = v[1];
|
|
941
917
|
return n(
|
|
942
918
|
function() {
|
|
943
|
-
K.value = y, K.getSnapshot =
|
|
919
|
+
K.value = y, K.getSnapshot = p, s(K) && $({ inst: K });
|
|
944
920
|
},
|
|
945
|
-
[
|
|
921
|
+
[h, y, p]
|
|
946
922
|
), i(
|
|
947
923
|
function() {
|
|
948
|
-
return s(K) && $({ inst: K }),
|
|
924
|
+
return s(K) && $({ inst: K }), h(function() {
|
|
949
925
|
s(K) && $({ inst: K });
|
|
950
926
|
});
|
|
951
927
|
},
|
|
952
|
-
[
|
|
928
|
+
[h]
|
|
953
929
|
), o(y), y;
|
|
954
930
|
}
|
|
955
|
-
function s(
|
|
956
|
-
var
|
|
957
|
-
|
|
931
|
+
function s(h) {
|
|
932
|
+
var p = h.getSnapshot;
|
|
933
|
+
h = h.value;
|
|
958
934
|
try {
|
|
959
|
-
var y =
|
|
960
|
-
return !t(
|
|
935
|
+
var y = p();
|
|
936
|
+
return !t(h, y);
|
|
961
937
|
} catch {
|
|
962
938
|
return !0;
|
|
963
939
|
}
|
|
964
940
|
}
|
|
965
|
-
function
|
|
966
|
-
return
|
|
941
|
+
function f(h, p) {
|
|
942
|
+
return p();
|
|
967
943
|
}
|
|
968
|
-
var m = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ?
|
|
944
|
+
var m = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? f : u;
|
|
969
945
|
return $e.useSyncExternalStore = r.useSyncExternalStore !== void 0 ? r.useSyncExternalStore : m, $e;
|
|
970
946
|
}
|
|
971
|
-
var
|
|
947
|
+
var me = {};
|
|
972
948
|
/**
|
|
973
949
|
* @license React
|
|
974
950
|
* use-sync-external-store-shim.development.js
|
|
@@ -978,9 +954,9 @@ var ge = {};
|
|
|
978
954
|
* This source code is licensed under the MIT license found in the
|
|
979
955
|
* LICENSE file in the root directory of this source tree.
|
|
980
956
|
*/
|
|
981
|
-
var
|
|
982
|
-
function
|
|
983
|
-
return
|
|
957
|
+
var _e;
|
|
958
|
+
function Wl() {
|
|
959
|
+
return _e || (_e = 1, process.env.NODE_ENV !== "production" && function() {
|
|
984
960
|
function r(y, v) {
|
|
985
961
|
return y === v && (y !== 0 || 1 / y === 1 / v) || y !== y && v !== v;
|
|
986
962
|
}
|
|
@@ -989,29 +965,29 @@ function Yl() {
|
|
|
989
965
|
"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."
|
|
990
966
|
));
|
|
991
967
|
var K = v();
|
|
992
|
-
if (!
|
|
968
|
+
if (!h) {
|
|
993
969
|
var $ = v();
|
|
994
970
|
n(K, $) || (console.error(
|
|
995
971
|
"The result of getSnapshot should be cached to avoid an infinite loop"
|
|
996
|
-
),
|
|
972
|
+
), h = !0);
|
|
997
973
|
}
|
|
998
974
|
$ = o({
|
|
999
975
|
inst: { value: K, getSnapshot: v }
|
|
1000
976
|
});
|
|
1001
|
-
var g = $[0].inst,
|
|
977
|
+
var g = $[0].inst, E = $[1];
|
|
1002
978
|
return s(
|
|
1003
979
|
function() {
|
|
1004
|
-
g.value = K, g.getSnapshot = v, t(g) &&
|
|
980
|
+
g.value = K, g.getSnapshot = v, t(g) && E({ inst: g });
|
|
1005
981
|
},
|
|
1006
982
|
[y, K, v]
|
|
1007
983
|
), u(
|
|
1008
984
|
function() {
|
|
1009
|
-
return t(g) &&
|
|
1010
|
-
t(g) &&
|
|
985
|
+
return t(g) && E({ inst: g }), y(function() {
|
|
986
|
+
t(g) && E({ inst: g });
|
|
1011
987
|
});
|
|
1012
988
|
},
|
|
1013
989
|
[y]
|
|
1014
|
-
),
|
|
990
|
+
), f(K), K;
|
|
1015
991
|
}
|
|
1016
992
|
function t(y) {
|
|
1017
993
|
var v = y.getSnapshot;
|
|
@@ -1027,30 +1003,30 @@ function Yl() {
|
|
|
1027
1003
|
return v();
|
|
1028
1004
|
}
|
|
1029
1005
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
1030
|
-
var i = S, n = typeof Object.is == "function" ? Object.is : r, o = i.useState, u = i.useEffect, s = i.useLayoutEffect,
|
|
1031
|
-
|
|
1032
|
-
}()),
|
|
1006
|
+
var i = S, n = typeof Object.is == "function" ? Object.is : r, o = i.useState, u = i.useEffect, s = i.useLayoutEffect, f = i.useDebugValue, m = !1, h = !1, p = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? l : e;
|
|
1007
|
+
me.useSyncExternalStore = i.useSyncExternalStore !== void 0 ? i.useSyncExternalStore : p, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
1008
|
+
}()), me;
|
|
1033
1009
|
}
|
|
1034
|
-
var
|
|
1035
|
-
function
|
|
1036
|
-
return
|
|
1010
|
+
var je;
|
|
1011
|
+
function Gl() {
|
|
1012
|
+
return je || (je = 1, process.env.NODE_ENV === "production" ? re.exports = ql() : re.exports = Wl()), re.exports;
|
|
1037
1013
|
}
|
|
1038
|
-
var
|
|
1039
|
-
class
|
|
1014
|
+
var _l = /* @__PURE__ */ Gl();
|
|
1015
|
+
class Te {
|
|
1040
1016
|
get childNodes() {
|
|
1041
1017
|
throw new Error("childNodes is not supported");
|
|
1042
1018
|
}
|
|
1043
1019
|
clone() {
|
|
1044
|
-
let e = new
|
|
1020
|
+
let e = new Te(this.type, this.key);
|
|
1045
1021
|
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;
|
|
1046
1022
|
}
|
|
1047
1023
|
constructor(e, t) {
|
|
1048
1024
|
this.value = null, this.level = 0, this.hasChildNodes = !1, this.rendered = null, this.textValue = "", this["aria-label"] = void 0, this.index = 0, this.parentKey = null, this.prevKey = null, this.nextKey = null, this.firstChildKey = null, this.lastChildKey = null, this.props = {}, this.colSpan = null, this.colIndex = null, this.type = e, this.key = t;
|
|
1049
1025
|
}
|
|
1050
1026
|
}
|
|
1051
|
-
class
|
|
1027
|
+
class Ae {
|
|
1052
1028
|
get size() {
|
|
1053
|
-
return this.
|
|
1029
|
+
return this.itemCount;
|
|
1054
1030
|
}
|
|
1055
1031
|
getKeys() {
|
|
1056
1032
|
return this.keyMap.keys();
|
|
@@ -1109,15 +1085,16 @@ class Re {
|
|
|
1109
1085
|
}
|
|
1110
1086
|
clone() {
|
|
1111
1087
|
let e = this.constructor, t = new e();
|
|
1112
|
-
return t.keyMap = new Map(this.keyMap), t.firstKey = this.firstKey, t.lastKey = this.lastKey, t;
|
|
1088
|
+
return t.keyMap = new Map(this.keyMap), t.firstKey = this.firstKey, t.lastKey = this.lastKey, t.itemCount = this.itemCount, t;
|
|
1113
1089
|
}
|
|
1114
1090
|
addNode(e) {
|
|
1115
1091
|
if (this.frozen) throw new Error("Cannot add a node to a frozen collection");
|
|
1116
|
-
this.keyMap.set(e.key, e);
|
|
1092
|
+
e.type === "item" && this.keyMap.get(e.key) == null && this.itemCount++, this.keyMap.set(e.key, e);
|
|
1117
1093
|
}
|
|
1118
1094
|
removeNode(e) {
|
|
1119
1095
|
if (this.frozen) throw new Error("Cannot remove a node to a frozen collection");
|
|
1120
|
-
this.keyMap.
|
|
1096
|
+
let t = this.keyMap.get(e);
|
|
1097
|
+
t != null && t.type === "item" && this.itemCount--, this.keyMap.delete(e);
|
|
1121
1098
|
}
|
|
1122
1099
|
commit(e, t, l = !1) {
|
|
1123
1100
|
if (this.frozen) throw new Error("Cannot commit a frozen collection");
|
|
@@ -1128,11 +1105,11 @@ class Re {
|
|
|
1128
1105
|
// TODO: an alternative is to simply walk the collection and add all item nodes that match the filter and any sections/separators we encounter
|
|
1129
1106
|
// to an array, then walk that new array and fix all the next/Prev keys while adding them to the new collection
|
|
1130
1107
|
UNSTABLE_filter(e) {
|
|
1131
|
-
let t = new
|
|
1108
|
+
let t = new Ae(), l = null;
|
|
1132
1109
|
for (let i of this)
|
|
1133
1110
|
if (i.type === "section" && i.hasChildNodes) {
|
|
1134
1111
|
let n = i.clone(), o = null;
|
|
1135
|
-
for (let u of this.getChildren(i.key)) if (
|
|
1112
|
+
for (let u of this.getChildren(i.key)) if (Ye(u, e, this, t)) {
|
|
1136
1113
|
let s = u.clone();
|
|
1137
1114
|
o == null && (n.firstChildKey = s.key), t.firstKey == null && (t.firstKey = n.key), o && o.parentKey === s.parentKey ? (o.nextKey = s.key, s.prevKey = o.key) : s.prevKey = null, s.nextKey = null, t.addNode(s), o = s;
|
|
1138
1115
|
}
|
|
@@ -1142,7 +1119,7 @@ class Re {
|
|
|
1142
1119
|
n.nextKey = null, l?.type === "section" && (l.nextKey = n.key, n.prevKey = l.key, l = n, t.addNode(n));
|
|
1143
1120
|
} else {
|
|
1144
1121
|
let n = i.clone();
|
|
1145
|
-
|
|
1122
|
+
Ye(n, e, this, t) && (t.firstKey == null && (t.firstKey = n.key), l != null && l.type !== "section" && l.type !== "separator" && l.parentKey === n.parentKey ? (l.nextKey = n.key, n.prevKey = l.key) : n.prevKey = null, n.nextKey = null, t.addNode(n), l = n);
|
|
1146
1123
|
}
|
|
1147
1124
|
if (l?.type === "separator" && l.nextKey === null) {
|
|
1148
1125
|
let i;
|
|
@@ -1151,10 +1128,10 @@ class Re {
|
|
|
1151
1128
|
return t.lastKey = l?.key || null, t;
|
|
1152
1129
|
}
|
|
1153
1130
|
constructor() {
|
|
1154
|
-
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1;
|
|
1131
|
+
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1, this.itemCount = 0;
|
|
1155
1132
|
}
|
|
1156
1133
|
}
|
|
1157
|
-
function
|
|
1134
|
+
function Ye(r, e, t, l) {
|
|
1158
1135
|
if (r.type === "subdialogtrigger" || r.type === "submenutrigger") {
|
|
1159
1136
|
let i = [
|
|
1160
1137
|
...t.getChildren(r.key)
|
|
@@ -1279,23 +1256,23 @@ class le extends ht {
|
|
|
1279
1256
|
n.nextKey = (u = i?.node.key) !== null && u !== void 0 ? u : null, n.hasChildNodes = !!this.firstChild;
|
|
1280
1257
|
var s;
|
|
1281
1258
|
n.firstChildKey = (s = (t = this.firstVisibleChild) === null || t === void 0 ? void 0 : t.node.key) !== null && s !== void 0 ? s : null;
|
|
1282
|
-
var
|
|
1283
|
-
if (n.lastChildKey = (
|
|
1284
|
-
var m,
|
|
1285
|
-
let
|
|
1286
|
-
if (
|
|
1259
|
+
var f;
|
|
1260
|
+
if (n.lastChildKey = (f = (l = this.lastVisibleChild) === null || l === void 0 ? void 0 : l.node.key) !== null && f !== void 0 ? f : null, (n.colSpan != null || n.colIndex != null) && i) {
|
|
1261
|
+
var m, h;
|
|
1262
|
+
let p = ((m = n.colIndex) !== null && m !== void 0 ? m : n.index) + ((h = n.colSpan) !== null && h !== void 0 ? h : 1);
|
|
1263
|
+
if (p !== i.node.colIndex) {
|
|
1287
1264
|
let y = i.getMutableNode();
|
|
1288
|
-
y.colIndex =
|
|
1265
|
+
y.colIndex = p;
|
|
1289
1266
|
}
|
|
1290
1267
|
}
|
|
1291
1268
|
}
|
|
1292
1269
|
setProps(e, t, l, i) {
|
|
1293
|
-
let n = this.getMutableNode(), { value: o, textValue: u, id: s, ...
|
|
1294
|
-
if (
|
|
1270
|
+
let n = this.getMutableNode(), { value: o, textValue: u, id: s, ...f } = e;
|
|
1271
|
+
if (f.ref = t, n.props = f, n.rendered = l, n.render = i, n.value = o, n.textValue = u || (typeof f.children == "string" ? f.children : "") || e["aria-label"] || "", s != null && s !== n.key) {
|
|
1295
1272
|
if (this.hasSetProps) throw new Error("Cannot change the id of an item");
|
|
1296
1273
|
n.key = s;
|
|
1297
1274
|
}
|
|
1298
|
-
|
|
1275
|
+
f.colSpan != null && (n.colSpan = f.colSpan), this.hasSetProps = !0, this.isConnected && this.ownerDocument.queueUpdate();
|
|
1299
1276
|
}
|
|
1300
1277
|
get style() {
|
|
1301
1278
|
let e = this;
|
|
@@ -1323,10 +1300,10 @@ class le extends ht {
|
|
|
1323
1300
|
removeAttribute() {
|
|
1324
1301
|
}
|
|
1325
1302
|
constructor(e, t) {
|
|
1326
|
-
super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.hasSetProps = !1, this.isHidden = !1, this.node = new
|
|
1303
|
+
super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.hasSetProps = !1, this.isHidden = !1, this.node = new Te(e, `react-aria-${++t.nodeId}`);
|
|
1327
1304
|
}
|
|
1328
1305
|
}
|
|
1329
|
-
class
|
|
1306
|
+
class jl extends ht {
|
|
1330
1307
|
get isConnected() {
|
|
1331
1308
|
return this.isMounted;
|
|
1332
1309
|
}
|
|
@@ -1379,28 +1356,28 @@ class Zl extends ht {
|
|
|
1379
1356
|
}
|
|
1380
1357
|
}
|
|
1381
1358
|
function pt(r) {
|
|
1382
|
-
let { children: e, items: t, idScope: l, addIdAndValue: i, dependencies: n = [] } = r, o =
|
|
1383
|
-
return
|
|
1359
|
+
let { children: e, items: t, idScope: l, addIdAndValue: i, dependencies: n = [] } = r, o = U(() => /* @__PURE__ */ new WeakMap(), n);
|
|
1360
|
+
return U(() => {
|
|
1384
1361
|
if (t && typeof e == "function") {
|
|
1385
|
-
let
|
|
1362
|
+
let f = [];
|
|
1386
1363
|
for (let m of t) {
|
|
1387
|
-
let
|
|
1388
|
-
if (!
|
|
1389
|
-
|
|
1364
|
+
let h = o.get(m);
|
|
1365
|
+
if (!h) {
|
|
1366
|
+
h = e(m);
|
|
1390
1367
|
var u, s;
|
|
1391
|
-
let
|
|
1392
|
-
if (
|
|
1393
|
-
l && (
|
|
1394
|
-
key:
|
|
1395
|
-
id:
|
|
1368
|
+
let p = (s = (u = h.props.id) !== null && u !== void 0 ? u : m.key) !== null && s !== void 0 ? s : m.id;
|
|
1369
|
+
if (p == null) throw new Error("Could not determine key for item");
|
|
1370
|
+
l && (p = l + ":" + p), h = tt(h, i ? {
|
|
1371
|
+
key: p,
|
|
1372
|
+
id: p,
|
|
1396
1373
|
value: m
|
|
1397
1374
|
} : {
|
|
1398
|
-
key:
|
|
1399
|
-
}), o.set(m,
|
|
1375
|
+
key: p
|
|
1376
|
+
}), o.set(m, h);
|
|
1400
1377
|
}
|
|
1401
|
-
|
|
1378
|
+
f.push(h);
|
|
1402
1379
|
}
|
|
1403
|
-
return
|
|
1380
|
+
return f;
|
|
1404
1381
|
} else if (typeof e != "function") return e;
|
|
1405
1382
|
}, [
|
|
1406
1383
|
e,
|
|
@@ -1410,33 +1387,33 @@ function pt(r) {
|
|
|
1410
1387
|
i
|
|
1411
1388
|
]);
|
|
1412
1389
|
}
|
|
1413
|
-
const yt = /* @__PURE__ */
|
|
1414
|
-
function
|
|
1415
|
-
if (Q(
|
|
1390
|
+
const yt = /* @__PURE__ */ M(!1), ne = /* @__PURE__ */ M(null);
|
|
1391
|
+
function Yi(r) {
|
|
1392
|
+
if (Q(ne))
|
|
1416
1393
|
return r.content;
|
|
1417
|
-
let { collection: t, document: l } =
|
|
1418
|
-
return /* @__PURE__ */ S.createElement(S.Fragment, null, /* @__PURE__ */ S.createElement(
|
|
1394
|
+
let { collection: t, document: l } = Zl(r.createCollection);
|
|
1395
|
+
return /* @__PURE__ */ S.createElement(S.Fragment, null, /* @__PURE__ */ S.createElement(Cl, null, /* @__PURE__ */ S.createElement(ne.Provider, {
|
|
1419
1396
|
value: l
|
|
1420
|
-
}, r.content)), /* @__PURE__ */ S.createElement(
|
|
1397
|
+
}, r.content)), /* @__PURE__ */ S.createElement(Yl, {
|
|
1421
1398
|
render: r.children,
|
|
1422
1399
|
collection: t
|
|
1423
1400
|
}));
|
|
1424
1401
|
}
|
|
1425
|
-
function
|
|
1402
|
+
function Yl({ collection: r, render: e }) {
|
|
1426
1403
|
return e(r);
|
|
1427
1404
|
}
|
|
1428
|
-
function
|
|
1405
|
+
function Jl(r, e, t) {
|
|
1429
1406
|
let l = at(), i = D(l);
|
|
1430
1407
|
i.current = l;
|
|
1431
1408
|
let n = G(() => i.current ? t() : e(), [
|
|
1432
1409
|
e,
|
|
1433
1410
|
t
|
|
1434
1411
|
]);
|
|
1435
|
-
return
|
|
1412
|
+
return _l.useSyncExternalStore(r, n);
|
|
1436
1413
|
}
|
|
1437
|
-
const
|
|
1438
|
-
function
|
|
1439
|
-
let [e] =
|
|
1414
|
+
const Xl = typeof S.useSyncExternalStore == "function" ? S.useSyncExternalStore : Jl;
|
|
1415
|
+
function Zl(r) {
|
|
1416
|
+
let [e] = te(() => new jl(r?.() || new Ae())), t = G((o) => e.subscribe(o), [
|
|
1440
1417
|
e
|
|
1441
1418
|
]), l = G(() => {
|
|
1442
1419
|
let o = e.getCollection();
|
|
@@ -1445,7 +1422,7 @@ function li(r) {
|
|
|
1445
1422
|
e
|
|
1446
1423
|
]), i = G(() => (e.isSSR = !0, e.getCollection()), [
|
|
1447
1424
|
e
|
|
1448
|
-
]), n =
|
|
1425
|
+
]), n = Xl(t, l, i);
|
|
1449
1426
|
return xe(() => (e.isMounted = !0, () => {
|
|
1450
1427
|
e.isMounted = !1;
|
|
1451
1428
|
}), [
|
|
@@ -1455,7 +1432,7 @@ function li(r) {
|
|
|
1455
1432
|
document: e
|
|
1456
1433
|
};
|
|
1457
1434
|
}
|
|
1458
|
-
const
|
|
1435
|
+
const Ie = /* @__PURE__ */ M(null);
|
|
1459
1436
|
function vt(r, e, t, l, i, n) {
|
|
1460
1437
|
let o = G((s) => {
|
|
1461
1438
|
s?.setProps(e, t, l, n);
|
|
@@ -1464,10 +1441,10 @@ function vt(r, e, t, l, i, n) {
|
|
|
1464
1441
|
t,
|
|
1465
1442
|
l,
|
|
1466
1443
|
n
|
|
1467
|
-
]), u = Q(
|
|
1444
|
+
]), u = Q(Ie);
|
|
1468
1445
|
if (u) {
|
|
1469
1446
|
let s = u.ownerDocument.nodesByProps.get(e);
|
|
1470
|
-
return s || (s = u.ownerDocument.createElement(r), s.setProps(e, t, l, n), u.appendChild(s), u.ownerDocument.updateCollection(), u.ownerDocument.nodesByProps.set(e, s)), i ? /* @__PURE__ */ S.createElement(
|
|
1447
|
+
return s || (s = u.ownerDocument.createElement(r), s.setProps(e, t, l, n), u.appendChild(s), u.ownerDocument.updateCollection(), u.ownerDocument.nodesByProps.set(e, s)), i ? /* @__PURE__ */ S.createElement(Ie.Provider, {
|
|
1471
1448
|
value: s
|
|
1472
1449
|
}, i) : null;
|
|
1473
1450
|
}
|
|
@@ -1476,15 +1453,15 @@ function vt(r, e, t, l, i, n) {
|
|
|
1476
1453
|
}, i);
|
|
1477
1454
|
}
|
|
1478
1455
|
function bt(r, e) {
|
|
1479
|
-
let t = ({ node: i }) => e(i.props, i.props.ref, i), l =
|
|
1480
|
-
let o = Q(
|
|
1456
|
+
let t = ({ node: i }) => e(i.props, i.props.ref, i), l = lt((i, n) => {
|
|
1457
|
+
let o = Q(Oe);
|
|
1481
1458
|
if (!Q(yt)) {
|
|
1482
1459
|
if (e.length >= 3) throw new Error(e.name + " cannot be rendered outside a collection.");
|
|
1483
1460
|
return e(i, n);
|
|
1484
1461
|
}
|
|
1485
1462
|
return vt(r, i, n, "children" in i ? i.children : null, null, (s) => (
|
|
1486
1463
|
// Forward FocusableContext to real DOM tree so tooltips work.
|
|
1487
|
-
/* @__PURE__ */ S.createElement(
|
|
1464
|
+
/* @__PURE__ */ S.createElement(Oe.Provider, {
|
|
1488
1465
|
value: o
|
|
1489
1466
|
}, /* @__PURE__ */ S.createElement(t, {
|
|
1490
1467
|
node: s
|
|
@@ -1493,74 +1470,74 @@ function bt(r, e) {
|
|
|
1493
1470
|
});
|
|
1494
1471
|
return l.displayName = e.name, l;
|
|
1495
1472
|
}
|
|
1496
|
-
function
|
|
1497
|
-
let l = ({ node: n }) => e(n.props, n.props.ref, n), i =
|
|
1473
|
+
function Ji(r, e, t = gt) {
|
|
1474
|
+
let l = ({ node: n }) => e(n.props, n.props.ref, n), i = lt((n, o) => {
|
|
1498
1475
|
let u = t(n);
|
|
1499
1476
|
var s;
|
|
1500
|
-
return (s = vt(r, n, o, null, u, (
|
|
1501
|
-
node:
|
|
1477
|
+
return (s = vt(r, n, o, null, u, (f) => /* @__PURE__ */ S.createElement(l, {
|
|
1478
|
+
node: f
|
|
1502
1479
|
}))) !== null && s !== void 0 ? s : /* @__PURE__ */ S.createElement(S.Fragment, null);
|
|
1503
1480
|
});
|
|
1504
1481
|
return i.displayName = e.name, i;
|
|
1505
1482
|
}
|
|
1506
|
-
function
|
|
1483
|
+
function gt(r) {
|
|
1507
1484
|
return pt({
|
|
1508
1485
|
...r,
|
|
1509
1486
|
addIdAndValue: !0
|
|
1510
1487
|
});
|
|
1511
1488
|
}
|
|
1512
|
-
const
|
|
1513
|
-
function
|
|
1514
|
-
let e = Q(
|
|
1489
|
+
const Je = /* @__PURE__ */ M(null);
|
|
1490
|
+
function Xi(r) {
|
|
1491
|
+
let e = Q(Je), t = (e?.dependencies || []).concat(r.dependencies), l = r.idScope || e?.idScope, i = gt({
|
|
1515
1492
|
...r,
|
|
1516
1493
|
idScope: l,
|
|
1517
1494
|
dependencies: t
|
|
1518
1495
|
});
|
|
1519
|
-
return Q(
|
|
1496
|
+
return Q(ne) && (i = /* @__PURE__ */ S.createElement(Ql, null, i)), e = U(() => ({
|
|
1520
1497
|
dependencies: t,
|
|
1521
1498
|
idScope: l
|
|
1522
1499
|
}), [
|
|
1523
1500
|
l,
|
|
1524
1501
|
...t
|
|
1525
|
-
]), /* @__PURE__ */ S.createElement(
|
|
1502
|
+
]), /* @__PURE__ */ S.createElement(Je.Provider, {
|
|
1526
1503
|
value: e
|
|
1527
1504
|
}, i);
|
|
1528
1505
|
}
|
|
1529
|
-
function
|
|
1530
|
-
let e = Q(
|
|
1506
|
+
function Ql({ children: r }) {
|
|
1507
|
+
let e = Q(ne), t = U(() => /* @__PURE__ */ S.createElement(ne.Provider, {
|
|
1531
1508
|
value: null
|
|
1532
1509
|
}, /* @__PURE__ */ S.createElement(yt.Provider, {
|
|
1533
1510
|
value: !0
|
|
1534
1511
|
}, r)), [
|
|
1535
1512
|
r
|
|
1536
1513
|
]);
|
|
1537
|
-
return at() ? /* @__PURE__ */ S.createElement(
|
|
1514
|
+
return at() ? /* @__PURE__ */ S.createElement(Ie.Provider, {
|
|
1538
1515
|
value: e
|
|
1539
|
-
}, t) : /* @__PURE__ */
|
|
1516
|
+
}, t) : /* @__PURE__ */ fl(t, e);
|
|
1540
1517
|
}
|
|
1541
1518
|
class z extends Set {
|
|
1542
1519
|
constructor(e, t, l) {
|
|
1543
1520
|
super(e), e instanceof z ? (this.anchorKey = t ?? e.anchorKey, this.currentKey = l ?? e.currentKey) : (this.anchorKey = t ?? null, this.currentKey = l ?? null);
|
|
1544
1521
|
}
|
|
1545
1522
|
}
|
|
1546
|
-
function
|
|
1523
|
+
function ei(r, e) {
|
|
1547
1524
|
if (r.size !== e.size) return !1;
|
|
1548
1525
|
for (let t of r)
|
|
1549
1526
|
if (!e.has(t)) return !1;
|
|
1550
1527
|
return !0;
|
|
1551
1528
|
}
|
|
1552
|
-
function
|
|
1553
|
-
let { selectionMode: e = "none", disallowEmptySelection: t = !1, allowDuplicateSelectionEvents: l, selectionBehavior: i = "toggle", disabledBehavior: n = "all" } = r, o = D(!1), [, u] =
|
|
1529
|
+
function Zi(r) {
|
|
1530
|
+
let { selectionMode: e = "none", disallowEmptySelection: t = !1, allowDuplicateSelectionEvents: l, selectionBehavior: i = "toggle", disabledBehavior: n = "all" } = r, o = D(!1), [, u] = te(!1), s = D(null), f = D(null), [, m] = te(null), h = U(() => Xe(r.selectedKeys), [
|
|
1554
1531
|
r.selectedKeys
|
|
1555
|
-
]),
|
|
1532
|
+
]), p = U(() => Xe(r.defaultSelectedKeys, new z()), [
|
|
1556
1533
|
r.defaultSelectedKeys
|
|
1557
|
-
]), [y, v] =
|
|
1534
|
+
]), [y, v] = it(h, p, r.onSelectionChange), K = U(() => r.disabledKeys ? new Set(r.disabledKeys) : /* @__PURE__ */ new Set(), [
|
|
1558
1535
|
r.disabledKeys
|
|
1559
|
-
]), [$, g] =
|
|
1536
|
+
]), [$, g] = te(i);
|
|
1560
1537
|
i === "replace" && $ === "toggle" && typeof y == "object" && y.size === 0 && g("replace");
|
|
1561
|
-
let
|
|
1538
|
+
let E = D(i);
|
|
1562
1539
|
return Z(() => {
|
|
1563
|
-
i !==
|
|
1540
|
+
i !== E.current && (g(i), E.current = i);
|
|
1564
1541
|
}, [
|
|
1565
1542
|
i
|
|
1566
1543
|
]), {
|
|
@@ -1578,23 +1555,23 @@ function rn(r) {
|
|
|
1578
1555
|
return s.current;
|
|
1579
1556
|
},
|
|
1580
1557
|
get childFocusStrategy() {
|
|
1581
|
-
return
|
|
1558
|
+
return f.current;
|
|
1582
1559
|
},
|
|
1583
1560
|
setFocusedKey(C, k = "first") {
|
|
1584
|
-
s.current = C,
|
|
1561
|
+
s.current = C, f.current = k, m(C);
|
|
1585
1562
|
},
|
|
1586
1563
|
selectedKeys: y,
|
|
1587
1564
|
setSelectedKeys(C) {
|
|
1588
|
-
(l || !
|
|
1565
|
+
(l || !ei(C, y)) && v(C);
|
|
1589
1566
|
},
|
|
1590
1567
|
disabledKeys: K,
|
|
1591
1568
|
disabledBehavior: n
|
|
1592
1569
|
};
|
|
1593
1570
|
}
|
|
1594
|
-
function
|
|
1571
|
+
function Xe(r, e) {
|
|
1595
1572
|
return r ? r === "all" ? "all" : new z(r) : e;
|
|
1596
1573
|
}
|
|
1597
|
-
class
|
|
1574
|
+
class $t {
|
|
1598
1575
|
/**
|
|
1599
1576
|
* The type of selection that is allowed in the collection.
|
|
1600
1577
|
*/
|
|
@@ -1688,7 +1665,7 @@ class gt {
|
|
|
1688
1665
|
let e = null;
|
|
1689
1666
|
for (let l of this.state.selectedKeys) {
|
|
1690
1667
|
let i = this.collection.getItem(l);
|
|
1691
|
-
(!e || i &&
|
|
1668
|
+
(!e || i && ge(this.collection, i, e) < 0) && (e = i);
|
|
1692
1669
|
}
|
|
1693
1670
|
var t;
|
|
1694
1671
|
return (t = e?.key) !== null && t !== void 0 ? t : null;
|
|
@@ -1697,7 +1674,7 @@ class gt {
|
|
|
1697
1674
|
let e = null;
|
|
1698
1675
|
for (let l of this.state.selectedKeys) {
|
|
1699
1676
|
let i = this.collection.getItem(l);
|
|
1700
|
-
(!e || i &&
|
|
1677
|
+
(!e || i && ge(this.collection, i, e) > 0) && (e = i);
|
|
1701
1678
|
}
|
|
1702
1679
|
var t;
|
|
1703
1680
|
return (t = e?.key) !== null && t !== void 0 ? t : null;
|
|
@@ -1736,7 +1713,7 @@ class gt {
|
|
|
1736
1713
|
}
|
|
1737
1714
|
getKeyRange(e, t) {
|
|
1738
1715
|
let l = this.collection.getItem(e), i = this.collection.getItem(t);
|
|
1739
|
-
return l && i ?
|
|
1716
|
+
return l && i ? ge(this.collection, l, i) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
|
|
1740
1717
|
}
|
|
1741
1718
|
getKeyRangeInternal(e, t) {
|
|
1742
1719
|
var l;
|
|
@@ -1802,7 +1779,7 @@ class gt {
|
|
|
1802
1779
|
let o = this.collection.getItem(l);
|
|
1803
1780
|
o?.type === "item" && e.push(l);
|
|
1804
1781
|
var n;
|
|
1805
|
-
o?.hasChildNodes && (this.allowsCellSelection || o.type !== "item") && t((n = (i =
|
|
1782
|
+
o?.hasChildNodes && (this.allowsCellSelection || o.type !== "item") && t((n = (i = zl(ft(o, this.collection))) === null || i === void 0 ? void 0 : i.key) !== null && n !== void 0 ? n : null);
|
|
1806
1783
|
}
|
|
1807
1784
|
l = this.collection.getKeyAfter(l);
|
|
1808
1785
|
}
|
|
@@ -1862,7 +1839,7 @@ class gt {
|
|
|
1862
1839
|
return (t = this.collection.getItem(e)) === null || t === void 0 ? void 0 : t.props;
|
|
1863
1840
|
}
|
|
1864
1841
|
withCollection(e) {
|
|
1865
|
-
return new
|
|
1842
|
+
return new $t(e, this.state, {
|
|
1866
1843
|
allowsCellSelection: this.allowsCellSelection,
|
|
1867
1844
|
layoutDelegate: this.layoutDelegate || void 0
|
|
1868
1845
|
});
|
|
@@ -1873,63 +1850,73 @@ class gt {
|
|
|
1873
1850
|
this.allowsCellSelection = (i = l?.allowsCellSelection) !== null && i !== void 0 ? i : !1, this._isSelectAll = null, this.layoutDelegate = l?.layoutDelegate || null;
|
|
1874
1851
|
}
|
|
1875
1852
|
}
|
|
1876
|
-
const
|
|
1877
|
-
[e, t] =
|
|
1878
|
-
let { validationBehavior: l } =
|
|
1853
|
+
const ti = /* @__PURE__ */ M(null), mt = /* @__PURE__ */ M(null), Qi = /* @__PURE__ */ wl(function(e, t) {
|
|
1854
|
+
[e, t] = ae(e, t, mt);
|
|
1855
|
+
let { validationBehavior: l } = nt(gl) || {};
|
|
1879
1856
|
var i, n;
|
|
1880
|
-
let o = (n = (i = e.validationBehavior) !== null && i !== void 0 ? i : l) !== null && n !== void 0 ? n : "native", u = D(null), [s,
|
|
1881
|
-
...
|
|
1882
|
-
inputElementType:
|
|
1883
|
-
label:
|
|
1857
|
+
let o = (n = (i = e.validationBehavior) !== null && i !== void 0 ? i : l) !== null && n !== void 0 ? n : "native", u = D(null), [s, f] = ae({}, u, we), [m, h] = yl(!e["aria-label"] && !e["aria-labelledby"]), [p, y] = te("input"), { labelProps: v, inputProps: K, descriptionProps: $, errorMessageProps: g, ...E } = El({
|
|
1858
|
+
...rt(e),
|
|
1859
|
+
inputElementType: p,
|
|
1860
|
+
label: h,
|
|
1884
1861
|
validationBehavior: o
|
|
1885
|
-
},
|
|
1886
|
-
|
|
1862
|
+
}, f), C = G((R) => {
|
|
1863
|
+
f.current = R, R && y(R instanceof HTMLTextAreaElement ? "textarea" : "input");
|
|
1887
1864
|
}, [
|
|
1888
|
-
|
|
1889
|
-
]), k =
|
|
1865
|
+
f
|
|
1866
|
+
]), k = vl({
|
|
1890
1867
|
...e,
|
|
1891
1868
|
values: {
|
|
1892
1869
|
isDisabled: e.isDisabled || !1,
|
|
1893
|
-
isInvalid:
|
|
1870
|
+
isInvalid: E.isInvalid,
|
|
1894
1871
|
isReadOnly: e.isReadOnly || !1,
|
|
1895
1872
|
isRequired: e.isRequired || !1
|
|
1896
1873
|
},
|
|
1897
1874
|
defaultClassName: "react-aria-TextField"
|
|
1898
|
-
}), F =
|
|
1875
|
+
}), F = st(e, {
|
|
1876
|
+
global: !0
|
|
1877
|
+
});
|
|
1899
1878
|
return delete F.id, /* @__PURE__ */ S.createElement("div", {
|
|
1900
1879
|
...F,
|
|
1901
1880
|
...k,
|
|
1902
1881
|
ref: t,
|
|
1903
1882
|
slot: e.slot || void 0,
|
|
1904
1883
|
"data-disabled": e.isDisabled || void 0,
|
|
1905
|
-
"data-invalid":
|
|
1884
|
+
"data-invalid": E.isInvalid || void 0,
|
|
1906
1885
|
"data-readonly": e.isReadOnly || void 0,
|
|
1907
1886
|
"data-required": e.isRequired || void 0
|
|
1908
|
-
}, /* @__PURE__ */ S.createElement(
|
|
1887
|
+
}, /* @__PURE__ */ S.createElement(ot, {
|
|
1909
1888
|
values: [
|
|
1910
1889
|
[
|
|
1911
|
-
|
|
1890
|
+
xl,
|
|
1912
1891
|
{
|
|
1913
1892
|
...v,
|
|
1914
1893
|
ref: m
|
|
1915
1894
|
}
|
|
1916
1895
|
],
|
|
1917
1896
|
[
|
|
1918
|
-
|
|
1897
|
+
we,
|
|
1919
1898
|
{
|
|
1920
|
-
...
|
|
1899
|
+
...q(K, s),
|
|
1921
1900
|
ref: C
|
|
1922
1901
|
}
|
|
1923
1902
|
],
|
|
1924
1903
|
[
|
|
1925
|
-
|
|
1904
|
+
Sl,
|
|
1926
1905
|
{
|
|
1927
1906
|
...K,
|
|
1928
1907
|
ref: C
|
|
1929
1908
|
}
|
|
1930
1909
|
],
|
|
1931
1910
|
[
|
|
1932
|
-
|
|
1911
|
+
ml,
|
|
1912
|
+
{
|
|
1913
|
+
role: "presentation",
|
|
1914
|
+
isInvalid: E.isInvalid,
|
|
1915
|
+
isDisabled: e.isDisabled || !1
|
|
1916
|
+
}
|
|
1917
|
+
],
|
|
1918
|
+
[
|
|
1919
|
+
Kl,
|
|
1933
1920
|
{
|
|
1934
1921
|
slots: {
|
|
1935
1922
|
description: $,
|
|
@@ -1938,8 +1925,8 @@ const ri = /* @__PURE__ */ B(null), mt = /* @__PURE__ */ B(null), on = /* @__PUR
|
|
|
1938
1925
|
}
|
|
1939
1926
|
],
|
|
1940
1927
|
[
|
|
1941
|
-
|
|
1942
|
-
|
|
1928
|
+
$l,
|
|
1929
|
+
E
|
|
1943
1930
|
]
|
|
1944
1931
|
]
|
|
1945
1932
|
}, k.children));
|
|
@@ -2024,12 +2011,12 @@ var Vt = {};
|
|
|
2024
2011
|
Vt = {
|
|
2025
2012
|
collectionLabel: "Forslag"
|
|
2026
2013
|
};
|
|
2027
|
-
var zt = {};
|
|
2028
|
-
zt = {
|
|
2029
|
-
collectionLabel: "Suggesties"
|
|
2030
|
-
};
|
|
2031
2014
|
var Ut = {};
|
|
2032
2015
|
Ut = {
|
|
2016
|
+
collectionLabel: "Suggesties"
|
|
2017
|
+
};
|
|
2018
|
+
var zt = {};
|
|
2019
|
+
zt = {
|
|
2033
2020
|
collectionLabel: "Sugestie"
|
|
2034
2021
|
};
|
|
2035
2022
|
var Ht = {};
|
|
@@ -2102,8 +2089,8 @@ tl = {
|
|
|
2102
2089
|
"lt-LT": Ot,
|
|
2103
2090
|
"lv-LV": Nt,
|
|
2104
2091
|
"nb-NO": Vt,
|
|
2105
|
-
"nl-NL":
|
|
2106
|
-
"pl-PL":
|
|
2092
|
+
"nl-NL": Ut,
|
|
2093
|
+
"pl-PL": zt,
|
|
2107
2094
|
"pt-BR": Ht,
|
|
2108
2095
|
"pt-PT": qt,
|
|
2109
2096
|
"ro-RO": Wt,
|
|
@@ -2117,66 +2104,71 @@ tl = {
|
|
|
2117
2104
|
"zh-CN": Qt,
|
|
2118
2105
|
"zh-TW": el
|
|
2119
2106
|
};
|
|
2120
|
-
function
|
|
2107
|
+
function li(r) {
|
|
2121
2108
|
return r && r.__esModule ? r.default : r;
|
|
2122
2109
|
}
|
|
2123
|
-
function
|
|
2124
|
-
let { inputRef: t, collectionRef: l, filter: i, disableAutoFocusFirst: n = !1 } = r, o =
|
|
2110
|
+
function ii(r, e) {
|
|
2111
|
+
let { inputRef: t, collectionRef: l, filter: i, disableAutoFocusFirst: n = !1 } = r, o = Pe(), u = D(void 0), s = D(!1), f = D(null), m = D(null), h = Ce() !== "virtual";
|
|
2125
2112
|
Z(() => () => clearTimeout(u.current), []);
|
|
2126
|
-
let
|
|
2127
|
-
!
|
|
2128
|
-
let x =
|
|
2129
|
-
|
|
2113
|
+
let p = ee((d) => {
|
|
2114
|
+
!d.isTrusted && h && t.current && se(Fe(t.current)) !== t.current && t.current.focus();
|
|
2115
|
+
let x = d.target;
|
|
2116
|
+
d.isTrusted || !x || f.current === x.id || (clearTimeout(u.current), x !== l.current ? s.current ? (f.current = x.id, u.current = setTimeout(() => {
|
|
2130
2117
|
e.setFocusedNodeId(x.id);
|
|
2131
|
-
}, 500)) : (
|
|
2132
|
-
}), y = G((
|
|
2118
|
+
}, 500)) : (f.current = x.id, e.setFocusedNodeId(x.id)) : (f.current = null, e.setFocusedNodeId(null)), s.current = !1);
|
|
2119
|
+
}), y = G((d) => {
|
|
2133
2120
|
var x;
|
|
2134
|
-
if (
|
|
2121
|
+
if (d != null) {
|
|
2135
2122
|
var I;
|
|
2136
|
-
(I = m.current) === null || I === void 0 || I.removeEventListener("focusin",
|
|
2137
|
-
} else (x = m.current) === null || x === void 0 || x.removeEventListener("focusin",
|
|
2123
|
+
(I = m.current) === null || I === void 0 || I.removeEventListener("focusin", p), m.current = d, d.addEventListener("focusin", p);
|
|
2124
|
+
} else (x = m.current) === null || x === void 0 || x.removeEventListener("focusin", p);
|
|
2138
2125
|
}, [
|
|
2139
|
-
|
|
2140
|
-
]), v =
|
|
2126
|
+
p
|
|
2127
|
+
]), v = kl(U(() => bl(l, y), [
|
|
2141
2128
|
l,
|
|
2142
2129
|
y
|
|
2143
|
-
])), K =
|
|
2144
|
-
var
|
|
2145
|
-
s.current = !0, (
|
|
2130
|
+
])), K = ee(() => {
|
|
2131
|
+
var d;
|
|
2132
|
+
s.current = !0, (d = l.current) === null || d === void 0 || d.dispatchEvent(new CustomEvent(Ee, {
|
|
2146
2133
|
cancelable: !0,
|
|
2147
2134
|
bubbles: !0,
|
|
2148
2135
|
detail: {
|
|
2149
2136
|
focusStrategy: "first"
|
|
2150
2137
|
}
|
|
2151
2138
|
}));
|
|
2152
|
-
}), $ =
|
|
2139
|
+
}), $ = ee((d) => {
|
|
2153
2140
|
var x;
|
|
2154
|
-
|
|
2141
|
+
Re(se()), f.current = null, e.setFocusedNodeId(null);
|
|
2155
2142
|
let I = new CustomEvent(ut, {
|
|
2156
2143
|
cancelable: !0,
|
|
2157
2144
|
bubbles: !0,
|
|
2158
2145
|
detail: {
|
|
2159
|
-
clearFocusKey:
|
|
2146
|
+
clearFocusKey: d
|
|
2160
2147
|
}
|
|
2161
2148
|
});
|
|
2162
2149
|
clearTimeout(u.current), s.current = !1, (x = l.current) === null || x === void 0 || x.dispatchEvent(I);
|
|
2163
|
-
}), g = (
|
|
2164
|
-
|
|
2165
|
-
|
|
2150
|
+
}), g = D("");
|
|
2151
|
+
ie(t, "input", (d) => {
|
|
2152
|
+
let { inputType: x } = d;
|
|
2153
|
+
g.current = x;
|
|
2154
|
+
});
|
|
2155
|
+
let E = (d) => {
|
|
2156
|
+
g.current === "insertText" && !n ? K() : (g.current.includes("insert") || g.current.includes("delete") || g.current.includes("history")) && ($(!0), ct(document) === t.current && ue(t.current, null)), e.setInputValue(d);
|
|
2157
|
+
}, C = D(null), k = (d) => {
|
|
2166
2158
|
var x;
|
|
2167
|
-
if (
|
|
2168
|
-
let I =
|
|
2169
|
-
switch (
|
|
2159
|
+
if (C.current = d.target, d.nativeEvent.isComposing) return;
|
|
2160
|
+
let I = f.current;
|
|
2161
|
+
switch (d.key) {
|
|
2170
2162
|
case "a":
|
|
2171
|
-
if (
|
|
2163
|
+
if (X(d)) return;
|
|
2172
2164
|
break;
|
|
2173
2165
|
case "Escape":
|
|
2174
|
-
if (
|
|
2166
|
+
if (d.isDefaultPrevented()) return;
|
|
2175
2167
|
break;
|
|
2176
2168
|
case " ":
|
|
2177
2169
|
return;
|
|
2178
2170
|
case "Tab":
|
|
2179
|
-
"continuePropagation" in
|
|
2171
|
+
"continuePropagation" in d && d.continuePropagation();
|
|
2180
2172
|
return;
|
|
2181
2173
|
case "Home":
|
|
2182
2174
|
case "End":
|
|
@@ -2185,98 +2177,104 @@ function si(r, e) {
|
|
|
2185
2177
|
case "ArrowUp":
|
|
2186
2178
|
case "ArrowDown": {
|
|
2187
2179
|
var V;
|
|
2188
|
-
if ((
|
|
2189
|
-
|
|
2190
|
-
let
|
|
2180
|
+
if ((d.key === "Home" || d.key === "End") && I == null && d.shiftKey) return;
|
|
2181
|
+
d.preventDefault();
|
|
2182
|
+
let c = new CustomEvent(Ee, {
|
|
2191
2183
|
cancelable: !0,
|
|
2192
2184
|
bubbles: !0
|
|
2193
2185
|
});
|
|
2194
|
-
(V = l.current) === null || V === void 0 || V.dispatchEvent(
|
|
2186
|
+
(V = l.current) === null || V === void 0 || V.dispatchEvent(c);
|
|
2195
2187
|
break;
|
|
2196
2188
|
}
|
|
2197
2189
|
}
|
|
2198
|
-
|
|
2199
|
-
let
|
|
2200
|
-
if (I == null)
|
|
2190
|
+
d.isPropagationStopped() || d.stopPropagation();
|
|
2191
|
+
let j = !0;
|
|
2192
|
+
if (I == null) j = ((x = l.current) === null || x === void 0 ? void 0 : x.dispatchEvent(new KeyboardEvent(d.nativeEvent.type, d.nativeEvent))) || !1;
|
|
2201
2193
|
else {
|
|
2202
|
-
let
|
|
2203
|
-
|
|
2194
|
+
let c = document.getElementById(I);
|
|
2195
|
+
j = c?.dispatchEvent(new KeyboardEvent(d.nativeEvent.type, d.nativeEvent)) || !1;
|
|
2204
2196
|
}
|
|
2205
|
-
if (
|
|
2197
|
+
if (j) switch (d.key) {
|
|
2206
2198
|
case "ArrowLeft":
|
|
2207
2199
|
case "ArrowRight":
|
|
2208
2200
|
$();
|
|
2209
2201
|
break;
|
|
2202
|
+
case "Enter":
|
|
2203
|
+
if (I != null) {
|
|
2204
|
+
let c = document.getElementById(I);
|
|
2205
|
+
c?.click();
|
|
2206
|
+
}
|
|
2207
|
+
break;
|
|
2210
2208
|
}
|
|
2211
|
-
},
|
|
2212
|
-
if (
|
|
2209
|
+
}, F = ee((d) => {
|
|
2210
|
+
if (d.target === C.current) {
|
|
2213
2211
|
var x;
|
|
2214
|
-
|
|
2215
|
-
let I =
|
|
2216
|
-
if (I == null) (x = l.current) === null || x === void 0 || x.dispatchEvent(new KeyboardEvent(
|
|
2212
|
+
d.stopImmediatePropagation();
|
|
2213
|
+
let I = f.current;
|
|
2214
|
+
if (I == null) (x = l.current) === null || x === void 0 || x.dispatchEvent(new KeyboardEvent(d.type, d));
|
|
2217
2215
|
else {
|
|
2218
2216
|
let V = document.getElementById(I);
|
|
2219
|
-
V?.dispatchEvent(new KeyboardEvent(
|
|
2217
|
+
V?.dispatchEvent(new KeyboardEvent(d.type, d));
|
|
2220
2218
|
}
|
|
2221
2219
|
}
|
|
2222
2220
|
});
|
|
2223
|
-
Z(() => (document.addEventListener("keyup",
|
|
2224
|
-
document.removeEventListener("keyup",
|
|
2221
|
+
Z(() => (document.addEventListener("keyup", F, !0), () => {
|
|
2222
|
+
document.removeEventListener("keyup", F, !0);
|
|
2225
2223
|
}), [
|
|
2226
|
-
|
|
2224
|
+
F
|
|
2227
2225
|
]);
|
|
2228
|
-
let
|
|
2226
|
+
let R = Il(li(tl), "@react-aria/autocomplete"), B = Dl({
|
|
2229
2227
|
id: o,
|
|
2230
|
-
"aria-label":
|
|
2231
|
-
}),
|
|
2228
|
+
"aria-label": R.format("collectionLabel")
|
|
2229
|
+
}), T = G((d) => i ? i(d, e.inputValue) : !0, [
|
|
2232
2230
|
e.inputValue,
|
|
2233
2231
|
i
|
|
2234
|
-
]),
|
|
2235
|
-
if (!
|
|
2236
|
-
let x =
|
|
2237
|
-
x &&
|
|
2238
|
-
},
|
|
2239
|
-
if (!
|
|
2240
|
-
let x =
|
|
2232
|
+
]), _ = (d) => {
|
|
2233
|
+
if (!d.isTrusted) return;
|
|
2234
|
+
let x = f.current ? document.getElementById(f.current) : null;
|
|
2235
|
+
x && De(x, d.relatedTarget);
|
|
2236
|
+
}, O = (d) => {
|
|
2237
|
+
if (!d.isTrusted) return;
|
|
2238
|
+
let x = f.current ? document.getElementById(f.current) : null;
|
|
2241
2239
|
if (x) {
|
|
2242
|
-
let I =
|
|
2240
|
+
let I = d.target;
|
|
2243
2241
|
queueMicrotask(() => {
|
|
2244
|
-
|
|
2242
|
+
De(I, x), ue(x, I);
|
|
2245
2243
|
});
|
|
2246
2244
|
}
|
|
2247
2245
|
};
|
|
2248
|
-
var
|
|
2246
|
+
var N;
|
|
2249
2247
|
return {
|
|
2250
2248
|
textFieldProps: {
|
|
2251
2249
|
value: e.inputValue,
|
|
2252
|
-
onChange:
|
|
2253
|
-
onKeyDown:
|
|
2250
|
+
onChange: E,
|
|
2251
|
+
onKeyDown: k,
|
|
2254
2252
|
autoComplete: "off",
|
|
2255
2253
|
"aria-haspopup": "listbox",
|
|
2256
2254
|
"aria-controls": o,
|
|
2257
2255
|
// TODO: readd proper logic for completionMode = complete (aria-autocomplete: both)
|
|
2258
2256
|
"aria-autocomplete": "list",
|
|
2259
|
-
"aria-activedescendant": (
|
|
2257
|
+
"aria-activedescendant": (N = e.focusedNodeId) !== null && N !== void 0 ? N : void 0,
|
|
2260
2258
|
// This disable's iOS's autocorrect suggestions, since the autocomplete provides its own suggestions.
|
|
2261
2259
|
autoCorrect: "off",
|
|
2262
2260
|
// This disable's the macOS Safari spell check auto corrections.
|
|
2263
2261
|
spellCheck: "false",
|
|
2264
2262
|
enterKeyHint: "go",
|
|
2265
|
-
onBlur:
|
|
2266
|
-
onFocus:
|
|
2263
|
+
onBlur: _,
|
|
2264
|
+
onFocus: O
|
|
2267
2265
|
},
|
|
2268
|
-
collectionProps:
|
|
2269
|
-
shouldUseVirtualFocus:
|
|
2266
|
+
collectionProps: q(B, {
|
|
2267
|
+
shouldUseVirtualFocus: h,
|
|
2270
2268
|
disallowTypeAhead: !0
|
|
2271
2269
|
}),
|
|
2272
2270
|
collectionRef: v,
|
|
2273
|
-
filter: i != null ?
|
|
2271
|
+
filter: i != null ? T : void 0
|
|
2274
2272
|
};
|
|
2275
2273
|
}
|
|
2276
|
-
function
|
|
2277
|
-
let { onInputChange: e, inputValue: t, defaultInputValue: l = "" } = r, i = (
|
|
2278
|
-
e && e(
|
|
2279
|
-
}, [n, o] =
|
|
2274
|
+
function ni(r) {
|
|
2275
|
+
let { onInputChange: e, inputValue: t, defaultInputValue: l = "" } = r, i = (f) => {
|
|
2276
|
+
e && e(f);
|
|
2277
|
+
}, [n, o] = te(null), [u, s] = it(t, l, i);
|
|
2280
2278
|
return {
|
|
2281
2279
|
inputValue: u,
|
|
2282
2280
|
setInputValue: s,
|
|
@@ -2284,25 +2282,25 @@ function ai(r) {
|
|
|
2284
2282
|
setFocusedNodeId: o
|
|
2285
2283
|
};
|
|
2286
2284
|
}
|
|
2287
|
-
const
|
|
2288
|
-
function
|
|
2289
|
-
let e =
|
|
2290
|
-
r =
|
|
2291
|
-
let { filter: t, disableAutoFocusFirst: l } = r, i =
|
|
2292
|
-
...
|
|
2285
|
+
const ri = /* @__PURE__ */ M(null), oi = /* @__PURE__ */ M(null), si = /* @__PURE__ */ M(null);
|
|
2286
|
+
function en(r) {
|
|
2287
|
+
let e = nt(ri, r.slot);
|
|
2288
|
+
r = q(e, r);
|
|
2289
|
+
let { filter: t, disableAutoFocusFirst: l } = r, i = ni(r), n = D(null), o = D(null), { textFieldProps: u, collectionProps: s, collectionRef: f, filter: m } = ii({
|
|
2290
|
+
...rt(r),
|
|
2293
2291
|
filter: t,
|
|
2294
2292
|
disableAutoFocusFirst: l,
|
|
2295
2293
|
inputRef: n,
|
|
2296
2294
|
collectionRef: o
|
|
2297
2295
|
}, i);
|
|
2298
|
-
return /* @__PURE__ */ S.createElement(
|
|
2296
|
+
return /* @__PURE__ */ S.createElement(ot, {
|
|
2299
2297
|
values: [
|
|
2300
2298
|
[
|
|
2301
|
-
|
|
2299
|
+
oi,
|
|
2302
2300
|
i
|
|
2303
2301
|
],
|
|
2304
2302
|
[
|
|
2305
|
-
|
|
2303
|
+
ti,
|
|
2306
2304
|
u
|
|
2307
2305
|
],
|
|
2308
2306
|
[
|
|
@@ -2310,31 +2308,31 @@ function sn(r) {
|
|
|
2310
2308
|
u
|
|
2311
2309
|
],
|
|
2312
2310
|
[
|
|
2313
|
-
|
|
2311
|
+
we,
|
|
2314
2312
|
{
|
|
2315
2313
|
ref: n
|
|
2316
2314
|
}
|
|
2317
2315
|
],
|
|
2318
2316
|
[
|
|
2319
|
-
|
|
2317
|
+
si,
|
|
2320
2318
|
{
|
|
2321
2319
|
filter: m,
|
|
2322
2320
|
collectionProps: s,
|
|
2323
|
-
collectionRef:
|
|
2321
|
+
collectionRef: f
|
|
2324
2322
|
}
|
|
2325
2323
|
]
|
|
2326
2324
|
]
|
|
2327
2325
|
}, r.children);
|
|
2328
2326
|
}
|
|
2329
|
-
const
|
|
2327
|
+
const tn = /* @__PURE__ */ M(null), ai = {
|
|
2330
2328
|
CollectionRoot({ collection: r, renderDropIndicator: e }) {
|
|
2331
|
-
return
|
|
2329
|
+
return Ze(r, null, e);
|
|
2332
2330
|
},
|
|
2333
2331
|
CollectionBranch({ collection: r, parent: e, renderDropIndicator: t }) {
|
|
2334
|
-
return
|
|
2332
|
+
return Ze(r, e, t);
|
|
2335
2333
|
}
|
|
2336
2334
|
};
|
|
2337
|
-
function
|
|
2335
|
+
function Ze(r, e, t) {
|
|
2338
2336
|
return pt({
|
|
2339
2337
|
items: e ? r.getChildren(e.key) : r,
|
|
2340
2338
|
dependencies: [
|
|
@@ -2346,11 +2344,11 @@ function Xe(r, e, t) {
|
|
|
2346
2344
|
type: "item",
|
|
2347
2345
|
key: l.key,
|
|
2348
2346
|
dropPosition: "before"
|
|
2349
|
-
}), i,
|
|
2347
|
+
}), i, ui(r, l, t));
|
|
2350
2348
|
}
|
|
2351
2349
|
});
|
|
2352
2350
|
}
|
|
2353
|
-
function
|
|
2351
|
+
function ui(r, e, t) {
|
|
2354
2352
|
let l = e.key, i = r.getKeyAfter(l), n = i != null ? r.getItem(i) : null;
|
|
2355
2353
|
for (; n != null && n.type !== "item"; )
|
|
2356
2354
|
i = r.getKeyAfter(n.key), n = i != null ? r.getItem(i) : null;
|
|
@@ -2360,44 +2358,45 @@ function hi(r, e, t) {
|
|
|
2360
2358
|
if (o == null) {
|
|
2361
2359
|
let s = e;
|
|
2362
2360
|
for (; s && (!n || s.parentKey !== n.parentKey && n.level < s.level); ) {
|
|
2363
|
-
let
|
|
2361
|
+
let f = t({
|
|
2364
2362
|
type: "item",
|
|
2365
2363
|
key: s.key,
|
|
2366
2364
|
dropPosition: "after"
|
|
2367
2365
|
});
|
|
2368
|
-
/* @__PURE__ */ sl(
|
|
2366
|
+
/* @__PURE__ */ sl(f) && u.push(/* @__PURE__ */ tt(f, {
|
|
2369
2367
|
key: `${s.key}-after`
|
|
2370
2368
|
})), s = s.parentKey != null ? r.getItem(s.parentKey) : null;
|
|
2371
2369
|
}
|
|
2372
2370
|
}
|
|
2373
2371
|
return u;
|
|
2374
2372
|
}
|
|
2375
|
-
const
|
|
2376
|
-
function
|
|
2377
|
-
return
|
|
2373
|
+
const ln = /* @__PURE__ */ M(ai);
|
|
2374
|
+
function nn(r) {
|
|
2375
|
+
return U(() => r != null ? /* @__PURE__ */ new Set([
|
|
2378
2376
|
r
|
|
2379
2377
|
]) : null, [
|
|
2380
2378
|
r
|
|
2381
2379
|
]);
|
|
2382
2380
|
}
|
|
2383
|
-
const
|
|
2384
|
-
return [e, t] =
|
|
2381
|
+
const ci = /* @__PURE__ */ M({}), rn = /* @__PURE__ */ bt("header", function(e, t) {
|
|
2382
|
+
return [e, t] = ae(e, t, ci), /* @__PURE__ */ S.createElement("header", {
|
|
2385
2383
|
className: "react-aria-Header",
|
|
2386
2384
|
...e,
|
|
2387
2385
|
ref: t
|
|
2388
2386
|
}, e.children);
|
|
2389
|
-
}),
|
|
2390
|
-
[e, t] =
|
|
2391
|
-
let { elementType: l, orientation: i, style: n, className: o, slot: u, ...s } = e,
|
|
2392
|
-
|
|
2393
|
-
let { separatorProps: m } =
|
|
2387
|
+
}), di = /* @__PURE__ */ M({}), on = /* @__PURE__ */ bt("separator", function(e, t) {
|
|
2388
|
+
[e, t] = ae(e, t, di);
|
|
2389
|
+
let { elementType: l, orientation: i, style: n, className: o, slot: u, ...s } = e, f = l || "hr";
|
|
2390
|
+
f === "hr" && i === "vertical" && (f = "div");
|
|
2391
|
+
let { separatorProps: m } = Pl({
|
|
2394
2392
|
...s,
|
|
2395
2393
|
elementType: l,
|
|
2396
2394
|
orientation: i
|
|
2395
|
+
}), h = st(e, {
|
|
2396
|
+
global: !0
|
|
2397
2397
|
});
|
|
2398
|
-
return /* @__PURE__ */ S.createElement(
|
|
2399
|
-
...
|
|
2400
|
-
...m,
|
|
2398
|
+
return /* @__PURE__ */ S.createElement(f, {
|
|
2399
|
+
...q(h, m),
|
|
2401
2400
|
style: n,
|
|
2402
2401
|
className: o ?? "react-aria-Separator",
|
|
2403
2402
|
ref: t,
|
|
@@ -2405,33 +2404,32 @@ const pi = /* @__PURE__ */ B({}), dn = /* @__PURE__ */ bt("header", function(e,
|
|
|
2405
2404
|
});
|
|
2406
2405
|
});
|
|
2407
2406
|
export {
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
gt as e,
|
|
2407
|
+
Gi as $,
|
|
2408
|
+
ji as a,
|
|
2409
|
+
Wi as b,
|
|
2410
|
+
Zi as c,
|
|
2411
|
+
_i as d,
|
|
2412
|
+
$t as e,
|
|
2415
2413
|
bt as f,
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2414
|
+
Ji as g,
|
|
2415
|
+
Yi as h,
|
|
2416
|
+
Xi as i,
|
|
2417
|
+
ln as j,
|
|
2418
|
+
ci as k,
|
|
2419
|
+
si as l,
|
|
2420
|
+
Nl as m,
|
|
2421
|
+
di as n,
|
|
2422
|
+
tn as o,
|
|
2423
|
+
on as p,
|
|
2424
|
+
rn as q,
|
|
2425
|
+
Ml as r,
|
|
2426
|
+
Ol as s,
|
|
2429
2427
|
ft as t,
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2428
|
+
ue as u,
|
|
2429
|
+
en as v,
|
|
2430
|
+
Qi as w,
|
|
2431
|
+
ai as x,
|
|
2432
|
+
nn as y,
|
|
2433
|
+
Rl as z
|
|
2436
2434
|
};
|
|
2437
|
-
//# sourceMappingURL=Separator-
|
|
2435
|
+
//# sourceMappingURL=Separator-jqT9Eof_.es.js.map
|