@react-spectrum/actionbar 3.0.0-alpha.8 → 3.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/import.mjs +676 -0
- package/dist/main.css +1 -1
- package/dist/main.js +429 -111
- package/dist/main.js.map +1 -1
- package/dist/module.js +430 -96
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +5 -2
- package/dist/types.d.ts.map +1 -1
- package/package.json +25 -21
- package/src/ActionBar.tsx +24 -19
- package/src/ActionBarContainer.tsx +2 -1
- package/src/index.ts +4 -4
package/dist/main.js
CHANGED
|
@@ -17,31 +17,35 @@ var $grxqE$reactspectrumprovider = require("@react-spectrum/provider");
|
|
|
17
17
|
function $parcel$export(e, n, v, s) {
|
|
18
18
|
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
19
19
|
}
|
|
20
|
-
function $parcel$exportWildcard(dest, source) {
|
|
21
|
-
Object.keys(source).forEach(function(key) {
|
|
22
|
-
if (key === 'default' || key === '__esModule' || dest.hasOwnProperty(key)) {
|
|
23
|
-
return;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
Object.defineProperty(dest, key, {
|
|
27
|
-
enumerable: true,
|
|
28
|
-
get: function get() {
|
|
29
|
-
return source[key];
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
});
|
|
33
|
-
|
|
34
|
-
return dest;
|
|
35
|
-
}
|
|
36
20
|
function $parcel$interopDefault(a) {
|
|
37
21
|
return a && a.__esModule ? a.default : a;
|
|
38
22
|
}
|
|
39
23
|
|
|
24
|
+
$parcel$export(module.exports, "ActionBar", () => $7b5467653feb1153$export$e213cebad6250b4a);
|
|
25
|
+
$parcel$export(module.exports, "ActionBarContainer", () => $961b22d2b8bd2da1$export$ac2eb07f267e434c);
|
|
40
26
|
$parcel$export(module.exports, "Item", () => $grxqE$reactstatelycollections.Item);
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
27
|
+
/*
|
|
28
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
29
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
30
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
31
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
32
|
+
*
|
|
33
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
34
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
35
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
36
|
+
* governing permissions and limitations under the License.
|
|
37
|
+
*/ /// <reference types="css-module-types" />
|
|
38
|
+
/*
|
|
39
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
40
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
41
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
42
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
43
|
+
*
|
|
44
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
45
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
46
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
47
|
+
* governing permissions and limitations under the License.
|
|
48
|
+
*/
|
|
45
49
|
|
|
46
50
|
|
|
47
51
|
|
|
@@ -50,139 +54,445 @@ $parcel$export($7b5467653feb1153$exports, "ActionBar", () => $7b5467653feb1153$e
|
|
|
50
54
|
|
|
51
55
|
var $304e231322f30cb2$exports = {};
|
|
52
56
|
var $a42f3d97a30aa6c9$exports = {};
|
|
53
|
-
$a42f3d97a30aa6c9$exports =
|
|
57
|
+
$a42f3d97a30aa6c9$exports = {
|
|
58
|
+
"actions": `الإجراءات`,
|
|
59
|
+
"actionsAvailable": `الإجراءات المتاحة.`,
|
|
60
|
+
"clearSelection": `إزالة التحديد`,
|
|
61
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
62
|
+
"=0": `غير محدد`,
|
|
63
|
+
other: ()=>`${formatter.number(args.count)} محدد`
|
|
64
|
+
})}`,
|
|
65
|
+
"selectedAll": `تم تحديد الكل`
|
|
66
|
+
};
|
|
54
67
|
|
|
55
68
|
|
|
56
69
|
var $527a50f3b3c911b7$exports = {};
|
|
57
|
-
$527a50f3b3c911b7$exports =
|
|
70
|
+
$527a50f3b3c911b7$exports = {
|
|
71
|
+
"actions": `Действия`,
|
|
72
|
+
"actionsAvailable": `Налични действия.`,
|
|
73
|
+
"clearSelection": `Изчистване на избора`,
|
|
74
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
75
|
+
"=0": `Няма избрани`,
|
|
76
|
+
other: ()=>`${formatter.number(args.count)} избрани`
|
|
77
|
+
})}`,
|
|
78
|
+
"selectedAll": `Всички избрани`
|
|
79
|
+
};
|
|
58
80
|
|
|
59
81
|
|
|
60
82
|
var $cd90476fdc303242$exports = {};
|
|
61
|
-
$cd90476fdc303242$exports =
|
|
83
|
+
$cd90476fdc303242$exports = {
|
|
84
|
+
"actions": `Akce`,
|
|
85
|
+
"actionsAvailable": `Dostupné akce.`,
|
|
86
|
+
"clearSelection": `Vymazat výběr`,
|
|
87
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
88
|
+
"=0": `Nic není vybráno`,
|
|
89
|
+
other: ()=>`Vybráno ${formatter.number(args.count)}`
|
|
90
|
+
})}`,
|
|
91
|
+
"selectedAll": `Vybráno vše`
|
|
92
|
+
};
|
|
62
93
|
|
|
63
94
|
|
|
64
95
|
var $081b7298af5f5b69$exports = {};
|
|
65
|
-
$081b7298af5f5b69$exports =
|
|
96
|
+
$081b7298af5f5b69$exports = {
|
|
97
|
+
"actions": `Handlinger`,
|
|
98
|
+
"actionsAvailable": `Tilgængelige handlinger.`,
|
|
99
|
+
"clearSelection": `Ryd markering`,
|
|
100
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
101
|
+
"=0": `Ingen valgt`,
|
|
102
|
+
other: ()=>`${formatter.number(args.count)} valgt`
|
|
103
|
+
})}`,
|
|
104
|
+
"selectedAll": `Alle valgt`
|
|
105
|
+
};
|
|
66
106
|
|
|
67
107
|
|
|
68
108
|
var $6ef7dffbce87e74f$exports = {};
|
|
69
|
-
$6ef7dffbce87e74f$exports =
|
|
109
|
+
$6ef7dffbce87e74f$exports = {
|
|
110
|
+
"actions": `Aktionen`,
|
|
111
|
+
"actionsAvailable": `Aktionen verfügbar.`,
|
|
112
|
+
"clearSelection": `Auswahl löschen`,
|
|
113
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
114
|
+
"=0": `Nichts ausgewählt`,
|
|
115
|
+
other: ()=>`${formatter.number(args.count)} ausgewählt`
|
|
116
|
+
})}`,
|
|
117
|
+
"selectedAll": `Alles ausgewählt`
|
|
118
|
+
};
|
|
70
119
|
|
|
71
120
|
|
|
72
121
|
var $43c62672ca45763f$exports = {};
|
|
73
|
-
$43c62672ca45763f$exports =
|
|
122
|
+
$43c62672ca45763f$exports = {
|
|
123
|
+
"actions": `Ενέργειες`,
|
|
124
|
+
"actionsAvailable": `Υπάρχουν διαθέσιμες ενέργειες.`,
|
|
125
|
+
"clearSelection": `Εκκαθάριση επιλογής`,
|
|
126
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
127
|
+
"=0": `Δεν επιλέχθηκε κανένα`,
|
|
128
|
+
other: ()=>`Επιλέχθηκαν ${formatter.number(args.count)}`
|
|
129
|
+
})}`,
|
|
130
|
+
"selectedAll": `Επιλέχθηκαν όλα`
|
|
131
|
+
};
|
|
74
132
|
|
|
75
133
|
|
|
76
134
|
var $4a93342b52e9ddcf$exports = {};
|
|
77
|
-
$4a93342b52e9ddcf$exports =
|
|
135
|
+
$4a93342b52e9ddcf$exports = {
|
|
136
|
+
"clearSelection": `Clear selection`,
|
|
137
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
138
|
+
"=0": `None selected`,
|
|
139
|
+
other: ()=>`${formatter.number(args.count)} selected`
|
|
140
|
+
})}`,
|
|
141
|
+
"selectedAll": `All selected`,
|
|
142
|
+
"actions": `Actions`,
|
|
143
|
+
"actionsAvailable": `Actions available.`
|
|
144
|
+
};
|
|
78
145
|
|
|
79
146
|
|
|
80
147
|
var $d1fe0a28d16ba803$exports = {};
|
|
81
|
-
$d1fe0a28d16ba803$exports =
|
|
148
|
+
$d1fe0a28d16ba803$exports = {
|
|
149
|
+
"actions": `Acciones`,
|
|
150
|
+
"actionsAvailable": `Acciones disponibles.`,
|
|
151
|
+
"clearSelection": `Borrar selección`,
|
|
152
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
153
|
+
"=0": `Nada seleccionado`,
|
|
154
|
+
other: ()=>`${formatter.number(args.count)} seleccionado`
|
|
155
|
+
})}`,
|
|
156
|
+
"selectedAll": `Todo seleccionado`
|
|
157
|
+
};
|
|
82
158
|
|
|
83
159
|
|
|
84
160
|
var $3f607057b4497412$exports = {};
|
|
85
|
-
$3f607057b4497412$exports =
|
|
161
|
+
$3f607057b4497412$exports = {
|
|
162
|
+
"actions": `Toimingud`,
|
|
163
|
+
"actionsAvailable": `Toimingud saadaval.`,
|
|
164
|
+
"clearSelection": `Puhasta valik`,
|
|
165
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
166
|
+
"=0": `Pole valitud`,
|
|
167
|
+
other: ()=>`${formatter.number(args.count)} valitud`
|
|
168
|
+
})}`,
|
|
169
|
+
"selectedAll": `Kõik valitud`
|
|
170
|
+
};
|
|
86
171
|
|
|
87
172
|
|
|
88
173
|
var $dffc096b505cd1a5$exports = {};
|
|
89
|
-
$dffc096b505cd1a5$exports =
|
|
174
|
+
$dffc096b505cd1a5$exports = {
|
|
175
|
+
"actions": `Toiminnot`,
|
|
176
|
+
"actionsAvailable": `Toiminnot käytettävissä.`,
|
|
177
|
+
"clearSelection": `Poista valinta`,
|
|
178
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
179
|
+
"=0": `Ei mitään valittu`,
|
|
180
|
+
other: ()=>`${formatter.number(args.count)} valittu`
|
|
181
|
+
})}`,
|
|
182
|
+
"selectedAll": `Kaikki valittu`
|
|
183
|
+
};
|
|
90
184
|
|
|
91
185
|
|
|
92
186
|
var $fced00dcdde4e781$exports = {};
|
|
93
|
-
$fced00dcdde4e781$exports =
|
|
187
|
+
$fced00dcdde4e781$exports = {
|
|
188
|
+
"actions": `Actions`,
|
|
189
|
+
"actionsAvailable": `Actions disponibles.`,
|
|
190
|
+
"clearSelection": `Supprimer la sélection`,
|
|
191
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
192
|
+
"=0": `Aucun élément sélectionné`,
|
|
193
|
+
other: ()=>`${formatter.number(args.count)} sélectionnés`
|
|
194
|
+
})}`,
|
|
195
|
+
"selectedAll": `Toute la sélection`
|
|
196
|
+
};
|
|
94
197
|
|
|
95
198
|
|
|
96
199
|
var $e568cd7cb63d7ce3$exports = {};
|
|
97
|
-
$e568cd7cb63d7ce3$exports =
|
|
200
|
+
$e568cd7cb63d7ce3$exports = {
|
|
201
|
+
"actions": `פעולות`,
|
|
202
|
+
"actionsAvailable": `פעולות זמינות.`,
|
|
203
|
+
"clearSelection": `נקה בחירה`,
|
|
204
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
205
|
+
"=0": `לא בוצעה בחירה`,
|
|
206
|
+
other: ()=>`${formatter.number(args.count)} נבחרו`
|
|
207
|
+
})}`,
|
|
208
|
+
"selectedAll": `כל הפריטים שנבחרו`
|
|
209
|
+
};
|
|
98
210
|
|
|
99
211
|
|
|
100
212
|
var $50951315acf49d05$exports = {};
|
|
101
|
-
$50951315acf49d05$exports =
|
|
213
|
+
$50951315acf49d05$exports = {
|
|
214
|
+
"actions": `Radnje`,
|
|
215
|
+
"actionsAvailable": `Dostupne radnje.`,
|
|
216
|
+
"clearSelection": `Poništi odabir`,
|
|
217
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
218
|
+
"=0": `Nijedna nije odabrana`,
|
|
219
|
+
other: ()=>`${formatter.number(args.count)} je odabrano`
|
|
220
|
+
})}`,
|
|
221
|
+
"selectedAll": `Sve je odabrano`
|
|
222
|
+
};
|
|
102
223
|
|
|
103
224
|
|
|
104
225
|
var $fd06dc9cc87d0258$exports = {};
|
|
105
|
-
$fd06dc9cc87d0258$exports =
|
|
226
|
+
$fd06dc9cc87d0258$exports = {
|
|
227
|
+
"actions": `Műveletek`,
|
|
228
|
+
"actionsAvailable": `Műveletek állnak rendelkezésre.`,
|
|
229
|
+
"clearSelection": `Kijelölés törlése`,
|
|
230
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
231
|
+
"=0": `Egy sincs kijelölve`,
|
|
232
|
+
other: ()=>`${formatter.number(args.count)} kijelölve`
|
|
233
|
+
})}`,
|
|
234
|
+
"selectedAll": `Mind kijelölve`
|
|
235
|
+
};
|
|
106
236
|
|
|
107
237
|
|
|
108
238
|
var $9bd9ce3c11c5d11e$exports = {};
|
|
109
|
-
$9bd9ce3c11c5d11e$exports =
|
|
239
|
+
$9bd9ce3c11c5d11e$exports = {
|
|
240
|
+
"actions": `Azioni`,
|
|
241
|
+
"actionsAvailable": `Azioni disponibili.`,
|
|
242
|
+
"clearSelection": `Annulla selezione`,
|
|
243
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
244
|
+
"=0": `Nessuno selezionato`,
|
|
245
|
+
other: ()=>`${formatter.number(args.count)} selezionato/i`
|
|
246
|
+
})}`,
|
|
247
|
+
"selectedAll": `Tutti selezionati`
|
|
248
|
+
};
|
|
110
249
|
|
|
111
250
|
|
|
112
251
|
var $9f76d796bf707b10$exports = {};
|
|
113
|
-
$9f76d796bf707b10$exports =
|
|
252
|
+
$9f76d796bf707b10$exports = {
|
|
253
|
+
"actions": `アクション`,
|
|
254
|
+
"actionsAvailable": `アクションを利用できます。`,
|
|
255
|
+
"clearSelection": `選択をクリア`,
|
|
256
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
257
|
+
"=0": `選択されていません`,
|
|
258
|
+
other: ()=>`${formatter.number(args.count)} 個を選択しました`
|
|
259
|
+
})}`,
|
|
260
|
+
"selectedAll": `すべてを選択`
|
|
261
|
+
};
|
|
114
262
|
|
|
115
263
|
|
|
116
264
|
var $94efe7bbbb291ef4$exports = {};
|
|
117
|
-
$94efe7bbbb291ef4$exports =
|
|
265
|
+
$94efe7bbbb291ef4$exports = {
|
|
266
|
+
"actions": `액션`,
|
|
267
|
+
"actionsAvailable": `사용 가능한 액션`,
|
|
268
|
+
"clearSelection": `선택 항목 지우기`,
|
|
269
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
270
|
+
"=0": `선택된 항목 없음`,
|
|
271
|
+
other: ()=>`${formatter.number(args.count)}개 선택됨`
|
|
272
|
+
})}`,
|
|
273
|
+
"selectedAll": `모두 선택됨`
|
|
274
|
+
};
|
|
118
275
|
|
|
119
276
|
|
|
120
277
|
var $92a06c1a52267a65$exports = {};
|
|
121
|
-
$92a06c1a52267a65$exports =
|
|
278
|
+
$92a06c1a52267a65$exports = {
|
|
279
|
+
"actions": `Veiksmai`,
|
|
280
|
+
"actionsAvailable": `Galimi veiksmai.`,
|
|
281
|
+
"clearSelection": `Išvalyti pasirinkimą`,
|
|
282
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
283
|
+
"=0": `Nieko nepasirinkta`,
|
|
284
|
+
other: ()=>`Pasirinkta ${formatter.number(args.count)}`
|
|
285
|
+
})}`,
|
|
286
|
+
"selectedAll": `Pasirinkta viskas`
|
|
287
|
+
};
|
|
122
288
|
|
|
123
289
|
|
|
124
290
|
var $670c23292e727d95$exports = {};
|
|
125
|
-
$670c23292e727d95$exports =
|
|
291
|
+
$670c23292e727d95$exports = {
|
|
292
|
+
"actions": `Darbības`,
|
|
293
|
+
"actionsAvailable": `Pieejamas darbības.`,
|
|
294
|
+
"clearSelection": `Notīrīt atlasi`,
|
|
295
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
296
|
+
"=0": `Nav atlasīts nekas`,
|
|
297
|
+
other: ()=>`Atlasīts: ${formatter.number(args.count)}`
|
|
298
|
+
})}`,
|
|
299
|
+
"selectedAll": `Atlasīts viss`
|
|
300
|
+
};
|
|
126
301
|
|
|
127
302
|
|
|
128
303
|
var $2636117ad082d1ea$exports = {};
|
|
129
|
-
$2636117ad082d1ea$exports =
|
|
304
|
+
$2636117ad082d1ea$exports = {
|
|
305
|
+
"actions": `Handlinger`,
|
|
306
|
+
"actionsAvailable": `Tilgjengelige handlinger.`,
|
|
307
|
+
"clearSelection": `Tøm utvalg`,
|
|
308
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
309
|
+
"=0": `Ingen er valgt`,
|
|
310
|
+
other: ()=>`${formatter.number(args.count)} er valgt`
|
|
311
|
+
})}`,
|
|
312
|
+
"selectedAll": `Alle er valgt`
|
|
313
|
+
};
|
|
130
314
|
|
|
131
315
|
|
|
132
316
|
var $e4ccf12b3bee45db$exports = {};
|
|
133
|
-
$e4ccf12b3bee45db$exports =
|
|
317
|
+
$e4ccf12b3bee45db$exports = {
|
|
318
|
+
"actions": `Acties`,
|
|
319
|
+
"actionsAvailable": `Acties beschikbaar.`,
|
|
320
|
+
"clearSelection": `Selectie wissen`,
|
|
321
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
322
|
+
"=0": `Niets geselecteerd`,
|
|
323
|
+
other: ()=>`${formatter.number(args.count)} geselecteerd`
|
|
324
|
+
})}`,
|
|
325
|
+
"selectedAll": `Alles geselecteerd`
|
|
326
|
+
};
|
|
134
327
|
|
|
135
328
|
|
|
136
329
|
var $b259f128f72a6ac6$exports = {};
|
|
137
|
-
$b259f128f72a6ac6$exports =
|
|
330
|
+
$b259f128f72a6ac6$exports = {
|
|
331
|
+
"actions": `Działania`,
|
|
332
|
+
"actionsAvailable": `Dostępne działania.`,
|
|
333
|
+
"clearSelection": `Wyczyść zaznaczenie`,
|
|
334
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
335
|
+
"=0": `Nie zaznaczono żadnego elementu`,
|
|
336
|
+
other: ()=>`${formatter.number(args.count)} zaznaczonych`
|
|
337
|
+
})}`,
|
|
338
|
+
"selectedAll": `Wszystkie zaznaczone`
|
|
339
|
+
};
|
|
138
340
|
|
|
139
341
|
|
|
140
342
|
var $edd692d35256da76$exports = {};
|
|
141
|
-
$edd692d35256da76$exports =
|
|
343
|
+
$edd692d35256da76$exports = {
|
|
344
|
+
"actions": `Ações`,
|
|
345
|
+
"actionsAvailable": `Ações disponíveis.`,
|
|
346
|
+
"clearSelection": `Limpar seleção`,
|
|
347
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
348
|
+
"=0": `Nada selecionado`,
|
|
349
|
+
other: ()=>`${formatter.number(args.count)} selecionado`
|
|
350
|
+
})}`,
|
|
351
|
+
"selectedAll": `Todos selecionados`
|
|
352
|
+
};
|
|
142
353
|
|
|
143
354
|
|
|
144
355
|
var $0af50a83741a7f54$exports = {};
|
|
145
|
-
$0af50a83741a7f54$exports =
|
|
356
|
+
$0af50a83741a7f54$exports = {
|
|
357
|
+
"actions": `Ações`,
|
|
358
|
+
"actionsAvailable": `Ações disponíveis.`,
|
|
359
|
+
"clearSelection": `Limpar seleção`,
|
|
360
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
361
|
+
"=0": `Nenhum selecionado`,
|
|
362
|
+
other: ()=>`${formatter.number(args.count)} selecionado`
|
|
363
|
+
})}`,
|
|
364
|
+
"selectedAll": `Tudo selecionado`
|
|
365
|
+
};
|
|
146
366
|
|
|
147
367
|
|
|
148
368
|
var $1b60e4cd5d1e5b6b$exports = {};
|
|
149
|
-
$1b60e4cd5d1e5b6b$exports =
|
|
369
|
+
$1b60e4cd5d1e5b6b$exports = {
|
|
370
|
+
"actions": `Acțiuni`,
|
|
371
|
+
"actionsAvailable": `Acțiuni disponibile.`,
|
|
372
|
+
"clearSelection": `Goliți selecția`,
|
|
373
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
374
|
+
"=0": `Niciunul selectat`,
|
|
375
|
+
other: ()=>`${formatter.number(args.count)} selectate`
|
|
376
|
+
})}`,
|
|
377
|
+
"selectedAll": `Toate selectate`
|
|
378
|
+
};
|
|
150
379
|
|
|
151
380
|
|
|
152
381
|
var $e9ca6eba44abffce$exports = {};
|
|
153
|
-
$e9ca6eba44abffce$exports =
|
|
382
|
+
$e9ca6eba44abffce$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
|
+
"selectedAll": `Выбрано все`
|
|
391
|
+
};
|
|
154
392
|
|
|
155
393
|
|
|
156
394
|
var $508bfd1ac48eb61a$exports = {};
|
|
157
|
-
$508bfd1ac48eb61a$exports =
|
|
395
|
+
$508bfd1ac48eb61a$exports = {
|
|
396
|
+
"actions": `Akcie`,
|
|
397
|
+
"actionsAvailable": `Dostupné akcie.`,
|
|
398
|
+
"clearSelection": `Vymazať výber`,
|
|
399
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
400
|
+
"=0": `Žiadne vybraté položky`,
|
|
401
|
+
other: ()=>`Počet vybratých položiek: ${formatter.number(args.count)}`
|
|
402
|
+
})}`,
|
|
403
|
+
"selectedAll": `Všetky vybraté položky`
|
|
404
|
+
};
|
|
158
405
|
|
|
159
406
|
|
|
160
407
|
var $d785f6c5ba148ce4$exports = {};
|
|
161
|
-
$d785f6c5ba148ce4$exports =
|
|
408
|
+
$d785f6c5ba148ce4$exports = {
|
|
409
|
+
"actions": `Dejanja`,
|
|
410
|
+
"actionsAvailable": `Na voljo so dejanja.`,
|
|
411
|
+
"clearSelection": `Počisti izbor`,
|
|
412
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
413
|
+
"=0": `Nič izbranih`,
|
|
414
|
+
other: ()=>`${formatter.number(args.count)} izbranih`
|
|
415
|
+
})}`,
|
|
416
|
+
"selectedAll": `Vsi izbrani`
|
|
417
|
+
};
|
|
162
418
|
|
|
163
419
|
|
|
164
420
|
var $dfc7dc8ff40cea70$exports = {};
|
|
165
|
-
$dfc7dc8ff40cea70$exports =
|
|
421
|
+
$dfc7dc8ff40cea70$exports = {
|
|
422
|
+
"actions": `Radnje`,
|
|
423
|
+
"actionsAvailable": `Dostupne su radnje.`,
|
|
424
|
+
"clearSelection": `Poništi izbor`,
|
|
425
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
426
|
+
"=0": `Ništa nije izabrano`,
|
|
427
|
+
other: ()=>`${formatter.number(args.count)} je izabrano`
|
|
428
|
+
})}`,
|
|
429
|
+
"selectedAll": `Sve je izabrano`
|
|
430
|
+
};
|
|
166
431
|
|
|
167
432
|
|
|
168
433
|
var $bea42116379eb09f$exports = {};
|
|
169
|
-
$bea42116379eb09f$exports =
|
|
434
|
+
$bea42116379eb09f$exports = {
|
|
435
|
+
"actions": `Åtgärder`,
|
|
436
|
+
"actionsAvailable": `Åtgärder finns.`,
|
|
437
|
+
"clearSelection": `Rensa markering`,
|
|
438
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
439
|
+
"=0": `Inga markerade`,
|
|
440
|
+
other: ()=>`${formatter.number(args.count)} markerade`
|
|
441
|
+
})}`,
|
|
442
|
+
"selectedAll": `Alla markerade`
|
|
443
|
+
};
|
|
170
444
|
|
|
171
445
|
|
|
172
446
|
var $dc03da5d819982a5$exports = {};
|
|
173
|
-
$dc03da5d819982a5$exports =
|
|
447
|
+
$dc03da5d819982a5$exports = {
|
|
448
|
+
"actions": `Eylemler`,
|
|
449
|
+
"actionsAvailable": `Eylemler mevcut.`,
|
|
450
|
+
"clearSelection": `Seçimi temizle`,
|
|
451
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
452
|
+
"=0": `Hiçbiri seçilmedi`,
|
|
453
|
+
other: ()=>`${formatter.number(args.count)} seçildi`
|
|
454
|
+
})}`,
|
|
455
|
+
"selectedAll": `Tümü seçildi`
|
|
456
|
+
};
|
|
174
457
|
|
|
175
458
|
|
|
176
459
|
var $c93c67a8485a02db$exports = {};
|
|
177
|
-
$c93c67a8485a02db$exports =
|
|
460
|
+
$c93c67a8485a02db$exports = {
|
|
461
|
+
"actions": `Дії`,
|
|
462
|
+
"actionsAvailable": `Доступні дії.`,
|
|
463
|
+
"clearSelection": `Очистити вибір`,
|
|
464
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
465
|
+
"=0": `Нічого не вибрано`,
|
|
466
|
+
other: ()=>`Вибрано: ${formatter.number(args.count)}`
|
|
467
|
+
})}`,
|
|
468
|
+
"selectedAll": `Усе вибрано`
|
|
469
|
+
};
|
|
178
470
|
|
|
179
471
|
|
|
180
472
|
var $dd336a8fdfa9aa7b$exports = {};
|
|
181
|
-
$dd336a8fdfa9aa7b$exports =
|
|
473
|
+
$dd336a8fdfa9aa7b$exports = {
|
|
474
|
+
"actions": `操作`,
|
|
475
|
+
"actionsAvailable": `有可用操作。`,
|
|
476
|
+
"clearSelection": `清除选择`,
|
|
477
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
478
|
+
"=0": `无选择`,
|
|
479
|
+
other: ()=>`已选择 ${formatter.number(args.count)} 个`
|
|
480
|
+
})}`,
|
|
481
|
+
"selectedAll": `全选`
|
|
482
|
+
};
|
|
182
483
|
|
|
183
484
|
|
|
184
485
|
var $30d1241741295d61$exports = {};
|
|
185
|
-
$30d1241741295d61$exports =
|
|
486
|
+
$30d1241741295d61$exports = {
|
|
487
|
+
"actions": `動作`,
|
|
488
|
+
"actionsAvailable": `可執行的動作。`,
|
|
489
|
+
"clearSelection": `清除選取項目`,
|
|
490
|
+
"selected": (args, formatter)=>`${formatter.plural(args.count, {
|
|
491
|
+
"=0": `未選取任何項目`,
|
|
492
|
+
other: ()=>`已選取 ${formatter.number(args.count)} 個`
|
|
493
|
+
})}`,
|
|
494
|
+
"selectedAll": `已選取所有項目`
|
|
495
|
+
};
|
|
186
496
|
|
|
187
497
|
|
|
188
498
|
$304e231322f30cb2$exports = {
|
|
@@ -256,106 +566,114 @@ $ff24c7bbe0c168db$export$adc2706661946993 = "react-spectrum-ActionBar-actionGrou
|
|
|
256
566
|
|
|
257
567
|
function $7b5467653feb1153$var$ActionBar(props, ref) {
|
|
258
568
|
let isOpen = props.selectedItemCount !== 0;
|
|
259
|
-
|
|
569
|
+
let domRef = (0, $grxqE$reactspectrumutils.useDOMRef)(ref);
|
|
570
|
+
return /*#__PURE__*/ (0, ($parcel$interopDefault($grxqE$react))).createElement((0, $grxqE$reactspectrumoverlays.OpenTransition), {
|
|
571
|
+
nodeRef: domRef,
|
|
260
572
|
in: isOpen,
|
|
261
573
|
mountOnEnter: true,
|
|
262
574
|
unmountOnExit: true
|
|
263
|
-
}, /*#__PURE__*/ ($parcel$interopDefault($grxqE$react)).createElement($7b5467653feb1153$var$
|
|
575
|
+
}, /*#__PURE__*/ (0, ($parcel$interopDefault($grxqE$react))).createElement($7b5467653feb1153$var$ActionBarInnerWithRef, {
|
|
264
576
|
...props,
|
|
265
|
-
ref:
|
|
266
|
-
}))
|
|
577
|
+
ref: domRef
|
|
578
|
+
}));
|
|
267
579
|
}
|
|
268
|
-
|
|
269
|
-
props = $grxqE$reactspectrumprovider.useProviderProps(props);
|
|
270
|
-
let { children: children , isEmphasized: isEmphasized , onAction: onAction , onClearSelection: onClearSelection , selectedItemCount: selectedItemCount , isOpen: isOpen } = props;
|
|
271
|
-
let { styleProps: styleProps } = $grxqE$reactspectrumutils.useStyleProps(props);
|
|
272
|
-
let
|
|
273
|
-
let formatMessage = $grxqE$reactariai18n.useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($304e231322f30cb2$exports)));
|
|
580
|
+
function $7b5467653feb1153$var$ActionBarInner(props, ref) {
|
|
581
|
+
props = (0, $grxqE$reactspectrumprovider.useProviderProps)(props);
|
|
582
|
+
let { children: children , isEmphasized: isEmphasized , onAction: onAction , onClearSelection: onClearSelection , selectedItemCount: selectedItemCount , isOpen: isOpen , items: items } = props;
|
|
583
|
+
let { styleProps: styleProps } = (0, $grxqE$reactspectrumutils.useStyleProps)(props);
|
|
584
|
+
let stringFormatter = (0, $grxqE$reactariai18n.useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($304e231322f30cb2$exports))));
|
|
274
585
|
// Store the last count greater than zero in a ref so that we can retain it while rendering the fade-out animation.
|
|
275
|
-
let lastCount = $grxqE$react.useRef(selectedItemCount);
|
|
276
|
-
if (selectedItemCount ===
|
|
277
|
-
let { keyboardProps: keyboardProps } = $grxqE$reactariainteractions.useKeyboard({
|
|
586
|
+
let lastCount = (0, $grxqE$react.useRef)(selectedItemCount);
|
|
587
|
+
if (selectedItemCount === "all" || selectedItemCount > 0) lastCount.current = selectedItemCount;
|
|
588
|
+
let { keyboardProps: keyboardProps } = (0, $grxqE$reactariainteractions.useKeyboard)({
|
|
278
589
|
onKeyDown (e) {
|
|
279
|
-
if (e.key ===
|
|
590
|
+
if (e.key === "Escape") {
|
|
280
591
|
e.preventDefault();
|
|
281
592
|
onClearSelection();
|
|
282
593
|
}
|
|
283
594
|
}
|
|
284
595
|
});
|
|
285
596
|
// Announce "actions available" on mount.
|
|
286
|
-
$grxqE$react.useEffect(()=>{
|
|
287
|
-
$grxqE$reactarialiveannouncer.announce(
|
|
597
|
+
(0, $grxqE$react.useEffect)(()=>{
|
|
598
|
+
(0, $grxqE$reactarialiveannouncer.announce)(stringFormatter.format("actionsAvailable"));
|
|
288
599
|
}, [
|
|
289
|
-
|
|
600
|
+
stringFormatter
|
|
290
601
|
]);
|
|
291
|
-
return
|
|
602
|
+
return /*#__PURE__*/ (0, ($parcel$interopDefault($grxqE$react))).createElement((0, $grxqE$reactariafocus.FocusScope), {
|
|
292
603
|
restoreFocus: true
|
|
293
|
-
}, /*#__PURE__*/ ($parcel$interopDefault($grxqE$react)).createElement("div", {
|
|
294
|
-
|
|
604
|
+
}, /*#__PURE__*/ (0, ($parcel$interopDefault($grxqE$react))).createElement("div", {
|
|
605
|
+
...(0, $grxqE$reactariautils.filterDOMProps)(props),
|
|
295
606
|
...styleProps,
|
|
296
607
|
...keyboardProps,
|
|
297
|
-
ref:
|
|
298
|
-
className: $grxqE$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($ff24c7bbe0c168db$exports)),
|
|
299
|
-
|
|
300
|
-
|
|
608
|
+
ref: ref,
|
|
609
|
+
className: (0, $grxqE$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($ff24c7bbe0c168db$exports))), "react-spectrum-ActionBar", {
|
|
610
|
+
"react-spectrum-ActionBar--emphasized": isEmphasized,
|
|
611
|
+
"is-open": isOpen
|
|
301
612
|
}, styleProps.className)
|
|
302
|
-
}, /*#__PURE__*/ ($parcel$interopDefault($grxqE$react)).createElement("div", {
|
|
303
|
-
className: $grxqE$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($ff24c7bbe0c168db$exports)),
|
|
304
|
-
}, /*#__PURE__*/ ($parcel$interopDefault($grxqE$react)).createElement($grxqE$reactspectrumactiongroup.ActionGroup, {
|
|
305
|
-
|
|
613
|
+
}, /*#__PURE__*/ (0, ($parcel$interopDefault($grxqE$react))).createElement("div", {
|
|
614
|
+
className: (0, $grxqE$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($ff24c7bbe0c168db$exports))), "react-spectrum-ActionBar-bar")
|
|
615
|
+
}, /*#__PURE__*/ (0, ($parcel$interopDefault($grxqE$react))).createElement((0, $grxqE$reactspectrumactiongroup.ActionGroup), {
|
|
616
|
+
items: items,
|
|
617
|
+
"aria-label": stringFormatter.format("actions"),
|
|
306
618
|
isQuiet: true,
|
|
307
|
-
staticColor: isEmphasized ?
|
|
619
|
+
staticColor: isEmphasized ? "white" : undefined,
|
|
308
620
|
overflowMode: "collapse",
|
|
309
621
|
buttonLabelBehavior: "collapse",
|
|
310
622
|
onAction: onAction,
|
|
311
|
-
UNSAFE_className: $grxqE$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($ff24c7bbe0c168db$exports)),
|
|
312
|
-
}, children), /*#__PURE__*/ ($parcel$interopDefault($grxqE$react)).createElement($grxqE$reactspectrumbutton.ActionButton, {
|
|
623
|
+
UNSAFE_className: (0, $grxqE$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($ff24c7bbe0c168db$exports))), "react-spectrum-ActionBar-actionGroup")
|
|
624
|
+
}, children), /*#__PURE__*/ (0, ($parcel$interopDefault($grxqE$react))).createElement((0, $grxqE$reactspectrumbutton.ActionButton), {
|
|
313
625
|
gridArea: "clear",
|
|
314
|
-
"aria-label":
|
|
315
|
-
onPress: ()=>onClearSelection()
|
|
316
|
-
,
|
|
626
|
+
"aria-label": stringFormatter.format("clearSelection"),
|
|
627
|
+
onPress: ()=>onClearSelection(),
|
|
317
628
|
isQuiet: true,
|
|
318
|
-
staticColor: isEmphasized ?
|
|
319
|
-
}, /*#__PURE__*/ ($parcel$interopDefault($grxqE$react)).createElement(($parcel$interopDefault($grxqE$spectrumiconsuiCrossLarge)), null)), /*#__PURE__*/ ($parcel$interopDefault($grxqE$react)).createElement($grxqE$reactspectrumtext.Text, {
|
|
320
|
-
UNSAFE_className: $grxqE$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($ff24c7bbe0c168db$exports)),
|
|
321
|
-
}, lastCount.current ===
|
|
629
|
+
staticColor: isEmphasized ? "white" : undefined
|
|
630
|
+
}, /*#__PURE__*/ (0, ($parcel$interopDefault($grxqE$react))).createElement((0, ($parcel$interopDefault($grxqE$spectrumiconsuiCrossLarge))), null)), /*#__PURE__*/ (0, ($parcel$interopDefault($grxqE$react))).createElement((0, $grxqE$reactspectrumtext.Text), {
|
|
631
|
+
UNSAFE_className: (0, $grxqE$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($ff24c7bbe0c168db$exports))), "react-spectrum-ActionBar-selectedCount")
|
|
632
|
+
}, lastCount.current === "all" ? stringFormatter.format("selectedAll") : stringFormatter.format("selected", {
|
|
322
633
|
count: lastCount.current
|
|
323
|
-
})))))
|
|
324
|
-
}
|
|
634
|
+
})))));
|
|
635
|
+
}
|
|
636
|
+
const $7b5467653feb1153$var$ActionBarInnerWithRef = /*#__PURE__*/ (0, ($parcel$interopDefault($grxqE$react))).forwardRef($7b5467653feb1153$var$ActionBarInner);
|
|
325
637
|
/**
|
|
326
|
-
*
|
|
327
|
-
*/ const $7b5467653feb1153$export$e213cebad6250b4a = /*#__PURE__*/ ($parcel$interopDefault($grxqE$react)).forwardRef($7b5467653feb1153$var$ActionBar);
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
var $961b22d2b8bd2da1$exports = {};
|
|
638
|
+
* Action bars are used for single and bulk selection patterns when a user needs to perform actions on one or more items at the same time.
|
|
639
|
+
*/ const $7b5467653feb1153$export$e213cebad6250b4a = /*#__PURE__*/ (0, ($parcel$interopDefault($grxqE$react))).forwardRef($7b5467653feb1153$var$ActionBar);
|
|
331
640
|
|
|
332
|
-
$parcel$export($961b22d2b8bd2da1$exports, "ActionBarContainer", () => $961b22d2b8bd2da1$export$ac2eb07f267e434c);
|
|
333
641
|
|
|
642
|
+
/*
|
|
643
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
644
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
645
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
646
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
647
|
+
*
|
|
648
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
649
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
650
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
651
|
+
* governing permissions and limitations under the License.
|
|
652
|
+
*/
|
|
334
653
|
|
|
335
654
|
|
|
336
655
|
|
|
337
656
|
|
|
338
657
|
function $961b22d2b8bd2da1$var$ActionBarContainer(props, ref) {
|
|
339
658
|
// Grabs specific props from the closest Provider (see https://react-spectrum.adobe.com/react-spectrum/Provider.html#property-groups). Remove if your component doesn't support any of the listed props.
|
|
340
|
-
props = $grxqE$reactspectrumprovider.useProviderProps(props);
|
|
659
|
+
props = (0, $grxqE$reactspectrumprovider.useProviderProps)(props);
|
|
341
660
|
let { children: children } = props;
|
|
342
|
-
let { styleProps: styleProps } = $grxqE$reactspectrumutils.useStyleProps(props);
|
|
343
|
-
let domRef = $grxqE$reactspectrumutils.useDOMRef(ref);
|
|
344
|
-
return
|
|
345
|
-
|
|
661
|
+
let { styleProps: styleProps } = (0, $grxqE$reactspectrumutils.useStyleProps)(props);
|
|
662
|
+
let domRef = (0, $grxqE$reactspectrumutils.useDOMRef)(ref);
|
|
663
|
+
return /*#__PURE__*/ (0, ($parcel$interopDefault($grxqE$react))).createElement("div", {
|
|
664
|
+
...(0, $grxqE$reactariautils.filterDOMProps)(props),
|
|
346
665
|
...styleProps,
|
|
347
666
|
ref: domRef,
|
|
348
|
-
className: $grxqE$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($ff24c7bbe0c168db$exports)),
|
|
349
|
-
}, children)
|
|
667
|
+
className: (0, $grxqE$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($ff24c7bbe0c168db$exports))), "ActionBarContainer", styleProps.className)
|
|
668
|
+
}, children);
|
|
350
669
|
}
|
|
351
670
|
/**
|
|
352
|
-
*
|
|
353
|
-
|
|
671
|
+
* ActionBarContainer wraps around an ActionBar and a component that supports selection. It handles
|
|
672
|
+
* the ActionBar's position with respect to its linked component.
|
|
673
|
+
*/ const $961b22d2b8bd2da1$export$ac2eb07f267e434c = /*#__PURE__*/ (0, ($parcel$interopDefault($grxqE$react))).forwardRef($961b22d2b8bd2da1$var$ActionBarContainer);
|
|
354
674
|
|
|
355
675
|
|
|
356
676
|
|
|
357
|
-
$parcel$exportWildcard(module.exports, $7b5467653feb1153$exports);
|
|
358
|
-
$parcel$exportWildcard(module.exports, $961b22d2b8bd2da1$exports);
|
|
359
677
|
|
|
360
678
|
|
|
361
679
|
//# sourceMappingURL=main.js.map
|