@midas-ds/components 10.4.0 → 11.0.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-BqsgiVWV.js → AccordionItem-BtDoammf.js} +7 -7
- package/{AccordionItem-BcsoC78F.cjs → AccordionItem-D2QYNgZS.cjs} +1 -1
- package/{BadgeContainer-DM8TdyMT.js → BadgeContainer-CKBIZWsc.js} +13 -13
- package/BadgeContainer-DWVHS5dn.cjs +1 -0
- package/{Breadcrumbs-D7eoibWk.js → Breadcrumbs-BBzSV4SK.js} +4 -4
- package/{Breadcrumbs-CfW5IuyE.cjs → Breadcrumbs-CFUryOhf.cjs} +1 -1
- package/{Button-BZUo7vsZ.js → Button-BjMaGya2.js} +2 -2
- package/{Button-CFYdzG0H.js → Button-CepQFEit.js} +4 -4
- package/{Button-BXY5ZhqI.cjs → Button-Dq6ugqxT.cjs} +1 -1
- package/Button.module-D-mPLRxe.js +14 -0
- package/Button.module-goCEz5qs.cjs +1 -0
- package/CHANGELOG.md +36 -0
- package/{Card-BaWSgtSF.js → Card-BRs1FKX5.js} +4 -4
- package/{Card-Cc1TNPcQ.cjs → Card-cdL5669N.cjs} +1 -1
- package/{CharacterCounter-cLhqPZlk.js → CharacterCounter-DpBDwvLw.js} +2 -2
- package/{Checkbox-LuUwTZ3W.js → Checkbox-EB_SCBEo.js} +3 -3
- package/{CheckboxGroup-CUA8_xSx.js → CheckboxGroup-CC9QGMuE.js} +7 -8
- package/CheckboxGroup-DhQX10rP.cjs +1 -0
- package/{Collection--62xKPm9.js → Collection-D2jVTmDW.js} +1 -1
- package/{ColorSchemeSwitch-Cwono7Ap.js → ColorSchemeSwitch-Cnyb9EKC.js} +42 -41
- package/ColorSchemeSwitch-owUryjYz.cjs +16 -0
- package/ComboBox-CiCB2e4W.cjs +1 -0
- package/{ComboBox-HLIAbb2q.js → ComboBox-Dnk8JMQ6.js} +65 -66
- package/{DateField-CnLEi7uX.js → DateField-BAS2v9aI.js} +4 -4
- package/{DateField-B3VjOSde.cjs → DateField-DleDM0Sy.cjs} +1 -1
- package/{DateInputDivider-Bi5N-C0c.js → DateInputDivider-B3oE1_tB.js} +39 -38
- package/DateInputDivider-ToFY-yjB.cjs +1 -0
- package/{DateRangePicker-CFOoGvut.js → DateRangePicker-Blej-jD0.js} +71 -72
- package/DateRangePicker-CYXWnCTq.cjs +6 -0
- package/{Dialog-pSSy1zwf.cjs → Dialog-B3R3WtL5.cjs} +1 -1
- package/{Dialog-SqciohRY.js → Dialog-BkUw6PlA.js} +7 -7
- package/{Dialog-CtVrVuMr.js → Dialog-DKHo0W9B.js} +443 -468
- package/Dialog-DtHk3eXI.cjs +1 -0
- package/{DragAndDrop-BoEd260f.cjs → DragAndDrop-CSg60YQE.cjs} +1 -1
- package/{DragAndDrop-DkSTL28C.js → DragAndDrop-DOXLfJaA.js} +1 -1
- package/Dropdown-CYakzdJg.cjs +6 -0
- package/{Dropdown-CkBp70BH.js → Dropdown-D6WCi_Ll.js} +19 -19
- package/FieldError-Bv3Q6ZP-.cjs +1 -0
- package/FieldError-CDCvUjK5.js +46 -0
- package/{FileUpload-B4rv-wke.js → FileUpload-BokzdXVc.js} +448 -562
- package/{FileUpload-BwMhyLjG.cjs → FileUpload-Bz9md5zc.cjs} +2 -2
- package/{FocusScope-D_hwN_TJ.js → FocusScope-BCsrRPqD.js} +1 -1
- package/{Group-CpkUzEAs.js → Group-B0vQfHDy.js} +1 -1
- package/{Heading-NxtGri2i.js → Heading-D2y_kiC0.js} +1 -1
- package/{InfoBanner-CVry6Y8i.cjs → InfoBanner-CzwbOdRG.cjs} +1 -1
- package/{InfoBanner-CBUoad7A.js → InfoBanner-D05poAe3.js} +5 -5
- package/{Input-LnjmFI1x.js → Input-n-Z20KbW.js} +1 -1
- package/{Label-TVxwGZ-O.js → Label-JLgFEbP9.js} +5 -5
- package/{Label-CNmTN1YY.cjs → Label-VO6CAFux.cjs} +1 -1
- package/Layout-BwLxIwtY.cjs +16 -0
- package/{Layout-amz9BESl.js → Layout-CcADAhds.js} +98 -98
- package/{Link-Bn8V3ZI0.js → Link-CibH8uRY.js} +3 -3
- package/Link-ESjrl63P.cjs +6 -0
- package/Link-ovwNVMfg.js +60 -0
- package/LinkButton-B6AWNiRn.cjs +6 -0
- package/LinkButton-BkZULm2a.js +69 -0
- package/{ListBox-BCz5-23H.cjs → ListBox-B0E1hdEt.cjs} +1 -1
- package/{ListBox-C-isJIHL.js → ListBox-CsxDGpCA.js} +11 -11
- package/{ListBoxButton-DNm3gvcT.cjs → ListBoxButton-BsuHFd_O.cjs} +1 -1
- package/{ListBoxButton-C_krklY0.js → ListBoxButton-DawRfuny.js} +1 -1
- package/{ListBoxSection-CfQZoURJ.cjs → ListBoxSection-C-Rz358T.cjs} +1 -1
- package/{ListBoxSection-BVR2xtOH.js → ListBoxSection-Cc2cx0_S.js} +6 -6
- package/{ListKeyboardDelegate-CY6t6y1t.js → ListKeyboardDelegate-C-sPNj0f.js} +2 -2
- package/{ListKeyboardDelegate-CPsZ7D83.cjs → ListKeyboardDelegate-ZKBk2IId.cjs} +1 -1
- package/{OverlayArrow-CfhSYL46.js → OverlayArrow-DB_aVTVM.js} +1 -1
- package/Popover--r4Zr4mO.cjs +1 -0
- package/{Popover-C8VY1YKi.js → Popover-DypW9ift.js} +13 -13
- package/PressResponder-4jE_HLu3.cjs +1 -0
- package/PressResponder-C3APAKsz.js +34 -0
- package/{ProgressBar-BNCjpcv8.js → ProgressBar-CFgcqHTR.js} +2 -2
- package/{ProgressBar-CcbxcWdT.cjs → ProgressBar-CJFNiudl.cjs} +1 -1
- package/Radio-CMH6pTWD.cjs +1 -0
- package/{Radio-CZYibh9r.js → Radio-DUBSD0kQ.js} +19 -20
- package/{RangeCalendar-B16b6tJD.js → RangeCalendar-BCruEq9d.js} +106 -109
- package/RangeCalendar-BY82hPRu.cjs +11 -0
- package/SearchField-QFyuaT-K.cjs +6 -0
- package/{SearchField-giwECmXS.js → SearchField-nwlyszwt.js} +47 -47
- package/Select-C5i-rIDh.cjs +1 -0
- package/{Select-mwaAv20X.js → Select-DKME5lZp.js} +107 -108
- package/SelectionManager-BJjqIWtf.cjs +1 -0
- package/{SelectionManager-zsWy3vsd.js → SelectionManager-BubxiIKu.js} +25 -24
- package/{Separator-Dn5LYN5I.js → Separator-CEZ5y7tZ.js} +4 -4
- package/{Separator-CxF-3jhR.cjs → Separator-DPLEx950.cjs} +1 -1
- package/Spinner-VSyPhiJ9.js +51 -0
- package/Spinner-vof0Y9Hh.cjs +6 -0
- package/{TabList-7VtCiXxX.cjs → TabList-BkSWzbDG.cjs} +1 -1
- package/{TabList-CthsM5h6.js → TabList-QApx8qRC.js} +90 -90
- package/{Table-BcQPvJT3.js → Table-B5Aine4F.js} +55 -54
- package/Table-DGYC-sDq.cjs +16 -0
- package/{Tag-Bs8T2Ei7.js → Tag-Byva_Xuy.js} +136 -135
- package/Tag-bYq-wf5D.cjs +1 -0
- package/{Text-DlKqpvSa.js → Text-BPcfhYQ9.js} +1 -1
- package/{Text-92cPh38G.js → Text-DcZqSUN9.js} +3 -3
- package/{TextArea-DBNAVWqL.js → TextArea-BhmdgD1w.js} +8 -8
- package/{TextArea-XJDfeXRs.cjs → TextArea-CY_tzBAJ.cjs} +1 -1
- package/{TextField-BdK9KEQ5.cjs → TextField-BAX93sq7.cjs} +1 -1
- package/{TextField-ByDJkig9.js → TextField-Dma22dnD.js} +19 -19
- package/{Toast-DPPvPhrF.js → Toast-CWt_mNIg.js} +5 -5
- package/{Toast-l1bKo2oA.cjs → Toast-DdmSvNaO.cjs} +1 -1
- package/{ToggleButtonGroup-DH8IgR4G.cjs → ToggleButtonGroup-DZ_wo0qx.cjs} +1 -1
- package/{ToggleButtonGroup-HOWNWtQZ.js → ToggleButtonGroup-HjvaTYD4.js} +4 -4
- package/{Tooltip-5mLWn_wO.js → Tooltip-DjNc93tV.js} +3 -3
- package/accordion/index.cjs +1 -1
- package/accordion/index.js +1 -1
- package/arrow-right-BGd86zzR.cjs +6 -0
- package/{arrow-right-Dg8sttFO.js → arrow-right-uemUGIg8.js} +5 -5
- package/assets/BadgeContainer.css +1 -1
- package/assets/Button.css +1 -1
- package/assets/FileUpload.css +1 -1
- package/assets/LinkButton.css +1 -1
- package/assets/Popover.css +1 -1
- package/assets/TabList.css +1 -1
- package/assets/Tag.css +1 -1
- package/badge/index.cjs +1 -1
- package/badge/index.js +1 -1
- package/breadcrumbs/index.cjs +1 -1
- package/breadcrumbs/index.js +1 -1
- package/button/index.cjs +1 -1
- package/button/index.js +1 -1
- package/calendar/index.cjs +1 -1
- package/calendar/index.js +1 -1
- package/card/Card.d.ts +1 -1
- package/card/index.cjs +1 -1
- package/card/index.js +1 -1
- package/character-counter/index.js +1 -1
- package/check-B0aKTFe5.cjs +6 -0
- package/check-B5h1DvDs.js +11 -0
- package/checkbox/index.cjs +1 -1
- package/checkbox/index.js +2 -2
- package/chevron-down-5hFlg_lR.cjs +6 -0
- package/chevron-down-DmZMdOiC.js +11 -0
- package/{circle-check-B9HYcH7Z.js → circle-check-BErh6TKu.js} +9 -9
- package/circle-check-OVUGxwp9.cjs +11 -0
- package/color-scheme-switch/index.cjs +1 -1
- package/color-scheme-switch/index.js +1 -1
- package/combobox/index.cjs +1 -1
- package/combobox/index.js +1 -1
- package/createLucideIcon-CTVXwe6i.cjs +21 -0
- package/createLucideIcon-XRdN60yz.js +94 -0
- package/date-field/index.cjs +1 -1
- package/date-field/index.js +2 -2
- 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 +3 -14
- package/file-upload/index.cjs +1 -1
- package/file-upload/index.d.ts +1 -1
- package/file-upload/index.js +3 -2
- package/{getScrollParent-CsZ9ciml.cjs → getScrollParent-DuKmPmUa.cjs} +1 -1
- package/{getScrollParent-CT_L9LUr.js → getScrollParent-Ru2U2LlM.js} +1 -1
- package/heading/index.js +1 -1
- package/index.cjs +1 -1
- package/index.js +97 -96
- package/{info-BZwphdye.js → info-CPK1vbOJ.js} +5 -5
- package/info-Dj6SyPex.cjs +6 -0
- package/info-banner/index.cjs +1 -1
- package/info-banner/index.js +1 -1
- package/label/index.cjs +1 -1
- package/label/index.js +1 -1
- package/layout/index.cjs +1 -1
- package/layout/index.js +1 -1
- package/link/Link.d.ts +1 -1
- package/link/index.cjs +1 -1
- package/link/index.js +2 -2
- package/link-button/LinkButton.d.ts +1 -1
- 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/modal/index.cjs +1 -1
- package/modal/index.js +2 -2
- package/package.json +1 -1
- package/popover/index.cjs +1 -1
- package/popover/index.js +1 -1
- package/progress-bar/index.cjs +1 -1
- package/progress-bar/index.js +1 -1
- package/radio/index.cjs +1 -1
- package/radio/index.js +1 -1
- package/scrollIntoView-ClEACHUk.js +57 -0
- package/scrollIntoView-DRSoJp89.cjs +1 -0
- package/search-field/index.cjs +1 -1
- package/search-field/index.js +1 -1
- package/select/index.cjs +1 -1
- package/select/index.js +1 -1
- package/spinner/index.cjs +1 -1
- package/spinner/index.js +1 -1
- package/{square-arrow-out-up-right-BkyqV2PN.js → square-arrow-out-up-right-ok0A3Ovo.js} +4 -4
- package/square-arrow-out-up-right-xCFdJTzY.cjs +6 -0
- package/table/index.cjs +1 -1
- package/table/index.js +1 -1
- package/tabs/index.cjs +1 -1
- package/tabs/index.js +1 -1
- package/tag/index.cjs +1 -1
- package/tag/index.js +1 -1
- package/text/index.js +1 -1
- package/textfield/index.cjs +1 -1
- package/textfield/index.js +1 -1
- package/theme/index.cjs +1 -1
- package/theme/index.d.ts +1 -0
- package/theme/index.js +2 -2
- package/theme/tokens.d.ts +1 -0
- 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-BghDnMdO.cjs → tokens-BF-dPard.cjs} +1 -1
- package/{tokens-fEwCQXDv.js → tokens-r1r3wC04.js} +4 -3
- package/tooltip/index.js +1 -1
- package/{triangle-alert-wxyxspAl.js → triangle-alert-B_qAPmWC.js} +5 -5
- package/triangle-alert-BviJNFjf.cjs +6 -0
- package/{useButton-1-Jf-oHj.js → useButton-BoIV3kDJ.js} +5 -5
- package/{useDateFormatter-BVCkxVdw.js → useDateFormatter-C7BJgoDR.js} +1 -1
- package/useDescription-CPo72trh.cjs +1 -0
- package/useDescription-DYfKjGGU.js +32 -0
- package/{useField-BEBXv5Mh.js → useField-CefQB81E.js} +1 -1
- package/{useFilter-e2oIVF_O.cjs → useFilter-BhM2yVO3.cjs} +1 -1
- package/{useFilter-CousKe2K.js → useFilter-DginflOU.js} +1 -1
- package/{useFocusable-ChPA2Jc7.js → useFocusable-BjE42axF.js} +7 -7
- package/{useHasTabbableChild-BE81d_ab.js → useHasTabbableChild-DP62kzkG.js} +1 -1
- package/{useHighlightSelectionDescription-BfR_vGOe.cjs → useHighlightSelectionDescription-DmbDkFGY.cjs} +1 -1
- package/{useHighlightSelectionDescription-D73hrkmn.js → useHighlightSelectionDescription-xr_16pKd.js} +2 -2
- package/{useListState-CebsX_1d.js → useListState-DNB7JWoj.js} +1 -1
- package/{useListState-DymkJGDF.cjs → useListState-wLau6fXo.cjs} +1 -1
- package/{usePress-DuR4pVsE.js → usePress-BW47IcyU.js} +34 -34
- package/{useSingleSelectListState-BLXvGjLI.js → useSingleSelectListState-B0OMoHd_.js} +1 -1
- package/{useSingleSelectListState-BPhlCU26.cjs → useSingleSelectListState-DlO5H9N-.cjs} +1 -1
- package/{useTextField-C-sUypsx.js → useTextField-DjxayZsV.js} +2 -2
- package/{utils-DJhAJHk_.js → utils-KLjWgdLR.js} +5 -5
- package/{x-JK7i-TQC.js → x-C2xUHAEl.js} +5 -5
- package/x-rV-nu490.cjs +6 -0
- package/BadgeContainer-I1XA3OCl.cjs +0 -1
- package/Button.module-DEQtBYe5.cjs +0 -1
- package/Button.module-tti8HGxs.js +0 -14
- package/CheckboxGroup-DmUOM0xl.cjs +0 -1
- package/ColorSchemeSwitch-DDXdSzqg.cjs +0 -16
- package/ComboBox-BBC7jhnm.cjs +0 -1
- package/DateInputDivider-3BvwXXa9.cjs +0 -1
- package/DateRangePicker-BPlZ12r8.cjs +0 -6
- package/Dialog-CSnN6baf.cjs +0 -1
- package/Dropdown-DAsVShlt.cjs +0 -6
- package/FieldError-B3YFj-an.js +0 -23
- package/FieldError-BbR-29BM.js +0 -28
- package/FieldError-MVsU-Mgw.cjs +0 -1
- package/FieldError-bRTpchvr.cjs +0 -1
- package/Layout-Dw-oCqxd.cjs +0 -16
- package/Link-D92ftFi2.cjs +0 -6
- package/Link-DegonJfl.js +0 -59
- package/LinkButton-CckYzfJ8.js +0 -69
- package/LinkButton-DKZ4z6zu.cjs +0 -6
- package/Popover-CnAsw3wI.cjs +0 -1
- package/Radio-B2zfEFdq.cjs +0 -1
- package/RangeCalendar-C1LFeOVk.cjs +0 -11
- package/SearchField-CML0kjtn.cjs +0 -6
- package/Select-DKey6CeS.cjs +0 -1
- package/SelectionManager-D0jYUYcy.cjs +0 -1
- package/Spinner-CbJ6YAz-.js +0 -53
- package/Spinner-yHcy8YHC.cjs +0 -6
- package/Table-DkvNp6xm.cjs +0 -16
- package/Tag-CFWZ2LQW.cjs +0 -1
- package/arrow-right-QJ2gXPKQ.cjs +0 -6
- package/check-CLF6Yxza.js +0 -11
- package/check-D_KoootC.cjs +0 -6
- package/chevron-down-Cd1bkzXT.js +0 -13
- package/chevron-down-jl83cllc.cjs +0 -6
- package/circle-check-BGo8gML8.cjs +0 -11
- package/createLucideIcon-Cg_wkoIA.cjs +0 -21
- package/createLucideIcon-DeWljiyi.js +0 -79
- package/file-upload/intl/translations.json.d.ts +0 -17
- package/info-CIEIENo6.cjs +0 -6
- package/scrollIntoView-BLnsPvFA.js +0 -87
- package/scrollIntoView-joIyo-Jt.cjs +0 -1
- package/square-arrow-out-up-right-V4Gd08uI.cjs +0 -6
- package/triangle-alert-DJW8U7jL.cjs +0 -6
- package/x-H8Zrx8-x.cjs +0 -6
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";require('./assets/ComboBox.css');const h=require("react/jsx-runtime"),n=require("react"),V=require("./Button-DExMoP5f.cjs"),_=require("./utils-DHNZrQmj.cjs"),Ce=require("./FieldError-Bv3Q6ZP-.cjs"),ru=require("./Form-BuOomA4T.cjs"),ve=require("./Group-DOpbdoAi.cjs"),xe=require("./Input-MJji5hhq.cjs"),ce=require("./ListBox-B0E1hdEt.cjs"),de=require("./Dialog-DtHk3eXI.cjs"),Ae=require("./Text-CfcjRtke.cjs"),Be=require("./Collection-BtBX5IMY.cjs"),$u=require("./filterDOMProps-BS2lrgFA.cjs"),Ee=require("./OverlayArrow-DpZ1FqOd.cjs"),bu=require("./useFilter-BhM2yVO3.cjs"),De=require("./useFormValidation-BlFGdPZB.cjs"),se=require("./SelectionManager-BJjqIWtf.cjs"),au=require("./useSingleSelectListState-DlO5H9N-.cjs"),Cu=require("./useListState-wLau6fXo.cjs"),xu=require("./useControlledState-D0L6S_5r.cjs"),$e=require("./mergeProps-B5KXZAI3.cjs"),he=require("./utils-Dvdohqm9.cjs"),hu=require("./usePress-BooY_CAy.cjs"),fe=require("./useLabels-CSU0kbtJ.cjs"),fu=require("./useUpdateEffect-C5YQs_1w.cjs"),be=require("./useHover-BE_XKZKe.cjs"),mu=require("./Separator-DPLEx950.cjs"),vu=require("./ListKeyboardDelegate-ZKBk2IId.cjs"),Au=require("./useLocalizedStringFormatter-BiX5BTlb.cjs"),Bu=require("./useTextField-DnRrCg5o.cjs"),ae=require("./clsx-C11secjj.cjs"),me=require("./Label-VO6CAFux.cjs"),Eu=require("./Text-DBHWi5gA.cjs"),re=require("./ListBoxSection-C-Rz358T.cjs"),Du=require("./chevron-down-5hFlg_lR.cjs"),Tu=require("./useLocalizedStringFormatter-BO2iZEL0.cjs");var Te={};Te={buttonLabel:"عرض المقترحات",countAnnouncement:(e,u)=>`${u.plural(e.optionCount,{one:()=>`${u.number(e.optionCount)} خيار`,other:()=>`${u.number(e.optionCount)} خيارات`})} متاحة.`,focusAnnouncement:(e,u)=>`${u.select({true:()=>`المجموعة المدخلة ${e.groupTitle}, مع ${u.plural(e.groupCount,{one:()=>`${u.number(e.groupCount)} خيار`,other:()=>`${u.number(e.groupCount)} خيارات`})}. `,other:""},e.isGroupChange)}${e.optionText}${u.select({true:", محدد",other:""},e.isSelected)}`,listboxLabel:"مقترحات",selectedAnnouncement:e=>`${e.optionText}، محدد`};var Fe={};Fe={buttonLabel:"Покажи предложения",countAnnouncement:(e,u)=>`${u.plural(e.optionCount,{one:()=>`${u.number(e.optionCount)} опция`,other:()=>`${u.number(e.optionCount)} опции`})} на разположение.`,focusAnnouncement:(e,u)=>`${u.select({true:()=>`Въведена група ${e.groupTitle}, с ${u.plural(e.groupCount,{one:()=>`${u.number(e.groupCount)} опция`,other:()=>`${u.number(e.groupCount)} опции`})}. `,other:""},e.isGroupChange)}${e.optionText}${u.select({true:", избрани",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, избрани`};var ye={};ye={buttonLabel:"Zobrazit doporučení",countAnnouncement:(e,u)=>`K dispozici ${u.plural(e.optionCount,{one:()=>`je ${u.number(e.optionCount)} možnost`,other:()=>`jsou/je ${u.number(e.optionCount)} možnosti/-í`})}.`,focusAnnouncement:(e,u)=>`${u.select({true:()=>`Zadaná skupina „${e.groupTitle}“ ${u.plural(e.groupCount,{one:()=>`s ${u.number(e.groupCount)} možností`,other:()=>`se ${u.number(e.groupCount)} možnostmi`})}. `,other:""},e.isGroupChange)}${e.optionText}${u.select({true:" (vybráno)",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybráno`};var Se={};Se={buttonLabel:"Vis forslag",countAnnouncement:(e,u)=>`${u.plural(e.optionCount,{one:()=>`${u.number(e.optionCount)} mulighed tilgængelig`,other:()=>`${u.number(e.optionCount)} muligheder tilgængelige`})}.`,focusAnnouncement:(e,u)=>`${u.select({true:()=>`Angivet gruppe ${e.groupTitle}, med ${u.plural(e.groupCount,{one:()=>`${u.number(e.groupCount)} mulighed`,other:()=>`${u.number(e.groupCount)} muligheder`})}. `,other:""},e.isGroupChange)}${e.optionText}${u.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var Le={};Le={buttonLabel:"Empfehlungen anzeigen",countAnnouncement:(e,u)=>`${u.plural(e.optionCount,{one:()=>`${u.number(e.optionCount)} Option`,other:()=>`${u.number(e.optionCount)} Optionen`})} verfügbar.`,focusAnnouncement:(e,u)=>`${u.select({true:()=>`Eingetretene Gruppe ${e.groupTitle}, mit ${u.plural(e.groupCount,{one:()=>`${u.number(e.groupCount)} Option`,other:()=>`${u.number(e.groupCount)} Optionen`})}. `,other:""},e.isGroupChange)}${e.optionText}${u.select({true:", ausgewählt",other:""},e.isSelected)}`,listboxLabel:"Empfehlungen",selectedAnnouncement:e=>`${e.optionText}, ausgewählt`};var ge={};ge={buttonLabel:"Προβολή προτάσεων",countAnnouncement:(e,u)=>`${u.plural(e.optionCount,{one:()=>`${u.number(e.optionCount)} επιλογή`,other:()=>`${u.number(e.optionCount)} επιλογές `})} διαθέσιμες.`,focusAnnouncement:(e,u)=>`${u.select({true:()=>`Εισαγμένη ομάδα ${e.groupTitle}, με ${u.plural(e.groupCount,{one:()=>`${u.number(e.groupCount)} επιλογή`,other:()=>`${u.number(e.groupCount)} επιλογές`})}. `,other:""},e.isGroupChange)}${e.optionText}${u.select({true:", επιλεγμένο",other:""},e.isSelected)}`,listboxLabel:"Προτάσεις",selectedAnnouncement:e=>`${e.optionText}, επιλέχθηκε`};var ke={};ke={focusAnnouncement:(e,u)=>`${u.select({true:()=>`Entered group ${e.groupTitle}, with ${u.plural(e.groupCount,{one:()=>`${u.number(e.groupCount)} option`,other:()=>`${u.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${u.select({true:", selected",other:""},e.isSelected)}`,countAnnouncement:(e,u)=>`${u.plural(e.optionCount,{one:()=>`${u.number(e.optionCount)} option`,other:()=>`${u.number(e.optionCount)} options`})} available.`,selectedAnnouncement:e=>`${e.optionText}, selected`,buttonLabel:"Show suggestions",listboxLabel:"Suggestions"};var Pe={};Pe={buttonLabel:"Mostrar sugerencias",countAnnouncement:(e,u)=>`${u.plural(e.optionCount,{one:()=>`${u.number(e.optionCount)} opción`,other:()=>`${u.number(e.optionCount)} opciones`})} disponible(s).`,focusAnnouncement:(e,u)=>`${u.select({true:()=>`Se ha unido al grupo ${e.groupTitle}, con ${u.plural(e.groupCount,{one:()=>`${u.number(e.groupCount)} opción`,other:()=>`${u.number(e.groupCount)} opciones`})}. `,other:""},e.isGroupChange)}${e.optionText}${u.select({true:", seleccionado",other:""},e.isSelected)}`,listboxLabel:"Sugerencias",selectedAnnouncement:e=>`${e.optionText}, seleccionado`};var Re={};Re={buttonLabel:"Kuva soovitused",countAnnouncement:(e,u)=>`${u.plural(e.optionCount,{one:()=>`${u.number(e.optionCount)} valik`,other:()=>`${u.number(e.optionCount)} valikud`})} saadaval.`,focusAnnouncement:(e,u)=>`${u.select({true:()=>`Sisestatud rühm ${e.groupTitle}, valikuga ${u.plural(e.groupCount,{one:()=>`${u.number(e.groupCount)} valik`,other:()=>`${u.number(e.groupCount)} valikud`})}. `,other:""},e.isGroupChange)}${e.optionText}${u.select({true:", valitud",other:""},e.isSelected)}`,listboxLabel:"Soovitused",selectedAnnouncement:e=>`${e.optionText}, valitud`};var Ke={};Ke={buttonLabel:"Näytä ehdotukset",countAnnouncement:(e,u)=>`${u.plural(e.optionCount,{one:()=>`${u.number(e.optionCount)} vaihtoehto`,other:()=>`${u.number(e.optionCount)} vaihtoehdot`})} saatavilla.`,focusAnnouncement:(e,u)=>`${u.select({true:()=>`Mentiin ryhmään ${e.groupTitle}, ${u.plural(e.groupCount,{one:()=>`${u.number(e.groupCount)} vaihtoehdon`,other:()=>`${u.number(e.groupCount)} vaihtoehdon`})} kanssa.`,other:""},e.isGroupChange)}${e.optionText}${u.select({true:", valittu",other:""},e.isSelected)}`,listboxLabel:"Ehdotukset",selectedAnnouncement:e=>`${e.optionText}, valittu`};var Oe={};Oe={buttonLabel:"Afficher les suggestions",countAnnouncement:(e,u)=>`${u.plural(e.optionCount,{one:()=>`${u.number(e.optionCount)} option`,other:()=>`${u.number(e.optionCount)} options`})} disponible(s).`,focusAnnouncement:(e,u)=>`${u.select({true:()=>`Groupe ${e.groupTitle} rejoint, avec ${u.plural(e.groupCount,{one:()=>`${u.number(e.groupCount)} option`,other:()=>`${u.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${u.select({true:", sélectionné(s)",other:""},e.isSelected)}`,listboxLabel:"Suggestions",selectedAnnouncement:e=>`${e.optionText}, sélectionné`};var je={};je={buttonLabel:"הצג הצעות",countAnnouncement:(e,u)=>`${u.plural(e.optionCount,{one:()=>`אפשרות ${u.number(e.optionCount)}`,other:()=>`${u.number(e.optionCount)} אפשרויות`})} במצב זמין.`,focusAnnouncement:(e,u)=>`${u.select({true:()=>`נכנס לקבוצה ${e.groupTitle}, עם ${u.plural(e.groupCount,{one:()=>`אפשרות ${u.number(e.groupCount)}`,other:()=>`${u.number(e.groupCount)} אפשרויות`})}. `,other:""},e.isGroupChange)}${e.optionText}${u.select({true:", נבחר",other:""},e.isSelected)}`,listboxLabel:"הצעות",selectedAnnouncement:e=>`${e.optionText}, נבחר`};var Ie={};Ie={buttonLabel:"Prikaži prijedloge",countAnnouncement:(e,u)=>`Dostupno još: ${u.plural(e.optionCount,{one:()=>`${u.number(e.optionCount)} opcija`,other:()=>`${u.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,u)=>`${u.select({true:()=>`Unesena skupina ${e.groupTitle}, s ${u.plural(e.groupCount,{one:()=>`${u.number(e.groupCount)} opcijom`,other:()=>`${u.number(e.groupCount)} opcije/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${u.select({true:", odabranih",other:""},e.isSelected)}`,listboxLabel:"Prijedlozi",selectedAnnouncement:e=>`${e.optionText}, odabrano`};var Me={};Me={buttonLabel:"Javaslatok megjelenítése",countAnnouncement:(e,u)=>`${u.plural(e.optionCount,{one:()=>`${u.number(e.optionCount)} lehetőség`,other:()=>`${u.number(e.optionCount)} lehetőség`})} áll rendelkezésre.`,focusAnnouncement:(e,u)=>`${u.select({true:()=>`Belépett a(z) ${e.groupTitle} csoportba, amely ${u.plural(e.groupCount,{one:()=>`${u.number(e.groupCount)} lehetőséget`,other:()=>`${u.number(e.groupCount)} lehetőséget`})} tartalmaz. `,other:""},e.isGroupChange)}${e.optionText}${u.select({true:", kijelölve",other:""},e.isSelected)}`,listboxLabel:"Javaslatok",selectedAnnouncement:e=>`${e.optionText}, kijelölve`};var we={};we={buttonLabel:"Mostra suggerimenti",countAnnouncement:(e,u)=>`${u.plural(e.optionCount,{one:()=>`${u.number(e.optionCount)} opzione disponibile`,other:()=>`${u.number(e.optionCount)} opzioni disponibili`})}.`,focusAnnouncement:(e,u)=>`${u.select({true:()=>`Ingresso nel gruppo ${e.groupTitle}, con ${u.plural(e.groupCount,{one:()=>`${u.number(e.groupCount)} opzione`,other:()=>`${u.number(e.groupCount)} opzioni`})}. `,other:""},e.isGroupChange)}${e.optionText}${u.select({true:", selezionato",other:""},e.isSelected)}`,listboxLabel:"Suggerimenti",selectedAnnouncement:e=>`${e.optionText}, selezionato`};var qe={};qe={buttonLabel:"候補を表示",countAnnouncement:(e,u)=>`${u.plural(e.optionCount,{one:()=>`${u.number(e.optionCount)} 個のオプション`,other:()=>`${u.number(e.optionCount)} 個のオプション`})}を利用できます。`,focusAnnouncement:(e,u)=>`${u.select({true:()=>`入力されたグループ ${e.groupTitle}、${u.plural(e.groupCount,{one:()=>`${u.number(e.groupCount)} 個のオプション`,other:()=>`${u.number(e.groupCount)} 個のオプション`})}を含む。`,other:""},e.isGroupChange)}${e.optionText}${u.select({true:"、選択済み",other:""},e.isSelected)}`,listboxLabel:"候補",selectedAnnouncement:e=>`${e.optionText}、選択済み`};var ze={};ze={buttonLabel:"제안 사항 표시",countAnnouncement:(e,u)=>`${u.plural(e.optionCount,{one:()=>`${u.number(e.optionCount)}개 옵션`,other:()=>`${u.number(e.optionCount)}개 옵션`})}을 사용할 수 있습니다.`,focusAnnouncement:(e,u)=>`${u.select({true:()=>`입력한 그룹 ${e.groupTitle}, ${u.plural(e.groupCount,{one:()=>`${u.number(e.groupCount)}개 옵션`,other:()=>`${u.number(e.groupCount)}개 옵션`})}. `,other:""},e.isGroupChange)}${e.optionText}${u.select({true:", 선택됨",other:""},e.isSelected)}`,listboxLabel:"제안",selectedAnnouncement:e=>`${e.optionText}, 선택됨`};var Ge={};Ge={buttonLabel:"Rodyti pasiūlymus",countAnnouncement:(e,u)=>`Yra ${u.plural(e.optionCount,{one:()=>`${u.number(e.optionCount)} parinktis`,other:()=>`${u.number(e.optionCount)} parinktys (-ių)`})}.`,focusAnnouncement:(e,u)=>`${u.select({true:()=>`Įvesta grupė ${e.groupTitle}, su ${u.plural(e.groupCount,{one:()=>`${u.number(e.groupCount)} parinktimi`,other:()=>`${u.number(e.groupCount)} parinktimis (-ių)`})}. `,other:""},e.isGroupChange)}${e.optionText}${u.select({true:", pasirinkta",other:""},e.isSelected)}`,listboxLabel:"Pasiūlymai",selectedAnnouncement:e=>`${e.optionText}, pasirinkta`};var Ve={};Ve={buttonLabel:"Rādīt ieteikumus",countAnnouncement:(e,u)=>`Pieejamo opciju skaits: ${u.plural(e.optionCount,{one:()=>`${u.number(e.optionCount)} opcija`,other:()=>`${u.number(e.optionCount)} opcijas`})}.`,focusAnnouncement:(e,u)=>`${u.select({true:()=>`Ievadīta grupa ${e.groupTitle}, ar ${u.plural(e.groupCount,{one:()=>`${u.number(e.groupCount)} opciju`,other:()=>`${u.number(e.groupCount)} opcijām`})}. `,other:""},e.isGroupChange)}${e.optionText}${u.select({true:", atlasīta",other:""},e.isSelected)}`,listboxLabel:"Ieteikumi",selectedAnnouncement:e=>`${e.optionText}, atlasīta`};var Ne={};Ne={buttonLabel:"Vis forslag",countAnnouncement:(e,u)=>`${u.plural(e.optionCount,{one:()=>`${u.number(e.optionCount)} alternativ`,other:()=>`${u.number(e.optionCount)} alternativer`})} finnes.`,focusAnnouncement:(e,u)=>`${u.select({true:()=>`Angitt gruppe ${e.groupTitle}, med ${u.plural(e.groupCount,{one:()=>`${u.number(e.groupCount)} alternativ`,other:()=>`${u.number(e.groupCount)} alternativer`})}. `,other:""},e.isGroupChange)}${e.optionText}${u.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var Ue={};Ue={buttonLabel:"Suggesties weergeven",countAnnouncement:(e,u)=>`${u.plural(e.optionCount,{one:()=>`${u.number(e.optionCount)} optie`,other:()=>`${u.number(e.optionCount)} opties`})} beschikbaar.`,focusAnnouncement:(e,u)=>`${u.select({true:()=>`Groep ${e.groupTitle} ingevoerd met ${u.plural(e.groupCount,{one:()=>`${u.number(e.groupCount)} optie`,other:()=>`${u.number(e.groupCount)} opties`})}. `,other:""},e.isGroupChange)}${e.optionText}${u.select({true:", geselecteerd",other:""},e.isSelected)}`,listboxLabel:"Suggesties",selectedAnnouncement:e=>`${e.optionText}, geselecteerd`};var We={};We={buttonLabel:"Wyświetlaj sugestie",countAnnouncement:(e,u)=>`dostępna/dostępne(-nych) ${u.plural(e.optionCount,{one:()=>`${u.number(e.optionCount)} opcja`,other:()=>`${u.number(e.optionCount)} opcje(-i)`})}.`,focusAnnouncement:(e,u)=>`${u.select({true:()=>`Dołączono do grupy ${e.groupTitle}, z ${u.plural(e.groupCount,{one:()=>`${u.number(e.groupCount)} opcją`,other:()=>`${u.number(e.groupCount)} opcjami`})}. `,other:""},e.isGroupChange)}${e.optionText}${u.select({true:", wybrano",other:""},e.isSelected)}`,listboxLabel:"Sugestie",selectedAnnouncement:e=>`${e.optionText}, wybrano`};var He={};He={buttonLabel:"Mostrar sugestões",countAnnouncement:(e,u)=>`${u.plural(e.optionCount,{one:()=>`${u.number(e.optionCount)} opção`,other:()=>`${u.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,u)=>`${u.select({true:()=>`Grupo inserido ${e.groupTitle}, com ${u.plural(e.groupCount,{one:()=>`${u.number(e.groupCount)} opção`,other:()=>`${u.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${u.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var Xe={};Xe={buttonLabel:"Apresentar sugestões",countAnnouncement:(e,u)=>`${u.plural(e.optionCount,{one:()=>`${u.number(e.optionCount)} opção`,other:()=>`${u.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,u)=>`${u.select({true:()=>`Grupo introduzido ${e.groupTitle}, com ${u.plural(e.groupCount,{one:()=>`${u.number(e.groupCount)} opção`,other:()=>`${u.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${u.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var Ze={};Ze={buttonLabel:"Afișare sugestii",countAnnouncement:(e,u)=>`${u.plural(e.optionCount,{one:()=>`${u.number(e.optionCount)} opțiune`,other:()=>`${u.number(e.optionCount)} opțiuni`})} disponibile.`,focusAnnouncement:(e,u)=>`${u.select({true:()=>`Grup ${e.groupTitle} introdus, cu ${u.plural(e.groupCount,{one:()=>`${u.number(e.groupCount)} opțiune`,other:()=>`${u.number(e.groupCount)} opțiuni`})}. `,other:""},e.isGroupChange)}${e.optionText}${u.select({true:", selectat",other:""},e.isSelected)}`,listboxLabel:"Sugestii",selectedAnnouncement:e=>`${e.optionText}, selectat`};var Je={};Je={buttonLabel:"Показать предложения",countAnnouncement:(e,u)=>`${u.plural(e.optionCount,{one:()=>`${u.number(e.optionCount)} параметр`,other:()=>`${u.number(e.optionCount)} параметров`})} доступно.`,focusAnnouncement:(e,u)=>`${u.select({true:()=>`Введенная группа ${e.groupTitle}, с ${u.plural(e.groupCount,{one:()=>`${u.number(e.groupCount)} параметром`,other:()=>`${u.number(e.groupCount)} параметрами`})}. `,other:""},e.isGroupChange)}${e.optionText}${u.select({true:", выбранными",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, выбрано`};var Ye={};Ye={buttonLabel:"Zobraziť návrhy",countAnnouncement:(e,u)=>`${u.plural(e.optionCount,{one:()=>`${u.number(e.optionCount)} možnosť`,other:()=>`${u.number(e.optionCount)} možnosti/-í`})} k dispozícii.`,focusAnnouncement:(e,u)=>`${u.select({true:()=>`Zadaná skupina ${e.groupTitle}, s ${u.plural(e.groupCount,{one:()=>`${u.number(e.groupCount)} možnosťou`,other:()=>`${u.number(e.groupCount)} možnosťami`})}. `,other:""},e.isGroupChange)}${e.optionText}${u.select({true:", vybraté",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybraté`};var Qe={};Qe={buttonLabel:"Prikaži predloge",countAnnouncement:(e,u)=>`Na voljo je ${u.plural(e.optionCount,{one:()=>`${u.number(e.optionCount)} opcija`,other:()=>`${u.number(e.optionCount)} opcije`})}.`,focusAnnouncement:(e,u)=>`${u.select({true:()=>`Vnesena skupina ${e.groupTitle}, z ${u.plural(e.groupCount,{one:()=>`${u.number(e.groupCount)} opcija`,other:()=>`${u.number(e.groupCount)} opcije`})}. `,other:""},e.isGroupChange)}${e.optionText}${u.select({true:", izbrano",other:""},e.isSelected)}`,listboxLabel:"Predlogi",selectedAnnouncement:e=>`${e.optionText}, izbrano`};var _e={};_e={buttonLabel:"Prikaži predloge",countAnnouncement:(e,u)=>`Dostupno još: ${u.plural(e.optionCount,{one:()=>`${u.number(e.optionCount)} opcija`,other:()=>`${u.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,u)=>`${u.select({true:()=>`Unesena grupa ${e.groupTitle}, s ${u.plural(e.groupCount,{one:()=>`${u.number(e.groupCount)} opcijom`,other:()=>`${u.number(e.groupCount)} optione/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${u.select({true:", izabranih",other:""},e.isSelected)}`,listboxLabel:"Predlozi",selectedAnnouncement:e=>`${e.optionText}, izabrano`};var eu={};eu={buttonLabel:"Visa förslag",countAnnouncement:(e,u)=>`${u.plural(e.optionCount,{one:()=>`${u.number(e.optionCount)} alternativ`,other:()=>`${u.number(e.optionCount)} alternativ`})} tillgängliga.`,focusAnnouncement:(e,u)=>`${u.select({true:()=>`Ingick i gruppen ${e.groupTitle} med ${u.plural(e.groupCount,{one:()=>`${u.number(e.groupCount)} alternativ`,other:()=>`${u.number(e.groupCount)} alternativ`})}. `,other:""},e.isGroupChange)}${e.optionText}${u.select({true:", valda",other:""},e.isSelected)}`,listboxLabel:"Förslag",selectedAnnouncement:e=>`${e.optionText}, valda`};var uu={};uu={buttonLabel:"Önerileri göster",countAnnouncement:(e,u)=>`${u.plural(e.optionCount,{one:()=>`${u.number(e.optionCount)} seçenek`,other:()=>`${u.number(e.optionCount)} seçenekler`})} kullanılabilir.`,focusAnnouncement:(e,u)=>`${u.select({true:()=>`Girilen grup ${e.groupTitle}, ile ${u.plural(e.groupCount,{one:()=>`${u.number(e.groupCount)} seçenek`,other:()=>`${u.number(e.groupCount)} seçenekler`})}. `,other:""},e.isGroupChange)}${e.optionText}${u.select({true:", seçildi",other:""},e.isSelected)}`,listboxLabel:"Öneriler",selectedAnnouncement:e=>`${e.optionText}, seçildi`};var nu={};nu={buttonLabel:"Показати пропозиції",countAnnouncement:(e,u)=>`${u.plural(e.optionCount,{one:()=>`${u.number(e.optionCount)} параметр`,other:()=>`${u.number(e.optionCount)} параметри(-ів)`})} доступно.`,focusAnnouncement:(e,u)=>`${u.select({true:()=>`Введена група ${e.groupTitle}, з ${u.plural(e.groupCount,{one:()=>`${u.number(e.groupCount)} параметр`,other:()=>`${u.number(e.groupCount)} параметри(-ів)`})}. `,other:""},e.isGroupChange)}${e.optionText}${u.select({true:", вибрано",other:""},e.isSelected)}`,listboxLabel:"Пропозиції",selectedAnnouncement:e=>`${e.optionText}, вибрано`};var ou={};ou={buttonLabel:"显示建议",countAnnouncement:(e,u)=>`有 ${u.plural(e.optionCount,{one:()=>`${u.number(e.optionCount)} 个选项`,other:()=>`${u.number(e.optionCount)} 个选项`})}可用。`,focusAnnouncement:(e,u)=>`${u.select({true:()=>`进入了 ${e.groupTitle} 组,其中有 ${u.plural(e.groupCount,{one:()=>`${u.number(e.groupCount)} 个选项`,other:()=>`${u.number(e.groupCount)} 个选项`})}. `,other:""},e.isGroupChange)}${e.optionText}${u.select({true:", 已选择",other:""},e.isSelected)}`,listboxLabel:"建议",selectedAnnouncement:e=>`${e.optionText}, 已选择`};var tu={};tu={buttonLabel:"顯示建議",countAnnouncement:(e,u)=>`${u.plural(e.optionCount,{one:()=>`${u.number(e.optionCount)} 選項`,other:()=>`${u.number(e.optionCount)} 選項`})} 可用。`,focusAnnouncement:(e,u)=>`${u.select({true:()=>`輸入的群組 ${e.groupTitle}, 有 ${u.plural(e.groupCount,{one:()=>`${u.number(e.groupCount)} 選項`,other:()=>`${u.number(e.groupCount)} 選項`})}. `,other:""},e.isGroupChange)}${e.optionText}${u.select({true:", 已選取",other:""},e.isSelected)}`,listboxLabel:"建議",selectedAnnouncement:e=>`${e.optionText}, 已選取`};var lu={};lu={"ar-AE":Te,"bg-BG":Fe,"cs-CZ":ye,"da-DK":Se,"de-DE":Le,"el-GR":ge,"en-US":ke,"es-ES":Pe,"et-EE":Re,"fi-FI":Ke,"fr-FR":Oe,"he-IL":je,"hr-HR":Ie,"hu-HU":Me,"it-IT":we,"ja-JP":qe,"ko-KR":ze,"lt-LT":Ge,"lv-LV":Ve,"nb-NO":Ne,"nl-NL":Ue,"pl-PL":We,"pt-BR":He,"pt-PT":Xe,"ro-RO":Ze,"ru-RU":Je,"sk-SK":Ye,"sl-SI":Qe,"sr-SP":_e,"sv-SE":eu,"tr-TR":uu,"uk-UA":nu,"zh-CN":ou,"zh-TW":tu};function Fu(e){return e&&e.__esModule?e.default:e}function yu(e,u){let{buttonRef:c,popoverRef:a,inputRef:l,listBoxRef:d,keyboardDelegate:A,layoutDelegate:C,shouldFocusWrap:f,isReadOnly:F,isDisabled:g}=e,m=n.useRef(null);c=c??m;let B=Au.$fca6afa0e843324b$export$f12b703ca79dfbb1(Fu(lu),"@react-aria/combobox"),{menuTriggerProps:E,menuProps:D}=de.$168583247155ddda$export$dc9c12ed27dd1b49({type:"listbox",isDisabled:g||F},u,c);ce.$b1f0cad8af73213b$export$3585ede4d035bf14.set(u,{id:D.id});let{collection:v}=u,{disabledKeys:L}=u.selectionManager,i=n.useMemo(()=>A||new vu.$2a25aae57d74318e$export$a05409b8bb224a5a({collection:v,disabledKeys:L,ref:d,layoutDelegate:C}),[A,C,v,L,d]),{collectionProps:M}=se.$ae20dd8cbca75726$export$d6daf82dcd84e87c({selectionManager:u.selectionManager,keyboardDelegate:i,disallowTypeAhead:!0,disallowEmptySelection:!0,shouldFocusWrap:f,ref:l,isVirtualized:!0}),ee=hu.$ea8dcbcb9ea1b556$export$9a302a45f65d0572(),ue=o=>{if(!o.nativeEvent.isComposing)switch(o.key){case"Enter":case"Tab":if(u.isOpen&&o.key==="Enter"&&o.preventDefault(),u.isOpen&&d.current&&u.selectionManager.focusedKey!=null&&u.selectionManager.isLink(u.selectionManager.focusedKey)){let p=d.current.querySelector(`[data-key="${CSS.escape(u.selectionManager.focusedKey.toString())}"]`);if(o.key==="Enter"&&p instanceof HTMLAnchorElement){let s=u.collection.getItem(u.selectionManager.focusedKey);s&&ee.open(p,o,s.props.href,s.props.routerOptions)}u.close()}else u.commit();break;case"Escape":(u.selectedKey!==null||u.inputValue===""||e.allowsCustomValue)&&o.continuePropagation(),u.revert();break;case"ArrowDown":u.open("first","manual");break;case"ArrowUp":u.open("last","manual");break;case"ArrowLeft":case"ArrowRight":u.selectionManager.setFocusedKey(null);break}},w=o=>{var p;let s=(c==null?void 0:c.current)&&c.current===o.relatedTarget,K=(p=a.current)===null||p===void 0?void 0:p.contains(o.relatedTarget);s||K||(e.onBlur&&e.onBlur(o),u.setFocused(!1))},N=o=>{u.isFocused||(e.onFocus&&e.onFocus(o),u.setFocused(!0))},{isInvalid:U,validationErrors:r,validationDetails:W}=u.displayValidation,{labelProps:y,inputProps:S,descriptionProps:Z,errorMessageProps:ne}=Bu.$2d73ec29415bd339$export$712718f7aec83d5({...e,onChange:u.setInputValue,onKeyDown:F?e.onKeyDown:$e.$ff5963eb1fccf552$export$e08e3b67e392101e(u.isOpen&&M.onKeyDown,ue,e.onKeyDown),onBlur:w,value:u.inputValue,onFocus:N,autoComplete:"off",validate:void 0,[De.$e5be200c675c3b3a$export$a763b9476acd3eb]:u},l),q=o=>{if(o.pointerType==="touch"){var p;(p=l.current)===null||p===void 0||p.focus(),u.toggle(null,"manual")}},H=o=>{if(o.pointerType!=="touch"){var p;(p=l.current)===null||p===void 0||p.focus(),u.toggle(o.pointerType==="keyboard"||o.pointerType==="virtual"?"first":null,"manual")}},$=fe.$313b98861ee5dd6c$export$d6875122194c7b44({id:E.id,"aria-label":B.format("buttonLabel"),"aria-labelledby":e["aria-labelledby"]||y.id}),k=fe.$313b98861ee5dd6c$export$d6875122194c7b44({id:D.id,"aria-label":B.format("listboxLabel"),"aria-labelledby":e["aria-labelledby"]||y.id}),O=n.useRef(0),z=o=>{if(g||F)return;if(o.timeStamp-O.current<500){var p;o.preventDefault(),(p=l.current)===null||p===void 0||p.focus();return}let s=o.target.getBoundingClientRect(),K=o.changedTouches[0],le=Math.ceil(s.left+.5*s.width),pe=Math.ceil(s.top+.5*s.height);if(K.clientX===le&&K.clientY===pe){var ie;o.preventDefault(),(ie=l.current)===null||ie===void 0||ie.focus(),u.toggle(null,"manual"),O.current=o.timeStamp}},T=u.selectionManager.focusedKey!=null&&u.isOpen?u.collection.getItem(u.selectionManager.focusedKey):void 0;var P;let j=(P=T==null?void 0:T.parentKey)!==null&&P!==void 0?P:null;var G;let I=(G=u.selectionManager.focusedKey)!==null&&G!==void 0?G:null,J=n.useRef(j),Y=n.useRef(I);n.useEffect(()=>{if(be.$c87311424ea30a05$export$e1865c3bedcd822b()&&T!=null&&I!=null&&I!==Y.current){let p=u.selectionManager.isSelected(I),s=j!=null?u.collection.getItem(j):null,K=(s==null?void 0:s["aria-label"])||(typeof(s==null?void 0:s.rendered)=="string"?s.rendered:"")||"";var o;let le=B.format("focusAnnouncement",{isGroupChange:(o=s&&j!==J.current)!==null&&o!==void 0?o:!1,groupTitle:K,groupCount:s?[...se.$c5a24bc478652b5f$export$1005530eda016c13(s,u.collection)].length:0,optionText:T["aria-label"]||T.textValue||"",isSelected:p});V.$319e236875307eab$export$a9b970dcc4ae71a9(le)}J.current=j,Y.current=I});let R=mu.$453cc9f0df89c0a5$export$77d5aafae4e095b2(u.collection),Q=n.useRef(R),oe=n.useRef(u.isOpen);n.useEffect(()=>{let o=u.isOpen!==oe.current&&(u.selectionManager.focusedKey==null||be.$c87311424ea30a05$export$e1865c3bedcd822b());if(u.isOpen&&(o||R!==Q.current)){let p=B.format("countAnnouncement",{optionCount:R});V.$319e236875307eab$export$a9b970dcc4ae71a9(p)}Q.current=R,oe.current=u.isOpen});let te=n.useRef(u.selectedKey);return n.useEffect(()=>{if(be.$c87311424ea30a05$export$e1865c3bedcd822b()&&u.isFocused&&u.selectedItem&&u.selectedKey!==te.current){let o=u.selectedItem["aria-label"]||u.selectedItem.textValue||"",p=B.format("selectedAnnouncement",{optionText:o});V.$319e236875307eab$export$a9b970dcc4ae71a9(p)}te.current=u.selectedKey}),n.useEffect(()=>{if(u.isOpen)return de.$5e3802645cc19319$export$1c3ebcada18427bf([l.current,a.current].filter(o=>o!=null))},[u.isOpen,l,a]),fu.$4f58c5f72bcf79f7$export$496315a1608d9602(()=>{!T&&l.current&&he.$d4ee10de306f2510$export$cd4e5573fbe2b576(he.$431fbd86ca7dc216$export$b204af158042fbac(l.current))===l.current&&se.$55f9b1ae81f22853$export$2b35b76d2e30e129(l.current,null)},[T]),{labelProps:y,buttonProps:{...E,...$,excludeFromTabOrder:!0,preventFocusOnPress:!0,onPress:q,onPressStart:H,isDisabled:g||F},inputProps:$e.$3ef42575df84b30b$export$9d1611c77c2fe928(S,{role:"combobox","aria-expanded":E["aria-expanded"],"aria-controls":u.isOpen?D.id:void 0,"aria-autocomplete":"list","aria-activedescendant":T?ce.$b1f0cad8af73213b$export$9145995848b05025(u,T.key):void 0,onTouchEnd:z,autoCorrect:"off",spellCheck:"false"}),listBoxProps:$e.$3ef42575df84b30b$export$9d1611c77c2fe928(D,k,{autoFocus:u.focusStrategy||!0,shouldUseVirtualFocus:!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,linkBehavior:"selection"}),descriptionProps:Z,errorMessageProps:ne,isInvalid:U,validationErrors:r,validationDetails:W}}function Su(e){var u;let{defaultFilter:c,menuTrigger:a="input",allowsEmptyCollection:l=!1,allowsCustomValue:d,shouldCloseOnBlur:A=!0}=e,[C,f]=n.useState(!1),[F,g]=n.useState(!1),[m,B]=n.useState(null),E=t=>{e.onSelectionChange&&e.onSelectionChange(t),t===i&&(I(),P())};var D;let{collection:v,selectionManager:L,selectedKey:i,setSelectedKey:M,selectedItem:ee,disabledKeys:ue}=au.$a0d645289fe9b86b$export$e7f05e985daf4b5f({...e,onSelectionChange:E,items:(D=e.items)!==null&&D!==void 0?D:e.defaultItems}),w=e.defaultInputValue;if(w==null){var N,U;i==null?w="":w=(U=(N=v.getItem(i))===null||N===void 0?void 0:N.textValue)!==null&&U!==void 0?U:""}let[r,W]=xu.$458b0a5536c1a7cf$export$40bfa8c7b0832715(e.inputValue,w,e.onInputChange),y=v,S=n.useMemo(()=>e.items!=null||!c?v:Lu(v,r,c),[v,r,c,e.items]),[Z,ne]=n.useState(S),q=n.useRef("focus"),H=t=>{e.onOpenChange&&e.onOpenChange(t,t?q.current:void 0),L.setFocused(t),t||L.setFocusedKey(null)},$=Ee.$fc909762b330b746$export$61c6a8c84e605fb6({...e,onOpenChange:H,isOpen:void 0,defaultOpen:void 0}),k=(t=null,b)=>{let x=b==="manual"||b==="focus"&&a==="focus";(l||S.size>0||x&&y.size>0||e.items)&&(x&&!$.isOpen&&e.items===void 0&&f(!0),q.current=b,B(t),$.open())},O=(t=null,b)=>{let x=b==="manual"||b==="focus"&&a==="focus";!(l||S.size>0||x&&y.size>0||e.items)&&!$.isOpen||(x&&!$.isOpen&&e.items===void 0&&f(!0),$.isOpen||(q.current=b),T(t))},z=n.useCallback(()=>{ne(C?y:S)},[C,y,S]),T=n.useCallback((t=null)=>{$.isOpen&&z(),B(t),$.toggle()},[$,z]),P=n.useCallback(()=>{$.isOpen&&(z(),$.close())},[$,z]),[j,G]=n.useState(r),I=()=>{var t,b;let x=i!=null&&(b=(t=v.getItem(i))===null||t===void 0?void 0:t.textValue)!==null&&b!==void 0?b:"";G(x),W(x)};var J,Y;let R=n.useRef((Y=(J=e.selectedKey)!==null&&J!==void 0?J:e.defaultSelectedKey)!==null&&Y!==void 0?Y:null);var Q;let oe=n.useRef(i!=null&&(Q=(u=v.getItem(i))===null||u===void 0?void 0:u.textValue)!==null&&Q!==void 0?Q:"");n.useEffect(()=>{var t;F&&(S.size>0||l)&&!$.isOpen&&r!==j&&a!=="manual"&&k(null,"input"),!C&&!l&&$.isOpen&&S.size===0&&P(),i!=null&&i!==R.current&&P(),r!==j&&(L.setFocusedKey(null),f(!1),r===""&&(e.inputValue===void 0||e.selectedKey===void 0)&&M(null)),i!==R.current&&(e.inputValue===void 0||e.selectedKey===void 0)?I():j!==r&&G(r);var b;let x=i!=null&&(b=(t=v.getItem(i))===null||t===void 0?void 0:t.textValue)!==null&&b!==void 0?b:"";!F&&i!=null&&e.inputValue===void 0&&i===R.current&&oe.current!==x&&(G(x),W(x)),R.current=i,oe.current=x});let te=De.$e5be200c675c3b3a$export$fc1a364ae1f3ff10({...e,value:n.useMemo(()=>({inputValue:r,selectedKey:i}),[r,i])}),o=()=>{d&&i==null?p():s()},p=()=>{R.current=null,M(null),P()},s=()=>{if(e.selectedKey!==void 0&&e.inputValue!==void 0){var t,b;(t=e.onSelectionChange)===null||t===void 0||t.call(e,i);var x;let du=i!=null&&(x=(b=v.getItem(i))===null||b===void 0?void 0:b.textValue)!==null&&x!==void 0?x:"";G(du),P()}else I(),P()};const K=()=>{if(d){var t,b;const x=i!=null&&(b=(t=v.getItem(i))===null||t===void 0?void 0:t.textValue)!==null&&b!==void 0?b:"";r===x?s():p()}else s()};let le=()=>{$.isOpen&&L.focusedKey!=null?i===L.focusedKey?s():M(L.focusedKey):K()},pe=n.useRef(r),ie=t=>{t?(pe.current=r,a==="focus"&&!e.isReadOnly&&k(null,"focus")):(A&&K(),r!==pe.current&&te.commitValidation()),g(t)},su=n.useMemo(()=>$.isOpen?C?y:S:Z,[$.isOpen,y,S,C,Z]);return{...te,...$,focusStrategy:m,toggle:O,open:k,close:K,selectionManager:L,selectedKey:i,setSelectedKey:M,disabledKeys:ue,isFocused:F,setFocused:ie,selectedItem:ee,collection:su,inputValue:r,setInputValue:W,commit:le,revert:o}}function Lu(e,u,c){return new Cu.$a02d57049d202695$export$d085fb9e920b5ca7(iu(e,e,u,c))}function iu(e,u,c,a){let l=[];for(let d of u)if(d.type==="section"&&d.hasChildNodes){let A=iu(e,se.$c5a24bc478652b5f$export$1005530eda016c13(d,e),c,a);[...A].some(C=>C.type==="item")&&l.push({...d,childNodes:A})}else d.type==="item"&&a(d.textValue,c)?l.push({...d}):d.type!=="item"&&l.push({...d});return l}const gu=n.createContext(null),ku=n.createContext(null),Pu=n.forwardRef(function(u,c){[u,c]=_.$64fa3d84918910a7$export$29f1550f4b0d4415(u,c,gu);let{children:a,isDisabled:l=!1,isInvalid:d=!1,isRequired:A=!1}=u,C=n.useMemo(()=>{var f;return n.createElement(ce.$eed445e0843c11d0$export$7ff8f37d2d81a48d.Provider,{value:{items:(f=u.items)!==null&&f!==void 0?f:u.defaultItems}},typeof a=="function"?a({isOpen:!1,isDisabled:l,isInvalid:d,isRequired:A,defaultChildren:null}):a)},[a,l,d,A,u.items,u.defaultItems]);return n.createElement(Be.$e1995378a142960e$export$bf788dd355e3a401,{content:C},f=>n.createElement(Ku,{props:u,collection:f,comboBoxRef:c}))}),Ru=[V.$01b77f81d0f07f68$export$75b6ee27786ba447,V.$d2b4bc8c273e7be6$export$24d547caef80ccd1,xe.$3985021b0ad6602f$export$37fb8590cf2c088c,ve.$a049562f99e7db0e$export$f9c6924e160136d1,Ae.$514c0188e459b4c0$export$9afb8bc826b033ea];function Ku({props:e,collection:u,comboBoxRef:c}){let{name:a,formValue:l="key",allowsCustomValue:d}=e;d&&(l="text");let{validationBehavior:A}=_.$64fa3d84918910a7$export$fabf2dc03a41866e(ru.$d3e0e05bdfcf66bd$export$c24727297075ec6a)||{};var C,f;let F=(f=(C=e.validationBehavior)!==null&&C!==void 0?C:A)!==null&&f!==void 0?f:"native",{contains:g}=bu.$bb77f239b46e8c72$export$3274cf84b703fff({sensitivity:"base"}),m=Su({defaultFilter:e.defaultFilter||g,...e,items:e.items,children:void 0,collection:u,validationBehavior:F}),B=n.useRef(null),E=n.useRef(null),D=n.useRef(null),v=n.useRef(null),[L,i]=_.$64fa3d84918910a7$export$9d4c57ee4c6ffdd8(!e["aria-label"]&&!e["aria-labelledby"]),{buttonProps:M,inputProps:ee,listBoxProps:ue,labelProps:w,descriptionProps:N,errorMessageProps:U,...r}=yu({..._.$64fa3d84918910a7$export$ef03459518577ad4(e),label:i,inputRef:E,buttonRef:B,listBoxRef:D,popoverRef:v,name:l==="text"?a:void 0,validationBehavior:F},m),[W,y]=n.useState(null),S=n.useCallback(()=>{if(E.current){var $;let k=($=B.current)===null||$===void 0?void 0:$.getBoundingClientRect(),O=E.current.getBoundingClientRect(),z=k?Math.min(k.left,O.left):O.left,T=k?Math.max(k.right,O.right):O.right;y(T-z+"px")}},[B,E,y]);Ee.$9daab02d461809db$export$683480f191c0e3ea({ref:E,onResize:S});let Z=n.useMemo(()=>({isOpen:m.isOpen,isDisabled:e.isDisabled||!1,isInvalid:r.isInvalid||!1,isRequired:e.isRequired||!1}),[m.isOpen,e.isDisabled,r.isInvalid,e.isRequired]),ne=_.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,values:Z,defaultClassName:"react-aria-ComboBox"}),q=$u.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e);delete q.id;var H;return n.createElement(_.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[ku,m],[V.$01b77f81d0f07f68$export$75b6ee27786ba447,{...w,ref:L}],[V.$d2b4bc8c273e7be6$export$24d547caef80ccd1,{...M,ref:B,isPressed:m.isOpen}],[xe.$3985021b0ad6602f$export$37fb8590cf2c088c,{...ee,ref:E}],[de.$de32f1b87079253c$export$d2f961adcb0afbe,m],[de.$07b14b47974efb58$export$9b9a0cd73afb7ca4,{ref:v,triggerRef:E,scrollRef:D,placement:"bottom start",isNonModal:!0,trigger:"ComboBox",style:{"--trigger-width":W},clearContexts:Ru}],[ce.$eed445e0843c11d0$export$7ff8f37d2d81a48d,{...ue,ref:D}],[ce.$eed445e0843c11d0$export$7c5906fe4f1f2af2,m],[Ae.$514c0188e459b4c0$export$9afb8bc826b033ea,{slots:{description:N,errorMessage:U}}],[ve.$a049562f99e7db0e$export$f9c6924e160136d1,{isInvalid:r.isInvalid,isDisabled:e.isDisabled||!1}],[Ce.$ee014567cb39d3f0$export$ff05c3ac10437e03,r]]},n.createElement("div",{...q,...ne,ref:c,slot:e.slot||void 0,"data-focused":m.isFocused||void 0,"data-open":m.isOpen||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":r.isInvalid||void 0,"data-required":e.isRequired||void 0}),a&&l==="key"&&n.createElement("input",{type:"hidden",name:a,value:(H=m.selectedKey)!==null&&H!==void 0?H:""}))}const Ou="_combobox_zftmk_4",ju="_inputField_zftmk_9",Iu="_medium_zftmk_27",Mu="_wrap_zftmk_67",wu="_button_zftmk_73",qu="_icon_zftmk_105",X={combobox:Ou,inputField:ju,medium:Iu,wrap:Mu,button:wu,icon:qu},zu={showList:"Show list"},Gu={showList:"Visa lista"},Vu={en:zu,sv:Gu};function Nu({label:e,description:u,errorMessage:c,children:a,items:l,className:d,errorPosition:A="top",size:C="large",popover:f,...F}){const g=n.useRef(null),m=Tu.useLocalizedStringFormatter(Vu),B=E=>{var D;E.currentTarget.value&&((D=g.current)==null||D.select())};return h.jsxs(Pu,{className:ae.clsx(X.combobox,d),...F,children:[h.jsx(me.LabelWrapper,{popover:f,children:e&&h.jsx(me.Label,{children:e})}),u&&h.jsx(Eu.Text,{slot:"description",children:u}),A==="top"&&h.jsx(Ce.FieldError,{"data-testid":"fieldError",children:c}),h.jsxs("div",{className:X.wrap,children:[h.jsx(xe.$3985021b0ad6602f$export$f5b8910cec6cf069,{className:ae.clsx(X.inputField,{[X.medium]:C==="medium"}),onMouseUp:B,ref:g}),h.jsx(V.$d2b4bc8c273e7be6$export$353f5b6fc5456de1,{className:ae.clsx(X.button,{[X.medium]:C==="medium"}),"aria-label":m.format("showList"),children:h.jsx("div",{className:X.icon,"aria-hidden":"true",children:h.jsx(Du.ChevronDown,{size:20,"aria-hidden":!0})})})]}),A==="bottom"&&h.jsx(Ce.FieldError,{"data-testid":"fieldError",children:c}),h.jsx(re.ListBoxPopover,{children:h.jsx(re.ListBox,{items:l,children:a})})]})}function cu(e){return h.jsx(re.ListBoxItem,{...e})}function pu(e){return h.jsx(re.ListBoxSection,{...e,children:h.jsx(Be.$e1995378a142960e$export$fb8073518f34e6ec,{items:e.children,children:u=>h.jsx(cu,{children:u.name},u.id)})})}function Uu(e){return h.jsx(pu,{...e})}exports.ComboBox=Nu;exports.ComboBoxItem=cu;exports.ComboBoxSection=Uu;exports.ComboBoxSelection=pu;
|
|
@@ -1,39 +1,38 @@
|
|
|
1
1
|
import { jsxs as be, jsx as f } from "react/jsx-runtime";
|
|
2
2
|
import X, { useRef as T, useMemo as ee, useEffect as pe, useState as Q, useCallback as se, forwardRef as su, createContext as he } from "react";
|
|
3
|
-
import { f as re,
|
|
4
|
-
import { $ as $u,
|
|
5
|
-
import { $ as hu } from "./FieldError-
|
|
3
|
+
import { f as re, b as fe, e as ve, $ as ru } from "./Button-CepQFEit.js";
|
|
4
|
+
import { $ as $u, c as au, d as bu, e as Cu, a as xu, f as mu } from "./utils-KLjWgdLR.js";
|
|
5
|
+
import { $ as hu, F as Ce } from "./FieldError-CDCvUjK5.js";
|
|
6
6
|
import { $ as fu } from "./Form-CXcEMuBf.js";
|
|
7
|
-
import { a as Ae } from "./Group-
|
|
8
|
-
import { $ as Be, a as vu } from "./Input-
|
|
9
|
-
import { c as Au, d as Bu, e as Ee, f as Eu } from "./ListBox-
|
|
10
|
-
import { o as Tu, h as Du, i as Fu, m as yu } from "./Dialog-
|
|
11
|
-
import {
|
|
12
|
-
import { b as Lu, c as Su } from "./Collection
|
|
7
|
+
import { a as Ae } from "./Group-B0vQfHDy.js";
|
|
8
|
+
import { $ as Be, a as vu } from "./Input-n-Z20KbW.js";
|
|
9
|
+
import { c as Au, d as Bu, e as Ee, f as Eu } from "./ListBox-CsxDGpCA.js";
|
|
10
|
+
import { o as Tu, h as Du, i as Fu, m as yu } from "./Dialog-DKHo0W9B.js";
|
|
11
|
+
import { $ as Te } from "./Text-DcZqSUN9.js";
|
|
12
|
+
import { b as Lu, c as Su } from "./Collection-D2jVTmDW.js";
|
|
13
13
|
import { $ as gu } from "./filterDOMProps-D6KHYVBX.js";
|
|
14
|
-
import { a as ku, g as Pu } from "./OverlayArrow-
|
|
15
|
-
import { $ as Ku } from "./useFilter-
|
|
14
|
+
import { a as ku, g as Pu } from "./OverlayArrow-DB_aVTVM.js";
|
|
15
|
+
import { $ as Ku } from "./useFilter-DginflOU.js";
|
|
16
16
|
import { d as Ou, $ as Iu } from "./useFormValidation-BzzruZKm.js";
|
|
17
|
-
import { e as Ru, f as De, h as wu } from "./SelectionManager-
|
|
18
|
-
import { $ as Gu } from "./useSingleSelectListState-
|
|
19
|
-
import { b as zu } from "./useListState-
|
|
17
|
+
import { e as Ru, f as De, h as wu } from "./SelectionManager-BubxiIKu.js";
|
|
18
|
+
import { $ as Gu } from "./useSingleSelectListState-B0OMoHd_.js";
|
|
19
|
+
import { b as zu } from "./useListState-DNB7JWoj.js";
|
|
20
20
|
import { $ as Vu } from "./useControlledState-u436Wbp1.js";
|
|
21
|
-
import { e as Mu, a as
|
|
21
|
+
import { e as Mu, a as xe } from "./mergeProps-C1U1OIeJ.js";
|
|
22
22
|
import { c as ju, b as Nu } from "./utils-CoCR_Fce.js";
|
|
23
|
-
import {
|
|
23
|
+
import { c as Uu } from "./usePress-BW47IcyU.js";
|
|
24
24
|
import { $ as me } from "./useLabels-LrKQiY11.js";
|
|
25
25
|
import { $ as qu } from "./useUpdateEffect-CCDx8D4X.js";
|
|
26
26
|
import { o as $e } from "./useHover-DQvJ3Y-W.js";
|
|
27
|
-
import { a as Wu } from "./Separator-
|
|
28
|
-
import { a as Xu } from "./ListKeyboardDelegate-
|
|
27
|
+
import { a as Wu } from "./Separator-CEZ5y7tZ.js";
|
|
28
|
+
import { a as Xu } from "./ListKeyboardDelegate-C-sPNj0f.js";
|
|
29
29
|
import { $ as Zu } from "./useLocalizedStringFormatter-CL9MUZ8A.js";
|
|
30
|
-
import { $ as Hu } from "./useTextField-
|
|
30
|
+
import { $ as Hu } from "./useTextField-DjxayZsV.js";
|
|
31
31
|
import { c as ae } from "./clsx-OuTLNxxd.js";
|
|
32
|
-
import { a as Ju, L as Yu } from "./Label-
|
|
33
|
-
import { T as _u } from "./Text-
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import { C as on } from "./chevron-down-Cd1bkzXT.js";
|
|
32
|
+
import { a as Ju, L as Yu } from "./Label-JLgFEbP9.js";
|
|
33
|
+
import { T as _u } from "./Text-BPcfhYQ9.js";
|
|
34
|
+
import { b as Qu, L as en, a as un, c as nn } from "./ListBoxSection-Cc2cx0_S.js";
|
|
35
|
+
import { C as on } from "./chevron-down-DmZMdOiC.js";
|
|
37
36
|
import { u as tn } from "./useLocalizedStringFormatter-N0AyjzbM.js";
|
|
38
37
|
import './assets/ComboBox.css';var Fe = {};
|
|
39
38
|
Fe = {
|
|
@@ -756,8 +755,8 @@ function ln(e) {
|
|
|
756
755
|
return e && e.__esModule ? e.default : e;
|
|
757
756
|
}
|
|
758
757
|
function cn(e, u) {
|
|
759
|
-
let { buttonRef: i, popoverRef: a, inputRef: t, listBoxRef: d, keyboardDelegate: v, layoutDelegate: b, shouldFocusWrap:
|
|
760
|
-
i = i ??
|
|
758
|
+
let { buttonRef: i, popoverRef: a, inputRef: t, listBoxRef: d, keyboardDelegate: v, layoutDelegate: b, shouldFocusWrap: x, isReadOnly: F, isDisabled: g } = e, m = T(null);
|
|
759
|
+
i = i ?? m;
|
|
761
760
|
let A = Zu(ln(iu), "@react-aria/combobox"), { menuTriggerProps: B, menuProps: E } = Tu({
|
|
762
761
|
type: "listbox",
|
|
763
762
|
isDisabled: g || F
|
|
@@ -781,7 +780,7 @@ function cn(e, u) {
|
|
|
781
780
|
keyboardDelegate: l,
|
|
782
781
|
disallowTypeAhead: !0,
|
|
783
782
|
disallowEmptySelection: !0,
|
|
784
|
-
shouldFocusWrap:
|
|
783
|
+
shouldFocusWrap: x,
|
|
785
784
|
ref: t,
|
|
786
785
|
// Prevent item scroll behavior from being applied here, should be handled in the user's Popover + ListBox component
|
|
787
786
|
isVirtualized: !0
|
|
@@ -925,7 +924,7 @@ function cn(e, u) {
|
|
|
925
924
|
onPressStart: H,
|
|
926
925
|
isDisabled: g || F
|
|
927
926
|
},
|
|
928
|
-
inputProps:
|
|
927
|
+
inputProps: xe(L, {
|
|
929
928
|
role: "combobox",
|
|
930
929
|
"aria-expanded": B["aria-expanded"],
|
|
931
930
|
"aria-controls": u.isOpen ? E.id : void 0,
|
|
@@ -938,7 +937,7 @@ function cn(e, u) {
|
|
|
938
937
|
// This disable's the macOS Safari spell check auto corrections.
|
|
939
938
|
spellCheck: "false"
|
|
940
939
|
}),
|
|
941
|
-
listBoxProps:
|
|
940
|
+
listBoxProps: xe(E, k, {
|
|
942
941
|
autoFocus: u.focusStrategy || !0,
|
|
943
942
|
shouldUseVirtualFocus: !0,
|
|
944
943
|
shouldSelectOnPressUp: !0,
|
|
@@ -954,7 +953,7 @@ function cn(e, u) {
|
|
|
954
953
|
}
|
|
955
954
|
function pn(e) {
|
|
956
955
|
var u;
|
|
957
|
-
let { defaultFilter: i, menuTrigger: a = "input", allowsEmptyCollection: t = !1, allowsCustomValue: d, shouldCloseOnBlur: v = !0 } = e, [b,
|
|
956
|
+
let { defaultFilter: i, menuTrigger: a = "input", allowsEmptyCollection: t = !1, allowsCustomValue: d, shouldCloseOnBlur: v = !0 } = e, [b, x] = Q(!1), [F, g] = Q(!1), [m, A] = Q(null), B = (o) => {
|
|
958
957
|
e.onSelectionChange && e.onSelectionChange(o), o === l && (w(), P());
|
|
959
958
|
};
|
|
960
959
|
var E;
|
|
@@ -984,10 +983,10 @@ function pn(e) {
|
|
|
984
983
|
defaultOpen: void 0
|
|
985
984
|
}), k = (o = null, $) => {
|
|
986
985
|
let C = $ === "manual" || $ === "focus" && a === "focus";
|
|
987
|
-
(t || L.size > 0 || C && y.size > 0 || e.items) && (C && !r.isOpen && e.items === void 0 &&
|
|
986
|
+
(t || L.size > 0 || C && y.size > 0 || e.items) && (C && !r.isOpen && e.items === void 0 && x(!0), V.current = $, A(o), r.open());
|
|
988
987
|
}, I = (o = null, $) => {
|
|
989
988
|
let C = $ === "manual" || $ === "focus" && a === "focus";
|
|
990
|
-
!(t || L.size > 0 || C && y.size > 0 || e.items) && !r.isOpen || (C && !r.isOpen && e.items === void 0 &&
|
|
989
|
+
!(t || L.size > 0 || C && y.size > 0 || e.items) && !r.isOpen || (C && !r.isOpen && e.items === void 0 && x(!0), r.isOpen || (V.current = $), D(o));
|
|
991
990
|
}, M = se(() => {
|
|
992
991
|
oe(b ? y : L);
|
|
993
992
|
}, [
|
|
@@ -1015,7 +1014,7 @@ function pn(e) {
|
|
|
1015
1014
|
let te = T(l != null && (_ = (u = h.getItem(l)) === null || u === void 0 ? void 0 : u.textValue) !== null && _ !== void 0 ? _ : "");
|
|
1016
1015
|
pe(() => {
|
|
1017
1016
|
var o;
|
|
1018
|
-
F && (L.size > 0 || t) && !r.isOpen && s !== R && a !== "manual" && k(null, "input"), !b && !t && r.isOpen && L.size === 0 && P(), l != null && l !== K.current && P(), s !== R && (S.setFocusedKey(null),
|
|
1017
|
+
F && (L.size > 0 || t) && !r.isOpen && s !== R && a !== "manual" && k(null, "input"), !b && !t && r.isOpen && L.size === 0 && P(), l != null && l !== K.current && P(), s !== R && (S.setFocusedKey(null), x(!1), s === "" && (e.inputValue === void 0 || e.selectedKey === void 0) && G(null)), l !== K.current && (e.inputValue === void 0 || e.selectedKey === void 0) ? w() : R !== s && j(s);
|
|
1019
1018
|
var $;
|
|
1020
1019
|
let C = l != null && ($ = (o = h.getItem(l)) === null || o === void 0 ? void 0 : o.textValue) !== null && $ !== void 0 ? $ : "";
|
|
1021
1020
|
!F && l != null && e.inputValue === void 0 && l === K.current && te.current !== C && (j(C), q(C)), K.current = l, te.current = C;
|
|
@@ -1065,7 +1064,7 @@ function pn(e) {
|
|
|
1065
1064
|
return {
|
|
1066
1065
|
...le,
|
|
1067
1066
|
...r,
|
|
1068
|
-
focusStrategy:
|
|
1067
|
+
focusStrategy: m,
|
|
1069
1068
|
toggle: I,
|
|
1070
1069
|
open: k,
|
|
1071
1070
|
close: O,
|
|
@@ -1107,10 +1106,10 @@ function cu(e, u, i, a) {
|
|
|
1107
1106
|
const sn = /* @__PURE__ */ he(null), rn = /* @__PURE__ */ he(null), $n = /* @__PURE__ */ su(function(u, i) {
|
|
1108
1107
|
[u, i] = $u(u, i, sn);
|
|
1109
1108
|
let { children: a, isDisabled: t = !1, isInvalid: d = !1, isRequired: v = !1 } = u, b = ee(() => {
|
|
1110
|
-
var
|
|
1109
|
+
var x;
|
|
1111
1110
|
return /* @__PURE__ */ X.createElement(Ee.Provider, {
|
|
1112
1111
|
value: {
|
|
1113
|
-
items: (
|
|
1112
|
+
items: (x = u.items) !== null && x !== void 0 ? x : u.defaultItems
|
|
1114
1113
|
}
|
|
1115
1114
|
}, typeof a == "function" ? a({
|
|
1116
1115
|
isOpen: !1,
|
|
@@ -1129,9 +1128,9 @@ const sn = /* @__PURE__ */ he(null), rn = /* @__PURE__ */ he(null), $n = /* @__P
|
|
|
1129
1128
|
]);
|
|
1130
1129
|
return /* @__PURE__ */ X.createElement(Lu, {
|
|
1131
1130
|
content: b
|
|
1132
|
-
}, (
|
|
1131
|
+
}, (x) => /* @__PURE__ */ X.createElement(bn, {
|
|
1133
1132
|
props: u,
|
|
1134
|
-
collection:
|
|
1133
|
+
collection: x,
|
|
1135
1134
|
comboBoxRef: i
|
|
1136
1135
|
}));
|
|
1137
1136
|
}), an = [
|
|
@@ -1145,10 +1144,10 @@ function bn({ props: e, collection: u, comboBoxRef: i }) {
|
|
|
1145
1144
|
let { name: a, formValue: t = "key", allowsCustomValue: d } = e;
|
|
1146
1145
|
d && (t = "text");
|
|
1147
1146
|
let { validationBehavior: v } = au(fu) || {};
|
|
1148
|
-
var b,
|
|
1149
|
-
let F = (
|
|
1147
|
+
var b, x;
|
|
1148
|
+
let F = (x = (b = e.validationBehavior) !== null && b !== void 0 ? b : v) !== null && x !== void 0 ? x : "native", { contains: g } = Ku({
|
|
1150
1149
|
sensitivity: "base"
|
|
1151
|
-
}),
|
|
1150
|
+
}), m = pn({
|
|
1152
1151
|
defaultFilter: e.defaultFilter || g,
|
|
1153
1152
|
...e,
|
|
1154
1153
|
// If props.items isn't provided, rely on collection filtering (aka listbox.items is provided or defaultItems provided to Combobox)
|
|
@@ -1165,7 +1164,7 @@ function bn({ props: e, collection: u, comboBoxRef: i }) {
|
|
|
1165
1164
|
popoverRef: h,
|
|
1166
1165
|
name: t === "text" ? a : void 0,
|
|
1167
1166
|
validationBehavior: F
|
|
1168
|
-
},
|
|
1167
|
+
}, m), [q, y] = Q(null), L = se(() => {
|
|
1169
1168
|
if (B.current) {
|
|
1170
1169
|
var r;
|
|
1171
1170
|
let k = (r = A.current) === null || r === void 0 ? void 0 : r.getBoundingClientRect(), I = B.current.getBoundingClientRect(), M = k ? Math.min(k.left, I.left) : I.left, D = k ? Math.max(k.right, I.right) : I.right;
|
|
@@ -1181,27 +1180,27 @@ function bn({ props: e, collection: u, comboBoxRef: i }) {
|
|
|
1181
1180
|
onResize: L
|
|
1182
1181
|
});
|
|
1183
1182
|
let Z = ee(() => ({
|
|
1184
|
-
isOpen:
|
|
1183
|
+
isOpen: m.isOpen,
|
|
1185
1184
|
isDisabled: e.isDisabled || !1,
|
|
1186
1185
|
isInvalid: s.isInvalid || !1,
|
|
1187
1186
|
isRequired: e.isRequired || !1
|
|
1188
1187
|
}), [
|
|
1189
|
-
|
|
1188
|
+
m.isOpen,
|
|
1190
1189
|
e.isDisabled,
|
|
1191
1190
|
s.isInvalid,
|
|
1192
1191
|
e.isRequired
|
|
1193
|
-
]), oe =
|
|
1192
|
+
]), oe = xu({
|
|
1194
1193
|
...e,
|
|
1195
1194
|
values: Z,
|
|
1196
1195
|
defaultClassName: "react-aria-ComboBox"
|
|
1197
1196
|
}), V = gu(e);
|
|
1198
1197
|
delete V.id;
|
|
1199
1198
|
var H;
|
|
1200
|
-
return /* @__PURE__ */ X.createElement(
|
|
1199
|
+
return /* @__PURE__ */ X.createElement(mu, {
|
|
1201
1200
|
values: [
|
|
1202
1201
|
[
|
|
1203
1202
|
rn,
|
|
1204
|
-
|
|
1203
|
+
m
|
|
1205
1204
|
],
|
|
1206
1205
|
[
|
|
1207
1206
|
fe,
|
|
@@ -1215,7 +1214,7 @@ function bn({ props: e, collection: u, comboBoxRef: i }) {
|
|
|
1215
1214
|
{
|
|
1216
1215
|
...G,
|
|
1217
1216
|
ref: A,
|
|
1218
|
-
isPressed:
|
|
1217
|
+
isPressed: m.isOpen
|
|
1219
1218
|
}
|
|
1220
1219
|
],
|
|
1221
1220
|
[
|
|
@@ -1227,7 +1226,7 @@ function bn({ props: e, collection: u, comboBoxRef: i }) {
|
|
|
1227
1226
|
],
|
|
1228
1227
|
[
|
|
1229
1228
|
Fu,
|
|
1230
|
-
|
|
1229
|
+
m
|
|
1231
1230
|
],
|
|
1232
1231
|
[
|
|
1233
1232
|
yu,
|
|
@@ -1253,7 +1252,7 @@ function bn({ props: e, collection: u, comboBoxRef: i }) {
|
|
|
1253
1252
|
],
|
|
1254
1253
|
[
|
|
1255
1254
|
Eu,
|
|
1256
|
-
|
|
1255
|
+
m
|
|
1257
1256
|
],
|
|
1258
1257
|
[
|
|
1259
1258
|
Te,
|
|
@@ -1281,21 +1280,21 @@ function bn({ props: e, collection: u, comboBoxRef: i }) {
|
|
|
1281
1280
|
...oe,
|
|
1282
1281
|
ref: i,
|
|
1283
1282
|
slot: e.slot || void 0,
|
|
1284
|
-
"data-focused":
|
|
1285
|
-
"data-open":
|
|
1283
|
+
"data-focused": m.isFocused || void 0,
|
|
1284
|
+
"data-open": m.isOpen || void 0,
|
|
1286
1285
|
"data-disabled": e.isDisabled || void 0,
|
|
1287
1286
|
"data-invalid": s.isInvalid || void 0,
|
|
1288
1287
|
"data-required": e.isRequired || void 0
|
|
1289
1288
|
}), a && t === "key" && /* @__PURE__ */ X.createElement("input", {
|
|
1290
1289
|
type: "hidden",
|
|
1291
1290
|
name: a,
|
|
1292
|
-
value: (H =
|
|
1291
|
+
value: (H = m.selectedKey) !== null && H !== void 0 ? H : ""
|
|
1293
1292
|
}));
|
|
1294
1293
|
}
|
|
1295
|
-
const Cn = "_combobox_zftmk_4",
|
|
1294
|
+
const Cn = "_combobox_zftmk_4", xn = "_inputField_zftmk_9", mn = "_medium_zftmk_27", hn = "_wrap_zftmk_67", fn = "_button_zftmk_73", vn = "_icon_zftmk_105", W = {
|
|
1296
1295
|
combobox: Cn,
|
|
1297
|
-
inputField:
|
|
1298
|
-
medium:
|
|
1296
|
+
inputField: xn,
|
|
1297
|
+
medium: mn,
|
|
1299
1298
|
wrap: hn,
|
|
1300
1299
|
button: fn,
|
|
1301
1300
|
icon: vn
|
|
@@ -1307,7 +1306,7 @@ const Cn = "_combobox_zftmk_4", mn = "_inputField_zftmk_9", xn = "_medium_zftmk_
|
|
|
1307
1306
|
en: An,
|
|
1308
1307
|
sv: Bn
|
|
1309
1308
|
};
|
|
1310
|
-
function
|
|
1309
|
+
function po({
|
|
1311
1310
|
label: e,
|
|
1312
1311
|
description: u,
|
|
1313
1312
|
errorMessage: i,
|
|
@@ -1316,10 +1315,10 @@ function so({
|
|
|
1316
1315
|
className: d,
|
|
1317
1316
|
errorPosition: v = "top",
|
|
1318
1317
|
size: b = "large",
|
|
1319
|
-
popover:
|
|
1318
|
+
popover: x,
|
|
1320
1319
|
...F
|
|
1321
1320
|
}) {
|
|
1322
|
-
const g = X.useRef(null),
|
|
1321
|
+
const g = X.useRef(null), m = tn(En), A = (B) => {
|
|
1323
1322
|
var E;
|
|
1324
1323
|
B.currentTarget.value && ((E = g.current) == null || E.select());
|
|
1325
1324
|
};
|
|
@@ -1329,9 +1328,9 @@ function so({
|
|
|
1329
1328
|
className: ae(W.combobox, d),
|
|
1330
1329
|
...F,
|
|
1331
1330
|
children: [
|
|
1332
|
-
/* @__PURE__ */ f(Ju, { popover:
|
|
1331
|
+
/* @__PURE__ */ f(Ju, { popover: x, children: e && /* @__PURE__ */ f(Yu, { children: e }) }),
|
|
1333
1332
|
u && /* @__PURE__ */ f(_u, { slot: "description", children: u }),
|
|
1334
|
-
v === "top" && /* @__PURE__ */ f(
|
|
1333
|
+
v === "top" && /* @__PURE__ */ f(Ce, { "data-testid": "fieldError", children: i }),
|
|
1335
1334
|
/* @__PURE__ */ be("div", { className: W.wrap, children: [
|
|
1336
1335
|
/* @__PURE__ */ f(
|
|
1337
1336
|
vu,
|
|
@@ -1349,7 +1348,7 @@ function so({
|
|
|
1349
1348
|
className: ae(W.button, {
|
|
1350
1349
|
[W.medium]: b === "medium"
|
|
1351
1350
|
}),
|
|
1352
|
-
"aria-label":
|
|
1351
|
+
"aria-label": m.format("showList"),
|
|
1353
1352
|
children: /* @__PURE__ */ f(
|
|
1354
1353
|
"div",
|
|
1355
1354
|
{
|
|
@@ -1367,7 +1366,7 @@ function so({
|
|
|
1367
1366
|
}
|
|
1368
1367
|
)
|
|
1369
1368
|
] }),
|
|
1370
|
-
v === "bottom" && /* @__PURE__ */ f(
|
|
1369
|
+
v === "bottom" && /* @__PURE__ */ f(Ce, { "data-testid": "fieldError", children: i }),
|
|
1371
1370
|
/* @__PURE__ */ f(Qu, { children: /* @__PURE__ */ f(en, { items: t, children: a }) })
|
|
1372
1371
|
]
|
|
1373
1372
|
}
|
|
@@ -1379,12 +1378,12 @@ function Tn(e) {
|
|
|
1379
1378
|
function Dn(e) {
|
|
1380
1379
|
return /* @__PURE__ */ f(nn, { ...e, children: /* @__PURE__ */ f(Su, { items: e.children, children: (u) => /* @__PURE__ */ f(Tn, { children: u.name }, u.id) }) });
|
|
1381
1380
|
}
|
|
1382
|
-
function
|
|
1381
|
+
function so(e) {
|
|
1383
1382
|
return /* @__PURE__ */ f(Dn, { ...e });
|
|
1384
1383
|
}
|
|
1385
1384
|
export {
|
|
1386
|
-
|
|
1385
|
+
po as C,
|
|
1387
1386
|
Tn as a,
|
|
1388
1387
|
Dn as b,
|
|
1389
|
-
|
|
1388
|
+
so as c
|
|
1390
1389
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as F, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { $ as _, a as f, D as h } from "./DateInputDivider-
|
|
2
|
+
import { $ as _, a as f, D as h } from "./DateInputDivider-B3oE1_tB.js";
|
|
3
3
|
import { c as m } from "./clsx-OuTLNxxd.js";
|
|
4
|
-
import { F as s } from "./FieldError-
|
|
5
|
-
import { a as x, L as v } from "./Label-
|
|
6
|
-
import { T as D } from "./Text-
|
|
4
|
+
import { F as s } from "./FieldError-CDCvUjK5.js";
|
|
5
|
+
import { a as x, L as v } from "./Label-JLgFEbP9.js";
|
|
6
|
+
import { T as D } from "./Text-BPcfhYQ9.js";
|
|
7
7
|
import './assets/DateField.css';const b = "_dateField_1453v_4", $ = "_inputField_1453v_11", L = "_medium_1453v_22", d = {
|
|
8
8
|
dateField: b,
|
|
9
9
|
inputField: $,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require('./assets/DateField.css');const e=require("react/jsx-runtime"),i=require("./DateInputDivider-
|
|
1
|
+
"use strict";require('./assets/DateField.css');const e=require("react/jsx-runtime"),i=require("./DateInputDivider-ToFY-yjB.cjs"),c=require("./clsx-C11secjj.cjs"),n=require("./FieldError-Bv3Q6ZP-.cjs"),a=require("./Label-VO6CAFux.cjs"),j=require("./Text-DBHWi5gA.cjs"),_="_dateField_1453v_4",h="_inputField_1453v_11",q="_medium_1453v_22",t={dateField:_,inputField:h,medium:q},v=({className:u,description:d,errorMessage:l,errorPosition:s="top",isDisabled:o,label:r,size:x="large",popover:m,...F})=>e.jsxs(i.$40825cdb76e74f70$export$d9781c7894a82487,{...F,className:c.clsx(t.dateField,u),children:[e.jsx(a.LabelWrapper,{popover:m,children:r&&e.jsx(a.Label,{children:r})}),d&&e.jsx(j.Text,{slot:"description",children:d}),s==="top"&&e.jsx(n.FieldError,{children:l}),e.jsx("div",{className:c.clsx(t.inputField,{[t.medium]:x==="medium"}),"data-disabled":o||void 0,"data-testid":"date-field_input-field",children:e.jsx(i.DateInput,{children:p=>e.jsx(i.DateSegment,{segment:p})})}),s==="bottom"&&e.jsx(n.FieldError,{children:l})]});exports.DateField=v;
|