@commercetools/nimbus 0.0.13-rc1 → 0.0.14-rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/accordion.d.ts +13 -4
- package/dist/alert.d.ts +10 -1
- package/dist/avatar.d.ts +9 -0
- package/dist/badge.d.ts +9 -0
- package/dist/box.d.ts +9 -0
- package/dist/button.d.ts +9 -0
- package/dist/calendar.d.ts +9 -0
- package/dist/card.d.ts +9 -0
- package/dist/checkbox.d.ts +9 -0
- package/dist/chunks/Button-MmwT6xpw.cjs.js +2 -0
- package/dist/chunks/Button-MmwT6xpw.cjs.js.map +1 -0
- package/dist/chunks/Button-wUEF0Zow.es.js +73 -0
- package/dist/chunks/Button-wUEF0Zow.es.js.map +1 -0
- package/dist/chunks/Collection-CDJ_uFKV.es.js +1925 -0
- package/dist/chunks/Collection-CDJ_uFKV.es.js.map +1 -0
- package/dist/chunks/Collection-D_q1hY13.cjs.js +18 -0
- package/dist/chunks/Collection-D_q1hY13.cjs.js.map +1 -0
- package/dist/chunks/DateField-BRw4EOOA.cjs.js +2 -0
- package/dist/chunks/DateField-BRw4EOOA.cjs.js.map +1 -0
- package/dist/chunks/DateField-Cg2n5ili.es.js +2673 -0
- package/dist/chunks/DateField-Cg2n5ili.es.js.map +1 -0
- package/dist/chunks/DatePicker-CqbnVxIC.cjs.js +2 -0
- package/dist/chunks/DatePicker-CqbnVxIC.cjs.js.map +1 -0
- package/dist/chunks/DatePicker-DVtAIdlj.es.js +778 -0
- package/dist/chunks/DatePicker-DVtAIdlj.es.js.map +1 -0
- package/dist/chunks/Dialog-BTicQJXP.es.js +1904 -0
- package/dist/chunks/Dialog-BTicQJXP.es.js.map +1 -0
- package/dist/chunks/Dialog-ljK75Ezb.cjs.js +2 -0
- package/dist/chunks/Dialog-ljK75Ezb.cjs.js.map +1 -0
- package/dist/chunks/DragAndDrop-QpvgGL4C.cjs.js +2 -0
- package/dist/chunks/DragAndDrop-QpvgGL4C.cjs.js.map +1 -0
- package/dist/chunks/DragAndDrop-xhP_Ei7N.es.js +81 -0
- package/dist/chunks/DragAndDrop-xhP_Ei7N.es.js.map +1 -0
- package/dist/chunks/FocusScope-B5Aod9bV.es.js +696 -0
- package/dist/chunks/FocusScope-B5Aod9bV.es.js.map +1 -0
- package/dist/chunks/FocusScope-sU1ErK5w.cjs.js +2 -0
- package/dist/chunks/FocusScope-sU1ErK5w.cjs.js.map +1 -0
- package/dist/chunks/Group-CU1nz0u2.es.js +46 -0
- package/dist/chunks/Group-CU1nz0u2.es.js.map +1 -0
- package/dist/chunks/Group-DxD-SZdK.cjs.js +2 -0
- package/dist/chunks/Group-DxD-SZdK.cjs.js.map +1 -0
- package/dist/chunks/Heading-BorDTn_V.cjs.js +2 -0
- package/dist/chunks/Heading-BorDTn_V.cjs.js.map +1 -0
- package/dist/chunks/Heading-CXKMd84h.es.js +1619 -0
- package/dist/chunks/Heading-CXKMd84h.es.js.map +1 -0
- package/dist/chunks/Input-B7Cnwv00.es.js +43 -0
- package/dist/chunks/Input-B7Cnwv00.es.js.map +1 -0
- package/dist/chunks/Input-DK49tQti.cjs.js +2 -0
- package/dist/chunks/Input-DK49tQti.cjs.js.map +1 -0
- package/dist/chunks/Label-CXgc_ps9.es.js +17 -0
- package/dist/chunks/Label-CXgc_ps9.es.js.map +1 -0
- package/dist/chunks/Label-DSG_MTc3.cjs.js +2 -0
- package/dist/chunks/Label-DSG_MTc3.cjs.js.map +1 -0
- package/dist/chunks/ListBox-CGw4-iNr.es.js +615 -0
- package/dist/chunks/ListBox-CGw4-iNr.es.js.map +1 -0
- package/dist/chunks/ListBox-DETV_5At.cjs.js +2 -0
- package/dist/chunks/ListBox-DETV_5At.cjs.js.map +1 -0
- package/dist/chunks/OverlayArrow-C_SkpQbf.cjs.js +2 -0
- package/dist/chunks/OverlayArrow-C_SkpQbf.cjs.js.map +1 -0
- package/dist/chunks/OverlayArrow-DbPNbnKm.es.js +479 -0
- package/dist/chunks/OverlayArrow-DbPNbnKm.es.js.map +1 -0
- package/dist/chunks/ProgressBar-Bm7vfOk4.cjs.js +2 -0
- package/dist/chunks/ProgressBar-Bm7vfOk4.cjs.js.map +1 -0
- package/dist/chunks/ProgressBar-DNmmtJsB.es.js +42 -0
- package/dist/chunks/ProgressBar-DNmmtJsB.es.js.map +1 -0
- package/dist/chunks/Separator-Ahj2J22_.es.js +574 -0
- package/dist/chunks/Separator-Ahj2J22_.es.js.map +1 -0
- package/dist/chunks/Separator-CinA2hg4.cjs.js +2 -0
- package/dist/chunks/Separator-CinA2hg4.cjs.js.map +1 -0
- package/dist/chunks/TextArea-DTir64d8.es.js +42 -0
- package/dist/chunks/TextArea-DTir64d8.es.js.map +1 -0
- package/dist/chunks/TextArea-p1OqtLgN.cjs.js +2 -0
- package/dist/chunks/TextArea-p1OqtLgN.cjs.js.map +1 -0
- package/dist/chunks/ToggleButton-CmN8Ay9u.es.js +145 -0
- package/dist/chunks/ToggleButton-CmN8Ay9u.es.js.map +1 -0
- package/dist/chunks/ToggleButton-DWTy3juF.cjs.js +2 -0
- package/dist/chunks/ToggleButton-DWTy3juF.cjs.js.map +1 -0
- package/dist/chunks/VisuallyHidden-BY2z9PpP.es.js +41 -0
- package/dist/chunks/VisuallyHidden-BY2z9PpP.es.js.map +1 -0
- package/dist/chunks/VisuallyHidden-DFP8AIDZ.cjs.js +2 -0
- package/dist/chunks/VisuallyHidden-DFP8AIDZ.cjs.js.map +1 -0
- package/dist/chunks/accordion-DF0by3UE.es.js +223 -0
- package/dist/chunks/accordion-DF0by3UE.es.js.map +1 -0
- package/dist/chunks/accordion-Db0ZaAwE.cjs.js +2 -0
- package/dist/chunks/accordion-Db0ZaAwE.cjs.js.map +1 -0
- package/dist/chunks/alert-Ck60ax0h.cjs.js +2 -0
- package/dist/chunks/alert-Ck60ax0h.cjs.js.map +1 -0
- package/dist/chunks/alert-DfnvHvbA.es.js +187 -0
- package/dist/chunks/alert-DfnvHvbA.es.js.map +1 -0
- package/dist/chunks/avatar-B7CMxFNg.es.js +38 -0
- package/dist/chunks/avatar-B7CMxFNg.es.js.map +1 -0
- package/dist/chunks/avatar-mL-2hOve.cjs.js +2 -0
- package/dist/chunks/avatar-mL-2hOve.cjs.js.map +1 -0
- package/dist/chunks/badge-B58WR_nK.es.js +78 -0
- package/dist/chunks/badge-B58WR_nK.es.js.map +1 -0
- package/dist/chunks/badge-D3iqhdY4.cjs.js +2 -0
- package/dist/chunks/badge-D3iqhdY4.cjs.js.map +1 -0
- package/dist/chunks/box-BPfqlznQ.cjs.js +2 -0
- package/dist/chunks/box-BPfqlznQ.cjs.js.map +1 -0
- package/dist/chunks/box-C8731OYq.es.js +13 -0
- package/dist/chunks/box-C8731OYq.es.js.map +1 -0
- package/dist/chunks/button-N0fUFhvD.cjs.js +2 -0
- package/dist/chunks/button-N0fUFhvD.cjs.js.map +1 -0
- package/dist/chunks/button-Nd45zL1x.es.js +59 -0
- package/dist/chunks/button-Nd45zL1x.es.js.map +1 -0
- package/dist/chunks/calendar-Cj6tlZEj.cjs.js +2 -0
- package/dist/chunks/calendar-Cj6tlZEj.cjs.js.map +1 -0
- package/dist/chunks/calendar-kDDTW9QY.es.js +187 -0
- package/dist/chunks/calendar-kDDTW9QY.es.js.map +1 -0
- package/dist/chunks/card-33QKPI9V.es.js +139 -0
- package/dist/chunks/card-33QKPI9V.es.js.map +1 -0
- package/dist/chunks/card-DFkYZ6Cs.cjs.js +2 -0
- package/dist/chunks/card-DFkYZ6Cs.cjs.js.map +1 -0
- package/dist/chunks/checkbox-D2tsRAy1.es.js +219 -0
- package/dist/chunks/checkbox-D2tsRAy1.es.js.map +1 -0
- package/dist/chunks/checkbox-g5gMaiLJ.cjs.js +2 -0
- package/dist/chunks/checkbox-g5gMaiLJ.cjs.js.map +1 -0
- package/dist/chunks/code-CTuEvrXA.cjs.js +2 -0
- package/dist/chunks/code-CTuEvrXA.cjs.js.map +1 -0
- package/dist/chunks/code-CieYW1ER.es.js +8 -0
- package/dist/chunks/code-CieYW1ER.es.js.map +1 -0
- package/dist/chunks/combobox-C1nOP0Qh.es.js +1932 -0
- package/dist/chunks/combobox-C1nOP0Qh.es.js.map +1 -0
- package/dist/chunks/combobox-D1AqzXjA.cjs.js +2 -0
- package/dist/chunks/combobox-D1AqzXjA.cjs.js.map +1 -0
- package/dist/chunks/config-Mt8_uyhI.cjs.js.map +1 -1
- package/dist/chunks/config-ufbQ08Vi.es.js.map +1 -1
- package/dist/chunks/create-recipe-context-D0_lCuqq.cjs.js +2 -0
- package/dist/chunks/create-recipe-context-D0_lCuqq.cjs.js.map +1 -0
- package/dist/chunks/create-recipe-context-i2odau3L.es.js +62 -0
- package/dist/chunks/create-recipe-context-i2odau3L.es.js.map +1 -0
- package/dist/chunks/create-slot-recipe-context-DBNItnlK.es.js +104 -0
- package/dist/chunks/create-slot-recipe-context-DBNItnlK.es.js.map +1 -0
- package/dist/chunks/create-slot-recipe-context-HIF51Igr.cjs.js +2 -0
- package/dist/chunks/create-slot-recipe-context-HIF51Igr.cjs.js.map +1 -0
- package/dist/chunks/data-table-CgICAQC9.cjs.js +2 -0
- package/dist/chunks/data-table-CgICAQC9.cjs.js.map +1 -0
- package/dist/chunks/data-table-DlBw5XeS.es.js +3984 -0
- package/dist/chunks/data-table-DlBw5XeS.es.js.map +1 -0
- package/dist/chunks/date-input-CHWJMf4Y.cjs.js +2 -0
- package/dist/chunks/date-input-CHWJMf4Y.cjs.js.map +1 -0
- package/dist/chunks/date-input-DBd91qhQ.es.js +17 -0
- package/dist/chunks/date-input-DBd91qhQ.es.js.map +1 -0
- package/dist/chunks/date-picker-DkegHUiZ.es.js +190 -0
- package/dist/chunks/date-picker-DkegHUiZ.es.js.map +1 -0
- package/dist/chunks/date-picker-W70bKrmU.cjs.js +2 -0
- package/dist/chunks/date-picker-W70bKrmU.cjs.js.map +1 -0
- package/dist/chunks/date-range-picker-Cqdj51fV.cjs.js +2 -0
- package/dist/chunks/date-range-picker-Cqdj51fV.cjs.js.map +1 -0
- package/dist/chunks/date-range-picker-vzDrtZ94.es.js +283 -0
- package/dist/chunks/date-range-picker-vzDrtZ94.es.js.map +1 -0
- package/dist/chunks/dialog-CG-cCFkg.es.js +1889 -0
- package/dist/chunks/dialog-CG-cCFkg.es.js.map +1 -0
- package/dist/chunks/dialog-CNZGNU5Q.cjs.js +2 -0
- package/dist/chunks/dialog-CNZGNU5Q.cjs.js.map +1 -0
- package/dist/chunks/divider-BZkfiFj5.cjs.js +2 -0
- package/dist/chunks/divider-BZkfiFj5.cjs.js.map +1 -0
- package/dist/chunks/divider-Vtnb6QbI.es.js +54 -0
- package/dist/chunks/divider-Vtnb6QbI.es.js.map +1 -0
- package/dist/chunks/domHelpers-InH3T0qs.es.js +16 -0
- package/dist/chunks/domHelpers-InH3T0qs.es.js.map +1 -0
- package/dist/chunks/domHelpers-YAYZ9fE9.cjs.js +2 -0
- package/dist/chunks/domHelpers-YAYZ9fE9.cjs.js.map +1 -0
- package/dist/chunks/empty-B5_AO6Pg.cjs.js.map +1 -1
- package/dist/chunks/empty-D7ZFmvo6.es.js.map +1 -1
- package/dist/chunks/extractStyleProps-DX5GBd9K.es.js +11 -0
- package/dist/chunks/extractStyleProps-DX5GBd9K.es.js.map +1 -0
- package/dist/chunks/extractStyleProps-yFm0qaXg.cjs.js +2 -0
- package/dist/chunks/extractStyleProps-yFm0qaXg.cjs.js.map +1 -0
- package/dist/chunks/factory-BpxiKxSs.es.js +269 -0
- package/dist/chunks/factory-BpxiKxSs.es.js.map +1 -0
- package/dist/chunks/factory-DlCuwIGL.cjs.js +3 -0
- package/dist/chunks/factory-DlCuwIGL.cjs.js.map +1 -0
- package/dist/chunks/flex-B81RbgfK.es.js +40 -0
- package/dist/chunks/flex-B81RbgfK.es.js.map +1 -0
- package/dist/chunks/flex-BhVeeItQ.cjs.js +2 -0
- package/dist/chunks/flex-BhVeeItQ.cjs.js.map +1 -0
- package/dist/chunks/focusSafely-CgVjbH-x.cjs.js +2 -0
- package/dist/chunks/focusSafely-CgVjbH-x.cjs.js.map +1 -0
- package/dist/chunks/focusSafely-D8bIeV7X.es.js +26 -0
- package/dist/chunks/focusSafely-D8bIeV7X.es.js.map +1 -0
- package/dist/chunks/form-field-CS9GGlbl.cjs.js +11 -0
- package/dist/chunks/form-field-CS9GGlbl.cjs.js.map +1 -0
- package/dist/chunks/form-field-DcQW2A1i.es.js +310 -0
- package/dist/chunks/form-field-DcQW2A1i.es.js.map +1 -0
- package/dist/chunks/grid-CWdLtU5p.cjs.js +2 -0
- package/dist/chunks/grid-CWdLtU5p.cjs.js.map +1 -0
- package/dist/chunks/grid-Cdmh4YaF.es.js +14 -0
- package/dist/chunks/grid-Cdmh4YaF.es.js.map +1 -0
- package/dist/chunks/grid-item-CJHf3veC.cjs.js +2 -0
- package/dist/chunks/grid-item-CJHf3veC.cjs.js.map +1 -0
- package/dist/chunks/grid-item-CpPkpUVF.es.js +78 -0
- package/dist/chunks/grid-item-CpPkpUVF.es.js.map +1 -0
- package/dist/chunks/group-CYRXn-NO.es.js +14 -0
- package/dist/chunks/group-CYRXn-NO.es.js.map +1 -0
- package/dist/chunks/group-DgCuvf_U.cjs.js +2 -0
- package/dist/chunks/group-DgCuvf_U.cjs.js.map +1 -0
- package/dist/chunks/icon-C_BZeqkm.cjs.js +2 -0
- package/dist/chunks/icon-C_BZeqkm.cjs.js.map +1 -0
- package/dist/chunks/icon-DTe62Nqz.es.js +32 -0
- package/dist/chunks/icon-DTe62Nqz.es.js.map +1 -0
- package/dist/chunks/icon-button-BkjZ1Pq8.es.js +14 -0
- package/dist/chunks/icon-button-BkjZ1Pq8.es.js.map +1 -0
- package/dist/chunks/icon-button-Cs41MKV5.cjs.js +2 -0
- package/dist/chunks/icon-button-Cs41MKV5.cjs.js.map +1 -0
- package/dist/chunks/icon-toggle-button-BljNXaJy.cjs.js +2 -0
- package/dist/chunks/icon-toggle-button-BljNXaJy.cjs.js.map +1 -0
- package/dist/chunks/icon-toggle-button-CEGHh-JB.es.js +13 -0
- package/dist/chunks/icon-toggle-button-CEGHh-JB.es.js.map +1 -0
- package/dist/chunks/image-B2WbQ5hi.es.js +8 -0
- package/dist/chunks/image-B2WbQ5hi.es.js.map +1 -0
- package/dist/chunks/image-BAqoLZQB.cjs.js +2 -0
- package/dist/chunks/image-BAqoLZQB.cjs.js.map +1 -0
- package/dist/chunks/image-BP9LcU28.cjs.js +2 -0
- package/dist/chunks/image-BP9LcU28.cjs.js.map +1 -0
- package/dist/chunks/image-BycsRl2K.es.js +22 -0
- package/dist/chunks/image-BycsRl2K.es.js.map +1 -0
- package/dist/chunks/index-0CyuQQet.es.js +8 -0
- package/dist/chunks/index-0CyuQQet.es.js.map +1 -0
- package/dist/chunks/index-COhQ_99G.cjs.js +4 -0
- package/dist/chunks/index-COhQ_99G.cjs.js.map +1 -0
- package/dist/chunks/index-DRWeBbu8.es.js +3394 -0
- package/dist/chunks/index-DRWeBbu8.es.js.map +1 -0
- package/dist/chunks/index-x9OhLGGf.cjs.js +2 -0
- package/dist/chunks/index-x9OhLGGf.cjs.js.map +1 -0
- package/dist/chunks/kbd-BjfxBIWW.es.js +16 -0
- package/dist/chunks/kbd-BjfxBIWW.es.js.map +1 -0
- package/dist/chunks/kbd-DxwHwPaF.cjs.js +2 -0
- package/dist/chunks/kbd-DxwHwPaF.cjs.js.map +1 -0
- package/dist/chunks/link-CNe7kOhA.cjs.js +2 -0
- package/dist/chunks/link-CNe7kOhA.cjs.js.map +1 -0
- package/dist/chunks/link-D0XhkPu6.es.js +50 -0
- package/dist/chunks/link-D0XhkPu6.es.js.map +1 -0
- package/dist/chunks/list-r1G4iBXo.cjs.js +2 -0
- package/dist/chunks/list-r1G4iBXo.cjs.js.map +1 -0
- package/dist/chunks/list-x423RThD.es.js +23 -0
- package/dist/chunks/list-x423RThD.es.js.map +1 -0
- package/dist/chunks/loading-spinner-COTpElt8.es.js +106 -0
- package/dist/chunks/loading-spinner-COTpElt8.es.js.map +1 -0
- package/dist/chunks/loading-spinner-C_1gCLzP.cjs.js +2 -0
- package/dist/chunks/loading-spinner-C_1gCLzP.cjs.js.map +1 -0
- package/dist/chunks/make-element-focusable-Cj8VL4H4.cjs.js +2 -0
- package/dist/chunks/make-element-focusable-Cj8VL4H4.cjs.js.map +1 -0
- package/dist/chunks/make-element-focusable-DS5T93TG.es.js +22 -0
- package/dist/chunks/make-element-focusable-DS5T93TG.es.js.map +1 -0
- package/dist/chunks/menu-BaTd4n0a.cjs.js +2 -0
- package/dist/chunks/menu-BaTd4n0a.cjs.js.map +1 -0
- package/dist/chunks/menu-DKTon-Vn.es.js +157 -0
- package/dist/chunks/menu-DKTon-Vn.es.js.map +1 -0
- package/dist/chunks/mergeProps-CtwSzqnr.es.js +131 -0
- package/dist/chunks/mergeProps-CtwSzqnr.es.js.map +1 -0
- package/dist/chunks/mergeProps-DRkWdaVg.cjs.js +2 -0
- package/dist/chunks/mergeProps-DRkWdaVg.cjs.js.map +1 -0
- package/dist/chunks/multiline-text-input-Bsazfavw.es.js +120 -0
- package/dist/chunks/multiline-text-input-Bsazfavw.es.js.map +1 -0
- package/dist/chunks/multiline-text-input-DufrCFhg.cjs.js +12 -0
- package/dist/chunks/multiline-text-input-DufrCFhg.cjs.js.map +1 -0
- package/dist/chunks/namespace-CYjqWfVn.cjs.js +2 -0
- package/dist/chunks/namespace-CYjqWfVn.cjs.js.map +1 -0
- package/dist/chunks/namespace-HxAMZBwF.es.js +74 -0
- package/dist/chunks/namespace-HxAMZBwF.es.js.map +1 -0
- package/dist/chunks/nimbus-provider-BinjIRf7.es.js +101 -0
- package/dist/chunks/nimbus-provider-BinjIRf7.es.js.map +1 -0
- package/dist/chunks/nimbus-provider-Yka95N38.cjs.js +2 -0
- package/dist/chunks/nimbus-provider-Yka95N38.cjs.js.map +1 -0
- package/dist/chunks/number-input-2C9g1Xgr.cjs.js +2 -0
- package/dist/chunks/number-input-2C9g1Xgr.cjs.js.map +1 -0
- package/dist/chunks/number-input-l32lWVbX.es.js +673 -0
- package/dist/chunks/number-input-l32lWVbX.es.js.map +1 -0
- package/dist/chunks/openLink-BwkmFekP.es.js +105 -0
- package/dist/chunks/openLink-BwkmFekP.es.js.map +1 -0
- package/dist/chunks/password-input-B9Uv-ybv.es.js +50 -0
- package/dist/chunks/password-input-B9Uv-ybv.es.js.map +1 -0
- package/dist/chunks/password-input-q1cxpiOP.cjs.js +2 -0
- package/dist/chunks/password-input-q1cxpiOP.cjs.js.map +1 -0
- package/dist/chunks/platform-BOO1jCtB.es.js +47 -0
- package/dist/chunks/platform-BOO1jCtB.es.js.map +1 -0
- package/dist/chunks/progress-bar-BGTJgcWE.cjs.js +2 -0
- package/dist/chunks/progress-bar-BGTJgcWE.cjs.js.map +1 -0
- package/dist/chunks/progress-bar-C8onDqV2.es.js +77 -0
- package/dist/chunks/progress-bar-C8onDqV2.es.js.map +1 -0
- package/dist/chunks/provider-BzZZw3fF.cjs.js.map +1 -1
- package/dist/chunks/provider-DxFdjgyb.es.js.map +1 -1
- package/dist/chunks/radio-input-BlE9GNwl.cjs.js +2 -0
- package/dist/chunks/radio-input-BlE9GNwl.cjs.js.map +1 -0
- package/dist/chunks/radio-input-uMVsYeTe.es.js +341 -0
- package/dist/chunks/radio-input-uMVsYeTe.es.js.map +1 -0
- package/dist/chunks/range-calendar-CvTT4HY-.cjs.js +2 -0
- package/dist/chunks/range-calendar-CvTT4HY-.cjs.js.map +1 -0
- package/dist/chunks/range-calendar-YuvY8LUd.es.js +187 -0
- package/dist/chunks/range-calendar-YuvY8LUd.es.js.map +1 -0
- package/dist/chunks/rich-text-input-C7EK9LsN.cjs.js +2 -0
- package/dist/chunks/rich-text-input-C7EK9LsN.cjs.js.map +1 -0
- package/dist/chunks/rich-text-input-CVqiVHV1.es.js +691 -0
- package/dist/chunks/rich-text-input-CVqiVHV1.es.js.map +1 -0
- package/dist/chunks/scrollIntoView-B2eLOBfw.cjs.js +2 -0
- package/dist/chunks/scrollIntoView-B2eLOBfw.cjs.js.map +1 -0
- package/dist/chunks/scrollIntoView-CdmKMaOn.es.js +64 -0
- package/dist/chunks/scrollIntoView-CdmKMaOn.es.js.map +1 -0
- package/dist/chunks/select-CgapbY3S.es.js +559 -0
- package/dist/chunks/select-CgapbY3S.es.js.map +1 -0
- package/dist/chunks/select-Dd2f6hd1.cjs.js +2 -0
- package/dist/chunks/select-Dd2f6hd1.cjs.js.map +1 -0
- package/dist/chunks/simple-grid-Crtlocqj.es.js +38 -0
- package/dist/chunks/simple-grid-Crtlocqj.es.js.map +1 -0
- package/dist/chunks/simple-grid-yOwvCBEN.cjs.js +2 -0
- package/dist/chunks/simple-grid-yOwvCBEN.cjs.js.map +1 -0
- package/dist/chunks/slate-helpers-BwRHJO4o.es.js +6919 -0
- package/dist/chunks/slate-helpers-BwRHJO4o.es.js.map +1 -0
- package/dist/chunks/slate-helpers-CMAwCMk0.cjs.js +24 -0
- package/dist/chunks/slate-helpers-CMAwCMk0.cjs.js.map +1 -0
- package/dist/chunks/split-button-Blbr2czN.cjs.js +2 -0
- package/dist/chunks/split-button-Blbr2czN.cjs.js.map +1 -0
- package/dist/chunks/split-button-DoRlks-p.es.js +103 -0
- package/dist/chunks/split-button-DoRlks-p.es.js.map +1 -0
- package/dist/chunks/stack-B6PqFPMh.cjs.js +2 -0
- package/dist/chunks/stack-B6PqFPMh.cjs.js.map +1 -0
- package/dist/chunks/stack-CBx-c8hI.es.js +89 -0
- package/dist/chunks/stack-CBx-c8hI.es.js.map +1 -0
- package/dist/chunks/switch-Cb0mCIEe.es.js +79 -0
- package/dist/chunks/switch-Cb0mCIEe.es.js.map +1 -0
- package/dist/chunks/switch-Cha1HMzo.cjs.js +2 -0
- package/dist/chunks/switch-Cha1HMzo.cjs.js.map +1 -0
- package/dist/chunks/tag-group-5uAuEquc.cjs.js +2 -0
- package/dist/chunks/tag-group-5uAuEquc.cjs.js.map +1 -0
- package/dist/chunks/tag-group-CvKA8ufC.es.js +769 -0
- package/dist/chunks/tag-group-CvKA8ufC.es.js.map +1 -0
- package/dist/chunks/text-BOdnmoaN.cjs.js +2 -0
- package/dist/chunks/text-BOdnmoaN.cjs.js.map +1 -0
- package/dist/chunks/text-DkO9mfur.es.js +26 -0
- package/dist/chunks/text-DkO9mfur.es.js.map +1 -0
- package/dist/chunks/text-input-C3q-zUxw.es.js +19 -0
- package/dist/chunks/text-input-C3q-zUxw.es.js.map +1 -0
- package/dist/chunks/text-input-eShRYnI3.cjs.js +2 -0
- package/dist/chunks/text-input-eShRYnI3.cjs.js.map +1 -0
- package/dist/chunks/time-input-CkNODZOE.cjs.js +2 -0
- package/dist/chunks/time-input-CkNODZOE.cjs.js.map +1 -0
- package/dist/chunks/time-input-ZZK92O_5.es.js +132 -0
- package/dist/chunks/time-input-ZZK92O_5.es.js.map +1 -0
- package/dist/chunks/toggle-button-BEOCbO0O.cjs.js +2 -0
- package/dist/chunks/toggle-button-BEOCbO0O.cjs.js.map +1 -0
- package/dist/chunks/toggle-button-Bfo8opbK.es.js +30 -0
- package/dist/chunks/toggle-button-Bfo8opbK.es.js.map +1 -0
- package/dist/chunks/toggle-button-group-B_C5ly_4.cjs.js +2 -0
- package/dist/chunks/toggle-button-group-B_C5ly_4.cjs.js.map +1 -0
- package/dist/chunks/toggle-button-group-yB5nqdV3.es.js +82 -0
- package/dist/chunks/toggle-button-group-yB5nqdV3.es.js.map +1 -0
- package/dist/chunks/toolbar-BZkvVoAw.cjs.js +2 -0
- package/dist/chunks/toolbar-BZkvVoAw.cjs.js.map +1 -0
- package/dist/chunks/toolbar-DvkcbAsl.es.js +59 -0
- package/dist/chunks/toolbar-DvkcbAsl.es.js.map +1 -0
- package/dist/chunks/tooltip-Bb_I4Owj.es.js +274 -0
- package/dist/chunks/tooltip-Bb_I4Owj.es.js.map +1 -0
- package/dist/chunks/tooltip-D7QmPw5W.cjs.js +2 -0
- package/dist/chunks/tooltip-D7QmPw5W.cjs.js.map +1 -0
- package/dist/chunks/use-formatting-state-Denpy3Zo.cjs.js +2 -0
- package/dist/chunks/use-formatting-state-Denpy3Zo.cjs.js.map +1 -0
- package/dist/chunks/use-formatting-state-RJvSR-Zg.es.js +247 -0
- package/dist/chunks/use-formatting-state-RJvSR-Zg.es.js.map +1 -0
- package/dist/chunks/use-recipe-BZ_iqCkN.cjs.js.map +1 -1
- package/dist/chunks/use-recipe-CR4W7Dne.es.js.map +1 -1
- package/dist/chunks/useButton-6DDhTkQ5.cjs.js +2 -0
- package/dist/chunks/useButton-6DDhTkQ5.cjs.js.map +1 -0
- package/dist/chunks/useButton-CKkFEBt0.es.js +56 -0
- package/dist/chunks/useButton-CKkFEBt0.es.js.map +1 -0
- package/dist/chunks/useDateFormatter-BIkv89ta.cjs.js +2 -0
- package/dist/chunks/useDateFormatter-BIkv89ta.cjs.js.map +1 -0
- package/dist/chunks/useDateFormatter-DGeAh0SC.es.js +1601 -0
- package/dist/chunks/useDateFormatter-DGeAh0SC.es.js.map +1 -0
- package/dist/chunks/useDescription-CVIOL3si.es.js +33 -0
- package/dist/chunks/useDescription-CVIOL3si.es.js.map +1 -0
- package/dist/chunks/useDescription-Dwd7oLGP.cjs.js +2 -0
- package/dist/chunks/useDescription-Dwd7oLGP.cjs.js.map +1 -0
- package/dist/chunks/useEvent-AOCWMUCu.cjs.js +2 -0
- package/dist/chunks/useEvent-AOCWMUCu.cjs.js.map +1 -0
- package/dist/chunks/useEvent-k0_MYJWL.es.js +22 -0
- package/dist/chunks/useEvent-k0_MYJWL.es.js.map +1 -0
- package/dist/chunks/useField-9-dizG-T.es.js +36 -0
- package/dist/chunks/useField-9-dizG-T.es.js.map +1 -0
- package/dist/chunks/useField-D5vZhNS3.cjs.js +2 -0
- package/dist/chunks/useField-D5vZhNS3.cjs.js.map +1 -0
- package/dist/chunks/useFocus-DpnjsJ3H.cjs.js +2 -0
- package/dist/chunks/useFocus-DpnjsJ3H.cjs.js.map +1 -0
- package/dist/chunks/useFocus-Lq2Mmyje.es.js +29 -0
- package/dist/chunks/useFocus-Lq2Mmyje.es.js.map +1 -0
- package/dist/chunks/useFocusRing-BFWuvq6P.es.js +35 -0
- package/dist/chunks/useFocusRing-BFWuvq6P.es.js.map +1 -0
- package/dist/chunks/useFocusRing-DjMwdeTr.cjs.js +2 -0
- package/dist/chunks/useFocusRing-DjMwdeTr.cjs.js.map +1 -0
- package/dist/chunks/useFocusVisible-CCKx2EYu.cjs.js +2 -0
- package/dist/chunks/useFocusVisible-CCKx2EYu.cjs.js.map +1 -0
- package/dist/chunks/useFocusVisible-DGwGbqVH.es.js +148 -0
- package/dist/chunks/useFocusVisible-DGwGbqVH.es.js.map +1 -0
- package/dist/chunks/useFocusWithin-BcxLc412.cjs.js +2 -0
- package/dist/chunks/useFocusWithin-BcxLc412.cjs.js.map +1 -0
- package/dist/chunks/useFocusWithin-QIERmzTm.es.js +56 -0
- package/dist/chunks/useFocusWithin-QIERmzTm.es.js.map +1 -0
- package/dist/chunks/useFocusable-BKWax3sD.cjs.js +2 -0
- package/dist/chunks/useFocusable-BKWax3sD.cjs.js.map +1 -0
- package/dist/chunks/useFocusable-ZY85zm7p.es.js +101 -0
- package/dist/chunks/useFocusable-ZY85zm7p.es.js.map +1 -0
- package/dist/chunks/useFormReset-7-vYPDFJ.cjs.js +2 -0
- package/dist/chunks/useFormReset-7-vYPDFJ.cjs.js.map +1 -0
- package/dist/chunks/useFormReset-C27nadG4.es.js +21 -0
- package/dist/chunks/useFormReset-C27nadG4.es.js.map +1 -0
- package/dist/chunks/useFormValidation-B5jwexNB.cjs.js +2 -0
- package/dist/chunks/useFormValidation-B5jwexNB.cjs.js.map +1 -0
- package/dist/chunks/useFormValidation-Chwu6llz.es.js +202 -0
- package/dist/chunks/useFormValidation-Chwu6llz.es.js.map +1 -0
- package/dist/chunks/useGlobalListeners-BOOfV5Wh.es.js.map +1 -1
- package/dist/chunks/useGlobalListeners-DcmIlwrO.cjs.js.map +1 -1
- package/dist/chunks/useHighlightSelectionDescription-C7xYnRNQ.es.js +598 -0
- package/dist/chunks/useHighlightSelectionDescription-C7xYnRNQ.es.js.map +1 -0
- package/dist/chunks/useHighlightSelectionDescription-DbT86zJE.cjs.js +2 -0
- package/dist/chunks/useHighlightSelectionDescription-DbT86zJE.cjs.js.map +1 -0
- package/dist/chunks/useHover-BmNjdf-e.cjs.js +2 -0
- package/dist/chunks/useHover-BmNjdf-e.cjs.js.map +1 -0
- package/dist/chunks/useHover-C5D2lV7p.es.js +86 -0
- package/dist/chunks/useHover-C5D2lV7p.es.js.map +1 -0
- package/dist/chunks/useLabel-BvIA-VYU.cjs.js +2 -0
- package/dist/chunks/useLabel-BvIA-VYU.cjs.js.map +1 -0
- package/dist/chunks/useLabel-DHa3lVYx.es.js +37 -0
- package/dist/chunks/useLabel-DHa3lVYx.es.js.map +1 -0
- package/dist/chunks/usePress-CEcydhMs.es.js +473 -0
- package/dist/chunks/usePress-CEcydhMs.es.js.map +1 -0
- package/dist/chunks/usePress-_EFFCs1n.cjs.js +8 -0
- package/dist/chunks/usePress-_EFFCs1n.cjs.js.map +1 -0
- package/dist/chunks/useProgressBar-DPrqCXGF.cjs.js +2 -0
- package/dist/chunks/useProgressBar-DPrqCXGF.cjs.js.map +1 -0
- package/dist/chunks/useProgressBar-DjpcXNXW.es.js +48 -0
- package/dist/chunks/useProgressBar-DjpcXNXW.es.js.map +1 -0
- package/dist/chunks/useSingleSelectListState-C71okNUJ.es.js +35 -0
- package/dist/chunks/useSingleSelectListState-C71okNUJ.es.js.map +1 -0
- package/dist/chunks/useSingleSelectListState-CVyCydEV.cjs.js +2 -0
- package/dist/chunks/useSingleSelectListState-CVyCydEV.cjs.js.map +1 -0
- package/dist/chunks/useSpinButton-BmgSsr4J.es.js +462 -0
- package/dist/chunks/useSpinButton-BmgSsr4J.es.js.map +1 -0
- package/dist/chunks/useSpinButton-CjLHguQd.cjs.js +2 -0
- package/dist/chunks/useSpinButton-CjLHguQd.cjs.js.map +1 -0
- package/dist/chunks/useSyncRef-Cey7oI1w.cjs.js +2 -0
- package/dist/chunks/useSyncRef-Cey7oI1w.cjs.js.map +1 -0
- package/dist/chunks/useSyncRef-KqQTqZax.es.js +47 -0
- package/dist/chunks/useSyncRef-KqQTqZax.es.js.map +1 -0
- package/dist/chunks/useTextField-D0VFuWqP.es.js +91 -0
- package/dist/chunks/useTextField-D0VFuWqP.es.js.map +1 -0
- package/dist/chunks/useTextField-DvU8XT6q.cjs.js +2 -0
- package/dist/chunks/useTextField-DvU8XT6q.cjs.js.map +1 -0
- package/dist/chunks/useToggle-C9HpNiZE.es.js +62 -0
- package/dist/chunks/useToggle-C9HpNiZE.es.js.map +1 -0
- package/dist/chunks/useToggle-ChOojvWq.cjs.js +2 -0
- package/dist/chunks/useToggle-ChOojvWq.cjs.js.map +1 -0
- package/dist/chunks/useToolbar-DfnAHPrS.cjs.js +2 -0
- package/dist/chunks/useToolbar-DfnAHPrS.cjs.js.map +1 -0
- package/dist/chunks/useToolbar-Dzap6P-D.es.js +55 -0
- package/dist/chunks/useToolbar-Dzap6P-D.es.js.map +1 -0
- package/dist/chunks/utils-3xKI25I1.cjs.js +2 -0
- package/dist/chunks/utils-3xKI25I1.cjs.js.map +1 -0
- package/dist/chunks/utils-4CfAFtL7.es.js +242 -0
- package/dist/chunks/utils-4CfAFtL7.es.js.map +1 -0
- package/dist/chunks/utils-CB9xZl-T.cjs.js +2 -0
- package/dist/chunks/utils-CB9xZl-T.cjs.js.map +1 -0
- package/dist/chunks/utils-emYDjcZU.es.js +128 -0
- package/dist/chunks/utils-emYDjcZU.es.js.map +1 -0
- package/dist/chunks/visually-hidden-Bw4WH-b1.es.js +11 -0
- package/dist/chunks/visually-hidden-Bw4WH-b1.es.js.map +1 -0
- package/dist/chunks/visually-hidden-CQBnuJLY.cjs.js +2 -0
- package/dist/chunks/visually-hidden-CQBnuJLY.cjs.js.map +1 -0
- package/dist/chunks/walk-object-Ad4Rz5Gh.cjs.js +2 -0
- package/dist/chunks/walk-object-Ad4Rz5Gh.cjs.js.map +1 -0
- package/dist/chunks/walk-object-Drjey5HY.es.js +27 -0
- package/dist/chunks/walk-object-Drjey5HY.es.js.map +1 -0
- package/dist/code.d.ts +9 -0
- package/dist/combobox.d.ts +9 -0
- package/dist/components/accordion.cjs +1 -1
- package/dist/components/accordion.es.js +1 -1
- package/dist/components/alert.cjs +1 -1
- package/dist/components/alert.es.js +1 -1
- package/dist/components/avatar.cjs +1 -1
- package/dist/components/avatar.es.js +1 -1
- package/dist/components/badge.cjs +1 -1
- package/dist/components/badge.es.js +1 -1
- package/dist/components/box.cjs +1 -1
- package/dist/components/box.es.js +1 -1
- package/dist/components/button.cjs +1 -1
- package/dist/components/button.es.js +1 -1
- package/dist/components/calendar.cjs +1 -1
- package/dist/components/calendar.es.js +1 -1
- package/dist/components/card.cjs +1 -1
- package/dist/components/card.es.js +1 -1
- package/dist/components/checkbox.cjs +1 -1
- package/dist/components/checkbox.es.js +1 -1
- package/dist/components/code.cjs +1 -1
- package/dist/components/code.es.js +1 -1
- package/dist/components/combobox.cjs +1 -1
- package/dist/components/combobox.es.js +1 -1
- package/dist/components/components.cjs +1 -1
- package/dist/components/components.es.js +115 -113
- package/dist/components/components.es.js.map +1 -1
- package/dist/components/constants.cjs +2 -0
- package/dist/components/constants.cjs.map +1 -0
- package/dist/components/constants.es.js +125 -0
- package/dist/components/constants.es.js.map +1 -0
- package/dist/components/data-table.cjs +1 -1
- package/dist/components/data-table.es.js +10 -11
- package/dist/components/date-input.cjs +1 -1
- package/dist/components/date-input.es.js +1 -1
- package/dist/components/date-picker.cjs +1 -1
- package/dist/components/date-picker.es.js +1 -1
- package/dist/components/date-range-picker.cjs +1 -1
- package/dist/components/date-range-picker.es.js +1 -1
- package/dist/components/dialog.cjs +1 -1
- package/dist/components/dialog.es.js +1 -1
- package/dist/components/divider.cjs +1 -1
- package/dist/components/divider.es.js +1 -1
- package/dist/components/flex.cjs +1 -1
- package/dist/components/flex.es.js +1 -1
- package/dist/components/form-field.cjs +1 -1
- package/dist/components/form-field.es.js +1 -1
- package/dist/components/grid.cjs +1 -1
- package/dist/components/grid.es.js +1 -1
- package/dist/components/group.cjs +1 -1
- package/dist/components/group.es.js +1 -1
- package/dist/components/heading.cjs +1 -1
- package/dist/components/heading.es.js +1 -1
- package/dist/components/hooks.cjs +2 -0
- package/dist/components/hooks.cjs.map +1 -0
- package/dist/components/hooks.es.js +8 -0
- package/dist/components/hooks.es.js.map +1 -0
- package/dist/components/icon-button.cjs +1 -1
- package/dist/components/icon-button.es.js +1 -1
- package/dist/components/icon-toggle-button.cjs +1 -1
- package/dist/components/icon-toggle-button.es.js +1 -1
- package/dist/components/icon.cjs +1 -1
- package/dist/components/icon.es.js +1 -1
- package/dist/components/image.cjs +1 -1
- package/dist/components/image.es.js +1 -1
- package/dist/components/kbd.cjs +1 -1
- package/dist/components/kbd.es.js +1 -1
- package/dist/components/link.cjs +1 -1
- package/dist/components/link.es.js +1 -1
- package/dist/components/list.cjs +1 -1
- package/dist/components/list.es.js +1 -1
- package/dist/components/loading-spinner.cjs +1 -1
- package/dist/components/loading-spinner.es.js +1 -1
- package/dist/components/multiline-text-input.cjs +1 -1
- package/dist/components/multiline-text-input.es.js +1 -1
- package/dist/components/nimbus-provider.cjs +1 -1
- package/dist/components/nimbus-provider.es.js +1 -1
- package/dist/components/number-input.cjs +1 -1
- package/dist/components/number-input.es.js +1 -1
- package/dist/components/password-input.cjs +1 -1
- package/dist/components/password-input.es.js +1 -1
- package/dist/components/popover.cjs +2 -0
- package/dist/components/popover.cjs.map +1 -0
- package/dist/components/popover.es.js +26 -0
- package/dist/components/popover.es.js.map +1 -0
- package/dist/components/progress-bar.cjs +1 -1
- package/dist/components/progress-bar.es.js +1 -1
- package/dist/components/radio-input.cjs +1 -1
- package/dist/components/radio-input.es.js +1 -1
- package/dist/components/range-calendar.cjs +1 -1
- package/dist/components/range-calendar.es.js +1 -1
- package/dist/components/rich-text-input.cjs +2 -0
- package/dist/components/rich-text-input.cjs.map +1 -0
- package/dist/components/rich-text-input.es.js +5 -0
- package/dist/components/rich-text-input.es.js.map +1 -0
- package/dist/components/select.cjs +1 -1
- package/dist/components/select.es.js +1 -1
- package/dist/components/simple-grid.cjs +1 -1
- package/dist/components/simple-grid.es.js +1 -1
- package/dist/components/split-button.cjs +1 -1
- package/dist/components/split-button.es.js +1 -1
- package/dist/components/stack.cjs +1 -1
- package/dist/components/stack.es.js +1 -1
- package/dist/components/switch.cjs +1 -1
- package/dist/components/switch.es.js +1 -1
- package/dist/components/table.cjs +1 -1
- package/dist/components/table.es.js +1 -1
- package/dist/components/tag-group.cjs +1 -1
- package/dist/components/tag-group.es.js +1 -1
- package/dist/components/text-input.cjs +1 -1
- package/dist/components/text-input.es.js +1 -1
- package/dist/components/text.cjs +1 -1
- package/dist/components/text.es.js +1 -1
- package/dist/components/time-input.cjs +1 -1
- package/dist/components/time-input.es.js +1 -1
- package/dist/components/toggle-button-group.cjs +1 -1
- package/dist/components/toggle-button-group.es.js +1 -1
- package/dist/components/toggle-button.cjs +1 -1
- package/dist/components/toggle-button.es.js +1 -1
- package/dist/components/toolbar.cjs +1 -1
- package/dist/components/toolbar.es.js +1 -1
- package/dist/components/tooltip.cjs +1 -1
- package/dist/components/tooltip.es.js +2 -2
- package/dist/components/utils.cjs +2 -0
- package/dist/components/utils.cjs.map +1 -0
- package/dist/components/utils.es.js +76 -0
- package/dist/components/utils.es.js.map +1 -0
- package/dist/components/visually-hidden.cjs +1 -1
- package/dist/components/visually-hidden.es.js +1 -1
- package/dist/components.d.ts +200 -65
- package/dist/constants.d.ts +129 -0
- package/dist/data-table.d.ts +110 -51
- package/dist/date-input.d.ts +9 -0
- package/dist/date-picker.d.ts +9 -0
- package/dist/date-range-picker.d.ts +9 -0
- package/dist/dialog.d.ts +9 -0
- package/dist/divider.d.ts +9 -0
- package/dist/flex.d.ts +9 -0
- package/dist/form-field.d.ts +9 -0
- package/dist/grid.d.ts +9 -0
- package/dist/group.d.ts +9 -0
- package/dist/heading.d.ts +10 -1
- package/dist/hooks.d.ts +60 -0
- package/dist/icon-button.d.ts +9 -0
- package/dist/icon-toggle-button.d.ts +9 -0
- package/dist/icon.d.ts +9 -0
- package/dist/image.d.ts +9 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +242 -125
- package/dist/index.es.js +422 -286
- package/dist/index.es.js.map +1 -1
- package/dist/kbd.d.ts +9 -0
- package/dist/link.d.ts +9 -0
- package/dist/list.d.ts +9 -0
- package/dist/loading-spinner.d.ts +9 -0
- package/dist/multiline-text-input.d.ts +9 -0
- package/dist/nimbus-provider.d.ts +9 -0
- package/dist/number-input.d.ts +9 -0
- package/dist/password-input.d.ts +9 -0
- package/dist/popover.d.ts +27 -0
- package/dist/progress-bar.d.ts +13 -2
- package/dist/radio-input.d.ts +9 -0
- package/dist/range-calendar.d.ts +9 -0
- package/dist/rich-text-input.d.ts +79 -0
- package/dist/select.d.ts +12 -3
- package/dist/setup-jsdom-polyfills.d.ts +9 -0
- package/dist/simple-grid.d.ts +10 -1
- package/dist/split-button.d.ts +9 -0
- package/dist/stack.d.ts +9 -0
- package/dist/switch.d.ts +9 -0
- package/dist/table.d.ts +9 -0
- package/dist/tag-group.d.ts +9 -0
- package/dist/text-input.d.ts +9 -0
- package/dist/text.d.ts +10 -1
- package/dist/time-input.d.ts +9 -0
- package/dist/toggle-button-group.d.ts +9 -0
- package/dist/toggle-button.d.ts +9 -0
- package/dist/toolbar.d.ts +25 -2
- package/dist/tooltip.d.ts +9 -0
- package/dist/utils.d.ts +164 -0
- package/dist/visually-hidden.d.ts +9 -0
- package/package.json +19 -19
- package/dist/chunks/Button-C-yUWwZg.es.js +0 -73
- package/dist/chunks/Button-C-yUWwZg.es.js.map +0 -1
- package/dist/chunks/Button-DQ_WkLNH.cjs.js +0 -2
- package/dist/chunks/Button-DQ_WkLNH.cjs.js.map +0 -1
- package/dist/chunks/Collection-BsItrctR.cjs.js +0 -18
- package/dist/chunks/Collection-BsItrctR.cjs.js.map +0 -1
- package/dist/chunks/Collection-DFZhstai.es.js +0 -1896
- package/dist/chunks/Collection-DFZhstai.es.js.map +0 -1
- package/dist/chunks/DateField-D-KvZd-Q.cjs.js +0 -2
- package/dist/chunks/DateField-D-KvZd-Q.cjs.js.map +0 -1
- package/dist/chunks/DateField-m1BUGo8i.es.js +0 -2672
- package/dist/chunks/DateField-m1BUGo8i.es.js.map +0 -1
- package/dist/chunks/DatePicker-BQ6EfAU2.cjs.js +0 -2
- package/dist/chunks/DatePicker-BQ6EfAU2.cjs.js.map +0 -1
- package/dist/chunks/DatePicker-DtefBSoN.es.js +0 -779
- package/dist/chunks/DatePicker-DtefBSoN.es.js.map +0 -1
- package/dist/chunks/Dialog-B4OIDU7t.cjs.js +0 -2
- package/dist/chunks/Dialog-B4OIDU7t.cjs.js.map +0 -1
- package/dist/chunks/Dialog-DNPIKkGE.es.js +0 -1904
- package/dist/chunks/Dialog-DNPIKkGE.es.js.map +0 -1
- package/dist/chunks/DragAndDrop-ChYb3tCX.es.js +0 -81
- package/dist/chunks/DragAndDrop-ChYb3tCX.es.js.map +0 -1
- package/dist/chunks/DragAndDrop-cOfUfFj8.cjs.js +0 -2
- package/dist/chunks/DragAndDrop-cOfUfFj8.cjs.js.map +0 -1
- package/dist/chunks/FocusScope-B78iFLeF.cjs.js +0 -2
- package/dist/chunks/FocusScope-B78iFLeF.cjs.js.map +0 -1
- package/dist/chunks/FocusScope-C1Aw7j9H.es.js +0 -625
- package/dist/chunks/FocusScope-C1Aw7j9H.es.js.map +0 -1
- package/dist/chunks/Group-KVM7Xnxu.cjs.js +0 -2
- package/dist/chunks/Group-KVM7Xnxu.cjs.js.map +0 -1
- package/dist/chunks/Group-kT8-3NGT.es.js +0 -46
- package/dist/chunks/Group-kT8-3NGT.es.js.map +0 -1
- package/dist/chunks/Heading-CQJ-3eon.cjs.js +0 -2
- package/dist/chunks/Heading-CQJ-3eon.cjs.js.map +0 -1
- package/dist/chunks/Heading-DGvdnp7W.es.js +0 -1618
- package/dist/chunks/Heading-DGvdnp7W.es.js.map +0 -1
- package/dist/chunks/Input-93z9WR_a.cjs.js +0 -2
- package/dist/chunks/Input-93z9WR_a.cjs.js.map +0 -1
- package/dist/chunks/Input-C4REHQYD.es.js +0 -43
- package/dist/chunks/Input-C4REHQYD.es.js.map +0 -1
- package/dist/chunks/Label-B2YyCdLl.es.js +0 -17
- package/dist/chunks/Label-B2YyCdLl.es.js.map +0 -1
- package/dist/chunks/Label-BgrYyYXn.cjs.js +0 -2
- package/dist/chunks/Label-BgrYyYXn.cjs.js.map +0 -1
- package/dist/chunks/ListBox-B8Tz7EWS.es.js +0 -615
- package/dist/chunks/ListBox-B8Tz7EWS.es.js.map +0 -1
- package/dist/chunks/ListBox-CzZFXtHY.cjs.js +0 -2
- package/dist/chunks/ListBox-CzZFXtHY.cjs.js.map +0 -1
- package/dist/chunks/OverlayArrow-BD-oGsXg.es.js +0 -452
- package/dist/chunks/OverlayArrow-BD-oGsXg.es.js.map +0 -1
- package/dist/chunks/OverlayArrow-aq8OInch.cjs.js +0 -2
- package/dist/chunks/OverlayArrow-aq8OInch.cjs.js.map +0 -1
- package/dist/chunks/ProgressBar-BNPexoD9.cjs.js +0 -2
- package/dist/chunks/ProgressBar-BNPexoD9.cjs.js.map +0 -1
- package/dist/chunks/ProgressBar-BnGsEC_2.es.js +0 -42
- package/dist/chunks/ProgressBar-BnGsEC_2.es.js.map +0 -1
- package/dist/chunks/Separator-BUmWfQvi.es.js +0 -573
- package/dist/chunks/Separator-BUmWfQvi.es.js.map +0 -1
- package/dist/chunks/Separator-DBLZ41YB.cjs.js +0 -2
- package/dist/chunks/Separator-DBLZ41YB.cjs.js.map +0 -1
- package/dist/chunks/TextArea-Cc0cDaeu.cjs.js +0 -2
- package/dist/chunks/TextArea-Cc0cDaeu.cjs.js.map +0 -1
- package/dist/chunks/TextArea-DIyosEKy.es.js +0 -42
- package/dist/chunks/TextArea-DIyosEKy.es.js.map +0 -1
- package/dist/chunks/ToggleButton-BbM5Zv6q.cjs.js +0 -2
- package/dist/chunks/ToggleButton-BbM5Zv6q.cjs.js.map +0 -1
- package/dist/chunks/ToggleButton-CgbTgCVi.es.js +0 -145
- package/dist/chunks/ToggleButton-CgbTgCVi.es.js.map +0 -1
- package/dist/chunks/VisuallyHidden-B4l0wZHw.cjs.js +0 -2
- package/dist/chunks/VisuallyHidden-B4l0wZHw.cjs.js.map +0 -1
- package/dist/chunks/VisuallyHidden-C38kRNm0.es.js +0 -41
- package/dist/chunks/VisuallyHidden-C38kRNm0.es.js.map +0 -1
- package/dist/chunks/accordion-B_MC1ZEv.es.js +0 -223
- package/dist/chunks/accordion-B_MC1ZEv.es.js.map +0 -1
- package/dist/chunks/accordion-C9-YyEB4.cjs.js +0 -2
- package/dist/chunks/accordion-C9-YyEB4.cjs.js.map +0 -1
- package/dist/chunks/alert-BcTfv-Kw.es.js +0 -194
- package/dist/chunks/alert-BcTfv-Kw.es.js.map +0 -1
- package/dist/chunks/alert-Bp15DXZM.cjs.js +0 -2
- package/dist/chunks/alert-Bp15DXZM.cjs.js.map +0 -1
- package/dist/chunks/avatar-BWG1uDUT.cjs.js +0 -2
- package/dist/chunks/avatar-BWG1uDUT.cjs.js.map +0 -1
- package/dist/chunks/avatar-d49Ix9eV.es.js +0 -45
- package/dist/chunks/avatar-d49Ix9eV.es.js.map +0 -1
- package/dist/chunks/badge-BeR8OqtD.es.js +0 -78
- package/dist/chunks/badge-BeR8OqtD.es.js.map +0 -1
- package/dist/chunks/badge-CJK91qKC.cjs.js +0 -2
- package/dist/chunks/badge-CJK91qKC.cjs.js.map +0 -1
- package/dist/chunks/box-7pkPaNxe.es.js +0 -13
- package/dist/chunks/box-7pkPaNxe.es.js.map +0 -1
- package/dist/chunks/box-DL4MWnyy.cjs.js +0 -2
- package/dist/chunks/box-DL4MWnyy.cjs.js.map +0 -1
- package/dist/chunks/button-D5pgTe6f.es.js +0 -57
- package/dist/chunks/button-D5pgTe6f.es.js.map +0 -1
- package/dist/chunks/button-IGP--12e.cjs.js +0 -2
- package/dist/chunks/button-IGP--12e.cjs.js.map +0 -1
- package/dist/chunks/calendar-CYqib6Tm.cjs.js +0 -2
- package/dist/chunks/calendar-CYqib6Tm.cjs.js.map +0 -1
- package/dist/chunks/calendar-jrs4VkfV.es.js +0 -209
- package/dist/chunks/calendar-jrs4VkfV.es.js.map +0 -1
- package/dist/chunks/card-4i9NTJKM.cjs.js +0 -2
- package/dist/chunks/card-4i9NTJKM.cjs.js.map +0 -1
- package/dist/chunks/card-D1BUuNzg.es.js +0 -139
- package/dist/chunks/card-D1BUuNzg.es.js.map +0 -1
- package/dist/chunks/checkbox-BJQlCxDq.es.js +0 -219
- package/dist/chunks/checkbox-BJQlCxDq.es.js.map +0 -1
- package/dist/chunks/checkbox-DVb0qX6x.cjs.js +0 -2
- package/dist/chunks/checkbox-DVb0qX6x.cjs.js.map +0 -1
- package/dist/chunks/code-C245FocZ.es.js +0 -8
- package/dist/chunks/code-C245FocZ.es.js.map +0 -1
- package/dist/chunks/code-DqjWYzPU.cjs.js +0 -2
- package/dist/chunks/code-DqjWYzPU.cjs.js.map +0 -1
- package/dist/chunks/combobox-P1kEHLnr.cjs.js +0 -2
- package/dist/chunks/combobox-P1kEHLnr.cjs.js.map +0 -1
- package/dist/chunks/combobox-eT94voy1.es.js +0 -1947
- package/dist/chunks/combobox-eT94voy1.es.js.map +0 -1
- package/dist/chunks/create-recipe-context-BEEJ70DA.cjs.js +0 -2
- package/dist/chunks/create-recipe-context-BEEJ70DA.cjs.js.map +0 -1
- package/dist/chunks/create-recipe-context-BuajKZ9o.es.js +0 -62
- package/dist/chunks/create-recipe-context-BuajKZ9o.es.js.map +0 -1
- package/dist/chunks/create-slot-recipe-context-CHGQvGou.cjs.js +0 -2
- package/dist/chunks/create-slot-recipe-context-CHGQvGou.cjs.js.map +0 -1
- package/dist/chunks/create-slot-recipe-context-DgamNbR-.es.js +0 -104
- package/dist/chunks/create-slot-recipe-context-DgamNbR-.es.js.map +0 -1
- package/dist/chunks/data-table-BRjRsTel.cjs.js +0 -2
- package/dist/chunks/data-table-BRjRsTel.cjs.js.map +0 -1
- package/dist/chunks/data-table-CSWloD1b.es.js +0 -3912
- package/dist/chunks/data-table-CSWloD1b.es.js.map +0 -1
- package/dist/chunks/date-input-BFHLRnBr.cjs.js +0 -2
- package/dist/chunks/date-input-BFHLRnBr.cjs.js.map +0 -1
- package/dist/chunks/date-input-DADLkfIT.es.js +0 -17
- package/dist/chunks/date-input-DADLkfIT.es.js.map +0 -1
- package/dist/chunks/date-picker-CgCR5Rwk.es.js +0 -236
- package/dist/chunks/date-picker-CgCR5Rwk.es.js.map +0 -1
- package/dist/chunks/date-picker-CsspyMz9.cjs.js +0 -2
- package/dist/chunks/date-picker-CsspyMz9.cjs.js.map +0 -1
- package/dist/chunks/date-range-picker-C6v-n1IH.es.js +0 -283
- package/dist/chunks/date-range-picker-C6v-n1IH.es.js.map +0 -1
- package/dist/chunks/date-range-picker-D_gkG0on.cjs.js +0 -2
- package/dist/chunks/date-range-picker-D_gkG0on.cjs.js.map +0 -1
- package/dist/chunks/dialog-B1XThG7_.cjs.js +0 -2
- package/dist/chunks/dialog-B1XThG7_.cjs.js.map +0 -1
- package/dist/chunks/dialog-De8l1nzr.es.js +0 -1874
- package/dist/chunks/dialog-De8l1nzr.es.js.map +0 -1
- package/dist/chunks/divider-BicBw1PK.cjs.js +0 -2
- package/dist/chunks/divider-BicBw1PK.cjs.js.map +0 -1
- package/dist/chunks/divider-DMH0p6Pr.es.js +0 -54
- package/dist/chunks/divider-DMH0p6Pr.es.js.map +0 -1
- package/dist/chunks/extractStyleProps-BBWaCIdJ.es.js +0 -11
- package/dist/chunks/extractStyleProps-BBWaCIdJ.es.js.map +0 -1
- package/dist/chunks/extractStyleProps-wjyId_vK.cjs.js +0 -2
- package/dist/chunks/extractStyleProps-wjyId_vK.cjs.js.map +0 -1
- package/dist/chunks/factory-DUzr3LTt.cjs.js +0 -3
- package/dist/chunks/factory-DUzr3LTt.cjs.js.map +0 -1
- package/dist/chunks/factory-Dwv06Ntb.es.js +0 -266
- package/dist/chunks/factory-Dwv06Ntb.es.js.map +0 -1
- package/dist/chunks/flex-9fkV4bsm.es.js +0 -40
- package/dist/chunks/flex-9fkV4bsm.es.js.map +0 -1
- package/dist/chunks/flex-CDVfeTs4.cjs.js +0 -2
- package/dist/chunks/flex-CDVfeTs4.cjs.js.map +0 -1
- package/dist/chunks/focusSafely-CpzfaUTO.cjs.js +0 -2
- package/dist/chunks/focusSafely-CpzfaUTO.cjs.js.map +0 -1
- package/dist/chunks/focusSafely-Di2ArC9L.es.js +0 -27
- package/dist/chunks/focusSafely-Di2ArC9L.es.js.map +0 -1
- package/dist/chunks/form-field-BHknOPYf.es.js +0 -310
- package/dist/chunks/form-field-BHknOPYf.es.js.map +0 -1
- package/dist/chunks/form-field-CM_uSyZr.cjs.js +0 -11
- package/dist/chunks/form-field-CM_uSyZr.cjs.js.map +0 -1
- package/dist/chunks/grid-DcLdIZYK.es.js +0 -14
- package/dist/chunks/grid-DcLdIZYK.es.js.map +0 -1
- package/dist/chunks/grid-Dm38IozR.cjs.js +0 -2
- package/dist/chunks/grid-Dm38IozR.cjs.js.map +0 -1
- package/dist/chunks/grid-item-B0PfRhfs.cjs.js +0 -2
- package/dist/chunks/grid-item-B0PfRhfs.cjs.js.map +0 -1
- package/dist/chunks/grid-item-BZOflk76.es.js +0 -75
- package/dist/chunks/grid-item-BZOflk76.es.js.map +0 -1
- package/dist/chunks/group-BQeamedA.es.js +0 -14
- package/dist/chunks/group-BQeamedA.es.js.map +0 -1
- package/dist/chunks/group-BwSwp_8B.cjs.js +0 -2
- package/dist/chunks/group-BwSwp_8B.cjs.js.map +0 -1
- package/dist/chunks/heading-CEFp09pV.cjs.js +0 -2
- package/dist/chunks/heading-CEFp09pV.cjs.js.map +0 -1
- package/dist/chunks/heading-DYcfaS5T.es.js +0 -8
- package/dist/chunks/heading-DYcfaS5T.es.js.map +0 -1
- package/dist/chunks/icon-Cgp53xQ2.es.js +0 -32
- package/dist/chunks/icon-Cgp53xQ2.es.js.map +0 -1
- package/dist/chunks/icon-DxRnsJFu.cjs.js +0 -2
- package/dist/chunks/icon-DxRnsJFu.cjs.js.map +0 -1
- package/dist/chunks/icon-button-C2GGAKhI.es.js +0 -14
- package/dist/chunks/icon-button-C2GGAKhI.es.js.map +0 -1
- package/dist/chunks/icon-button-KMr_sm5y.cjs.js +0 -2
- package/dist/chunks/icon-button-KMr_sm5y.cjs.js.map +0 -1
- package/dist/chunks/icon-toggle-button-CyhtfTs4.es.js +0 -13
- package/dist/chunks/icon-toggle-button-CyhtfTs4.es.js.map +0 -1
- package/dist/chunks/icon-toggle-button-p3GT9QUC.cjs.js +0 -2
- package/dist/chunks/icon-toggle-button-p3GT9QUC.cjs.js.map +0 -1
- package/dist/chunks/image-B_X4IZ54.es.js +0 -8
- package/dist/chunks/image-B_X4IZ54.es.js.map +0 -1
- package/dist/chunks/image-CenZDDs1.cjs.js +0 -2
- package/dist/chunks/image-CenZDDs1.cjs.js.map +0 -1
- package/dist/chunks/image-DCZ7u0Yz.cjs.js +0 -2
- package/dist/chunks/image-DCZ7u0Yz.cjs.js.map +0 -1
- package/dist/chunks/image-Dk3v9f16.es.js +0 -22
- package/dist/chunks/image-Dk3v9f16.es.js.map +0 -1
- package/dist/chunks/index-CPFuzoME.es.js +0 -3424
- package/dist/chunks/index-CPFuzoME.es.js.map +0 -1
- package/dist/chunks/index-CcqI-ipN.cjs.js +0 -2
- package/dist/chunks/index-CcqI-ipN.cjs.js.map +0 -1
- package/dist/chunks/index-DsGIn0AT.es.js +0 -51
- package/dist/chunks/index-DsGIn0AT.es.js.map +0 -1
- package/dist/chunks/index-XyB4gGC8.cjs.js +0 -4
- package/dist/chunks/index-XyB4gGC8.cjs.js.map +0 -1
- package/dist/chunks/kbd-CSMHvaH6.cjs.js +0 -2
- package/dist/chunks/kbd-CSMHvaH6.cjs.js.map +0 -1
- package/dist/chunks/kbd-CUSbYvfc.es.js +0 -16
- package/dist/chunks/kbd-CUSbYvfc.es.js.map +0 -1
- package/dist/chunks/link-B2cOAxZz.cjs.js +0 -2
- package/dist/chunks/link-B2cOAxZz.cjs.js.map +0 -1
- package/dist/chunks/link-DteZUB4U.es.js +0 -50
- package/dist/chunks/link-DteZUB4U.es.js.map +0 -1
- package/dist/chunks/list-Bm8bFcHO.cjs.js +0 -2
- package/dist/chunks/list-Bm8bFcHO.cjs.js.map +0 -1
- package/dist/chunks/list-De4DYOvu.es.js +0 -23
- package/dist/chunks/list-De4DYOvu.es.js.map +0 -1
- package/dist/chunks/loading-spinner-BMtvjIcS.es.js +0 -119
- package/dist/chunks/loading-spinner-BMtvjIcS.es.js.map +0 -1
- package/dist/chunks/loading-spinner-Cap3elI4.cjs.js +0 -2
- package/dist/chunks/loading-spinner-Cap3elI4.cjs.js.map +0 -1
- package/dist/chunks/make-element-focusable-_FWEyVtG.es.js +0 -22
- package/dist/chunks/make-element-focusable-_FWEyVtG.es.js.map +0 -1
- package/dist/chunks/make-element-focusable-fn-8kTQK.cjs.js +0 -2
- package/dist/chunks/make-element-focusable-fn-8kTQK.cjs.js.map +0 -1
- package/dist/chunks/mergeProps-BA5Cwf5w.cjs.js +0 -2
- package/dist/chunks/mergeProps-BA5Cwf5w.cjs.js.map +0 -1
- package/dist/chunks/mergeProps-B_9syxhT.es.js +0 -130
- package/dist/chunks/mergeProps-B_9syxhT.es.js.map +0 -1
- package/dist/chunks/multiline-text-input-CaGDNakb.es.js +0 -120
- package/dist/chunks/multiline-text-input-CaGDNakb.es.js.map +0 -1
- package/dist/chunks/multiline-text-input-ChVzVZob.cjs.js +0 -12
- package/dist/chunks/multiline-text-input-ChVzVZob.cjs.js.map +0 -1
- package/dist/chunks/namespace-BayyiBSr.es.js +0 -74
- package/dist/chunks/namespace-BayyiBSr.es.js.map +0 -1
- package/dist/chunks/namespace-E8aHFVxM.cjs.js +0 -2
- package/dist/chunks/namespace-E8aHFVxM.cjs.js.map +0 -1
- package/dist/chunks/nimbus-provider-DCCIMVE_.cjs.js +0 -2
- package/dist/chunks/nimbus-provider-DCCIMVE_.cjs.js.map +0 -1
- package/dist/chunks/nimbus-provider-Dlt9_yol.es.js +0 -101
- package/dist/chunks/nimbus-provider-Dlt9_yol.es.js.map +0 -1
- package/dist/chunks/number-input-BHHKhYR7.es.js +0 -669
- package/dist/chunks/number-input-BHHKhYR7.es.js.map +0 -1
- package/dist/chunks/number-input-DFFxFKrR.cjs.js +0 -2
- package/dist/chunks/number-input-DFFxFKrR.cjs.js.map +0 -1
- package/dist/chunks/openLink-Ctl0AdAy.es.js +0 -105
- package/dist/chunks/openLink-Ctl0AdAy.es.js.map +0 -1
- package/dist/chunks/password-input-DVcMdFAI.cjs.js +0 -2
- package/dist/chunks/password-input-DVcMdFAI.cjs.js.map +0 -1
- package/dist/chunks/password-input-DbMYteEW.es.js +0 -65
- package/dist/chunks/password-input-DbMYteEW.es.js.map +0 -1
- package/dist/chunks/platform-Z5fvtFmM.es.js +0 -47
- package/dist/chunks/platform-Z5fvtFmM.es.js.map +0 -1
- package/dist/chunks/progress-bar-BsWBRJc2.cjs.js +0 -2
- package/dist/chunks/progress-bar-BsWBRJc2.cjs.js.map +0 -1
- package/dist/chunks/progress-bar-C3sqvC_T.es.js +0 -77
- package/dist/chunks/progress-bar-C3sqvC_T.es.js.map +0 -1
- package/dist/chunks/radio-input-CFNznM66.es.js +0 -341
- package/dist/chunks/radio-input-CFNznM66.es.js.map +0 -1
- package/dist/chunks/radio-input-D3ePwO1n.cjs.js +0 -2
- package/dist/chunks/radio-input-D3ePwO1n.cjs.js.map +0 -1
- package/dist/chunks/range-calendar-Bk_im2QK.cjs.js +0 -2
- package/dist/chunks/range-calendar-Bk_im2QK.cjs.js.map +0 -1
- package/dist/chunks/range-calendar-C5pDvIuq.es.js +0 -187
- package/dist/chunks/range-calendar-C5pDvIuq.es.js.map +0 -1
- package/dist/chunks/scrollIntoView-BYF_8_6g.es.js +0 -94
- package/dist/chunks/scrollIntoView-BYF_8_6g.es.js.map +0 -1
- package/dist/chunks/scrollIntoView-BzIqpHLO.cjs.js +0 -2
- package/dist/chunks/scrollIntoView-BzIqpHLO.cjs.js.map +0 -1
- package/dist/chunks/select-BZGHsJAO.es.js +0 -571
- package/dist/chunks/select-BZGHsJAO.es.js.map +0 -1
- package/dist/chunks/select-DCQjhFbh.cjs.js +0 -2
- package/dist/chunks/select-DCQjhFbh.cjs.js.map +0 -1
- package/dist/chunks/simple-grid-1F5YBj03.es.js +0 -38
- package/dist/chunks/simple-grid-1F5YBj03.es.js.map +0 -1
- package/dist/chunks/simple-grid-BfDDcTNA.cjs.js +0 -2
- package/dist/chunks/simple-grid-BfDDcTNA.cjs.js.map +0 -1
- package/dist/chunks/split-button-CIHXMvxD.cjs.js +0 -2
- package/dist/chunks/split-button-CIHXMvxD.cjs.js.map +0 -1
- package/dist/chunks/split-button-DJoqZPXX.es.js +0 -262
- package/dist/chunks/split-button-DJoqZPXX.es.js.map +0 -1
- package/dist/chunks/stack-B2xQMEdj.cjs.js +0 -2
- package/dist/chunks/stack-B2xQMEdj.cjs.js.map +0 -1
- package/dist/chunks/stack-DosdbBli.es.js +0 -89
- package/dist/chunks/stack-DosdbBli.es.js.map +0 -1
- package/dist/chunks/switch-C3AG1gUR.cjs.js +0 -2
- package/dist/chunks/switch-C3AG1gUR.cjs.js.map +0 -1
- package/dist/chunks/switch-DEKbPCQG.es.js +0 -79
- package/dist/chunks/switch-DEKbPCQG.es.js.map +0 -1
- package/dist/chunks/tag-group-4kwJie4V.es.js +0 -768
- package/dist/chunks/tag-group-4kwJie4V.es.js.map +0 -1
- package/dist/chunks/tag-group-BYQkpbiY.cjs.js +0 -2
- package/dist/chunks/tag-group-BYQkpbiY.cjs.js.map +0 -1
- package/dist/chunks/text-DNjTZCtR.cjs.js +0 -2
- package/dist/chunks/text-DNjTZCtR.cjs.js.map +0 -1
- package/dist/chunks/text-QANNJ4E4.es.js +0 -26
- package/dist/chunks/text-QANNJ4E4.es.js.map +0 -1
- package/dist/chunks/text-input-COPlnTZU.es.js +0 -19
- package/dist/chunks/text-input-COPlnTZU.es.js.map +0 -1
- package/dist/chunks/text-input-DnS2RVDs.cjs.js +0 -2
- package/dist/chunks/text-input-DnS2RVDs.cjs.js.map +0 -1
- package/dist/chunks/time-input-BWkx15sb.cjs.js +0 -2
- package/dist/chunks/time-input-BWkx15sb.cjs.js.map +0 -1
- package/dist/chunks/time-input-DXMs43_R.es.js +0 -132
- package/dist/chunks/time-input-DXMs43_R.es.js.map +0 -1
- package/dist/chunks/toggle-button-BEvOqB5n.es.js +0 -30
- package/dist/chunks/toggle-button-BEvOqB5n.es.js.map +0 -1
- package/dist/chunks/toggle-button-PE5251Fm.cjs.js +0 -2
- package/dist/chunks/toggle-button-PE5251Fm.cjs.js.map +0 -1
- package/dist/chunks/toggle-button-group-B2G_b7h8.cjs.js +0 -2
- package/dist/chunks/toggle-button-group-B2G_b7h8.cjs.js.map +0 -1
- package/dist/chunks/toggle-button-group-CXrwjOF0.es.js +0 -82
- package/dist/chunks/toggle-button-group-CXrwjOF0.es.js.map +0 -1
- package/dist/chunks/toolbar-BJrobBzi.es.js +0 -59
- package/dist/chunks/toolbar-BJrobBzi.es.js.map +0 -1
- package/dist/chunks/toolbar-BxIQI626.cjs.js +0 -2
- package/dist/chunks/toolbar-BxIQI626.cjs.js.map +0 -1
- package/dist/chunks/tooltip-Ya7L6lQR.es.js +0 -274
- package/dist/chunks/tooltip-Ya7L6lQR.es.js.map +0 -1
- package/dist/chunks/tooltip-fOhxG4pp.cjs.js +0 -2
- package/dist/chunks/tooltip-fOhxG4pp.cjs.js.map +0 -1
- package/dist/chunks/useButton-Cgkz8UEs.es.js +0 -56
- package/dist/chunks/useButton-Cgkz8UEs.es.js.map +0 -1
- package/dist/chunks/useButton-D3BedLtL.cjs.js +0 -2
- package/dist/chunks/useButton-D3BedLtL.cjs.js.map +0 -1
- package/dist/chunks/useDateFormatter-D9HBAX1w.es.js +0 -1601
- package/dist/chunks/useDateFormatter-D9HBAX1w.es.js.map +0 -1
- package/dist/chunks/useDateFormatter-G9oGkNG5.cjs.js +0 -2
- package/dist/chunks/useDateFormatter-G9oGkNG5.cjs.js.map +0 -1
- package/dist/chunks/useEvent-CuUOU5WV.cjs.js +0 -2
- package/dist/chunks/useEvent-CuUOU5WV.cjs.js.map +0 -1
- package/dist/chunks/useEvent-YHhqZvpU.es.js +0 -22
- package/dist/chunks/useEvent-YHhqZvpU.es.js.map +0 -1
- package/dist/chunks/useField-Ce9zQxmx.es.js +0 -36
- package/dist/chunks/useField-Ce9zQxmx.es.js.map +0 -1
- package/dist/chunks/useField-DmqO9k7a.cjs.js +0 -2
- package/dist/chunks/useField-DmqO9k7a.cjs.js.map +0 -1
- package/dist/chunks/useFocus-BcBbbuWU.cjs.js +0 -2
- package/dist/chunks/useFocus-BcBbbuWU.cjs.js.map +0 -1
- package/dist/chunks/useFocus-CeI1jbl8.es.js +0 -29
- package/dist/chunks/useFocus-CeI1jbl8.es.js.map +0 -1
- package/dist/chunks/useFocusRing-D8cwV0EM.es.js +0 -35
- package/dist/chunks/useFocusRing-D8cwV0EM.es.js.map +0 -1
- package/dist/chunks/useFocusRing-DRIoF592.cjs.js +0 -2
- package/dist/chunks/useFocusRing-DRIoF592.cjs.js.map +0 -1
- package/dist/chunks/useFocusVisible-C5ivHvqm.es.js +0 -111
- package/dist/chunks/useFocusVisible-C5ivHvqm.es.js.map +0 -1
- package/dist/chunks/useFocusVisible-bRnVksaU.cjs.js +0 -2
- package/dist/chunks/useFocusVisible-bRnVksaU.cjs.js.map +0 -1
- package/dist/chunks/useFocusWithin-i-cVKYQ8.cjs.js +0 -2
- package/dist/chunks/useFocusWithin-i-cVKYQ8.cjs.js.map +0 -1
- package/dist/chunks/useFocusWithin-yfiHuOEs.es.js +0 -56
- package/dist/chunks/useFocusWithin-yfiHuOEs.es.js.map +0 -1
- package/dist/chunks/useFocusable-BghVNiQU.es.js +0 -77
- package/dist/chunks/useFocusable-BghVNiQU.es.js.map +0 -1
- package/dist/chunks/useFocusable-avM9w6OE.cjs.js +0 -2
- package/dist/chunks/useFocusable-avM9w6OE.cjs.js.map +0 -1
- package/dist/chunks/useFormReset--wPlnEOl.cjs.js +0 -2
- package/dist/chunks/useFormReset--wPlnEOl.cjs.js.map +0 -1
- package/dist/chunks/useFormReset-DurgUJL-.es.js +0 -21
- package/dist/chunks/useFormReset-DurgUJL-.es.js.map +0 -1
- package/dist/chunks/useFormValidation-DJMNbIhx.es.js +0 -202
- package/dist/chunks/useFormValidation-DJMNbIhx.es.js.map +0 -1
- package/dist/chunks/useFormValidation-DJy_cdgv.cjs.js +0 -2
- package/dist/chunks/useFormValidation-DJy_cdgv.cjs.js.map +0 -1
- package/dist/chunks/useHighlightSelectionDescription-DAR8wV79.es.js +0 -598
- package/dist/chunks/useHighlightSelectionDescription-DAR8wV79.es.js.map +0 -1
- package/dist/chunks/useHighlightSelectionDescription-DPwy1mkw.cjs.js +0 -2
- package/dist/chunks/useHighlightSelectionDescription-DPwy1mkw.cjs.js.map +0 -1
- package/dist/chunks/useHover-BlZx5CU2.cjs.js +0 -2
- package/dist/chunks/useHover-BlZx5CU2.cjs.js.map +0 -1
- package/dist/chunks/useHover-cJOf02TT.es.js +0 -86
- package/dist/chunks/useHover-cJOf02TT.es.js.map +0 -1
- package/dist/chunks/useLabel-BBmkkrPP.es.js +0 -37
- package/dist/chunks/useLabel-BBmkkrPP.es.js.map +0 -1
- package/dist/chunks/useLabel-Y8tWagLu.cjs.js +0 -2
- package/dist/chunks/useLabel-Y8tWagLu.cjs.js.map +0 -1
- package/dist/chunks/usePress-BquTSwUd.es.js +0 -456
- package/dist/chunks/usePress-BquTSwUd.es.js.map +0 -1
- package/dist/chunks/usePress-D8F1U6qk.cjs.js +0 -8
- package/dist/chunks/usePress-D8F1U6qk.cjs.js.map +0 -1
- package/dist/chunks/useProgressBar-8ZyM2_T3.cjs.js +0 -2
- package/dist/chunks/useProgressBar-8ZyM2_T3.cjs.js.map +0 -1
- package/dist/chunks/useProgressBar-BgURyN6q.es.js +0 -48
- package/dist/chunks/useProgressBar-BgURyN6q.es.js.map +0 -1
- package/dist/chunks/useResizeObserver-Dx-vDLiW.cjs.js +0 -2
- package/dist/chunks/useResizeObserver-Dx-vDLiW.cjs.js.map +0 -1
- package/dist/chunks/useResizeObserver-FIPBIG5S.es.js +0 -32
- package/dist/chunks/useResizeObserver-FIPBIG5S.es.js.map +0 -1
- package/dist/chunks/useSingleSelectListState-BpAVpRdZ.cjs.js +0 -2
- package/dist/chunks/useSingleSelectListState-BpAVpRdZ.cjs.js.map +0 -1
- package/dist/chunks/useSingleSelectListState-CiK-JkEX.es.js +0 -35
- package/dist/chunks/useSingleSelectListState-CiK-JkEX.es.js.map +0 -1
- package/dist/chunks/useSpinButton-C-tpK-T9.es.js +0 -433
- package/dist/chunks/useSpinButton-C-tpK-T9.es.js.map +0 -1
- package/dist/chunks/useSpinButton-Cw8QxU2l.cjs.js +0 -2
- package/dist/chunks/useSpinButton-Cw8QxU2l.cjs.js.map +0 -1
- package/dist/chunks/useSyncRef-DGRbdR4H.es.js +0 -13
- package/dist/chunks/useSyncRef-DGRbdR4H.es.js.map +0 -1
- package/dist/chunks/useSyncRef-bcjp9eId.cjs.js +0 -2
- package/dist/chunks/useSyncRef-bcjp9eId.cjs.js.map +0 -1
- package/dist/chunks/useTextField-Cv1jQqUp.cjs.js +0 -2
- package/dist/chunks/useTextField-Cv1jQqUp.cjs.js.map +0 -1
- package/dist/chunks/useTextField-Doh-sQHP.es.js +0 -91
- package/dist/chunks/useTextField-Doh-sQHP.es.js.map +0 -1
- package/dist/chunks/useToggle-BK36AEko.cjs.js +0 -2
- package/dist/chunks/useToggle-BK36AEko.cjs.js.map +0 -1
- package/dist/chunks/useToggle-DcdigPKG.es.js +0 -62
- package/dist/chunks/useToggle-DcdigPKG.es.js.map +0 -1
- package/dist/chunks/useToolbar-CYJ2PbtO.es.js +0 -55
- package/dist/chunks/useToolbar-CYJ2PbtO.es.js.map +0 -1
- package/dist/chunks/useToolbar-D3B8DvbF.cjs.js +0 -2
- package/dist/chunks/useToolbar-D3B8DvbF.cjs.js.map +0 -1
- package/dist/chunks/utils-BHVnNfaH.cjs.js +0 -2
- package/dist/chunks/utils-BHVnNfaH.cjs.js.map +0 -1
- package/dist/chunks/utils-BHdR5Nww.cjs.js +0 -2
- package/dist/chunks/utils-BHdR5Nww.cjs.js.map +0 -1
- package/dist/chunks/utils-BkdW_cdL.es.js +0 -128
- package/dist/chunks/utils-BkdW_cdL.es.js.map +0 -1
- package/dist/chunks/utils-Gg3iiYhl.es.js +0 -188
- package/dist/chunks/utils-Gg3iiYhl.es.js.map +0 -1
- package/dist/chunks/visually-hidden-Uhh-2Y-q.cjs.js +0 -2
- package/dist/chunks/visually-hidden-Uhh-2Y-q.cjs.js.map +0 -1
- package/dist/chunks/visually-hidden-vh07nrZa.es.js +0 -11
- package/dist/chunks/visually-hidden-vh07nrZa.es.js.map +0 -1
- package/dist/chunks/walk-object-CvcTxMj1.es.js +0 -27
- package/dist/chunks/walk-object-CvcTxMj1.es.js.map +0 -1
- package/dist/chunks/walk-object-vr3sAS3_.cjs.js +0 -2
- package/dist/chunks/walk-object-vr3sAS3_.cjs.js.map +0 -1
- package/i18n/compiled-data/core.json +0 -146
- package/i18n/compiled-data/de.json +0 -146
- package/i18n/compiled-data/en.json +0 -146
- package/i18n/compiled-data/fr-FR.json +0 -146
- package/i18n/compiled-data/pt-BR.json +0 -146
|
@@ -1,1896 +0,0 @@
|
|
|
1
|
-
import S, { useRef as k, useEffect as Y, useMemo as B, cloneElement as He, forwardRef as qe, useContext as H, createContext as G, useCallback as X, useState as ie, isValidElement as st } from "react";
|
|
2
|
-
import { a as We, d as Ge } from "./utils-Gg3iiYhl.es.js";
|
|
3
|
-
import { c as ge, $ as Z, a as _e, d as we, e as ot } from "./mergeProps-B_9syxhT.es.js";
|
|
4
|
-
import { $ as me } from "./focusWithoutScrolling-CDw3JYiq.es.js";
|
|
5
|
-
import { $ as je, d as ut } from "./openLink-Ctl0AdAy.es.js";
|
|
6
|
-
import { $ as ee } from "./useEvent-YHhqZvpU.es.js";
|
|
7
|
-
import { a as at, b as ct, c as De, d as ke } from "./scrollIntoView-BYF_8_6g.es.js";
|
|
8
|
-
import { b as dt } from "./FocusScope-C1Aw7j9H.es.js";
|
|
9
|
-
import { b as Ee } from "./useFocusVisible-C5ivHvqm.es.js";
|
|
10
|
-
import { $ as be } from "./focusSafely-Di2ArC9L.es.js";
|
|
11
|
-
import { flushSync as ft, createPortal as ht } from "react-dom";
|
|
12
|
-
import { $ as yt } from "./context-Pt-0ojuK.es.js";
|
|
13
|
-
import { b as pt, g as vt } from "./platform-Z5fvtFmM.es.js";
|
|
14
|
-
import { $ as Ye } from "./usePress-BquTSwUd.es.js";
|
|
15
|
-
import { $ as gt } from "./useGlobalListeners-BOOfV5Wh.es.js";
|
|
16
|
-
import { a as mt } from "./Hidden-j3Lbt7xL.es.js";
|
|
17
|
-
import { b as Ie } from "./useFocusable-BghVNiQU.es.js";
|
|
18
|
-
import { $ as Xe } from "./SSRProvider-Cu8KibIK.es.js";
|
|
19
|
-
import { $ as bt } from "./useControlledState-u436Wbp1.es.js";
|
|
20
|
-
function Pe(r, e) {
|
|
21
|
-
const t = k(!0), i = k(null);
|
|
22
|
-
ge(() => (t.current = !0, () => {
|
|
23
|
-
t.current = !1;
|
|
24
|
-
}), []), ge(() => {
|
|
25
|
-
t.current ? t.current = !1 : (!i.current || e.some((l, n) => !Object.is(l, i[n]))) && r(), i.current = e;
|
|
26
|
-
}, e);
|
|
27
|
-
}
|
|
28
|
-
const St = "react-aria-clear-focus", Kt = "react-aria-focus";
|
|
29
|
-
function q(r) {
|
|
30
|
-
return pt() ? r.metaKey : r.ctrlKey;
|
|
31
|
-
}
|
|
32
|
-
const $t = 500;
|
|
33
|
-
function xt(r) {
|
|
34
|
-
let { isDisabled: e, onLongPressStart: t, onLongPressEnd: i, onLongPress: l, threshold: n = $t, accessibilityDescription: s } = r;
|
|
35
|
-
const c = k(void 0);
|
|
36
|
-
let { addGlobalListener: u, removeGlobalListener: v } = gt(), { pressProps: $ } = Ye({
|
|
37
|
-
isDisabled: e,
|
|
38
|
-
onPressStart(f) {
|
|
39
|
-
if (f.continuePropagation(), (f.pointerType === "mouse" || f.pointerType === "touch") && (t && t({
|
|
40
|
-
...f,
|
|
41
|
-
type: "longpressstart"
|
|
42
|
-
}), c.current = setTimeout(() => {
|
|
43
|
-
f.target.dispatchEvent(new PointerEvent("pointercancel", {
|
|
44
|
-
bubbles: !0
|
|
45
|
-
})), We(f.target).activeElement !== f.target && me(f.target), l && l({
|
|
46
|
-
...f,
|
|
47
|
-
type: "longpress"
|
|
48
|
-
}), c.current = void 0;
|
|
49
|
-
}, n), f.pointerType === "touch")) {
|
|
50
|
-
let h = (p) => {
|
|
51
|
-
p.preventDefault();
|
|
52
|
-
};
|
|
53
|
-
u(f.target, "contextmenu", h, {
|
|
54
|
-
once: !0
|
|
55
|
-
}), u(window, "pointerup", () => {
|
|
56
|
-
setTimeout(() => {
|
|
57
|
-
v(f.target, "contextmenu", h);
|
|
58
|
-
}, 30);
|
|
59
|
-
}, {
|
|
60
|
-
once: !0
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
onPressEnd(f) {
|
|
65
|
-
c.current && clearTimeout(c.current), i && (f.pointerType === "mouse" || f.pointerType === "touch") && i({
|
|
66
|
-
...f,
|
|
67
|
-
type: "longpressend"
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
}), d = at(l && !e ? s : void 0);
|
|
71
|
-
return {
|
|
72
|
-
longPressProps: Z($, d)
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
function Ze(r) {
|
|
76
|
-
let e = wt(We(r));
|
|
77
|
-
e !== r && (e && Ct(e, r), r && Je(r, e));
|
|
78
|
-
}
|
|
79
|
-
function Ct(r, e) {
|
|
80
|
-
r.dispatchEvent(new FocusEvent("blur", {
|
|
81
|
-
relatedTarget: e
|
|
82
|
-
})), r.dispatchEvent(new FocusEvent("focusout", {
|
|
83
|
-
bubbles: !0,
|
|
84
|
-
relatedTarget: e
|
|
85
|
-
}));
|
|
86
|
-
}
|
|
87
|
-
function Je(r, e) {
|
|
88
|
-
r.dispatchEvent(new FocusEvent("focus", {
|
|
89
|
-
relatedTarget: e
|
|
90
|
-
})), r.dispatchEvent(new FocusEvent("focusin", {
|
|
91
|
-
bubbles: !0,
|
|
92
|
-
relatedTarget: e
|
|
93
|
-
}));
|
|
94
|
-
}
|
|
95
|
-
function wt(r) {
|
|
96
|
-
let e = Ge(r), t = e?.getAttribute("aria-activedescendant");
|
|
97
|
-
return t && r.getElementById(t) || e;
|
|
98
|
-
}
|
|
99
|
-
function Se(r) {
|
|
100
|
-
return vt() ? r.altKey : r.ctrlKey;
|
|
101
|
-
}
|
|
102
|
-
function le(r, e) {
|
|
103
|
-
var t, i;
|
|
104
|
-
let l = `[data-key="${CSS.escape(String(e))}"]`, n = (t = r.current) === null || t === void 0 ? void 0 : t.dataset.collection;
|
|
105
|
-
return n && (l = `[data-collection="${CSS.escape(n)}"]${l}`), (i = r.current) === null || i === void 0 ? void 0 : i.querySelector(l);
|
|
106
|
-
}
|
|
107
|
-
const Qe = /* @__PURE__ */ new WeakMap();
|
|
108
|
-
function Dt(r) {
|
|
109
|
-
let e = _e();
|
|
110
|
-
return Qe.set(r, e), e;
|
|
111
|
-
}
|
|
112
|
-
function kt(r) {
|
|
113
|
-
return Qe.get(r);
|
|
114
|
-
}
|
|
115
|
-
const Et = 1e3;
|
|
116
|
-
function It(r) {
|
|
117
|
-
let { keyboardDelegate: e, selectionManager: t, onTypeSelect: i } = r, l = k({
|
|
118
|
-
search: "",
|
|
119
|
-
timeout: void 0
|
|
120
|
-
}).current, n = (s) => {
|
|
121
|
-
let c = Pt(s.key);
|
|
122
|
-
if (!(!c || s.ctrlKey || s.metaKey || !s.currentTarget.contains(s.target) || l.search.length === 0 && c === " ")) {
|
|
123
|
-
if (c === " " && l.search.trim().length > 0 && (s.preventDefault(), "continuePropagation" in s || s.stopPropagation()), l.search += c, e.getKeyForSearch != null) {
|
|
124
|
-
let u = e.getKeyForSearch(l.search, t.focusedKey);
|
|
125
|
-
u == null && (u = e.getKeyForSearch(l.search)), u != null && (t.setFocusedKey(u), i && i(u));
|
|
126
|
-
}
|
|
127
|
-
clearTimeout(l.timeout), l.timeout = setTimeout(() => {
|
|
128
|
-
l.search = "";
|
|
129
|
-
}, Et);
|
|
130
|
-
}
|
|
131
|
-
};
|
|
132
|
-
return {
|
|
133
|
-
typeSelectProps: {
|
|
134
|
-
// Using a capturing listener to catch the keydown event before
|
|
135
|
-
// other hooks in order to handle the Spacebar event.
|
|
136
|
-
onKeyDownCapture: e.getKeyForSearch ? n : void 0
|
|
137
|
-
}
|
|
138
|
-
};
|
|
139
|
-
}
|
|
140
|
-
function Pt(r) {
|
|
141
|
-
return r.length === 1 || !/^[A-Z]/i.test(r) ? r : "";
|
|
142
|
-
}
|
|
143
|
-
function yi(r) {
|
|
144
|
-
let { selectionManager: e, keyboardDelegate: t, ref: i, autoFocus: l = !1, shouldFocusWrap: n = !1, disallowEmptySelection: s = !1, disallowSelectAll: c = !1, escapeKeyBehavior: u = "clearSelection", selectOnFocus: v = e.selectionBehavior === "replace", disallowTypeAhead: $ = !1, shouldUseVirtualFocus: d, allowsTabNavigation: f = !1, isVirtualized: h, scrollRef: p = i, linkBehavior: K = "action" } = r, { direction: g } = yt(), m = je(), C = (a) => {
|
|
145
|
-
var b;
|
|
146
|
-
if (a.altKey && a.key === "Tab" && a.preventDefault(), !(!((b = i.current) === null || b === void 0) && b.contains(a.target))) return;
|
|
147
|
-
const o = (y, z) => {
|
|
148
|
-
if (y != null) {
|
|
149
|
-
if (e.isLink(y) && K === "selection" && v && !Se(a)) {
|
|
150
|
-
ft(() => {
|
|
151
|
-
e.setFocusedKey(y, z);
|
|
152
|
-
});
|
|
153
|
-
let U = le(i, y), Ce = e.getItemProps(y);
|
|
154
|
-
U && m.open(U, a, Ce.href, Ce.routerOptions);
|
|
155
|
-
return;
|
|
156
|
-
}
|
|
157
|
-
if (e.setFocusedKey(y, z), e.isLink(y) && K === "override") return;
|
|
158
|
-
a.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(y) : v && !Se(a) && e.replaceSelection(y);
|
|
159
|
-
}
|
|
160
|
-
};
|
|
161
|
-
switch (a.key) {
|
|
162
|
-
case "ArrowDown":
|
|
163
|
-
if (t.getKeyBelow) {
|
|
164
|
-
var w, F, P;
|
|
165
|
-
let y = e.focusedKey != null ? (w = t.getKeyBelow) === null || w === void 0 ? void 0 : w.call(t, e.focusedKey) : (F = t.getFirstKey) === null || F === void 0 ? void 0 : F.call(t);
|
|
166
|
-
y == null && n && (y = (P = t.getFirstKey) === null || P === void 0 ? void 0 : P.call(t, e.focusedKey)), y != null && (a.preventDefault(), o(y));
|
|
167
|
-
}
|
|
168
|
-
break;
|
|
169
|
-
case "ArrowUp":
|
|
170
|
-
if (t.getKeyAbove) {
|
|
171
|
-
var L, N, se;
|
|
172
|
-
let y = e.focusedKey != null ? (L = t.getKeyAbove) === null || L === void 0 ? void 0 : L.call(t, e.focusedKey) : (N = t.getLastKey) === null || N === void 0 ? void 0 : N.call(t);
|
|
173
|
-
y == null && n && (y = (se = t.getLastKey) === null || se === void 0 ? void 0 : se.call(t, e.focusedKey)), y != null && (a.preventDefault(), o(y));
|
|
174
|
-
}
|
|
175
|
-
break;
|
|
176
|
-
case "ArrowLeft":
|
|
177
|
-
if (t.getKeyLeftOf) {
|
|
178
|
-
var oe, ue, ae;
|
|
179
|
-
let y = e.focusedKey != null ? (oe = t.getKeyLeftOf) === null || oe === void 0 ? void 0 : oe.call(t, e.focusedKey) : null;
|
|
180
|
-
y == null && n && (y = g === "rtl" ? (ue = t.getFirstKey) === null || ue === void 0 ? void 0 : ue.call(t, e.focusedKey) : (ae = t.getLastKey) === null || ae === void 0 ? void 0 : ae.call(t, e.focusedKey)), y != null && (a.preventDefault(), o(y, g === "rtl" ? "first" : "last"));
|
|
181
|
-
}
|
|
182
|
-
break;
|
|
183
|
-
case "ArrowRight":
|
|
184
|
-
if (t.getKeyRightOf) {
|
|
185
|
-
var ce, de, fe;
|
|
186
|
-
let y = e.focusedKey != null ? (ce = t.getKeyRightOf) === null || ce === void 0 ? void 0 : ce.call(t, e.focusedKey) : null;
|
|
187
|
-
y == null && n && (y = g === "rtl" ? (de = t.getLastKey) === null || de === void 0 ? void 0 : de.call(t, e.focusedKey) : (fe = t.getFirstKey) === null || fe === void 0 ? void 0 : fe.call(t, e.focusedKey)), y != null && (a.preventDefault(), o(y, g === "rtl" ? "last" : "first"));
|
|
188
|
-
}
|
|
189
|
-
break;
|
|
190
|
-
case "Home":
|
|
191
|
-
if (t.getFirstKey) {
|
|
192
|
-
if (e.focusedKey === null && a.shiftKey) return;
|
|
193
|
-
a.preventDefault();
|
|
194
|
-
let y = t.getFirstKey(e.focusedKey, q(a));
|
|
195
|
-
e.setFocusedKey(y), y != null && (q(a) && a.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(y) : v && e.replaceSelection(y));
|
|
196
|
-
}
|
|
197
|
-
break;
|
|
198
|
-
case "End":
|
|
199
|
-
if (t.getLastKey) {
|
|
200
|
-
if (e.focusedKey === null && a.shiftKey) return;
|
|
201
|
-
a.preventDefault();
|
|
202
|
-
let y = t.getLastKey(e.focusedKey, q(a));
|
|
203
|
-
e.setFocusedKey(y), y != null && (q(a) && a.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(y) : v && e.replaceSelection(y));
|
|
204
|
-
}
|
|
205
|
-
break;
|
|
206
|
-
case "PageDown":
|
|
207
|
-
if (t.getKeyPageBelow && e.focusedKey != null) {
|
|
208
|
-
let y = t.getKeyPageBelow(e.focusedKey);
|
|
209
|
-
y != null && (a.preventDefault(), o(y));
|
|
210
|
-
}
|
|
211
|
-
break;
|
|
212
|
-
case "PageUp":
|
|
213
|
-
if (t.getKeyPageAbove && e.focusedKey != null) {
|
|
214
|
-
let y = t.getKeyPageAbove(e.focusedKey);
|
|
215
|
-
y != null && (a.preventDefault(), o(y));
|
|
216
|
-
}
|
|
217
|
-
break;
|
|
218
|
-
case "a":
|
|
219
|
-
q(a) && e.selectionMode === "multiple" && c !== !0 && (a.preventDefault(), e.selectAll());
|
|
220
|
-
break;
|
|
221
|
-
case "Escape":
|
|
222
|
-
u === "clearSelection" && !s && e.selectedKeys.size !== 0 && (a.stopPropagation(), a.preventDefault(), e.clearSelection());
|
|
223
|
-
break;
|
|
224
|
-
case "Tab":
|
|
225
|
-
if (!f) {
|
|
226
|
-
if (a.shiftKey) i.current.focus();
|
|
227
|
-
else {
|
|
228
|
-
let y = dt(i.current, {
|
|
229
|
-
tabbable: !0
|
|
230
|
-
}), z, U;
|
|
231
|
-
do
|
|
232
|
-
U = y.lastChild(), U && (z = U);
|
|
233
|
-
while (U);
|
|
234
|
-
z && !z.contains(document.activeElement) && me(z);
|
|
235
|
-
}
|
|
236
|
-
break;
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
}, x = k({
|
|
240
|
-
top: 0,
|
|
241
|
-
left: 0
|
|
242
|
-
});
|
|
243
|
-
ee(p, "scroll", h ? void 0 : () => {
|
|
244
|
-
var a, b, o, w;
|
|
245
|
-
x.current = {
|
|
246
|
-
top: (o = (a = p.current) === null || a === void 0 ? void 0 : a.scrollTop) !== null && o !== void 0 ? o : 0,
|
|
247
|
-
left: (w = (b = p.current) === null || b === void 0 ? void 0 : b.scrollLeft) !== null && w !== void 0 ? w : 0
|
|
248
|
-
};
|
|
249
|
-
});
|
|
250
|
-
let E = (a) => {
|
|
251
|
-
if (e.isFocused) {
|
|
252
|
-
a.currentTarget.contains(a.target) || e.setFocused(!1);
|
|
253
|
-
return;
|
|
254
|
-
}
|
|
255
|
-
if (a.currentTarget.contains(a.target)) {
|
|
256
|
-
if (e.setFocused(!0), e.focusedKey == null) {
|
|
257
|
-
var b, o;
|
|
258
|
-
let P = (N) => {
|
|
259
|
-
N != null && (e.setFocusedKey(N), v && !e.isSelected(N) && e.replaceSelection(N));
|
|
260
|
-
}, L = a.relatedTarget;
|
|
261
|
-
var w, F;
|
|
262
|
-
L && a.currentTarget.compareDocumentPosition(L) & Node.DOCUMENT_POSITION_FOLLOWING ? P((w = e.lastSelectedKey) !== null && w !== void 0 ? w : (b = t.getLastKey) === null || b === void 0 ? void 0 : b.call(t)) : P((F = e.firstSelectedKey) !== null && F !== void 0 ? F : (o = t.getFirstKey) === null || o === void 0 ? void 0 : o.call(t));
|
|
263
|
-
} else !h && p.current && (p.current.scrollTop = x.current.top, p.current.scrollLeft = x.current.left);
|
|
264
|
-
if (e.focusedKey != null && p.current) {
|
|
265
|
-
let P = le(i, e.focusedKey);
|
|
266
|
-
P instanceof HTMLElement && (!P.contains(document.activeElement) && !d && me(P), Ee() === "keyboard" && De(P, {
|
|
267
|
-
containingElement: i.current
|
|
268
|
-
}));
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
}, M = (a) => {
|
|
272
|
-
a.currentTarget.contains(a.relatedTarget) || e.setFocused(!1);
|
|
273
|
-
}, A = k(!1);
|
|
274
|
-
ee(i, Kt, d ? (a) => {
|
|
275
|
-
let { detail: b } = a;
|
|
276
|
-
a.stopPropagation(), e.setFocused(!0), b?.focusStrategy === "first" && (A.current = !0);
|
|
277
|
-
} : void 0);
|
|
278
|
-
let T = we(() => {
|
|
279
|
-
var a, b;
|
|
280
|
-
let o = (b = (a = t.getFirstKey) === null || a === void 0 ? void 0 : a.call(t)) !== null && b !== void 0 ? b : null;
|
|
281
|
-
if (o == null) {
|
|
282
|
-
let w = Ge();
|
|
283
|
-
Ze(i.current), Je(w, null), e.collection.size > 0 && (A.current = !1);
|
|
284
|
-
} else
|
|
285
|
-
e.setFocusedKey(o), A.current = !1;
|
|
286
|
-
});
|
|
287
|
-
Pe(() => {
|
|
288
|
-
A.current && T();
|
|
289
|
-
}, [
|
|
290
|
-
e.collection,
|
|
291
|
-
T
|
|
292
|
-
]);
|
|
293
|
-
let I = we(() => {
|
|
294
|
-
e.collection.size > 0 && (A.current = !1);
|
|
295
|
-
});
|
|
296
|
-
Pe(() => {
|
|
297
|
-
I();
|
|
298
|
-
}, [
|
|
299
|
-
e.focusedKey,
|
|
300
|
-
I
|
|
301
|
-
]), ee(i, St, d ? (a) => {
|
|
302
|
-
var b;
|
|
303
|
-
a.stopPropagation(), e.setFocused(!1), !((b = a.detail) === null || b === void 0) && b.clearFocusKey && e.setFocusedKey(null);
|
|
304
|
-
} : void 0);
|
|
305
|
-
const _ = k(l), O = k(!1);
|
|
306
|
-
Y(() => {
|
|
307
|
-
if (_.current) {
|
|
308
|
-
var a, b;
|
|
309
|
-
let F = null;
|
|
310
|
-
var o;
|
|
311
|
-
l === "first" && (F = (o = (a = t.getFirstKey) === null || a === void 0 ? void 0 : a.call(t)) !== null && o !== void 0 ? o : null);
|
|
312
|
-
var w;
|
|
313
|
-
l === "last" && (F = (w = (b = t.getLastKey) === null || b === void 0 ? void 0 : b.call(t)) !== null && w !== void 0 ? w : null);
|
|
314
|
-
let P = e.selectedKeys;
|
|
315
|
-
if (P.size) {
|
|
316
|
-
for (let L of P) if (e.canSelectItem(L)) {
|
|
317
|
-
F = L;
|
|
318
|
-
break;
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
e.setFocused(!0), e.setFocusedKey(F), F == null && !d && i.current && be(i.current), e.collection.size > 0 && (_.current = !1, O.current = !0);
|
|
322
|
-
}
|
|
323
|
-
});
|
|
324
|
-
let V = k(e.focusedKey), D = k(null);
|
|
325
|
-
Y(() => {
|
|
326
|
-
if (e.isFocused && e.focusedKey != null && (e.focusedKey !== V.current || O.current) && p.current && i.current) {
|
|
327
|
-
let a = Ee(), b = le(i, e.focusedKey);
|
|
328
|
-
if (!(b instanceof HTMLElement))
|
|
329
|
-
return;
|
|
330
|
-
(a === "keyboard" || O.current) && (D.current && cancelAnimationFrame(D.current), D.current = requestAnimationFrame(() => {
|
|
331
|
-
p.current && (ct(p.current, b), a !== "virtual" && De(b, {
|
|
332
|
-
containingElement: i.current
|
|
333
|
-
}));
|
|
334
|
-
}));
|
|
335
|
-
}
|
|
336
|
-
!d && e.isFocused && e.focusedKey == null && V.current != null && i.current && be(i.current), V.current = e.focusedKey, O.current = !1;
|
|
337
|
-
}), Y(() => () => {
|
|
338
|
-
D.current && cancelAnimationFrame(D.current);
|
|
339
|
-
}, []), ee(i, "react-aria-focus-scope-restore", (a) => {
|
|
340
|
-
a.preventDefault(), e.setFocused(!0);
|
|
341
|
-
});
|
|
342
|
-
let j = {
|
|
343
|
-
onKeyDown: C,
|
|
344
|
-
onFocus: E,
|
|
345
|
-
onBlur: M,
|
|
346
|
-
onMouseDown(a) {
|
|
347
|
-
p.current === a.target && a.preventDefault();
|
|
348
|
-
}
|
|
349
|
-
}, { typeSelectProps: ne } = It({
|
|
350
|
-
keyboardDelegate: t,
|
|
351
|
-
selectionManager: e
|
|
352
|
-
});
|
|
353
|
-
$ || (j = Z(ne, j));
|
|
354
|
-
let Q;
|
|
355
|
-
d || (Q = e.focusedKey == null ? 0 : -1);
|
|
356
|
-
let re = Dt(e.collection);
|
|
357
|
-
return {
|
|
358
|
-
collectionProps: Z(j, {
|
|
359
|
-
tabIndex: Q,
|
|
360
|
-
"data-collection": re
|
|
361
|
-
})
|
|
362
|
-
};
|
|
363
|
-
}
|
|
364
|
-
function pi(r) {
|
|
365
|
-
let { id: e, selectionManager: t, key: i, ref: l, shouldSelectOnPressUp: n, shouldUseVirtualFocus: s, focus: c, isDisabled: u, onAction: v, allowsDifferentPressOrigin: $, linkBehavior: d = "action" } = r, f = je();
|
|
366
|
-
e = _e(e);
|
|
367
|
-
let h = (o) => {
|
|
368
|
-
if (o.pointerType === "keyboard" && Se(o)) t.toggleSelection(i);
|
|
369
|
-
else {
|
|
370
|
-
if (t.selectionMode === "none") return;
|
|
371
|
-
if (t.isLink(i)) {
|
|
372
|
-
if (d === "selection" && l.current) {
|
|
373
|
-
let w = t.getItemProps(i);
|
|
374
|
-
f.open(l.current, o, w.href, w.routerOptions), t.setSelectedKeys(t.selectedKeys);
|
|
375
|
-
return;
|
|
376
|
-
} else if (d === "override" || d === "none") return;
|
|
377
|
-
}
|
|
378
|
-
t.selectionMode === "single" ? t.isSelected(i) && !t.disallowEmptySelection ? t.toggleSelection(i) : t.replaceSelection(i) : o && o.shiftKey ? t.extendSelection(i) : t.selectionBehavior === "toggle" || o && (q(o) || o.pointerType === "touch" || o.pointerType === "virtual") ? t.toggleSelection(i) : t.replaceSelection(i);
|
|
379
|
-
}
|
|
380
|
-
};
|
|
381
|
-
Y(() => {
|
|
382
|
-
i === t.focusedKey && t.isFocused && (s ? Ze(l.current) : c ? c() : document.activeElement !== l.current && l.current && be(l.current));
|
|
383
|
-
}, [
|
|
384
|
-
l,
|
|
385
|
-
i,
|
|
386
|
-
t.focusedKey,
|
|
387
|
-
t.childFocusStrategy,
|
|
388
|
-
t.isFocused,
|
|
389
|
-
s
|
|
390
|
-
]), u = u || t.isDisabled(i);
|
|
391
|
-
let p = {};
|
|
392
|
-
!s && !u ? p = {
|
|
393
|
-
tabIndex: i === t.focusedKey ? 0 : -1,
|
|
394
|
-
onFocus(o) {
|
|
395
|
-
o.target === l.current && t.setFocusedKey(i);
|
|
396
|
-
}
|
|
397
|
-
} : u && (p.onMouseDown = (o) => {
|
|
398
|
-
o.preventDefault();
|
|
399
|
-
});
|
|
400
|
-
let K = t.isLink(i) && d === "override", g = t.isLink(i) && d !== "selection" && d !== "none", m = !u && t.canSelectItem(i) && !K, C = (v || g) && !u, x = C && (t.selectionBehavior === "replace" ? !m : !m || t.isEmpty), E = C && m && t.selectionBehavior === "replace", M = x || E, A = k(null), T = M && m, I = k(!1), _ = k(!1), O = t.getItemProps(i), V = (o) => {
|
|
401
|
-
v && v(), g && l.current && f.open(l.current, o, O.href, O.routerOptions);
|
|
402
|
-
}, D = {
|
|
403
|
-
ref: l
|
|
404
|
-
};
|
|
405
|
-
if (n ? (D.onPressStart = (o) => {
|
|
406
|
-
A.current = o.pointerType, I.current = T, o.pointerType === "keyboard" && (!M || Me()) && h(o);
|
|
407
|
-
}, $ ? (D.onPressUp = x ? void 0 : (o) => {
|
|
408
|
-
o.pointerType === "mouse" && m && h(o);
|
|
409
|
-
}, D.onPress = x ? V : (o) => {
|
|
410
|
-
o.pointerType !== "keyboard" && o.pointerType !== "mouse" && m && h(o);
|
|
411
|
-
}) : D.onPress = (o) => {
|
|
412
|
-
if (x || E && o.pointerType !== "mouse") {
|
|
413
|
-
if (o.pointerType === "keyboard" && !Fe()) return;
|
|
414
|
-
V(o);
|
|
415
|
-
} else o.pointerType !== "keyboard" && m && h(o);
|
|
416
|
-
}) : (D.onPressStart = (o) => {
|
|
417
|
-
A.current = o.pointerType, I.current = T, _.current = x, m && (o.pointerType === "mouse" && !x || o.pointerType === "keyboard" && (!C || Me())) && h(o);
|
|
418
|
-
}, D.onPress = (o) => {
|
|
419
|
-
(o.pointerType === "touch" || o.pointerType === "pen" || o.pointerType === "virtual" || o.pointerType === "keyboard" && M && Fe() || o.pointerType === "mouse" && _.current) && (M ? V(o) : m && h(o));
|
|
420
|
-
}), p["data-collection"] = kt(t.collection), p["data-key"] = i, D.preventFocusOnPress = s, s && (D = Z(D, {
|
|
421
|
-
onPressStart(o) {
|
|
422
|
-
o.pointerType !== "touch" && (t.setFocused(!0), t.setFocusedKey(i));
|
|
423
|
-
},
|
|
424
|
-
onPress(o) {
|
|
425
|
-
o.pointerType === "touch" && (t.setFocused(!0), t.setFocusedKey(i));
|
|
426
|
-
}
|
|
427
|
-
})), O)
|
|
428
|
-
for (let o of [
|
|
429
|
-
"onPressStart",
|
|
430
|
-
"onPressEnd",
|
|
431
|
-
"onPressChange",
|
|
432
|
-
"onPress",
|
|
433
|
-
"onPressUp",
|
|
434
|
-
"onClick"
|
|
435
|
-
]) O[o] && (D[o] = ot(D[o], O[o]));
|
|
436
|
-
let { pressProps: j, isPressed: ne } = Ye(D), Q = E ? (o) => {
|
|
437
|
-
A.current === "mouse" && (o.stopPropagation(), o.preventDefault(), V(o));
|
|
438
|
-
} : void 0, { longPressProps: re } = xt({
|
|
439
|
-
isDisabled: !T,
|
|
440
|
-
onLongPress(o) {
|
|
441
|
-
o.pointerType === "touch" && (h(o), t.setSelectionBehavior("toggle"));
|
|
442
|
-
}
|
|
443
|
-
}), a = (o) => {
|
|
444
|
-
A.current === "touch" && I.current && o.preventDefault();
|
|
445
|
-
}, b = d !== "none" && t.isLink(i) ? (o) => {
|
|
446
|
-
ut.isOpening || o.preventDefault();
|
|
447
|
-
} : void 0;
|
|
448
|
-
return {
|
|
449
|
-
itemProps: Z(
|
|
450
|
-
p,
|
|
451
|
-
m || x || s && !u ? j : {},
|
|
452
|
-
T ? re : {},
|
|
453
|
-
{
|
|
454
|
-
onDoubleClick: Q,
|
|
455
|
-
onDragStartCapture: a,
|
|
456
|
-
onClick: b,
|
|
457
|
-
id: e
|
|
458
|
-
},
|
|
459
|
-
// Prevent DOM focus from moving on mouse down when using virtual focus
|
|
460
|
-
s ? {
|
|
461
|
-
onMouseDown: (o) => o.preventDefault()
|
|
462
|
-
} : void 0
|
|
463
|
-
),
|
|
464
|
-
isPressed: ne,
|
|
465
|
-
isSelected: t.isSelected(i),
|
|
466
|
-
isFocused: t.isFocused && t.focusedKey === i,
|
|
467
|
-
isDisabled: u,
|
|
468
|
-
allowsSelection: m,
|
|
469
|
-
hasAction: M
|
|
470
|
-
};
|
|
471
|
-
}
|
|
472
|
-
function Fe() {
|
|
473
|
-
let r = window.event;
|
|
474
|
-
return r?.key === "Enter";
|
|
475
|
-
}
|
|
476
|
-
function Me() {
|
|
477
|
-
let r = window.event;
|
|
478
|
-
return r?.key === " " || r?.code === "Space";
|
|
479
|
-
}
|
|
480
|
-
class Ae {
|
|
481
|
-
getItemRect(e) {
|
|
482
|
-
let t = this.ref.current;
|
|
483
|
-
if (!t) return null;
|
|
484
|
-
let i = e != null ? le(this.ref, e) : null;
|
|
485
|
-
if (!i) return null;
|
|
486
|
-
let l = t.getBoundingClientRect(), n = i.getBoundingClientRect();
|
|
487
|
-
return {
|
|
488
|
-
x: n.left - l.left + t.scrollLeft,
|
|
489
|
-
y: n.top - l.top + t.scrollTop,
|
|
490
|
-
width: n.width,
|
|
491
|
-
height: n.height
|
|
492
|
-
};
|
|
493
|
-
}
|
|
494
|
-
getContentSize() {
|
|
495
|
-
let e = this.ref.current;
|
|
496
|
-
var t, i;
|
|
497
|
-
return {
|
|
498
|
-
width: (t = e?.scrollWidth) !== null && t !== void 0 ? t : 0,
|
|
499
|
-
height: (i = e?.scrollHeight) !== null && i !== void 0 ? i : 0
|
|
500
|
-
};
|
|
501
|
-
}
|
|
502
|
-
getVisibleRect() {
|
|
503
|
-
let e = this.ref.current;
|
|
504
|
-
var t, i, l, n;
|
|
505
|
-
return {
|
|
506
|
-
x: (t = e?.scrollLeft) !== null && t !== void 0 ? t : 0,
|
|
507
|
-
y: (i = e?.scrollTop) !== null && i !== void 0 ? i : 0,
|
|
508
|
-
width: (l = e?.offsetWidth) !== null && l !== void 0 ? l : 0,
|
|
509
|
-
height: (n = e?.offsetHeight) !== null && n !== void 0 ? n : 0
|
|
510
|
-
};
|
|
511
|
-
}
|
|
512
|
-
constructor(e) {
|
|
513
|
-
this.ref = e;
|
|
514
|
-
}
|
|
515
|
-
}
|
|
516
|
-
class vi {
|
|
517
|
-
isDisabled(e) {
|
|
518
|
-
var t;
|
|
519
|
-
return this.disabledBehavior === "all" && (((t = e.props) === null || t === void 0 ? void 0 : t.isDisabled) || this.disabledKeys.has(e.key));
|
|
520
|
-
}
|
|
521
|
-
findNextNonDisabled(e, t) {
|
|
522
|
-
let i = e;
|
|
523
|
-
for (; i != null; ) {
|
|
524
|
-
let l = this.collection.getItem(i);
|
|
525
|
-
if (l?.type === "item" && !this.isDisabled(l)) return i;
|
|
526
|
-
i = t(i);
|
|
527
|
-
}
|
|
528
|
-
return null;
|
|
529
|
-
}
|
|
530
|
-
getNextKey(e) {
|
|
531
|
-
let t = e;
|
|
532
|
-
return t = this.collection.getKeyAfter(t), this.findNextNonDisabled(t, (i) => this.collection.getKeyAfter(i));
|
|
533
|
-
}
|
|
534
|
-
getPreviousKey(e) {
|
|
535
|
-
let t = e;
|
|
536
|
-
return t = this.collection.getKeyBefore(t), this.findNextNonDisabled(t, (i) => this.collection.getKeyBefore(i));
|
|
537
|
-
}
|
|
538
|
-
findKey(e, t, i) {
|
|
539
|
-
let l = e, n = this.layoutDelegate.getItemRect(l);
|
|
540
|
-
if (!n || l == null) return null;
|
|
541
|
-
let s = n;
|
|
542
|
-
do {
|
|
543
|
-
if (l = t(l), l == null) break;
|
|
544
|
-
n = this.layoutDelegate.getItemRect(l);
|
|
545
|
-
} while (n && i(s, n) && l != null);
|
|
546
|
-
return l;
|
|
547
|
-
}
|
|
548
|
-
isSameRow(e, t) {
|
|
549
|
-
return e.y === t.y || e.x !== t.x;
|
|
550
|
-
}
|
|
551
|
-
isSameColumn(e, t) {
|
|
552
|
-
return e.x === t.x || e.y !== t.y;
|
|
553
|
-
}
|
|
554
|
-
getKeyBelow(e) {
|
|
555
|
-
return this.layout === "grid" && this.orientation === "vertical" ? this.findKey(e, (t) => this.getNextKey(t), this.isSameRow) : this.getNextKey(e);
|
|
556
|
-
}
|
|
557
|
-
getKeyAbove(e) {
|
|
558
|
-
return this.layout === "grid" && this.orientation === "vertical" ? this.findKey(e, (t) => this.getPreviousKey(t), this.isSameRow) : this.getPreviousKey(e);
|
|
559
|
-
}
|
|
560
|
-
getNextColumn(e, t) {
|
|
561
|
-
return t ? this.getPreviousKey(e) : this.getNextKey(e);
|
|
562
|
-
}
|
|
563
|
-
getKeyRightOf(e) {
|
|
564
|
-
let t = this.direction === "ltr" ? "getKeyRightOf" : "getKeyLeftOf";
|
|
565
|
-
return this.layoutDelegate[t] ? (e = this.layoutDelegate[t](e), this.findNextNonDisabled(e, (i) => this.layoutDelegate[t](i))) : this.layout === "grid" ? this.orientation === "vertical" ? this.getNextColumn(e, this.direction === "rtl") : this.findKey(e, (i) => this.getNextColumn(i, this.direction === "rtl"), this.isSameColumn) : this.orientation === "horizontal" ? this.getNextColumn(e, this.direction === "rtl") : null;
|
|
566
|
-
}
|
|
567
|
-
getKeyLeftOf(e) {
|
|
568
|
-
let t = this.direction === "ltr" ? "getKeyLeftOf" : "getKeyRightOf";
|
|
569
|
-
return this.layoutDelegate[t] ? (e = this.layoutDelegate[t](e), this.findNextNonDisabled(e, (i) => this.layoutDelegate[t](i))) : this.layout === "grid" ? this.orientation === "vertical" ? this.getNextColumn(e, this.direction === "ltr") : this.findKey(e, (i) => this.getNextColumn(i, this.direction === "ltr"), this.isSameColumn) : this.orientation === "horizontal" ? this.getNextColumn(e, this.direction === "ltr") : null;
|
|
570
|
-
}
|
|
571
|
-
getFirstKey() {
|
|
572
|
-
let e = this.collection.getFirstKey();
|
|
573
|
-
return this.findNextNonDisabled(e, (t) => this.collection.getKeyAfter(t));
|
|
574
|
-
}
|
|
575
|
-
getLastKey() {
|
|
576
|
-
let e = this.collection.getLastKey();
|
|
577
|
-
return this.findNextNonDisabled(e, (t) => this.collection.getKeyBefore(t));
|
|
578
|
-
}
|
|
579
|
-
getKeyPageAbove(e) {
|
|
580
|
-
let t = this.ref.current, i = this.layoutDelegate.getItemRect(e);
|
|
581
|
-
if (!i) return null;
|
|
582
|
-
if (t && !ke(t)) return this.getFirstKey();
|
|
583
|
-
let l = e;
|
|
584
|
-
if (this.orientation === "horizontal") {
|
|
585
|
-
let n = Math.max(0, i.x + i.width - this.layoutDelegate.getVisibleRect().width);
|
|
586
|
-
for (; i && i.x > n && l != null; )
|
|
587
|
-
l = this.getKeyAbove(l), i = l == null ? null : this.layoutDelegate.getItemRect(l);
|
|
588
|
-
} else {
|
|
589
|
-
let n = Math.max(0, i.y + i.height - this.layoutDelegate.getVisibleRect().height);
|
|
590
|
-
for (; i && i.y > n && l != null; )
|
|
591
|
-
l = this.getKeyAbove(l), i = l == null ? null : this.layoutDelegate.getItemRect(l);
|
|
592
|
-
}
|
|
593
|
-
return l ?? this.getFirstKey();
|
|
594
|
-
}
|
|
595
|
-
getKeyPageBelow(e) {
|
|
596
|
-
let t = this.ref.current, i = this.layoutDelegate.getItemRect(e);
|
|
597
|
-
if (!i) return null;
|
|
598
|
-
if (t && !ke(t)) return this.getLastKey();
|
|
599
|
-
let l = e;
|
|
600
|
-
if (this.orientation === "horizontal") {
|
|
601
|
-
let n = Math.min(this.layoutDelegate.getContentSize().width, i.y - i.width + this.layoutDelegate.getVisibleRect().width);
|
|
602
|
-
for (; i && i.x < n && l != null; )
|
|
603
|
-
l = this.getKeyBelow(l), i = l == null ? null : this.layoutDelegate.getItemRect(l);
|
|
604
|
-
} else {
|
|
605
|
-
let n = Math.min(this.layoutDelegate.getContentSize().height, i.y - i.height + this.layoutDelegate.getVisibleRect().height);
|
|
606
|
-
for (; i && i.y < n && l != null; )
|
|
607
|
-
l = this.getKeyBelow(l), i = l == null ? null : this.layoutDelegate.getItemRect(l);
|
|
608
|
-
}
|
|
609
|
-
return l ?? this.getLastKey();
|
|
610
|
-
}
|
|
611
|
-
getKeyForSearch(e, t) {
|
|
612
|
-
if (!this.collator) return null;
|
|
613
|
-
let i = this.collection, l = t || this.getFirstKey();
|
|
614
|
-
for (; l != null; ) {
|
|
615
|
-
let n = i.getItem(l);
|
|
616
|
-
if (!n) return null;
|
|
617
|
-
let s = n.textValue.slice(0, e.length);
|
|
618
|
-
if (n.textValue && this.collator.compare(s, e) === 0) return l;
|
|
619
|
-
l = this.getNextKey(l);
|
|
620
|
-
}
|
|
621
|
-
return null;
|
|
622
|
-
}
|
|
623
|
-
constructor(...e) {
|
|
624
|
-
if (e.length === 1) {
|
|
625
|
-
let t = e[0];
|
|
626
|
-
this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new Ae(t.ref);
|
|
627
|
-
} else
|
|
628
|
-
this.collection = e[0], this.disabledKeys = e[1], this.ref = e[2], this.collator = e[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new Ae(this.ref);
|
|
629
|
-
this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);
|
|
630
|
-
}
|
|
631
|
-
}
|
|
632
|
-
class Ft {
|
|
633
|
-
build(e, t) {
|
|
634
|
-
return this.context = t, Re(() => this.iterateCollection(e));
|
|
635
|
-
}
|
|
636
|
-
*iterateCollection(e) {
|
|
637
|
-
let { children: t, items: i } = e;
|
|
638
|
-
if (S.isValidElement(t) && t.type === S.Fragment) yield* this.iterateCollection({
|
|
639
|
-
children: t.props.children,
|
|
640
|
-
items: i
|
|
641
|
-
});
|
|
642
|
-
else if (typeof t == "function") {
|
|
643
|
-
if (!i) throw new Error("props.children was a function but props.items is missing");
|
|
644
|
-
let l = 0;
|
|
645
|
-
for (let n of i)
|
|
646
|
-
yield* this.getFullNode({
|
|
647
|
-
value: n,
|
|
648
|
-
index: l
|
|
649
|
-
}, {
|
|
650
|
-
renderer: t
|
|
651
|
-
}), l++;
|
|
652
|
-
} else {
|
|
653
|
-
let l = [];
|
|
654
|
-
S.Children.forEach(t, (s) => {
|
|
655
|
-
s && l.push(s);
|
|
656
|
-
});
|
|
657
|
-
let n = 0;
|
|
658
|
-
for (let s of l) {
|
|
659
|
-
let c = this.getFullNode({
|
|
660
|
-
element: s,
|
|
661
|
-
index: n
|
|
662
|
-
}, {});
|
|
663
|
-
for (let u of c)
|
|
664
|
-
n++, yield u;
|
|
665
|
-
}
|
|
666
|
-
}
|
|
667
|
-
}
|
|
668
|
-
getKey(e, t, i, l) {
|
|
669
|
-
if (e.key != null) return e.key;
|
|
670
|
-
if (t.type === "cell" && t.key != null) return `${l}${t.key}`;
|
|
671
|
-
let n = t.value;
|
|
672
|
-
if (n != null) {
|
|
673
|
-
var s;
|
|
674
|
-
let c = (s = n.key) !== null && s !== void 0 ? s : n.id;
|
|
675
|
-
if (c == null) throw new Error("No key found for item");
|
|
676
|
-
return c;
|
|
677
|
-
}
|
|
678
|
-
return l ? `${l}.${t.index}` : `$.${t.index}`;
|
|
679
|
-
}
|
|
680
|
-
getChildState(e, t) {
|
|
681
|
-
return {
|
|
682
|
-
renderer: t.renderer || e.renderer
|
|
683
|
-
};
|
|
684
|
-
}
|
|
685
|
-
*getFullNode(e, t, i, l) {
|
|
686
|
-
if (S.isValidElement(e.element) && e.element.type === S.Fragment) {
|
|
687
|
-
let g = [];
|
|
688
|
-
S.Children.forEach(e.element.props.children, (C) => {
|
|
689
|
-
g.push(C);
|
|
690
|
-
});
|
|
691
|
-
var n;
|
|
692
|
-
let m = (n = e.index) !== null && n !== void 0 ? n : 0;
|
|
693
|
-
for (const C of g) yield* this.getFullNode({
|
|
694
|
-
element: C,
|
|
695
|
-
index: m++
|
|
696
|
-
}, t, i, l);
|
|
697
|
-
return;
|
|
698
|
-
}
|
|
699
|
-
let s = e.element;
|
|
700
|
-
if (!s && e.value && t && t.renderer) {
|
|
701
|
-
let g = this.cache.get(e.value);
|
|
702
|
-
if (g && (!g.shouldInvalidate || !g.shouldInvalidate(this.context))) {
|
|
703
|
-
g.index = e.index, g.parentKey = l ? l.key : null, yield g;
|
|
704
|
-
return;
|
|
705
|
-
}
|
|
706
|
-
s = t.renderer(e.value);
|
|
707
|
-
}
|
|
708
|
-
if (S.isValidElement(s)) {
|
|
709
|
-
let g = s.type;
|
|
710
|
-
if (typeof g != "function" && typeof g.getCollectionNode != "function") {
|
|
711
|
-
let E = s.type;
|
|
712
|
-
throw new Error(`Unknown element <${E}> in collection.`);
|
|
713
|
-
}
|
|
714
|
-
let m = g.getCollectionNode(s.props, this.context);
|
|
715
|
-
var c;
|
|
716
|
-
let C = (c = e.index) !== null && c !== void 0 ? c : 0, x = m.next();
|
|
717
|
-
for (; !x.done && x.value; ) {
|
|
718
|
-
let E = x.value;
|
|
719
|
-
e.index = C;
|
|
720
|
-
var u;
|
|
721
|
-
let M = (u = E.key) !== null && u !== void 0 ? u : null;
|
|
722
|
-
M == null && (M = E.element ? null : this.getKey(s, e, t, i));
|
|
723
|
-
let T = [
|
|
724
|
-
...this.getFullNode({
|
|
725
|
-
...E,
|
|
726
|
-
key: M,
|
|
727
|
-
index: C,
|
|
728
|
-
wrapper: Mt(e.wrapper, E.wrapper)
|
|
729
|
-
}, this.getChildState(t, E), i ? `${i}${s.key}` : s.key, l)
|
|
730
|
-
];
|
|
731
|
-
for (let I of T) {
|
|
732
|
-
var v, $;
|
|
733
|
-
I.value = ($ = (v = E.value) !== null && v !== void 0 ? v : e.value) !== null && $ !== void 0 ? $ : null, I.value && this.cache.set(I.value, I);
|
|
734
|
-
var d;
|
|
735
|
-
if (e.type && I.type !== e.type) throw new Error(`Unsupported type <${he(I.type)}> in <${he((d = l?.type) !== null && d !== void 0 ? d : "unknown parent type")}>. Only <${he(e.type)}> is supported.`);
|
|
736
|
-
C++, yield I;
|
|
737
|
-
}
|
|
738
|
-
x = m.next(T);
|
|
739
|
-
}
|
|
740
|
-
return;
|
|
741
|
-
}
|
|
742
|
-
if (e.key == null || e.type == null) return;
|
|
743
|
-
let f = this;
|
|
744
|
-
var h, p;
|
|
745
|
-
let K = {
|
|
746
|
-
type: e.type,
|
|
747
|
-
props: e.props,
|
|
748
|
-
key: e.key,
|
|
749
|
-
parentKey: l ? l.key : null,
|
|
750
|
-
value: (h = e.value) !== null && h !== void 0 ? h : null,
|
|
751
|
-
level: l ? l.level + 1 : 0,
|
|
752
|
-
index: e.index,
|
|
753
|
-
rendered: e.rendered,
|
|
754
|
-
textValue: (p = e.textValue) !== null && p !== void 0 ? p : "",
|
|
755
|
-
"aria-label": e["aria-label"],
|
|
756
|
-
wrapper: e.wrapper,
|
|
757
|
-
shouldInvalidate: e.shouldInvalidate,
|
|
758
|
-
hasChildNodes: e.hasChildNodes || !1,
|
|
759
|
-
childNodes: Re(function* () {
|
|
760
|
-
if (!e.hasChildNodes || !e.childNodes) return;
|
|
761
|
-
let g = 0;
|
|
762
|
-
for (let m of e.childNodes()) {
|
|
763
|
-
m.key != null && (m.key = `${K.key}${m.key}`);
|
|
764
|
-
let C = f.getFullNode({
|
|
765
|
-
...m,
|
|
766
|
-
index: g
|
|
767
|
-
}, f.getChildState(t, m), K.key, K);
|
|
768
|
-
for (let x of C)
|
|
769
|
-
g++, yield x;
|
|
770
|
-
}
|
|
771
|
-
})
|
|
772
|
-
};
|
|
773
|
-
yield K;
|
|
774
|
-
}
|
|
775
|
-
constructor() {
|
|
776
|
-
this.cache = /* @__PURE__ */ new WeakMap();
|
|
777
|
-
}
|
|
778
|
-
}
|
|
779
|
-
function Re(r) {
|
|
780
|
-
let e = [], t = null;
|
|
781
|
-
return {
|
|
782
|
-
*[Symbol.iterator]() {
|
|
783
|
-
for (let i of e) yield i;
|
|
784
|
-
t || (t = r());
|
|
785
|
-
for (let i of t)
|
|
786
|
-
e.push(i), yield i;
|
|
787
|
-
}
|
|
788
|
-
};
|
|
789
|
-
}
|
|
790
|
-
function Mt(r, e) {
|
|
791
|
-
if (r && e) return (t) => r(e(t));
|
|
792
|
-
if (r) return r;
|
|
793
|
-
if (e) return e;
|
|
794
|
-
}
|
|
795
|
-
function he(r) {
|
|
796
|
-
return r[0].toUpperCase() + r.slice(1);
|
|
797
|
-
}
|
|
798
|
-
function gi(r, e, t) {
|
|
799
|
-
let i = B(() => new Ft(), []), { children: l, items: n, collection: s } = r;
|
|
800
|
-
return B(() => {
|
|
801
|
-
if (s) return s;
|
|
802
|
-
let u = i.build({
|
|
803
|
-
children: l,
|
|
804
|
-
items: n
|
|
805
|
-
}, t);
|
|
806
|
-
return e(u);
|
|
807
|
-
}, [
|
|
808
|
-
i,
|
|
809
|
-
l,
|
|
810
|
-
n,
|
|
811
|
-
s,
|
|
812
|
-
t,
|
|
813
|
-
e
|
|
814
|
-
]);
|
|
815
|
-
}
|
|
816
|
-
function At(r, e) {
|
|
817
|
-
return typeof e.getChildren == "function" ? e.getChildren(r.key) : r.childNodes;
|
|
818
|
-
}
|
|
819
|
-
function Rt(r) {
|
|
820
|
-
return Tt(r, 0);
|
|
821
|
-
}
|
|
822
|
-
function Tt(r, e) {
|
|
823
|
-
if (e < 0) return;
|
|
824
|
-
let t = 0;
|
|
825
|
-
for (let i of r) {
|
|
826
|
-
if (t === e) return i;
|
|
827
|
-
t++;
|
|
828
|
-
}
|
|
829
|
-
}
|
|
830
|
-
function mi(r) {
|
|
831
|
-
let e;
|
|
832
|
-
for (let t of r) e = t;
|
|
833
|
-
return e;
|
|
834
|
-
}
|
|
835
|
-
function ye(r, e, t) {
|
|
836
|
-
if (e.parentKey === t.parentKey) return e.index - t.index;
|
|
837
|
-
let i = [
|
|
838
|
-
...Te(r, e),
|
|
839
|
-
e
|
|
840
|
-
], l = [
|
|
841
|
-
...Te(r, t),
|
|
842
|
-
t
|
|
843
|
-
], n = i.slice(0, l.length).findIndex((s, c) => s !== l[c]);
|
|
844
|
-
return n !== -1 ? (e = i[n], t = l[n], e.index - t.index) : i.findIndex((s) => s === t) >= 0 ? 1 : (l.findIndex((s) => s === e) >= 0, -1);
|
|
845
|
-
}
|
|
846
|
-
function Te(r, e) {
|
|
847
|
-
let t = [], i = e;
|
|
848
|
-
for (; i?.parentKey != null; )
|
|
849
|
-
i = r.getItem(i.parentKey), i && t.unshift(i);
|
|
850
|
-
return t;
|
|
851
|
-
}
|
|
852
|
-
var te = { exports: {} }, pe = {};
|
|
853
|
-
/**
|
|
854
|
-
* @license React
|
|
855
|
-
* use-sync-external-store-shim.production.js
|
|
856
|
-
*
|
|
857
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
858
|
-
*
|
|
859
|
-
* This source code is licensed under the MIT license found in the
|
|
860
|
-
* LICENSE file in the root directory of this source tree.
|
|
861
|
-
*/
|
|
862
|
-
var Oe;
|
|
863
|
-
function Ot() {
|
|
864
|
-
if (Oe) return pe;
|
|
865
|
-
Oe = 1;
|
|
866
|
-
var r = S;
|
|
867
|
-
function e(d, f) {
|
|
868
|
-
return d === f && (d !== 0 || 1 / d === 1 / f) || d !== d && f !== f;
|
|
869
|
-
}
|
|
870
|
-
var t = typeof Object.is == "function" ? Object.is : e, i = r.useState, l = r.useEffect, n = r.useLayoutEffect, s = r.useDebugValue;
|
|
871
|
-
function c(d, f) {
|
|
872
|
-
var h = f(), p = i({ inst: { value: h, getSnapshot: f } }), K = p[0].inst, g = p[1];
|
|
873
|
-
return n(
|
|
874
|
-
function() {
|
|
875
|
-
K.value = h, K.getSnapshot = f, u(K) && g({ inst: K });
|
|
876
|
-
},
|
|
877
|
-
[d, h, f]
|
|
878
|
-
), l(
|
|
879
|
-
function() {
|
|
880
|
-
return u(K) && g({ inst: K }), d(function() {
|
|
881
|
-
u(K) && g({ inst: K });
|
|
882
|
-
});
|
|
883
|
-
},
|
|
884
|
-
[d]
|
|
885
|
-
), s(h), h;
|
|
886
|
-
}
|
|
887
|
-
function u(d) {
|
|
888
|
-
var f = d.getSnapshot;
|
|
889
|
-
d = d.value;
|
|
890
|
-
try {
|
|
891
|
-
var h = f();
|
|
892
|
-
return !t(d, h);
|
|
893
|
-
} catch {
|
|
894
|
-
return !0;
|
|
895
|
-
}
|
|
896
|
-
}
|
|
897
|
-
function v(d, f) {
|
|
898
|
-
return f();
|
|
899
|
-
}
|
|
900
|
-
var $ = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? v : c;
|
|
901
|
-
return pe.useSyncExternalStore = r.useSyncExternalStore !== void 0 ? r.useSyncExternalStore : $, pe;
|
|
902
|
-
}
|
|
903
|
-
var ve = {};
|
|
904
|
-
/**
|
|
905
|
-
* @license React
|
|
906
|
-
* use-sync-external-store-shim.development.js
|
|
907
|
-
*
|
|
908
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
909
|
-
*
|
|
910
|
-
* This source code is licensed under the MIT license found in the
|
|
911
|
-
* LICENSE file in the root directory of this source tree.
|
|
912
|
-
*/
|
|
913
|
-
var Le;
|
|
914
|
-
function Lt() {
|
|
915
|
-
return Le || (Le = 1, process.env.NODE_ENV !== "production" && function() {
|
|
916
|
-
function r(h, p) {
|
|
917
|
-
return h === p && (h !== 0 || 1 / h === 1 / p) || h !== h && p !== p;
|
|
918
|
-
}
|
|
919
|
-
function e(h, p) {
|
|
920
|
-
$ || l.startTransition === void 0 || ($ = !0, console.error(
|
|
921
|
-
"You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
|
|
922
|
-
));
|
|
923
|
-
var K = p();
|
|
924
|
-
if (!d) {
|
|
925
|
-
var g = p();
|
|
926
|
-
n(K, g) || (console.error(
|
|
927
|
-
"The result of getSnapshot should be cached to avoid an infinite loop"
|
|
928
|
-
), d = !0);
|
|
929
|
-
}
|
|
930
|
-
g = s({
|
|
931
|
-
inst: { value: K, getSnapshot: p }
|
|
932
|
-
});
|
|
933
|
-
var m = g[0].inst, C = g[1];
|
|
934
|
-
return u(
|
|
935
|
-
function() {
|
|
936
|
-
m.value = K, m.getSnapshot = p, t(m) && C({ inst: m });
|
|
937
|
-
},
|
|
938
|
-
[h, K, p]
|
|
939
|
-
), c(
|
|
940
|
-
function() {
|
|
941
|
-
return t(m) && C({ inst: m }), h(function() {
|
|
942
|
-
t(m) && C({ inst: m });
|
|
943
|
-
});
|
|
944
|
-
},
|
|
945
|
-
[h]
|
|
946
|
-
), v(K), K;
|
|
947
|
-
}
|
|
948
|
-
function t(h) {
|
|
949
|
-
var p = h.getSnapshot;
|
|
950
|
-
h = h.value;
|
|
951
|
-
try {
|
|
952
|
-
var K = p();
|
|
953
|
-
return !n(h, K);
|
|
954
|
-
} catch {
|
|
955
|
-
return !0;
|
|
956
|
-
}
|
|
957
|
-
}
|
|
958
|
-
function i(h, p) {
|
|
959
|
-
return p();
|
|
960
|
-
}
|
|
961
|
-
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
962
|
-
var l = S, n = typeof Object.is == "function" ? Object.is : r, s = l.useState, c = l.useEffect, u = l.useLayoutEffect, v = l.useDebugValue, $ = !1, d = !1, f = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? i : e;
|
|
963
|
-
ve.useSyncExternalStore = l.useSyncExternalStore !== void 0 ? l.useSyncExternalStore : f, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
964
|
-
}()), ve;
|
|
965
|
-
}
|
|
966
|
-
var Be;
|
|
967
|
-
function Bt() {
|
|
968
|
-
return Be || (Be = 1, process.env.NODE_ENV === "production" ? te.exports = Ot() : te.exports = Lt()), te.exports;
|
|
969
|
-
}
|
|
970
|
-
var Vt = /* @__PURE__ */ Bt();
|
|
971
|
-
class $e {
|
|
972
|
-
get childNodes() {
|
|
973
|
-
throw new Error("childNodes is not supported");
|
|
974
|
-
}
|
|
975
|
-
clone() {
|
|
976
|
-
let e = new $e(this.type, this.key);
|
|
977
|
-
return e.value = this.value, e.level = this.level, e.hasChildNodes = this.hasChildNodes, e.rendered = this.rendered, e.textValue = this.textValue, e["aria-label"] = this["aria-label"], e.index = this.index, e.parentKey = this.parentKey, e.prevKey = this.prevKey, e.nextKey = this.nextKey, e.firstChildKey = this.firstChildKey, e.lastChildKey = this.lastChildKey, e.props = this.props, e.render = this.render, e.colSpan = this.colSpan, e.colIndex = this.colIndex, e;
|
|
978
|
-
}
|
|
979
|
-
constructor(e, t) {
|
|
980
|
-
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;
|
|
981
|
-
}
|
|
982
|
-
}
|
|
983
|
-
class xe {
|
|
984
|
-
get size() {
|
|
985
|
-
return this.itemCount;
|
|
986
|
-
}
|
|
987
|
-
getKeys() {
|
|
988
|
-
return this.keyMap.keys();
|
|
989
|
-
}
|
|
990
|
-
*[Symbol.iterator]() {
|
|
991
|
-
let e = this.firstKey != null ? this.keyMap.get(this.firstKey) : void 0;
|
|
992
|
-
for (; e; )
|
|
993
|
-
yield e, e = e.nextKey != null ? this.keyMap.get(e.nextKey) : void 0;
|
|
994
|
-
}
|
|
995
|
-
getChildren(e) {
|
|
996
|
-
let t = this.keyMap;
|
|
997
|
-
return {
|
|
998
|
-
*[Symbol.iterator]() {
|
|
999
|
-
let i = t.get(e), l = i?.firstChildKey != null ? t.get(i.firstChildKey) : null;
|
|
1000
|
-
for (; l; )
|
|
1001
|
-
yield l, l = l.nextKey != null ? t.get(l.nextKey) : void 0;
|
|
1002
|
-
}
|
|
1003
|
-
};
|
|
1004
|
-
}
|
|
1005
|
-
getKeyBefore(e) {
|
|
1006
|
-
let t = this.keyMap.get(e);
|
|
1007
|
-
if (!t) return null;
|
|
1008
|
-
if (t.prevKey != null) {
|
|
1009
|
-
for (t = this.keyMap.get(t.prevKey); t && t.type !== "item" && t.lastChildKey != null; ) t = this.keyMap.get(t.lastChildKey);
|
|
1010
|
-
var i;
|
|
1011
|
-
return (i = t?.key) !== null && i !== void 0 ? i : null;
|
|
1012
|
-
}
|
|
1013
|
-
return t.parentKey;
|
|
1014
|
-
}
|
|
1015
|
-
getKeyAfter(e) {
|
|
1016
|
-
let t = this.keyMap.get(e);
|
|
1017
|
-
if (!t) return null;
|
|
1018
|
-
if (t.type !== "item" && t.firstChildKey != null) return t.firstChildKey;
|
|
1019
|
-
for (; t; ) {
|
|
1020
|
-
if (t.nextKey != null) return t.nextKey;
|
|
1021
|
-
if (t.parentKey != null) t = this.keyMap.get(t.parentKey);
|
|
1022
|
-
else return null;
|
|
1023
|
-
}
|
|
1024
|
-
return null;
|
|
1025
|
-
}
|
|
1026
|
-
getFirstKey() {
|
|
1027
|
-
return this.firstKey;
|
|
1028
|
-
}
|
|
1029
|
-
getLastKey() {
|
|
1030
|
-
let e = this.lastKey != null ? this.keyMap.get(this.lastKey) : null;
|
|
1031
|
-
for (; e?.lastChildKey != null; ) e = this.keyMap.get(e.lastChildKey);
|
|
1032
|
-
var t;
|
|
1033
|
-
return (t = e?.key) !== null && t !== void 0 ? t : null;
|
|
1034
|
-
}
|
|
1035
|
-
getItem(e) {
|
|
1036
|
-
var t;
|
|
1037
|
-
return (t = this.keyMap.get(e)) !== null && t !== void 0 ? t : null;
|
|
1038
|
-
}
|
|
1039
|
-
at() {
|
|
1040
|
-
throw new Error("Not implemented");
|
|
1041
|
-
}
|
|
1042
|
-
clone() {
|
|
1043
|
-
let e = this.constructor, t = new e();
|
|
1044
|
-
return t.keyMap = new Map(this.keyMap), t.firstKey = this.firstKey, t.lastKey = this.lastKey, t.itemCount = this.itemCount, t;
|
|
1045
|
-
}
|
|
1046
|
-
addNode(e) {
|
|
1047
|
-
if (this.frozen) throw new Error("Cannot add a node to a frozen collection");
|
|
1048
|
-
e.type === "item" && this.keyMap.get(e.key) == null && this.itemCount++, this.keyMap.set(e.key, e);
|
|
1049
|
-
}
|
|
1050
|
-
removeNode(e) {
|
|
1051
|
-
if (this.frozen) throw new Error("Cannot remove a node to a frozen collection");
|
|
1052
|
-
let t = this.keyMap.get(e);
|
|
1053
|
-
t != null && t.type === "item" && this.itemCount--, this.keyMap.delete(e);
|
|
1054
|
-
}
|
|
1055
|
-
commit(e, t, i = !1) {
|
|
1056
|
-
if (this.frozen) throw new Error("Cannot commit a frozen collection");
|
|
1057
|
-
this.firstKey = e, this.lastKey = t, this.frozen = !i;
|
|
1058
|
-
}
|
|
1059
|
-
// TODO: this is pretty specific to menu, will need to check if it is generic enough
|
|
1060
|
-
// Will need to handle varying levels I assume but will revisit after I get searchable menu working for base menu
|
|
1061
|
-
// TODO: an alternative is to simply walk the collection and add all item nodes that match the filter and any sections/separators we encounter
|
|
1062
|
-
// to an array, then walk that new array and fix all the next/Prev keys while adding them to the new collection
|
|
1063
|
-
UNSTABLE_filter(e) {
|
|
1064
|
-
let t = new xe(), i = null;
|
|
1065
|
-
for (let l of this)
|
|
1066
|
-
if (l.type === "section" && l.hasChildNodes) {
|
|
1067
|
-
let n = l.clone(), s = null;
|
|
1068
|
-
for (let c of this.getChildren(l.key)) if (Ve(c, e, this, t)) {
|
|
1069
|
-
let u = c.clone();
|
|
1070
|
-
s == null && (n.firstChildKey = u.key), t.firstKey == null && (t.firstKey = n.key), s && s.parentKey === u.parentKey ? (s.nextKey = u.key, u.prevKey = s.key) : u.prevKey = null, u.nextKey = null, t.addNode(u), s = u;
|
|
1071
|
-
}
|
|
1072
|
-
s && (s.type !== "header" ? (n.lastChildKey = s.key, i == null ? n.prevKey = null : (i.type === "section" || i.type === "separator") && (i.nextKey = n.key, n.prevKey = i.key), n.nextKey = null, i = n, t.addNode(n)) : (t.firstKey === n.key && (t.firstKey = null), t.removeNode(s.key)));
|
|
1073
|
-
} else if (l.type === "separator") {
|
|
1074
|
-
let n = l.clone();
|
|
1075
|
-
n.nextKey = null, i?.type === "section" && (i.nextKey = n.key, n.prevKey = i.key, i = n, t.addNode(n));
|
|
1076
|
-
} else {
|
|
1077
|
-
let n = l.clone();
|
|
1078
|
-
Ve(n, e, this, t) && (t.firstKey == null && (t.firstKey = n.key), i != null && i.type !== "section" && i.type !== "separator" && i.parentKey === n.parentKey ? (i.nextKey = n.key, n.prevKey = i.key) : n.prevKey = null, n.nextKey = null, t.addNode(n), i = n);
|
|
1079
|
-
}
|
|
1080
|
-
if (i?.type === "separator" && i.nextKey === null) {
|
|
1081
|
-
let l;
|
|
1082
|
-
i.prevKey != null && (l = t.getItem(i.prevKey), l.nextKey = null), t.removeNode(i.key), i = l;
|
|
1083
|
-
}
|
|
1084
|
-
return t.lastKey = i?.key || null, t;
|
|
1085
|
-
}
|
|
1086
|
-
constructor() {
|
|
1087
|
-
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1, this.itemCount = 0;
|
|
1088
|
-
}
|
|
1089
|
-
}
|
|
1090
|
-
function Ve(r, e, t, i) {
|
|
1091
|
-
if (r.type === "subdialogtrigger" || r.type === "submenutrigger") {
|
|
1092
|
-
let l = [
|
|
1093
|
-
...t.getChildren(r.key)
|
|
1094
|
-
][0];
|
|
1095
|
-
if (l && e(l.textValue)) {
|
|
1096
|
-
let n = l.clone();
|
|
1097
|
-
return i.addNode(n), !0;
|
|
1098
|
-
} else return !1;
|
|
1099
|
-
} else return r.type === "header" ? !0 : e(r.textValue);
|
|
1100
|
-
}
|
|
1101
|
-
class et {
|
|
1102
|
-
*[Symbol.iterator]() {
|
|
1103
|
-
let e = this.firstChild;
|
|
1104
|
-
for (; e; )
|
|
1105
|
-
yield e, e = e.nextSibling;
|
|
1106
|
-
}
|
|
1107
|
-
get firstChild() {
|
|
1108
|
-
return this._firstChild;
|
|
1109
|
-
}
|
|
1110
|
-
set firstChild(e) {
|
|
1111
|
-
this._firstChild = e, this.ownerDocument.markDirty(this);
|
|
1112
|
-
}
|
|
1113
|
-
get lastChild() {
|
|
1114
|
-
return this._lastChild;
|
|
1115
|
-
}
|
|
1116
|
-
set lastChild(e) {
|
|
1117
|
-
this._lastChild = e, this.ownerDocument.markDirty(this);
|
|
1118
|
-
}
|
|
1119
|
-
get previousSibling() {
|
|
1120
|
-
return this._previousSibling;
|
|
1121
|
-
}
|
|
1122
|
-
set previousSibling(e) {
|
|
1123
|
-
this._previousSibling = e, this.ownerDocument.markDirty(this);
|
|
1124
|
-
}
|
|
1125
|
-
get nextSibling() {
|
|
1126
|
-
return this._nextSibling;
|
|
1127
|
-
}
|
|
1128
|
-
set nextSibling(e) {
|
|
1129
|
-
this._nextSibling = e, this.ownerDocument.markDirty(this);
|
|
1130
|
-
}
|
|
1131
|
-
get parentNode() {
|
|
1132
|
-
return this._parentNode;
|
|
1133
|
-
}
|
|
1134
|
-
set parentNode(e) {
|
|
1135
|
-
this._parentNode = e, this.ownerDocument.markDirty(this);
|
|
1136
|
-
}
|
|
1137
|
-
get isConnected() {
|
|
1138
|
-
var e;
|
|
1139
|
-
return ((e = this.parentNode) === null || e === void 0 ? void 0 : e.isConnected) || !1;
|
|
1140
|
-
}
|
|
1141
|
-
invalidateChildIndices(e) {
|
|
1142
|
-
(this._minInvalidChildIndex == null || !this._minInvalidChildIndex.isConnected || e.index < this._minInvalidChildIndex.index) && (this._minInvalidChildIndex = e, this.ownerDocument.markDirty(this));
|
|
1143
|
-
}
|
|
1144
|
-
updateChildIndices() {
|
|
1145
|
-
let e = this._minInvalidChildIndex;
|
|
1146
|
-
for (; e; )
|
|
1147
|
-
e.index = e.previousSibling ? e.previousSibling.index + 1 : 0, e = e.nextSibling;
|
|
1148
|
-
this._minInvalidChildIndex = null;
|
|
1149
|
-
}
|
|
1150
|
-
appendChild(e) {
|
|
1151
|
-
e.parentNode && e.parentNode.removeChild(e), this.firstChild == null && (this.firstChild = e), this.lastChild ? (this.lastChild.nextSibling = e, e.index = this.lastChild.index + 1, e.previousSibling = this.lastChild) : (e.previousSibling = null, e.index = 0), e.parentNode = this, e.nextSibling = null, this.lastChild = e, this.ownerDocument.markDirty(this), this.isConnected && this.ownerDocument.queueUpdate();
|
|
1152
|
-
}
|
|
1153
|
-
insertBefore(e, t) {
|
|
1154
|
-
if (t == null) return this.appendChild(e);
|
|
1155
|
-
e.parentNode && e.parentNode.removeChild(e), e.nextSibling = t, e.previousSibling = t.previousSibling, e.index = t.index - 1, this.firstChild === t ? this.firstChild = e : t.previousSibling && (t.previousSibling.nextSibling = e), t.previousSibling = e, e.parentNode = t.parentNode, this.invalidateChildIndices(e), this.isConnected && this.ownerDocument.queueUpdate();
|
|
1156
|
-
}
|
|
1157
|
-
removeChild(e) {
|
|
1158
|
-
e.parentNode !== this || !this.ownerDocument.isMounted || (this._minInvalidChildIndex === e && (this._minInvalidChildIndex = null), e.nextSibling && (this.invalidateChildIndices(e.nextSibling), e.nextSibling.previousSibling = e.previousSibling), e.previousSibling && (e.previousSibling.nextSibling = e.nextSibling), this.firstChild === e && (this.firstChild = e.nextSibling), this.lastChild === e && (this.lastChild = e.previousSibling), e.parentNode = null, e.nextSibling = null, e.previousSibling = null, e.index = 0, this.ownerDocument.markDirty(e), this.isConnected && this.ownerDocument.queueUpdate());
|
|
1159
|
-
}
|
|
1160
|
-
addEventListener() {
|
|
1161
|
-
}
|
|
1162
|
-
removeEventListener() {
|
|
1163
|
-
}
|
|
1164
|
-
get previousVisibleSibling() {
|
|
1165
|
-
let e = this.previousSibling;
|
|
1166
|
-
for (; e && e.isHidden; ) e = e.previousSibling;
|
|
1167
|
-
return e;
|
|
1168
|
-
}
|
|
1169
|
-
get nextVisibleSibling() {
|
|
1170
|
-
let e = this.nextSibling;
|
|
1171
|
-
for (; e && e.isHidden; ) e = e.nextSibling;
|
|
1172
|
-
return e;
|
|
1173
|
-
}
|
|
1174
|
-
get firstVisibleChild() {
|
|
1175
|
-
let e = this.firstChild;
|
|
1176
|
-
for (; e && e.isHidden; ) e = e.nextSibling;
|
|
1177
|
-
return e;
|
|
1178
|
-
}
|
|
1179
|
-
get lastVisibleChild() {
|
|
1180
|
-
let e = this.lastChild;
|
|
1181
|
-
for (; e && e.isHidden; ) e = e.previousSibling;
|
|
1182
|
-
return e;
|
|
1183
|
-
}
|
|
1184
|
-
constructor(e) {
|
|
1185
|
-
this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;
|
|
1186
|
-
}
|
|
1187
|
-
}
|
|
1188
|
-
class W extends et {
|
|
1189
|
-
get index() {
|
|
1190
|
-
return this._index;
|
|
1191
|
-
}
|
|
1192
|
-
set index(e) {
|
|
1193
|
-
this._index = e, this.ownerDocument.markDirty(this);
|
|
1194
|
-
}
|
|
1195
|
-
get level() {
|
|
1196
|
-
return this.parentNode instanceof W ? this.parentNode.level + (this.node.type === "item" ? 1 : 0) : 0;
|
|
1197
|
-
}
|
|
1198
|
-
/**
|
|
1199
|
-
* Lazily gets a mutable instance of a Node. If the node has already
|
|
1200
|
-
* been cloned during this update cycle, it just returns the existing one.
|
|
1201
|
-
*/
|
|
1202
|
-
getMutableNode() {
|
|
1203
|
-
return this.isMutated || (this.node = this.node.clone(), this.isMutated = !0), this.ownerDocument.markDirty(this), this.node;
|
|
1204
|
-
}
|
|
1205
|
-
updateNode() {
|
|
1206
|
-
var e, t, i;
|
|
1207
|
-
let l = this.nextVisibleSibling, n = this.getMutableNode();
|
|
1208
|
-
n.index = this.index, n.level = this.level, n.parentKey = this.parentNode instanceof W ? this.parentNode.node.key : null;
|
|
1209
|
-
var s;
|
|
1210
|
-
n.prevKey = (s = (e = this.previousVisibleSibling) === null || e === void 0 ? void 0 : e.node.key) !== null && s !== void 0 ? s : null;
|
|
1211
|
-
var c;
|
|
1212
|
-
n.nextKey = (c = l?.node.key) !== null && c !== void 0 ? c : null, n.hasChildNodes = !!this.firstChild;
|
|
1213
|
-
var u;
|
|
1214
|
-
n.firstChildKey = (u = (t = this.firstVisibleChild) === null || t === void 0 ? void 0 : t.node.key) !== null && u !== void 0 ? u : null;
|
|
1215
|
-
var v;
|
|
1216
|
-
if (n.lastChildKey = (v = (i = this.lastVisibleChild) === null || i === void 0 ? void 0 : i.node.key) !== null && v !== void 0 ? v : null, (n.colSpan != null || n.colIndex != null) && l) {
|
|
1217
|
-
var $, d;
|
|
1218
|
-
let f = (($ = n.colIndex) !== null && $ !== void 0 ? $ : n.index) + ((d = n.colSpan) !== null && d !== void 0 ? d : 1);
|
|
1219
|
-
if (f !== l.node.colIndex) {
|
|
1220
|
-
let h = l.getMutableNode();
|
|
1221
|
-
h.colIndex = f;
|
|
1222
|
-
}
|
|
1223
|
-
}
|
|
1224
|
-
}
|
|
1225
|
-
setProps(e, t, i, l) {
|
|
1226
|
-
let n = this.getMutableNode(), { value: s, textValue: c, id: u, ...v } = e;
|
|
1227
|
-
if (v.ref = t, n.props = v, n.rendered = i, n.render = l, n.value = s, n.textValue = c || (typeof v.children == "string" ? v.children : "") || e["aria-label"] || "", u != null && u !== n.key) {
|
|
1228
|
-
if (this.hasSetProps) throw new Error("Cannot change the id of an item");
|
|
1229
|
-
n.key = u;
|
|
1230
|
-
}
|
|
1231
|
-
v.colSpan != null && (n.colSpan = v.colSpan), this.hasSetProps = !0, this.isConnected && this.ownerDocument.queueUpdate();
|
|
1232
|
-
}
|
|
1233
|
-
get style() {
|
|
1234
|
-
let e = this;
|
|
1235
|
-
return {
|
|
1236
|
-
get display() {
|
|
1237
|
-
return e.isHidden ? "none" : "";
|
|
1238
|
-
},
|
|
1239
|
-
set display(t) {
|
|
1240
|
-
let i = t === "none";
|
|
1241
|
-
if (e.isHidden !== i) {
|
|
1242
|
-
var l, n;
|
|
1243
|
-
(((l = e.parentNode) === null || l === void 0 ? void 0 : l.firstVisibleChild) === e || ((n = e.parentNode) === null || n === void 0 ? void 0 : n.lastVisibleChild) === e) && e.ownerDocument.markDirty(e.parentNode);
|
|
1244
|
-
let s = e.previousVisibleSibling, c = e.nextVisibleSibling;
|
|
1245
|
-
s && e.ownerDocument.markDirty(s), c && e.ownerDocument.markDirty(c), e.isHidden = i, e.ownerDocument.markDirty(e);
|
|
1246
|
-
}
|
|
1247
|
-
}
|
|
1248
|
-
};
|
|
1249
|
-
}
|
|
1250
|
-
hasAttribute() {
|
|
1251
|
-
}
|
|
1252
|
-
setAttribute() {
|
|
1253
|
-
}
|
|
1254
|
-
setAttributeNS() {
|
|
1255
|
-
}
|
|
1256
|
-
removeAttribute() {
|
|
1257
|
-
}
|
|
1258
|
-
constructor(e, t) {
|
|
1259
|
-
super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.hasSetProps = !1, this.isHidden = !1, this.node = new $e(e, `react-aria-${++t.nodeId}`);
|
|
1260
|
-
}
|
|
1261
|
-
}
|
|
1262
|
-
class Nt extends et {
|
|
1263
|
-
get isConnected() {
|
|
1264
|
-
return this.isMounted;
|
|
1265
|
-
}
|
|
1266
|
-
createElement(e) {
|
|
1267
|
-
return new W(e, this);
|
|
1268
|
-
}
|
|
1269
|
-
getMutableCollection() {
|
|
1270
|
-
return this.nextCollection || (this.nextCollection = this.collection.clone()), this.nextCollection;
|
|
1271
|
-
}
|
|
1272
|
-
markDirty(e) {
|
|
1273
|
-
this.dirtyNodes.add(e);
|
|
1274
|
-
}
|
|
1275
|
-
addNode(e) {
|
|
1276
|
-
if (e.isHidden) return;
|
|
1277
|
-
let t = this.getMutableCollection();
|
|
1278
|
-
if (!t.getItem(e.node.key)) for (let i of e) this.addNode(i);
|
|
1279
|
-
t.addNode(e.node);
|
|
1280
|
-
}
|
|
1281
|
-
removeNode(e) {
|
|
1282
|
-
for (let i of e) this.removeNode(i);
|
|
1283
|
-
this.getMutableCollection().removeNode(e.node.key);
|
|
1284
|
-
}
|
|
1285
|
-
/** Finalizes the collection update, updating all nodes and freezing the collection. */
|
|
1286
|
-
getCollection() {
|
|
1287
|
-
return this.inSubscription ? this.collection.clone() : (this.queuedRender = !1, this.updateCollection(), this.collection);
|
|
1288
|
-
}
|
|
1289
|
-
updateCollection() {
|
|
1290
|
-
for (let n of this.dirtyNodes) n instanceof W && (!n.isConnected || n.isHidden) ? this.removeNode(n) : n.updateChildIndices();
|
|
1291
|
-
for (let n of this.dirtyNodes) n instanceof W && (n.isConnected && !n.isHidden && (n.updateNode(), this.addNode(n)), n.isMutated = !1);
|
|
1292
|
-
if (this.dirtyNodes.clear(), this.nextCollection) {
|
|
1293
|
-
var e, t, i, l;
|
|
1294
|
-
this.nextCollection.commit((i = (e = this.firstVisibleChild) === null || e === void 0 ? void 0 : e.node.key) !== null && i !== void 0 ? i : null, (l = (t = this.lastVisibleChild) === null || t === void 0 ? void 0 : t.node.key) !== null && l !== void 0 ? l : null, this.isSSR), this.isSSR || (this.collection = this.nextCollection, this.nextCollection = null);
|
|
1295
|
-
}
|
|
1296
|
-
}
|
|
1297
|
-
queueUpdate() {
|
|
1298
|
-
if (!(this.dirtyNodes.size === 0 || this.queuedRender)) {
|
|
1299
|
-
this.queuedRender = !0, this.inSubscription = !0;
|
|
1300
|
-
for (let e of this.subscriptions) e();
|
|
1301
|
-
this.inSubscription = !1;
|
|
1302
|
-
}
|
|
1303
|
-
}
|
|
1304
|
-
subscribe(e) {
|
|
1305
|
-
return this.subscriptions.add(e), () => this.subscriptions.delete(e);
|
|
1306
|
-
}
|
|
1307
|
-
resetAfterSSR() {
|
|
1308
|
-
this.isSSR && (this.isSSR = !1, this.firstChild = null, this.lastChild = null, this.nodeId = 0);
|
|
1309
|
-
}
|
|
1310
|
-
constructor(e) {
|
|
1311
|
-
super(null), this.nodeType = 11, this.ownerDocument = this, this.dirtyNodes = /* @__PURE__ */ new Set(), this.isSSR = !1, this.nodeId = 0, this.nodesByProps = /* @__PURE__ */ new WeakMap(), this.isMounted = !0, this.nextCollection = null, this.subscriptions = /* @__PURE__ */ new Set(), this.queuedRender = !1, this.inSubscription = !1, this.collection = e, this.nextCollection = e;
|
|
1312
|
-
}
|
|
1313
|
-
}
|
|
1314
|
-
function tt(r) {
|
|
1315
|
-
let { children: e, items: t, idScope: i, addIdAndValue: l, dependencies: n = [] } = r, s = B(() => /* @__PURE__ */ new WeakMap(), n);
|
|
1316
|
-
return B(() => {
|
|
1317
|
-
if (t && typeof e == "function") {
|
|
1318
|
-
let v = [];
|
|
1319
|
-
for (let $ of t) {
|
|
1320
|
-
let d = s.get($);
|
|
1321
|
-
if (!d) {
|
|
1322
|
-
d = e($);
|
|
1323
|
-
var c, u;
|
|
1324
|
-
let f = (u = (c = d.props.id) !== null && c !== void 0 ? c : $.key) !== null && u !== void 0 ? u : $.id;
|
|
1325
|
-
if (f == null) throw new Error("Could not determine key for item");
|
|
1326
|
-
i && (f = i + ":" + f), d = He(d, l ? {
|
|
1327
|
-
key: f,
|
|
1328
|
-
id: f,
|
|
1329
|
-
value: $
|
|
1330
|
-
} : {
|
|
1331
|
-
key: f
|
|
1332
|
-
}), s.set($, d);
|
|
1333
|
-
}
|
|
1334
|
-
v.push(d);
|
|
1335
|
-
}
|
|
1336
|
-
return v;
|
|
1337
|
-
} else if (typeof e != "function") return e;
|
|
1338
|
-
}, [
|
|
1339
|
-
e,
|
|
1340
|
-
t,
|
|
1341
|
-
s,
|
|
1342
|
-
i,
|
|
1343
|
-
l
|
|
1344
|
-
]);
|
|
1345
|
-
}
|
|
1346
|
-
const it = /* @__PURE__ */ G(!1), J = /* @__PURE__ */ G(null);
|
|
1347
|
-
function bi(r) {
|
|
1348
|
-
if (H(J))
|
|
1349
|
-
return r.content;
|
|
1350
|
-
let { collection: t, document: i } = qt(r.createCollection);
|
|
1351
|
-
return /* @__PURE__ */ S.createElement(S.Fragment, null, /* @__PURE__ */ S.createElement(mt, null, /* @__PURE__ */ S.createElement(J.Provider, {
|
|
1352
|
-
value: i
|
|
1353
|
-
}, r.content)), /* @__PURE__ */ S.createElement(zt, {
|
|
1354
|
-
render: r.children,
|
|
1355
|
-
collection: t
|
|
1356
|
-
}));
|
|
1357
|
-
}
|
|
1358
|
-
function zt({ collection: r, render: e }) {
|
|
1359
|
-
return e(r);
|
|
1360
|
-
}
|
|
1361
|
-
function Ut(r, e, t) {
|
|
1362
|
-
let i = Xe(), l = k(i);
|
|
1363
|
-
l.current = i;
|
|
1364
|
-
let n = X(() => l.current ? t() : e(), [
|
|
1365
|
-
e,
|
|
1366
|
-
t
|
|
1367
|
-
]);
|
|
1368
|
-
return Vt.useSyncExternalStore(r, n);
|
|
1369
|
-
}
|
|
1370
|
-
const Ht = typeof S.useSyncExternalStore == "function" ? S.useSyncExternalStore : Ut;
|
|
1371
|
-
function qt(r) {
|
|
1372
|
-
let [e] = ie(() => new Nt(r?.() || new xe())), t = X((s) => e.subscribe(s), [
|
|
1373
|
-
e
|
|
1374
|
-
]), i = X(() => {
|
|
1375
|
-
let s = e.getCollection();
|
|
1376
|
-
return e.isSSR && e.resetAfterSSR(), s;
|
|
1377
|
-
}, [
|
|
1378
|
-
e
|
|
1379
|
-
]), l = X(() => (e.isSSR = !0, e.getCollection()), [
|
|
1380
|
-
e
|
|
1381
|
-
]), n = Ht(t, i, l);
|
|
1382
|
-
return ge(() => (e.isMounted = !0, () => {
|
|
1383
|
-
e.isMounted = !1;
|
|
1384
|
-
}), [
|
|
1385
|
-
e
|
|
1386
|
-
]), {
|
|
1387
|
-
collection: n,
|
|
1388
|
-
document: e
|
|
1389
|
-
};
|
|
1390
|
-
}
|
|
1391
|
-
const Ke = /* @__PURE__ */ G(null);
|
|
1392
|
-
function lt(r, e, t, i, l, n) {
|
|
1393
|
-
let s = X((u) => {
|
|
1394
|
-
u?.setProps(e, t, i, n);
|
|
1395
|
-
}, [
|
|
1396
|
-
e,
|
|
1397
|
-
t,
|
|
1398
|
-
i,
|
|
1399
|
-
n
|
|
1400
|
-
]), c = H(Ke);
|
|
1401
|
-
if (c) {
|
|
1402
|
-
let u = c.ownerDocument.nodesByProps.get(e);
|
|
1403
|
-
return u || (u = c.ownerDocument.createElement(r), u.setProps(e, t, i, n), c.appendChild(u), c.ownerDocument.updateCollection(), c.ownerDocument.nodesByProps.set(e, u)), l ? /* @__PURE__ */ S.createElement(Ke.Provider, {
|
|
1404
|
-
value: u
|
|
1405
|
-
}, l) : null;
|
|
1406
|
-
}
|
|
1407
|
-
return /* @__PURE__ */ S.createElement(r, {
|
|
1408
|
-
ref: s
|
|
1409
|
-
}, l);
|
|
1410
|
-
}
|
|
1411
|
-
function Si(r, e) {
|
|
1412
|
-
let t = ({ node: l }) => e(l.props, l.props.ref, l), i = qe((l, n) => {
|
|
1413
|
-
let s = H(Ie);
|
|
1414
|
-
if (!H(it)) {
|
|
1415
|
-
if (e.length >= 3) throw new Error(e.name + " cannot be rendered outside a collection.");
|
|
1416
|
-
return e(l, n);
|
|
1417
|
-
}
|
|
1418
|
-
return lt(r, l, n, "children" in l ? l.children : null, null, (u) => (
|
|
1419
|
-
// Forward FocusableContext to real DOM tree so tooltips work.
|
|
1420
|
-
/* @__PURE__ */ S.createElement(Ie.Provider, {
|
|
1421
|
-
value: s
|
|
1422
|
-
}, /* @__PURE__ */ S.createElement(t, {
|
|
1423
|
-
node: u
|
|
1424
|
-
}))
|
|
1425
|
-
));
|
|
1426
|
-
});
|
|
1427
|
-
return i.displayName = e.name, i;
|
|
1428
|
-
}
|
|
1429
|
-
function Ki(r, e, t = nt) {
|
|
1430
|
-
let i = ({ node: n }) => e(n.props, n.props.ref, n), l = qe((n, s) => {
|
|
1431
|
-
let c = t(n);
|
|
1432
|
-
var u;
|
|
1433
|
-
return (u = lt(r, n, s, null, c, (v) => /* @__PURE__ */ S.createElement(i, {
|
|
1434
|
-
node: v
|
|
1435
|
-
}))) !== null && u !== void 0 ? u : /* @__PURE__ */ S.createElement(S.Fragment, null);
|
|
1436
|
-
});
|
|
1437
|
-
return l.displayName = e.name, l;
|
|
1438
|
-
}
|
|
1439
|
-
function nt(r) {
|
|
1440
|
-
return tt({
|
|
1441
|
-
...r,
|
|
1442
|
-
addIdAndValue: !0
|
|
1443
|
-
});
|
|
1444
|
-
}
|
|
1445
|
-
const Ne = /* @__PURE__ */ G(null);
|
|
1446
|
-
function $i(r) {
|
|
1447
|
-
let e = H(Ne), t = (e?.dependencies || []).concat(r.dependencies), i = r.idScope || e?.idScope, l = nt({
|
|
1448
|
-
...r,
|
|
1449
|
-
idScope: i,
|
|
1450
|
-
dependencies: t
|
|
1451
|
-
});
|
|
1452
|
-
return H(J) && (l = /* @__PURE__ */ S.createElement(Wt, null, l)), e = B(() => ({
|
|
1453
|
-
dependencies: t,
|
|
1454
|
-
idScope: i
|
|
1455
|
-
}), [
|
|
1456
|
-
i,
|
|
1457
|
-
...t
|
|
1458
|
-
]), /* @__PURE__ */ S.createElement(Ne.Provider, {
|
|
1459
|
-
value: e
|
|
1460
|
-
}, l);
|
|
1461
|
-
}
|
|
1462
|
-
function Wt({ children: r }) {
|
|
1463
|
-
let e = H(J), t = B(() => /* @__PURE__ */ S.createElement(J.Provider, {
|
|
1464
|
-
value: null
|
|
1465
|
-
}, /* @__PURE__ */ S.createElement(it.Provider, {
|
|
1466
|
-
value: !0
|
|
1467
|
-
}, r)), [
|
|
1468
|
-
r
|
|
1469
|
-
]);
|
|
1470
|
-
return Xe() ? /* @__PURE__ */ S.createElement(Ke.Provider, {
|
|
1471
|
-
value: e
|
|
1472
|
-
}, t) : /* @__PURE__ */ ht(t, e);
|
|
1473
|
-
}
|
|
1474
|
-
class R extends Set {
|
|
1475
|
-
constructor(e, t, i) {
|
|
1476
|
-
super(e), e instanceof R ? (this.anchorKey = t ?? e.anchorKey, this.currentKey = i ?? e.currentKey) : (this.anchorKey = t ?? null, this.currentKey = i ?? null);
|
|
1477
|
-
}
|
|
1478
|
-
}
|
|
1479
|
-
function Gt(r, e) {
|
|
1480
|
-
if (r.size !== e.size) return !1;
|
|
1481
|
-
for (let t of r)
|
|
1482
|
-
if (!e.has(t)) return !1;
|
|
1483
|
-
return !0;
|
|
1484
|
-
}
|
|
1485
|
-
function xi(r) {
|
|
1486
|
-
let { selectionMode: e = "none", disallowEmptySelection: t = !1, allowDuplicateSelectionEvents: i, selectionBehavior: l = "toggle", disabledBehavior: n = "all" } = r, s = k(!1), [, c] = ie(!1), u = k(null), v = k(null), [, $] = ie(null), d = B(() => ze(r.selectedKeys), [
|
|
1487
|
-
r.selectedKeys
|
|
1488
|
-
]), f = B(() => ze(r.defaultSelectedKeys, new R()), [
|
|
1489
|
-
r.defaultSelectedKeys
|
|
1490
|
-
]), [h, p] = bt(d, f, r.onSelectionChange), K = B(() => r.disabledKeys ? new Set(r.disabledKeys) : /* @__PURE__ */ new Set(), [
|
|
1491
|
-
r.disabledKeys
|
|
1492
|
-
]), [g, m] = ie(l);
|
|
1493
|
-
l === "replace" && g === "toggle" && typeof h == "object" && h.size === 0 && m("replace");
|
|
1494
|
-
let C = k(l);
|
|
1495
|
-
return Y(() => {
|
|
1496
|
-
l !== C.current && (m(l), C.current = l);
|
|
1497
|
-
}, [
|
|
1498
|
-
l
|
|
1499
|
-
]), {
|
|
1500
|
-
selectionMode: e,
|
|
1501
|
-
disallowEmptySelection: t,
|
|
1502
|
-
selectionBehavior: g,
|
|
1503
|
-
setSelectionBehavior: m,
|
|
1504
|
-
get isFocused() {
|
|
1505
|
-
return s.current;
|
|
1506
|
-
},
|
|
1507
|
-
setFocused(x) {
|
|
1508
|
-
s.current = x, c(x);
|
|
1509
|
-
},
|
|
1510
|
-
get focusedKey() {
|
|
1511
|
-
return u.current;
|
|
1512
|
-
},
|
|
1513
|
-
get childFocusStrategy() {
|
|
1514
|
-
return v.current;
|
|
1515
|
-
},
|
|
1516
|
-
setFocusedKey(x, E = "first") {
|
|
1517
|
-
u.current = x, v.current = E, $(x);
|
|
1518
|
-
},
|
|
1519
|
-
selectedKeys: h,
|
|
1520
|
-
setSelectedKeys(x) {
|
|
1521
|
-
(i || !Gt(x, h)) && p(x);
|
|
1522
|
-
},
|
|
1523
|
-
disabledKeys: K,
|
|
1524
|
-
disabledBehavior: n
|
|
1525
|
-
};
|
|
1526
|
-
}
|
|
1527
|
-
function ze(r, e) {
|
|
1528
|
-
return r ? r === "all" ? "all" : new R(r) : e;
|
|
1529
|
-
}
|
|
1530
|
-
class rt {
|
|
1531
|
-
/**
|
|
1532
|
-
* The type of selection that is allowed in the collection.
|
|
1533
|
-
*/
|
|
1534
|
-
get selectionMode() {
|
|
1535
|
-
return this.state.selectionMode;
|
|
1536
|
-
}
|
|
1537
|
-
/**
|
|
1538
|
-
* Whether the collection allows empty selection.
|
|
1539
|
-
*/
|
|
1540
|
-
get disallowEmptySelection() {
|
|
1541
|
-
return this.state.disallowEmptySelection;
|
|
1542
|
-
}
|
|
1543
|
-
/**
|
|
1544
|
-
* The selection behavior for the collection.
|
|
1545
|
-
*/
|
|
1546
|
-
get selectionBehavior() {
|
|
1547
|
-
return this.state.selectionBehavior;
|
|
1548
|
-
}
|
|
1549
|
-
/**
|
|
1550
|
-
* Sets the selection behavior for the collection.
|
|
1551
|
-
*/
|
|
1552
|
-
setSelectionBehavior(e) {
|
|
1553
|
-
this.state.setSelectionBehavior(e);
|
|
1554
|
-
}
|
|
1555
|
-
/**
|
|
1556
|
-
* Whether the collection is currently focused.
|
|
1557
|
-
*/
|
|
1558
|
-
get isFocused() {
|
|
1559
|
-
return this.state.isFocused;
|
|
1560
|
-
}
|
|
1561
|
-
/**
|
|
1562
|
-
* Sets whether the collection is focused.
|
|
1563
|
-
*/
|
|
1564
|
-
setFocused(e) {
|
|
1565
|
-
this.state.setFocused(e);
|
|
1566
|
-
}
|
|
1567
|
-
/**
|
|
1568
|
-
* The current focused key in the collection.
|
|
1569
|
-
*/
|
|
1570
|
-
get focusedKey() {
|
|
1571
|
-
return this.state.focusedKey;
|
|
1572
|
-
}
|
|
1573
|
-
/** Whether the first or last child of the focused key should receive focus. */
|
|
1574
|
-
get childFocusStrategy() {
|
|
1575
|
-
return this.state.childFocusStrategy;
|
|
1576
|
-
}
|
|
1577
|
-
/**
|
|
1578
|
-
* Sets the focused key.
|
|
1579
|
-
*/
|
|
1580
|
-
setFocusedKey(e, t) {
|
|
1581
|
-
(e == null || this.collection.getItem(e)) && this.state.setFocusedKey(e, t);
|
|
1582
|
-
}
|
|
1583
|
-
/**
|
|
1584
|
-
* The currently selected keys in the collection.
|
|
1585
|
-
*/
|
|
1586
|
-
get selectedKeys() {
|
|
1587
|
-
return this.state.selectedKeys === "all" ? new Set(this.getSelectAllKeys()) : this.state.selectedKeys;
|
|
1588
|
-
}
|
|
1589
|
-
/**
|
|
1590
|
-
* The raw selection value for the collection.
|
|
1591
|
-
* Either 'all' for select all, or a set of keys.
|
|
1592
|
-
*/
|
|
1593
|
-
get rawSelection() {
|
|
1594
|
-
return this.state.selectedKeys;
|
|
1595
|
-
}
|
|
1596
|
-
/**
|
|
1597
|
-
* Returns whether a key is selected.
|
|
1598
|
-
*/
|
|
1599
|
-
isSelected(e) {
|
|
1600
|
-
if (this.state.selectionMode === "none") return !1;
|
|
1601
|
-
let t = this.getKey(e);
|
|
1602
|
-
return t == null ? !1 : this.state.selectedKeys === "all" ? this.canSelectItem(t) : this.state.selectedKeys.has(t);
|
|
1603
|
-
}
|
|
1604
|
-
/**
|
|
1605
|
-
* Whether the selection is empty.
|
|
1606
|
-
*/
|
|
1607
|
-
get isEmpty() {
|
|
1608
|
-
return this.state.selectedKeys !== "all" && this.state.selectedKeys.size === 0;
|
|
1609
|
-
}
|
|
1610
|
-
/**
|
|
1611
|
-
* Whether all items in the collection are selected.
|
|
1612
|
-
*/
|
|
1613
|
-
get isSelectAll() {
|
|
1614
|
-
if (this.isEmpty) return !1;
|
|
1615
|
-
if (this.state.selectedKeys === "all") return !0;
|
|
1616
|
-
if (this._isSelectAll != null) return this._isSelectAll;
|
|
1617
|
-
let e = this.getSelectAllKeys(), t = this.state.selectedKeys;
|
|
1618
|
-
return this._isSelectAll = e.every((i) => t.has(i)), this._isSelectAll;
|
|
1619
|
-
}
|
|
1620
|
-
get firstSelectedKey() {
|
|
1621
|
-
let e = null;
|
|
1622
|
-
for (let i of this.state.selectedKeys) {
|
|
1623
|
-
let l = this.collection.getItem(i);
|
|
1624
|
-
(!e || l && ye(this.collection, l, e) < 0) && (e = l);
|
|
1625
|
-
}
|
|
1626
|
-
var t;
|
|
1627
|
-
return (t = e?.key) !== null && t !== void 0 ? t : null;
|
|
1628
|
-
}
|
|
1629
|
-
get lastSelectedKey() {
|
|
1630
|
-
let e = null;
|
|
1631
|
-
for (let i of this.state.selectedKeys) {
|
|
1632
|
-
let l = this.collection.getItem(i);
|
|
1633
|
-
(!e || l && ye(this.collection, l, e) > 0) && (e = l);
|
|
1634
|
-
}
|
|
1635
|
-
var t;
|
|
1636
|
-
return (t = e?.key) !== null && t !== void 0 ? t : null;
|
|
1637
|
-
}
|
|
1638
|
-
get disabledKeys() {
|
|
1639
|
-
return this.state.disabledKeys;
|
|
1640
|
-
}
|
|
1641
|
-
get disabledBehavior() {
|
|
1642
|
-
return this.state.disabledBehavior;
|
|
1643
|
-
}
|
|
1644
|
-
/**
|
|
1645
|
-
* Extends the selection to the given key.
|
|
1646
|
-
*/
|
|
1647
|
-
extendSelection(e) {
|
|
1648
|
-
if (this.selectionMode === "none") return;
|
|
1649
|
-
if (this.selectionMode === "single") {
|
|
1650
|
-
this.replaceSelection(e);
|
|
1651
|
-
return;
|
|
1652
|
-
}
|
|
1653
|
-
let t = this.getKey(e);
|
|
1654
|
-
if (t == null) return;
|
|
1655
|
-
let i;
|
|
1656
|
-
if (this.state.selectedKeys === "all") i = new R([
|
|
1657
|
-
t
|
|
1658
|
-
], t, t);
|
|
1659
|
-
else {
|
|
1660
|
-
let s = this.state.selectedKeys;
|
|
1661
|
-
var l;
|
|
1662
|
-
let c = (l = s.anchorKey) !== null && l !== void 0 ? l : t;
|
|
1663
|
-
i = new R(s, c, t);
|
|
1664
|
-
var n;
|
|
1665
|
-
for (let u of this.getKeyRange(c, (n = s.currentKey) !== null && n !== void 0 ? n : t)) i.delete(u);
|
|
1666
|
-
for (let u of this.getKeyRange(t, c)) this.canSelectItem(u) && i.add(u);
|
|
1667
|
-
}
|
|
1668
|
-
this.state.setSelectedKeys(i);
|
|
1669
|
-
}
|
|
1670
|
-
getKeyRange(e, t) {
|
|
1671
|
-
let i = this.collection.getItem(e), l = this.collection.getItem(t);
|
|
1672
|
-
return i && l ? ye(this.collection, i, l) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
|
|
1673
|
-
}
|
|
1674
|
-
getKeyRangeInternal(e, t) {
|
|
1675
|
-
var i;
|
|
1676
|
-
if (!((i = this.layoutDelegate) === null || i === void 0) && i.getKeyRange) return this.layoutDelegate.getKeyRange(e, t);
|
|
1677
|
-
let l = [], n = e;
|
|
1678
|
-
for (; n != null; ) {
|
|
1679
|
-
let s = this.collection.getItem(n);
|
|
1680
|
-
if (s && (s.type === "item" || s.type === "cell" && this.allowsCellSelection) && l.push(n), n === t) return l;
|
|
1681
|
-
n = this.collection.getKeyAfter(n);
|
|
1682
|
-
}
|
|
1683
|
-
return [];
|
|
1684
|
-
}
|
|
1685
|
-
getKey(e) {
|
|
1686
|
-
let t = this.collection.getItem(e);
|
|
1687
|
-
if (!t || t.type === "cell" && this.allowsCellSelection) return e;
|
|
1688
|
-
for (; t && t.type !== "item" && t.parentKey != null; ) t = this.collection.getItem(t.parentKey);
|
|
1689
|
-
return !t || t.type !== "item" ? null : t.key;
|
|
1690
|
-
}
|
|
1691
|
-
/**
|
|
1692
|
-
* Toggles whether the given key is selected.
|
|
1693
|
-
*/
|
|
1694
|
-
toggleSelection(e) {
|
|
1695
|
-
if (this.selectionMode === "none") return;
|
|
1696
|
-
if (this.selectionMode === "single" && !this.isSelected(e)) {
|
|
1697
|
-
this.replaceSelection(e);
|
|
1698
|
-
return;
|
|
1699
|
-
}
|
|
1700
|
-
let t = this.getKey(e);
|
|
1701
|
-
if (t == null) return;
|
|
1702
|
-
let i = new R(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
|
|
1703
|
-
i.has(t) ? i.delete(t) : this.canSelectItem(t) && (i.add(t), i.anchorKey = t, i.currentKey = t), !(this.disallowEmptySelection && i.size === 0) && this.state.setSelectedKeys(i);
|
|
1704
|
-
}
|
|
1705
|
-
/**
|
|
1706
|
-
* Replaces the selection with only the given key.
|
|
1707
|
-
*/
|
|
1708
|
-
replaceSelection(e) {
|
|
1709
|
-
if (this.selectionMode === "none") return;
|
|
1710
|
-
let t = this.getKey(e);
|
|
1711
|
-
if (t == null) return;
|
|
1712
|
-
let i = this.canSelectItem(t) ? new R([
|
|
1713
|
-
t
|
|
1714
|
-
], t, t) : new R();
|
|
1715
|
-
this.state.setSelectedKeys(i);
|
|
1716
|
-
}
|
|
1717
|
-
/**
|
|
1718
|
-
* Replaces the selection with the given keys.
|
|
1719
|
-
*/
|
|
1720
|
-
setSelectedKeys(e) {
|
|
1721
|
-
if (this.selectionMode === "none") return;
|
|
1722
|
-
let t = new R();
|
|
1723
|
-
for (let i of e) {
|
|
1724
|
-
let l = this.getKey(i);
|
|
1725
|
-
if (l != null && (t.add(l), this.selectionMode === "single"))
|
|
1726
|
-
break;
|
|
1727
|
-
}
|
|
1728
|
-
this.state.setSelectedKeys(t);
|
|
1729
|
-
}
|
|
1730
|
-
getSelectAllKeys() {
|
|
1731
|
-
let e = [], t = (i) => {
|
|
1732
|
-
for (; i != null; ) {
|
|
1733
|
-
if (this.canSelectItem(i)) {
|
|
1734
|
-
var l;
|
|
1735
|
-
let s = this.collection.getItem(i);
|
|
1736
|
-
s?.type === "item" && e.push(i);
|
|
1737
|
-
var n;
|
|
1738
|
-
s?.hasChildNodes && (this.allowsCellSelection || s.type !== "item") && t((n = (l = Rt(At(s, this.collection))) === null || l === void 0 ? void 0 : l.key) !== null && n !== void 0 ? n : null);
|
|
1739
|
-
}
|
|
1740
|
-
i = this.collection.getKeyAfter(i);
|
|
1741
|
-
}
|
|
1742
|
-
};
|
|
1743
|
-
return t(this.collection.getFirstKey()), e;
|
|
1744
|
-
}
|
|
1745
|
-
/**
|
|
1746
|
-
* Selects all items in the collection.
|
|
1747
|
-
*/
|
|
1748
|
-
selectAll() {
|
|
1749
|
-
!this.isSelectAll && this.selectionMode === "multiple" && this.state.setSelectedKeys("all");
|
|
1750
|
-
}
|
|
1751
|
-
/**
|
|
1752
|
-
* Removes all keys from the selection.
|
|
1753
|
-
*/
|
|
1754
|
-
clearSelection() {
|
|
1755
|
-
!this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new R());
|
|
1756
|
-
}
|
|
1757
|
-
/**
|
|
1758
|
-
* Toggles between select all and an empty selection.
|
|
1759
|
-
*/
|
|
1760
|
-
toggleSelectAll() {
|
|
1761
|
-
this.isSelectAll ? this.clearSelection() : this.selectAll();
|
|
1762
|
-
}
|
|
1763
|
-
select(e, t) {
|
|
1764
|
-
this.selectionMode !== "none" && (this.selectionMode === "single" ? this.isSelected(e) && !this.disallowEmptySelection ? this.toggleSelection(e) : this.replaceSelection(e) : this.selectionBehavior === "toggle" || t && (t.pointerType === "touch" || t.pointerType === "virtual") ? this.toggleSelection(e) : this.replaceSelection(e));
|
|
1765
|
-
}
|
|
1766
|
-
/**
|
|
1767
|
-
* Returns whether the current selection is equal to the given selection.
|
|
1768
|
-
*/
|
|
1769
|
-
isSelectionEqual(e) {
|
|
1770
|
-
if (e === this.state.selectedKeys) return !0;
|
|
1771
|
-
let t = this.selectedKeys;
|
|
1772
|
-
if (e.size !== t.size) return !1;
|
|
1773
|
-
for (let i of e)
|
|
1774
|
-
if (!t.has(i)) return !1;
|
|
1775
|
-
for (let i of t)
|
|
1776
|
-
if (!e.has(i)) return !1;
|
|
1777
|
-
return !0;
|
|
1778
|
-
}
|
|
1779
|
-
canSelectItem(e) {
|
|
1780
|
-
var t;
|
|
1781
|
-
if (this.state.selectionMode === "none" || this.state.disabledKeys.has(e)) return !1;
|
|
1782
|
-
let i = this.collection.getItem(e);
|
|
1783
|
-
return !(!i || !(i == null || (t = i.props) === null || t === void 0) && t.isDisabled || i.type === "cell" && !this.allowsCellSelection);
|
|
1784
|
-
}
|
|
1785
|
-
isDisabled(e) {
|
|
1786
|
-
var t, i;
|
|
1787
|
-
return this.state.disabledBehavior === "all" && (this.state.disabledKeys.has(e) || !!(!((i = this.collection.getItem(e)) === null || i === void 0 || (t = i.props) === null || t === void 0) && t.isDisabled));
|
|
1788
|
-
}
|
|
1789
|
-
isLink(e) {
|
|
1790
|
-
var t, i;
|
|
1791
|
-
return !!(!((i = this.collection.getItem(e)) === null || i === void 0 || (t = i.props) === null || t === void 0) && t.href);
|
|
1792
|
-
}
|
|
1793
|
-
getItemProps(e) {
|
|
1794
|
-
var t;
|
|
1795
|
-
return (t = this.collection.getItem(e)) === null || t === void 0 ? void 0 : t.props;
|
|
1796
|
-
}
|
|
1797
|
-
withCollection(e) {
|
|
1798
|
-
return new rt(e, this.state, {
|
|
1799
|
-
allowsCellSelection: this.allowsCellSelection,
|
|
1800
|
-
layoutDelegate: this.layoutDelegate || void 0
|
|
1801
|
-
});
|
|
1802
|
-
}
|
|
1803
|
-
constructor(e, t, i) {
|
|
1804
|
-
this.collection = e, this.state = t;
|
|
1805
|
-
var l;
|
|
1806
|
-
this.allowsCellSelection = (l = i?.allowsCellSelection) !== null && l !== void 0 ? l : !1, this._isSelectAll = null, this.layoutDelegate = i?.layoutDelegate || null;
|
|
1807
|
-
}
|
|
1808
|
-
}
|
|
1809
|
-
const Ci = /* @__PURE__ */ G(null), _t = {
|
|
1810
|
-
CollectionRoot({ collection: r, renderDropIndicator: e }) {
|
|
1811
|
-
return Ue(r, null, e);
|
|
1812
|
-
},
|
|
1813
|
-
CollectionBranch({ collection: r, parent: e, renderDropIndicator: t }) {
|
|
1814
|
-
return Ue(r, e, t);
|
|
1815
|
-
}
|
|
1816
|
-
};
|
|
1817
|
-
function Ue(r, e, t) {
|
|
1818
|
-
return tt({
|
|
1819
|
-
items: e ? r.getChildren(e.key) : r,
|
|
1820
|
-
dependencies: [
|
|
1821
|
-
t
|
|
1822
|
-
],
|
|
1823
|
-
children(i) {
|
|
1824
|
-
let l = i.render(i);
|
|
1825
|
-
return !t || i.type !== "item" ? l : /* @__PURE__ */ S.createElement(S.Fragment, null, t({
|
|
1826
|
-
type: "item",
|
|
1827
|
-
key: i.key,
|
|
1828
|
-
dropPosition: "before"
|
|
1829
|
-
}), l, jt(r, i, t));
|
|
1830
|
-
}
|
|
1831
|
-
});
|
|
1832
|
-
}
|
|
1833
|
-
function jt(r, e, t) {
|
|
1834
|
-
let i = e.key, l = r.getKeyAfter(i), n = l != null ? r.getItem(l) : null;
|
|
1835
|
-
for (; n != null && n.type !== "item"; )
|
|
1836
|
-
l = r.getKeyAfter(n.key), n = l != null ? r.getItem(l) : null;
|
|
1837
|
-
let s = e.nextKey != null ? r.getItem(e.nextKey) : null;
|
|
1838
|
-
for (; s != null && s.type !== "item"; ) s = s.nextKey != null ? r.getItem(s.nextKey) : null;
|
|
1839
|
-
let c = [];
|
|
1840
|
-
if (s == null) {
|
|
1841
|
-
let u = e;
|
|
1842
|
-
for (; u && (!n || u.parentKey !== n.parentKey && n.level < u.level); ) {
|
|
1843
|
-
let v = t({
|
|
1844
|
-
type: "item",
|
|
1845
|
-
key: u.key,
|
|
1846
|
-
dropPosition: "after"
|
|
1847
|
-
});
|
|
1848
|
-
/* @__PURE__ */ st(v) && c.push(/* @__PURE__ */ He(v, {
|
|
1849
|
-
key: `${u.key}-after`
|
|
1850
|
-
})), u = u.parentKey != null ? r.getItem(u.parentKey) : null;
|
|
1851
|
-
}
|
|
1852
|
-
}
|
|
1853
|
-
return c;
|
|
1854
|
-
}
|
|
1855
|
-
const wi = /* @__PURE__ */ G(_t);
|
|
1856
|
-
function Di(r) {
|
|
1857
|
-
return B(() => r != null ? /* @__PURE__ */ new Set([
|
|
1858
|
-
r
|
|
1859
|
-
]) : null, [
|
|
1860
|
-
r
|
|
1861
|
-
]);
|
|
1862
|
-
}
|
|
1863
|
-
export {
|
|
1864
|
-
pi as $,
|
|
1865
|
-
tt as A,
|
|
1866
|
-
xe as B,
|
|
1867
|
-
$e as C,
|
|
1868
|
-
xt as D,
|
|
1869
|
-
xi as a,
|
|
1870
|
-
gi as b,
|
|
1871
|
-
rt as c,
|
|
1872
|
-
Si as d,
|
|
1873
|
-
Ki as e,
|
|
1874
|
-
bi as f,
|
|
1875
|
-
$i as g,
|
|
1876
|
-
wi as h,
|
|
1877
|
-
vi as i,
|
|
1878
|
-
Ci as j,
|
|
1879
|
-
It as k,
|
|
1880
|
-
yi as l,
|
|
1881
|
-
At as m,
|
|
1882
|
-
Kt as n,
|
|
1883
|
-
Ze as o,
|
|
1884
|
-
St as p,
|
|
1885
|
-
Ct as q,
|
|
1886
|
-
Je as r,
|
|
1887
|
-
q as s,
|
|
1888
|
-
wt as t,
|
|
1889
|
-
_t as u,
|
|
1890
|
-
Di as v,
|
|
1891
|
-
mi as w,
|
|
1892
|
-
Rt as x,
|
|
1893
|
-
Tt as y,
|
|
1894
|
-
Ae as z
|
|
1895
|
-
};
|
|
1896
|
-
//# sourceMappingURL=Collection-DFZhstai.es.js.map
|