@react-aria/table 3.2.1-nightly.3085 → 3.2.1-nightly.3100
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 +180 -180
- package/dist/main.js.map +1 -1
- package/dist/module.js +174 -174
- package/dist/module.js.map +1 -1
- package/package.json +15 -15
- package/src/TableKeyboardDelegate.ts +3 -3
package/dist/main.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
var $
|
|
2
|
-
var $
|
|
3
|
-
var $
|
|
4
|
-
var $
|
|
5
|
-
var $
|
|
6
|
-
var $
|
|
7
|
-
var $
|
|
1
|
+
var $k7xLE$reactariagrid = require("@react-aria/grid");
|
|
2
|
+
var $k7xLE$reactarialiveannouncer = require("@react-aria/live-announcer");
|
|
3
|
+
var $k7xLE$reactariautils = require("@react-aria/utils");
|
|
4
|
+
var $k7xLE$react = require("react");
|
|
5
|
+
var $k7xLE$reactariai18n = require("@react-aria/i18n");
|
|
6
|
+
var $k7xLE$reactariafocus = require("@react-aria/focus");
|
|
7
|
+
var $k7xLE$reactariainteractions = require("@react-aria/interactions");
|
|
8
8
|
|
|
9
9
|
function $parcel$export(e, n, v, s) {
|
|
10
10
|
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
@@ -29,215 +29,215 @@ function $parcel$interopDefault(a) {
|
|
|
29
29
|
return a && a.__esModule ? a.default : a;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
$parcel$export(module.exports, "useTableRowGroup", () => $
|
|
33
|
-
var $
|
|
32
|
+
$parcel$export(module.exports, "useTableRowGroup", () => $c20727bedf2204c4$re_export$useTableRowGroup);
|
|
33
|
+
var $293b282d9ce82118$exports = {};
|
|
34
34
|
|
|
35
|
-
$parcel$export($
|
|
35
|
+
$parcel$export($293b282d9ce82118$exports, "useTable", () => $293b282d9ce82118$export$25bceaac3c7e4dc7);
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
const $
|
|
39
|
-
function $
|
|
38
|
+
const $640f650762a199af$export$552312adfd451dab = new WeakMap();
|
|
39
|
+
function $640f650762a199af$var$normalizeKey(key) {
|
|
40
40
|
if (typeof key === 'string') return key.replace(/\s*/g, '');
|
|
41
41
|
return '' + key;
|
|
42
42
|
}
|
|
43
|
-
function $
|
|
44
|
-
let gridId = $
|
|
43
|
+
function $640f650762a199af$export$37cd4213f2ad742e(state, columnKey) {
|
|
44
|
+
let gridId = $640f650762a199af$export$552312adfd451dab.get(state);
|
|
45
45
|
if (!gridId) throw new Error('Unknown grid');
|
|
46
|
-
return `${gridId}-${$
|
|
46
|
+
return `${gridId}-${$640f650762a199af$var$normalizeKey(columnKey)}`;
|
|
47
47
|
}
|
|
48
|
-
function $
|
|
49
|
-
let gridId = $
|
|
48
|
+
function $640f650762a199af$export$19baff3266315d44(state, rowKey, columnKey) {
|
|
49
|
+
let gridId = $640f650762a199af$export$552312adfd451dab.get(state);
|
|
50
50
|
if (!gridId) throw new Error('Unknown grid');
|
|
51
|
-
return `${gridId}-${$
|
|
51
|
+
return `${gridId}-${$640f650762a199af$var$normalizeKey(rowKey)}-${$640f650762a199af$var$normalizeKey(columnKey)}`;
|
|
52
52
|
}
|
|
53
|
-
function $
|
|
53
|
+
function $640f650762a199af$export$85069b70317f543(state, rowKey) {
|
|
54
54
|
// A row is labelled by it's row headers.
|
|
55
55
|
return [
|
|
56
56
|
...state.collection.rowHeaderColumnKeys
|
|
57
|
-
].map((columnKey)=>$
|
|
57
|
+
].map((columnKey)=>$640f650762a199af$export$19baff3266315d44(state, rowKey, columnKey)
|
|
58
58
|
).join(' ');
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
|
|
62
|
-
var $
|
|
63
|
-
var $
|
|
64
|
-
$
|
|
62
|
+
var $22368fdb46fbfd48$exports = {};
|
|
63
|
+
var $698d5064af7d2a37$exports = {};
|
|
64
|
+
$698d5064af7d2a37$exports = JSON.parse("{\"ascending\":\"تصاعدي\",\"ascendingSort\":\"ترتيب حسب العمود {columnName} بترتيب تصاعدي\",\"descending\":\"تنازلي\",\"descendingSort\":\"ترتيب حسب العمود {columnName} بترتيب تنازلي\",\"select\":\"تحديد\",\"selectAll\":\"تحديد الكل\",\"sortable\":\"عمود قابل للترتيب\"}");
|
|
65
65
|
|
|
66
66
|
|
|
67
|
-
var $
|
|
68
|
-
$
|
|
67
|
+
var $f5c7a160e1c87a47$exports = {};
|
|
68
|
+
$f5c7a160e1c87a47$exports = JSON.parse("{\"ascending\":\"възходящ\",\"ascendingSort\":\"сортирано по колона {columnName} във възходящ ред\",\"descending\":\"низходящ\",\"descendingSort\":\"сортирано по колона {columnName} в низходящ ред\",\"select\":\"Изберете\",\"selectAll\":\"Изберете всичко\",\"sortable\":\"сортираща колона\"}");
|
|
69
69
|
|
|
70
70
|
|
|
71
|
-
var $
|
|
72
|
-
$
|
|
71
|
+
var $d17d49e9a3717d8c$exports = {};
|
|
72
|
+
$d17d49e9a3717d8c$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í\"}");
|
|
73
73
|
|
|
74
74
|
|
|
75
|
-
var $
|
|
76
|
-
$
|
|
75
|
+
var $e6a82473a30428bd$exports = {};
|
|
76
|
+
$e6a82473a30428bd$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\"}");
|
|
77
77
|
|
|
78
78
|
|
|
79
|
-
var $
|
|
80
|
-
$
|
|
79
|
+
var $220ae480e43e9955$exports = {};
|
|
80
|
+
$220ae480e43e9955$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\"}");
|
|
81
81
|
|
|
82
82
|
|
|
83
|
-
var $
|
|
84
|
-
$
|
|
83
|
+
var $504cede0f2275a3d$exports = {};
|
|
84
|
+
$504cede0f2275a3d$exports = JSON.parse("{\"ascending\":\"αύξουσα\",\"ascendingSort\":\"διαλογή ανά στήλη {columnName} σε αύξουσα σειρά\",\"descending\":\"φθίνουσα\",\"descendingSort\":\"διαλογή ανά στήλη {columnName} σε φθίνουσα σειρά\",\"select\":\"Επιλογή\",\"selectAll\":\"Επιλογή όλων\",\"sortable\":\"Στήλη διαλογής\"}");
|
|
85
85
|
|
|
86
86
|
|
|
87
|
-
var $
|
|
88
|
-
$
|
|
87
|
+
var $55eaae14bb1e13e6$exports = {};
|
|
88
|
+
$55eaae14bb1e13e6$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\"}");
|
|
89
89
|
|
|
90
90
|
|
|
91
|
-
var $
|
|
92
|
-
$
|
|
91
|
+
var $e31e214eb5318f6b$exports = {};
|
|
92
|
+
$e31e214eb5318f6b$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\"}");
|
|
93
93
|
|
|
94
94
|
|
|
95
|
-
var $
|
|
96
|
-
$
|
|
95
|
+
var $51d73a730cb2d5c2$exports = {};
|
|
96
|
+
$51d73a730cb2d5c2$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\"}");
|
|
97
97
|
|
|
98
98
|
|
|
99
|
-
var $
|
|
100
|
-
$
|
|
99
|
+
var $7552238f0c69494e$exports = {};
|
|
100
|
+
$7552238f0c69494e$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\"}");
|
|
101
101
|
|
|
102
102
|
|
|
103
|
-
var $
|
|
104
|
-
$
|
|
103
|
+
var $d805729542b4ce6e$exports = {};
|
|
104
|
+
$d805729542b4ce6e$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\"}");
|
|
105
105
|
|
|
106
106
|
|
|
107
|
-
var $
|
|
108
|
-
$
|
|
107
|
+
var $35a98575f853564f$exports = {};
|
|
108
|
+
$35a98575f853564f$exports = JSON.parse("{\"ascending\":\"עולה\",\"ascendingSort\":\"מוין לפי עמודה {columnName} בסדר עולה\",\"descending\":\"יורד\",\"descendingSort\":\"מוין לפי עמודה {columnName} בסדר יורד\",\"select\":\"בחר\",\"selectAll\":\"בחר הכול\",\"sortable\":\"עמודה שניתן למיין\"}");
|
|
109
109
|
|
|
110
110
|
|
|
111
|
-
var $
|
|
112
|
-
$
|
|
111
|
+
var $ac4bcf07914a6c3a$exports = {};
|
|
112
|
+
$ac4bcf07914a6c3a$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\"}");
|
|
113
113
|
|
|
114
114
|
|
|
115
|
-
var $
|
|
116
|
-
$
|
|
115
|
+
var $c4be0b006ad02379$exports = {};
|
|
116
|
+
$c4be0b006ad02379$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\"}");
|
|
117
117
|
|
|
118
118
|
|
|
119
|
-
var $
|
|
120
|
-
$
|
|
119
|
+
var $a2c689de5d3c7074$exports = {};
|
|
120
|
+
$a2c689de5d3c7074$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\"}");
|
|
121
121
|
|
|
122
122
|
|
|
123
|
-
var $
|
|
124
|
-
$
|
|
123
|
+
var $ead86421193531af$exports = {};
|
|
124
|
+
$ead86421193531af$exports = JSON.parse("{\"ascending\":\"昇順\",\"ascendingSort\":\"列 {columnName} を昇順で並べ替え\",\"descending\":\"降順\",\"descendingSort\":\"列 {columnName} を降順で並べ替え\",\"select\":\"選択\",\"selectAll\":\"すべて選択\",\"sortable\":\"並べ替え可能な列\"}");
|
|
125
125
|
|
|
126
126
|
|
|
127
|
-
var $
|
|
128
|
-
$
|
|
127
|
+
var $17985ae38b43aa4b$exports = {};
|
|
128
|
+
$17985ae38b43aa4b$exports = JSON.parse("{\"ascending\":\"오름차순\",\"ascendingSort\":\"{columnName} 열을 기준으로 오름차순으로 정렬됨\",\"descending\":\"내림차순\",\"descendingSort\":\"{columnName} 열을 기준으로 내림차순으로 정렬됨\",\"select\":\"선택\",\"selectAll\":\"모두 선택\",\"sortable\":\"정렬 가능한 열\"}");
|
|
129
129
|
|
|
130
130
|
|
|
131
|
-
var $
|
|
132
|
-
$
|
|
131
|
+
var $5a5ec064636d71f0$exports = {};
|
|
132
|
+
$5a5ec064636d71f0$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\"}");
|
|
133
133
|
|
|
134
134
|
|
|
135
|
-
var $
|
|
136
|
-
$
|
|
135
|
+
var $4f637fa4176d9985$exports = {};
|
|
136
|
+
$4f637fa4176d9985$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\"}");
|
|
137
137
|
|
|
138
138
|
|
|
139
|
-
var $
|
|
140
|
-
$
|
|
139
|
+
var $2ef73502b25e228f$exports = {};
|
|
140
|
+
$2ef73502b25e228f$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\"}");
|
|
141
141
|
|
|
142
142
|
|
|
143
|
-
var $
|
|
144
|
-
$
|
|
143
|
+
var $c09e8f064a12c2e7$exports = {};
|
|
144
|
+
$c09e8f064a12c2e7$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\"}");
|
|
145
145
|
|
|
146
146
|
|
|
147
|
-
var $
|
|
148
|
-
$
|
|
147
|
+
var $0f9a178e9a08e176$exports = {};
|
|
148
|
+
$0f9a178e9a08e176$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\"}");
|
|
149
149
|
|
|
150
150
|
|
|
151
|
-
var $
|
|
152
|
-
$
|
|
151
|
+
var $a6f10499c5b3e671$exports = {};
|
|
152
|
+
$a6f10499c5b3e671$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\"}");
|
|
153
153
|
|
|
154
154
|
|
|
155
|
-
var $
|
|
156
|
-
$
|
|
155
|
+
var $8b14b5a62bcc1398$exports = {};
|
|
156
|
+
$8b14b5a62bcc1398$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\"}");
|
|
157
157
|
|
|
158
158
|
|
|
159
|
-
var $
|
|
160
|
-
$
|
|
159
|
+
var $05470e2e06e3eafc$exports = {};
|
|
160
|
+
$05470e2e06e3eafc$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ă\"}");
|
|
161
161
|
|
|
162
162
|
|
|
163
|
-
var $
|
|
164
|
-
$
|
|
163
|
+
var $f3c81d1017710b05$exports = {};
|
|
164
|
+
$f3c81d1017710b05$exports = JSON.parse("{\"ascending\":\"возрастание\",\"ascendingSort\":\"сортировать столбец {columnName} в порядке возрастания\",\"descending\":\"убывание\",\"descendingSort\":\"сортировать столбец {columnName} в порядке убывания\",\"select\":\"Выбрать\",\"selectAll\":\"Выбрать все\",\"sortable\":\"сортируемый столбец\"}");
|
|
165
165
|
|
|
166
166
|
|
|
167
|
-
var $
|
|
168
|
-
$
|
|
167
|
+
var $25cddb1ac64f5216$exports = {};
|
|
168
|
+
$25cddb1ac64f5216$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\"}");
|
|
169
169
|
|
|
170
170
|
|
|
171
|
-
var $
|
|
172
|
-
$
|
|
171
|
+
var $c39a1aa7174116a3$exports = {};
|
|
172
|
+
$c39a1aa7174116a3$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\"}");
|
|
173
173
|
|
|
174
174
|
|
|
175
|
-
var $
|
|
176
|
-
$
|
|
175
|
+
var $af912c3b549f30a6$exports = {};
|
|
176
|
+
$af912c3b549f30a6$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\"}");
|
|
177
177
|
|
|
178
178
|
|
|
179
|
-
var $
|
|
180
|
-
$
|
|
179
|
+
var $9e7aa620e85f9655$exports = {};
|
|
180
|
+
$9e7aa620e85f9655$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\"}");
|
|
181
181
|
|
|
182
182
|
|
|
183
|
-
var $
|
|
184
|
-
$
|
|
183
|
+
var $1c1da8e1d12ed671$exports = {};
|
|
184
|
+
$1c1da8e1d12ed671$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\"}");
|
|
185
185
|
|
|
186
186
|
|
|
187
|
-
var $
|
|
188
|
-
$
|
|
187
|
+
var $d909d70c595ca9bc$exports = {};
|
|
188
|
+
$d909d70c595ca9bc$exports = JSON.parse("{\"ascending\":\"висхідний\",\"ascendingSort\":\"відсортовано за стовпцем {columnName} у висхідному порядку\",\"descending\":\"низхідний\",\"descendingSort\":\"відсортовано за стовпцем {columnName} у низхідному порядку\",\"select\":\"Вибрати\",\"selectAll\":\"Вибрати все\",\"sortable\":\"сортувальний стовпець\"}");
|
|
189
189
|
|
|
190
190
|
|
|
191
|
-
var $
|
|
192
|
-
$
|
|
191
|
+
var $a79e6538b65e69cd$exports = {};
|
|
192
|
+
$a79e6538b65e69cd$exports = JSON.parse("{\"ascending\":\"升序\",\"ascendingSort\":\"按列 {columnName} 升序排序\",\"descending\":\"降序\",\"descendingSort\":\"按列 {columnName} 降序排序\",\"select\":\"选择\",\"selectAll\":\"全选\",\"sortable\":\"可排序的列\"}");
|
|
193
193
|
|
|
194
194
|
|
|
195
|
-
var $
|
|
196
|
-
$
|
|
195
|
+
var $c927ca538ebe5d98$exports = {};
|
|
196
|
+
$c927ca538ebe5d98$exports = JSON.parse("{\"ascending\":\"遞增\",\"ascendingSort\":\"已依據「{columnName}」欄遞增排序\",\"descending\":\"遞減\",\"descendingSort\":\"已依據「{columnName}」欄遞減排序\",\"select\":\"選取\",\"selectAll\":\"全選\",\"sortable\":\"可排序的欄\"}");
|
|
197
197
|
|
|
198
198
|
|
|
199
|
-
$
|
|
200
|
-
"ar-AE": $
|
|
201
|
-
"bg-BG": $
|
|
202
|
-
"cs-CZ": $
|
|
203
|
-
"da-DK": $
|
|
204
|
-
"de-DE": $
|
|
205
|
-
"el-GR": $
|
|
206
|
-
"en-US": $
|
|
207
|
-
"es-ES": $
|
|
208
|
-
"et-EE": $
|
|
209
|
-
"fi-FI": $
|
|
210
|
-
"fr-FR": $
|
|
211
|
-
"he-IL": $
|
|
212
|
-
"hr-HR": $
|
|
213
|
-
"hu-HU": $
|
|
214
|
-
"it-IT": $
|
|
215
|
-
"ja-JP": $
|
|
216
|
-
"ko-KR": $
|
|
217
|
-
"lt-LT": $
|
|
218
|
-
"lv-LV": $
|
|
219
|
-
"nb-NO": $
|
|
220
|
-
"nl-NL": $
|
|
221
|
-
"pl-PL": $
|
|
222
|
-
"pt-BR": $
|
|
223
|
-
"pt-PT": $
|
|
224
|
-
"ro-RO": $
|
|
225
|
-
"ru-RU": $
|
|
226
|
-
"sk-SK": $
|
|
227
|
-
"sl-SI": $
|
|
228
|
-
"sr-SP": $
|
|
229
|
-
"sv-SE": $
|
|
230
|
-
"tr-TR": $
|
|
231
|
-
"uk-UA": $
|
|
232
|
-
"zh-CN": $
|
|
233
|
-
"zh-TW": $
|
|
199
|
+
$22368fdb46fbfd48$exports = {
|
|
200
|
+
"ar-AE": $698d5064af7d2a37$exports,
|
|
201
|
+
"bg-BG": $f5c7a160e1c87a47$exports,
|
|
202
|
+
"cs-CZ": $d17d49e9a3717d8c$exports,
|
|
203
|
+
"da-DK": $e6a82473a30428bd$exports,
|
|
204
|
+
"de-DE": $220ae480e43e9955$exports,
|
|
205
|
+
"el-GR": $504cede0f2275a3d$exports,
|
|
206
|
+
"en-US": $55eaae14bb1e13e6$exports,
|
|
207
|
+
"es-ES": $e31e214eb5318f6b$exports,
|
|
208
|
+
"et-EE": $51d73a730cb2d5c2$exports,
|
|
209
|
+
"fi-FI": $7552238f0c69494e$exports,
|
|
210
|
+
"fr-FR": $d805729542b4ce6e$exports,
|
|
211
|
+
"he-IL": $35a98575f853564f$exports,
|
|
212
|
+
"hr-HR": $ac4bcf07914a6c3a$exports,
|
|
213
|
+
"hu-HU": $c4be0b006ad02379$exports,
|
|
214
|
+
"it-IT": $a2c689de5d3c7074$exports,
|
|
215
|
+
"ja-JP": $ead86421193531af$exports,
|
|
216
|
+
"ko-KR": $17985ae38b43aa4b$exports,
|
|
217
|
+
"lt-LT": $5a5ec064636d71f0$exports,
|
|
218
|
+
"lv-LV": $4f637fa4176d9985$exports,
|
|
219
|
+
"nb-NO": $2ef73502b25e228f$exports,
|
|
220
|
+
"nl-NL": $c09e8f064a12c2e7$exports,
|
|
221
|
+
"pl-PL": $0f9a178e9a08e176$exports,
|
|
222
|
+
"pt-BR": $a6f10499c5b3e671$exports,
|
|
223
|
+
"pt-PT": $8b14b5a62bcc1398$exports,
|
|
224
|
+
"ro-RO": $05470e2e06e3eafc$exports,
|
|
225
|
+
"ru-RU": $f3c81d1017710b05$exports,
|
|
226
|
+
"sk-SK": $25cddb1ac64f5216$exports,
|
|
227
|
+
"sl-SI": $c39a1aa7174116a3$exports,
|
|
228
|
+
"sr-SP": $af912c3b549f30a6$exports,
|
|
229
|
+
"sv-SE": $9e7aa620e85f9655$exports,
|
|
230
|
+
"tr-TR": $1c1da8e1d12ed671$exports,
|
|
231
|
+
"uk-UA": $d909d70c595ca9bc$exports,
|
|
232
|
+
"zh-CN": $a79e6538b65e69cd$exports,
|
|
233
|
+
"zh-TW": $c927ca538ebe5d98$exports
|
|
234
234
|
};
|
|
235
235
|
|
|
236
236
|
|
|
237
237
|
|
|
238
238
|
|
|
239
239
|
|
|
240
|
-
class $
|
|
240
|
+
class $988106a8405604a6$export$da43f8f5cb04028d extends $k7xLE$reactariagrid.GridKeyboardDelegate {
|
|
241
241
|
isCell(node) {
|
|
242
242
|
return node.type === 'cell' || node.type === 'rowheader' || node.type === 'column';
|
|
243
243
|
}
|
|
@@ -252,7 +252,7 @@ class $6067086902ebd45e$export$da43f8f5cb04028d extends $dqDM5$reactariagrid.Gri
|
|
|
252
252
|
][0];
|
|
253
253
|
if (child) return child.key;
|
|
254
254
|
let firstKey = this.getFirstKey();
|
|
255
|
-
if (
|
|
255
|
+
if (firstKey == null) return;
|
|
256
256
|
let firstItem = this.collection.getItem(firstKey);
|
|
257
257
|
return [
|
|
258
258
|
...firstItem.childNodes
|
|
@@ -271,7 +271,7 @@ class $6067086902ebd45e$export$da43f8f5cb04028d extends $dqDM5$reactariagrid.Gri
|
|
|
271
271
|
}
|
|
272
272
|
// only return above row key if not header row
|
|
273
273
|
let superKey = super.getKeyAbove(key);
|
|
274
|
-
if (superKey && this.collection.getItem(superKey).type !== 'headerrow') return superKey;
|
|
274
|
+
if (superKey != null && this.collection.getItem(superKey).type !== 'headerrow') return superKey;
|
|
275
275
|
// If no item was found, and focus was on a cell, then focus the
|
|
276
276
|
// corresponding column header.
|
|
277
277
|
if (this.isCell(startItem)) return this.collection.columns[startItem.index].key;
|
|
@@ -322,7 +322,7 @@ class $6067086902ebd45e$export$da43f8f5cb04028d extends $dqDM5$reactariagrid.Gri
|
|
|
322
322
|
if (!this.collator) return null;
|
|
323
323
|
let collection = this.collection;
|
|
324
324
|
let key = fromKey ?? this.getFirstKey();
|
|
325
|
-
if (
|
|
325
|
+
if (key == null) return null;
|
|
326
326
|
// If the starting key is a cell, search from its parent row.
|
|
327
327
|
let startItem = collection.getItem(key);
|
|
328
328
|
if (startItem.type === 'cell') key = startItem.parentKey;
|
|
@@ -355,16 +355,16 @@ class $6067086902ebd45e$export$da43f8f5cb04028d extends $dqDM5$reactariagrid.Gri
|
|
|
355
355
|
|
|
356
356
|
|
|
357
357
|
|
|
358
|
-
function $
|
|
358
|
+
function $293b282d9ce82118$export$25bceaac3c7e4dc7(props, state, ref) {
|
|
359
359
|
let { keyboardDelegate: keyboardDelegate , isVirtualized: isVirtualized , layout: layout } = props;
|
|
360
360
|
// By default, a KeyboardDelegate is provided which uses the DOM to query layout information (e.g. for page up/page down).
|
|
361
361
|
// When virtualized, the layout object will be passed in as a prop and override this.
|
|
362
|
-
let collator = $
|
|
362
|
+
let collator = $k7xLE$reactariai18n.useCollator({
|
|
363
363
|
usage: 'search',
|
|
364
364
|
sensitivity: 'base'
|
|
365
365
|
});
|
|
366
|
-
let { direction: direction } = $
|
|
367
|
-
let delegate = $
|
|
366
|
+
let { direction: direction } = $k7xLE$reactariai18n.useLocale();
|
|
367
|
+
let delegate = $k7xLE$react.useMemo(()=>keyboardDelegate || new $988106a8405604a6$export$da43f8f5cb04028d({
|
|
368
368
|
collection: state.collection,
|
|
369
369
|
disabledKeys: state.disabledKeys,
|
|
370
370
|
ref: ref,
|
|
@@ -381,9 +381,9 @@ function $01d78efb61b3cd45$export$25bceaac3c7e4dc7(props, state, ref) {
|
|
|
381
381
|
collator,
|
|
382
382
|
layout
|
|
383
383
|
]);
|
|
384
|
-
let id = $
|
|
385
|
-
$
|
|
386
|
-
let { gridProps: gridProps } = $
|
|
384
|
+
let id = $k7xLE$reactariautils.useId();
|
|
385
|
+
$640f650762a199af$export$552312adfd451dab.set(state, id);
|
|
386
|
+
let { gridProps: gridProps } = $k7xLE$reactariagrid.useGrid({
|
|
387
387
|
...props,
|
|
388
388
|
id: id,
|
|
389
389
|
keyboardDelegate: delegate,
|
|
@@ -410,8 +410,8 @@ function $01d78efb61b3cd45$export$25bceaac3c7e4dc7(props, state, ref) {
|
|
|
410
410
|
if (isVirtualized) gridProps['aria-rowcount'] = state.collection.size + state.collection.headerRows.length;
|
|
411
411
|
let { column: column1 , direction: sortDirection } = state.sortDescriptor || {
|
|
412
412
|
};
|
|
413
|
-
let formatMessage = $
|
|
414
|
-
let sortDescription = $
|
|
413
|
+
let formatMessage = $k7xLE$reactariai18n.useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($22368fdb46fbfd48$exports)));
|
|
414
|
+
let sortDescription = $k7xLE$react.useMemo(()=>{
|
|
415
415
|
let columnName = state.collection.columns.find((c)=>c.key === column1
|
|
416
416
|
)?.textValue;
|
|
417
417
|
return sortDirection && column1 ? formatMessage(`${sortDirection}Sort`, {
|
|
@@ -422,15 +422,15 @@ function $01d78efb61b3cd45$export$25bceaac3c7e4dc7(props, state, ref) {
|
|
|
422
422
|
column1,
|
|
423
423
|
state.collection.columns
|
|
424
424
|
]);
|
|
425
|
-
let descriptionProps = $
|
|
425
|
+
let descriptionProps = $k7xLE$reactariautils.useDescription(sortDescription);
|
|
426
426
|
// Only announce after initial render, tabbing to the table will tell you the initial sort info already
|
|
427
|
-
$
|
|
428
|
-
$
|
|
427
|
+
$k7xLE$reactariautils.useUpdateEffect(()=>{
|
|
428
|
+
$k7xLE$reactarialiveannouncer.announce(sortDescription, 'assertive', 500);
|
|
429
429
|
}, [
|
|
430
430
|
sortDescription
|
|
431
431
|
]);
|
|
432
432
|
return {
|
|
433
|
-
gridProps: $
|
|
433
|
+
gridProps: $k7xLE$reactariautils.mergeProps(gridProps, descriptionProps, {
|
|
434
434
|
// merge sort description with long press information
|
|
435
435
|
'aria-describedby': [
|
|
436
436
|
descriptionProps['aria-describedby'],
|
|
@@ -441,9 +441,9 @@ function $01d78efb61b3cd45$export$25bceaac3c7e4dc7(props, state, ref) {
|
|
|
441
441
|
}
|
|
442
442
|
|
|
443
443
|
|
|
444
|
-
var $
|
|
444
|
+
var $ed2e0c6888259b50$exports = {};
|
|
445
445
|
|
|
446
|
-
$parcel$export($
|
|
446
|
+
$parcel$export($ed2e0c6888259b50$exports, "useTableColumnHeader", () => $ed2e0c6888259b50$export$9514819a8c81e960);
|
|
447
447
|
|
|
448
448
|
|
|
449
449
|
|
|
@@ -451,38 +451,38 @@ $parcel$export($90154d223dc4e89f$exports, "useTableColumnHeader", () => $90154d2
|
|
|
451
451
|
|
|
452
452
|
|
|
453
453
|
|
|
454
|
-
function $
|
|
454
|
+
function $ed2e0c6888259b50$export$9514819a8c81e960(props, state, ref) {
|
|
455
455
|
let { node: node } = props;
|
|
456
456
|
let allowsSorting = node.props.allowsSorting;
|
|
457
|
-
let { gridCellProps: gridCellProps } = $
|
|
457
|
+
let { gridCellProps: gridCellProps } = $k7xLE$reactariagrid.useGridCell(props, state, ref);
|
|
458
458
|
let isSelectionCellDisabled = node.props.isSelectionCell && state.selectionManager.selectionMode === 'single';
|
|
459
|
-
let { pressProps: pressProps } = $
|
|
459
|
+
let { pressProps: pressProps } = $k7xLE$reactariainteractions.usePress({
|
|
460
460
|
isDisabled: !allowsSorting || isSelectionCellDisabled,
|
|
461
461
|
onPress () {
|
|
462
462
|
state.sort(node.key);
|
|
463
463
|
}
|
|
464
464
|
});
|
|
465
465
|
// Needed to pick up the focusable context, enabling things like Tooltips for example
|
|
466
|
-
let { focusableProps: focusableProps } = $
|
|
466
|
+
let { focusableProps: focusableProps } = $k7xLE$reactariafocus.useFocusable({
|
|
467
467
|
}, ref);
|
|
468
468
|
let ariaSort = null;
|
|
469
469
|
let isSortedColumn = state.sortDescriptor?.column === node.key;
|
|
470
470
|
let sortDirection = state.sortDescriptor?.direction;
|
|
471
471
|
// aria-sort not supported in Android Talkback
|
|
472
|
-
if (node.props.allowsSorting && !$
|
|
473
|
-
let formatMessage = $
|
|
472
|
+
if (node.props.allowsSorting && !$k7xLE$reactariautils.isAndroid()) ariaSort = isSortedColumn ? sortDirection : 'none';
|
|
473
|
+
let formatMessage = $k7xLE$reactariai18n.useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($22368fdb46fbfd48$exports)));
|
|
474
474
|
let sortDescription;
|
|
475
475
|
if (allowsSorting) {
|
|
476
476
|
sortDescription = `${formatMessage('sortable')}`;
|
|
477
477
|
// Android Talkback doesn't support aria-sort so we add sort order details to the aria-described by here
|
|
478
|
-
if (isSortedColumn && sortDirection && $
|
|
478
|
+
if (isSortedColumn && sortDirection && $k7xLE$reactariautils.isAndroid()) sortDescription = `${sortDescription}, ${formatMessage(sortDirection)}`;
|
|
479
479
|
}
|
|
480
|
-
let descriptionProps = $
|
|
480
|
+
let descriptionProps = $k7xLE$reactariautils.useDescription(sortDescription);
|
|
481
481
|
return {
|
|
482
482
|
columnHeaderProps: {
|
|
483
|
-
...$
|
|
483
|
+
...$k7xLE$reactariautils.mergeProps(gridCellProps, pressProps, focusableProps, descriptionProps),
|
|
484
484
|
role: 'columnheader',
|
|
485
|
-
id: $
|
|
485
|
+
id: $640f650762a199af$export$37cd4213f2ad742e(state, node.key),
|
|
486
486
|
'aria-colspan': node.colspan && node.colspan > 1 ? node.colspan : null,
|
|
487
487
|
'aria-sort': ariaSort
|
|
488
488
|
}
|
|
@@ -490,28 +490,28 @@ function $90154d223dc4e89f$export$9514819a8c81e960(props, state, ref) {
|
|
|
490
490
|
}
|
|
491
491
|
|
|
492
492
|
|
|
493
|
-
var $
|
|
493
|
+
var $c141c7942dea2491$exports = {};
|
|
494
494
|
|
|
495
|
-
$parcel$export($
|
|
495
|
+
$parcel$export($c141c7942dea2491$exports, "useTableRow", () => $c141c7942dea2491$export$7f2f6ae19e707aa5);
|
|
496
496
|
|
|
497
497
|
|
|
498
|
-
function $
|
|
498
|
+
function $c141c7942dea2491$export$7f2f6ae19e707aa5(props, state, ref) {
|
|
499
499
|
let { node: node } = props;
|
|
500
|
-
let { rowProps: rowProps , isPressed: isPressed } = $
|
|
500
|
+
let { rowProps: rowProps , isPressed: isPressed } = $k7xLE$reactariagrid.useGridRow(props, state, ref);
|
|
501
501
|
return {
|
|
502
502
|
rowProps: {
|
|
503
503
|
...rowProps,
|
|
504
|
-
'aria-labelledby': $
|
|
504
|
+
'aria-labelledby': $640f650762a199af$export$85069b70317f543(state, node.key)
|
|
505
505
|
},
|
|
506
506
|
isPressed: isPressed
|
|
507
507
|
};
|
|
508
508
|
}
|
|
509
509
|
|
|
510
510
|
|
|
511
|
-
var $
|
|
511
|
+
var $469da892794f32e2$exports = {};
|
|
512
512
|
|
|
513
|
-
$parcel$export($
|
|
514
|
-
function $
|
|
513
|
+
$parcel$export($469da892794f32e2$exports, "useTableHeaderRow", () => $469da892794f32e2$export$1b95a7d2d517b841);
|
|
514
|
+
function $469da892794f32e2$export$1b95a7d2d517b841(props, state, ref) {
|
|
515
515
|
let { node: node , isVirtualized: isVirtualized } = props;
|
|
516
516
|
let rowProps = {
|
|
517
517
|
role: 'row'
|
|
@@ -523,17 +523,17 @@ function $d0280e6d515f376c$export$1b95a7d2d517b841(props, state, ref) {
|
|
|
523
523
|
}
|
|
524
524
|
|
|
525
525
|
|
|
526
|
-
var $
|
|
526
|
+
var $fca58911dd1fb88f$exports = {};
|
|
527
527
|
|
|
528
|
-
$parcel$export($
|
|
528
|
+
$parcel$export($fca58911dd1fb88f$exports, "useTableCell", () => $fca58911dd1fb88f$export$49571c903d73624c);
|
|
529
529
|
|
|
530
530
|
|
|
531
|
-
function $
|
|
532
|
-
let { gridCellProps: gridCellProps , isPressed: isPressed } = $
|
|
531
|
+
function $fca58911dd1fb88f$export$49571c903d73624c(props, state, ref) {
|
|
532
|
+
let { gridCellProps: gridCellProps , isPressed: isPressed } = $k7xLE$reactariagrid.useGridCell(props, state, ref);
|
|
533
533
|
let columnKey = props.node.column.key;
|
|
534
534
|
if (state.collection.rowHeaderColumnKeys.has(columnKey)) {
|
|
535
535
|
gridCellProps.role = 'rowheader';
|
|
536
|
-
gridCellProps.id = $
|
|
536
|
+
gridCellProps.id = $640f650762a199af$export$19baff3266315d44(state, props.node.parentKey, columnKey);
|
|
537
537
|
}
|
|
538
538
|
return {
|
|
539
539
|
gridCellProps: gridCellProps,
|
|
@@ -542,27 +542,27 @@ function $07c4383a0db32695$export$49571c903d73624c(props, state, ref) {
|
|
|
542
542
|
}
|
|
543
543
|
|
|
544
544
|
|
|
545
|
-
var $
|
|
545
|
+
var $959302bcd9700e6e$exports = {};
|
|
546
546
|
|
|
547
|
-
$parcel$export($
|
|
548
|
-
$parcel$export($
|
|
547
|
+
$parcel$export($959302bcd9700e6e$exports, "useTableSelectionCheckbox", () => $959302bcd9700e6e$export$16ea7f650bd7c1bb);
|
|
548
|
+
$parcel$export($959302bcd9700e6e$exports, "useTableSelectAllCheckbox", () => $959302bcd9700e6e$export$1003db6a7e384b99);
|
|
549
549
|
|
|
550
550
|
|
|
551
551
|
|
|
552
552
|
|
|
553
|
-
function $
|
|
553
|
+
function $959302bcd9700e6e$export$16ea7f650bd7c1bb(props, state) {
|
|
554
554
|
let { key: key } = props;
|
|
555
|
-
const { checkboxProps: checkboxProps } = $
|
|
555
|
+
const { checkboxProps: checkboxProps } = $k7xLE$reactariagrid.useGridSelectionCheckbox(props, state);
|
|
556
556
|
return {
|
|
557
557
|
checkboxProps: {
|
|
558
558
|
...checkboxProps,
|
|
559
|
-
'aria-labelledby': `${checkboxProps.id} ${$
|
|
559
|
+
'aria-labelledby': `${checkboxProps.id} ${$640f650762a199af$export$85069b70317f543(state, key)}`
|
|
560
560
|
}
|
|
561
561
|
};
|
|
562
562
|
}
|
|
563
|
-
function $
|
|
563
|
+
function $959302bcd9700e6e$export$1003db6a7e384b99(state) {
|
|
564
564
|
let { isEmpty: isEmpty , isSelectAll: isSelectAll , selectionMode: selectionMode } = state.selectionManager;
|
|
565
|
-
const formatMessage = $
|
|
565
|
+
const formatMessage = $k7xLE$reactariai18n.useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($22368fdb46fbfd48$exports)));
|
|
566
566
|
return {
|
|
567
567
|
checkboxProps: {
|
|
568
568
|
'aria-label': formatMessage(selectionMode === 'single' ? 'select' : 'selectAll'),
|
|
@@ -576,12 +576,12 @@ function $bc70818be23e04b6$export$1003db6a7e384b99(state) {
|
|
|
576
576
|
|
|
577
577
|
|
|
578
578
|
|
|
579
|
-
$parcel$exportWildcard(module.exports, $
|
|
580
|
-
$parcel$exportWildcard(module.exports, $
|
|
581
|
-
$parcel$exportWildcard(module.exports, $
|
|
582
|
-
$parcel$exportWildcard(module.exports, $
|
|
583
|
-
$parcel$exportWildcard(module.exports, $
|
|
584
|
-
$parcel$exportWildcard(module.exports, $
|
|
579
|
+
$parcel$exportWildcard(module.exports, $293b282d9ce82118$exports);
|
|
580
|
+
$parcel$exportWildcard(module.exports, $ed2e0c6888259b50$exports);
|
|
581
|
+
$parcel$exportWildcard(module.exports, $c141c7942dea2491$exports);
|
|
582
|
+
$parcel$exportWildcard(module.exports, $469da892794f32e2$exports);
|
|
583
|
+
$parcel$exportWildcard(module.exports, $fca58911dd1fb88f$exports);
|
|
584
|
+
$parcel$exportWildcard(module.exports, $959302bcd9700e6e$exports);
|
|
585
585
|
|
|
586
586
|
|
|
587
587
|
//# sourceMappingURL=main.js.map
|