@trackunit/react-table 1.14.1 → 1.14.7
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/index.cjs.js +1 -1
- package/index.esm.js +1 -1
- package/package.json +9 -9
- package/translation.cjs.js +3 -3
- package/translation.cjs13.js +3 -3
- package/translation.cjs14.js +3 -3
- package/translation.cjs8.js +3 -3
- package/translation.esm.js +3 -3
- package/translation.esm13.js +3 -3
- package/translation.esm14.js +3 -3
- package/translation.esm8.js +3 -3
package/index.cjs.js
CHANGED
|
@@ -1280,7 +1280,7 @@ const Table = ({ rowHeight = 50, ...props }) => {
|
|
|
1280
1280
|
jsxRuntime.jsx("div", { className: "grid h-full items-center p-0", children: reactTable.flexRender(cell.column.columnDef.cell, cell.getContext()) })));
|
|
1281
1281
|
}) }, `${row.id}-${index}`));
|
|
1282
1282
|
}
|
|
1283
|
-
}) })) : (jsxRuntime.jsx("tbody", { className: cvaTBody({ emptyState: !props.loading && !props.noDataMessage }), children: jsxRuntime.jsx("tr", { children: jsxRuntime.jsx("td", { className: "b-0", children: props.loading ? (jsxRuntime.jsx(reactComponents.Spinner, { centering: "centered", containerClassName: "absolute inset-0" })) : props.noDataMessage ? (props.noDataMessage) : (jsxRuntime.jsx(reactComponents.EmptyState, { className: "absolute inset-0", description: t("table.noResults"), image: "SEARCH_DOCUMENT", ...props.emptyState })) }) }) }))] }) }), props.hideFooter ? null : (jsxRuntime.jsxs("div", { className: "flex items-center p-2", "data-testid": "table-footer", children: [jsxRuntime.jsx("div", { className: "whitespace-nowrap text-xs font-medium text-neutral-600", children: props.pagination?.pageInfo?.count
|
|
1283
|
+
}) })) : (jsxRuntime.jsx("tbody", { className: cvaTBody({ emptyState: !props.loading && !props.noDataMessage }), children: jsxRuntime.jsx("tr", { children: jsxRuntime.jsx("td", { className: "b-0", children: props.loading ? (jsxRuntime.jsx(reactComponents.Spinner, { centering: "centered", containerClassName: "absolute inset-0", "data-testid": "table-loading-spinner" })) : props.noDataMessage ? (props.noDataMessage) : (jsxRuntime.jsx(reactComponents.EmptyState, { className: "absolute inset-0", description: t("table.noResults"), image: "SEARCH_DOCUMENT", ...props.emptyState })) }) }) }))] }) }), props.hideFooter ? null : (jsxRuntime.jsxs("div", { className: "flex items-center p-2", "data-testid": "table-footer", children: [jsxRuntime.jsx("div", { className: "whitespace-nowrap text-xs font-medium text-neutral-600", children: props.pagination?.pageInfo?.count
|
|
1284
1284
|
? t(props.pagination.pageInfo.isCountCapped ? "table.pagination.full.capped" : "table.pagination.full", {
|
|
1285
1285
|
count: props.getRowModel().rows.length,
|
|
1286
1286
|
total: props.pagination.pageInfo.count,
|
package/index.esm.js
CHANGED
|
@@ -1279,7 +1279,7 @@ const Table = ({ rowHeight = 50, ...props }) => {
|
|
|
1279
1279
|
jsx("div", { className: "grid h-full items-center p-0", children: flexRender(cell.column.columnDef.cell, cell.getContext()) })));
|
|
1280
1280
|
}) }, `${row.id}-${index}`));
|
|
1281
1281
|
}
|
|
1282
|
-
}) })) : (jsx("tbody", { className: cvaTBody({ emptyState: !props.loading && !props.noDataMessage }), children: jsx("tr", { children: jsx("td", { className: "b-0", children: props.loading ? (jsx(Spinner, { centering: "centered", containerClassName: "absolute inset-0" })) : props.noDataMessage ? (props.noDataMessage) : (jsx(EmptyState, { className: "absolute inset-0", description: t("table.noResults"), image: "SEARCH_DOCUMENT", ...props.emptyState })) }) }) }))] }) }), props.hideFooter ? null : (jsxs("div", { className: "flex items-center p-2", "data-testid": "table-footer", children: [jsx("div", { className: "whitespace-nowrap text-xs font-medium text-neutral-600", children: props.pagination?.pageInfo?.count
|
|
1282
|
+
}) })) : (jsx("tbody", { className: cvaTBody({ emptyState: !props.loading && !props.noDataMessage }), children: jsx("tr", { children: jsx("td", { className: "b-0", children: props.loading ? (jsx(Spinner, { centering: "centered", containerClassName: "absolute inset-0", "data-testid": "table-loading-spinner" })) : props.noDataMessage ? (props.noDataMessage) : (jsx(EmptyState, { className: "absolute inset-0", description: t("table.noResults"), image: "SEARCH_DOCUMENT", ...props.emptyState })) }) }) }))] }) }), props.hideFooter ? null : (jsxs("div", { className: "flex items-center p-2", "data-testid": "table-footer", children: [jsx("div", { className: "whitespace-nowrap text-xs font-medium text-neutral-600", children: props.pagination?.pageInfo?.count
|
|
1283
1283
|
? t(props.pagination.pageInfo.isCountCapped ? "table.pagination.full.capped" : "table.pagination.full", {
|
|
1284
1284
|
count: props.getRowModel().rows.length,
|
|
1285
1285
|
total: props.pagination.pageInfo.count,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-table",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.7",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
"react-dnd-html5-backend": "16.0.1",
|
|
15
15
|
"@tanstack/react-router": "1.114.29",
|
|
16
16
|
"tailwind-merge": "^2.0.0",
|
|
17
|
-
"@trackunit/react-components": "1.18.
|
|
18
|
-
"@trackunit/shared-utils": "1.13.
|
|
19
|
-
"@trackunit/css-class-variance-utilities": "1.11.
|
|
20
|
-
"@trackunit/ui-icons": "1.11.
|
|
21
|
-
"@trackunit/react-table-base-components": "1.14.
|
|
22
|
-
"@trackunit/react-form-components": "1.15.
|
|
23
|
-
"@trackunit/i18n-library-translation": "1.12.
|
|
24
|
-
"@trackunit/iris-app-runtime-core-api": "1.12.
|
|
17
|
+
"@trackunit/react-components": "1.18.3",
|
|
18
|
+
"@trackunit/shared-utils": "1.13.63",
|
|
19
|
+
"@trackunit/css-class-variance-utilities": "1.11.63",
|
|
20
|
+
"@trackunit/ui-icons": "1.11.61",
|
|
21
|
+
"@trackunit/react-table-base-components": "1.14.3",
|
|
22
|
+
"@trackunit/react-form-components": "1.15.3",
|
|
23
|
+
"@trackunit/i18n-library-translation": "1.12.54",
|
|
24
|
+
"@trackunit/iris-app-runtime-core-api": "1.12.46",
|
|
25
25
|
"graphql": "^16.10.0"
|
|
26
26
|
},
|
|
27
27
|
"module": "./index.esm.js",
|
package/translation.cjs.js
CHANGED
|
@@ -29,10 +29,10 @@ var translation = {
|
|
|
29
29
|
"table.rowDensity.spacious": "Weitläufig",
|
|
30
30
|
"table.search.placeholder": "Suchen...",
|
|
31
31
|
"table.searchPlaceholder": "Suchen...",
|
|
32
|
-
"table.selectAll.allSelected": "<strong>{{totalCount}}
|
|
32
|
+
"table.selectAll.allSelected": "<strong>{{totalCount}} Elemente</strong> sind ausgewählt.",
|
|
33
33
|
"table.selectAll.clearSelection": "Auswahl löschen",
|
|
34
|
-
"table.selectAll.pageSelected": "<strong>{{count}}
|
|
35
|
-
"table.selectAll.selectAll": "
|
|
34
|
+
"table.selectAll.pageSelected": "<strong>{{count}} Elemente</strong> auf dieser Seite sind ausgewählt.",
|
|
35
|
+
"table.selectAll.selectAll": "Alle Elemente auswählen",
|
|
36
36
|
"table.selection.label": "Auswahl",
|
|
37
37
|
"table.sorting.ascending": "Aufsteigend",
|
|
38
38
|
"table.sorting.descending": "Absteigend",
|
package/translation.cjs13.js
CHANGED
|
@@ -29,10 +29,10 @@ var translation = {
|
|
|
29
29
|
"table.rowDensity.spacious": "Spațios",
|
|
30
30
|
"table.search.placeholder": "Căutare...",
|
|
31
31
|
"table.searchPlaceholder": "Căutare...",
|
|
32
|
-
"table.selectAll.allSelected": "<strong>{{totalCount}}
|
|
32
|
+
"table.selectAll.allSelected": "Sunt selectate <strong>{{totalCount}} (de) elemente</strong>.",
|
|
33
33
|
"table.selectAll.clearSelection": "Ștergere selecție",
|
|
34
|
-
"table.selectAll.pageSelected": "<strong>{{count}}
|
|
35
|
-
"table.selectAll.selectAll": "
|
|
34
|
+
"table.selectAll.pageSelected": "Sunt selectate <strong>{{count}} (de) elemente</strong> de pe această pagină.",
|
|
35
|
+
"table.selectAll.selectAll": "Selectare toate elementele",
|
|
36
36
|
"table.selection.label": "Selectare",
|
|
37
37
|
"table.sorting.ascending": "Ascendent",
|
|
38
38
|
"table.sorting.descending": "Descendent",
|
package/translation.cjs14.js
CHANGED
|
@@ -29,10 +29,10 @@ var translation = {
|
|
|
29
29
|
"table.rowDensity.spacious": "Amplio",
|
|
30
30
|
"table.search.placeholder": "Buscar...",
|
|
31
31
|
"table.searchPlaceholder": "Buscar...",
|
|
32
|
-
"table.selectAll.allSelected": "<strong>{{totalCount}}
|
|
32
|
+
"table.selectAll.allSelected": "Están seleccionados <strong>{{totalCount}} elementos</strong>.",
|
|
33
33
|
"table.selectAll.clearSelection": "Borrar selección",
|
|
34
|
-
"table.selectAll.pageSelected": "<strong>{{count}}
|
|
35
|
-
"table.selectAll.selectAll": "
|
|
34
|
+
"table.selectAll.pageSelected": "Están seleccionados <strong>{{count}} elementos</strong> en esta página.",
|
|
35
|
+
"table.selectAll.selectAll": "Seleccionar todos los elementos",
|
|
36
36
|
"table.selection.label": "Selección",
|
|
37
37
|
"table.sorting.ascending": "Ascendente",
|
|
38
38
|
"table.sorting.descending": "Descendente",
|
package/translation.cjs8.js
CHANGED
|
@@ -29,10 +29,10 @@ var translation = {
|
|
|
29
29
|
"table.rowDensity.spacious": "Ampia",
|
|
30
30
|
"table.search.placeholder": "Ricerca...",
|
|
31
31
|
"table.searchPlaceholder": "Ricerca...",
|
|
32
|
-
"table.selectAll.allSelected": "<strong>{{totalCount}}
|
|
32
|
+
"table.selectAll.allSelected": "<strong>{{totalCount}} elementi</strong> selezionati.",
|
|
33
33
|
"table.selectAll.clearSelection": "Cancella selezione",
|
|
34
|
-
"table.selectAll.pageSelected": "<strong>{{count}}
|
|
35
|
-
"table.selectAll.selectAll": "
|
|
34
|
+
"table.selectAll.pageSelected": "<strong>{{count}} elementi</strong> selezionati in questa pagina.",
|
|
35
|
+
"table.selectAll.selectAll": "Seleziona tutti gli elementi",
|
|
36
36
|
"table.selection.label": "Selezione",
|
|
37
37
|
"table.sorting.ascending": "Ascendente",
|
|
38
38
|
"table.sorting.descending": "Discendente",
|
package/translation.esm.js
CHANGED
|
@@ -27,10 +27,10 @@ var translation = {
|
|
|
27
27
|
"table.rowDensity.spacious": "Weitläufig",
|
|
28
28
|
"table.search.placeholder": "Suchen...",
|
|
29
29
|
"table.searchPlaceholder": "Suchen...",
|
|
30
|
-
"table.selectAll.allSelected": "<strong>{{totalCount}}
|
|
30
|
+
"table.selectAll.allSelected": "<strong>{{totalCount}} Elemente</strong> sind ausgewählt.",
|
|
31
31
|
"table.selectAll.clearSelection": "Auswahl löschen",
|
|
32
|
-
"table.selectAll.pageSelected": "<strong>{{count}}
|
|
33
|
-
"table.selectAll.selectAll": "
|
|
32
|
+
"table.selectAll.pageSelected": "<strong>{{count}} Elemente</strong> auf dieser Seite sind ausgewählt.",
|
|
33
|
+
"table.selectAll.selectAll": "Alle Elemente auswählen",
|
|
34
34
|
"table.selection.label": "Auswahl",
|
|
35
35
|
"table.sorting.ascending": "Aufsteigend",
|
|
36
36
|
"table.sorting.descending": "Absteigend",
|
package/translation.esm13.js
CHANGED
|
@@ -27,10 +27,10 @@ var translation = {
|
|
|
27
27
|
"table.rowDensity.spacious": "Spațios",
|
|
28
28
|
"table.search.placeholder": "Căutare...",
|
|
29
29
|
"table.searchPlaceholder": "Căutare...",
|
|
30
|
-
"table.selectAll.allSelected": "<strong>{{totalCount}}
|
|
30
|
+
"table.selectAll.allSelected": "Sunt selectate <strong>{{totalCount}} (de) elemente</strong>.",
|
|
31
31
|
"table.selectAll.clearSelection": "Ștergere selecție",
|
|
32
|
-
"table.selectAll.pageSelected": "<strong>{{count}}
|
|
33
|
-
"table.selectAll.selectAll": "
|
|
32
|
+
"table.selectAll.pageSelected": "Sunt selectate <strong>{{count}} (de) elemente</strong> de pe această pagină.",
|
|
33
|
+
"table.selectAll.selectAll": "Selectare toate elementele",
|
|
34
34
|
"table.selection.label": "Selectare",
|
|
35
35
|
"table.sorting.ascending": "Ascendent",
|
|
36
36
|
"table.sorting.descending": "Descendent",
|
package/translation.esm14.js
CHANGED
|
@@ -27,10 +27,10 @@ var translation = {
|
|
|
27
27
|
"table.rowDensity.spacious": "Amplio",
|
|
28
28
|
"table.search.placeholder": "Buscar...",
|
|
29
29
|
"table.searchPlaceholder": "Buscar...",
|
|
30
|
-
"table.selectAll.allSelected": "<strong>{{totalCount}}
|
|
30
|
+
"table.selectAll.allSelected": "Están seleccionados <strong>{{totalCount}} elementos</strong>.",
|
|
31
31
|
"table.selectAll.clearSelection": "Borrar selección",
|
|
32
|
-
"table.selectAll.pageSelected": "<strong>{{count}}
|
|
33
|
-
"table.selectAll.selectAll": "
|
|
32
|
+
"table.selectAll.pageSelected": "Están seleccionados <strong>{{count}} elementos</strong> en esta página.",
|
|
33
|
+
"table.selectAll.selectAll": "Seleccionar todos los elementos",
|
|
34
34
|
"table.selection.label": "Selección",
|
|
35
35
|
"table.sorting.ascending": "Ascendente",
|
|
36
36
|
"table.sorting.descending": "Descendente",
|
package/translation.esm8.js
CHANGED
|
@@ -27,10 +27,10 @@ var translation = {
|
|
|
27
27
|
"table.rowDensity.spacious": "Ampia",
|
|
28
28
|
"table.search.placeholder": "Ricerca...",
|
|
29
29
|
"table.searchPlaceholder": "Ricerca...",
|
|
30
|
-
"table.selectAll.allSelected": "<strong>{{totalCount}}
|
|
30
|
+
"table.selectAll.allSelected": "<strong>{{totalCount}} elementi</strong> selezionati.",
|
|
31
31
|
"table.selectAll.clearSelection": "Cancella selezione",
|
|
32
|
-
"table.selectAll.pageSelected": "<strong>{{count}}
|
|
33
|
-
"table.selectAll.selectAll": "
|
|
32
|
+
"table.selectAll.pageSelected": "<strong>{{count}} elementi</strong> selezionati in questa pagina.",
|
|
33
|
+
"table.selectAll.selectAll": "Seleziona tutti gli elementi",
|
|
34
34
|
"table.selection.label": "Selezione",
|
|
35
35
|
"table.sorting.ascending": "Ascendente",
|
|
36
36
|
"table.sorting.descending": "Discendente",
|