@react-spectrum/table 3.2.1-nightly.3368 → 3.2.1-nightly.3378
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 +248 -42
- package/dist/main.js.map +1 -1
- package/dist/module.js +249 -43
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +1 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +26 -26
- package/src/Resizer.tsx +3 -3
- package/src/TableView.tsx +7 -7
- package/src/index.ts +2 -0
package/dist/main.js
CHANGED
|
@@ -41,139 +41,345 @@ $parcel$export(module.exports, "Cell", () => $3fpzo$reactstatelytable.Cell);
|
|
|
41
41
|
|
|
42
42
|
var $a89862f958371476$exports = {};
|
|
43
43
|
var $aea5dbc70156d941$exports = {};
|
|
44
|
-
$aea5dbc70156d941$exports =
|
|
44
|
+
$aea5dbc70156d941$exports = {
|
|
45
|
+
"loading": `جارٍ التحميل...`,
|
|
46
|
+
"loadingMore": `جارٍ تحميل المزيد...`,
|
|
47
|
+
"sortAscending": `Sort Ascending`,
|
|
48
|
+
"sortDescending": `Sort Descending`,
|
|
49
|
+
"resizeColumn": `Resize column`,
|
|
50
|
+
"columnResizer": `Column resizer`
|
|
51
|
+
};
|
|
45
52
|
|
|
46
53
|
|
|
47
54
|
var $11f14c1e8be327ec$exports = {};
|
|
48
|
-
$11f14c1e8be327ec$exports =
|
|
55
|
+
$11f14c1e8be327ec$exports = {
|
|
56
|
+
"loading": `Зареждане...`,
|
|
57
|
+
"loadingMore": `Зареждане на още...`,
|
|
58
|
+
"sortAscending": `Sort Ascending`,
|
|
59
|
+
"sortDescending": `Sort Descending`,
|
|
60
|
+
"resizeColumn": `Resize column`
|
|
61
|
+
};
|
|
49
62
|
|
|
50
63
|
|
|
51
64
|
var $2ecdfa3a3f4780a9$exports = {};
|
|
52
|
-
$2ecdfa3a3f4780a9$exports =
|
|
65
|
+
$2ecdfa3a3f4780a9$exports = {
|
|
66
|
+
"loading": `Načítání...`,
|
|
67
|
+
"loadingMore": `Načítání dalších...`,
|
|
68
|
+
"sortAscending": `Sort Ascending`,
|
|
69
|
+
"sortDescending": `Sort Descending`,
|
|
70
|
+
"resizeColumn": `Resize column`
|
|
71
|
+
};
|
|
53
72
|
|
|
54
73
|
|
|
55
74
|
var $5adae494c3f47d1c$exports = {};
|
|
56
|
-
$5adae494c3f47d1c$exports =
|
|
75
|
+
$5adae494c3f47d1c$exports = {
|
|
76
|
+
"loading": `Indlæser ...`,
|
|
77
|
+
"loadingMore": `Indlæser flere ...`,
|
|
78
|
+
"sortAscending": `Sort Ascending`,
|
|
79
|
+
"sortDescending": `Sort Descending`,
|
|
80
|
+
"resizeColumn": `Resize column`
|
|
81
|
+
};
|
|
57
82
|
|
|
58
83
|
|
|
59
84
|
var $6239e14fe242b5cd$exports = {};
|
|
60
|
-
$6239e14fe242b5cd$exports =
|
|
85
|
+
$6239e14fe242b5cd$exports = {
|
|
86
|
+
"loading": `Laden...`,
|
|
87
|
+
"loadingMore": `Mehr laden ...`,
|
|
88
|
+
"sortAscending": `Sort Ascending`,
|
|
89
|
+
"sortDescending": `Sort Descending`,
|
|
90
|
+
"resizeColumn": `Resize column`
|
|
91
|
+
};
|
|
61
92
|
|
|
62
93
|
|
|
63
94
|
var $548083df36594e1d$exports = {};
|
|
64
|
-
$548083df36594e1d$exports =
|
|
95
|
+
$548083df36594e1d$exports = {
|
|
96
|
+
"loading": `Φόρτωση...`,
|
|
97
|
+
"loadingMore": `Φόρτωση περισσότερων...`,
|
|
98
|
+
"sortAscending": `Sort Ascending`,
|
|
99
|
+
"sortDescending": `Sort Descending`,
|
|
100
|
+
"resizeColumn": `Resize column`
|
|
101
|
+
};
|
|
65
102
|
|
|
66
103
|
|
|
67
104
|
var $b5db09171b92c95b$exports = {};
|
|
68
|
-
$b5db09171b92c95b$exports =
|
|
105
|
+
$b5db09171b92c95b$exports = {
|
|
106
|
+
"loading": `Loading…`,
|
|
107
|
+
"loadingMore": `Loading more…`,
|
|
108
|
+
"sortAscending": `Sort Ascending`,
|
|
109
|
+
"sortDescending": `Sort Descending`,
|
|
110
|
+
"resizeColumn": `Resize column`,
|
|
111
|
+
"columnResizer": `Column resizer`
|
|
112
|
+
};
|
|
69
113
|
|
|
70
114
|
|
|
71
115
|
var $4da957af4062e6c6$exports = {};
|
|
72
|
-
$4da957af4062e6c6$exports =
|
|
116
|
+
$4da957af4062e6c6$exports = {
|
|
117
|
+
"loading": `Cargando…`,
|
|
118
|
+
"loadingMore": `Cargando más…`,
|
|
119
|
+
"sortAscending": `Sort Ascending`,
|
|
120
|
+
"sortDescending": `Sort Descending`,
|
|
121
|
+
"resizeColumn": `Resize column`
|
|
122
|
+
};
|
|
73
123
|
|
|
74
124
|
|
|
75
125
|
var $74726a0aedf994f5$exports = {};
|
|
76
|
-
$74726a0aedf994f5$exports =
|
|
126
|
+
$74726a0aedf994f5$exports = {
|
|
127
|
+
"loading": `Laadimine...`,
|
|
128
|
+
"loadingMore": `Laadi rohkem...`,
|
|
129
|
+
"sortAscending": `Sort Ascending`,
|
|
130
|
+
"sortDescending": `Sort Descending`,
|
|
131
|
+
"resizeColumn": `Resize column`
|
|
132
|
+
};
|
|
77
133
|
|
|
78
134
|
|
|
79
135
|
var $801f6ae5b3d3b235$exports = {};
|
|
80
|
-
$801f6ae5b3d3b235$exports =
|
|
136
|
+
$801f6ae5b3d3b235$exports = {
|
|
137
|
+
"loading": `Ladataan…`,
|
|
138
|
+
"loadingMore": `Ladataan lisää…`,
|
|
139
|
+
"sortAscending": `Sort Ascending`,
|
|
140
|
+
"sortDescending": `Sort Descending`,
|
|
141
|
+
"resizeColumn": `Resize column`
|
|
142
|
+
};
|
|
81
143
|
|
|
82
144
|
|
|
83
145
|
var $9360047b0141de84$exports = {};
|
|
84
|
-
$9360047b0141de84$exports =
|
|
146
|
+
$9360047b0141de84$exports = {
|
|
147
|
+
"loading": `Chargement...`,
|
|
148
|
+
"loadingMore": `Chargement supplémentaire...`,
|
|
149
|
+
"sortAscending": `Sort Ascending`,
|
|
150
|
+
"sortDescending": `Sort Descending`,
|
|
151
|
+
"resizeColumn": `Resize column`
|
|
152
|
+
};
|
|
85
153
|
|
|
86
154
|
|
|
87
155
|
var $3cf53c7fc4feae86$exports = {};
|
|
88
|
-
$3cf53c7fc4feae86$exports =
|
|
156
|
+
$3cf53c7fc4feae86$exports = {
|
|
157
|
+
"loading": `טוען...`,
|
|
158
|
+
"loadingMore": `טוען עוד...`,
|
|
159
|
+
"sortAscending": `Sort Ascending`,
|
|
160
|
+
"sortDescending": `Sort Descending`,
|
|
161
|
+
"resizeColumn": `Resize column`
|
|
162
|
+
};
|
|
89
163
|
|
|
90
164
|
|
|
91
165
|
var $450e2334eb2be6c9$exports = {};
|
|
92
|
-
$450e2334eb2be6c9$exports =
|
|
166
|
+
$450e2334eb2be6c9$exports = {
|
|
167
|
+
"loading": `Učitavam...`,
|
|
168
|
+
"loadingMore": `Učitavam još...`,
|
|
169
|
+
"sortAscending": `Sort Ascending`,
|
|
170
|
+
"sortDescending": `Sort Descending`,
|
|
171
|
+
"resizeColumn": `Resize column`
|
|
172
|
+
};
|
|
93
173
|
|
|
94
174
|
|
|
95
175
|
var $858276b4ec508f2f$exports = {};
|
|
96
|
-
$858276b4ec508f2f$exports =
|
|
176
|
+
$858276b4ec508f2f$exports = {
|
|
177
|
+
"loading": `Betöltés folyamatban…`,
|
|
178
|
+
"loadingMore": `Továbbiak betöltése folyamatban…`,
|
|
179
|
+
"sortAscending": `Sort Ascending`,
|
|
180
|
+
"sortDescending": `Sort Descending`,
|
|
181
|
+
"resizeColumn": `Resize column`
|
|
182
|
+
};
|
|
97
183
|
|
|
98
184
|
|
|
99
185
|
var $a7e2289ac11d4bcc$exports = {};
|
|
100
|
-
$a7e2289ac11d4bcc$exports =
|
|
186
|
+
$a7e2289ac11d4bcc$exports = {
|
|
187
|
+
"loading": `Caricamento...`,
|
|
188
|
+
"loadingMore": `Caricamento altri...`,
|
|
189
|
+
"sortAscending": `Sort Ascending`,
|
|
190
|
+
"sortDescending": `Sort Descending`,
|
|
191
|
+
"resizeColumn": `Resize column`
|
|
192
|
+
};
|
|
101
193
|
|
|
102
194
|
|
|
103
195
|
var $069e94bb941acd04$exports = {};
|
|
104
|
-
$069e94bb941acd04$exports =
|
|
196
|
+
$069e94bb941acd04$exports = {
|
|
197
|
+
"loading": `読み込み中...`,
|
|
198
|
+
"loadingMore": `さらに読み込み中...`,
|
|
199
|
+
"sortAscending": `Sort Ascending`,
|
|
200
|
+
"sortDescending": `Sort Descending`,
|
|
201
|
+
"resizeColumn": `Resize column`
|
|
202
|
+
};
|
|
105
203
|
|
|
106
204
|
|
|
107
205
|
var $6df8b1c85e0d6c1c$exports = {};
|
|
108
|
-
$6df8b1c85e0d6c1c$exports =
|
|
206
|
+
$6df8b1c85e0d6c1c$exports = {
|
|
207
|
+
"loading": `로드 중`,
|
|
208
|
+
"loadingMore": `추가 로드 중`,
|
|
209
|
+
"sortAscending": `Sort Ascending`,
|
|
210
|
+
"sortDescending": `Sort Descending`,
|
|
211
|
+
"resizeColumn": `Resize column`
|
|
212
|
+
};
|
|
109
213
|
|
|
110
214
|
|
|
111
215
|
var $e339442a63cca57f$exports = {};
|
|
112
|
-
$e339442a63cca57f$exports =
|
|
216
|
+
$e339442a63cca57f$exports = {
|
|
217
|
+
"loading": `Įkeliama...`,
|
|
218
|
+
"loadingMore": `Įkeliama daugiau...`,
|
|
219
|
+
"sortAscending": `Sort Ascending`,
|
|
220
|
+
"sortDescending": `Sort Descending`,
|
|
221
|
+
"resizeColumn": `Resize column`
|
|
222
|
+
};
|
|
113
223
|
|
|
114
224
|
|
|
115
225
|
var $8d629efbd88ee34d$exports = {};
|
|
116
|
-
$8d629efbd88ee34d$exports =
|
|
226
|
+
$8d629efbd88ee34d$exports = {
|
|
227
|
+
"loading": `Notiek ielāde...`,
|
|
228
|
+
"loadingMore": `Tiek ielādēts vēl...`,
|
|
229
|
+
"sortAscending": `Sort Ascending`,
|
|
230
|
+
"sortDescending": `Sort Descending`,
|
|
231
|
+
"resizeColumn": `Resize column`
|
|
232
|
+
};
|
|
117
233
|
|
|
118
234
|
|
|
119
235
|
var $c0daac194b2d01a3$exports = {};
|
|
120
|
-
$c0daac194b2d01a3$exports =
|
|
236
|
+
$c0daac194b2d01a3$exports = {
|
|
237
|
+
"loading": `Laster inn ...`,
|
|
238
|
+
"loadingMore": `Laster inn flere ...`,
|
|
239
|
+
"sortAscending": `Sort Ascending`,
|
|
240
|
+
"sortDescending": `Sort Descending`,
|
|
241
|
+
"resizeColumn": `Resize column`
|
|
242
|
+
};
|
|
121
243
|
|
|
122
244
|
|
|
123
245
|
var $39589c06d5afb6db$exports = {};
|
|
124
|
-
$39589c06d5afb6db$exports =
|
|
246
|
+
$39589c06d5afb6db$exports = {
|
|
247
|
+
"loading": `Laden...`,
|
|
248
|
+
"loadingMore": `Meer laden...`,
|
|
249
|
+
"sortAscending": `Sort Ascending`,
|
|
250
|
+
"sortDescending": `Sort Descending`,
|
|
251
|
+
"resizeColumn": `Resize column`
|
|
252
|
+
};
|
|
125
253
|
|
|
126
254
|
|
|
127
255
|
var $4333ec237d5afa31$exports = {};
|
|
128
|
-
$4333ec237d5afa31$exports =
|
|
256
|
+
$4333ec237d5afa31$exports = {
|
|
257
|
+
"loading": `Ładowanie...`,
|
|
258
|
+
"loadingMore": `Wczytywanie większej liczby...`,
|
|
259
|
+
"sortAscending": `Sort Ascending`,
|
|
260
|
+
"sortDescending": `Sort Descending`,
|
|
261
|
+
"resizeColumn": `Resize column`
|
|
262
|
+
};
|
|
129
263
|
|
|
130
264
|
|
|
131
265
|
var $5aa66c54d994ad4c$exports = {};
|
|
132
|
-
$5aa66c54d994ad4c$exports =
|
|
266
|
+
$5aa66c54d994ad4c$exports = {
|
|
267
|
+
"loading": `Carregando...`,
|
|
268
|
+
"loadingMore": `Carregando mais...`,
|
|
269
|
+
"sortAscending": `Sort Ascending`,
|
|
270
|
+
"sortDescending": `Sort Descending`,
|
|
271
|
+
"resizeColumn": `Resize column`
|
|
272
|
+
};
|
|
133
273
|
|
|
134
274
|
|
|
135
275
|
var $d2901017a4a40e5f$exports = {};
|
|
136
|
-
$d2901017a4a40e5f$exports =
|
|
276
|
+
$d2901017a4a40e5f$exports = {
|
|
277
|
+
"loading": `A carregar...`,
|
|
278
|
+
"loadingMore": `A carregar mais...`,
|
|
279
|
+
"sortAscending": `Sort Ascending`,
|
|
280
|
+
"sortDescending": `Sort Descending`,
|
|
281
|
+
"resizeColumn": `Resize column`
|
|
282
|
+
};
|
|
137
283
|
|
|
138
284
|
|
|
139
285
|
var $b247d60aff277eee$exports = {};
|
|
140
|
-
$b247d60aff277eee$exports =
|
|
286
|
+
$b247d60aff277eee$exports = {
|
|
287
|
+
"loading": `Se încarcă...`,
|
|
288
|
+
"loadingMore": `Se încarcă mai multe...`,
|
|
289
|
+
"sortAscending": `Sort Ascending`,
|
|
290
|
+
"sortDescending": `Sort Descending`,
|
|
291
|
+
"resizeColumn": `Resize column`
|
|
292
|
+
};
|
|
141
293
|
|
|
142
294
|
|
|
143
295
|
var $2f6a66990fe0eb2b$exports = {};
|
|
144
|
-
$2f6a66990fe0eb2b$exports =
|
|
296
|
+
$2f6a66990fe0eb2b$exports = {
|
|
297
|
+
"loading": `Загрузка...`,
|
|
298
|
+
"loadingMore": `Дополнительная загрузка...`,
|
|
299
|
+
"sortAscending": `Sort Ascending`,
|
|
300
|
+
"sortDescending": `Sort Descending`,
|
|
301
|
+
"resizeColumn": `Resize column`
|
|
302
|
+
};
|
|
145
303
|
|
|
146
304
|
|
|
147
305
|
var $1e8c28cc0013ef8e$exports = {};
|
|
148
|
-
$1e8c28cc0013ef8e$exports =
|
|
306
|
+
$1e8c28cc0013ef8e$exports = {
|
|
307
|
+
"loading": `Načítava sa...`,
|
|
308
|
+
"loadingMore": `Načítava sa viac...`,
|
|
309
|
+
"sortAscending": `Sort Ascending`,
|
|
310
|
+
"sortDescending": `Sort Descending`,
|
|
311
|
+
"resizeColumn": `Resize column`
|
|
312
|
+
};
|
|
149
313
|
|
|
150
314
|
|
|
151
315
|
var $a63729a5f7450d5e$exports = {};
|
|
152
|
-
$a63729a5f7450d5e$exports =
|
|
316
|
+
$a63729a5f7450d5e$exports = {
|
|
317
|
+
"loading": `Nalaganje...`,
|
|
318
|
+
"loadingMore": `Nalaganje več vsebine...`,
|
|
319
|
+
"sortAscending": `Sort Ascending`,
|
|
320
|
+
"sortDescending": `Sort Descending`,
|
|
321
|
+
"resizeColumn": `Resize column`
|
|
322
|
+
};
|
|
153
323
|
|
|
154
324
|
|
|
155
325
|
var $9c992f998f269d4d$exports = {};
|
|
156
|
-
$9c992f998f269d4d$exports =
|
|
326
|
+
$9c992f998f269d4d$exports = {
|
|
327
|
+
"loading": `Učitavam...`,
|
|
328
|
+
"loadingMore": `Učitavam još...`,
|
|
329
|
+
"sortAscending": `Sort Ascending`,
|
|
330
|
+
"sortDescending": `Sort Descending`,
|
|
331
|
+
"resizeColumn": `Resize column`
|
|
332
|
+
};
|
|
157
333
|
|
|
158
334
|
|
|
159
335
|
var $45c12baedb14591e$exports = {};
|
|
160
|
-
$45c12baedb14591e$exports =
|
|
336
|
+
$45c12baedb14591e$exports = {
|
|
337
|
+
"loading": `Läser in...`,
|
|
338
|
+
"loadingMore": `Läser in mer...`,
|
|
339
|
+
"sortAscending": `Sort Ascending`,
|
|
340
|
+
"sortDescending": `Sort Descending`,
|
|
341
|
+
"resizeColumn": `Resize column`
|
|
342
|
+
};
|
|
161
343
|
|
|
162
344
|
|
|
163
345
|
var $d960f28e0cef8a8c$exports = {};
|
|
164
|
-
$d960f28e0cef8a8c$exports =
|
|
346
|
+
$d960f28e0cef8a8c$exports = {
|
|
347
|
+
"loading": `Yükleniyor...`,
|
|
348
|
+
"loadingMore": `Daha fazla yükleniyor...`,
|
|
349
|
+
"sortAscending": `Sort Ascending`,
|
|
350
|
+
"sortDescending": `Sort Descending`,
|
|
351
|
+
"resizeColumn": `Resize column`
|
|
352
|
+
};
|
|
165
353
|
|
|
166
354
|
|
|
167
355
|
var $693364411fbb8580$exports = {};
|
|
168
|
-
$693364411fbb8580$exports =
|
|
356
|
+
$693364411fbb8580$exports = {
|
|
357
|
+
"loading": `Завантаження…`,
|
|
358
|
+
"loadingMore": `Завантаження інших об’єктів...`,
|
|
359
|
+
"sortAscending": `Sort Ascending`,
|
|
360
|
+
"sortDescending": `Sort Descending`,
|
|
361
|
+
"resizeColumn": `Resize column`
|
|
362
|
+
};
|
|
169
363
|
|
|
170
364
|
|
|
171
365
|
var $85fd0a65720e1eb6$exports = {};
|
|
172
|
-
$85fd0a65720e1eb6$exports =
|
|
366
|
+
$85fd0a65720e1eb6$exports = {
|
|
367
|
+
"loading": `正在加载...`,
|
|
368
|
+
"loadingMore": `正在加载更多...`,
|
|
369
|
+
"sortAscending": `Sort Ascending`,
|
|
370
|
+
"sortDescending": `Sort Descending`,
|
|
371
|
+
"resizeColumn": `Resize column`
|
|
372
|
+
};
|
|
173
373
|
|
|
174
374
|
|
|
175
375
|
var $0624a686d9964a9c$exports = {};
|
|
176
|
-
$0624a686d9964a9c$exports =
|
|
376
|
+
$0624a686d9964a9c$exports = {
|
|
377
|
+
"loading": `正在載入`,
|
|
378
|
+
"loadingMore": `正在載入更多…`,
|
|
379
|
+
"sortAscending": `Sort Ascending`,
|
|
380
|
+
"sortDescending": `Sort Descending`,
|
|
381
|
+
"resizeColumn": `Resize column`
|
|
382
|
+
};
|
|
177
383
|
|
|
178
384
|
|
|
179
385
|
$a89862f958371476$exports = {
|
|
@@ -349,11 +555,11 @@ $982885d0a34882ea$export$53aa811f86efbfad = "is-next-selected_d0fc74";
|
|
|
349
555
|
function $2877766f94c67a67$var$Resizer(props, ref) {
|
|
350
556
|
let { column: column , showResizer: showResizer } = props;
|
|
351
557
|
let { state: state , columnState: columnState } = $be8a9c035a82f788$export$3cb274deb6c2d854();
|
|
352
|
-
let
|
|
558
|
+
let stringFormatter = $3fpzo$reactariai18n.useLocalizedStringFormatter((/*@__PURE__*/$parcel$interopDefault($a89862f958371476$exports)));
|
|
353
559
|
let { direction: direction } = $3fpzo$reactariai18n.useLocale();
|
|
354
560
|
let { resizerProps: resizerProps } = $3fpzo$reactariatable.useTableColumnResize({
|
|
355
561
|
...props,
|
|
356
|
-
label:
|
|
562
|
+
label: stringFormatter.format('columnResizer')
|
|
357
563
|
}, {
|
|
358
564
|
...state,
|
|
359
565
|
...columnState
|
|
@@ -470,7 +676,7 @@ function $be8a9c035a82f788$var$TableView(props, ref) {
|
|
|
470
676
|
if (shouldShowCheckboxes !== showSelectionCheckboxes) setShowSelectionCheckboxes(shouldShowCheckboxes);
|
|
471
677
|
let domRef = $3fpzo$reactspectrumutils.useDOMRef(ref);
|
|
472
678
|
let bodyRef = $3fpzo$react.useRef();
|
|
473
|
-
let
|
|
679
|
+
let stringFormatter = $3fpzo$reactariai18n.useLocalizedStringFormatter((/*@__PURE__*/$parcel$interopDefault($a89862f958371476$exports)));
|
|
474
680
|
let density = props.density || 'regular';
|
|
475
681
|
let layout = $3fpzo$react.useMemo(()=>new $3fpzo$reactstatelylayout.TableLayout({
|
|
476
682
|
// If props.rowHeight is auto, then use estimated heights based on scale, otherwise use fixed heights.
|
|
@@ -567,7 +773,7 @@ function $be8a9c035a82f788$var$TableView(props, ref) {
|
|
|
567
773
|
case 'loader':
|
|
568
774
|
return(/*#__PURE__*/ ($parcel$interopDefault($3fpzo$react)).createElement($be8a9c035a82f788$var$CenteredWrapper, null, /*#__PURE__*/ ($parcel$interopDefault($3fpzo$react)).createElement($3fpzo$reactspectrumprogress.ProgressCircle, {
|
|
569
775
|
isIndeterminate: true,
|
|
570
|
-
"aria-label": state.collection.size > 0 ?
|
|
776
|
+
"aria-label": state.collection.size > 0 ? stringFormatter.format('loadingMore') : stringFormatter.format('loading')
|
|
571
777
|
})));
|
|
572
778
|
case 'empty':
|
|
573
779
|
{
|
|
@@ -780,7 +986,7 @@ function $be8a9c035a82f788$var$ResizableTableColumnHeader(props) {
|
|
|
780
986
|
let { column: column } = props;
|
|
781
987
|
let ref5 = $3fpzo$react.useRef();
|
|
782
988
|
let { state: state , columnState: columnState } = $be8a9c035a82f788$export$3cb274deb6c2d854();
|
|
783
|
-
let
|
|
989
|
+
let stringFormatter = $3fpzo$reactariai18n.useLocalizedStringFormatter((/*@__PURE__*/$parcel$interopDefault($a89862f958371476$exports)));
|
|
784
990
|
let [isHovered, setIsHovered] = $3fpzo$react.useState(false);
|
|
785
991
|
const onMenuSelect = (key)=>{
|
|
786
992
|
switch(key){
|
|
@@ -799,15 +1005,15 @@ function $be8a9c035a82f788$var$ResizableTableColumnHeader(props) {
|
|
|
799
1005
|
let items = $3fpzo$react.useMemo(()=>{
|
|
800
1006
|
let options = [
|
|
801
1007
|
allowsSorting ? {
|
|
802
|
-
label:
|
|
1008
|
+
label: stringFormatter.format('sortAscending'),
|
|
803
1009
|
id: 'sort-asc'
|
|
804
1010
|
} : undefined,
|
|
805
1011
|
allowsSorting ? {
|
|
806
|
-
label:
|
|
1012
|
+
label: stringFormatter.format('sortDescending'),
|
|
807
1013
|
id: 'sort-desc'
|
|
808
1014
|
} : undefined,
|
|
809
1015
|
{
|
|
810
|
-
label:
|
|
1016
|
+
label: stringFormatter.format('resizeColumn'),
|
|
811
1017
|
id: 'resize'
|
|
812
1018
|
}
|
|
813
1019
|
];
|