@react-spectrum/combobox 3.4.2-nightly.3362 → 3.4.2-nightly.3373
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/main.js +215 -64
- package/dist/main.js.map +1 -1
- package/dist/module.js +216 -49
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +27 -27
- package/src/ComboBox.tsx +5 -5
- package/src/MobileComboBox.tsx +7 -7
- package/src/index.ts +1 -1
package/dist/main.js
CHANGED
|
@@ -26,31 +26,13 @@ var $15RmB$reactarialabel = require("@react-aria/label");
|
|
|
26
26
|
function $parcel$export(e, n, v, s) {
|
|
27
27
|
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
28
28
|
}
|
|
29
|
-
function $parcel$exportWildcard(dest, source) {
|
|
30
|
-
Object.keys(source).forEach(function(key) {
|
|
31
|
-
if (key === 'default' || key === '__esModule' || dest.hasOwnProperty(key)) {
|
|
32
|
-
return;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
Object.defineProperty(dest, key, {
|
|
36
|
-
enumerable: true,
|
|
37
|
-
get: function get() {
|
|
38
|
-
return source[key];
|
|
39
|
-
}
|
|
40
|
-
});
|
|
41
|
-
});
|
|
42
|
-
|
|
43
|
-
return dest;
|
|
44
|
-
}
|
|
45
29
|
function $parcel$interopDefault(a) {
|
|
46
30
|
return a && a.__esModule ? a.default : a;
|
|
47
31
|
}
|
|
48
32
|
|
|
33
|
+
$parcel$export(module.exports, "ComboBox", () => $e4f518eb9b010873$export$72b9695b8216309a);
|
|
49
34
|
$parcel$export(module.exports, "Item", () => $15RmB$reactstatelycollections.Item);
|
|
50
35
|
$parcel$export(module.exports, "Section", () => $15RmB$reactstatelycollections.Section);
|
|
51
|
-
var $e4f518eb9b010873$exports = {};
|
|
52
|
-
|
|
53
|
-
$parcel$export($e4f518eb9b010873$exports, "ComboBox", () => $e4f518eb9b010873$export$72b9695b8216309a);
|
|
54
36
|
|
|
55
37
|
|
|
56
38
|
var $41fae9390a5a37fa$exports = {};
|
|
@@ -90,139 +72,309 @@ $41fae9390a5a37fa$export$7281dc54d38d4bed = "tray-listbox_743018";
|
|
|
90
72
|
|
|
91
73
|
var $ead3369732595b45$exports = {};
|
|
92
74
|
var $152076b938000ae9$exports = {};
|
|
93
|
-
$152076b938000ae9$exports =
|
|
75
|
+
$152076b938000ae9$exports = {
|
|
76
|
+
"clear": `مسح`,
|
|
77
|
+
"invalid": `(غير صالح)`,
|
|
78
|
+
"loading": `جارٍ التحميل...`,
|
|
79
|
+
"noResults": `لا توجد نتائج`
|
|
80
|
+
};
|
|
94
81
|
|
|
95
82
|
|
|
96
83
|
var $dcea84998d0f72ba$exports = {};
|
|
97
|
-
$dcea84998d0f72ba$exports =
|
|
84
|
+
$dcea84998d0f72ba$exports = {
|
|
85
|
+
"clear": `Изчисти`,
|
|
86
|
+
"invalid": `(невалиден)`,
|
|
87
|
+
"loading": `Зареждане...`,
|
|
88
|
+
"noResults": `Няма резултати`
|
|
89
|
+
};
|
|
98
90
|
|
|
99
91
|
|
|
100
92
|
var $e2afe9c05aaca9a6$exports = {};
|
|
101
|
-
$e2afe9c05aaca9a6$exports =
|
|
93
|
+
$e2afe9c05aaca9a6$exports = {
|
|
94
|
+
"clear": `Vymazat`,
|
|
95
|
+
"invalid": `(neplatné)`,
|
|
96
|
+
"loading": `Načítání...`,
|
|
97
|
+
"noResults": `Žádné výsledky`
|
|
98
|
+
};
|
|
102
99
|
|
|
103
100
|
|
|
104
101
|
var $b07b8473336e409f$exports = {};
|
|
105
|
-
$b07b8473336e409f$exports =
|
|
102
|
+
$b07b8473336e409f$exports = {
|
|
103
|
+
"clear": `Ryd`,
|
|
104
|
+
"invalid": `(ugyldig)`,
|
|
105
|
+
"loading": `Indlæser ...`,
|
|
106
|
+
"noResults": `Ingen resultater`
|
|
107
|
+
};
|
|
106
108
|
|
|
107
109
|
|
|
108
110
|
var $565b0d70715530bf$exports = {};
|
|
109
|
-
$565b0d70715530bf$exports =
|
|
111
|
+
$565b0d70715530bf$exports = {
|
|
112
|
+
"clear": `Löschen`,
|
|
113
|
+
"invalid": `(ungültig)`,
|
|
114
|
+
"loading": `Wird geladen...`,
|
|
115
|
+
"noResults": `Keine Ergebnisse`
|
|
116
|
+
};
|
|
110
117
|
|
|
111
118
|
|
|
112
119
|
var $be8dbfb0257714f3$exports = {};
|
|
113
|
-
$be8dbfb0257714f3$exports =
|
|
120
|
+
$be8dbfb0257714f3$exports = {
|
|
121
|
+
"clear": `Καθαρισμός`,
|
|
122
|
+
"invalid": `(δεν ισχύει)`,
|
|
123
|
+
"loading": `Φόρτωση...`,
|
|
124
|
+
"noResults": `Χωρίς αποτέλεσμα`
|
|
125
|
+
};
|
|
114
126
|
|
|
115
127
|
|
|
116
128
|
var $f3570bd085354923$exports = {};
|
|
117
|
-
$f3570bd085354923$exports =
|
|
129
|
+
$f3570bd085354923$exports = {
|
|
130
|
+
"loading": `Loading...`,
|
|
131
|
+
"noResults": `No results`,
|
|
132
|
+
"clear": `Clear`,
|
|
133
|
+
"invalid": `(invalid)`
|
|
134
|
+
};
|
|
118
135
|
|
|
119
136
|
|
|
120
137
|
var $9f5a226baeced6ef$exports = {};
|
|
121
|
-
$9f5a226baeced6ef$exports =
|
|
138
|
+
$9f5a226baeced6ef$exports = {
|
|
139
|
+
"clear": `Borrar`,
|
|
140
|
+
"invalid": `(no válido)`,
|
|
141
|
+
"loading": `Cargando...`,
|
|
142
|
+
"noResults": `Sin resultados`
|
|
143
|
+
};
|
|
122
144
|
|
|
123
145
|
|
|
124
146
|
var $43e4006a71312956$exports = {};
|
|
125
|
-
$43e4006a71312956$exports =
|
|
147
|
+
$43e4006a71312956$exports = {
|
|
148
|
+
"clear": `Puhasta`,
|
|
149
|
+
"invalid": `(kehtetu)`,
|
|
150
|
+
"loading": `Laadimine...`,
|
|
151
|
+
"noResults": `Tulemusi pole`
|
|
152
|
+
};
|
|
126
153
|
|
|
127
154
|
|
|
128
155
|
var $a55295dc05e185e7$exports = {};
|
|
129
|
-
$a55295dc05e185e7$exports =
|
|
156
|
+
$a55295dc05e185e7$exports = {
|
|
157
|
+
"clear": `Kirkas`,
|
|
158
|
+
"invalid": `(epäkelpo)`,
|
|
159
|
+
"loading": `Ladataan...`,
|
|
160
|
+
"noResults": `Ei tuloksia`
|
|
161
|
+
};
|
|
130
162
|
|
|
131
163
|
|
|
132
164
|
var $b9f7716c5f36c59c$exports = {};
|
|
133
|
-
$b9f7716c5f36c59c$exports =
|
|
165
|
+
$b9f7716c5f36c59c$exports = {
|
|
166
|
+
"clear": `Effacer`,
|
|
167
|
+
"invalid": `(non valide)`,
|
|
168
|
+
"loading": `Chargement en cours...`,
|
|
169
|
+
"noResults": `Aucun résultat`
|
|
170
|
+
};
|
|
134
171
|
|
|
135
172
|
|
|
136
173
|
var $815542f65567f18e$exports = {};
|
|
137
|
-
$815542f65567f18e$exports =
|
|
174
|
+
$815542f65567f18e$exports = {
|
|
175
|
+
"clear": `נקי`,
|
|
176
|
+
"invalid": `(לא חוקי)`,
|
|
177
|
+
"loading": `טוען...`,
|
|
178
|
+
"noResults": `אין תוצאות`
|
|
179
|
+
};
|
|
138
180
|
|
|
139
181
|
|
|
140
182
|
var $c0038bc04716412b$exports = {};
|
|
141
|
-
$c0038bc04716412b$exports =
|
|
183
|
+
$c0038bc04716412b$exports = {
|
|
184
|
+
"clear": `Izbriši`,
|
|
185
|
+
"invalid": `(nevažeće)`,
|
|
186
|
+
"loading": `Učitavam...`,
|
|
187
|
+
"noResults": `Nema rezultata`
|
|
188
|
+
};
|
|
142
189
|
|
|
143
190
|
|
|
144
191
|
var $03960095ed16cbef$exports = {};
|
|
145
|
-
$03960095ed16cbef$exports =
|
|
192
|
+
$03960095ed16cbef$exports = {
|
|
193
|
+
"clear": `Törlés`,
|
|
194
|
+
"invalid": `(érvénytelen)`,
|
|
195
|
+
"loading": `Betöltés folyamatban…`,
|
|
196
|
+
"noResults": `Nincsenek találatok`
|
|
197
|
+
};
|
|
146
198
|
|
|
147
199
|
|
|
148
200
|
var $80b62c99426ca399$exports = {};
|
|
149
|
-
$80b62c99426ca399$exports =
|
|
201
|
+
$80b62c99426ca399$exports = {
|
|
202
|
+
"clear": `Cancella`,
|
|
203
|
+
"invalid": `(non valido)`,
|
|
204
|
+
"loading": `Caricamento in corso...`,
|
|
205
|
+
"noResults": `Nessun risultato`
|
|
206
|
+
};
|
|
150
207
|
|
|
151
208
|
|
|
152
209
|
var $4f3d7bf4420bf986$exports = {};
|
|
153
|
-
$4f3d7bf4420bf986$exports =
|
|
210
|
+
$4f3d7bf4420bf986$exports = {
|
|
211
|
+
"clear": `クリア`,
|
|
212
|
+
"invalid": `(無効)`,
|
|
213
|
+
"loading": `読み込み中...`,
|
|
214
|
+
"noResults": `結果なし`
|
|
215
|
+
};
|
|
154
216
|
|
|
155
217
|
|
|
156
218
|
var $f59c0b2008842991$exports = {};
|
|
157
|
-
$f59c0b2008842991$exports =
|
|
219
|
+
$f59c0b2008842991$exports = {
|
|
220
|
+
"clear": `지우기`,
|
|
221
|
+
"invalid": `(유효하지 않음)`,
|
|
222
|
+
"loading": `로드 중...`,
|
|
223
|
+
"noResults": `결과 없음`
|
|
224
|
+
};
|
|
158
225
|
|
|
159
226
|
|
|
160
227
|
var $12496033fbabd6e4$exports = {};
|
|
161
|
-
$12496033fbabd6e4$exports =
|
|
228
|
+
$12496033fbabd6e4$exports = {
|
|
229
|
+
"clear": `Skaidrus`,
|
|
230
|
+
"invalid": `(netinkama)`,
|
|
231
|
+
"loading": `Įkeliama...`,
|
|
232
|
+
"noResults": `Be rezultatų`
|
|
233
|
+
};
|
|
162
234
|
|
|
163
235
|
|
|
164
236
|
var $fb44049da7bffead$exports = {};
|
|
165
|
-
$fb44049da7bffead$exports =
|
|
237
|
+
$fb44049da7bffead$exports = {
|
|
238
|
+
"clear": `Notīrīt`,
|
|
239
|
+
"invalid": `(nederīgs)`,
|
|
240
|
+
"loading": `Notiek ielāde...`,
|
|
241
|
+
"noResults": `Nav rezultātu`
|
|
242
|
+
};
|
|
166
243
|
|
|
167
244
|
|
|
168
245
|
var $d8b212e4d3d12650$exports = {};
|
|
169
|
-
$d8b212e4d3d12650$exports =
|
|
246
|
+
$d8b212e4d3d12650$exports = {
|
|
247
|
+
"clear": `Tøm`,
|
|
248
|
+
"invalid": `(ugyldig)`,
|
|
249
|
+
"loading": `Laster inn ...`,
|
|
250
|
+
"noResults": `Ingen resultater`
|
|
251
|
+
};
|
|
170
252
|
|
|
171
253
|
|
|
172
254
|
var $371996b63309609d$exports = {};
|
|
173
|
-
$371996b63309609d$exports =
|
|
255
|
+
$371996b63309609d$exports = {
|
|
256
|
+
"clear": `Helder`,
|
|
257
|
+
"invalid": `(ongeldig)`,
|
|
258
|
+
"loading": `Laden...`,
|
|
259
|
+
"noResults": `Geen resultaten`
|
|
260
|
+
};
|
|
174
261
|
|
|
175
262
|
|
|
176
263
|
var $efc6f6e6ed905c1e$exports = {};
|
|
177
|
-
$efc6f6e6ed905c1e$exports =
|
|
264
|
+
$efc6f6e6ed905c1e$exports = {
|
|
265
|
+
"clear": `Wyczyść`,
|
|
266
|
+
"invalid": `(nieprawidłowy)`,
|
|
267
|
+
"loading": `Trwa ładowanie...`,
|
|
268
|
+
"noResults": `Brak wyników`
|
|
269
|
+
};
|
|
178
270
|
|
|
179
271
|
|
|
180
272
|
var $a2345c0fbc525680$exports = {};
|
|
181
|
-
$a2345c0fbc525680$exports =
|
|
273
|
+
$a2345c0fbc525680$exports = {
|
|
274
|
+
"clear": `Limpar`,
|
|
275
|
+
"invalid": `(inválido)`,
|
|
276
|
+
"loading": `Carregando...`,
|
|
277
|
+
"noResults": `Nenhum resultado`
|
|
278
|
+
};
|
|
182
279
|
|
|
183
280
|
|
|
184
281
|
var $7f2dcd0d3c839a8e$exports = {};
|
|
185
|
-
$7f2dcd0d3c839a8e$exports =
|
|
282
|
+
$7f2dcd0d3c839a8e$exports = {
|
|
283
|
+
"clear": `Limpar`,
|
|
284
|
+
"invalid": `(inválido)`,
|
|
285
|
+
"loading": `A carregar...`,
|
|
286
|
+
"noResults": `Sem resultados`
|
|
287
|
+
};
|
|
186
288
|
|
|
187
289
|
|
|
188
290
|
var $67145023d018e5bb$exports = {};
|
|
189
|
-
$67145023d018e5bb$exports =
|
|
291
|
+
$67145023d018e5bb$exports = {
|
|
292
|
+
"clear": `Golire`,
|
|
293
|
+
"invalid": `(nevalid)`,
|
|
294
|
+
"loading": `Se încarcă...`,
|
|
295
|
+
"noResults": `Niciun rezultat`
|
|
296
|
+
};
|
|
190
297
|
|
|
191
298
|
|
|
192
299
|
var $6356215f3f202785$exports = {};
|
|
193
|
-
$6356215f3f202785$exports =
|
|
300
|
+
$6356215f3f202785$exports = {
|
|
301
|
+
"clear": `Очистить`,
|
|
302
|
+
"invalid": `(недействительно)`,
|
|
303
|
+
"loading": `Загрузка...`,
|
|
304
|
+
"noResults": `Результаты отсутствуют`
|
|
305
|
+
};
|
|
194
306
|
|
|
195
307
|
|
|
196
308
|
var $b994a56052b430d2$exports = {};
|
|
197
|
-
$b994a56052b430d2$exports =
|
|
309
|
+
$b994a56052b430d2$exports = {
|
|
310
|
+
"clear": `Vymazať`,
|
|
311
|
+
"invalid": `(neplatné)`,
|
|
312
|
+
"loading": `Načítava sa...`,
|
|
313
|
+
"noResults": `Žiadne výsledky`
|
|
314
|
+
};
|
|
198
315
|
|
|
199
316
|
|
|
200
317
|
var $2da4771182d8f58a$exports = {};
|
|
201
|
-
$2da4771182d8f58a$exports =
|
|
318
|
+
$2da4771182d8f58a$exports = {
|
|
319
|
+
"clear": `Jasen`,
|
|
320
|
+
"invalid": `(neveljavno)`,
|
|
321
|
+
"loading": `Nalaganje...`,
|
|
322
|
+
"noResults": `Ni rezultatov`
|
|
323
|
+
};
|
|
202
324
|
|
|
203
325
|
|
|
204
326
|
var $df59c510174013a2$exports = {};
|
|
205
|
-
$df59c510174013a2$exports =
|
|
327
|
+
$df59c510174013a2$exports = {
|
|
328
|
+
"clear": `Izbriši`,
|
|
329
|
+
"invalid": `(nevažeće)`,
|
|
330
|
+
"loading": `Učitavam...`,
|
|
331
|
+
"noResults": `Nema rezultata`
|
|
332
|
+
};
|
|
206
333
|
|
|
207
334
|
|
|
208
335
|
var $cc74358029aaa969$exports = {};
|
|
209
|
-
$cc74358029aaa969$exports =
|
|
336
|
+
$cc74358029aaa969$exports = {
|
|
337
|
+
"clear": `Rensa`,
|
|
338
|
+
"invalid": `(ogiltigt)`,
|
|
339
|
+
"loading": `Läser in...`,
|
|
340
|
+
"noResults": `Inga resultat`
|
|
341
|
+
};
|
|
210
342
|
|
|
211
343
|
|
|
212
344
|
var $f2f02f24185117ee$exports = {};
|
|
213
|
-
$f2f02f24185117ee$exports =
|
|
345
|
+
$f2f02f24185117ee$exports = {
|
|
346
|
+
"clear": `Temizle`,
|
|
347
|
+
"invalid": `(geçersiz)`,
|
|
348
|
+
"loading": `Yükleniyor...`,
|
|
349
|
+
"noResults": `Sonuç yok`
|
|
350
|
+
};
|
|
214
351
|
|
|
215
352
|
|
|
216
353
|
var $d1d34edf0f3ceaf3$exports = {};
|
|
217
|
-
$d1d34edf0f3ceaf3$exports =
|
|
354
|
+
$d1d34edf0f3ceaf3$exports = {
|
|
355
|
+
"clear": `Очистити`,
|
|
356
|
+
"invalid": `(недійсне)`,
|
|
357
|
+
"loading": `Завантаження...`,
|
|
358
|
+
"noResults": `Результатів немає`
|
|
359
|
+
};
|
|
218
360
|
|
|
219
361
|
|
|
220
362
|
var $ed8755b89941d0d9$exports = {};
|
|
221
|
-
$ed8755b89941d0d9$exports =
|
|
363
|
+
$ed8755b89941d0d9$exports = {
|
|
364
|
+
"clear": `透明`,
|
|
365
|
+
"invalid": `(无效)`,
|
|
366
|
+
"loading": `正在加载...`,
|
|
367
|
+
"noResults": `无结果`
|
|
368
|
+
};
|
|
222
369
|
|
|
223
370
|
|
|
224
371
|
var $8820eb5aeb0d2ed8$exports = {};
|
|
225
|
-
$8820eb5aeb0d2ed8$exports =
|
|
372
|
+
$8820eb5aeb0d2ed8$exports = {
|
|
373
|
+
"clear": `清除`,
|
|
374
|
+
"invalid": `(無效)`,
|
|
375
|
+
"loading": `正在載入...`,
|
|
376
|
+
"noResults": `無任何結果`
|
|
377
|
+
};
|
|
226
378
|
|
|
227
379
|
|
|
228
380
|
$ead3369732595b45$exports = {
|
|
@@ -670,12 +822,12 @@ const $e514018f82d1b067$export$7637df911c069b4d = /*#__PURE__*/ ($parcel$interop
|
|
|
670
822
|
});
|
|
671
823
|
const $e514018f82d1b067$var$ComboBoxButton = /*#__PURE__*/ ($parcel$interopDefault($15RmB$react)).forwardRef(function ComboBoxButton(props, ref) {
|
|
672
824
|
let { isQuiet: isQuiet , isDisabled: isDisabled , isPlaceholder: isPlaceholder , validationState: validationState , children: children , style: style , className: className } = props;
|
|
673
|
-
let
|
|
825
|
+
let stringFormatter = $15RmB$reactariai18n.useLocalizedStringFormatter((/*@__PURE__*/$parcel$interopDefault($ead3369732595b45$exports)));
|
|
674
826
|
let valueId = $15RmB$reactariautils.useId();
|
|
675
827
|
let invalidId = $15RmB$reactariautils.useId();
|
|
676
828
|
let validationIcon = validationState === 'invalid' ? /*#__PURE__*/ ($parcel$interopDefault($15RmB$react)).createElement(($parcel$interopDefault($15RmB$spectrumiconsuiAlertMedium)), {
|
|
677
829
|
id: invalidId,
|
|
678
|
-
"aria-label":
|
|
830
|
+
"aria-label": stringFormatter.format('invalid')
|
|
679
831
|
}) : /*#__PURE__*/ ($parcel$interopDefault($15RmB$react)).createElement(($parcel$interopDefault($15RmB$spectrumiconsuiCheckmarkMedium)), null);
|
|
680
832
|
let validation = /*#__PURE__*/ ($parcel$interopDefault($15RmB$react)).cloneElement(validationIcon, {
|
|
681
833
|
UNSAFE_className: $15RmB$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($40cb3a00c193680f$exports)), 'spectrum-Textfield-validationIcon', $15RmB$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($2f86633ce5b04f1e$exports)), 'spectrum-InputGroup-input-validationIcon'))
|
|
@@ -746,7 +898,7 @@ function $e514018f82d1b067$var$ComboBoxTray(props) {
|
|
|
746
898
|
let popoverRef = $15RmB$react.useRef();
|
|
747
899
|
let listBoxRef = $15RmB$react.useRef();
|
|
748
900
|
let layout = $15RmB$reactspectrumlistbox.useListBoxLayout(state);
|
|
749
|
-
let
|
|
901
|
+
let stringFormatter = $15RmB$reactariai18n.useLocalizedStringFormatter((/*@__PURE__*/$parcel$interopDefault($ead3369732595b45$exports)));
|
|
750
902
|
let { inputProps: inputProps , listBoxProps: listBoxProps , labelProps: labelProps } = $15RmB$reactariacombobox.useComboBox({
|
|
751
903
|
...props,
|
|
752
904
|
// completionMode,
|
|
@@ -780,7 +932,7 @@ function $e514018f82d1b067$var$ComboBoxTray(props) {
|
|
|
780
932
|
delete inputProps.onTouchEnd;
|
|
781
933
|
let clearButton = /*#__PURE__*/ ($parcel$interopDefault($15RmB$react)).createElement($15RmB$reactspectrumbutton.ClearButton, {
|
|
782
934
|
preventFocus: true,
|
|
783
|
-
"aria-label":
|
|
935
|
+
"aria-label": stringFormatter.format('clear'),
|
|
784
936
|
excludeFromTabOrder: true,
|
|
785
937
|
onPress: ()=>{
|
|
786
938
|
state.setInputValue('');
|
|
@@ -790,7 +942,7 @@ function $e514018f82d1b067$var$ComboBoxTray(props) {
|
|
|
790
942
|
isDisabled: isDisabled
|
|
791
943
|
});
|
|
792
944
|
let loadingCircle = /*#__PURE__*/ ($parcel$interopDefault($15RmB$react)).createElement($15RmB$reactspectrumprogress.ProgressCircle, {
|
|
793
|
-
"aria-label":
|
|
945
|
+
"aria-label": stringFormatter.format('loading'),
|
|
794
946
|
size: "S",
|
|
795
947
|
isIndeterminate: true,
|
|
796
948
|
UNSAFE_className: $15RmB$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($1e139f06a0a4b696$exports)), 'spectrum-Search-circleLoader', $15RmB$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($40cb3a00c193680f$exports)), 'spectrum-Textfield-circleLoader'))
|
|
@@ -890,7 +1042,7 @@ function $e514018f82d1b067$var$ComboBoxTray(props) {
|
|
|
890
1042
|
shouldUseVirtualFocus: true,
|
|
891
1043
|
renderEmptyState: ()=>loadingState !== 'loading' && /*#__PURE__*/ ($parcel$interopDefault($15RmB$react)).createElement("span", {
|
|
892
1044
|
className: $15RmB$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($41fae9390a5a37fa$exports)), 'no-results')
|
|
893
|
-
},
|
|
1045
|
+
}, stringFormatter.format('noResults'))
|
|
894
1046
|
,
|
|
895
1047
|
UNSAFE_className: $15RmB$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($41fae9390a5a37fa$exports)), 'tray-listbox'),
|
|
896
1048
|
ref: listBoxRef,
|
|
@@ -933,7 +1085,7 @@ function $e4f518eb9b010873$var$ComboBox(props, ref) {
|
|
|
933
1085
|
}
|
|
934
1086
|
const $e4f518eb9b010873$var$ComboBoxBase = /*#__PURE__*/ ($parcel$interopDefault($15RmB$react)).forwardRef(function ComboBoxBase(props, ref) {
|
|
935
1087
|
let { menuTrigger: menuTrigger = 'input' , shouldFlip: shouldFlip = true , direction: direction = 'bottom' , isQuiet: isQuiet , loadingState: loadingState , onLoadMore: onLoadMore } = props;
|
|
936
|
-
let
|
|
1088
|
+
let stringFormatter = $15RmB$reactariai18n.useLocalizedStringFormatter((/*@__PURE__*/$parcel$interopDefault($ead3369732595b45$exports)));
|
|
937
1089
|
let isAsync = loadingState != null;
|
|
938
1090
|
let popoverRef = $15RmB$react.useRef();
|
|
939
1091
|
let unwrappedPopoverRef = $15RmB$reactspectrumutils.useUnwrapDOMRef(popoverRef);
|
|
@@ -1046,7 +1198,7 @@ const $e4f518eb9b010873$var$ComboBoxBase = /*#__PURE__*/ ($parcel$interopDefault
|
|
|
1046
1198
|
onLoadMore: onLoadMore,
|
|
1047
1199
|
renderEmptyState: ()=>isAsync && /*#__PURE__*/ ($parcel$interopDefault($15RmB$react)).createElement("span", {
|
|
1048
1200
|
className: $15RmB$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($41fae9390a5a37fa$exports)), 'no-results')
|
|
1049
|
-
}, loadingState === 'loading' ?
|
|
1201
|
+
}, loadingState === 'loading' ? stringFormatter.format('loading') : stringFormatter.format('noResults'))
|
|
1050
1202
|
}), /*#__PURE__*/ ($parcel$interopDefault($15RmB$react)).createElement($15RmB$reactariaoverlays.DismissButton, {
|
|
1051
1203
|
onDismiss: ()=>state.close()
|
|
1052
1204
|
}))));
|
|
@@ -1055,11 +1207,11 @@ const $e4f518eb9b010873$var$ComboBoxInput = /*#__PURE__*/ ($parcel$interopDefaul
|
|
|
1055
1207
|
let { isQuiet: isQuiet , isDisabled: isDisabled , validationState: validationState , inputProps: inputProps , inputRef: inputRef , triggerProps: triggerProps , triggerRef: triggerRef , autoFocus: autoFocus , style: style , className: className , loadingState: loadingState , isOpen: isOpen , menuTrigger: menuTrigger } = props;
|
|
1056
1208
|
let { hoverProps: hoverProps , isHovered: isHovered } = $15RmB$reactariainteractions.useHover({
|
|
1057
1209
|
});
|
|
1058
|
-
let
|
|
1210
|
+
let stringFormatter = $15RmB$reactariai18n.useLocalizedStringFormatter((/*@__PURE__*/$parcel$interopDefault($ead3369732595b45$exports)));
|
|
1059
1211
|
let timeout = $15RmB$react.useRef(null);
|
|
1060
1212
|
let [showLoading, setShowLoading] = $15RmB$react.useState(false);
|
|
1061
1213
|
let loadingCircle = /*#__PURE__*/ ($parcel$interopDefault($15RmB$react)).createElement($15RmB$reactspectrumprogress.ProgressCircle, {
|
|
1062
|
-
"aria-label":
|
|
1214
|
+
"aria-label": stringFormatter.format('loading'),
|
|
1063
1215
|
size: "S",
|
|
1064
1216
|
isIndeterminate: true,
|
|
1065
1217
|
UNSAFE_className: $15RmB$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($40cb3a00c193680f$exports)), 'spectrum-Textfield-circleLoader', $15RmB$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($2f86633ce5b04f1e$exports)), 'spectrum-InputGroup-input-circleLoader'))
|
|
@@ -1139,7 +1291,6 @@ const $e4f518eb9b010873$var$ComboBoxInput = /*#__PURE__*/ ($parcel$interopDefaul
|
|
|
1139
1291
|
|
|
1140
1292
|
|
|
1141
1293
|
|
|
1142
|
-
$parcel$exportWildcard(module.exports, $e4f518eb9b010873$exports);
|
|
1143
1294
|
|
|
1144
1295
|
|
|
1145
1296
|
//# sourceMappingURL=main.js.map
|