@stihl-design-system/components 1.0.0-RC.47 → 1.0.0-RC.48
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/{accordion.BQ7vavIt.js → accordion.D4XR2R7e.js} +2 -2
- package/{actionbutton.C7lqEmBx.js → actionbutton.C8hePX-D.js} +3 -3
- package/{actioncard.dgVHW0BC.js → actioncard.kDxu01xm.js} +1 -1
- package/{actionlink.CL6v1mQA.js → actionlink.dccc5JQV.js} +3 -3
- package/{arialiveregions.DC1Gq9Lo.js → arialiveregions.BniSDuPM.js} +9 -10
- package/assets/Accordion.RlqWqpGo.css +1 -0
- package/assets/ActionButton.Dw2FeIaW.css +1 -0
- package/assets/ActionCard.viEoC26n.css +1 -0
- package/assets/ActionLink.B1Jjaf7k.css +1 -0
- package/assets/Button.Bi1KUKMv.css +1 -0
- package/assets/Checkbox.C6RWhy0V.css +1 -0
- package/assets/Chip.DfamkUPw.css +1 -0
- package/assets/CustomReactSelect.CvWMmrAU.css +1 -0
- package/assets/Dialog.6AkQo8ew.css +1 -0
- package/assets/Drawer.CDOlX809.css +1 -0
- package/assets/Fieldset.BbLGXCWa.css +1 -0
- package/assets/InputFile.CDtghZtl.css +1 -0
- package/assets/InputNumber.BNpO9p7n.css +1 -0
- package/assets/InputPassword.BgZo-RUc.css +1 -0
- package/assets/InputSearch.BROFFTK9.css +1 -0
- package/assets/LinkButton.IKIlFnpH.css +1 -0
- package/assets/Notification.2B81JHOp.css +1 -0
- package/assets/Pagination.DH71DZ0j.css +1 -0
- package/assets/Popover.58Tb0dOt.css +1 -0
- package/assets/Select.CfTN3CJo.css +1 -0
- package/assets/Slider.B4kzL60S.css +1 -0
- package/assets/{SystemFeedback.DYi9QetY.css → SystemFeedback.DVMml_h9.css} +1 -1
- package/assets/TextUtility.BThulfyl.css +1 -0
- package/assets/Textarea.BO4AcRJD.css +1 -0
- package/assets/buttonround.syTU1QSI.css +1 -0
- package/assets/chipgroup.DtCnsmS7.css +1 -0
- package/assets/filelist.B-Ru0GP_.css +1 -0
- package/assets/input.Dy8VS73e.css +1 -0
- package/assets/numberindicator.CtbitPQ8.css +1 -0
- package/assets/progressindicator.tyY_RVQ9.css +1 -0
- package/assets/radio.9hUUyg8R.css +1 -0
- package/assets/switch.8v7Wp1Fj.css +1 -0
- package/assets/tabpane.DDaeSDQb.css +1 -0
- package/assets/text.BwGsYzGM.css +1 -0
- package/assets/tooltip.C_BL2kou.css +1 -0
- package/{banner.BlB_7xue.js → banner.DO7GsDL_.js} +1 -1
- package/{breadcrumb.DajORKq7.js → breadcrumb.DYov6vtt.js} +3 -3
- package/{button.EooIlFBI.js → button.qxcuzbnv.js} +2 -2
- package/buttonround.BO7_ewzA.js +101 -0
- package/{checkbox.NJj9qMnx.js → checkbox.C9kyIY9P.js} +4 -5
- package/{checkboxgroup.DELdyn0X.js → checkboxgroup.kEUxnKLf.js} +2 -2
- package/{chip.C4h8Hm9g.js → chip.5ktNLRYf.js} +3 -3
- package/chipgroup.kRU3Z98U.js +226 -0
- package/chunks/Accordion.gih2ni1d.js +179 -0
- package/chunks/ActionButton.B-wm5sUy.js +194 -0
- package/chunks/{ActionCard.Dbq2VqyZ.js → ActionCard.Bm-2ewfS.js} +44 -44
- package/chunks/ActionLink.D0KzqbH4.js +166 -0
- package/chunks/{AriaLiveRegions.utils.BPvIKT6B.js → AriaLiveRegions.utils.xoETe2Ps.js} +14 -16
- package/chunks/{Breadcrumb.Ccm79ver.js → Breadcrumb.I2G-T0zc.js} +2 -2
- package/chunks/Button.CCol--xy.js +165 -0
- package/chunks/Checkbox.BxOGR1bR.js +96 -0
- package/chunks/CheckboxGroup.TneO0tuE.js +85 -0
- package/chunks/Chip.DffaXMkV.js +148 -0
- package/chunks/{CustomReactSelect.oEQpO9iN.js → CustomReactSelect.DTAavYaz.js} +282 -277
- package/chunks/Dialog.guuxflWL.js +101 -0
- package/chunks/{Drawer.CDe_g99S.js → Drawer.CjUZu6GW.js} +27 -28
- package/chunks/Fieldset.BBMuLKps.js +94 -0
- package/chunks/{Flag.X9tB3Mfv.js → Flag.CbQYBzVC.js} +12 -13
- package/chunks/{Header.bLSdAY9-.js → Header.CvcGSuhX.js} +1 -1
- package/chunks/{Input.utils.CkmzxIrU.js → Input.utils.Wycy2SzG.js} +23 -25
- package/chunks/InputFile.y71Cd5J9.js +260 -0
- package/chunks/InputNumber.Fn2YbF_s.js +250 -0
- package/chunks/InputPassword.DtT9yrlx.js +129 -0
- package/chunks/InputSearch.BoAfGqoH.js +157 -0
- package/chunks/LinkButton.BxG7fx1O.js +150 -0
- package/chunks/LinkCard.DM-5WrSt.js +200 -0
- package/chunks/{MegaMenu.DbunD_yW.js → MegaMenu.udXR1H3W.js} +1 -1
- package/chunks/{NavigationTabList.CyrKNAer.js → NavigationTabList.thzA1pU8.js} +1 -1
- package/chunks/{NavigationTabs.DVBe-Wt3.js → NavigationTabs.BWewgBch.js} +1 -1
- package/chunks/Notification.C_o7Ge6Q.js +91 -0
- package/chunks/Pagination.BrOMUJMi.js +272 -0
- package/chunks/Popover.CxZZ_y1Z.js +230 -0
- package/chunks/RadioGroup.CO91_5hA.js +136 -0
- package/chunks/Select.EzoMdk1u.js +157 -0
- package/chunks/Slider.CX38t4Sk.js +330 -0
- package/chunks/{Stepper.KBRikedB.js → Stepper.Ds_aIEF8.js} +68 -69
- package/chunks/SystemFeedback.DhWcYjnu.js +43 -0
- package/chunks/{Tabs.xXn4zpGp.js → Tabs.BHVlgp7L.js} +2 -2
- package/chunks/Text.utils.DzlY9pJS.js +9 -0
- package/chunks/TextUtility.BZLwqyic.js +82 -0
- package/chunks/Textarea.vuJgvW6_.js +192 -0
- package/chunks/{Toast.NZfb7z3q.js → Toast.V_ZUAsf2.js} +1 -1
- package/chunks/translate.DSb-TdWR.js +2460 -0
- package/{combobox.CPsl2TC0.js → combobox.C6cPz4AJ.js} +1 -1
- package/components/Accordion/Accordion.d.ts +5 -0
- package/components/ActionButton/ActionButton.d.ts +5 -1
- package/components/ActionLink/ActionLink.d.ts +1 -1
- package/components/Button/Button.utils.d.ts +1 -1
- package/components/Checkbox/Checkbox.d.ts +8 -1
- package/components/CheckboxGroup/CheckboxGroup.d.ts +9 -1
- package/components/ChipGroup/Chip.d.ts +2 -0
- package/components/ChipGroup/ChipGroup.d.ts +12 -2
- package/components/ChipGroup/ChipGroup.utils.d.ts +39 -15
- package/components/Combobox/Combobox.utils.d.ts +66 -9
- package/components/Combobox/CustomReactSelect/CustomReactSelect.d.ts +5 -1
- package/components/Combobox/CustomReactSelect/CustomReactSelect.utils.d.ts +1 -1
- package/components/Fieldset/Fieldset.d.ts +9 -2
- package/components/Input/Input.d.ts +8 -1
- package/components/InputFile/FileList/FileList.d.ts +4 -2
- package/components/InputFile/FileList/FilePreview/FilePreview.d.ts +8 -2
- package/components/InputFile/FileList/ProgressIndicator/ProgressIndicator.d.ts +8 -2
- package/components/InputFile/InputFile.d.ts +12 -2
- package/components/InputFile/InputFile.utils.d.ts +41 -23
- package/components/InputNumber/InputNumber.d.ts +8 -1
- package/components/InputPassword/InputPassword.d.ts +8 -1
- package/components/InputSearch/InputSearch.d.ts +8 -1
- package/components/LinkCard/LinkCard.d.ts +10 -4
- package/components/LinkCard/LinkCard.utils.d.ts +2 -2
- package/components/NumberIndicator/NumberIndicator.d.ts +6 -1
- package/components/Pagination/Pagination.d.ts +10 -3
- package/components/Pagination/Pagination.utils.d.ts +22 -9
- package/components/Popover/Popover.d.ts +9 -1
- package/components/Popover/Popover.utils.d.ts +3 -2
- package/components/Radio/Radio.d.ts +5 -0
- package/components/RadioGroup/RadioGroup.d.ts +8 -0
- package/components/Select/Select.d.ts +8 -1
- package/components/Slider/Slider.d.ts +8 -1
- package/components/Stepper/Step.d.ts +1 -1
- package/components/Stepper/Step.utils.d.ts +1 -1
- package/components/Stepper/Stepper.d.ts +4 -1
- package/components/Stepper/Stepper.utils.d.ts +9 -4
- package/components/SystemFeedback/SystemFeedback.d.ts +9 -1
- package/components/Textarea/Textarea.d.ts +8 -1
- package/{customreactselect.D7BJg-2s.js → customreactselect.L0zSh3Tg.js} +4 -4
- package/{dialog.BlprGigG.js → dialog.Ddq8o8Od.js} +2 -2
- package/{drawer.BoyrTFi1.js → drawer.rbbjQvqL.js} +2 -2
- package/{fieldset.D_e2-vo_.js → fieldset.BHf3XK2q.js} +3 -3
- package/filelist.GrEwoM1u.js +143 -0
- package/filepreview.B2Ot9SZ7.js +97 -0
- package/{flag.0vpitrQ-.js → flag.fX6LAgty.js} +3 -4
- package/{floatingactionbutton.BrdE1vi2.js → floatingactionbutton.BwCiybnc.js} +1 -1
- package/{header.C3AqYBtz.js → header.BCeCjYfG.js} +1 -1
- package/index.es.js +203 -204
- package/input.Dh0ws-9j.js +187 -0
- package/inputfile.DiZh3GcT.js +17 -0
- package/{inputnumber.Box5R2An.js → inputnumber.D2cmptaH.js} +8 -9
- package/{inputpassword.CBc8GNwI.js → inputpassword.C53Kg4EA.js} +4 -4
- package/inputsearch.BrsIDUSW.js +14 -0
- package/link.DEZDbUgq.js +81 -0
- package/{linkbutton.DxEPueLb.js → linkbutton._X50W2Md.js} +3 -3
- package/{linkcard.CCY-VFWN.js → linkcard.BtM3KnjT.js} +3 -3
- package/{logo.D7LnRA1E.js → logo.D6BTxbxv.js} +0 -1
- package/{megamenu.C8OynEzk.js → megamenu.odVCUm4c.js} +2 -2
- package/{navigationtablist.iSQd5PX4.js → navigationtablist.n9DrtYe5.js} +2 -2
- package/{navigationtabs.FtkVv_qV.js → navigationtabs.D0mSyAtK.js} +2 -2
- package/{notification.Cqg8HpJ8.js → notification._X8-8vOa.js} +2 -2
- package/numberindicator.DsK65Bj3.js +39 -0
- package/package.json +6 -1
- package/pagination.B7Hrx_sk.js +14 -0
- package/partials/index.js +68 -68
- package/{popover.DYiEGSnj.js → popover.BBaqL7y9.js} +3 -3
- package/progressindicator.D9CfVD95.js +74 -0
- package/radio.DjToa2aV.js +148 -0
- package/{radiogroup.wqgExwrG.js → radiogroup.mc-8lw65.js} +3 -3
- package/{scroller.Dqnsxq2M.js → scroller.CgWp2WXG.js} +10 -11
- package/{select.DkKuGI6O.js → select.DTZ6a6Ag.js} +5 -6
- package/{skeleton.DUkBgXxO.js → skeleton.CNJdNVav.js} +10 -10
- package/{skiptocontent.CRQywi6J.js → skiptocontent.BsRpWvyu.js} +4 -4
- package/{slider.BOjqQp9n.js → slider.BMGAihY0.js} +3 -3
- package/{step.C6zDRCBu.js → step.DCQ6CawJ.js} +1 -1
- package/stepper.D7-7BdSv.js +15 -0
- package/styles/scss/ds/index.scss +2 -0
- package/styles/scss/ds/lib/border-width.scss +3 -0
- package/styles/scss/ds/lib/ds-internal/_input.scss +65 -21
- package/styles/scss/ds/lib/ds-internal/_link-button.scss +4 -2
- package/styles/scss/ds/lib/ds-internal/_link.scss +23 -3
- package/styles/scss/ds/lib/input.scss +12 -7
- package/styles/scss/ds/lib/link.scss +2 -2
- package/styles/scss/ds/lib/radius.scss +5 -0
- package/{switch.CuNNdrkD.js → switch.tM2XBag8.js} +2 -2
- package/{systemfeedback.Da0wX0Eb.js → systemfeedback.BPPOht_9.js} +1 -1
- package/{tablist.BjKwrLz9.js → tablist.BAm0_UIG.js} +22 -23
- package/{tabpane.7vMXUKFX.js → tabpane.B9rZghU6.js} +1 -1
- package/{tabs.-U2k6Oll.js → tabs.BgTdWbTe.js} +3 -3
- package/text.BEO_ZfJq.js +72 -0
- package/{textarea.BWznY6Gg.js → textarea.Cki-uMkZ.js} +5 -6
- package/{textutility.CBLuAdaa.js → textutility.BypzssPt.js} +2 -2
- package/{toast.D9XLSgJg.js → toast.s0Hfuh5i.js} +2 -2
- package/{toastmanager.V5E05qgI.js → toastmanager.CPIPn4Io.js} +19 -20
- package/{tooltip.a1aWHK00.js → tooltip.BFQG-7VR.js} +1 -1
- package/{topbar.BdGK62KJ.js → topbar.Bbct-XkB.js} +3 -3
- package/utils/translate.d.ts +22 -6
- package/assets/Accordion.DPu2l_Kg.css +0 -1
- package/assets/ActionButton.DcQYatF1.css +0 -1
- package/assets/ActionCard.gRQVVFWz.css +0 -1
- package/assets/ActionLink.B62Aa8y9.css +0 -1
- package/assets/Button.BI6zz6Fw.css +0 -1
- package/assets/Checkbox.DknHnS9a.css +0 -1
- package/assets/Chip.CYhVB1Jh.css +0 -1
- package/assets/CustomReactSelect.lKMLwL7n.css +0 -1
- package/assets/Dialog.BKwWy1g2.css +0 -1
- package/assets/Drawer.IRb7Vc1n.css +0 -1
- package/assets/Fieldset.C4Fx4-UV.css +0 -1
- package/assets/InputFile.ne7gwc_5.css +0 -1
- package/assets/InputNumber.BIdsQuFc.css +0 -1
- package/assets/InputPassword.YSKTDTA1.css +0 -1
- package/assets/InputSearch.C3qtDQcj.css +0 -1
- package/assets/LinkButton.CmEE7Od_.css +0 -1
- package/assets/Notification.BO0Mu9No.css +0 -1
- package/assets/Pagination.OLmfdASf.css +0 -1
- package/assets/Popover.mL5g23EK.css +0 -1
- package/assets/Select.CDP-1_K9.css +0 -1
- package/assets/Slider.Cu7MgNph.css +0 -1
- package/assets/TextUtility.bwkCWEiV.css +0 -1
- package/assets/Textarea.Hsq68tg1.css +0 -1
- package/assets/buttonround.rmUb58WF.css +0 -1
- package/assets/chipgroup.BGxjdSDX.css +0 -1
- package/assets/filelist.cP3O1JeJ.css +0 -1
- package/assets/input.BEBgyvkK.css +0 -1
- package/assets/numberindicator.DSpNPJcs.css +0 -1
- package/assets/progressindicator.Dxrigyne.css +0 -1
- package/assets/radio.DsHt-9om.css +0 -1
- package/assets/switch.fwcMI6o7.css +0 -1
- package/assets/tabpane.o34hshTz.css +0 -1
- package/assets/text.Doa-APfR.css +0 -1
- package/assets/tooltip.DrSplliO.css +0 -1
- package/buttonround.BeQakrPs.js +0 -101
- package/chipgroup.BKjeuuM0.js +0 -213
- package/chunks/Accordion.8kTbiPxs.js +0 -173
- package/chunks/ActionButton.CBV1-_HP.js +0 -188
- package/chunks/ActionLink.BXxDS1Gg.js +0 -161
- package/chunks/Button.COycNYUI.js +0 -160
- package/chunks/Checkbox.CMshaWIU.js +0 -88
- package/chunks/CheckboxGroup.D3D1spfJ.js +0 -79
- package/chunks/Chip.DCJYE513.js +0 -157
- package/chunks/Dialog.lJXxzgu2.js +0 -102
- package/chunks/Fieldset.DOjI3DlI.js +0 -91
- package/chunks/InputFile.DYXvF6vT.js +0 -260
- package/chunks/InputNumber.CkWpchPo.js +0 -240
- package/chunks/InputPassword.21E6XMr5.js +0 -121
- package/chunks/InputSearch.Dy3EKa9f.js +0 -149
- package/chunks/LinkButton.BCHTLFMJ.js +0 -150
- package/chunks/LinkCard.BYmTwsS5.js +0 -197
- package/chunks/Notification.BjyLiO2h.js +0 -91
- package/chunks/Pagination.CJikF9Cw.js +0 -247
- package/chunks/Popover.ByaoNwGK.js +0 -221
- package/chunks/RadioGroup.Bh2X6pT9.js +0 -130
- package/chunks/Select.KWb09VmF.js +0 -147
- package/chunks/Slider.CxnIy51F.js +0 -309
- package/chunks/SystemFeedback.4osheYxC.js +0 -38
- package/chunks/Text.utils.BZ4nTZVu.js +0 -11
- package/chunks/TextUtility.BPrxUX-x.js +0 -82
- package/chunks/Textarea.CAOqZMUi.js +0 -181
- package/chunks/translate.nuU7uChI.js +0 -8
- package/filelist.DfAt2xJa.js +0 -128
- package/filepreview.Defs34bv.js +0 -94
- package/input.ChMzyHej.js +0 -175
- package/inputfile.DZIUs1EC.js +0 -18
- package/inputsearch.DzzYb-C0.js +0 -15
- package/link.aU1f2Xzu.js +0 -81
- package/numberindicator.Q7g4J3Ry.js +0 -36
- package/pagination.DA4PMLOq.js +0 -14
- package/progressindicator.DpmERE8T.js +0 -53
- package/radio.KQ8CUM3_.js +0 -137
- package/stepper.DHl3_XU9.js +0 -16
- package/text.CnP3baHy.js +0 -72
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
2
|
+
import { jsxs as ce, jsx as M } from "react/jsx-runtime";
|
|
3
3
|
import { d as te } from "./index.cKLI89Eg.js";
|
|
4
4
|
import { c as L } from "./index.DQOqod3i.js";
|
|
5
5
|
import * as X from "react";
|
|
6
|
-
import { useState as
|
|
6
|
+
import { useState as oe, useCallback as T, useLayoutEffect as Dt, useRef as $, useMemo as ae, createContext as Ot, useContext as wt, Component as Tt, Fragment as Re, useEffect as lt, forwardRef as rt } from "react";
|
|
7
7
|
import { jsx as f, css as st, keyframes as Jt } from "@emotion/react";
|
|
8
8
|
import { createPortal as Lt } from "react-dom";
|
|
9
9
|
import { a as Yt } from "./floating-ui.react.Chmq0RmI.js";
|
|
10
|
-
import { t as zt } from "./translate.
|
|
11
|
-
import { g as
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { D as
|
|
15
|
-
import { D as Qt } from "./
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import '../assets/CustomReactSelect.
|
|
10
|
+
import { t as zt } from "./translate.DSb-TdWR.js";
|
|
11
|
+
import { g as de, r as jt } from "./helpers.CexwVao7.js";
|
|
12
|
+
import { Asterisk as kt } from "../asterisk.Dwtdwpkq.js";
|
|
13
|
+
import { D as pe } from "./Icon.DYtaQgbw.js";
|
|
14
|
+
import { D as Ut } from "./Popover.CxZZ_y1Z.js";
|
|
15
|
+
import { D as Qt } from "./SystemFeedback.DhWcYjnu.js";
|
|
16
|
+
import { OptionCheckbox as _t } from "../optioncheckbox.tlMEoyT0.js";
|
|
17
|
+
import { u as $t } from "./useBreakpoint.1txsny17.js";
|
|
18
|
+
import '../assets/CustomReactSelect.CvWMmrAU.css';const qo = ({
|
|
19
19
|
id: n,
|
|
20
20
|
label: e,
|
|
21
21
|
options: i,
|
|
@@ -23,28 +23,23 @@ import '../assets/CustomReactSelect.lKMLwL7n.css';const qo = ({
|
|
|
23
23
|
popoverContent: t
|
|
24
24
|
}) => {
|
|
25
25
|
if (!n)
|
|
26
|
-
throw new Error(
|
|
26
|
+
throw new Error(de("DSCombobox", 'A unique "id" prop is required. Please add a unique "id" prop to the DSCombobox component.'));
|
|
27
27
|
if (!e)
|
|
28
|
-
throw new Error(
|
|
28
|
+
throw new Error(de("DSCombobox", `A label is always required for a11y reasons. Please add a descriptive "label" prop to the DSCombobox component. If you don't want to display a label, set hideLabel={true}.`));
|
|
29
29
|
if (Array.isArray(i)) {
|
|
30
30
|
if (i.length === 0)
|
|
31
|
-
throw new Error(
|
|
32
|
-
} else throw new Error(
|
|
33
|
-
u && t && console.warn(
|
|
31
|
+
throw new Error(de("DSCombobox", "The options array must not be empty."));
|
|
32
|
+
} else throw new Error(de("DSCombobox", jt("options", "DSCombobox")));
|
|
33
|
+
u && t && console.warn(de("DSCombobox", "Using a popover when hideLabel is set to true is not supported."));
|
|
34
34
|
}, ea = ["medium", "small"], Kt = {
|
|
35
35
|
placeholder: "",
|
|
36
36
|
navigationGuidance: "Use Up and Down to choose options",
|
|
37
37
|
selectGuidance: "press Enter to select the currently focused option",
|
|
38
38
|
exitGuidance: "press Escape to exit the menu",
|
|
39
39
|
tabGuidance: "press Tab to select the option and exit the menu",
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
// {0} is option_one {1} is the label of an option
|
|
44
|
-
selectOptionDisabled: "{0} {1} is disabled. Select another option.",
|
|
45
|
-
// {0} is the label of an option
|
|
46
|
-
focusValue: "value {0}, focused",
|
|
47
|
-
// e.g. 1 of 2 options
|
|
40
|
+
inputGuidance: "{label} is focused{isSearchable, select, true {, type to refine list} other {}}, press Down to open the menu",
|
|
41
|
+
selectOptionDisabled: "option {label} is disabled. Select another option.",
|
|
42
|
+
focusValue: "value {label}, focused",
|
|
48
43
|
of: "of",
|
|
49
44
|
disabled: "disabled",
|
|
50
45
|
selected: "selected",
|
|
@@ -53,14 +48,12 @@ import '../assets/CustomReactSelect.lKMLwL7n.css';const qo = ({
|
|
|
53
48
|
valueGuidance: "Use left and right to toggle between focused values",
|
|
54
49
|
deleteGuidance: "press Backspace to remove the currently focused value",
|
|
55
50
|
clearAllOptions: "All selected options have been cleared",
|
|
56
|
-
filterTermHint: "for search term",
|
|
51
|
+
filterTermHint: "for search term {inputValue}",
|
|
57
52
|
filterNoOptions: "No options found",
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
// {0} is result_one or result_other
|
|
63
|
-
resultsAvailable: "{0} available",
|
|
53
|
+
resultsAvailable: "{count, plural, one {# result available} other {# results available}}",
|
|
54
|
+
optionSelected: "option {label}, selected.",
|
|
55
|
+
optionsSelected: "{count, plural, one {option {labels} selected.} other {options {labels} selected.}}",
|
|
56
|
+
optionPosition: "{index} of {total}.",
|
|
64
57
|
togglePopover: "Toggle popover"
|
|
65
58
|
}, qt = {
|
|
66
59
|
placeholder: "",
|
|
@@ -68,14 +61,9 @@ import '../assets/CustomReactSelect.lKMLwL7n.css';const qo = ({
|
|
|
68
61
|
selectGuidance: "drücke die Eingabetaste, um die aktuell fokussierte Option auszuwählen",
|
|
69
62
|
exitGuidance: "drücke Escape, um das Menü zu verlassen",
|
|
70
63
|
tabGuidance: "drücke Tab, um die Option auszuwählen und das Menü zu verlassen",
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
// {0} is option_one {1} is the label of an option
|
|
75
|
-
selectOptionDisabled: "{0} {1} ist deaktiviert. Wähle eine andere Option.",
|
|
76
|
-
// {0} is the label of an option
|
|
77
|
-
focusValue: "Wert {0}, fokussiert",
|
|
78
|
-
// e.g. 1 of 2 options
|
|
64
|
+
inputGuidance: "{label} ist fokussiert{isSearchable, select, true {, tippe, um Liste zu verfeinern} other {}}, drücke nach unten, um das Menü zu öffnen",
|
|
65
|
+
selectOptionDisabled: "Option {label} ist deaktiviert. Wähle eine andere Option.",
|
|
66
|
+
focusValue: "Wert {label}, fokussiert",
|
|
79
67
|
of: "von",
|
|
80
68
|
disabled: "deaktiviert",
|
|
81
69
|
selected: "ausgewählt",
|
|
@@ -84,42 +72,40 @@ import '../assets/CustomReactSelect.lKMLwL7n.css';const qo = ({
|
|
|
84
72
|
valueGuidance: "Benutze die linke und rechte Pfeiltaste, um zwischen den fokussierten Werten zu wechseln",
|
|
85
73
|
deleteGuidance: "drücke die Rücktaste, um den aktuell fokussierten Wert zu entfernen",
|
|
86
74
|
clearAllOptions: "Alle ausgewählten Optionen wurden gelöscht",
|
|
87
|
-
filterTermHint: "für den Suchbegriff",
|
|
75
|
+
filterTermHint: "für den Suchbegriff {inputValue}",
|
|
88
76
|
filterNoOptions: "Keine Optionen gefunden",
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
// {0} is result_one or result_other
|
|
94
|
-
resultsAvailable: "{0} verfügbar",
|
|
77
|
+
resultsAvailable: "{count, plural, one {# Ergebnis verfügbar} other {# Ergebnisse verfügbar}}",
|
|
78
|
+
optionSelected: "Option {label}, ausgewählt.",
|
|
79
|
+
optionsSelected: "{count, plural, one {Option {labels} ausgewählt.} other {Optionen {labels} ausgewählt.}}",
|
|
80
|
+
optionPosition: "{index} von {total}.",
|
|
95
81
|
togglePopover: "Popover öffnen/schließen"
|
|
96
|
-
},
|
|
82
|
+
}, ue = {
|
|
97
83
|
en: Kt,
|
|
98
84
|
de: qt
|
|
99
85
|
};
|
|
100
|
-
function
|
|
86
|
+
function le(n) {
|
|
101
87
|
"@babel/helpers - typeof";
|
|
102
|
-
return
|
|
88
|
+
return le = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
103
89
|
return typeof e;
|
|
104
90
|
} : function(e) {
|
|
105
91
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
106
|
-
},
|
|
92
|
+
}, le(n);
|
|
107
93
|
}
|
|
108
94
|
function en(n, e) {
|
|
109
|
-
if (
|
|
95
|
+
if (le(n) != "object" || !n) return n;
|
|
110
96
|
var i = n[Symbol.toPrimitive];
|
|
111
97
|
if (i !== void 0) {
|
|
112
98
|
var u = i.call(n, e);
|
|
113
|
-
if (
|
|
99
|
+
if (le(u) != "object") return u;
|
|
114
100
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
115
101
|
}
|
|
116
102
|
return (e === "string" ? String : Number)(n);
|
|
117
103
|
}
|
|
118
104
|
function ct(n) {
|
|
119
105
|
var e = en(n, "string");
|
|
120
|
-
return
|
|
106
|
+
return le(e) == "symbol" ? e : e + "";
|
|
121
107
|
}
|
|
122
|
-
function
|
|
108
|
+
function ge(n, e, i) {
|
|
123
109
|
return (e = ct(e)) in n ? Object.defineProperty(n, e, {
|
|
124
110
|
value: i,
|
|
125
111
|
enumerable: !0,
|
|
@@ -141,7 +127,7 @@ function C(n) {
|
|
|
141
127
|
for (var e = 1; e < arguments.length; e++) {
|
|
142
128
|
var i = arguments[e] != null ? arguments[e] : {};
|
|
143
129
|
e % 2 ? Je(Object(i), !0).forEach(function(u) {
|
|
144
|
-
|
|
130
|
+
ge(n, u, i[u]);
|
|
145
131
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(i)) : Je(Object(i)).forEach(function(u) {
|
|
146
132
|
Object.defineProperty(n, u, Object.getOwnPropertyDescriptor(i, u));
|
|
147
133
|
});
|
|
@@ -172,16 +158,16 @@ function nn(n, e) {
|
|
|
172
158
|
return s;
|
|
173
159
|
}
|
|
174
160
|
}
|
|
175
|
-
function
|
|
161
|
+
function Pe(n, e) {
|
|
176
162
|
(e == null || e > n.length) && (e = n.length);
|
|
177
163
|
for (var i = 0, u = Array(e); i < e; i++) u[i] = n[i];
|
|
178
164
|
return u;
|
|
179
165
|
}
|
|
180
166
|
function dt(n, e) {
|
|
181
167
|
if (n) {
|
|
182
|
-
if (typeof n == "string") return
|
|
168
|
+
if (typeof n == "string") return Pe(n, e);
|
|
183
169
|
var i = {}.toString.call(n).slice(8, -1);
|
|
184
|
-
return i === "Object" && n.constructor && (i = n.constructor.name), i === "Map" || i === "Set" ? Array.from(n) : i === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i) ?
|
|
170
|
+
return i === "Object" && n.constructor && (i = n.constructor.name), i === "Map" || i === "Set" ? Array.from(n) : i === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i) ? Pe(n, e) : void 0;
|
|
185
171
|
}
|
|
186
172
|
}
|
|
187
173
|
function un() {
|
|
@@ -211,24 +197,24 @@ function ne(n, e) {
|
|
|
211
197
|
}
|
|
212
198
|
var an = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
|
|
213
199
|
function ln(n) {
|
|
214
|
-
var e = n.defaultInputValue, i = e === void 0 ? "" : e, u = n.defaultMenuIsOpen, t = u === void 0 ? !1 : u, a = n.defaultValue, l = a === void 0 ? null : a, s = n.inputValue, o = n.menuIsOpen, r = n.onChange, c = n.onInputChange, d = n.onMenuClose, g = n.onMenuOpen, p = n.value, I = ne(n, an), m =
|
|
200
|
+
var e = n.defaultInputValue, i = e === void 0 ? "" : e, u = n.defaultMenuIsOpen, t = u === void 0 ? !1 : u, a = n.defaultValue, l = a === void 0 ? null : a, s = n.inputValue, o = n.menuIsOpen, r = n.onChange, c = n.onInputChange, d = n.onMenuClose, g = n.onMenuOpen, p = n.value, I = ne(n, an), m = oe(s !== void 0 ? s : i), b = ee(m, 2), v = b[0], E = b[1], y = oe(o !== void 0 ? o : t), x = ee(y, 2), B = x[0], F = x[1], V = oe(p !== void 0 ? p : l), A = ee(V, 2), R = A[0], H = A[1], O = T(function(J, U) {
|
|
215
201
|
typeof r == "function" && r(J, U), H(J);
|
|
216
|
-
}, [r]), D =
|
|
202
|
+
}, [r]), D = T(function(J, U) {
|
|
217
203
|
var Q;
|
|
218
204
|
typeof c == "function" && (Q = c(J, U)), E(Q !== void 0 ? Q : J);
|
|
219
|
-
}, [c]), Y =
|
|
205
|
+
}, [c]), Y = T(function() {
|
|
220
206
|
typeof g == "function" && g(), F(!0);
|
|
221
|
-
}, [g]), z =
|
|
207
|
+
}, [g]), z = T(function() {
|
|
222
208
|
typeof d == "function" && d(), F(!1);
|
|
223
|
-
}, [d]),
|
|
209
|
+
}, [d]), P = s !== void 0 ? s : v, W = o !== void 0 ? o : B, j = p !== void 0 ? p : R;
|
|
224
210
|
return C(C({}, I), {}, {
|
|
225
|
-
inputValue:
|
|
226
|
-
menuIsOpen:
|
|
211
|
+
inputValue: P,
|
|
212
|
+
menuIsOpen: W,
|
|
227
213
|
onChange: O,
|
|
228
214
|
onInputChange: D,
|
|
229
215
|
onMenuClose: z,
|
|
230
216
|
onMenuOpen: Y,
|
|
231
|
-
value:
|
|
217
|
+
value: j
|
|
232
218
|
});
|
|
233
219
|
}
|
|
234
220
|
function h() {
|
|
@@ -254,10 +240,10 @@ function sn(n, e, i) {
|
|
|
254
240
|
writable: !1
|
|
255
241
|
}), n;
|
|
256
242
|
}
|
|
257
|
-
function
|
|
258
|
-
return
|
|
243
|
+
function We(n, e) {
|
|
244
|
+
return We = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(i, u) {
|
|
259
245
|
return i.__proto__ = u, i;
|
|
260
|
-
},
|
|
246
|
+
}, We(n, e);
|
|
261
247
|
}
|
|
262
248
|
function cn(n, e) {
|
|
263
249
|
if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function");
|
|
@@ -269,7 +255,7 @@ function cn(n, e) {
|
|
|
269
255
|
}
|
|
270
256
|
}), Object.defineProperty(n, "prototype", {
|
|
271
257
|
writable: !1
|
|
272
|
-
}), e &&
|
|
258
|
+
}), e && We(n, e);
|
|
273
259
|
}
|
|
274
260
|
function he(n) {
|
|
275
261
|
return he = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) {
|
|
@@ -291,7 +277,7 @@ function dn(n) {
|
|
|
291
277
|
return n;
|
|
292
278
|
}
|
|
293
279
|
function bn(n, e) {
|
|
294
|
-
if (e && (
|
|
280
|
+
if (e && (le(e) == "object" || typeof e == "function")) return e;
|
|
295
281
|
if (e !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
296
282
|
return dn(n);
|
|
297
283
|
}
|
|
@@ -307,7 +293,7 @@ function gn(n) {
|
|
|
307
293
|
};
|
|
308
294
|
}
|
|
309
295
|
function pn(n) {
|
|
310
|
-
if (Array.isArray(n)) return
|
|
296
|
+
if (Array.isArray(n)) return Pe(n);
|
|
311
297
|
}
|
|
312
298
|
function In(n) {
|
|
313
299
|
if (typeof Symbol < "u" && n[Symbol.iterator] != null || n["@@iterator"] != null) return Array.from(n);
|
|
@@ -345,7 +331,7 @@ function hn(n, e) {
|
|
|
345
331
|
}).join(" ");
|
|
346
332
|
}
|
|
347
333
|
var Ye = function(e) {
|
|
348
|
-
return Fn(e) ? e.filter(Boolean) :
|
|
334
|
+
return Fn(e) ? e.filter(Boolean) : le(e) === "object" && e !== null ? [e] : [];
|
|
349
335
|
}, gt = function(e) {
|
|
350
336
|
e.className, e.clearValue, e.cx, e.getStyles, e.getClassNames, e.getValue, e.hasValue, e.isMulti, e.isRtl, e.options, e.selectOption, e.selectProps, e.setValue, e.theme;
|
|
351
337
|
var i = ne(e, fn);
|
|
@@ -408,7 +394,7 @@ function yn(n) {
|
|
|
408
394
|
width: e.width
|
|
409
395
|
};
|
|
410
396
|
}
|
|
411
|
-
function
|
|
397
|
+
function je() {
|
|
412
398
|
try {
|
|
413
399
|
return document.createEvent("TouchEvent"), !0;
|
|
414
400
|
} catch {
|
|
@@ -449,8 +435,8 @@ var Xn = function(e) {
|
|
|
449
435
|
var o = ee(s, 2), r = o[0], c = o[1];
|
|
450
436
|
return l[r] = c, l;
|
|
451
437
|
}, {});
|
|
452
|
-
}, Rn = ["children", "innerProps"],
|
|
453
|
-
function
|
|
438
|
+
}, Rn = ["children", "innerProps"], Pn = ["children", "innerProps"];
|
|
439
|
+
function Wn(n) {
|
|
454
440
|
var e = n.maxHeight, i = n.menuEl, u = n.minHeight, t = n.placement, a = n.shouldScroll, l = n.isFixedPosition, s = n.controlHeight, o = Gn(i), r = {
|
|
455
441
|
placement: "bottom",
|
|
456
442
|
maxHeight: e
|
|
@@ -479,8 +465,8 @@ function Pn(n) {
|
|
|
479
465
|
};
|
|
480
466
|
}
|
|
481
467
|
if (t === "auto" || l) {
|
|
482
|
-
var z = e,
|
|
483
|
-
return
|
|
468
|
+
var z = e, P = l ? F : A;
|
|
469
|
+
return P >= u && (z = Math.min(P - x - s, e)), {
|
|
484
470
|
placement: "top",
|
|
485
471
|
maxHeight: z
|
|
486
472
|
};
|
|
@@ -503,10 +489,10 @@ function Pn(n) {
|
|
|
503
489
|
maxHeight: e
|
|
504
490
|
};
|
|
505
491
|
if (!l && A >= u || l && F >= u) {
|
|
506
|
-
var
|
|
507
|
-
return (!l && A >= u || l && F >= u) && (
|
|
492
|
+
var W = e;
|
|
493
|
+
return (!l && A >= u || l && F >= u) && (W = l ? F - B : A - B), a && me(o, O, D), {
|
|
508
494
|
placement: "top",
|
|
509
|
-
maxHeight:
|
|
495
|
+
maxHeight: W
|
|
510
496
|
};
|
|
511
497
|
}
|
|
512
498
|
return {
|
|
@@ -531,7 +517,7 @@ var mt = function(e) {
|
|
|
531
517
|
var u, t = e.placement, a = e.theme, l = a.borderRadius, s = a.spacing, o = a.colors;
|
|
532
518
|
return C((u = {
|
|
533
519
|
label: "menu"
|
|
534
|
-
},
|
|
520
|
+
}, ge(u, Zn(t), "100%"), ge(u, "position", "absolute"), ge(u, "width", "100%"), ge(u, "zIndex", 1), u), i ? {} : {
|
|
535
521
|
backgroundColor: o.neutral0,
|
|
536
522
|
borderRadius: l,
|
|
537
523
|
boxShadow: "0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",
|
|
@@ -539,11 +525,11 @@ var mt = function(e) {
|
|
|
539
525
|
marginTop: s.menuGutter
|
|
540
526
|
});
|
|
541
527
|
}, vt = /* @__PURE__ */ Ot(null), Mn = function(e) {
|
|
542
|
-
var i = e.children, u = e.minMenuHeight, t = e.maxMenuHeight, a = e.menuPlacement, l = e.menuPosition, s = e.menuShouldScrollIntoView, o = e.theme, r =
|
|
528
|
+
var i = e.children, u = e.minMenuHeight, t = e.maxMenuHeight, a = e.menuPlacement, l = e.menuPosition, s = e.menuShouldScrollIntoView, o = e.theme, r = wt(vt) || {}, c = r.setPortalPlacement, d = $(null), g = oe(t), p = ee(g, 2), I = p[0], m = p[1], b = oe(null), v = ee(b, 2), E = v[0], y = v[1], x = o.spacing.controlHeight;
|
|
543
529
|
return Ze(function() {
|
|
544
530
|
var B = d.current;
|
|
545
531
|
if (B) {
|
|
546
|
-
var F = l === "fixed", V = s && !F, A =
|
|
532
|
+
var F = l === "fixed", V = s && !F, A = Wn({
|
|
547
533
|
maxHeight: t,
|
|
548
534
|
menuEl: B,
|
|
549
535
|
minHeight: u,
|
|
@@ -580,7 +566,7 @@ var mt = function(e) {
|
|
|
580
566
|
paddingBottom: t,
|
|
581
567
|
paddingTop: t
|
|
582
568
|
});
|
|
583
|
-
},
|
|
569
|
+
}, wn = function(e) {
|
|
584
570
|
var i = e.children, u = e.innerProps, t = e.innerRef, a = e.isMulti;
|
|
585
571
|
return f("div", h({}, Z(e, "menuList", {
|
|
586
572
|
"menu-list": !0,
|
|
@@ -596,7 +582,7 @@ var mt = function(e) {
|
|
|
596
582
|
color: a.neutral40,
|
|
597
583
|
padding: "".concat(t * 2, "px ").concat(t * 3, "px")
|
|
598
584
|
});
|
|
599
|
-
},
|
|
585
|
+
}, Tn = ft, Jn = ft, Ln = function(e) {
|
|
600
586
|
var i = e.children, u = i === void 0 ? "No options" : i, t = e.innerProps, a = ne(e, Rn);
|
|
601
587
|
return f("div", h({}, Z(C(C({}, a), {}, {
|
|
602
588
|
children: u,
|
|
@@ -606,7 +592,7 @@ var mt = function(e) {
|
|
|
606
592
|
"menu-notice--no-options": !0
|
|
607
593
|
}), t), u);
|
|
608
594
|
}, Yn = function(e) {
|
|
609
|
-
var i = e.children, u = i === void 0 ? "Loading..." : i, t = e.innerProps, a = ne(e,
|
|
595
|
+
var i = e.children, u = i === void 0 ? "Loading..." : i, t = e.innerProps, a = ne(e, Pn);
|
|
610
596
|
return f("div", h({}, Z(C(C({}, a), {}, {
|
|
611
597
|
children: u,
|
|
612
598
|
innerProps: t
|
|
@@ -623,12 +609,12 @@ var mt = function(e) {
|
|
|
623
609
|
width: i.width,
|
|
624
610
|
zIndex: 1
|
|
625
611
|
};
|
|
626
|
-
},
|
|
627
|
-
var i = e.appendTo, u = e.children, t = e.controlElement, a = e.innerProps, l = e.menuPlacement, s = e.menuPosition, o = $(null), r = $(null), c =
|
|
612
|
+
}, jn = function(e) {
|
|
613
|
+
var i = e.appendTo, u = e.children, t = e.controlElement, a = e.innerProps, l = e.menuPlacement, s = e.menuPosition, o = $(null), r = $(null), c = oe(mt(l)), d = ee(c, 2), g = d[0], p = d[1], I = ae(function() {
|
|
628
614
|
return {
|
|
629
615
|
setPortalPlacement: p
|
|
630
616
|
};
|
|
631
|
-
}, []), m =
|
|
617
|
+
}, []), m = oe(null), b = ee(m, 2), v = b[0], E = b[1], y = T(function() {
|
|
632
618
|
if (t) {
|
|
633
619
|
var V = yn(t), A = s === "fixed" ? 0 : window.pageYOffset, R = V[g] + A;
|
|
634
620
|
(R !== v?.offset || V.left !== v?.rect.left || V.width !== v?.rect.width) && E({
|
|
@@ -640,7 +626,7 @@ var mt = function(e) {
|
|
|
640
626
|
Ze(function() {
|
|
641
627
|
y();
|
|
642
628
|
}, [y]);
|
|
643
|
-
var x =
|
|
629
|
+
var x = T(function() {
|
|
644
630
|
typeof r.current == "function" && (r.current(), r.current = null), t && o.current && (r.current = Yt(t, o.current, y, {
|
|
645
631
|
elementResize: "ResizeObserver" in window
|
|
646
632
|
}));
|
|
@@ -648,7 +634,7 @@ var mt = function(e) {
|
|
|
648
634
|
Ze(function() {
|
|
649
635
|
x();
|
|
650
636
|
}, [x]);
|
|
651
|
-
var B =
|
|
637
|
+
var B = T(function(V) {
|
|
652
638
|
o.current = V, x();
|
|
653
639
|
}, [x]);
|
|
654
640
|
if (!i && s !== "fixed" || !v) return null;
|
|
@@ -664,7 +650,7 @@ var mt = function(e) {
|
|
|
664
650
|
return f(vt.Provider, {
|
|
665
651
|
value: I
|
|
666
652
|
}, i ? /* @__PURE__ */ Lt(F, i) : F);
|
|
667
|
-
},
|
|
653
|
+
}, kn = function(e) {
|
|
668
654
|
var i = e.isDisabled, u = e.isRtl;
|
|
669
655
|
return {
|
|
670
656
|
label: "container",
|
|
@@ -711,7 +697,7 @@ var mt = function(e) {
|
|
|
711
697
|
return f("div", h({}, Z(e, "indicatorsContainer", {
|
|
712
698
|
indicators: !0
|
|
713
699
|
}), u), i);
|
|
714
|
-
},
|
|
700
|
+
}, ke, qn = ["size"], ei = ["innerProps", "isRtl", "size"];
|
|
715
701
|
function ti() {
|
|
716
702
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
717
703
|
}
|
|
@@ -786,7 +772,7 @@ var ni = process.env.NODE_ENV === "production" ? {
|
|
|
786
772
|
return f("span", h({}, i, Z(e, "indicatorSeparator", {
|
|
787
773
|
"indicator-separator": !0
|
|
788
774
|
})));
|
|
789
|
-
}, si = Jt(
|
|
775
|
+
}, si = Jt(ke || (ke = vn([`
|
|
790
776
|
0%, 80%, 100% { opacity: 0; }
|
|
791
777
|
40% { opacity: 1; }
|
|
792
778
|
`]))), ci = function(e, i) {
|
|
@@ -1009,7 +995,7 @@ var ni = process.env.NODE_ENV === "production" ? {
|
|
|
1009
995
|
var i = e.children, u = e.innerProps;
|
|
1010
996
|
return f("div", u, i);
|
|
1011
997
|
}, Xi = xt, Ri = xt;
|
|
1012
|
-
function
|
|
998
|
+
function Pi(n) {
|
|
1013
999
|
var e = n.children, i = n.innerProps;
|
|
1014
1000
|
return f("div", h({
|
|
1015
1001
|
role: "button"
|
|
@@ -1017,7 +1003,7 @@ function Wi(n) {
|
|
|
1017
1003
|
size: 14
|
|
1018
1004
|
}));
|
|
1019
1005
|
}
|
|
1020
|
-
var
|
|
1006
|
+
var Wi = function(e) {
|
|
1021
1007
|
var i = e.children, u = e.components, t = e.data, a = e.innerProps, l = e.isDisabled, s = e.removeProps, o = e.selectProps, r = u.Container, c = u.Label, d = u.Remove;
|
|
1022
1008
|
return f(r, {
|
|
1023
1009
|
data: t,
|
|
@@ -1041,7 +1027,7 @@ var Pi = function(e) {
|
|
|
1041
1027
|
}, s),
|
|
1042
1028
|
selectProps: o
|
|
1043
1029
|
}));
|
|
1044
|
-
}, Zi =
|
|
1030
|
+
}, Zi = Wi, Ni = function(e, i) {
|
|
1045
1031
|
var u = e.isDisabled, t = e.isFocused, a = e.isSelected, l = e.theme, s = l.spacing, o = l.colors;
|
|
1046
1032
|
return C({
|
|
1047
1033
|
label: "option",
|
|
@@ -1086,7 +1072,7 @@ var Pi = function(e) {
|
|
|
1086
1072
|
return f("div", h({}, Z(e, "placeholder", {
|
|
1087
1073
|
placeholder: !0
|
|
1088
1074
|
}), u), i);
|
|
1089
|
-
},
|
|
1075
|
+
}, wi = Oi, Ti = function(e, i) {
|
|
1090
1076
|
var u = e.isDisabled, t = e.theme, a = t.spacing, l = t.colors;
|
|
1091
1077
|
return C({
|
|
1092
1078
|
label: "singleValue",
|
|
@@ -1119,16 +1105,16 @@ var Pi = function(e) {
|
|
|
1119
1105
|
Input: Bi,
|
|
1120
1106
|
LoadingIndicator: di,
|
|
1121
1107
|
Menu: Dn,
|
|
1122
|
-
MenuList:
|
|
1123
|
-
MenuPortal:
|
|
1108
|
+
MenuList: wn,
|
|
1109
|
+
MenuPortal: jn,
|
|
1124
1110
|
LoadingMessage: Yn,
|
|
1125
1111
|
NoOptionsMessage: Ln,
|
|
1126
1112
|
MultiValue: Zi,
|
|
1127
1113
|
MultiValueContainer: Xi,
|
|
1128
1114
|
MultiValueLabel: Ri,
|
|
1129
|
-
MultiValueRemove:
|
|
1115
|
+
MultiValueRemove: Pi,
|
|
1130
1116
|
Option: Hi,
|
|
1131
|
-
Placeholder:
|
|
1117
|
+
Placeholder: wi,
|
|
1132
1118
|
SelectContainer: Un,
|
|
1133
1119
|
SingleValue: Li,
|
|
1134
1120
|
ValueContainer: _n
|
|
@@ -1140,7 +1126,7 @@ var Pi = function(e) {
|
|
|
1140
1126
|
function zi(n, e) {
|
|
1141
1127
|
return !!(n === e || Ue(n) && Ue(e));
|
|
1142
1128
|
}
|
|
1143
|
-
function
|
|
1129
|
+
function ji(n, e) {
|
|
1144
1130
|
if (n.length !== e.length)
|
|
1145
1131
|
return !1;
|
|
1146
1132
|
for (var i = 0; i < n.length; i++)
|
|
@@ -1148,8 +1134,8 @@ function ki(n, e) {
|
|
|
1148
1134
|
return !1;
|
|
1149
1135
|
return !0;
|
|
1150
1136
|
}
|
|
1151
|
-
function
|
|
1152
|
-
e === void 0 && (e =
|
|
1137
|
+
function ki(n, e) {
|
|
1138
|
+
e === void 0 && (e = ji);
|
|
1153
1139
|
var i = null;
|
|
1154
1140
|
function u() {
|
|
1155
1141
|
for (var t = [], a = 0; a < arguments.length; a++)
|
|
@@ -1230,58 +1216,58 @@ var Qi = process.env.NODE_ENV === "production" ? {
|
|
|
1230
1216
|
return "".concat(u).concat(i ? " for search term " + i : "", ".");
|
|
1231
1217
|
}
|
|
1232
1218
|
}, Ki = function(e) {
|
|
1233
|
-
var i = e.ariaSelection, u = e.focusedOption, t = e.focusedValue, a = e.focusableOptions, l = e.isFocused, s = e.selectValue, o = e.selectProps, r = e.id, c = e.isAppleDevice, d = o.ariaLiveMessages, g = o.getOptionLabel, p = o.inputValue, I = o.isMulti, m = o.isOptionDisabled, b = o.isSearchable, v = o.menuIsOpen, E = o.options, y = o.screenReaderStatus, x = o.tabSelectsValue, B = o.isLoading, F = o["aria-label"], V = o["aria-live"], A =
|
|
1219
|
+
var i = e.ariaSelection, u = e.focusedOption, t = e.focusedValue, a = e.focusableOptions, l = e.isFocused, s = e.selectValue, o = e.selectProps, r = e.id, c = e.isAppleDevice, d = o.ariaLiveMessages, g = o.getOptionLabel, p = o.inputValue, I = o.isMulti, m = o.isOptionDisabled, b = o.isSearchable, v = o.menuIsOpen, E = o.options, y = o.screenReaderStatus, x = o.tabSelectsValue, B = o.isLoading, F = o["aria-label"], V = o["aria-live"], A = ae(function() {
|
|
1234
1220
|
return C(C({}, $i), d || {});
|
|
1235
|
-
}, [d]), R =
|
|
1236
|
-
var
|
|
1221
|
+
}, [d]), R = ae(function() {
|
|
1222
|
+
var P = "";
|
|
1237
1223
|
if (i && A.onChange) {
|
|
1238
|
-
var
|
|
1224
|
+
var W = i.option, j = i.options, J = i.removedValue, U = i.removedValues, Q = i.value, re = function(q) {
|
|
1239
1225
|
return Array.isArray(q) ? null : q;
|
|
1240
|
-
}, N = J ||
|
|
1226
|
+
}, N = J || W || re(Q), w = N ? g(N) : "", S = j || U || void 0, _ = S ? S.map(g) : [], k = C({
|
|
1241
1227
|
// multiSelected items are usually items that have already been selected
|
|
1242
1228
|
// or set by the user as a default value so we assume they are not disabled
|
|
1243
1229
|
isDisabled: N && m(N, s),
|
|
1244
|
-
label:
|
|
1230
|
+
label: w,
|
|
1245
1231
|
labels: _
|
|
1246
1232
|
}, i);
|
|
1247
|
-
|
|
1233
|
+
P = A.onChange(k);
|
|
1248
1234
|
}
|
|
1249
|
-
return
|
|
1250
|
-
}, [i, A, m, s, g]), H =
|
|
1251
|
-
var
|
|
1252
|
-
if (
|
|
1235
|
+
return P;
|
|
1236
|
+
}, [i, A, m, s, g]), H = ae(function() {
|
|
1237
|
+
var P = "", W = u || t, j = !!(u && s && s.includes(u));
|
|
1238
|
+
if (W && A.onFocus) {
|
|
1253
1239
|
var J = {
|
|
1254
|
-
focused:
|
|
1255
|
-
label: g(
|
|
1256
|
-
isDisabled: m(
|
|
1257
|
-
isSelected:
|
|
1240
|
+
focused: W,
|
|
1241
|
+
label: g(W),
|
|
1242
|
+
isDisabled: m(W, s),
|
|
1243
|
+
isSelected: j,
|
|
1258
1244
|
options: a,
|
|
1259
|
-
context:
|
|
1245
|
+
context: W === u ? "menu" : "value",
|
|
1260
1246
|
selectValue: s,
|
|
1261
1247
|
isAppleDevice: c
|
|
1262
1248
|
};
|
|
1263
|
-
|
|
1249
|
+
P = A.onFocus(J);
|
|
1264
1250
|
}
|
|
1265
|
-
return
|
|
1266
|
-
}, [u, t, g, m, A, a, s, c]), O =
|
|
1267
|
-
var
|
|
1251
|
+
return P;
|
|
1252
|
+
}, [u, t, g, m, A, a, s, c]), O = ae(function() {
|
|
1253
|
+
var P = "";
|
|
1268
1254
|
if (v && E.length && !B && A.onFilter) {
|
|
1269
|
-
var
|
|
1255
|
+
var W = y({
|
|
1270
1256
|
count: a.length
|
|
1271
1257
|
});
|
|
1272
|
-
|
|
1258
|
+
P = A.onFilter({
|
|
1273
1259
|
inputValue: p,
|
|
1274
|
-
resultsMessage:
|
|
1260
|
+
resultsMessage: W
|
|
1275
1261
|
});
|
|
1276
1262
|
}
|
|
1277
|
-
return
|
|
1278
|
-
}, [a, p, v, A, E, y, B]), D = i?.action === "initial-input-focus", Y =
|
|
1279
|
-
var
|
|
1263
|
+
return P;
|
|
1264
|
+
}, [a, p, v, A, E, y, B]), D = i?.action === "initial-input-focus", Y = ae(function() {
|
|
1265
|
+
var P = "";
|
|
1280
1266
|
if (A.guidance) {
|
|
1281
|
-
var
|
|
1282
|
-
|
|
1267
|
+
var W = t ? "value" : v ? "menu" : "input";
|
|
1268
|
+
P = A.guidance({
|
|
1283
1269
|
"aria-label": F,
|
|
1284
|
-
context:
|
|
1270
|
+
context: W,
|
|
1285
1271
|
isDisabled: u && m(u, s),
|
|
1286
1272
|
isMulti: I,
|
|
1287
1273
|
isSearchable: b,
|
|
@@ -1289,7 +1275,7 @@ var Qi = process.env.NODE_ENV === "production" ? {
|
|
|
1289
1275
|
isInitialFocus: D
|
|
1290
1276
|
});
|
|
1291
1277
|
}
|
|
1292
|
-
return
|
|
1278
|
+
return P;
|
|
1293
1279
|
}, [F, u, t, I, m, b, v, A, s, x, D]), z = f(Re, null, f("span", {
|
|
1294
1280
|
id: "aria-selection"
|
|
1295
1281
|
}, R), f("span", {
|
|
@@ -1569,7 +1555,7 @@ var Vt = function(e) {
|
|
|
1569
1555
|
return e.replace(eu, function(i) {
|
|
1570
1556
|
return yt[i];
|
|
1571
1557
|
});
|
|
1572
|
-
}, tu =
|
|
1558
|
+
}, tu = ki(Vt), _e = function(e) {
|
|
1573
1559
|
return e.replace(/^\s+|\s+$/g, "");
|
|
1574
1560
|
}, nu = function(e) {
|
|
1575
1561
|
return "".concat(e.label, " ").concat(e.value);
|
|
@@ -1618,26 +1604,26 @@ var au = function(e) {
|
|
|
1618
1604
|
e.cancelable && e.preventDefault(), e.stopPropagation();
|
|
1619
1605
|
};
|
|
1620
1606
|
function lu(n) {
|
|
1621
|
-
var e = n.isEnabled, i = n.onBottomArrive, u = n.onBottomLeave, t = n.onTopArrive, a = n.onTopLeave, l = $(!1), s = $(!1), o = $(0), r = $(null), c =
|
|
1607
|
+
var e = n.isEnabled, i = n.onBottomArrive, u = n.onBottomLeave, t = n.onTopArrive, a = n.onTopLeave, l = $(!1), s = $(!1), o = $(0), r = $(null), c = T(function(b, v) {
|
|
1622
1608
|
if (r.current !== null) {
|
|
1623
1609
|
var E = r.current, y = E.scrollTop, x = E.scrollHeight, B = E.clientHeight, F = r.current, V = v > 0, A = x - B - y, R = !1;
|
|
1624
1610
|
A > v && l.current && (u && u(b), l.current = !1), V && s.current && (a && a(b), s.current = !1), V && v > A ? (i && !l.current && i(b), F.scrollTop = x, R = !0, l.current = !0) : !V && -v > y && (t && !s.current && t(b), F.scrollTop = 0, R = !0, s.current = !0), R && au(b);
|
|
1625
1611
|
}
|
|
1626
|
-
}, [i, u, t, a]), d =
|
|
1612
|
+
}, [i, u, t, a]), d = T(function(b) {
|
|
1627
1613
|
c(b, b.deltaY);
|
|
1628
|
-
}, [c]), g =
|
|
1614
|
+
}, [c]), g = T(function(b) {
|
|
1629
1615
|
o.current = b.changedTouches[0].clientY;
|
|
1630
|
-
}, []), p =
|
|
1616
|
+
}, []), p = T(function(b) {
|
|
1631
1617
|
var v = o.current - b.changedTouches[0].clientY;
|
|
1632
1618
|
c(b, v);
|
|
1633
|
-
}, [c]), I =
|
|
1619
|
+
}, [c]), I = T(function(b) {
|
|
1634
1620
|
if (b) {
|
|
1635
1621
|
var v = En ? {
|
|
1636
1622
|
passive: !1
|
|
1637
1623
|
} : !1;
|
|
1638
1624
|
b.addEventListener("wheel", d, v), b.addEventListener("touchstart", g, v), b.addEventListener("touchmove", p, v);
|
|
1639
1625
|
}
|
|
1640
|
-
}, [p, g, d]), m =
|
|
1626
|
+
}, [p, g, d]), m = T(function(b) {
|
|
1641
1627
|
b && (b.removeEventListener("wheel", d, !1), b.removeEventListener("touchstart", g, !1), b.removeEventListener("touchmove", p, !1));
|
|
1642
1628
|
}, [p, g, d]);
|
|
1643
1629
|
return lt(function() {
|
|
@@ -1671,33 +1657,33 @@ function tt() {
|
|
|
1671
1657
|
function nt() {
|
|
1672
1658
|
return "ontouchstart" in window || navigator.maxTouchPoints;
|
|
1673
1659
|
}
|
|
1674
|
-
var it = !!(typeof window < "u" && window.document && window.document.createElement),
|
|
1660
|
+
var it = !!(typeof window < "u" && window.document && window.document.createElement), be = 0, se = {
|
|
1675
1661
|
capture: !1,
|
|
1676
1662
|
passive: !1
|
|
1677
1663
|
};
|
|
1678
1664
|
function ru(n) {
|
|
1679
|
-
var e = n.isEnabled, i = n.accountForScrollbars, u = i === void 0 ? !0 : i, t = $({}), a = $(null), l =
|
|
1665
|
+
var e = n.isEnabled, i = n.accountForScrollbars, u = i === void 0 ? !0 : i, t = $({}), a = $(null), l = T(function(o) {
|
|
1680
1666
|
if (it) {
|
|
1681
1667
|
var r = document.body, c = r && r.style;
|
|
1682
1668
|
if (u && $e.forEach(function(I) {
|
|
1683
1669
|
var m = c && c[I];
|
|
1684
1670
|
t.current[I] = m;
|
|
1685
|
-
}), u &&
|
|
1671
|
+
}), u && be < 1) {
|
|
1686
1672
|
var d = parseInt(t.current.paddingRight, 10) || 0, g = document.body ? document.body.clientWidth : 0, p = window.innerWidth - g + d || 0;
|
|
1687
1673
|
Object.keys(Ke).forEach(function(I) {
|
|
1688
1674
|
var m = Ke[I];
|
|
1689
1675
|
c && (c[I] = m);
|
|
1690
1676
|
}), c && (c.paddingRight = "".concat(p, "px"));
|
|
1691
1677
|
}
|
|
1692
|
-
r && nt() && (r.addEventListener("touchmove", qe,
|
|
1678
|
+
r && nt() && (r.addEventListener("touchmove", qe, se), o && (o.addEventListener("touchstart", tt, se), o.addEventListener("touchmove", et, se))), be += 1;
|
|
1693
1679
|
}
|
|
1694
|
-
}, [u]), s =
|
|
1680
|
+
}, [u]), s = T(function(o) {
|
|
1695
1681
|
if (it) {
|
|
1696
1682
|
var r = document.body, c = r && r.style;
|
|
1697
|
-
|
|
1683
|
+
be = Math.max(be - 1, 0), u && be < 1 && $e.forEach(function(d) {
|
|
1698
1684
|
var g = t.current[d];
|
|
1699
1685
|
c && (c[d] = g);
|
|
1700
|
-
}), r && nt() && (r.removeEventListener("touchmove", qe,
|
|
1686
|
+
}), r && nt() && (r.removeEventListener("touchmove", qe, se), o && (o.removeEventListener("touchstart", tt, se), o.removeEventListener("touchmove", et, se)));
|
|
1701
1687
|
}
|
|
1702
1688
|
}, [u]);
|
|
1703
1689
|
return lt(function() {
|
|
@@ -1798,7 +1784,7 @@ var Au = function(e) {
|
|
|
1798
1784
|
return !!e.isDisabled;
|
|
1799
1785
|
}, Vu = {
|
|
1800
1786
|
clearIndicator: oi,
|
|
1801
|
-
container:
|
|
1787
|
+
container: kn,
|
|
1802
1788
|
control: bi,
|
|
1803
1789
|
dropdownIndicator: ii,
|
|
1804
1790
|
group: mi,
|
|
@@ -1814,10 +1800,10 @@ var Au = function(e) {
|
|
|
1814
1800
|
multiValue: Ei,
|
|
1815
1801
|
multiValueLabel: Si,
|
|
1816
1802
|
multiValueRemove: Fi,
|
|
1817
|
-
noOptionsMessage:
|
|
1803
|
+
noOptionsMessage: Tn,
|
|
1818
1804
|
option: Ni,
|
|
1819
1805
|
placeholder: Di,
|
|
1820
|
-
singleValue:
|
|
1806
|
+
singleValue: Ti,
|
|
1821
1807
|
valueContainer: Qn
|
|
1822
1808
|
}, Bu = {
|
|
1823
1809
|
primary: "#2684FF",
|
|
@@ -1848,8 +1834,8 @@ var Au = function(e) {
|
|
|
1848
1834
|
}, Ru = {
|
|
1849
1835
|
"aria-live": "polite",
|
|
1850
1836
|
backspaceRemovesValue: !0,
|
|
1851
|
-
blurInputOnSelect:
|
|
1852
|
-
captureMenuScroll: !
|
|
1837
|
+
blurInputOnSelect: je(),
|
|
1838
|
+
captureMenuScroll: !je(),
|
|
1853
1839
|
classNames: {},
|
|
1854
1840
|
closeMenuOnSelect: !0,
|
|
1855
1841
|
closeMenuOnScroll: !1,
|
|
@@ -1944,18 +1930,18 @@ function ot(n, e) {
|
|
|
1944
1930
|
}), i;
|
|
1945
1931
|
}, []);
|
|
1946
1932
|
}
|
|
1947
|
-
function
|
|
1933
|
+
function Pu(n, e) {
|
|
1948
1934
|
return St(Ce(n, e));
|
|
1949
1935
|
}
|
|
1950
1936
|
function at(n, e) {
|
|
1951
1937
|
var i = n.inputValue, u = i === void 0 ? "" : i, t = e.data, a = e.isSelected, l = e.label, s = e.value;
|
|
1952
|
-
return (!
|
|
1938
|
+
return (!Wt(n) || !a) && Pt(n, {
|
|
1953
1939
|
label: l,
|
|
1954
1940
|
value: s,
|
|
1955
1941
|
data: t
|
|
1956
1942
|
}, u);
|
|
1957
1943
|
}
|
|
1958
|
-
function
|
|
1944
|
+
function Wu(n, e) {
|
|
1959
1945
|
var i = n.focusedValue, u = n.selectValue, t = u.indexOf(i);
|
|
1960
1946
|
if (t > -1) {
|
|
1961
1947
|
var a = e.indexOf(i);
|
|
@@ -1992,10 +1978,10 @@ function Rt(n, e, i) {
|
|
|
1992
1978
|
return xe(n, t) === u;
|
|
1993
1979
|
});
|
|
1994
1980
|
}
|
|
1995
|
-
function
|
|
1981
|
+
function Pt(n, e, i) {
|
|
1996
1982
|
return n.filterOption ? n.filterOption(e, i) : !0;
|
|
1997
1983
|
}
|
|
1998
|
-
var
|
|
1984
|
+
var Wt = function(e) {
|
|
1999
1985
|
var i = e.hideSelectedOptions, u = e.isMulti;
|
|
2000
1986
|
return i === void 0 ? u : i;
|
|
2001
1987
|
}, Nu = 1, Zt = /* @__PURE__ */ (function(n) {
|
|
@@ -2198,7 +2184,7 @@ var Pt = function(e) {
|
|
|
2198
2184
|
});
|
|
2199
2185
|
}
|
|
2200
2186
|
}, t.shouldHideSelectedOptions = function() {
|
|
2201
|
-
return
|
|
2187
|
+
return Wt(t.props);
|
|
2202
2188
|
}, t.onValueInputFocus = function(o) {
|
|
2203
2189
|
o.preventDefault(), o.stopPropagation(), t.focus();
|
|
2204
2190
|
}, t.onKeyDown = function(o) {
|
|
@@ -2466,7 +2452,7 @@ var Pt = function(e) {
|
|
|
2466
2452
|
}, {
|
|
2467
2453
|
key: "filterOption",
|
|
2468
2454
|
value: function(t, a) {
|
|
2469
|
-
return
|
|
2455
|
+
return Pt(this.props, t, a);
|
|
2470
2456
|
}
|
|
2471
2457
|
}, {
|
|
2472
2458
|
key: "formatOptionLabel",
|
|
@@ -2684,18 +2670,18 @@ var Pt = function(e) {
|
|
|
2684
2670
|
}, {
|
|
2685
2671
|
key: "renderMenu",
|
|
2686
2672
|
value: function() {
|
|
2687
|
-
var t = this, a = this.getComponents(), l = a.Group, s = a.GroupHeading, o = a.Menu, r = a.MenuList, c = a.MenuPortal, d = a.LoadingMessage, g = a.NoOptionsMessage, p = a.Option, I = this.commonProps, m = this.state.focusedOption, b = this.props, v = b.captureMenuScroll, E = b.inputValue, y = b.isLoading, x = b.loadingMessage, B = b.minMenuHeight, F = b.maxMenuHeight, V = b.menuIsOpen, A = b.menuPlacement, R = b.menuPosition, H = b.menuPortalTarget, O = b.menuShouldBlockScroll, D = b.menuShouldScrollIntoView, Y = b.noOptionsMessage, z = b.onMenuScrollToTop,
|
|
2673
|
+
var t = this, a = this.getComponents(), l = a.Group, s = a.GroupHeading, o = a.Menu, r = a.MenuList, c = a.MenuPortal, d = a.LoadingMessage, g = a.NoOptionsMessage, p = a.Option, I = this.commonProps, m = this.state.focusedOption, b = this.props, v = b.captureMenuScroll, E = b.inputValue, y = b.isLoading, x = b.loadingMessage, B = b.minMenuHeight, F = b.maxMenuHeight, V = b.menuIsOpen, A = b.menuPlacement, R = b.menuPosition, H = b.menuPortalTarget, O = b.menuShouldBlockScroll, D = b.menuShouldScrollIntoView, Y = b.noOptionsMessage, z = b.onMenuScrollToTop, P = b.onMenuScrollToBottom;
|
|
2688
2674
|
if (!V) return null;
|
|
2689
|
-
var
|
|
2690
|
-
var _ =
|
|
2691
|
-
return t.onOptionHover(
|
|
2675
|
+
var W = function(w, S) {
|
|
2676
|
+
var _ = w.type, k = w.data, ie = w.isDisabled, q = w.isSelected, Ie = w.label, Nt = w.value, Oe = m === k, we = ie ? void 0 : function() {
|
|
2677
|
+
return t.onOptionHover(k);
|
|
2692
2678
|
}, Mt = ie ? void 0 : function() {
|
|
2693
|
-
return t.selectOption(
|
|
2694
|
-
},
|
|
2695
|
-
id:
|
|
2679
|
+
return t.selectOption(k);
|
|
2680
|
+
}, Te = "".concat(t.getElementId("option"), "-").concat(S), Ht = {
|
|
2681
|
+
id: Te,
|
|
2696
2682
|
onClick: Mt,
|
|
2697
|
-
onMouseMove:
|
|
2698
|
-
onMouseOver:
|
|
2683
|
+
onMouseMove: we,
|
|
2684
|
+
onMouseOver: we,
|
|
2699
2685
|
tabIndex: -1,
|
|
2700
2686
|
role: "option",
|
|
2701
2687
|
"aria-selected": t.state.isAppleDevice ? void 0 : q
|
|
@@ -2703,24 +2689,24 @@ var Pt = function(e) {
|
|
|
2703
2689
|
};
|
|
2704
2690
|
return /* @__PURE__ */ X.createElement(p, h({}, I, {
|
|
2705
2691
|
innerProps: Ht,
|
|
2706
|
-
data:
|
|
2692
|
+
data: k,
|
|
2707
2693
|
isDisabled: ie,
|
|
2708
2694
|
isSelected: q,
|
|
2709
|
-
key:
|
|
2710
|
-
label:
|
|
2695
|
+
key: Te,
|
|
2696
|
+
label: Ie,
|
|
2711
2697
|
type: _,
|
|
2712
2698
|
value: Nt,
|
|
2713
2699
|
isFocused: Oe,
|
|
2714
2700
|
innerRef: Oe ? t.getFocusedOptionRef : void 0
|
|
2715
|
-
}), t.formatOptionLabel(
|
|
2716
|
-
},
|
|
2701
|
+
}), t.formatOptionLabel(w.data, "menu"));
|
|
2702
|
+
}, j;
|
|
2717
2703
|
if (this.hasOptions())
|
|
2718
|
-
|
|
2704
|
+
j = this.getCategorizedOptions().map(function(N) {
|
|
2719
2705
|
if (N.type === "group") {
|
|
2720
|
-
var
|
|
2706
|
+
var w = N.data, S = N.options, _ = N.index, k = "".concat(t.getElementId("group"), "-").concat(_), ie = "".concat(k, "-heading");
|
|
2721
2707
|
return /* @__PURE__ */ X.createElement(l, h({}, I, {
|
|
2722
|
-
key:
|
|
2723
|
-
data:
|
|
2708
|
+
key: k,
|
|
2709
|
+
data: w,
|
|
2724
2710
|
options: S,
|
|
2725
2711
|
Heading: s,
|
|
2726
2712
|
headingProps: {
|
|
@@ -2729,23 +2715,23 @@ var Pt = function(e) {
|
|
|
2729
2715
|
},
|
|
2730
2716
|
label: t.formatGroupLabel(N.data)
|
|
2731
2717
|
}), N.options.map(function(q) {
|
|
2732
|
-
return
|
|
2718
|
+
return W(q, "".concat(_, "-").concat(q.index));
|
|
2733
2719
|
}));
|
|
2734
2720
|
} else if (N.type === "option")
|
|
2735
|
-
return
|
|
2721
|
+
return W(N, "".concat(N.index));
|
|
2736
2722
|
});
|
|
2737
2723
|
else if (y) {
|
|
2738
2724
|
var J = x({
|
|
2739
2725
|
inputValue: E
|
|
2740
2726
|
});
|
|
2741
2727
|
if (J === null) return null;
|
|
2742
|
-
|
|
2728
|
+
j = /* @__PURE__ */ X.createElement(d, I, J);
|
|
2743
2729
|
} else {
|
|
2744
2730
|
var U = Y({
|
|
2745
2731
|
inputValue: E
|
|
2746
2732
|
});
|
|
2747
2733
|
if (U === null) return null;
|
|
2748
|
-
|
|
2734
|
+
j = /* @__PURE__ */ X.createElement(g, I, U);
|
|
2749
2735
|
}
|
|
2750
2736
|
var Q = {
|
|
2751
2737
|
minMenuHeight: B,
|
|
@@ -2753,10 +2739,10 @@ var Pt = function(e) {
|
|
|
2753
2739
|
menuPlacement: A,
|
|
2754
2740
|
menuPosition: R,
|
|
2755
2741
|
menuShouldScrollIntoView: D
|
|
2756
|
-
},
|
|
2757
|
-
var
|
|
2742
|
+
}, re = /* @__PURE__ */ X.createElement(Mn, h({}, I, Q), function(N) {
|
|
2743
|
+
var w = N.ref, S = N.placerProps, _ = S.placement, k = S.maxHeight;
|
|
2758
2744
|
return /* @__PURE__ */ X.createElement(o, h({}, I, Q, {
|
|
2759
|
-
innerRef:
|
|
2745
|
+
innerRef: w,
|
|
2760
2746
|
innerProps: {
|
|
2761
2747
|
onMouseDown: t.onMenuMouseDown,
|
|
2762
2748
|
onMouseMove: t.onMenuMouseMove
|
|
@@ -2766,12 +2752,12 @@ var Pt = function(e) {
|
|
|
2766
2752
|
}), /* @__PURE__ */ X.createElement(bu, {
|
|
2767
2753
|
captureEnabled: v,
|
|
2768
2754
|
onTopArrive: z,
|
|
2769
|
-
onBottomArrive:
|
|
2755
|
+
onBottomArrive: P,
|
|
2770
2756
|
lockEnabled: O
|
|
2771
2757
|
}, function(ie) {
|
|
2772
2758
|
return /* @__PURE__ */ X.createElement(r, h({}, I, {
|
|
2773
|
-
innerRef: function(
|
|
2774
|
-
t.getMenuListRef(
|
|
2759
|
+
innerRef: function(Ie) {
|
|
2760
|
+
t.getMenuListRef(Ie), ie(Ie);
|
|
2775
2761
|
},
|
|
2776
2762
|
innerProps: {
|
|
2777
2763
|
role: "listbox",
|
|
@@ -2779,9 +2765,9 @@ var Pt = function(e) {
|
|
|
2779
2765
|
id: t.getElementId("listbox")
|
|
2780
2766
|
},
|
|
2781
2767
|
isLoading: y,
|
|
2782
|
-
maxHeight:
|
|
2768
|
+
maxHeight: k,
|
|
2783
2769
|
focusedOption: m
|
|
2784
|
-
}),
|
|
2770
|
+
}), j);
|
|
2785
2771
|
}));
|
|
2786
2772
|
});
|
|
2787
2773
|
return H || R === "fixed" ? /* @__PURE__ */ X.createElement(c, h({}, I, {
|
|
@@ -2789,7 +2775,7 @@ var Pt = function(e) {
|
|
|
2789
2775
|
controlElement: this.controlRef,
|
|
2790
2776
|
menuPlacement: A,
|
|
2791
2777
|
menuPosition: R
|
|
2792
|
-
}),
|
|
2778
|
+
}), re) : re;
|
|
2793
2779
|
}
|
|
2794
2780
|
}, {
|
|
2795
2781
|
key: "renderFormField",
|
|
@@ -2882,7 +2868,7 @@ var Pt = function(e) {
|
|
|
2882
2868
|
value: function(t, a) {
|
|
2883
2869
|
var l = a.prevProps, s = a.clearFocusValueOnUpdate, o = a.inputIsHiddenAfterUpdate, r = a.ariaSelection, c = a.isFocused, d = a.prevWasFocused, g = a.instancePrefix, p = t.options, I = t.value, m = t.menuIsOpen, b = t.inputValue, v = t.isMulti, E = Ye(I), y = {};
|
|
2884
2870
|
if (l && (I !== l.value || p !== l.options || m !== l.menuIsOpen || b !== l.inputValue)) {
|
|
2885
|
-
var x = m ?
|
|
2871
|
+
var x = m ? Pu(t, E) : [], B = m ? ot(Ce(t, E), "".concat(g, "-option")) : [], F = s ? Wu(a, E) : null, V = Zu(a, x), A = Xe(B, V);
|
|
2886
2872
|
y = {
|
|
2887
2873
|
selectValue: E,
|
|
2888
2874
|
focusedOption: V,
|
|
@@ -2907,7 +2893,7 @@ var Pt = function(e) {
|
|
|
2907
2893
|
});
|
|
2908
2894
|
}
|
|
2909
2895
|
}]), i;
|
|
2910
|
-
})(
|
|
2896
|
+
})(Tt);
|
|
2911
2897
|
Zt.defaultProps = Ru;
|
|
2912
2898
|
var Mu = /* @__PURE__ */ rt(function(n, e) {
|
|
2913
2899
|
var i = ln(n);
|
|
@@ -2915,90 +2901,109 @@ var Mu = /* @__PURE__ */ rt(function(n, e) {
|
|
|
2915
2901
|
ref: e
|
|
2916
2902
|
}, i));
|
|
2917
2903
|
}), Hu = Mu;
|
|
2918
|
-
const Du = (n) => {
|
|
2919
|
-
const
|
|
2904
|
+
const Du = (n, e) => {
|
|
2905
|
+
const i = zt(n, e);
|
|
2920
2906
|
return {
|
|
2921
|
-
guidance: (
|
|
2907
|
+
guidance: (u) => {
|
|
2922
2908
|
const {
|
|
2923
|
-
isSearchable:
|
|
2924
|
-
isMulti:
|
|
2925
|
-
tabSelectsValue:
|
|
2926
|
-
context:
|
|
2927
|
-
isInitialFocus:
|
|
2928
|
-
} =
|
|
2929
|
-
switch (
|
|
2909
|
+
isSearchable: t,
|
|
2910
|
+
isMulti: a,
|
|
2911
|
+
tabSelectsValue: l,
|
|
2912
|
+
context: s,
|
|
2913
|
+
isInitialFocus: o
|
|
2914
|
+
} = u, r = l ? `, ${i("tabGuidance")}` : "";
|
|
2915
|
+
switch (s) {
|
|
2930
2916
|
case "menu":
|
|
2931
|
-
return ` ${
|
|
2917
|
+
return ` ${i("navigationGuidance")}, ${i("selectGuidance")}${l ? `${r}` : ""}, ${i("exitGuidance")}.`;
|
|
2932
2918
|
case "input":
|
|
2933
|
-
return
|
|
2919
|
+
return o ? `${i("inputGuidance", {
|
|
2920
|
+
label: u["aria-label"],
|
|
2921
|
+
isSearchable: String(t)
|
|
2922
|
+
})}${a ? `, ${i("focusSelectedMultiGuidance")}` : ""}` : "";
|
|
2934
2923
|
case "value":
|
|
2935
|
-
return
|
|
2924
|
+
return a ? `${i("valueGuidance")}, ${i("deleteGuidance")}` : i("valueGuidance");
|
|
2936
2925
|
default:
|
|
2937
2926
|
return "";
|
|
2938
2927
|
}
|
|
2939
2928
|
},
|
|
2940
|
-
onChange: (
|
|
2929
|
+
onChange: (u) => {
|
|
2941
2930
|
const {
|
|
2942
|
-
action:
|
|
2943
|
-
label:
|
|
2944
|
-
labels:
|
|
2945
|
-
isDisabled:
|
|
2946
|
-
} =
|
|
2947
|
-
switch (
|
|
2931
|
+
action: t,
|
|
2932
|
+
label: a = "",
|
|
2933
|
+
labels: l,
|
|
2934
|
+
isDisabled: s
|
|
2935
|
+
} = u;
|
|
2936
|
+
switch (t) {
|
|
2948
2937
|
case "deselect-option":
|
|
2949
2938
|
case "pop-value":
|
|
2950
2939
|
case "remove-value":
|
|
2951
|
-
return `${
|
|
2940
|
+
return `${a}, ${i("deselected")}.`;
|
|
2952
2941
|
case "clear":
|
|
2953
|
-
return `${
|
|
2942
|
+
return `${i("clearAllOptions")}.`;
|
|
2954
2943
|
case "initial-input-focus":
|
|
2955
|
-
return
|
|
2944
|
+
return l.length > 0 ? i("optionsSelected", {
|
|
2945
|
+
count: l.length,
|
|
2946
|
+
labels: l.join(", ")
|
|
2947
|
+
}) : "";
|
|
2956
2948
|
case "select-option":
|
|
2957
|
-
return
|
|
2949
|
+
return s ? i("selectOptionDisabled", {
|
|
2950
|
+
label: a
|
|
2951
|
+
}) : i("optionSelected", {
|
|
2952
|
+
label: a
|
|
2953
|
+
});
|
|
2958
2954
|
default:
|
|
2959
2955
|
return "";
|
|
2960
2956
|
}
|
|
2961
2957
|
},
|
|
2962
|
-
onFocus: (
|
|
2958
|
+
onFocus: (u) => {
|
|
2963
2959
|
const {
|
|
2964
|
-
context:
|
|
2965
|
-
focused:
|
|
2966
|
-
options:
|
|
2967
|
-
label:
|
|
2968
|
-
selectValue:
|
|
2969
|
-
isDisabled:
|
|
2970
|
-
isSelected:
|
|
2971
|
-
isAppleDevice:
|
|
2972
|
-
} =
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
return `${
|
|
2960
|
+
context: t,
|
|
2961
|
+
focused: a,
|
|
2962
|
+
options: l,
|
|
2963
|
+
label: s = "",
|
|
2964
|
+
selectValue: o,
|
|
2965
|
+
isDisabled: r,
|
|
2966
|
+
isSelected: c,
|
|
2967
|
+
isAppleDevice: d
|
|
2968
|
+
} = u, g = (p, I) => p?.length ? i("optionPosition", {
|
|
2969
|
+
index: p.indexOf(I) + 1,
|
|
2970
|
+
total: p.length
|
|
2971
|
+
}) : "";
|
|
2972
|
+
if (t === "value" && o)
|
|
2973
|
+
return `${i("focusValue", {
|
|
2974
|
+
label: s
|
|
2975
|
+
})}, ${g(o, a)}`;
|
|
2976
|
+
if (t === "menu" && d) {
|
|
2977
|
+
const p = r ? ` ${i("disabled")}` : "", I = `${c ? `, ${i("selected")}` : ""}${p}`;
|
|
2978
|
+
return `${s}${I}, ${g(l, a)}`;
|
|
2978
2979
|
}
|
|
2979
2980
|
return "";
|
|
2980
2981
|
},
|
|
2981
|
-
onFilter: (
|
|
2982
|
+
onFilter: (u) => {
|
|
2982
2983
|
const {
|
|
2983
|
-
inputValue:
|
|
2984
|
-
resultsMessage:
|
|
2985
|
-
} =
|
|
2986
|
-
let
|
|
2987
|
-
|
|
2988
|
-
const
|
|
2989
|
-
|
|
2984
|
+
inputValue: t,
|
|
2985
|
+
resultsMessage: a
|
|
2986
|
+
} = u, s = /(\d+) result/.exec(a);
|
|
2987
|
+
let o = 0;
|
|
2988
|
+
s && s[1] && (o = parseInt(s[1], 10));
|
|
2989
|
+
const r = i("resultsAvailable", {
|
|
2990
|
+
count: o
|
|
2991
|
+
}), c = t ? ` ${i("filterTermHint", {
|
|
2992
|
+
inputValue: t
|
|
2993
|
+
})}` : "";
|
|
2994
|
+
return c ? `${r},${c}` : r;
|
|
2990
2995
|
}
|
|
2991
2996
|
};
|
|
2992
|
-
}, Ou = "ds-
|
|
2997
|
+
}, Ou = "ds-combobox_root_j92wf_1", wu = "ds-combobox_hint_j92wf_1", Tu = "ds-combobox_label-wrapper_j92wf_1", Ju = "ds-combobox_label_j92wf_1", Lu = "ds-combobox_label--disabled_j92wf_30", Yu = "ds-combobox_label-wrapper--hidden_j92wf_50", zu = "ds-combobox_feedback_j92wf_81", ju = "ds-combobox_select_j92wf_85", ku = "ds-combobox_select--small_j92wf_93", Uu = "ds-combobox_select--invalid_j92wf_211", Qu = "ds-combobox_select--disabled_j92wf_425", _u = "ds-combobox_select--focused_j92wf_436", $u = "ds-combobox_select--hovered_j92wf_453", Ku = "ds-combobox_placeholder_j92wf_463", qu = "ds-combobox_menu-list_j92wf_472", eo = "ds-combobox_group-heading_j92wf_482", to = "ds-combobox_option_j92wf_504", no = "ds-combobox_option--small_j92wf_520", io = "ds-combobox_option--grouped_j92wf_535", uo = "ds-combobox_option--single_j92wf_538", oo = "ds-combobox_option--disabled_j92wf_541", ao = "ds-combobox_option--focus-hover_j92wf_549", lo = "ds-combobox_option--text_j92wf_561", ro = "ds-combobox_option--check-icon_j92wf_564", so = "ds-combobox_option--check-icon--disabled_j92wf_574", co = "ds-combobox_single-option_j92wf_583", bo = "ds-combobox_multi-option_j92wf_589", go = "ds-combobox_single-value_j92wf_593", po = "ds-combobox_single-value--text_j92wf_597", Io = "ds-combobox_leading-icon_j92wf_604", mo = "ds-combobox_leading-icon--small_j92wf_615", vo = "ds-combobox_leading-icon--selected_j92wf_615", fo = "ds-combobox_leading-icon--disabled_j92wf_618", Co = "ds-combobox_indicator_j92wf_627", ho = "ds-combobox_clear_j92wf_628", Ao = "ds-combobox_indicator--small_j92wf_634", Go = "ds-combobox_clear--small_j92wf_635", xo = "ds-combobox_indicator--icon_j92wf_639", yo = "ds-combobox_clear--icon_j92wf_640", Vo = "ds-combobox_indicator--icon--small_j92wf_647", Bo = "ds-combobox_clear--icon--small_j92wf_648", G = {
|
|
2993
2998
|
root: Ou,
|
|
2994
|
-
hint:
|
|
2995
|
-
labelWrapper:
|
|
2999
|
+
hint: wu,
|
|
3000
|
+
labelWrapper: Tu,
|
|
2996
3001
|
label: Ju,
|
|
2997
3002
|
labelDisabled: Lu,
|
|
2998
3003
|
labelWrapperHidden: Yu,
|
|
2999
3004
|
feedback: zu,
|
|
3000
|
-
select:
|
|
3001
|
-
selectSmall:
|
|
3005
|
+
select: ju,
|
|
3006
|
+
selectSmall: ku,
|
|
3002
3007
|
selectInvalid: Uu,
|
|
3003
3008
|
selectDisabled: Qu,
|
|
3004
3009
|
selectFocused: _u,
|
|
@@ -3054,14 +3059,14 @@ const Du = (n) => {
|
|
|
3054
3059
|
onInputChange: y,
|
|
3055
3060
|
...x
|
|
3056
3061
|
}, B) => {
|
|
3057
|
-
const [F, V] =
|
|
3062
|
+
const [F, V] = oe(!1), A = ae(() => i, [JSON.stringify(i)]), R = $(null), H = (S) => {
|
|
3058
3063
|
S && (R.current = S, typeof B == "function" ? B(S.inputRef) : B && (B.current = S.inputRef));
|
|
3059
3064
|
}, O = {
|
|
3060
3065
|
...g,
|
|
3061
|
-
label: b && b.togglePopover || g?.label ||
|
|
3062
|
-
}, D = b ? b.placeholder :
|
|
3066
|
+
label: b && b.togglePopover || g?.label || (ue[c] || ue.en).togglePopover
|
|
3067
|
+
}, D = b ? b.placeholder : (ue[c] || ue.en).placeholder, Y = $t(s), z = `${n}-label`, P = `${n}-feedback`, W = `${n}-hint`, j = l ? ` ${W}` : "", J = () => b ? b.filterNoOptions : (ue[c] || ue.en).filterNoOptions, U = L(G.root, u), Q = L(G.label, {
|
|
3063
3068
|
[G.labelDisabled]: t
|
|
3064
|
-
}),
|
|
3069
|
+
}), re = L(G.labelWrapper, {
|
|
3065
3070
|
// hide label only visually to keep them available for assistive technologies
|
|
3066
3071
|
[G.labelWrapperHidden]: Y
|
|
3067
3072
|
}), N = (S) => L(G.select, {
|
|
@@ -3070,31 +3075,31 @@ const Du = (n) => {
|
|
|
3070
3075
|
[G.selectHovered]: F,
|
|
3071
3076
|
[G.selectDisabled]: t,
|
|
3072
3077
|
[G.selectInvalid]: o
|
|
3073
|
-
}),
|
|
3078
|
+
}), w = (S) => L({
|
|
3074
3079
|
[G.placeholder]: !S.isDisabled
|
|
3075
3080
|
});
|
|
3076
|
-
return /* @__PURE__ */
|
|
3077
|
-
/* @__PURE__ */
|
|
3078
|
-
/* @__PURE__ */
|
|
3081
|
+
return /* @__PURE__ */ ce("div", { className: U, children: [
|
|
3082
|
+
/* @__PURE__ */ ce("div", { className: re, children: [
|
|
3083
|
+
/* @__PURE__ */ ce("label", { className: Q, id: z, htmlFor: n, onMouseEnter: () => !t && V(!0), onMouseLeave: () => !t && V(!1), children: [
|
|
3079
3084
|
e,
|
|
3080
|
-
p && /* @__PURE__ */ M(
|
|
3085
|
+
p && /* @__PURE__ */ M(kt, {})
|
|
3081
3086
|
] }),
|
|
3082
|
-
d && !Y && /* @__PURE__ */ M(
|
|
3087
|
+
d && !Y && /* @__PURE__ */ M(Ut, { placement: "top", defaultAnchorButtonProps: O, children: d })
|
|
3083
3088
|
] }),
|
|
3084
|
-
l && /* @__PURE__ */ M("div", { className: G.hint, id:
|
|
3089
|
+
l && /* @__PURE__ */ M("div", { className: G.hint, id: W, children: l }),
|
|
3085
3090
|
/* @__PURE__ */ M(
|
|
3086
3091
|
Hu,
|
|
3087
3092
|
{
|
|
3088
3093
|
...x,
|
|
3089
|
-
"aria-errormessage": o && m ?
|
|
3094
|
+
"aria-errormessage": o && m ? P : void 0,
|
|
3090
3095
|
"aria-label": e,
|
|
3091
|
-
"aria-labelledby": `${z}${
|
|
3096
|
+
"aria-labelledby": `${z}${j}`,
|
|
3092
3097
|
"aria-invalid": o,
|
|
3093
|
-
ariaLiveMessages: Du(b ||
|
|
3098
|
+
ariaLiveMessages: Du(b || ue[c] || ue.en, c),
|
|
3094
3099
|
inputId: n,
|
|
3095
3100
|
classNames: {
|
|
3096
3101
|
control: N,
|
|
3097
|
-
placeholder:
|
|
3102
|
+
placeholder: w
|
|
3098
3103
|
},
|
|
3099
3104
|
closeMenuOnSelect: !r,
|
|
3100
3105
|
filterOption: a,
|
|
@@ -3161,8 +3166,8 @@ const Du = (n) => {
|
|
|
3161
3166
|
// separator between clear all icon and chevron down
|
|
3162
3167
|
IndicatorSeparator: () => null,
|
|
3163
3168
|
Input: Ro,
|
|
3164
|
-
MenuList:
|
|
3165
|
-
MultiValueContainer:
|
|
3169
|
+
MenuList: Po,
|
|
3170
|
+
MultiValueContainer: Wo,
|
|
3166
3171
|
// remove button for each selected value
|
|
3167
3172
|
MultiValueRemove: () => null,
|
|
3168
3173
|
NoOptionsMessage: Zo,
|
|
@@ -3171,7 +3176,7 @@ const Du = (n) => {
|
|
|
3171
3176
|
},
|
|
3172
3177
|
invalid: o,
|
|
3173
3178
|
systemFeedback: m,
|
|
3174
|
-
systemFeedbackId:
|
|
3179
|
+
systemFeedbackId: P,
|
|
3175
3180
|
isSmall: I === "small",
|
|
3176
3181
|
value: v,
|
|
3177
3182
|
onChange: (S, {
|
|
@@ -3184,7 +3189,7 @@ const Du = (n) => {
|
|
|
3184
3189
|
}
|
|
3185
3190
|
}
|
|
3186
3191
|
),
|
|
3187
|
-
o && m && /* @__PURE__ */ M(
|
|
3192
|
+
o && m && /* @__PURE__ */ M(Qt, { className: G.feedback, message: m, variant: "error", id: P })
|
|
3188
3193
|
] });
|
|
3189
3194
|
});
|
|
3190
3195
|
Eo.displayName = "CustomReactSelect";
|
|
@@ -3207,7 +3212,7 @@ const So = (n) => {
|
|
|
3207
3212
|
i = e[1], u = e[2], t = e[3];
|
|
3208
3213
|
const a = t;
|
|
3209
3214
|
let l;
|
|
3210
|
-
e[4] !== a ? (l = /* @__PURE__ */ M(
|
|
3215
|
+
e[4] !== a ? (l = /* @__PURE__ */ M(pe, { name: "cross", className: a, "aria-hidden": "true" }), e[4] = a, e[5] = l) : l = e[5];
|
|
3211
3216
|
let s;
|
|
3212
3217
|
return e[6] !== i || e[7] !== u || e[8] !== l ? (s = /* @__PURE__ */ M(K.ClearIndicator, { ...u, className: i, children: l }), e[6] = i, e[7] = u, e[8] = l, e[9] = s) : s = e[9], s;
|
|
3213
3218
|
}, Fo = (n) => {
|
|
@@ -3242,7 +3247,7 @@ const So = (n) => {
|
|
|
3242
3247
|
return a;
|
|
3243
3248
|
const l = t;
|
|
3244
3249
|
let s;
|
|
3245
|
-
e[5] !== l ? (s = /* @__PURE__ */ M(
|
|
3250
|
+
e[5] !== l ? (s = /* @__PURE__ */ M(pe, { name: "chevron-down", className: l, "aria-hidden": "true" }), e[5] = l, e[6] = s) : s = e[6];
|
|
3246
3251
|
let o;
|
|
3247
3252
|
return e[7] !== i || e[8] !== u || e[9] !== s ? (o = /* @__PURE__ */ M(K.DropdownIndicator, { ...u, className: i, children: s }), e[7] = i, e[8] = u, e[9] = s, e[10] = o) : o = e[10], o;
|
|
3248
3253
|
}, Xo = (n) => {
|
|
@@ -3257,11 +3262,11 @@ const So = (n) => {
|
|
|
3257
3262
|
} = n.selectProps, a = i && u ? t : n["aria-describedby"];
|
|
3258
3263
|
let l;
|
|
3259
3264
|
return e[0] !== n || e[1] !== a ? (l = /* @__PURE__ */ M(K.Input, { ...n, "aria-describedby": a, autoComplete: n.selectProps.autoComplete }), e[0] = n, e[1] = a, e[2] = l) : l = e[2], l;
|
|
3260
|
-
},
|
|
3265
|
+
}, Po = (n) => {
|
|
3261
3266
|
const e = te.c(2);
|
|
3262
3267
|
let i;
|
|
3263
3268
|
return e[0] !== n ? (i = /* @__PURE__ */ M(K.MenuList, { ...n, className: G.menuList, children: n.children }), e[0] = n, e[1] = i) : i = e[1], i;
|
|
3264
|
-
},
|
|
3269
|
+
}, Wo = (n) => {
|
|
3265
3270
|
const e = te.c(3);
|
|
3266
3271
|
let i = !1;
|
|
3267
3272
|
if (n.selectProps.value && Array.isArray(n.selectProps.value)) {
|
|
@@ -3270,7 +3275,7 @@ const So = (n) => {
|
|
|
3270
3275
|
}
|
|
3271
3276
|
const u = n.selectProps.menuIsOpen || !i ? ", " : "";
|
|
3272
3277
|
let t;
|
|
3273
|
-
return e[0] !== n || e[1] !== u ? (t = /* @__PURE__ */
|
|
3278
|
+
return e[0] !== n || e[1] !== u ? (t = /* @__PURE__ */ ce(K.MultiValueContainer, { ...n, children: [
|
|
3274
3279
|
n.children,
|
|
3275
3280
|
u
|
|
3276
3281
|
] }), e[0] = n, e[1] = u, e[2] = t) : t = e[2], t;
|
|
@@ -3337,10 +3342,10 @@ const So = (n) => {
|
|
|
3337
3342
|
...g
|
|
3338
3343
|
}, e[11] = g, e[12] = c.innerProps, e[13] = p) : p = e[13];
|
|
3339
3344
|
let I;
|
|
3340
|
-
e[14] !== i || e[15] !== u || e[16] !== t || e[17] !== a || e[18] !== l || e[19] !== s || e[20] !== o ? (I = a ? /* @__PURE__ */ M(
|
|
3341
|
-
o && /* @__PURE__ */ M(
|
|
3345
|
+
e[14] !== i || e[15] !== u || e[16] !== t || e[17] !== a || e[18] !== l || e[19] !== s || e[20] !== o ? (I = a ? /* @__PURE__ */ M(_t, { label: u, checked: l, disabled: t, className: G.multiOption }) : /* @__PURE__ */ ce("div", { className: G.singleOption, children: [
|
|
3346
|
+
o && /* @__PURE__ */ M(pe, { name: o, className: s, "aria-hidden": "true" }),
|
|
3342
3347
|
/* @__PURE__ */ M("span", { className: G.optionText, children: u }),
|
|
3343
|
-
l && /* @__PURE__ */ M(
|
|
3348
|
+
l && /* @__PURE__ */ M(pe, { name: "check", className: i, "aria-hidden": "true" })
|
|
3344
3349
|
] }), e[14] = i, e[15] = u, e[16] = t, e[17] = a, e[18] = l, e[19] = s, e[20] = o, e[21] = I) : I = e[21];
|
|
3345
3350
|
let m;
|
|
3346
3351
|
return e[22] !== r || e[23] !== c || e[24] !== p || e[25] !== I ? (m = /* @__PURE__ */ M(K.Option, { ...c, className: r, innerProps: p, children: I }), e[22] = r, e[23] = c, e[24] = p, e[25] = I, e[26] = m) : m = e[26], m;
|
|
@@ -3357,11 +3362,11 @@ const So = (n) => {
|
|
|
3357
3362
|
}), e[0] = u, e[1] = a) : a = e[1];
|
|
3358
3363
|
const l = a;
|
|
3359
3364
|
let s;
|
|
3360
|
-
e[2] !== l || e[3] !== t ? (s = t && /* @__PURE__ */ M(
|
|
3365
|
+
e[2] !== l || e[3] !== t ? (s = t && /* @__PURE__ */ M(pe, { name: t, className: l, "aria-hidden": "true" }), e[2] = l, e[3] = t, e[4] = s) : s = e[4];
|
|
3361
3366
|
let o;
|
|
3362
3367
|
e[5] !== i ? (o = /* @__PURE__ */ M("span", { className: G.singleValueText, children: i }), e[5] = i, e[6] = o) : o = e[6];
|
|
3363
3368
|
let r;
|
|
3364
|
-
return e[7] !== n || e[8] !== s || e[9] !== o ? (r = /* @__PURE__ */
|
|
3369
|
+
return e[7] !== n || e[8] !== s || e[9] !== o ? (r = /* @__PURE__ */ ce(K.SingleValue, { ...n, className: G.singleValue, children: [
|
|
3365
3370
|
s,
|
|
3366
3371
|
o
|
|
3367
3372
|
] }), e[7] = n, e[8] = s, e[9] = o, e[10] = r) : r = e[10], r;
|
|
@@ -3371,7 +3376,7 @@ function Ho(n) {
|
|
|
3371
3376
|
}
|
|
3372
3377
|
export {
|
|
3373
3378
|
ea as C,
|
|
3374
|
-
|
|
3379
|
+
ue as D,
|
|
3375
3380
|
qt as a,
|
|
3376
3381
|
Kt as b,
|
|
3377
3382
|
Eo as c,
|