@react-aria/table 3.2.2 → 3.2.3-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 +179 -179
- package/dist/module.js +173 -173
- package/package.json +14 -14
package/dist/module.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {useGridRowGroup as $
|
|
2
|
-
import {announce as $
|
|
3
|
-
import {useId as $
|
|
4
|
-
import {useMemo as $
|
|
5
|
-
import {useCollator as $
|
|
6
|
-
import {useFocusable as $
|
|
7
|
-
import {usePress as $
|
|
1
|
+
import {useGridRowGroup as $lJcFS$useGridRowGroup, useGrid as $lJcFS$useGrid, GridKeyboardDelegate as $lJcFS$GridKeyboardDelegate, useGridCell as $lJcFS$useGridCell, useGridRow as $lJcFS$useGridRow, useGridSelectionCheckbox as $lJcFS$useGridSelectionCheckbox} from "@react-aria/grid";
|
|
2
|
+
import {announce as $lJcFS$announce} from "@react-aria/live-announcer";
|
|
3
|
+
import {useId as $lJcFS$useId, useDescription as $lJcFS$useDescription, useUpdateEffect as $lJcFS$useUpdateEffect, mergeProps as $lJcFS$mergeProps, isAndroid as $lJcFS$isAndroid} from "@react-aria/utils";
|
|
4
|
+
import {useMemo as $lJcFS$useMemo} from "react";
|
|
5
|
+
import {useCollator as $lJcFS$useCollator, useLocale as $lJcFS$useLocale, useMessageFormatter as $lJcFS$useMessageFormatter} from "@react-aria/i18n";
|
|
6
|
+
import {useFocusable as $lJcFS$useFocusable} from "@react-aria/focus";
|
|
7
|
+
import {usePress as $lJcFS$usePress} from "@react-aria/interactions";
|
|
8
8
|
|
|
9
9
|
function $parcel$interopDefault(a) {
|
|
10
10
|
return a && a.__esModule ? a.default : a;
|
|
@@ -13,214 +13,214 @@ function $parcel$export(e, n, v, s) {
|
|
|
13
13
|
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
var $
|
|
16
|
+
var $6e31608fbba75bab$exports = {};
|
|
17
17
|
|
|
18
|
-
$parcel$export($
|
|
18
|
+
$parcel$export($6e31608fbba75bab$exports, "useTable", () => $6e31608fbba75bab$export$25bceaac3c7e4dc7);
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
const $
|
|
22
|
-
function $
|
|
21
|
+
const $2140fb2337097f2d$export$552312adfd451dab = new WeakMap();
|
|
22
|
+
function $2140fb2337097f2d$var$normalizeKey(key) {
|
|
23
23
|
if (typeof key === 'string') return key.replace(/\s*/g, '');
|
|
24
24
|
return '' + key;
|
|
25
25
|
}
|
|
26
|
-
function $
|
|
27
|
-
let gridId = $
|
|
26
|
+
function $2140fb2337097f2d$export$37cd4213f2ad742e(state, columnKey) {
|
|
27
|
+
let gridId = $2140fb2337097f2d$export$552312adfd451dab.get(state);
|
|
28
28
|
if (!gridId) throw new Error('Unknown grid');
|
|
29
|
-
return `${gridId}-${$
|
|
29
|
+
return `${gridId}-${$2140fb2337097f2d$var$normalizeKey(columnKey)}`;
|
|
30
30
|
}
|
|
31
|
-
function $
|
|
32
|
-
let gridId = $
|
|
31
|
+
function $2140fb2337097f2d$export$19baff3266315d44(state, rowKey, columnKey) {
|
|
32
|
+
let gridId = $2140fb2337097f2d$export$552312adfd451dab.get(state);
|
|
33
33
|
if (!gridId) throw new Error('Unknown grid');
|
|
34
|
-
return `${gridId}-${$
|
|
34
|
+
return `${gridId}-${$2140fb2337097f2d$var$normalizeKey(rowKey)}-${$2140fb2337097f2d$var$normalizeKey(columnKey)}`;
|
|
35
35
|
}
|
|
36
|
-
function $
|
|
36
|
+
function $2140fb2337097f2d$export$85069b70317f543(state, rowKey) {
|
|
37
37
|
// A row is labelled by it's row headers.
|
|
38
38
|
return [
|
|
39
39
|
...state.collection.rowHeaderColumnKeys
|
|
40
|
-
].map((columnKey)=>$
|
|
40
|
+
].map((columnKey)=>$2140fb2337097f2d$export$19baff3266315d44(state, rowKey, columnKey)
|
|
41
41
|
).join(' ');
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
|
|
45
|
-
var $
|
|
46
|
-
var $
|
|
47
|
-
$
|
|
45
|
+
var $ae7e9c471762b4d3$exports = {};
|
|
46
|
+
var $ce3de3ff2fd66848$exports = {};
|
|
47
|
+
$ce3de3ff2fd66848$exports = JSON.parse("{\"ascending\":\"تصاعدي\",\"ascendingSort\":\"ترتيب حسب العمود {columnName} بترتيب تصاعدي\",\"descending\":\"تنازلي\",\"descendingSort\":\"ترتيب حسب العمود {columnName} بترتيب تنازلي\",\"select\":\"تحديد\",\"selectAll\":\"تحديد الكل\",\"sortable\":\"عمود قابل للترتيب\"}");
|
|
48
48
|
|
|
49
49
|
|
|
50
|
-
var $
|
|
51
|
-
$
|
|
50
|
+
var $cb80dcce530985b9$exports = {};
|
|
51
|
+
$cb80dcce530985b9$exports = JSON.parse("{\"ascending\":\"възходящ\",\"ascendingSort\":\"сортирано по колона {columnName} във възходящ ред\",\"descending\":\"низходящ\",\"descendingSort\":\"сортирано по колона {columnName} в низходящ ред\",\"select\":\"Изберете\",\"selectAll\":\"Изберете всичко\",\"sortable\":\"сортираща колона\"}");
|
|
52
52
|
|
|
53
53
|
|
|
54
|
-
var $
|
|
55
|
-
$
|
|
54
|
+
var $68ac86749db4c0fb$exports = {};
|
|
55
|
+
$68ac86749db4c0fb$exports = JSON.parse("{\"ascending\":\"vzestupně\",\"ascendingSort\":\"řazeno vzestupně podle sloupce {columnName}\",\"descending\":\"sestupně\",\"descendingSort\":\"řazeno sestupně podle sloupce {columnName}\",\"select\":\"Vybrat\",\"selectAll\":\"Vybrat vše\",\"sortable\":\"sloupec s možností řazení\"}");
|
|
56
56
|
|
|
57
57
|
|
|
58
|
-
var $
|
|
59
|
-
$
|
|
58
|
+
var $9a6cbac08487e661$exports = {};
|
|
59
|
+
$9a6cbac08487e661$exports = JSON.parse("{\"ascending\":\"stigende\",\"ascendingSort\":\"sorteret efter kolonne {columnName} i stigende rækkefølge\",\"descending\":\"faldende\",\"descendingSort\":\"sorteret efter kolonne {columnName} i faldende rækkefølge\",\"select\":\"Vælg\",\"selectAll\":\"Vælg alle\",\"sortable\":\"sorterbar kolonne\"}");
|
|
60
60
|
|
|
61
61
|
|
|
62
|
-
var $
|
|
63
|
-
$
|
|
62
|
+
var $c963661d89486e72$exports = {};
|
|
63
|
+
$c963661d89486e72$exports = JSON.parse("{\"ascending\":\"aufsteigend\",\"ascendingSort\":\"sortiert nach Spalte {columnName} in aufsteigender Reihenfolge\",\"descending\":\"absteigend\",\"descendingSort\":\"sortiert nach Spalte {columnName} in absteigender Reihenfolge\",\"select\":\"Auswählen\",\"selectAll\":\"Alles auswählen\",\"sortable\":\"sortierbare Spalte\"}");
|
|
64
64
|
|
|
65
65
|
|
|
66
|
-
var $
|
|
67
|
-
$
|
|
66
|
+
var $ac03861c6e8605f4$exports = {};
|
|
67
|
+
$ac03861c6e8605f4$exports = JSON.parse("{\"ascending\":\"αύξουσα\",\"ascendingSort\":\"διαλογή ανά στήλη {columnName} σε αύξουσα σειρά\",\"descending\":\"φθίνουσα\",\"descendingSort\":\"διαλογή ανά στήλη {columnName} σε φθίνουσα σειρά\",\"select\":\"Επιλογή\",\"selectAll\":\"Επιλογή όλων\",\"sortable\":\"Στήλη διαλογής\"}");
|
|
68
68
|
|
|
69
69
|
|
|
70
|
-
var $
|
|
71
|
-
$
|
|
70
|
+
var $09e6b82e0d6e466a$exports = {};
|
|
71
|
+
$09e6b82e0d6e466a$exports = JSON.parse("{\"select\":\"Select\",\"selectAll\":\"Select All\",\"sortable\":\"sortable column\",\"ascending\":\"ascending\",\"descending\":\"descending\",\"ascendingSort\":\"sorted by column {columnName} in ascending order\",\"descendingSort\":\"sorted by column {columnName} in descending order\"}");
|
|
72
72
|
|
|
73
73
|
|
|
74
|
-
var $
|
|
75
|
-
$
|
|
74
|
+
var $8cc39eb66c2bf220$exports = {};
|
|
75
|
+
$8cc39eb66c2bf220$exports = JSON.parse("{\"ascending\":\"de subida\",\"ascendingSort\":\"ordenado por columna {columnName} en orden de subida\",\"descending\":\"de bajada\",\"descendingSort\":\"ordenado por columna {columnName} en orden de bajada\",\"select\":\"Seleccionar\",\"selectAll\":\"Seleccionar todos\",\"sortable\":\"columna ordenable\"}");
|
|
76
76
|
|
|
77
77
|
|
|
78
|
-
var $
|
|
79
|
-
$
|
|
78
|
+
var $4e11db3c25a38112$exports = {};
|
|
79
|
+
$4e11db3c25a38112$exports = JSON.parse("{\"ascending\":\"tõusev järjestus\",\"ascendingSort\":\"sorditud veeru järgi {columnName} tõusvas järjestuses\",\"descending\":\"laskuv järjestus\",\"descendingSort\":\"sorditud veeru järgi {columnName} laskuvas järjestuses\",\"select\":\"Vali\",\"selectAll\":\"Vali kõik\",\"sortable\":\"sorditav veerg\"}");
|
|
80
80
|
|
|
81
81
|
|
|
82
|
-
var $
|
|
83
|
-
$
|
|
82
|
+
var $da1e751a92575e02$exports = {};
|
|
83
|
+
$da1e751a92575e02$exports = JSON.parse("{\"ascending\":\"nouseva\",\"ascendingSort\":\"lajiteltu sarakkeen {columnName} mukaan nousevassa järjestyksessä\",\"descending\":\"laskeva\",\"descendingSort\":\"lajiteltu sarakkeen {columnName} mukaan laskevassa järjestyksessä\",\"select\":\"Valitse\",\"selectAll\":\"Valitse kaikki\",\"sortable\":\"lajiteltava sarake\"}");
|
|
84
84
|
|
|
85
85
|
|
|
86
|
-
var $
|
|
87
|
-
$
|
|
86
|
+
var $1b5d6c6c47d55106$exports = {};
|
|
87
|
+
$1b5d6c6c47d55106$exports = JSON.parse("{\"ascending\":\"croissant\",\"ascendingSort\":\"trié en fonction de la colonne {columnName} par ordre croissant\",\"descending\":\"décroissant\",\"descendingSort\":\"trié en fonction de la colonne {columnName} par ordre décroissant\",\"select\":\"Sélectionner\",\"selectAll\":\"Sélectionner tout\",\"sortable\":\"colonne triable\"}");
|
|
88
88
|
|
|
89
89
|
|
|
90
|
-
var $
|
|
91
|
-
$
|
|
90
|
+
var $7c18ba27b86d3308$exports = {};
|
|
91
|
+
$7c18ba27b86d3308$exports = JSON.parse("{\"ascending\":\"עולה\",\"ascendingSort\":\"מוין לפי עמודה {columnName} בסדר עולה\",\"descending\":\"יורד\",\"descendingSort\":\"מוין לפי עמודה {columnName} בסדר יורד\",\"select\":\"בחר\",\"selectAll\":\"בחר הכול\",\"sortable\":\"עמודה שניתן למיין\"}");
|
|
92
92
|
|
|
93
93
|
|
|
94
|
-
var $
|
|
95
|
-
$
|
|
94
|
+
var $2cb40998e20e8a46$exports = {};
|
|
95
|
+
$2cb40998e20e8a46$exports = JSON.parse("{\"ascending\":\"rastući\",\"ascendingSort\":\"razvrstano po stupcima {columnName} rastućem redoslijedom\",\"descending\":\"padajući\",\"descendingSort\":\"razvrstano po stupcima {columnName} padajućim redoslijedom\",\"select\":\"Odaberite\",\"selectAll\":\"Odaberite sve\",\"sortable\":\"stupac koji se može razvrstati\"}");
|
|
96
96
|
|
|
97
97
|
|
|
98
|
-
var $
|
|
99
|
-
$
|
|
98
|
+
var $189e23eec1d6aa3a$exports = {};
|
|
99
|
+
$189e23eec1d6aa3a$exports = JSON.parse("{\"ascending\":\"növekvő\",\"ascendingSort\":\"rendezve a(z) {columnName} oszlop szerint, növekvő sorrendben\",\"descending\":\"csökkenő\",\"descendingSort\":\"rendezve a(z) {columnName} oszlop szerint, csökkenő sorrendben\",\"select\":\"Kijelölés\",\"selectAll\":\"Összes kijelölése\",\"sortable\":\"rendezendő oszlop\"}");
|
|
100
100
|
|
|
101
101
|
|
|
102
|
-
var $
|
|
103
|
-
$
|
|
102
|
+
var $3c5ec8e4f015dfd0$exports = {};
|
|
103
|
+
$3c5ec8e4f015dfd0$exports = JSON.parse("{\"ascending\":\"crescente\",\"ascendingSort\":\"in ordine crescente in base alla colonna {columnName}\",\"descending\":\"decrescente\",\"descendingSort\":\"in ordine decrescente in base alla colonna {columnName}\",\"select\":\"Seleziona\",\"selectAll\":\"Seleziona tutto\",\"sortable\":\"colonna ordinabile\"}");
|
|
104
104
|
|
|
105
105
|
|
|
106
|
-
var $
|
|
107
|
-
$
|
|
106
|
+
var $d021d50e6b315ebb$exports = {};
|
|
107
|
+
$d021d50e6b315ebb$exports = JSON.parse("{\"ascending\":\"昇順\",\"ascendingSort\":\"列 {columnName} を昇順で並べ替え\",\"descending\":\"降順\",\"descendingSort\":\"列 {columnName} を降順で並べ替え\",\"select\":\"選択\",\"selectAll\":\"すべて選択\",\"sortable\":\"並べ替え可能な列\"}");
|
|
108
108
|
|
|
109
109
|
|
|
110
|
-
var $
|
|
111
|
-
$
|
|
110
|
+
var $52535c35c24ec937$exports = {};
|
|
111
|
+
$52535c35c24ec937$exports = JSON.parse("{\"ascending\":\"오름차순\",\"ascendingSort\":\"{columnName} 열을 기준으로 오름차순으로 정렬됨\",\"descending\":\"내림차순\",\"descendingSort\":\"{columnName} 열을 기준으로 내림차순으로 정렬됨\",\"select\":\"선택\",\"selectAll\":\"모두 선택\",\"sortable\":\"정렬 가능한 열\"}");
|
|
112
112
|
|
|
113
113
|
|
|
114
|
-
var $
|
|
115
|
-
$
|
|
114
|
+
var $b37ee03672edfd1d$exports = {};
|
|
115
|
+
$b37ee03672edfd1d$exports = JSON.parse("{\"ascending\":\"didėjančia tvarka\",\"ascendingSort\":\"surikiuota pagal stulpelį {columnName} didėjančia tvarka\",\"descending\":\"mažėjančia tvarka\",\"descendingSort\":\"surikiuota pagal stulpelį {columnName} mažėjančia tvarka\",\"select\":\"Pasirinkti\",\"selectAll\":\"Pasirinkti viską\",\"sortable\":\"rikiuojamas stulpelis\"}");
|
|
116
116
|
|
|
117
117
|
|
|
118
|
-
var $
|
|
119
|
-
$
|
|
118
|
+
var $c7df6686b4189d56$exports = {};
|
|
119
|
+
$c7df6686b4189d56$exports = JSON.parse("{\"ascending\":\"augošā secībā\",\"ascendingSort\":\"kārtots pēc kolonnas {columnName} augošā secībā\",\"descending\":\"dilstošā secībā\",\"descendingSort\":\"kārtots pēc kolonnas {columnName} dilstošā secībā\",\"select\":\"Atlasīt\",\"selectAll\":\"Atlasīt visu\",\"sortable\":\"kārtojamā kolonna\"}");
|
|
120
120
|
|
|
121
121
|
|
|
122
|
-
var $
|
|
123
|
-
$
|
|
122
|
+
var $da07fe8ec87e6b68$exports = {};
|
|
123
|
+
$da07fe8ec87e6b68$exports = JSON.parse("{\"ascending\":\"stigende\",\"ascendingSort\":\"sortert etter kolonne {columnName} i stigende rekkefølge\",\"descending\":\"synkende\",\"descendingSort\":\"sortert etter kolonne {columnName} i synkende rekkefølge\",\"select\":\"Velg\",\"selectAll\":\"Velg alle\",\"sortable\":\"kolonne som kan sorteres\"}");
|
|
124
124
|
|
|
125
125
|
|
|
126
|
-
var $
|
|
127
|
-
$
|
|
126
|
+
var $64b7e390f5791490$exports = {};
|
|
127
|
+
$64b7e390f5791490$exports = JSON.parse("{\"ascending\":\"oplopend\",\"ascendingSort\":\"gesorteerd in oplopende volgorde in kolom {columnName}\",\"descending\":\"aflopend\",\"descendingSort\":\"gesorteerd in aflopende volgorde in kolom {columnName}\",\"select\":\"Selecteren\",\"selectAll\":\"Alles selecteren\",\"sortable\":\"sorteerbare kolom\"}");
|
|
128
128
|
|
|
129
129
|
|
|
130
|
-
var $
|
|
131
|
-
$
|
|
130
|
+
var $2a03621e773f1678$exports = {};
|
|
131
|
+
$2a03621e773f1678$exports = JSON.parse("{\"ascending\":\"rosnąco\",\"ascendingSort\":\"posortowano według kolumny {columnName} w porządku rosnącym\",\"descending\":\"malejąco\",\"descendingSort\":\"posortowano według kolumny {columnName} w porządku malejącym\",\"select\":\"Zaznacz\",\"selectAll\":\"Zaznacz wszystko\",\"sortable\":\"kolumna z możliwością sortowania\"}");
|
|
132
132
|
|
|
133
133
|
|
|
134
|
-
var $
|
|
135
|
-
$
|
|
134
|
+
var $0a79c0aba9e5ecc6$exports = {};
|
|
135
|
+
$0a79c0aba9e5ecc6$exports = JSON.parse("{\"ascending\":\"crescente\",\"ascendingSort\":\"classificado pela coluna {columnName} em ordem crescente\",\"descending\":\"decrescente\",\"descendingSort\":\"classificado pela coluna {columnName} em ordem decrescente\",\"select\":\"Selecionar\",\"selectAll\":\"Selecionar tudo\",\"sortable\":\"coluna classificável\"}");
|
|
136
136
|
|
|
137
137
|
|
|
138
|
-
var $
|
|
139
|
-
$
|
|
138
|
+
var $de7b4d0f7dc86fc8$exports = {};
|
|
139
|
+
$de7b4d0f7dc86fc8$exports = JSON.parse("{\"ascending\":\"ascendente\",\"ascendingSort\":\"Ordenar por coluna {columnName} em ordem ascendente\",\"descending\":\"descendente\",\"descendingSort\":\"Ordenar por coluna {columnName} em ordem descendente\",\"select\":\"Selecionar\",\"selectAll\":\"Selecionar tudo\",\"sortable\":\"Coluna ordenável\"}");
|
|
140
140
|
|
|
141
141
|
|
|
142
|
-
var $
|
|
143
|
-
$
|
|
142
|
+
var $28ea7e849d77bd1c$exports = {};
|
|
143
|
+
$28ea7e849d77bd1c$exports = JSON.parse("{\"ascending\":\"crescătoare\",\"ascendingSort\":\"sortate după coloana {columnName} în ordine crescătoare\",\"descending\":\"descrescătoare\",\"descendingSort\":\"sortate după coloana {columnName} în ordine descrescătoare\",\"select\":\"Selectare\",\"selectAll\":\"Selectare totală\",\"sortable\":\"coloană sortabilă\"}");
|
|
144
144
|
|
|
145
145
|
|
|
146
|
-
var $
|
|
147
|
-
$
|
|
146
|
+
var $9a09321cf046b187$exports = {};
|
|
147
|
+
$9a09321cf046b187$exports = JSON.parse("{\"ascending\":\"возрастание\",\"ascendingSort\":\"сортировать столбец {columnName} в порядке возрастания\",\"descending\":\"убывание\",\"descendingSort\":\"сортировать столбец {columnName} в порядке убывания\",\"select\":\"Выбрать\",\"selectAll\":\"Выбрать все\",\"sortable\":\"сортируемый столбец\"}");
|
|
148
148
|
|
|
149
149
|
|
|
150
|
-
var $
|
|
151
|
-
$
|
|
150
|
+
var $5afe469a63fcac7b$exports = {};
|
|
151
|
+
$5afe469a63fcac7b$exports = JSON.parse("{\"ascending\":\"vzostupne\",\"ascendingSort\":\"zoradené zostupne podľa stĺpca {columnName}\",\"descending\":\"zostupne\",\"descendingSort\":\"zoradené zostupne podľa stĺpca {columnName}\",\"select\":\"Vybrať\",\"selectAll\":\"Vybrať všetko\",\"sortable\":\"zoraditeľný stĺpec\"}");
|
|
152
152
|
|
|
153
153
|
|
|
154
|
-
var $
|
|
155
|
-
$
|
|
154
|
+
var $2956757ac31a7ce2$exports = {};
|
|
155
|
+
$2956757ac31a7ce2$exports = JSON.parse("{\"ascending\":\"naraščajoče\",\"ascendingSort\":\"razvrščeno po stolpcu {columnName} v naraščajočem vrstnem redu\",\"descending\":\"padajoče\",\"descendingSort\":\"razvrščeno po stolpcu {columnName} v padajočem vrstnem redu\",\"select\":\"Izberite\",\"selectAll\":\"Izberite vse\",\"sortable\":\"razvrstljivi stolpec\"}");
|
|
156
156
|
|
|
157
157
|
|
|
158
|
-
var $
|
|
159
|
-
$
|
|
158
|
+
var $cedee0e66b175529$exports = {};
|
|
159
|
+
$cedee0e66b175529$exports = JSON.parse("{\"ascending\":\"rastući\",\"ascendingSort\":\"sortirano po kolonama {columnName} rastućim redosledom\",\"descending\":\"padajući\",\"descendingSort\":\"sortirano po kolonama {columnName} padajućim redosledom\",\"select\":\"Izaberite\",\"selectAll\":\"Izaberite sve\",\"sortable\":\"kolona koja se može sortirati\"}");
|
|
160
160
|
|
|
161
161
|
|
|
162
|
-
var $
|
|
163
|
-
$
|
|
162
|
+
var $6db19998ba4427da$exports = {};
|
|
163
|
+
$6db19998ba4427da$exports = JSON.parse("{\"ascending\":\"stigande\",\"ascendingSort\":\"sorterat på kolumn {columnName} i stigande ordning\",\"descending\":\"fallande\",\"descendingSort\":\"sorterat på kolumn {columnName} i fallande ordning\",\"select\":\"Markera\",\"selectAll\":\"Markera allt\",\"sortable\":\"sorterbar kolumn\"}");
|
|
164
164
|
|
|
165
165
|
|
|
166
|
-
var $
|
|
167
|
-
$
|
|
166
|
+
var $166b7c9cc1adb1a1$exports = {};
|
|
167
|
+
$166b7c9cc1adb1a1$exports = JSON.parse("{\"ascending\":\"artan sırada\",\"ascendingSort\":\"{columnName} sütuna göre artan düzende sırala\",\"descending\":\"azalan sırada\",\"descendingSort\":\"{columnName} sütuna göre azalan düzende sırala\",\"select\":\"Seç\",\"selectAll\":\"Tümünü Seç\",\"sortable\":\"Sıralanabilir sütun\"}");
|
|
168
168
|
|
|
169
169
|
|
|
170
|
-
var $
|
|
171
|
-
$
|
|
170
|
+
var $c7ab180b401e49ff$exports = {};
|
|
171
|
+
$c7ab180b401e49ff$exports = JSON.parse("{\"ascending\":\"висхідний\",\"ascendingSort\":\"відсортовано за стовпцем {columnName} у висхідному порядку\",\"descending\":\"низхідний\",\"descendingSort\":\"відсортовано за стовпцем {columnName} у низхідному порядку\",\"select\":\"Вибрати\",\"selectAll\":\"Вибрати все\",\"sortable\":\"сортувальний стовпець\"}");
|
|
172
172
|
|
|
173
173
|
|
|
174
|
-
var $
|
|
175
|
-
$
|
|
174
|
+
var $1648ec00941567f3$exports = {};
|
|
175
|
+
$1648ec00941567f3$exports = JSON.parse("{\"ascending\":\"升序\",\"ascendingSort\":\"按列 {columnName} 升序排序\",\"descending\":\"降序\",\"descendingSort\":\"按列 {columnName} 降序排序\",\"select\":\"选择\",\"selectAll\":\"全选\",\"sortable\":\"可排序的列\"}");
|
|
176
176
|
|
|
177
177
|
|
|
178
|
-
var $
|
|
179
|
-
$
|
|
178
|
+
var $b26f22384b3c1526$exports = {};
|
|
179
|
+
$b26f22384b3c1526$exports = JSON.parse("{\"ascending\":\"遞增\",\"ascendingSort\":\"已依據「{columnName}」欄遞增排序\",\"descending\":\"遞減\",\"descendingSort\":\"已依據「{columnName}」欄遞減排序\",\"select\":\"選取\",\"selectAll\":\"全選\",\"sortable\":\"可排序的欄\"}");
|
|
180
180
|
|
|
181
181
|
|
|
182
|
-
$
|
|
183
|
-
"ar-AE": $
|
|
184
|
-
"bg-BG": $
|
|
185
|
-
"cs-CZ": $
|
|
186
|
-
"da-DK": $
|
|
187
|
-
"de-DE": $
|
|
188
|
-
"el-GR": $
|
|
189
|
-
"en-US": $
|
|
190
|
-
"es-ES": $
|
|
191
|
-
"et-EE": $
|
|
192
|
-
"fi-FI": $
|
|
193
|
-
"fr-FR": $
|
|
194
|
-
"he-IL": $
|
|
195
|
-
"hr-HR": $
|
|
196
|
-
"hu-HU": $
|
|
197
|
-
"it-IT": $
|
|
198
|
-
"ja-JP": $
|
|
199
|
-
"ko-KR": $
|
|
200
|
-
"lt-LT": $
|
|
201
|
-
"lv-LV": $
|
|
202
|
-
"nb-NO": $
|
|
203
|
-
"nl-NL": $
|
|
204
|
-
"pl-PL": $
|
|
205
|
-
"pt-BR": $
|
|
206
|
-
"pt-PT": $
|
|
207
|
-
"ro-RO": $
|
|
208
|
-
"ru-RU": $
|
|
209
|
-
"sk-SK": $
|
|
210
|
-
"sl-SI": $
|
|
211
|
-
"sr-SP": $
|
|
212
|
-
"sv-SE": $
|
|
213
|
-
"tr-TR": $
|
|
214
|
-
"uk-UA": $
|
|
215
|
-
"zh-CN": $
|
|
216
|
-
"zh-TW": $
|
|
182
|
+
$ae7e9c471762b4d3$exports = {
|
|
183
|
+
"ar-AE": $ce3de3ff2fd66848$exports,
|
|
184
|
+
"bg-BG": $cb80dcce530985b9$exports,
|
|
185
|
+
"cs-CZ": $68ac86749db4c0fb$exports,
|
|
186
|
+
"da-DK": $9a6cbac08487e661$exports,
|
|
187
|
+
"de-DE": $c963661d89486e72$exports,
|
|
188
|
+
"el-GR": $ac03861c6e8605f4$exports,
|
|
189
|
+
"en-US": $09e6b82e0d6e466a$exports,
|
|
190
|
+
"es-ES": $8cc39eb66c2bf220$exports,
|
|
191
|
+
"et-EE": $4e11db3c25a38112$exports,
|
|
192
|
+
"fi-FI": $da1e751a92575e02$exports,
|
|
193
|
+
"fr-FR": $1b5d6c6c47d55106$exports,
|
|
194
|
+
"he-IL": $7c18ba27b86d3308$exports,
|
|
195
|
+
"hr-HR": $2cb40998e20e8a46$exports,
|
|
196
|
+
"hu-HU": $189e23eec1d6aa3a$exports,
|
|
197
|
+
"it-IT": $3c5ec8e4f015dfd0$exports,
|
|
198
|
+
"ja-JP": $d021d50e6b315ebb$exports,
|
|
199
|
+
"ko-KR": $52535c35c24ec937$exports,
|
|
200
|
+
"lt-LT": $b37ee03672edfd1d$exports,
|
|
201
|
+
"lv-LV": $c7df6686b4189d56$exports,
|
|
202
|
+
"nb-NO": $da07fe8ec87e6b68$exports,
|
|
203
|
+
"nl-NL": $64b7e390f5791490$exports,
|
|
204
|
+
"pl-PL": $2a03621e773f1678$exports,
|
|
205
|
+
"pt-BR": $0a79c0aba9e5ecc6$exports,
|
|
206
|
+
"pt-PT": $de7b4d0f7dc86fc8$exports,
|
|
207
|
+
"ro-RO": $28ea7e849d77bd1c$exports,
|
|
208
|
+
"ru-RU": $9a09321cf046b187$exports,
|
|
209
|
+
"sk-SK": $5afe469a63fcac7b$exports,
|
|
210
|
+
"sl-SI": $2956757ac31a7ce2$exports,
|
|
211
|
+
"sr-SP": $cedee0e66b175529$exports,
|
|
212
|
+
"sv-SE": $6db19998ba4427da$exports,
|
|
213
|
+
"tr-TR": $166b7c9cc1adb1a1$exports,
|
|
214
|
+
"uk-UA": $c7ab180b401e49ff$exports,
|
|
215
|
+
"zh-CN": $1648ec00941567f3$exports,
|
|
216
|
+
"zh-TW": $b26f22384b3c1526$exports
|
|
217
217
|
};
|
|
218
218
|
|
|
219
219
|
|
|
220
220
|
|
|
221
221
|
|
|
222
222
|
|
|
223
|
-
class $
|
|
223
|
+
class $0ba3c81c7f1caedd$export$da43f8f5cb04028d extends $lJcFS$GridKeyboardDelegate {
|
|
224
224
|
isCell(node) {
|
|
225
225
|
return node.type === 'cell' || node.type === 'rowheader' || node.type === 'column';
|
|
226
226
|
}
|
|
@@ -338,16 +338,16 @@ class $5fac45ecadb862f3$export$da43f8f5cb04028d extends $cHypr$GridKeyboardDeleg
|
|
|
338
338
|
|
|
339
339
|
|
|
340
340
|
|
|
341
|
-
function $
|
|
341
|
+
function $6e31608fbba75bab$export$25bceaac3c7e4dc7(props, state, ref1) {
|
|
342
342
|
let { keyboardDelegate: keyboardDelegate , isVirtualized: isVirtualized , layout: layout } = props;
|
|
343
343
|
// By default, a KeyboardDelegate is provided which uses the DOM to query layout information (e.g. for page up/page down).
|
|
344
344
|
// When virtualized, the layout object will be passed in as a prop and override this.
|
|
345
|
-
let collator = $
|
|
345
|
+
let collator = $lJcFS$useCollator({
|
|
346
346
|
usage: 'search',
|
|
347
347
|
sensitivity: 'base'
|
|
348
348
|
});
|
|
349
|
-
let { direction: direction } = $
|
|
350
|
-
let delegate = $
|
|
349
|
+
let { direction: direction } = $lJcFS$useLocale();
|
|
350
|
+
let delegate = $lJcFS$useMemo(()=>keyboardDelegate || new $0ba3c81c7f1caedd$export$da43f8f5cb04028d({
|
|
351
351
|
collection: state.collection,
|
|
352
352
|
disabledKeys: state.disabledKeys,
|
|
353
353
|
ref: ref1,
|
|
@@ -364,9 +364,9 @@ function $520be35fd1d47bfa$export$25bceaac3c7e4dc7(props, state, ref1) {
|
|
|
364
364
|
collator,
|
|
365
365
|
layout
|
|
366
366
|
]);
|
|
367
|
-
let id = $
|
|
368
|
-
$
|
|
369
|
-
let { gridProps: gridProps } = $
|
|
367
|
+
let id = $lJcFS$useId();
|
|
368
|
+
$2140fb2337097f2d$export$552312adfd451dab.set(state, id);
|
|
369
|
+
let { gridProps: gridProps } = $lJcFS$useGrid({
|
|
370
370
|
...props,
|
|
371
371
|
id: id,
|
|
372
372
|
keyboardDelegate: delegate,
|
|
@@ -393,8 +393,8 @@ function $520be35fd1d47bfa$export$25bceaac3c7e4dc7(props, state, ref1) {
|
|
|
393
393
|
if (isVirtualized) gridProps['aria-rowcount'] = state.collection.size + state.collection.headerRows.length;
|
|
394
394
|
let { column: column1 , direction: sortDirection } = state.sortDescriptor || {
|
|
395
395
|
};
|
|
396
|
-
let formatMessage = $
|
|
397
|
-
let sortDescription = $
|
|
396
|
+
let formatMessage = $lJcFS$useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($ae7e9c471762b4d3$exports)));
|
|
397
|
+
let sortDescription = $lJcFS$useMemo(()=>{
|
|
398
398
|
var ref;
|
|
399
399
|
let columnName = (ref = state.collection.columns.find((c)=>c.key === column1
|
|
400
400
|
)) === null || ref === void 0 ? void 0 : ref.textValue;
|
|
@@ -406,15 +406,15 @@ function $520be35fd1d47bfa$export$25bceaac3c7e4dc7(props, state, ref1) {
|
|
|
406
406
|
column1,
|
|
407
407
|
state.collection.columns
|
|
408
408
|
]);
|
|
409
|
-
let descriptionProps = $
|
|
409
|
+
let descriptionProps = $lJcFS$useDescription(sortDescription);
|
|
410
410
|
// Only announce after initial render, tabbing to the table will tell you the initial sort info already
|
|
411
|
-
$
|
|
412
|
-
$
|
|
411
|
+
$lJcFS$useUpdateEffect(()=>{
|
|
412
|
+
$lJcFS$announce(sortDescription, 'assertive', 500);
|
|
413
413
|
}, [
|
|
414
414
|
sortDescription
|
|
415
415
|
]);
|
|
416
416
|
return {
|
|
417
|
-
gridProps: $
|
|
417
|
+
gridProps: $lJcFS$mergeProps(gridProps, descriptionProps, {
|
|
418
418
|
// merge sort description with long press information
|
|
419
419
|
'aria-describedby': [
|
|
420
420
|
descriptionProps['aria-describedby'],
|
|
@@ -425,9 +425,9 @@ function $520be35fd1d47bfa$export$25bceaac3c7e4dc7(props, state, ref1) {
|
|
|
425
425
|
}
|
|
426
426
|
|
|
427
427
|
|
|
428
|
-
var $
|
|
428
|
+
var $f329116d8ad0aba0$exports = {};
|
|
429
429
|
|
|
430
|
-
$parcel$export($
|
|
430
|
+
$parcel$export($f329116d8ad0aba0$exports, "useTableColumnHeader", () => $f329116d8ad0aba0$export$9514819a8c81e960);
|
|
431
431
|
|
|
432
432
|
|
|
433
433
|
|
|
@@ -435,39 +435,39 @@ $parcel$export($5aa0df51a7fd9d9b$exports, "useTableColumnHeader", () => $5aa0df5
|
|
|
435
435
|
|
|
436
436
|
|
|
437
437
|
|
|
438
|
-
function $
|
|
438
|
+
function $f329116d8ad0aba0$export$9514819a8c81e960(props, state, ref) {
|
|
439
439
|
var ref1, ref2;
|
|
440
440
|
let { node: node } = props;
|
|
441
441
|
let allowsSorting = node.props.allowsSorting;
|
|
442
|
-
let { gridCellProps: gridCellProps } = $
|
|
442
|
+
let { gridCellProps: gridCellProps } = $lJcFS$useGridCell(props, state, ref);
|
|
443
443
|
let isSelectionCellDisabled = node.props.isSelectionCell && state.selectionManager.selectionMode === 'single';
|
|
444
|
-
let { pressProps: pressProps } = $
|
|
444
|
+
let { pressProps: pressProps } = $lJcFS$usePress({
|
|
445
445
|
isDisabled: !allowsSorting || isSelectionCellDisabled,
|
|
446
446
|
onPress () {
|
|
447
447
|
state.sort(node.key);
|
|
448
448
|
}
|
|
449
449
|
});
|
|
450
450
|
// Needed to pick up the focusable context, enabling things like Tooltips for example
|
|
451
|
-
let { focusableProps: focusableProps } = $
|
|
451
|
+
let { focusableProps: focusableProps } = $lJcFS$useFocusable({
|
|
452
452
|
}, ref);
|
|
453
453
|
let ariaSort = null;
|
|
454
454
|
let isSortedColumn = ((ref1 = state.sortDescriptor) === null || ref1 === void 0 ? void 0 : ref1.column) === node.key;
|
|
455
455
|
let sortDirection = (ref2 = state.sortDescriptor) === null || ref2 === void 0 ? void 0 : ref2.direction;
|
|
456
456
|
// aria-sort not supported in Android Talkback
|
|
457
|
-
if (node.props.allowsSorting && !$
|
|
458
|
-
let formatMessage = $
|
|
457
|
+
if (node.props.allowsSorting && !$lJcFS$isAndroid()) ariaSort = isSortedColumn ? sortDirection : 'none';
|
|
458
|
+
let formatMessage = $lJcFS$useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($ae7e9c471762b4d3$exports)));
|
|
459
459
|
let sortDescription;
|
|
460
460
|
if (allowsSorting) {
|
|
461
461
|
sortDescription = `${formatMessage('sortable')}`;
|
|
462
462
|
// Android Talkback doesn't support aria-sort so we add sort order details to the aria-described by here
|
|
463
|
-
if (isSortedColumn && sortDirection && $
|
|
463
|
+
if (isSortedColumn && sortDirection && $lJcFS$isAndroid()) sortDescription = `${sortDescription}, ${formatMessage(sortDirection)}`;
|
|
464
464
|
}
|
|
465
|
-
let descriptionProps = $
|
|
465
|
+
let descriptionProps = $lJcFS$useDescription(sortDescription);
|
|
466
466
|
return {
|
|
467
467
|
columnHeaderProps: {
|
|
468
|
-
...$
|
|
468
|
+
...$lJcFS$mergeProps(gridCellProps, pressProps, focusableProps, descriptionProps),
|
|
469
469
|
role: 'columnheader',
|
|
470
|
-
id: $
|
|
470
|
+
id: $2140fb2337097f2d$export$37cd4213f2ad742e(state, node.key),
|
|
471
471
|
'aria-colspan': node.colspan && node.colspan > 1 ? node.colspan : null,
|
|
472
472
|
'aria-sort': ariaSort
|
|
473
473
|
}
|
|
@@ -475,28 +475,28 @@ function $5aa0df51a7fd9d9b$export$9514819a8c81e960(props, state, ref) {
|
|
|
475
475
|
}
|
|
476
476
|
|
|
477
477
|
|
|
478
|
-
var $
|
|
478
|
+
var $b2db214c022798eb$exports = {};
|
|
479
479
|
|
|
480
|
-
$parcel$export($
|
|
480
|
+
$parcel$export($b2db214c022798eb$exports, "useTableRow", () => $b2db214c022798eb$export$7f2f6ae19e707aa5);
|
|
481
481
|
|
|
482
482
|
|
|
483
|
-
function $
|
|
483
|
+
function $b2db214c022798eb$export$7f2f6ae19e707aa5(props, state, ref) {
|
|
484
484
|
let { node: node } = props;
|
|
485
|
-
let { rowProps: rowProps , isPressed: isPressed } = $
|
|
485
|
+
let { rowProps: rowProps , isPressed: isPressed } = $lJcFS$useGridRow(props, state, ref);
|
|
486
486
|
return {
|
|
487
487
|
rowProps: {
|
|
488
488
|
...rowProps,
|
|
489
|
-
'aria-labelledby': $
|
|
489
|
+
'aria-labelledby': $2140fb2337097f2d$export$85069b70317f543(state, node.key)
|
|
490
490
|
},
|
|
491
491
|
isPressed: isPressed
|
|
492
492
|
};
|
|
493
493
|
}
|
|
494
494
|
|
|
495
495
|
|
|
496
|
-
var $
|
|
496
|
+
var $f917ee10f4c32dab$exports = {};
|
|
497
497
|
|
|
498
|
-
$parcel$export($
|
|
499
|
-
function $
|
|
498
|
+
$parcel$export($f917ee10f4c32dab$exports, "useTableHeaderRow", () => $f917ee10f4c32dab$export$1b95a7d2d517b841);
|
|
499
|
+
function $f917ee10f4c32dab$export$1b95a7d2d517b841(props, state, ref) {
|
|
500
500
|
let { node: node , isVirtualized: isVirtualized } = props;
|
|
501
501
|
let rowProps = {
|
|
502
502
|
role: 'row'
|
|
@@ -508,17 +508,17 @@ function $a6e7656f124dc03e$export$1b95a7d2d517b841(props, state, ref) {
|
|
|
508
508
|
}
|
|
509
509
|
|
|
510
510
|
|
|
511
|
-
var $
|
|
511
|
+
var $7713593715703b24$exports = {};
|
|
512
512
|
|
|
513
|
-
$parcel$export($
|
|
513
|
+
$parcel$export($7713593715703b24$exports, "useTableCell", () => $7713593715703b24$export$49571c903d73624c);
|
|
514
514
|
|
|
515
515
|
|
|
516
|
-
function $
|
|
517
|
-
let { gridCellProps: gridCellProps , isPressed: isPressed } = $
|
|
516
|
+
function $7713593715703b24$export$49571c903d73624c(props, state, ref) {
|
|
517
|
+
let { gridCellProps: gridCellProps , isPressed: isPressed } = $lJcFS$useGridCell(props, state, ref);
|
|
518
518
|
let columnKey = props.node.column.key;
|
|
519
519
|
if (state.collection.rowHeaderColumnKeys.has(columnKey)) {
|
|
520
520
|
gridCellProps.role = 'rowheader';
|
|
521
|
-
gridCellProps.id = $
|
|
521
|
+
gridCellProps.id = $2140fb2337097f2d$export$19baff3266315d44(state, props.node.parentKey, columnKey);
|
|
522
522
|
}
|
|
523
523
|
return {
|
|
524
524
|
gridCellProps: gridCellProps,
|
|
@@ -527,27 +527,27 @@ function $194c1e8530585a5e$export$49571c903d73624c(props, state, ref) {
|
|
|
527
527
|
}
|
|
528
528
|
|
|
529
529
|
|
|
530
|
-
var $
|
|
530
|
+
var $2a795c53a101c542$exports = {};
|
|
531
531
|
|
|
532
|
-
$parcel$export($
|
|
533
|
-
$parcel$export($
|
|
532
|
+
$parcel$export($2a795c53a101c542$exports, "useTableSelectionCheckbox", () => $2a795c53a101c542$export$16ea7f650bd7c1bb);
|
|
533
|
+
$parcel$export($2a795c53a101c542$exports, "useTableSelectAllCheckbox", () => $2a795c53a101c542$export$1003db6a7e384b99);
|
|
534
534
|
|
|
535
535
|
|
|
536
536
|
|
|
537
537
|
|
|
538
|
-
function $
|
|
538
|
+
function $2a795c53a101c542$export$16ea7f650bd7c1bb(props, state) {
|
|
539
539
|
let { key: key } = props;
|
|
540
|
-
const { checkboxProps: checkboxProps } = $
|
|
540
|
+
const { checkboxProps: checkboxProps } = $lJcFS$useGridSelectionCheckbox(props, state);
|
|
541
541
|
return {
|
|
542
542
|
checkboxProps: {
|
|
543
543
|
...checkboxProps,
|
|
544
|
-
'aria-labelledby': `${checkboxProps.id} ${$
|
|
544
|
+
'aria-labelledby': `${checkboxProps.id} ${$2140fb2337097f2d$export$85069b70317f543(state, key)}`
|
|
545
545
|
}
|
|
546
546
|
};
|
|
547
547
|
}
|
|
548
|
-
function $
|
|
548
|
+
function $2a795c53a101c542$export$1003db6a7e384b99(state) {
|
|
549
549
|
let { isEmpty: isEmpty , isSelectAll: isSelectAll , selectionMode: selectionMode } = state.selectionManager;
|
|
550
|
-
const formatMessage = $
|
|
550
|
+
const formatMessage = $lJcFS$useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($ae7e9c471762b4d3$exports)));
|
|
551
551
|
return {
|
|
552
552
|
checkboxProps: {
|
|
553
553
|
'aria-label': formatMessage(selectionMode === 'single' ? 'select' : 'selectAll'),
|
|
@@ -560,10 +560,10 @@ function $4fde6283d230cec4$export$1003db6a7e384b99(state) {
|
|
|
560
560
|
}
|
|
561
561
|
|
|
562
562
|
|
|
563
|
-
function $
|
|
564
|
-
return $
|
|
563
|
+
function $0047e6c294ea075f$export$6fb1613bd7b28198() {
|
|
564
|
+
return $lJcFS$useGridRowGroup();
|
|
565
565
|
}
|
|
566
566
|
|
|
567
567
|
|
|
568
|
-
export {$
|
|
568
|
+
export {$0047e6c294ea075f$export$6fb1613bd7b28198 as useTableRowGroup, $6e31608fbba75bab$export$25bceaac3c7e4dc7 as useTable, $f329116d8ad0aba0$export$9514819a8c81e960 as useTableColumnHeader, $b2db214c022798eb$export$7f2f6ae19e707aa5 as useTableRow, $f917ee10f4c32dab$export$1b95a7d2d517b841 as useTableHeaderRow, $7713593715703b24$export$49571c903d73624c as useTableCell, $2a795c53a101c542$export$16ea7f650bd7c1bb as useTableSelectionCheckbox, $2a795c53a101c542$export$1003db6a7e384b99 as useTableSelectAllCheckbox};
|
|
569
569
|
//# sourceMappingURL=module.js.map
|