@commercetools/nimbus 0.0.0-canary-20251027194157 → 0.0.0-canary-20251028144530
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{Button-CqCJF7Kz.es.js → Button-SjGHt140.es.js} +2 -2
- package/dist/chunks/{Button-CqCJF7Kz.es.js.map → Button-SjGHt140.es.js.map} +1 -1
- package/dist/chunks/{CollectionBuilder-CoZRYV8T.es.js → CollectionBuilder-BhYUxJYI.es.js} +6 -6
- package/dist/chunks/{CollectionBuilder-CoZRYV8T.es.js.map → CollectionBuilder-BhYUxJYI.es.js.map} +1 -1
- package/dist/chunks/{DateField-ChNVEFNs.es.js → DateField-DMjgxual.es.js} +5 -5
- package/dist/chunks/{DateField-ChNVEFNs.es.js.map → DateField-DMjgxual.es.js.map} +1 -1
- package/dist/chunks/{DatePicker-uW8Z5fWm.es.js → DatePicker-Cvad8nra.es.js} +7 -7
- package/dist/chunks/{DatePicker-uW8Z5fWm.es.js.map → DatePicker-Cvad8nra.es.js.map} +1 -1
- package/dist/chunks/{DatePicker-Codg0QnC.cjs.js → DatePicker-DGLrUdLu.cjs.js} +2 -2
- package/dist/chunks/{DatePicker-Codg0QnC.cjs.js.map → DatePicker-DGLrUdLu.cjs.js.map} +1 -1
- package/dist/chunks/{Dialog-DyQtQIZJ.es.js → Dialog-BUtdEtlF.es.js} +11 -11
- package/dist/chunks/{Dialog-DyQtQIZJ.es.js.map → Dialog-BUtdEtlF.es.js.map} +1 -1
- package/dist/chunks/{Dialog-DINBl88u.cjs.js → Dialog-Ye_7tQZU.cjs.js} +2 -2
- package/dist/chunks/{Dialog-DINBl88u.cjs.js.map → Dialog-Ye_7tQZU.cjs.js.map} +1 -1
- package/dist/chunks/Header-Bvl-gjeR.cjs.js +2 -0
- package/dist/chunks/Header-Bvl-gjeR.cjs.js.map +1 -0
- package/dist/chunks/Header-CpF5ynyj.es.js +213 -0
- package/dist/chunks/Header-CpF5ynyj.es.js.map +1 -0
- package/dist/chunks/{Heading-C5BLc9Ds.es.js → Heading-DXod1zoy.es.js} +7 -7
- package/dist/chunks/{Heading-C5BLc9Ds.es.js.map → Heading-DXod1zoy.es.js.map} +1 -1
- package/dist/chunks/ListBox-CdtzuZzA.es.js +561 -0
- package/dist/chunks/ListBox-CdtzuZzA.es.js.map +1 -0
- package/dist/chunks/ListBox-Dcnj8pHo.cjs.js +2 -0
- package/dist/chunks/ListBox-Dcnj8pHo.cjs.js.map +1 -0
- package/dist/chunks/{Modal-DDTTtqGV.es.js → Modal-BgIeZMyG.es.js} +4 -4
- package/dist/chunks/{Modal-DDTTtqGV.es.js.map → Modal-BgIeZMyG.es.js.map} +1 -1
- package/dist/chunks/{Modal-C9uSJ3BN.cjs.js → Modal-DjOIA2BE.cjs.js} +2 -2
- package/dist/chunks/{Modal-C9uSJ3BN.cjs.js.map → Modal-DjOIA2BE.cjs.js.map} +1 -1
- package/dist/chunks/{RSPContexts-DV4cFLUV.es.js → RSPContexts-DLgb84PF.es.js} +3 -3
- package/dist/chunks/{RSPContexts-DV4cFLUV.es.js.map → RSPContexts-DLgb84PF.es.js.map} +1 -1
- package/dist/chunks/{SelectionManager-Bo1rTzWU.es.js → SelectionManager-S9Amkvfg.es.js} +9 -9
- package/dist/chunks/{SelectionManager-Bo1rTzWU.es.js.map → SelectionManager-S9Amkvfg.es.js.map} +1 -1
- package/dist/chunks/{Separator-OdAUxccH.es.js → Separator-kuF-Wo1o.es.js} +2 -2
- package/dist/chunks/{Separator-OdAUxccH.es.js.map → Separator-kuF-Wo1o.es.js.map} +1 -1
- package/dist/chunks/{ToggleButton-BlpcYfFt.es.js → ToggleButton-BIiBT_jL.es.js} +2 -2
- package/dist/chunks/{ToggleButton-BlpcYfFt.es.js.map → ToggleButton-BIiBT_jL.es.js.map} +1 -1
- package/dist/chunks/{accordion-B9pzlIJn.cjs.js → accordion-BqNWELBY.cjs.js} +2 -2
- package/dist/chunks/{accordion-B9pzlIJn.cjs.js.map → accordion-BqNWELBY.cjs.js.map} +1 -1
- package/dist/chunks/{accordion-BazoFx8H.es.js → accordion-ilrNSEj0.es.js} +3 -3
- package/dist/chunks/{accordion-BazoFx8H.es.js.map → accordion-ilrNSEj0.es.js.map} +1 -1
- package/dist/chunks/{alert-BYw_3VgA.cjs.js → alert-BVC4J_cp.cjs.js} +2 -2
- package/dist/chunks/{alert-BYw_3VgA.cjs.js.map → alert-BVC4J_cp.cjs.js.map} +1 -1
- package/dist/chunks/{alert-DafE92Ep.es.js → alert-Dmucg4lE.es.js} +2 -2
- package/dist/chunks/{alert-DafE92Ep.es.js.map → alert-Dmucg4lE.es.js.map} +1 -1
- package/dist/chunks/{button-rMTplznF.es.js → button-BYK9-Rwz.es.js} +4 -4
- package/dist/chunks/{button-rMTplznF.es.js.map → button-BYK9-Rwz.es.js.map} +1 -1
- package/dist/chunks/{button-DEenpJMD.cjs.js → button-Cj_eyghC.cjs.js} +2 -2
- package/dist/chunks/{button-DEenpJMD.cjs.js.map → button-Cj_eyghC.cjs.js.map} +1 -1
- package/dist/chunks/{calendar-Kd_2ZJIo.cjs.js → calendar-BL54SDy8.cjs.js} +2 -2
- package/dist/chunks/{calendar-Kd_2ZJIo.cjs.js.map → calendar-BL54SDy8.cjs.js.map} +1 -1
- package/dist/chunks/{calendar-B_6JEmid.es.js → calendar-DT6_tMD-.es.js} +7 -7
- package/dist/chunks/{calendar-B_6JEmid.es.js.map → calendar-DT6_tMD-.es.js.map} +1 -1
- package/dist/chunks/{checkbox-CBESN7DZ.cjs.js → checkbox-BDfVoBuz.cjs.js} +2 -2
- package/dist/chunks/{checkbox-CBESN7DZ.cjs.js.map → checkbox-BDfVoBuz.cjs.js.map} +1 -1
- package/dist/chunks/{checkbox-BAfhgr2Q.es.js → checkbox-CJKCPfWz.es.js} +5 -5
- package/dist/chunks/{checkbox-BAfhgr2Q.es.js.map → checkbox-CJKCPfWz.es.js.map} +1 -1
- package/dist/chunks/{collapsible-motion-BAHapRD_.es.js → collapsible-motion-Dc7ZucfX.es.js} +3 -3
- package/dist/chunks/{collapsible-motion-BAHapRD_.es.js.map → collapsible-motion-Dc7ZucfX.es.js.map} +1 -1
- package/dist/chunks/{collapsible-motion-D0FWLqB-.cjs.js → collapsible-motion-Dya8mTU-.cjs.js} +2 -2
- package/dist/chunks/{collapsible-motion-D0FWLqB-.cjs.js.map → collapsible-motion-Dya8mTU-.cjs.js.map} +1 -1
- package/dist/chunks/combobox-DEmq10im.cjs.js +2 -0
- package/dist/chunks/{combobox-CJEs8K1H.cjs.js.map → combobox-DEmq10im.cjs.js.map} +1 -1
- package/dist/chunks/{combobox-Dcaw-Scl.es.js → combobox-W96Q_8E9.es.js} +68 -69
- package/dist/chunks/{combobox-Dcaw-Scl.es.js.map → combobox-W96Q_8E9.es.js.map} +1 -1
- package/dist/chunks/data-table-C0o2YmP-.es.js +4176 -0
- package/dist/chunks/data-table-C0o2YmP-.es.js.map +1 -0
- package/dist/chunks/data-table-QsvOmVpq.cjs.js +2 -0
- package/dist/chunks/data-table-QsvOmVpq.cjs.js.map +1 -0
- package/dist/chunks/{date-input-CbJeRnmd.cjs.js → date-input-eUqjf2SB.cjs.js} +2 -2
- package/dist/chunks/{date-input-CbJeRnmd.cjs.js.map → date-input-eUqjf2SB.cjs.js.map} +1 -1
- package/dist/chunks/{date-input-Edn9vWV1.es.js → date-input-rDtJKsDi.es.js} +4 -4
- package/dist/chunks/{date-input-Edn9vWV1.es.js.map → date-input-rDtJKsDi.es.js.map} +1 -1
- package/dist/chunks/{date-picker-Bedy6752.cjs.js → date-picker-C8QkSpxY.cjs.js} +2 -2
- package/dist/chunks/{date-picker-Bedy6752.cjs.js.map → date-picker-C8QkSpxY.cjs.js.map} +1 -1
- package/dist/chunks/{date-picker-DvI-NGBn.es.js → date-picker-CdMuNpv1.es.js} +11 -11
- package/dist/chunks/{date-picker-DvI-NGBn.es.js.map → date-picker-CdMuNpv1.es.js.map} +1 -1
- package/dist/chunks/{date-range-picker-BoYoffUD.es.js → date-range-picker-CkgPLacd.es.js} +11 -11
- package/dist/chunks/{date-range-picker-BoYoffUD.es.js.map → date-range-picker-CkgPLacd.es.js.map} +1 -1
- package/dist/chunks/{date-range-picker-odYIm4fD.cjs.js → date-range-picker-VBn7qOOc.cjs.js} +2 -2
- package/dist/chunks/{date-range-picker-odYIm4fD.cjs.js.map → date-range-picker-VBn7qOOc.cjs.js.map} +1 -1
- package/dist/chunks/{date-range-picker.field-DTWGHjdx.cjs.js → date-range-picker.field-CmPn5erM.cjs.js} +2 -2
- package/dist/chunks/{date-range-picker.field-DTWGHjdx.cjs.js.map → date-range-picker.field-CmPn5erM.cjs.js.map} +1 -1
- package/dist/chunks/{date-range-picker.field-CzsXm49P.es.js → date-range-picker.field-DvXce6WS.es.js} +3 -3
- package/dist/chunks/{date-range-picker.field-CzsXm49P.es.js.map → date-range-picker.field-DvXce6WS.es.js.map} +1 -1
- package/dist/chunks/{dialog-CMGeFzws.cjs.js → dialog-BoNKL-1x.cjs.js} +2 -2
- package/dist/chunks/{dialog-CMGeFzws.cjs.js.map → dialog-BoNKL-1x.cjs.js.map} +1 -1
- package/dist/chunks/{dialog-DuiXnZGx.es.js → dialog-CRw9DGjr.es.js} +2 -2
- package/dist/chunks/{dialog-DuiXnZGx.es.js.map → dialog-CRw9DGjr.es.js.map} +1 -1
- package/dist/chunks/{dialog.close-trigger-BNvTsWOn.es.js → dialog.close-trigger-CoQbSso6.es.js} +7 -7
- package/dist/chunks/{dialog.close-trigger-BNvTsWOn.es.js.map → dialog.close-trigger-CoQbSso6.es.js.map} +1 -1
- package/dist/chunks/{dialog.close-trigger-Crx_OdhW.cjs.js → dialog.close-trigger-Dod_8RNP.cjs.js} +2 -2
- package/dist/chunks/{dialog.close-trigger-Crx_OdhW.cjs.js.map → dialog.close-trigger-Dod_8RNP.cjs.js.map} +1 -1
- package/dist/chunks/{draggable-list-BB8IGQJ6.es.js → draggable-list-BpEm-5VK.es.js} +332 -318
- package/dist/chunks/draggable-list-BpEm-5VK.es.js.map +1 -0
- package/dist/chunks/{draggable-list-DR2KKaO_.cjs.js → draggable-list-CQ3bJuDZ.cjs.js} +3 -3
- package/dist/chunks/draggable-list-CQ3bJuDZ.cjs.js.map +1 -0
- package/dist/chunks/{drawer-DUVlTd1F.cjs.js → drawer-Cm0Oi80c.cjs.js} +2 -2
- package/dist/chunks/{drawer-DUVlTd1F.cjs.js.map → drawer-Cm0Oi80c.cjs.js.map} +1 -1
- package/dist/chunks/{drawer-hKr6SpSe.es.js → drawer-CqM2ImTR.es.js} +8 -8
- package/dist/chunks/{drawer-hKr6SpSe.es.js.map → drawer-CqM2ImTR.es.js.map} +1 -1
- package/dist/chunks/{extract-style-props-Cw0ebuoO.es.js → extract-style-props-2276ZL5_.es.js} +2 -2
- package/dist/chunks/{extract-style-props-Cw0ebuoO.es.js.map → extract-style-props-2276ZL5_.es.js.map} +1 -1
- package/dist/chunks/{extract-style-props-CBaCGha4.cjs.js → extract-style-props-CVeaQf1Q.cjs.js} +2 -2
- package/dist/chunks/{extract-style-props-CBaCGha4.cjs.js.map → extract-style-props-CVeaQf1Q.cjs.js.map} +1 -1
- package/dist/chunks/{form-field-Dn5VxoQ2.cjs.js → form-field-COgsGNq8.cjs.js} +2 -2
- package/dist/chunks/{form-field-Dn5VxoQ2.cjs.js.map → form-field-COgsGNq8.cjs.js.map} +1 -1
- package/dist/chunks/{form-field-DBi9CFok.es.js → form-field-LjiGmS5D.es.js} +3 -3
- package/dist/chunks/{form-field-DBi9CFok.es.js.map → form-field-LjiGmS5D.es.js.map} +1 -1
- package/dist/chunks/{getScrollParent-BsNSsJla.es.js → getScrollParent-g7luwBTz.es.js} +2 -2
- package/dist/chunks/{getScrollParent-BsNSsJla.es.js.map → getScrollParent-g7luwBTz.es.js.map} +1 -1
- package/dist/chunks/{heading-Ck9HCM5P.es.js → heading-BfaL2s7d.es.js} +2 -2
- package/dist/chunks/{heading-Ck9HCM5P.es.js.map → heading-BfaL2s7d.es.js.map} +1 -1
- package/dist/chunks/{icon-button-Bvr0zLGt.es.js → icon-button-CKpO4Zvy.es.js} +2 -2
- package/dist/chunks/{icon-button-Bvr0zLGt.es.js.map → icon-button-CKpO4Zvy.es.js.map} +1 -1
- package/dist/chunks/{icon-button-DJZJwO7E.cjs.js → icon-button-Dpm72ZM3.cjs.js} +2 -2
- package/dist/chunks/{icon-button-DJZJwO7E.cjs.js.map → icon-button-Dpm72ZM3.cjs.js.map} +1 -1
- package/dist/chunks/{icon-toggle-button-CUmglgfA.cjs.js → icon-toggle-button-H8bRL_oR.cjs.js} +2 -2
- package/dist/chunks/{icon-toggle-button-CUmglgfA.cjs.js.map → icon-toggle-button-H8bRL_oR.cjs.js.map} +1 -1
- package/dist/chunks/{icon-toggle-button-BlY5NEmP.es.js → icon-toggle-button-kGtDXkhR.es.js} +2 -2
- package/dist/chunks/{icon-toggle-button-BlY5NEmP.es.js.map → icon-toggle-button-kGtDXkhR.es.js.map} +1 -1
- package/dist/chunks/{index-CFfbr5i_.cjs.js → index-D6Ew5ZKz.cjs.js} +2 -2
- package/dist/chunks/index-D6Ew5ZKz.cjs.js.map +1 -0
- package/dist/chunks/{index-BGkAxVw_.es.js → index-pVzMA0Um.es.js} +9 -8
- package/dist/chunks/index-pVzMA0Um.es.js.map +1 -0
- package/dist/chunks/{link-CU-7XY0h.es.js → link-CPnL46cY.es.js} +3 -3
- package/dist/chunks/{link-CU-7XY0h.es.js.map → link-CPnL46cY.es.js.map} +1 -1
- package/dist/chunks/{localized-field-Cfr2yWfg.cjs.js → localized-field-CJWQo0v3.cjs.js} +2 -2
- package/dist/chunks/{localized-field-Cfr2yWfg.cjs.js.map → localized-field-CJWQo0v3.cjs.js.map} +1 -1
- package/dist/chunks/{localized-field-CmbkpZ4q.es.js → localized-field-DMdo6UAF.es.js} +11 -11
- package/dist/chunks/{localized-field-CmbkpZ4q.es.js.map → localized-field-DMdo6UAF.es.js.map} +1 -1
- package/dist/chunks/{menu-DG4V0LSQ.es.js → menu-B2ieY7_x.es.js} +6 -6
- package/dist/chunks/{menu-DG4V0LSQ.es.js.map → menu-B2ieY7_x.es.js.map} +1 -1
- package/dist/chunks/{menu-KGSl9Em7.cjs.js → menu-Dbas4peS.cjs.js} +2 -2
- package/dist/chunks/{menu-KGSl9Em7.cjs.js.map → menu-Dbas4peS.cjs.js.map} +1 -1
- package/dist/chunks/{money-input-Dci2k5rg.es.js → money-input-9zGv--NB.es.js} +5 -5
- package/dist/chunks/{money-input-Dci2k5rg.es.js.map → money-input-9zGv--NB.es.js.map} +1 -1
- package/dist/chunks/{money-input-CGMeW-uD.cjs.js → money-input-CCi55rzS.cjs.js} +2 -2
- package/dist/chunks/{money-input-CGMeW-uD.cjs.js.map → money-input-CCi55rzS.cjs.js.map} +1 -1
- package/dist/chunks/{multiline-text-input-IMPfRfkg.cjs.js → multiline-text-input-DfRYgHd0.cjs.js} +2 -2
- package/dist/chunks/{multiline-text-input-IMPfRfkg.cjs.js.map → multiline-text-input-DfRYgHd0.cjs.js.map} +1 -1
- package/dist/chunks/{multiline-text-input-DvnSJca6.es.js → multiline-text-input-DkNjJitJ.es.js} +3 -3
- package/dist/chunks/{multiline-text-input-DvnSJca6.es.js.map → multiline-text-input-DkNjJitJ.es.js.map} +1 -1
- package/dist/chunks/{nimbus-provider-DyYGXHWz.cjs.js → nimbus-provider-D-eC1r_o.cjs.js} +2 -2
- package/dist/chunks/{nimbus-provider-DyYGXHWz.cjs.js.map → nimbus-provider-D-eC1r_o.cjs.js.map} +1 -1
- package/dist/chunks/{nimbus-provider-CymDVsXZ.es.js → nimbus-provider-Jk7GPBIO.es.js} +9 -9
- package/dist/chunks/{nimbus-provider-CymDVsXZ.es.js.map → nimbus-provider-Jk7GPBIO.es.js.map} +1 -1
- package/dist/chunks/{number-input-CoVt943T.es.js → number-input-BNhAEH40.es.js} +4 -4
- package/dist/chunks/{number-input-CoVt943T.es.js.map → number-input-BNhAEH40.es.js.map} +1 -1
- package/dist/chunks/{number-input-D5uge6-t.cjs.js → number-input-BoKK83TD.cjs.js} +2 -2
- package/dist/chunks/{number-input-D5uge6-t.cjs.js.map → number-input-BoKK83TD.cjs.js.map} +1 -1
- package/dist/chunks/{openLink-D7--QlSJ.es.js → openLink-BNz58j4a.es.js} +7 -7
- package/dist/chunks/{openLink-D7--QlSJ.es.js.map → openLink-BNz58j4a.es.js.map} +1 -1
- package/dist/chunks/{pagination-C4_2Ov7h.es.js → pagination-Bu8aiNt7.es.js} +4 -4
- package/dist/chunks/{pagination-C4_2Ov7h.es.js.map → pagination-Bu8aiNt7.es.js.map} +1 -1
- package/dist/chunks/{pagination-Dbf6i8je.cjs.js → pagination-C4k5hXOQ.cjs.js} +2 -2
- package/dist/chunks/{pagination-Dbf6i8je.cjs.js.map → pagination-C4k5hXOQ.cjs.js.map} +1 -1
- package/dist/chunks/{password-input-D-WKBfJ_.es.js → password-input-BdB9kh4U.es.js} +3 -3
- package/dist/chunks/{password-input-D-WKBfJ_.es.js.map → password-input-BdB9kh4U.es.js.map} +1 -1
- package/dist/chunks/{password-input-DApa74CT.cjs.js → password-input-D_ODC7ip.cjs.js} +2 -2
- package/dist/chunks/{password-input-DApa74CT.cjs.js.map → password-input-D_ODC7ip.cjs.js.map} +1 -1
- package/dist/chunks/{popover-B5j28gJx.es.js → popover-CaE5pDl9.es.js} +2 -2
- package/dist/chunks/{popover-B5j28gJx.es.js.map → popover-CaE5pDl9.es.js.map} +1 -1
- package/dist/chunks/{popover-D0TkE271.cjs.js → popover-DY7ASSCU.cjs.js} +2 -2
- package/dist/chunks/{popover-D0TkE271.cjs.js.map → popover-DY7ASSCU.cjs.js.map} +1 -1
- package/dist/chunks/{progress-bar-DrK5bppD.es.js → progress-bar-CQnGy5PM.es.js} +2 -2
- package/dist/chunks/{progress-bar-DrK5bppD.es.js.map → progress-bar-CQnGy5PM.es.js.map} +1 -1
- package/dist/chunks/{progress-bar-CJqyWOZe.cjs.js → progress-bar-CWyotAqI.cjs.js} +2 -2
- package/dist/chunks/{progress-bar-CJqyWOZe.cjs.js.map → progress-bar-CWyotAqI.cjs.js.map} +1 -1
- package/dist/chunks/{radio-input-BL1YItkC.es.js → radio-input-D4YXlpKz.es.js} +4 -4
- package/dist/chunks/{radio-input-BL1YItkC.es.js.map → radio-input-D4YXlpKz.es.js.map} +1 -1
- package/dist/chunks/{radio-input-1myCCuNN.cjs.js → radio-input-DJ6k3jMD.cjs.js} +2 -2
- package/dist/chunks/{radio-input-1myCCuNN.cjs.js.map → radio-input-DJ6k3jMD.cjs.js.map} +1 -1
- package/dist/chunks/{range-calendar-M5itlXS-.cjs.js → range-calendar-Cp2cmyqz.cjs.js} +2 -2
- package/dist/chunks/{range-calendar-M5itlXS-.cjs.js.map → range-calendar-Cp2cmyqz.cjs.js.map} +1 -1
- package/dist/chunks/{range-calendar-C_2BhVos.es.js → range-calendar-DvTiSgL_.es.js} +7 -7
- package/dist/chunks/{range-calendar-C_2BhVos.es.js.map → range-calendar-DvTiSgL_.es.js.map} +1 -1
- package/dist/chunks/{rich-text-input-BH9R2Ndd.es.js → rich-text-input-BCzPUqty.es.js} +9 -9
- package/dist/chunks/{rich-text-input-BH9R2Ndd.es.js.map → rich-text-input-BCzPUqty.es.js.map} +1 -1
- package/dist/chunks/{rich-text-input-rd0Z_BZN.cjs.js → rich-text-input-DvVo_Eg2.cjs.js} +2 -2
- package/dist/chunks/{rich-text-input-rd0Z_BZN.cjs.js.map → rich-text-input-DvVo_Eg2.cjs.js.map} +1 -1
- package/dist/chunks/{scoped-search-input-DNmFeyN7.cjs.js → scoped-search-input-BT8q8wWG.cjs.js} +2 -2
- package/dist/chunks/{scoped-search-input-DNmFeyN7.cjs.js.map → scoped-search-input-BT8q8wWG.cjs.js.map} +1 -1
- package/dist/chunks/{scoped-search-input-DZYDPxMi.es.js → scoped-search-input-DRTNuQbE.es.js} +5 -5
- package/dist/chunks/{scoped-search-input-DZYDPxMi.es.js.map → scoped-search-input-DRTNuQbE.es.js.map} +1 -1
- package/dist/chunks/{scrollIntoView-DniANfOx.es.js → scrollIntoView-CRn_Y0bq.es.js} +4 -4
- package/dist/chunks/{scrollIntoView-DniANfOx.es.js.map → scrollIntoView-CRn_Y0bq.es.js.map} +1 -1
- package/dist/chunks/{search-input-CbKf6uv-.es.js → search-input-9M9ZUejR.es.js} +6 -6
- package/dist/chunks/{search-input-CbKf6uv-.es.js.map → search-input-9M9ZUejR.es.js.map} +1 -1
- package/dist/chunks/{search-input-Cuqj5Ozc.cjs.js → search-input-Bd0ztwi6.cjs.js} +2 -2
- package/dist/chunks/{search-input-Cuqj5Ozc.cjs.js.map → search-input-Bd0ztwi6.cjs.js.map} +1 -1
- package/dist/chunks/select-5S6KoqpX.cjs.js +2 -0
- package/dist/chunks/{select-CWaI47Kc.cjs.js.map → select-5S6KoqpX.cjs.js.map} +1 -1
- package/dist/chunks/{select-C2lIA5hg.es.js → select-CU9scStC.es.js} +66 -67
- package/dist/chunks/{select-C2lIA5hg.es.js.map → select-CU9scStC.es.js.map} +1 -1
- package/dist/chunks/{separator-DVnpuMAc.es.js → separator-BwUlkA4z.es.js} +4 -4
- package/dist/chunks/{separator-DVnpuMAc.es.js.map → separator-BwUlkA4z.es.js.map} +1 -1
- package/dist/chunks/{separator-D75V0Oga.cjs.js → separator-DUW3AXC1.cjs.js} +2 -2
- package/dist/chunks/{separator-D75V0Oga.cjs.js.map → separator-DUW3AXC1.cjs.js.map} +1 -1
- package/dist/chunks/{split-button-C1PFrcU6.es.js → split-button-BF2i1oac.es.js} +4 -4
- package/dist/chunks/{split-button-C1PFrcU6.es.js.map → split-button-BF2i1oac.es.js.map} +1 -1
- package/dist/chunks/{split-button-DhxZShYM.cjs.js → split-button-D1SBEue5.cjs.js} +2 -2
- package/dist/chunks/{split-button-DhxZShYM.cjs.js.map → split-button-D1SBEue5.cjs.js.map} +1 -1
- package/dist/chunks/{switch-2AsRNDVU.cjs.js → switch-Bj0TETJy.cjs.js} +2 -2
- package/dist/chunks/{switch-2AsRNDVU.cjs.js.map → switch-Bj0TETJy.cjs.js.map} +1 -1
- package/dist/chunks/{switch-DVQRB0wu.es.js → switch-DIyA-F5Y.es.js} +4 -4
- package/dist/chunks/{switch-DVQRB0wu.es.js.map → switch-DIyA-F5Y.es.js.map} +1 -1
- package/dist/chunks/{tabs-SeVATsGV.es.js → tabs-DkXwV7Rn.es.js} +35 -35
- package/dist/chunks/{tabs-SeVATsGV.es.js.map → tabs-DkXwV7Rn.es.js.map} +1 -1
- package/dist/chunks/tabs-DnLTEynV.cjs.js +2 -0
- package/dist/chunks/{tabs-BlcjUZnC.cjs.js.map → tabs-DnLTEynV.cjs.js.map} +1 -1
- package/dist/chunks/{tag-group-DrCKPNqX.es.js → tag-group-Ap0yJZi5.es.js} +12 -12
- package/dist/chunks/{tag-group-DrCKPNqX.es.js.map → tag-group-Ap0yJZi5.es.js.map} +1 -1
- package/dist/chunks/tag-group-Bsc70Ngj.cjs.js +2 -0
- package/dist/chunks/{tag-group-DexGJ8Hf.cjs.js.map → tag-group-Bsc70Ngj.cjs.js.map} +1 -1
- package/dist/chunks/{text-input-Bm7-FMPR.cjs.js → text-input-BQDIyzj5.cjs.js} +2 -2
- package/dist/chunks/{text-input-Bm7-FMPR.cjs.js.map → text-input-BQDIyzj5.cjs.js.map} +1 -1
- package/dist/chunks/{text-input-CSkQFwGX.es.js → text-input-De_9rKQ7.es.js} +3 -3
- package/dist/chunks/{text-input-CSkQFwGX.es.js.map → text-input-De_9rKQ7.es.js.map} +1 -1
- package/dist/chunks/{time-input-ClOP5fJr.es.js → time-input-BsU8mjpn.es.js} +4 -4
- package/dist/chunks/{time-input-ClOP5fJr.es.js.map → time-input-BsU8mjpn.es.js.map} +1 -1
- package/dist/chunks/{time-input-BHyImNO3.cjs.js → time-input-Dp2k90B5.cjs.js} +2 -2
- package/dist/chunks/{time-input-BHyImNO3.cjs.js.map → time-input-Dp2k90B5.cjs.js.map} +1 -1
- package/dist/chunks/{toggle-button-Rczis1rR.es.js → toggle-button-CmSEInGZ.es.js} +4 -4
- package/dist/chunks/{toggle-button-Rczis1rR.es.js.map → toggle-button-CmSEInGZ.es.js.map} +1 -1
- package/dist/chunks/{toggle-button-enJHTjsJ.cjs.js → toggle-button-bW_T3P8c.cjs.js} +2 -2
- package/dist/chunks/{toggle-button-enJHTjsJ.cjs.js.map → toggle-button-bW_T3P8c.cjs.js.map} +1 -1
- package/dist/chunks/{toggle-button-group-TrFHgAeL.es.js → toggle-button-group-CjWoTw03.es.js} +2 -2
- package/dist/chunks/{toggle-button-group-TrFHgAeL.es.js.map → toggle-button-group-CjWoTw03.es.js.map} +1 -1
- package/dist/chunks/{toolbar-CNqSGtQi.cjs.js → toolbar-BVtlNDgf.cjs.js} +2 -2
- package/dist/chunks/{toolbar-CNqSGtQi.cjs.js.map → toolbar-BVtlNDgf.cjs.js.map} +1 -1
- package/dist/chunks/{toolbar-CsuzuQNn.es.js → toolbar-ckQGv75h.es.js} +3 -3
- package/dist/chunks/{toolbar-CsuzuQNn.es.js.map → toolbar-ckQGv75h.es.js.map} +1 -1
- package/dist/chunks/{useButton-DEV993k7.es.js → useButton-C6AOJI9V.es.js} +2 -2
- package/dist/chunks/{useButton-DEV993k7.es.js.map → useButton-C6AOJI9V.es.js.map} +1 -1
- package/dist/chunks/{useDateFormatter-YLMdKUmg.es.js → useDateFormatter-eE8d1TkO.es.js} +2 -2
- package/dist/chunks/{useDateFormatter-YLMdKUmg.es.js.map → useDateFormatter-eE8d1TkO.es.js.map} +1 -1
- package/dist/chunks/useGridListItem-BETI-KGO.cjs.js +2 -0
- package/dist/chunks/useGridListItem-BETI-KGO.cjs.js.map +1 -0
- package/dist/chunks/{useHighlightSelectionDescription-DH3XBG7f.es.js → useGridListItem-WBYPB9KF.es.js} +406 -163
- package/dist/chunks/useGridListItem-WBYPB9KF.es.js.map +1 -0
- package/dist/chunks/useListState-BFNT8oUW.es.js +139 -0
- package/dist/chunks/useListState-BFNT8oUW.es.js.map +1 -0
- package/dist/chunks/useListState-QQtJHpsQ.cjs.js +2 -0
- package/dist/chunks/useListState-QQtJHpsQ.cjs.js.map +1 -0
- package/dist/chunks/{usePress-D9qOoxbA.es.js → usePress-HeLch-fy.es.js} +2 -2
- package/dist/chunks/{usePress-D9qOoxbA.es.js.map → usePress-HeLch-fy.es.js.map} +1 -1
- package/dist/chunks/{useSingleSelectListState-BawVWofI.cjs.js → useSingleSelectListState-CsD7W9nK.cjs.js} +2 -2
- package/dist/chunks/{useSingleSelectListState-BawVWofI.cjs.js.map → useSingleSelectListState-CsD7W9nK.cjs.js.map} +1 -1
- package/dist/chunks/{useSingleSelectListState-Bjn8R8w0.es.js → useSingleSelectListState-DcU-tU_H.es.js} +2 -2
- package/dist/chunks/{useSingleSelectListState-Bjn8R8w0.es.js.map → useSingleSelectListState-DcU-tU_H.es.js.map} +1 -1
- package/dist/chunks/{useToggle-Cc5uCpc9.es.js → useToggle-XQtoJnll.es.js} +2 -2
- package/dist/chunks/{useToggle-Cc5uCpc9.es.js.map → useToggle-XQtoJnll.es.js.map} +1 -1
- package/dist/components/accordion.cjs +1 -1
- package/dist/components/accordion.es.js +1 -1
- package/dist/components/alert.cjs +1 -1
- package/dist/components/alert.es.js +1 -1
- package/dist/components/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/checkbox.cjs +1 -1
- package/dist/components/checkbox.es.js +1 -1
- package/dist/components/collapsible-motion.cjs +1 -1
- package/dist/components/collapsible-motion.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 +1 -1
- package/dist/components/data-table/components/data-table.layout-settings-panel.d.ts +4 -0
- package/dist/components/data-table/components/data-table.manager.d.ts +9 -0
- package/dist/components/data-table/components/data-table.visible-columns-panel.d.ts +7 -0
- package/dist/components/data-table/constants.d.ts +4 -0
- package/dist/components/data-table/data-table.d.ts +24 -1
- package/dist/components/data-table/data-table.i18n.d.ts +120 -0
- package/dist/components/data-table/data-table.slots.d.ts +2 -2
- package/dist/components/data-table/data-table.types.d.ts +20 -7
- package/dist/components/data-table/index.d.ts +1 -0
- package/dist/components/data-table/test-data.d.ts +4 -1
- package/dist/components/data-table.cjs +1 -1
- package/dist/components/data-table.es.js +10 -8
- 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-field.cjs +1 -1
- package/dist/components/date-range-picker-field.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/draggable-list.cjs +1 -1
- package/dist/components/draggable-list.es.js +1 -1
- package/dist/components/drawer.cjs +1 -1
- package/dist/components/drawer.es.js +1 -1
- package/dist/components/fields.cjs +1 -1
- package/dist/components/fields.es.js +1 -1
- package/dist/components/form-field.cjs +1 -1
- package/dist/components/form-field.es.js +1 -1
- package/dist/components/heading.es.js +1 -1
- package/dist/components/icon-button.cjs +1 -1
- package/dist/components/icon-button.es.js +1 -1
- package/dist/components/icon-toggle-button.cjs +1 -1
- package/dist/components/icon-toggle-button.es.js +1 -1
- package/dist/components/link.es.js +1 -1
- package/dist/components/localized-field.cjs +1 -1
- package/dist/components/localized-field.es.js +1 -1
- package/dist/components/money-input.cjs +1 -1
- package/dist/components/money-input.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/pagination.cjs +1 -1
- package/dist/components/pagination.es.js +1 -1
- package/dist/components/password-input.cjs +1 -1
- package/dist/components/password-input.es.js +1 -1
- package/dist/components/patterns.cjs +1 -1
- package/dist/components/patterns.es.js +1 -1
- package/dist/components/popover.cjs +1 -1
- package/dist/components/popover.es.js +1 -1
- package/dist/components/progress-bar.cjs +1 -1
- package/dist/components/progress-bar.es.js +1 -1
- package/dist/components/radio-input.cjs +1 -1
- package/dist/components/radio-input.es.js +1 -1
- package/dist/components/range-calendar.cjs +1 -1
- package/dist/components/range-calendar.es.js +1 -1
- package/dist/components/rich-text-input.cjs +1 -1
- package/dist/components/rich-text-input.es.js +1 -1
- package/dist/components/scoped-search-input.cjs +1 -1
- package/dist/components/scoped-search-input.es.js +1 -1
- package/dist/components/search-input.cjs +1 -1
- package/dist/components/search-input.es.js +1 -1
- package/dist/components/select.cjs +1 -1
- package/dist/components/select.es.js +1 -1
- package/dist/components/separator.cjs +1 -1
- package/dist/components/separator.es.js +1 -1
- package/dist/components/split-button.cjs +1 -1
- package/dist/components/split-button.es.js +1 -1
- package/dist/components/switch.cjs +1 -1
- package/dist/components/switch.es.js +1 -1
- package/dist/components/tabs.cjs +1 -1
- package/dist/components/tabs.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/time-input.cjs +1 -1
- package/dist/components/time-input.es.js +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/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +136 -134
- package/dist/index.es.js.map +1 -1
- package/package.json +5 -5
- package/dist/chunks/DragAndDrop-35iVlv_E.cjs.js +0 -2
- package/dist/chunks/DragAndDrop-35iVlv_E.cjs.js.map +0 -1
- package/dist/chunks/DragAndDrop-Cu_xjzZg.es.js +0 -76
- package/dist/chunks/DragAndDrop-Cu_xjzZg.es.js.map +0 -1
- package/dist/chunks/Header-BE5dOA7y.es.js +0 -59
- package/dist/chunks/Header-BE5dOA7y.es.js.map +0 -1
- package/dist/chunks/Header-Ba1_guwA.cjs.js +0 -2
- package/dist/chunks/Header-Ba1_guwA.cjs.js.map +0 -1
- package/dist/chunks/ListBox-DkXFmzHf.cjs.js +0 -2
- package/dist/chunks/ListBox-DkXFmzHf.cjs.js.map +0 -1
- package/dist/chunks/ListBox-DxgCeXuN.es.js +0 -493
- package/dist/chunks/ListBox-DxgCeXuN.es.js.map +0 -1
- package/dist/chunks/ListKeyboardDelegate-BEarLHjT.cjs.js +0 -2
- package/dist/chunks/ListKeyboardDelegate-BEarLHjT.cjs.js.map +0 -1
- package/dist/chunks/ListKeyboardDelegate-ekIDdehS.es.js +0 -159
- package/dist/chunks/ListKeyboardDelegate-ekIDdehS.es.js.map +0 -1
- package/dist/chunks/combobox-CJEs8K1H.cjs.js +0 -2
- package/dist/chunks/data-table-DdnSEpEq.cjs.js +0 -2
- package/dist/chunks/data-table-DdnSEpEq.cjs.js.map +0 -1
- package/dist/chunks/data-table-zaE0wk1G.es.js +0 -3638
- package/dist/chunks/data-table-zaE0wk1G.es.js.map +0 -1
- package/dist/chunks/draggable-list-BB8IGQJ6.es.js.map +0 -1
- package/dist/chunks/draggable-list-DR2KKaO_.cjs.js.map +0 -1
- package/dist/chunks/index-BGkAxVw_.es.js.map +0 -1
- package/dist/chunks/index-CFfbr5i_.cjs.js.map +0 -1
- package/dist/chunks/inertValue-B7loUihk.es.js +0 -9
- package/dist/chunks/inertValue-B7loUihk.es.js.map +0 -1
- package/dist/chunks/inertValue-BWmZ1afe.cjs.js +0 -2
- package/dist/chunks/inertValue-BWmZ1afe.cjs.js.map +0 -1
- package/dist/chunks/select-CWaI47Kc.cjs.js +0 -2
- package/dist/chunks/tabs-BlcjUZnC.cjs.js +0 -2
- package/dist/chunks/tag-group-DexGJ8Hf.cjs.js +0 -2
- package/dist/chunks/useGridListItem-DSRAVcC0.es.js +0 -251
- package/dist/chunks/useGridListItem-DSRAVcC0.es.js.map +0 -1
- package/dist/chunks/useGridListItem-Dt8Kui_9.cjs.js +0 -2
- package/dist/chunks/useGridListItem-Dt8Kui_9.cjs.js.map +0 -1
- package/dist/chunks/useGridSelectionCheckbox-CB9AkcJ-.cjs.js +0 -2
- package/dist/chunks/useGridSelectionCheckbox-CB9AkcJ-.cjs.js.map +0 -1
- package/dist/chunks/useGridSelectionCheckbox-qNlOk_Zu.es.js +0 -23
- package/dist/chunks/useGridSelectionCheckbox-qNlOk_Zu.es.js.map +0 -1
- package/dist/chunks/useHighlightSelectionDescription-C37fwYgQ.cjs.js +0 -2
- package/dist/chunks/useHighlightSelectionDescription-C37fwYgQ.cjs.js.map +0 -1
- package/dist/chunks/useHighlightSelectionDescription-DH3XBG7f.es.js.map +0 -1
- package/dist/chunks/useListState-HM8Jsi0C.cjs.js +0 -2
- package/dist/chunks/useListState-HM8Jsi0C.cjs.js.map +0 -1
- package/dist/chunks/useListState-QNqJ2RZ-.es.js +0 -134
- package/dist/chunks/useListState-QNqJ2RZ-.es.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ListBox-DxgCeXuN.es.js","sources":["../../../../node_modules/.pnpm/@react-aria+listbox@3.15.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/listbox/dist/utils.mjs","../../../../node_modules/.pnpm/@react-aria+listbox@3.15.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/listbox/dist/useListBox.mjs","../../../../node_modules/.pnpm/@react-aria+listbox@3.15.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/listbox/dist/useOption.mjs","../../../../node_modules/.pnpm/@react-aria+listbox@3.15.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/listbox/dist/useListBoxSection.mjs","../../../../node_modules/.pnpm/react-aria-components@1.13.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/dist/ListBox.mjs"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ const $b1f0cad8af73213b$export$3585ede4d035bf14 = new WeakMap();\nfunction $b1f0cad8af73213b$var$normalizeKey(key) {\n if (typeof key === 'string') return key.replace(/\\s*/g, '');\n return '' + key;\n}\nfunction $b1f0cad8af73213b$export$9145995848b05025(state, itemKey) {\n let data = $b1f0cad8af73213b$export$3585ede4d035bf14.get(state);\n if (!data) throw new Error('Unknown list');\n return `${data.id}-option-${$b1f0cad8af73213b$var$normalizeKey(itemKey)}`;\n}\n\n\nexport {$b1f0cad8af73213b$export$3585ede4d035bf14 as listData, $b1f0cad8af73213b$export$9145995848b05025 as getItemId};\n//# sourceMappingURL=utils.module.js.map\n","import {listData as $b1f0cad8af73213b$export$3585ede4d035bf14} from \"./utils.mjs\";\nimport {filterDOMProps as $by1yQ$filterDOMProps, useId as $by1yQ$useId, mergeProps as $by1yQ$mergeProps} from \"@react-aria/utils\";\nimport {useFocusWithin as $by1yQ$useFocusWithin} from \"@react-aria/interactions\";\nimport {useLabel as $by1yQ$useLabel} from \"@react-aria/label\";\nimport {useSelectableList as $by1yQ$useSelectableList} from \"@react-aria/selection\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\nfunction $c132121280ec012d$export$50eacbbf140a3141(props, state, ref) {\n let domProps = (0, $by1yQ$filterDOMProps)(props, {\n labelable: true\n });\n // Use props instead of state here. We don't want this to change due to long press.\n let selectionBehavior = props.selectionBehavior || 'toggle';\n let linkBehavior = props.linkBehavior || (selectionBehavior === 'replace' ? 'action' : 'override');\n if (selectionBehavior === 'toggle' && linkBehavior === 'action') // linkBehavior=\"action\" does not work with selectionBehavior=\"toggle\" because there is no way\n // to initiate selection (checkboxes are not allowed inside a listbox). Link items will not be\n // selectable in this configuration.\n linkBehavior = 'override';\n let { listProps: listProps } = (0, $by1yQ$useSelectableList)({\n ...props,\n ref: ref,\n selectionManager: state.selectionManager,\n collection: state.collection,\n disabledKeys: state.disabledKeys,\n linkBehavior: linkBehavior\n });\n let { focusWithinProps: focusWithinProps } = (0, $by1yQ$useFocusWithin)({\n onFocusWithin: props.onFocus,\n onBlurWithin: props.onBlur,\n onFocusWithinChange: props.onFocusChange\n });\n // Share list id and some props with child options.\n let id = (0, $by1yQ$useId)(props.id);\n (0, $b1f0cad8af73213b$export$3585ede4d035bf14).set(state, {\n id: id,\n shouldUseVirtualFocus: props.shouldUseVirtualFocus,\n shouldSelectOnPressUp: props.shouldSelectOnPressUp,\n shouldFocusOnHover: props.shouldFocusOnHover,\n isVirtualized: props.isVirtualized,\n onAction: props.onAction,\n linkBehavior: linkBehavior,\n // @ts-ignore\n UNSTABLE_itemBehavior: props['UNSTABLE_itemBehavior']\n });\n let { labelProps: labelProps, fieldProps: fieldProps } = (0, $by1yQ$useLabel)({\n ...props,\n id: id,\n // listbox is not an HTML input element so it\n // shouldn't be labeled by a <label> element.\n labelElementType: 'span'\n });\n return {\n labelProps: labelProps,\n listBoxProps: (0, $by1yQ$mergeProps)(domProps, focusWithinProps, state.selectionManager.selectionMode === 'multiple' ? {\n 'aria-multiselectable': 'true'\n } : {}, {\n role: 'listbox',\n ...(0, $by1yQ$mergeProps)(fieldProps, listProps)\n })\n };\n}\n\n\nexport {$c132121280ec012d$export$50eacbbf140a3141 as useListBox};\n//# sourceMappingURL=useListBox.module.js.map\n","import {getItemId as $b1f0cad8af73213b$export$9145995848b05025, listData as $b1f0cad8af73213b$export$3585ede4d035bf14} from \"./utils.mjs\";\nimport {useSlotId as $fcwmx$useSlotId, isMac as $fcwmx$isMac, isWebKit as $fcwmx$isWebKit, chain as $fcwmx$chain, filterDOMProps as $fcwmx$filterDOMProps, useLinkProps as $fcwmx$useLinkProps, mergeProps as $fcwmx$mergeProps} from \"@react-aria/utils\";\nimport {getItemCount as $fcwmx$getItemCount} from \"@react-stately/collections\";\nimport {useHover as $fcwmx$useHover, isFocusVisible as $fcwmx$isFocusVisible} from \"@react-aria/interactions\";\nimport {useSelectableItem as $fcwmx$useSelectableItem} from \"@react-aria/selection\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\nfunction $293f70390ea03370$export$497855f14858aa34(props, state, ref) {\n var _item_props, _item_props1;\n let { key: key } = props;\n let data = (0, $b1f0cad8af73213b$export$3585ede4d035bf14).get(state);\n var _props_isDisabled;\n let isDisabled = (_props_isDisabled = props.isDisabled) !== null && _props_isDisabled !== void 0 ? _props_isDisabled : state.selectionManager.isDisabled(key);\n var _props_isSelected;\n let isSelected = (_props_isSelected = props.isSelected) !== null && _props_isSelected !== void 0 ? _props_isSelected : state.selectionManager.isSelected(key);\n var _props_shouldSelectOnPressUp;\n let shouldSelectOnPressUp = (_props_shouldSelectOnPressUp = props.shouldSelectOnPressUp) !== null && _props_shouldSelectOnPressUp !== void 0 ? _props_shouldSelectOnPressUp : data === null || data === void 0 ? void 0 : data.shouldSelectOnPressUp;\n var _props_shouldFocusOnHover;\n let shouldFocusOnHover = (_props_shouldFocusOnHover = props.shouldFocusOnHover) !== null && _props_shouldFocusOnHover !== void 0 ? _props_shouldFocusOnHover : data === null || data === void 0 ? void 0 : data.shouldFocusOnHover;\n var _props_shouldUseVirtualFocus;\n let shouldUseVirtualFocus = (_props_shouldUseVirtualFocus = props.shouldUseVirtualFocus) !== null && _props_shouldUseVirtualFocus !== void 0 ? _props_shouldUseVirtualFocus : data === null || data === void 0 ? void 0 : data.shouldUseVirtualFocus;\n var _props_isVirtualized;\n let isVirtualized = (_props_isVirtualized = props.isVirtualized) !== null && _props_isVirtualized !== void 0 ? _props_isVirtualized : data === null || data === void 0 ? void 0 : data.isVirtualized;\n let labelId = (0, $fcwmx$useSlotId)();\n let descriptionId = (0, $fcwmx$useSlotId)();\n let optionProps = {\n role: 'option',\n 'aria-disabled': isDisabled || undefined,\n 'aria-selected': state.selectionManager.selectionMode !== 'none' ? isSelected : undefined\n };\n // Safari with VoiceOver on macOS misreads options with aria-labelledby or aria-label as simply \"text\".\n // We should not map slots to the label and description on Safari and instead just have VoiceOver read the textContent.\n // https://bugs.webkit.org/show_bug.cgi?id=209279\n if (!((0, $fcwmx$isMac)() && (0, $fcwmx$isWebKit)())) {\n optionProps['aria-label'] = props['aria-label'];\n optionProps['aria-labelledby'] = labelId;\n optionProps['aria-describedby'] = descriptionId;\n }\n let item = state.collection.getItem(key);\n if (isVirtualized) {\n let index = Number(item === null || item === void 0 ? void 0 : item.index);\n optionProps['aria-posinset'] = Number.isNaN(index) ? undefined : index + 1;\n optionProps['aria-setsize'] = (0, $fcwmx$getItemCount)(state.collection);\n }\n let onAction = (data === null || data === void 0 ? void 0 : data.onAction) ? ()=>{\n var _data_onAction;\n return data === null || data === void 0 ? void 0 : (_data_onAction = data.onAction) === null || _data_onAction === void 0 ? void 0 : _data_onAction.call(data, key);\n } : undefined;\n let id = (0, $b1f0cad8af73213b$export$9145995848b05025)(state, key);\n let { itemProps: itemProps, isPressed: isPressed, isFocused: isFocused, hasAction: hasAction, allowsSelection: allowsSelection } = (0, $fcwmx$useSelectableItem)({\n selectionManager: state.selectionManager,\n key: key,\n ref: ref,\n shouldSelectOnPressUp: shouldSelectOnPressUp,\n allowsDifferentPressOrigin: shouldSelectOnPressUp && shouldFocusOnHover,\n isVirtualized: isVirtualized,\n shouldUseVirtualFocus: shouldUseVirtualFocus,\n isDisabled: isDisabled,\n onAction: onAction || (item === null || item === void 0 ? void 0 : (_item_props = item.props) === null || _item_props === void 0 ? void 0 : _item_props.onAction) ? (0, $fcwmx$chain)(item === null || item === void 0 ? void 0 : (_item_props1 = item.props) === null || _item_props1 === void 0 ? void 0 : _item_props1.onAction, onAction) : undefined,\n linkBehavior: data === null || data === void 0 ? void 0 : data.linkBehavior,\n // @ts-ignore\n UNSTABLE_itemBehavior: data === null || data === void 0 ? void 0 : data['UNSTABLE_itemBehavior'],\n id: id\n });\n let { hoverProps: hoverProps } = (0, $fcwmx$useHover)({\n isDisabled: isDisabled || !shouldFocusOnHover,\n onHoverStart () {\n if (!(0, $fcwmx$isFocusVisible)()) {\n state.selectionManager.setFocused(true);\n state.selectionManager.setFocusedKey(key);\n }\n }\n });\n let domProps = (0, $fcwmx$filterDOMProps)(item === null || item === void 0 ? void 0 : item.props);\n delete domProps.id;\n let linkProps = (0, $fcwmx$useLinkProps)(item === null || item === void 0 ? void 0 : item.props);\n return {\n optionProps: {\n ...optionProps,\n ...(0, $fcwmx$mergeProps)(domProps, itemProps, hoverProps, linkProps),\n id: id\n },\n labelProps: {\n id: labelId\n },\n descriptionProps: {\n id: descriptionId\n },\n isFocused: isFocused,\n isFocusVisible: isFocused && state.selectionManager.isFocused && (0, $fcwmx$isFocusVisible)(),\n isSelected: isSelected,\n isDisabled: isDisabled,\n isPressed: isPressed,\n allowsSelection: allowsSelection,\n hasAction: hasAction\n };\n}\n\n\nexport {$293f70390ea03370$export$497855f14858aa34 as useOption};\n//# sourceMappingURL=useOption.module.js.map\n","import {useId as $8pE4M$useId} from \"@react-aria/utils\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $af383d3bef1cfdc9$export$c3f9f39876e4bc7(props) {\n let { heading: heading, 'aria-label': ariaLabel } = props;\n let headingId = (0, $8pE4M$useId)();\n return {\n itemProps: {\n role: 'presentation'\n },\n headingProps: heading ? {\n // Techincally, listbox cannot contain headings according to ARIA.\n // We hide the heading from assistive technology, using role=\"presentation\",\n // and only use it as a visual label for the nested group.\n id: headingId,\n role: 'presentation'\n } : {},\n groupProps: {\n role: 'group',\n 'aria-label': ariaLabel,\n 'aria-labelledby': heading ? headingId : undefined\n }\n };\n}\n\n\nexport {$af383d3bef1cfdc9$export$c3f9f39876e4bc7 as useListBoxSection};\n//# sourceMappingURL=useListBoxSection.module.js.map\n","import {CollectionRendererContext as $7135fc7d473fd974$export$4feb769f8ddf26c5, SectionContext as $7135fc7d473fd974$export$d40e14dec8b060a8} from \"./Collection.mjs\";\nimport {DEFAULT_SLOT as $64fa3d84918910a7$export$c62b8e45d58ddad9, Provider as $64fa3d84918910a7$export$2881499e37b75b9a, useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3, useSlot as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8} from \"./utils.mjs\";\nimport {DragAndDropContext as $612b8eb6cb90e02d$export$d188a835a7bc5783, DropIndicatorContext as $612b8eb6cb90e02d$export$f55761759794cf55, useDndPersistedKeys as $612b8eb6cb90e02d$export$d1e8e3fbb7461f6, useRenderDropIndicator as $612b8eb6cb90e02d$export$971707d8a129a1f7} from \"./DragAndDrop.mjs\";\nimport {HeaderContext as $72a5793c14baf454$export$e0e4026c12a8bdbb} from \"./Header.mjs\";\nimport {SelectableCollectionContext as $4e85f108e88277b8$export$b0d3ecf7112093a7} from \"./RSPContexts.mjs\";\nimport {SelectionIndicatorContext as $1d5b8b8664671ef2$export$c9549807523555e0} from \"./SelectionIndicator.mjs\";\nimport {SeparatorContext as $431f98aba6844401$export$6615d83f6de245ce} from \"./Separator.mjs\";\nimport {SharedElementTransition as $c8a5a149f625efcf$export$758399f318e6385a} from \"./SharedElementTransition.mjs\";\nimport {TextContext as $514c0188e459b4c0$export$9afb8bc826b033ea} from \"./Text.mjs\";\nimport {useLocale as $e8Bmu$useLocale, useCollator as $e8Bmu$useCollator, ListKeyboardDelegate as $e8Bmu$ListKeyboardDelegate, useListBox as $e8Bmu$useListBox, useFocusRing as $e8Bmu$useFocusRing, FocusScope as $e8Bmu$FocusScope, mergeProps as $e8Bmu$mergeProps, useListBoxSection as $e8Bmu$useListBoxSection, useOption as $e8Bmu$useOption, useHover as $e8Bmu$useHover} from \"react-aria\";\nimport {CollectionBuilder as $e8Bmu$CollectionBuilder, Collection as $e8Bmu$Collection, createBranchComponent as $e8Bmu$createBranchComponent, SectionNode as $e8Bmu$SectionNode, createLeafComponent as $e8Bmu$createLeafComponent, ItemNode as $e8Bmu$ItemNode, LoaderNode as $e8Bmu$LoaderNode} from \"@react-aria/collections\";\nimport {useListState as $e8Bmu$useListState, UNSTABLE_useFilteredListState as $e8Bmu$UNSTABLE_useFilteredListState} from \"react-stately\";\nimport {filterDOMProps as $e8Bmu$filterDOMProps, useObjectRef as $e8Bmu$useObjectRef, useLoadMoreSentinel as $e8Bmu$useLoadMoreSentinel, inertValue as $e8Bmu$inertValue} from \"@react-aria/utils\";\nimport $e8Bmu$react, {createContext as $e8Bmu$createContext, forwardRef as $e8Bmu$forwardRef, useContext as $e8Bmu$useContext, useMemo as $e8Bmu$useMemo, useRef as $e8Bmu$useRef, useEffect as $e8Bmu$useEffect} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\n\n\n\n\nconst $eed445e0843c11d0$export$7ff8f37d2d81a48d = /*#__PURE__*/ (0, $e8Bmu$createContext)(null);\nconst $eed445e0843c11d0$export$7c5906fe4f1f2af2 = /*#__PURE__*/ (0, $e8Bmu$createContext)(null);\nconst $eed445e0843c11d0$export$41f133550aa26f48 = /*#__PURE__*/ (0, $e8Bmu$forwardRef)(function ListBox(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $eed445e0843c11d0$export$7ff8f37d2d81a48d);\n let state = (0, $e8Bmu$useContext)($eed445e0843c11d0$export$7c5906fe4f1f2af2);\n // The structure of ListBox is a bit strange because it needs to work inside other components like ComboBox and Select.\n // Those components render two copies of their children so that the collection can be built even when the popover is closed.\n // The first copy sends a collection document via context which we render the collection portal into.\n // The second copy sends a ListState object via context which we use to render the ListBox without rebuilding the state.\n // Otherwise, we have a standalone ListBox, so we need to create a collection and state ourselves.\n if (state) return /*#__PURE__*/ (0, $e8Bmu$react).createElement($eed445e0843c11d0$var$ListBoxInner, {\n state: state,\n props: props,\n listBoxRef: ref\n });\n return /*#__PURE__*/ (0, $e8Bmu$react).createElement((0, $e8Bmu$CollectionBuilder), {\n content: /*#__PURE__*/ (0, $e8Bmu$react).createElement((0, $e8Bmu$Collection), props)\n }, (collection)=>/*#__PURE__*/ (0, $e8Bmu$react).createElement($eed445e0843c11d0$var$StandaloneListBox, {\n props: props,\n listBoxRef: ref,\n collection: collection\n }));\n});\nfunction $eed445e0843c11d0$var$StandaloneListBox({ props: props, listBoxRef: listBoxRef, collection: collection }) {\n props = {\n ...props,\n collection: collection,\n children: null,\n items: null\n };\n let { layoutDelegate: layoutDelegate } = (0, $e8Bmu$useContext)((0, $7135fc7d473fd974$export$4feb769f8ddf26c5));\n let state = (0, $e8Bmu$useListState)({\n ...props,\n layoutDelegate: layoutDelegate\n });\n return /*#__PURE__*/ (0, $e8Bmu$react).createElement($eed445e0843c11d0$var$ListBoxInner, {\n state: state,\n props: props,\n listBoxRef: listBoxRef\n });\n}\nfunction $eed445e0843c11d0$var$ListBoxInner({ state: inputState, props: props, listBoxRef: listBoxRef }) {\n [props, listBoxRef] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, listBoxRef, (0, $4e85f108e88277b8$export$b0d3ecf7112093a7));\n let { dragAndDropHooks: dragAndDropHooks, layout: layout = 'stack', orientation: orientation = 'vertical', filter: filter } = props;\n let state = (0, $e8Bmu$UNSTABLE_useFilteredListState)(inputState, filter);\n let { collection: collection, selectionManager: selectionManager } = state;\n let isListDraggable = !!(dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : dragAndDropHooks.useDraggableCollectionState);\n let isListDroppable = !!(dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : dragAndDropHooks.useDroppableCollectionState);\n let { direction: direction } = (0, $e8Bmu$useLocale)();\n let { disabledBehavior: disabledBehavior, disabledKeys: disabledKeys } = selectionManager;\n let collator = (0, $e8Bmu$useCollator)({\n usage: 'search',\n sensitivity: 'base'\n });\n let { isVirtualized: isVirtualized, layoutDelegate: layoutDelegate, dropTargetDelegate: ctxDropTargetDelegate, CollectionRoot: CollectionRoot } = (0, $e8Bmu$useContext)((0, $7135fc7d473fd974$export$4feb769f8ddf26c5));\n let keyboardDelegate = (0, $e8Bmu$useMemo)(()=>props.keyboardDelegate || new (0, $e8Bmu$ListKeyboardDelegate)({\n collection: collection,\n collator: collator,\n ref: listBoxRef,\n disabledKeys: disabledKeys,\n disabledBehavior: disabledBehavior,\n layout: layout,\n orientation: orientation,\n direction: direction,\n layoutDelegate: layoutDelegate\n }), [\n collection,\n collator,\n listBoxRef,\n disabledBehavior,\n disabledKeys,\n orientation,\n direction,\n props.keyboardDelegate,\n layout,\n layoutDelegate\n ]);\n let { listBoxProps: listBoxProps } = (0, $e8Bmu$useListBox)({\n ...props,\n shouldSelectOnPressUp: isListDraggable || props.shouldSelectOnPressUp,\n keyboardDelegate: keyboardDelegate,\n isVirtualized: isVirtualized\n }, state, listBoxRef);\n let dragHooksProvided = (0, $e8Bmu$useRef)(isListDraggable);\n let dropHooksProvided = (0, $e8Bmu$useRef)(isListDroppable);\n (0, $e8Bmu$useEffect)(()=>{\n if (process.env.NODE_ENV === 'production') return;\n if (dragHooksProvided.current !== isListDraggable) console.warn('Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.');\n if (dropHooksProvided.current !== isListDroppable) console.warn('Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.');\n }, [\n isListDraggable,\n isListDroppable\n ]);\n let dragState = undefined;\n let dropState = undefined;\n let droppableCollection = undefined;\n let isRootDropTarget = false;\n let dragPreview = null;\n let preview = (0, $e8Bmu$useRef)(null);\n if (isListDraggable && dragAndDropHooks) {\n dragState = dragAndDropHooks.useDraggableCollectionState({\n collection: collection,\n selectionManager: selectionManager,\n preview: dragAndDropHooks.renderDragPreview ? preview : undefined\n });\n dragAndDropHooks.useDraggableCollection({}, dragState, listBoxRef);\n let DragPreview = dragAndDropHooks.DragPreview;\n dragPreview = dragAndDropHooks.renderDragPreview ? /*#__PURE__*/ (0, $e8Bmu$react).createElement(DragPreview, {\n ref: preview\n }, dragAndDropHooks.renderDragPreview) : null;\n }\n if (isListDroppable && dragAndDropHooks) {\n dropState = dragAndDropHooks.useDroppableCollectionState({\n collection: collection,\n selectionManager: selectionManager\n });\n let dropTargetDelegate = dragAndDropHooks.dropTargetDelegate || ctxDropTargetDelegate || new dragAndDropHooks.ListDropTargetDelegate(collection, listBoxRef, {\n orientation: orientation,\n layout: layout,\n direction: direction\n });\n droppableCollection = dragAndDropHooks.useDroppableCollection({\n keyboardDelegate: keyboardDelegate,\n dropTargetDelegate: dropTargetDelegate\n }, dropState, listBoxRef);\n isRootDropTarget = dropState.isDropTarget({\n type: 'root'\n });\n }\n let { focusProps: focusProps, isFocused: isFocused, isFocusVisible: isFocusVisible } = (0, $e8Bmu$useFocusRing)();\n let isEmpty = state.collection.size === 0;\n let renderValues = {\n isDropTarget: isRootDropTarget,\n isEmpty: isEmpty,\n isFocused: isFocused,\n isFocusVisible: isFocusVisible,\n layout: props.layout || 'stack',\n state: state\n };\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n className: props.className,\n style: props.style,\n defaultClassName: 'react-aria-ListBox',\n values: renderValues\n });\n let emptyState = null;\n if (isEmpty && props.renderEmptyState) emptyState = /*#__PURE__*/ (0, $e8Bmu$react).createElement(\"div\", {\n // eslint-disable-next-line\n role: \"option\",\n style: {\n display: 'contents'\n }\n }, props.renderEmptyState(renderValues));\n let DOMProps = (0, $e8Bmu$filterDOMProps)(props, {\n global: true\n });\n return /*#__PURE__*/ (0, $e8Bmu$react).createElement((0, $e8Bmu$FocusScope), null, /*#__PURE__*/ (0, $e8Bmu$react).createElement(\"div\", {\n ...(0, $e8Bmu$mergeProps)(DOMProps, renderProps, listBoxProps, focusProps, droppableCollection === null || droppableCollection === void 0 ? void 0 : droppableCollection.collectionProps),\n ref: listBoxRef,\n slot: props.slot || undefined,\n onScroll: props.onScroll,\n \"data-drop-target\": isRootDropTarget || undefined,\n \"data-empty\": isEmpty || undefined,\n \"data-focused\": isFocused || undefined,\n \"data-focus-visible\": isFocusVisible || undefined,\n \"data-layout\": props.layout || 'stack',\n \"data-orientation\": props.orientation || 'vertical'\n }, /*#__PURE__*/ (0, $e8Bmu$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n $eed445e0843c11d0$export$7ff8f37d2d81a48d,\n props\n ],\n [\n $eed445e0843c11d0$export$7c5906fe4f1f2af2,\n state\n ],\n [\n (0, $612b8eb6cb90e02d$export$d188a835a7bc5783),\n {\n dragAndDropHooks: dragAndDropHooks,\n dragState: dragState,\n dropState: dropState\n }\n ],\n [\n (0, $431f98aba6844401$export$6615d83f6de245ce),\n {\n elementType: 'div'\n }\n ],\n [\n (0, $612b8eb6cb90e02d$export$f55761759794cf55),\n {\n render: $eed445e0843c11d0$var$ListBoxDropIndicatorWrapper\n }\n ],\n [\n (0, $7135fc7d473fd974$export$d40e14dec8b060a8),\n {\n name: 'ListBoxSection',\n render: $eed445e0843c11d0$var$ListBoxSectionInner\n }\n ]\n ]\n }, /*#__PURE__*/ (0, $e8Bmu$react).createElement((0, $c8a5a149f625efcf$export$758399f318e6385a), null, /*#__PURE__*/ (0, $e8Bmu$react).createElement(CollectionRoot, {\n collection: collection,\n scrollRef: listBoxRef,\n persistedKeys: (0, $612b8eb6cb90e02d$export$d1e8e3fbb7461f6)(selectionManager, dragAndDropHooks, dropState),\n renderDropIndicator: (0, $612b8eb6cb90e02d$export$971707d8a129a1f7)(dragAndDropHooks, dropState)\n }))), emptyState, dragPreview));\n}\nfunction $eed445e0843c11d0$var$ListBoxSectionInner(props, ref, section, className = 'react-aria-ListBoxSection') {\n let state = (0, $e8Bmu$useContext)($eed445e0843c11d0$export$7c5906fe4f1f2af2);\n let { dragAndDropHooks: dragAndDropHooks, dropState: dropState } = (0, $e8Bmu$useContext)((0, $612b8eb6cb90e02d$export$d188a835a7bc5783));\n let { CollectionBranch: CollectionBranch } = (0, $e8Bmu$useContext)((0, $7135fc7d473fd974$export$4feb769f8ddf26c5));\n let [headingRef, heading] = (0, $64fa3d84918910a7$export$9d4c57ee4c6ffdd8)();\n var _props_arialabel;\n let { headingProps: headingProps, groupProps: groupProps } = (0, $e8Bmu$useListBoxSection)({\n heading: heading,\n 'aria-label': (_props_arialabel = props['aria-label']) !== null && _props_arialabel !== void 0 ? _props_arialabel : undefined\n });\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n defaultClassName: className,\n className: props.className,\n style: props.style,\n values: {}\n });\n let DOMProps = (0, $e8Bmu$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n return /*#__PURE__*/ (0, $e8Bmu$react).createElement(\"section\", {\n ...(0, $e8Bmu$mergeProps)(DOMProps, renderProps, groupProps),\n ref: ref\n }, /*#__PURE__*/ (0, $e8Bmu$react).createElement((0, $72a5793c14baf454$export$e0e4026c12a8bdbb).Provider, {\n value: {\n ...headingProps,\n ref: headingRef\n }\n }, /*#__PURE__*/ (0, $e8Bmu$react).createElement(CollectionBranch, {\n collection: state.collection,\n parent: section,\n renderDropIndicator: (0, $612b8eb6cb90e02d$export$971707d8a129a1f7)(dragAndDropHooks, dropState)\n })));\n}\nconst $eed445e0843c11d0$export$dca12b0bb56e4fc = /*#__PURE__*/ (0, $e8Bmu$createBranchComponent)((0, $e8Bmu$SectionNode), $eed445e0843c11d0$var$ListBoxSectionInner);\nconst $eed445e0843c11d0$export$a11e76429ed99b4 = /*#__PURE__*/ (0, $e8Bmu$createLeafComponent)((0, $e8Bmu$ItemNode), function ListBoxItem(props, forwardedRef, item) {\n let ref = (0, $e8Bmu$useObjectRef)(forwardedRef);\n let state = (0, $e8Bmu$useContext)($eed445e0843c11d0$export$7c5906fe4f1f2af2);\n let { dragAndDropHooks: dragAndDropHooks, dragState: dragState, dropState: dropState } = (0, $e8Bmu$useContext)((0, $612b8eb6cb90e02d$export$d188a835a7bc5783));\n let { optionProps: optionProps, labelProps: labelProps, descriptionProps: descriptionProps, ...states } = (0, $e8Bmu$useOption)({\n key: item.key,\n 'aria-label': props === null || props === void 0 ? void 0 : props['aria-label']\n }, state, ref);\n let { hoverProps: hoverProps, isHovered: isHovered } = (0, $e8Bmu$useHover)({\n isDisabled: !states.allowsSelection && !states.hasAction,\n onHoverStart: item.props.onHoverStart,\n onHoverChange: item.props.onHoverChange,\n onHoverEnd: item.props.onHoverEnd\n });\n let draggableItem = null;\n if (dragState && dragAndDropHooks) draggableItem = dragAndDropHooks.useDraggableItem({\n key: item.key\n }, dragState);\n let droppableItem = null;\n if (dropState && dragAndDropHooks) droppableItem = dragAndDropHooks.useDroppableItem({\n target: {\n type: 'item',\n key: item.key,\n dropPosition: 'on'\n }\n }, dropState, ref);\n let isDragging = dragState && dragState.isDragging(item.key);\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n id: undefined,\n children: props.children,\n defaultClassName: 'react-aria-ListBoxItem',\n values: {\n ...states,\n isHovered: isHovered,\n selectionMode: state.selectionManager.selectionMode,\n selectionBehavior: state.selectionManager.selectionBehavior,\n allowsDragging: !!dragState,\n isDragging: isDragging,\n isDropTarget: droppableItem === null || droppableItem === void 0 ? void 0 : droppableItem.isDropTarget\n }\n });\n (0, $e8Bmu$useEffect)(()=>{\n if (!item.textValue && process.env.NODE_ENV !== 'production') console.warn('A `textValue` prop is required for <ListBoxItem> elements with non-plain text children in order to support accessibility features such as type to select.');\n }, [\n item.textValue\n ]);\n let ElementType = props.href ? 'a' : 'div';\n let DOMProps = (0, $e8Bmu$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n delete DOMProps.onClick;\n return /*#__PURE__*/ (0, $e8Bmu$react).createElement(ElementType, {\n ...(0, $e8Bmu$mergeProps)(DOMProps, renderProps, optionProps, hoverProps, draggableItem === null || draggableItem === void 0 ? void 0 : draggableItem.dragProps, droppableItem === null || droppableItem === void 0 ? void 0 : droppableItem.dropProps),\n ref: ref,\n \"data-allows-dragging\": !!dragState || undefined,\n \"data-selected\": states.isSelected || undefined,\n \"data-disabled\": states.isDisabled || undefined,\n \"data-hovered\": isHovered || undefined,\n \"data-focused\": states.isFocused || undefined,\n \"data-focus-visible\": states.isFocusVisible || undefined,\n \"data-pressed\": states.isPressed || undefined,\n \"data-dragging\": isDragging || undefined,\n \"data-drop-target\": (droppableItem === null || droppableItem === void 0 ? void 0 : droppableItem.isDropTarget) || undefined,\n \"data-selection-mode\": state.selectionManager.selectionMode === 'none' ? undefined : state.selectionManager.selectionMode\n }, /*#__PURE__*/ (0, $e8Bmu$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n (0, $514c0188e459b4c0$export$9afb8bc826b033ea),\n {\n slots: {\n [(0, $64fa3d84918910a7$export$c62b8e45d58ddad9)]: labelProps,\n label: labelProps,\n description: descriptionProps\n }\n }\n ],\n [\n (0, $1d5b8b8664671ef2$export$c9549807523555e0),\n {\n isSelected: states.isSelected\n }\n ]\n ]\n }, renderProps.children));\n});\nfunction $eed445e0843c11d0$var$ListBoxDropIndicatorWrapper(props, ref) {\n ref = (0, $e8Bmu$useObjectRef)(ref);\n let { dragAndDropHooks: dragAndDropHooks, dropState: dropState } = (0, $e8Bmu$useContext)((0, $612b8eb6cb90e02d$export$d188a835a7bc5783));\n let { dropIndicatorProps: dropIndicatorProps, isHidden: isHidden, isDropTarget: isDropTarget } = dragAndDropHooks.useDropIndicator(props, dropState, ref);\n if (isHidden) return null;\n return /*#__PURE__*/ (0, $e8Bmu$react).createElement($eed445e0843c11d0$var$ListBoxDropIndicatorForwardRef, {\n ...props,\n dropIndicatorProps: dropIndicatorProps,\n isDropTarget: isDropTarget,\n ref: ref\n });\n}\nfunction $eed445e0843c11d0$var$ListBoxDropIndicator(props, ref) {\n let { dropIndicatorProps: dropIndicatorProps, isDropTarget: isDropTarget, ...otherProps } = props;\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...otherProps,\n defaultClassName: 'react-aria-DropIndicator',\n values: {\n isDropTarget: isDropTarget\n }\n });\n return /*#__PURE__*/ (0, $e8Bmu$react).createElement(\"div\", {\n ...dropIndicatorProps,\n ...renderProps,\n // eslint-disable-next-line\n role: \"option\",\n ref: ref,\n \"data-drop-target\": isDropTarget || undefined\n });\n}\nconst $eed445e0843c11d0$var$ListBoxDropIndicatorForwardRef = /*#__PURE__*/ (0, $e8Bmu$forwardRef)($eed445e0843c11d0$var$ListBoxDropIndicator);\nconst $eed445e0843c11d0$export$8e6d031a08cf56a1 = (0, $e8Bmu$createLeafComponent)((0, $e8Bmu$LoaderNode), function ListBoxLoadingIndicator(props, ref, item) {\n let state = (0, $e8Bmu$useContext)($eed445e0843c11d0$export$7c5906fe4f1f2af2);\n let { isLoading: isLoading, onLoadMore: onLoadMore, scrollOffset: scrollOffset, ...otherProps } = props;\n let sentinelRef = (0, $e8Bmu$useRef)(null);\n let memoedLoadMoreProps = (0, $e8Bmu$useMemo)(()=>({\n onLoadMore: onLoadMore,\n collection: state === null || state === void 0 ? void 0 : state.collection,\n sentinelRef: sentinelRef,\n scrollOffset: scrollOffset\n }), [\n onLoadMore,\n scrollOffset,\n state === null || state === void 0 ? void 0 : state.collection\n ]);\n (0, $e8Bmu$useLoadMoreSentinel)(memoedLoadMoreProps, sentinelRef);\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...otherProps,\n id: undefined,\n children: item.rendered,\n defaultClassName: 'react-aria-ListBoxLoadingIndicator',\n values: null\n });\n let optionProps = {\n // For Android talkback\n tabIndex: -1\n };\n return /*#__PURE__*/ (0, $e8Bmu$react).createElement((0, $e8Bmu$react).Fragment, null, /*#__PURE__*/ (0, $e8Bmu$react).createElement(\"div\", {\n style: {\n position: 'relative',\n width: 0,\n height: 0\n },\n inert: (0, $e8Bmu$inertValue)(true)\n }, /*#__PURE__*/ (0, $e8Bmu$react).createElement(\"div\", {\n \"data-testid\": \"loadMoreSentinel\",\n ref: sentinelRef,\n style: {\n position: 'absolute',\n height: 1,\n width: 1\n }\n })), isLoading && renderProps.children && /*#__PURE__*/ (0, $e8Bmu$react).createElement(\"div\", {\n ...(0, $e8Bmu$mergeProps)((0, $e8Bmu$filterDOMProps)(props, {\n global: true\n }), optionProps),\n ...renderProps,\n // aria-selected isn't needed here since this option is not selectable.\n // eslint-disable-next-line jsx-a11y/role-has-required-aria-props\n role: \"option\",\n ref: ref\n }, renderProps.children));\n});\n\n\nexport {$eed445e0843c11d0$export$7ff8f37d2d81a48d as ListBoxContext, $eed445e0843c11d0$export$7c5906fe4f1f2af2 as ListStateContext, $eed445e0843c11d0$export$41f133550aa26f48 as ListBox, $eed445e0843c11d0$export$dca12b0bb56e4fc as ListBoxSection, $eed445e0843c11d0$export$a11e76429ed99b4 as ListBoxItem, $eed445e0843c11d0$export$8e6d031a08cf56a1 as ListBoxLoadMoreItem};\n//# sourceMappingURL=ListBox.module.js.map\n"],"names":["$b1f0cad8af73213b$export$3585ede4d035bf14","$b1f0cad8af73213b$var$normalizeKey","key","$b1f0cad8af73213b$export$9145995848b05025","state","itemKey","data","$c132121280ec012d$export$50eacbbf140a3141","props","ref","domProps","$by1yQ$filterDOMProps","selectionBehavior","linkBehavior","listProps","$by1yQ$useSelectableList","focusWithinProps","$by1yQ$useFocusWithin","id","$by1yQ$useId","labelProps","fieldProps","$by1yQ$useLabel","$by1yQ$mergeProps","$293f70390ea03370$export$497855f14858aa34","_item_props","_item_props1","_props_isDisabled","isDisabled","_props_isSelected","isSelected","_props_shouldSelectOnPressUp","shouldSelectOnPressUp","_props_shouldFocusOnHover","shouldFocusOnHover","_props_shouldUseVirtualFocus","shouldUseVirtualFocus","_props_isVirtualized","isVirtualized","labelId","$fcwmx$useSlotId","descriptionId","optionProps","$fcwmx$isMac","$fcwmx$isWebKit","item","index","$fcwmx$getItemCount","onAction","_data_onAction","itemProps","isPressed","isFocused","hasAction","allowsSelection","$fcwmx$useSelectableItem","$fcwmx$chain","hoverProps","$fcwmx$useHover","$fcwmx$isFocusVisible","$fcwmx$filterDOMProps","linkProps","$fcwmx$useLinkProps","$fcwmx$mergeProps","$af383d3bef1cfdc9$export$c3f9f39876e4bc7","heading","ariaLabel","headingId","$8pE4M$useId","$eed445e0843c11d0$export$7ff8f37d2d81a48d","$e8Bmu$createContext","$eed445e0843c11d0$export$7c5906fe4f1f2af2","$eed445e0843c11d0$export$41f133550aa26f48","$e8Bmu$forwardRef","$64fa3d84918910a7$export$29f1550f4b0d4415","$e8Bmu$useContext","$e8Bmu$react","$eed445e0843c11d0$var$ListBoxInner","$e8Bmu$CollectionBuilder","$e8Bmu$Collection","collection","$eed445e0843c11d0$var$StandaloneListBox","listBoxRef","layoutDelegate","$7135fc7d473fd974$export$4feb769f8ddf26c5","$e8Bmu$useListState","inputState","$4e85f108e88277b8$export$b0d3ecf7112093a7","dragAndDropHooks","layout","orientation","filter","$e8Bmu$UNSTABLE_useFilteredListState","selectionManager","isListDraggable","isListDroppable","direction","$e8Bmu$useLocale","disabledBehavior","disabledKeys","collator","$e8Bmu$useCollator","ctxDropTargetDelegate","CollectionRoot","keyboardDelegate","$e8Bmu$useMemo","$e8Bmu$ListKeyboardDelegate","listBoxProps","$e8Bmu$useListBox","dragHooksProvided","$e8Bmu$useRef","dropHooksProvided","$e8Bmu$useEffect","dragState","dropState","droppableCollection","isRootDropTarget","dragPreview","preview","DragPreview","dropTargetDelegate","focusProps","isFocusVisible","$e8Bmu$useFocusRing","isEmpty","renderValues","renderProps","$64fa3d84918910a7$export$4d86445c2cf5e3","emptyState","DOMProps","$e8Bmu$filterDOMProps","$e8Bmu$FocusScope","$e8Bmu$mergeProps","$64fa3d84918910a7$export$2881499e37b75b9a","$612b8eb6cb90e02d$export$d188a835a7bc5783","$431f98aba6844401$export$6615d83f6de245ce","$612b8eb6cb90e02d$export$f55761759794cf55","$eed445e0843c11d0$var$ListBoxDropIndicatorWrapper","$7135fc7d473fd974$export$d40e14dec8b060a8","$eed445e0843c11d0$var$ListBoxSectionInner","$c8a5a149f625efcf$export$758399f318e6385a","$612b8eb6cb90e02d$export$d1e8e3fbb7461f6","$612b8eb6cb90e02d$export$971707d8a129a1f7","section","className","CollectionBranch","headingRef","$64fa3d84918910a7$export$9d4c57ee4c6ffdd8","_props_arialabel","headingProps","groupProps","$e8Bmu$useListBoxSection","$72a5793c14baf454$export$e0e4026c12a8bdbb","$eed445e0843c11d0$export$dca12b0bb56e4fc","$e8Bmu$createBranchComponent","$e8Bmu$SectionNode","$eed445e0843c11d0$export$a11e76429ed99b4","$e8Bmu$createLeafComponent","$e8Bmu$ItemNode","forwardedRef","$e8Bmu$useObjectRef","descriptionProps","states","$e8Bmu$useOption","isHovered","$e8Bmu$useHover","draggableItem","droppableItem","isDragging","ElementType","$514c0188e459b4c0$export$9afb8bc826b033ea","$64fa3d84918910a7$export$c62b8e45d58ddad9","$1d5b8b8664671ef2$export$c9549807523555e0","dropIndicatorProps","isHidden","isDropTarget","$eed445e0843c11d0$var$ListBoxDropIndicatorForwardRef","$eed445e0843c11d0$var$ListBoxDropIndicator","otherProps"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAUS,MAACA,IAA4C,oBAAI,QAAO;AACjE,SAASC,GAAmCC,GAAK;AAC7C,SAAI,OAAOA,KAAQ,WAAiBA,EAAI,QAAQ,QAAQ,EAAE,IACnD,KAAKA;AAChB;AACA,SAASC,GAA0CC,GAAOC,GAAS;AAC/D,MAAIC,IAAON,EAA0C,IAAII,CAAK;AAC9D,MAAI,CAACE,EAAM,OAAM,IAAI,MAAM,cAAc;AACzC,SAAO,GAAGA,EAAK,EAAE,WAAWL,GAAmCI,CAAO,CAAC;AAC3E;ACEA,SAASE,GAA0CC,GAAOJ,GAAOK,GAAK;AAClE,MAAIC,IAAeC,EAAuBH,GAAO;AAAA,IAC7C,WAAW;AAAA,EACnB,CAAK,GAEGI,IAAoBJ,EAAM,qBAAqB,UAC/CK,IAAeL,EAAM,iBAAiBI,MAAsB,YAAY,WAAW;AACvF,EAAIA,MAAsB,YAAYC,MAAiB,aAGvDA,IAAe;AACf,MAAI,EAAE,WAAWC,EAAS,IAASC,GAA0B;AAAA,IACzD,GAAGP;AAAA,IACH,KAAKC;AAA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cC,EAAY,IAAKvF,EAAiB,iBAAiBhF,GAAO0G,GAAWzG,CAAG;AACxJ,SAAIqK,IAAiB,OACIlG,gBAAAA,EAAc,cAAcoG,IAAsD;AAAA,IACvG,GAAGxK;AAAA,IACH,oBAAoBqK;AAAA,IACpB,cAAcE;AAAA,IACd,KAAKtK;AAAA,EACb,CAAK;AACL;AACA,SAASwK,GAA2CzK,GAAOC,GAAK;AAC5D,MAAI,EAAE,oBAAoBoK,GAAoB,cAAcE,GAAc,GAAGG,EAAU,IAAK1K,GACxFsH,IAAkBC,EAAyC;AAAA,IAC3D,GAAGmD;AAAA,IACH,kBAAkB;AAAA,IAClB,QAAQ;AAAA,MACJ,cAAcH;AAAA,IAC1B;AAAA,EACA,CAAK;AACD,SAAyBnG,gBAAAA,EAAc,cAAc,OAAO;AAAA,IACxD,GAAGiG;AAAA,IACH,GAAG/C;AAAA;AAAA,IAEH,MAAM;AAAA,IACN,KAAKrH;AAAA,IACL,oBAAoBsK,KAAgB;AAAA,EAC5C,CAAK;AACL;AACA,MAAMC,KAAyEvG,gBAAAA,GAAmBwG,EAA0C;","x_google_ignoreList":[0,1,2,3,4]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const a=require("./SelectionManager-CCETIs4l.cjs.js"),s=require("./scrollIntoView-BE5bh59O.cjs.js");class r{getItemRect(t){let e=this.ref.current;if(!e)return null;let i=t!=null?a.$feb5ffebff200149$export$c3d8340acf92597f(this.ref,t):null;if(!i)return null;let l=e.getBoundingClientRect(),n=i.getBoundingClientRect();return{x:n.left-l.left-e.clientLeft+e.scrollLeft,y:n.top-l.top-e.clientTop+e.scrollTop,width:n.width,height:n.height}}getContentSize(){let t=this.ref.current;var e,i;return{width:(e=t?.scrollWidth)!==null&&e!==void 0?e:0,height:(i=t?.scrollHeight)!==null&&i!==void 0?i:0}}getVisibleRect(){let t=this.ref.current;var e,i,l,n;return{x:(e=t?.scrollLeft)!==null&&e!==void 0?e:0,y:(i=t?.scrollTop)!==null&&i!==void 0?i:0,width:(l=t?.clientWidth)!==null&&l!==void 0?l:0,height:(n=t?.clientHeight)!==null&&n!==void 0?n:0}}constructor(t){this.ref=t}}class u{isDisabled(t){var e;return this.disabledBehavior==="all"&&(((e=t.props)===null||e===void 0?void 0:e.isDisabled)||this.disabledKeys.has(t.key))}findNextNonDisabled(t,e){let i=t;for(;i!=null;){let l=this.collection.getItem(i);if(l?.type==="item"&&!this.isDisabled(l))return i;i=e(i)}return null}getNextKey(t){let e=t;return e=this.collection.getKeyAfter(e),this.findNextNonDisabled(e,i=>this.collection.getKeyAfter(i))}getPreviousKey(t){let e=t;return e=this.collection.getKeyBefore(e),this.findNextNonDisabled(e,i=>this.collection.getKeyBefore(i))}findKey(t,e,i){let l=t,n=this.layoutDelegate.getItemRect(l);if(!n||l==null)return null;let o=n;do{if(l=e(l),l==null)break;n=this.layoutDelegate.getItemRect(l)}while(n&&i(o,n)&&l!=null);return l}isSameRow(t,e){return t.y===e.y||t.x!==e.x}isSameColumn(t,e){return t.x===e.x||t.y!==e.y}getKeyBelow(t){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,e=>this.getNextKey(e),this.isSameRow):this.getNextKey(t)}getKeyAbove(t){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,e=>this.getPreviousKey(e),this.isSameRow):this.getPreviousKey(t)}getNextColumn(t,e){return e?this.getPreviousKey(t):this.getNextKey(t)}getKeyRightOf(t){let e=this.direction==="ltr"?"getKeyRightOf":"getKeyLeftOf";return this.layoutDelegate[e]?(t=this.layoutDelegate[e](t),this.findNextNonDisabled(t,i=>this.layoutDelegate[e](i))):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="rtl"):this.findKey(t,i=>this.getNextColumn(i,this.direction==="rtl"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="rtl"):null}getKeyLeftOf(t){let e=this.direction==="ltr"?"getKeyLeftOf":"getKeyRightOf";return this.layoutDelegate[e]?(t=this.layoutDelegate[e](t),this.findNextNonDisabled(t,i=>this.layoutDelegate[e](i))):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="ltr"):this.findKey(t,i=>this.getNextColumn(i,this.direction==="ltr"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="ltr"):null}getFirstKey(){let t=this.collection.getFirstKey();return this.findNextNonDisabled(t,e=>this.collection.getKeyAfter(e))}getLastKey(){let t=this.collection.getLastKey();return this.findNextNonDisabled(t,e=>this.collection.getKeyBefore(e))}getKeyPageAbove(t){let e=this.ref.current,i=this.layoutDelegate.getItemRect(t);if(!i)return null;if(e&&!s.$cc38e7bd3fc7b213$export$2bb74740c4e19def(e))return this.getFirstKey();let l=t;if(this.orientation==="horizontal"){let n=Math.max(0,i.x+i.width-this.layoutDelegate.getVisibleRect().width);for(;i&&i.x>n&&l!=null;)l=this.getKeyAbove(l),i=l==null?null:this.layoutDelegate.getItemRect(l)}else{let n=Math.max(0,i.y+i.height-this.layoutDelegate.getVisibleRect().height);for(;i&&i.y>n&&l!=null;)l=this.getKeyAbove(l),i=l==null?null:this.layoutDelegate.getItemRect(l)}return l??this.getFirstKey()}getKeyPageBelow(t){let e=this.ref.current,i=this.layoutDelegate.getItemRect(t);if(!i)return null;if(e&&!s.$cc38e7bd3fc7b213$export$2bb74740c4e19def(e))return this.getLastKey();let l=t;if(this.orientation==="horizontal"){let n=Math.min(this.layoutDelegate.getContentSize().width,i.y-i.width+this.layoutDelegate.getVisibleRect().width);for(;i&&i.x<n&&l!=null;)l=this.getKeyBelow(l),i=l==null?null:this.layoutDelegate.getItemRect(l)}else{let n=Math.min(this.layoutDelegate.getContentSize().height,i.y-i.height+this.layoutDelegate.getVisibleRect().height);for(;i&&i.y<n&&l!=null;)l=this.getKeyBelow(l),i=l==null?null:this.layoutDelegate.getItemRect(l)}return l??this.getLastKey()}getKeyForSearch(t,e){if(!this.collator)return null;let i=this.collection,l=e||this.getFirstKey();for(;l!=null;){let n=i.getItem(l);if(!n)return null;let o=n.textValue.slice(0,t.length);if(n.textValue&&this.collator.compare(o,t)===0)return l;l=this.getNextKey(l)}return null}constructor(...t){if(t.length===1){let e=t[0];this.collection=e.collection,this.ref=e.ref,this.collator=e.collator,this.disabledKeys=e.disabledKeys||new Set,this.disabledBehavior=e.disabledBehavior||"all",this.orientation=e.orientation||"vertical",this.direction=e.direction,this.layout=e.layout||"stack",this.layoutDelegate=e.layoutDelegate||new r(e.ref)}else this.collection=t[0],this.disabledKeys=t[1],this.ref=t[2],this.collator=t[3],this.layout="stack",this.orientation="vertical",this.disabledBehavior="all",this.layoutDelegate=new r(this.ref);this.layout==="stack"&&this.orientation==="vertical"&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}exports.$2a25aae57d74318e$export$a05409b8bb224a5a=u;exports.$657e4dc4a6e88df0$export$8f5ed9ff9f511381=r;
|
|
2
|
-
//# sourceMappingURL=ListKeyboardDelegate-BEarLHjT.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ListKeyboardDelegate-BEarLHjT.cjs.js","sources":["../../../../node_modules/.pnpm/@react-aria+selection@3.26.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/selection/dist/DOMLayoutDelegate.mjs","../../../../node_modules/.pnpm/@react-aria+selection@3.26.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/selection/dist/ListKeyboardDelegate.mjs"],"sourcesContent":["import {getItemElement as $feb5ffebff200149$export$c3d8340acf92597f} from \"./utils.mjs\";\n\n/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nclass $657e4dc4a6e88df0$export$8f5ed9ff9f511381 {\n getItemRect(key) {\n let container = this.ref.current;\n if (!container) return null;\n let item = key != null ? (0, $feb5ffebff200149$export$c3d8340acf92597f)(this.ref, key) : null;\n if (!item) return null;\n let containerRect = container.getBoundingClientRect();\n let itemRect = item.getBoundingClientRect();\n return {\n x: itemRect.left - containerRect.left - container.clientLeft + container.scrollLeft,\n y: itemRect.top - containerRect.top - container.clientTop + container.scrollTop,\n width: itemRect.width,\n height: itemRect.height\n };\n }\n getContentSize() {\n let container = this.ref.current;\n var _container_scrollWidth, _container_scrollHeight;\n return {\n width: (_container_scrollWidth = container === null || container === void 0 ? void 0 : container.scrollWidth) !== null && _container_scrollWidth !== void 0 ? _container_scrollWidth : 0,\n height: (_container_scrollHeight = container === null || container === void 0 ? void 0 : container.scrollHeight) !== null && _container_scrollHeight !== void 0 ? _container_scrollHeight : 0\n };\n }\n getVisibleRect() {\n let container = this.ref.current;\n var _container_scrollLeft, _container_scrollTop, _container_clientWidth, _container_clientHeight;\n return {\n x: (_container_scrollLeft = container === null || container === void 0 ? void 0 : container.scrollLeft) !== null && _container_scrollLeft !== void 0 ? _container_scrollLeft : 0,\n y: (_container_scrollTop = container === null || container === void 0 ? void 0 : container.scrollTop) !== null && _container_scrollTop !== void 0 ? _container_scrollTop : 0,\n width: (_container_clientWidth = container === null || container === void 0 ? void 0 : container.clientWidth) !== null && _container_clientWidth !== void 0 ? _container_clientWidth : 0,\n height: (_container_clientHeight = container === null || container === void 0 ? void 0 : container.clientHeight) !== null && _container_clientHeight !== void 0 ? _container_clientHeight : 0\n };\n }\n constructor(ref){\n this.ref = ref;\n }\n}\n\n\nexport {$657e4dc4a6e88df0$export$8f5ed9ff9f511381 as DOMLayoutDelegate};\n//# sourceMappingURL=DOMLayoutDelegate.module.js.map\n","import {DOMLayoutDelegate as $657e4dc4a6e88df0$export$8f5ed9ff9f511381} from \"./DOMLayoutDelegate.mjs\";\nimport {isScrollable as $eak97$isScrollable} from \"@react-aria/utils\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nclass $2a25aae57d74318e$export$a05409b8bb224a5a {\n isDisabled(item) {\n var _item_props;\n return this.disabledBehavior === 'all' && (((_item_props = item.props) === null || _item_props === void 0 ? void 0 : _item_props.isDisabled) || this.disabledKeys.has(item.key));\n }\n findNextNonDisabled(key, getNext) {\n let nextKey = key;\n while(nextKey != null){\n let item = this.collection.getItem(nextKey);\n if ((item === null || item === void 0 ? void 0 : item.type) === 'item' && !this.isDisabled(item)) return nextKey;\n nextKey = getNext(nextKey);\n }\n return null;\n }\n getNextKey(key) {\n let nextKey = key;\n nextKey = this.collection.getKeyAfter(nextKey);\n return this.findNextNonDisabled(nextKey, (key)=>this.collection.getKeyAfter(key));\n }\n getPreviousKey(key) {\n let nextKey = key;\n nextKey = this.collection.getKeyBefore(nextKey);\n return this.findNextNonDisabled(nextKey, (key)=>this.collection.getKeyBefore(key));\n }\n findKey(key, nextKey, shouldSkip) {\n let tempKey = key;\n let itemRect = this.layoutDelegate.getItemRect(tempKey);\n if (!itemRect || tempKey == null) return null;\n // Find the item above or below in the same column.\n let prevRect = itemRect;\n do {\n tempKey = nextKey(tempKey);\n if (tempKey == null) break;\n itemRect = this.layoutDelegate.getItemRect(tempKey);\n }while (itemRect && shouldSkip(prevRect, itemRect) && tempKey != null);\n return tempKey;\n }\n isSameRow(prevRect, itemRect) {\n return prevRect.y === itemRect.y || prevRect.x !== itemRect.x;\n }\n isSameColumn(prevRect, itemRect) {\n return prevRect.x === itemRect.x || prevRect.y !== itemRect.y;\n }\n getKeyBelow(key) {\n if (this.layout === 'grid' && this.orientation === 'vertical') return this.findKey(key, (key)=>this.getNextKey(key), this.isSameRow);\n else return this.getNextKey(key);\n }\n getKeyAbove(key) {\n if (this.layout === 'grid' && this.orientation === 'vertical') return this.findKey(key, (key)=>this.getPreviousKey(key), this.isSameRow);\n else return this.getPreviousKey(key);\n }\n getNextColumn(key, right) {\n return right ? this.getPreviousKey(key) : this.getNextKey(key);\n }\n getKeyRightOf(key) {\n // This is a temporary solution for CardView until we refactor useSelectableCollection.\n // https://github.com/orgs/adobe/projects/19/views/32?pane=issue&itemId=77825042\n let layoutDelegateMethod = this.direction === 'ltr' ? 'getKeyRightOf' : 'getKeyLeftOf';\n if (this.layoutDelegate[layoutDelegateMethod]) {\n key = this.layoutDelegate[layoutDelegateMethod](key);\n return this.findNextNonDisabled(key, (key)=>this.layoutDelegate[layoutDelegateMethod](key));\n }\n if (this.layout === 'grid') {\n if (this.orientation === 'vertical') return this.getNextColumn(key, this.direction === 'rtl');\n else return this.findKey(key, (key)=>this.getNextColumn(key, this.direction === 'rtl'), this.isSameColumn);\n } else if (this.orientation === 'horizontal') return this.getNextColumn(key, this.direction === 'rtl');\n return null;\n }\n getKeyLeftOf(key) {\n let layoutDelegateMethod = this.direction === 'ltr' ? 'getKeyLeftOf' : 'getKeyRightOf';\n if (this.layoutDelegate[layoutDelegateMethod]) {\n key = this.layoutDelegate[layoutDelegateMethod](key);\n return this.findNextNonDisabled(key, (key)=>this.layoutDelegate[layoutDelegateMethod](key));\n }\n if (this.layout === 'grid') {\n if (this.orientation === 'vertical') return this.getNextColumn(key, this.direction === 'ltr');\n else return this.findKey(key, (key)=>this.getNextColumn(key, this.direction === 'ltr'), this.isSameColumn);\n } else if (this.orientation === 'horizontal') return this.getNextColumn(key, this.direction === 'ltr');\n return null;\n }\n getFirstKey() {\n let key = this.collection.getFirstKey();\n return this.findNextNonDisabled(key, (key)=>this.collection.getKeyAfter(key));\n }\n getLastKey() {\n let key = this.collection.getLastKey();\n return this.findNextNonDisabled(key, (key)=>this.collection.getKeyBefore(key));\n }\n getKeyPageAbove(key) {\n let menu = this.ref.current;\n let itemRect = this.layoutDelegate.getItemRect(key);\n if (!itemRect) return null;\n if (menu && !(0, $eak97$isScrollable)(menu)) return this.getFirstKey();\n let nextKey = key;\n if (this.orientation === 'horizontal') {\n let pageX = Math.max(0, itemRect.x + itemRect.width - this.layoutDelegate.getVisibleRect().width);\n while(itemRect && itemRect.x > pageX && nextKey != null){\n nextKey = this.getKeyAbove(nextKey);\n itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);\n }\n } else {\n let pageY = Math.max(0, itemRect.y + itemRect.height - this.layoutDelegate.getVisibleRect().height);\n while(itemRect && itemRect.y > pageY && nextKey != null){\n nextKey = this.getKeyAbove(nextKey);\n itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);\n }\n }\n return nextKey !== null && nextKey !== void 0 ? nextKey : this.getFirstKey();\n }\n getKeyPageBelow(key) {\n let menu = this.ref.current;\n let itemRect = this.layoutDelegate.getItemRect(key);\n if (!itemRect) return null;\n if (menu && !(0, $eak97$isScrollable)(menu)) return this.getLastKey();\n let nextKey = key;\n if (this.orientation === 'horizontal') {\n let pageX = Math.min(this.layoutDelegate.getContentSize().width, itemRect.y - itemRect.width + this.layoutDelegate.getVisibleRect().width);\n while(itemRect && itemRect.x < pageX && nextKey != null){\n nextKey = this.getKeyBelow(nextKey);\n itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);\n }\n } else {\n let pageY = Math.min(this.layoutDelegate.getContentSize().height, itemRect.y - itemRect.height + this.layoutDelegate.getVisibleRect().height);\n while(itemRect && itemRect.y < pageY && nextKey != null){\n nextKey = this.getKeyBelow(nextKey);\n itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);\n }\n }\n return nextKey !== null && nextKey !== void 0 ? nextKey : this.getLastKey();\n }\n getKeyForSearch(search, fromKey) {\n if (!this.collator) return null;\n let collection = this.collection;\n let key = fromKey || this.getFirstKey();\n while(key != null){\n let item = collection.getItem(key);\n if (!item) return null;\n let substring = item.textValue.slice(0, search.length);\n if (item.textValue && this.collator.compare(substring, search) === 0) return key;\n key = this.getNextKey(key);\n }\n return null;\n }\n constructor(...args){\n if (args.length === 1) {\n let opts = args[0];\n this.collection = opts.collection;\n this.ref = opts.ref;\n this.collator = opts.collator;\n this.disabledKeys = opts.disabledKeys || new Set();\n this.disabledBehavior = opts.disabledBehavior || 'all';\n this.orientation = opts.orientation || 'vertical';\n this.direction = opts.direction;\n this.layout = opts.layout || 'stack';\n this.layoutDelegate = opts.layoutDelegate || new (0, $657e4dc4a6e88df0$export$8f5ed9ff9f511381)(opts.ref);\n } else {\n this.collection = args[0];\n this.disabledKeys = args[1];\n this.ref = args[2];\n this.collator = args[3];\n this.layout = 'stack';\n this.orientation = 'vertical';\n this.disabledBehavior = 'all';\n this.layoutDelegate = new (0, $657e4dc4a6e88df0$export$8f5ed9ff9f511381)(this.ref);\n }\n // If this is a vertical stack, remove the left/right methods completely\n // so they aren't called by useDroppableCollection.\n if (this.layout === 'stack' && this.orientation === 'vertical') {\n this.getKeyLeftOf = undefined;\n this.getKeyRightOf = undefined;\n }\n }\n}\n\n\nexport {$2a25aae57d74318e$export$a05409b8bb224a5a as ListKeyboardDelegate};\n//# sourceMappingURL=ListKeyboardDelegate.module.js.map\n"],"names":["$657e4dc4a6e88df0$export$8f5ed9ff9f511381","key","container","item","$feb5ffebff200149$export$c3d8340acf92597f","containerRect","itemRect","_container_scrollWidth","_container_scrollHeight","_container_scrollLeft","_container_scrollTop","_container_clientWidth","_container_clientHeight","ref","$2a25aae57d74318e$export$a05409b8bb224a5a","_item_props","getNext","nextKey","shouldSkip","tempKey","prevRect","right","layoutDelegateMethod","menu","$eak97$isScrollable","pageX","pageY","search","fromKey","collection","substring","args","opts"],"mappings":"iHAaA,MAAMA,CAA0C,CAC5C,YAAYC,E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A,EAAK,kBAAoB,MACjD,KAAK,YAAcA,EAAK,aAAe,WACvC,KAAK,UAAYA,EAAK,UACtB,KAAK,OAASA,EAAK,QAAU,QAC7B,KAAK,eAAiBA,EAAK,gBAAkB,IAAQhC,EAA2CgC,EAAK,GAAG,CAC5G,MACI,KAAK,WAAaD,EAAK,CAAC,EACxB,KAAK,aAAeA,EAAK,CAAC,EAC1B,KAAK,IAAMA,EAAK,CAAC,EACjB,KAAK,SAAWA,EAAK,CAAC,EACtB,KAAK,OAAS,QACd,KAAK,YAAc,WACnB,KAAK,iBAAmB,MACxB,KAAK,eAAiB,IAAQ/B,EAA2C,KAAK,GAAG,EAIjF,KAAK,SAAW,SAAW,KAAK,cAAgB,aAChD,KAAK,aAAe,OACpB,KAAK,cAAgB,OAE7B,CACJ","x_google_ignoreList":[0,1]}
|
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
import { $ as a } from "./SelectionManager-Bo1rTzWU.es.js";
|
|
2
|
-
import { $ as r } from "./scrollIntoView-DniANfOx.es.js";
|
|
3
|
-
class s {
|
|
4
|
-
getItemRect(t) {
|
|
5
|
-
let e = this.ref.current;
|
|
6
|
-
if (!e) return null;
|
|
7
|
-
let i = t != null ? a(this.ref, t) : null;
|
|
8
|
-
if (!i) return null;
|
|
9
|
-
let l = e.getBoundingClientRect(), n = i.getBoundingClientRect();
|
|
10
|
-
return {
|
|
11
|
-
x: n.left - l.left - e.clientLeft + e.scrollLeft,
|
|
12
|
-
y: n.top - l.top - e.clientTop + e.scrollTop,
|
|
13
|
-
width: n.width,
|
|
14
|
-
height: n.height
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
getContentSize() {
|
|
18
|
-
let t = this.ref.current;
|
|
19
|
-
var e, i;
|
|
20
|
-
return {
|
|
21
|
-
width: (e = t?.scrollWidth) !== null && e !== void 0 ? e : 0,
|
|
22
|
-
height: (i = t?.scrollHeight) !== null && i !== void 0 ? i : 0
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
getVisibleRect() {
|
|
26
|
-
let t = this.ref.current;
|
|
27
|
-
var e, i, l, n;
|
|
28
|
-
return {
|
|
29
|
-
x: (e = t?.scrollLeft) !== null && e !== void 0 ? e : 0,
|
|
30
|
-
y: (i = t?.scrollTop) !== null && i !== void 0 ? i : 0,
|
|
31
|
-
width: (l = t?.clientWidth) !== null && l !== void 0 ? l : 0,
|
|
32
|
-
height: (n = t?.clientHeight) !== null && n !== void 0 ? n : 0
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
constructor(t) {
|
|
36
|
-
this.ref = t;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
class c {
|
|
40
|
-
isDisabled(t) {
|
|
41
|
-
var e;
|
|
42
|
-
return this.disabledBehavior === "all" && (((e = t.props) === null || e === void 0 ? void 0 : e.isDisabled) || this.disabledKeys.has(t.key));
|
|
43
|
-
}
|
|
44
|
-
findNextNonDisabled(t, e) {
|
|
45
|
-
let i = t;
|
|
46
|
-
for (; i != null; ) {
|
|
47
|
-
let l = this.collection.getItem(i);
|
|
48
|
-
if (l?.type === "item" && !this.isDisabled(l)) return i;
|
|
49
|
-
i = e(i);
|
|
50
|
-
}
|
|
51
|
-
return null;
|
|
52
|
-
}
|
|
53
|
-
getNextKey(t) {
|
|
54
|
-
let e = t;
|
|
55
|
-
return e = this.collection.getKeyAfter(e), this.findNextNonDisabled(e, (i) => this.collection.getKeyAfter(i));
|
|
56
|
-
}
|
|
57
|
-
getPreviousKey(t) {
|
|
58
|
-
let e = t;
|
|
59
|
-
return e = this.collection.getKeyBefore(e), this.findNextNonDisabled(e, (i) => this.collection.getKeyBefore(i));
|
|
60
|
-
}
|
|
61
|
-
findKey(t, e, i) {
|
|
62
|
-
let l = t, n = this.layoutDelegate.getItemRect(l);
|
|
63
|
-
if (!n || l == null) return null;
|
|
64
|
-
let o = n;
|
|
65
|
-
do {
|
|
66
|
-
if (l = e(l), l == null) break;
|
|
67
|
-
n = this.layoutDelegate.getItemRect(l);
|
|
68
|
-
} while (n && i(o, n) && l != null);
|
|
69
|
-
return l;
|
|
70
|
-
}
|
|
71
|
-
isSameRow(t, e) {
|
|
72
|
-
return t.y === e.y || t.x !== e.x;
|
|
73
|
-
}
|
|
74
|
-
isSameColumn(t, e) {
|
|
75
|
-
return t.x === e.x || t.y !== e.y;
|
|
76
|
-
}
|
|
77
|
-
getKeyBelow(t) {
|
|
78
|
-
return this.layout === "grid" && this.orientation === "vertical" ? this.findKey(t, (e) => this.getNextKey(e), this.isSameRow) : this.getNextKey(t);
|
|
79
|
-
}
|
|
80
|
-
getKeyAbove(t) {
|
|
81
|
-
return this.layout === "grid" && this.orientation === "vertical" ? this.findKey(t, (e) => this.getPreviousKey(e), this.isSameRow) : this.getPreviousKey(t);
|
|
82
|
-
}
|
|
83
|
-
getNextColumn(t, e) {
|
|
84
|
-
return e ? this.getPreviousKey(t) : this.getNextKey(t);
|
|
85
|
-
}
|
|
86
|
-
getKeyRightOf(t) {
|
|
87
|
-
let e = this.direction === "ltr" ? "getKeyRightOf" : "getKeyLeftOf";
|
|
88
|
-
return this.layoutDelegate[e] ? (t = this.layoutDelegate[e](t), this.findNextNonDisabled(t, (i) => this.layoutDelegate[e](i))) : this.layout === "grid" ? this.orientation === "vertical" ? this.getNextColumn(t, this.direction === "rtl") : this.findKey(t, (i) => this.getNextColumn(i, this.direction === "rtl"), this.isSameColumn) : this.orientation === "horizontal" ? this.getNextColumn(t, this.direction === "rtl") : null;
|
|
89
|
-
}
|
|
90
|
-
getKeyLeftOf(t) {
|
|
91
|
-
let e = this.direction === "ltr" ? "getKeyLeftOf" : "getKeyRightOf";
|
|
92
|
-
return this.layoutDelegate[e] ? (t = this.layoutDelegate[e](t), this.findNextNonDisabled(t, (i) => this.layoutDelegate[e](i))) : this.layout === "grid" ? this.orientation === "vertical" ? this.getNextColumn(t, this.direction === "ltr") : this.findKey(t, (i) => this.getNextColumn(i, this.direction === "ltr"), this.isSameColumn) : this.orientation === "horizontal" ? this.getNextColumn(t, this.direction === "ltr") : null;
|
|
93
|
-
}
|
|
94
|
-
getFirstKey() {
|
|
95
|
-
let t = this.collection.getFirstKey();
|
|
96
|
-
return this.findNextNonDisabled(t, (e) => this.collection.getKeyAfter(e));
|
|
97
|
-
}
|
|
98
|
-
getLastKey() {
|
|
99
|
-
let t = this.collection.getLastKey();
|
|
100
|
-
return this.findNextNonDisabled(t, (e) => this.collection.getKeyBefore(e));
|
|
101
|
-
}
|
|
102
|
-
getKeyPageAbove(t) {
|
|
103
|
-
let e = this.ref.current, i = this.layoutDelegate.getItemRect(t);
|
|
104
|
-
if (!i) return null;
|
|
105
|
-
if (e && !r(e)) return this.getFirstKey();
|
|
106
|
-
let l = t;
|
|
107
|
-
if (this.orientation === "horizontal") {
|
|
108
|
-
let n = Math.max(0, i.x + i.width - this.layoutDelegate.getVisibleRect().width);
|
|
109
|
-
for (; i && i.x > n && l != null; )
|
|
110
|
-
l = this.getKeyAbove(l), i = l == null ? null : this.layoutDelegate.getItemRect(l);
|
|
111
|
-
} else {
|
|
112
|
-
let n = Math.max(0, i.y + i.height - this.layoutDelegate.getVisibleRect().height);
|
|
113
|
-
for (; i && i.y > n && l != null; )
|
|
114
|
-
l = this.getKeyAbove(l), i = l == null ? null : this.layoutDelegate.getItemRect(l);
|
|
115
|
-
}
|
|
116
|
-
return l ?? this.getFirstKey();
|
|
117
|
-
}
|
|
118
|
-
getKeyPageBelow(t) {
|
|
119
|
-
let e = this.ref.current, i = this.layoutDelegate.getItemRect(t);
|
|
120
|
-
if (!i) return null;
|
|
121
|
-
if (e && !r(e)) return this.getLastKey();
|
|
122
|
-
let l = t;
|
|
123
|
-
if (this.orientation === "horizontal") {
|
|
124
|
-
let n = Math.min(this.layoutDelegate.getContentSize().width, i.y - i.width + this.layoutDelegate.getVisibleRect().width);
|
|
125
|
-
for (; i && i.x < n && l != null; )
|
|
126
|
-
l = this.getKeyBelow(l), i = l == null ? null : this.layoutDelegate.getItemRect(l);
|
|
127
|
-
} else {
|
|
128
|
-
let n = Math.min(this.layoutDelegate.getContentSize().height, i.y - i.height + this.layoutDelegate.getVisibleRect().height);
|
|
129
|
-
for (; i && i.y < n && l != null; )
|
|
130
|
-
l = this.getKeyBelow(l), i = l == null ? null : this.layoutDelegate.getItemRect(l);
|
|
131
|
-
}
|
|
132
|
-
return l ?? this.getLastKey();
|
|
133
|
-
}
|
|
134
|
-
getKeyForSearch(t, e) {
|
|
135
|
-
if (!this.collator) return null;
|
|
136
|
-
let i = this.collection, l = e || this.getFirstKey();
|
|
137
|
-
for (; l != null; ) {
|
|
138
|
-
let n = i.getItem(l);
|
|
139
|
-
if (!n) return null;
|
|
140
|
-
let o = n.textValue.slice(0, t.length);
|
|
141
|
-
if (n.textValue && this.collator.compare(o, t) === 0) return l;
|
|
142
|
-
l = this.getNextKey(l);
|
|
143
|
-
}
|
|
144
|
-
return null;
|
|
145
|
-
}
|
|
146
|
-
constructor(...t) {
|
|
147
|
-
if (t.length === 1) {
|
|
148
|
-
let e = t[0];
|
|
149
|
-
this.collection = e.collection, this.ref = e.ref, this.collator = e.collator, this.disabledKeys = e.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = e.disabledBehavior || "all", this.orientation = e.orientation || "vertical", this.direction = e.direction, this.layout = e.layout || "stack", this.layoutDelegate = e.layoutDelegate || new s(e.ref);
|
|
150
|
-
} else
|
|
151
|
-
this.collection = t[0], this.disabledKeys = t[1], this.ref = t[2], this.collator = t[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new s(this.ref);
|
|
152
|
-
this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
export {
|
|
156
|
-
c as $,
|
|
157
|
-
s as a
|
|
158
|
-
};
|
|
159
|
-
//# sourceMappingURL=ListKeyboardDelegate-ekIDdehS.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ListKeyboardDelegate-ekIDdehS.es.js","sources":["../../../../node_modules/.pnpm/@react-aria+selection@3.26.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/selection/dist/DOMLayoutDelegate.mjs","../../../../node_modules/.pnpm/@react-aria+selection@3.26.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/selection/dist/ListKeyboardDelegate.mjs"],"sourcesContent":["import {getItemElement as $feb5ffebff200149$export$c3d8340acf92597f} from \"./utils.mjs\";\n\n/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nclass $657e4dc4a6e88df0$export$8f5ed9ff9f511381 {\n getItemRect(key) {\n let container = this.ref.current;\n if (!container) return null;\n let item = key != null ? (0, $feb5ffebff200149$export$c3d8340acf92597f)(this.ref, key) : null;\n if (!item) return null;\n let containerRect = container.getBoundingClientRect();\n let itemRect = item.getBoundingClientRect();\n return {\n x: itemRect.left - containerRect.left - container.clientLeft + container.scrollLeft,\n y: itemRect.top - containerRect.top - container.clientTop + container.scrollTop,\n width: itemRect.width,\n height: itemRect.height\n };\n }\n getContentSize() {\n let container = this.ref.current;\n var _container_scrollWidth, _container_scrollHeight;\n return {\n width: (_container_scrollWidth = container === null || container === void 0 ? void 0 : container.scrollWidth) !== null && _container_scrollWidth !== void 0 ? _container_scrollWidth : 0,\n height: (_container_scrollHeight = container === null || container === void 0 ? void 0 : container.scrollHeight) !== null && _container_scrollHeight !== void 0 ? _container_scrollHeight : 0\n };\n }\n getVisibleRect() {\n let container = this.ref.current;\n var _container_scrollLeft, _container_scrollTop, _container_clientWidth, _container_clientHeight;\n return {\n x: (_container_scrollLeft = container === null || container === void 0 ? void 0 : container.scrollLeft) !== null && _container_scrollLeft !== void 0 ? _container_scrollLeft : 0,\n y: (_container_scrollTop = container === null || container === void 0 ? void 0 : container.scrollTop) !== null && _container_scrollTop !== void 0 ? _container_scrollTop : 0,\n width: (_container_clientWidth = container === null || container === void 0 ? void 0 : container.clientWidth) !== null && _container_clientWidth !== void 0 ? _container_clientWidth : 0,\n height: (_container_clientHeight = container === null || container === void 0 ? void 0 : container.clientHeight) !== null && _container_clientHeight !== void 0 ? _container_clientHeight : 0\n };\n }\n constructor(ref){\n this.ref = ref;\n }\n}\n\n\nexport {$657e4dc4a6e88df0$export$8f5ed9ff9f511381 as DOMLayoutDelegate};\n//# sourceMappingURL=DOMLayoutDelegate.module.js.map\n","import {DOMLayoutDelegate as $657e4dc4a6e88df0$export$8f5ed9ff9f511381} from \"./DOMLayoutDelegate.mjs\";\nimport {isScrollable as $eak97$isScrollable} from \"@react-aria/utils\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nclass $2a25aae57d74318e$export$a05409b8bb224a5a {\n isDisabled(item) {\n var _item_props;\n return this.disabledBehavior === 'all' && (((_item_props = item.props) === null || _item_props === void 0 ? void 0 : _item_props.isDisabled) || this.disabledKeys.has(item.key));\n }\n findNextNonDisabled(key, getNext) {\n let nextKey = key;\n while(nextKey != null){\n let item = this.collection.getItem(nextKey);\n if ((item === null || item === void 0 ? void 0 : item.type) === 'item' && !this.isDisabled(item)) return nextKey;\n nextKey = getNext(nextKey);\n }\n return null;\n }\n getNextKey(key) {\n let nextKey = key;\n nextKey = this.collection.getKeyAfter(nextKey);\n return this.findNextNonDisabled(nextKey, (key)=>this.collection.getKeyAfter(key));\n }\n getPreviousKey(key) {\n let nextKey = key;\n nextKey = this.collection.getKeyBefore(nextKey);\n return this.findNextNonDisabled(nextKey, (key)=>this.collection.getKeyBefore(key));\n }\n findKey(key, nextKey, shouldSkip) {\n let tempKey = key;\n let itemRect = this.layoutDelegate.getItemRect(tempKey);\n if (!itemRect || tempKey == null) return null;\n // Find the item above or below in the same column.\n let prevRect = itemRect;\n do {\n tempKey = nextKey(tempKey);\n if (tempKey == null) break;\n itemRect = this.layoutDelegate.getItemRect(tempKey);\n }while (itemRect && shouldSkip(prevRect, itemRect) && tempKey != null);\n return tempKey;\n }\n isSameRow(prevRect, itemRect) {\n return prevRect.y === itemRect.y || prevRect.x !== itemRect.x;\n }\n isSameColumn(prevRect, itemRect) {\n return prevRect.x === itemRect.x || prevRect.y !== itemRect.y;\n }\n getKeyBelow(key) {\n if (this.layout === 'grid' && this.orientation === 'vertical') return this.findKey(key, (key)=>this.getNextKey(key), this.isSameRow);\n else return this.getNextKey(key);\n }\n getKeyAbove(key) {\n if (this.layout === 'grid' && this.orientation === 'vertical') return this.findKey(key, (key)=>this.getPreviousKey(key), this.isSameRow);\n else return this.getPreviousKey(key);\n }\n getNextColumn(key, right) {\n return right ? this.getPreviousKey(key) : this.getNextKey(key);\n }\n getKeyRightOf(key) {\n // This is a temporary solution for CardView until we refactor useSelectableCollection.\n // https://github.com/orgs/adobe/projects/19/views/32?pane=issue&itemId=77825042\n let layoutDelegateMethod = this.direction === 'ltr' ? 'getKeyRightOf' : 'getKeyLeftOf';\n if (this.layoutDelegate[layoutDelegateMethod]) {\n key = this.layoutDelegate[layoutDelegateMethod](key);\n return this.findNextNonDisabled(key, (key)=>this.layoutDelegate[layoutDelegateMethod](key));\n }\n if (this.layout === 'grid') {\n if (this.orientation === 'vertical') return this.getNextColumn(key, this.direction === 'rtl');\n else return this.findKey(key, (key)=>this.getNextColumn(key, this.direction === 'rtl'), this.isSameColumn);\n } else if (this.orientation === 'horizontal') return this.getNextColumn(key, this.direction === 'rtl');\n return null;\n }\n getKeyLeftOf(key) {\n let layoutDelegateMethod = this.direction === 'ltr' ? 'getKeyLeftOf' : 'getKeyRightOf';\n if (this.layoutDelegate[layoutDelegateMethod]) {\n key = this.layoutDelegate[layoutDelegateMethod](key);\n return this.findNextNonDisabled(key, (key)=>this.layoutDelegate[layoutDelegateMethod](key));\n }\n if (this.layout === 'grid') {\n if (this.orientation === 'vertical') return this.getNextColumn(key, this.direction === 'ltr');\n else return this.findKey(key, (key)=>this.getNextColumn(key, this.direction === 'ltr'), this.isSameColumn);\n } else if (this.orientation === 'horizontal') return this.getNextColumn(key, this.direction === 'ltr');\n return null;\n }\n getFirstKey() {\n let key = this.collection.getFirstKey();\n return this.findNextNonDisabled(key, (key)=>this.collection.getKeyAfter(key));\n }\n getLastKey() {\n let key = this.collection.getLastKey();\n return this.findNextNonDisabled(key, (key)=>this.collection.getKeyBefore(key));\n }\n getKeyPageAbove(key) {\n let menu = this.ref.current;\n let itemRect = this.layoutDelegate.getItemRect(key);\n if (!itemRect) return null;\n if (menu && !(0, $eak97$isScrollable)(menu)) return this.getFirstKey();\n let nextKey = key;\n if (this.orientation === 'horizontal') {\n let pageX = Math.max(0, itemRect.x + itemRect.width - this.layoutDelegate.getVisibleRect().width);\n while(itemRect && itemRect.x > pageX && nextKey != null){\n nextKey = this.getKeyAbove(nextKey);\n itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);\n }\n } else {\n let pageY = Math.max(0, itemRect.y + itemRect.height - this.layoutDelegate.getVisibleRect().height);\n while(itemRect && itemRect.y > pageY && nextKey != null){\n nextKey = this.getKeyAbove(nextKey);\n itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);\n }\n }\n return nextKey !== null && nextKey !== void 0 ? nextKey : this.getFirstKey();\n }\n getKeyPageBelow(key) {\n let menu = this.ref.current;\n let itemRect = this.layoutDelegate.getItemRect(key);\n if (!itemRect) return null;\n if (menu && !(0, $eak97$isScrollable)(menu)) return this.getLastKey();\n let nextKey = key;\n if (this.orientation === 'horizontal') {\n let pageX = Math.min(this.layoutDelegate.getContentSize().width, itemRect.y - itemRect.width + this.layoutDelegate.getVisibleRect().width);\n while(itemRect && itemRect.x < pageX && nextKey != null){\n nextKey = this.getKeyBelow(nextKey);\n itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);\n }\n } else {\n let pageY = Math.min(this.layoutDelegate.getContentSize().height, itemRect.y - itemRect.height + this.layoutDelegate.getVisibleRect().height);\n while(itemRect && itemRect.y < pageY && nextKey != null){\n nextKey = this.getKeyBelow(nextKey);\n itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);\n }\n }\n return nextKey !== null && nextKey !== void 0 ? nextKey : this.getLastKey();\n }\n getKeyForSearch(search, fromKey) {\n if (!this.collator) return null;\n let collection = this.collection;\n let key = fromKey || this.getFirstKey();\n while(key != null){\n let item = collection.getItem(key);\n if (!item) return null;\n let substring = item.textValue.slice(0, search.length);\n if (item.textValue && this.collator.compare(substring, search) === 0) return key;\n key = this.getNextKey(key);\n }\n return null;\n }\n constructor(...args){\n if (args.length === 1) {\n let opts = args[0];\n this.collection = opts.collection;\n this.ref = opts.ref;\n this.collator = opts.collator;\n this.disabledKeys = opts.disabledKeys || new Set();\n this.disabledBehavior = opts.disabledBehavior || 'all';\n this.orientation = opts.orientation || 'vertical';\n this.direction = opts.direction;\n this.layout = opts.layout || 'stack';\n this.layoutDelegate = opts.layoutDelegate || new (0, $657e4dc4a6e88df0$export$8f5ed9ff9f511381)(opts.ref);\n } else {\n this.collection = args[0];\n this.disabledKeys = args[1];\n this.ref = args[2];\n this.collator = args[3];\n this.layout = 'stack';\n this.orientation = 'vertical';\n this.disabledBehavior = 'all';\n this.layoutDelegate = new (0, $657e4dc4a6e88df0$export$8f5ed9ff9f511381)(this.ref);\n }\n // If this is a vertical stack, remove the left/right methods completely\n // so they aren't called by useDroppableCollection.\n if (this.layout === 'stack' && this.orientation === 'vertical') {\n this.getKeyLeftOf = undefined;\n this.getKeyRightOf = undefined;\n }\n }\n}\n\n\nexport {$2a25aae57d74318e$export$a05409b8bb224a5a as ListKeyboardDelegate};\n//# sourceMappingURL=ListKeyboardDelegate.module.js.map\n"],"names":["$657e4dc4a6e88df0$export$8f5ed9ff9f511381","key","container","item","$feb5ffebff200149$export$c3d8340acf92597f","containerRect","itemRect","_container_scrollWidth","_container_scrollHeight","_container_scrollLeft","_container_scrollTop","_container_clientWidth","_container_clientHeight","ref","$2a25aae57d74318e$export$a05409b8bb224a5a","_item_props","getNext","nextKey","shouldSkip","tempKey","prevRect","right","layoutDelegateMethod","menu","$eak97$isScrollable","pageX","pageY","search","fromKey","collection","substring","args","opts"],"mappings":";;AAaA,MAAMA,EAA0C;AAAA,EAC5C,YAAYC,GAAK;AACb,QAAIC,IAAY,KAAK,IAAI;AACzB,QAAI,CAACA,EAAW,QAAO;AACvB,QAAIC,IAAOF,KAAO,OAAWG,EAA2C,KAAK,KAAKH,CAAG,IAAI;AACzF,QAAI,CAACE,EAAM,QAAO;AAClB,QAAIE,IAAgBH,EAAU,sBAAqB,GAC/CI,IAAWH,EAAK,sBAAqB;AACzC,WAAO;AAAA,MACH,GAAGG,EAAS,OAAOD,EAAc,OAAOH,EAAU,aAAaA,EAAU;AAAA,MACzE,GAAGI,EAAS,MAAMD,EAAc,MAAMH,EAAU,YAAYA,EAAU;AAAA,MACtE,OAAOI,EAAS;AAAA,MAChB,QAAQA,EAAS;AAAA,IAC7B;AAAA,EACI;AAAA,EACA,iBAAiB;AACb,QAAIJ,IAAY,KAAK,IAAI;AACzB,QAAIK,GAAwBC;AAC5B,WAAO;AAAA,MACH,QAAQD,IAA+EL,GAAU,iBAAiB,QAAQK,MAA2B,SAASA,IAAyB;AAAA,MACvL,SAASC,IAAgFN,GAAU,kBAAkB,QAAQM,MAA4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AK,aAAaD,EAAK,CAAC,GACxB,KAAK,eAAeA,EAAK,CAAC,GAC1B,KAAK,MAAMA,EAAK,CAAC,GACjB,KAAK,WAAWA,EAAK,CAAC,GACtB,KAAK,SAAS,SACd,KAAK,cAAc,YACnB,KAAK,mBAAmB,OACxB,KAAK,iBAAiB,IAAQ/B,EAA2C,KAAK,GAAG;AAIrF,IAAI,KAAK,WAAW,WAAW,KAAK,gBAAgB,eAChD,KAAK,eAAe,QACpB,KAAK,gBAAgB;AAAA,EAE7B;AACJ;","x_google_ignoreList":[0,1]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),Eo=require("@chakra-ui/react/styled-system"),Ao=require("./index-CFfbr5i_.cjs.js"),Oe=require("@chakra-ui/react"),u=require("react"),Me=require("./Button-DLCecw8f.cjs.js"),O=require("./utils-DVb3jcp5.cjs.js"),Ve=require("./FieldError-DyGFfqST.cjs.js"),qe=require("./Form-BuOomA4T.cjs.js"),Se=require("./Group-1nWkximy.cjs.js"),fe=require("./Input-2FU1rljx.cjs.js"),Fe=require("./Label-szabofdc.cjs.js"),re=require("./ListBox-DkXFmzHf.cjs.js"),ne=require("./Dialog-DINBl88u.cjs.js"),Te=require("./Text-BWSfeB9p.cjs.js"),Ge=require("./CollectionBuilder-BipvtvSl.cjs.js"),Ne=require("./filterDOMProps-WUskt27c.cjs.js"),ze=require("./OverlayArrow-ltipYWUv.cjs.js"),Ue=require("./useFilter-CAVKltBB.cjs.js"),We=require("./useFormValidation-BfTV0EQ1.cjs.js"),J=require("./SelectionManager-CCETIs4l.cjs.js"),go=require("./useSingleSelectListState-BawVWofI.cjs.js"),Bo=require("./useListState-HM8Jsi0C.cjs.js"),He=require("./useControlledState-D0L6S_5r.cjs.js"),me=require("./LiveAnnouncer-BkrEjKY8.cjs.js"),ee=require("./mergeProps-CxnHrnow.cjs.js"),de=require("./utils-Bv1frUk6.cjs.js"),So=require("./openLink-DkCJYbzq.cjs.js"),Ae=require("./useLabels-C_UIaxmz.cjs.js"),Fo=require("./useUpdateEffect-sk3kiVGz.cjs.js"),xe=require("./platform-BDLy2vDY.cjs.js"),Je=require("./useEvent-D0r31Azw.cjs.js"),Ze=require("./Header-Ba1_guwA.cjs.js"),To=require("./ListKeyboardDelegate-BEarLHjT.cjs.js"),Xe=require("./useLocalizedStringFormatter-kWoZGAh5.cjs.js"),Ye=require("./useTextField-B1RrrtMI.cjs.js"),De=require("./extract-style-props-CBaCGha4.cjs.js"),Ce=require("react-intl"),pe=require("@commercetools/nimbus-icons"),ge=require("./icon-button-DJZJwO7E.cjs.js"),he=require("./box-CWni3A32.cjs.js"),Qe=require("@chakra-ui/react/flex"),Be=require("./RSPContexts-BdKenzIN.cjs.js"),_e=require("./useObjectRef-4v2MxSjQ.cjs.js"),Do=require("./useFocusVisible-DfE3Z6QO.cjs.js"),Lo=require("./TextArea-2QJpeMJq.cjs.js"),Io=require("./Hidden-CNJIJ63M.cjs.js"),ye=require("./tag-group-DexGJ8Hf.cjs.js"),Po=require("./usePress-MEEljcWP.cjs.js"),ko=require("./useFocusable-C7VjcJHL.cjs.js");var et={};et={buttonLabel:"عرض المقترحات",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} خيار`,other:()=>`${t.number(e.optionCount)} خيارات`})} متاحة.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`المجموعة المدخلة ${e.groupTitle}, مع ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} خيار`,other:()=>`${t.number(e.groupCount)} خيارات`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", محدد",other:""},e.isSelected)}`,listboxLabel:"مقترحات",selectedAnnouncement:e=>`${e.optionText}، محدد`};var tt={};tt={buttonLabel:"Покажи предложения",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} опция`,other:()=>`${t.number(e.optionCount)} опции`})} на разположение.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Въведена група ${e.groupTitle}, с ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} опция`,other:()=>`${t.number(e.groupCount)} опции`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", избрани",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, избрани`};var ot={};ot={buttonLabel:"Zobrazit doporučení",countAnnouncement:(e,t)=>`K dispozici ${t.plural(e.optionCount,{one:()=>`je ${t.number(e.optionCount)} možnost`,other:()=>`jsou/je ${t.number(e.optionCount)} možnosti/-í`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadaná skupina „${e.groupTitle}“ ${t.plural(e.groupCount,{one:()=>`s ${t.number(e.groupCount)} možností`,other:()=>`se ${t.number(e.groupCount)} možnostmi`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:" (vybráno)",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybráno`};var ut={};ut={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} mulighed tilgængelig`,other:()=>`${t.number(e.optionCount)} muligheder tilgængelige`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angivet gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} mulighed`,other:()=>`${t.number(e.groupCount)} muligheder`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var nt={};nt={buttonLabel:"Empfehlungen anzeigen",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} Option`,other:()=>`${t.number(e.optionCount)} Optionen`})} verfügbar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Eingetretene Gruppe ${e.groupTitle}, mit ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} Option`,other:()=>`${t.number(e.groupCount)} Optionen`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", ausgewählt",other:""},e.isSelected)}`,listboxLabel:"Empfehlungen",selectedAnnouncement:e=>`${e.optionText}, ausgewählt`};var lt={};lt={buttonLabel:"Προβολή προτάσεων",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} επιλογή`,other:()=>`${t.number(e.optionCount)} επιλογές `})} διαθέσιμες.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Εισαγμένη ομάδα ${e.groupTitle}, με ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} επιλογή`,other:()=>`${t.number(e.groupCount)} επιλογές`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", επιλεγμένο",other:""},e.isSelected)}`,listboxLabel:"Προτάσεις",selectedAnnouncement:e=>`${e.optionText}, επιλέχθηκε`};var it={};it={focusAnnouncement:(e,t)=>`${t.select({true:()=>`Entered group ${e.groupTitle}, with ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selected",other:""},e.isSelected)}`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} available.`,selectedAnnouncement:e=>`${e.optionText}, selected`,buttonLabel:"Show suggestions",listboxLabel:"Suggestions"};var ct={};ct={buttonLabel:"Mostrar sugerencias",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opción`,other:()=>`${t.number(e.optionCount)} opciones`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Se ha unido al grupo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opción`,other:()=>`${t.number(e.groupCount)} opciones`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seleccionado",other:""},e.isSelected)}`,listboxLabel:"Sugerencias",selectedAnnouncement:e=>`${e.optionText}, seleccionado`};var rt={};rt={buttonLabel:"Kuva soovitused",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} valik`,other:()=>`${t.number(e.optionCount)} valikud`})} saadaval.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Sisestatud rühm ${e.groupTitle}, valikuga ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} valik`,other:()=>`${t.number(e.groupCount)} valikud`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valitud",other:""},e.isSelected)}`,listboxLabel:"Soovitused",selectedAnnouncement:e=>`${e.optionText}, valitud`};var at={};at={buttonLabel:"Näytä ehdotukset",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} vaihtoehto`,other:()=>`${t.number(e.optionCount)} vaihtoehdot`})} saatavilla.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Mentiin ryhmään ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} vaihtoehdon`,other:()=>`${t.number(e.groupCount)} vaihtoehdon`})} kanssa.`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valittu",other:""},e.isSelected)}`,listboxLabel:"Ehdotukset",selectedAnnouncement:e=>`${e.optionText}, valittu`};var st={};st={buttonLabel:"Afficher les suggestions",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groupe ${e.groupTitle} rejoint, avec ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", sélectionné(s)",other:""},e.isSelected)}`,listboxLabel:"Suggestions",selectedAnnouncement:e=>`${e.optionText}, sélectionné`};var dt={};dt={buttonLabel:"הצג הצעות",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`אפשרות ${t.number(e.optionCount)}`,other:()=>`${t.number(e.optionCount)} אפשרויות`})} במצב זמין.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`נכנס לקבוצה ${e.groupTitle}, עם ${t.plural(e.groupCount,{one:()=>`אפשרות ${t.number(e.groupCount)}`,other:()=>`${t.number(e.groupCount)} אפשרויות`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", נבחר",other:""},e.isSelected)}`,listboxLabel:"הצעות",selectedAnnouncement:e=>`${e.optionText}, נבחר`};var pt={};pt={buttonLabel:"Prikaži prijedloge",countAnnouncement:(e,t)=>`Dostupno još: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} opcije/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", odabranih",other:""},e.isSelected)}`,listboxLabel:"Prijedlozi",selectedAnnouncement:e=>`${e.optionText}, odabrano`};var $t={};$t={buttonLabel:"Javaslatok megjelenítése",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} lehetőség`,other:()=>`${t.number(e.optionCount)} lehetőség`})} áll rendelkezésre.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Belépett a(z) ${e.groupTitle} csoportba, amely ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} lehetőséget`,other:()=>`${t.number(e.groupCount)} lehetőséget`})} tartalmaz. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", kijelölve",other:""},e.isSelected)}`,listboxLabel:"Javaslatok",selectedAnnouncement:e=>`${e.optionText}, kijelölve`};var bt={};bt={buttonLabel:"Mostra suggerimenti",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opzione disponibile`,other:()=>`${t.number(e.optionCount)} opzioni disponibili`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingresso nel gruppo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opzione`,other:()=>`${t.number(e.groupCount)} opzioni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selezionato",other:""},e.isSelected)}`,listboxLabel:"Suggerimenti",selectedAnnouncement:e=>`${e.optionText}, selezionato`};var ft={};ft={buttonLabel:"候補を表示",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 個のオプション`,other:()=>`${t.number(e.optionCount)} 個のオプション`})}を利用できます。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`入力されたグループ ${e.groupTitle}、${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 個のオプション`,other:()=>`${t.number(e.groupCount)} 個のオプション`})}を含む。`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:"、選択済み",other:""},e.isSelected)}`,listboxLabel:"候補",selectedAnnouncement:e=>`${e.optionText}、選択済み`};var xt={};xt={buttonLabel:"제안 사항 표시",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)}개 옵션`,other:()=>`${t.number(e.optionCount)}개 옵션`})}을 사용할 수 있습니다.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`입력한 그룹 ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)}개 옵션`,other:()=>`${t.number(e.groupCount)}개 옵션`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 선택됨",other:""},e.isSelected)}`,listboxLabel:"제안",selectedAnnouncement:e=>`${e.optionText}, 선택됨`};var Ct={};Ct={buttonLabel:"Rodyti pasiūlymus",countAnnouncement:(e,t)=>`Yra ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} parinktis`,other:()=>`${t.number(e.optionCount)} parinktys (-ių)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Įvesta grupė ${e.groupTitle}, su ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} parinktimi`,other:()=>`${t.number(e.groupCount)} parinktimis (-ių)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", pasirinkta",other:""},e.isSelected)}`,listboxLabel:"Pasiūlymai",selectedAnnouncement:e=>`${e.optionText}, pasirinkta`};var ht={};ht={buttonLabel:"Rādīt ieteikumus",countAnnouncement:(e,t)=>`Pieejamo opciju skaits: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcijas`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ievadīta grupa ${e.groupTitle}, ar ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opciju`,other:()=>`${t.number(e.groupCount)} opcijām`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", atlasīta",other:""},e.isSelected)}`,listboxLabel:"Ieteikumi",selectedAnnouncement:e=>`${e.optionText}, atlasīta`};var vt={};vt={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativer`})} finnes.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angitt gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativer`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var mt={};mt={buttonLabel:"Suggesties weergeven",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} optie`,other:()=>`${t.number(e.optionCount)} opties`})} beschikbaar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groep ${e.groupTitle} ingevoerd met ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} optie`,other:()=>`${t.number(e.groupCount)} opties`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", geselecteerd",other:""},e.isSelected)}`,listboxLabel:"Suggesties",selectedAnnouncement:e=>`${e.optionText}, geselecteerd`};var yt={};yt={buttonLabel:"Wyświetlaj sugestie",countAnnouncement:(e,t)=>`dostępna/dostępne(-nych) ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcja`,other:()=>`${t.number(e.optionCount)} opcje(-i)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Dołączono do grupy ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcją`,other:()=>`${t.number(e.groupCount)} opcjami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", wybrano",other:""},e.isSelected)}`,listboxLabel:"Sugestie",selectedAnnouncement:e=>`${e.optionText}, wybrano`};var Et={};Et={buttonLabel:"Mostrar sugestões",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opção`,other:()=>`${t.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo inserido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opção`,other:()=>`${t.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var At={};At={buttonLabel:"Apresentar sugestões",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opção`,other:()=>`${t.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo introduzido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opção`,other:()=>`${t.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var gt={};gt={buttonLabel:"Afișare sugestii",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opțiune`,other:()=>`${t.number(e.optionCount)} opțiuni`})} disponibile.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grup ${e.groupTitle} introdus, cu ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opțiune`,other:()=>`${t.number(e.groupCount)} opțiuni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selectat",other:""},e.isSelected)}`,listboxLabel:"Sugestii",selectedAnnouncement:e=>`${e.optionText}, selectat`};var Bt={};Bt={buttonLabel:"Показать предложения",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} параметр`,other:()=>`${t.number(e.optionCount)} параметров`})} доступно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Введенная группа ${e.groupTitle}, с ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} параметром`,other:()=>`${t.number(e.groupCount)} параметрами`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", выбранными",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, выбрано`};var St={};St={buttonLabel:"Zobraziť návrhy",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} možnosť`,other:()=>`${t.number(e.optionCount)} možnosti/-í`})} k dispozícii.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadaná skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} možnosťou`,other:()=>`${t.number(e.groupCount)} možnosťami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", vybraté",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybraté`};var Ft={};Ft={buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Na voljo je ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Vnesena skupina ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcija`,other:()=>`${t.number(e.groupCount)} opcije`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izbrano",other:""},e.isSelected)}`,listboxLabel:"Predlogi",selectedAnnouncement:e=>`${e.optionText}, izbrano`};var Tt={};Tt={buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Dostupno još: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena grupa ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} optione/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izabranih",other:""},e.isSelected)}`,listboxLabel:"Predlozi",selectedAnnouncement:e=>`${e.optionText}, izabrano`};var Dt={};Dt={buttonLabel:"Visa förslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativ`})} tillgängliga.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingick i gruppen ${e.groupTitle} med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativ`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valda",other:""},e.isSelected)}`,listboxLabel:"Förslag",selectedAnnouncement:e=>`${e.optionText}, valda`};var Lt={};Lt={buttonLabel:"Önerileri göster",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} seçenek`,other:()=>`${t.number(e.optionCount)} seçenekler`})} kullanılabilir.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Girilen grup ${e.groupTitle}, ile ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} seçenek`,other:()=>`${t.number(e.groupCount)} seçenekler`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seçildi",other:""},e.isSelected)}`,listboxLabel:"Öneriler",selectedAnnouncement:e=>`${e.optionText}, seçildi`};var It={};It={buttonLabel:"Показати пропозиції",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} параметр`,other:()=>`${t.number(e.optionCount)} параметри(-ів)`})} доступно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Введена група ${e.groupTitle}, з ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} параметр`,other:()=>`${t.number(e.groupCount)} параметри(-ів)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", вибрано",other:""},e.isSelected)}`,listboxLabel:"Пропозиції",selectedAnnouncement:e=>`${e.optionText}, вибрано`};var Pt={};Pt={buttonLabel:"显示建议",countAnnouncement:(e,t)=>`有 ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 个选项`,other:()=>`${t.number(e.optionCount)} 个选项`})}可用。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`进入了 ${e.groupTitle} 组,其中有 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 个选项`,other:()=>`${t.number(e.groupCount)} 个选项`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已选择",other:""},e.isSelected)}`,listboxLabel:"建议",selectedAnnouncement:e=>`${e.optionText}, 已选择`};var kt={};kt={buttonLabel:"顯示建議",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 選項`,other:()=>`${t.number(e.optionCount)} 選項`})} 可用。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`輸入的群組 ${e.groupTitle}, 有 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 選項`,other:()=>`${t.number(e.groupCount)} 選項`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已選取",other:""},e.isSelected)}`,listboxLabel:"建議",selectedAnnouncement:e=>`${e.optionText}, 已選取`};var Rt={};Rt={"ar-AE":et,"bg-BG":tt,"cs-CZ":ot,"da-DK":ut,"de-DE":nt,"el-GR":lt,"en-US":it,"es-ES":ct,"et-EE":rt,"fi-FI":at,"fr-FR":st,"he-IL":dt,"hr-HR":pt,"hu-HU":$t,"it-IT":bt,"ja-JP":ft,"ko-KR":xt,"lt-LT":Ct,"lv-LV":ht,"nb-NO":vt,"nl-NL":mt,"pl-PL":yt,"pt-BR":Et,"pt-PT":At,"ro-RO":gt,"ru-RU":Bt,"sk-SK":St,"sl-SI":Ft,"sr-SP":Tt,"sv-SE":Dt,"tr-TR":Lt,"uk-UA":It,"zh-CN":Pt,"zh-TW":kt};const Ro=u.forwardRef(({children:e,...t},o)=>{o=_e.$df56164dff5785e2$export$4338b53315abf666(o);let{pressProps:l}=Po.$f6c31cce2adf654f$export$45712eceda6fad21({...t,ref:o}),{focusableProps:n}=ko.$f645667febf57a63$export$4c014de7c8940b4c(t,o),a=u.Children.only(e);u.useEffect(()=>{if(process.env.NODE_ENV==="production")return;let s=o.current;if(!s||!(s instanceof de.$431fbd86ca7dc216$export$f21a1ffae260145a(s).Element)){console.error("<Pressable> child must forward its ref to a DOM element.");return}if(!t.isDisabled&&!de.$b4b717babfbb907b$export$4c063cf1350e6fed(s)){console.warn("<Pressable> child must be focusable. Please ensure the tabIndex prop is passed through.");return}if(s.localName!=="button"&&s.localName!=="input"&&s.localName!=="select"&&s.localName!=="textarea"&&s.localName!=="a"&&s.localName!=="area"&&s.localName!=="summary"){let c=s.getAttribute("role");c?c!=="application"&&c!=="button"&&c!=="checkbox"&&c!=="combobox"&&c!=="gridcell"&&c!=="link"&&c!=="menuitem"&&c!=="menuitemcheckbox"&&c!=="menuitemradio"&&c!=="option"&&c!=="radio"&&c!=="searchbox"&&c!=="separator"&&c!=="slider"&&c!=="spinbutton"&&c!=="switch"&&c!=="tab"&&c!=="textbox"&&c!=="treeitem"&&console.warn(`<Pressable> child must have an interactive ARIA role. Got "${c}".`):console.warn("<Pressable> child must have an interactive ARIA role.")}},[o,t.isDisabled]);let $=parseInt(u.version,10)<19?a.ref:a.props.ref;return u.cloneElement(a,{...ee.$3ef42575df84b30b$export$9d1611c77c2fe928(l,n,a.props),ref:O.$5dc95899b306f630$export$c9058316764c140e($,o)})});function wo(e){return e&&e.__esModule?e.default:e}function jo(e,t){let{buttonRef:o,popoverRef:l,inputRef:n,listBoxRef:a,keyboardDelegate:$,layoutDelegate:s,shouldFocusWrap:c,isReadOnly:h,isDisabled:m}=e,v=u.useRef(null);o=o??v;let E=Xe.$fca6afa0e843324b$export$f12b703ca79dfbb1(wo(Rt),"@react-aria/combobox"),{menuTriggerProps:y,menuProps:B}=ne.$168583247155ddda$export$dc9c12ed27dd1b49({type:"listbox",isDisabled:m||h},t,o);re.$b1f0cad8af73213b$export$3585ede4d035bf14.set(t,{id:B.id});let{collection:x}=t,{disabledKeys:C}=t.selectionManager,p=u.useMemo(()=>$||new To.$2a25aae57d74318e$export$a05409b8bb224a5a({collection:x,disabledKeys:C,ref:a,layoutDelegate:s}),[$,s,x,C,a]),{collectionProps:L}=J.$ae20dd8cbca75726$export$d6daf82dcd84e87c({selectionManager:t.selectionManager,keyboardDelegate:p,disallowTypeAhead:!0,disallowEmptySelection:!0,shouldFocusWrap:c,ref:n,isVirtualized:!0}),j=So.$ea8dcbcb9ea1b556$export$9a302a45f65d0572(),G=f=>{if(!f.nativeEvent.isComposing)switch(f.key){case"Enter":case"Tab":if(t.isOpen&&f.key==="Enter"&&f.preventDefault(),t.isOpen&&a.current&&t.selectionManager.focusedKey!=null){let b=t.collection.getItem(t.selectionManager.focusedKey);if(b?.props.href){let D=a.current.querySelector(`[data-key="${CSS.escape(t.selectionManager.focusedKey.toString())}"]`);f.key==="Enter"&&D instanceof HTMLAnchorElement&&j.open(D,f,b.props.href,b.props.routerOptions),t.close();break}else if(b?.props.onAction){b.props.onAction(),t.close();break}}t.commit();break;case"Escape":(t.selectedKey!==null||t.inputValue===""||e.allowsCustomValue)&&f.continuePropagation(),t.revert();break;case"ArrowDown":t.open("first","manual");break;case"ArrowUp":t.open("last","manual");break;case"ArrowLeft":case"ArrowRight":t.selectionManager.setFocusedKey(null);break}},I=f=>{var b;let D=o?.current&&o.current===f.relatedTarget,A=(b=l.current)===null||b===void 0?void 0:b.contains(f.relatedTarget);D||A||(e.onBlur&&e.onBlur(f),t.setFocused(!1))},V=f=>{t.isFocused||(e.onFocus&&e.onFocus(f),t.setFocused(!0))},{isInvalid:X,validationErrors:z,validationDetails:U}=t.displayValidation,{labelProps:R,inputProps:te,descriptionProps:Y,errorMessageProps:q}=Ye.$2d73ec29415bd339$export$712718f7aec83d5({...e,onChange:t.setInputValue,onKeyDown:h?e.onKeyDown:ee.$ff5963eb1fccf552$export$e08e3b67e392101e(t.isOpen&&L.onKeyDown,G,e.onKeyDown),onBlur:I,value:t.inputValue,defaultValue:t.defaultInputValue,onFocus:V,autoComplete:"off",validate:void 0,[We.$e5be200c675c3b3a$export$a763b9476acd3eb]:t},n),Q=f=>{if(f.pointerType==="touch"){var b;(b=n.current)===null||b===void 0||b.focus(),t.toggle(null,"manual")}},S=f=>{if(f.pointerType!=="touch"){var b;(b=n.current)===null||b===void 0||b.focus(),t.toggle(f.pointerType==="keyboard"||f.pointerType==="virtual"?"first":null,"manual")}},N=Ae.$313b98861ee5dd6c$export$d6875122194c7b44({id:y.id,"aria-label":E.format("buttonLabel"),"aria-labelledby":e["aria-labelledby"]||R.id}),W=Ae.$313b98861ee5dd6c$export$d6875122194c7b44({id:B.id,"aria-label":E.format("listboxLabel"),"aria-labelledby":e["aria-labelledby"]||R.id}),P=u.useRef(0),i=f=>{if(m||h)return;if(f.timeStamp-P.current<500){var b;f.preventDefault(),(b=n.current)===null||b===void 0||b.focus();return}let D=f.target.getBoundingClientRect(),A=f.changedTouches[0],_=Math.ceil(D.left+.5*D.width),ue=Math.ceil(D.top+.5*D.height);if(A.clientX===_&&A.clientY===ue){var Z;f.preventDefault(),(Z=n.current)===null||Z===void 0||Z.focus(),t.toggle(null,"manual"),P.current=f.timeStamp}},d=t.selectionManager.focusedKey!=null&&t.isOpen?t.collection.getItem(t.selectionManager.focusedKey):void 0;var k;let F=(k=d?.parentKey)!==null&&k!==void 0?k:null;var M;let T=(M=t.selectionManager.focusedKey)!==null&&M!==void 0?M:null,ie=u.useRef(F),oe=u.useRef(T);u.useEffect(()=>{if(xe.$c87311424ea30a05$export$e1865c3bedcd822b()&&d!=null&&T!=null&&T!==oe.current){let b=t.selectionManager.isSelected(T),D=F!=null?t.collection.getItem(F):null,A=D?.["aria-label"]||(typeof D?.rendered=="string"?D.rendered:"")||"";var f;let _=E.format("focusAnnouncement",{isGroupChange:(f=D&&F!==ie.current)!==null&&f!==void 0?f:!1,groupTitle:A,groupCount:D?[...J.$c5a24bc478652b5f$export$1005530eda016c13(D,t.collection)].length:0,optionText:d["aria-label"]||d.textValue||"",isSelected:b});me.$319e236875307eab$export$a9b970dcc4ae71a9(_)}ie.current=F,oe.current=T});let H=Ze.$453cc9f0df89c0a5$export$77d5aafae4e095b2(t.collection),ae=u.useRef(H),ce=u.useRef(t.isOpen);u.useEffect(()=>{let f=t.isOpen!==ce.current&&(t.selectionManager.focusedKey==null||xe.$c87311424ea30a05$export$e1865c3bedcd822b());if(t.isOpen&&(f||H!==ae.current)){let b=E.format("countAnnouncement",{optionCount:H});me.$319e236875307eab$export$a9b970dcc4ae71a9(b)}ae.current=H,ce.current=t.isOpen});let be=u.useRef(t.selectedKey);return u.useEffect(()=>{if(xe.$c87311424ea30a05$export$e1865c3bedcd822b()&&t.isFocused&&t.selectedItem&&t.selectedKey!==be.current){let f=t.selectedItem["aria-label"]||t.selectedItem.textValue||"",b=E.format("selectedAnnouncement",{optionText:f});me.$319e236875307eab$export$a9b970dcc4ae71a9(b)}be.current=t.selectedKey}),u.useEffect(()=>{if(t.isOpen)return ne.$5e3802645cc19319$export$1c3ebcada18427bf([n.current,l.current].filter(f=>f!=null))},[t.isOpen,n,l]),Fo.$4f58c5f72bcf79f7$export$496315a1608d9602(()=>{!d&&n.current&&de.$d4ee10de306f2510$export$cd4e5573fbe2b576(de.$431fbd86ca7dc216$export$b204af158042fbac(n.current))===n.current&&J.$55f9b1ae81f22853$export$2b35b76d2e30e129(n.current,null)},[d]),Je.$e9faafb641e167db$export$90fc3a17d93f704c(a,"react-aria-item-action",t.isOpen?()=>{t.close()}:void 0),{labelProps:R,buttonProps:{...y,...N,excludeFromTabOrder:!0,preventFocusOnPress:!0,onPress:Q,onPressStart:S,isDisabled:m||h},inputProps:ee.$3ef42575df84b30b$export$9d1611c77c2fe928(te,{role:"combobox","aria-expanded":y["aria-expanded"],"aria-controls":t.isOpen?B.id:void 0,"aria-autocomplete":"list","aria-activedescendant":d?re.$b1f0cad8af73213b$export$9145995848b05025(t,d.key):void 0,onTouchEnd:i,autoCorrect:"off",spellCheck:"false"}),listBoxProps:ee.$3ef42575df84b30b$export$9d1611c77c2fe928(B,W,{autoFocus:t.focusStrategy||!0,shouldUseVirtualFocus:!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,linkBehavior:"selection",UNSTABLE_itemBehavior:"action"}),descriptionProps:Y,errorMessageProps:q,isInvalid:X,validationErrors:z,validationDetails:U}}var wt={};wt={collectionLabel:"مقترحات"};var jt={};jt={collectionLabel:"Предложения"};var Kt={};Kt={collectionLabel:"Návrhy"};var Ot={};Ot={collectionLabel:"Forslag"};var Mt={};Mt={collectionLabel:"Empfehlungen"};var Vt={};Vt={collectionLabel:"Προτάσεις"};var qt={};qt={collectionLabel:"Suggestions"};var Gt={};Gt={collectionLabel:"Sugerencias"};var Nt={};Nt={collectionLabel:"Soovitused"};var zt={};zt={collectionLabel:"Ehdotukset"};var Ut={};Ut={collectionLabel:"Suggestions"};var Wt={};Wt={collectionLabel:"הצעות"};var Ht={};Ht={collectionLabel:"Prijedlozi"};var Jt={};Jt={collectionLabel:"Javaslatok"};var Zt={};Zt={collectionLabel:"Suggerimenti"};var Xt={};Xt={collectionLabel:"候補"};var Yt={};Yt={collectionLabel:"제안"};var Qt={};Qt={collectionLabel:"Pasiūlymai"};var _t={};_t={collectionLabel:"Ieteikumi"};var eo={};eo={collectionLabel:"Forslag"};var to={};to={collectionLabel:"Suggesties"};var oo={};oo={collectionLabel:"Sugestie"};var uo={};uo={collectionLabel:"Sugestões"};var no={};no={collectionLabel:"Sugestões"};var lo={};lo={collectionLabel:"Sugestii"};var io={};io={collectionLabel:"Предложения"};var co={};co={collectionLabel:"Návrhy"};var ro={};ro={collectionLabel:"Predlogi"};var ao={};ao={collectionLabel:"Predlozi"};var so={};so={collectionLabel:"Förslag"};var po={};po={collectionLabel:"Öneriler"};var $o={};$o={collectionLabel:"Пропозиції"};var bo={};bo={collectionLabel:"建议"};var fo={};fo={collectionLabel:"建議"};var xo={};xo={"ar-AE":wt,"bg-BG":jt,"cs-CZ":Kt,"da-DK":Ot,"de-DE":Mt,"el-GR":Vt,"en-US":qt,"es-ES":Gt,"et-EE":Nt,"fi-FI":zt,"fr-FR":Ut,"he-IL":Wt,"hr-HR":Ht,"hu-HU":Jt,"it-IT":Zt,"ja-JP":Xt,"ko-KR":Yt,"lt-LT":Qt,"lv-LV":_t,"nb-NO":eo,"nl-NL":to,"pl-PL":oo,"pt-BR":uo,"pt-PT":no,"ro-RO":lo,"ru-RU":io,"sk-SK":co,"sl-SI":ro,"sr-SP":ao,"sv-SE":so,"tr-TR":po,"uk-UA":$o,"zh-CN":bo,"zh-TW":fo};function Ko(e){return e&&e.__esModule?e.default:e}function Oo(e,t){let{inputRef:o,collectionRef:l,filter:n,disableAutoFocusFirst:a=!1,disableVirtualFocus:$=!1}=e,s=ee.$bdb11010cef70236$export$f680877a34711e37(),c=u.useRef(void 0),h=u.useRef(!1),m=u.useRef(null),v=u.useRef(null),E=Do.$507fabe10e71c6fb$export$630ff653c5ada6a9()==="virtual"&&(xe.$c87311424ea30a05$export$fedb369cb70207f1()||xe.$c87311424ea30a05$export$a11b0059900ceec8()),[y,B]=u.useState(!E&&!$),[x,C]=u.useState(!1);u.useEffect(()=>()=>clearTimeout(c.current),[]);let p=ee.$8ae05eaa5c114e9c$export$7f54fc3180508a52(i=>{!i.isTrusted&&y&&o.current&&de.$d4ee10de306f2510$export$cd4e5573fbe2b576(de.$431fbd86ca7dc216$export$b204af158042fbac(o.current))!==o.current&&o.current.focus();let d=i.target;i.isTrusted||!d||m.current===d.id||(clearTimeout(c.current),d!==l.current?h.current?(m.current=d.id,c.current=setTimeout(()=>{t.setFocusedNodeId(d.id)},500)):(m.current=d.id,t.setFocusedNodeId(d.id)):m.current&&!document.getElementById(m.current)&&(m.current=null,t.setFocusedNodeId(null)),h.current=!1)}),L=u.useCallback(i=>{if(i!=null){var d;(d=v.current)===null||d===void 0||d.removeEventListener("focusin",p),v.current=i,i.addEventListener("focusin",p),i.getAttribute("tabindex")!=null&&B(!1),C(!0)}else{var k;(k=v.current)===null||k===void 0||k.removeEventListener("focusin",p),C(!1)}},[p]),j=_e.$df56164dff5785e2$export$4338b53315abf666(u.useMemo(()=>O.$5dc95899b306f630$export$c9058316764c140e(l,L),[l,L])),G=ee.$8ae05eaa5c114e9c$export$7f54fc3180508a52(()=>{var i;h.current=!0,(i=l.current)===null||i===void 0||i.dispatchEvent(new CustomEvent(J.$5671b20cf9b562b2$export$831c820ad60f9d12,{cancelable:!0,bubbles:!0,detail:{focusStrategy:"first"}}))}),I=ee.$8ae05eaa5c114e9c$export$7f54fc3180508a52(i=>{var d;J.$55f9b1ae81f22853$export$76e4e37e5339496d(de.$d4ee10de306f2510$export$cd4e5573fbe2b576()),m.current=null,t.setFocusedNodeId(null);let k=new CustomEvent(J.$5671b20cf9b562b2$export$447a38995de2c711,{cancelable:!0,bubbles:!0,detail:{clearFocusKey:i}});clearTimeout(c.current),h.current=!1,(d=l.current)===null||d===void 0||d.dispatchEvent(k)}),V=u.useRef("");Je.$e9faafb641e167db$export$90fc3a17d93f704c(o,"input",i=>{let{inputType:d}=i;V.current=d});let X=i=>{V.current==="insertText"&&!a?G():V.current&&(V.current.includes("insert")||V.current.includes("delete")||V.current.includes("history"))&&(I(!0),J.$55f9b1ae81f22853$export$759df0d867455a91(document)===o.current&&J.$55f9b1ae81f22853$export$2b35b76d2e30e129(o.current,null)),t.setInputValue(i)},z=u.useRef(null),U=i=>{if(z.current=i.target,i.nativeEvent.isComposing)return;let d=m.current;switch(i.key){case"a":if(J.$21f1aa98acb08317$export$16792effe837dba3(i))return;break;case"Escape":if(i.isDefaultPrevented())return;break;case" ":return;case"Tab":"continuePropagation"in i&&i.continuePropagation();return;case"Home":case"End":case"PageDown":case"PageUp":case"ArrowUp":case"ArrowDown":{var k;if((i.key==="Home"||i.key==="End")&&d==null&&i.shiftKey)return;i.preventDefault();let T=new CustomEvent(J.$5671b20cf9b562b2$export$831c820ad60f9d12,{cancelable:!0,bubbles:!0});(k=l.current)===null||k===void 0||k.dispatchEvent(T);break}}i.isPropagationStopped()||i.stopPropagation();let F=!0;if(l.current!==null){var M;if(d==null)F=((M=l.current)===null||M===void 0?void 0:M.dispatchEvent(new KeyboardEvent(i.nativeEvent.type,i.nativeEvent)))||!1;else{let T=document.getElementById(d);T&&(F=T?.dispatchEvent(new KeyboardEvent(i.nativeEvent.type,i.nativeEvent))||!1)}}if(F)switch(i.key){case"ArrowLeft":case"ArrowRight":I();break;case"Enter":if(d!=null){let T=document.getElementById(d);T?.click()}break}else i.preventDefault()},R=ee.$8ae05eaa5c114e9c$export$7f54fc3180508a52(i=>{if(i.target===z.current){var d;i.stopImmediatePropagation();let k=m.current;if(k==null)(d=l.current)===null||d===void 0||d.dispatchEvent(new KeyboardEvent(i.type,i));else{let F=document.getElementById(k);F?.dispatchEvent(new KeyboardEvent(i.type,i))}}});u.useEffect(()=>(document.addEventListener("keyup",R,!0),()=>{document.removeEventListener("keyup",R,!0)}),[R]);let te=Xe.$fca6afa0e843324b$export$f12b703ca79dfbb1(Ko(xo),"@react-aria/autocomplete"),Y=Ae.$313b98861ee5dd6c$export$d6875122194c7b44({id:s,"aria-label":te.format("collectionLabel")}),q=u.useCallback((i,d)=>n?n(i,t.inputValue,d):!0,[t.inputValue,n]),Q=i=>{if(!i.isTrusted)return;let d=m.current?document.getElementById(m.current):null;d&&J.$55f9b1ae81f22853$export$6c5dc7e81d2cc29a(d,i.relatedTarget)},S=i=>{if(!i.isTrusted)return;if(m.current?document.getElementById(m.current):null){let k=i.target;queueMicrotask(()=>{J.$55f9b1ae81f22853$export$6c5dc7e81d2cc29a(k,l.current),J.$55f9b1ae81f22853$export$2b35b76d2e30e129(l.current,k)})}},N={value:t.inputValue,onChange:X};var W;let P={onKeyDown:U,"aria-activedescendant":(W=t.focusedNodeId)!==null&&W!==void 0?W:void 0,onBlur:Q,onFocus:S};return x&&(N={...N,...y&&P,enterKeyHint:"go","aria-controls":s,"aria-autocomplete":"list",autoCorrect:"off",spellCheck:"false",autoComplete:"off"}),{inputProps:N,collectionProps:ee.$3ef42575df84b30b$export$9d1611c77c2fe928(Y,{shouldUseVirtualFocus:y,disallowTypeAhead:y}),collectionRef:j,filter:n!=null?q:void 0}}function Mo(e){let{onInputChange:t,inputValue:o,defaultInputValue:l=""}=e,n=h=>{t&&t(h)},[a,$]=u.useState(null),[s,c]=He.$458b0a5536c1a7cf$export$40bfa8c7b0832715(o,l,n);return{inputValue:s,setInputValue:c,focusedNodeId:a,setFocusedNodeId:$}}const Vo=u.createContext(null),qo=u.createContext(null);function Go(e){let t=O.$64fa3d84918910a7$export$fabf2dc03a41866e(Vo,e.slot);e=ee.$3ef42575df84b30b$export$9d1611c77c2fe928(t,e);let{filter:o,disableAutoFocusFirst:l}=e,n=Mo(e),a=u.useRef(null),$=u.useRef(null),{inputProps:s,collectionProps:c,collectionRef:h,filter:m}=Oo({...O.$64fa3d84918910a7$export$ef03459518577ad4(e),filter:o,disableAutoFocusFirst:l,inputRef:a,collectionRef:$},n);return u.createElement(O.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[qo,n],[Be.$4e85f108e88277b8$export$698f465ec27e93df,{...s,ref:a}],[Be.$4e85f108e88277b8$export$b0d3ecf7112093a7,{...c,filter:m,ref:h}]]},e.children)}function No(e){var t;let{defaultFilter:o,menuTrigger:l="input",allowsEmptyCollection:n=!1,allowsCustomValue:a,shouldCloseOnBlur:$=!0}=e,[s,c]=u.useState(!1),[h,m]=u.useState(!1),[v,E]=u.useState(null),y=g=>{e.onSelectionChange&&e.onSelectionChange(g),g===p&&(M(),d())};var B;let{collection:x,selectionManager:C,selectedKey:p,setSelectedKey:L,selectedItem:j,disabledKeys:G}=go.$a0d645289fe9b86b$export$e7f05e985daf4b5f({...e,onSelectionChange:y,items:(B=e.items)!==null&&B!==void 0?B:e.defaultItems}),[I,V]=He.$458b0a5536c1a7cf$export$40bfa8c7b0832715(e.inputValue,je(e.defaultInputValue,p,x)||"",e.onInputChange),[X]=u.useState(p),[z]=u.useState(I),U=x,R=u.useMemo(()=>e.items!=null||!o?x:zo(x,I,o),[x,I,o,e.items]),[te,Y]=u.useState(R),q=u.useRef("focus"),Q=g=>{e.onOpenChange&&e.onOpenChange(g,g?q.current:void 0),C.setFocused(g),g||C.setFocusedKey(null)},S=ze.$fc909762b330b746$export$61c6a8c84e605fb6({...e,onOpenChange:Q,isOpen:void 0,defaultOpen:void 0}),N=(g=null,w)=>{let K=w==="manual"||w==="focus"&&l==="focus";(n||R.size>0||K&&U.size>0||e.items)&&(K&&!S.isOpen&&e.items===void 0&&c(!0),q.current=w,E(g),S.open())},W=(g=null,w)=>{let K=w==="manual"||w==="focus"&&l==="focus";!(n||R.size>0||K&&U.size>0||e.items)&&!S.isOpen||(K&&!S.isOpen&&e.items===void 0&&c(!0),S.isOpen||(q.current=w),i(g))},P=u.useCallback(()=>{Y(s?U:R)},[s,U,R]),i=u.useCallback((g=null)=>{S.isOpen&&P(),E(g),S.toggle()},[S,P]),d=u.useCallback(()=>{S.isOpen&&(P(),S.close())},[S,P]),[k,F]=u.useState(I),M=()=>{var g,w;let K=p!=null&&(w=(g=x.getItem(p))===null||g===void 0?void 0:g.textValue)!==null&&w!==void 0?w:"";F(K),V(K)};var T,ie;let oe=u.useRef((ie=(T=e.selectedKey)!==null&&T!==void 0?T:e.defaultSelectedKey)!==null&&ie!==void 0?ie:null);var H;let ae=u.useRef(p!=null&&(H=(t=x.getItem(p))===null||t===void 0?void 0:t.textValue)!==null&&H!==void 0?H:"");u.useEffect(()=>{var g;h&&(R.size>0||n)&&!S.isOpen&&I!==k&&l!=="manual"&&N(null,"input"),!s&&!n&&S.isOpen&&R.size===0&&d(),p!=null&&p!==oe.current&&d(),I!==k&&(C.setFocusedKey(null),c(!1),I===""&&(e.inputValue===void 0||e.selectedKey===void 0)&&L(null)),p!==oe.current&&(e.inputValue===void 0||e.selectedKey===void 0)?M():k!==I&&F(I);var w;let K=p!=null&&(w=(g=x.getItem(p))===null||g===void 0?void 0:g.textValue)!==null&&w!==void 0?w:"";!h&&p!=null&&e.inputValue===void 0&&p===oe.current&&ae.current!==K&&(F(K),V(K)),oe.current=p,ae.current=K});let ce=We.$e5be200c675c3b3a$export$fc1a364ae1f3ff10({...e,value:u.useMemo(()=>({inputValue:I,selectedKey:p}),[I,p])}),be=()=>{a&&p==null?f():b()},f=()=>{oe.current=null,L(null),d()},b=()=>{if(e.selectedKey!==void 0&&e.inputValue!==void 0){var g,w;(g=e.onSelectionChange)===null||g===void 0||g.call(e,p);var K;let yo=p!=null&&(K=(w=x.getItem(p))===null||w===void 0?void 0:w.textValue)!==null&&K!==void 0?K:"";F(yo),d()}else M(),d()};const D=()=>{if(a){var g,w;const K=p!=null&&(w=(g=x.getItem(p))===null||g===void 0?void 0:g.textValue)!==null&&w!==void 0?w:"";I===K?b():f()}else b()};let A=()=>{S.isOpen&&C.focusedKey!=null?p===C.focusedKey?b():L(C.focusedKey):D()},_=u.useRef(I),ue=g=>{g?(_.current=I,l==="focus"&&!e.isReadOnly&&N(null,"focus")):($&&D(),I!==_.current&&ce.commitValidation()),m(g)},Z=u.useMemo(()=>S.isOpen?s?U:R:te,[S.isOpen,U,R,s,te]);var se;let we=(se=e.defaultSelectedKey)!==null&&se!==void 0?se:X;var ve;return{...ce,...S,focusStrategy:v,toggle:W,open:N,close:D,selectionManager:C,selectedKey:p,defaultSelectedKey:we,setSelectedKey:L,disabledKeys:G,isFocused:h,setFocused:ue,selectedItem:j,collection:Z,inputValue:I,defaultInputValue:(ve=je(e.defaultInputValue,we,x))!==null&&ve!==void 0?ve:z,setInputValue:V,commit:A,revert:be}}function zo(e,t,o){return new Bo.$a02d57049d202695$export$d085fb9e920b5ca7(Co(e,e,t,o))}function Co(e,t,o,l){let n=[];for(let a of t)if(a.type==="section"&&a.hasChildNodes){let $=Co(e,J.$c5a24bc478652b5f$export$1005530eda016c13(a,e),o,l);[...$].some(s=>s.type==="item")&&n.push({...a,childNodes:$})}else a.type==="item"&&l(a.textValue,o)?n.push({...a}):a.type!=="item"&&n.push({...a});return n}function je(e,t,o){if(e==null){var l,n;if(t!=null)return(n=(l=o.getItem(t))===null||l===void 0?void 0:l.textValue)!==null&&n!==void 0?n:""}return e}const Uo=u.createContext(null),Le=u.createContext(null),Wo=u.forwardRef(function(t,o){[t,o]=O.$64fa3d84918910a7$export$29f1550f4b0d4415(t,o,Uo);let{children:l,isDisabled:n=!1,isInvalid:a=!1,isRequired:$=!1}=t,s=u.useMemo(()=>{var c;return u.createElement(re.$eed445e0843c11d0$export$7ff8f37d2d81a48d.Provider,{value:{items:(c=t.items)!==null&&c!==void 0?c:t.defaultItems}},typeof l=="function"?l({isOpen:!1,isDisabled:n,isInvalid:a,isRequired:$,defaultChildren:null}):l)},[l,n,a,$,t.items,t.defaultItems]);return u.createElement(Ge.$e1995378a142960e$export$bf788dd355e3a401,{content:s},c=>u.createElement(Jo,{props:t,collection:c,comboBoxRef:o}))}),Ho=[Fe.$01b77f81d0f07f68$export$75b6ee27786ba447,Me.$d2b4bc8c273e7be6$export$24d547caef80ccd1,fe.$3985021b0ad6602f$export$37fb8590cf2c088c,Se.$a049562f99e7db0e$export$f9c6924e160136d1,Te.$514c0188e459b4c0$export$9afb8bc826b033ea];function Jo({props:e,collection:t,comboBoxRef:o}){let{name:l,formValue:n="key",allowsCustomValue:a}=e;a&&(n="text");let{validationBehavior:$}=O.$64fa3d84918910a7$export$fabf2dc03a41866e(qe.$d3e0e05bdfcf66bd$export$c24727297075ec6a)||{};var s,c;let h=(c=(s=e.validationBehavior)!==null&&s!==void 0?s:$)!==null&&c!==void 0?c:"native",{contains:m}=Ue.$bb77f239b46e8c72$export$3274cf84b703fff({sensitivity:"base"}),v=No({defaultFilter:e.defaultFilter||m,...e,items:e.items,children:void 0,collection:t,validationBehavior:h}),E=u.useRef(null),y=u.useRef(null),B=u.useRef(null),x=u.useRef(null),[C,p]=O.$64fa3d84918910a7$export$9d4c57ee4c6ffdd8(!e["aria-label"]&&!e["aria-labelledby"]),{buttonProps:L,inputProps:j,listBoxProps:G,labelProps:I,descriptionProps:V,errorMessageProps:X,...z}=jo({...O.$64fa3d84918910a7$export$ef03459518577ad4(e),label:p,inputRef:y,buttonRef:E,listBoxRef:B,popoverRef:x,name:n==="text"?l:void 0,validationBehavior:h},v),[U,R]=u.useState(null),te=u.useCallback(()=>{if(y.current){var N;let W=(N=E.current)===null||N===void 0?void 0:N.getBoundingClientRect(),P=y.current.getBoundingClientRect(),i=W?Math.min(W.left,P.left):P.left,d=W?Math.max(W.right,P.right):P.right;R(d-i+"px")}},[E,y,R]);ze.$9daab02d461809db$export$683480f191c0e3ea({ref:y,onResize:te});let Y=u.useMemo(()=>({isOpen:v.isOpen,isDisabled:e.isDisabled||!1,isInvalid:z.isInvalid||!1,isRequired:e.isRequired||!1}),[v.isOpen,e.isDisabled,z.isInvalid,e.isRequired]),q=O.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,values:Y,defaultClassName:"react-aria-ComboBox"}),Q=Ne.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e,{global:!0});delete Q.id;var S;return u.createElement(O.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[Le,v],[Fe.$01b77f81d0f07f68$export$75b6ee27786ba447,{...I,ref:C}],[Me.$d2b4bc8c273e7be6$export$24d547caef80ccd1,{...L,ref:E,isPressed:v.isOpen}],[fe.$3985021b0ad6602f$export$37fb8590cf2c088c,{...j,ref:y}],[ne.$de32f1b87079253c$export$d2f961adcb0afbe,v],[ne.$07b14b47974efb58$export$9b9a0cd73afb7ca4,{ref:x,triggerRef:y,scrollRef:B,placement:"bottom start",isNonModal:!0,trigger:"ComboBox",style:{"--trigger-width":U},clearContexts:Ho}],[re.$eed445e0843c11d0$export$7ff8f37d2d81a48d,{...G,ref:B}],[re.$eed445e0843c11d0$export$7c5906fe4f1f2af2,v],[Te.$514c0188e459b4c0$export$9afb8bc826b033ea,{slots:{description:V,errorMessage:X}}],[Se.$a049562f99e7db0e$export$f9c6924e160136d1,{isInvalid:z.isInvalid,isDisabled:e.isDisabled||!1}],[Ve.$ee014567cb39d3f0$export$ff05c3ac10437e03,z]]},u.createElement("div",{...Q,...q,ref:o,slot:e.slot||void 0,"data-focused":v.isFocused||void 0,"data-open":v.isOpen||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":z.isInvalid||void 0,"data-required":e.isRequired||void 0}),l&&n==="key"&&u.createElement("input",{type:"hidden",name:l,form:e.form,value:(S=v.selectedKey)!==null&&S!==void 0?S:""}))}const Zo=u.createContext(null),Xo=Io.$f39a9eba43920ace$export$86427a43e3e48ebb(function(t,o){[t,o]=O.$64fa3d84918910a7$export$29f1550f4b0d4415(t,o,Zo);let{validationBehavior:l}=O.$64fa3d84918910a7$export$fabf2dc03a41866e(qe.$d3e0e05bdfcf66bd$export$c24727297075ec6a)||{};var n,a;let $=(a=(n=t.validationBehavior)!==null&&n!==void 0?n:l)!==null&&a!==void 0?a:"native",s=u.useRef(null);[t,s]=O.$64fa3d84918910a7$export$29f1550f4b0d4415(t,s,Be.$4e85f108e88277b8$export$698f465ec27e93df);let[c,h]=O.$64fa3d84918910a7$export$9d4c57ee4c6ffdd8(!t["aria-label"]&&!t["aria-labelledby"]),[m,v]=u.useState("input"),{labelProps:E,inputProps:y,descriptionProps:B,errorMessageProps:x,...C}=Ye.$2d73ec29415bd339$export$712718f7aec83d5({...O.$64fa3d84918910a7$export$ef03459518577ad4(t),inputElementType:m,label:h,validationBehavior:$},s),p=u.useCallback(G=>{s.current=G,G&&v(G instanceof HTMLTextAreaElement?"textarea":"input")},[s]),L=O.$64fa3d84918910a7$export$4d86445c2cf5e3({...t,values:{isDisabled:t.isDisabled||!1,isInvalid:C.isInvalid,isReadOnly:t.isReadOnly||!1,isRequired:t.isRequired||!1},defaultClassName:"react-aria-TextField"}),j=Ne.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(t,{global:!0});return delete j.id,u.createElement("div",{...j,...L,ref:o,slot:t.slot||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":C.isInvalid||void 0,"data-readonly":t.isReadOnly||void 0,"data-required":t.isRequired||void 0},u.createElement(O.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[Fe.$01b77f81d0f07f68$export$75b6ee27786ba447,{...E,ref:c}],[fe.$3985021b0ad6602f$export$37fb8590cf2c088c,{...y,ref:p}],[Lo.$216918bed6669f72$export$2dc6166a7e65358c,{...y,ref:p}],[Se.$a049562f99e7db0e$export$f9c6924e160136d1,{role:"presentation",isInvalid:C.isInvalid,isDisabled:t.isDisabled||!1}],[Te.$514c0188e459b4c0$export$9afb8bc826b033ea,{slots:{description:B,errorMessage:x}}],[Ve.$ee014567cb39d3f0$export$ff05c3ac10437e03,C]]},L.children))}),{withProvider:Yo,withContext:le}=Oe.createSlotRecipeContext({key:"combobox"}),Qo=Yo("div","root"),_o=le("div","leadingElement"),ho=le("div","value"),vo=le("div","buttonGroup"),eu=le("div","popover"),tu=le("input","multiSelectInput"),ou=le("div","options"),uu=le("div","optionGroup"),nu=le("div","option"),lu=le("span","optionIndicator"),iu=le("span","optionContent"),cu=e=>{const{placeholder:t,inputValue:o,allowsCustomValue:l,onSubmitCustomValue:n,onInputChange:a,ref:$}=e,[s,c]=O.$64fa3d84918910a7$export$29f1550f4b0d4415({},$||null,fe.$3985021b0ad6602f$export$37fb8590cf2c088c),h=u.useContext(Le),m=u.useCallback(v=>{if(h?.selectedKey&&c.current&&c.current.selectionStart===0&&c.current.selectionEnd===0&&c.current.value.length>0&&v.key.length===1&&!v.ctrlKey&&!v.metaKey&&!v.altKey){v.preventDefault(),v.stopPropagation(),h.setInputValue(v.key);return}if(v.key==="Enter"&&o&&o?.trim()!==""&&a&&l&&n&&h)if(h.collection){const y=Array.from(h.collection).find(B=>B.textValue.toLowerCase()===o.toLowerCase());y?h.setSelectedKey(y.key):n(o)}else n(o)},[o,a,l,n,h]);return r.jsx(ho,{asChild:!0,children:r.jsx(fe.$3985021b0ad6602f$export$f5b8910cec6cf069,{ref:c,...s,onKeyDown:m,placeholder:t})})},Ie=({children:e,ref:t,...o})=>{const[l,n]=De.extractStyleProps(o);return r.jsx(ou,{...l,asChild:!0,children:r.jsx(re.$eed445e0843c11d0$export$41f133550aa26f48,{ref:t,...n,children:e})})};Ie.displayName="ComboBox.Options";const $e=Ce.defineMessages({comboboxDialog:{id:"Nimbus.ComboBox.comboboxDialog",description:"aria-label for the combobox dialog overlay",defaultMessage:"Combobox dialog"},filterOptions:{id:"Nimbus.ComboBox.filterOptions",description:"aria-label for the combobox filter input field",defaultMessage:"Filter combobox options"},options:{id:"Nimbus.ComboBox.options",description:"aria-label for the combobox options list",defaultMessage:"Combobox options"},selectedValues:{id:"Nimbus.ComboBox.selectedValues",description:"aria-label for the selected values tag group in multi-select",defaultMessage:"Selected values"},clearSelection:{id:"Nimbus.ComboBox.clearSelection",description:"aria-label for the clear selection button",defaultMessage:"Clear selection"},toggleCombobox:{id:"Nimbus.ComboBox.toggleCombobox",description:"aria-label for the combobox toggle button",defaultMessage:"Toggle combobox"}}),ru=({isDisabled:e,isReadOnly:t,isLoading:o})=>{const l=Ce.useIntl(),n=u.useContext(Le);return r.jsxs(vo,{children:[n?.selectedKey&&r.jsx(ge.IconButton,{pointerEvents:"all",slot:null,size:"2xs",variant:"ghost",tone:"primary","aria-label":l.formatMessage($e.clearSelection),isDisabled:e||t,_expanded:{bg:"transparent"},onPress:()=>n?.setSelectedKey(null),my:"auto",children:r.jsx(pe.Close,{})}),o?r.jsx(Qe.Flex,{my:"auto",w:"600",h:"600",children:r.jsx(he.Box,{color:"neutral.11",asChild:!0,m:"auto",w:"400",h:"400",children:r.jsx(he.Box,{asChild:!0,animation:"spin",animationDuration:"slowest","data-testid":"nimbus-combobox-loading",children:r.jsx(pe.Loop,{})})})}):r.jsx(ge.IconButton,{size:"2xs",variant:"ghost","aria-label":l.formatMessage($e.toggleCombobox),tone:"neutral",my:"auto",isDisabled:e||t,_expanded:{bg:"transparent"},children:r.jsx(pe.KeyboardArrowDown,{})})]})},mo=({children:e})=>{const t=u.useRef(null);return u.useEffect(()=>{const o=t.current;if(!o)return;const l=()=>{const a=o.offsetWidth,$=o.closest(".nimbus-combobox__root");$ instanceof HTMLElement&&$.style.setProperty("--leading-element-width",`${a}px`)};l();const n=new ResizeObserver(l);return n.observe(o),()=>{n.disconnect()}},[]),r.jsx(_o,{ref:t,children:e})},au=({children:e,inputValue:t,onInputChange:o,placeholder:l,allowsCustomValue:n,onSubmitCustomValue:a,renderEmptyState:$,shouldFocusWrap:s=!0,isLoading:c,leadingElement:h,ref:m,...v})=>{if(a&&(t===void 0||!o))throw new Error('ComboBox: When "onSubmitCustomValue" is provided, "inputValue" must be controlled with "onInputChange"');const E=u.useRef(null),y=u.useCallback(()=>{E.current&&E.current.value&&requestAnimationFrame(()=>E.current?.setSelectionRange(0,0))},[E]);return r.jsxs(Wo,{inputValue:t,onInputChange:o,onFocus:y,allowsCustomValue:n,menuTrigger:"focus",shouldFocusWrap:s,...v,ref:m,children:[h&&r.jsx(mo,{children:h}),r.jsx(cu,{ref:E,placeholder:l,inputValue:t,allowsCustomValue:n,onSubmitCustomValue:a,onInputChange:o}),r.jsx(ru,{isLoading:c,isDisabled:v.isDisabled,isReadOnly:v.isReadOnly}),r.jsx(ne.$07b14b47974efb58$export$5b6b19405a83ff9d,{children:r.jsx(Ie,{renderEmptyState:$,children:e})})]})};function Ke(e){return e!=null&&typeof e=="object"&&"children"in e&&Array.isArray(e.children)}function Ee(e,t,o){if(e){if(!Object.prototype.hasOwnProperty.call(e,"id")&&t==="id")throw new Error("ComboBox: if items do not have an `id` key, you must specify which key uniquely identifies items using the `itemId` prop");if(!Object.prototype.hasOwnProperty.call(e,"name")&&o==="name")throw new Error("ComboBox: if items do not have a `name` key, you must specify which key can be used as a text value using the `itemValue` prop")}}const su=(({selectedKeys:e=new Set,items:t,itemId:o="id",itemValue:l="name",placeholder:n,onSelectionChange:a,isDisabled:$,isReadOnly:s,size:c,containerRef:h,ref:m})=>{const v=Ce.useIntl(),E=u.useMemo(()=>{if(!t)return[];const B=Array.from(e);if(Array.isArray(t)){const C=t[0];if(C&&Ke(C)){const L=[];return t.forEach(j=>{Ke(j)&&L.push(...j.children)}),Ee(L?.[0],o,l),B.map(j=>L.find(G=>G[o]===j)).filter(j=>j!==void 0)}const p=t;return Ee(p?.[0],o,l),B.map(L=>p.find(j=>j[o]===L)).filter(L=>L!==void 0)}const x=B.map(C=>Array.from(t).find(p=>p[o]===C)).filter(C=>C!==void 0);return Ee(x?.[0],o,l),x},[t,e,o]),y=u.useCallback(B=>{if(!($||s)&&e instanceof Set){const x=e,C=new Set([...x].filter(p=>!B.has(p)));a?.(C),h?.current&&h.current.focus()}},[$,s,e,a]);return r.jsx(ne.$f1ab8c75478c6f73$export$cf75428e0b9ed1ea,{children:r.jsx(ho,{asChild:!0,alignItems:"space-between",justifyContent:"center",ref:m,children:r.jsx(ye.TagGroup.Root,{size:c,onRemove:y,"aria-label":v.formatMessage($e.selectedValues),selectionMode:"none",disabledKeys:$||s?e:void 0,"data-disabled":$,children:r.jsx(ye.TagGroup.TagList,{items:E,dependencies:[o],maxW:"100%",tabIndex:E.length===0||$||s?-1:void 0,renderEmptyState:()=>n&&r.jsx("div",{"data-placeholder":"true",style:{maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis"},children:n}),children:B=>r.jsx(ye.TagGroup.Tag,{id:B[o],maxW:"100%",children:B[l]})})})})})}),du=({selectedKeys:e,onSelectionChange:t,onInputChange:o,containerRef:l,isDisabled:n,isReadOnly:a,isLoading:$})=>{const s=Ce.useIntl(),c=u.useCallback(()=>{t?.(new Set),o?.(""),l?.current&&l.current.focus()},[]);return r.jsxs(vo,{children:[r.jsx(ne.$f1ab8c75478c6f73$export$cf75428e0b9ed1ea,{children:e instanceof Set&&e.size>0&&r.jsx(ge.IconButton,{pointerEvents:"all",slot:null,size:"2xs",variant:"ghost",tone:"primary","aria-label":s.formatMessage($e.clearSelection),isDisabled:n||a,onPress:c,my:"auto",children:r.jsx(pe.Close,{})})}),r.jsx(Qe.Flex,{my:"auto",w:"600",h:"600",color:"neutral.11",opacity:a||n?"0.5":void 0,cursor:a||n?"not-allowed":void 0,children:r.jsx(he.Box,{pointerEvents:"none",asChild:!0,m:"auto",w:"400",h:"400",children:$?r.jsx(he.Box,{asChild:!0,animation:"spin",animationDuration:"slowest","data-testid":"nimbus-combobox-loading",children:r.jsx(pe.Loop,{})}):r.jsx(pe.KeyboardArrowDown,{})})})]})};function pu(e){let t;for(t of e);return t}const $u=({children:e,defaultFilter:t,inputValue:o,defaultInputValue:l,onInputChange:n,defaultSelectedKeys:a=new Set,selectedKeys:$,onSelectionChange:s,onOpenChange:c,disabledKeys:h,items:m,defaultItems:v,itemId:E="id",itemValue:y="name",isLoading:B,isDisabled:x,isReadOnly:C,isRequired:p,isInvalid:L,className:j,placeholder:G,size:I="md",allowsCustomValue:V,onSubmitCustomValue:X,renderEmptyState:z,ref:U,leadingElement:R,...te})=>{const Y=Ce.useIntl(),[q,Q]=u.useState(!1),S=u.useRef(!1),[N,W]=u.useState(),P=$??N??a,i=s??W,[d,k]=u.useState(""),F=o??d??l,M=n??k,T=m??v,ie=Ue.$bb77f239b46e8c72$export$3274cf84b703fff({sensitivity:"base"}),oe=(...A)=>ie.contains.apply(void 0,A),H=u.useCallback(A=>{if(x||C){q&&Q(!1);return}c&&c?.(A),Q(A),A||(S.current=!0,requestAnimationFrame(()=>{setTimeout(()=>{S.current=!1},50)}))},[x,C,c,q]);u.useEffect(()=>{(x||C)&&H(!1)},[x,C]);const ae=u.useCallback(A=>{x||C||A.target===A.currentTarget&&!q&&!S.current&&H(!0)},[q]),ce=u.useCallback(()=>{if(P!=="all"&&P instanceof Set){const A=pu(P);if(A!=null){const _=new Set(P);_.delete(A),i(_)}}},[P,i]),be=u.useCallback(A=>{(A.key==="ArrowDown"||A.key==="ArrowUp"||A.key==="Enter")&&A.target===b.current&&(A.preventDefault(),H(!0))},[]),f=u.useCallback(A=>{if(A.key==="Backspace"&&F===""){ce();return}if(A.key==="Escape"){H(!1),b.current&&b.current.focus();return}if(A.key==="Enter"&&F.trim()!==""&&V&&X)if(A.stopPropagation(),T){const _=F.trim(),ue=Array.from(T).find(Z=>(typeof Z=="object"&&Z!==null&&y in Z?String(Z[y]):JSON.stringify(Z)).toLowerCase()===_.toLowerCase());if(ue){const Z=typeof ue=="object"&&ue!==null&&E in ue?ue[E]:ue,se=new Set(P);se.add(Z),i(se),M("")}else X(F),M("")}else X(F),M("")},[F,ce,V,X,T,y,E,P,i,M]),b=u.useRef(null),D=Oe.mergeRefs(U,b);return r.jsxs(ne.$de32f1b87079253c$export$2e1e1122cf0cba88,{isOpen:q,onOpenChange:H,children:[r.jsx(Ro,{allowTextSelectionOnPress:!0,children:r.jsxs("div",{className:j,tabIndex:x?-1:0,ref:D,role:"combobox",onKeyDown:be,onFocus:ae,"aria-expanded":q,"aria-haspopup":"dialog","aria-disabled":x,"aria-readonly":C,"aria-required":p,"aria-invalid":L,"data-disabled":x,"data-invalid":L,"data-required":p,"data-open":q,...te,children:[R&&r.jsx(mo,{children:R}),r.jsx(su,{items:T,selectedKeys:P,onSelectionChange:i,itemId:E,itemValue:y,placeholder:G,size:I,containerRef:b,isDisabled:x,isReadOnly:C}),r.jsx(du,{selectedKeys:P,onSelectionChange:i,onInputChange:M,containerRef:b,isDisabled:x,isReadOnly:C,isLoading:B})]})}),r.jsx(eu,{asChild:!0,children:r.jsx(ne.$07b14b47974efb58$export$5b6b19405a83ff9d,{triggerRef:b,placement:"bottom start",children:r.jsx(ne.$de32f1b87079253c$export$3ddf2d174ce01153,{"aria-label":Y.formatMessage($e.comboboxDialog),children:r.jsxs(Go,{filter:t??oe,inputValue:F,onInputChange:M,children:[r.jsx(tu,{asChild:!0,children:r.jsx(Xo,{autoFocus:!0,isDisabled:x,isReadOnly:C,isRequired:p,"aria-label":Y.formatMessage($e.filterOptions),children:r.jsx(fe.$3985021b0ad6602f$export$f5b8910cec6cf069,{onKeyDownCapture:f,placeholder:G})})}),r.jsx(Ie,{items:T,selectionMode:"multiple",onSelectionChange:i,selectedKeys:P,shouldFocusWrap:!0,disabledKeys:x?"all":h,escapeKeyBehavior:"none","aria-label":Y.formatMessage($e.options),renderEmptyState:z,children:e})]})})})})]})},Pe=({children:e,ref:t,...o})=>{const l=Eo.useSlotRecipe({recipe:Ao.comboBoxSlotRecipe}),[n,a]=l.splitVariantProps(o),[$,s]=De.extractStyleProps(a),c="selectionMode"in o&&o.selectionMode==="multiple"?$u:au;return r.jsx(Qo,{asChild:!0,selectionMode:o.selectionMode,...n,...$,children:r.jsx(c,{ref:t,size:o.size,...s,children:e})})};Pe.displayName="ComboBox.Root";const ke=({children:e,label:t,items:o,ref:l,...n})=>{if(o&&typeof e!="function")throw new Error('ComboBoxOptionGroup: When "items" is provided, "children" must be a function');return r.jsxs(re.$eed445e0843c11d0$export$dca12b0bb56e4fc,{ref:l,...n,children:[r.jsx(uu,{asChild:!0,children:r.jsx(Ze.$72a5793c14baf454$export$8b251419efc915eb,{children:t})}),o?r.jsx(Ge.$e1995378a142960e$export$fb8073518f34e6ec,{items:o,children:a=>typeof e=="function"?e(a):null}):e]})};ke.displayName="ComboBox.OptionGroup";const Re=({children:e,ref:t,...o})=>{const[l,n]=De.extractStyleProps(o),a=typeof e=="string"?e:void 0;return r.jsx(nu,{...l,asChild:!0,children:r.jsx(re.$eed445e0843c11d0$export$a11e76429ed99b4,{ref:t,textValue:o.textValue??a,"aria-label":o.textValue??a,...n,children:$=>{const s=typeof e=="function"?e({...$}):e;return $.selectionMode==="multiple"?r.jsxs(r.Fragment,{children:[r.jsx(lu,{children:r.jsx("span",{"data-selected":$.isSelected,children:$.isSelected&&r.jsx(pe.Check,{})})}),r.jsx(iu,{children:s})]}):r.jsx(r.Fragment,{children:s})}})})};Re.displayName="ComboBox.Option";const bu={Root:Pe,OptionGroup:ke,Option:Re};exports.ComboBox=bu;exports.ComboBoxOption=Re;exports.ComboBoxOptionGroup=ke;exports.ComboBoxRoot=Pe;
|
|
2
|
-
//# sourceMappingURL=combobox-CJEs8K1H.cjs.js.map
|