@react-spectrum/autocomplete 3.0.0-alpha.24 → 3.0.0-alpha.25

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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/dist/import.mjs +0 -1281
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-spectrum/autocomplete",
3
- "version": "3.0.0-alpha.24",
3
+ "version": "3.0.0-alpha.25",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/main.js",
@@ -49,7 +49,7 @@
49
49
  "@react-spectrum/button": "^3.15.0",
50
50
  "@react-spectrum/form": "^3.7.0",
51
51
  "@react-spectrum/label": "^3.16.0",
52
- "@react-spectrum/listbox": "^3.12.2",
52
+ "@react-spectrum/listbox": "^3.12.3",
53
53
  "@react-spectrum/overlays": "^5.5.2",
54
54
  "@react-spectrum/progress": "^3.7.2",
55
55
  "@react-spectrum/textfield": "^3.11.0",
@@ -73,5 +73,5 @@
73
73
  "publishConfig": {
74
74
  "access": "public"
75
75
  },
76
- "gitHead": "9ce2f674eab2cc8912800d3162dcf00a1ce94274"
76
+ "gitHead": "4a7ee6fc93e00a34d4cdad26d48439f8dabee88b"
77
77
  }
package/dist/import.mjs DELETED
@@ -1,1281 +0,0 @@
1
- import "./main.css";
2
- import {Item as $dc667e3abdbeb6b2$re_export$Item, Section as $dc667e3abdbeb6b2$re_export$Section} from "@react-stately/collections";
3
- import {useIsMobileDevice as $aQREU$useIsMobileDevice, useUnwrapDOMRef as $aQREU$useUnwrapDOMRef, useFocusableRef as $aQREU$useFocusableRef, useResizeObserver as $aQREU$useResizeObserver, classNames as $aQREU$classNames} from "@react-spectrum/utils";
4
- import {ClearButton as $aQREU$ClearButton} from "@react-spectrum/button";
5
- import {Field as $aQREU$Field} from "@react-spectrum/label";
6
- import {useLayoutEffect as $aQREU$useLayoutEffect, filterDOMProps as $aQREU$filterDOMProps, useFormReset as $aQREU$useFormReset, mergeProps as $aQREU$mergeProps, useId as $aQREU$useId} from "@react-aria/utils";
7
- import {FocusRing as $aQREU$FocusRing, useFocusRing as $aQREU$useFocusRing, focusSafely as $aQREU$focusSafely, FocusScope as $aQREU$FocusScope} from "@react-aria/focus";
8
- import {useListBoxLayout as $aQREU$useListBoxLayout, ListBoxBase as $aQREU$ListBoxBase} from "@react-spectrum/listbox";
9
- import $aQREU$spectrumiconsuiMagnifier from "@spectrum-icons/ui/Magnifier";
10
- import {Popover as $aQREU$Popover, Tray as $aQREU$Tray} from "@react-spectrum/overlays";
11
- import {ProgressCircle as $aQREU$ProgressCircle} from "@react-spectrum/progress";
12
- import $aQREU$react, {useRef as $aQREU$useRef, useCallback as $aQREU$useCallback, useState as $aQREU$useState, useEffect as $aQREU$useEffect, forwardRef as $aQREU$forwardRef} from "react";
13
- import {TextFieldBase as $aQREU$TextFieldBase} from "@react-spectrum/textfield";
14
- import {useComboBoxState as $aQREU$useComboBoxState} from "@react-stately/combobox";
15
- import {useLocalizedStringFormatter as $aQREU$useLocalizedStringFormatter, useFilter as $aQREU$useFilter} from "@react-aria/i18n";
16
- import {useFormProps as $aQREU$useFormProps} from "@react-spectrum/form";
17
- import {useHover as $aQREU$useHover, setInteractionModality as $aQREU$setInteractionModality} from "@react-aria/interactions";
18
- import {useProviderProps as $aQREU$useProviderProps, useProvider as $aQREU$useProvider} from "@react-spectrum/provider";
19
- import {useSearchAutocomplete as $aQREU$useSearchAutocomplete} from "@react-aria/autocomplete";
20
- import $aQREU$spectrumiconsuiAlertMedium from "@spectrum-icons/ui/AlertMedium";
21
- import $aQREU$spectrumiconsuiCheckmarkMedium from "@spectrum-icons/ui/CheckmarkMedium";
22
- import {useOverlayTrigger as $aQREU$useOverlayTrigger, DismissButton as $aQREU$DismissButton} from "@react-aria/overlays";
23
- import {useButton as $aQREU$useButton} from "@react-aria/button";
24
- import {useDialog as $aQREU$useDialog} from "@react-aria/dialog";
25
- import {useField as $aQREU$useField} from "@react-aria/label";
26
- import {useFormValidation as $aQREU$useFormValidation} from "@react-aria/form";
27
-
28
-
29
- function $parcel$interopDefault(a) {
30
- return a && a.__esModule ? a.default : a;
31
- }
32
-
33
- function $parcel$export(e, n, v, s) {
34
- Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
35
- }
36
- /*
37
- * Copyright 2021 Adobe. All rights reserved.
38
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
39
- * you may not use this file except in compliance with the License. You may obtain a copy
40
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
41
- *
42
- * Unless required by applicable law or agreed to in writing, software distributed under
43
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
44
- * OF ANY KIND, either express or implied. See the License for the specific language
45
- * governing permissions and limitations under the License.
46
- */ /// <reference types="css-module-types" />
47
- /*
48
- * Copyright 2020 Adobe. All rights reserved.
49
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
50
- * you may not use this file except in compliance with the License. You may obtain a copy
51
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
52
- *
53
- * Unless required by applicable law or agreed to in writing, software distributed under
54
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
55
- * OF ANY KIND, either express or implied. See the License for the specific language
56
- * governing permissions and limitations under the License.
57
- */
58
-
59
-
60
-
61
-
62
- var $67773d1975e0a845$exports = {};
63
- var $024cf3aa492e9082$exports = {};
64
- $024cf3aa492e9082$exports = {
65
- "clear": `\u{645}\u{633}\u{62D}`,
66
- "invalid": `(\u{63A}\u{64A}\u{631} \u{635}\u{627}\u{644}\u{62D})`,
67
- "loading": `\u{62C}\u{627}\u{631}\u{64D} \u{627}\u{644}\u{62A}\u{62D}\u{645}\u{64A}\u{644}...`,
68
- "noResults": `\u{644}\u{627} \u{62A}\u{648}\u{62C}\u{62F} \u{646}\u{62A}\u{627}\u{626}\u{62C}`
69
- };
70
-
71
-
72
- var $b1478ef78bbb453c$exports = {};
73
- $b1478ef78bbb453c$exports = {
74
- "clear": `\u{418}\u{437}\u{447}\u{438}\u{441}\u{442}\u{438}`,
75
- "invalid": `(\u{43D}\u{435}\u{432}\u{430}\u{43B}\u{438}\u{434}\u{435}\u{43D})`,
76
- "loading": `\u{417}\u{430}\u{440}\u{435}\u{436}\u{434}\u{430}\u{43D}\u{435}...`,
77
- "noResults": `\u{41D}\u{44F}\u{43C}\u{430} \u{440}\u{435}\u{437}\u{443}\u{43B}\u{442}\u{430}\u{442}\u{438}`
78
- };
79
-
80
-
81
- var $a460b76408fa2c12$exports = {};
82
- $a460b76408fa2c12$exports = {
83
- "clear": `Vymazat`,
84
- "invalid": `(neplatn\xe9)`,
85
- "loading": `Na\u{10D}\xedt\xe1n\xed...`,
86
- "noResults": `\u{17D}\xe1dn\xe9 v\xfdsledky`
87
- };
88
-
89
-
90
- var $e9e48f3945b54c4e$exports = {};
91
- $e9e48f3945b54c4e$exports = {
92
- "clear": `Ryd`,
93
- "invalid": `(ugyldig)`,
94
- "loading": `Indl\xe6ser...`,
95
- "noResults": `Ingen resultater`
96
- };
97
-
98
-
99
- var $51a37bbbb04b8d4b$exports = {};
100
- $51a37bbbb04b8d4b$exports = {
101
- "clear": `L\xf6schen`,
102
- "invalid": `(ung\xfcltig)`,
103
- "loading": `Wird geladen...`,
104
- "noResults": `Keine Ergebnisse`
105
- };
106
-
107
-
108
- var $a9652db54e8c657c$exports = {};
109
- $a9652db54e8c657c$exports = {
110
- "clear": `\u{39A}\u{3B1}\u{3B8}\u{3B1}\u{3C1}\u{3B9}\u{3C3}\u{3BC}\u{3CC}\u{3C2}`,
111
- "invalid": `(\u{3B4}\u{3B5}\u{3BD} \u{3B9}\u{3C3}\u{3C7}\u{3CD}\u{3B5}\u{3B9})`,
112
- "loading": `\u{3A6}\u{3CC}\u{3C1}\u{3C4}\u{3C9}\u{3C3}\u{3B7}...`,
113
- "noResults": `\u{3A7}\u{3C9}\u{3C1}\u{3AF}\u{3C2} \u{3B1}\u{3C0}\u{3BF}\u{3C4}\u{3AD}\u{3BB}\u{3B5}\u{3C3}\u{3BC}\u{3B1}`
114
- };
115
-
116
-
117
- var $9d3fddee794c9b57$exports = {};
118
- $9d3fddee794c9b57$exports = {
119
- "loading": `Loading...`,
120
- "noResults": `No results`,
121
- "clear": `Clear`,
122
- "invalid": `(invalid)`
123
- };
124
-
125
-
126
- var $d19a882e0e4cfd8a$exports = {};
127
- $d19a882e0e4cfd8a$exports = {
128
- "clear": `Borrar`,
129
- "invalid": `(no v\xe1lido)`,
130
- "loading": `Cargando...`,
131
- "noResults": `Sin resultados`
132
- };
133
-
134
-
135
- var $f163759b67478eb6$exports = {};
136
- $f163759b67478eb6$exports = {
137
- "clear": `Kustuta`,
138
- "invalid": `(kehtetu)`,
139
- "loading": `Laadimine...`,
140
- "noResults": `Tulemusi pole`
141
- };
142
-
143
-
144
- var $b156937eefa4b1b2$exports = {};
145
- $b156937eefa4b1b2$exports = {
146
- "clear": `Kirkas`,
147
- "invalid": `(ep\xe4kelpo)`,
148
- "loading": `Ladataan...`,
149
- "noResults": `Ei tuloksia`
150
- };
151
-
152
-
153
- var $21aacec2a5f4c61f$exports = {};
154
- $21aacec2a5f4c61f$exports = {
155
- "clear": `Effacer`,
156
- "invalid": `(non valide)`,
157
- "loading": `Chargement en cours\u{2026}`,
158
- "noResults": `Aucun r\xe9sultat`
159
- };
160
-
161
-
162
- var $a0cc323ab22de2bd$exports = {};
163
- $a0cc323ab22de2bd$exports = {
164
- "clear": `\u{5E0}\u{5E7}\u{5D4}`,
165
- "invalid": `(\u{5DC}\u{5D0} \u{5D7}\u{5D5}\u{5E7}\u{5D9})`,
166
- "loading": `\u{5D8}\u{5D5}\u{5E2}\u{5DF}...`,
167
- "noResults": `\u{5D0}\u{5D9}\u{5DF} \u{5EA}\u{5D5}\u{5E6}\u{5D0}\u{5D5}\u{5EA}`
168
- };
169
-
170
-
171
- var $4b1559eab8beeaf7$exports = {};
172
- $4b1559eab8beeaf7$exports = {
173
- "clear": `Izbri\u{161}i`,
174
- "invalid": `(neva\u{17E}e\u{107}e)`,
175
- "loading": `U\u{10D}itavam...`,
176
- "noResults": `Nema rezultata`
177
- };
178
-
179
-
180
- var $4dab4b9205a1a185$exports = {};
181
- $4dab4b9205a1a185$exports = {
182
- "clear": `T\xf6rl\xe9s`,
183
- "invalid": `(\xe9rv\xe9nytelen)`,
184
- "loading": `Bet\xf6lt\xe9s folyamatban\u{2026}`,
185
- "noResults": `Nincsenek tal\xe1latok`
186
- };
187
-
188
-
189
- var $e68bbe47073afa8a$exports = {};
190
- $e68bbe47073afa8a$exports = {
191
- "clear": `Cancella`,
192
- "invalid": `(non valido)`,
193
- "loading": `Caricamento...`,
194
- "noResults": `Nessun risultato`
195
- };
196
-
197
-
198
- var $88667c729de33c42$exports = {};
199
- $88667c729de33c42$exports = {
200
- "clear": `\u{30AF}\u{30EA}\u{30A2}`,
201
- "invalid": `(\u{7121}\u{52B9})`,
202
- "loading": `\u{8AAD}\u{307F}\u{8FBC}\u{307F}\u{4E2D}...`,
203
- "noResults": `\u{7D50}\u{679C}\u{306A}\u{3057}`
204
- };
205
-
206
-
207
- var $4c3197bb97515799$exports = {};
208
- $4c3197bb97515799$exports = {
209
- "clear": `\u{C9C0}\u{C6B0}\u{AE30}`,
210
- "invalid": `(\u{C720}\u{D6A8}\u{D558}\u{C9C0} \u{C54A}\u{C74C})`,
211
- "loading": `\u{B85C}\u{B4DC} \u{C911}...`,
212
- "noResults": `\u{ACB0}\u{ACFC} \u{C5C6}\u{C74C}`
213
- };
214
-
215
-
216
- var $cd50f414bffb1f7a$exports = {};
217
- $cd50f414bffb1f7a$exports = {
218
- "clear": `I\u{161}valyti`,
219
- "invalid": `(netinkama)`,
220
- "loading": `\u{12E}keliama...`,
221
- "noResults": `Rezultat\u{173} n\u{117}ra`
222
- };
223
-
224
-
225
- var $0d7f84ef3916515f$exports = {};
226
- $0d7f84ef3916515f$exports = {
227
- "clear": `Not\u{12B}r\u{12B}t`,
228
- "invalid": `(neder\u{12B}gs)`,
229
- "loading": `Notiek iel\u{101}de...`,
230
- "noResults": `Nav rezult\u{101}tu`
231
- };
232
-
233
-
234
- var $f1a58baeabc47396$exports = {};
235
- $f1a58baeabc47396$exports = {
236
- "clear": `T\xf8m`,
237
- "invalid": `(ugyldig)`,
238
- "loading": `Laster inn...`,
239
- "noResults": `Ingen resultater`
240
- };
241
-
242
-
243
- var $a3dd9e27853292c1$exports = {};
244
- $a3dd9e27853292c1$exports = {
245
- "clear": `Wissen`,
246
- "invalid": `(ongeldig)`,
247
- "loading": `Laden...`,
248
- "noResults": `Geen resultaten`
249
- };
250
-
251
-
252
- var $6e8413d536bb66ca$exports = {};
253
- $6e8413d536bb66ca$exports = {
254
- "clear": `Wyczy\u{15B}\u{107}`,
255
- "invalid": `(nieprawid\u{142}owy)`,
256
- "loading": `Wczytywanie...`,
257
- "noResults": `Brak wynik\xf3w`
258
- };
259
-
260
-
261
- var $bdf278414a496664$exports = {};
262
- $bdf278414a496664$exports = {
263
- "clear": `Limpar`,
264
- "invalid": `(inv\xe1lido)`,
265
- "loading": `Carregando...`,
266
- "noResults": `Nenhum resultado`
267
- };
268
-
269
-
270
- var $53a7cad14ed21164$exports = {};
271
- $53a7cad14ed21164$exports = {
272
- "clear": `Limpar`,
273
- "invalid": `(inv\xe1lido)`,
274
- "loading": `A carregar...`,
275
- "noResults": `Sem resultados`
276
- };
277
-
278
-
279
- var $f503546cf2f6f1ae$exports = {};
280
- $f503546cf2f6f1ae$exports = {
281
- "clear": `Golire`,
282
- "invalid": `(nevalid)`,
283
- "loading": `Se \xeencarc\u{103}...`,
284
- "noResults": `Niciun rezultat`
285
- };
286
-
287
-
288
- var $9c0df9313a851b51$exports = {};
289
- $9c0df9313a851b51$exports = {
290
- "clear": `\u{41E}\u{447}\u{438}\u{441}\u{442}\u{438}\u{442}\u{44C}`,
291
- "invalid": `(\u{43D}\u{435}\u{434}\u{435}\u{439}\u{441}\u{442}\u{432}\u{438}\u{442}\u{435}\u{43B}\u{44C}\u{43D}\u{43E})`,
292
- "loading": `\u{417}\u{430}\u{433}\u{440}\u{443}\u{437}\u{43A}\u{430}...`,
293
- "noResults": `\u{420}\u{435}\u{437}\u{443}\u{43B}\u{44C}\u{442}\u{430}\u{442}\u{44B} \u{43E}\u{442}\u{441}\u{443}\u{442}\u{441}\u{442}\u{432}\u{443}\u{44E}\u{442}`
294
- };
295
-
296
-
297
- var $ff7d7295476e23aa$exports = {};
298
- $ff7d7295476e23aa$exports = {
299
- "clear": `Vymaza\u{165}`,
300
- "invalid": `(neplatn\xe9)`,
301
- "loading": `Na\u{10D}\xedtava sa...`,
302
- "noResults": `\u{17D}iadne v\xfdsledky`
303
- };
304
-
305
-
306
- var $9a2e91f09cf7ad62$exports = {};
307
- $9a2e91f09cf7ad62$exports = {
308
- "clear": `Pobri\u{161}ite`,
309
- "invalid": `(neveljavno)`,
310
- "loading": `Nalaganje...`,
311
- "noResults": `Ni rezultatov`
312
- };
313
-
314
-
315
- var $15b314371291c45e$exports = {};
316
- $15b314371291c45e$exports = {
317
- "clear": `Izbri\u{161}i`,
318
- "invalid": `(neva\u{17E}e\u{107}e)`,
319
- "loading": `U\u{10D}itavam...`,
320
- "noResults": `Nema rezultata`
321
- };
322
-
323
-
324
- var $1582d77a65bc529b$exports = {};
325
- $1582d77a65bc529b$exports = {
326
- "clear": `Rensa`,
327
- "invalid": `(ogiltigt)`,
328
- "loading": `L\xe4ser in...`,
329
- "noResults": `Inga resultat`
330
- };
331
-
332
-
333
- var $c43996bbf6a84066$exports = {};
334
- $c43996bbf6a84066$exports = {
335
- "clear": `Temizle`,
336
- "invalid": `(ge\xe7ersiz)`,
337
- "loading": `Y\xfckleniyor...`,
338
- "noResults": `Sonu\xe7 yok`
339
- };
340
-
341
-
342
- var $f0ebecaa2c26d7b6$exports = {};
343
- $f0ebecaa2c26d7b6$exports = {
344
- "clear": `\u{41E}\u{447}\u{438}\u{441}\u{442}\u{438}\u{442}\u{438}`,
345
- "invalid": `(\u{43D}\u{435}\u{434}\u{456}\u{439}\u{441}\u{43D}\u{435})`,
346
- "loading": `\u{417}\u{430}\u{432}\u{430}\u{43D}\u{442}\u{430}\u{436}\u{435}\u{43D}\u{43D}\u{44F}...`,
347
- "noResults": `\u{420}\u{435}\u{437}\u{443}\u{43B}\u{44C}\u{442}\u{430}\u{442}\u{456}\u{432} \u{43D}\u{435}\u{43C}\u{430}\u{454}`
348
- };
349
-
350
-
351
- var $0d8545e67578a6e4$exports = {};
352
- $0d8545e67578a6e4$exports = {
353
- "clear": `\u{6E05}\u{9664}`,
354
- "invalid": `\u{FF08}\u{65E0}\u{6548}\u{FF09}`,
355
- "loading": `\u{6B63}\u{5728}\u{52A0}\u{8F7D}...`,
356
- "noResults": `\u{65E0}\u{7ED3}\u{679C}`
357
- };
358
-
359
-
360
- var $5a75571ed7cb75fa$exports = {};
361
- $5a75571ed7cb75fa$exports = {
362
- "clear": `\u{6E05}\u{9664}`,
363
- "invalid": `(\u{7121}\u{6548})`,
364
- "loading": `\u{6B63}\u{5728}\u{8F09}\u{5165}...`,
365
- "noResults": `\u{7121}\u{4EFB}\u{4F55}\u{7D50}\u{679C}`
366
- };
367
-
368
-
369
- $67773d1975e0a845$exports = {
370
- "ar-AE": $024cf3aa492e9082$exports,
371
- "bg-BG": $b1478ef78bbb453c$exports,
372
- "cs-CZ": $a460b76408fa2c12$exports,
373
- "da-DK": $e9e48f3945b54c4e$exports,
374
- "de-DE": $51a37bbbb04b8d4b$exports,
375
- "el-GR": $a9652db54e8c657c$exports,
376
- "en-US": $9d3fddee794c9b57$exports,
377
- "es-ES": $d19a882e0e4cfd8a$exports,
378
- "et-EE": $f163759b67478eb6$exports,
379
- "fi-FI": $b156937eefa4b1b2$exports,
380
- "fr-FR": $21aacec2a5f4c61f$exports,
381
- "he-IL": $a0cc323ab22de2bd$exports,
382
- "hr-HR": $4b1559eab8beeaf7$exports,
383
- "hu-HU": $4dab4b9205a1a185$exports,
384
- "it-IT": $e68bbe47073afa8a$exports,
385
- "ja-JP": $88667c729de33c42$exports,
386
- "ko-KR": $4c3197bb97515799$exports,
387
- "lt-LT": $cd50f414bffb1f7a$exports,
388
- "lv-LV": $0d7f84ef3916515f$exports,
389
- "nb-NO": $f1a58baeabc47396$exports,
390
- "nl-NL": $a3dd9e27853292c1$exports,
391
- "pl-PL": $6e8413d536bb66ca$exports,
392
- "pt-BR": $bdf278414a496664$exports,
393
- "pt-PT": $53a7cad14ed21164$exports,
394
- "ro-RO": $f503546cf2f6f1ae$exports,
395
- "ru-RU": $9c0df9313a851b51$exports,
396
- "sk-SK": $ff7d7295476e23aa$exports,
397
- "sl-SI": $9a2e91f09cf7ad62$exports,
398
- "sr-SP": $15b314371291c45e$exports,
399
- "sv-SE": $1582d77a65bc529b$exports,
400
- "tr-TR": $c43996bbf6a84066$exports,
401
- "uk-UA": $f0ebecaa2c26d7b6$exports,
402
- "zh-CN": $0d8545e67578a6e4$exports,
403
- "zh-TW": $5a75571ed7cb75fa$exports
404
- };
405
-
406
-
407
-
408
-
409
- /*
410
- * Copyright 2020 Adobe. All rights reserved.
411
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
412
- * you may not use this file except in compliance with the License. You may obtain a copy
413
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
414
- *
415
- * Unless required by applicable law or agreed to in writing, software distributed under
416
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
417
- * OF ANY KIND, either express or implied. See the License for the specific language
418
- * governing permissions and limitations under the License.
419
- */
420
-
421
-
422
-
423
-
424
-
425
-
426
-
427
-
428
-
429
-
430
-
431
-
432
-
433
- var $f6bdc9f20ce7ef93$exports = {};
434
-
435
- $parcel$export($f6bdc9f20ce7ef93$exports, "has-label", () => $f6bdc9f20ce7ef93$export$b8e014ff9ad5e5e2, (v) => $f6bdc9f20ce7ef93$export$b8e014ff9ad5e5e2 = v);
436
- $parcel$export($f6bdc9f20ce7ef93$exports, "mobile-input", () => $f6bdc9f20ce7ef93$export$bededa1c0ac414c5, (v) => $f6bdc9f20ce7ef93$export$bededa1c0ac414c5 = v);
437
- $parcel$export($f6bdc9f20ce7ef93$exports, "mobile-searchautocomplete", () => $f6bdc9f20ce7ef93$export$3117ea626976198e, (v) => $f6bdc9f20ce7ef93$export$3117ea626976198e = v);
438
- $parcel$export($f6bdc9f20ce7ef93$exports, "mobile-value", () => $f6bdc9f20ce7ef93$export$e32ca2bb9f795355, (v) => $f6bdc9f20ce7ef93$export$e32ca2bb9f795355 = v);
439
- $parcel$export($f6bdc9f20ce7ef93$exports, "no-results", () => $f6bdc9f20ce7ef93$export$5b1939da91820a47, (v) => $f6bdc9f20ce7ef93$export$5b1939da91820a47 = v);
440
- $parcel$export($f6bdc9f20ce7ef93$exports, "searchautocomplete", () => $f6bdc9f20ce7ef93$export$5096a212edbce2e8, (v) => $f6bdc9f20ce7ef93$export$5096a212edbce2e8 = v);
441
- $parcel$export($f6bdc9f20ce7ef93$exports, "tray-dialog", () => $f6bdc9f20ce7ef93$export$3d4198eea215577a, (v) => $f6bdc9f20ce7ef93$export$3d4198eea215577a = v);
442
- $parcel$export($f6bdc9f20ce7ef93$exports, "tray-listbox", () => $f6bdc9f20ce7ef93$export$7281dc54d38d4bed, (v) => $f6bdc9f20ce7ef93$export$7281dc54d38d4bed = v);
443
- $parcel$export($f6bdc9f20ce7ef93$exports, "tray-textfield", () => $f6bdc9f20ce7ef93$export$73cc97e04e76a6d0, (v) => $f6bdc9f20ce7ef93$export$73cc97e04e76a6d0 = v);
444
- $parcel$export($f6bdc9f20ce7ef93$exports, "tray-textfield-input", () => $f6bdc9f20ce7ef93$export$feb70b7bc717e2b8, (v) => $f6bdc9f20ce7ef93$export$feb70b7bc717e2b8 = v);
445
- var $f6bdc9f20ce7ef93$export$b8e014ff9ad5e5e2;
446
- var $f6bdc9f20ce7ef93$export$bededa1c0ac414c5;
447
- var $f6bdc9f20ce7ef93$export$3117ea626976198e;
448
- var $f6bdc9f20ce7ef93$export$e32ca2bb9f795355;
449
- var $f6bdc9f20ce7ef93$export$5b1939da91820a47;
450
- var $f6bdc9f20ce7ef93$export$5096a212edbce2e8;
451
- var $f6bdc9f20ce7ef93$export$3d4198eea215577a;
452
- var $f6bdc9f20ce7ef93$export$7281dc54d38d4bed;
453
- var $f6bdc9f20ce7ef93$export$73cc97e04e76a6d0;
454
- var $f6bdc9f20ce7ef93$export$feb70b7bc717e2b8;
455
- $f6bdc9f20ce7ef93$export$b8e014ff9ad5e5e2 = `JdB_7q_has-label`;
456
- $f6bdc9f20ce7ef93$export$bededa1c0ac414c5 = `JdB_7q_mobile-input`;
457
- $f6bdc9f20ce7ef93$export$3117ea626976198e = `JdB_7q_mobile-searchautocomplete`;
458
- $f6bdc9f20ce7ef93$export$e32ca2bb9f795355 = `JdB_7q_mobile-value`;
459
- $f6bdc9f20ce7ef93$export$5b1939da91820a47 = `JdB_7q_no-results`;
460
- $f6bdc9f20ce7ef93$export$5096a212edbce2e8 = `JdB_7q_searchautocomplete`;
461
- $f6bdc9f20ce7ef93$export$3d4198eea215577a = `JdB_7q_tray-dialog`;
462
- $f6bdc9f20ce7ef93$export$7281dc54d38d4bed = `JdB_7q_tray-listbox`;
463
- $f6bdc9f20ce7ef93$export$73cc97e04e76a6d0 = `JdB_7q_tray-textfield`;
464
- $f6bdc9f20ce7ef93$export$feb70b7bc717e2b8 = `JdB_7q_tray-textfield-input`;
465
-
466
-
467
- var $5589e2270a5c2f51$exports = {};
468
-
469
- $parcel$export($5589e2270a5c2f51$exports, "focus-ring", () => $5589e2270a5c2f51$export$f39a09f249340e2a, (v) => $5589e2270a5c2f51$export$f39a09f249340e2a = v);
470
- $parcel$export($5589e2270a5c2f51$exports, "i18nFontFamily", () => $5589e2270a5c2f51$export$8c4ee2c50c22c514, (v) => $5589e2270a5c2f51$export$8c4ee2c50c22c514 = v);
471
- $parcel$export($5589e2270a5c2f51$exports, "is-quiet", () => $5589e2270a5c2f51$export$6d5c5433f0da4241, (v) => $5589e2270a5c2f51$export$6d5c5433f0da4241 = v);
472
- $parcel$export($5589e2270a5c2f51$exports, "spectrum-ClearButton", () => $5589e2270a5c2f51$export$b752ce409e5660c, (v) => $5589e2270a5c2f51$export$b752ce409e5660c = v);
473
- $parcel$export($5589e2270a5c2f51$exports, "spectrum-FocusRing-ring", () => $5589e2270a5c2f51$export$4109102f950813a6, (v) => $5589e2270a5c2f51$export$4109102f950813a6 = v);
474
- $parcel$export($5589e2270a5c2f51$exports, "spectrum-FocusRing", () => $5589e2270a5c2f51$export$24c7f46a6e3605dd, (v) => $5589e2270a5c2f51$export$24c7f46a6e3605dd = v);
475
- $parcel$export($5589e2270a5c2f51$exports, "spectrum-FocusRing--quiet", () => $5589e2270a5c2f51$export$2927016961429360, (v) => $5589e2270a5c2f51$export$2927016961429360 = v);
476
- $parcel$export($5589e2270a5c2f51$exports, "spectrum-Search", () => $5589e2270a5c2f51$export$713911d754e1e4ae, (v) => $5589e2270a5c2f51$export$713911d754e1e4ae = v);
477
- $parcel$export($5589e2270a5c2f51$exports, "spectrum-Search--invalid", () => $5589e2270a5c2f51$export$77a6151a0b46a6a3, (v) => $5589e2270a5c2f51$export$77a6151a0b46a6a3 = v);
478
- $parcel$export($5589e2270a5c2f51$exports, "spectrum-Search--loadable", () => $5589e2270a5c2f51$export$9c74d64afae3b2d4, (v) => $5589e2270a5c2f51$export$9c74d64afae3b2d4 = v);
479
- $parcel$export($5589e2270a5c2f51$exports, "spectrum-Search--valid", () => $5589e2270a5c2f51$export$aa81e3ab40f37567, (v) => $5589e2270a5c2f51$export$aa81e3ab40f37567 = v);
480
- $parcel$export($5589e2270a5c2f51$exports, "spectrum-Search-circleLoader", () => $5589e2270a5c2f51$export$70ae4353602451dc, (v) => $5589e2270a5c2f51$export$70ae4353602451dc = v);
481
- $parcel$export($5589e2270a5c2f51$exports, "spectrum-Search-input", () => $5589e2270a5c2f51$export$50e02603f2d97ae1, (v) => $5589e2270a5c2f51$export$50e02603f2d97ae1 = v);
482
- $parcel$export($5589e2270a5c2f51$exports, "spectrum-Search-validationIcon", () => $5589e2270a5c2f51$export$938f0981825eae6e, (v) => $5589e2270a5c2f51$export$938f0981825eae6e = v);
483
- $parcel$export($5589e2270a5c2f51$exports, "spectrum-Textfield", () => $5589e2270a5c2f51$export$2c8a10299d8b3418, (v) => $5589e2270a5c2f51$export$2c8a10299d8b3418 = v);
484
- var $5589e2270a5c2f51$export$f39a09f249340e2a;
485
- var $5589e2270a5c2f51$export$8c4ee2c50c22c514;
486
- var $5589e2270a5c2f51$export$6d5c5433f0da4241;
487
- var $5589e2270a5c2f51$export$b752ce409e5660c;
488
- var $5589e2270a5c2f51$export$4109102f950813a6;
489
- var $5589e2270a5c2f51$export$24c7f46a6e3605dd;
490
- var $5589e2270a5c2f51$export$2927016961429360;
491
- var $5589e2270a5c2f51$export$713911d754e1e4ae;
492
- var $5589e2270a5c2f51$export$77a6151a0b46a6a3;
493
- var $5589e2270a5c2f51$export$9c74d64afae3b2d4;
494
- var $5589e2270a5c2f51$export$aa81e3ab40f37567;
495
- var $5589e2270a5c2f51$export$70ae4353602451dc;
496
- var $5589e2270a5c2f51$export$50e02603f2d97ae1;
497
- var $5589e2270a5c2f51$export$938f0981825eae6e;
498
- var $5589e2270a5c2f51$export$2c8a10299d8b3418;
499
- $5589e2270a5c2f51$export$f39a09f249340e2a = `SOkmSG_focus-ring`;
500
- $5589e2270a5c2f51$export$8c4ee2c50c22c514 = `SOkmSG_i18nFontFamily`;
501
- $5589e2270a5c2f51$export$6d5c5433f0da4241 = `SOkmSG_is-quiet`;
502
- $5589e2270a5c2f51$export$b752ce409e5660c = `SOkmSG_spectrum-ClearButton`;
503
- $5589e2270a5c2f51$export$4109102f950813a6 = `SOkmSG_spectrum-FocusRing-ring`;
504
- $5589e2270a5c2f51$export$24c7f46a6e3605dd = `SOkmSG_spectrum-FocusRing ${$5589e2270a5c2f51$export$4109102f950813a6}`;
505
- $5589e2270a5c2f51$export$2927016961429360 = `SOkmSG_spectrum-FocusRing--quiet`;
506
- $5589e2270a5c2f51$export$713911d754e1e4ae = `SOkmSG_spectrum-Search`;
507
- $5589e2270a5c2f51$export$77a6151a0b46a6a3 = `SOkmSG_spectrum-Search--invalid`;
508
- $5589e2270a5c2f51$export$9c74d64afae3b2d4 = `SOkmSG_spectrum-Search--loadable`;
509
- $5589e2270a5c2f51$export$aa81e3ab40f37567 = `SOkmSG_spectrum-Search--valid`;
510
- $5589e2270a5c2f51$export$70ae4353602451dc = `SOkmSG_spectrum-Search-circleLoader`;
511
- $5589e2270a5c2f51$export$50e02603f2d97ae1 = `SOkmSG_spectrum-Search-input`;
512
- $5589e2270a5c2f51$export$938f0981825eae6e = `SOkmSG_spectrum-Search-validationIcon`;
513
- $5589e2270a5c2f51$export$2c8a10299d8b3418 = `SOkmSG_spectrum-Textfield`;
514
-
515
-
516
-
517
- var $8fb52a80fe52b1c7$exports = {};
518
-
519
- $parcel$export($8fb52a80fe52b1c7$exports, "focus-ring", () => $8fb52a80fe52b1c7$export$f39a09f249340e2a, (v) => $8fb52a80fe52b1c7$export$f39a09f249340e2a = v);
520
- $parcel$export($8fb52a80fe52b1c7$exports, "i18nFontFamily", () => $8fb52a80fe52b1c7$export$8c4ee2c50c22c514, (v) => $8fb52a80fe52b1c7$export$8c4ee2c50c22c514 = v);
521
- $parcel$export($8fb52a80fe52b1c7$exports, "is-disabled", () => $8fb52a80fe52b1c7$export$d35bc1e505d1ebbf, (v) => $8fb52a80fe52b1c7$export$d35bc1e505d1ebbf = v);
522
- $parcel$export($8fb52a80fe52b1c7$exports, "is-focused", () => $8fb52a80fe52b1c7$export$e7dc768d35940237, (v) => $8fb52a80fe52b1c7$export$e7dc768d35940237 = v);
523
- $parcel$export($8fb52a80fe52b1c7$exports, "is-hovered", () => $8fb52a80fe52b1c7$export$b8813cd5d7824ce7, (v) => $8fb52a80fe52b1c7$export$b8813cd5d7824ce7 = v);
524
- $parcel$export($8fb52a80fe52b1c7$exports, "is-selected", () => $8fb52a80fe52b1c7$export$1e0fb04f31d3c22a, (v) => $8fb52a80fe52b1c7$export$1e0fb04f31d3c22a = v);
525
- $parcel$export($8fb52a80fe52b1c7$exports, "spectrum-Datepicker--datetimeRange", () => $8fb52a80fe52b1c7$export$58dd7cd23c92699f, (v) => $8fb52a80fe52b1c7$export$58dd7cd23c92699f = v);
526
- $parcel$export($8fb52a80fe52b1c7$exports, "spectrum-Datepicker--range", () => $8fb52a80fe52b1c7$export$1d8b0b29e11d7cd, (v) => $8fb52a80fe52b1c7$export$1d8b0b29e11d7cd = v);
527
- $parcel$export($8fb52a80fe52b1c7$exports, "spectrum-Datepicker--rangeDash", () => $8fb52a80fe52b1c7$export$202113e883898dc, (v) => $8fb52a80fe52b1c7$export$202113e883898dc = v);
528
- $parcel$export($8fb52a80fe52b1c7$exports, "spectrum-Datepicker-endField", () => $8fb52a80fe52b1c7$export$1c72fb41fa4f21ee, (v) => $8fb52a80fe52b1c7$export$1c72fb41fa4f21ee = v);
529
- $parcel$export($8fb52a80fe52b1c7$exports, "spectrum-Datepicker-focusRing", () => $8fb52a80fe52b1c7$export$eb262b15b9261fde, (v) => $8fb52a80fe52b1c7$export$eb262b15b9261fde = v);
530
- $parcel$export($8fb52a80fe52b1c7$exports, "spectrum-Datepicker-startField", () => $8fb52a80fe52b1c7$export$80f9c838a8406469, (v) => $8fb52a80fe52b1c7$export$80f9c838a8406469 = v);
531
- $parcel$export($8fb52a80fe52b1c7$exports, "spectrum-FieldButton", () => $8fb52a80fe52b1c7$export$a024c99ecf6b5741, (v) => $8fb52a80fe52b1c7$export$a024c99ecf6b5741 = v);
532
- $parcel$export($8fb52a80fe52b1c7$exports, "spectrum-FieldButton--invalid", () => $8fb52a80fe52b1c7$export$c9f503f672e8a3c1, (v) => $8fb52a80fe52b1c7$export$c9f503f672e8a3c1 = v);
533
- $parcel$export($8fb52a80fe52b1c7$exports, "spectrum-FocusRing-ring", () => $8fb52a80fe52b1c7$export$4109102f950813a6, (v) => $8fb52a80fe52b1c7$export$4109102f950813a6 = v);
534
- $parcel$export($8fb52a80fe52b1c7$exports, "spectrum-FocusRing", () => $8fb52a80fe52b1c7$export$24c7f46a6e3605dd, (v) => $8fb52a80fe52b1c7$export$24c7f46a6e3605dd = v);
535
- $parcel$export($8fb52a80fe52b1c7$exports, "spectrum-FocusRing--quiet", () => $8fb52a80fe52b1c7$export$2927016961429360, (v) => $8fb52a80fe52b1c7$export$2927016961429360 = v);
536
- $parcel$export($8fb52a80fe52b1c7$exports, "spectrum-InputGroup", () => $8fb52a80fe52b1c7$export$5be359c1227eedcb, (v) => $8fb52a80fe52b1c7$export$5be359c1227eedcb = v);
537
- $parcel$export($8fb52a80fe52b1c7$exports, "spectrum-InputGroup--invalid", () => $8fb52a80fe52b1c7$export$3b48509739a9cda0, (v) => $8fb52a80fe52b1c7$export$3b48509739a9cda0 = v);
538
- $parcel$export($8fb52a80fe52b1c7$exports, "spectrum-InputGroup--quiet", () => $8fb52a80fe52b1c7$export$ebf265ffc062029b, (v) => $8fb52a80fe52b1c7$export$ebf265ffc062029b = v);
539
- $parcel$export($8fb52a80fe52b1c7$exports, "spectrum-InputGroup-field", () => $8fb52a80fe52b1c7$export$ea77459595e26bec, (v) => $8fb52a80fe52b1c7$export$ea77459595e26bec = v);
540
- $parcel$export($8fb52a80fe52b1c7$exports, "spectrum-InputGroup-icon", () => $8fb52a80fe52b1c7$export$b91b6af799fd93a8, (v) => $8fb52a80fe52b1c7$export$b91b6af799fd93a8 = v);
541
- $parcel$export($8fb52a80fe52b1c7$exports, "spectrum-InputGroup-input", () => $8fb52a80fe52b1c7$export$92706f5c6fe4074, (v) => $8fb52a80fe52b1c7$export$92706f5c6fe4074 = v);
542
- $parcel$export($8fb52a80fe52b1c7$exports, "spectrum-InputGroup-input-circleLoader", () => $8fb52a80fe52b1c7$export$dcc9e00cdad967fa, (v) => $8fb52a80fe52b1c7$export$dcc9e00cdad967fa = v);
543
- $parcel$export($8fb52a80fe52b1c7$exports, "spectrum-InputGroup-input-validationIcon", () => $8fb52a80fe52b1c7$export$f7ab13ee113f4884, (v) => $8fb52a80fe52b1c7$export$f7ab13ee113f4884 = v);
544
- $parcel$export($8fb52a80fe52b1c7$exports, "spectrum-InputGroup-popover--quiet", () => $8fb52a80fe52b1c7$export$5e116178f9b1556a, (v) => $8fb52a80fe52b1c7$export$5e116178f9b1556a = v);
545
- var $8fb52a80fe52b1c7$export$f39a09f249340e2a;
546
- var $8fb52a80fe52b1c7$export$8c4ee2c50c22c514;
547
- var $8fb52a80fe52b1c7$export$d35bc1e505d1ebbf;
548
- var $8fb52a80fe52b1c7$export$e7dc768d35940237;
549
- var $8fb52a80fe52b1c7$export$b8813cd5d7824ce7;
550
- var $8fb52a80fe52b1c7$export$1e0fb04f31d3c22a;
551
- var $8fb52a80fe52b1c7$export$58dd7cd23c92699f;
552
- var $8fb52a80fe52b1c7$export$1d8b0b29e11d7cd;
553
- var $8fb52a80fe52b1c7$export$202113e883898dc;
554
- var $8fb52a80fe52b1c7$export$1c72fb41fa4f21ee;
555
- var $8fb52a80fe52b1c7$export$eb262b15b9261fde;
556
- var $8fb52a80fe52b1c7$export$80f9c838a8406469;
557
- var $8fb52a80fe52b1c7$export$a024c99ecf6b5741;
558
- var $8fb52a80fe52b1c7$export$c9f503f672e8a3c1;
559
- var $8fb52a80fe52b1c7$export$4109102f950813a6;
560
- var $8fb52a80fe52b1c7$export$24c7f46a6e3605dd;
561
- var $8fb52a80fe52b1c7$export$2927016961429360;
562
- var $8fb52a80fe52b1c7$export$5be359c1227eedcb;
563
- var $8fb52a80fe52b1c7$export$3b48509739a9cda0;
564
- var $8fb52a80fe52b1c7$export$ebf265ffc062029b;
565
- var $8fb52a80fe52b1c7$export$ea77459595e26bec;
566
- var $8fb52a80fe52b1c7$export$b91b6af799fd93a8;
567
- var $8fb52a80fe52b1c7$export$92706f5c6fe4074;
568
- var $8fb52a80fe52b1c7$export$dcc9e00cdad967fa;
569
- var $8fb52a80fe52b1c7$export$f7ab13ee113f4884;
570
- var $8fb52a80fe52b1c7$export$5e116178f9b1556a;
571
- $8fb52a80fe52b1c7$export$f39a09f249340e2a = `ZTA2ya_focus-ring`;
572
- $8fb52a80fe52b1c7$export$8c4ee2c50c22c514 = `ZTA2ya_i18nFontFamily`;
573
- $8fb52a80fe52b1c7$export$d35bc1e505d1ebbf = `ZTA2ya_is-disabled`;
574
- $8fb52a80fe52b1c7$export$e7dc768d35940237 = `ZTA2ya_is-focused`;
575
- $8fb52a80fe52b1c7$export$b8813cd5d7824ce7 = `ZTA2ya_is-hovered`;
576
- $8fb52a80fe52b1c7$export$1e0fb04f31d3c22a = `ZTA2ya_is-selected`;
577
- $8fb52a80fe52b1c7$export$58dd7cd23c92699f = `ZTA2ya_spectrum-Datepicker--datetimeRange`;
578
- $8fb52a80fe52b1c7$export$1d8b0b29e11d7cd = `ZTA2ya_spectrum-Datepicker--range`;
579
- $8fb52a80fe52b1c7$export$202113e883898dc = `ZTA2ya_spectrum-Datepicker--rangeDash`;
580
- $8fb52a80fe52b1c7$export$1c72fb41fa4f21ee = `ZTA2ya_spectrum-Datepicker-endField`;
581
- $8fb52a80fe52b1c7$export$eb262b15b9261fde = `ZTA2ya_spectrum-Datepicker-focusRing`;
582
- $8fb52a80fe52b1c7$export$80f9c838a8406469 = `ZTA2ya_spectrum-Datepicker-startField`;
583
- $8fb52a80fe52b1c7$export$a024c99ecf6b5741 = `ZTA2ya_spectrum-FieldButton`;
584
- $8fb52a80fe52b1c7$export$c9f503f672e8a3c1 = `ZTA2ya_spectrum-FieldButton--invalid`;
585
- $8fb52a80fe52b1c7$export$4109102f950813a6 = `ZTA2ya_spectrum-FocusRing-ring`;
586
- $8fb52a80fe52b1c7$export$24c7f46a6e3605dd = `ZTA2ya_spectrum-FocusRing ${$8fb52a80fe52b1c7$export$4109102f950813a6}`;
587
- $8fb52a80fe52b1c7$export$2927016961429360 = `ZTA2ya_spectrum-FocusRing--quiet`;
588
- $8fb52a80fe52b1c7$export$5be359c1227eedcb = `ZTA2ya_spectrum-InputGroup ${$8fb52a80fe52b1c7$export$24c7f46a6e3605dd}`;
589
- $8fb52a80fe52b1c7$export$3b48509739a9cda0 = `ZTA2ya_spectrum-InputGroup--invalid`;
590
- $8fb52a80fe52b1c7$export$ebf265ffc062029b = `ZTA2ya_spectrum-InputGroup--quiet ${$8fb52a80fe52b1c7$export$2927016961429360}`;
591
- $8fb52a80fe52b1c7$export$ea77459595e26bec = `ZTA2ya_spectrum-InputGroup-field`;
592
- $8fb52a80fe52b1c7$export$b91b6af799fd93a8 = `ZTA2ya_spectrum-InputGroup-icon`;
593
- $8fb52a80fe52b1c7$export$92706f5c6fe4074 = `ZTA2ya_spectrum-InputGroup-input`;
594
- $8fb52a80fe52b1c7$export$dcc9e00cdad967fa = `ZTA2ya_spectrum-InputGroup-input-circleLoader`;
595
- $8fb52a80fe52b1c7$export$f7ab13ee113f4884 = `ZTA2ya_spectrum-InputGroup-input-validationIcon`;
596
- $8fb52a80fe52b1c7$export$5e116178f9b1556a = `ZTA2ya_spectrum-InputGroup-popover--quiet`;
597
-
598
-
599
-
600
- var $c14528ddc146317f$exports = {};
601
-
602
- $parcel$export($c14528ddc146317f$exports, "focus-ring", () => $c14528ddc146317f$export$f39a09f249340e2a, (v) => $c14528ddc146317f$export$f39a09f249340e2a = v);
603
- $parcel$export($c14528ddc146317f$exports, "i18nFontFamily", () => $c14528ddc146317f$export$8c4ee2c50c22c514, (v) => $c14528ddc146317f$export$8c4ee2c50c22c514 = v);
604
- $parcel$export($c14528ddc146317f$exports, "is-disabled", () => $c14528ddc146317f$export$d35bc1e505d1ebbf, (v) => $c14528ddc146317f$export$d35bc1e505d1ebbf = v);
605
- $parcel$export($c14528ddc146317f$exports, "is-focused", () => $c14528ddc146317f$export$e7dc768d35940237, (v) => $c14528ddc146317f$export$e7dc768d35940237 = v);
606
- $parcel$export($c14528ddc146317f$exports, "is-hovered", () => $c14528ddc146317f$export$b8813cd5d7824ce7, (v) => $c14528ddc146317f$export$b8813cd5d7824ce7 = v);
607
- $parcel$export($c14528ddc146317f$exports, "is-placeholder", () => $c14528ddc146317f$export$e5b2f5233e4e5194, (v) => $c14528ddc146317f$export$e5b2f5233e4e5194 = v);
608
- $parcel$export($c14528ddc146317f$exports, "spectrum-FocusRing-ring", () => $c14528ddc146317f$export$4109102f950813a6, (v) => $c14528ddc146317f$export$4109102f950813a6 = v);
609
- $parcel$export($c14528ddc146317f$exports, "spectrum-FocusRing", () => $c14528ddc146317f$export$24c7f46a6e3605dd, (v) => $c14528ddc146317f$export$24c7f46a6e3605dd = v);
610
- $parcel$export($c14528ddc146317f$exports, "spectrum-FocusRing--quiet", () => $c14528ddc146317f$export$2927016961429360, (v) => $c14528ddc146317f$export$2927016961429360 = v);
611
- $parcel$export($c14528ddc146317f$exports, "spectrum-Textfield", () => $c14528ddc146317f$export$2c8a10299d8b3418, (v) => $c14528ddc146317f$export$2c8a10299d8b3418 = v);
612
- $parcel$export($c14528ddc146317f$exports, "spectrum-Textfield--invalid", () => $c14528ddc146317f$export$58e50b10d30123df, (v) => $c14528ddc146317f$export$58e50b10d30123df = v);
613
- $parcel$export($c14528ddc146317f$exports, "spectrum-Textfield--loadable", () => $c14528ddc146317f$export$14fd30fea6f1348c, (v) => $c14528ddc146317f$export$14fd30fea6f1348c = v);
614
- $parcel$export($c14528ddc146317f$exports, "spectrum-Textfield--multiline", () => $c14528ddc146317f$export$9699f1c538a448a0, (v) => $c14528ddc146317f$export$9699f1c538a448a0 = v);
615
- $parcel$export($c14528ddc146317f$exports, "spectrum-Textfield--quiet", () => $c14528ddc146317f$export$bffd5e3d61a81737, (v) => $c14528ddc146317f$export$bffd5e3d61a81737 = v);
616
- $parcel$export($c14528ddc146317f$exports, "spectrum-Textfield--valid", () => $c14528ddc146317f$export$c2abbc3f970170b7, (v) => $c14528ddc146317f$export$c2abbc3f970170b7 = v);
617
- $parcel$export($c14528ddc146317f$exports, "spectrum-Textfield-circleLoader", () => $c14528ddc146317f$export$82a249fb4d6127, (v) => $c14528ddc146317f$export$82a249fb4d6127 = v);
618
- $parcel$export($c14528ddc146317f$exports, "spectrum-Textfield-icon", () => $c14528ddc146317f$export$222d1ccd1870be1d, (v) => $c14528ddc146317f$export$222d1ccd1870be1d = v);
619
- $parcel$export($c14528ddc146317f$exports, "spectrum-Textfield-input", () => $c14528ddc146317f$export$1ac009feb2b0bd0c, (v) => $c14528ddc146317f$export$1ac009feb2b0bd0c = v);
620
- $parcel$export($c14528ddc146317f$exports, "spectrum-Textfield-inputIcon", () => $c14528ddc146317f$export$c1cdcaa5fe76a871, (v) => $c14528ddc146317f$export$c1cdcaa5fe76a871 = v);
621
- $parcel$export($c14528ddc146317f$exports, "spectrum-Textfield-validationIcon", () => $c14528ddc146317f$export$cf0ead5b44db0da3, (v) => $c14528ddc146317f$export$cf0ead5b44db0da3 = v);
622
- $parcel$export($c14528ddc146317f$exports, "spectrum-Textfield-wrapper", () => $c14528ddc146317f$export$dd1165e0e6012973, (v) => $c14528ddc146317f$export$dd1165e0e6012973 = v);
623
- $parcel$export($c14528ddc146317f$exports, "spectrum-Textfield-wrapper--quiet", () => $c14528ddc146317f$export$9fcb3d6af94a9d12, (v) => $c14528ddc146317f$export$9fcb3d6af94a9d12 = v);
624
- var $c14528ddc146317f$export$f39a09f249340e2a;
625
- var $c14528ddc146317f$export$8c4ee2c50c22c514;
626
- var $c14528ddc146317f$export$d35bc1e505d1ebbf;
627
- var $c14528ddc146317f$export$e7dc768d35940237;
628
- var $c14528ddc146317f$export$b8813cd5d7824ce7;
629
- var $c14528ddc146317f$export$e5b2f5233e4e5194;
630
- var $c14528ddc146317f$export$4109102f950813a6;
631
- var $c14528ddc146317f$export$24c7f46a6e3605dd;
632
- var $c14528ddc146317f$export$2927016961429360;
633
- var $c14528ddc146317f$export$2c8a10299d8b3418;
634
- var $c14528ddc146317f$export$58e50b10d30123df;
635
- var $c14528ddc146317f$export$14fd30fea6f1348c;
636
- var $c14528ddc146317f$export$9699f1c538a448a0;
637
- var $c14528ddc146317f$export$bffd5e3d61a81737;
638
- var $c14528ddc146317f$export$c2abbc3f970170b7;
639
- var $c14528ddc146317f$export$82a249fb4d6127;
640
- var $c14528ddc146317f$export$222d1ccd1870be1d;
641
- var $c14528ddc146317f$export$1ac009feb2b0bd0c;
642
- var $c14528ddc146317f$export$c1cdcaa5fe76a871;
643
- var $c14528ddc146317f$export$cf0ead5b44db0da3;
644
- var $c14528ddc146317f$export$dd1165e0e6012973;
645
- var $c14528ddc146317f$export$9fcb3d6af94a9d12;
646
- $c14528ddc146317f$export$f39a09f249340e2a = `YO3Nla_focus-ring`;
647
- $c14528ddc146317f$export$8c4ee2c50c22c514 = `YO3Nla_i18nFontFamily`;
648
- $c14528ddc146317f$export$d35bc1e505d1ebbf = `YO3Nla_is-disabled`;
649
- $c14528ddc146317f$export$e7dc768d35940237 = `YO3Nla_is-focused`;
650
- $c14528ddc146317f$export$b8813cd5d7824ce7 = `YO3Nla_is-hovered`;
651
- $c14528ddc146317f$export$e5b2f5233e4e5194 = `YO3Nla_is-placeholder`;
652
- $c14528ddc146317f$export$4109102f950813a6 = `YO3Nla_spectrum-FocusRing-ring`;
653
- $c14528ddc146317f$export$24c7f46a6e3605dd = `YO3Nla_spectrum-FocusRing ${$c14528ddc146317f$export$4109102f950813a6}`;
654
- $c14528ddc146317f$export$2927016961429360 = `YO3Nla_spectrum-FocusRing--quiet`;
655
- $c14528ddc146317f$export$2c8a10299d8b3418 = `YO3Nla_spectrum-Textfield ${$c14528ddc146317f$export$24c7f46a6e3605dd}`;
656
- $c14528ddc146317f$export$58e50b10d30123df = `YO3Nla_spectrum-Textfield--invalid`;
657
- $c14528ddc146317f$export$14fd30fea6f1348c = `YO3Nla_spectrum-Textfield--loadable`;
658
- $c14528ddc146317f$export$9699f1c538a448a0 = `YO3Nla_spectrum-Textfield--multiline`;
659
- $c14528ddc146317f$export$bffd5e3d61a81737 = `YO3Nla_spectrum-Textfield--quiet ${$c14528ddc146317f$export$2927016961429360}`;
660
- $c14528ddc146317f$export$c2abbc3f970170b7 = `YO3Nla_spectrum-Textfield--valid`;
661
- $c14528ddc146317f$export$82a249fb4d6127 = `YO3Nla_spectrum-Textfield-circleLoader`;
662
- $c14528ddc146317f$export$222d1ccd1870be1d = `YO3Nla_spectrum-Textfield-icon`;
663
- $c14528ddc146317f$export$1ac009feb2b0bd0c = `YO3Nla_spectrum-Textfield-input ${$c14528ddc146317f$export$8c4ee2c50c22c514}`;
664
- $c14528ddc146317f$export$c1cdcaa5fe76a871 = `YO3Nla_spectrum-Textfield-inputIcon`;
665
- $c14528ddc146317f$export$cf0ead5b44db0da3 = `YO3Nla_spectrum-Textfield-validationIcon`;
666
- $c14528ddc146317f$export$dd1165e0e6012973 = `YO3Nla_spectrum-Textfield-wrapper`;
667
- $c14528ddc146317f$export$9fcb3d6af94a9d12 = `YO3Nla_spectrum-Textfield-wrapper--quiet`;
668
-
669
-
670
-
671
-
672
-
673
-
674
-
675
-
676
-
677
-
678
- function $c940f54e16bafef5$var$_MobileSearchAutocomplete(props, ref) {
679
- props = (0, $aQREU$useProviderProps)(props);
680
- let { isQuiet: isQuiet, isDisabled: isDisabled, isRequired: isRequired, validationBehavior: validationBehavior, validate: validate, name: name, isReadOnly: isReadOnly, onSubmit: onSubmit = ()=>{} } = props;
681
- let { contains: contains } = (0, $aQREU$useFilter)({
682
- sensitivity: "base"
683
- });
684
- let state = (0, $aQREU$useComboBoxState)({
685
- ...props,
686
- defaultFilter: contains,
687
- allowsEmptyCollection: true,
688
- // Needs to be false here otherwise we double up on commitSelection/commitCustomValue calls when
689
- // user taps on underlay (i.e. initial tap will call setFocused(false) -> commitSelection/commitCustomValue via onBlur,
690
- // then the closing of the tray will call setFocused(false) again due to cleanup effect)
691
- shouldCloseOnBlur: false,
692
- allowsCustomValue: true,
693
- onSelectionChange: (key)=>key !== null && onSubmit(null, key),
694
- selectedKey: undefined,
695
- defaultSelectedKey: undefined,
696
- validate: (0, $aQREU$useCallback)((v)=>validate === null || validate === void 0 ? void 0 : validate(v.inputValue), [
697
- validate
698
- ])
699
- });
700
- let buttonRef = (0, $aQREU$useRef)(null);
701
- let domRef = (0, $aQREU$useFocusableRef)(ref, buttonRef);
702
- let { triggerProps: triggerProps, overlayProps: overlayProps } = (0, $aQREU$useOverlayTrigger)({
703
- type: "listbox"
704
- }, state, buttonRef);
705
- let inputRef = (0, $aQREU$useRef)(null);
706
- (0, $aQREU$useFormValidation)({
707
- ...props,
708
- focus: ()=>{
709
- var _buttonRef_current;
710
- return (_buttonRef_current = buttonRef.current) === null || _buttonRef_current === void 0 ? void 0 : _buttonRef_current.focus();
711
- }
712
- }, state, inputRef);
713
- let { isInvalid: isInvalid, validationErrors: validationErrors, validationDetails: validationDetails } = state.displayValidation;
714
- let validationState = props.validationState || (isInvalid ? "invalid" : undefined);
715
- var _props_errorMessage;
716
- let errorMessage = (_props_errorMessage = props.errorMessage) !== null && _props_errorMessage !== void 0 ? _props_errorMessage : validationErrors.join(" ");
717
- let { labelProps: labelProps, fieldProps: fieldProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps } = (0, $aQREU$useField)({
718
- ...props,
719
- labelElementType: "span",
720
- isInvalid: isInvalid,
721
- errorMessage: errorMessage
722
- });
723
- // Focus the button and show focus ring when clicking on the label
724
- labelProps.onClick = ()=>{
725
- if (!props.isDisabled && buttonRef.current) {
726
- buttonRef.current.focus();
727
- (0, $aQREU$setInteractionModality)("keyboard");
728
- }
729
- };
730
- let inputProps = {
731
- type: "hidden",
732
- name: name,
733
- value: state.inputValue
734
- };
735
- if (validationBehavior === "native") {
736
- // Use a hidden <input type="text"> rather than <input type="hidden">
737
- // so that an empty value blocks HTML form submission when the field is required.
738
- inputProps.type = "text";
739
- inputProps.hidden = true;
740
- inputProps.required = isRequired;
741
- // Ignore react warning.
742
- inputProps.onChange = ()=>{};
743
- }
744
- (0, $aQREU$useFormReset)(inputRef, state.inputValue, state.setInputValue);
745
- return /*#__PURE__*/ (0, $aQREU$react).createElement((0, $aQREU$react).Fragment, null, /*#__PURE__*/ (0, $aQREU$react).createElement((0, $aQREU$Field), {
746
- ...props,
747
- labelProps: labelProps,
748
- descriptionProps: descriptionProps,
749
- errorMessageProps: errorMessageProps,
750
- isInvalid: isInvalid,
751
- validationErrors: validationErrors,
752
- validationDetails: validationDetails,
753
- elementType: "span",
754
- ref: domRef,
755
- includeNecessityIndicatorInAccessibilityName: true
756
- }, /*#__PURE__*/ (0, $aQREU$react).createElement($c940f54e16bafef5$var$SearchAutocompleteButton, {
757
- ...(0, $aQREU$mergeProps)(triggerProps, fieldProps, {
758
- autoFocus: props.autoFocus,
759
- icon: props.icon
760
- }),
761
- ref: buttonRef,
762
- isQuiet: isQuiet,
763
- isDisabled: isDisabled,
764
- isReadOnly: isReadOnly,
765
- isPlaceholder: !state.inputValue,
766
- validationState: validationState,
767
- inputValue: state.inputValue,
768
- clearInput: ()=>state.setInputValue(""),
769
- onPress: ()=>!isReadOnly && state.open(null, "manual")
770
- }, state.inputValue || props.placeholder || "")), /*#__PURE__*/ (0, $aQREU$react).createElement("input", {
771
- ...inputProps,
772
- ref: inputRef
773
- }), /*#__PURE__*/ (0, $aQREU$react).createElement((0, $aQREU$Tray), {
774
- state: state,
775
- isFixedHeight: true,
776
- ...overlayProps
777
- }, /*#__PURE__*/ (0, $aQREU$react).createElement($c940f54e16bafef5$var$SearchAutocompleteTray, {
778
- ...props,
779
- onClose: state.close,
780
- overlayProps: overlayProps,
781
- state: state
782
- })));
783
- }
784
- let $c940f54e16bafef5$export$e7a90f7d6b078162 = /*#__PURE__*/ (0, $aQREU$react).forwardRef($c940f54e16bafef5$var$_MobileSearchAutocomplete);
785
- // any type is because we don't want to call useObjectRef because this is an internal component and we know
786
- // we are always passing an object ref
787
- const $c940f54e16bafef5$var$SearchAutocompleteButton = /*#__PURE__*/ (0, $aQREU$react).forwardRef(function SearchAutocompleteButton(props, ref) {
788
- let searchIcon = /*#__PURE__*/ (0, $aQREU$react).createElement((0, $aQREU$spectrumiconsuiMagnifier), {
789
- "data-testid": "searchicon"
790
- });
791
- let { icon: icon = searchIcon, isQuiet: isQuiet, isDisabled: isDisabled, isReadOnly: isReadOnly, isPlaceholder: isPlaceholder, validationState: validationState, inputValue: inputValue, clearInput: clearInput, children: children, style: style, className: className } = props;
792
- let stringFormatter = (0, $aQREU$useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($67773d1975e0a845$exports))));
793
- let valueId = (0, $aQREU$useId)();
794
- let invalidId = (0, $aQREU$useId)();
795
- let validationIcon = validationState === "invalid" ? /*#__PURE__*/ (0, $aQREU$react).createElement((0, $aQREU$spectrumiconsuiAlertMedium), {
796
- id: invalidId,
797
- "aria-label": stringFormatter.format("invalid")
798
- }) : /*#__PURE__*/ (0, $aQREU$react).createElement((0, $aQREU$spectrumiconsuiCheckmarkMedium), null);
799
- if (icon) icon = /*#__PURE__*/ (0, $aQREU$react).cloneElement(icon, {
800
- UNSAFE_className: (0, $aQREU$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($c14528ddc146317f$exports))), "spectrum-Textfield-icon"),
801
- size: "S"
802
- });
803
- let clearButton = /*#__PURE__*/ (0, $aQREU$react).createElement((0, $aQREU$ClearButton), {
804
- onPress: (e)=>{
805
- var _props_onPress;
806
- clearInput === null || clearInput === void 0 ? void 0 : clearInput();
807
- props === null || props === void 0 ? void 0 : (_props_onPress = props.onPress) === null || _props_onPress === void 0 ? void 0 : _props_onPress.call(props, e);
808
- },
809
- preventFocus: true,
810
- "aria-label": stringFormatter.format("clear"),
811
- excludeFromTabOrder: true,
812
- UNSAFE_className: (0, $aQREU$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($5589e2270a5c2f51$exports))), "spectrum-ClearButton"),
813
- isDisabled: isDisabled
814
- });
815
- let validation = /*#__PURE__*/ (0, $aQREU$react).cloneElement(validationIcon, {
816
- UNSAFE_className: (0, $aQREU$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($c14528ddc146317f$exports))), "spectrum-Textfield-validationIcon", (0, $aQREU$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($8fb52a80fe52b1c7$exports))), "spectrum-InputGroup-input-validationIcon"), (0, $aQREU$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($5589e2270a5c2f51$exports))), "spectrum-Search-validationIcon"))
817
- });
818
- let { hoverProps: hoverProps, isHovered: isHovered } = (0, $aQREU$useHover)({});
819
- let { isFocused: isFocused, isFocusVisible: isFocusVisible, focusProps: focusProps } = (0, $aQREU$useFocusRing)();
820
- let { buttonProps: buttonProps } = (0, $aQREU$useButton)({
821
- ...props,
822
- "aria-labelledby": [
823
- props["aria-labelledby"],
824
- props["aria-label"] && !props["aria-labelledby"] ? props.id : null,
825
- valueId,
826
- validationState === "invalid" ? invalidId : null
827
- ].filter(Boolean).join(" "),
828
- elementType: "div"
829
- }, ref);
830
- return /*#__PURE__*/ (0, $aQREU$react).createElement("div", {
831
- ...(0, $aQREU$mergeProps)(hoverProps, focusProps, buttonProps),
832
- "aria-haspopup": "dialog",
833
- ref: ref,
834
- style: {
835
- ...style,
836
- outline: "none"
837
- },
838
- className: (0, $aQREU$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($8fb52a80fe52b1c7$exports))), "spectrum-InputGroup", {
839
- "spectrum-InputGroup--quiet": isQuiet,
840
- "is-disabled": isDisabled,
841
- "spectrum-InputGroup--invalid": validationState === "invalid" && !isDisabled,
842
- "is-hovered": isHovered,
843
- "is-focused": isFocused,
844
- "focus-ring": isFocusVisible
845
- }, (0, $aQREU$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($f6bdc9f20ce7ef93$exports))), "searchautocomplete", "mobile-searchautocomplete"), className)
846
- }, /*#__PURE__*/ (0, $aQREU$react).createElement("div", {
847
- className: (0, $aQREU$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($c14528ddc146317f$exports))), "spectrum-Textfield", {
848
- "spectrum-Textfield--invalid": validationState === "invalid" && !isDisabled,
849
- "spectrum-Textfield--valid": validationState === "valid" && !isDisabled,
850
- "spectrum-Textfield--quiet": isQuiet
851
- }, (0, $aQREU$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($5589e2270a5c2f51$exports))), "spectrum-Search", "spectrum-Search--loadable", {
852
- "is-disabled": isDisabled,
853
- "is-quiet": isQuiet,
854
- "spectrum-Search--invalid": validationState === "invalid" && !isDisabled,
855
- "spectrum-Search--valid": validationState === "valid" && !isDisabled
856
- }), (0, $aQREU$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($8fb52a80fe52b1c7$exports))), "spectrum-InputGroup-field"))
857
- }, /*#__PURE__*/ (0, $aQREU$react).createElement("div", {
858
- className: (0, $aQREU$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($c14528ddc146317f$exports))), "spectrum-Textfield-input", {
859
- "spectrum-Textfield-inputIcon": !!icon,
860
- "is-hovered": isHovered,
861
- "is-placeholder": isPlaceholder,
862
- "is-disabled": isDisabled,
863
- "is-quiet": isQuiet,
864
- "is-focused": isFocused
865
- }, (0, $aQREU$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($5589e2270a5c2f51$exports))), "spectrum-Search-input"), (0, $aQREU$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($f6bdc9f20ce7ef93$exports))), "mobile-input"))
866
- }, icon, /*#__PURE__*/ (0, $aQREU$react).createElement("span", {
867
- id: valueId,
868
- className: (0, $aQREU$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($f6bdc9f20ce7ef93$exports))), "mobile-value")
869
- }, children)), validationState && !isDisabled ? validation : null, (inputValue !== "" || validationState != null) && !isReadOnly && clearButton));
870
- });
871
- function $c940f54e16bafef5$var$SearchAutocompleteTray(props) {
872
- let searchIcon = /*#__PURE__*/ (0, $aQREU$react).createElement((0, $aQREU$spectrumiconsuiMagnifier), {
873
- "data-testid": "searchicon"
874
- });
875
- let { state: // completionMode = 'suggest',
876
- state, icon: icon = searchIcon, isDisabled: isDisabled, validationState: validationState, label: label, overlayProps: overlayProps, loadingState: loadingState, onLoadMore: onLoadMore, onClose: onClose, onSubmit: onSubmit } = props;
877
- let timeout = (0, $aQREU$useRef)(null);
878
- let [showLoading, setShowLoading] = (0, $aQREU$useState)(false);
879
- let inputRef = (0, $aQREU$useRef)(null);
880
- let popoverRef = (0, $aQREU$useRef)(null);
881
- let listBoxRef = (0, $aQREU$useRef)(null);
882
- let isLoading = loadingState === "loading" || loadingState === "loadingMore";
883
- let layout = (0, $aQREU$useListBoxLayout)(state, isLoading);
884
- let stringFormatter = (0, $aQREU$useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($67773d1975e0a845$exports))));
885
- let { inputProps: inputProps, listBoxProps: listBoxProps, labelProps: labelProps, clearButtonProps: clearButtonProps } = (0, $aQREU$useSearchAutocomplete)({
886
- ...props,
887
- keyboardDelegate: layout,
888
- popoverRef: popoverRef,
889
- listBoxRef: listBoxRef,
890
- inputRef: inputRef,
891
- // Handled outside the tray.
892
- name: undefined
893
- }, state);
894
- (0, $aQREU$react).useEffect(()=>{
895
- if (inputRef.current) (0, $aQREU$focusSafely)(inputRef.current);
896
- }, []);
897
- (0, $aQREU$react).useEffect(()=>{
898
- // When the tray closes, set state.isFocused (i.e. the tray input's focus tracker) to false.
899
- // This is to prevent state.isFocused from being set to true when the tray closes via tapping on the underlay
900
- // (FocusScope attempts to restore focus to the tray input when tapping outside the tray due to "contain")
901
- // Have to do this manually since React doesn't call onBlur when a component is unmounted: https://github.com/facebook/react/issues/12363
902
- if (!state.isOpen && state.isFocused) state.setFocused(false);
903
- });
904
- let { dialogProps: dialogProps } = (0, $aQREU$useDialog)({
905
- "aria-labelledby": (0, $aQREU$useId)(labelProps.id)
906
- }, popoverRef);
907
- // Override the role of the input to "searchbox" instead of "combobox".
908
- // Since the listbox is always visible, the combobox role doesn't really give us anything.
909
- // VoiceOver on iOS reads "double tap to collapse" when focused on the input rather than
910
- // "double tap to edit text", as with a textbox or searchbox. We'd like double tapping to
911
- // open the virtual keyboard rather than closing the tray.
912
- inputProps.role = "searchbox";
913
- inputProps["aria-haspopup"] = "listbox";
914
- delete inputProps.onTouchEnd;
915
- let clearButton = /*#__PURE__*/ (0, $aQREU$react).createElement((0, $aQREU$ClearButton), {
916
- ...clearButtonProps,
917
- preventFocus: true,
918
- "aria-label": stringFormatter.format("clear"),
919
- excludeFromTabOrder: true,
920
- UNSAFE_className: (0, $aQREU$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($5589e2270a5c2f51$exports))), "spectrum-ClearButton"),
921
- isDisabled: isDisabled
922
- });
923
- let loadingCircle = /*#__PURE__*/ (0, $aQREU$react).createElement((0, $aQREU$ProgressCircle), {
924
- "aria-label": stringFormatter.format("loading"),
925
- size: "S",
926
- isIndeterminate: true,
927
- UNSAFE_className: (0, $aQREU$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($5589e2270a5c2f51$exports))), "spectrum-Search-circleLoader", (0, $aQREU$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($c14528ddc146317f$exports))), "spectrum-Textfield-circleLoader"))
928
- });
929
- // Close the software keyboard on scroll to give the user a bigger area to scroll.
930
- // But only do this if scrolling with touch, otherwise it can cause issues with touch
931
- // screen readers.
932
- let isTouchDown = (0, $aQREU$useRef)(false);
933
- let onTouchStart = ()=>{
934
- isTouchDown.current = true;
935
- };
936
- let onTouchEnd = ()=>{
937
- isTouchDown.current = false;
938
- };
939
- let onScroll = (0, $aQREU$useCallback)(()=>{
940
- if (!inputRef.current || document.activeElement !== inputRef.current || !isTouchDown.current) return;
941
- if (popoverRef.current) popoverRef.current.focus();
942
- }, [
943
- inputRef,
944
- popoverRef,
945
- isTouchDown
946
- ]);
947
- let inputValue = inputProps.value;
948
- let lastInputValue = (0, $aQREU$useRef)(inputValue);
949
- (0, $aQREU$useEffect)(()=>{
950
- if (loadingState === "filtering" && !showLoading) {
951
- if (timeout.current === null) timeout.current = setTimeout(()=>{
952
- setShowLoading(true);
953
- }, 500);
954
- // If user is typing, clear the timer and restart since it is a new request
955
- if (inputValue !== lastInputValue.current) {
956
- clearTimeout(timeout.current);
957
- timeout.current = setTimeout(()=>{
958
- setShowLoading(true);
959
- }, 500);
960
- }
961
- } else if (loadingState !== "filtering") {
962
- // If loading is no longer happening, clear any timers and hide the loading circle
963
- setShowLoading(false);
964
- if (timeout.current !== null) {
965
- clearTimeout(timeout.current);
966
- timeout.current = null;
967
- }
968
- }
969
- lastInputValue.current = inputValue;
970
- }, [
971
- loadingState,
972
- inputValue,
973
- showLoading
974
- ]);
975
- let onKeyDown = (e)=>{
976
- // Close virtual keyboard, close tray, and fire onSubmit if user hits Enter w/o any focused options
977
- if (e.key === "Enter" && state.selectionManager.focusedKey == null) {
978
- var _popoverRef_current;
979
- (_popoverRef_current = popoverRef.current) === null || _popoverRef_current === void 0 ? void 0 : _popoverRef_current.focus();
980
- if (onClose) onClose();
981
- if (onSubmit) onSubmit(inputValue == null ? null : inputValue.toString(), null);
982
- } else if (inputProps.onKeyDown) inputProps.onKeyDown(e);
983
- };
984
- if (icon) icon = /*#__PURE__*/ (0, $aQREU$react).cloneElement(icon, {
985
- UNSAFE_className: (0, $aQREU$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($c14528ddc146317f$exports))), "spectrum-Textfield-icon"),
986
- size: "S"
987
- });
988
- return /*#__PURE__*/ (0, $aQREU$react).createElement((0, $aQREU$FocusScope), {
989
- restoreFocus: true,
990
- contain: true
991
- }, /*#__PURE__*/ (0, $aQREU$react).createElement("div", {
992
- ...(0, $aQREU$mergeProps)(overlayProps, dialogProps),
993
- ref: popoverRef,
994
- className: (0, $aQREU$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($f6bdc9f20ce7ef93$exports))), "tray-dialog")
995
- }, /*#__PURE__*/ (0, $aQREU$react).createElement((0, $aQREU$DismissButton), {
996
- onDismiss: onClose
997
- }), /*#__PURE__*/ (0, $aQREU$react).createElement((0, $aQREU$TextFieldBase), {
998
- label: label,
999
- labelProps: labelProps,
1000
- inputProps: {
1001
- ...inputProps,
1002
- onKeyDown: onKeyDown
1003
- },
1004
- inputRef: inputRef,
1005
- isDisabled: isDisabled,
1006
- isLoading: showLoading && loadingState === "filtering",
1007
- loadingIndicator: loadingState != null ? loadingCircle : undefined,
1008
- validationState: validationState,
1009
- wrapperChildren: (state.inputValue !== "" || loadingState === "filtering" || validationState != null) && !props.isReadOnly ? clearButton : undefined,
1010
- icon: icon,
1011
- UNSAFE_className: (0, $aQREU$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($5589e2270a5c2f51$exports))), "spectrum-Search", "spectrum-Textfield", "spectrum-Search--loadable", {
1012
- "spectrum-Search--invalid": validationState === "invalid" && !isDisabled,
1013
- "spectrum-Search--valid": validationState === "valid" && !isDisabled
1014
- }, (0, $aQREU$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($f6bdc9f20ce7ef93$exports))), "tray-textfield", {
1015
- "has-label": !!props.label
1016
- })),
1017
- inputClassName: (0, $aQREU$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($5589e2270a5c2f51$exports))), "spectrum-Search-input"),
1018
- validationIconClassName: (0, $aQREU$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($5589e2270a5c2f51$exports))), "spectrum-Search-validationIcon")
1019
- }), /*#__PURE__*/ (0, $aQREU$react).createElement((0, $aQREU$ListBoxBase), {
1020
- ...listBoxProps,
1021
- domProps: {
1022
- onTouchStart: onTouchStart,
1023
- onTouchEnd: onTouchEnd
1024
- },
1025
- disallowEmptySelection: true,
1026
- shouldSelectOnPressUp: true,
1027
- focusOnPointerEnter: true,
1028
- layout: layout,
1029
- state: state,
1030
- shouldUseVirtualFocus: true,
1031
- renderEmptyState: ()=>loadingState !== "loading" && /*#__PURE__*/ (0, $aQREU$react).createElement("span", {
1032
- className: (0, $aQREU$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($f6bdc9f20ce7ef93$exports))), "no-results")
1033
- }, stringFormatter.format("noResults")),
1034
- UNSAFE_className: (0, $aQREU$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($f6bdc9f20ce7ef93$exports))), "tray-listbox"),
1035
- ref: listBoxRef,
1036
- onScroll: onScroll,
1037
- onLoadMore: onLoadMore,
1038
- isLoading: isLoading
1039
- }), /*#__PURE__*/ (0, $aQREU$react).createElement((0, $aQREU$DismissButton), {
1040
- onDismiss: onClose
1041
- })));
1042
- }
1043
-
1044
-
1045
-
1046
-
1047
-
1048
-
1049
-
1050
-
1051
-
1052
-
1053
-
1054
-
1055
-
1056
-
1057
-
1058
-
1059
- function $f3f3b62273a2d260$var$SearchAutocomplete(props, ref) {
1060
- props = (0, $aQREU$useProviderProps)(props);
1061
- props = (0, $aQREU$useFormProps)(props);
1062
- if (props.placeholder) console.warn("Placeholders are deprecated due to accessibility issues. Please use help text instead.");
1063
- let isMobile = (0, $aQREU$useIsMobileDevice)();
1064
- if (isMobile) // menuTrigger=focus/manual don't apply to mobile searchwithin
1065
- return /*#__PURE__*/ (0, $aQREU$react).createElement((0, $c940f54e16bafef5$export$e7a90f7d6b078162), {
1066
- ...props,
1067
- menuTrigger: "input",
1068
- ref: ref
1069
- });
1070
- else return /*#__PURE__*/ (0, $aQREU$react).createElement($f3f3b62273a2d260$var$SearchAutocompleteBase, {
1071
- ...props,
1072
- ref: ref
1073
- });
1074
- }
1075
- function $f3f3b62273a2d260$var$_SearchAutocompleteBase(props, ref) {
1076
- props = (0, $aQREU$useProviderProps)(props);
1077
- let { menuTrigger: menuTrigger = "input", shouldFlip: shouldFlip = true, direction: direction = "bottom", isQuiet: isQuiet, loadingState: loadingState, onLoadMore: onLoadMore, onSubmit: onSubmit = ()=>{}, validate: validate } = props;
1078
- let stringFormatter = (0, $aQREU$useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($67773d1975e0a845$exports))));
1079
- let isAsync = loadingState != null;
1080
- let popoverRef = (0, $aQREU$useRef)(null);
1081
- let unwrappedPopoverRef = (0, $aQREU$useUnwrapDOMRef)(popoverRef);
1082
- let listBoxRef = (0, $aQREU$useRef)(null);
1083
- let inputRef = (0, $aQREU$useRef)(null);
1084
- let domRef = (0, $aQREU$useFocusableRef)(ref, inputRef);
1085
- let { contains: contains } = (0, $aQREU$useFilter)({
1086
- sensitivity: "base"
1087
- });
1088
- let state = (0, $aQREU$useComboBoxState)({
1089
- ...props,
1090
- defaultFilter: contains,
1091
- allowsEmptyCollection: isAsync,
1092
- allowsCustomValue: true,
1093
- onSelectionChange: (key)=>key !== null && onSubmit(null, key),
1094
- selectedKey: undefined,
1095
- defaultSelectedKey: undefined,
1096
- validate: (0, $aQREU$useCallback)((v)=>validate === null || validate === void 0 ? void 0 : validate(v.inputValue), [
1097
- validate
1098
- ])
1099
- });
1100
- let layout = (0, $aQREU$useListBoxLayout)(state, loadingState === "loadingMore");
1101
- let { inputProps: inputProps, listBoxProps: listBoxProps, labelProps: labelProps, clearButtonProps: clearButtonProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps, isInvalid: isInvalid, validationErrors: validationErrors, validationDetails: validationDetails } = (0, $aQREU$useSearchAutocomplete)({
1102
- ...props,
1103
- keyboardDelegate: layout,
1104
- popoverRef: unwrappedPopoverRef,
1105
- listBoxRef: listBoxRef,
1106
- inputRef: inputRef,
1107
- menuTrigger: menuTrigger
1108
- }, state);
1109
- // Measure the width of the inputfield to inform the width of the menu (below).
1110
- let [menuWidth, setMenuWidth] = (0, $aQREU$useState)(0);
1111
- let { scale: scale } = (0, $aQREU$useProvider)();
1112
- let onResize = (0, $aQREU$useCallback)(()=>{
1113
- if (inputRef.current) {
1114
- let inputWidth = inputRef.current.offsetWidth;
1115
- setMenuWidth(inputWidth);
1116
- }
1117
- }, [
1118
- inputRef,
1119
- setMenuWidth
1120
- ]);
1121
- (0, $aQREU$useResizeObserver)({
1122
- ref: domRef,
1123
- onResize: onResize
1124
- });
1125
- (0, $aQREU$useLayoutEffect)(onResize, [
1126
- scale,
1127
- onResize
1128
- ]);
1129
- let style = {
1130
- width: isQuiet ? undefined : menuWidth,
1131
- minWidth: isQuiet ? `calc(${menuWidth}px + calc(2 * var(--spectrum-dropdown-quiet-offset)))` : menuWidth
1132
- };
1133
- return /*#__PURE__*/ (0, $aQREU$react).createElement((0, $aQREU$react).Fragment, null, /*#__PURE__*/ (0, $aQREU$react).createElement((0, $aQREU$Field), {
1134
- ...props,
1135
- descriptionProps: descriptionProps,
1136
- errorMessageProps: errorMessageProps,
1137
- labelProps: labelProps,
1138
- isInvalid: isInvalid,
1139
- validationErrors: validationErrors,
1140
- validationDetails: validationDetails,
1141
- ref: domRef
1142
- }, /*#__PURE__*/ (0, $aQREU$react).createElement($f3f3b62273a2d260$var$SearchAutocompleteInput, {
1143
- ...props,
1144
- isOpen: state.isOpen,
1145
- loadingState: loadingState,
1146
- inputProps: inputProps,
1147
- inputRef: inputRef,
1148
- clearButtonProps: clearButtonProps,
1149
- validationState: props.validationState || (isInvalid ? "invalid" : undefined)
1150
- })), /*#__PURE__*/ (0, $aQREU$react).createElement((0, $aQREU$Popover), {
1151
- state: state,
1152
- UNSAFE_style: style,
1153
- UNSAFE_className: (0, $aQREU$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($8fb52a80fe52b1c7$exports))), "spectrum-InputGroup-popover", {
1154
- "spectrum-InputGroup-popover--quiet": isQuiet
1155
- }),
1156
- ref: popoverRef,
1157
- triggerRef: inputRef,
1158
- placement: `${direction} end`,
1159
- hideArrow: true,
1160
- isNonModal: true,
1161
- shouldFlip: shouldFlip
1162
- }, /*#__PURE__*/ (0, $aQREU$react).createElement((0, $aQREU$ListBoxBase), {
1163
- ...listBoxProps,
1164
- ref: listBoxRef,
1165
- disallowEmptySelection: true,
1166
- autoFocus: state.focusStrategy,
1167
- shouldSelectOnPressUp: true,
1168
- focusOnPointerEnter: true,
1169
- layout: layout,
1170
- state: state,
1171
- shouldUseVirtualFocus: true,
1172
- isLoading: loadingState === "loading" || loadingState === "loadingMore",
1173
- onLoadMore: onLoadMore,
1174
- renderEmptyState: ()=>isAsync && /*#__PURE__*/ (0, $aQREU$react).createElement("span", {
1175
- className: (0, $aQREU$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($f6bdc9f20ce7ef93$exports))), "no-results")
1176
- }, stringFormatter.format("noResults"))
1177
- })));
1178
- }
1179
- let $f3f3b62273a2d260$var$SearchAutocompleteBase = /*#__PURE__*/ (0, $aQREU$react).forwardRef($f3f3b62273a2d260$var$_SearchAutocompleteBase);
1180
- // any type is because we don't want to call useObjectRef because this is an internal component and we know
1181
- // we are always passing an object ref
1182
- function $f3f3b62273a2d260$var$_SearchAutocompleteInput(props, ref) {
1183
- let searchIcon = /*#__PURE__*/ (0, $aQREU$react).createElement((0, $aQREU$spectrumiconsuiMagnifier), {
1184
- "data-testid": "searchicon"
1185
- });
1186
- let { icon: icon = searchIcon, isQuiet: isQuiet, isDisabled: isDisabled, isReadOnly: isReadOnly, validationState: validationState, inputProps: inputProps, inputRef: inputRef, autoFocus: autoFocus, style: style, className: className, loadingState: loadingState, isOpen: isOpen, menuTrigger: menuTrigger, clearButtonProps: clearButtonProps } = props;
1187
- let { hoverProps: hoverProps, isHovered: isHovered } = (0, $aQREU$useHover)({});
1188
- let stringFormatter = (0, $aQREU$useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($67773d1975e0a845$exports))));
1189
- let domProps = (0, $aQREU$filterDOMProps)(props);
1190
- let timeout = (0, $aQREU$useRef)(null);
1191
- let [showLoading, setShowLoading] = (0, $aQREU$useState)(false);
1192
- let loadingCircle = /*#__PURE__*/ (0, $aQREU$react).createElement((0, $aQREU$ProgressCircle), {
1193
- "aria-label": stringFormatter.format("loading"),
1194
- size: "S",
1195
- isIndeterminate: true,
1196
- UNSAFE_className: (0, $aQREU$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($c14528ddc146317f$exports))), "spectrum-Textfield-circleLoader", (0, $aQREU$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($8fb52a80fe52b1c7$exports))), "spectrum-InputGroup-input-circleLoader"), (0, $aQREU$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($5589e2270a5c2f51$exports))), "spectrum-Search-circleLoader"))
1197
- });
1198
- let clearButton = /*#__PURE__*/ (0, $aQREU$react).createElement((0, $aQREU$ClearButton), {
1199
- ...clearButtonProps,
1200
- preventFocus: true,
1201
- UNSAFE_className: (0, $aQREU$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($5589e2270a5c2f51$exports))), "spectrum-ClearButton"),
1202
- isDisabled: isDisabled
1203
- });
1204
- let isLoading = loadingState === "loading" || loadingState === "filtering";
1205
- let inputValue = inputProps.value;
1206
- let lastInputValue = (0, $aQREU$useRef)(inputValue);
1207
- (0, $aQREU$useEffect)(()=>{
1208
- if (isLoading && !showLoading) {
1209
- if (timeout.current === null) timeout.current = setTimeout(()=>{
1210
- setShowLoading(true);
1211
- }, 500);
1212
- // If user is typing, clear the timer and restart since it is a new request
1213
- if (inputValue !== lastInputValue.current) {
1214
- clearTimeout(timeout.current);
1215
- timeout.current = setTimeout(()=>{
1216
- setShowLoading(true);
1217
- }, 500);
1218
- }
1219
- } else if (!isLoading) {
1220
- // If loading is no longer happening, clear any timers and hide the loading circle
1221
- setShowLoading(false);
1222
- if (timeout.current != null) {
1223
- clearTimeout(timeout.current);
1224
- timeout.current = null;
1225
- }
1226
- }
1227
- lastInputValue.current = inputValue;
1228
- }, [
1229
- isLoading,
1230
- showLoading,
1231
- inputValue
1232
- ]);
1233
- return /*#__PURE__*/ (0, $aQREU$react).createElement((0, $aQREU$FocusRing), {
1234
- within: true,
1235
- isTextInput: true,
1236
- focusClass: (0, $aQREU$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($8fb52a80fe52b1c7$exports))), "is-focused"),
1237
- focusRingClass: (0, $aQREU$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($8fb52a80fe52b1c7$exports))), "focus-ring"),
1238
- autoFocus: autoFocus
1239
- }, /*#__PURE__*/ (0, $aQREU$react).createElement("div", {
1240
- ...hoverProps,
1241
- ref: ref,
1242
- style: style,
1243
- className: (0, $aQREU$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($8fb52a80fe52b1c7$exports))), "spectrum-InputGroup", {
1244
- "spectrum-InputGroup--quiet": isQuiet,
1245
- "is-disabled": isDisabled,
1246
- "spectrum-InputGroup--invalid": validationState === "invalid" && !isDisabled,
1247
- "is-hovered": isHovered
1248
- }, (0, $aQREU$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($f6bdc9f20ce7ef93$exports))), "searchautocomplete"), className)
1249
- }, /*#__PURE__*/ (0, $aQREU$react).createElement((0, $aQREU$TextFieldBase), {
1250
- ...domProps,
1251
- inputProps: inputProps,
1252
- inputRef: inputRef,
1253
- UNSAFE_className: (0, $aQREU$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($5589e2270a5c2f51$exports))), "spectrum-Search", "spectrum-Search--loadable", "spectrum-Textfield", {
1254
- "is-disabled": isDisabled,
1255
- "is-quiet": isQuiet,
1256
- "spectrum-Search--invalid": validationState === "invalid" && !isDisabled,
1257
- "spectrum-Search--valid": validationState === "valid" && !isDisabled
1258
- }, (0, $aQREU$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($8fb52a80fe52b1c7$exports))), "spectrum-InputGroup-field")),
1259
- inputClassName: (0, $aQREU$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($5589e2270a5c2f51$exports))), "spectrum-Search-input"),
1260
- validationIconClassName: (0, $aQREU$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($5589e2270a5c2f51$exports))), "spectrum-Search-validationIcon"),
1261
- isDisabled: isDisabled,
1262
- isQuiet: isQuiet,
1263
- validationState: validationState,
1264
- isLoading: showLoading && (isOpen || menuTrigger === "manual" || loadingState === "loading"),
1265
- loadingIndicator: loadingState != null ? loadingCircle : undefined,
1266
- icon: icon,
1267
- wrapperChildren: (inputValue !== "" || loadingState === "filtering" || validationState != null) && !isReadOnly ? clearButton : undefined,
1268
- disableFocusRing: true
1269
- })));
1270
- }
1271
- let $f3f3b62273a2d260$var$SearchAutocompleteInput = /*#__PURE__*/ (0, $aQREU$react).forwardRef($f3f3b62273a2d260$var$_SearchAutocompleteInput);
1272
- /**
1273
- * A SearchAutocomplete is a searchfield that supports a dynamic list of suggestions.
1274
- */ let $f3f3b62273a2d260$export$dd65332a5b19fa63 = /*#__PURE__*/ (0, $aQREU$forwardRef)($f3f3b62273a2d260$var$SearchAutocomplete);
1275
-
1276
-
1277
-
1278
-
1279
-
1280
- export {$f3f3b62273a2d260$export$dd65332a5b19fa63 as SearchAutocomplete, $dc667e3abdbeb6b2$re_export$Item as Item, $dc667e3abdbeb6b2$re_export$Section as Section};
1281
- //# sourceMappingURL=module.js.map