@midas-ds/components 10.2.0 → 10.4.0
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/AccordionItem-BcsoC78F.cjs +1 -0
- package/{AccordionItem-DZT76sWu.js → AccordionItem-BqsgiVWV.js} +43 -41
- package/{BadgeContainer-D3RtqcPF.js → BadgeContainer-DM8TdyMT.js} +4 -4
- package/{BadgeContainer-DeUgqGqb.cjs → BadgeContainer-I1XA3OCl.cjs} +1 -1
- package/Breadcrumbs-CfW5IuyE.cjs +1 -0
- package/{Breadcrumbs-CmZXtTiS.js → Breadcrumbs-D7eoibWk.js} +85 -73
- package/{Button-iSiWjocA.cjs → Button-BXY5ZhqI.cjs} +1 -1
- package/{Button-CbFRzRrF.js → Button-BZUo7vsZ.js} +2 -2
- package/Button-CFYdzG0H.js +341 -0
- package/Button-DExMoP5f.cjs +1 -0
- package/Button.module-DEQtBYe5.cjs +1 -0
- package/Button.module-tti8HGxs.js +14 -0
- package/CHANGELOG.md +48 -0
- package/{Card-CaKKKv9k.js → Card-BaWSgtSF.js} +5 -5
- package/Card-Cc1TNPcQ.cjs +1 -0
- package/{CharacterCounter-CrY8QRuY.cjs → CharacterCounter-DSFBv3Rw.cjs} +1 -1
- package/CharacterCounter-cLhqPZlk.js +22 -0
- package/Checkbox-Co3h0hur.cjs +1 -0
- package/Checkbox-LuUwTZ3W.js +264 -0
- package/CheckboxGroup-CUA8_xSx.js +160 -0
- package/CheckboxGroup-DmUOM0xl.cjs +1 -0
- package/{Collection-C5ONNBqd.js → Collection--62xKPm9.js} +19 -18
- package/Collection-BtBX5IMY.cjs +1 -0
- package/{ColorSchemeSwitch-CbAWIJCg.js → ColorSchemeSwitch-Cwono7Ap.js} +48 -32
- package/ColorSchemeSwitch-DDXdSzqg.cjs +16 -0
- package/ComboBox-BBC7jhnm.cjs +1 -0
- package/{ComboBox-BCaqPEIH.js → ComboBox-HLIAbb2q.js} +360 -345
- package/DateField-B3VjOSde.cjs +1 -0
- package/DateField-CnLEi7uX.js +47 -0
- package/DateInputDivider-3BvwXXa9.cjs +1 -0
- package/{DateInputDivider-Dx8n1Lxp.js → DateInputDivider-Bi5N-C0c.js} +73 -73
- package/DateRangePicker-BPlZ12r8.cjs +6 -0
- package/{DateRangePicker-BmBvwqo6.js → DateRangePicker-CFOoGvut.js} +192 -189
- package/Dialog-CSnN6baf.cjs +1 -0
- package/{Dialog-CYxThuMl.js → Dialog-CtVrVuMr.js} +565 -538
- package/Dialog-SqciohRY.js +221 -0
- package/Dialog-pSSy1zwf.cjs +1 -0
- package/DragAndDrop-BoEd260f.cjs +1 -0
- package/{DragAndDrop-CSwmPhxC.js → DragAndDrop-DkSTL28C.js} +8 -8
- package/{Dropdown-nkjzsVYX.js → Dropdown-CkBp70BH.js} +2 -2
- package/{Dropdown-CaGon9OR.cjs → Dropdown-DAsVShlt.cjs} +1 -1
- package/FieldError-B3YFj-an.js +23 -0
- package/{FieldError-CZikNDxX.js → FieldError-BbR-29BM.js} +8 -8
- package/{FieldError-DqdfJ3fs.cjs → FieldError-MVsU-Mgw.cjs} +1 -1
- package/{FieldError-BZw8UzBk.cjs → FieldError-bRTpchvr.cjs} +1 -1
- package/{FileUpload-ULwcYDxs.js → FileUpload-B4rv-wke.js} +502 -480
- package/{FileUpload-DYRZ0M9F.cjs → FileUpload-BwMhyLjG.cjs} +2 -2
- package/{FocusScope-DwIqdYpQ.js → FocusScope-D_hwN_TJ.js} +38 -37
- package/FocusScope-vcXLOQiu.cjs +1 -0
- package/Group-CpkUzEAs.js +45 -0
- package/Group-DOpbdoAi.cjs +1 -0
- package/Heading-CKTR4sOz.cjs +1 -0
- package/{Heading-BY5-QN4S.js → Heading-NxtGri2i.js} +7 -7
- package/{Hidden-B5ir3Lei.js → Hidden-C9KWUR7b.js} +2 -2
- package/{InfoBanner-CVIBFSWx.js → InfoBanner-CBUoad7A.js} +45 -36
- package/InfoBanner-CVry6Y8i.cjs +1 -0
- package/Input-LnjmFI1x.js +42 -0
- package/Input-MJji5hhq.cjs +1 -0
- package/Label-CNmTN1YY.cjs +1 -0
- package/Label-TVxwGZ-O.js +78 -0
- package/Layout-Dw-oCqxd.cjs +16 -0
- package/Layout-amz9BESl.js +498 -0
- package/{Link-B-nus-FT.js → Link-Bn8V3ZI0.js} +20 -19
- package/Link-CidjjqHb.cjs +1 -0
- package/{Link-DsnCtNeI.cjs → Link-D92ftFi2.cjs} +1 -1
- package/{Link-uFowN4qv.js → Link-DegonJfl.js} +1 -1
- package/LinkButton-CckYzfJ8.js +69 -0
- package/LinkButton-DKZ4z6zu.cjs +6 -0
- package/ListBox-BCz5-23H.cjs +1 -0
- package/{ListBox-DOi_y_Lt.js → ListBox-C-isJIHL.js} +56 -55
- package/{ListBoxButton-O6zN3P4W.js → ListBoxButton-C_krklY0.js} +1 -1
- package/{ListBoxButton-CFeNhJhr.cjs → ListBoxButton-DNm3gvcT.cjs} +1 -1
- package/{ListBoxSection-C1aLKL9p.js → ListBoxSection-BVR2xtOH.js} +9 -9
- package/ListBoxSection-CfQZoURJ.cjs +1 -0
- package/ListKeyboardDelegate-CPsZ7D83.cjs +1 -0
- package/{ListKeyboardDelegate-DNOzQ8nc.js → ListKeyboardDelegate-CY6t6y1t.js} +24 -15
- package/Logo-BpH0HC91.cjs +1 -0
- package/{Logo-BIrOEINM.js → Logo-ME4ffCue.js} +34 -26
- package/{OverlayArrow-DorA4Rbr.js → OverlayArrow-CfhSYL46.js} +28 -27
- package/OverlayArrow-DpZ1FqOd.cjs +1 -0
- package/Popover-C8VY1YKi.js +38 -0
- package/Popover-CnAsw3wI.cjs +1 -0
- package/{ProgressBar-gmAzSsrz.js → ProgressBar-BNCjpcv8.js} +2 -2
- package/ProgressBar-CcbxcWdT.cjs +1 -0
- package/Radio-B2zfEFdq.cjs +1 -0
- package/{Radio-_ukSkxPT.js → Radio-CZYibh9r.js} +81 -78
- package/{RangeCalendar-uXwoBL-O.js → RangeCalendar-B16b6tJD.js} +303 -294
- package/RangeCalendar-C1LFeOVk.cjs +11 -0
- package/SSRProvider-40TXmsUG.js +50 -0
- package/SSRProvider-Bc-sMhsT.cjs +1 -0
- package/SearchField-CML0kjtn.cjs +6 -0
- package/{SearchField-DYl2uo7o.js → SearchField-giwECmXS.js} +175 -166
- package/Select-DKey6CeS.cjs +1 -0
- package/Select-mwaAv20X.js +665 -0
- package/SelectionManager-D0jYUYcy.cjs +1 -0
- package/{SelectionManager-6H88Cv6B.js → SelectionManager-zsWy3vsd.js} +86 -86
- package/Separator-CxF-3jhR.cjs +1 -0
- package/{Separator-LYnFqh4L.js → Separator-Dn5LYN5I.js} +19 -20
- package/Spinner-CbJ6YAz-.js +53 -0
- package/Spinner-yHcy8YHC.cjs +6 -0
- package/TabList-7VtCiXxX.cjs +1 -0
- package/TabList-CthsM5h6.js +435 -0
- package/{Table-B_N7wUmA.js → Table-BcQPvJT3.js} +67 -69
- package/Table-DkvNp6xm.cjs +16 -0
- package/{Tag-g6HN-YCv.js → Tag-Bs8T2Ei7.js} +140 -141
- package/Tag-CFWZ2LQW.cjs +1 -0
- package/{Text-B_H68Tvq.js → Text-92cPh38G.js} +3 -3
- package/{Text-B2K-BJKQ.cjs → Text-CfcjRtke.cjs} +1 -1
- package/{Text-3MNwRMpI.cjs → Text-DBHWi5gA.cjs} +1 -1
- package/{Text-BN-g1iWi.js → Text-DlKqpvSa.js} +1 -1
- package/TextArea-DBNAVWqL.js +119 -0
- package/TextArea-XJDfeXRs.cjs +1 -0
- package/TextField-BdK9KEQ5.cjs +1 -0
- package/{TextField-DBaRuNj7.js → TextField-ByDJkig9.js} +22 -21
- package/{Toast-CjpldAI8.js → Toast-DPPvPhrF.js} +95 -87
- package/Toast-l1bKo2oA.cjs +1 -0
- package/ToggleButtonGroup-DH8IgR4G.cjs +1 -0
- package/{ToggleButtonGroup-Ceh9_yBM.js → ToggleButtonGroup-HOWNWtQZ.js} +47 -46
- package/{Tooltip-BAIjaYax.js → Tooltip-5mLWn_wO.js} +53 -51
- package/Tooltip-pN5W3IK6.cjs +1 -0
- package/{VisuallyHidden-D-4z1VgU.js → VisuallyHidden-CYfmTSCD.js} +8 -8
- package/VisuallyHidden-Doyzl0F7.cjs +1 -0
- package/accordion/index.cjs +1 -1
- package/accordion/index.js +1 -1
- package/{arrow-right-Cw48o2oW.cjs → arrow-right-QJ2gXPKQ.cjs} +1 -1
- package/assets/Button.css +1 -1
- package/assets/Checkbox.css +1 -1
- package/assets/FileUpload.css +1 -1
- package/assets/Label.css +1 -1
- package/assets/LinkButton.css +1 -1
- package/assets/Popover.css +1 -0
- package/assets/RangeCalendar.css +1 -1
- package/assets/SearchField.css +1 -1
- package/assets/Spinner.css +1 -1
- package/assets/TabList.css +1 -0
- package/badge/index.cjs +1 -1
- package/badge/index.js +1 -1
- package/breadcrumbs/Breadcrumbs.d.ts +11 -7
- package/breadcrumbs/index.cjs +1 -1
- package/breadcrumbs/index.d.ts +1 -1
- package/breadcrumbs/index.js +1 -1
- package/button/index.cjs +1 -1
- package/button/index.js +1 -1
- package/calendar/CalendarGrid.d.ts +1 -0
- package/calendar/index.cjs +1 -1
- package/calendar/index.js +1 -1
- package/card/index.cjs +1 -1
- package/card/index.js +1 -1
- package/character-counter/index.cjs +1 -1
- package/character-counter/index.js +1 -1
- package/{check-Dw9c62O4.cjs → check-D_KoootC.cjs} +1 -1
- package/checkbox/Checkbox.d.ts +4 -2
- package/checkbox/CheckboxGroup.d.ts +8 -8
- package/checkbox/CheckboxGroupFieldError.d.ts +8 -0
- package/checkbox/CheckboxGroupItem.d.ts +3 -0
- package/checkbox/CheckboxInner.d.ts +2 -0
- package/checkbox/SingleCheckbox.d.ts +3 -0
- package/checkbox/context.d.ts +3 -0
- package/checkbox/index.cjs +1 -1
- package/checkbox/index.d.ts +2 -1
- package/checkbox/index.js +2 -2
- package/checkbox/intl/translations.json.d.ts +7 -0
- package/checkbox/types.d.ts +16 -0
- package/checkbox/useSelectAll.d.ts +7 -0
- package/{chevron-down-C2E7aZ3N.cjs → chevron-down-jl83cllc.cjs} +1 -1
- package/{info-DkzVqB8I.js → circle-check-B9HYcH7Z.js} +4 -16
- package/{info-DlzSeKbc.cjs → circle-check-BGo8gML8.cjs} +2 -7
- package/color-scheme-switch/ColorSchemeSwitch.d.ts +1 -0
- package/color-scheme-switch/index.cjs +1 -1
- package/color-scheme-switch/index.js +1 -1
- package/color-scheme-switch/intl/translations.json.d.ts +15 -0
- package/combobox/ComboBox.d.ts +3 -1
- package/combobox/index.cjs +1 -1
- package/combobox/index.js +1 -1
- package/combobox/intl/translations.json.d.ts +11 -0
- package/{context-B8cn10po.js → context-CGNJ3grH.js} +11 -11
- package/context-Df3XbgBG.cjs +1 -0
- package/{createLucideIcon-DAY4oS-S.cjs → createLucideIcon-Cg_wkoIA.cjs} +1 -1
- package/date-field/DateField.d.ts +3 -0
- package/date-field/index.cjs +1 -1
- package/date-field/index.js +2 -2
- package/date-picker/DatePicker.d.ts +3 -0
- package/date-picker/DateRangePicker.d.ts +3 -0
- package/date-picker/index.cjs +1 -1
- package/date-picker/index.js +1 -1
- package/dropdown/index.cjs +1 -1
- package/dropdown/index.js +1 -1
- package/field-error/index.cjs +1 -1
- package/field-error/index.js +1 -1
- package/file-upload/FileUpload.d.ts +4 -0
- package/file-upload/index.cjs +1 -1
- package/file-upload/index.js +1 -1
- package/file-upload/intl/translations.json.d.ts +17 -0
- package/{getScrollParent-Ru2U2LlM.js → getScrollParent-CT_L9LUr.js} +1 -1
- package/{getScrollParent-DuKmPmUa.cjs → getScrollParent-CsZ9ciml.cjs} +1 -1
- package/heading/index.cjs +1 -1
- package/heading/index.js +1 -1
- package/{index-BSMrH_Du.js → index-CGRFP4CC.js} +7 -7
- package/{index-D97L3EBk.cjs → index-Dsz3aiWt.cjs} +2 -2
- package/index.cjs +1 -1
- package/index.d.ts +1 -0
- package/index.js +105 -100
- package/inertValue-B3AFhVG4.cjs +1 -0
- package/info-BZwphdye.js +15 -0
- package/info-CIEIENo6.cjs +6 -0
- package/info-banner/index.cjs +1 -1
- package/info-banner/index.js +1 -1
- package/info-banner/intl/translations.json.d.ts +11 -0
- package/label/InfoPopover.d.ts +9 -0
- package/label/LabelWrapper.d.ts +11 -0
- package/label/index.cjs +1 -1
- package/label/index.d.ts +1 -0
- package/label/index.js +1 -1
- package/label/intl/translations.json.d.ts +11 -0
- package/layout/Layout.d.ts +1 -0
- package/layout/context/LayoutContext.d.ts +1 -0
- package/layout/index.cjs +1 -1
- package/layout/index.js +1 -1
- package/layout/intl/translations.json.d.ts +23 -0
- package/link/index.cjs +1 -1
- package/link/index.js +2 -2
- package/link-button/index.cjs +1 -1
- package/link-button/index.js +2 -2
- package/list-box/index.cjs +1 -1
- package/list-box/index.js +2 -2
- package/logo/index.cjs +1 -1
- package/logo/index.js +1 -1
- package/logo/intl/translations.json.d.ts +11 -0
- package/mergeProps-B5KXZAI3.cjs +1 -0
- package/mergeProps-C1U1OIeJ.js +115 -0
- package/modal/index.cjs +1 -1
- package/modal/index.js +2 -2
- package/modal/intl/translations.json.d.ts +11 -0
- package/package.json +1 -1
- package/popover/Popover.d.ts +7 -0
- package/popover/index.cjs +1 -0
- package/popover/index.d.ts +1 -0
- package/popover/index.js +4 -0
- package/progress-bar/index.cjs +1 -1
- package/progress-bar/index.js +1 -1
- package/radio/Radio.d.ts +4 -4
- package/radio/index.cjs +1 -1
- package/radio/index.js +1 -1
- package/scrollIntoView-BLnsPvFA.js +87 -0
- package/scrollIntoView-joIyo-Jt.cjs +1 -0
- package/search-field/index.cjs +1 -1
- package/search-field/index.js +1 -1
- package/search-field/intl/translations.json.d.ts +11 -0
- package/select/index.cjs +1 -1
- package/select/index.js +1 -1
- package/select/intl/translations.json.d.ts +17 -0
- package/spinner/Spinner.d.ts +1 -0
- package/spinner/index.cjs +1 -1
- package/spinner/index.js +1 -1
- package/spinner/intl/translations.json.d.ts +11 -0
- package/{square-arrow-out-up-right-BCAO2eJs.cjs → square-arrow-out-up-right-V4Gd08uI.cjs} +1 -1
- package/table/index.cjs +1 -1
- package/table/index.js +1 -1
- package/tabs/Tab.d.ts +4 -0
- package/tabs/TabList.d.ts +3 -0
- package/tabs/TabPanel.d.ts +4 -0
- package/tabs/Tabs.d.ts +11 -5
- package/tabs/index.cjs +1 -1
- package/tabs/index.d.ts +3 -0
- package/tabs/index.js +5 -2
- package/tag/index.cjs +1 -1
- package/tag/index.js +1 -1
- package/text/index.cjs +1 -1
- package/text/index.js +1 -1
- package/textfield/TextFieldBase.d.ts +2 -0
- package/textfield/index.cjs +1 -1
- package/textfield/index.js +1 -1
- package/textfield/intl/translations.json.d.ts +0 -72
- package/theme/index.cjs +1 -1
- package/theme/index.d.ts +5 -0
- package/theme/index.js +2 -2
- package/theme/tokens.d.ts +5 -0
- package/toast/Toast.d.ts +5 -2
- package/toast/index.cjs +1 -1
- package/toast/index.js +1 -1
- package/toggle-button/index.cjs +1 -1
- package/toggle-button/index.js +1 -1
- package/{tokens-p6pg1Cea.cjs → tokens-BghDnMdO.cjs} +1 -1
- package/{tokens-xp-7KMK7.js → tokens-fEwCQXDv.js} +16 -11
- package/tooltip/index.cjs +1 -1
- package/tooltip/index.js +1 -1
- package/{triangle-alert-C0lvfCYH.cjs → triangle-alert-DJW8U7jL.cjs} +1 -1
- package/{useButton-C-Lq7CNY.js → useButton-1-Jf-oHj.js} +6 -6
- package/useButton-D60q0SQw.cjs +1 -0
- package/{useDateFormatter-g2maMTGH.cjs → useDateFormatter-BJBt0jk_.cjs} +1 -1
- package/{useDateFormatter-C53Uxdli.js → useDateFormatter-BVCkxVdw.js} +2 -2
- package/{useEvent-Cyd2ZL0c.js → useEvent-CigwyJOw.js} +3 -3
- package/useEvent-DPxMu-X9.cjs +1 -0
- package/{useField-BPMAlIbU.js → useField-BEBXv5Mh.js} +7 -7
- package/useField-D1UkzeaI.cjs +1 -0
- package/{useFilter-ChIbnALW.js → useFilter-CousKe2K.js} +1 -1
- package/useFilter-e2oIVF_O.cjs +1 -0
- package/useFocusRing-B-A1OLhU.cjs +1 -0
- package/useFocusRing-DOfBqnUN.js +33 -0
- package/useFocusWithin-CG8mAt2D.cjs +1 -0
- package/useFocusWithin-T1ifEM_s.js +54 -0
- package/useFocusable-ChPA2Jc7.js +127 -0
- package/useFocusable-D7I1ujkW.cjs +1 -0
- package/useFormValidation-BlFGdPZB.cjs +1 -0
- package/{useFormValidation-R8hQIjWP.js → useFormValidation-BzzruZKm.js} +5 -5
- package/{useHasTabbableChild-DsD9AJwE.js → useHasTabbableChild-BE81d_ab.js} +2 -2
- package/useHasTabbableChild-CoQRpNbC.cjs +1 -0
- package/useHighlightSelectionDescription-BfR_vGOe.cjs +1 -0
- package/{useHighlightSelectionDescription-DFfcgbUj.js → useHighlightSelectionDescription-D73hrkmn.js} +14 -14
- package/useHover-BE_XKZKe.cjs +1 -0
- package/useHover-DQvJ3Y-W.js +262 -0
- package/useLabels-CSU0kbtJ.cjs +1 -0
- package/{useLabels-BZjoZA1Z.js → useLabels-LrKQiY11.js} +1 -1
- package/{useListState-DFQ9d-uE.js → useListState-CebsX_1d.js} +7 -7
- package/{useListState-Ca2-uZMO.cjs → useListState-DymkJGDF.cjs} +1 -1
- package/useLocalizedStringFormatter-BO2iZEL0.cjs +1 -0
- package/useLocalizedStringFormatter-BiX5BTlb.cjs +1 -0
- package/{useLocalizedStringFormatter-D07YB2e1.js → useLocalizedStringFormatter-CL9MUZ8A.js} +1 -1
- package/useLocalizedStringFormatter-N0AyjzbM.js +25 -0
- package/useObserveElement-MhzEsCkX.cjs +1 -0
- package/usePress-BooY_CAy.cjs +7 -0
- package/{usePress-CUJ3pMOw.js → usePress-DuR4pVsE.js} +154 -153
- package/{useSingleSelectListState-C-nB8cug.js → useSingleSelectListState-BLXvGjLI.js} +1 -1
- package/{useSingleSelectListState-MGNxUTum.cjs → useSingleSelectListState-BPhlCU26.cjs} +1 -1
- package/{useTextField-5OZQPyOW.js → useTextField-C-sUypsx.js} +14 -14
- package/useTextField-DnRrCg5o.cjs +1 -0
- package/{useUpdateEffect-sk3kiVGz.cjs → useUpdateEffect-C5YQs_1w.cjs} +1 -1
- package/utils/intl/useLocalizedStringFormatter.d.ts +2 -0
- package/utils-CoCR_Fce.js +234 -0
- package/utils-DHNZrQmj.cjs +1 -0
- package/utils-DJhAJHk_.js +152 -0
- package/utils-Dvdohqm9.cjs +1 -0
- package/{x-CvxiAZTW.cjs → x-H8Zrx8-x.cjs} +1 -1
- package/AccordionItem-Z_c9MpAM.cjs +0 -1
- package/Breadcrumbs-Cx09jwZZ.cjs +0 -1
- package/Button-DnhqHU01.cjs +0 -1
- package/Button-ZOQy9Ivu.js +0 -78
- package/Button.module-CMMhIrkn.js +0 -14
- package/Button.module-DO5s9hOk.cjs +0 -1
- package/Card-C0BFW3wJ.cjs +0 -1
- package/CharacterCounter-CPGdboVJ.js +0 -22
- package/Checkbox-CvFsn_FL.js +0 -380
- package/Checkbox-DSxGAJX2.cjs +0 -1
- package/CheckboxGroup-Bk9DPq4I.cjs +0 -1
- package/CheckboxGroup-Dij9zKlF.js +0 -54
- package/Collection-Csx3L9gh.cjs +0 -1
- package/ColorSchemeSwitch-JRrCyYVv.cjs +0 -16
- package/ComboBox-gveQKHU3.cjs +0 -1
- package/DateField-CAQlzuDD.js +0 -46
- package/DateField-deVVFwKA.cjs +0 -1
- package/DateInputDivider-DnUxETEC.cjs +0 -1
- package/DateRangePicker-BzfitoK0.cjs +0 -6
- package/Dialog-Bd5hK360.cjs +0 -1
- package/Dialog-Bxx8cBEq.js +0 -208
- package/Dialog-CwTEAujZ.cjs +0 -1
- package/DragAndDrop-HvycSrKY.cjs +0 -1
- package/FieldError-Dv3bBEjh.js +0 -23
- package/FocusScope-NaPbvuuS.cjs +0 -1
- package/Group-CeSsSQVC.js +0 -44
- package/Group-CgiqQHH1.cjs +0 -1
- package/Heading-DoJAtYZf.cjs +0 -1
- package/InfoBanner-BS-dAfzO.cjs +0 -1
- package/Input-D8Ku_FQz.js +0 -41
- package/Input-DKSAYvsw.cjs +0 -1
- package/Label-C9ivwkAd.js +0 -21
- package/Label-CUV21CAv.cjs +0 -1
- package/Label-DkDOsmUF.js +0 -16
- package/Label-IMWAyoKb.cjs +0 -1
- package/Layout-BWeHHnqU.cjs +0 -16
- package/Layout-CCt_2L1k.js +0 -468
- package/Link-SHMbeyIP.cjs +0 -1
- package/LinkButton-CuBilDML.js +0 -69
- package/LinkButton-CymMrcGL.cjs +0 -6
- package/ListBox-CDOsQChA.cjs +0 -1
- package/ListBoxSection-DGCP6xpf.cjs +0 -1
- package/ListKeyboardDelegate-BqMETvPv.cjs +0 -1
- package/LiveAnnouncer-B6177m92.js +0 -51
- package/LiveAnnouncer-CwEWPU8b.cjs +0 -1
- package/Logo-DT2_2O43.cjs +0 -1
- package/NumberFormatter-DewVDY5w.cjs +0 -1
- package/NumberFormatter-DgOUVrge.js +0 -119
- package/OverlayArrow-D75k-EMl.cjs +0 -1
- package/PressResponder-C06O3Z5P.cjs +0 -1
- package/PressResponder-CVEg5kND.js +0 -33
- package/ProgressBar-Bkw9zavs.cjs +0 -1
- package/ProgressBar-CEX2WNoW.js +0 -77
- package/ProgressBar-Dqh3ftSP.cjs +0 -1
- package/Radio-CDKrvQe4.cjs +0 -1
- package/RangeCalendar-cbCKBPZv.cjs +0 -11
- package/SearchField-6yBGiojX.cjs +0 -6
- package/Select-CpHjd1tp.cjs +0 -1
- package/Select-PvCqY7Lp.js +0 -646
- package/SelectionManager-C5NGBzvz.cjs +0 -1
- package/Separator-nPra6kD-.cjs +0 -1
- package/Spinner-D31SXm-U.js +0 -41
- package/Spinner-DAJtfxqJ.cjs +0 -6
- package/Table-D9vNc_y-.cjs +0 -16
- package/Tabs-Ct6D83aR.js +0 -404
- package/Tabs-Dtcl2oK2.cjs +0 -1
- package/Tag-CVFkzg3s.cjs +0 -1
- package/TextArea-DSiQ578a.js +0 -206
- package/TextArea-cVyGBRbL.cjs +0 -1
- package/TextField-B70CL2qz.cjs +0 -1
- package/Toast-DrkOGy4d.cjs +0 -1
- package/ToggleButtonGroup-BuU_6dYe.cjs +0 -1
- package/Tooltip-CiWg4zIC.cjs +0 -1
- package/VisuallyHidden-CtXvK_Tw.cjs +0 -1
- package/assets/Tabs.css +0 -1
- package/context-DjwhtgxQ.cjs +0 -1
- package/focusSafely-Bqfo_DH7.cjs +0 -1
- package/focusSafely-C48ucRUz.js +0 -56
- package/inertValue-BWmZ1afe.cjs +0 -1
- package/scrollIntoView-ClEACHUk.js +0 -57
- package/scrollIntoView-DRSoJp89.cjs +0 -1
- package/useButton-B1Fa-6qE.cjs +0 -1
- package/useCollator-C_ozeWLo.cjs +0 -1
- package/useCollator-CgZcHC8N.js +0 -11
- package/useDescription-CVKhFa3c.js +0 -32
- package/useDescription-DmQYSEES.cjs +0 -1
- package/useEvent-CjkbBniY.cjs +0 -1
- package/useField-B1RU0GKs.cjs +0 -1
- package/useFilter-CtIwF2qW.cjs +0 -1
- package/useFocusRing-BDGH3lpn.js +0 -82
- package/useFocusRing-CbImDrwF.cjs +0 -1
- package/useFocusable-CaedRTpB.js +0 -74
- package/useFocusable-CuPQ7Cm5.cjs +0 -1
- package/useFormValidation-ClximP89.cjs +0 -1
- package/useHasTabbableChild-DgphNvnk.cjs +0 -1
- package/useHighlightSelectionDescription-BizKjvPU.cjs +0 -1
- package/useHover-_mv5J4_q.cjs +0 -1
- package/useHover-qRAon4nS.js +0 -490
- package/useLabel-DDdAJ1JO.js +0 -23
- package/useLabel-m_S5xkHy.cjs +0 -1
- package/useLabels-BLOfc6Y-.cjs +0 -1
- package/useLocalizedStringFormatter-u9SJaOwk.cjs +0 -1
- package/useObserveElement-BzEr5D32.cjs +0 -1
- package/usePress-BFa6cT9o.cjs +0 -7
- package/useTextField-CtUDWsUl.cjs +0 -1
- package/utils-BNtZbAib.cjs +0 -1
- package/utils-HNTsIwux.js +0 -308
|
@@ -1,41 +1,67 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { $ as
|
|
4
|
-
import { h as
|
|
5
|
-
import { $ as
|
|
6
|
-
import { $ as Lr, a as zr, b as Ae, c as _r, d as Hr } from "./Separator-
|
|
7
|
-
import f, { useRef as
|
|
8
|
-
import { a as Ur } from "./Text-
|
|
9
|
-
import { $ as
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { $ as
|
|
17
|
-
import {
|
|
18
|
-
import { a as
|
|
19
|
-
import
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import { $ as
|
|
24
|
-
import { $ as
|
|
25
|
-
import { $ as
|
|
26
|
-
|
|
27
|
-
|
|
1
|
+
import { e as Er } from "./Button-CFYdzG0H.js";
|
|
2
|
+
import { f as be, $ as re, a as G, e as _, b as Dr, g as de, h as Cr, c as wr } from "./utils-DJhAJHk_.js";
|
|
3
|
+
import { $ as Ar } from "./RSPContexts-BW2SEIqe.js";
|
|
4
|
+
import { h as Mr, e as Sr, d as kr, a as Te, b as Br, c as Fr, f as Kr, g as Re } from "./OverlayArrow-CfhSYL46.js";
|
|
5
|
+
import { $ as Or, b as Tr, c as Rr, d as Ie, e as Ir, g as Nr } from "./Collection--62xKPm9.js";
|
|
6
|
+
import { $ as Lr, a as zr, b as Ae, c as _r, d as Hr } from "./Separator-Dn5LYN5I.js";
|
|
7
|
+
import f, { useRef as M, useContext as P, useEffect as F, useMemo as z, useState as B, useCallback as me, forwardRef as ge, createContext as D } from "react";
|
|
8
|
+
import { a as Ur } from "./Text-92cPh38G.js";
|
|
9
|
+
import { a as H, d as Me, c as oe, $ as j, e as ce, b as Q } from "./mergeProps-C1U1OIeJ.js";
|
|
10
|
+
import { $ as K } from "./filterDOMProps-D6KHYVBX.js";
|
|
11
|
+
import { l as Vr, d as Wr, $ as Ne, a as jr, b as Le } from "./SelectionManager-zsWy3vsd.js";
|
|
12
|
+
import { g as fe, b as Gr, a as qr, c as Zr } from "./usePress-DuR4pVsE.js";
|
|
13
|
+
import { e as Jr, f as Yr, a as $e } from "./useFocusable-ChPA2Jc7.js";
|
|
14
|
+
import { l as Xr, $ as ze, a as Se, c as Qr } from "./useHover-DQvJ3Y-W.js";
|
|
15
|
+
import { b as eo, m as ke } from "./utils-CoCR_Fce.js";
|
|
16
|
+
import { $ as _e } from "./useLocalizedStringFormatter-CL9MUZ8A.js";
|
|
17
|
+
import { $ as to } from "./useControlledState-u436Wbp1.js";
|
|
18
|
+
import { c as ro, a as He } from "./FocusScope-D_hwN_TJ.js";
|
|
19
|
+
import oo from "react-dom";
|
|
20
|
+
import { $ as ao } from "./SSRProvider-40TXmsUG.js";
|
|
21
|
+
import { b as no } from "./Hidden-C9KWUR7b.js";
|
|
22
|
+
import { $ as so } from "./context-CGNJ3grH.js";
|
|
23
|
+
import { $ as lo } from "./useFocusWithin-T1ifEM_s.js";
|
|
24
|
+
import { $ as Ue } from "./getScrollParent-CT_L9LUr.js";
|
|
25
|
+
import { $ as io } from "./useLabels-LrKQiY11.js";
|
|
26
|
+
import { $ as uo } from "./VisuallyHidden-CYfmTSCD.js";
|
|
27
|
+
const Ve = /* @__PURE__ */ f.forwardRef(({ children: t, ...e }, r) => {
|
|
28
|
+
let a = M(!1), o = P(fe);
|
|
29
|
+
r = be(r || (o == null ? void 0 : o.ref));
|
|
30
|
+
let s = H(o || {}, {
|
|
31
|
+
...e,
|
|
32
|
+
ref: r,
|
|
33
|
+
register() {
|
|
34
|
+
a.current = !0, o && o.register();
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
return Jr(o, r), F(() => {
|
|
38
|
+
a.current || (process.env.NODE_ENV !== "production" && console.warn("A PressResponder was rendered without a pressable child. Either call the usePress hook, or wrap your DOM node with <Pressable> component."), a.current = !0);
|
|
39
|
+
}, []), /* @__PURE__ */ f.createElement(fe.Provider, {
|
|
40
|
+
value: s
|
|
41
|
+
}, t);
|
|
42
|
+
});
|
|
43
|
+
function co({ children: t }) {
|
|
44
|
+
let e = z(() => ({
|
|
45
|
+
register: () => {
|
|
46
|
+
}
|
|
47
|
+
}), []);
|
|
48
|
+
return /* @__PURE__ */ f.createElement(fe.Provider, {
|
|
49
|
+
value: e
|
|
50
|
+
}, t);
|
|
51
|
+
}
|
|
52
|
+
function fo(t) {
|
|
53
|
+
let { ref: e, onInteractOutside: r, isDisabled: a, onInteractOutsideStart: o } = t, s = M({
|
|
28
54
|
isPointerDown: !1,
|
|
29
55
|
ignoreEmulatedMouseEvents: !1
|
|
30
|
-
}), u =
|
|
31
|
-
r && Y(n, e) && (
|
|
32
|
-
}), i =
|
|
56
|
+
}), u = Me((n) => {
|
|
57
|
+
r && Y(n, e) && (o && o(n), s.current.isPointerDown = !0);
|
|
58
|
+
}), i = Me((n) => {
|
|
33
59
|
r && r(n);
|
|
34
60
|
});
|
|
35
|
-
|
|
61
|
+
F(() => {
|
|
36
62
|
let n = s.current;
|
|
37
|
-
if (
|
|
38
|
-
const d = e.current, l =
|
|
63
|
+
if (a) return;
|
|
64
|
+
const d = e.current, l = eo(d);
|
|
39
65
|
if (typeof PointerEvent < "u") {
|
|
40
66
|
let $ = (p) => {
|
|
41
67
|
n.isPointerDown && Y(p, e) && i(p), n.isPointerDown = !1;
|
|
@@ -55,7 +81,7 @@ function ua(t) {
|
|
|
55
81
|
}
|
|
56
82
|
}, [
|
|
57
83
|
e,
|
|
58
|
-
|
|
84
|
+
a,
|
|
59
85
|
u,
|
|
60
86
|
i
|
|
61
87
|
]);
|
|
@@ -68,37 +94,37 @@ function Y(t, e) {
|
|
|
68
94
|
}
|
|
69
95
|
return e.current ? !t.composedPath().includes(e.current) : !1;
|
|
70
96
|
}
|
|
71
|
-
const
|
|
72
|
-
function
|
|
73
|
-
let { onClose: r, shouldCloseOnBlur:
|
|
74
|
-
|
|
75
|
-
if (
|
|
76
|
-
return
|
|
77
|
-
let b =
|
|
78
|
-
b >= 0 &&
|
|
97
|
+
const w = [];
|
|
98
|
+
function $o(t, e) {
|
|
99
|
+
let { onClose: r, shouldCloseOnBlur: a, isOpen: o, isDismissable: s = !1, isKeyboardDismissDisabled: u = !1, shouldCloseOnInteractOutside: i } = t;
|
|
100
|
+
F(() => {
|
|
101
|
+
if (o && !w.includes(e))
|
|
102
|
+
return w.push(e), () => {
|
|
103
|
+
let b = w.indexOf(e);
|
|
104
|
+
b >= 0 && w.splice(b, 1);
|
|
79
105
|
};
|
|
80
106
|
}, [
|
|
81
|
-
|
|
107
|
+
o,
|
|
82
108
|
e
|
|
83
109
|
]);
|
|
84
110
|
let n = () => {
|
|
85
|
-
|
|
111
|
+
w[w.length - 1] === e && r && r();
|
|
86
112
|
}, d = (b) => {
|
|
87
|
-
(!i || i(b.target)) &&
|
|
113
|
+
(!i || i(b.target)) && w[w.length - 1] === e && (b.stopPropagation(), b.preventDefault());
|
|
88
114
|
}, l = (b) => {
|
|
89
|
-
(!i || i(b.target)) && (
|
|
115
|
+
(!i || i(b.target)) && (w[w.length - 1] === e && (b.stopPropagation(), b.preventDefault()), n());
|
|
90
116
|
}, $ = (b) => {
|
|
91
117
|
b.key === "Escape" && !u && !b.nativeEvent.isComposing && (b.stopPropagation(), b.preventDefault(), n());
|
|
92
118
|
};
|
|
93
|
-
|
|
119
|
+
fo({
|
|
94
120
|
ref: e,
|
|
95
|
-
onInteractOutside: s &&
|
|
121
|
+
onInteractOutside: s && o ? l : void 0,
|
|
96
122
|
onInteractOutsideStart: d
|
|
97
123
|
});
|
|
98
|
-
let { focusWithinProps: p } =
|
|
99
|
-
isDisabled: !
|
|
124
|
+
let { focusWithinProps: p } = lo({
|
|
125
|
+
isDisabled: !a,
|
|
100
126
|
onBlurWithin: (b) => {
|
|
101
|
-
!b.relatedTarget ||
|
|
127
|
+
!b.relatedTarget || ro(b.relatedTarget) || (!i || i(b.relatedTarget)) && (r == null || r());
|
|
102
128
|
}
|
|
103
129
|
}), c = (b) => {
|
|
104
130
|
b.target === b.currentTarget && b.preventDefault();
|
|
@@ -113,19 +139,19 @@ function da(t, e) {
|
|
|
113
139
|
}
|
|
114
140
|
};
|
|
115
141
|
}
|
|
116
|
-
function
|
|
117
|
-
let { type:
|
|
118
|
-
|
|
119
|
-
r && r.current &&
|
|
142
|
+
function We(t, e, r) {
|
|
143
|
+
let { type: a } = t, { isOpen: o } = e;
|
|
144
|
+
F(() => {
|
|
145
|
+
r && r.current && Mr.set(r.current, e.close);
|
|
120
146
|
});
|
|
121
147
|
let s;
|
|
122
|
-
|
|
123
|
-
let u =
|
|
148
|
+
a === "menu" ? s = !0 : a === "listbox" && (s = "listbox");
|
|
149
|
+
let u = oe();
|
|
124
150
|
return {
|
|
125
151
|
triggerProps: {
|
|
126
152
|
"aria-haspopup": s,
|
|
127
|
-
"aria-expanded":
|
|
128
|
-
"aria-controls":
|
|
153
|
+
"aria-expanded": o,
|
|
154
|
+
"aria-controls": o ? u : void 0,
|
|
129
155
|
onPress: e.toggle
|
|
130
156
|
},
|
|
131
157
|
overlayProps: {
|
|
@@ -133,7 +159,7 @@ function Ve(t, e, r) {
|
|
|
133
159
|
}
|
|
134
160
|
};
|
|
135
161
|
}
|
|
136
|
-
const ie = typeof document < "u" && window.visualViewport,
|
|
162
|
+
const ie = typeof document < "u" && window.visualViewport, po = /* @__PURE__ */ new Set([
|
|
137
163
|
"checkbox",
|
|
138
164
|
"radio",
|
|
139
165
|
"range",
|
|
@@ -145,39 +171,39 @@ const ie = typeof document < "u" && window.visualViewport, ca = /* @__PURE__ */
|
|
|
145
171
|
"reset"
|
|
146
172
|
]);
|
|
147
173
|
let X = 0, ue;
|
|
148
|
-
function
|
|
174
|
+
function bo(t = {}) {
|
|
149
175
|
let { isDisabled: e } = t;
|
|
150
|
-
|
|
176
|
+
j(() => {
|
|
151
177
|
if (!e)
|
|
152
|
-
return X++, X === 1 && (
|
|
178
|
+
return X++, X === 1 && (Xr() ? ue = go() : ue = mo()), () => {
|
|
153
179
|
X--, X === 0 && ue();
|
|
154
180
|
};
|
|
155
181
|
}, [
|
|
156
182
|
e
|
|
157
183
|
]);
|
|
158
184
|
}
|
|
159
|
-
function
|
|
185
|
+
function mo() {
|
|
160
186
|
let t = window.innerWidth - document.documentElement.clientWidth;
|
|
161
|
-
return
|
|
162
|
-
("scrollbarGutter" in document.documentElement.style ?
|
|
187
|
+
return ce(t > 0 && // Use scrollbar-gutter when supported because it also works for fixed positioned elements.
|
|
188
|
+
("scrollbarGutter" in document.documentElement.style ? k(document.documentElement, "scrollbarGutter", "stable") : k(document.documentElement, "paddingRight", `${t}px`)), k(document.documentElement, "overflow", "hidden"));
|
|
163
189
|
}
|
|
164
|
-
function
|
|
190
|
+
function go() {
|
|
165
191
|
let t, e, r = (d) => {
|
|
166
|
-
t = Ue(d.target, !0), !(t === document.documentElement && t === document.body) && t instanceof HTMLElement && window.getComputedStyle(t).overscrollBehavior === "auto" && (e =
|
|
167
|
-
},
|
|
192
|
+
t = Ue(d.target, !0), !(t === document.documentElement && t === document.body) && t instanceof HTMLElement && window.getComputedStyle(t).overscrollBehavior === "auto" && (e = k(t, "overscrollBehavior", "contain"));
|
|
193
|
+
}, a = (d) => {
|
|
168
194
|
if (!t || t === document.documentElement || t === document.body) {
|
|
169
195
|
d.preventDefault();
|
|
170
196
|
return;
|
|
171
197
|
}
|
|
172
198
|
t.scrollHeight === t.clientHeight && t.scrollWidth === t.clientWidth && d.preventDefault();
|
|
173
|
-
},
|
|
199
|
+
}, o = () => {
|
|
174
200
|
e && e();
|
|
175
201
|
}, s = (d) => {
|
|
176
202
|
let l = d.target;
|
|
177
|
-
|
|
203
|
+
vo(l) && (i(), l.style.transform = "translateY(-2000px)", requestAnimationFrame(() => {
|
|
178
204
|
l.style.transform = "", ie && (ie.height < window.innerHeight ? requestAnimationFrame(() => {
|
|
179
|
-
|
|
180
|
-
}) : ie.addEventListener("resize", () =>
|
|
205
|
+
Be(l);
|
|
206
|
+
}) : ie.addEventListener("resize", () => Be(l), {
|
|
181
207
|
once: !0
|
|
182
208
|
}));
|
|
183
209
|
}));
|
|
@@ -186,230 +212,230 @@ function pa() {
|
|
|
186
212
|
let d = () => {
|
|
187
213
|
window.scrollTo(0, 0);
|
|
188
214
|
}, l = window.pageXOffset, $ = window.pageYOffset;
|
|
189
|
-
u =
|
|
215
|
+
u = ce(V(window, "scroll", d), k(document.documentElement, "paddingRight", `${window.innerWidth - document.documentElement.clientWidth}px`), k(document.documentElement, "overflow", "hidden"), k(document.body, "marginTop", `-${$}px`), () => {
|
|
190
216
|
window.scrollTo(l, $);
|
|
191
217
|
}), window.scrollTo(0, 0);
|
|
192
|
-
}, n =
|
|
218
|
+
}, n = ce(V(document, "touchstart", r, {
|
|
193
219
|
passive: !1,
|
|
194
220
|
capture: !0
|
|
195
|
-
}),
|
|
221
|
+
}), V(document, "touchmove", a, {
|
|
196
222
|
passive: !1,
|
|
197
223
|
capture: !0
|
|
198
|
-
}),
|
|
224
|
+
}), V(document, "touchend", o, {
|
|
199
225
|
passive: !1,
|
|
200
226
|
capture: !0
|
|
201
|
-
}),
|
|
227
|
+
}), V(document, "focus", s, !0));
|
|
202
228
|
return () => {
|
|
203
229
|
e == null || e(), u == null || u(), n();
|
|
204
230
|
};
|
|
205
231
|
}
|
|
206
|
-
function
|
|
207
|
-
let
|
|
232
|
+
function k(t, e, r) {
|
|
233
|
+
let a = t.style[e];
|
|
208
234
|
return t.style[e] = r, () => {
|
|
209
|
-
t.style[e] =
|
|
235
|
+
t.style[e] = a;
|
|
210
236
|
};
|
|
211
237
|
}
|
|
212
|
-
function
|
|
213
|
-
return t.addEventListener(e, r,
|
|
214
|
-
t.removeEventListener(e, r,
|
|
238
|
+
function V(t, e, r, a) {
|
|
239
|
+
return t.addEventListener(e, r, a), () => {
|
|
240
|
+
t.removeEventListener(e, r, a);
|
|
215
241
|
};
|
|
216
242
|
}
|
|
217
|
-
function
|
|
243
|
+
function Be(t) {
|
|
218
244
|
let e = document.scrollingElement || document.documentElement, r = t;
|
|
219
245
|
for (; r && r !== e; ) {
|
|
220
|
-
let
|
|
221
|
-
if (
|
|
222
|
-
let
|
|
223
|
-
s >
|
|
246
|
+
let a = Ue(r);
|
|
247
|
+
if (a !== document.documentElement && a !== document.body && a !== r) {
|
|
248
|
+
let o = a.getBoundingClientRect().top, s = r.getBoundingClientRect().top;
|
|
249
|
+
s > o + r.clientHeight && (a.scrollTop += s - o);
|
|
224
250
|
}
|
|
225
|
-
r =
|
|
251
|
+
r = a.parentElement;
|
|
226
252
|
}
|
|
227
253
|
}
|
|
228
|
-
function
|
|
229
|
-
return t instanceof HTMLInputElement && !
|
|
254
|
+
function vo(t) {
|
|
255
|
+
return t instanceof HTMLInputElement && !po.has(t.type) || t instanceof HTMLTextAreaElement || t instanceof HTMLElement && t.isContentEditable;
|
|
230
256
|
}
|
|
231
|
-
var We = {};
|
|
232
|
-
We = {
|
|
233
|
-
dismiss: "تجاهل"
|
|
234
|
-
};
|
|
235
257
|
var je = {};
|
|
236
258
|
je = {
|
|
237
|
-
dismiss: "
|
|
259
|
+
dismiss: "تجاهل"
|
|
238
260
|
};
|
|
239
261
|
var Ge = {};
|
|
240
262
|
Ge = {
|
|
241
|
-
dismiss: "
|
|
263
|
+
dismiss: "Отхвърляне"
|
|
242
264
|
};
|
|
243
265
|
var qe = {};
|
|
244
266
|
qe = {
|
|
245
|
-
dismiss: "
|
|
267
|
+
dismiss: "Odstranit"
|
|
246
268
|
};
|
|
247
269
|
var Ze = {};
|
|
248
270
|
Ze = {
|
|
249
|
-
dismiss: "
|
|
271
|
+
dismiss: "Luk"
|
|
250
272
|
};
|
|
251
273
|
var Je = {};
|
|
252
274
|
Je = {
|
|
253
|
-
dismiss: "
|
|
275
|
+
dismiss: "Schließen"
|
|
254
276
|
};
|
|
255
277
|
var Ye = {};
|
|
256
278
|
Ye = {
|
|
257
|
-
dismiss: "
|
|
279
|
+
dismiss: "Απόρριψη"
|
|
258
280
|
};
|
|
259
281
|
var Xe = {};
|
|
260
282
|
Xe = {
|
|
261
|
-
dismiss: "
|
|
283
|
+
dismiss: "Dismiss"
|
|
262
284
|
};
|
|
263
285
|
var Qe = {};
|
|
264
286
|
Qe = {
|
|
265
|
-
dismiss: "
|
|
287
|
+
dismiss: "Descartar"
|
|
266
288
|
};
|
|
267
289
|
var et = {};
|
|
268
290
|
et = {
|
|
269
|
-
dismiss: "
|
|
291
|
+
dismiss: "Lõpeta"
|
|
270
292
|
};
|
|
271
293
|
var tt = {};
|
|
272
294
|
tt = {
|
|
273
|
-
dismiss: "
|
|
295
|
+
dismiss: "Hylkää"
|
|
274
296
|
};
|
|
275
297
|
var rt = {};
|
|
276
298
|
rt = {
|
|
299
|
+
dismiss: "Rejeter"
|
|
300
|
+
};
|
|
301
|
+
var ot = {};
|
|
302
|
+
ot = {
|
|
277
303
|
dismiss: "התעלם"
|
|
278
304
|
};
|
|
279
305
|
var at = {};
|
|
280
306
|
at = {
|
|
281
307
|
dismiss: "Odbaci"
|
|
282
308
|
};
|
|
283
|
-
var ot = {};
|
|
284
|
-
ot = {
|
|
285
|
-
dismiss: "Elutasítás"
|
|
286
|
-
};
|
|
287
309
|
var nt = {};
|
|
288
310
|
nt = {
|
|
289
|
-
dismiss: "
|
|
311
|
+
dismiss: "Elutasítás"
|
|
290
312
|
};
|
|
291
313
|
var st = {};
|
|
292
314
|
st = {
|
|
293
|
-
dismiss: "
|
|
315
|
+
dismiss: "Ignora"
|
|
294
316
|
};
|
|
295
317
|
var lt = {};
|
|
296
318
|
lt = {
|
|
297
|
-
dismiss: "
|
|
319
|
+
dismiss: "閉じる"
|
|
298
320
|
};
|
|
299
321
|
var it = {};
|
|
300
322
|
it = {
|
|
301
|
-
dismiss: "
|
|
323
|
+
dismiss: "무시"
|
|
302
324
|
};
|
|
303
325
|
var ut = {};
|
|
304
326
|
ut = {
|
|
305
|
-
dismiss: "
|
|
327
|
+
dismiss: "Atmesti"
|
|
306
328
|
};
|
|
307
329
|
var dt = {};
|
|
308
330
|
dt = {
|
|
309
|
-
dismiss: "
|
|
331
|
+
dismiss: "Nerādīt"
|
|
310
332
|
};
|
|
311
333
|
var ct = {};
|
|
312
334
|
ct = {
|
|
313
|
-
dismiss: "
|
|
335
|
+
dismiss: "Lukk"
|
|
314
336
|
};
|
|
315
337
|
var ft = {};
|
|
316
338
|
ft = {
|
|
317
|
-
dismiss: "
|
|
339
|
+
dismiss: "Negeren"
|
|
318
340
|
};
|
|
319
341
|
var $t = {};
|
|
320
342
|
$t = {
|
|
321
|
-
dismiss: "
|
|
343
|
+
dismiss: "Zignoruj"
|
|
322
344
|
};
|
|
323
345
|
var pt = {};
|
|
324
346
|
pt = {
|
|
325
|
-
dismiss: "
|
|
347
|
+
dismiss: "Descartar"
|
|
326
348
|
};
|
|
327
349
|
var bt = {};
|
|
328
350
|
bt = {
|
|
329
|
-
dismiss: "
|
|
351
|
+
dismiss: "Dispensar"
|
|
330
352
|
};
|
|
331
353
|
var mt = {};
|
|
332
354
|
mt = {
|
|
333
|
-
dismiss: "
|
|
355
|
+
dismiss: "Revocare"
|
|
334
356
|
};
|
|
335
357
|
var gt = {};
|
|
336
358
|
gt = {
|
|
337
|
-
dismiss: "
|
|
359
|
+
dismiss: "Пропустить"
|
|
338
360
|
};
|
|
339
361
|
var vt = {};
|
|
340
362
|
vt = {
|
|
341
|
-
dismiss: "
|
|
363
|
+
dismiss: "Zrušiť"
|
|
342
364
|
};
|
|
343
365
|
var xt = {};
|
|
344
366
|
xt = {
|
|
345
|
-
dismiss: "
|
|
367
|
+
dismiss: "Opusti"
|
|
346
368
|
};
|
|
347
369
|
var yt = {};
|
|
348
370
|
yt = {
|
|
349
|
-
dismiss: "
|
|
371
|
+
dismiss: "Odbaci"
|
|
350
372
|
};
|
|
351
373
|
var ht = {};
|
|
352
374
|
ht = {
|
|
353
|
-
dismiss: "
|
|
375
|
+
dismiss: "Avvisa"
|
|
354
376
|
};
|
|
355
377
|
var Pt = {};
|
|
356
378
|
Pt = {
|
|
357
|
-
dismiss: "
|
|
379
|
+
dismiss: "Kapat"
|
|
358
380
|
};
|
|
359
381
|
var Et = {};
|
|
360
382
|
Et = {
|
|
361
|
-
dismiss: "
|
|
383
|
+
dismiss: "Скасувати"
|
|
362
384
|
};
|
|
363
385
|
var Dt = {};
|
|
364
386
|
Dt = {
|
|
365
|
-
dismiss: "
|
|
387
|
+
dismiss: "取消"
|
|
366
388
|
};
|
|
367
389
|
var Ct = {};
|
|
368
390
|
Ct = {
|
|
369
|
-
"
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
"
|
|
374
|
-
"
|
|
375
|
-
"
|
|
376
|
-
"
|
|
377
|
-
"
|
|
378
|
-
"
|
|
379
|
-
"
|
|
380
|
-
"
|
|
391
|
+
dismiss: "關閉"
|
|
392
|
+
};
|
|
393
|
+
var wt = {};
|
|
394
|
+
wt = {
|
|
395
|
+
"ar-AE": je,
|
|
396
|
+
"bg-BG": Ge,
|
|
397
|
+
"cs-CZ": qe,
|
|
398
|
+
"da-DK": Ze,
|
|
399
|
+
"de-DE": Je,
|
|
400
|
+
"el-GR": Ye,
|
|
401
|
+
"en-US": Xe,
|
|
402
|
+
"es-ES": Qe,
|
|
403
|
+
"et-EE": et,
|
|
404
|
+
"fi-FI": tt,
|
|
405
|
+
"fr-FR": rt,
|
|
406
|
+
"he-IL": ot,
|
|
381
407
|
"hr-HR": at,
|
|
382
|
-
"hu-HU":
|
|
383
|
-
"it-IT":
|
|
384
|
-
"ja-JP":
|
|
385
|
-
"ko-KR":
|
|
386
|
-
"lt-LT":
|
|
387
|
-
"lv-LV":
|
|
388
|
-
"nb-NO":
|
|
389
|
-
"nl-NL":
|
|
390
|
-
"pl-PL":
|
|
391
|
-
"pt-BR":
|
|
392
|
-
"pt-PT":
|
|
393
|
-
"ro-RO":
|
|
394
|
-
"ru-RU":
|
|
395
|
-
"sk-SK":
|
|
396
|
-
"sl-SI":
|
|
397
|
-
"sr-SP":
|
|
398
|
-
"sv-SE":
|
|
399
|
-
"tr-TR":
|
|
400
|
-
"uk-UA":
|
|
401
|
-
"zh-CN":
|
|
402
|
-
"zh-TW":
|
|
403
|
-
};
|
|
404
|
-
function
|
|
408
|
+
"hu-HU": nt,
|
|
409
|
+
"it-IT": st,
|
|
410
|
+
"ja-JP": lt,
|
|
411
|
+
"ko-KR": it,
|
|
412
|
+
"lt-LT": ut,
|
|
413
|
+
"lv-LV": dt,
|
|
414
|
+
"nb-NO": ct,
|
|
415
|
+
"nl-NL": ft,
|
|
416
|
+
"pl-PL": $t,
|
|
417
|
+
"pt-BR": pt,
|
|
418
|
+
"pt-PT": bt,
|
|
419
|
+
"ro-RO": mt,
|
|
420
|
+
"ru-RU": gt,
|
|
421
|
+
"sk-SK": vt,
|
|
422
|
+
"sl-SI": xt,
|
|
423
|
+
"sr-SP": yt,
|
|
424
|
+
"sv-SE": ht,
|
|
425
|
+
"tr-TR": Pt,
|
|
426
|
+
"uk-UA": Et,
|
|
427
|
+
"zh-CN": Dt,
|
|
428
|
+
"zh-TW": Ct
|
|
429
|
+
};
|
|
430
|
+
function xo(t) {
|
|
405
431
|
return t && t.__esModule ? t.default : t;
|
|
406
432
|
}
|
|
407
|
-
function
|
|
408
|
-
let { onDismiss: e, ...r } = t,
|
|
433
|
+
function Fe(t) {
|
|
434
|
+
let { onDismiss: e, ...r } = t, a = _e(xo(wt), "@react-aria/overlays"), o = io(r, a.format("dismiss")), s = () => {
|
|
409
435
|
e && e();
|
|
410
436
|
};
|
|
411
|
-
return /* @__PURE__ */ f.createElement(
|
|
412
|
-
...
|
|
437
|
+
return /* @__PURE__ */ f.createElement(uo, null, /* @__PURE__ */ f.createElement("button", {
|
|
438
|
+
...o,
|
|
413
439
|
tabIndex: -1,
|
|
414
440
|
onClick: s,
|
|
415
441
|
style: {
|
|
@@ -418,12 +444,12 @@ function ke(t) {
|
|
|
418
444
|
}
|
|
419
445
|
}));
|
|
420
446
|
}
|
|
421
|
-
let
|
|
422
|
-
function
|
|
423
|
-
let r = new Set(t),
|
|
447
|
+
let W = /* @__PURE__ */ new WeakMap(), h = [];
|
|
448
|
+
function yo(t, e = document.body) {
|
|
449
|
+
let r = new Set(t), a = /* @__PURE__ */ new Set(), o = (n) => {
|
|
424
450
|
for (let p of n.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]")) r.add(p);
|
|
425
451
|
let d = (p) => {
|
|
426
|
-
if (r.has(p) || p.parentElement &&
|
|
452
|
+
if (r.has(p) || p.parentElement && a.has(p.parentElement) && p.parentElement.getAttribute("role") !== "row") return NodeFilter.FILTER_REJECT;
|
|
427
453
|
for (let c of r)
|
|
428
454
|
if (p.contains(c)) return NodeFilter.FILTER_SKIP;
|
|
429
455
|
return NodeFilter.FILTER_ACCEPT;
|
|
@@ -437,19 +463,19 @@ function ga(t, e = document.body) {
|
|
|
437
463
|
}
|
|
438
464
|
}, s = (n) => {
|
|
439
465
|
var d;
|
|
440
|
-
let l = (d =
|
|
441
|
-
n.getAttribute("aria-hidden") === "true" && l === 0 || (l === 0 && n.setAttribute("aria-hidden", "true"),
|
|
466
|
+
let l = (d = W.get(n)) !== null && d !== void 0 ? d : 0;
|
|
467
|
+
n.getAttribute("aria-hidden") === "true" && l === 0 || (l === 0 && n.setAttribute("aria-hidden", "true"), a.add(n), W.set(n, l + 1));
|
|
442
468
|
};
|
|
443
|
-
h.length && h[h.length - 1].disconnect(),
|
|
469
|
+
h.length && h[h.length - 1].disconnect(), o(e);
|
|
444
470
|
let u = new MutationObserver((n) => {
|
|
445
471
|
for (let d of n)
|
|
446
472
|
if (!(d.type !== "childList" || d.addedNodes.length === 0) && ![
|
|
447
473
|
...r,
|
|
448
|
-
...
|
|
474
|
+
...a
|
|
449
475
|
].some((l) => l.contains(d.target))) {
|
|
450
|
-
for (let l of d.removedNodes) l instanceof Element && (r.delete(l),
|
|
476
|
+
for (let l of d.removedNodes) l instanceof Element && (r.delete(l), a.delete(l));
|
|
451
477
|
for (let l of d.addedNodes)
|
|
452
|
-
(l instanceof HTMLElement || l instanceof SVGElement) && (l.dataset.liveAnnouncer === "true" || l.dataset.reactAriaTopLayer === "true") ? r.add(l) : l instanceof Element &&
|
|
478
|
+
(l instanceof HTMLElement || l instanceof SVGElement) && (l.dataset.liveAnnouncer === "true" || l.dataset.reactAriaTopLayer === "true") ? r.add(l) : l instanceof Element && o(l);
|
|
453
479
|
}
|
|
454
480
|
});
|
|
455
481
|
u.observe(e, {
|
|
@@ -458,7 +484,7 @@ function ga(t, e = document.body) {
|
|
|
458
484
|
});
|
|
459
485
|
let i = {
|
|
460
486
|
visibleNodes: r,
|
|
461
|
-
hiddenNodes:
|
|
487
|
+
hiddenNodes: a,
|
|
462
488
|
observe() {
|
|
463
489
|
u.observe(e, {
|
|
464
490
|
childList: !0,
|
|
@@ -471,77 +497,77 @@ function ga(t, e = document.body) {
|
|
|
471
497
|
};
|
|
472
498
|
return h.push(i), () => {
|
|
473
499
|
u.disconnect();
|
|
474
|
-
for (let n of
|
|
475
|
-
let d =
|
|
476
|
-
d != null && (d === 1 ? (n.removeAttribute("aria-hidden"),
|
|
500
|
+
for (let n of a) {
|
|
501
|
+
let d = W.get(n);
|
|
502
|
+
d != null && (d === 1 ? (n.removeAttribute("aria-hidden"), W.delete(n)) : W.set(n, d - 1));
|
|
477
503
|
}
|
|
478
504
|
i === h[h.length - 1] ? (h.pop(), h.length && h[h.length - 1].observe()) : h.splice(h.indexOf(i), 1);
|
|
479
505
|
};
|
|
480
506
|
}
|
|
481
|
-
function
|
|
507
|
+
function ho(t) {
|
|
482
508
|
let e = h[h.length - 1];
|
|
483
509
|
if (e && !e.visibleNodes.has(t))
|
|
484
510
|
return e.visibleNodes.add(t), () => {
|
|
485
511
|
e.visibleNodes.delete(t);
|
|
486
512
|
};
|
|
487
513
|
}
|
|
488
|
-
function
|
|
489
|
-
let { triggerRef: r, popoverRef:
|
|
514
|
+
function Po(t, e) {
|
|
515
|
+
let { triggerRef: r, popoverRef: a, groupRef: o, isNonModal: s, isKeyboardDismissDisabled: u, shouldCloseOnInteractOutside: i, ...n } = t, d = n.trigger === "SubmenuTrigger", { overlayProps: l, underlayProps: $ } = $o({
|
|
490
516
|
isOpen: e.isOpen,
|
|
491
517
|
onClose: e.close,
|
|
492
518
|
shouldCloseOnBlur: !0,
|
|
493
519
|
isDismissable: !s || d,
|
|
494
520
|
isKeyboardDismissDisabled: u,
|
|
495
521
|
shouldCloseOnInteractOutside: i
|
|
496
|
-
},
|
|
522
|
+
}, o ?? a), { overlayProps: p, arrowProps: c, placement: b } = Sr({
|
|
497
523
|
...n,
|
|
498
524
|
targetRef: r,
|
|
499
|
-
overlayRef:
|
|
525
|
+
overlayRef: a,
|
|
500
526
|
isOpen: e.isOpen,
|
|
501
527
|
onClose: s && !d ? e.close : null
|
|
502
528
|
});
|
|
503
|
-
return
|
|
529
|
+
return bo({
|
|
504
530
|
isDisabled: s || !e.isOpen
|
|
505
|
-
}),
|
|
506
|
-
if (e.isOpen &&
|
|
531
|
+
}), j(() => {
|
|
532
|
+
if (e.isOpen && a.current) {
|
|
507
533
|
var x, g;
|
|
508
|
-
return s ?
|
|
509
|
-
(g =
|
|
534
|
+
return s ? ho((x = o == null ? void 0 : o.current) !== null && x !== void 0 ? x : a.current) : yo([
|
|
535
|
+
(g = o == null ? void 0 : o.current) !== null && g !== void 0 ? g : a.current
|
|
510
536
|
]);
|
|
511
537
|
}
|
|
512
538
|
}, [
|
|
513
539
|
s,
|
|
514
540
|
e.isOpen,
|
|
515
|
-
|
|
516
|
-
|
|
541
|
+
a,
|
|
542
|
+
o
|
|
517
543
|
]), {
|
|
518
|
-
popoverProps:
|
|
544
|
+
popoverProps: H(l, p),
|
|
519
545
|
arrowProps: c,
|
|
520
546
|
underlayProps: $,
|
|
521
547
|
placement: b
|
|
522
548
|
};
|
|
523
549
|
}
|
|
524
550
|
const At = /* @__PURE__ */ f.createContext(null);
|
|
525
|
-
function
|
|
526
|
-
let e =
|
|
527
|
-
contain:
|
|
551
|
+
function Ke(t) {
|
|
552
|
+
let e = ao(), { portalContainer: r = e ? null : document.body, isExiting: a } = t, [o, s] = B(!1), u = z(() => ({
|
|
553
|
+
contain: o,
|
|
528
554
|
setContain: s
|
|
529
555
|
}), [
|
|
530
|
-
|
|
556
|
+
o,
|
|
531
557
|
s
|
|
532
558
|
]), { getContainer: i } = kr();
|
|
533
559
|
if (!t.portalContainer && i && (r = i()), !r) return null;
|
|
534
560
|
let n = t.children;
|
|
535
561
|
return t.disableFocusManagement || (n = /* @__PURE__ */ f.createElement(He, {
|
|
536
562
|
restoreFocus: !0,
|
|
537
|
-
contain: (t.shouldContainFocus ||
|
|
563
|
+
contain: (t.shouldContainFocus || o) && !a
|
|
538
564
|
}, n)), n = /* @__PURE__ */ f.createElement(At.Provider, {
|
|
539
565
|
value: u
|
|
540
|
-
}, /* @__PURE__ */ f.createElement(
|
|
566
|
+
}, /* @__PURE__ */ f.createElement(co, null, n)), /* @__PURE__ */ oo.createPortal(n, r);
|
|
541
567
|
}
|
|
542
|
-
function
|
|
543
|
-
let t =
|
|
544
|
-
|
|
568
|
+
function Eo() {
|
|
569
|
+
let t = P(At), e = t == null ? void 0 : t.setContain;
|
|
570
|
+
j(() => {
|
|
545
571
|
e == null || e(!0);
|
|
546
572
|
}, [
|
|
547
573
|
e
|
|
@@ -555,179 +581,179 @@ var St = {};
|
|
|
555
581
|
St = {
|
|
556
582
|
longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"
|
|
557
583
|
};
|
|
558
|
-
var wt = {};
|
|
559
|
-
wt = {
|
|
560
|
-
longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"
|
|
561
|
-
};
|
|
562
584
|
var kt = {};
|
|
563
585
|
kt = {
|
|
564
|
-
longPressMessage: "
|
|
586
|
+
longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"
|
|
565
587
|
};
|
|
566
588
|
var Bt = {};
|
|
567
589
|
Bt = {
|
|
568
|
-
longPressMessage: "
|
|
590
|
+
longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen"
|
|
569
591
|
};
|
|
570
592
|
var Ft = {};
|
|
571
593
|
Ft = {
|
|
572
|
-
longPressMessage: "
|
|
594
|
+
longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"
|
|
573
595
|
};
|
|
574
596
|
var Kt = {};
|
|
575
597
|
Kt = {
|
|
598
|
+
longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"
|
|
599
|
+
};
|
|
600
|
+
var Ot = {};
|
|
601
|
+
Ot = {
|
|
576
602
|
longPressMessage: "Long press or press Alt + ArrowDown to open menu"
|
|
577
603
|
};
|
|
578
604
|
var Tt = {};
|
|
579
605
|
Tt = {
|
|
580
606
|
longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú"
|
|
581
607
|
};
|
|
582
|
-
var Ot = {};
|
|
583
|
-
Ot = {
|
|
584
|
-
longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"
|
|
585
|
-
};
|
|
586
608
|
var Rt = {};
|
|
587
609
|
Rt = {
|
|
588
|
-
longPressMessage: "
|
|
610
|
+
longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"
|
|
589
611
|
};
|
|
590
612
|
var It = {};
|
|
591
613
|
It = {
|
|
592
|
-
longPressMessage: "
|
|
614
|
+
longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"
|
|
593
615
|
};
|
|
594
616
|
var Nt = {};
|
|
595
617
|
Nt = {
|
|
596
|
-
longPressMessage: "
|
|
618
|
+
longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."
|
|
597
619
|
};
|
|
598
620
|
var Lt = {};
|
|
599
621
|
Lt = {
|
|
600
|
-
longPressMessage: "
|
|
622
|
+
longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"
|
|
601
623
|
};
|
|
602
624
|
var zt = {};
|
|
603
625
|
zt = {
|
|
604
|
-
longPressMessage: "
|
|
626
|
+
longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"
|
|
605
627
|
};
|
|
606
628
|
var _t = {};
|
|
607
629
|
_t = {
|
|
608
|
-
longPressMessage: "
|
|
630
|
+
longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"
|
|
609
631
|
};
|
|
610
632
|
var Ht = {};
|
|
611
633
|
Ht = {
|
|
612
|
-
longPressMessage: "
|
|
634
|
+
longPressMessage: "Premere a lungo o premere Alt + Freccia giù per aprire il menu"
|
|
613
635
|
};
|
|
614
636
|
var Ut = {};
|
|
615
637
|
Ut = {
|
|
616
|
-
longPressMessage: "
|
|
638
|
+
longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く"
|
|
617
639
|
};
|
|
618
640
|
var Vt = {};
|
|
619
641
|
Vt = {
|
|
620
|
-
longPressMessage: "
|
|
642
|
+
longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"
|
|
621
643
|
};
|
|
622
644
|
var Wt = {};
|
|
623
645
|
Wt = {
|
|
624
|
-
longPressMessage: "
|
|
646
|
+
longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."
|
|
625
647
|
};
|
|
626
648
|
var jt = {};
|
|
627
649
|
jt = {
|
|
628
|
-
longPressMessage: "
|
|
650
|
+
longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"
|
|
629
651
|
};
|
|
630
652
|
var Gt = {};
|
|
631
653
|
Gt = {
|
|
632
|
-
longPressMessage: "
|
|
654
|
+
longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen"
|
|
633
655
|
};
|
|
634
656
|
var qt = {};
|
|
635
657
|
qt = {
|
|
636
|
-
longPressMessage: "
|
|
658
|
+
longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"
|
|
637
659
|
};
|
|
638
660
|
var Zt = {};
|
|
639
661
|
Zt = {
|
|
640
|
-
longPressMessage: "
|
|
662
|
+
longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"
|
|
641
663
|
};
|
|
642
664
|
var Jt = {};
|
|
643
665
|
Jt = {
|
|
644
|
-
longPressMessage: "
|
|
666
|
+
longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"
|
|
645
667
|
};
|
|
646
668
|
var Yt = {};
|
|
647
669
|
Yt = {
|
|
648
|
-
longPressMessage: "
|
|
670
|
+
longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"
|
|
649
671
|
};
|
|
650
672
|
var Xt = {};
|
|
651
673
|
Xt = {
|
|
652
|
-
longPressMessage: "
|
|
674
|
+
longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul"
|
|
653
675
|
};
|
|
654
676
|
var Qt = {};
|
|
655
677
|
Qt = {
|
|
656
|
-
longPressMessage: "
|
|
678
|
+
longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"
|
|
657
679
|
};
|
|
658
680
|
var er = {};
|
|
659
681
|
er = {
|
|
660
|
-
longPressMessage: "
|
|
682
|
+
longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"
|
|
661
683
|
};
|
|
662
684
|
var tr = {};
|
|
663
685
|
tr = {
|
|
664
|
-
longPressMessage: "
|
|
686
|
+
longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"
|
|
665
687
|
};
|
|
666
688
|
var rr = {};
|
|
667
689
|
rr = {
|
|
690
|
+
longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"
|
|
691
|
+
};
|
|
692
|
+
var or = {};
|
|
693
|
+
or = {
|
|
668
694
|
longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn"
|
|
669
695
|
};
|
|
670
696
|
var ar = {};
|
|
671
697
|
ar = {
|
|
672
698
|
longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"
|
|
673
699
|
};
|
|
674
|
-
var or = {};
|
|
675
|
-
or = {
|
|
676
|
-
longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"
|
|
677
|
-
};
|
|
678
700
|
var nr = {};
|
|
679
701
|
nr = {
|
|
680
|
-
longPressMessage: "
|
|
702
|
+
longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"
|
|
681
703
|
};
|
|
682
704
|
var sr = {};
|
|
683
705
|
sr = {
|
|
684
|
-
longPressMessage: "
|
|
706
|
+
longPressMessage: "长按或按 Alt + 向下方向键以打开菜单"
|
|
685
707
|
};
|
|
686
708
|
var lr = {};
|
|
687
709
|
lr = {
|
|
710
|
+
longPressMessage: "長按或按 Alt+向下鍵以開啟功能表"
|
|
711
|
+
};
|
|
712
|
+
var ir = {};
|
|
713
|
+
ir = {
|
|
688
714
|
"ar-AE": Mt,
|
|
689
715
|
"bg-BG": St,
|
|
690
|
-
"cs-CZ":
|
|
691
|
-
"da-DK":
|
|
692
|
-
"de-DE":
|
|
693
|
-
"el-GR":
|
|
694
|
-
"en-US":
|
|
716
|
+
"cs-CZ": kt,
|
|
717
|
+
"da-DK": Bt,
|
|
718
|
+
"de-DE": Ft,
|
|
719
|
+
"el-GR": Kt,
|
|
720
|
+
"en-US": Ot,
|
|
695
721
|
"es-ES": Tt,
|
|
696
|
-
"et-EE":
|
|
697
|
-
"fi-FI":
|
|
698
|
-
"fr-FR":
|
|
699
|
-
"he-IL":
|
|
700
|
-
"hr-HR":
|
|
701
|
-
"hu-HU":
|
|
702
|
-
"it-IT":
|
|
703
|
-
"ja-JP":
|
|
704
|
-
"ko-KR":
|
|
705
|
-
"lt-LT":
|
|
706
|
-
"lv-LV":
|
|
707
|
-
"nb-NO":
|
|
708
|
-
"nl-NL":
|
|
709
|
-
"pl-PL":
|
|
710
|
-
"pt-BR":
|
|
711
|
-
"pt-PT":
|
|
712
|
-
"ro-RO":
|
|
713
|
-
"ru-RU":
|
|
714
|
-
"sk-SK":
|
|
715
|
-
"sl-SI":
|
|
716
|
-
"sr-SP":
|
|
717
|
-
"sv-SE":
|
|
722
|
+
"et-EE": Rt,
|
|
723
|
+
"fi-FI": It,
|
|
724
|
+
"fr-FR": Nt,
|
|
725
|
+
"he-IL": Lt,
|
|
726
|
+
"hr-HR": zt,
|
|
727
|
+
"hu-HU": _t,
|
|
728
|
+
"it-IT": Ht,
|
|
729
|
+
"ja-JP": Ut,
|
|
730
|
+
"ko-KR": Vt,
|
|
731
|
+
"lt-LT": Wt,
|
|
732
|
+
"lv-LV": jt,
|
|
733
|
+
"nb-NO": Gt,
|
|
734
|
+
"nl-NL": qt,
|
|
735
|
+
"pl-PL": Zt,
|
|
736
|
+
"pt-BR": Jt,
|
|
737
|
+
"pt-PT": Yt,
|
|
738
|
+
"ro-RO": Xt,
|
|
739
|
+
"ru-RU": Qt,
|
|
740
|
+
"sk-SK": er,
|
|
741
|
+
"sl-SI": tr,
|
|
742
|
+
"sr-SP": rr,
|
|
743
|
+
"sv-SE": or,
|
|
718
744
|
"tr-TR": ar,
|
|
719
|
-
"uk-UA":
|
|
720
|
-
"zh-CN":
|
|
721
|
-
"zh-TW":
|
|
745
|
+
"uk-UA": nr,
|
|
746
|
+
"zh-CN": sr,
|
|
747
|
+
"zh-TW": lr
|
|
722
748
|
};
|
|
723
|
-
function
|
|
749
|
+
function Do(t) {
|
|
724
750
|
return t && t.__esModule ? t.default : t;
|
|
725
751
|
}
|
|
726
|
-
function
|
|
727
|
-
let { type:
|
|
728
|
-
type:
|
|
752
|
+
function Co(t, e, r) {
|
|
753
|
+
let { type: a = "menu", isDisabled: o, trigger: s = "press" } = t, u = oe(), { triggerProps: i, overlayProps: n } = We({
|
|
754
|
+
type: a
|
|
729
755
|
}, e, r), d = (c) => {
|
|
730
|
-
if (!
|
|
756
|
+
if (!o && !(s === "longPress" && !c.altKey) && r && r.current)
|
|
731
757
|
switch (c.key) {
|
|
732
758
|
case "Enter":
|
|
733
759
|
case " ":
|
|
@@ -741,8 +767,8 @@ function Pa(t, e, r) {
|
|
|
741
767
|
default:
|
|
742
768
|
"continuePropagation" in c && c.continuePropagation();
|
|
743
769
|
}
|
|
744
|
-
}, l = _e(
|
|
745
|
-
isDisabled:
|
|
770
|
+
}, l = _e(Do(ir), "@react-aria/menu"), { longPressProps: $ } = Vr({
|
|
771
|
+
isDisabled: o || s !== "longPress",
|
|
746
772
|
accessibilityDescription: l.format("longPressMessage"),
|
|
747
773
|
onLongPressStart() {
|
|
748
774
|
e.close();
|
|
@@ -753,10 +779,10 @@ function Pa(t, e, r) {
|
|
|
753
779
|
}), p = {
|
|
754
780
|
preventFocusOnPress: !0,
|
|
755
781
|
onPressStart(c) {
|
|
756
|
-
c.pointerType !== "touch" && c.pointerType !== "keyboard" && !
|
|
782
|
+
c.pointerType !== "touch" && c.pointerType !== "keyboard" && !o && (ke(c.target), e.open(c.pointerType === "virtual" ? "first" : null));
|
|
757
783
|
},
|
|
758
784
|
onPress(c) {
|
|
759
|
-
c.pointerType === "touch" && !
|
|
785
|
+
c.pointerType === "touch" && !o && (ke(c.target), e.toggle());
|
|
760
786
|
}
|
|
761
787
|
};
|
|
762
788
|
return delete i.onPress, {
|
|
@@ -775,11 +801,11 @@ function Pa(t, e, r) {
|
|
|
775
801
|
}
|
|
776
802
|
};
|
|
777
803
|
}
|
|
778
|
-
const
|
|
779
|
-
function
|
|
780
|
-
let { shouldFocusWrap:
|
|
804
|
+
const ur = /* @__PURE__ */ new WeakMap();
|
|
805
|
+
function wo(t, e, r) {
|
|
806
|
+
let { shouldFocusWrap: a = !0, onKeyDown: o, onKeyUp: s, ...u } = t;
|
|
781
807
|
!t["aria-label"] && !t["aria-labelledby"] && process.env.NODE_ENV !== "production" && console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
|
|
782
|
-
let i =
|
|
808
|
+
let i = K(t, {
|
|
783
809
|
labelable: !0
|
|
784
810
|
}), { listProps: n } = Lr({
|
|
785
811
|
...u,
|
|
@@ -787,16 +813,16 @@ function Ea(t, e, r) {
|
|
|
787
813
|
selectionManager: e.selectionManager,
|
|
788
814
|
collection: e.collection,
|
|
789
815
|
disabledKeys: e.disabledKeys,
|
|
790
|
-
shouldFocusWrap:
|
|
816
|
+
shouldFocusWrap: a,
|
|
791
817
|
linkBehavior: "override"
|
|
792
818
|
});
|
|
793
|
-
return
|
|
819
|
+
return ur.set(e, {
|
|
794
820
|
onClose: t.onClose,
|
|
795
821
|
onAction: t.onAction,
|
|
796
822
|
shouldUseVirtualFocus: t.shouldUseVirtualFocus
|
|
797
823
|
}), {
|
|
798
|
-
menuProps:
|
|
799
|
-
onKeyDown:
|
|
824
|
+
menuProps: H(i, {
|
|
825
|
+
onKeyDown: o,
|
|
800
826
|
onKeyUp: s
|
|
801
827
|
}, {
|
|
802
828
|
role: "menu",
|
|
@@ -808,49 +834,49 @@ function Ea(t, e, r) {
|
|
|
808
834
|
})
|
|
809
835
|
};
|
|
810
836
|
}
|
|
811
|
-
function
|
|
812
|
-
let { id:
|
|
813
|
-
var
|
|
814
|
-
let C = (
|
|
837
|
+
function Ao(t, e, r) {
|
|
838
|
+
let { id: a, key: o, closeOnSelect: s, isVirtualized: u, "aria-haspopup": i, onPressStart: n, onPressUp: d, onPress: l, onPressChange: $, onPressEnd: p, onHoverStart: c, onHoverChange: b, onHoverEnd: x, onKeyDown: g, onKeyUp: O, onFocus: T, onFocusChange: q, onBlur: A, selectionManager: y = e.selectionManager } = t, E = !!i, U = E && t["aria-expanded"] === "true";
|
|
839
|
+
var R;
|
|
840
|
+
let C = (R = t.isDisabled) !== null && R !== void 0 ? R : y.isDisabled(o);
|
|
815
841
|
var S;
|
|
816
|
-
let Z = (S = t.isSelected) !== null && S !== void 0 ? S : y.isSelected(
|
|
842
|
+
let Z = (S = t.isSelected) !== null && S !== void 0 ? S : y.isSelected(o), I = ur.get(e), v = e.collection.getItem(o), N = t.onClose || I.onClose, fr = Gr(), ne = (m) => {
|
|
817
843
|
var le;
|
|
818
|
-
if (!
|
|
819
|
-
if (!(v == null || (le = v.props) === null || le === void 0) && le.onAction ? v.props.onAction() : t.onAction && t.onAction(
|
|
820
|
-
let
|
|
821
|
-
|
|
844
|
+
if (!E) {
|
|
845
|
+
if (!(v == null || (le = v.props) === null || le === void 0) && le.onAction ? v.props.onAction() : t.onAction && t.onAction(o), I.onAction) {
|
|
846
|
+
let Pr = I.onAction;
|
|
847
|
+
Pr(o);
|
|
822
848
|
}
|
|
823
|
-
m.target instanceof HTMLAnchorElement && v &&
|
|
849
|
+
m.target instanceof HTMLAnchorElement && v && fr.open(m.target, m, v.props.href, v.props.routerOptions);
|
|
824
850
|
}
|
|
825
851
|
}, se = "menuitem";
|
|
826
|
-
|
|
827
|
-
let
|
|
828
|
-
id:
|
|
852
|
+
E || (y.selectionMode === "single" ? se = "menuitemradio" : y.selectionMode === "multiple" && (se = "menuitemcheckbox"));
|
|
853
|
+
let he = Q(), Pe = Q(), Ee = Q(), J = {
|
|
854
|
+
id: a,
|
|
829
855
|
"aria-disabled": C || void 0,
|
|
830
856
|
role: se,
|
|
831
857
|
"aria-label": t["aria-label"],
|
|
832
|
-
"aria-labelledby":
|
|
858
|
+
"aria-labelledby": he,
|
|
833
859
|
"aria-describedby": [
|
|
834
|
-
|
|
835
|
-
|
|
860
|
+
Pe,
|
|
861
|
+
Ee
|
|
836
862
|
].filter(Boolean).join(" ") || void 0,
|
|
837
863
|
"aria-controls": t["aria-controls"],
|
|
838
864
|
"aria-haspopup": i,
|
|
839
865
|
"aria-expanded": t["aria-expanded"]
|
|
840
866
|
};
|
|
841
|
-
y.selectionMode !== "none" && !
|
|
842
|
-
let
|
|
867
|
+
y.selectionMode !== "none" && !E && (J["aria-checked"] = Z), u && (J["aria-posinset"] = v == null ? void 0 : v.index, J["aria-setsize"] = zr(e.collection));
|
|
868
|
+
let $r = (m) => {
|
|
843
869
|
m.pointerType === "keyboard" && ne(m), n == null || n(m);
|
|
844
|
-
},
|
|
845
|
-
!
|
|
846
|
-
}, $r = (m) => {
|
|
847
|
-
m.pointerType === "mouse" && (ne(m), Pe()), d == null || d(m);
|
|
870
|
+
}, De = () => {
|
|
871
|
+
!E && N && (s ?? (y.selectionMode !== "multiple" || y.isLink(o))) && N();
|
|
848
872
|
}, pr = (m) => {
|
|
849
|
-
m.pointerType
|
|
850
|
-
},
|
|
851
|
-
|
|
873
|
+
m.pointerType === "mouse" && (ne(m), De()), d == null || d(m);
|
|
874
|
+
}, br = (m) => {
|
|
875
|
+
m.pointerType !== "keyboard" && m.pointerType !== "mouse" && (ne(m), De()), l == null || l(m);
|
|
876
|
+
}, { itemProps: L, isFocused: Ce } = Wr({
|
|
877
|
+
id: a,
|
|
852
878
|
selectionManager: y,
|
|
853
|
-
key:
|
|
879
|
+
key: o,
|
|
854
880
|
ref: r,
|
|
855
881
|
shouldSelectOnPressUp: !0,
|
|
856
882
|
allowsDifferentPressOrigin: !0,
|
|
@@ -859,22 +885,22 @@ function Da(t, e, r) {
|
|
|
859
885
|
// is slightly different from other collections because
|
|
860
886
|
// actions are performed on key down rather than key up.
|
|
861
887
|
linkBehavior: "none",
|
|
862
|
-
shouldUseVirtualFocus:
|
|
863
|
-
}), { pressProps:
|
|
864
|
-
onPressStart:
|
|
865
|
-
onPress:
|
|
866
|
-
onPressUp:
|
|
888
|
+
shouldUseVirtualFocus: I.shouldUseVirtualFocus
|
|
889
|
+
}), { pressProps: mr, isPressed: gr } = qr({
|
|
890
|
+
onPressStart: $r,
|
|
891
|
+
onPress: br,
|
|
892
|
+
onPressUp: pr,
|
|
867
893
|
onPressChange: $,
|
|
868
894
|
onPressEnd: p,
|
|
869
895
|
isDisabled: C
|
|
870
|
-
}), { hoverProps:
|
|
896
|
+
}), { hoverProps: vr } = ze({
|
|
871
897
|
isDisabled: C,
|
|
872
898
|
onHoverStart(m) {
|
|
873
|
-
!Se() && !(
|
|
899
|
+
!Se() && !(U && i) && (y.setFocused(!0), y.setFocusedKey(o)), c == null || c(m);
|
|
874
900
|
},
|
|
875
901
|
onHoverChange: b,
|
|
876
902
|
onHoverEnd: x
|
|
877
|
-
}), { keyboardProps:
|
|
903
|
+
}), { keyboardProps: xr } = Yr({
|
|
878
904
|
onKeyDown: (m) => {
|
|
879
905
|
if (m.repeat) {
|
|
880
906
|
m.continuePropagation();
|
|
@@ -882,65 +908,65 @@ function Da(t, e, r) {
|
|
|
882
908
|
}
|
|
883
909
|
switch (m.key) {
|
|
884
910
|
case " ":
|
|
885
|
-
!C && y.selectionMode === "none" && !
|
|
911
|
+
!C && y.selectionMode === "none" && !E && s !== !1 && N && N();
|
|
886
912
|
break;
|
|
887
913
|
case "Enter":
|
|
888
|
-
!C && s !== !1 && !
|
|
914
|
+
!C && s !== !1 && !E && N && N();
|
|
889
915
|
break;
|
|
890
916
|
default:
|
|
891
|
-
|
|
917
|
+
E || m.continuePropagation(), g == null || g(m);
|
|
892
918
|
break;
|
|
893
919
|
}
|
|
894
920
|
},
|
|
895
|
-
onKeyUp:
|
|
896
|
-
}), { focusProps:
|
|
897
|
-
onBlur:
|
|
921
|
+
onKeyUp: O
|
|
922
|
+
}), { focusProps: yr } = Qr({
|
|
923
|
+
onBlur: A,
|
|
898
924
|
onFocus: T,
|
|
899
925
|
onFocusChange: q
|
|
900
|
-
}),
|
|
901
|
-
delete
|
|
902
|
-
let
|
|
926
|
+
}), we = K(v == null ? void 0 : v.props);
|
|
927
|
+
delete we.id;
|
|
928
|
+
let hr = Zr(v == null ? void 0 : v.props);
|
|
903
929
|
return {
|
|
904
930
|
menuItemProps: {
|
|
905
931
|
...J,
|
|
906
|
-
...
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
onFocus:
|
|
911
|
-
"data-collection":
|
|
912
|
-
"data-key":
|
|
913
|
-
} :
|
|
914
|
-
|
|
915
|
-
gr,
|
|
932
|
+
...H(
|
|
933
|
+
we,
|
|
934
|
+
hr,
|
|
935
|
+
E ? {
|
|
936
|
+
onFocus: L.onFocus,
|
|
937
|
+
"data-collection": L["data-collection"],
|
|
938
|
+
"data-key": L["data-key"]
|
|
939
|
+
} : L,
|
|
940
|
+
mr,
|
|
916
941
|
vr,
|
|
917
942
|
xr,
|
|
943
|
+
yr,
|
|
918
944
|
// Prevent DOM focus from moving on mouse down when using virtual focus or this is a submenu/subdialog trigger.
|
|
919
|
-
|
|
945
|
+
I.shouldUseVirtualFocus || E ? {
|
|
920
946
|
onMouseDown: (m) => m.preventDefault()
|
|
921
947
|
} : void 0
|
|
922
948
|
),
|
|
923
949
|
// If a submenu is expanded, set the tabIndex to -1 so that shift tabbing goes out of the menu instead of the parent menu item.
|
|
924
|
-
tabIndex:
|
|
950
|
+
tabIndex: L.tabIndex != null && U && !I.shouldUseVirtualFocus ? -1 : L.tabIndex
|
|
925
951
|
},
|
|
926
952
|
labelProps: {
|
|
927
|
-
id:
|
|
953
|
+
id: he
|
|
928
954
|
},
|
|
929
955
|
descriptionProps: {
|
|
930
|
-
id:
|
|
956
|
+
id: Pe
|
|
931
957
|
},
|
|
932
958
|
keyboardShortcutProps: {
|
|
933
|
-
id:
|
|
959
|
+
id: Ee
|
|
934
960
|
},
|
|
935
|
-
isFocused:
|
|
936
|
-
isFocusVisible:
|
|
961
|
+
isFocused: Ce,
|
|
962
|
+
isFocusVisible: Ce && y.isFocused && Se() && !U,
|
|
937
963
|
isSelected: Z,
|
|
938
|
-
isPressed:
|
|
964
|
+
isPressed: gr,
|
|
939
965
|
isDisabled: C
|
|
940
966
|
};
|
|
941
967
|
}
|
|
942
|
-
function
|
|
943
|
-
let { heading: e, "aria-label": r } = t,
|
|
968
|
+
function Mo(t) {
|
|
969
|
+
let { heading: e, "aria-label": r } = t, a = oe();
|
|
944
970
|
return {
|
|
945
971
|
itemProps: {
|
|
946
972
|
role: "presentation"
|
|
@@ -949,25 +975,25 @@ function Ca(t) {
|
|
|
949
975
|
// Techincally, menus cannot contain headings according to ARIA.
|
|
950
976
|
// We hide the heading from assistive technology, using role="presentation",
|
|
951
977
|
// and only use it as a label for the nested group.
|
|
952
|
-
id:
|
|
978
|
+
id: a,
|
|
953
979
|
role: "presentation"
|
|
954
980
|
} : {},
|
|
955
981
|
groupProps: {
|
|
956
982
|
role: "group",
|
|
957
983
|
"aria-label": r,
|
|
958
|
-
"aria-labelledby": e ?
|
|
984
|
+
"aria-labelledby": e ? a : void 0
|
|
959
985
|
}
|
|
960
986
|
};
|
|
961
987
|
}
|
|
962
|
-
function
|
|
963
|
-
let { role: r = "dialog" } = t,
|
|
964
|
-
|
|
965
|
-
let
|
|
966
|
-
return
|
|
988
|
+
function So(t, e) {
|
|
989
|
+
let { role: r = "dialog" } = t, a = Q();
|
|
990
|
+
a = t["aria-label"] ? void 0 : a;
|
|
991
|
+
let o = M(!1);
|
|
992
|
+
return F(() => {
|
|
967
993
|
if (e.current && !e.current.contains(document.activeElement)) {
|
|
968
|
-
|
|
994
|
+
$e(e.current);
|
|
969
995
|
let s = setTimeout(() => {
|
|
970
|
-
document.activeElement === e.current && (
|
|
996
|
+
document.activeElement === e.current && (o.current = !0, e.current && (e.current.blur(), $e(e.current)), o.current = !1);
|
|
971
997
|
}, 500);
|
|
972
998
|
return () => {
|
|
973
999
|
clearTimeout(s);
|
|
@@ -975,43 +1001,43 @@ function Aa(t, e) {
|
|
|
975
1001
|
}
|
|
976
1002
|
}, [
|
|
977
1003
|
e
|
|
978
|
-
]),
|
|
1004
|
+
]), Eo(), {
|
|
979
1005
|
dialogProps: {
|
|
980
|
-
...
|
|
1006
|
+
...K(t, {
|
|
981
1007
|
labelable: !0
|
|
982
1008
|
}),
|
|
983
1009
|
role: r,
|
|
984
1010
|
tabIndex: -1,
|
|
985
|
-
"aria-labelledby": t["aria-labelledby"] ||
|
|
1011
|
+
"aria-labelledby": t["aria-labelledby"] || a,
|
|
986
1012
|
// Prevent blur events from reaching useOverlay, which may cause
|
|
987
1013
|
// popovers to close. Since focus is contained within the dialog,
|
|
988
1014
|
// we don't want this to occur due to the above useEffect.
|
|
989
1015
|
onBlur: (s) => {
|
|
990
|
-
|
|
1016
|
+
o.current && s.stopPropagation();
|
|
991
1017
|
}
|
|
992
1018
|
},
|
|
993
1019
|
titleProps: {
|
|
994
|
-
id:
|
|
1020
|
+
id: a
|
|
995
1021
|
}
|
|
996
1022
|
};
|
|
997
1023
|
}
|
|
998
|
-
function
|
|
999
|
-
let e = Te(t), [r,
|
|
1024
|
+
function ve(t) {
|
|
1025
|
+
let e = Te(t), [r, a] = B(null), [o, s] = B([]), u = () => {
|
|
1000
1026
|
s([]), e.close();
|
|
1001
1027
|
};
|
|
1002
1028
|
return {
|
|
1003
1029
|
focusStrategy: r,
|
|
1004
1030
|
...e,
|
|
1005
1031
|
open(d = null) {
|
|
1006
|
-
|
|
1032
|
+
a(d), e.open();
|
|
1007
1033
|
},
|
|
1008
1034
|
toggle(d = null) {
|
|
1009
|
-
|
|
1035
|
+
a(d), e.toggle();
|
|
1010
1036
|
},
|
|
1011
1037
|
close() {
|
|
1012
1038
|
u();
|
|
1013
1039
|
},
|
|
1014
|
-
expandedKeysStack:
|
|
1040
|
+
expandedKeysStack: o,
|
|
1015
1041
|
openSubmenu: (d, l) => {
|
|
1016
1042
|
s(($) => l > $.length ? $ : [
|
|
1017
1043
|
...$.slice(0, l),
|
|
@@ -1023,7 +1049,7 @@ function me(t) {
|
|
|
1023
1049
|
}
|
|
1024
1050
|
};
|
|
1025
1051
|
}
|
|
1026
|
-
class
|
|
1052
|
+
class ko {
|
|
1027
1053
|
*[Symbol.iterator]() {
|
|
1028
1054
|
yield* this.iterable;
|
|
1029
1055
|
}
|
|
@@ -1035,13 +1061,13 @@ class Ma {
|
|
|
1035
1061
|
}
|
|
1036
1062
|
getKeyBefore(e) {
|
|
1037
1063
|
let r = this.keyMap.get(e);
|
|
1038
|
-
var
|
|
1039
|
-
return r && (
|
|
1064
|
+
var a;
|
|
1065
|
+
return r && (a = r.prevKey) !== null && a !== void 0 ? a : null;
|
|
1040
1066
|
}
|
|
1041
1067
|
getKeyAfter(e) {
|
|
1042
1068
|
let r = this.keyMap.get(e);
|
|
1043
|
-
var
|
|
1044
|
-
return r && (
|
|
1069
|
+
var a;
|
|
1070
|
+
return r && (a = r.nextKey) !== null && a !== void 0 ? a : null;
|
|
1045
1071
|
}
|
|
1046
1072
|
getFirstKey() {
|
|
1047
1073
|
return this.firstKey;
|
|
@@ -1061,48 +1087,48 @@ class Ma {
|
|
|
1061
1087
|
}
|
|
1062
1088
|
constructor(e, { expandedKeys: r } = {}) {
|
|
1063
1089
|
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e, r = r || /* @__PURE__ */ new Set();
|
|
1064
|
-
let
|
|
1065
|
-
if (this.keyMap.set(i.key, i), i.childNodes && (i.type === "section" || r.has(i.key))) for (let n of i.childNodes)
|
|
1090
|
+
let a = (i) => {
|
|
1091
|
+
if (this.keyMap.set(i.key, i), i.childNodes && (i.type === "section" || r.has(i.key))) for (let n of i.childNodes) a(n);
|
|
1066
1092
|
};
|
|
1067
|
-
for (let i of e)
|
|
1068
|
-
let
|
|
1093
|
+
for (let i of e) a(i);
|
|
1094
|
+
let o = null, s = 0;
|
|
1069
1095
|
for (let [i, n] of this.keyMap)
|
|
1070
|
-
|
|
1096
|
+
o ? (o.nextKey = i, n.prevKey = o.key) : (this.firstKey = i, n.prevKey = void 0), n.type === "item" && (n.index = s++), o = n, o.nextKey = void 0;
|
|
1071
1097
|
var u;
|
|
1072
|
-
this.lastKey = (u =
|
|
1098
|
+
this.lastKey = (u = o == null ? void 0 : o.key) !== null && u !== void 0 ? u : null;
|
|
1073
1099
|
}
|
|
1074
1100
|
}
|
|
1075
|
-
function
|
|
1076
|
-
let { onExpandedChange: e } = t, [r,
|
|
1101
|
+
function Bo(t) {
|
|
1102
|
+
let { onExpandedChange: e } = t, [r, a] = to(t.expandedKeys ? new Set(t.expandedKeys) : void 0, t.defaultExpandedKeys ? new Set(t.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e), o = Ne(t), s = z(() => t.disabledKeys ? new Set(t.disabledKeys) : /* @__PURE__ */ new Set(), [
|
|
1077
1103
|
t.disabledKeys
|
|
1078
|
-
]), u = jr(t,
|
|
1104
|
+
]), u = jr(t, me((n) => new ko(n, {
|
|
1079
1105
|
expandedKeys: r
|
|
1080
1106
|
}), [
|
|
1081
1107
|
r
|
|
1082
1108
|
]), null);
|
|
1083
|
-
return
|
|
1084
|
-
|
|
1109
|
+
return F(() => {
|
|
1110
|
+
o.focusedKey != null && !u.getItem(o.focusedKey) && o.setFocusedKey(null);
|
|
1085
1111
|
}, [
|
|
1086
1112
|
u,
|
|
1087
|
-
|
|
1113
|
+
o.focusedKey
|
|
1088
1114
|
]), {
|
|
1089
1115
|
collection: u,
|
|
1090
1116
|
expandedKeys: r,
|
|
1091
1117
|
disabledKeys: s,
|
|
1092
1118
|
toggleKey: (n) => {
|
|
1093
|
-
|
|
1119
|
+
a(Fo(r, n));
|
|
1094
1120
|
},
|
|
1095
|
-
setExpandedKeys:
|
|
1096
|
-
selectionManager: new
|
|
1121
|
+
setExpandedKeys: a,
|
|
1122
|
+
selectionManager: new Le(u, o)
|
|
1097
1123
|
};
|
|
1098
1124
|
}
|
|
1099
|
-
function
|
|
1125
|
+
function Fo(t, e) {
|
|
1100
1126
|
let r = new Set(t);
|
|
1101
1127
|
return r.has(e) ? r.delete(e) : r.add(e), r;
|
|
1102
1128
|
}
|
|
1103
|
-
const
|
|
1104
|
-
[e, r] =
|
|
1105
|
-
let
|
|
1129
|
+
const xe = /* @__PURE__ */ D(null), Oe = /* @__PURE__ */ D(null), ca = /* @__PURE__ */ ge(function(e, r) {
|
|
1130
|
+
[e, r] = re(e, r, xe);
|
|
1131
|
+
let a = P(ae), o = Te(e), s = e.isOpen != null || e.defaultOpen != null || !a ? o : a, u = Br(r, s.isOpen) || e.isExiting || !1, i = no(), { direction: n } = so();
|
|
1106
1132
|
if (i) {
|
|
1107
1133
|
let d = e.children;
|
|
1108
1134
|
return typeof d == "function" && (d = d({
|
|
@@ -1113,7 +1139,7 @@ const ge = /* @__PURE__ */ D(null), Fe = /* @__PURE__ */ D(null), lo = /* @__PUR
|
|
|
1113
1139
|
defaultChildren: null
|
|
1114
1140
|
})), /* @__PURE__ */ f.createElement(f.Fragment, null, d);
|
|
1115
1141
|
}
|
|
1116
|
-
return s && !s.isOpen && !u ? null : /* @__PURE__ */ f.createElement(
|
|
1142
|
+
return s && !s.isOpen && !u ? null : /* @__PURE__ */ f.createElement(Ko, {
|
|
1117
1143
|
...e,
|
|
1118
1144
|
triggerRef: e.triggerRef,
|
|
1119
1145
|
state: s,
|
|
@@ -1122,71 +1148,71 @@ const ge = /* @__PURE__ */ D(null), Fe = /* @__PURE__ */ D(null), lo = /* @__PUR
|
|
|
1122
1148
|
dir: n
|
|
1123
1149
|
});
|
|
1124
1150
|
});
|
|
1125
|
-
function
|
|
1126
|
-
let s =
|
|
1127
|
-
|
|
1151
|
+
function Ko({ state: t, isExiting: e, UNSTABLE_portalContainer: r, clearContexts: a, ...o }) {
|
|
1152
|
+
let s = M(null), [u, i] = B(0), n = M(null), d = P(Oe), l = d && o.trigger === "SubmenuTrigger";
|
|
1153
|
+
j(() => {
|
|
1128
1154
|
s.current && t.isOpen && i(s.current.getBoundingClientRect().width);
|
|
1129
1155
|
}, [
|
|
1130
1156
|
t.isOpen,
|
|
1131
1157
|
s
|
|
1132
1158
|
]);
|
|
1133
1159
|
var $;
|
|
1134
|
-
let { popoverProps: p, underlayProps: c, arrowProps: b, placement: x } =
|
|
1135
|
-
...
|
|
1136
|
-
offset: ($ =
|
|
1160
|
+
let { popoverProps: p, underlayProps: c, arrowProps: b, placement: x } = Po({
|
|
1161
|
+
...o,
|
|
1162
|
+
offset: ($ = o.offset) !== null && $ !== void 0 ? $ : 8,
|
|
1137
1163
|
arrowSize: u,
|
|
1138
1164
|
// If this is a submenu/subdialog, use the root popover's container
|
|
1139
1165
|
// to detect outside interaction and add aria-hidden.
|
|
1140
1166
|
groupRef: l ? d : n
|
|
1141
|
-
}, t), g =
|
|
1142
|
-
...
|
|
1167
|
+
}, t), g = o.popoverRef, O = Fr(g, !!x) || o.isEntering || !1, T = G({
|
|
1168
|
+
...o,
|
|
1143
1169
|
defaultClassName: "react-aria-Popover",
|
|
1144
1170
|
values: {
|
|
1145
|
-
trigger:
|
|
1171
|
+
trigger: o.trigger || null,
|
|
1146
1172
|
placement: x,
|
|
1147
|
-
isEntering:
|
|
1173
|
+
isEntering: O,
|
|
1148
1174
|
isExiting: e
|
|
1149
1175
|
}
|
|
1150
|
-
}), q = !
|
|
1151
|
-
|
|
1176
|
+
}), q = !o.isNonModal || o.trigger === "SubmenuTrigger", [A, y] = B(!1);
|
|
1177
|
+
j(() => {
|
|
1152
1178
|
g.current && y(q && !g.current.querySelector("[role=dialog]"));
|
|
1153
1179
|
}, [
|
|
1154
1180
|
g,
|
|
1155
1181
|
q
|
|
1156
|
-
]),
|
|
1157
|
-
|
|
1182
|
+
]), F(() => {
|
|
1183
|
+
A && g.current && !g.current.contains(document.activeElement) && $e(g.current);
|
|
1158
1184
|
}, [
|
|
1159
|
-
|
|
1185
|
+
A,
|
|
1160
1186
|
g
|
|
1161
1187
|
]);
|
|
1162
|
-
let
|
|
1188
|
+
let E = z(() => {
|
|
1163
1189
|
let S = T.children;
|
|
1164
|
-
if (
|
|
1190
|
+
if (a) for (let Z of a) S = /* @__PURE__ */ f.createElement(Z.Provider, {
|
|
1165
1191
|
value: null
|
|
1166
1192
|
}, S);
|
|
1167
1193
|
return S;
|
|
1168
1194
|
}, [
|
|
1169
1195
|
T.children,
|
|
1170
|
-
|
|
1171
|
-
]),
|
|
1196
|
+
a
|
|
1197
|
+
]), U = {
|
|
1172
1198
|
...p.style,
|
|
1173
1199
|
...T.style
|
|
1174
|
-
},
|
|
1175
|
-
...
|
|
1200
|
+
}, R = /* @__PURE__ */ f.createElement("div", {
|
|
1201
|
+
...H(K(o), p),
|
|
1176
1202
|
...T,
|
|
1177
|
-
role:
|
|
1178
|
-
tabIndex:
|
|
1179
|
-
"aria-label":
|
|
1180
|
-
"aria-labelledby":
|
|
1203
|
+
role: A ? "dialog" : void 0,
|
|
1204
|
+
tabIndex: A ? -1 : void 0,
|
|
1205
|
+
"aria-label": o["aria-label"],
|
|
1206
|
+
"aria-labelledby": o["aria-labelledby"],
|
|
1181
1207
|
ref: g,
|
|
1182
|
-
slot:
|
|
1183
|
-
style:
|
|
1184
|
-
dir:
|
|
1185
|
-
"data-trigger":
|
|
1208
|
+
slot: o.slot || void 0,
|
|
1209
|
+
style: U,
|
|
1210
|
+
dir: o.dir,
|
|
1211
|
+
"data-trigger": o.trigger,
|
|
1186
1212
|
"data-placement": x,
|
|
1187
|
-
"data-entering":
|
|
1213
|
+
"data-entering": O || void 0,
|
|
1188
1214
|
"data-exiting": e || void 0
|
|
1189
|
-
}, !
|
|
1215
|
+
}, !o.isNonModal && /* @__PURE__ */ f.createElement(Fe, {
|
|
1190
1216
|
onDismiss: t.close
|
|
1191
1217
|
}), /* @__PURE__ */ f.createElement(Kr.Provider, {
|
|
1192
1218
|
value: {
|
|
@@ -1194,15 +1220,15 @@ function ka({ state: t, isExiting: e, UNSTABLE_portalContainer: r, clearContexts
|
|
|
1194
1220
|
placement: x,
|
|
1195
1221
|
ref: s
|
|
1196
1222
|
}
|
|
1197
|
-
},
|
|
1223
|
+
}, E), /* @__PURE__ */ f.createElement(Fe, {
|
|
1198
1224
|
onDismiss: t.close
|
|
1199
1225
|
}));
|
|
1200
|
-
if (!l) return /* @__PURE__ */ f.createElement(
|
|
1201
|
-
...
|
|
1202
|
-
shouldContainFocus:
|
|
1226
|
+
if (!l) return /* @__PURE__ */ f.createElement(Ke, {
|
|
1227
|
+
...o,
|
|
1228
|
+
shouldContainFocus: A,
|
|
1203
1229
|
isExiting: e,
|
|
1204
1230
|
portalContainer: r
|
|
1205
|
-
}, !
|
|
1231
|
+
}, !o.isNonModal && t.isOpen && /* @__PURE__ */ f.createElement("div", {
|
|
1206
1232
|
"data-testid": "underlay",
|
|
1207
1233
|
...c,
|
|
1208
1234
|
style: {
|
|
@@ -1214,43 +1240,43 @@ function ka({ state: t, isExiting: e, UNSTABLE_portalContainer: r, clearContexts
|
|
|
1214
1240
|
style: {
|
|
1215
1241
|
display: "contents"
|
|
1216
1242
|
}
|
|
1217
|
-
}, /* @__PURE__ */ f.createElement(
|
|
1243
|
+
}, /* @__PURE__ */ f.createElement(Oe.Provider, {
|
|
1218
1244
|
value: n
|
|
1219
|
-
},
|
|
1245
|
+
}, R)));
|
|
1220
1246
|
var C;
|
|
1221
|
-
return /* @__PURE__ */ f.createElement(
|
|
1222
|
-
...
|
|
1223
|
-
shouldContainFocus:
|
|
1247
|
+
return /* @__PURE__ */ f.createElement(Ke, {
|
|
1248
|
+
...o,
|
|
1249
|
+
shouldContainFocus: A,
|
|
1224
1250
|
isExiting: e,
|
|
1225
1251
|
portalContainer: (C = r ?? (d == null ? void 0 : d.current)) !== null && C !== void 0 ? C : void 0
|
|
1226
|
-
},
|
|
1252
|
+
}, R);
|
|
1227
1253
|
}
|
|
1228
|
-
const
|
|
1229
|
-
function
|
|
1230
|
-
let e =
|
|
1254
|
+
const Oo = /* @__PURE__ */ D({}), dr = /* @__PURE__ */ D(null), ye = /* @__PURE__ */ D(null), ee = /* @__PURE__ */ D(null), te = /* @__PURE__ */ D(null);
|
|
1255
|
+
function fa(t) {
|
|
1256
|
+
let e = ve(t), r = M(null), { menuTriggerProps: a, menuProps: o } = Co({
|
|
1231
1257
|
...t,
|
|
1232
1258
|
type: "menu"
|
|
1233
|
-
}, e, r), [s, u] = B(null), i =
|
|
1259
|
+
}, e, r), [s, u] = B(null), i = me(() => {
|
|
1234
1260
|
r.current && u(r.current.offsetWidth + "px");
|
|
1235
1261
|
}, [
|
|
1236
1262
|
r
|
|
1237
1263
|
]);
|
|
1238
|
-
|
|
1264
|
+
Re({
|
|
1239
1265
|
ref: r,
|
|
1240
1266
|
onResize: i
|
|
1241
1267
|
});
|
|
1242
|
-
let n =
|
|
1243
|
-
return /* @__PURE__ */ f.createElement(
|
|
1268
|
+
let n = M(null);
|
|
1269
|
+
return /* @__PURE__ */ f.createElement(_, {
|
|
1244
1270
|
values: [
|
|
1245
1271
|
[
|
|
1246
|
-
|
|
1272
|
+
dr,
|
|
1247
1273
|
{
|
|
1248
|
-
...
|
|
1274
|
+
...o,
|
|
1249
1275
|
ref: n
|
|
1250
1276
|
}
|
|
1251
1277
|
],
|
|
1252
1278
|
[
|
|
1253
|
-
|
|
1279
|
+
ae,
|
|
1254
1280
|
e
|
|
1255
1281
|
],
|
|
1256
1282
|
[
|
|
@@ -1258,7 +1284,7 @@ function io(t) {
|
|
|
1258
1284
|
e
|
|
1259
1285
|
],
|
|
1260
1286
|
[
|
|
1261
|
-
|
|
1287
|
+
xe,
|
|
1262
1288
|
{
|
|
1263
1289
|
trigger: "MenuTrigger",
|
|
1264
1290
|
triggerRef: r,
|
|
@@ -1267,41 +1293,41 @@ function io(t) {
|
|
|
1267
1293
|
style: {
|
|
1268
1294
|
"--trigger-width": s
|
|
1269
1295
|
},
|
|
1270
|
-
"aria-labelledby":
|
|
1296
|
+
"aria-labelledby": o["aria-labelledby"]
|
|
1271
1297
|
}
|
|
1272
1298
|
]
|
|
1273
1299
|
]
|
|
1274
|
-
}, /* @__PURE__ */ f.createElement(
|
|
1275
|
-
...
|
|
1300
|
+
}, /* @__PURE__ */ f.createElement(Ve, {
|
|
1301
|
+
...a,
|
|
1276
1302
|
ref: r,
|
|
1277
1303
|
isPressed: e.isOpen
|
|
1278
1304
|
}, t.children));
|
|
1279
1305
|
}
|
|
1280
|
-
const
|
|
1281
|
-
return [e, r] =
|
|
1306
|
+
const To = /* @__PURE__ */ D(null), $a = /* @__PURE__ */ ge(function(e, r) {
|
|
1307
|
+
return [e, r] = re(e, r, dr), /* @__PURE__ */ f.createElement(Tr, {
|
|
1282
1308
|
content: /* @__PURE__ */ f.createElement(Rr, e)
|
|
1283
|
-
}, (
|
|
1309
|
+
}, (a) => /* @__PURE__ */ f.createElement(Ro, {
|
|
1284
1310
|
props: e,
|
|
1285
|
-
collection:
|
|
1311
|
+
collection: a,
|
|
1286
1312
|
menuRef: r
|
|
1287
1313
|
}));
|
|
1288
1314
|
});
|
|
1289
|
-
function
|
|
1290
|
-
let { filter:
|
|
1291
|
-
r =
|
|
1315
|
+
function Ro({ props: t, collection: e, menuRef: r }) {
|
|
1316
|
+
let { filter: a, collectionProps: o, collectionRef: s } = P(Ae) || {};
|
|
1317
|
+
r = be(z(() => Cr(r, s !== void 0 ? s : null), [
|
|
1292
1318
|
s,
|
|
1293
1319
|
r
|
|
1294
1320
|
]));
|
|
1295
|
-
let u =
|
|
1321
|
+
let u = z(() => a ? e.UNSTABLE_filter(a) : e, [
|
|
1296
1322
|
e,
|
|
1297
|
-
|
|
1298
|
-
]), i =
|
|
1323
|
+
a
|
|
1324
|
+
]), i = Bo({
|
|
1299
1325
|
...t,
|
|
1300
1326
|
collection: u,
|
|
1301
1327
|
children: void 0
|
|
1302
|
-
}), n =
|
|
1328
|
+
}), n = P(ee), { isVirtualized: d, CollectionRoot: l } = P(Ie), { menuProps: $ } = wo({
|
|
1303
1329
|
...t,
|
|
1304
|
-
...
|
|
1330
|
+
...o,
|
|
1305
1331
|
isVirtualized: d,
|
|
1306
1332
|
onClose: t.onClose || (n == null ? void 0 : n.close)
|
|
1307
1333
|
}, i, r), p = G({
|
|
@@ -1318,17 +1344,17 @@ function Ka({ props: t, collection: e, menuRef: r }) {
|
|
|
1318
1344
|
display: "contents"
|
|
1319
1345
|
}
|
|
1320
1346
|
}, t.renderEmptyState())), /* @__PURE__ */ f.createElement(He, null, /* @__PURE__ */ f.createElement("div", {
|
|
1321
|
-
...
|
|
1347
|
+
...K(t),
|
|
1322
1348
|
...$,
|
|
1323
1349
|
...p,
|
|
1324
1350
|
ref: r,
|
|
1325
1351
|
slot: t.slot || void 0,
|
|
1326
1352
|
"data-empty": i.collection.size === 0 || void 0,
|
|
1327
1353
|
onScroll: t.onScroll
|
|
1328
|
-
}, /* @__PURE__ */ f.createElement(
|
|
1354
|
+
}, /* @__PURE__ */ f.createElement(_, {
|
|
1329
1355
|
values: [
|
|
1330
1356
|
[
|
|
1331
|
-
|
|
1357
|
+
ye,
|
|
1332
1358
|
i
|
|
1333
1359
|
],
|
|
1334
1360
|
[
|
|
@@ -1341,18 +1367,18 @@ function Ka({ props: t, collection: e, menuRef: r }) {
|
|
|
1341
1367
|
Ir,
|
|
1342
1368
|
{
|
|
1343
1369
|
name: "MenuSection",
|
|
1344
|
-
render:
|
|
1370
|
+
render: No
|
|
1345
1371
|
}
|
|
1346
1372
|
],
|
|
1347
1373
|
[
|
|
1348
|
-
|
|
1374
|
+
To,
|
|
1349
1375
|
{
|
|
1350
1376
|
parentMenuRef: r,
|
|
1351
|
-
shouldUseVirtualFocus:
|
|
1377
|
+
shouldUseVirtualFocus: o == null ? void 0 : o.shouldUseVirtualFocus
|
|
1352
1378
|
}
|
|
1353
1379
|
],
|
|
1354
1380
|
[
|
|
1355
|
-
|
|
1381
|
+
pe,
|
|
1356
1382
|
null
|
|
1357
1383
|
],
|
|
1358
1384
|
[
|
|
@@ -1368,7 +1394,7 @@ function Ka({ props: t, collection: e, menuRef: r }) {
|
|
|
1368
1394
|
/* eslint-disable-next-line react-hooks/rules-of-hooks */
|
|
1369
1395
|
[
|
|
1370
1396
|
ee,
|
|
1371
|
-
n ??
|
|
1397
|
+
n ?? ve({})
|
|
1372
1398
|
]
|
|
1373
1399
|
]
|
|
1374
1400
|
}, /* @__PURE__ */ f.createElement(l, {
|
|
@@ -1377,7 +1403,7 @@ function Ka({ props: t, collection: e, menuRef: r }) {
|
|
|
1377
1403
|
scrollRef: r
|
|
1378
1404
|
})), c));
|
|
1379
1405
|
}
|
|
1380
|
-
class
|
|
1406
|
+
class Io extends Le {
|
|
1381
1407
|
get focusedKey() {
|
|
1382
1408
|
return this.parent.focusedKey;
|
|
1383
1409
|
}
|
|
@@ -1397,25 +1423,25 @@ class Ta extends Ne {
|
|
|
1397
1423
|
super(e.collection, r), this.parent = e;
|
|
1398
1424
|
}
|
|
1399
1425
|
}
|
|
1400
|
-
function
|
|
1401
|
-
var
|
|
1402
|
-
let u =
|
|
1426
|
+
function No(t, e, r, a = "react-aria-MenuSection") {
|
|
1427
|
+
var o, s;
|
|
1428
|
+
let u = P(ye), { CollectionBranch: i } = P(Ie), [n, d] = wr();
|
|
1403
1429
|
var l;
|
|
1404
|
-
let { headingProps: $, groupProps: p } =
|
|
1430
|
+
let { headingProps: $, groupProps: p } = Mo({
|
|
1405
1431
|
heading: d,
|
|
1406
1432
|
"aria-label": (l = r.props["aria-label"]) !== null && l !== void 0 ? l : void 0
|
|
1407
1433
|
}), c = G({
|
|
1408
|
-
defaultClassName:
|
|
1409
|
-
className: (
|
|
1434
|
+
defaultClassName: a,
|
|
1435
|
+
className: (o = r.props) === null || o === void 0 ? void 0 : o.className,
|
|
1410
1436
|
style: (s = r.props) === null || s === void 0 ? void 0 : s.style,
|
|
1411
1437
|
values: {}
|
|
1412
|
-
}), b =
|
|
1438
|
+
}), b = P(te), x = Ne(t), g = t.selectionMode != null ? new Io(b, x) : b;
|
|
1413
1439
|
return /* @__PURE__ */ f.createElement("section", {
|
|
1414
|
-
...
|
|
1440
|
+
...K(t),
|
|
1415
1441
|
...p,
|
|
1416
1442
|
...c,
|
|
1417
1443
|
ref: e
|
|
1418
|
-
}, /* @__PURE__ */ f.createElement(
|
|
1444
|
+
}, /* @__PURE__ */ f.createElement(_, {
|
|
1419
1445
|
values: [
|
|
1420
1446
|
[
|
|
1421
1447
|
Hr,
|
|
@@ -1434,20 +1460,20 @@ function Oa(t, e, r, o = "react-aria-MenuSection") {
|
|
|
1434
1460
|
parent: r
|
|
1435
1461
|
})));
|
|
1436
1462
|
}
|
|
1437
|
-
const
|
|
1438
|
-
var
|
|
1439
|
-
[e, r] =
|
|
1440
|
-
let s = (
|
|
1463
|
+
const pe = /* @__PURE__ */ D(null), pa = /* @__PURE__ */ Or("item", function(e, r, a) {
|
|
1464
|
+
var o;
|
|
1465
|
+
[e, r] = re(e, r, pe);
|
|
1466
|
+
let s = (o = Dr(pe)) === null || o === void 0 ? void 0 : o.id, u = P(ye), i = be(r), n = P(te), { menuItemProps: d, labelProps: l, descriptionProps: $, keyboardShortcutProps: p, ...c } = Ao({
|
|
1441
1467
|
...e,
|
|
1442
1468
|
id: s,
|
|
1443
|
-
key:
|
|
1469
|
+
key: a.key,
|
|
1444
1470
|
selectionManager: n
|
|
1445
1471
|
}, u, i), { hoverProps: b, isHovered: x } = ze({
|
|
1446
1472
|
isDisabled: c.isDisabled
|
|
1447
1473
|
}), g = G({
|
|
1448
1474
|
...e,
|
|
1449
1475
|
id: void 0,
|
|
1450
|
-
children:
|
|
1476
|
+
children: a.rendered,
|
|
1451
1477
|
defaultClassName: "react-aria-MenuItem",
|
|
1452
1478
|
values: {
|
|
1453
1479
|
...c,
|
|
@@ -1458,9 +1484,9 @@ const $e = /* @__PURE__ */ D(null), co = /* @__PURE__ */ Tr("item", function(e,
|
|
|
1458
1484
|
hasSubmenu: !!e["aria-haspopup"],
|
|
1459
1485
|
isOpen: e["aria-expanded"] === "true"
|
|
1460
1486
|
}
|
|
1461
|
-
}),
|
|
1462
|
-
return /* @__PURE__ */ f.createElement(
|
|
1463
|
-
...
|
|
1487
|
+
}), O = e.href ? "a" : "div";
|
|
1488
|
+
return /* @__PURE__ */ f.createElement(O, {
|
|
1489
|
+
...H(d, b),
|
|
1464
1490
|
...g,
|
|
1465
1491
|
ref: i,
|
|
1466
1492
|
"data-disabled": c.isDisabled || void 0,
|
|
@@ -1472,40 +1498,40 @@ const $e = /* @__PURE__ */ D(null), co = /* @__PURE__ */ Tr("item", function(e,
|
|
|
1472
1498
|
"data-selection-mode": n.selectionMode === "none" ? void 0 : n.selectionMode,
|
|
1473
1499
|
"data-has-submenu": !!e["aria-haspopup"] || void 0,
|
|
1474
1500
|
"data-open": e["aria-expanded"] === "true" || void 0
|
|
1475
|
-
}, /* @__PURE__ */ f.createElement(
|
|
1501
|
+
}, /* @__PURE__ */ f.createElement(_, {
|
|
1476
1502
|
values: [
|
|
1477
1503
|
[
|
|
1478
1504
|
Ur,
|
|
1479
1505
|
{
|
|
1480
1506
|
slots: {
|
|
1481
|
-
[
|
|
1507
|
+
[de]: l,
|
|
1482
1508
|
label: l,
|
|
1483
1509
|
description: $
|
|
1484
1510
|
}
|
|
1485
1511
|
}
|
|
1486
1512
|
],
|
|
1487
1513
|
[
|
|
1488
|
-
|
|
1514
|
+
Oo,
|
|
1489
1515
|
p
|
|
1490
1516
|
]
|
|
1491
1517
|
]
|
|
1492
1518
|
}, g.children));
|
|
1493
|
-
}),
|
|
1494
|
-
function
|
|
1495
|
-
let e =
|
|
1519
|
+
}), cr = /* @__PURE__ */ D(null), ae = /* @__PURE__ */ D(null);
|
|
1520
|
+
function ba(t) {
|
|
1521
|
+
let e = ve(t), r = M(null), { triggerProps: a, overlayProps: o } = We({
|
|
1496
1522
|
type: "dialog"
|
|
1497
|
-
}, e, r), [s, u] = B(null), i =
|
|
1523
|
+
}, e, r), [s, u] = B(null), i = me(() => {
|
|
1498
1524
|
r.current && u(r.current.offsetWidth + "px");
|
|
1499
1525
|
}, [
|
|
1500
1526
|
r
|
|
1501
1527
|
]);
|
|
1502
|
-
return
|
|
1528
|
+
return Re({
|
|
1503
1529
|
ref: r,
|
|
1504
1530
|
onResize: i
|
|
1505
|
-
}),
|
|
1531
|
+
}), a.id = oe(), o["aria-labelledby"] = a.id, /* @__PURE__ */ f.createElement(_, {
|
|
1506
1532
|
values: [
|
|
1507
1533
|
[
|
|
1508
|
-
|
|
1534
|
+
ae,
|
|
1509
1535
|
e
|
|
1510
1536
|
],
|
|
1511
1537
|
[
|
|
@@ -1513,37 +1539,37 @@ function fo(t) {
|
|
|
1513
1539
|
e
|
|
1514
1540
|
],
|
|
1515
1541
|
[
|
|
1516
|
-
|
|
1517
|
-
|
|
1542
|
+
cr,
|
|
1543
|
+
o
|
|
1518
1544
|
],
|
|
1519
1545
|
[
|
|
1520
|
-
|
|
1546
|
+
xe,
|
|
1521
1547
|
{
|
|
1522
1548
|
trigger: "DialogTrigger",
|
|
1523
1549
|
triggerRef: r,
|
|
1524
|
-
"aria-labelledby":
|
|
1550
|
+
"aria-labelledby": o["aria-labelledby"],
|
|
1525
1551
|
style: {
|
|
1526
1552
|
"--trigger-width": s
|
|
1527
1553
|
}
|
|
1528
1554
|
}
|
|
1529
1555
|
]
|
|
1530
1556
|
]
|
|
1531
|
-
}, /* @__PURE__ */ f.createElement(
|
|
1532
|
-
...
|
|
1557
|
+
}, /* @__PURE__ */ f.createElement(Ve, {
|
|
1558
|
+
...a,
|
|
1533
1559
|
ref: r,
|
|
1534
1560
|
isPressed: e.isOpen
|
|
1535
1561
|
}, t.children));
|
|
1536
1562
|
}
|
|
1537
|
-
const
|
|
1538
|
-
let
|
|
1539
|
-
[e, r] =
|
|
1540
|
-
let { dialogProps:
|
|
1563
|
+
const ma = /* @__PURE__ */ ge(function(e, r) {
|
|
1564
|
+
let a = e["aria-labelledby"];
|
|
1565
|
+
[e, r] = re(e, r, cr);
|
|
1566
|
+
let { dialogProps: o, titleProps: s } = So({
|
|
1541
1567
|
...e,
|
|
1542
1568
|
// Only pass aria-labelledby from props, not context.
|
|
1543
1569
|
// Context is used as a fallback below.
|
|
1544
|
-
"aria-labelledby":
|
|
1545
|
-
}, r), u =
|
|
1546
|
-
!
|
|
1570
|
+
"aria-labelledby": a
|
|
1571
|
+
}, r), u = P(ae);
|
|
1572
|
+
!o["aria-label"] && !o["aria-labelledby"] && (e["aria-labelledby"] ? o["aria-labelledby"] = e["aria-labelledby"] : process.env.NODE_ENV !== "production" && console.warn('If a Dialog does not contain a <Heading slot="title">, it must have an aria-label or aria-labelledby attribute for accessibility.'));
|
|
1547
1573
|
let i = G({
|
|
1548
1574
|
defaultClassName: "react-aria-Dialog",
|
|
1549
1575
|
className: e.className,
|
|
@@ -1555,18 +1581,18 @@ const $o = /* @__PURE__ */ be(function(e, r) {
|
|
|
1555
1581
|
}
|
|
1556
1582
|
});
|
|
1557
1583
|
return /* @__PURE__ */ f.createElement("section", {
|
|
1558
|
-
...
|
|
1559
|
-
...
|
|
1584
|
+
...K(e),
|
|
1585
|
+
...o,
|
|
1560
1586
|
...i,
|
|
1561
1587
|
ref: r,
|
|
1562
1588
|
slot: e.slot || void 0
|
|
1563
|
-
}, /* @__PURE__ */ f.createElement(
|
|
1589
|
+
}, /* @__PURE__ */ f.createElement(_, {
|
|
1564
1590
|
values: [
|
|
1565
1591
|
[
|
|
1566
|
-
|
|
1592
|
+
Ar,
|
|
1567
1593
|
{
|
|
1568
1594
|
slots: {
|
|
1569
|
-
[
|
|
1595
|
+
[de]: {},
|
|
1570
1596
|
title: {
|
|
1571
1597
|
...s,
|
|
1572
1598
|
level: 2
|
|
@@ -1575,10 +1601,10 @@ const $o = /* @__PURE__ */ be(function(e, r) {
|
|
|
1575
1601
|
}
|
|
1576
1602
|
],
|
|
1577
1603
|
[
|
|
1578
|
-
|
|
1604
|
+
Er,
|
|
1579
1605
|
{
|
|
1580
1606
|
slots: {
|
|
1581
|
-
[
|
|
1607
|
+
[de]: {},
|
|
1582
1608
|
close: {
|
|
1583
1609
|
onPress: () => u == null ? void 0 : u.close()
|
|
1584
1610
|
}
|
|
@@ -1589,21 +1615,22 @@ const $o = /* @__PURE__ */ be(function(e, r) {
|
|
|
1589
1615
|
}, i.children));
|
|
1590
1616
|
});
|
|
1591
1617
|
export {
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1618
|
+
ba as $,
|
|
1619
|
+
ca as a,
|
|
1620
|
+
fa as b,
|
|
1621
|
+
$a as c,
|
|
1622
|
+
pa as d,
|
|
1623
|
+
$o as e,
|
|
1624
|
+
bo as f,
|
|
1625
|
+
Eo as g,
|
|
1626
|
+
yo as h,
|
|
1627
|
+
ae as i,
|
|
1628
|
+
Fe as j,
|
|
1629
|
+
Ke as k,
|
|
1630
|
+
ma as l,
|
|
1631
|
+
xe as m,
|
|
1632
|
+
cr as n,
|
|
1633
|
+
Co as o,
|
|
1634
|
+
ve as p,
|
|
1635
|
+
Ve as q
|
|
1609
1636
|
};
|