@react-aria/combobox 3.2.3 → 3.2.4-nightly.3113
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 +148 -148
- package/dist/module.js +148 -148
- package/package.json +16 -16
package/dist/main.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
var $
|
|
2
|
-
var $
|
|
3
|
-
var $
|
|
4
|
-
var $
|
|
5
|
-
var $
|
|
6
|
-
var $
|
|
7
|
-
var $
|
|
8
|
-
var $
|
|
9
|
-
var $
|
|
10
|
-
var $
|
|
1
|
+
var $8Zqhq$reactarialiveannouncer = require("@react-aria/live-announcer");
|
|
2
|
+
var $8Zqhq$reactariaoverlays = require("@react-aria/overlays");
|
|
3
|
+
var $8Zqhq$reactarialistbox = require("@react-aria/listbox");
|
|
4
|
+
var $8Zqhq$reactariautils = require("@react-aria/utils");
|
|
5
|
+
var $8Zqhq$react = require("react");
|
|
6
|
+
var $8Zqhq$reactstatelycollections = require("@react-stately/collections");
|
|
7
|
+
var $8Zqhq$reactariaselection = require("@react-aria/selection");
|
|
8
|
+
var $8Zqhq$reactariamenu = require("@react-aria/menu");
|
|
9
|
+
var $8Zqhq$reactariai18n = require("@react-aria/i18n");
|
|
10
|
+
var $8Zqhq$reactariatextfield = require("@react-aria/textfield");
|
|
11
11
|
|
|
12
12
|
function $parcel$exportWildcard(dest, source) {
|
|
13
13
|
Object.keys(source).forEach(function(key) {
|
|
@@ -31,187 +31,187 @@ function $parcel$interopDefault(a) {
|
|
|
31
31
|
function $parcel$export(e, n, v, s) {
|
|
32
32
|
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
33
33
|
}
|
|
34
|
-
var $
|
|
34
|
+
var $242452271d1e4c0e$exports = {};
|
|
35
35
|
|
|
36
|
-
$parcel$export($
|
|
36
|
+
$parcel$export($242452271d1e4c0e$exports, "useComboBox", () => $242452271d1e4c0e$export$8c18d1b4f7232bbf);
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
|
|
43
|
-
var $
|
|
44
|
-
var $
|
|
45
|
-
$
|
|
43
|
+
var $2da059a9a42f95bf$exports = {};
|
|
44
|
+
var $a756282ae45b5180$exports = {};
|
|
45
|
+
$a756282ae45b5180$exports = JSON.parse("{\"buttonLabel\":\"عرض المقترحات\",\"countAnnouncement\":\"{optionCount, plural, one {# خيار} other {# خيارات}} متاحة.\",\"focusAnnouncement\":\"{isGroupChange, select, true {المجموعة المدخلة {groupTitle}, مع {groupCount, plural, one {# خيار} other {# خيارات}}. } other {}}{optionText}{isSelected, select, true {, محدد} other {}}\",\"listboxLabel\":\"مقترحات\",\"selectedAnnouncement\":\"{optionText}، محدد\"}");
|
|
46
46
|
|
|
47
47
|
|
|
48
|
-
var $
|
|
49
|
-
$
|
|
48
|
+
var $50569559b1387c57$exports = {};
|
|
49
|
+
$50569559b1387c57$exports = JSON.parse("{\"buttonLabel\":\"Покажи предложения\",\"countAnnouncement\":\"{optionCount, plural, one {# опция} other {# опции}} на разположение.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Въведена група {groupTitle}, с {groupCount, plural, one {# опция} other {# опции}}. } other {}}{optionText}{isSelected, select, true {, избрани} other {}}\",\"listboxLabel\":\"Предложения\",\"selectedAnnouncement\":\"{optionText}, избрани\"}");
|
|
50
50
|
|
|
51
51
|
|
|
52
|
-
var $
|
|
53
|
-
$
|
|
52
|
+
var $bff243ee21f5616f$exports = {};
|
|
53
|
+
$bff243ee21f5616f$exports = JSON.parse("{\"buttonLabel\":\"Zobrazit doporučení\",\"countAnnouncement\":\"K dispozici {optionCount, plural, one {je # možnost} other {jsou/je # možnosti/-í}}.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Zadaná skupina „{groupTitle}“ {groupCount, plural, one {s # možností} other {se # možnostmi}}. } other {}}{optionText}{isSelected, select, true { (vybráno)} other {}}\",\"listboxLabel\":\"Návrhy\",\"selectedAnnouncement\":\"{optionText}, vybráno\"}");
|
|
54
54
|
|
|
55
55
|
|
|
56
|
-
var $
|
|
57
|
-
$
|
|
56
|
+
var $1508d10b8eb2180a$exports = {};
|
|
57
|
+
$1508d10b8eb2180a$exports = JSON.parse("{\"buttonLabel\":\"Vis forslag\",\"countAnnouncement\":\"{optionCount, plural, one {# mulighed tilgængelig} other {# muligheder tilgængelige}}.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Angivet gruppe {groupTitle}, med {groupCount, plural, one {# mulighed} other {# muligheder}}. } other {}}{optionText}{isSelected, select, true {, valgt} other {}}\",\"listboxLabel\":\"Forslag\",\"selectedAnnouncement\":\"{optionText}, valgt\"}");
|
|
58
58
|
|
|
59
59
|
|
|
60
|
-
var $
|
|
61
|
-
$
|
|
60
|
+
var $aa4e6d422b8a72e9$exports = {};
|
|
61
|
+
$aa4e6d422b8a72e9$exports = JSON.parse("{\"buttonLabel\":\"Empfehlungen anzeigen\",\"countAnnouncement\":\"{optionCount, plural, one {# Option} other {# Optionen}} verfügbar.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Eingetretene Gruppe {groupTitle}, mit {groupCount, plural, one {# Option} other {# Optionen}}. } other {}}{optionText}{isSelected, select, true {, ausgewählt} other {}}\",\"listboxLabel\":\"Empfehlungen\",\"selectedAnnouncement\":\"{optionText}, ausgewählt\"}");
|
|
62
62
|
|
|
63
63
|
|
|
64
|
-
var $
|
|
65
|
-
$
|
|
64
|
+
var $b88e038b0dd4dc0a$exports = {};
|
|
65
|
+
$b88e038b0dd4dc0a$exports = JSON.parse("{\"buttonLabel\":\"Προβολή προτάσεων\",\"countAnnouncement\":\"{optionCount, plural, one {# επιλογή} other {# επιλογές }} διαθέσιμες.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Εισαγμένη ομάδα {groupTitle}, με {groupCount, plural, one {# επιλογή} other {# επιλογές}}. } other {}}{optionText}{isSelected, select, true {, επιλεγμένο} other {}}\",\"listboxLabel\":\"Προτάσεις\",\"selectedAnnouncement\":\"{optionText}, επιλέχθηκε\"}");
|
|
66
66
|
|
|
67
67
|
|
|
68
|
-
var $
|
|
69
|
-
$
|
|
68
|
+
var $dbcec05b5ddcd323$exports = {};
|
|
69
|
+
$dbcec05b5ddcd323$exports = JSON.parse("{\"focusAnnouncement\":\"{isGroupChange, select, true {Entered group {groupTitle}, with {groupCount, plural, one {# option} other {# options}}. } other {}}{optionText}{isSelected, select, true {, selected} other {}}\",\"countAnnouncement\":\"{optionCount, plural, one {# option} other {# options}} available.\",\"selectedAnnouncement\":\"{optionText}, selected\",\"buttonLabel\":\"Show suggestions\",\"listboxLabel\":\"Suggestions\"}");
|
|
70
70
|
|
|
71
71
|
|
|
72
|
-
var $
|
|
73
|
-
$
|
|
72
|
+
var $3a762c75d410ecfe$exports = {};
|
|
73
|
+
$3a762c75d410ecfe$exports = JSON.parse("{\"buttonLabel\":\"Mostrar sugerencias\",\"countAnnouncement\":\"{optionCount, plural, one {# opción} other {# opciones}} disponible(s).\",\"focusAnnouncement\":\"{isGroupChange, select, true {Se ha unido al grupo {groupTitle}, con {groupCount, plural, one {# opción} other {# opciones}}. } other {}}{optionText}{isSelected, select, true {, seleccionado} other {}}\",\"listboxLabel\":\"Sugerencias\",\"selectedAnnouncement\":\"{optionText}, seleccionado\"}");
|
|
74
74
|
|
|
75
75
|
|
|
76
|
-
var $
|
|
77
|
-
$
|
|
76
|
+
var $345540ad7e1ca6bf$exports = {};
|
|
77
|
+
$345540ad7e1ca6bf$exports = JSON.parse("{\"buttonLabel\":\"Kuva soovitused\",\"countAnnouncement\":\"{optionCount, plural, one {# valik} other {# valikud}} saadaval.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Sisestatud rühm {groupTitle}, valikuga {groupCount, plural, one {# valik} other {# valikud}}. } other {}}{optionText}{isSelected, select, true {, valitud} other {}}\",\"listboxLabel\":\"Soovitused\",\"selectedAnnouncement\":\"{optionText}, valitud\"}");
|
|
78
78
|
|
|
79
79
|
|
|
80
|
-
var $
|
|
81
|
-
$
|
|
80
|
+
var $f314257d456879ad$exports = {};
|
|
81
|
+
$f314257d456879ad$exports = JSON.parse("{\"buttonLabel\":\"Näytä ehdotukset\",\"countAnnouncement\":\"{optionCount, plural, one {# vaihtoehto} other {# vaihtoehdot}} saatavilla.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Mentiin ryhmään {groupTitle}, {groupCount, plural, one {# vaihtoehdon} other {# vaihtoehdon}} kanssa.} other {}}{optionText}{isSelected, select, true {, valittu} other {}}\",\"listboxLabel\":\"Ehdotukset\",\"selectedAnnouncement\":\"{optionText}, valittu\"}");
|
|
82
82
|
|
|
83
83
|
|
|
84
|
-
var $
|
|
85
|
-
$
|
|
84
|
+
var $ebebc2f5e8da1157$exports = {};
|
|
85
|
+
$ebebc2f5e8da1157$exports = JSON.parse("{\"buttonLabel\":\"Afficher les suggestions\",\"countAnnouncement\":\"{optionCount, plural, one {# option} other {# options}} disponible(s).\",\"focusAnnouncement\":\"{isGroupChange, select, true {Groupe {groupTitle} saisi, avec {groupCount, plural, one {# option} other {# options}}. } other {}}{optionText}{isSelected, select, true {, sélectionné(s)} other {}}\",\"listboxLabel\":\"Suggestions\",\"selectedAnnouncement\":\"{optionText}, sélectionné\"}");
|
|
86
86
|
|
|
87
87
|
|
|
88
|
-
var $
|
|
89
|
-
$
|
|
88
|
+
var $3dda6220a904406b$exports = {};
|
|
89
|
+
$3dda6220a904406b$exports = JSON.parse("{\"buttonLabel\":\"הצג הצעות\",\"countAnnouncement\":\"{optionCount, plural, one {אפשרות #} other {# אפשרויות}} במצב זמין.\",\"focusAnnouncement\":\"{isGroupChange, select, true {נכנס לקבוצה {groupTitle}, עם {groupCount, plural, one {אפשרות #} other {# אפשרויות}}. } other {}}{optionText}{isSelected, select, true {, נבחר} other {}}\",\"listboxLabel\":\"הצעות\",\"selectedAnnouncement\":\"{optionText}, נבחר\"}");
|
|
90
90
|
|
|
91
91
|
|
|
92
|
-
var $
|
|
93
|
-
$
|
|
92
|
+
var $21178dd033a9f6f2$exports = {};
|
|
93
|
+
$21178dd033a9f6f2$exports = JSON.parse("{\"buttonLabel\":\"Prikaži prijedloge\",\"countAnnouncement\":\"Dostupno još: {optionCount, plural, one {# opcija} other {# opcije/a}}.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Unesena skupina {groupTitle}, s {groupCount, plural, one {# opcijom} other {# opcije/a}}. } other {}}{optionText}{isSelected, select, true {, odabranih} other {}}\",\"listboxLabel\":\"Prijedlozi\",\"selectedAnnouncement\":\"{optionText}, odabrano\"}");
|
|
94
94
|
|
|
95
95
|
|
|
96
|
-
var $
|
|
97
|
-
$
|
|
96
|
+
var $f12e9cac54fcde83$exports = {};
|
|
97
|
+
$f12e9cac54fcde83$exports = JSON.parse("{\"buttonLabel\":\"Javaslatok megjelenítése\",\"countAnnouncement\":\"{optionCount, plural, one {# lehetőség} other {# lehetőség}} áll rendelkezésre.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Belépett a(z) {groupTitle} csoportba, amely {groupCount, plural, one {# lehetőséget} other {# lehetőséget}} tartalmaz. } other {}}{optionText}{isSelected, select, true {, kijelölve} other {}}\",\"listboxLabel\":\"Javaslatok\",\"selectedAnnouncement\":\"{optionText}, kijelölve\"}");
|
|
98
98
|
|
|
99
99
|
|
|
100
|
-
var $
|
|
101
|
-
$
|
|
100
|
+
var $c7ad5d19d847ae9c$exports = {};
|
|
101
|
+
$c7ad5d19d847ae9c$exports = JSON.parse("{\"buttonLabel\":\"Mostra suggerimenti\",\"countAnnouncement\":\"{optionCount, plural, one {# opzione disponibile} other {# opzioni disponibili}}.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Ingresso nel gruppo {groupTitle}, con {groupCount, plural, one {# opzione} other {# opzioni}}. } other {}}{optionText}{isSelected, select, true {, selezionato} other {}}\",\"listboxLabel\":\"Suggerimenti\",\"selectedAnnouncement\":\"{optionText}, selezionato\"}");
|
|
102
102
|
|
|
103
103
|
|
|
104
|
-
var $
|
|
105
|
-
$
|
|
104
|
+
var $2cd660cb05523578$exports = {};
|
|
105
|
+
$2cd660cb05523578$exports = JSON.parse("{\"buttonLabel\":\"候補を表示\",\"countAnnouncement\":\"{optionCount, plural, one {# 個のオプション} other {# 個のオプション}}を利用できます。\",\"focusAnnouncement\":\"{isGroupChange, select, true {入力されたグループ {groupTitle}、{groupCount, plural, one {# 個のオプション} other {# 個のオプション}}を含む。} other {}}{optionText}{isSelected, select, true {、選択済み} other {}}\",\"listboxLabel\":\"候補\",\"selectedAnnouncement\":\"{optionText}、選択済み\"}");
|
|
106
106
|
|
|
107
107
|
|
|
108
|
-
var $
|
|
109
|
-
$
|
|
108
|
+
var $854156a4c27f569c$exports = {};
|
|
109
|
+
$854156a4c27f569c$exports = JSON.parse("{\"buttonLabel\":\"제안 사항 표시\",\"countAnnouncement\":\"{optionCount, plural, one {#개 옵션} other {#개 옵션}}을 사용할 수 있습니다.\",\"focusAnnouncement\":\"{isGroupChange, select, true {입력한 그룹 {groupTitle}, {groupCount, plural, one {#개 옵션} other {#개 옵션}}. } other {}}{optionText}{isSelected, select, true {, 선택됨} other {}}\",\"listboxLabel\":\"제안\",\"selectedAnnouncement\":\"{optionText}, 선택됨\"}");
|
|
110
110
|
|
|
111
111
|
|
|
112
|
-
var $
|
|
113
|
-
$
|
|
112
|
+
var $dabe6c727809b774$exports = {};
|
|
113
|
+
$dabe6c727809b774$exports = JSON.parse("{\"buttonLabel\":\"Rodyti pasiūlymus\",\"countAnnouncement\":\"Yra {optionCount, plural, one {# parinktis} other {# parinktys (-ių)}}.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Įvesta grupė {groupTitle}, su {groupCount, plural, one {# parinktimi} other {# parinktimis (-ių)}}. } other {}}{optionText}{isSelected, select, true {, pasirinkta} other {}}\",\"listboxLabel\":\"Pasiūlymai\",\"selectedAnnouncement\":\"{optionText}, pasirinkta\"}");
|
|
114
114
|
|
|
115
115
|
|
|
116
|
-
var $
|
|
117
|
-
$
|
|
116
|
+
var $7810eacb77cdba0d$exports = {};
|
|
117
|
+
$7810eacb77cdba0d$exports = JSON.parse("{\"buttonLabel\":\"Rādīt ieteikumus\",\"countAnnouncement\":\"Pieejamo opciju skaits: {optionCount, plural, one {# opcija} other {# opcijas}}.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Ievadīta grupa {groupTitle}, ar {groupCount, plural, one {# opciju} other {# opcijām}}. } other {}}{optionText}{isSelected, select, true {, atlasīta} other {}}\",\"listboxLabel\":\"Ieteikumi\",\"selectedAnnouncement\":\"{optionText}, atlasīta\"}");
|
|
118
118
|
|
|
119
119
|
|
|
120
|
-
var $
|
|
121
|
-
$
|
|
120
|
+
var $5e329fda39bb6d70$exports = {};
|
|
121
|
+
$5e329fda39bb6d70$exports = JSON.parse("{\"buttonLabel\":\"Vis forslag\",\"countAnnouncement\":\"{optionCount, plural, one {# alternativ} other {# alternativer}} finnes.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Angitt gruppe {groupTitle}, med {groupCount, plural, one {# alternativ} other {# alternativer}}. } other {}}{optionText}{isSelected, select, true {, valgt} other {}}\",\"listboxLabel\":\"Forslag\",\"selectedAnnouncement\":\"{optionText}, valgt\"}");
|
|
122
122
|
|
|
123
123
|
|
|
124
|
-
var $
|
|
125
|
-
$
|
|
124
|
+
var $29be2a564837167c$exports = {};
|
|
125
|
+
$29be2a564837167c$exports = JSON.parse("{\"buttonLabel\":\"Suggesties weergeven\",\"countAnnouncement\":\"{optionCount, plural, one {# optie} other {# opties}} beschikbaar.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Groep {groupTitle} ingevoerd met {groupCount, plural, one {# optie} other {# opties}}. } other {}}{optionText}{isSelected, select, true {, geselecteerd} other {}}\",\"listboxLabel\":\"Suggesties\",\"selectedAnnouncement\":\"{optionText}, geselecteerd\"}");
|
|
126
126
|
|
|
127
127
|
|
|
128
|
-
var $
|
|
129
|
-
$
|
|
128
|
+
var $7c0ffa214495a56b$exports = {};
|
|
129
|
+
$7c0ffa214495a56b$exports = JSON.parse("{\"buttonLabel\":\"Wyświetlaj sugestie\",\"countAnnouncement\":\"dostępna/dostępne(-nych) {optionCount, plural, one {# opcja} other {# opcje(-i)}}.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Dołączono do grupy {groupTitle}, z {groupCount, plural, one {# opcją} other {# opcjami}}. } other {}}{optionText}{isSelected, select, true {, wybrano} other {}}\",\"listboxLabel\":\"Sugestie\",\"selectedAnnouncement\":\"{optionText}, wybrano\"}");
|
|
130
130
|
|
|
131
131
|
|
|
132
|
-
var $
|
|
133
|
-
$
|
|
132
|
+
var $e8665834548c9563$exports = {};
|
|
133
|
+
$e8665834548c9563$exports = JSON.parse("{\"buttonLabel\":\"Mostrar sugestões\",\"countAnnouncement\":\"{optionCount, plural, one {# opção} other {# opções}} disponível.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Grupo inserido {groupTitle}, com {groupCount, plural, one {# opção} other {# opções}}. } other {}}{optionText}{isSelected, select, true {, selecionado} other {}}\",\"listboxLabel\":\"Sugestões\",\"selectedAnnouncement\":\"{optionText}, selecionado\"}");
|
|
134
134
|
|
|
135
135
|
|
|
136
|
-
var $
|
|
137
|
-
$
|
|
136
|
+
var $3f614fe48e86ff5a$exports = {};
|
|
137
|
+
$3f614fe48e86ff5a$exports = JSON.parse("{\"buttonLabel\":\"Apresentar sugestões\",\"countAnnouncement\":\"{optionCount, plural, one {# opção} other {# opções}} disponível.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Grupo introduzido {groupTitle}, com {groupCount, plural, one {# opção} other {# opções}}. } other {}}{optionText}{isSelected, select, true {, selecionado} other {}}\",\"listboxLabel\":\"Sugestões\",\"selectedAnnouncement\":\"{optionText}, selecionado\"}");
|
|
138
138
|
|
|
139
139
|
|
|
140
|
-
var $
|
|
141
|
-
$
|
|
140
|
+
var $e7efe9ced5993d70$exports = {};
|
|
141
|
+
$e7efe9ced5993d70$exports = JSON.parse("{\"buttonLabel\":\"Afișare sugestii\",\"countAnnouncement\":\"{optionCount, plural, one {# opțiune} other {# opțiuni}} disponibile.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Grup {groupTitle} introdus, cu {groupCount, plural, one {# opțiune} other {# opțiuni}}. } other {}}{optionText}{isSelected, select, true {, selectat} other {}}\",\"listboxLabel\":\"Sugestii\",\"selectedAnnouncement\":\"{optionText}, selectat\"}");
|
|
142
142
|
|
|
143
143
|
|
|
144
|
-
var $
|
|
145
|
-
$
|
|
144
|
+
var $d56743931b3be207$exports = {};
|
|
145
|
+
$d56743931b3be207$exports = JSON.parse("{\"buttonLabel\":\"Показать предложения\",\"countAnnouncement\":\"{optionCount, plural, one {# параметр} other {# параметров}} доступно.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Введенная группа {groupTitle}, с {groupCount, plural, one {# параметром} other {# параметрами}}. } other {}}{optionText}{isSelected, select, true {, выбранными} other {}}\",\"listboxLabel\":\"Предложения\",\"selectedAnnouncement\":\"{optionText}, выбрано\"}");
|
|
146
146
|
|
|
147
147
|
|
|
148
|
-
var $
|
|
149
|
-
$
|
|
148
|
+
var $68a40ce74b5b67bf$exports = {};
|
|
149
|
+
$68a40ce74b5b67bf$exports = JSON.parse("{\"buttonLabel\":\"Zobraziť návrhy\",\"countAnnouncement\":\"{optionCount, plural, one {# možnosť} other {# možnosti/-í}} k dispozícii.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Zadaná skupina {groupTitle}, s {groupCount, plural, one {# možnosťou} other {# možnosťami}}. } other {}}{optionText}{isSelected, select, true {, vybraté} other {}}\",\"listboxLabel\":\"Návrhy\",\"selectedAnnouncement\":\"{optionText}, vybraté\"}");
|
|
150
150
|
|
|
151
151
|
|
|
152
|
-
var $
|
|
153
|
-
$
|
|
152
|
+
var $58f7d43d88008c7d$exports = {};
|
|
153
|
+
$58f7d43d88008c7d$exports = JSON.parse("{\"buttonLabel\":\"Prikaži predloge\",\"countAnnouncement\":\"Na voljo je {optionCount, plural, one {# opcija} other {# opcije}}.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Vnesena skupina {groupTitle}, z {groupCount, plural, one {# opcija} other {# opcije}}. } other {}}{optionText}{isSelected, select, true {, izbrano} other {}}\",\"listboxLabel\":\"Predlogi\",\"selectedAnnouncement\":\"{optionText}, izbrano\"}");
|
|
154
154
|
|
|
155
155
|
|
|
156
|
-
var $
|
|
157
|
-
$
|
|
156
|
+
var $914aa7442fad912d$exports = {};
|
|
157
|
+
$914aa7442fad912d$exports = JSON.parse("{\"buttonLabel\":\"Prikaži predloge\",\"countAnnouncement\":\"Dostupno još: {optionCount, plural, one {# opcija} other {# opcije/a}}.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Unesena grupa {groupTitle}, s {groupCount, plural, one {# opcijom} other {# optione/a}}. } other {}}{optionText}{isSelected, select, true {, izabranih} other {}}\",\"listboxLabel\":\"Predlozi\",\"selectedAnnouncement\":\"{optionText}, izabrano\"}");
|
|
158
158
|
|
|
159
159
|
|
|
160
|
-
var $
|
|
161
|
-
$
|
|
160
|
+
var $85af38f91b727899$exports = {};
|
|
161
|
+
$85af38f91b727899$exports = JSON.parse("{\"buttonLabel\":\"Visa förslag\",\"countAnnouncement\":\"{optionCount, plural, one {# alternativ} other {# alternativ}} tillgängliga.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Ingick i gruppen {groupTitle} med {groupCount, plural, one {# alternativ} other {# alternativ}}. } other {}}{optionText}{isSelected, select, true {, valda} other {}}\",\"listboxLabel\":\"Förslag\",\"selectedAnnouncement\":\"{optionText}, valda\"}");
|
|
162
162
|
|
|
163
163
|
|
|
164
|
-
var $
|
|
165
|
-
$
|
|
164
|
+
var $72a40ca4dde96679$exports = {};
|
|
165
|
+
$72a40ca4dde96679$exports = JSON.parse("{\"buttonLabel\":\"Önerileri göster\",\"countAnnouncement\":\"{optionCount, plural, one {# seçenek} other {# seçenekler}} kullanılabilir.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Girilen grup {groupTitle}, ile {groupCount, plural, one {# seçenek} other {# seçenekler}}. } other {}}{optionText}{isSelected, select, true {, seçildi} other {}}\",\"listboxLabel\":\"Öneriler\",\"selectedAnnouncement\":\"{optionText}, seçildi\"}");
|
|
166
166
|
|
|
167
167
|
|
|
168
|
-
var $
|
|
169
|
-
$
|
|
168
|
+
var $300dce19c9e0d13f$exports = {};
|
|
169
|
+
$300dce19c9e0d13f$exports = JSON.parse("{\"buttonLabel\":\"Показати пропозиції\",\"countAnnouncement\":\"{optionCount, plural, one {# параметр} other {# параметри(-ів)}} доступно.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Введена група {groupTitle}, з {groupCount, plural, one {# параметр} other {# параметри(-ів)}}. } other {}}{optionText}{isSelected, select, true {, вибрано} other {}}\",\"listboxLabel\":\"Пропозиції\",\"selectedAnnouncement\":\"{optionText}, вибрано\"}");
|
|
170
170
|
|
|
171
171
|
|
|
172
|
-
var $
|
|
173
|
-
$
|
|
172
|
+
var $015ff4188b7f78eb$exports = {};
|
|
173
|
+
$015ff4188b7f78eb$exports = JSON.parse("{\"buttonLabel\":\"显示建议\",\"countAnnouncement\":\"有 {optionCount, plural, one {# 个选项} other {# 个选项}}可用。\",\"focusAnnouncement\":\"{isGroupChange, select, true {进入了 {groupTitle} 组,其中有 {groupCount, plural, one {# 个选项} other {# 个选项}}. } other {}}{optionText}{isSelected, select, true {, 已选择} other {}}\",\"listboxLabel\":\"建议\",\"selectedAnnouncement\":\"{optionText}, 已选择\"}");
|
|
174
174
|
|
|
175
175
|
|
|
176
|
-
var $
|
|
177
|
-
$
|
|
176
|
+
var $713552ac3e0ac749$exports = {};
|
|
177
|
+
$713552ac3e0ac749$exports = JSON.parse("{\"buttonLabel\":\"顯示建議\",\"countAnnouncement\":\"{optionCount, plural, one {# 選項} other {# 選項}} 可用。\",\"focusAnnouncement\":\"{isGroupChange, select, true {輸入的群組 {groupTitle}, 有 {groupCount, plural, one {# 選項} other {# 選項}}. } other {}}{optionText}{isSelected, select, true {, 已選取} other {}}\",\"listboxLabel\":\"建議\",\"selectedAnnouncement\":\"{optionText}, 已選取\"}");
|
|
178
178
|
|
|
179
179
|
|
|
180
|
-
$
|
|
181
|
-
"ar-AE": $
|
|
182
|
-
"bg-BG": $
|
|
183
|
-
"cs-CZ": $
|
|
184
|
-
"da-DK": $
|
|
185
|
-
"de-DE": $
|
|
186
|
-
"el-GR": $
|
|
187
|
-
"en-US": $
|
|
188
|
-
"es-ES": $
|
|
189
|
-
"et-EE": $
|
|
190
|
-
"fi-FI": $
|
|
191
|
-
"fr-FR": $
|
|
192
|
-
"he-IL": $
|
|
193
|
-
"hr-HR": $
|
|
194
|
-
"hu-HU": $
|
|
195
|
-
"it-IT": $
|
|
196
|
-
"ja-JP": $
|
|
197
|
-
"ko-KR": $
|
|
198
|
-
"lt-LT": $
|
|
199
|
-
"lv-LV": $
|
|
200
|
-
"nb-NO": $
|
|
201
|
-
"nl-NL": $
|
|
202
|
-
"pl-PL": $
|
|
203
|
-
"pt-BR": $
|
|
204
|
-
"pt-PT": $
|
|
205
|
-
"ro-RO": $
|
|
206
|
-
"ru-RU": $
|
|
207
|
-
"sk-SK": $
|
|
208
|
-
"sl-SI": $
|
|
209
|
-
"sr-SP": $
|
|
210
|
-
"sv-SE": $
|
|
211
|
-
"tr-TR": $
|
|
212
|
-
"uk-UA": $
|
|
213
|
-
"zh-CN": $
|
|
214
|
-
"zh-TW": $
|
|
180
|
+
$2da059a9a42f95bf$exports = {
|
|
181
|
+
"ar-AE": $a756282ae45b5180$exports,
|
|
182
|
+
"bg-BG": $50569559b1387c57$exports,
|
|
183
|
+
"cs-CZ": $bff243ee21f5616f$exports,
|
|
184
|
+
"da-DK": $1508d10b8eb2180a$exports,
|
|
185
|
+
"de-DE": $aa4e6d422b8a72e9$exports,
|
|
186
|
+
"el-GR": $b88e038b0dd4dc0a$exports,
|
|
187
|
+
"en-US": $dbcec05b5ddcd323$exports,
|
|
188
|
+
"es-ES": $3a762c75d410ecfe$exports,
|
|
189
|
+
"et-EE": $345540ad7e1ca6bf$exports,
|
|
190
|
+
"fi-FI": $f314257d456879ad$exports,
|
|
191
|
+
"fr-FR": $ebebc2f5e8da1157$exports,
|
|
192
|
+
"he-IL": $3dda6220a904406b$exports,
|
|
193
|
+
"hr-HR": $21178dd033a9f6f2$exports,
|
|
194
|
+
"hu-HU": $f12e9cac54fcde83$exports,
|
|
195
|
+
"it-IT": $c7ad5d19d847ae9c$exports,
|
|
196
|
+
"ja-JP": $2cd660cb05523578$exports,
|
|
197
|
+
"ko-KR": $854156a4c27f569c$exports,
|
|
198
|
+
"lt-LT": $dabe6c727809b774$exports,
|
|
199
|
+
"lv-LV": $7810eacb77cdba0d$exports,
|
|
200
|
+
"nb-NO": $5e329fda39bb6d70$exports,
|
|
201
|
+
"nl-NL": $29be2a564837167c$exports,
|
|
202
|
+
"pl-PL": $7c0ffa214495a56b$exports,
|
|
203
|
+
"pt-BR": $e8665834548c9563$exports,
|
|
204
|
+
"pt-PT": $3f614fe48e86ff5a$exports,
|
|
205
|
+
"ro-RO": $e7efe9ced5993d70$exports,
|
|
206
|
+
"ru-RU": $d56743931b3be207$exports,
|
|
207
|
+
"sk-SK": $68a40ce74b5b67bf$exports,
|
|
208
|
+
"sl-SI": $58f7d43d88008c7d$exports,
|
|
209
|
+
"sr-SP": $914aa7442fad912d$exports,
|
|
210
|
+
"sv-SE": $85af38f91b727899$exports,
|
|
211
|
+
"tr-TR": $72a40ca4dde96679$exports,
|
|
212
|
+
"uk-UA": $300dce19c9e0d13f$exports,
|
|
213
|
+
"zh-CN": $015ff4188b7f78eb$exports,
|
|
214
|
+
"zh-TW": $713552ac3e0ac749$exports
|
|
215
215
|
};
|
|
216
216
|
|
|
217
217
|
|
|
@@ -219,21 +219,21 @@ $c3a11ac36e71f8c6$exports = {
|
|
|
219
219
|
|
|
220
220
|
|
|
221
221
|
|
|
222
|
-
function $
|
|
222
|
+
function $242452271d1e4c0e$export$8c18d1b4f7232bbf(props, state) {
|
|
223
223
|
let { buttonRef: buttonRef , popoverRef: popoverRef , inputRef: inputRef , listBoxRef: listBoxRef , keyboardDelegate: keyboardDelegate , shouldFocusWrap: // completionMode = 'suggest',
|
|
224
224
|
shouldFocusWrap , isReadOnly: isReadOnly , isDisabled: isDisabled } = props;
|
|
225
|
-
let formatMessage = $
|
|
226
|
-
let { menuTriggerProps: menuTriggerProps , menuProps: menuProps } = $
|
|
225
|
+
let formatMessage = $8Zqhq$reactariai18n.useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($2da059a9a42f95bf$exports)));
|
|
226
|
+
let { menuTriggerProps: menuTriggerProps , menuProps: menuProps } = $8Zqhq$reactariamenu.useMenuTrigger({
|
|
227
227
|
type: 'listbox',
|
|
228
228
|
isDisabled: isDisabled || isReadOnly
|
|
229
229
|
}, state, buttonRef);
|
|
230
230
|
// Set listbox id so it can be used when calling getItemId later
|
|
231
|
-
$
|
|
231
|
+
$8Zqhq$reactarialistbox.listData.set(state, {
|
|
232
232
|
id: menuProps.id
|
|
233
233
|
});
|
|
234
234
|
// By default, a KeyboardDelegate is provided which uses the DOM to query layout information (e.g. for page up/page down).
|
|
235
235
|
// When virtualized, the layout object will be passed in as a prop and override this.
|
|
236
|
-
let delegate = $
|
|
236
|
+
let delegate = $8Zqhq$react.useMemo(()=>keyboardDelegate || new $8Zqhq$reactariaselection.ListKeyboardDelegate(state.collection, state.disabledKeys, listBoxRef)
|
|
237
237
|
, [
|
|
238
238
|
keyboardDelegate,
|
|
239
239
|
state.collection,
|
|
@@ -241,7 +241,7 @@ function $1f09c05465c4fe7b$export$8c18d1b4f7232bbf(props, state) {
|
|
|
241
241
|
listBoxRef
|
|
242
242
|
]);
|
|
243
243
|
// Use useSelectableCollection to get the keyboard handlers to apply to the textfield
|
|
244
|
-
let { collectionProps: collectionProps } = $
|
|
244
|
+
let { collectionProps: collectionProps } = $8Zqhq$reactariaselection.useSelectableCollection({
|
|
245
245
|
selectionManager: state.selectionManager,
|
|
246
246
|
keyboardDelegate: delegate,
|
|
247
247
|
disallowTypeAhead: true,
|
|
@@ -287,10 +287,10 @@ function $1f09c05465c4fe7b$export$8c18d1b4f7232bbf(props, state) {
|
|
|
287
287
|
if (props.onFocus) props.onFocus(e);
|
|
288
288
|
state.setFocused(true);
|
|
289
289
|
};
|
|
290
|
-
let { labelProps: labelProps , inputProps: inputProps , descriptionProps: descriptionProps , errorMessageProps: errorMessageProps } = $
|
|
290
|
+
let { labelProps: labelProps , inputProps: inputProps , descriptionProps: descriptionProps , errorMessageProps: errorMessageProps } = $8Zqhq$reactariatextfield.useTextField({
|
|
291
291
|
...props,
|
|
292
292
|
onChange: state.setInputValue,
|
|
293
|
-
onKeyDown: !isReadOnly && $
|
|
293
|
+
onKeyDown: !isReadOnly && $8Zqhq$reactariautils.chain(state.isOpen && collectionProps.onKeyDown, onKeyDown, props.onKeyDown),
|
|
294
294
|
onBlur: onBlur,
|
|
295
295
|
value: state.inputValue,
|
|
296
296
|
onFocus: onFocus,
|
|
@@ -310,18 +310,18 @@ function $1f09c05465c4fe7b$export$8c18d1b4f7232bbf(props, state) {
|
|
|
310
310
|
state.toggle(e.pointerType === 'keyboard' || e.pointerType === 'virtual' ? 'first' : null, 'manual');
|
|
311
311
|
}
|
|
312
312
|
};
|
|
313
|
-
let triggerLabelProps = $
|
|
313
|
+
let triggerLabelProps = $8Zqhq$reactariautils.useLabels({
|
|
314
314
|
id: menuTriggerProps.id,
|
|
315
315
|
'aria-label': formatMessage('buttonLabel'),
|
|
316
316
|
'aria-labelledby': props['aria-labelledby'] || labelProps.id
|
|
317
317
|
});
|
|
318
|
-
let listBoxProps = $
|
|
318
|
+
let listBoxProps = $8Zqhq$reactariautils.useLabels({
|
|
319
319
|
id: menuProps.id,
|
|
320
320
|
'aria-label': formatMessage('listboxLabel'),
|
|
321
321
|
'aria-labelledby': props['aria-labelledby'] || labelProps.id
|
|
322
322
|
});
|
|
323
323
|
// If a touch happens on direct center of ComboBox input, might be virtual click from iPad so open ComboBox menu
|
|
324
|
-
let lastEventTime = $
|
|
324
|
+
let lastEventTime = $8Zqhq$react.useRef(0);
|
|
325
325
|
let onTouchEnd = (e)=>{
|
|
326
326
|
if (isDisabled || isReadOnly) return;
|
|
327
327
|
// Sometimes VoiceOver on iOS fires two touchend events in quick succession. Ignore the second one.
|
|
@@ -349,10 +349,10 @@ function $1f09c05465c4fe7b$export$8c18d1b4f7232bbf(props, state) {
|
|
|
349
349
|
let sectionKey = (ref1 = focusedItem === null || focusedItem === void 0 ? void 0 : focusedItem.parentKey) !== null && ref1 !== void 0 ? ref1 : null;
|
|
350
350
|
var _focusedKey;
|
|
351
351
|
let itemKey = (_focusedKey = state.selectionManager.focusedKey) !== null && _focusedKey !== void 0 ? _focusedKey : null;
|
|
352
|
-
let lastSection = $
|
|
353
|
-
let lastItem = $
|
|
354
|
-
$
|
|
355
|
-
if ($
|
|
352
|
+
let lastSection = $8Zqhq$react.useRef(sectionKey);
|
|
353
|
+
let lastItem = $8Zqhq$react.useRef(itemKey);
|
|
354
|
+
$8Zqhq$react.useEffect(()=>{
|
|
355
|
+
if ($8Zqhq$reactariautils.isAppleDevice() && focusedItem != null && itemKey !== lastItem.current) {
|
|
356
356
|
let isSelected = state.selectionManager.isSelected(itemKey);
|
|
357
357
|
let section = sectionKey != null ? state.collection.getItem(sectionKey) : null;
|
|
358
358
|
let sectionTitle = (section === null || section === void 0 ? void 0 : section['aria-label']) || (typeof (section === null || section === void 0 ? void 0 : section.rendered) === 'string' ? section.rendered : '') || '';
|
|
@@ -365,43 +365,43 @@ function $1f09c05465c4fe7b$export$8c18d1b4f7232bbf(props, state) {
|
|
|
365
365
|
optionText: focusedItem['aria-label'] || focusedItem.textValue || '',
|
|
366
366
|
isSelected: isSelected
|
|
367
367
|
});
|
|
368
|
-
$
|
|
368
|
+
$8Zqhq$reactarialiveannouncer.announce(announcement);
|
|
369
369
|
}
|
|
370
370
|
lastSection.current = sectionKey;
|
|
371
371
|
lastItem.current = itemKey;
|
|
372
372
|
});
|
|
373
373
|
// Announce the number of available suggestions when it changes
|
|
374
|
-
let optionCount = $
|
|
375
|
-
let lastSize = $
|
|
376
|
-
let lastOpen = $
|
|
377
|
-
$
|
|
374
|
+
let optionCount = $8Zqhq$reactstatelycollections.getItemCount(state.collection);
|
|
375
|
+
let lastSize = $8Zqhq$react.useRef(optionCount);
|
|
376
|
+
let lastOpen = $8Zqhq$react.useRef(state.isOpen);
|
|
377
|
+
$8Zqhq$react.useEffect(()=>{
|
|
378
378
|
// Only announce the number of options available when the menu opens if there is no
|
|
379
379
|
// focused item, otherwise screen readers will typically read e.g. "1 of 6".
|
|
380
380
|
// The exception is VoiceOver since this isn't included in the message above.
|
|
381
|
-
let didOpenWithoutFocusedItem = state.isOpen !== lastOpen.current && (state.selectionManager.focusedKey == null || $
|
|
381
|
+
let didOpenWithoutFocusedItem = state.isOpen !== lastOpen.current && (state.selectionManager.focusedKey == null || $8Zqhq$reactariautils.isAppleDevice());
|
|
382
382
|
if (state.isOpen && (didOpenWithoutFocusedItem || optionCount !== lastSize.current)) {
|
|
383
383
|
let announcement = formatMessage('countAnnouncement', {
|
|
384
384
|
optionCount: optionCount
|
|
385
385
|
});
|
|
386
|
-
$
|
|
386
|
+
$8Zqhq$reactarialiveannouncer.announce(announcement);
|
|
387
387
|
}
|
|
388
388
|
lastSize.current = optionCount;
|
|
389
389
|
lastOpen.current = state.isOpen;
|
|
390
390
|
});
|
|
391
391
|
// Announce when a selection occurs for VoiceOver. Other screen readers typically do this automatically.
|
|
392
|
-
let lastSelectedKey = $
|
|
393
|
-
$
|
|
394
|
-
if ($
|
|
392
|
+
let lastSelectedKey = $8Zqhq$react.useRef(state.selectedKey);
|
|
393
|
+
$8Zqhq$react.useEffect(()=>{
|
|
394
|
+
if ($8Zqhq$reactariautils.isAppleDevice() && state.isFocused && state.selectedItem && state.selectedKey !== lastSelectedKey.current) {
|
|
395
395
|
let optionText = state.selectedItem['aria-label'] || state.selectedItem.textValue || '';
|
|
396
396
|
let announcement = formatMessage('selectedAnnouncement', {
|
|
397
397
|
optionText: optionText
|
|
398
398
|
});
|
|
399
|
-
$
|
|
399
|
+
$8Zqhq$reactarialiveannouncer.announce(announcement);
|
|
400
400
|
}
|
|
401
401
|
lastSelectedKey.current = state.selectedKey;
|
|
402
402
|
});
|
|
403
|
-
$
|
|
404
|
-
if (state.isOpen) return $
|
|
403
|
+
$8Zqhq$react.useEffect(()=>{
|
|
404
|
+
if (state.isOpen) return $8Zqhq$reactariaoverlays.ariaHideOutside([
|
|
405
405
|
inputRef.current,
|
|
406
406
|
popoverRef.current
|
|
407
407
|
]);
|
|
@@ -420,20 +420,20 @@ function $1f09c05465c4fe7b$export$8c18d1b4f7232bbf(props, state) {
|
|
|
420
420
|
onPressStart: onPressStart,
|
|
421
421
|
isDisabled: isDisabled || isReadOnly
|
|
422
422
|
},
|
|
423
|
-
inputProps: $
|
|
423
|
+
inputProps: $8Zqhq$reactariautils.mergeProps(inputProps, {
|
|
424
424
|
role: 'combobox',
|
|
425
425
|
'aria-expanded': menuTriggerProps['aria-expanded'],
|
|
426
426
|
'aria-controls': state.isOpen ? menuProps.id : undefined,
|
|
427
427
|
// TODO: readd proper logic for completionMode = complete (aria-autocomplete: both)
|
|
428
428
|
'aria-autocomplete': 'list',
|
|
429
|
-
'aria-activedescendant': focusedItem ? $
|
|
429
|
+
'aria-activedescendant': focusedItem ? $8Zqhq$reactarialistbox.getItemId(state, focusedItem.key) : undefined,
|
|
430
430
|
onTouchEnd: onTouchEnd,
|
|
431
431
|
// This disable's iOS's autocorrect suggestions, since the combo box provides its own suggestions.
|
|
432
432
|
autoCorrect: 'off',
|
|
433
433
|
// This disable's the macOS Safari spell check auto corrections.
|
|
434
434
|
spellCheck: 'false'
|
|
435
435
|
}),
|
|
436
|
-
listBoxProps: $
|
|
436
|
+
listBoxProps: $8Zqhq$reactariautils.mergeProps(menuProps, listBoxProps, {
|
|
437
437
|
autoFocus: state.focusStrategy,
|
|
438
438
|
shouldUseVirtualFocus: true,
|
|
439
439
|
shouldSelectOnPressUp: true,
|
|
@@ -445,7 +445,7 @@ function $1f09c05465c4fe7b$export$8c18d1b4f7232bbf(props, state) {
|
|
|
445
445
|
}
|
|
446
446
|
|
|
447
447
|
|
|
448
|
-
$parcel$exportWildcard(module.exports, $
|
|
448
|
+
$parcel$exportWildcard(module.exports, $242452271d1e4c0e$exports);
|
|
449
449
|
|
|
450
450
|
|
|
451
451
|
//# sourceMappingURL=main.js.map
|
package/dist/module.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {announce as $
|
|
2
|
-
import {ariaHideOutside as $
|
|
3
|
-
import {listData as $
|
|
4
|
-
import {chain as $
|
|
5
|
-
import {useMemo as $
|
|
6
|
-
import {getItemCount as $
|
|
7
|
-
import {ListKeyboardDelegate as $
|
|
8
|
-
import {useMenuTrigger as $
|
|
9
|
-
import {useMessageFormatter as $
|
|
10
|
-
import {useTextField as $
|
|
1
|
+
import {announce as $3yVy0$announce} from "@react-aria/live-announcer";
|
|
2
|
+
import {ariaHideOutside as $3yVy0$ariaHideOutside} from "@react-aria/overlays";
|
|
3
|
+
import {listData as $3yVy0$listData, getItemId as $3yVy0$getItemId} from "@react-aria/listbox";
|
|
4
|
+
import {chain as $3yVy0$chain, useLabels as $3yVy0$useLabels, isAppleDevice as $3yVy0$isAppleDevice, mergeProps as $3yVy0$mergeProps} from "@react-aria/utils";
|
|
5
|
+
import {useMemo as $3yVy0$useMemo, useRef as $3yVy0$useRef, useEffect as $3yVy0$useEffect} from "react";
|
|
6
|
+
import {getItemCount as $3yVy0$getItemCount} from "@react-stately/collections";
|
|
7
|
+
import {ListKeyboardDelegate as $3yVy0$ListKeyboardDelegate, useSelectableCollection as $3yVy0$useSelectableCollection} from "@react-aria/selection";
|
|
8
|
+
import {useMenuTrigger as $3yVy0$useMenuTrigger} from "@react-aria/menu";
|
|
9
|
+
import {useMessageFormatter as $3yVy0$useMessageFormatter} from "@react-aria/i18n";
|
|
10
|
+
import {useTextField as $3yVy0$useTextField} from "@react-aria/textfield";
|
|
11
11
|
|
|
12
12
|
function $parcel$interopDefault(a) {
|
|
13
13
|
return a && a.__esModule ? a.default : a;
|
|
@@ -15,187 +15,187 @@ function $parcel$interopDefault(a) {
|
|
|
15
15
|
function $parcel$export(e, n, v, s) {
|
|
16
16
|
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
17
17
|
}
|
|
18
|
-
var $
|
|
18
|
+
var $c350ade66beef0af$exports = {};
|
|
19
19
|
|
|
20
|
-
$parcel$export($
|
|
20
|
+
$parcel$export($c350ade66beef0af$exports, "useComboBox", () => $c350ade66beef0af$export$8c18d1b4f7232bbf);
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var $
|
|
28
|
-
var $
|
|
29
|
-
$
|
|
27
|
+
var $2e84e748dc57e459$exports = {};
|
|
28
|
+
var $02cb4c75c506befe$exports = {};
|
|
29
|
+
$02cb4c75c506befe$exports = JSON.parse("{\"buttonLabel\":\"عرض المقترحات\",\"countAnnouncement\":\"{optionCount, plural, one {# خيار} other {# خيارات}} متاحة.\",\"focusAnnouncement\":\"{isGroupChange, select, true {المجموعة المدخلة {groupTitle}, مع {groupCount, plural, one {# خيار} other {# خيارات}}. } other {}}{optionText}{isSelected, select, true {, محدد} other {}}\",\"listboxLabel\":\"مقترحات\",\"selectedAnnouncement\":\"{optionText}، محدد\"}");
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var $
|
|
33
|
-
$
|
|
32
|
+
var $568b8163f1e56faf$exports = {};
|
|
33
|
+
$568b8163f1e56faf$exports = JSON.parse("{\"buttonLabel\":\"Покажи предложения\",\"countAnnouncement\":\"{optionCount, plural, one {# опция} other {# опции}} на разположение.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Въведена група {groupTitle}, с {groupCount, plural, one {# опция} other {# опции}}. } other {}}{optionText}{isSelected, select, true {, избрани} other {}}\",\"listboxLabel\":\"Предложения\",\"selectedAnnouncement\":\"{optionText}, избрани\"}");
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
var $
|
|
37
|
-
$
|
|
36
|
+
var $87581c0202d106b8$exports = {};
|
|
37
|
+
$87581c0202d106b8$exports = JSON.parse("{\"buttonLabel\":\"Zobrazit doporučení\",\"countAnnouncement\":\"K dispozici {optionCount, plural, one {je # možnost} other {jsou/je # možnosti/-í}}.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Zadaná skupina „{groupTitle}“ {groupCount, plural, one {s # možností} other {se # možnostmi}}. } other {}}{optionText}{isSelected, select, true { (vybráno)} other {}}\",\"listboxLabel\":\"Návrhy\",\"selectedAnnouncement\":\"{optionText}, vybráno\"}");
|
|
38
38
|
|
|
39
39
|
|
|
40
|
-
var $
|
|
41
|
-
$
|
|
40
|
+
var $a10a0369f5433ed1$exports = {};
|
|
41
|
+
$a10a0369f5433ed1$exports = JSON.parse("{\"buttonLabel\":\"Vis forslag\",\"countAnnouncement\":\"{optionCount, plural, one {# mulighed tilgængelig} other {# muligheder tilgængelige}}.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Angivet gruppe {groupTitle}, med {groupCount, plural, one {# mulighed} other {# muligheder}}. } other {}}{optionText}{isSelected, select, true {, valgt} other {}}\",\"listboxLabel\":\"Forslag\",\"selectedAnnouncement\":\"{optionText}, valgt\"}");
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
var $
|
|
45
|
-
$
|
|
44
|
+
var $bfd288727d5cb166$exports = {};
|
|
45
|
+
$bfd288727d5cb166$exports = JSON.parse("{\"buttonLabel\":\"Empfehlungen anzeigen\",\"countAnnouncement\":\"{optionCount, plural, one {# Option} other {# Optionen}} verfügbar.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Eingetretene Gruppe {groupTitle}, mit {groupCount, plural, one {# Option} other {# Optionen}}. } other {}}{optionText}{isSelected, select, true {, ausgewählt} other {}}\",\"listboxLabel\":\"Empfehlungen\",\"selectedAnnouncement\":\"{optionText}, ausgewählt\"}");
|
|
46
46
|
|
|
47
47
|
|
|
48
|
-
var $
|
|
49
|
-
$
|
|
48
|
+
var $ca177778f9a74e3c$exports = {};
|
|
49
|
+
$ca177778f9a74e3c$exports = JSON.parse("{\"buttonLabel\":\"Προβολή προτάσεων\",\"countAnnouncement\":\"{optionCount, plural, one {# επιλογή} other {# επιλογές }} διαθέσιμες.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Εισαγμένη ομάδα {groupTitle}, με {groupCount, plural, one {# επιλογή} other {# επιλογές}}. } other {}}{optionText}{isSelected, select, true {, επιλεγμένο} other {}}\",\"listboxLabel\":\"Προτάσεις\",\"selectedAnnouncement\":\"{optionText}, επιλέχθηκε\"}");
|
|
50
50
|
|
|
51
51
|
|
|
52
|
-
var $
|
|
53
|
-
$
|
|
52
|
+
var $9b5aa79ef84beb6c$exports = {};
|
|
53
|
+
$9b5aa79ef84beb6c$exports = JSON.parse("{\"focusAnnouncement\":\"{isGroupChange, select, true {Entered group {groupTitle}, with {groupCount, plural, one {# option} other {# options}}. } other {}}{optionText}{isSelected, select, true {, selected} other {}}\",\"countAnnouncement\":\"{optionCount, plural, one {# option} other {# options}} available.\",\"selectedAnnouncement\":\"{optionText}, selected\",\"buttonLabel\":\"Show suggestions\",\"listboxLabel\":\"Suggestions\"}");
|
|
54
54
|
|
|
55
55
|
|
|
56
|
-
var $
|
|
57
|
-
$
|
|
56
|
+
var $57968e8209de2557$exports = {};
|
|
57
|
+
$57968e8209de2557$exports = JSON.parse("{\"buttonLabel\":\"Mostrar sugerencias\",\"countAnnouncement\":\"{optionCount, plural, one {# opción} other {# opciones}} disponible(s).\",\"focusAnnouncement\":\"{isGroupChange, select, true {Se ha unido al grupo {groupTitle}, con {groupCount, plural, one {# opción} other {# opciones}}. } other {}}{optionText}{isSelected, select, true {, seleccionado} other {}}\",\"listboxLabel\":\"Sugerencias\",\"selectedAnnouncement\":\"{optionText}, seleccionado\"}");
|
|
58
58
|
|
|
59
59
|
|
|
60
|
-
var $
|
|
61
|
-
$
|
|
60
|
+
var $60690790bf4c1c6a$exports = {};
|
|
61
|
+
$60690790bf4c1c6a$exports = JSON.parse("{\"buttonLabel\":\"Kuva soovitused\",\"countAnnouncement\":\"{optionCount, plural, one {# valik} other {# valikud}} saadaval.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Sisestatud rühm {groupTitle}, valikuga {groupCount, plural, one {# valik} other {# valikud}}. } other {}}{optionText}{isSelected, select, true {, valitud} other {}}\",\"listboxLabel\":\"Soovitused\",\"selectedAnnouncement\":\"{optionText}, valitud\"}");
|
|
62
62
|
|
|
63
63
|
|
|
64
|
-
var $
|
|
65
|
-
$
|
|
64
|
+
var $1101246e8c7d9357$exports = {};
|
|
65
|
+
$1101246e8c7d9357$exports = JSON.parse("{\"buttonLabel\":\"Näytä ehdotukset\",\"countAnnouncement\":\"{optionCount, plural, one {# vaihtoehto} other {# vaihtoehdot}} saatavilla.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Mentiin ryhmään {groupTitle}, {groupCount, plural, one {# vaihtoehdon} other {# vaihtoehdon}} kanssa.} other {}}{optionText}{isSelected, select, true {, valittu} other {}}\",\"listboxLabel\":\"Ehdotukset\",\"selectedAnnouncement\":\"{optionText}, valittu\"}");
|
|
66
66
|
|
|
67
67
|
|
|
68
|
-
var $
|
|
69
|
-
$
|
|
68
|
+
var $6404b5cb5b241730$exports = {};
|
|
69
|
+
$6404b5cb5b241730$exports = JSON.parse("{\"buttonLabel\":\"Afficher les suggestions\",\"countAnnouncement\":\"{optionCount, plural, one {# option} other {# options}} disponible(s).\",\"focusAnnouncement\":\"{isGroupChange, select, true {Groupe {groupTitle} saisi, avec {groupCount, plural, one {# option} other {# options}}. } other {}}{optionText}{isSelected, select, true {, sélectionné(s)} other {}}\",\"listboxLabel\":\"Suggestions\",\"selectedAnnouncement\":\"{optionText}, sélectionné\"}");
|
|
70
70
|
|
|
71
71
|
|
|
72
|
-
var $
|
|
73
|
-
$
|
|
72
|
+
var $dfeafa702e92e31f$exports = {};
|
|
73
|
+
$dfeafa702e92e31f$exports = JSON.parse("{\"buttonLabel\":\"הצג הצעות\",\"countAnnouncement\":\"{optionCount, plural, one {אפשרות #} other {# אפשרויות}} במצב זמין.\",\"focusAnnouncement\":\"{isGroupChange, select, true {נכנס לקבוצה {groupTitle}, עם {groupCount, plural, one {אפשרות #} other {# אפשרויות}}. } other {}}{optionText}{isSelected, select, true {, נבחר} other {}}\",\"listboxLabel\":\"הצעות\",\"selectedAnnouncement\":\"{optionText}, נבחר\"}");
|
|
74
74
|
|
|
75
75
|
|
|
76
|
-
var $
|
|
77
|
-
$
|
|
76
|
+
var $2d125e0b34676352$exports = {};
|
|
77
|
+
$2d125e0b34676352$exports = JSON.parse("{\"buttonLabel\":\"Prikaži prijedloge\",\"countAnnouncement\":\"Dostupno još: {optionCount, plural, one {# opcija} other {# opcije/a}}.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Unesena skupina {groupTitle}, s {groupCount, plural, one {# opcijom} other {# opcije/a}}. } other {}}{optionText}{isSelected, select, true {, odabranih} other {}}\",\"listboxLabel\":\"Prijedlozi\",\"selectedAnnouncement\":\"{optionText}, odabrano\"}");
|
|
78
78
|
|
|
79
79
|
|
|
80
|
-
var $
|
|
81
|
-
$
|
|
80
|
+
var $ea029611d7634059$exports = {};
|
|
81
|
+
$ea029611d7634059$exports = JSON.parse("{\"buttonLabel\":\"Javaslatok megjelenítése\",\"countAnnouncement\":\"{optionCount, plural, one {# lehetőség} other {# lehetőség}} áll rendelkezésre.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Belépett a(z) {groupTitle} csoportba, amely {groupCount, plural, one {# lehetőséget} other {# lehetőséget}} tartalmaz. } other {}}{optionText}{isSelected, select, true {, kijelölve} other {}}\",\"listboxLabel\":\"Javaslatok\",\"selectedAnnouncement\":\"{optionText}, kijelölve\"}");
|
|
82
82
|
|
|
83
83
|
|
|
84
|
-
var $
|
|
85
|
-
$
|
|
84
|
+
var $77f075bb86ad7091$exports = {};
|
|
85
|
+
$77f075bb86ad7091$exports = JSON.parse("{\"buttonLabel\":\"Mostra suggerimenti\",\"countAnnouncement\":\"{optionCount, plural, one {# opzione disponibile} other {# opzioni disponibili}}.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Ingresso nel gruppo {groupTitle}, con {groupCount, plural, one {# opzione} other {# opzioni}}. } other {}}{optionText}{isSelected, select, true {, selezionato} other {}}\",\"listboxLabel\":\"Suggerimenti\",\"selectedAnnouncement\":\"{optionText}, selezionato\"}");
|
|
86
86
|
|
|
87
87
|
|
|
88
|
-
var $
|
|
89
|
-
$
|
|
88
|
+
var $6e87462e84907983$exports = {};
|
|
89
|
+
$6e87462e84907983$exports = JSON.parse("{\"buttonLabel\":\"候補を表示\",\"countAnnouncement\":\"{optionCount, plural, one {# 個のオプション} other {# 個のオプション}}を利用できます。\",\"focusAnnouncement\":\"{isGroupChange, select, true {入力されたグループ {groupTitle}、{groupCount, plural, one {# 個のオプション} other {# 個のオプション}}を含む。} other {}}{optionText}{isSelected, select, true {、選択済み} other {}}\",\"listboxLabel\":\"候補\",\"selectedAnnouncement\":\"{optionText}、選択済み\"}");
|
|
90
90
|
|
|
91
91
|
|
|
92
|
-
var $
|
|
93
|
-
$
|
|
92
|
+
var $9246f2c6edc6b232$exports = {};
|
|
93
|
+
$9246f2c6edc6b232$exports = JSON.parse("{\"buttonLabel\":\"제안 사항 표시\",\"countAnnouncement\":\"{optionCount, plural, one {#개 옵션} other {#개 옵션}}을 사용할 수 있습니다.\",\"focusAnnouncement\":\"{isGroupChange, select, true {입력한 그룹 {groupTitle}, {groupCount, plural, one {#개 옵션} other {#개 옵션}}. } other {}}{optionText}{isSelected, select, true {, 선택됨} other {}}\",\"listboxLabel\":\"제안\",\"selectedAnnouncement\":\"{optionText}, 선택됨\"}");
|
|
94
94
|
|
|
95
95
|
|
|
96
|
-
var $
|
|
97
|
-
$
|
|
96
|
+
var $e587accc6c0a434c$exports = {};
|
|
97
|
+
$e587accc6c0a434c$exports = JSON.parse("{\"buttonLabel\":\"Rodyti pasiūlymus\",\"countAnnouncement\":\"Yra {optionCount, plural, one {# parinktis} other {# parinktys (-ių)}}.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Įvesta grupė {groupTitle}, su {groupCount, plural, one {# parinktimi} other {# parinktimis (-ių)}}. } other {}}{optionText}{isSelected, select, true {, pasirinkta} other {}}\",\"listboxLabel\":\"Pasiūlymai\",\"selectedAnnouncement\":\"{optionText}, pasirinkta\"}");
|
|
98
98
|
|
|
99
99
|
|
|
100
|
-
var $
|
|
101
|
-
$
|
|
100
|
+
var $03a1900e7400b5ab$exports = {};
|
|
101
|
+
$03a1900e7400b5ab$exports = JSON.parse("{\"buttonLabel\":\"Rādīt ieteikumus\",\"countAnnouncement\":\"Pieejamo opciju skaits: {optionCount, plural, one {# opcija} other {# opcijas}}.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Ievadīta grupa {groupTitle}, ar {groupCount, plural, one {# opciju} other {# opcijām}}. } other {}}{optionText}{isSelected, select, true {, atlasīta} other {}}\",\"listboxLabel\":\"Ieteikumi\",\"selectedAnnouncement\":\"{optionText}, atlasīta\"}");
|
|
102
102
|
|
|
103
103
|
|
|
104
|
-
var $
|
|
105
|
-
$
|
|
104
|
+
var $1387676441be6cf6$exports = {};
|
|
105
|
+
$1387676441be6cf6$exports = JSON.parse("{\"buttonLabel\":\"Vis forslag\",\"countAnnouncement\":\"{optionCount, plural, one {# alternativ} other {# alternativer}} finnes.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Angitt gruppe {groupTitle}, med {groupCount, plural, one {# alternativ} other {# alternativer}}. } other {}}{optionText}{isSelected, select, true {, valgt} other {}}\",\"listboxLabel\":\"Forslag\",\"selectedAnnouncement\":\"{optionText}, valgt\"}");
|
|
106
106
|
|
|
107
107
|
|
|
108
|
-
var $
|
|
109
|
-
$
|
|
108
|
+
var $17e82ebf0f8ab91f$exports = {};
|
|
109
|
+
$17e82ebf0f8ab91f$exports = JSON.parse("{\"buttonLabel\":\"Suggesties weergeven\",\"countAnnouncement\":\"{optionCount, plural, one {# optie} other {# opties}} beschikbaar.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Groep {groupTitle} ingevoerd met {groupCount, plural, one {# optie} other {# opties}}. } other {}}{optionText}{isSelected, select, true {, geselecteerd} other {}}\",\"listboxLabel\":\"Suggesties\",\"selectedAnnouncement\":\"{optionText}, geselecteerd\"}");
|
|
110
110
|
|
|
111
111
|
|
|
112
|
-
var $
|
|
113
|
-
$
|
|
112
|
+
var $2f5377d3471630e5$exports = {};
|
|
113
|
+
$2f5377d3471630e5$exports = JSON.parse("{\"buttonLabel\":\"Wyświetlaj sugestie\",\"countAnnouncement\":\"dostępna/dostępne(-nych) {optionCount, plural, one {# opcja} other {# opcje(-i)}}.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Dołączono do grupy {groupTitle}, z {groupCount, plural, one {# opcją} other {# opcjami}}. } other {}}{optionText}{isSelected, select, true {, wybrano} other {}}\",\"listboxLabel\":\"Sugestie\",\"selectedAnnouncement\":\"{optionText}, wybrano\"}");
|
|
114
114
|
|
|
115
115
|
|
|
116
|
-
var $
|
|
117
|
-
$
|
|
116
|
+
var $dee9868b6fa95ffe$exports = {};
|
|
117
|
+
$dee9868b6fa95ffe$exports = JSON.parse("{\"buttonLabel\":\"Mostrar sugestões\",\"countAnnouncement\":\"{optionCount, plural, one {# opção} other {# opções}} disponível.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Grupo inserido {groupTitle}, com {groupCount, plural, one {# opção} other {# opções}}. } other {}}{optionText}{isSelected, select, true {, selecionado} other {}}\",\"listboxLabel\":\"Sugestões\",\"selectedAnnouncement\":\"{optionText}, selecionado\"}");
|
|
118
118
|
|
|
119
119
|
|
|
120
|
-
var $
|
|
121
|
-
$
|
|
120
|
+
var $f8b2e63637cbb5a6$exports = {};
|
|
121
|
+
$f8b2e63637cbb5a6$exports = JSON.parse("{\"buttonLabel\":\"Apresentar sugestões\",\"countAnnouncement\":\"{optionCount, plural, one {# opção} other {# opções}} disponível.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Grupo introduzido {groupTitle}, com {groupCount, plural, one {# opção} other {# opções}}. } other {}}{optionText}{isSelected, select, true {, selecionado} other {}}\",\"listboxLabel\":\"Sugestões\",\"selectedAnnouncement\":\"{optionText}, selecionado\"}");
|
|
122
122
|
|
|
123
123
|
|
|
124
|
-
var $
|
|
125
|
-
$
|
|
124
|
+
var $46a885db3b44ea95$exports = {};
|
|
125
|
+
$46a885db3b44ea95$exports = JSON.parse("{\"buttonLabel\":\"Afișare sugestii\",\"countAnnouncement\":\"{optionCount, plural, one {# opțiune} other {# opțiuni}} disponibile.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Grup {groupTitle} introdus, cu {groupCount, plural, one {# opțiune} other {# opțiuni}}. } other {}}{optionText}{isSelected, select, true {, selectat} other {}}\",\"listboxLabel\":\"Sugestii\",\"selectedAnnouncement\":\"{optionText}, selectat\"}");
|
|
126
126
|
|
|
127
127
|
|
|
128
|
-
var $
|
|
129
|
-
$
|
|
128
|
+
var $50d8a8f0afa9dee5$exports = {};
|
|
129
|
+
$50d8a8f0afa9dee5$exports = JSON.parse("{\"buttonLabel\":\"Показать предложения\",\"countAnnouncement\":\"{optionCount, plural, one {# параметр} other {# параметров}} доступно.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Введенная группа {groupTitle}, с {groupCount, plural, one {# параметром} other {# параметрами}}. } other {}}{optionText}{isSelected, select, true {, выбранными} other {}}\",\"listboxLabel\":\"Предложения\",\"selectedAnnouncement\":\"{optionText}, выбрано\"}");
|
|
130
130
|
|
|
131
131
|
|
|
132
|
-
var $
|
|
133
|
-
$
|
|
132
|
+
var $2867ee6173245507$exports = {};
|
|
133
|
+
$2867ee6173245507$exports = JSON.parse("{\"buttonLabel\":\"Zobraziť návrhy\",\"countAnnouncement\":\"{optionCount, plural, one {# možnosť} other {# možnosti/-í}} k dispozícii.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Zadaná skupina {groupTitle}, s {groupCount, plural, one {# možnosťou} other {# možnosťami}}. } other {}}{optionText}{isSelected, select, true {, vybraté} other {}}\",\"listboxLabel\":\"Návrhy\",\"selectedAnnouncement\":\"{optionText}, vybraté\"}");
|
|
134
134
|
|
|
135
135
|
|
|
136
|
-
var $
|
|
137
|
-
$
|
|
136
|
+
var $0631b65beeb09b50$exports = {};
|
|
137
|
+
$0631b65beeb09b50$exports = JSON.parse("{\"buttonLabel\":\"Prikaži predloge\",\"countAnnouncement\":\"Na voljo je {optionCount, plural, one {# opcija} other {# opcije}}.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Vnesena skupina {groupTitle}, z {groupCount, plural, one {# opcija} other {# opcije}}. } other {}}{optionText}{isSelected, select, true {, izbrano} other {}}\",\"listboxLabel\":\"Predlogi\",\"selectedAnnouncement\":\"{optionText}, izbrano\"}");
|
|
138
138
|
|
|
139
139
|
|
|
140
|
-
var $
|
|
141
|
-
$
|
|
140
|
+
var $65fc749265dcd686$exports = {};
|
|
141
|
+
$65fc749265dcd686$exports = JSON.parse("{\"buttonLabel\":\"Prikaži predloge\",\"countAnnouncement\":\"Dostupno još: {optionCount, plural, one {# opcija} other {# opcije/a}}.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Unesena grupa {groupTitle}, s {groupCount, plural, one {# opcijom} other {# optione/a}}. } other {}}{optionText}{isSelected, select, true {, izabranih} other {}}\",\"listboxLabel\":\"Predlozi\",\"selectedAnnouncement\":\"{optionText}, izabrano\"}");
|
|
142
142
|
|
|
143
143
|
|
|
144
|
-
var $
|
|
145
|
-
$
|
|
144
|
+
var $69ba655c7853c08e$exports = {};
|
|
145
|
+
$69ba655c7853c08e$exports = JSON.parse("{\"buttonLabel\":\"Visa förslag\",\"countAnnouncement\":\"{optionCount, plural, one {# alternativ} other {# alternativ}} tillgängliga.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Ingick i gruppen {groupTitle} med {groupCount, plural, one {# alternativ} other {# alternativ}}. } other {}}{optionText}{isSelected, select, true {, valda} other {}}\",\"listboxLabel\":\"Förslag\",\"selectedAnnouncement\":\"{optionText}, valda\"}");
|
|
146
146
|
|
|
147
147
|
|
|
148
|
-
var $
|
|
149
|
-
$
|
|
148
|
+
var $a79794784d61577c$exports = {};
|
|
149
|
+
$a79794784d61577c$exports = JSON.parse("{\"buttonLabel\":\"Önerileri göster\",\"countAnnouncement\":\"{optionCount, plural, one {# seçenek} other {# seçenekler}} kullanılabilir.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Girilen grup {groupTitle}, ile {groupCount, plural, one {# seçenek} other {# seçenekler}}. } other {}}{optionText}{isSelected, select, true {, seçildi} other {}}\",\"listboxLabel\":\"Öneriler\",\"selectedAnnouncement\":\"{optionText}, seçildi\"}");
|
|
150
150
|
|
|
151
151
|
|
|
152
|
-
var $
|
|
153
|
-
$
|
|
152
|
+
var $c2845791417ebaf4$exports = {};
|
|
153
|
+
$c2845791417ebaf4$exports = JSON.parse("{\"buttonLabel\":\"Показати пропозиції\",\"countAnnouncement\":\"{optionCount, plural, one {# параметр} other {# параметри(-ів)}} доступно.\",\"focusAnnouncement\":\"{isGroupChange, select, true {Введена група {groupTitle}, з {groupCount, plural, one {# параметр} other {# параметри(-ів)}}. } other {}}{optionText}{isSelected, select, true {, вибрано} other {}}\",\"listboxLabel\":\"Пропозиції\",\"selectedAnnouncement\":\"{optionText}, вибрано\"}");
|
|
154
154
|
|
|
155
155
|
|
|
156
|
-
var $
|
|
157
|
-
$
|
|
156
|
+
var $29b642d0025cc7a4$exports = {};
|
|
157
|
+
$29b642d0025cc7a4$exports = JSON.parse("{\"buttonLabel\":\"显示建议\",\"countAnnouncement\":\"有 {optionCount, plural, one {# 个选项} other {# 个选项}}可用。\",\"focusAnnouncement\":\"{isGroupChange, select, true {进入了 {groupTitle} 组,其中有 {groupCount, plural, one {# 个选项} other {# 个选项}}. } other {}}{optionText}{isSelected, select, true {, 已选择} other {}}\",\"listboxLabel\":\"建议\",\"selectedAnnouncement\":\"{optionText}, 已选择\"}");
|
|
158
158
|
|
|
159
159
|
|
|
160
|
-
var $
|
|
161
|
-
$
|
|
160
|
+
var $cd36dd33f9d46936$exports = {};
|
|
161
|
+
$cd36dd33f9d46936$exports = JSON.parse("{\"buttonLabel\":\"顯示建議\",\"countAnnouncement\":\"{optionCount, plural, one {# 選項} other {# 選項}} 可用。\",\"focusAnnouncement\":\"{isGroupChange, select, true {輸入的群組 {groupTitle}, 有 {groupCount, plural, one {# 選項} other {# 選項}}. } other {}}{optionText}{isSelected, select, true {, 已選取} other {}}\",\"listboxLabel\":\"建議\",\"selectedAnnouncement\":\"{optionText}, 已選取\"}");
|
|
162
162
|
|
|
163
163
|
|
|
164
|
-
$
|
|
165
|
-
"ar-AE": $
|
|
166
|
-
"bg-BG": $
|
|
167
|
-
"cs-CZ": $
|
|
168
|
-
"da-DK": $
|
|
169
|
-
"de-DE": $
|
|
170
|
-
"el-GR": $
|
|
171
|
-
"en-US": $
|
|
172
|
-
"es-ES": $
|
|
173
|
-
"et-EE": $
|
|
174
|
-
"fi-FI": $
|
|
175
|
-
"fr-FR": $
|
|
176
|
-
"he-IL": $
|
|
177
|
-
"hr-HR": $
|
|
178
|
-
"hu-HU": $
|
|
179
|
-
"it-IT": $
|
|
180
|
-
"ja-JP": $
|
|
181
|
-
"ko-KR": $
|
|
182
|
-
"lt-LT": $
|
|
183
|
-
"lv-LV": $
|
|
184
|
-
"nb-NO": $
|
|
185
|
-
"nl-NL": $
|
|
186
|
-
"pl-PL": $
|
|
187
|
-
"pt-BR": $
|
|
188
|
-
"pt-PT": $
|
|
189
|
-
"ro-RO": $
|
|
190
|
-
"ru-RU": $
|
|
191
|
-
"sk-SK": $
|
|
192
|
-
"sl-SI": $
|
|
193
|
-
"sr-SP": $
|
|
194
|
-
"sv-SE": $
|
|
195
|
-
"tr-TR": $
|
|
196
|
-
"uk-UA": $
|
|
197
|
-
"zh-CN": $
|
|
198
|
-
"zh-TW": $
|
|
164
|
+
$2e84e748dc57e459$exports = {
|
|
165
|
+
"ar-AE": $02cb4c75c506befe$exports,
|
|
166
|
+
"bg-BG": $568b8163f1e56faf$exports,
|
|
167
|
+
"cs-CZ": $87581c0202d106b8$exports,
|
|
168
|
+
"da-DK": $a10a0369f5433ed1$exports,
|
|
169
|
+
"de-DE": $bfd288727d5cb166$exports,
|
|
170
|
+
"el-GR": $ca177778f9a74e3c$exports,
|
|
171
|
+
"en-US": $9b5aa79ef84beb6c$exports,
|
|
172
|
+
"es-ES": $57968e8209de2557$exports,
|
|
173
|
+
"et-EE": $60690790bf4c1c6a$exports,
|
|
174
|
+
"fi-FI": $1101246e8c7d9357$exports,
|
|
175
|
+
"fr-FR": $6404b5cb5b241730$exports,
|
|
176
|
+
"he-IL": $dfeafa702e92e31f$exports,
|
|
177
|
+
"hr-HR": $2d125e0b34676352$exports,
|
|
178
|
+
"hu-HU": $ea029611d7634059$exports,
|
|
179
|
+
"it-IT": $77f075bb86ad7091$exports,
|
|
180
|
+
"ja-JP": $6e87462e84907983$exports,
|
|
181
|
+
"ko-KR": $9246f2c6edc6b232$exports,
|
|
182
|
+
"lt-LT": $e587accc6c0a434c$exports,
|
|
183
|
+
"lv-LV": $03a1900e7400b5ab$exports,
|
|
184
|
+
"nb-NO": $1387676441be6cf6$exports,
|
|
185
|
+
"nl-NL": $17e82ebf0f8ab91f$exports,
|
|
186
|
+
"pl-PL": $2f5377d3471630e5$exports,
|
|
187
|
+
"pt-BR": $dee9868b6fa95ffe$exports,
|
|
188
|
+
"pt-PT": $f8b2e63637cbb5a6$exports,
|
|
189
|
+
"ro-RO": $46a885db3b44ea95$exports,
|
|
190
|
+
"ru-RU": $50d8a8f0afa9dee5$exports,
|
|
191
|
+
"sk-SK": $2867ee6173245507$exports,
|
|
192
|
+
"sl-SI": $0631b65beeb09b50$exports,
|
|
193
|
+
"sr-SP": $65fc749265dcd686$exports,
|
|
194
|
+
"sv-SE": $69ba655c7853c08e$exports,
|
|
195
|
+
"tr-TR": $a79794784d61577c$exports,
|
|
196
|
+
"uk-UA": $c2845791417ebaf4$exports,
|
|
197
|
+
"zh-CN": $29b642d0025cc7a4$exports,
|
|
198
|
+
"zh-TW": $cd36dd33f9d46936$exports
|
|
199
199
|
};
|
|
200
200
|
|
|
201
201
|
|
|
@@ -203,21 +203,21 @@ $c91563d0bb59aea2$exports = {
|
|
|
203
203
|
|
|
204
204
|
|
|
205
205
|
|
|
206
|
-
function $
|
|
206
|
+
function $c350ade66beef0af$export$8c18d1b4f7232bbf(props, state) {
|
|
207
207
|
let { buttonRef: buttonRef , popoverRef: popoverRef , inputRef: inputRef , listBoxRef: listBoxRef , keyboardDelegate: keyboardDelegate , shouldFocusWrap: // completionMode = 'suggest',
|
|
208
208
|
shouldFocusWrap , isReadOnly: isReadOnly , isDisabled: isDisabled } = props;
|
|
209
|
-
let formatMessage = $
|
|
210
|
-
let { menuTriggerProps: menuTriggerProps , menuProps: menuProps } = $
|
|
209
|
+
let formatMessage = $3yVy0$useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($2e84e748dc57e459$exports)));
|
|
210
|
+
let { menuTriggerProps: menuTriggerProps , menuProps: menuProps } = $3yVy0$useMenuTrigger({
|
|
211
211
|
type: 'listbox',
|
|
212
212
|
isDisabled: isDisabled || isReadOnly
|
|
213
213
|
}, state, buttonRef);
|
|
214
214
|
// Set listbox id so it can be used when calling getItemId later
|
|
215
|
-
$
|
|
215
|
+
$3yVy0$listData.set(state, {
|
|
216
216
|
id: menuProps.id
|
|
217
217
|
});
|
|
218
218
|
// By default, a KeyboardDelegate is provided which uses the DOM to query layout information (e.g. for page up/page down).
|
|
219
219
|
// When virtualized, the layout object will be passed in as a prop and override this.
|
|
220
|
-
let delegate = $
|
|
220
|
+
let delegate = $3yVy0$useMemo(()=>keyboardDelegate || new $3yVy0$ListKeyboardDelegate(state.collection, state.disabledKeys, listBoxRef)
|
|
221
221
|
, [
|
|
222
222
|
keyboardDelegate,
|
|
223
223
|
state.collection,
|
|
@@ -225,7 +225,7 @@ function $be1e4cc1f2d16e08$export$8c18d1b4f7232bbf(props, state) {
|
|
|
225
225
|
listBoxRef
|
|
226
226
|
]);
|
|
227
227
|
// Use useSelectableCollection to get the keyboard handlers to apply to the textfield
|
|
228
|
-
let { collectionProps: collectionProps } = $
|
|
228
|
+
let { collectionProps: collectionProps } = $3yVy0$useSelectableCollection({
|
|
229
229
|
selectionManager: state.selectionManager,
|
|
230
230
|
keyboardDelegate: delegate,
|
|
231
231
|
disallowTypeAhead: true,
|
|
@@ -271,10 +271,10 @@ function $be1e4cc1f2d16e08$export$8c18d1b4f7232bbf(props, state) {
|
|
|
271
271
|
if (props.onFocus) props.onFocus(e);
|
|
272
272
|
state.setFocused(true);
|
|
273
273
|
};
|
|
274
|
-
let { labelProps: labelProps , inputProps: inputProps , descriptionProps: descriptionProps , errorMessageProps: errorMessageProps } = $
|
|
274
|
+
let { labelProps: labelProps , inputProps: inputProps , descriptionProps: descriptionProps , errorMessageProps: errorMessageProps } = $3yVy0$useTextField({
|
|
275
275
|
...props,
|
|
276
276
|
onChange: state.setInputValue,
|
|
277
|
-
onKeyDown: !isReadOnly && $
|
|
277
|
+
onKeyDown: !isReadOnly && $3yVy0$chain(state.isOpen && collectionProps.onKeyDown, onKeyDown, props.onKeyDown),
|
|
278
278
|
onBlur: onBlur,
|
|
279
279
|
value: state.inputValue,
|
|
280
280
|
onFocus: onFocus,
|
|
@@ -294,18 +294,18 @@ function $be1e4cc1f2d16e08$export$8c18d1b4f7232bbf(props, state) {
|
|
|
294
294
|
state.toggle(e.pointerType === 'keyboard' || e.pointerType === 'virtual' ? 'first' : null, 'manual');
|
|
295
295
|
}
|
|
296
296
|
};
|
|
297
|
-
let triggerLabelProps = $
|
|
297
|
+
let triggerLabelProps = $3yVy0$useLabels({
|
|
298
298
|
id: menuTriggerProps.id,
|
|
299
299
|
'aria-label': formatMessage('buttonLabel'),
|
|
300
300
|
'aria-labelledby': props['aria-labelledby'] || labelProps.id
|
|
301
301
|
});
|
|
302
|
-
let listBoxProps = $
|
|
302
|
+
let listBoxProps = $3yVy0$useLabels({
|
|
303
303
|
id: menuProps.id,
|
|
304
304
|
'aria-label': formatMessage('listboxLabel'),
|
|
305
305
|
'aria-labelledby': props['aria-labelledby'] || labelProps.id
|
|
306
306
|
});
|
|
307
307
|
// If a touch happens on direct center of ComboBox input, might be virtual click from iPad so open ComboBox menu
|
|
308
|
-
let lastEventTime = $
|
|
308
|
+
let lastEventTime = $3yVy0$useRef(0);
|
|
309
309
|
let onTouchEnd = (e)=>{
|
|
310
310
|
if (isDisabled || isReadOnly) return;
|
|
311
311
|
// Sometimes VoiceOver on iOS fires two touchend events in quick succession. Ignore the second one.
|
|
@@ -333,10 +333,10 @@ function $be1e4cc1f2d16e08$export$8c18d1b4f7232bbf(props, state) {
|
|
|
333
333
|
let sectionKey = (ref1 = focusedItem === null || focusedItem === void 0 ? void 0 : focusedItem.parentKey) !== null && ref1 !== void 0 ? ref1 : null;
|
|
334
334
|
var _focusedKey;
|
|
335
335
|
let itemKey = (_focusedKey = state.selectionManager.focusedKey) !== null && _focusedKey !== void 0 ? _focusedKey : null;
|
|
336
|
-
let lastSection = $
|
|
337
|
-
let lastItem = $
|
|
338
|
-
$
|
|
339
|
-
if ($
|
|
336
|
+
let lastSection = $3yVy0$useRef(sectionKey);
|
|
337
|
+
let lastItem = $3yVy0$useRef(itemKey);
|
|
338
|
+
$3yVy0$useEffect(()=>{
|
|
339
|
+
if ($3yVy0$isAppleDevice() && focusedItem != null && itemKey !== lastItem.current) {
|
|
340
340
|
let isSelected = state.selectionManager.isSelected(itemKey);
|
|
341
341
|
let section = sectionKey != null ? state.collection.getItem(sectionKey) : null;
|
|
342
342
|
let sectionTitle = (section === null || section === void 0 ? void 0 : section['aria-label']) || (typeof (section === null || section === void 0 ? void 0 : section.rendered) === 'string' ? section.rendered : '') || '';
|
|
@@ -349,43 +349,43 @@ function $be1e4cc1f2d16e08$export$8c18d1b4f7232bbf(props, state) {
|
|
|
349
349
|
optionText: focusedItem['aria-label'] || focusedItem.textValue || '',
|
|
350
350
|
isSelected: isSelected
|
|
351
351
|
});
|
|
352
|
-
$
|
|
352
|
+
$3yVy0$announce(announcement);
|
|
353
353
|
}
|
|
354
354
|
lastSection.current = sectionKey;
|
|
355
355
|
lastItem.current = itemKey;
|
|
356
356
|
});
|
|
357
357
|
// Announce the number of available suggestions when it changes
|
|
358
|
-
let optionCount = $
|
|
359
|
-
let lastSize = $
|
|
360
|
-
let lastOpen = $
|
|
361
|
-
$
|
|
358
|
+
let optionCount = $3yVy0$getItemCount(state.collection);
|
|
359
|
+
let lastSize = $3yVy0$useRef(optionCount);
|
|
360
|
+
let lastOpen = $3yVy0$useRef(state.isOpen);
|
|
361
|
+
$3yVy0$useEffect(()=>{
|
|
362
362
|
// Only announce the number of options available when the menu opens if there is no
|
|
363
363
|
// focused item, otherwise screen readers will typically read e.g. "1 of 6".
|
|
364
364
|
// The exception is VoiceOver since this isn't included in the message above.
|
|
365
|
-
let didOpenWithoutFocusedItem = state.isOpen !== lastOpen.current && (state.selectionManager.focusedKey == null || $
|
|
365
|
+
let didOpenWithoutFocusedItem = state.isOpen !== lastOpen.current && (state.selectionManager.focusedKey == null || $3yVy0$isAppleDevice());
|
|
366
366
|
if (state.isOpen && (didOpenWithoutFocusedItem || optionCount !== lastSize.current)) {
|
|
367
367
|
let announcement = formatMessage('countAnnouncement', {
|
|
368
368
|
optionCount: optionCount
|
|
369
369
|
});
|
|
370
|
-
$
|
|
370
|
+
$3yVy0$announce(announcement);
|
|
371
371
|
}
|
|
372
372
|
lastSize.current = optionCount;
|
|
373
373
|
lastOpen.current = state.isOpen;
|
|
374
374
|
});
|
|
375
375
|
// Announce when a selection occurs for VoiceOver. Other screen readers typically do this automatically.
|
|
376
|
-
let lastSelectedKey = $
|
|
377
|
-
$
|
|
378
|
-
if ($
|
|
376
|
+
let lastSelectedKey = $3yVy0$useRef(state.selectedKey);
|
|
377
|
+
$3yVy0$useEffect(()=>{
|
|
378
|
+
if ($3yVy0$isAppleDevice() && state.isFocused && state.selectedItem && state.selectedKey !== lastSelectedKey.current) {
|
|
379
379
|
let optionText = state.selectedItem['aria-label'] || state.selectedItem.textValue || '';
|
|
380
380
|
let announcement = formatMessage('selectedAnnouncement', {
|
|
381
381
|
optionText: optionText
|
|
382
382
|
});
|
|
383
|
-
$
|
|
383
|
+
$3yVy0$announce(announcement);
|
|
384
384
|
}
|
|
385
385
|
lastSelectedKey.current = state.selectedKey;
|
|
386
386
|
});
|
|
387
|
-
$
|
|
388
|
-
if (state.isOpen) return $
|
|
387
|
+
$3yVy0$useEffect(()=>{
|
|
388
|
+
if (state.isOpen) return $3yVy0$ariaHideOutside([
|
|
389
389
|
inputRef.current,
|
|
390
390
|
popoverRef.current
|
|
391
391
|
]);
|
|
@@ -404,20 +404,20 @@ function $be1e4cc1f2d16e08$export$8c18d1b4f7232bbf(props, state) {
|
|
|
404
404
|
onPressStart: onPressStart,
|
|
405
405
|
isDisabled: isDisabled || isReadOnly
|
|
406
406
|
},
|
|
407
|
-
inputProps: $
|
|
407
|
+
inputProps: $3yVy0$mergeProps(inputProps, {
|
|
408
408
|
role: 'combobox',
|
|
409
409
|
'aria-expanded': menuTriggerProps['aria-expanded'],
|
|
410
410
|
'aria-controls': state.isOpen ? menuProps.id : undefined,
|
|
411
411
|
// TODO: readd proper logic for completionMode = complete (aria-autocomplete: both)
|
|
412
412
|
'aria-autocomplete': 'list',
|
|
413
|
-
'aria-activedescendant': focusedItem ? $
|
|
413
|
+
'aria-activedescendant': focusedItem ? $3yVy0$getItemId(state, focusedItem.key) : undefined,
|
|
414
414
|
onTouchEnd: onTouchEnd,
|
|
415
415
|
// This disable's iOS's autocorrect suggestions, since the combo box provides its own suggestions.
|
|
416
416
|
autoCorrect: 'off',
|
|
417
417
|
// This disable's the macOS Safari spell check auto corrections.
|
|
418
418
|
spellCheck: 'false'
|
|
419
419
|
}),
|
|
420
|
-
listBoxProps: $
|
|
420
|
+
listBoxProps: $3yVy0$mergeProps(menuProps, listBoxProps, {
|
|
421
421
|
autoFocus: state.focusStrategy,
|
|
422
422
|
shouldUseVirtualFocus: true,
|
|
423
423
|
shouldSelectOnPressUp: true,
|
|
@@ -431,5 +431,5 @@ function $be1e4cc1f2d16e08$export$8c18d1b4f7232bbf(props, state) {
|
|
|
431
431
|
|
|
432
432
|
|
|
433
433
|
|
|
434
|
-
export {$
|
|
434
|
+
export {$c350ade66beef0af$export$8c18d1b4f7232bbf as useComboBox};
|
|
435
435
|
//# sourceMappingURL=module.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-aria/combobox",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.4-nightly.3113+404d41859",
|
|
4
4
|
"description": "Spectrum UI components in React",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -18,21 +18,21 @@
|
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@babel/runtime": "^7.6.2",
|
|
21
|
-
"@react-aria/i18n": "
|
|
22
|
-
"@react-aria/interactions": "
|
|
23
|
-
"@react-aria/listbox": "
|
|
24
|
-
"@react-aria/live-announcer": "
|
|
25
|
-
"@react-aria/menu": "
|
|
26
|
-
"@react-aria/overlays": "
|
|
27
|
-
"@react-aria/selection": "
|
|
28
|
-
"@react-aria/textfield": "
|
|
29
|
-
"@react-aria/utils": "
|
|
30
|
-
"@react-stately/collections": "
|
|
31
|
-
"@react-stately/combobox": "
|
|
32
|
-
"@react-stately/layout": "
|
|
33
|
-
"@react-types/button": "
|
|
34
|
-
"@react-types/combobox": "
|
|
35
|
-
"@react-types/shared": "
|
|
21
|
+
"@react-aria/i18n": "3.0.0-nightly.1417+404d41859",
|
|
22
|
+
"@react-aria/interactions": "3.0.0-nightly.1417+404d41859",
|
|
23
|
+
"@react-aria/listbox": "3.4.3-nightly.3113+404d41859",
|
|
24
|
+
"@react-aria/live-announcer": "3.0.0-nightly.1417+404d41859",
|
|
25
|
+
"@react-aria/menu": "3.4.2-nightly.3113+404d41859",
|
|
26
|
+
"@react-aria/overlays": "3.0.0-nightly.1417+404d41859",
|
|
27
|
+
"@react-aria/selection": "3.0.0-nightly.1417+404d41859",
|
|
28
|
+
"@react-aria/textfield": "3.0.0-nightly.1417+404d41859",
|
|
29
|
+
"@react-aria/utils": "3.0.0-nightly.1417+404d41859",
|
|
30
|
+
"@react-stately/collections": "3.0.0-nightly.1417+404d41859",
|
|
31
|
+
"@react-stately/combobox": "3.0.4-nightly.3113+404d41859",
|
|
32
|
+
"@react-stately/layout": "3.4.5-nightly.3113+404d41859",
|
|
33
|
+
"@react-types/button": "3.4.4-nightly.3113+404d41859",
|
|
34
|
+
"@react-types/combobox": "3.2.4-nightly.3113+404d41859",
|
|
35
|
+
"@react-types/shared": "3.0.0-nightly.1417+404d41859"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"react": "^16.8.0 || ^17.0.0-rc.1",
|