@eightshift/ui-components 7.2.1 → 7.3.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/dist/Autocomplete-pLMPWMFq.js +451 -0
- package/dist/Button-Biwg7zwt.js +223 -0
- package/dist/Dialog-C1sh8jbh.js +2474 -0
- package/dist/{Disclosure-NYWFw9RJ.js → Disclosure-B_SHgiUz.js} +50 -51
- package/dist/FocusScope-lGkM8AO8.js +734 -0
- package/dist/Form-BxIJCHYd.js +5 -0
- package/dist/Heading-B2EsUuu6.js +16 -0
- package/dist/{Hidden-8TB37dpK.js → Hidden-DYY00jLm.js} +10 -10
- package/dist/I18nProvider-Cm6dj5jY.js +93 -0
- package/dist/Label-B1TkoVOG.js +17 -0
- package/dist/ListBox-BquE0m8z.js +584 -0
- package/dist/{NumberFormatter-m5VW6MTK.js → NumberFormatter-JHF0Tadk.js} +24 -26
- package/dist/PortalProvider-BYcv24il.js +13 -0
- package/dist/RadioGroup-BxjLooWU.js +324 -0
- package/dist/SearchField-BkAU0HLm.js +322 -0
- package/dist/SelectionIndicator-Bx_EYBXD.js +13 -0
- package/dist/{Slider-DW1RuMVp.js → Slider-DSv6fyZ6.js} +321 -363
- package/dist/Text-C8pfwn0W.js +16 -0
- package/dist/{VisuallyHidden-CfsnJHZb.js → VisuallyHidden-KcXlGa5p.js} +12 -12
- package/dist/{animation-Bd2peown.js → animation-BJ-2VKdB.js} +12 -12
- package/dist/assets/style-admin.css +1 -1
- package/dist/assets/style-editor.css +1 -1
- package/dist/assets/style.css +1 -1
- package/dist/{button-D9cbyHeZ.js → button-CawAzlko.js} +21 -73
- package/dist/{checkbox-BO5RZmO8.js → checkbox-t7VrqXv2.js} +59 -62
- package/dist/{color-swatch-D2ZBkuTt.js → color-swatch-gU09x9Ga.js} +417 -414
- package/dist/components/base-control/base-control.js +2 -2
- package/dist/components/base-control/container.js +1 -1
- package/dist/components/breakpoint-preview/breakpoint-preview.js +1 -1
- package/dist/components/button/button.js +1 -1
- package/dist/components/checkbox/checkbox.js +1 -1
- package/dist/components/color-pickers/color-picker.js +2 -2
- package/dist/components/color-pickers/color-swatch.js +1 -1
- package/dist/components/color-pickers/gradient-editor.js +1 -1
- package/dist/components/color-pickers/solid-color-picker.js +1 -1
- package/dist/components/component-toggle/component-toggle.js +4 -4
- package/dist/components/container-panel/container-panel.js +5 -5
- package/dist/components/draggable/draggable-handle.js +1 -1
- package/dist/components/draggable/draggable.js +1 -1
- package/dist/components/draggable-list/draggable-list-item.js +1 -1
- package/dist/components/draggable-list/draggable-list.js +2 -2
- package/dist/components/expandable/expandable.js +7 -7
- package/dist/components/index.js +15 -15
- package/dist/components/input-field/input-field.js +1 -1
- package/dist/components/item-collection/item-collection.js +1 -1
- package/dist/components/link-input/link-input.js +1 -1
- package/dist/components/matrix-align/matrix-align.js +5 -5
- package/dist/components/menu/menu.js +11 -11
- package/dist/components/modal/modal.js +1 -1
- package/dist/components/number-picker/number-picker.js +1 -1
- package/dist/components/option-select/option-select.js +3 -3
- package/dist/components/options-panel/options-panel.js +3 -3
- package/dist/components/placeholders/file-picker-shell.js +1 -1
- package/dist/components/placeholders/file-placeholder.js +1 -1
- package/dist/components/popover/popover.js +6 -6
- package/dist/components/portal-provider/portal-provider.js +2 -2
- package/dist/components/radio/radio.js +9 -9
- package/dist/components/repeater/repeater-item.js +2 -2
- package/dist/components/repeater/repeater.js +3 -3
- package/dist/components/responsive/mini-responsive.js +6 -6
- package/dist/components/responsive/responsive-legacy.js +5 -5
- package/dist/components/responsive/responsive.js +5 -5
- package/dist/components/responsive-preview/responsive-preview.js +2 -2
- package/dist/components/select/async-multi-select.js +27 -26
- package/dist/components/select/async-select.js +27 -26
- package/dist/components/select/multi-select.js +33 -32
- package/dist/components/select/shared.js +1 -1
- package/dist/components/select/single-select.js +33 -32
- package/dist/components/select/styles.js +1 -1
- package/dist/components/slider/column-config-slider.js +8 -8
- package/dist/components/slider/slider.js +8 -8
- package/dist/components/slider/utils.js +1 -1
- package/dist/components/smart-image/smart-image.js +1 -1
- package/dist/components/tabs/tabs.js +1 -1
- package/dist/components/toggle/switch.js +1 -1
- package/dist/components/toggle/toggle.js +3 -3
- package/dist/components/toggle-button/toggle-button.js +1 -1
- package/dist/components/tooltip/tooltip.js +1 -1
- package/dist/{draggable-CTDVJ4zd.js → draggable-Cxv-OueQ.js} +1 -1
- package/dist/filterDOMProps-BfW758QC.js +69 -0
- package/dist/{gradient-editor-CD5Sho6A.js → gradient-editor-CInqVF8v.js} +6 -6
- package/dist/icons/index.js +1 -1
- package/dist/icons/jsx-svg.js +1 -1
- package/dist/index.js +15 -15
- package/dist/{input-field-_OCWbftf.js → input-field-BdFrxQ-R.js} +46 -47
- package/dist/keyboard-CT41mQzR.js +55 -0
- package/dist/{link-input-BnjtzMbF.js → link-input-BDFhSSvH.js} +324 -356
- package/dist/{modal-snrElwty.js → modal-CJDaBdPh.js} +100 -92
- package/dist/{number-ZZIxJukn.js → number-MWRvGfyE.js} +10 -10
- package/dist/{number-picker-Dhtx4409.js → number-picker-BrxrB-xq.js} +43 -42
- package/dist/{shared-BpAYSi3F.js → shared-CI4kcnm8.js} +482 -502
- package/dist/{smart-image-CBNbxJ57.js → smart-image-eGdMu9s9.js} +2 -2
- package/dist/{solid-color-picker-DukArNH-.js → solid-color-picker-DXgX-OAm.js} +926 -935
- package/dist/{switch-DmsvyQPa.js → switch-DNHFoCCx.js} +28 -28
- package/dist/{tabs-Cy6gB0RL.js → tabs-C2tPOEYr.js} +145 -149
- package/dist/textSelection-BhX_2zV9.js +45 -0
- package/dist/{toggle-button-BlzUGfGy.js → toggle-button-DYDp11rq.js} +35 -35
- package/dist/{tooltip-BzJzYlcc.js → tooltip-C-hT6tN9.js} +162 -162
- package/dist/{useAsyncList-BNzwKoX4.js → useAsyncList-DsOh1xIx.js} +54 -74
- package/dist/{useButton-ra1ZSZ4z.js → useButton-BMZc4fTX.js} +11 -11
- package/dist/{SelectionManager-B8lLv6Ue.js → useCollection-CBVYSuGz.js} +1689 -1777
- package/dist/{useEvent-DkZVfgsS.js → useEvent-ypAU33vv.js} +5 -5
- package/dist/useField-BXf__jxy.js +32 -0
- package/dist/{useFilter-OiMnf6sb.js → useFilter-CfKEbIwL.js} +5 -5
- package/dist/{useFocusRing-DuYL4cdO.js → useFocusRing-BgYY-7ko.js} +23 -23
- package/dist/useFormReset-BuMc_O4y.js +17 -0
- package/dist/{FieldError-BWDbP5Db.js → useFormValidation-BcME9D0E.js} +63 -66
- package/dist/useHover-lyApu3ba.js +975 -0
- package/dist/{useLabel-2EohW5l6.js → useLabel-Rv8cIIKk.js} +8 -8
- package/dist/{useLabels-B2p7RXi5.js → useLabels-xOYtkA8o.js} +5 -5
- package/dist/useListState-u6DfeXHi.js +135 -0
- package/dist/{useLocalizedStringFormatter-Dv2diN3k.js → useLocalizedStringFormatter-CR-bmorj.js} +45 -45
- package/dist/{useNumberField-2xbi3jRV.js → useNumberFieldState-xL-ecwNz.js} +665 -619
- package/dist/useNumberFormatter-CR1PAFPG.js +10 -0
- package/dist/useOverlayTriggerState-AeCx45Gv.js +551 -0
- package/dist/usePress-Dnx5rBoD.js +593 -0
- package/dist/useTextField-BW3ZwGyz.js +159 -0
- package/dist/{useToggle-ecIirvIM.js → useToggle-BF5wptMP.js} +19 -20
- package/dist/useToggleState-D5P01lch.js +22 -0
- package/dist/useToolbar-BT25-MJg.js +55 -0
- package/dist/utilities/debounce-throttle.js +1 -1
- package/dist/utilities/es-dash.js +1 -1
- package/dist/utilities/index.js +3 -3
- package/dist/{utils-B_uiqNa4.js → utils-JFcCNFzy.js} +121 -122
- package/package.json +13 -13
- package/dist/Button-h6xF_WrP.js +0 -225
- package/dist/Dialog-i5VLQw1o.js +0 -2488
- package/dist/FocusScope-CgwbGOBB.js +0 -746
- package/dist/Form-DTMkbrQY.js +0 -5
- package/dist/Heading-Hol-wS_B.js +0 -16
- package/dist/Input-BURqyJXW.js +0 -161
- package/dist/Label-DFXXxMKY.js +0 -17
- package/dist/ListBox-BHUJxpwh.js +0 -600
- package/dist/OverlayArrow-BoloUPQM.js +0 -573
- package/dist/PortalProvider-DinZZCKX.js +0 -14
- package/dist/RSPContexts-C_z0bI8W.js +0 -12
- package/dist/RadioGroup-BwlGtCja.js +0 -329
- package/dist/SearchField-Cm1i5mLj.js +0 -764
- package/dist/SelectionIndicator-31L6EI9F.js +0 -13
- package/dist/Text-O6VBBDlP.js +0 -16
- package/dist/context-C-XNeJ_l.js +0 -93
- package/dist/filterDOMProps-_2_3GD-K.js +0 -69
- package/dist/textSelection-Dv6WPj0Z.js +0 -45
- package/dist/useField-D0WrzR2F.js +0 -32
- package/dist/useFormReset-DdkykzAn.js +0 -18
- package/dist/useHover-qaMm3XFO.js +0 -982
- package/dist/useListState-CD_5vfyy.js +0 -147
- package/dist/useNumberFormatter-C2Cm2mNj.js +0 -10
- package/dist/usePress-ZP1TjkFf.js +0 -678
- package/dist/useToggleState-IIDbiKPl.js +0 -23
- /package/dist/{List-DWlgW2Ex.js → List---tsVJlI.js} +0 -0
- /package/dist/{build-module-Bsx62nlm.js → build-module-K6vi4xE0.js} +0 -0
- /package/dist/{debounce-throttle-DXxSAKpq.js → debounce-throttle-LSPAPFtq.js} +0 -0
- /package/dist/{dist-2gkv7_1U.js → dist-jw8wvxoG.js} +0 -0
- /package/dist/{es-dash-HqXWZZ3_.js → es-dash-BuShf_ht.js} +0 -0
- /package/dist/{jsx-svg-DgKbriN1.js → jsx-svg-DT1SBWuP.js} +0 -0
- /package/dist/{utilities-lwX686oD.js → utilities-DV0KKJNR.js} +0 -0
|
@@ -1,53 +1,398 @@
|
|
|
1
1
|
import { t as clsx } from "./clsx-BUU5J41u.js";
|
|
2
2
|
import { AnimatedVisibility } from "./components/animated-visibility/animated-visibility.js";
|
|
3
|
-
import { c as $
|
|
4
|
-
import { H as $
|
|
5
|
-
import { t as $
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { t as $
|
|
10
|
-
import {
|
|
11
|
-
import { t as $
|
|
12
|
-
import { n as $
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { t as $
|
|
18
|
-
import {
|
|
19
|
-
import { t as $
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import { t as $
|
|
23
|
-
import { t as __ } from "./build-module-
|
|
3
|
+
import { c as $7230ffa83bc0c2cf$export$fabf2dc03a41866e, g as $a4e76a5424781910$export$e08e3b67e392101e, i as $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8, n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, o as $7230ffa83bc0c2cf$export$df3a06d6289f983e, p as $390e54f620492c70$export$f680877a34711e37, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, s as $7230ffa83bc0c2cf$export$ef03459518577ad4, t as $7230ffa83bc0c2cf$export$2881499e37b75b9a, u as $bbaa08b3cd72f041$export$9d1611c77c2fe928 } from "./utils-JFcCNFzy.js";
|
|
4
|
+
import { H as $23f2114a1b82827e$export$e58f029f0fbfdb29, d as $3e6197669829fe11$export$40bfa8c7b0832715, m as $8f5a2122b0992be3$export$8397ddfc504fdb9a, z as $23f2114a1b82827e$export$4282f70798064fe0 } from "./useHover-lyApu3ba.js";
|
|
5
|
+
import { t as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7 } from "./I18nProvider-Cm6dj5jY.js";
|
|
6
|
+
import { t as $cf2482eff2eeeec2$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-CR-bmorj.js";
|
|
7
|
+
import { c as $f5a4a9a3486154da$export$e32c88dfddc6e1d8, g as $42ceafc619f9c3ba$export$bf788dd355e3a401 } from "./useCollection-CBVYSuGz.js";
|
|
8
|
+
import { t as $d7f64c32b702fe2c$export$86427a43e3e48ebb } from "./Hidden-DYY00jLm.js";
|
|
9
|
+
import { t as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f } from "./filterDOMProps-BfW758QC.js";
|
|
10
|
+
import { t as $0c4a58759813079a$export$4e328f61c538687f } from "./useFocusRing-BgYY-7ko.js";
|
|
11
|
+
import { t as $43a3b93638fe5db9$export$75b6ee27786ba447 } from "./Label-B1TkoVOG.js";
|
|
12
|
+
import { n as $7705c033048f6da7$export$353f5b6fc5456de1, t as $7705c033048f6da7$export$24d547caef80ccd1 } from "./Button-Biwg7zwt.js";
|
|
13
|
+
import { n as $efe09c6d1c304b50$export$9afb8bc826b033ea } from "./Text-C8pfwn0W.js";
|
|
14
|
+
import { b as $673d46fce3e5717d$export$a16aca283550c30d, d as $542a13ca2fa5b484$export$9b9a0cd73afb7ca4, l as $f19b83c1486f45cc$export$dc9c12ed27dd1b49, r as $f2ff30fde7b014be$export$d2f961adcb0afbe, x as $ae8f8d98b2b18f2f$export$a05409b8bb224a5a } from "./Dialog-C1sh8jbh.js";
|
|
15
|
+
import { n as $ea3928288112382f$export$a966af930f325cab } from "./VisuallyHidden-KcXlGa5p.js";
|
|
16
|
+
import { a as $1f3c3b1a70cec653$export$ff05c3ac10437e03, i as $fd2148440a13ec26$export$fc1a364ae1f3ff10, t as $860f7da480e22816$export$b8473d3665f3a75a } from "./useFormValidation-BcME9D0E.js";
|
|
17
|
+
import { t as $cdaed739b1139372$export$c24727297075ec6a } from "./Form-BxIJCHYd.js";
|
|
18
|
+
import { t as $191c9b6d48a0a4e2$export$294aa081a6c6f55d } from "./useField-BXf__jxy.js";
|
|
19
|
+
import { t as $3274bf1495747a7b$export$5add1d006293d136 } from "./useFormReset-BuMc_O4y.js";
|
|
20
|
+
import { i as $928221da08ecbc62$export$a11e76429ed99b4, n as $928221da08ecbc62$export$7c5906fe4f1f2af2, r as $928221da08ecbc62$export$7ff8f37d2d81a48d } from "./ListBox-BquE0m8z.js";
|
|
21
|
+
import { t as $b14b6f590b50af39$export$2f645645f7bca764 } from "./useListState-u6DfeXHi.js";
|
|
22
|
+
import { r as $970072cf4b13fde3$export$683480f191c0e3ea, t as $f11fb0bcf1b2687a$export$61c6a8c84e605fb6 } from "./useOverlayTriggerState-AeCx45Gv.js";
|
|
23
|
+
import { t as __ } from "./build-module-K6vi4xE0.js";
|
|
24
24
|
import { Icon } from "./icons/icon.js";
|
|
25
25
|
import { check } from "./icons/ui-icons/check.js";
|
|
26
26
|
import { clear } from "./icons/ui-icons/clear.js";
|
|
27
27
|
import React, { Fragment, createContext, forwardRef, useCallback, useContext, useMemo, useRef, useState } from "react";
|
|
28
28
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
29
|
-
//#region node_modules
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
//#region node_modules/react-aria-components/dist/private/intl/ar-AE.mjs
|
|
30
|
+
var $8700ca6f74b7a3bb$exports = {};
|
|
31
|
+
$8700ca6f74b7a3bb$exports = {
|
|
32
|
+
"colorSwatchPicker": `\u{62A}\u{63A}\u{64A}\u{64A}\u{631}\u{627}\u{62A} \u{627}\u{644}\u{623}\u{644}\u{648}\u{627}\u{646}`,
|
|
33
|
+
"dropzoneLabel": `DropZone`,
|
|
34
|
+
"selectPlaceholder": `\u{62D}\u{62F}\u{62F} \u{639}\u{646}\u{635}\u{631}\u{64B}\u{627}`,
|
|
35
|
+
"tableResizer": `\u{623}\u{62F}\u{627}\u{629} \u{62A}\u{63A}\u{64A}\u{64A}\u{631} \u{627}\u{644}\u{62D}\u{62C}\u{645}`
|
|
36
|
+
};
|
|
37
|
+
//#endregion
|
|
38
|
+
//#region node_modules/react-aria-components/dist/private/intl/bg-BG.mjs
|
|
39
|
+
var $0c7dfa0e49fba847$exports = {};
|
|
40
|
+
$0c7dfa0e49fba847$exports = {
|
|
41
|
+
"colorSwatchPicker": `\u{426}\u{432}\u{435}\u{442}\u{43E}\u{432}\u{438} \u{43C}\u{43E}\u{441}\u{442}\u{440}\u{438}`,
|
|
42
|
+
"dropzoneLabel": `DropZone`,
|
|
43
|
+
"selectPlaceholder": `\u{418}\u{437}\u{431}\u{435}\u{440}\u{435}\u{442}\u{435} \u{43F}\u{440}\u{435}\u{434}\u{43C}\u{435}\u{442}`,
|
|
44
|
+
"tableResizer": `\u{41F}\u{440}\u{435}\u{43E}\u{440}\u{430}\u{437}\u{43C}\u{435}\u{440}\u{438}\u{442}\u{435}\u{43B}`
|
|
45
|
+
};
|
|
46
|
+
//#endregion
|
|
47
|
+
//#region node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs
|
|
48
|
+
var $0c58c085e8473442$exports = {};
|
|
49
|
+
$0c58c085e8473442$exports = {
|
|
50
|
+
"colorSwatchPicker": `Vzorky barev`,
|
|
51
|
+
"dropzoneLabel": `M\xedsto pro p\u{159}eta\u{17E}en\xed`,
|
|
52
|
+
"selectPlaceholder": `Vyberte polo\u{17E}ku`,
|
|
53
|
+
"tableResizer": `Zm\u{11B}na velikosti`
|
|
54
|
+
};
|
|
55
|
+
//#endregion
|
|
56
|
+
//#region node_modules/react-aria-components/dist/private/intl/da-DK.mjs
|
|
57
|
+
var $6b7d29a94eebcc3f$exports = {};
|
|
58
|
+
$6b7d29a94eebcc3f$exports = {
|
|
59
|
+
"colorSwatchPicker": `Farvepr\xf8ver`,
|
|
60
|
+
"dropzoneLabel": `DropZone`,
|
|
61
|
+
"selectPlaceholder": `V\xe6lg et element`,
|
|
62
|
+
"tableResizer": `St\xf8rrelses\xe6ndring`
|
|
63
|
+
};
|
|
64
|
+
//#endregion
|
|
65
|
+
//#region node_modules/react-aria-components/dist/private/intl/de-DE.mjs
|
|
66
|
+
var $74fbc8121aba83f1$exports = {};
|
|
67
|
+
$74fbc8121aba83f1$exports = {
|
|
68
|
+
"colorSwatchPicker": `Farbfelder`,
|
|
69
|
+
"dropzoneLabel": `Ablegebereich`,
|
|
70
|
+
"selectPlaceholder": `Element w\xe4hlen`,
|
|
71
|
+
"tableResizer": `Gr\xf6\xdfenanpassung`
|
|
72
|
+
};
|
|
73
|
+
//#endregion
|
|
74
|
+
//#region node_modules/react-aria-components/dist/private/intl/el-GR.mjs
|
|
75
|
+
var $87d5d863f4752089$exports = {};
|
|
76
|
+
$87d5d863f4752089$exports = {
|
|
77
|
+
"colorSwatchPicker": `\u{3A7}\u{3C1}\u{3C9}\u{3BC}\u{3B1}\u{3C4}\u{3B9}\u{3BA}\u{3AC} \u{3B4}\u{3B5}\u{3AF}\u{3B3}\u{3BC}\u{3B1}\u{3C4}\u{3B1}`,
|
|
78
|
+
"dropzoneLabel": `DropZone`,
|
|
79
|
+
"selectPlaceholder": `\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3BE}\u{3C4}\u{3B5} \u{3AD}\u{3BD}\u{3B1} \u{3B1}\u{3BD}\u{3C4}\u{3B9}\u{3BA}\u{3B5}\u{3AF}\u{3BC}\u{3B5}\u{3BD}\u{3BF}`,
|
|
80
|
+
"tableResizer": `\u{391}\u{3BB}\u{3BB}\u{3B1}\u{3B3}\u{3AE} \u{3BC}\u{3B5}\u{3B3}\u{3AD}\u{3B8}\u{3BF}\u{3C5}\u{3C2}`
|
|
81
|
+
};
|
|
82
|
+
//#endregion
|
|
83
|
+
//#region node_modules/react-aria-components/dist/private/intl/en-US.mjs
|
|
84
|
+
var $8977cb565542571b$exports = {};
|
|
85
|
+
$8977cb565542571b$exports = {
|
|
86
|
+
"selectPlaceholder": `Select an item`,
|
|
87
|
+
"tableResizer": `Resizer`,
|
|
88
|
+
"dropzoneLabel": `DropZone`,
|
|
89
|
+
"colorSwatchPicker": `Color swatches`
|
|
90
|
+
};
|
|
91
|
+
//#endregion
|
|
92
|
+
//#region node_modules/react-aria-components/dist/private/intl/es-ES.mjs
|
|
93
|
+
var $83d09a059cc4fa14$exports = {};
|
|
94
|
+
$83d09a059cc4fa14$exports = {
|
|
95
|
+
"colorSwatchPicker": `Muestras de colores`,
|
|
96
|
+
"dropzoneLabel": `DropZone`,
|
|
97
|
+
"selectPlaceholder": `Seleccionar un art\xedculo`,
|
|
98
|
+
"tableResizer": `Cambiador de tama\xf1o`
|
|
99
|
+
};
|
|
100
|
+
//#endregion
|
|
101
|
+
//#region node_modules/react-aria-components/dist/private/intl/et-EE.mjs
|
|
102
|
+
var $21e1d1ca29e01129$exports = {};
|
|
103
|
+
$21e1d1ca29e01129$exports = {
|
|
104
|
+
"colorSwatchPicker": `V\xe4rvin\xe4idised`,
|
|
105
|
+
"dropzoneLabel": `DropZone`,
|
|
106
|
+
"selectPlaceholder": `Valige \xfcksus`,
|
|
107
|
+
"tableResizer": `Suuruse muutja`
|
|
108
|
+
};
|
|
109
|
+
//#endregion
|
|
110
|
+
//#region node_modules/react-aria-components/dist/private/intl/fi-FI.mjs
|
|
111
|
+
var $c3b6531c27488f67$exports = {};
|
|
112
|
+
$c3b6531c27488f67$exports = {
|
|
113
|
+
"colorSwatchPicker": `V\xe4rimallit`,
|
|
114
|
+
"dropzoneLabel": `DropZone`,
|
|
115
|
+
"selectPlaceholder": `Valitse kohde`,
|
|
116
|
+
"tableResizer": `Koon muuttaja`
|
|
117
|
+
};
|
|
118
|
+
//#endregion
|
|
119
|
+
//#region node_modules/react-aria-components/dist/private/intl/fr-FR.mjs
|
|
120
|
+
var $83a095cffcc42806$exports = {};
|
|
121
|
+
$83a095cffcc42806$exports = {
|
|
122
|
+
"colorSwatchPicker": `\xc9chantillons de couleurs`,
|
|
123
|
+
"dropzoneLabel": `DropZone`,
|
|
124
|
+
"selectPlaceholder": `S\xe9lectionner un \xe9l\xe9ment`,
|
|
125
|
+
"tableResizer": `Redimensionneur`
|
|
126
|
+
};
|
|
127
|
+
//#endregion
|
|
128
|
+
//#region node_modules/react-aria-components/dist/private/intl/he-IL.mjs
|
|
129
|
+
var $1af82e4746ec171d$exports = {};
|
|
130
|
+
$1af82e4746ec171d$exports = {
|
|
131
|
+
"colorSwatchPicker": `\u{5D3}\u{5D5}\u{5D2}\u{5DE}\u{5D9}\u{5D5}\u{5EA} \u{5E6}\u{5D1}\u{5E2}`,
|
|
132
|
+
"dropzoneLabel": `DropZone`,
|
|
133
|
+
"selectPlaceholder": `\u{5D1}\u{5D7}\u{5E8} \u{5E4}\u{5E8}\u{5D9}\u{5D8}`,
|
|
134
|
+
"tableResizer": `\u{5E9}\u{5D9}\u{5E0}\u{5D5}\u{5D9} \u{5D2}\u{5D5}\u{5D3}\u{5DC}`
|
|
135
|
+
};
|
|
136
|
+
//#endregion
|
|
137
|
+
//#region node_modules/react-aria-components/dist/private/intl/hr-HR.mjs
|
|
138
|
+
var $632db85e92394c25$exports = {};
|
|
139
|
+
$632db85e92394c25$exports = {
|
|
140
|
+
"colorSwatchPicker": `Uzorci boja`,
|
|
141
|
+
"dropzoneLabel": `Zona spu\u{161}tanja`,
|
|
142
|
+
"selectPlaceholder": `Odaberite stavku`,
|
|
143
|
+
"tableResizer": `Promjena veli\u{10D}ine`
|
|
144
|
+
};
|
|
145
|
+
//#endregion
|
|
146
|
+
//#region node_modules/react-aria-components/dist/private/intl/hu-HU.mjs
|
|
147
|
+
var $a60efb3893829878$exports = {};
|
|
148
|
+
$a60efb3893829878$exports = {
|
|
149
|
+
"colorSwatchPicker": `Sz\xednt\xe1rak`,
|
|
150
|
+
"dropzoneLabel": `DropZone`,
|
|
151
|
+
"selectPlaceholder": `V\xe1lasszon ki egy elemet`,
|
|
152
|
+
"tableResizer": `\xc1tm\xe9retez\u{151}`
|
|
153
|
+
};
|
|
154
|
+
//#endregion
|
|
155
|
+
//#region node_modules/react-aria-components/dist/private/intl/it-IT.mjs
|
|
156
|
+
var $2a9c939f662747b6$exports = {};
|
|
157
|
+
$2a9c939f662747b6$exports = {
|
|
158
|
+
"colorSwatchPicker": `Campioni di colore`,
|
|
159
|
+
"dropzoneLabel": `Zona di rilascio`,
|
|
160
|
+
"selectPlaceholder": `Seleziona un elemento`,
|
|
161
|
+
"tableResizer": `Ridimensionamento`
|
|
162
|
+
};
|
|
163
|
+
//#endregion
|
|
164
|
+
//#region node_modules/react-aria-components/dist/private/intl/ja-JP.mjs
|
|
165
|
+
var $33c4d792722c8e8f$exports = {};
|
|
166
|
+
$33c4d792722c8e8f$exports = {
|
|
167
|
+
"colorSwatchPicker": `\u{30AB}\u{30E9}\u{30FC}\u{30B9}\u{30A6}\u{30A9}\u{30C3}\u{30C1}`,
|
|
168
|
+
"dropzoneLabel": `\u{30C9}\u{30ED}\u{30C3}\u{30D7}\u{30BE}\u{30FC}\u{30F3}`,
|
|
169
|
+
"selectPlaceholder": `\u{9805}\u{76EE}\u{3092}\u{9078}\u{629E}`,
|
|
170
|
+
"tableResizer": `\u{30B5}\u{30A4}\u{30BA}\u{5909}\u{66F4}\u{30C4}\u{30FC}\u{30EB}`
|
|
171
|
+
};
|
|
172
|
+
//#endregion
|
|
173
|
+
//#region node_modules/react-aria-components/dist/private/intl/ko-KR.mjs
|
|
174
|
+
var $6c1efa3447442005$exports = {};
|
|
175
|
+
$6c1efa3447442005$exports = {
|
|
176
|
+
"colorSwatchPicker": `\u{C0C9}\u{C0C1} \u{ACAC}\u{BCF8}`,
|
|
177
|
+
"dropzoneLabel": `\u{B4DC}\u{B86D} \u{C601}\u{C5ED}`,
|
|
178
|
+
"selectPlaceholder": `\u{D56D}\u{BAA9} \u{C120}\u{D0DD}`,
|
|
179
|
+
"tableResizer": `\u{D06C}\u{AE30} \u{C870}\u{C815}\u{AE30}`
|
|
180
|
+
};
|
|
181
|
+
//#endregion
|
|
182
|
+
//#region node_modules/react-aria-components/dist/private/intl/lt-LT.mjs
|
|
183
|
+
var $fb9cd4429353d32d$exports = {};
|
|
184
|
+
$fb9cd4429353d32d$exports = {
|
|
185
|
+
"colorSwatchPicker": `Spalv\u{173} pavyzd\u{17E}iai`,
|
|
186
|
+
"dropzoneLabel": `\u{201E}DropZone\u{201C}`,
|
|
187
|
+
"selectPlaceholder": `Pasirinkite element\u{105}`,
|
|
188
|
+
"tableResizer": `Dyd\u{17E}io keitiklis`
|
|
189
|
+
};
|
|
190
|
+
//#endregion
|
|
191
|
+
//#region node_modules/react-aria-components/dist/private/intl/lv-LV.mjs
|
|
192
|
+
var $1a04cd004166540e$exports = {};
|
|
193
|
+
$1a04cd004166540e$exports = {
|
|
194
|
+
"colorSwatchPicker": `Kr\u{101}su paraugi`,
|
|
195
|
+
"dropzoneLabel": `DropZone`,
|
|
196
|
+
"selectPlaceholder": `Izv\u{113}l\u{113}ties vienumu`,
|
|
197
|
+
"tableResizer": `Izm\u{113}ra main\u{12B}t\u{101}js`
|
|
198
|
+
};
|
|
199
|
+
//#endregion
|
|
200
|
+
//#region node_modules/react-aria-components/dist/private/intl/nb-NO.mjs
|
|
201
|
+
var $b93cf9c16a1d6016$exports = {};
|
|
202
|
+
$b93cf9c16a1d6016$exports = {
|
|
203
|
+
"colorSwatchPicker": `Fargekart`,
|
|
204
|
+
"dropzoneLabel": `Droppsone`,
|
|
205
|
+
"selectPlaceholder": `Velg et element`,
|
|
206
|
+
"tableResizer": `St\xf8rrelsesendrer`
|
|
207
|
+
};
|
|
208
|
+
//#endregion
|
|
209
|
+
//#region node_modules/react-aria-components/dist/private/intl/nl-NL.mjs
|
|
210
|
+
var $4e47f19ffc9065c1$exports = {};
|
|
211
|
+
$4e47f19ffc9065c1$exports = {
|
|
212
|
+
"colorSwatchPicker": `kleurstalen`,
|
|
213
|
+
"dropzoneLabel": `DropZone`,
|
|
214
|
+
"selectPlaceholder": `Selecteer een item`,
|
|
215
|
+
"tableResizer": `Resizer`
|
|
216
|
+
};
|
|
217
|
+
//#endregion
|
|
218
|
+
//#region node_modules/react-aria-components/dist/private/intl/pl-PL.mjs
|
|
219
|
+
var $33fe3b0f0884fb7c$exports = {};
|
|
220
|
+
$33fe3b0f0884fb7c$exports = {
|
|
221
|
+
"colorSwatchPicker": `Pr\xf3bki kolor\xf3w`,
|
|
222
|
+
"dropzoneLabel": `Strefa upuszczania`,
|
|
223
|
+
"selectPlaceholder": `Wybierz element`,
|
|
224
|
+
"tableResizer": `Zmiana rozmiaru`
|
|
225
|
+
};
|
|
226
|
+
//#endregion
|
|
227
|
+
//#region node_modules/react-aria-components/dist/private/intl/pt-BR.mjs
|
|
228
|
+
var $7dfe84ba28f38545$exports = {};
|
|
229
|
+
$7dfe84ba28f38545$exports = {
|
|
230
|
+
"colorSwatchPicker": `Amostras de cores`,
|
|
231
|
+
"dropzoneLabel": `DropZone`,
|
|
232
|
+
"selectPlaceholder": `Selecione um item`,
|
|
233
|
+
"tableResizer": `Redimensionador`
|
|
234
|
+
};
|
|
235
|
+
//#endregion
|
|
236
|
+
//#region node_modules/react-aria-components/dist/private/intl/pt-PT.mjs
|
|
237
|
+
var $c68983ae60668f02$exports = {};
|
|
238
|
+
$c68983ae60668f02$exports = {
|
|
239
|
+
"colorSwatchPicker": `Amostras de cores`,
|
|
240
|
+
"dropzoneLabel": `DropZone`,
|
|
241
|
+
"selectPlaceholder": `Selecione um item`,
|
|
242
|
+
"tableResizer": `Redimensionador`
|
|
243
|
+
};
|
|
244
|
+
//#endregion
|
|
245
|
+
//#region node_modules/react-aria-components/dist/private/intl/ro-RO.mjs
|
|
246
|
+
var $dc4e2c1a20dc1244$exports = {};
|
|
247
|
+
$dc4e2c1a20dc1244$exports = {
|
|
248
|
+
"colorSwatchPicker": `Specimene de culoare`,
|
|
249
|
+
"dropzoneLabel": `Zon\u{103} de plasare`,
|
|
250
|
+
"selectPlaceholder": `Selecta\u{21B}i un element`,
|
|
251
|
+
"tableResizer": `Instrument de redimensionare`
|
|
252
|
+
};
|
|
253
|
+
//#endregion
|
|
254
|
+
//#region node_modules/react-aria-components/dist/private/intl/ru-RU.mjs
|
|
255
|
+
var $0723508d266e49c2$exports = {};
|
|
256
|
+
$0723508d266e49c2$exports = {
|
|
257
|
+
"colorSwatchPicker": `\u{426}\u{432}\u{435}\u{442}\u{43E}\u{432}\u{44B}\u{435} \u{43E}\u{431}\u{440}\u{430}\u{437}\u{446}\u{44B}`,
|
|
258
|
+
"dropzoneLabel": `DropZone`,
|
|
259
|
+
"selectPlaceholder": `\u{412}\u{44B}\u{431}\u{435}\u{440}\u{438}\u{442}\u{435} \u{44D}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}`,
|
|
260
|
+
"tableResizer": `\u{421}\u{440}\u{435}\u{434}\u{441}\u{442}\u{432}\u{43E} \u{438}\u{437}\u{43C}\u{435}\u{43D}\u{435}\u{43D}\u{438}\u{44F} \u{440}\u{430}\u{437}\u{43C}\u{435}\u{440}\u{430}`
|
|
261
|
+
};
|
|
262
|
+
//#endregion
|
|
263
|
+
//#region node_modules/react-aria-components/dist/private/intl/sk-SK.mjs
|
|
264
|
+
var $a4cd257e892b5fbb$exports = {};
|
|
265
|
+
$a4cd257e892b5fbb$exports = {
|
|
266
|
+
"colorSwatchPicker": `Vzorkovn\xedky farieb`,
|
|
267
|
+
"dropzoneLabel": `DropZone`,
|
|
268
|
+
"selectPlaceholder": `Vyberte polo\u{17E}ku`,
|
|
269
|
+
"tableResizer": `N\xe1stroj na zmenu ve\u{13E}kosti`
|
|
270
|
+
};
|
|
271
|
+
//#endregion
|
|
272
|
+
//#region node_modules/react-aria-components/dist/private/intl/sl-SI.mjs
|
|
273
|
+
var $7c88c76899171bad$exports = {};
|
|
274
|
+
$7c88c76899171bad$exports = {
|
|
275
|
+
"colorSwatchPicker": `Barvne palete`,
|
|
276
|
+
"dropzoneLabel": `DropZone`,
|
|
277
|
+
"selectPlaceholder": `Izberite element`,
|
|
278
|
+
"tableResizer": `Spreminjanje velikosti`
|
|
279
|
+
};
|
|
280
|
+
//#endregion
|
|
281
|
+
//#region node_modules/react-aria-components/dist/private/intl/sr-SP.mjs
|
|
282
|
+
var $47dfaaac60bb350f$exports = {};
|
|
283
|
+
$47dfaaac60bb350f$exports = {
|
|
284
|
+
"colorSwatchPicker": `Uzorci boje`,
|
|
285
|
+
"dropzoneLabel": `DropZone`,
|
|
286
|
+
"selectPlaceholder": `Izaberite stavku`,
|
|
287
|
+
"tableResizer": `Promena veli\u{10D}ine`
|
|
288
|
+
};
|
|
289
|
+
//#endregion
|
|
290
|
+
//#region node_modules/react-aria-components/dist/private/intl/sv-SE.mjs
|
|
291
|
+
var $123a3e7569e58719$exports = {};
|
|
292
|
+
$123a3e7569e58719$exports = {
|
|
293
|
+
"colorSwatchPicker": `F\xe4rgrutor`,
|
|
294
|
+
"dropzoneLabel": `DropZone`,
|
|
295
|
+
"selectPlaceholder": `V\xe4lj en artikel`,
|
|
296
|
+
"tableResizer": `Storleks\xe4ndrare`
|
|
297
|
+
};
|
|
298
|
+
//#endregion
|
|
299
|
+
//#region node_modules/react-aria-components/dist/private/intl/tr-TR.mjs
|
|
300
|
+
var $a6bf4586076d348a$exports = {};
|
|
301
|
+
$a6bf4586076d348a$exports = {
|
|
302
|
+
"colorSwatchPicker": `Renk \xf6rnekleri`,
|
|
303
|
+
"dropzoneLabel": `B\u{131}rakma B\xf6lgesi`,
|
|
304
|
+
"selectPlaceholder": `Bir \xf6\u{11F}e se\xe7in`,
|
|
305
|
+
"tableResizer": `Yeniden boyutland\u{131}r\u{131}c\u{131}`
|
|
306
|
+
};
|
|
307
|
+
//#endregion
|
|
308
|
+
//#region node_modules/react-aria-components/dist/private/intl/uk-UA.mjs
|
|
309
|
+
var $454d713aa4bcd4e3$exports = {};
|
|
310
|
+
$454d713aa4bcd4e3$exports = {
|
|
311
|
+
"colorSwatchPicker": `\u{417}\u{440}\u{430}\u{437}\u{43A}\u{438} \u{43A}\u{43E}\u{43B}\u{44C}\u{43E}\u{440}\u{456}\u{432}`,
|
|
312
|
+
"dropzoneLabel": `DropZone`,
|
|
313
|
+
"selectPlaceholder": `\u{412}\u{438}\u{431}\u{435}\u{440}\u{456}\u{442}\u{44C} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}`,
|
|
314
|
+
"tableResizer": `\u{417}\u{430}\u{441}\u{456}\u{431} \u{437}\u{43C}\u{456}\u{43D}\u{435}\u{43D}\u{43D}\u{44F} \u{440}\u{43E}\u{437}\u{43C}\u{456}\u{440}\u{443}`
|
|
315
|
+
};
|
|
316
|
+
//#endregion
|
|
317
|
+
//#region node_modules/react-aria-components/dist/private/intl/zh-CN.mjs
|
|
318
|
+
var $ea015b633d0158b0$exports = {};
|
|
319
|
+
$ea015b633d0158b0$exports = {
|
|
320
|
+
"colorSwatchPicker": `\u{989C}\u{8272}\u{8272}\u{677F}`,
|
|
321
|
+
"dropzoneLabel": `\u{653E}\u{7F6E}\u{533A}\u{57DF}`,
|
|
322
|
+
"selectPlaceholder": `\u{9009}\u{62E9}\u{4E00}\u{4E2A}\u{9879}\u{76EE}`,
|
|
323
|
+
"tableResizer": `\u{5C3A}\u{5BF8}\u{8C03}\u{6574}\u{5668}`
|
|
324
|
+
};
|
|
325
|
+
//#endregion
|
|
326
|
+
//#region node_modules/react-aria-components/dist/private/intl/zh-TW.mjs
|
|
327
|
+
var $069eb2e0b73d269e$exports = {};
|
|
328
|
+
$069eb2e0b73d269e$exports = {
|
|
329
|
+
"colorSwatchPicker": `\u{8272}\u{7968}`,
|
|
330
|
+
"dropzoneLabel": `\u{653E}\u{7F6E}\u{5340}`,
|
|
331
|
+
"selectPlaceholder": `\u{9078}\u{53D6}\u{9805}\u{76EE}`,
|
|
332
|
+
"tableResizer": `\u{5927}\u{5C0F}\u{8ABF}\u{6574}\u{5668}`
|
|
333
|
+
};
|
|
334
|
+
//#endregion
|
|
335
|
+
//#region node_modules/react-aria-components/dist/private/intlStrings.mjs
|
|
336
|
+
var $aa5f63badbfee5df$exports = {};
|
|
337
|
+
$aa5f63badbfee5df$exports = {
|
|
338
|
+
"ar-AE": $8700ca6f74b7a3bb$exports,
|
|
339
|
+
"bg-BG": $0c7dfa0e49fba847$exports,
|
|
340
|
+
"cs-CZ": $0c58c085e8473442$exports,
|
|
341
|
+
"da-DK": $6b7d29a94eebcc3f$exports,
|
|
342
|
+
"de-DE": $74fbc8121aba83f1$exports,
|
|
343
|
+
"el-GR": $87d5d863f4752089$exports,
|
|
344
|
+
"en-US": $8977cb565542571b$exports,
|
|
345
|
+
"es-ES": $83d09a059cc4fa14$exports,
|
|
346
|
+
"et-EE": $21e1d1ca29e01129$exports,
|
|
347
|
+
"fi-FI": $c3b6531c27488f67$exports,
|
|
348
|
+
"fr-FR": $83a095cffcc42806$exports,
|
|
349
|
+
"he-IL": $1af82e4746ec171d$exports,
|
|
350
|
+
"hr-HR": $632db85e92394c25$exports,
|
|
351
|
+
"hu-HU": $a60efb3893829878$exports,
|
|
352
|
+
"it-IT": $2a9c939f662747b6$exports,
|
|
353
|
+
"ja-JP": $33c4d792722c8e8f$exports,
|
|
354
|
+
"ko-KR": $6c1efa3447442005$exports,
|
|
355
|
+
"lt-LT": $fb9cd4429353d32d$exports,
|
|
356
|
+
"lv-LV": $1a04cd004166540e$exports,
|
|
357
|
+
"nb-NO": $b93cf9c16a1d6016$exports,
|
|
358
|
+
"nl-NL": $4e47f19ffc9065c1$exports,
|
|
359
|
+
"pl-PL": $33fe3b0f0884fb7c$exports,
|
|
360
|
+
"pt-BR": $7dfe84ba28f38545$exports,
|
|
361
|
+
"pt-PT": $c68983ae60668f02$exports,
|
|
362
|
+
"ro-RO": $dc4e2c1a20dc1244$exports,
|
|
363
|
+
"ru-RU": $0723508d266e49c2$exports,
|
|
364
|
+
"sk-SK": $a4cd257e892b5fbb$exports,
|
|
365
|
+
"sl-SI": $7c88c76899171bad$exports,
|
|
366
|
+
"sr-SP": $47dfaaac60bb350f$exports,
|
|
367
|
+
"sv-SE": $123a3e7569e58719$exports,
|
|
368
|
+
"tr-TR": $a6bf4586076d348a$exports,
|
|
369
|
+
"uk-UA": $454d713aa4bcd4e3$exports,
|
|
370
|
+
"zh-CN": $ea015b633d0158b0$exports,
|
|
371
|
+
"zh-TW": $069eb2e0b73d269e$exports
|
|
372
|
+
};
|
|
373
|
+
//#endregion
|
|
374
|
+
//#region node_modules/react-aria/dist/private/i18n/useListFormatter.mjs
|
|
375
|
+
function $b4eb6eb8d15fb21e$export$a2f47a3d2973640(options = {}) {
|
|
376
|
+
let { locale } = $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7();
|
|
32
377
|
return useMemo(() => new Intl.ListFormat(locale, options), [locale, options]);
|
|
33
378
|
}
|
|
34
379
|
//#endregion
|
|
35
|
-
//#region node_modules
|
|
36
|
-
var $
|
|
37
|
-
function $
|
|
380
|
+
//#region node_modules/react-aria/dist/private/select/useSelect.mjs
|
|
381
|
+
var $c0a45cd074520508$export$703601b7e90536f8 = new WeakMap();
|
|
382
|
+
function $c0a45cd074520508$export$e64b2f635402ca43(props, state, ref) {
|
|
38
383
|
let { keyboardDelegate, isDisabled, isRequired, name, form, validationBehavior = "aria" } = props;
|
|
39
|
-
let collator = $
|
|
384
|
+
let collator = $673d46fce3e5717d$export$a16aca283550c30d({
|
|
40
385
|
usage: "search",
|
|
41
386
|
sensitivity: "base"
|
|
42
387
|
});
|
|
43
|
-
let delegate = useMemo(() => keyboardDelegate || new $
|
|
388
|
+
let delegate = useMemo(() => keyboardDelegate || new $ae8f8d98b2b18f2f$export$a05409b8bb224a5a(state.collection, state.disabledKeys, ref, collator), [
|
|
44
389
|
keyboardDelegate,
|
|
45
390
|
state.collection,
|
|
46
391
|
state.disabledKeys,
|
|
47
392
|
collator,
|
|
48
393
|
ref
|
|
49
394
|
]);
|
|
50
|
-
let { menuTriggerProps, menuProps } = $
|
|
395
|
+
let { menuTriggerProps, menuProps } = $f19b83c1486f45cc$export$dc9c12ed27dd1b49({
|
|
51
396
|
isDisabled,
|
|
52
397
|
type: "listbox"
|
|
53
398
|
}, state, ref);
|
|
@@ -55,22 +400,20 @@ function $58aed456727eb0f3$export$e64b2f635402ca43(props, state, ref) {
|
|
|
55
400
|
if (state.selectionManager.selectionMode === "multiple") return;
|
|
56
401
|
switch (e.key) {
|
|
57
402
|
case "ArrowLeft": {
|
|
58
|
-
var _delegate_getKeyAbove, _delegate_getFirstKey;
|
|
59
403
|
e.preventDefault();
|
|
60
|
-
let key = state.selectedKey != null ?
|
|
404
|
+
let key = state.selectedKey != null ? delegate.getKeyAbove?.(state.selectedKey) : delegate.getFirstKey?.();
|
|
61
405
|
if (key) state.setSelectedKey(key);
|
|
62
406
|
break;
|
|
63
407
|
}
|
|
64
408
|
case "ArrowRight": {
|
|
65
|
-
var _delegate_getKeyBelow, _delegate_getFirstKey1;
|
|
66
409
|
e.preventDefault();
|
|
67
|
-
let key = state.selectedKey != null ?
|
|
410
|
+
let key = state.selectedKey != null ? delegate.getKeyBelow?.(state.selectedKey) : delegate.getFirstKey?.();
|
|
68
411
|
if (key) state.setSelectedKey(key);
|
|
69
412
|
break;
|
|
70
413
|
}
|
|
71
414
|
}
|
|
72
415
|
};
|
|
73
|
-
let { typeSelectProps } = $
|
|
416
|
+
let { typeSelectProps } = $f5a4a9a3486154da$export$e32c88dfddc6e1d8({
|
|
74
417
|
keyboardDelegate: delegate,
|
|
75
418
|
selectionManager: state.selectionManager,
|
|
76
419
|
onTypeSelect(key) {
|
|
@@ -78,7 +421,7 @@ function $58aed456727eb0f3$export$e64b2f635402ca43(props, state, ref) {
|
|
|
78
421
|
}
|
|
79
422
|
});
|
|
80
423
|
let { isInvalid, validationErrors, validationDetails } = state.displayValidation;
|
|
81
|
-
let { labelProps, fieldProps, descriptionProps, errorMessageProps } = $
|
|
424
|
+
let { labelProps, fieldProps, descriptionProps, errorMessageProps } = $191c9b6d48a0a4e2$export$294aa081a6c6f55d({
|
|
82
425
|
...props,
|
|
83
426
|
labelElementType: "span",
|
|
84
427
|
isInvalid,
|
|
@@ -87,10 +430,10 @@ function $58aed456727eb0f3$export$e64b2f635402ca43(props, state, ref) {
|
|
|
87
430
|
typeSelectProps.onKeyDown = typeSelectProps.onKeyDownCapture;
|
|
88
431
|
delete typeSelectProps.onKeyDownCapture;
|
|
89
432
|
if (state.selectionManager.selectionMode === "multiple") typeSelectProps = {};
|
|
90
|
-
let domProps = $
|
|
91
|
-
let triggerProps = $
|
|
92
|
-
let valueId = $
|
|
93
|
-
$
|
|
433
|
+
let domProps = $8e9d2fae0ecb9001$export$457c3d6518dd4c6f(props, { labelable: true });
|
|
434
|
+
let triggerProps = $bbaa08b3cd72f041$export$9d1611c77c2fe928(typeSelectProps, menuTriggerProps, fieldProps);
|
|
435
|
+
let valueId = $390e54f620492c70$export$f680877a34711e37();
|
|
436
|
+
$c0a45cd074520508$export$703601b7e90536f8.set(state, {
|
|
94
437
|
isDisabled,
|
|
95
438
|
isRequired,
|
|
96
439
|
name,
|
|
@@ -102,16 +445,15 @@ function $58aed456727eb0f3$export$e64b2f635402ca43(props, state, ref) {
|
|
|
102
445
|
...labelProps,
|
|
103
446
|
onClick: () => {
|
|
104
447
|
if (!props.isDisabled) {
|
|
105
|
-
|
|
106
|
-
(
|
|
107
|
-
$507fabe10e71c6fb$export$8397ddfc504fdb9a("keyboard");
|
|
448
|
+
ref.current?.focus();
|
|
449
|
+
$8f5a2122b0992be3$export$8397ddfc504fdb9a("keyboard");
|
|
108
450
|
}
|
|
109
451
|
}
|
|
110
452
|
},
|
|
111
|
-
triggerProps: $
|
|
453
|
+
triggerProps: $bbaa08b3cd72f041$export$9d1611c77c2fe928(domProps, {
|
|
112
454
|
...triggerProps,
|
|
113
455
|
isDisabled,
|
|
114
|
-
onKeyDown: $
|
|
456
|
+
onKeyDown: $a4e76a5424781910$export$e08e3b67e392101e(triggerProps.onKeyDown, onKeyDown, props.onKeyDown),
|
|
115
457
|
onKeyUp: props.onKeyUp,
|
|
116
458
|
"aria-labelledby": [
|
|
117
459
|
valueId,
|
|
@@ -140,7 +482,7 @@ function $58aed456727eb0f3$export$e64b2f635402ca43(props, state, ref) {
|
|
|
140
482
|
disallowEmptySelection: true,
|
|
141
483
|
linkBehavior: "selection",
|
|
142
484
|
onBlur: (e) => {
|
|
143
|
-
if ($
|
|
485
|
+
if ($23f2114a1b82827e$export$4282f70798064fe0(e.currentTarget, e.relatedTarget)) return;
|
|
144
486
|
if (props.onBlur) props.onBlur(e);
|
|
145
487
|
if (props.onFocusChange) props.onFocusChange(false);
|
|
146
488
|
state.setFocused(false);
|
|
@@ -163,31 +505,27 @@ function $58aed456727eb0f3$export$e64b2f635402ca43(props, state, ref) {
|
|
|
163
505
|
};
|
|
164
506
|
}
|
|
165
507
|
//#endregion
|
|
166
|
-
//#region node_modules
|
|
167
|
-
function $
|
|
168
|
-
let data = $
|
|
508
|
+
//#region node_modules/react-aria/dist/private/select/HiddenSelect.mjs
|
|
509
|
+
function $b046d185a4525d56$export$f809e80f58e251d1(props, state, triggerRef) {
|
|
510
|
+
let data = $c0a45cd074520508$export$703601b7e90536f8.get(state) || {};
|
|
169
511
|
let { autoComplete, name = data.name, form = data.form, isDisabled = data.isDisabled } = props;
|
|
170
512
|
let { validationBehavior, isRequired } = data;
|
|
171
|
-
let { visuallyHiddenProps } = $
|
|
513
|
+
let { visuallyHiddenProps } = $ea3928288112382f$export$a966af930f325cab({ style: {
|
|
172
514
|
position: "fixed",
|
|
173
515
|
top: 0,
|
|
174
516
|
left: 0
|
|
175
517
|
} });
|
|
176
|
-
$
|
|
177
|
-
$
|
|
518
|
+
$3274bf1495747a7b$export$5add1d006293d136(props.selectRef, state.defaultValue, state.setValue);
|
|
519
|
+
$860f7da480e22816$export$b8473d3665f3a75a({
|
|
178
520
|
validationBehavior,
|
|
179
|
-
focus: () =>
|
|
180
|
-
var _triggerRef_current;
|
|
181
|
-
return (_triggerRef_current = triggerRef.current) === null || _triggerRef_current === void 0 ? void 0 : _triggerRef_current.focus();
|
|
182
|
-
}
|
|
521
|
+
focus: () => triggerRef.current?.focus()
|
|
183
522
|
}, state, props.selectRef);
|
|
184
523
|
let setValue = state.setValue;
|
|
185
524
|
let onChange = useCallback((e) => {
|
|
186
|
-
let eventTarget = $
|
|
525
|
+
let eventTarget = $23f2114a1b82827e$export$e58f029f0fbfdb29(e);
|
|
187
526
|
if (eventTarget.multiple) setValue(Array.from(eventTarget.selectedOptions, (option) => option.value));
|
|
188
527
|
else setValue(e.currentTarget.value);
|
|
189
528
|
}, [setValue]);
|
|
190
|
-
var _state_value;
|
|
191
529
|
return {
|
|
192
530
|
containerProps: {
|
|
193
531
|
...visuallyHiddenProps,
|
|
@@ -204,17 +542,17 @@ function $bdd25dc72710631f$export$f809e80f58e251d1(props, state, triggerRef) {
|
|
|
204
542
|
required: validationBehavior === "native" && isRequired,
|
|
205
543
|
name,
|
|
206
544
|
form,
|
|
207
|
-
value:
|
|
545
|
+
value: state.value ?? "",
|
|
208
546
|
onChange,
|
|
209
547
|
onInput: onChange
|
|
210
548
|
}
|
|
211
549
|
};
|
|
212
550
|
}
|
|
213
|
-
function $
|
|
551
|
+
function $b046d185a4525d56$export$cbd84cdb2e668835(props) {
|
|
214
552
|
let { state, triggerRef, label, name, form, isDisabled } = props;
|
|
215
553
|
let selectRef = useRef(null);
|
|
216
554
|
let inputRef = useRef(null);
|
|
217
|
-
let { containerProps, selectProps } = $
|
|
555
|
+
let { containerProps, selectProps } = $b046d185a4525d56$export$f809e80f58e251d1({
|
|
218
556
|
...props,
|
|
219
557
|
selectRef: state.collection.size <= 300 ? selectRef : inputRef
|
|
220
558
|
}, state, triggerRef);
|
|
@@ -225,7 +563,10 @@ function $bdd25dc72710631f$export$cbd84cdb2e668835(props) {
|
|
|
225
563
|
}, React.createElement("label", null, label, React.createElement("select", {
|
|
226
564
|
...selectProps,
|
|
227
565
|
ref: selectRef
|
|
228
|
-
}, React.createElement("option",
|
|
566
|
+
}, React.createElement("option", {
|
|
567
|
+
value: "",
|
|
568
|
+
label: "\xA0"
|
|
569
|
+
}, "\xA0"), [...state.collection.getKeys()].map((key) => {
|
|
229
570
|
let item = state.collection.getItem(key);
|
|
230
571
|
if (item && item.type === "item") return React.createElement("option", {
|
|
231
572
|
key: item.key,
|
|
@@ -233,10 +574,10 @@ function $bdd25dc72710631f$export$cbd84cdb2e668835(props) {
|
|
|
233
574
|
}, item.textValue);
|
|
234
575
|
}), state.collection.size === 0 && name && values.map((value, i) => React.createElement("option", {
|
|
235
576
|
key: i,
|
|
236
|
-
value: value
|
|
577
|
+
value: value ?? ""
|
|
237
578
|
})))));
|
|
238
579
|
else if (name) {
|
|
239
|
-
let { validationBehavior } = $
|
|
580
|
+
let { validationBehavior } = $c0a45cd074520508$export$703601b7e90536f8.get(state) || {};
|
|
240
581
|
if (values.length === 0) values = [null];
|
|
241
582
|
let res = values.map((value, i) => {
|
|
242
583
|
let inputProps = {
|
|
@@ -245,7 +586,7 @@ function $bdd25dc72710631f$export$cbd84cdb2e668835(props) {
|
|
|
245
586
|
name,
|
|
246
587
|
form,
|
|
247
588
|
disabled: isDisabled,
|
|
248
|
-
value: value
|
|
589
|
+
value: value ?? ""
|
|
249
590
|
};
|
|
250
591
|
if (validationBehavior === "native") return React.createElement("input", {
|
|
251
592
|
key: i,
|
|
@@ -267,20 +608,19 @@ function $bdd25dc72710631f$export$cbd84cdb2e668835(props) {
|
|
|
267
608
|
return null;
|
|
268
609
|
}
|
|
269
610
|
//#endregion
|
|
270
|
-
//#region node_modules
|
|
271
|
-
function $
|
|
272
|
-
let { selectionMode = "single" } = props;
|
|
273
|
-
let triggerState = $
|
|
611
|
+
//#region node_modules/react-stately/dist/private/select/useSelectState.mjs
|
|
612
|
+
function $29256f53a2edafe9$export$5159ec8b34d4ec12(props) {
|
|
613
|
+
let { selectionMode = "single", shouldCloseOnSelect = selectionMode === "single" } = props;
|
|
614
|
+
let triggerState = $f11fb0bcf1b2687a$export$61c6a8c84e605fb6(props);
|
|
274
615
|
let [focusStrategy, setFocusStrategy] = useState(null);
|
|
275
616
|
let defaultValue = useMemo(() => {
|
|
276
|
-
|
|
277
|
-
return props.defaultValue !== void 0 ? props.defaultValue : selectionMode === "single" ? (_props_defaultSelectedKey = props.defaultSelectedKey) !== null && _props_defaultSelectedKey !== void 0 ? _props_defaultSelectedKey : null : [];
|
|
617
|
+
return props.defaultValue !== void 0 ? props.defaultValue : selectionMode === "single" ? props.defaultSelectedKey ?? null : [];
|
|
278
618
|
}, [
|
|
279
619
|
props.defaultValue,
|
|
280
620
|
props.defaultSelectedKey,
|
|
281
621
|
selectionMode
|
|
282
622
|
]);
|
|
283
|
-
let [controlledValue, setControlledValue] = $
|
|
623
|
+
let [controlledValue, setControlledValue] = $3e6197669829fe11$export$40bfa8c7b0832715(useMemo(() => {
|
|
284
624
|
return props.value !== void 0 ? props.value : selectionMode === "single" ? props.selectedKey : void 0;
|
|
285
625
|
}, [
|
|
286
626
|
props.value,
|
|
@@ -290,11 +630,9 @@ function $2bc3a590c5373a4e$export$5159ec8b34d4ec12(props) {
|
|
|
290
630
|
let displayValue = selectionMode === "single" && Array.isArray(controlledValue) ? controlledValue[0] : controlledValue;
|
|
291
631
|
let setValue = (value) => {
|
|
292
632
|
if (selectionMode === "single") {
|
|
293
|
-
|
|
294
|
-
var _value_;
|
|
295
|
-
let key = Array.isArray(value) ? (_value_ = value[0]) !== null && _value_ !== void 0 ? _value_ : null : value;
|
|
633
|
+
let key = Array.isArray(value) ? value[0] ?? null : value;
|
|
296
634
|
setControlledValue(key);
|
|
297
|
-
if (key !== displayValue)
|
|
635
|
+
if (key !== displayValue) props.onSelectionChange?.(key);
|
|
298
636
|
} else {
|
|
299
637
|
let keys = [];
|
|
300
638
|
if (Array.isArray(value)) keys = value;
|
|
@@ -302,19 +640,17 @@ function $2bc3a590c5373a4e$export$5159ec8b34d4ec12(props) {
|
|
|
302
640
|
setControlledValue(keys);
|
|
303
641
|
}
|
|
304
642
|
};
|
|
305
|
-
let listState = $
|
|
643
|
+
let listState = $b14b6f590b50af39$export$2f645645f7bca764({
|
|
306
644
|
...props,
|
|
307
645
|
selectionMode,
|
|
308
646
|
disallowEmptySelection: selectionMode === "single",
|
|
309
647
|
allowDuplicateSelectionEvents: true,
|
|
310
|
-
selectedKeys: useMemo(() => $
|
|
648
|
+
selectedKeys: useMemo(() => $29256f53a2edafe9$var$convertValue(displayValue), [displayValue]),
|
|
311
649
|
onSelectionChange: (keys) => {
|
|
312
650
|
if (keys === "all") return;
|
|
313
|
-
if (selectionMode === "single")
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
triggerState.close();
|
|
317
|
-
} else setValue([...keys]);
|
|
651
|
+
if (selectionMode === "single") setValue(keys.values().next().value ?? null);
|
|
652
|
+
else setValue([...keys]);
|
|
653
|
+
if (shouldCloseOnSelect) triggerState.close();
|
|
318
654
|
validationState.commitValidation();
|
|
319
655
|
}
|
|
320
656
|
});
|
|
@@ -322,25 +658,24 @@ function $2bc3a590c5373a4e$export$5159ec8b34d4ec12(props) {
|
|
|
322
658
|
let selectedItems = useMemo(() => {
|
|
323
659
|
return [...listState.selectionManager.selectedKeys].map((key) => listState.collection.getItem(key)).filter((item) => item != null);
|
|
324
660
|
}, [listState.selectionManager.selectedKeys, listState.collection]);
|
|
325
|
-
let validationState = $
|
|
661
|
+
let validationState = $fd2148440a13ec26$export$fc1a364ae1f3ff10({
|
|
326
662
|
...props,
|
|
327
663
|
value: Array.isArray(displayValue) && displayValue.length === 0 ? null : displayValue
|
|
328
664
|
});
|
|
329
665
|
let [isFocused, setFocused] = useState(false);
|
|
330
666
|
let [initialValue] = useState(displayValue);
|
|
331
|
-
var _selectedItems_, _props_defaultSelectedKey;
|
|
332
667
|
return {
|
|
333
668
|
...validationState,
|
|
334
669
|
...listState,
|
|
335
670
|
...triggerState,
|
|
336
671
|
value: displayValue,
|
|
337
|
-
defaultValue: defaultValue
|
|
672
|
+
defaultValue: defaultValue ?? initialValue,
|
|
338
673
|
setValue,
|
|
339
674
|
selectedKey,
|
|
340
675
|
setSelectedKey: setValue,
|
|
341
|
-
selectedItem:
|
|
676
|
+
selectedItem: selectedItems[0] ?? null,
|
|
342
677
|
selectedItems,
|
|
343
|
-
defaultSelectedKey:
|
|
678
|
+
defaultSelectedKey: props.defaultSelectedKey ?? (props.selectionMode === "single" ? initialValue : null),
|
|
344
679
|
focusStrategy,
|
|
345
680
|
open(focusStrategy = null) {
|
|
346
681
|
if (listState.collection.size !== 0 || props.allowsEmptyCollection) {
|
|
@@ -358,365 +693,20 @@ function $2bc3a590c5373a4e$export$5159ec8b34d4ec12(props) {
|
|
|
358
693
|
setFocused
|
|
359
694
|
};
|
|
360
695
|
}
|
|
361
|
-
function $
|
|
696
|
+
function $29256f53a2edafe9$var$convertValue(value) {
|
|
362
697
|
if (value === void 0) return void 0;
|
|
363
698
|
if (value === null) return [];
|
|
364
699
|
return Array.isArray(value) ? value : [value];
|
|
365
700
|
}
|
|
366
701
|
//#endregion
|
|
367
|
-
//#region node_modules/react-aria-components/dist/
|
|
368
|
-
var $e038a7e7a6d81989$exports = {};
|
|
369
|
-
$e038a7e7a6d81989$exports = {
|
|
370
|
-
"colorSwatchPicker": `\u{62A}\u{63A}\u{64A}\u{64A}\u{631}\u{627}\u{62A} \u{627}\u{644}\u{623}\u{644}\u{648}\u{627}\u{646}`,
|
|
371
|
-
"dropzoneLabel": `DropZone`,
|
|
372
|
-
"selectPlaceholder": `\u{62D}\u{62F}\u{62F} \u{639}\u{646}\u{635}\u{631}\u{64B}\u{627}`,
|
|
373
|
-
"tableResizer": `\u{623}\u{62F}\u{627}\u{629} \u{62A}\u{63A}\u{64A}\u{64A}\u{631} \u{627}\u{644}\u{62D}\u{62C}\u{645}`
|
|
374
|
-
};
|
|
375
|
-
//#endregion
|
|
376
|
-
//#region node_modules/react-aria-components/dist/bg-BG.mjs
|
|
377
|
-
var $0ec14741b0133644$exports = {};
|
|
378
|
-
$0ec14741b0133644$exports = {
|
|
379
|
-
"colorSwatchPicker": `\u{426}\u{432}\u{435}\u{442}\u{43E}\u{432}\u{438} \u{43C}\u{43E}\u{441}\u{442}\u{440}\u{438}`,
|
|
380
|
-
"dropzoneLabel": `DropZone`,
|
|
381
|
-
"selectPlaceholder": `\u{418}\u{437}\u{431}\u{435}\u{440}\u{435}\u{442}\u{435} \u{43F}\u{440}\u{435}\u{434}\u{43C}\u{435}\u{442}`,
|
|
382
|
-
"tableResizer": `\u{41F}\u{440}\u{435}\u{43E}\u{440}\u{430}\u{437}\u{43C}\u{435}\u{440}\u{438}\u{442}\u{435}\u{43B}`
|
|
383
|
-
};
|
|
384
|
-
//#endregion
|
|
385
|
-
//#region node_modules/react-aria-components/dist/cs-CZ.mjs
|
|
386
|
-
var $642f7badf2405784$exports = {};
|
|
387
|
-
$642f7badf2405784$exports = {
|
|
388
|
-
"colorSwatchPicker": `Vzorky barev`,
|
|
389
|
-
"dropzoneLabel": `M\xedsto pro p\u{159}eta\u{17E}en\xed`,
|
|
390
|
-
"selectPlaceholder": `Vyberte polo\u{17E}ku`,
|
|
391
|
-
"tableResizer": `Zm\u{11B}na velikosti`
|
|
392
|
-
};
|
|
393
|
-
//#endregion
|
|
394
|
-
//#region node_modules/react-aria-components/dist/da-DK.mjs
|
|
395
|
-
var $30cee8d2535734ec$exports = {};
|
|
396
|
-
$30cee8d2535734ec$exports = {
|
|
397
|
-
"colorSwatchPicker": `Farvepr\xf8ver`,
|
|
398
|
-
"dropzoneLabel": `DropZone`,
|
|
399
|
-
"selectPlaceholder": `V\xe6lg et element`,
|
|
400
|
-
"tableResizer": `St\xf8rrelses\xe6ndring`
|
|
401
|
-
};
|
|
402
|
-
//#endregion
|
|
403
|
-
//#region node_modules/react-aria-components/dist/de-DE.mjs
|
|
404
|
-
var $c302d0504fca332a$exports = {};
|
|
405
|
-
$c302d0504fca332a$exports = {
|
|
406
|
-
"colorSwatchPicker": `Farbfelder`,
|
|
407
|
-
"dropzoneLabel": `Ablegebereich`,
|
|
408
|
-
"selectPlaceholder": `Element w\xe4hlen`,
|
|
409
|
-
"tableResizer": `Gr\xf6\xdfenanpassung`
|
|
410
|
-
};
|
|
411
|
-
//#endregion
|
|
412
|
-
//#region node_modules/react-aria-components/dist/el-GR.mjs
|
|
413
|
-
var $0d0703f2bd7e421c$exports = {};
|
|
414
|
-
$0d0703f2bd7e421c$exports = {
|
|
415
|
-
"colorSwatchPicker": `\u{3A7}\u{3C1}\u{3C9}\u{3BC}\u{3B1}\u{3C4}\u{3B9}\u{3BA}\u{3AC} \u{3B4}\u{3B5}\u{3AF}\u{3B3}\u{3BC}\u{3B1}\u{3C4}\u{3B1}`,
|
|
416
|
-
"dropzoneLabel": `DropZone`,
|
|
417
|
-
"selectPlaceholder": `\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3BE}\u{3C4}\u{3B5} \u{3AD}\u{3BD}\u{3B1} \u{3B1}\u{3BD}\u{3C4}\u{3B9}\u{3BA}\u{3B5}\u{3AF}\u{3BC}\u{3B5}\u{3BD}\u{3BF}`,
|
|
418
|
-
"tableResizer": `\u{391}\u{3BB}\u{3BB}\u{3B1}\u{3B3}\u{3AE} \u{3BC}\u{3B5}\u{3B3}\u{3AD}\u{3B8}\u{3BF}\u{3C5}\u{3C2}`
|
|
419
|
-
};
|
|
420
|
-
//#endregion
|
|
421
|
-
//#region node_modules/react-aria-components/dist/en-US.mjs
|
|
422
|
-
var $cafa55beb2fc5ef3$exports = {};
|
|
423
|
-
$cafa55beb2fc5ef3$exports = {
|
|
424
|
-
"selectPlaceholder": `Select an item`,
|
|
425
|
-
"tableResizer": `Resizer`,
|
|
426
|
-
"dropzoneLabel": `DropZone`,
|
|
427
|
-
"colorSwatchPicker": `Color swatches`
|
|
428
|
-
};
|
|
429
|
-
//#endregion
|
|
430
|
-
//#region node_modules/react-aria-components/dist/es-ES.mjs
|
|
431
|
-
var $18ac2ceede598103$exports = {};
|
|
432
|
-
$18ac2ceede598103$exports = {
|
|
433
|
-
"colorSwatchPicker": `Muestras de colores`,
|
|
434
|
-
"dropzoneLabel": `DropZone`,
|
|
435
|
-
"selectPlaceholder": `Seleccionar un art\xedculo`,
|
|
436
|
-
"tableResizer": `Cambiador de tama\xf1o`
|
|
437
|
-
};
|
|
438
|
-
//#endregion
|
|
439
|
-
//#region node_modules/react-aria-components/dist/et-EE.mjs
|
|
440
|
-
var $718705a15b8a633a$exports = {};
|
|
441
|
-
$718705a15b8a633a$exports = {
|
|
442
|
-
"colorSwatchPicker": `V\xe4rvin\xe4idised`,
|
|
443
|
-
"dropzoneLabel": `DropZone`,
|
|
444
|
-
"selectPlaceholder": `Valige \xfcksus`,
|
|
445
|
-
"tableResizer": `Suuruse muutja`
|
|
446
|
-
};
|
|
447
|
-
//#endregion
|
|
448
|
-
//#region node_modules/react-aria-components/dist/fi-FI.mjs
|
|
449
|
-
var $bf36dae9ecc81ce0$exports = {};
|
|
450
|
-
$bf36dae9ecc81ce0$exports = {
|
|
451
|
-
"colorSwatchPicker": `V\xe4rimallit`,
|
|
452
|
-
"dropzoneLabel": `DropZone`,
|
|
453
|
-
"selectPlaceholder": `Valitse kohde`,
|
|
454
|
-
"tableResizer": `Koon muuttaja`
|
|
455
|
-
};
|
|
456
|
-
//#endregion
|
|
457
|
-
//#region node_modules/react-aria-components/dist/fr-FR.mjs
|
|
458
|
-
var $0b4828edb010b855$exports = {};
|
|
459
|
-
$0b4828edb010b855$exports = {
|
|
460
|
-
"colorSwatchPicker": `\xc9chantillons de couleurs`,
|
|
461
|
-
"dropzoneLabel": `DropZone`,
|
|
462
|
-
"selectPlaceholder": `S\xe9lectionner un \xe9l\xe9ment`,
|
|
463
|
-
"tableResizer": `Redimensionneur`
|
|
464
|
-
};
|
|
465
|
-
//#endregion
|
|
466
|
-
//#region node_modules/react-aria-components/dist/he-IL.mjs
|
|
467
|
-
var $0030f210b040e540$exports = {};
|
|
468
|
-
$0030f210b040e540$exports = {
|
|
469
|
-
"colorSwatchPicker": `\u{5D3}\u{5D5}\u{5D2}\u{5DE}\u{5D9}\u{5D5}\u{5EA} \u{5E6}\u{5D1}\u{5E2}`,
|
|
470
|
-
"dropzoneLabel": `DropZone`,
|
|
471
|
-
"selectPlaceholder": `\u{5D1}\u{5D7}\u{5E8} \u{5E4}\u{5E8}\u{5D9}\u{5D8}`,
|
|
472
|
-
"tableResizer": `\u{5E9}\u{5D9}\u{5E0}\u{5D5}\u{5D9} \u{5D2}\u{5D5}\u{5D3}\u{5DC}`
|
|
473
|
-
};
|
|
474
|
-
//#endregion
|
|
475
|
-
//#region node_modules/react-aria-components/dist/hr-HR.mjs
|
|
476
|
-
var $1f0ebacf5a0c0fa1$exports = {};
|
|
477
|
-
$1f0ebacf5a0c0fa1$exports = {
|
|
478
|
-
"colorSwatchPicker": `Uzorci boja`,
|
|
479
|
-
"dropzoneLabel": `Zona spu\u{161}tanja`,
|
|
480
|
-
"selectPlaceholder": `Odaberite stavku`,
|
|
481
|
-
"tableResizer": `Promjena veli\u{10D}ine`
|
|
482
|
-
};
|
|
483
|
-
//#endregion
|
|
484
|
-
//#region node_modules/react-aria-components/dist/hu-HU.mjs
|
|
485
|
-
var $3a706ba61f3d6bba$exports = {};
|
|
486
|
-
$3a706ba61f3d6bba$exports = {
|
|
487
|
-
"colorSwatchPicker": `Sz\xednt\xe1rak`,
|
|
488
|
-
"dropzoneLabel": `DropZone`,
|
|
489
|
-
"selectPlaceholder": `V\xe1lasszon ki egy elemet`,
|
|
490
|
-
"tableResizer": `\xc1tm\xe9retez\u{151}`
|
|
491
|
-
};
|
|
492
|
-
//#endregion
|
|
493
|
-
//#region node_modules/react-aria-components/dist/it-IT.mjs
|
|
494
|
-
var $0d17809e74607796$exports = {};
|
|
495
|
-
$0d17809e74607796$exports = {
|
|
496
|
-
"colorSwatchPicker": `Campioni di colore`,
|
|
497
|
-
"dropzoneLabel": `Zona di rilascio`,
|
|
498
|
-
"selectPlaceholder": `Seleziona un elemento`,
|
|
499
|
-
"tableResizer": `Ridimensionamento`
|
|
500
|
-
};
|
|
501
|
-
//#endregion
|
|
502
|
-
//#region node_modules/react-aria-components/dist/ja-JP.mjs
|
|
503
|
-
var $65a71f9a56f1398f$exports = {};
|
|
504
|
-
$65a71f9a56f1398f$exports = {
|
|
505
|
-
"colorSwatchPicker": `\u{30AB}\u{30E9}\u{30FC}\u{30B9}\u{30A6}\u{30A9}\u{30C3}\u{30C1}`,
|
|
506
|
-
"dropzoneLabel": `\u{30C9}\u{30ED}\u{30C3}\u{30D7}\u{30BE}\u{30FC}\u{30F3}`,
|
|
507
|
-
"selectPlaceholder": `\u{9805}\u{76EE}\u{3092}\u{9078}\u{629E}`,
|
|
508
|
-
"tableResizer": `\u{30B5}\u{30A4}\u{30BA}\u{5909}\u{66F4}\u{30C4}\u{30FC}\u{30EB}`
|
|
509
|
-
};
|
|
510
|
-
//#endregion
|
|
511
|
-
//#region node_modules/react-aria-components/dist/ko-KR.mjs
|
|
512
|
-
var $e5efad074a74abef$exports = {};
|
|
513
|
-
$e5efad074a74abef$exports = {
|
|
514
|
-
"colorSwatchPicker": `\u{C0C9}\u{C0C1} \u{ACAC}\u{BCF8}`,
|
|
515
|
-
"dropzoneLabel": `\u{B4DC}\u{B86D} \u{C601}\u{C5ED}`,
|
|
516
|
-
"selectPlaceholder": `\u{D56D}\u{BAA9} \u{C120}\u{D0DD}`,
|
|
517
|
-
"tableResizer": `\u{D06C}\u{AE30} \u{C870}\u{C815}\u{AE30}`
|
|
518
|
-
};
|
|
519
|
-
//#endregion
|
|
520
|
-
//#region node_modules/react-aria-components/dist/lt-LT.mjs
|
|
521
|
-
var $d70c2a849e55c607$exports = {};
|
|
522
|
-
$d70c2a849e55c607$exports = {
|
|
523
|
-
"colorSwatchPicker": `Spalv\u{173} pavyzd\u{17E}iai`,
|
|
524
|
-
"dropzoneLabel": `\u{201E}DropZone\u{201C}`,
|
|
525
|
-
"selectPlaceholder": `Pasirinkite element\u{105}`,
|
|
526
|
-
"tableResizer": `Dyd\u{17E}io keitiklis`
|
|
527
|
-
};
|
|
528
|
-
//#endregion
|
|
529
|
-
//#region node_modules/react-aria-components/dist/lv-LV.mjs
|
|
530
|
-
var $009bbbb440d0e907$exports = {};
|
|
531
|
-
$009bbbb440d0e907$exports = {
|
|
532
|
-
"colorSwatchPicker": `Kr\u{101}su paraugi`,
|
|
533
|
-
"dropzoneLabel": `DropZone`,
|
|
534
|
-
"selectPlaceholder": `Izv\u{113}l\u{113}ties vienumu`,
|
|
535
|
-
"tableResizer": `Izm\u{113}ra main\u{12B}t\u{101}js`
|
|
536
|
-
};
|
|
537
|
-
//#endregion
|
|
538
|
-
//#region node_modules/react-aria-components/dist/nb-NO.mjs
|
|
539
|
-
var $9366fe642464ee83$exports = {};
|
|
540
|
-
$9366fe642464ee83$exports = {
|
|
541
|
-
"colorSwatchPicker": `Fargekart`,
|
|
542
|
-
"dropzoneLabel": `Droppsone`,
|
|
543
|
-
"selectPlaceholder": `Velg et element`,
|
|
544
|
-
"tableResizer": `St\xf8rrelsesendrer`
|
|
545
|
-
};
|
|
546
|
-
//#endregion
|
|
547
|
-
//#region node_modules/react-aria-components/dist/nl-NL.mjs
|
|
548
|
-
var $62f9bc1f98ea21de$exports = {};
|
|
549
|
-
$62f9bc1f98ea21de$exports = {
|
|
550
|
-
"colorSwatchPicker": `kleurstalen`,
|
|
551
|
-
"dropzoneLabel": `DropZone`,
|
|
552
|
-
"selectPlaceholder": `Selecteer een item`,
|
|
553
|
-
"tableResizer": `Resizer`
|
|
554
|
-
};
|
|
555
|
-
//#endregion
|
|
556
|
-
//#region node_modules/react-aria-components/dist/pl-PL.mjs
|
|
557
|
-
var $4ec2e5b6623b1b76$exports = {};
|
|
558
|
-
$4ec2e5b6623b1b76$exports = {
|
|
559
|
-
"colorSwatchPicker": `Pr\xf3bki kolor\xf3w`,
|
|
560
|
-
"dropzoneLabel": `Strefa upuszczania`,
|
|
561
|
-
"selectPlaceholder": `Wybierz element`,
|
|
562
|
-
"tableResizer": `Zmiana rozmiaru`
|
|
563
|
-
};
|
|
564
|
-
//#endregion
|
|
565
|
-
//#region node_modules/react-aria-components/dist/pt-BR.mjs
|
|
566
|
-
var $e25098e26647cc04$exports = {};
|
|
567
|
-
$e25098e26647cc04$exports = {
|
|
568
|
-
"colorSwatchPicker": `Amostras de cores`,
|
|
569
|
-
"dropzoneLabel": `DropZone`,
|
|
570
|
-
"selectPlaceholder": `Selecione um item`,
|
|
571
|
-
"tableResizer": `Redimensionador`
|
|
572
|
-
};
|
|
573
|
-
//#endregion
|
|
574
|
-
//#region node_modules/react-aria-components/dist/pt-PT.mjs
|
|
575
|
-
var $dd39c57d242c8156$exports = {};
|
|
576
|
-
$dd39c57d242c8156$exports = {
|
|
577
|
-
"colorSwatchPicker": `Amostras de cores`,
|
|
578
|
-
"dropzoneLabel": `DropZone`,
|
|
579
|
-
"selectPlaceholder": `Selecione um item`,
|
|
580
|
-
"tableResizer": `Redimensionador`
|
|
581
|
-
};
|
|
582
|
-
//#endregion
|
|
583
|
-
//#region node_modules/react-aria-components/dist/ro-RO.mjs
|
|
584
|
-
var $3b4c1ba5afd57b35$exports = {};
|
|
585
|
-
$3b4c1ba5afd57b35$exports = {
|
|
586
|
-
"colorSwatchPicker": `Specimene de culoare`,
|
|
587
|
-
"dropzoneLabel": `Zon\u{103} de plasare`,
|
|
588
|
-
"selectPlaceholder": `Selecta\u{21B}i un element`,
|
|
589
|
-
"tableResizer": `Instrument de redimensionare`
|
|
590
|
-
};
|
|
591
|
-
//#endregion
|
|
592
|
-
//#region node_modules/react-aria-components/dist/ru-RU.mjs
|
|
593
|
-
var $a455b2cda79eb746$exports = {};
|
|
594
|
-
$a455b2cda79eb746$exports = {
|
|
595
|
-
"colorSwatchPicker": `\u{426}\u{432}\u{435}\u{442}\u{43E}\u{432}\u{44B}\u{435} \u{43E}\u{431}\u{440}\u{430}\u{437}\u{446}\u{44B}`,
|
|
596
|
-
"dropzoneLabel": `DropZone`,
|
|
597
|
-
"selectPlaceholder": `\u{412}\u{44B}\u{431}\u{435}\u{440}\u{438}\u{442}\u{435} \u{44D}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}`,
|
|
598
|
-
"tableResizer": `\u{421}\u{440}\u{435}\u{434}\u{441}\u{442}\u{432}\u{43E} \u{438}\u{437}\u{43C}\u{435}\u{43D}\u{435}\u{43D}\u{438}\u{44F} \u{440}\u{430}\u{437}\u{43C}\u{435}\u{440}\u{430}`
|
|
599
|
-
};
|
|
600
|
-
//#endregion
|
|
601
|
-
//#region node_modules/react-aria-components/dist/sk-SK.mjs
|
|
602
|
-
var $b983ca1383d5b960$exports = {};
|
|
603
|
-
$b983ca1383d5b960$exports = {
|
|
604
|
-
"colorSwatchPicker": `Vzorkovn\xedky farieb`,
|
|
605
|
-
"dropzoneLabel": `DropZone`,
|
|
606
|
-
"selectPlaceholder": `Vyberte polo\u{17E}ku`,
|
|
607
|
-
"tableResizer": `N\xe1stroj na zmenu ve\u{13E}kosti`
|
|
608
|
-
};
|
|
609
|
-
//#endregion
|
|
610
|
-
//#region node_modules/react-aria-components/dist/sl-SI.mjs
|
|
611
|
-
var $32a515ef673b0655$exports = {};
|
|
612
|
-
$32a515ef673b0655$exports = {
|
|
613
|
-
"colorSwatchPicker": `Barvne palete`,
|
|
614
|
-
"dropzoneLabel": `DropZone`,
|
|
615
|
-
"selectPlaceholder": `Izberite element`,
|
|
616
|
-
"tableResizer": `Spreminjanje velikosti`
|
|
617
|
-
};
|
|
618
|
-
//#endregion
|
|
619
|
-
//#region node_modules/react-aria-components/dist/sr-SP.mjs
|
|
620
|
-
var $89434176ab35446b$exports = {};
|
|
621
|
-
$89434176ab35446b$exports = {
|
|
622
|
-
"colorSwatchPicker": `Uzorci boje`,
|
|
623
|
-
"dropzoneLabel": `DropZone`,
|
|
624
|
-
"selectPlaceholder": `Izaberite stavku`,
|
|
625
|
-
"tableResizer": `Promena veli\u{10D}ine`
|
|
626
|
-
};
|
|
627
|
-
//#endregion
|
|
628
|
-
//#region node_modules/react-aria-components/dist/sv-SE.mjs
|
|
629
|
-
var $727da781aca847f9$exports = {};
|
|
630
|
-
$727da781aca847f9$exports = {
|
|
631
|
-
"colorSwatchPicker": `F\xe4rgrutor`,
|
|
632
|
-
"dropzoneLabel": `DropZone`,
|
|
633
|
-
"selectPlaceholder": `V\xe4lj en artikel`,
|
|
634
|
-
"tableResizer": `Storleks\xe4ndrare`
|
|
635
|
-
};
|
|
636
|
-
//#endregion
|
|
637
|
-
//#region node_modules/react-aria-components/dist/tr-TR.mjs
|
|
638
|
-
var $fcd2d84b9a2d489c$exports = {};
|
|
639
|
-
$fcd2d84b9a2d489c$exports = {
|
|
640
|
-
"colorSwatchPicker": `Renk \xf6rnekleri`,
|
|
641
|
-
"dropzoneLabel": `B\u{131}rakma B\xf6lgesi`,
|
|
642
|
-
"selectPlaceholder": `Bir \xf6\u{11F}e se\xe7in`,
|
|
643
|
-
"tableResizer": `Yeniden boyutland\u{131}r\u{131}c\u{131}`
|
|
644
|
-
};
|
|
645
|
-
//#endregion
|
|
646
|
-
//#region node_modules/react-aria-components/dist/uk-UA.mjs
|
|
647
|
-
var $2422ac328687ee23$exports = {};
|
|
648
|
-
$2422ac328687ee23$exports = {
|
|
649
|
-
"colorSwatchPicker": `\u{417}\u{440}\u{430}\u{437}\u{43A}\u{438} \u{43A}\u{43E}\u{43B}\u{44C}\u{43E}\u{440}\u{456}\u{432}`,
|
|
650
|
-
"dropzoneLabel": `DropZone`,
|
|
651
|
-
"selectPlaceholder": `\u{412}\u{438}\u{431}\u{435}\u{440}\u{456}\u{442}\u{44C} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}`,
|
|
652
|
-
"tableResizer": `\u{417}\u{430}\u{441}\u{456}\u{431} \u{437}\u{43C}\u{456}\u{43D}\u{435}\u{43D}\u{43D}\u{44F} \u{440}\u{43E}\u{437}\u{43C}\u{456}\u{440}\u{443}`
|
|
653
|
-
};
|
|
654
|
-
//#endregion
|
|
655
|
-
//#region node_modules/react-aria-components/dist/zh-CN.mjs
|
|
656
|
-
var $c9a532d1c973af61$exports = {};
|
|
657
|
-
$c9a532d1c973af61$exports = {
|
|
658
|
-
"colorSwatchPicker": `\u{989C}\u{8272}\u{8272}\u{677F}`,
|
|
659
|
-
"dropzoneLabel": `\u{653E}\u{7F6E}\u{533A}\u{57DF}`,
|
|
660
|
-
"selectPlaceholder": `\u{9009}\u{62E9}\u{4E00}\u{4E2A}\u{9879}\u{76EE}`,
|
|
661
|
-
"tableResizer": `\u{5C3A}\u{5BF8}\u{8C03}\u{6574}\u{5668}`
|
|
662
|
-
};
|
|
663
|
-
//#endregion
|
|
664
|
-
//#region node_modules/react-aria-components/dist/zh-TW.mjs
|
|
665
|
-
var $34de119f14549a4b$exports = {};
|
|
666
|
-
$34de119f14549a4b$exports = {
|
|
667
|
-
"colorSwatchPicker": `\u{8272}\u{7968}`,
|
|
668
|
-
"dropzoneLabel": `\u{653E}\u{7F6E}\u{5340}`,
|
|
669
|
-
"selectPlaceholder": `\u{9078}\u{53D6}\u{9805}\u{76EE}`,
|
|
670
|
-
"tableResizer": `\u{5927}\u{5C0F}\u{8ABF}\u{6574}\u{5668}`
|
|
671
|
-
};
|
|
672
|
-
//#endregion
|
|
673
|
-
//#region node_modules/react-aria-components/dist/intlStrings.mjs
|
|
674
|
-
var $df39c1238ae2b5f3$exports = {};
|
|
675
|
-
$df39c1238ae2b5f3$exports = {
|
|
676
|
-
"ar-AE": $e038a7e7a6d81989$exports,
|
|
677
|
-
"bg-BG": $0ec14741b0133644$exports,
|
|
678
|
-
"cs-CZ": $642f7badf2405784$exports,
|
|
679
|
-
"da-DK": $30cee8d2535734ec$exports,
|
|
680
|
-
"de-DE": $c302d0504fca332a$exports,
|
|
681
|
-
"el-GR": $0d0703f2bd7e421c$exports,
|
|
682
|
-
"en-US": $cafa55beb2fc5ef3$exports,
|
|
683
|
-
"es-ES": $18ac2ceede598103$exports,
|
|
684
|
-
"et-EE": $718705a15b8a633a$exports,
|
|
685
|
-
"fi-FI": $bf36dae9ecc81ce0$exports,
|
|
686
|
-
"fr-FR": $0b4828edb010b855$exports,
|
|
687
|
-
"he-IL": $0030f210b040e540$exports,
|
|
688
|
-
"hr-HR": $1f0ebacf5a0c0fa1$exports,
|
|
689
|
-
"hu-HU": $3a706ba61f3d6bba$exports,
|
|
690
|
-
"it-IT": $0d17809e74607796$exports,
|
|
691
|
-
"ja-JP": $65a71f9a56f1398f$exports,
|
|
692
|
-
"ko-KR": $e5efad074a74abef$exports,
|
|
693
|
-
"lt-LT": $d70c2a849e55c607$exports,
|
|
694
|
-
"lv-LV": $009bbbb440d0e907$exports,
|
|
695
|
-
"nb-NO": $9366fe642464ee83$exports,
|
|
696
|
-
"nl-NL": $62f9bc1f98ea21de$exports,
|
|
697
|
-
"pl-PL": $4ec2e5b6623b1b76$exports,
|
|
698
|
-
"pt-BR": $e25098e26647cc04$exports,
|
|
699
|
-
"pt-PT": $dd39c57d242c8156$exports,
|
|
700
|
-
"ro-RO": $3b4c1ba5afd57b35$exports,
|
|
701
|
-
"ru-RU": $a455b2cda79eb746$exports,
|
|
702
|
-
"sk-SK": $b983ca1383d5b960$exports,
|
|
703
|
-
"sl-SI": $32a515ef673b0655$exports,
|
|
704
|
-
"sr-SP": $89434176ab35446b$exports,
|
|
705
|
-
"sv-SE": $727da781aca847f9$exports,
|
|
706
|
-
"tr-TR": $fcd2d84b9a2d489c$exports,
|
|
707
|
-
"uk-UA": $2422ac328687ee23$exports,
|
|
708
|
-
"zh-CN": $c9a532d1c973af61$exports,
|
|
709
|
-
"zh-TW": $34de119f14549a4b$exports
|
|
710
|
-
};
|
|
711
|
-
//#endregion
|
|
712
|
-
//#region node_modules/react-aria-components/dist/Select.mjs
|
|
702
|
+
//#region node_modules/react-aria-components/dist/private/Select.mjs
|
|
713
703
|
function $parcel$interopDefault(a) {
|
|
714
704
|
return a && a.__esModule ? a.default : a;
|
|
715
705
|
}
|
|
716
|
-
var $
|
|
717
|
-
var $
|
|
718
|
-
var $
|
|
719
|
-
[props, ref] = $
|
|
706
|
+
var $c8bb816105474884$export$7540cee5be7dc19b = createContext(null);
|
|
707
|
+
var $c8bb816105474884$export$ef445b55be0601bd = createContext(null);
|
|
708
|
+
var $c8bb816105474884$export$ef9b1a59e592288f = forwardRef(function Select(props, ref) {
|
|
709
|
+
[props, ref] = $7230ffa83bc0c2cf$export$29f1550f4b0d4415(props, ref, $c8bb816105474884$export$7540cee5be7dc19b);
|
|
720
710
|
let { children, isDisabled = false, isInvalid = false, isRequired = false } = props;
|
|
721
711
|
let content = useMemo(() => typeof children === "function" ? children({
|
|
722
712
|
isOpen: false,
|
|
@@ -732,37 +722,36 @@ var $82d7e5349645de74$export$ef9b1a59e592288f = forwardRef(function Select(props
|
|
|
732
722
|
isInvalid,
|
|
733
723
|
isRequired
|
|
734
724
|
]);
|
|
735
|
-
return React.createElement($
|
|
725
|
+
return React.createElement($42ceafc619f9c3ba$export$bf788dd355e3a401, { content }, (collection) => React.createElement($c8bb816105474884$var$SelectInner, {
|
|
736
726
|
props,
|
|
737
727
|
collection,
|
|
738
728
|
selectRef: ref
|
|
739
729
|
}));
|
|
740
730
|
});
|
|
741
|
-
var $
|
|
742
|
-
$
|
|
743
|
-
$
|
|
744
|
-
$
|
|
731
|
+
var $c8bb816105474884$var$CLEAR_CONTEXTS = [
|
|
732
|
+
$43a3b93638fe5db9$export$75b6ee27786ba447,
|
|
733
|
+
$7705c033048f6da7$export$24d547caef80ccd1,
|
|
734
|
+
$efe09c6d1c304b50$export$9afb8bc826b033ea
|
|
745
735
|
];
|
|
746
|
-
function $
|
|
747
|
-
let { validationBehavior: formValidationBehavior } = $
|
|
748
|
-
|
|
749
|
-
let
|
|
750
|
-
let state = $2bc3a590c5373a4e$export$5159ec8b34d4ec12({
|
|
736
|
+
function $c8bb816105474884$var$SelectInner({ props, selectRef: ref, collection }) {
|
|
737
|
+
let { validationBehavior: formValidationBehavior } = $7230ffa83bc0c2cf$export$fabf2dc03a41866e($cdaed739b1139372$export$c24727297075ec6a) || {};
|
|
738
|
+
let validationBehavior = props.validationBehavior ?? formValidationBehavior ?? "native";
|
|
739
|
+
let state = $29256f53a2edafe9$export$5159ec8b34d4ec12({
|
|
751
740
|
...props,
|
|
752
741
|
collection,
|
|
753
742
|
children: void 0,
|
|
754
743
|
validationBehavior
|
|
755
744
|
});
|
|
756
|
-
let { isFocusVisible, focusProps } = $
|
|
745
|
+
let { isFocusVisible, focusProps } = $0c4a58759813079a$export$4e328f61c538687f({ within: true });
|
|
757
746
|
let buttonRef = useRef(null);
|
|
758
|
-
let [labelRef, label] = $
|
|
759
|
-
let { labelProps, triggerProps, valueProps, menuProps, descriptionProps, errorMessageProps, hiddenSelectProps, ...validation } = $
|
|
760
|
-
...$
|
|
747
|
+
let [labelRef, label] = $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8(!props["aria-label"] && !props["aria-labelledby"]);
|
|
748
|
+
let { labelProps, triggerProps, valueProps, menuProps, descriptionProps, errorMessageProps, hiddenSelectProps, ...validation } = $c0a45cd074520508$export$e64b2f635402ca43({
|
|
749
|
+
...$7230ffa83bc0c2cf$export$ef03459518577ad4(props),
|
|
761
750
|
label,
|
|
762
751
|
validationBehavior
|
|
763
752
|
}, state, buttonRef);
|
|
764
753
|
let [buttonWidth, setButtonWidth] = useState(null);
|
|
765
|
-
$
|
|
754
|
+
$970072cf4b13fde3$export$683480f191c0e3ea({
|
|
766
755
|
ref: buttonRef,
|
|
767
756
|
onResize: useCallback(() => {
|
|
768
757
|
if (buttonRef.current) setButtonWidth(buttonRef.current.offsetWidth + "px");
|
|
@@ -783,51 +772,51 @@ function $82d7e5349645de74$var$SelectInner({ props, selectRef: ref, collection }
|
|
|
783
772
|
validation.isInvalid,
|
|
784
773
|
props.isRequired
|
|
785
774
|
]);
|
|
786
|
-
let renderProps = $
|
|
775
|
+
let renderProps = $7230ffa83bc0c2cf$export$4d86445c2cf5e3({
|
|
787
776
|
...props,
|
|
788
777
|
values: renderPropsState,
|
|
789
778
|
defaultClassName: "react-aria-Select"
|
|
790
779
|
});
|
|
791
|
-
let DOMProps = $
|
|
780
|
+
let DOMProps = $8e9d2fae0ecb9001$export$457c3d6518dd4c6f(props, { global: true });
|
|
792
781
|
delete DOMProps.id;
|
|
793
782
|
let scrollRef = useRef(null);
|
|
794
|
-
return React.createElement($
|
|
795
|
-
[$
|
|
796
|
-
[$
|
|
797
|
-
[$
|
|
798
|
-
[$
|
|
783
|
+
return React.createElement($7230ffa83bc0c2cf$export$2881499e37b75b9a, { values: [
|
|
784
|
+
[$c8bb816105474884$export$7540cee5be7dc19b, props],
|
|
785
|
+
[$c8bb816105474884$export$ef445b55be0601bd, state],
|
|
786
|
+
[$c8bb816105474884$export$f8f745c04421623f, valueProps],
|
|
787
|
+
[$43a3b93638fe5db9$export$75b6ee27786ba447, {
|
|
799
788
|
...labelProps,
|
|
800
789
|
ref: labelRef,
|
|
801
790
|
elementType: "span"
|
|
802
791
|
}],
|
|
803
|
-
[$
|
|
792
|
+
[$7705c033048f6da7$export$24d547caef80ccd1, {
|
|
804
793
|
...triggerProps,
|
|
805
794
|
ref: buttonRef,
|
|
806
795
|
isPressed: state.isOpen,
|
|
807
796
|
autoFocus: props.autoFocus
|
|
808
797
|
}],
|
|
809
|
-
[$
|
|
810
|
-
[$
|
|
798
|
+
[$f2ff30fde7b014be$export$d2f961adcb0afbe, state],
|
|
799
|
+
[$542a13ca2fa5b484$export$9b9a0cd73afb7ca4, {
|
|
811
800
|
trigger: "Select",
|
|
812
801
|
triggerRef: buttonRef,
|
|
813
802
|
scrollRef,
|
|
814
803
|
placement: "bottom start",
|
|
815
804
|
style: { "--trigger-width": buttonWidth },
|
|
816
805
|
"aria-labelledby": menuProps["aria-labelledby"],
|
|
817
|
-
clearContexts: $
|
|
806
|
+
clearContexts: $c8bb816105474884$var$CLEAR_CONTEXTS
|
|
818
807
|
}],
|
|
819
|
-
[$
|
|
808
|
+
[$928221da08ecbc62$export$7ff8f37d2d81a48d, {
|
|
820
809
|
...menuProps,
|
|
821
810
|
ref: scrollRef
|
|
822
811
|
}],
|
|
823
|
-
[$
|
|
824
|
-
[$
|
|
812
|
+
[$928221da08ecbc62$export$7c5906fe4f1f2af2, state],
|
|
813
|
+
[$efe09c6d1c304b50$export$9afb8bc826b033ea, { slots: {
|
|
825
814
|
description: descriptionProps,
|
|
826
815
|
errorMessage: errorMessageProps
|
|
827
816
|
} }],
|
|
828
|
-
[$
|
|
829
|
-
] }, React.createElement($
|
|
830
|
-
...$
|
|
817
|
+
[$1f3c3b1a70cec653$export$ff05c3ac10437e03, validation]
|
|
818
|
+
] }, React.createElement($7230ffa83bc0c2cf$export$df3a06d6289f983e.div, {
|
|
819
|
+
...$bbaa08b3cd72f041$export$9d1611c77c2fe928(DOMProps, renderProps, focusProps),
|
|
831
820
|
ref,
|
|
832
821
|
slot: props.slot || void 0,
|
|
833
822
|
"data-focused": state.isFocused || void 0,
|
|
@@ -836,20 +825,18 @@ function $82d7e5349645de74$var$SelectInner({ props, selectRef: ref, collection }
|
|
|
836
825
|
"data-disabled": props.isDisabled || void 0,
|
|
837
826
|
"data-invalid": validation.isInvalid || void 0,
|
|
838
827
|
"data-required": props.isRequired || void 0
|
|
839
|
-
}, renderProps.children, React.createElement($
|
|
828
|
+
}, renderProps.children, React.createElement($b046d185a4525d56$export$cbd84cdb2e668835, {
|
|
840
829
|
...hiddenSelectProps,
|
|
841
830
|
autoComplete: props.autoComplete
|
|
842
831
|
})));
|
|
843
832
|
}
|
|
844
|
-
var $
|
|
845
|
-
var $
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
let
|
|
849
|
-
let { placeholder } = $64fa3d84918910a7$export$fabf2dc03a41866e($82d7e5349645de74$export$7540cee5be7dc19b);
|
|
833
|
+
var $c8bb816105474884$export$f8f745c04421623f = createContext(null);
|
|
834
|
+
var $c8bb816105474884$export$e288731fd71264f0 = $d7f64c32b702fe2c$export$86427a43e3e48ebb(function SelectValue(props, ref) {
|
|
835
|
+
[props, ref] = $7230ffa83bc0c2cf$export$29f1550f4b0d4415(props, ref, $c8bb816105474884$export$f8f745c04421623f);
|
|
836
|
+
let state = useContext($c8bb816105474884$export$ef445b55be0601bd);
|
|
837
|
+
let { placeholder } = $7230ffa83bc0c2cf$export$fabf2dc03a41866e($c8bb816105474884$export$7540cee5be7dc19b);
|
|
850
838
|
let rendered = state.selectedItems.map((item) => {
|
|
851
|
-
|
|
852
|
-
let rendered = (_item_props = item.props) === null || _item_props === void 0 ? void 0 : _item_props.children;
|
|
839
|
+
let rendered = item.props?.children;
|
|
853
840
|
if (typeof rendered === "function") rendered = rendered({
|
|
854
841
|
isHovered: false,
|
|
855
842
|
isPressed: false,
|
|
@@ -862,13 +849,10 @@ var $82d7e5349645de74$export$e288731fd71264f0 = $f39a9eba43920ace$export$86427a4
|
|
|
862
849
|
});
|
|
863
850
|
return rendered;
|
|
864
851
|
});
|
|
865
|
-
let formatter = $
|
|
866
|
-
let textValue = useMemo(() => state.selectedItems.map((item) => item
|
|
852
|
+
let formatter = $b4eb6eb8d15fb21e$export$a2f47a3d2973640();
|
|
853
|
+
let textValue = useMemo(() => state.selectedItems.map((item) => item?.textValue), [state.selectedItems]);
|
|
867
854
|
let selectionMode = state.selectionManager.selectionMode;
|
|
868
|
-
let selectedText = useMemo(() =>
|
|
869
|
-
var _textValue_;
|
|
870
|
-
return selectionMode === "single" ? (_textValue_ = textValue[0]) !== null && _textValue_ !== void 0 ? _textValue_ : "" : formatter.format(textValue);
|
|
871
|
-
}, [
|
|
855
|
+
let selectedText = useMemo(() => selectionMode === "single" ? textValue[0] ?? "" : formatter.format(textValue), [
|
|
872
856
|
selectionMode,
|
|
873
857
|
formatter,
|
|
874
858
|
textValue
|
|
@@ -888,34 +872,30 @@ var $82d7e5349645de74$export$e288731fd71264f0 = $f39a9eba43920ace$export$86427a4
|
|
|
888
872
|
textValue,
|
|
889
873
|
rendered
|
|
890
874
|
]);
|
|
891
|
-
let stringFormatter = $
|
|
892
|
-
|
|
893
|
-
let renderProps = $64fa3d84918910a7$export$4d86445c2cf5e3({
|
|
875
|
+
let stringFormatter = $cf2482eff2eeeec2$export$f12b703ca79dfbb1($parcel$interopDefault($aa5f63badbfee5df$exports), "react-aria-components");
|
|
876
|
+
let renderProps = $7230ffa83bc0c2cf$export$4d86445c2cf5e3({
|
|
894
877
|
...props,
|
|
895
|
-
defaultChildren:
|
|
878
|
+
defaultChildren: defaultChildren ?? placeholder ?? stringFormatter.format("selectPlaceholder"),
|
|
896
879
|
defaultClassName: "react-aria-SelectValue",
|
|
897
880
|
values: {
|
|
898
|
-
selectedItem:
|
|
899
|
-
selectedItems: useMemo(() => state.selectedItems.map((item) =>
|
|
900
|
-
var _item_value;
|
|
901
|
-
return (_item_value = item.value) !== null && _item_value !== void 0 ? _item_value : null;
|
|
902
|
-
}), [state.selectedItems]),
|
|
881
|
+
selectedItem: state.selectedItems[0]?.value ?? null,
|
|
882
|
+
selectedItems: useMemo(() => state.selectedItems.map((item) => item.value ?? null), [state.selectedItems]),
|
|
903
883
|
selectedText,
|
|
904
884
|
isPlaceholder: state.selectedItems.length === 0,
|
|
905
885
|
state
|
|
906
886
|
}
|
|
907
887
|
});
|
|
908
|
-
let DOMProps = $
|
|
909
|
-
return React.createElement($
|
|
888
|
+
let DOMProps = $8e9d2fae0ecb9001$export$457c3d6518dd4c6f(props, { global: true });
|
|
889
|
+
return React.createElement($7230ffa83bc0c2cf$export$df3a06d6289f983e.span, {
|
|
910
890
|
ref,
|
|
911
891
|
...DOMProps,
|
|
912
892
|
...renderProps,
|
|
913
893
|
"data-placeholder": state.selectedItems.length === 0 || void 0
|
|
914
|
-
}, React.createElement($
|
|
894
|
+
}, React.createElement($efe09c6d1c304b50$export$9afb8bc826b033ea.Provider, { value: void 0 }, renderProps.children));
|
|
915
895
|
});
|
|
916
896
|
//#endregion
|
|
917
897
|
//#region lib/components/select/shared.jsx
|
|
918
|
-
var OptionItemBase = (props) => jsx($
|
|
898
|
+
var OptionItemBase = (props) => jsx($928221da08ecbc62$export$a11e76429ed99b4, {
|
|
919
899
|
...props,
|
|
920
900
|
textValue: props?.value?.label,
|
|
921
901
|
className: ({ isSelected }) => clsx("es:select-none", "es:min-h-11", "es:scroll-m-2 es:scroll-p-2", "es:flex es:items-center-safe es:gap-2", "es:transition-plus es:ease-out es:duration-400", "es:px-3 es:py-1.75", "es:not-has-any-icon:pl-3.5", isSelected && [
|
|
@@ -995,9 +975,9 @@ var moveArrayItem = (array, itemToMove, targetItem, position = "before") => {
|
|
|
995
975
|
return result;
|
|
996
976
|
};
|
|
997
977
|
var SelectClearButton = ({ multi = false }) => {
|
|
998
|
-
const state = useContext($
|
|
978
|
+
const state = useContext($c8bb816105474884$export$ef445b55be0601bd);
|
|
999
979
|
const isEmpty = multi ? state?.value === null || state?.value?.length === 0 : state?.value === null;
|
|
1000
|
-
return jsx($
|
|
980
|
+
return jsx($7705c033048f6da7$export$353f5b6fc5456de1, {
|
|
1001
981
|
"aria-label": __("Clear value", "eightshift-ui-components"),
|
|
1002
982
|
className: clsx("es:flex es:items-center es:justify-center", "es:rounded-md es:hover:rounded-lg es:pressed:rounded-xl", "es:text-secondary-600 es:hover:bg-red-700/4 es:hover:text-red-700 es:disabled:text-secondary-300", "es:h-7 es:px-1", "es:any-focus:outline-hidden es:focus-visible:ring-2 es:focus-visible:ring-accent-500/50", "es:transition-plus", isEmpty ? "es:hidden" : "es:flex"),
|
|
1003
983
|
onPress: () => state?.setValue(null),
|
|
@@ -1035,4 +1015,4 @@ var getGroupedOptions = (filteredOptions, groupKey, groupValueMapping) => {
|
|
|
1035
1015
|
});
|
|
1036
1016
|
};
|
|
1037
1017
|
//#endregion
|
|
1038
|
-
export { moveArrayItem as a, getValue as i, SelectClearButton as n, $
|
|
1018
|
+
export { moveArrayItem as a, getValue as i, SelectClearButton as n, $c8bb816105474884$export$e288731fd71264f0 as o, getGroupedOptions as r, $c8bb816105474884$export$ef9b1a59e592288f as s, OptionItemBase as t };
|