@nebula.js/sn-table 1.1.1 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core/esm/index.js +26 -11
- package/dist/sn-table.js +5 -5
- package/package.json +1 -1
package/core/esm/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* @nebula.js/sn-table v1.
|
|
2
|
+
* @nebula.js/sn-table v1.2.0
|
|
3
3
|
* Copyright (c) 2021 QlikTech International AB
|
|
4
4
|
* Released under the MIT license.
|
|
5
5
|
*/
|
|
@@ -30,6 +30,26 @@ var SNTable_Accessibility_RowsAndColumns = {
|
|
|
30
30
|
"zh-TW": "顯示 {0} 列和 {1} 欄。"
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
|
+
var SNTable_Pagination_DisplayedRowsLabel = {
|
|
34
|
+
id: "SNTable.Pagination.DisplayedRowsLabel",
|
|
35
|
+
locale: {
|
|
36
|
+
"de-DE": "{0} von {1}",
|
|
37
|
+
"en-US": "{0} of {1}",
|
|
38
|
+
"es-ES": "{0} de {1}",
|
|
39
|
+
"fr-FR": "{0} sur {1}",
|
|
40
|
+
"it-IT": "{0} di {1}",
|
|
41
|
+
"ja-JP": "{0} / {1}",
|
|
42
|
+
"ko-KR": "{1}의 {0}",
|
|
43
|
+
"nl-NL": "{0} van {1}",
|
|
44
|
+
"pl-PL": "{0} z {1}",
|
|
45
|
+
"pt-BR": "{0} de {1}",
|
|
46
|
+
"ru-RU": "{0} из {1}",
|
|
47
|
+
"sv-SE": "{0} av {1}",
|
|
48
|
+
"tr-TR": "{0} / {1}",
|
|
49
|
+
"zh-CN": "{0} / {1}",
|
|
50
|
+
"zh-TW": "{0} / {1}"
|
|
51
|
+
}
|
|
52
|
+
};
|
|
33
53
|
var SNTable_Pagination_FirstPage = {
|
|
34
54
|
id: "SNTable.Pagination.FirstPage",
|
|
35
55
|
locale: {
|
|
@@ -350,14 +370,9 @@ var SNTable_SortLabel_SortedDescending = {
|
|
|
350
370
|
"zh-TW": "已依遞減順序排序。"
|
|
351
371
|
}
|
|
352
372
|
};
|
|
353
|
-
var SNTable_Pagination_DisplayedRowsLabel = {
|
|
354
|
-
id: "SNTable.Pagination.DisplayedRowsLabel",
|
|
355
|
-
locale: {
|
|
356
|
-
"en-US": "{0} of {1}"
|
|
357
|
-
}
|
|
358
|
-
};
|
|
359
373
|
var all = {
|
|
360
374
|
SNTable_Accessibility_RowsAndColumns: SNTable_Accessibility_RowsAndColumns,
|
|
375
|
+
SNTable_Pagination_DisplayedRowsLabel: SNTable_Pagination_DisplayedRowsLabel,
|
|
361
376
|
SNTable_Pagination_FirstPage: SNTable_Pagination_FirstPage,
|
|
362
377
|
SNTable_Pagination_LastPage: SNTable_Pagination_LastPage,
|
|
363
378
|
SNTable_Pagination_NextPage: SNTable_Pagination_NextPage,
|
|
@@ -373,8 +388,7 @@ var all = {
|
|
|
373
388
|
SNTable_SelectionLabel_selected: SNTable_SelectionLabel_selected,
|
|
374
389
|
SNTable_SortLabel_PressSpaceToSort: SNTable_SortLabel_PressSpaceToSort,
|
|
375
390
|
SNTable_SortLabel_SortedAscending: SNTable_SortLabel_SortedAscending,
|
|
376
|
-
SNTable_SortLabel_SortedDescending: SNTable_SortLabel_SortedDescending
|
|
377
|
-
SNTable_Pagination_DisplayedRowsLabel: SNTable_Pagination_DisplayedRowsLabel
|
|
391
|
+
SNTable_SortLabel_SortedDescending: SNTable_SortLabel_SortedDescending
|
|
378
392
|
};
|
|
379
393
|
|
|
380
394
|
function autoRegister(translator) {
|
|
@@ -403,7 +417,7 @@ const properties = {
|
|
|
403
417
|
* @type {string}
|
|
404
418
|
* @default
|
|
405
419
|
*/
|
|
406
|
-
version: "1.
|
|
420
|
+
version: "1.2.0",
|
|
407
421
|
|
|
408
422
|
/**
|
|
409
423
|
* @extends {qae.HyperCubeDef}
|
|
@@ -6910,7 +6924,7 @@ function muiSetup() {
|
|
|
6910
6924
|
|
|
6911
6925
|
const theme = createMuiTheme(muiConfig$1);
|
|
6912
6926
|
const generateClassName = createGenerateClassName({
|
|
6913
|
-
productionPrefix: `${"1.
|
|
6927
|
+
productionPrefix: `${"1.2.0"}`,
|
|
6914
6928
|
disableGlobal: true,
|
|
6915
6929
|
seed: `sn-t-${Date.now()}`
|
|
6916
6930
|
});
|
|
@@ -15892,6 +15906,7 @@ function TableWrapper(props) {
|
|
|
15892
15906
|
ref: tableSectionRef,
|
|
15893
15907
|
className: classes[containerMode],
|
|
15894
15908
|
tabIndex: "-1",
|
|
15909
|
+
role: "application",
|
|
15895
15910
|
"data-testid": "table-wrapper"
|
|
15896
15911
|
}, /*#__PURE__*/React__default.createElement(Table$1, {
|
|
15897
15912
|
stickyHeader: true,
|