@trackunit/react-table 0.0.104 → 0.0.108

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 CHANGED
@@ -375,7 +375,7 @@ const Table = (_a) => {
375
375
  }, children: jsxRuntime.jsx("div", { className: "grid h-full items-center", children: reactTable.flexRender(cell.column.columnDef.cell, cell.getContext()) }) }));
376
376
  }) }, row.id));
377
377
  }
378
- }) })) : (jsxRuntime.jsx("tbody", { children: jsxRuntime.jsx("tr", { children: jsxRuntime.jsx("td", { className: "b-0", children: (props === null || props === void 0 ? void 0 : props.noDataMessage) ? (props.noDataMessage) : (jsxRuntime.jsx(reactComponents.EmptyState, { image: "ROAD_BLOCK", description: t("table.noResults"), className: "absolute inset-0", loading: props === null || props === void 0 ? void 0 : props.loading })) }) }) }))] }) }), jsxRuntime.jsxs("div", { className: "flex items-center p-2", children: [jsxRuntime.jsx("div", { className: "whitespace-nowrap text-xs font-medium text-neutral-600", children: t("table.pagination.full", {
378
+ }) })) : (jsxRuntime.jsx("tbody", { children: jsxRuntime.jsx("tr", { children: jsxRuntime.jsx("td", { className: "b-0", children: (props === null || props === void 0 ? void 0 : props.noDataMessage) ? (props.noDataMessage) : (jsxRuntime.jsx(reactComponents.EmptyState, { image: "SEARCH_DOCUMENT", description: t("table.noResults"), className: "absolute inset-0", loading: props === null || props === void 0 ? void 0 : props.loading })) }) }) }))] }) }), jsxRuntime.jsxs("div", { className: "flex items-center p-2", children: [jsxRuntime.jsx("div", { className: "whitespace-nowrap text-xs font-medium text-neutral-600", children: t("table.pagination.full", {
379
379
  count: props.getRowModel().rows.length,
380
380
  total: ((_c = (_b = props.pagination) === null || _b === void 0 ? void 0 : _b.pageInfo) === null || _c === void 0 ? void 0 : _c.count) || 0,
381
381
  }) }), props.pagination.isLoading ? (jsxRuntime.jsx("span", { className: "ml-2", children: jsxRuntime.jsx(reactComponents.Spinner, { size: "small" }) })) : null, props.footerRightActions && jsxRuntime.jsx("div", { className: "flex flex-1 justify-end", children: props.footerRightActions })] })] }));
package/index.esm.js CHANGED
@@ -350,7 +350,7 @@ const Table = (_a) => {
350
350
  }, children: jsx("div", { className: "grid h-full items-center", children: flexRender(cell.column.columnDef.cell, cell.getContext()) }) }));
351
351
  }) }, row.id));
352
352
  }
353
- }) })) : (jsx("tbody", { children: jsx("tr", { children: jsx("td", { className: "b-0", children: (props === null || props === void 0 ? void 0 : props.noDataMessage) ? (props.noDataMessage) : (jsx(EmptyState, { image: "ROAD_BLOCK", description: t("table.noResults"), className: "absolute inset-0", loading: props === null || props === void 0 ? void 0 : props.loading })) }) }) }))] }) }), jsxs("div", { className: "flex items-center p-2", children: [jsx("div", { className: "whitespace-nowrap text-xs font-medium text-neutral-600", children: t("table.pagination.full", {
353
+ }) })) : (jsx("tbody", { children: jsx("tr", { children: jsx("td", { className: "b-0", children: (props === null || props === void 0 ? void 0 : props.noDataMessage) ? (props.noDataMessage) : (jsx(EmptyState, { image: "SEARCH_DOCUMENT", description: t("table.noResults"), className: "absolute inset-0", loading: props === null || props === void 0 ? void 0 : props.loading })) }) }) }))] }) }), jsxs("div", { className: "flex items-center p-2", children: [jsx("div", { className: "whitespace-nowrap text-xs font-medium text-neutral-600", children: t("table.pagination.full", {
354
354
  count: props.getRowModel().rows.length,
355
355
  total: ((_c = (_b = props.pagination) === null || _b === void 0 ? void 0 : _b.pageInfo) === null || _c === void 0 ? void 0 : _c.count) || 0,
356
356
  }) }), props.pagination.isLoading ? (jsx("span", { className: "ml-2", children: jsx(Spinner, { size: "small" }) })) : null, props.footerRightActions && jsx("div", { className: "flex flex-1 justify-end", children: props.footerRightActions })] })] }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-table",
3
- "version": "0.0.104",
3
+ "version": "0.0.108",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var translation = {
4
- "table.actionsheet.selected": "{{count}} selected",
4
+ "table.actionsheet.selected": "Wybrano {{count}}",
5
5
  "layout.actions.reset": "Zresetuj",
6
6
  "table.pagination.of": "z {{count}}",
7
7
  "table.pagination.full": "Wyświetlono {{count}} wyników z {{total}}",
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var translation = {
4
- "table.actionsheet.selected": "{{count}} selected",
4
+ "table.actionsheet.selected": "{{count}} selecionado",
5
5
  "layout.actions.reset": "Redefinir",
6
6
  "table.pagination.of": "de {{count}}",
7
7
  "table.pagination.full": "A mostrar {{count}} de {{total}} resultados",
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var translation = {
4
- "table.actionsheet.selected": "{{count}} selected",
4
+ "table.actionsheet.selected": "{{count}} valittua",
5
5
  "layout.actions.reset": "Nollaa",
6
6
  "table.pagination.of": "/ {{count}}",
7
7
  "table.pagination.full": "Näytetään {{count}} tulosta yhteensä {{total}} tuloksesta",
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var translation = {
4
- "table.actionsheet.selected": "{{count}} selected",
4
+ "table.actionsheet.selected": "{{count}} selezionati",
5
5
  "layout.actions.reset": "Reimposta",
6
6
  "table.pagination.of": "di {{count}}",
7
7
  "table.pagination.full": "Mostra {{count}} di {{total}} risultati",
@@ -1,5 +1,5 @@
1
1
  var translation = {
2
- "table.actionsheet.selected": "{{count}} selected",
2
+ "table.actionsheet.selected": "Wybrano {{count}}",
3
3
  "layout.actions.reset": "Zresetuj",
4
4
  "table.pagination.of": "z {{count}}",
5
5
  "table.pagination.full": "Wyświetlono {{count}} wyników z {{total}}",
@@ -1,5 +1,5 @@
1
1
  var translation = {
2
- "table.actionsheet.selected": "{{count}} selected",
2
+ "table.actionsheet.selected": "{{count}} selecionado",
3
3
  "layout.actions.reset": "Redefinir",
4
4
  "table.pagination.of": "de {{count}}",
5
5
  "table.pagination.full": "A mostrar {{count}} de {{total}} resultados",
@@ -1,5 +1,5 @@
1
1
  var translation = {
2
- "table.actionsheet.selected": "{{count}} selected",
2
+ "table.actionsheet.selected": "{{count}} valittua",
3
3
  "layout.actions.reset": "Nollaa",
4
4
  "table.pagination.of": "/ {{count}}",
5
5
  "table.pagination.full": "Näytetään {{count}} tulosta yhteensä {{total}} tuloksesta",
@@ -1,5 +1,5 @@
1
1
  var translation = {
2
- "table.actionsheet.selected": "{{count}} selected",
2
+ "table.actionsheet.selected": "{{count}} selezionati",
3
3
  "layout.actions.reset": "Reimposta",
4
4
  "table.pagination.of": "di {{count}}",
5
5
  "table.pagination.full": "Mostra {{count}} di {{total}} risultati",