@react-spectrum/actionbar 3.0.0-alpha.10 → 3.0.0-alpha.11
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 +382 -64
- package/dist/main.js.map +1 -1
- package/dist/module.js +382 -48
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +2 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +17 -17
- package/src/ActionBar.tsx +8 -8
- package/src/index.ts +4 -4
package/dist/module.js
CHANGED
|
@@ -11,7 +11,7 @@ import {OpenTransition as $N9qJl$OpenTransition} from "@react-spectrum/overlays"
|
|
|
11
11
|
import $N9qJl$react, {useRef as $N9qJl$useRef, useEffect as $N9qJl$useEffect} from "react";
|
|
12
12
|
import {Text as $N9qJl$Text} from "@react-spectrum/text";
|
|
13
13
|
import {useKeyboard as $N9qJl$useKeyboard} from "@react-aria/interactions";
|
|
14
|
-
import {
|
|
14
|
+
import {useLocalizedStringFormatter as $N9qJl$useLocalizedStringFormatter} from "@react-aria/i18n";
|
|
15
15
|
import {useProviderProps as $N9qJl$useProviderProps} from "@react-spectrum/provider";
|
|
16
16
|
|
|
17
17
|
function $parcel$interopDefault(a) {
|
|
@@ -20,9 +20,6 @@ function $parcel$interopDefault(a) {
|
|
|
20
20
|
function $parcel$export(e, n, v, s) {
|
|
21
21
|
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
22
22
|
}
|
|
23
|
-
var $a4e665fbd087d71e$exports = {};
|
|
24
|
-
|
|
25
|
-
$parcel$export($a4e665fbd087d71e$exports, "ActionBar", () => $a4e665fbd087d71e$export$e213cebad6250b4a);
|
|
26
23
|
|
|
27
24
|
|
|
28
25
|
|
|
@@ -32,139 +29,479 @@ $parcel$export($a4e665fbd087d71e$exports, "ActionBar", () => $a4e665fbd087d71e$e
|
|
|
32
29
|
|
|
33
30
|
var $992d76e8dd5fee7b$exports = {};
|
|
34
31
|
var $42f1aaf0cd835ede$exports = {};
|
|
35
|
-
$42f1aaf0cd835ede$exports =
|
|
32
|
+
$42f1aaf0cd835ede$exports = {
|
|
33
|
+
"actions": `الإجراءات`,
|
|
34
|
+
"actionsAvailable": `الإجراءات المتاحة.`,
|
|
35
|
+
"clearSelection": `إزالة التحديد`,
|
|
36
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
37
|
+
"=0": `غير محدد`,
|
|
38
|
+
other: ()=>`${formatter.number(args.count)} محدد`
|
|
39
|
+
})}`
|
|
40
|
+
,
|
|
41
|
+
"selectedAll": `تم تحديد الكل`
|
|
42
|
+
};
|
|
36
43
|
|
|
37
44
|
|
|
38
45
|
var $22c931b8c5fa9db9$exports = {};
|
|
39
|
-
$22c931b8c5fa9db9$exports =
|
|
46
|
+
$22c931b8c5fa9db9$exports = {
|
|
47
|
+
"actions": `Действия`,
|
|
48
|
+
"actionsAvailable": `Налични действия.`,
|
|
49
|
+
"clearSelection": `Изчистване на избора`,
|
|
50
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
51
|
+
"=0": `Няма избрани`,
|
|
52
|
+
other: ()=>`${formatter.number(args.count)} избрани`
|
|
53
|
+
})}`
|
|
54
|
+
,
|
|
55
|
+
"selectedAll": `Всички избрани`
|
|
56
|
+
};
|
|
40
57
|
|
|
41
58
|
|
|
42
59
|
var $07dc24deaaf64ab0$exports = {};
|
|
43
|
-
$07dc24deaaf64ab0$exports =
|
|
60
|
+
$07dc24deaaf64ab0$exports = {
|
|
61
|
+
"actions": `Akce`,
|
|
62
|
+
"actionsAvailable": `Dostupné akce.`,
|
|
63
|
+
"clearSelection": `Vymazat výběr`,
|
|
64
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
65
|
+
"=0": `Nic není vybráno`,
|
|
66
|
+
other: ()=>`Vybráno ${formatter.number(args.count)}`
|
|
67
|
+
})}`
|
|
68
|
+
,
|
|
69
|
+
"selectedAll": `Vybráno vše`
|
|
70
|
+
};
|
|
44
71
|
|
|
45
72
|
|
|
46
73
|
var $44fd3a75baaf9937$exports = {};
|
|
47
|
-
$44fd3a75baaf9937$exports =
|
|
74
|
+
$44fd3a75baaf9937$exports = {
|
|
75
|
+
"actions": `Handlinger`,
|
|
76
|
+
"actionsAvailable": `Tilgængelige handlinger.`,
|
|
77
|
+
"clearSelection": `Ryd markering`,
|
|
78
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
79
|
+
"=0": `Ingen valgt`,
|
|
80
|
+
other: ()=>`${formatter.number(args.count)} valgt`
|
|
81
|
+
})}`
|
|
82
|
+
,
|
|
83
|
+
"selectedAll": `Alle valgt`
|
|
84
|
+
};
|
|
48
85
|
|
|
49
86
|
|
|
50
87
|
var $3281990be7bd78f6$exports = {};
|
|
51
|
-
$3281990be7bd78f6$exports =
|
|
88
|
+
$3281990be7bd78f6$exports = {
|
|
89
|
+
"actions": `Aktionen`,
|
|
90
|
+
"actionsAvailable": `Aktionen verfügbar.`,
|
|
91
|
+
"clearSelection": `Auswahl löschen`,
|
|
92
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
93
|
+
"=0": `Nichts ausgewählt`,
|
|
94
|
+
other: ()=>`${formatter.number(args.count)} ausgewählt`
|
|
95
|
+
})}`
|
|
96
|
+
,
|
|
97
|
+
"selectedAll": `Alles ausgewählt`
|
|
98
|
+
};
|
|
52
99
|
|
|
53
100
|
|
|
54
101
|
var $242cbd951f3bcfeb$exports = {};
|
|
55
|
-
$242cbd951f3bcfeb$exports =
|
|
102
|
+
$242cbd951f3bcfeb$exports = {
|
|
103
|
+
"actions": `Ενέργειες`,
|
|
104
|
+
"actionsAvailable": `Υπάρχουν διαθέσιμες ενέργειες.`,
|
|
105
|
+
"clearSelection": `Εκκαθάριση επιλογής`,
|
|
106
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
107
|
+
"=0": `Δεν επιλέχθηκε κανένα`,
|
|
108
|
+
other: ()=>`Επιλέχθηκαν ${formatter.number(args.count)}`
|
|
109
|
+
})}`
|
|
110
|
+
,
|
|
111
|
+
"selectedAll": `Επιλέχθηκαν όλα`
|
|
112
|
+
};
|
|
56
113
|
|
|
57
114
|
|
|
58
115
|
var $117deeeb64547dc7$exports = {};
|
|
59
|
-
$117deeeb64547dc7$exports =
|
|
116
|
+
$117deeeb64547dc7$exports = {
|
|
117
|
+
"clearSelection": `Clear selection`,
|
|
118
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
119
|
+
"=0": `None selected`,
|
|
120
|
+
other: ()=>`${formatter.number(args.count)} selected`
|
|
121
|
+
})}`
|
|
122
|
+
,
|
|
123
|
+
"selectedAll": `All selected`,
|
|
124
|
+
"actions": `Actions`,
|
|
125
|
+
"actionsAvailable": `Actions available.`
|
|
126
|
+
};
|
|
60
127
|
|
|
61
128
|
|
|
62
129
|
var $5b8605d86a9af2ee$exports = {};
|
|
63
|
-
$5b8605d86a9af2ee$exports =
|
|
130
|
+
$5b8605d86a9af2ee$exports = {
|
|
131
|
+
"actions": `Acciones`,
|
|
132
|
+
"actionsAvailable": `Acciones disponibles.`,
|
|
133
|
+
"clearSelection": `Borrar selección`,
|
|
134
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
135
|
+
"=0": `Nada seleccionado`,
|
|
136
|
+
other: ()=>`${formatter.number(args.count)} seleccionado`
|
|
137
|
+
})}`
|
|
138
|
+
,
|
|
139
|
+
"selectedAll": `Todo seleccionado`
|
|
140
|
+
};
|
|
64
141
|
|
|
65
142
|
|
|
66
143
|
var $5530e5c9f2623025$exports = {};
|
|
67
|
-
$5530e5c9f2623025$exports =
|
|
144
|
+
$5530e5c9f2623025$exports = {
|
|
145
|
+
"actions": `Toimingud`,
|
|
146
|
+
"actionsAvailable": `Toimingud saadaval.`,
|
|
147
|
+
"clearSelection": `Puhasta valik`,
|
|
148
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
149
|
+
"=0": `Pole valitud`,
|
|
150
|
+
other: ()=>`${formatter.number(args.count)} valitud`
|
|
151
|
+
})}`
|
|
152
|
+
,
|
|
153
|
+
"selectedAll": `Kõik valitud`
|
|
154
|
+
};
|
|
68
155
|
|
|
69
156
|
|
|
70
157
|
var $7a405d1dfc563131$exports = {};
|
|
71
|
-
$7a405d1dfc563131$exports =
|
|
158
|
+
$7a405d1dfc563131$exports = {
|
|
159
|
+
"actions": `Toiminnot`,
|
|
160
|
+
"actionsAvailable": `Toiminnot käytettävissä.`,
|
|
161
|
+
"clearSelection": `Poista valinta`,
|
|
162
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
163
|
+
"=0": `Ei mitään valittu`,
|
|
164
|
+
other: ()=>`${formatter.number(args.count)} valittu`
|
|
165
|
+
})}`
|
|
166
|
+
,
|
|
167
|
+
"selectedAll": `Kaikki valittu`
|
|
168
|
+
};
|
|
72
169
|
|
|
73
170
|
|
|
74
171
|
var $e0c3da022513542b$exports = {};
|
|
75
|
-
$e0c3da022513542b$exports =
|
|
172
|
+
$e0c3da022513542b$exports = {
|
|
173
|
+
"actions": `Actions`,
|
|
174
|
+
"actionsAvailable": `Actions disponibles.`,
|
|
175
|
+
"clearSelection": `Supprimer la sélection`,
|
|
176
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
177
|
+
"=0": `Aucun élément sélectionné`,
|
|
178
|
+
other: ()=>`${formatter.number(args.count)} sélectionnés`
|
|
179
|
+
})}`
|
|
180
|
+
,
|
|
181
|
+
"selectedAll": `Toute la sélection`
|
|
182
|
+
};
|
|
76
183
|
|
|
77
184
|
|
|
78
185
|
var $796ff5aed019aee1$exports = {};
|
|
79
|
-
$796ff5aed019aee1$exports =
|
|
186
|
+
$796ff5aed019aee1$exports = {
|
|
187
|
+
"actions": `פעולות`,
|
|
188
|
+
"actionsAvailable": `פעולות זמינות.`,
|
|
189
|
+
"clearSelection": `נקה בחירה`,
|
|
190
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
191
|
+
"=0": `לא בוצעה בחירה`,
|
|
192
|
+
other: ()=>`${formatter.number(args.count)} נבחרו`
|
|
193
|
+
})}`
|
|
194
|
+
,
|
|
195
|
+
"selectedAll": `כל הפריטים שנבחרו`
|
|
196
|
+
};
|
|
80
197
|
|
|
81
198
|
|
|
82
199
|
var $e1066348ea80fd36$exports = {};
|
|
83
|
-
$e1066348ea80fd36$exports =
|
|
200
|
+
$e1066348ea80fd36$exports = {
|
|
201
|
+
"actions": `Radnje`,
|
|
202
|
+
"actionsAvailable": `Dostupne radnje.`,
|
|
203
|
+
"clearSelection": `Poništi odabir`,
|
|
204
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
205
|
+
"=0": `Nijedna nije odabrana`,
|
|
206
|
+
other: ()=>`${formatter.number(args.count)} je odabrano`
|
|
207
|
+
})}`
|
|
208
|
+
,
|
|
209
|
+
"selectedAll": `Sve je odabrano`
|
|
210
|
+
};
|
|
84
211
|
|
|
85
212
|
|
|
86
213
|
var $939ac78e6c54d005$exports = {};
|
|
87
|
-
$939ac78e6c54d005$exports =
|
|
214
|
+
$939ac78e6c54d005$exports = {
|
|
215
|
+
"actions": `Műveletek`,
|
|
216
|
+
"actionsAvailable": `Műveletek állnak rendelkezésre.`,
|
|
217
|
+
"clearSelection": `Kijelölés törlése`,
|
|
218
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
219
|
+
"=0": `Egy sincs kijelölve`,
|
|
220
|
+
other: ()=>`${formatter.number(args.count)} kijelölve`
|
|
221
|
+
})}`
|
|
222
|
+
,
|
|
223
|
+
"selectedAll": `Mind kijelölve`
|
|
224
|
+
};
|
|
88
225
|
|
|
89
226
|
|
|
90
227
|
var $087af352bd8a67a5$exports = {};
|
|
91
|
-
$087af352bd8a67a5$exports =
|
|
228
|
+
$087af352bd8a67a5$exports = {
|
|
229
|
+
"actions": `Azioni`,
|
|
230
|
+
"actionsAvailable": `Azioni disponibili.`,
|
|
231
|
+
"clearSelection": `Annulla selezione`,
|
|
232
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
233
|
+
"=0": `Nessuno selezionato`,
|
|
234
|
+
other: ()=>`${formatter.number(args.count)} selezionato/i`
|
|
235
|
+
})}`
|
|
236
|
+
,
|
|
237
|
+
"selectedAll": `Tutti selezionati`
|
|
238
|
+
};
|
|
92
239
|
|
|
93
240
|
|
|
94
241
|
var $ef25b75f84bf9640$exports = {};
|
|
95
|
-
$ef25b75f84bf9640$exports =
|
|
242
|
+
$ef25b75f84bf9640$exports = {
|
|
243
|
+
"actions": `アクション`,
|
|
244
|
+
"actionsAvailable": `アクションを利用できます。`,
|
|
245
|
+
"clearSelection": `選択をクリア`,
|
|
246
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
247
|
+
"=0": `選択されていません`,
|
|
248
|
+
other: ()=>`${formatter.number(args.count)} 個を選択しました`
|
|
249
|
+
})}`
|
|
250
|
+
,
|
|
251
|
+
"selectedAll": `すべてを選択`
|
|
252
|
+
};
|
|
96
253
|
|
|
97
254
|
|
|
98
255
|
var $a9fcaa28ab16ac58$exports = {};
|
|
99
|
-
$a9fcaa28ab16ac58$exports =
|
|
256
|
+
$a9fcaa28ab16ac58$exports = {
|
|
257
|
+
"actions": `액션`,
|
|
258
|
+
"actionsAvailable": `사용 가능한 액션`,
|
|
259
|
+
"clearSelection": `선택 항목 지우기`,
|
|
260
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
261
|
+
"=0": `선택된 항목 없음`,
|
|
262
|
+
other: ()=>`${formatter.number(args.count)}개 선택됨`
|
|
263
|
+
})}`
|
|
264
|
+
,
|
|
265
|
+
"selectedAll": `모두 선택됨`
|
|
266
|
+
};
|
|
100
267
|
|
|
101
268
|
|
|
102
269
|
var $7103396bd37d192c$exports = {};
|
|
103
|
-
$7103396bd37d192c$exports =
|
|
270
|
+
$7103396bd37d192c$exports = {
|
|
271
|
+
"actions": `Veiksmai`,
|
|
272
|
+
"actionsAvailable": `Galimi veiksmai.`,
|
|
273
|
+
"clearSelection": `Išvalyti pasirinkimą`,
|
|
274
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
275
|
+
"=0": `Nieko nepasirinkta`,
|
|
276
|
+
other: ()=>`Pasirinkta ${formatter.number(args.count)}`
|
|
277
|
+
})}`
|
|
278
|
+
,
|
|
279
|
+
"selectedAll": `Pasirinkta viskas`
|
|
280
|
+
};
|
|
104
281
|
|
|
105
282
|
|
|
106
283
|
var $da39587a937fb6fd$exports = {};
|
|
107
|
-
$da39587a937fb6fd$exports =
|
|
284
|
+
$da39587a937fb6fd$exports = {
|
|
285
|
+
"actions": `Darbības`,
|
|
286
|
+
"actionsAvailable": `Pieejamas darbības.`,
|
|
287
|
+
"clearSelection": `Notīrīt atlasi`,
|
|
288
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
289
|
+
"=0": `Nav atlasīts nekas`,
|
|
290
|
+
other: ()=>`Atlasīts: ${formatter.number(args.count)}`
|
|
291
|
+
})}`
|
|
292
|
+
,
|
|
293
|
+
"selectedAll": `Atlasīts viss`
|
|
294
|
+
};
|
|
108
295
|
|
|
109
296
|
|
|
110
297
|
var $fef3c3414d151198$exports = {};
|
|
111
|
-
$fef3c3414d151198$exports =
|
|
298
|
+
$fef3c3414d151198$exports = {
|
|
299
|
+
"actions": `Handlinger`,
|
|
300
|
+
"actionsAvailable": `Tilgjengelige handlinger.`,
|
|
301
|
+
"clearSelection": `Tøm utvalg`,
|
|
302
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
303
|
+
"=0": `Ingen er valgt`,
|
|
304
|
+
other: ()=>`${formatter.number(args.count)} er valgt`
|
|
305
|
+
})}`
|
|
306
|
+
,
|
|
307
|
+
"selectedAll": `Alle er valgt`
|
|
308
|
+
};
|
|
112
309
|
|
|
113
310
|
|
|
114
311
|
var $3cfd427955fee95c$exports = {};
|
|
115
|
-
$3cfd427955fee95c$exports =
|
|
312
|
+
$3cfd427955fee95c$exports = {
|
|
313
|
+
"actions": `Acties`,
|
|
314
|
+
"actionsAvailable": `Acties beschikbaar.`,
|
|
315
|
+
"clearSelection": `Selectie wissen`,
|
|
316
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
317
|
+
"=0": `Niets geselecteerd`,
|
|
318
|
+
other: ()=>`${formatter.number(args.count)} geselecteerd`
|
|
319
|
+
})}`
|
|
320
|
+
,
|
|
321
|
+
"selectedAll": `Alles geselecteerd`
|
|
322
|
+
};
|
|
116
323
|
|
|
117
324
|
|
|
118
325
|
var $ecd102793531599a$exports = {};
|
|
119
|
-
$ecd102793531599a$exports =
|
|
326
|
+
$ecd102793531599a$exports = {
|
|
327
|
+
"actions": `Działania`,
|
|
328
|
+
"actionsAvailable": `Dostępne działania.`,
|
|
329
|
+
"clearSelection": `Wyczyść zaznaczenie`,
|
|
330
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
331
|
+
"=0": `Nie zaznaczono żadnego elementu`,
|
|
332
|
+
other: ()=>`${formatter.number(args.count)} zaznaczonych`
|
|
333
|
+
})}`
|
|
334
|
+
,
|
|
335
|
+
"selectedAll": `Wszystkie zaznaczone`
|
|
336
|
+
};
|
|
120
337
|
|
|
121
338
|
|
|
122
339
|
var $70b0a95af4186e29$exports = {};
|
|
123
|
-
$70b0a95af4186e29$exports =
|
|
340
|
+
$70b0a95af4186e29$exports = {
|
|
341
|
+
"actions": `Ações`,
|
|
342
|
+
"actionsAvailable": `Ações disponíveis.`,
|
|
343
|
+
"clearSelection": `Limpar seleção`,
|
|
344
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
345
|
+
"=0": `Nada selecionado`,
|
|
346
|
+
other: ()=>`${formatter.number(args.count)} selecionado`
|
|
347
|
+
})}`
|
|
348
|
+
,
|
|
349
|
+
"selectedAll": `Todos selecionados`
|
|
350
|
+
};
|
|
124
351
|
|
|
125
352
|
|
|
126
353
|
var $4b15e180aed5c52d$exports = {};
|
|
127
|
-
$4b15e180aed5c52d$exports =
|
|
354
|
+
$4b15e180aed5c52d$exports = {
|
|
355
|
+
"actions": `Ações`,
|
|
356
|
+
"actionsAvailable": `Ações disponíveis.`,
|
|
357
|
+
"clearSelection": `Limpar seleção`,
|
|
358
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
359
|
+
"=0": `Nenhum selecionado`,
|
|
360
|
+
other: ()=>`${formatter.number(args.count)} selecionado`
|
|
361
|
+
})}`
|
|
362
|
+
,
|
|
363
|
+
"selectedAll": `Tudo selecionado`
|
|
364
|
+
};
|
|
128
365
|
|
|
129
366
|
|
|
130
367
|
var $d0ef0a1cef9c2d6c$exports = {};
|
|
131
|
-
$d0ef0a1cef9c2d6c$exports =
|
|
368
|
+
$d0ef0a1cef9c2d6c$exports = {
|
|
369
|
+
"actions": `Acțiuni`,
|
|
370
|
+
"actionsAvailable": `Acțiuni disponibile.`,
|
|
371
|
+
"clearSelection": `Goliți selecția`,
|
|
372
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
373
|
+
"=0": `Niciunul selectat`,
|
|
374
|
+
other: ()=>`${formatter.number(args.count)} selectate`
|
|
375
|
+
})}`
|
|
376
|
+
,
|
|
377
|
+
"selectedAll": `Toate selectate`
|
|
378
|
+
};
|
|
132
379
|
|
|
133
380
|
|
|
134
381
|
var $58fc1ff371f0c7fd$exports = {};
|
|
135
|
-
$58fc1ff371f0c7fd$exports =
|
|
382
|
+
$58fc1ff371f0c7fd$exports = {
|
|
383
|
+
"actions": `Действия`,
|
|
384
|
+
"actionsAvailable": `Возможно выполнение действий.`,
|
|
385
|
+
"clearSelection": `Очистить выбор`,
|
|
386
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
387
|
+
"=0": `Ничего не выбоано`,
|
|
388
|
+
other: ()=>`${formatter.number(args.count)} выбрано`
|
|
389
|
+
})}`
|
|
390
|
+
,
|
|
391
|
+
"selectedAll": `Выбрано все`
|
|
392
|
+
};
|
|
136
393
|
|
|
137
394
|
|
|
138
395
|
var $b5f65f4e7988d1dd$exports = {};
|
|
139
|
-
$b5f65f4e7988d1dd$exports =
|
|
396
|
+
$b5f65f4e7988d1dd$exports = {
|
|
397
|
+
"actions": `Akcie`,
|
|
398
|
+
"actionsAvailable": `Dostupné akcie.`,
|
|
399
|
+
"clearSelection": `Vymazať výber`,
|
|
400
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
401
|
+
"=0": `Žiadne vybraté položky`,
|
|
402
|
+
other: ()=>`Počet vybratých položiek: ${formatter.number(args.count)}`
|
|
403
|
+
})}`
|
|
404
|
+
,
|
|
405
|
+
"selectedAll": `Všetky vybraté položky`
|
|
406
|
+
};
|
|
140
407
|
|
|
141
408
|
|
|
142
409
|
var $5409ad409aeaf678$exports = {};
|
|
143
|
-
$5409ad409aeaf678$exports =
|
|
410
|
+
$5409ad409aeaf678$exports = {
|
|
411
|
+
"actions": `Dejanja`,
|
|
412
|
+
"actionsAvailable": `Na voljo so dejanja.`,
|
|
413
|
+
"clearSelection": `Počisti izbor`,
|
|
414
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
415
|
+
"=0": `Nič izbranih`,
|
|
416
|
+
other: ()=>`${formatter.number(args.count)} izbranih`
|
|
417
|
+
})}`
|
|
418
|
+
,
|
|
419
|
+
"selectedAll": `Vsi izbrani`
|
|
420
|
+
};
|
|
144
421
|
|
|
145
422
|
|
|
146
423
|
var $43feb38b3d4bbf1f$exports = {};
|
|
147
|
-
$43feb38b3d4bbf1f$exports =
|
|
424
|
+
$43feb38b3d4bbf1f$exports = {
|
|
425
|
+
"actions": `Radnje`,
|
|
426
|
+
"actionsAvailable": `Dostupne su radnje.`,
|
|
427
|
+
"clearSelection": `Poništi izbor`,
|
|
428
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
429
|
+
"=0": `Ništa nije izabrano`,
|
|
430
|
+
other: ()=>`${formatter.number(args.count)} je izabrano`
|
|
431
|
+
})}`
|
|
432
|
+
,
|
|
433
|
+
"selectedAll": `Sve je izabrano`
|
|
434
|
+
};
|
|
148
435
|
|
|
149
436
|
|
|
150
437
|
var $cbe41ff823ebe108$exports = {};
|
|
151
|
-
$cbe41ff823ebe108$exports =
|
|
438
|
+
$cbe41ff823ebe108$exports = {
|
|
439
|
+
"actions": `Åtgärder`,
|
|
440
|
+
"actionsAvailable": `Åtgärder finns.`,
|
|
441
|
+
"clearSelection": `Rensa markering`,
|
|
442
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
443
|
+
"=0": `Inga markerade`,
|
|
444
|
+
other: ()=>`${formatter.number(args.count)} markerade`
|
|
445
|
+
})}`
|
|
446
|
+
,
|
|
447
|
+
"selectedAll": `Alla markerade`
|
|
448
|
+
};
|
|
152
449
|
|
|
153
450
|
|
|
154
451
|
var $57b680843fcbe09e$exports = {};
|
|
155
|
-
$57b680843fcbe09e$exports =
|
|
452
|
+
$57b680843fcbe09e$exports = {
|
|
453
|
+
"actions": `Eylemler`,
|
|
454
|
+
"actionsAvailable": `Eylemler mevcut.`,
|
|
455
|
+
"clearSelection": `Seçimi temizle`,
|
|
456
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
457
|
+
"=0": `Hiçbiri seçilmedi`,
|
|
458
|
+
other: ()=>`${formatter.number(args.count)} seçildi`
|
|
459
|
+
})}`
|
|
460
|
+
,
|
|
461
|
+
"selectedAll": `Tümü seçildi`
|
|
462
|
+
};
|
|
156
463
|
|
|
157
464
|
|
|
158
465
|
var $1e4c96bc308e0da2$exports = {};
|
|
159
|
-
$1e4c96bc308e0da2$exports =
|
|
466
|
+
$1e4c96bc308e0da2$exports = {
|
|
467
|
+
"actions": `Дії`,
|
|
468
|
+
"actionsAvailable": `Доступні дії.`,
|
|
469
|
+
"clearSelection": `Очистити вибір`,
|
|
470
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
471
|
+
"=0": `Нічого не вибрано`,
|
|
472
|
+
other: ()=>`Вибрано: ${formatter.number(args.count)}`
|
|
473
|
+
})}`
|
|
474
|
+
,
|
|
475
|
+
"selectedAll": `Усе вибрано`
|
|
476
|
+
};
|
|
160
477
|
|
|
161
478
|
|
|
162
479
|
var $18faa55a67dca8f3$exports = {};
|
|
163
|
-
$18faa55a67dca8f3$exports =
|
|
480
|
+
$18faa55a67dca8f3$exports = {
|
|
481
|
+
"actions": `操作`,
|
|
482
|
+
"actionsAvailable": `有可用操作。`,
|
|
483
|
+
"clearSelection": `清除选择`,
|
|
484
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
485
|
+
"=0": `无选择`,
|
|
486
|
+
other: ()=>`已选择 ${formatter.number(args.count)} 个`
|
|
487
|
+
})}`
|
|
488
|
+
,
|
|
489
|
+
"selectedAll": `全选`
|
|
490
|
+
};
|
|
164
491
|
|
|
165
492
|
|
|
166
493
|
var $804c64c525579787$exports = {};
|
|
167
|
-
$804c64c525579787$exports =
|
|
494
|
+
$804c64c525579787$exports = {
|
|
495
|
+
"actions": `動作`,
|
|
496
|
+
"actionsAvailable": `可執行的動作。`,
|
|
497
|
+
"clearSelection": `清除選取項目`,
|
|
498
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
499
|
+
"=0": `未選取任何項目`,
|
|
500
|
+
other: ()=>`已選取 ${formatter.number(args.count)} 個`
|
|
501
|
+
})}`
|
|
502
|
+
,
|
|
503
|
+
"selectedAll": `已選取所有項目`
|
|
504
|
+
};
|
|
168
505
|
|
|
169
506
|
|
|
170
507
|
$992d76e8dd5fee7b$exports = {
|
|
@@ -252,7 +589,7 @@ const $a4e665fbd087d71e$var$ActionBarInner = /*#__PURE__*/ $N9qJl$react.forwardR
|
|
|
252
589
|
let { children: children , isEmphasized: isEmphasized , onAction: onAction , onClearSelection: onClearSelection , selectedItemCount: selectedItemCount , isOpen: isOpen } = props;
|
|
253
590
|
let { styleProps: styleProps } = $N9qJl$useStyleProps(props);
|
|
254
591
|
let domRef = $N9qJl$useDOMRef(ref);
|
|
255
|
-
let
|
|
592
|
+
let stringFormatter = $N9qJl$useLocalizedStringFormatter((/*@__PURE__*/$parcel$interopDefault($992d76e8dd5fee7b$exports)));
|
|
256
593
|
// Store the last count greater than zero in a ref so that we can retain it while rendering the fade-out animation.
|
|
257
594
|
let lastCount = $N9qJl$useRef(selectedItemCount);
|
|
258
595
|
if (selectedItemCount === 'all' || selectedItemCount > 0) lastCount.current = selectedItemCount;
|
|
@@ -266,9 +603,9 @@ const $a4e665fbd087d71e$var$ActionBarInner = /*#__PURE__*/ $N9qJl$react.forwardR
|
|
|
266
603
|
});
|
|
267
604
|
// Announce "actions available" on mount.
|
|
268
605
|
$N9qJl$useEffect(()=>{
|
|
269
|
-
$N9qJl$announce(
|
|
606
|
+
$N9qJl$announce(stringFormatter.format('actionsAvailable'));
|
|
270
607
|
}, [
|
|
271
|
-
|
|
608
|
+
stringFormatter
|
|
272
609
|
]);
|
|
273
610
|
return(/*#__PURE__*/ $N9qJl$react.createElement($N9qJl$FocusScope, {
|
|
274
611
|
restoreFocus: true
|
|
@@ -284,7 +621,7 @@ const $a4e665fbd087d71e$var$ActionBarInner = /*#__PURE__*/ $N9qJl$react.forwardR
|
|
|
284
621
|
}, /*#__PURE__*/ $N9qJl$react.createElement("div", {
|
|
285
622
|
className: $N9qJl$classNames((/*@__PURE__*/$parcel$interopDefault($7bd9eeb2cd70bd0c$exports)), 'react-spectrum-ActionBar-bar')
|
|
286
623
|
}, /*#__PURE__*/ $N9qJl$react.createElement($N9qJl$ActionGroup, {
|
|
287
|
-
"aria-label":
|
|
624
|
+
"aria-label": stringFormatter.format('actions'),
|
|
288
625
|
isQuiet: true,
|
|
289
626
|
staticColor: isEmphasized ? 'white' : null,
|
|
290
627
|
overflowMode: "collapse",
|
|
@@ -293,14 +630,14 @@ const $a4e665fbd087d71e$var$ActionBarInner = /*#__PURE__*/ $N9qJl$react.forwardR
|
|
|
293
630
|
UNSAFE_className: $N9qJl$classNames((/*@__PURE__*/$parcel$interopDefault($7bd9eeb2cd70bd0c$exports)), 'react-spectrum-ActionBar-actionGroup')
|
|
294
631
|
}, children), /*#__PURE__*/ $N9qJl$react.createElement($N9qJl$ActionButton, {
|
|
295
632
|
gridArea: "clear",
|
|
296
|
-
"aria-label":
|
|
633
|
+
"aria-label": stringFormatter.format('clearSelection'),
|
|
297
634
|
onPress: ()=>onClearSelection()
|
|
298
635
|
,
|
|
299
636
|
isQuiet: true,
|
|
300
637
|
staticColor: isEmphasized ? 'white' : null
|
|
301
638
|
}, /*#__PURE__*/ $N9qJl$react.createElement($N9qJl$spectrumiconsuiCrossLarge, null)), /*#__PURE__*/ $N9qJl$react.createElement($N9qJl$Text, {
|
|
302
639
|
UNSAFE_className: $N9qJl$classNames((/*@__PURE__*/$parcel$interopDefault($7bd9eeb2cd70bd0c$exports)), 'react-spectrum-ActionBar-selectedCount')
|
|
303
|
-
}, lastCount.current === 'all' ?
|
|
640
|
+
}, lastCount.current === 'all' ? stringFormatter.format('selectedAll') : stringFormatter.format('selected', {
|
|
304
641
|
count: lastCount.current
|
|
305
642
|
}))))));
|
|
306
643
|
});
|
|
@@ -309,9 +646,6 @@ const $a4e665fbd087d71e$var$ActionBarInner = /*#__PURE__*/ $N9qJl$react.forwardR
|
|
|
309
646
|
*/ const $a4e665fbd087d71e$export$e213cebad6250b4a = /*#__PURE__*/ $N9qJl$react.forwardRef($a4e665fbd087d71e$var$ActionBar);
|
|
310
647
|
|
|
311
648
|
|
|
312
|
-
var $2f6c8b20aa071c6d$exports = {};
|
|
313
|
-
|
|
314
|
-
$parcel$export($2f6c8b20aa071c6d$exports, "ActionBarContainer", () => $2f6c8b20aa071c6d$export$ac2eb07f267e434c);
|
|
315
649
|
|
|
316
650
|
|
|
317
651
|
|
|
@@ -338,5 +672,5 @@ function $2f6c8b20aa071c6d$var$ActionBarContainer(props, ref) {
|
|
|
338
672
|
|
|
339
673
|
|
|
340
674
|
|
|
341
|
-
export {$
|
|
675
|
+
export {$a4e665fbd087d71e$export$e213cebad6250b4a as ActionBar, $2f6c8b20aa071c6d$export$ac2eb07f267e434c as ActionBarContainer, $da70baa779e17e7a$re_export$Item as Item};
|
|
342
676
|
//# sourceMappingURL=module.js.map
|