@react-aria/table 3.2.1-nightly.3077 → 3.2.1-nightly.3089
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 +177 -177
- package/dist/module.js +171 -171
- package/package.json +15 -15
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 $e10d6c50e0041fd0$re_export$useTableRowGroup, useGrid as $3SicQ$useGrid, GridKeyboardDelegate as $3SicQ$GridKeyboardDelegate, useGridCell as $3SicQ$useGridCell, useGridRow as $3SicQ$useGridRow, useGridSelectionCheckbox as $3SicQ$useGridSelectionCheckbox} from "@react-aria/grid";
|
|
2
|
+
import {announce as $3SicQ$announce} from "@react-aria/live-announcer";
|
|
3
|
+
import {useId as $3SicQ$useId, useDescription as $3SicQ$useDescription, useUpdateEffect as $3SicQ$useUpdateEffect, mergeProps as $3SicQ$mergeProps, isAndroid as $3SicQ$isAndroid} from "@react-aria/utils";
|
|
4
|
+
import {useMemo as $3SicQ$useMemo} from "react";
|
|
5
|
+
import {useCollator as $3SicQ$useCollator, useLocale as $3SicQ$useLocale, useMessageFormatter as $3SicQ$useMessageFormatter} from "@react-aria/i18n";
|
|
6
|
+
import {useFocusable as $3SicQ$useFocusable} from "@react-aria/focus";
|
|
7
|
+
import {usePress as $3SicQ$usePress} from "@react-aria/interactions";
|
|
8
8
|
|
|
9
9
|
function $parcel$interopDefault(a) {
|
|
10
10
|
return a && a.__esModule ? a.default : a;
|
|
@@ -12,214 +12,214 @@ function $parcel$interopDefault(a) {
|
|
|
12
12
|
function $parcel$export(e, n, v, s) {
|
|
13
13
|
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
14
14
|
}
|
|
15
|
-
var $
|
|
15
|
+
var $58b38183c6c3f0ee$exports = {};
|
|
16
16
|
|
|
17
|
-
$parcel$export($
|
|
17
|
+
$parcel$export($58b38183c6c3f0ee$exports, "useTable", () => $58b38183c6c3f0ee$export$25bceaac3c7e4dc7);
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
const $
|
|
21
|
-
function $
|
|
20
|
+
const $7313df745d52c961$export$552312adfd451dab = new WeakMap();
|
|
21
|
+
function $7313df745d52c961$var$normalizeKey(key) {
|
|
22
22
|
if (typeof key === 'string') return key.replace(/\s*/g, '');
|
|
23
23
|
return '' + key;
|
|
24
24
|
}
|
|
25
|
-
function $
|
|
26
|
-
let gridId = $
|
|
25
|
+
function $7313df745d52c961$export$37cd4213f2ad742e(state, columnKey) {
|
|
26
|
+
let gridId = $7313df745d52c961$export$552312adfd451dab.get(state);
|
|
27
27
|
if (!gridId) throw new Error('Unknown grid');
|
|
28
|
-
return `${gridId}-${$
|
|
28
|
+
return `${gridId}-${$7313df745d52c961$var$normalizeKey(columnKey)}`;
|
|
29
29
|
}
|
|
30
|
-
function $
|
|
31
|
-
let gridId = $
|
|
30
|
+
function $7313df745d52c961$export$19baff3266315d44(state, rowKey, columnKey) {
|
|
31
|
+
let gridId = $7313df745d52c961$export$552312adfd451dab.get(state);
|
|
32
32
|
if (!gridId) throw new Error('Unknown grid');
|
|
33
|
-
return `${gridId}-${$
|
|
33
|
+
return `${gridId}-${$7313df745d52c961$var$normalizeKey(rowKey)}-${$7313df745d52c961$var$normalizeKey(columnKey)}`;
|
|
34
34
|
}
|
|
35
|
-
function $
|
|
35
|
+
function $7313df745d52c961$export$85069b70317f543(state, rowKey) {
|
|
36
36
|
// A row is labelled by it's row headers.
|
|
37
37
|
return [
|
|
38
38
|
...state.collection.rowHeaderColumnKeys
|
|
39
|
-
].map((columnKey)=>$
|
|
39
|
+
].map((columnKey)=>$7313df745d52c961$export$19baff3266315d44(state, rowKey, columnKey)
|
|
40
40
|
).join(' ');
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
var $
|
|
45
|
-
var $
|
|
46
|
-
$
|
|
44
|
+
var $c7646422f16a0df1$exports = {};
|
|
45
|
+
var $1186e5e0799b36ac$exports = {};
|
|
46
|
+
$1186e5e0799b36ac$exports = JSON.parse("{\"ascending\":\"تصاعدي\",\"ascendingSort\":\"ترتيب حسب العمود {columnName} بترتيب تصاعدي\",\"descending\":\"تنازلي\",\"descendingSort\":\"ترتيب حسب العمود {columnName} بترتيب تنازلي\",\"select\":\"تحديد\",\"selectAll\":\"تحديد الكل\",\"sortable\":\"عمود قابل للترتيب\"}");
|
|
47
47
|
|
|
48
48
|
|
|
49
|
-
var $
|
|
50
|
-
$
|
|
49
|
+
var $05552a49bd2dff40$exports = {};
|
|
50
|
+
$05552a49bd2dff40$exports = JSON.parse("{\"ascending\":\"възходящ\",\"ascendingSort\":\"сортирано по колона {columnName} във възходящ ред\",\"descending\":\"низходящ\",\"descendingSort\":\"сортирано по колона {columnName} в низходящ ред\",\"select\":\"Изберете\",\"selectAll\":\"Изберете всичко\",\"sortable\":\"сортираща колона\"}");
|
|
51
51
|
|
|
52
52
|
|
|
53
|
-
var $
|
|
54
|
-
$
|
|
53
|
+
var $d5ddf806ae6b18d7$exports = {};
|
|
54
|
+
$d5ddf806ae6b18d7$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í\"}");
|
|
55
55
|
|
|
56
56
|
|
|
57
|
-
var $
|
|
58
|
-
$
|
|
57
|
+
var $a07754e38ed53b62$exports = {};
|
|
58
|
+
$a07754e38ed53b62$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\"}");
|
|
59
59
|
|
|
60
60
|
|
|
61
|
-
var $
|
|
62
|
-
$
|
|
61
|
+
var $d635f89a9d936a8b$exports = {};
|
|
62
|
+
$d635f89a9d936a8b$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\"}");
|
|
63
63
|
|
|
64
64
|
|
|
65
|
-
var $
|
|
66
|
-
$
|
|
65
|
+
var $000d6149b3a1b9d0$exports = {};
|
|
66
|
+
$000d6149b3a1b9d0$exports = JSON.parse("{\"ascending\":\"αύξουσα\",\"ascendingSort\":\"διαλογή ανά στήλη {columnName} σε αύξουσα σειρά\",\"descending\":\"φθίνουσα\",\"descendingSort\":\"διαλογή ανά στήλη {columnName} σε φθίνουσα σειρά\",\"select\":\"Επιλογή\",\"selectAll\":\"Επιλογή όλων\",\"sortable\":\"Στήλη διαλογής\"}");
|
|
67
67
|
|
|
68
68
|
|
|
69
|
-
var $
|
|
70
|
-
$
|
|
69
|
+
var $191544919a1c5c22$exports = {};
|
|
70
|
+
$191544919a1c5c22$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\"}");
|
|
71
71
|
|
|
72
72
|
|
|
73
|
-
var $
|
|
74
|
-
$
|
|
73
|
+
var $c02c85bf08ae994f$exports = {};
|
|
74
|
+
$c02c85bf08ae994f$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\"}");
|
|
75
75
|
|
|
76
76
|
|
|
77
|
-
var $
|
|
78
|
-
$
|
|
77
|
+
var $4d45058d81ae6af8$exports = {};
|
|
78
|
+
$4d45058d81ae6af8$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\"}");
|
|
79
79
|
|
|
80
80
|
|
|
81
|
-
var $
|
|
82
|
-
$
|
|
81
|
+
var $f116f4de9eb991af$exports = {};
|
|
82
|
+
$f116f4de9eb991af$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\"}");
|
|
83
83
|
|
|
84
84
|
|
|
85
|
-
var $
|
|
86
|
-
$
|
|
85
|
+
var $894a03bd79ce68ec$exports = {};
|
|
86
|
+
$894a03bd79ce68ec$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\"}");
|
|
87
87
|
|
|
88
88
|
|
|
89
|
-
var $
|
|
90
|
-
$
|
|
89
|
+
var $aae83a6427b8f1d1$exports = {};
|
|
90
|
+
$aae83a6427b8f1d1$exports = JSON.parse("{\"ascending\":\"עולה\",\"ascendingSort\":\"מוין לפי עמודה {columnName} בסדר עולה\",\"descending\":\"יורד\",\"descendingSort\":\"מוין לפי עמודה {columnName} בסדר יורד\",\"select\":\"בחר\",\"selectAll\":\"בחר הכול\",\"sortable\":\"עמודה שניתן למיין\"}");
|
|
91
91
|
|
|
92
92
|
|
|
93
|
-
var $
|
|
94
|
-
$
|
|
93
|
+
var $e59996873902677f$exports = {};
|
|
94
|
+
$e59996873902677f$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\"}");
|
|
95
95
|
|
|
96
96
|
|
|
97
|
-
var $
|
|
98
|
-
$
|
|
97
|
+
var $620c5a38bc1e0143$exports = {};
|
|
98
|
+
$620c5a38bc1e0143$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\"}");
|
|
99
99
|
|
|
100
100
|
|
|
101
|
-
var $
|
|
102
|
-
$
|
|
101
|
+
var $d17599c6fe9c695e$exports = {};
|
|
102
|
+
$d17599c6fe9c695e$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\"}");
|
|
103
103
|
|
|
104
104
|
|
|
105
|
-
var $
|
|
106
|
-
$
|
|
105
|
+
var $fdfa9d5314fe9612$exports = {};
|
|
106
|
+
$fdfa9d5314fe9612$exports = JSON.parse("{\"ascending\":\"昇順\",\"ascendingSort\":\"列 {columnName} を昇順で並べ替え\",\"descending\":\"降順\",\"descendingSort\":\"列 {columnName} を降順で並べ替え\",\"select\":\"選択\",\"selectAll\":\"すべて選択\",\"sortable\":\"並べ替え可能な列\"}");
|
|
107
107
|
|
|
108
108
|
|
|
109
|
-
var $
|
|
110
|
-
$
|
|
109
|
+
var $26ae573b123ba408$exports = {};
|
|
110
|
+
$26ae573b123ba408$exports = JSON.parse("{\"ascending\":\"오름차순\",\"ascendingSort\":\"{columnName} 열을 기준으로 오름차순으로 정렬됨\",\"descending\":\"내림차순\",\"descendingSort\":\"{columnName} 열을 기준으로 내림차순으로 정렬됨\",\"select\":\"선택\",\"selectAll\":\"모두 선택\",\"sortable\":\"정렬 가능한 열\"}");
|
|
111
111
|
|
|
112
112
|
|
|
113
|
-
var $
|
|
114
|
-
$
|
|
113
|
+
var $b8295c230bb18cf5$exports = {};
|
|
114
|
+
$b8295c230bb18cf5$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\"}");
|
|
115
115
|
|
|
116
116
|
|
|
117
|
-
var $
|
|
118
|
-
$
|
|
117
|
+
var $679845996aabac22$exports = {};
|
|
118
|
+
$679845996aabac22$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\"}");
|
|
119
119
|
|
|
120
120
|
|
|
121
|
-
var $
|
|
122
|
-
$
|
|
121
|
+
var $32237e8ade9e39c5$exports = {};
|
|
122
|
+
$32237e8ade9e39c5$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\"}");
|
|
123
123
|
|
|
124
124
|
|
|
125
|
-
var $
|
|
126
|
-
$
|
|
125
|
+
var $192233641148fdc7$exports = {};
|
|
126
|
+
$192233641148fdc7$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\"}");
|
|
127
127
|
|
|
128
128
|
|
|
129
|
-
var $
|
|
130
|
-
$
|
|
129
|
+
var $eb8ad06c43cd5d81$exports = {};
|
|
130
|
+
$eb8ad06c43cd5d81$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\"}");
|
|
131
131
|
|
|
132
132
|
|
|
133
|
-
var $
|
|
134
|
-
$
|
|
133
|
+
var $27bd89305f3e4e54$exports = {};
|
|
134
|
+
$27bd89305f3e4e54$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\"}");
|
|
135
135
|
|
|
136
136
|
|
|
137
|
-
var $
|
|
138
|
-
$
|
|
137
|
+
var $3677096ca14c6d5d$exports = {};
|
|
138
|
+
$3677096ca14c6d5d$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\"}");
|
|
139
139
|
|
|
140
140
|
|
|
141
|
-
var $
|
|
142
|
-
$
|
|
141
|
+
var $0428c8cc26995dbd$exports = {};
|
|
142
|
+
$0428c8cc26995dbd$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ă\"}");
|
|
143
143
|
|
|
144
144
|
|
|
145
|
-
var $
|
|
146
|
-
$
|
|
145
|
+
var $92fdadb8d81ea931$exports = {};
|
|
146
|
+
$92fdadb8d81ea931$exports = JSON.parse("{\"ascending\":\"возрастание\",\"ascendingSort\":\"сортировать столбец {columnName} в порядке возрастания\",\"descending\":\"убывание\",\"descendingSort\":\"сортировать столбец {columnName} в порядке убывания\",\"select\":\"Выбрать\",\"selectAll\":\"Выбрать все\",\"sortable\":\"сортируемый столбец\"}");
|
|
147
147
|
|
|
148
148
|
|
|
149
|
-
var $
|
|
150
|
-
$
|
|
149
|
+
var $7e0e2e9927559d58$exports = {};
|
|
150
|
+
$7e0e2e9927559d58$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\"}");
|
|
151
151
|
|
|
152
152
|
|
|
153
|
-
var $
|
|
154
|
-
$
|
|
153
|
+
var $f6a9ae5c6127241a$exports = {};
|
|
154
|
+
$f6a9ae5c6127241a$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\"}");
|
|
155
155
|
|
|
156
156
|
|
|
157
|
-
var $
|
|
158
|
-
$
|
|
157
|
+
var $847ba751391a0af0$exports = {};
|
|
158
|
+
$847ba751391a0af0$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\"}");
|
|
159
159
|
|
|
160
160
|
|
|
161
|
-
var $
|
|
162
|
-
$
|
|
161
|
+
var $7271101036b813d5$exports = {};
|
|
162
|
+
$7271101036b813d5$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\"}");
|
|
163
163
|
|
|
164
164
|
|
|
165
|
-
var $
|
|
166
|
-
$
|
|
165
|
+
var $72c9fcabf238033a$exports = {};
|
|
166
|
+
$72c9fcabf238033a$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\"}");
|
|
167
167
|
|
|
168
168
|
|
|
169
|
-
var $
|
|
170
|
-
$
|
|
169
|
+
var $75d2317f8a8b5065$exports = {};
|
|
170
|
+
$75d2317f8a8b5065$exports = JSON.parse("{\"ascending\":\"висхідний\",\"ascendingSort\":\"відсортовано за стовпцем {columnName} у висхідному порядку\",\"descending\":\"низхідний\",\"descendingSort\":\"відсортовано за стовпцем {columnName} у низхідному порядку\",\"select\":\"Вибрати\",\"selectAll\":\"Вибрати все\",\"sortable\":\"сортувальний стовпець\"}");
|
|
171
171
|
|
|
172
172
|
|
|
173
|
-
var $
|
|
174
|
-
$
|
|
173
|
+
var $281e2c16dc742b2c$exports = {};
|
|
174
|
+
$281e2c16dc742b2c$exports = JSON.parse("{\"ascending\":\"升序\",\"ascendingSort\":\"按列 {columnName} 升序排序\",\"descending\":\"降序\",\"descendingSort\":\"按列 {columnName} 降序排序\",\"select\":\"选择\",\"selectAll\":\"全选\",\"sortable\":\"可排序的列\"}");
|
|
175
175
|
|
|
176
176
|
|
|
177
|
-
var $
|
|
178
|
-
$
|
|
177
|
+
var $00c99c64c0775c43$exports = {};
|
|
178
|
+
$00c99c64c0775c43$exports = JSON.parse("{\"ascending\":\"遞增\",\"ascendingSort\":\"已依據「{columnName}」欄遞增排序\",\"descending\":\"遞減\",\"descendingSort\":\"已依據「{columnName}」欄遞減排序\",\"select\":\"選取\",\"selectAll\":\"全選\",\"sortable\":\"可排序的欄\"}");
|
|
179
179
|
|
|
180
180
|
|
|
181
|
-
$
|
|
182
|
-
"ar-AE": $
|
|
183
|
-
"bg-BG": $
|
|
184
|
-
"cs-CZ": $
|
|
185
|
-
"da-DK": $
|
|
186
|
-
"de-DE": $
|
|
187
|
-
"el-GR": $
|
|
188
|
-
"en-US": $
|
|
189
|
-
"es-ES": $
|
|
190
|
-
"et-EE": $
|
|
191
|
-
"fi-FI": $
|
|
192
|
-
"fr-FR": $
|
|
193
|
-
"he-IL": $
|
|
194
|
-
"hr-HR": $
|
|
195
|
-
"hu-HU": $
|
|
196
|
-
"it-IT": $
|
|
197
|
-
"ja-JP": $
|
|
198
|
-
"ko-KR": $
|
|
199
|
-
"lt-LT": $
|
|
200
|
-
"lv-LV": $
|
|
201
|
-
"nb-NO": $
|
|
202
|
-
"nl-NL": $
|
|
203
|
-
"pl-PL": $
|
|
204
|
-
"pt-BR": $
|
|
205
|
-
"pt-PT": $
|
|
206
|
-
"ro-RO": $
|
|
207
|
-
"ru-RU": $
|
|
208
|
-
"sk-SK": $
|
|
209
|
-
"sl-SI": $
|
|
210
|
-
"sr-SP": $
|
|
211
|
-
"sv-SE": $
|
|
212
|
-
"tr-TR": $
|
|
213
|
-
"uk-UA": $
|
|
214
|
-
"zh-CN": $
|
|
215
|
-
"zh-TW": $
|
|
181
|
+
$c7646422f16a0df1$exports = {
|
|
182
|
+
"ar-AE": $1186e5e0799b36ac$exports,
|
|
183
|
+
"bg-BG": $05552a49bd2dff40$exports,
|
|
184
|
+
"cs-CZ": $d5ddf806ae6b18d7$exports,
|
|
185
|
+
"da-DK": $a07754e38ed53b62$exports,
|
|
186
|
+
"de-DE": $d635f89a9d936a8b$exports,
|
|
187
|
+
"el-GR": $000d6149b3a1b9d0$exports,
|
|
188
|
+
"en-US": $191544919a1c5c22$exports,
|
|
189
|
+
"es-ES": $c02c85bf08ae994f$exports,
|
|
190
|
+
"et-EE": $4d45058d81ae6af8$exports,
|
|
191
|
+
"fi-FI": $f116f4de9eb991af$exports,
|
|
192
|
+
"fr-FR": $894a03bd79ce68ec$exports,
|
|
193
|
+
"he-IL": $aae83a6427b8f1d1$exports,
|
|
194
|
+
"hr-HR": $e59996873902677f$exports,
|
|
195
|
+
"hu-HU": $620c5a38bc1e0143$exports,
|
|
196
|
+
"it-IT": $d17599c6fe9c695e$exports,
|
|
197
|
+
"ja-JP": $fdfa9d5314fe9612$exports,
|
|
198
|
+
"ko-KR": $26ae573b123ba408$exports,
|
|
199
|
+
"lt-LT": $b8295c230bb18cf5$exports,
|
|
200
|
+
"lv-LV": $679845996aabac22$exports,
|
|
201
|
+
"nb-NO": $32237e8ade9e39c5$exports,
|
|
202
|
+
"nl-NL": $192233641148fdc7$exports,
|
|
203
|
+
"pl-PL": $eb8ad06c43cd5d81$exports,
|
|
204
|
+
"pt-BR": $27bd89305f3e4e54$exports,
|
|
205
|
+
"pt-PT": $3677096ca14c6d5d$exports,
|
|
206
|
+
"ro-RO": $0428c8cc26995dbd$exports,
|
|
207
|
+
"ru-RU": $92fdadb8d81ea931$exports,
|
|
208
|
+
"sk-SK": $7e0e2e9927559d58$exports,
|
|
209
|
+
"sl-SI": $f6a9ae5c6127241a$exports,
|
|
210
|
+
"sr-SP": $847ba751391a0af0$exports,
|
|
211
|
+
"sv-SE": $7271101036b813d5$exports,
|
|
212
|
+
"tr-TR": $72c9fcabf238033a$exports,
|
|
213
|
+
"uk-UA": $75d2317f8a8b5065$exports,
|
|
214
|
+
"zh-CN": $281e2c16dc742b2c$exports,
|
|
215
|
+
"zh-TW": $00c99c64c0775c43$exports
|
|
216
216
|
};
|
|
217
217
|
|
|
218
218
|
|
|
219
219
|
|
|
220
220
|
|
|
221
221
|
|
|
222
|
-
class $
|
|
222
|
+
class $dd79673240264ae1$export$da43f8f5cb04028d extends $3SicQ$GridKeyboardDelegate {
|
|
223
223
|
isCell(node) {
|
|
224
224
|
return node.type === 'cell' || node.type === 'rowheader' || node.type === 'column';
|
|
225
225
|
}
|
|
@@ -337,16 +337,16 @@ class $36bf0a52c9552f91$export$da43f8f5cb04028d extends $lg3jf$GridKeyboardDeleg
|
|
|
337
337
|
|
|
338
338
|
|
|
339
339
|
|
|
340
|
-
function $
|
|
340
|
+
function $58b38183c6c3f0ee$export$25bceaac3c7e4dc7(props, state, ref) {
|
|
341
341
|
let { keyboardDelegate: keyboardDelegate , isVirtualized: isVirtualized , layout: layout } = props;
|
|
342
342
|
// By default, a KeyboardDelegate is provided which uses the DOM to query layout information (e.g. for page up/page down).
|
|
343
343
|
// When virtualized, the layout object will be passed in as a prop and override this.
|
|
344
|
-
let collator = $
|
|
344
|
+
let collator = $3SicQ$useCollator({
|
|
345
345
|
usage: 'search',
|
|
346
346
|
sensitivity: 'base'
|
|
347
347
|
});
|
|
348
|
-
let { direction: direction } = $
|
|
349
|
-
let delegate = $
|
|
348
|
+
let { direction: direction } = $3SicQ$useLocale();
|
|
349
|
+
let delegate = $3SicQ$useMemo(()=>keyboardDelegate || new $dd79673240264ae1$export$da43f8f5cb04028d({
|
|
350
350
|
collection: state.collection,
|
|
351
351
|
disabledKeys: state.disabledKeys,
|
|
352
352
|
ref: ref,
|
|
@@ -363,9 +363,9 @@ function $de6fb1089effb836$export$25bceaac3c7e4dc7(props, state, ref) {
|
|
|
363
363
|
collator,
|
|
364
364
|
layout
|
|
365
365
|
]);
|
|
366
|
-
let id = $
|
|
367
|
-
$
|
|
368
|
-
let { gridProps: gridProps } = $
|
|
366
|
+
let id = $3SicQ$useId();
|
|
367
|
+
$7313df745d52c961$export$552312adfd451dab.set(state, id);
|
|
368
|
+
let { gridProps: gridProps } = $3SicQ$useGrid({
|
|
369
369
|
...props,
|
|
370
370
|
id: id,
|
|
371
371
|
keyboardDelegate: delegate,
|
|
@@ -392,8 +392,8 @@ function $de6fb1089effb836$export$25bceaac3c7e4dc7(props, state, ref) {
|
|
|
392
392
|
if (isVirtualized) gridProps['aria-rowcount'] = state.collection.size + state.collection.headerRows.length;
|
|
393
393
|
let { column: column1 , direction: sortDirection } = state.sortDescriptor || {
|
|
394
394
|
};
|
|
395
|
-
let formatMessage = $
|
|
396
|
-
let sortDescription = $
|
|
395
|
+
let formatMessage = $3SicQ$useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($c7646422f16a0df1$exports)));
|
|
396
|
+
let sortDescription = $3SicQ$useMemo(()=>{
|
|
397
397
|
let columnName = state.collection.columns.find((c)=>c.key === column1
|
|
398
398
|
)?.textValue;
|
|
399
399
|
return sortDirection && column1 ? formatMessage(`${sortDirection}Sort`, {
|
|
@@ -404,15 +404,15 @@ function $de6fb1089effb836$export$25bceaac3c7e4dc7(props, state, ref) {
|
|
|
404
404
|
column1,
|
|
405
405
|
state.collection.columns
|
|
406
406
|
]);
|
|
407
|
-
let descriptionProps = $
|
|
407
|
+
let descriptionProps = $3SicQ$useDescription(sortDescription);
|
|
408
408
|
// Only announce after initial render, tabbing to the table will tell you the initial sort info already
|
|
409
|
-
$
|
|
410
|
-
$
|
|
409
|
+
$3SicQ$useUpdateEffect(()=>{
|
|
410
|
+
$3SicQ$announce(sortDescription, 'assertive', 500);
|
|
411
411
|
}, [
|
|
412
412
|
sortDescription
|
|
413
413
|
]);
|
|
414
414
|
return {
|
|
415
|
-
gridProps: $
|
|
415
|
+
gridProps: $3SicQ$mergeProps(gridProps, descriptionProps, {
|
|
416
416
|
// merge sort description with long press information
|
|
417
417
|
'aria-describedby': [
|
|
418
418
|
descriptionProps['aria-describedby'],
|
|
@@ -423,9 +423,9 @@ function $de6fb1089effb836$export$25bceaac3c7e4dc7(props, state, ref) {
|
|
|
423
423
|
}
|
|
424
424
|
|
|
425
425
|
|
|
426
|
-
var $
|
|
426
|
+
var $e00d682c9b61b6ca$exports = {};
|
|
427
427
|
|
|
428
|
-
$parcel$export($
|
|
428
|
+
$parcel$export($e00d682c9b61b6ca$exports, "useTableColumnHeader", () => $e00d682c9b61b6ca$export$9514819a8c81e960);
|
|
429
429
|
|
|
430
430
|
|
|
431
431
|
|
|
@@ -433,38 +433,38 @@ $parcel$export($b66a81492d597384$exports, "useTableColumnHeader", () => $b66a814
|
|
|
433
433
|
|
|
434
434
|
|
|
435
435
|
|
|
436
|
-
function $
|
|
436
|
+
function $e00d682c9b61b6ca$export$9514819a8c81e960(props, state, ref) {
|
|
437
437
|
let { node: node } = props;
|
|
438
438
|
let allowsSorting = node.props.allowsSorting;
|
|
439
|
-
let { gridCellProps: gridCellProps } = $
|
|
439
|
+
let { gridCellProps: gridCellProps } = $3SicQ$useGridCell(props, state, ref);
|
|
440
440
|
let isSelectionCellDisabled = node.props.isSelectionCell && state.selectionManager.selectionMode === 'single';
|
|
441
|
-
let { pressProps: pressProps } = $
|
|
441
|
+
let { pressProps: pressProps } = $3SicQ$usePress({
|
|
442
442
|
isDisabled: !allowsSorting || isSelectionCellDisabled,
|
|
443
443
|
onPress () {
|
|
444
444
|
state.sort(node.key);
|
|
445
445
|
}
|
|
446
446
|
});
|
|
447
447
|
// Needed to pick up the focusable context, enabling things like Tooltips for example
|
|
448
|
-
let { focusableProps: focusableProps } = $
|
|
448
|
+
let { focusableProps: focusableProps } = $3SicQ$useFocusable({
|
|
449
449
|
}, ref);
|
|
450
450
|
let ariaSort = null;
|
|
451
451
|
let isSortedColumn = state.sortDescriptor?.column === node.key;
|
|
452
452
|
let sortDirection = state.sortDescriptor?.direction;
|
|
453
453
|
// aria-sort not supported in Android Talkback
|
|
454
|
-
if (node.props.allowsSorting && !$
|
|
455
|
-
let formatMessage = $
|
|
454
|
+
if (node.props.allowsSorting && !$3SicQ$isAndroid()) ariaSort = isSortedColumn ? sortDirection : 'none';
|
|
455
|
+
let formatMessage = $3SicQ$useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($c7646422f16a0df1$exports)));
|
|
456
456
|
let sortDescription;
|
|
457
457
|
if (allowsSorting) {
|
|
458
458
|
sortDescription = `${formatMessage('sortable')}`;
|
|
459
459
|
// Android Talkback doesn't support aria-sort so we add sort order details to the aria-described by here
|
|
460
|
-
if (isSortedColumn && sortDirection && $
|
|
460
|
+
if (isSortedColumn && sortDirection && $3SicQ$isAndroid()) sortDescription = `${sortDescription}, ${formatMessage(sortDirection)}`;
|
|
461
461
|
}
|
|
462
|
-
let descriptionProps = $
|
|
462
|
+
let descriptionProps = $3SicQ$useDescription(sortDescription);
|
|
463
463
|
return {
|
|
464
464
|
columnHeaderProps: {
|
|
465
|
-
...$
|
|
465
|
+
...$3SicQ$mergeProps(gridCellProps, pressProps, focusableProps, descriptionProps),
|
|
466
466
|
role: 'columnheader',
|
|
467
|
-
id: $
|
|
467
|
+
id: $7313df745d52c961$export$37cd4213f2ad742e(state, node.key),
|
|
468
468
|
'aria-colspan': node.colspan && node.colspan > 1 ? node.colspan : null,
|
|
469
469
|
'aria-sort': ariaSort
|
|
470
470
|
}
|
|
@@ -472,28 +472,28 @@ function $b66a81492d597384$export$9514819a8c81e960(props, state, ref) {
|
|
|
472
472
|
}
|
|
473
473
|
|
|
474
474
|
|
|
475
|
-
var $
|
|
475
|
+
var $601c09ad619dd758$exports = {};
|
|
476
476
|
|
|
477
|
-
$parcel$export($
|
|
477
|
+
$parcel$export($601c09ad619dd758$exports, "useTableRow", () => $601c09ad619dd758$export$7f2f6ae19e707aa5);
|
|
478
478
|
|
|
479
479
|
|
|
480
|
-
function $
|
|
480
|
+
function $601c09ad619dd758$export$7f2f6ae19e707aa5(props, state, ref) {
|
|
481
481
|
let { node: node } = props;
|
|
482
|
-
let { rowProps: rowProps , isPressed: isPressed } = $
|
|
482
|
+
let { rowProps: rowProps , isPressed: isPressed } = $3SicQ$useGridRow(props, state, ref);
|
|
483
483
|
return {
|
|
484
484
|
rowProps: {
|
|
485
485
|
...rowProps,
|
|
486
|
-
'aria-labelledby': $
|
|
486
|
+
'aria-labelledby': $7313df745d52c961$export$85069b70317f543(state, node.key)
|
|
487
487
|
},
|
|
488
488
|
isPressed: isPressed
|
|
489
489
|
};
|
|
490
490
|
}
|
|
491
491
|
|
|
492
492
|
|
|
493
|
-
var $
|
|
493
|
+
var $977e76ff58b065ed$exports = {};
|
|
494
494
|
|
|
495
|
-
$parcel$export($
|
|
496
|
-
function $
|
|
495
|
+
$parcel$export($977e76ff58b065ed$exports, "useTableHeaderRow", () => $977e76ff58b065ed$export$1b95a7d2d517b841);
|
|
496
|
+
function $977e76ff58b065ed$export$1b95a7d2d517b841(props, state, ref) {
|
|
497
497
|
let { node: node , isVirtualized: isVirtualized } = props;
|
|
498
498
|
let rowProps = {
|
|
499
499
|
role: 'row'
|
|
@@ -505,17 +505,17 @@ function $64a2fc511de73acc$export$1b95a7d2d517b841(props, state, ref) {
|
|
|
505
505
|
}
|
|
506
506
|
|
|
507
507
|
|
|
508
|
-
var $
|
|
508
|
+
var $a262418ffbc55256$exports = {};
|
|
509
509
|
|
|
510
|
-
$parcel$export($
|
|
510
|
+
$parcel$export($a262418ffbc55256$exports, "useTableCell", () => $a262418ffbc55256$export$49571c903d73624c);
|
|
511
511
|
|
|
512
512
|
|
|
513
|
-
function $
|
|
514
|
-
let { gridCellProps: gridCellProps , isPressed: isPressed } = $
|
|
513
|
+
function $a262418ffbc55256$export$49571c903d73624c(props, state, ref) {
|
|
514
|
+
let { gridCellProps: gridCellProps , isPressed: isPressed } = $3SicQ$useGridCell(props, state, ref);
|
|
515
515
|
let columnKey = props.node.column.key;
|
|
516
516
|
if (state.collection.rowHeaderColumnKeys.has(columnKey)) {
|
|
517
517
|
gridCellProps.role = 'rowheader';
|
|
518
|
-
gridCellProps.id = $
|
|
518
|
+
gridCellProps.id = $7313df745d52c961$export$19baff3266315d44(state, props.node.parentKey, columnKey);
|
|
519
519
|
}
|
|
520
520
|
return {
|
|
521
521
|
gridCellProps: gridCellProps,
|
|
@@ -524,27 +524,27 @@ function $f37ca173ca3159e8$export$49571c903d73624c(props, state, ref) {
|
|
|
524
524
|
}
|
|
525
525
|
|
|
526
526
|
|
|
527
|
-
var $
|
|
527
|
+
var $d38e85e844ed4409$exports = {};
|
|
528
528
|
|
|
529
|
-
$parcel$export($
|
|
530
|
-
$parcel$export($
|
|
529
|
+
$parcel$export($d38e85e844ed4409$exports, "useTableSelectionCheckbox", () => $d38e85e844ed4409$export$16ea7f650bd7c1bb);
|
|
530
|
+
$parcel$export($d38e85e844ed4409$exports, "useTableSelectAllCheckbox", () => $d38e85e844ed4409$export$1003db6a7e384b99);
|
|
531
531
|
|
|
532
532
|
|
|
533
533
|
|
|
534
534
|
|
|
535
|
-
function $
|
|
535
|
+
function $d38e85e844ed4409$export$16ea7f650bd7c1bb(props, state) {
|
|
536
536
|
let { key: key } = props;
|
|
537
|
-
const { checkboxProps: checkboxProps } = $
|
|
537
|
+
const { checkboxProps: checkboxProps } = $3SicQ$useGridSelectionCheckbox(props, state);
|
|
538
538
|
return {
|
|
539
539
|
checkboxProps: {
|
|
540
540
|
...checkboxProps,
|
|
541
|
-
'aria-labelledby': `${checkboxProps.id} ${$
|
|
541
|
+
'aria-labelledby': `${checkboxProps.id} ${$7313df745d52c961$export$85069b70317f543(state, key)}`
|
|
542
542
|
}
|
|
543
543
|
};
|
|
544
544
|
}
|
|
545
|
-
function $
|
|
545
|
+
function $d38e85e844ed4409$export$1003db6a7e384b99(state) {
|
|
546
546
|
let { isEmpty: isEmpty , isSelectAll: isSelectAll , selectionMode: selectionMode } = state.selectionManager;
|
|
547
|
-
const formatMessage = $
|
|
547
|
+
const formatMessage = $3SicQ$useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($c7646422f16a0df1$exports)));
|
|
548
548
|
return {
|
|
549
549
|
checkboxProps: {
|
|
550
550
|
'aria-label': formatMessage(selectionMode === 'single' ? 'select' : 'selectAll'),
|
|
@@ -560,5 +560,5 @@ function $d65952132ff0431c$export$1003db6a7e384b99(state) {
|
|
|
560
560
|
|
|
561
561
|
|
|
562
562
|
|
|
563
|
-
export {$
|
|
563
|
+
export {$e10d6c50e0041fd0$re_export$useTableRowGroup as useTableRowGroup, $58b38183c6c3f0ee$export$25bceaac3c7e4dc7 as useTable, $e00d682c9b61b6ca$export$9514819a8c81e960 as useTableColumnHeader, $601c09ad619dd758$export$7f2f6ae19e707aa5 as useTableRow, $977e76ff58b065ed$export$1b95a7d2d517b841 as useTableHeaderRow, $a262418ffbc55256$export$49571c903d73624c as useTableCell, $d38e85e844ed4409$export$16ea7f650bd7c1bb as useTableSelectionCheckbox, $d38e85e844ed4409$export$1003db6a7e384b99 as useTableSelectAllCheckbox};
|
|
564
564
|
//# sourceMappingURL=module.js.map
|