material-react-table 1.3.9 → 1.3.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (92) hide show
  1. package/README.md +15 -10
  2. package/dist/cjs/MaterialReactTable.d.ts +21 -21
  3. package/dist/cjs/_locales/cs.d.ts +1 -1
  4. package/dist/cjs/_locales/de.d.ts +1 -1
  5. package/dist/cjs/_locales/en.d.ts +1 -1
  6. package/dist/cjs/_locales/es.d.ts +1 -1
  7. package/dist/cjs/_locales/fa.d.ts +1 -1
  8. package/dist/cjs/_locales/fr.d.ts +2 -0
  9. package/dist/cjs/_locales/it.d.ts +1 -1
  10. package/dist/cjs/_locales/ja.d.ts +1 -1
  11. package/dist/cjs/_locales/pl.d.ts +1 -1
  12. package/dist/cjs/_locales/pt-BR.d.ts +1 -1
  13. package/dist/cjs/_locales/pt.d.ts +1 -1
  14. package/dist/cjs/_locales/ru.d.ts +1 -1
  15. package/dist/cjs/_locales/tr.d.ts +1 -1
  16. package/dist/cjs/_locales/vi.d.ts +2 -0
  17. package/dist/cjs/index.js +3 -3
  18. package/dist/cjs/index.js.map +1 -1
  19. package/dist/cjs/table/MRT_TableRoot.d.ts +1 -1
  20. package/dist/esm/MaterialReactTable.d.ts +21 -21
  21. package/dist/esm/_locales/cs.d.ts +1 -1
  22. package/dist/esm/_locales/de.d.ts +1 -1
  23. package/dist/esm/_locales/en.d.ts +1 -1
  24. package/dist/esm/_locales/es.d.ts +1 -1
  25. package/dist/esm/_locales/fa.d.ts +1 -1
  26. package/dist/esm/_locales/fr.d.ts +2 -0
  27. package/dist/esm/_locales/it.d.ts +1 -1
  28. package/dist/esm/_locales/ja.d.ts +1 -1
  29. package/dist/esm/_locales/pl.d.ts +1 -1
  30. package/dist/esm/_locales/pt-BR.d.ts +1 -1
  31. package/dist/esm/_locales/pt.d.ts +1 -1
  32. package/dist/esm/_locales/ru.d.ts +1 -1
  33. package/dist/esm/_locales/tr.d.ts +1 -1
  34. package/dist/esm/_locales/vi.d.ts +2 -0
  35. package/dist/esm/material-react-table.esm.js +3 -3
  36. package/dist/esm/material-react-table.esm.js.map +1 -1
  37. package/dist/esm/table/MRT_TableRoot.d.ts +1 -1
  38. package/dist/index.d.ts +21 -21
  39. package/locales/cs.d.ts +1 -1
  40. package/locales/cs.esm.d.ts +1 -1
  41. package/locales/de.d.ts +1 -1
  42. package/locales/de.esm.d.ts +1 -1
  43. package/locales/en.d.ts +1 -1
  44. package/locales/en.esm.d.ts +1 -1
  45. package/locales/es.d.ts +1 -1
  46. package/locales/es.esm.d.ts +1 -1
  47. package/locales/fa.d.ts +1 -1
  48. package/locales/fa.esm.d.ts +1 -1
  49. package/locales/fr.d.ts +2 -0
  50. package/locales/fr.esm.d.ts +2 -0
  51. package/locales/fr.esm.js +92 -0
  52. package/locales/fr.esm.js.map +1 -0
  53. package/locales/fr.js +96 -0
  54. package/locales/fr.js.map +1 -0
  55. package/locales/it.d.ts +1 -1
  56. package/locales/it.esm.d.ts +1 -1
  57. package/locales/ja.d.ts +1 -1
  58. package/locales/ja.esm.d.ts +1 -1
  59. package/locales/pl.d.ts +1 -1
  60. package/locales/pl.esm.d.ts +1 -1
  61. package/locales/pt-BR.d.ts +1 -1
  62. package/locales/pt-BR.esm.d.ts +1 -1
  63. package/locales/pt.d.ts +1 -1
  64. package/locales/pt.esm.d.ts +1 -1
  65. package/locales/ru.d.ts +1 -1
  66. package/locales/ru.esm.d.ts +1 -1
  67. package/locales/tr.d.ts +1 -1
  68. package/locales/tr.esm.d.ts +1 -1
  69. package/locales/tr.esm.js +86 -86
  70. package/locales/tr.js +86 -86
  71. package/locales/vi.d.ts +2 -0
  72. package/locales/vi.esm.d.ts +2 -0
  73. package/locales/vi.esm.js +92 -0
  74. package/locales/vi.esm.js.map +1 -0
  75. package/locales/vi.js +96 -0
  76. package/locales/vi.js.map +1 -0
  77. package/package.json +29 -22
  78. package/src/_locales/cs.ts +1 -1
  79. package/src/_locales/de.ts +1 -1
  80. package/src/_locales/en.ts +1 -1
  81. package/src/_locales/es.ts +1 -1
  82. package/src/_locales/fa.ts +1 -1
  83. package/src/_locales/fr.ts +92 -1
  84. package/src/_locales/it.ts +1 -1
  85. package/src/_locales/ja.ts +1 -1
  86. package/src/_locales/pl.ts +1 -1
  87. package/src/_locales/pt-BR.ts +1 -1
  88. package/src/_locales/pt.ts +1 -1
  89. package/src/_locales/ru.ts +1 -1
  90. package/src/_locales/tr.ts +87 -87
  91. package/src/_locales/vi.ts +92 -1
  92. package/src/body/MRT_TableBody.tsx +1 -1
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.3.9",
2
+ "version": "1.3.11",
3
3
  "license": "MIT",
4
4
  "name": "material-react-table",
5
5
  "description": "A fully featured Material UI V5 implementation of TanStack React Table V8, written from the ground up in TypeScript.",
@@ -15,6 +15,13 @@
15
15
  "type": "git",
16
16
  "url": "https://github.com/KevinVandy/material-react-table"
17
17
  },
18
+ "publishConfig": {
19
+ "registry": "https://registry.npmjs.org/"
20
+ },
21
+ "funding": {
22
+ "type": "github",
23
+ "url": "https://github.com/sponsors/kevinvandy"
24
+ },
18
25
  "homepage": "https://www.material-react-table.com/",
19
26
  "bugs": {
20
27
  "url": "https://github.com/KevinVandy/material-react-table/issues"
@@ -54,31 +61,31 @@
54
61
  "devDependencies": {
55
62
  "@babel/core": "^7.20.2",
56
63
  "@babel/preset-react": "^7.18.6",
57
- "@emotion/react": "^11.10.4",
58
- "@emotion/styled": "^11.10.4",
59
- "@faker-js/faker": "^7.5.0",
60
- "@mui/icons-material": "^5.10.6",
61
- "@mui/material": "^5.10.13",
64
+ "@emotion/react": "^11.10.5",
65
+ "@emotion/styled": "^11.10.5",
66
+ "@faker-js/faker": "^7.6.0",
67
+ "@mui/icons-material": "^5.10.15",
68
+ "@mui/material": "^5.10.15",
62
69
  "@rollup/plugin-babel": "^6.0.2",
63
70
  "@rollup/plugin-node-resolve": "^15.0.1",
64
71
  "@rollup/plugin-typescript": "^9.0.2",
65
72
  "@size-limit/preset-small-lib": "^8.1.0",
66
- "@storybook/addon-a11y": "^6.5.12",
67
- "@storybook/addon-actions": "^6.5.12",
68
- "@storybook/addon-essentials": "^6.5.12",
73
+ "@storybook/addon-a11y": "^6.5.13",
74
+ "@storybook/addon-actions": "^6.5.13",
75
+ "@storybook/addon-essentials": "^6.5.13",
69
76
  "@storybook/addon-info": "^5.3.21",
70
- "@storybook/addon-links": "^6.5.12",
71
- "@storybook/addon-storysource": "^6.5.12",
72
- "@storybook/addons": "^6.5.12",
73
- "@storybook/builder-webpack5": "^6.4.22",
74
- "@storybook/manager-webpack5": "^6.4.22",
75
- "@storybook/react": "^6.5.12",
77
+ "@storybook/addon-links": "^6.5.13",
78
+ "@storybook/addon-storysource": "^6.5.13",
79
+ "@storybook/addons": "^6.5.13",
80
+ "@storybook/builder-webpack5": "^6.5.13",
81
+ "@storybook/manager-webpack5": "^6.5.13",
82
+ "@storybook/react": "^6.5.13",
76
83
  "@types/react": "^18.0.25",
77
- "@types/react-dom": "^18.0.6",
78
- "@typescript-eslint/eslint-plugin": "^5.42.1",
79
- "@typescript-eslint/parser": "^5.42.1",
84
+ "@types/react-dom": "^18.0.9",
85
+ "@typescript-eslint/eslint-plugin": "^5.44.0",
86
+ "@typescript-eslint/parser": "^5.44.0",
80
87
  "babel-loader": "^9.1.0",
81
- "eslint": "^8.27.0",
88
+ "eslint": "^8.28.0",
82
89
  "eslint-plugin-mui-path-imports": "^0.0.3",
83
90
  "prettier": "^2.7.1",
84
91
  "react": "^18.2.0",
@@ -91,7 +98,7 @@
91
98
  "size-limit": "^8.1.0",
92
99
  "storybook-dark-mode": "^1.1.2",
93
100
  "tslib": "^2.4.1",
94
- "typescript": "^4.8.4",
101
+ "typescript": "^4.9.3",
95
102
  "webpack": "^5.75.0"
96
103
  },
97
104
  "peerDependencies": {
@@ -104,7 +111,7 @@
104
111
  },
105
112
  "dependencies": {
106
113
  "@tanstack/match-sorter-utils": "8.5.14",
107
- "@tanstack/react-table": "8.5.27",
114
+ "@tanstack/react-table": "8.6.0",
108
115
  "react-virtual": "^2.10.4"
109
116
  }
110
- }
117
+ }
@@ -1,4 +1,4 @@
1
- import { MRT_Localization } from '../MaterialReactTable';
1
+ import type { MRT_Localization } from '../MaterialReactTable';
2
2
 
3
3
  export const MRT_Localization_CS: MRT_Localization = {
4
4
  actions: 'Akce',
@@ -1,4 +1,4 @@
1
- import { MRT_Localization } from '../MaterialReactTable';
1
+ import type { MRT_Localization } from '../MaterialReactTable';
2
2
 
3
3
  export const MRT_Localization_DE: MRT_Localization = {
4
4
  actions: 'Aktionen',
@@ -1,4 +1,4 @@
1
- import { MRT_Localization } from '../MaterialReactTable';
1
+ import type { MRT_Localization } from '../MaterialReactTable';
2
2
 
3
3
  export const MRT_Localization_EN: MRT_Localization = {
4
4
  actions: 'Actions',
@@ -1,4 +1,4 @@
1
- import { MRT_Localization } from '..';
1
+ import type { MRT_Localization } from '..';
2
2
 
3
3
  export const MRT_Localization_ES: MRT_Localization = {
4
4
  actions: 'Acciones',
@@ -1,4 +1,4 @@
1
- import { MRT_Localization } from '../MaterialReactTable';
1
+ import type { MRT_Localization } from '../MaterialReactTable';
2
2
 
3
3
  export const MRT_Localization_FA: MRT_Localization = {
4
4
  actions: 'عملیات',
@@ -1 +1,92 @@
1
- //Not supported yet, but if you want to help, copy en.ts file contents here and translate, then make a PR
1
+ import type { MRT_Localization } from '../MaterialReactTable';
2
+
3
+ export const MRT_Localization_FR: MRT_Localization = {
4
+ actions: 'Actions',
5
+ and: 'et',
6
+ cancel: 'Annuler',
7
+ changeFilterMode: 'Changer le mode de filtre',
8
+ changeSearchMode: 'Changer le mode de recherche',
9
+ clearFilter: 'Effacer le filtre',
10
+ clearSearch: 'Effacer la recherche',
11
+ clearSort: 'Effacer le tri',
12
+ clickToCopy: 'Cliquer pour copier',
13
+ columnActions: 'Actions de colonne',
14
+ copiedToClipboard: 'Copié dans le presse-papier',
15
+ dropToGroupBy: 'Déposer pour grouper par {column}',
16
+ edit: 'Editer',
17
+ expand: 'Développer',
18
+ expandAll: 'Tout développer',
19
+ filterArrIncludes: 'Inclure',
20
+ filterArrIncludesAll: 'Tout inclure',
21
+ filterArrIncludesSome: 'Inclure',
22
+ filterBetween: 'Entre',
23
+ filterBetweenInclusive: 'Entre inclus',
24
+ filterByColumn: 'Filtrer par {column}',
25
+ filterContains: 'Contient',
26
+ filterEmpty: 'Vide',
27
+ filterEndsWith: 'Se termine par',
28
+ filterEquals: 'Egale',
29
+ filterEqualsString: 'Egale',
30
+ filterFuzzy: 'Flou',
31
+ filterGreaterThan: 'Plus grand que',
32
+ filterGreaterThanOrEqualTo: 'Plus grand que ou égale à',
33
+ filterInNumberRange: 'Entre',
34
+ filterIncludesString: 'Contient',
35
+ filterIncludesStringSensitive: 'Contient',
36
+ filterLessThan: 'Plus petit que',
37
+ filterLessThanOrEqualTo: 'Plus petit que ou égale à',
38
+ filterMode: 'Mode filtre: {filterType}',
39
+ filterNotEmpty: 'Pas vide',
40
+ filterNotEquals: 'Pas égal',
41
+ filterStartsWith: 'Commence avec',
42
+ filterWeakEquals: 'Egale',
43
+ filteringByColumn: 'Filtrage par {column} - {filterType} {filterValue}',
44
+ goToFirstPage: 'Aller à la première page',
45
+ goToLastPage: 'Aller à la dernière page',
46
+ goToNextPage: 'Aller à la page suivante',
47
+ goToPreviousPage: 'Aller à la page précédente',
48
+ grab: 'Saisir',
49
+ groupByColumn: 'Grouper par {column}',
50
+ groupedBy: 'Groupé par ',
51
+ hideAll: 'Cacher tout',
52
+ hideColumn: 'Cacher {column} colonne',
53
+ max: 'Max',
54
+ min: 'Min',
55
+ move: 'Déplacer',
56
+ noRecordsToDisplay: 'Aucun enregistrement à afficher',
57
+ noResultsFound: 'Aucun résultat trouvé',
58
+ of: 'de',
59
+ or: 'ou',
60
+ pinToLeft: 'Épingler à gauche',
61
+ pinToRight: 'Épingler à droite',
62
+ resetColumnSize: 'Réinitialiser la taille de la colonne',
63
+ resetOrder: "Réinitialiser l'ordre",
64
+ rowActions: 'Actions de ligne',
65
+ rowNumber: '#',
66
+ rowNumbers: 'Numéros de ligne',
67
+ rowsPerPage: 'Lignes par page',
68
+ save: 'Sauvegarder',
69
+ search: 'Rechercher',
70
+ selectedCountOfRowCountRowsSelected:
71
+ '{selectedCount} de {rowCount} ligne(s) sélectionnée(s)',
72
+ select: 'Sélectionner',
73
+ showAll: 'Afficher tous',
74
+ showAllColumns: 'Afficher toutes les colonnes',
75
+ showHideColumns: 'Afficher/Masquer les colonnes',
76
+ showHideFilters: 'Afficher/Masquer les filtres',
77
+ showHideSearch: 'Afficher/Masquer la recherche',
78
+ sortByColumnAsc: 'Trier par {column} croissant',
79
+ sortByColumnDesc: 'Trier par {column} décroissant',
80
+ sortedByColumnAsc: 'Trié par {column} croissant',
81
+ sortedByColumnDesc: 'Trié par {column} décroissant',
82
+ thenBy: ', puis par ',
83
+ toggleDensity: 'Changer la densité',
84
+ toggleFullScreen: 'Passer en plein écran',
85
+ toggleSelectAll: 'Basculer tout sélectionner',
86
+ toggleSelectRow: 'Basculer la sélection de ligne',
87
+ toggleVisibility: 'Basculer la visibilité',
88
+ ungroupByColumn: 'Dissocier par {column}',
89
+ unpin: 'Détacher',
90
+ unpinAll: 'Tout détacher',
91
+ unsorted: 'Non trié',
92
+ };
@@ -1,4 +1,4 @@
1
- import { MRT_Localization } from '../MaterialReactTable';
1
+ import type { MRT_Localization } from '../MaterialReactTable';
2
2
 
3
3
  export const MRT_Localization_IT: MRT_Localization = {
4
4
  actions: 'Azioni',
@@ -1,4 +1,4 @@
1
- import { MRT_Localization } from '../MaterialReactTable';
1
+ import type { MRT_Localization } from '../MaterialReactTable';
2
2
 
3
3
  export const MRT_Localization_JA: MRT_Localization = {
4
4
  actions: '操作',
@@ -1,4 +1,4 @@
1
- import { MRT_Localization } from '../MaterialReactTable';
1
+ import type { MRT_Localization } from '../MaterialReactTable';
2
2
 
3
3
  export const MRT_Localization_PL: MRT_Localization = {
4
4
  actions: 'Akcje',
@@ -1,4 +1,4 @@
1
- import { MRT_Localization } from '../MaterialReactTable';
1
+ import type { MRT_Localization } from '../MaterialReactTable';
2
2
 
3
3
  export const MRT_Localization_PT_BR: MRT_Localization = {
4
4
  actions: 'Ações',
@@ -1,4 +1,4 @@
1
- import { MRT_Localization } from '../MaterialReactTable';
1
+ import type { MRT_Localization } from '../MaterialReactTable';
2
2
 
3
3
  export const MRT_Localization_PT: MRT_Localization = {
4
4
  actions: 'Ações',
@@ -1,4 +1,4 @@
1
- import { MRT_Localization } from '../MaterialReactTable';
1
+ import type { MRT_Localization } from '../MaterialReactTable';
2
2
 
3
3
  export const MRT_Localization_RU: MRT_Localization = {
4
4
  actions: 'Действия',
@@ -1,92 +1,92 @@
1
- import { MRT_Localization } from "../MaterialReactTable";
1
+ import type { MRT_Localization } from '../MaterialReactTable';
2
2
 
3
3
  export const MRT_Localization_TR: MRT_Localization = {
4
- actions: "İşlemler",
5
- and: "ve",
6
- cancel: "İptal",
7
- changeFilterMode: "Filtre Modunu Değiştir",
8
- changeSearchMode: "Arama Modunu Değiştir",
9
- clearFilter: "Filtreyi Temizle",
10
- clearSearch: "Aramayı Temizle",
11
- clearSort: "Sıralamayı Sıfırla",
12
- clickToCopy: "Kopyala",
13
- columnActions: "Sütun İşlemleri",
14
- copiedToClipboard: "Panoya Kopyalandı",
15
- dropToGroupBy: "{column} İle Gruplandırmak İçin Bırakın",
16
- edit: "Düzenle",
17
- expand: "Genişlet",
18
- expandAll: "Tümünü Genişlet",
19
- filterArrIncludes: "Dahil Et",
20
- filterArrIncludesAll: "Tümünü Dahil Et",
21
- filterArrIncludesSome: "İçerir",
22
- filterBetween: "Arasında",
23
- filterBetweenInclusive: "Dahil Arasında",
24
- filterByColumn: "{column} Filtresi",
25
- filterContains: "İçerir",
26
- filterEmpty: "Boş",
27
- filterEndsWith: "Sonu",
28
- filterEquals: "Eşit",
29
- filterEqualsString: "Eşit",
30
- filterFuzzy: "Yaklaşık",
31
- filterGreaterThan: "Büyüktür",
32
- filterGreaterThanOrEqualTo: "Büyük Eşittir",
33
- filterInNumberRange: "Arasında",
34
- filterIncludesString: "İçerir",
35
- filterIncludesStringSensitive: "İçerir",
36
- filterLessThan: "Küçüktür",
37
- filterLessThanOrEqualTo: "Küçük Eşittir",
38
- filterMode: "Filtre Modu: {filterType}",
39
- filterNotEmpty: "Boş Değil",
40
- filterNotEquals: "Eşit Değil",
41
- filterStartsWith: "Başı",
42
- filterWeakEquals: "Eşittir",
43
- filteringByColumn: "Filtre Modu - {filterType} {filterValue}",
44
- goToFirstPage: "İlk Sayfaya Git",
45
- goToLastPage: "Son Sayfaya Git",
46
- goToNextPage: "Sonraki Sayfaya Git",
47
- goToPreviousPage: "Önceki Sayfaya Git",
48
- grab: "Yakala",
4
+ actions: 'İşlemler',
5
+ and: 've',
6
+ cancel: 'İptal',
7
+ changeFilterMode: 'Filtre Modunu Değiştir',
8
+ changeSearchMode: 'Arama Modunu Değiştir',
9
+ clearFilter: 'Filtreyi Temizle',
10
+ clearSearch: 'Aramayı Temizle',
11
+ clearSort: 'Sıralamayı Sıfırla',
12
+ clickToCopy: 'Kopyala',
13
+ columnActions: 'Sütun İşlemleri',
14
+ copiedToClipboard: 'Panoya Kopyalandı',
15
+ dropToGroupBy: '{column} İle Gruplandırmak İçin Bırakın',
16
+ edit: 'Düzenle',
17
+ expand: 'Genişlet',
18
+ expandAll: 'Tümünü Genişlet',
19
+ filterArrIncludes: 'Dahil Et',
20
+ filterArrIncludesAll: 'Tümünü Dahil Et',
21
+ filterArrIncludesSome: 'İçerir',
22
+ filterBetween: 'Arasında',
23
+ filterBetweenInclusive: 'Dahil Arasında',
24
+ filterByColumn: '{column} Filtresi',
25
+ filterContains: 'İçerir',
26
+ filterEmpty: 'Boş',
27
+ filterEndsWith: 'Sonu',
28
+ filterEquals: 'Eşit',
29
+ filterEqualsString: 'Eşit',
30
+ filterFuzzy: 'Yaklaşık',
31
+ filterGreaterThan: 'Büyüktür',
32
+ filterGreaterThanOrEqualTo: 'Büyük Eşittir',
33
+ filterInNumberRange: 'Arasında',
34
+ filterIncludesString: 'İçerir',
35
+ filterIncludesStringSensitive: 'İçerir',
36
+ filterLessThan: 'Küçüktür',
37
+ filterLessThanOrEqualTo: 'Küçük Eşittir',
38
+ filterMode: 'Filtre Modu: {filterType}',
39
+ filterNotEmpty: 'Boş Değil',
40
+ filterNotEquals: 'Eşit Değil',
41
+ filterStartsWith: 'Başı',
42
+ filterWeakEquals: 'Eşittir',
43
+ filteringByColumn: 'Filtre Modu - {filterType} {filterValue}',
44
+ goToFirstPage: 'İlk Sayfaya Git',
45
+ goToLastPage: 'Son Sayfaya Git',
46
+ goToNextPage: 'Sonraki Sayfaya Git',
47
+ goToPreviousPage: 'Önceki Sayfaya Git',
48
+ grab: 'Yakala',
49
49
  groupByColumn: "{column}'a Göre Gruplandır",
50
- groupedBy: "Gruplandı ",
51
- hideAll: "Tümünü Gizle",
52
- hideColumn: "{column} Sütununu Gizle",
53
- max: "Azami",
54
- min: "Asgari",
55
- move: "Taşı",
56
- noRecordsToDisplay: "Gösterilecek Kayıt Yok",
57
- noResultsFound: "Herhangi Bir Sonuç Bulunamadı",
58
- of: "of",
59
- or: "veya",
60
- pinToLeft: "Sola Sabitle",
61
- pinToRight: "Sağa Sabitle",
62
- resetColumnSize: "Sütun Boyutunu Sıfırla",
63
- resetOrder: "Sırayı Temizle",
64
- rowActions: "Satır İşlemleri",
65
- rowNumber: "#",
66
- rowNumbers: "Satır Sayısı",
67
- rowsPerPage: "Sayfa Başına Satır",
68
- save: "Kaydet",
69
- search: "Ara",
50
+ groupedBy: 'Gruplandı ',
51
+ hideAll: 'Tümünü Gizle',
52
+ hideColumn: '{column} Sütununu Gizle',
53
+ max: 'Azami',
54
+ min: 'Asgari',
55
+ move: 'Taşı',
56
+ noRecordsToDisplay: 'Gösterilecek Kayıt Yok',
57
+ noResultsFound: 'Herhangi Bir Sonuç Bulunamadı',
58
+ of: 'of',
59
+ or: 'veya',
60
+ pinToLeft: 'Sola Sabitle',
61
+ pinToRight: 'Sağa Sabitle',
62
+ resetColumnSize: 'Sütun Boyutunu Sıfırla',
63
+ resetOrder: 'Sırayı Temizle',
64
+ rowActions: 'Satır İşlemleri',
65
+ rowNumber: '#',
66
+ rowNumbers: 'Satır Sayısı',
67
+ rowsPerPage: 'Sayfa Başına Satır',
68
+ save: 'Kaydet',
69
+ search: 'Ara',
70
70
  selectedCountOfRowCountRowsSelected:
71
- "{rowCount} Satır Arasından {selectedCount} Adet Seçildi",
72
- select: "Seç",
73
- showAll: "Tümünü Göster",
74
- showAllColumns: "Bütün Sütunları Göster",
75
- showHideColumns: "Sütunları Göster/Gizle",
76
- showHideFilters: "Filtreleri Göster/Gizle",
77
- showHideSearch: "Aramayı Göster/Gizle",
78
- sortByColumnAsc: "Artan Şekilde Sırala",
79
- sortByColumnDesc: "Azalan Şekilde Sırala",
80
- sortedByColumnAsc: "Artan Şekilde Sıralandı",
81
- sortedByColumnDesc: "Azalan Şekilde Sıralandı",
82
- thenBy: ", sonra ",
83
- toggleDensity: "Sıklığı Değiştir",
84
- toggleFullScreen: "Tam Ekranı Değiştir",
85
- toggleSelectAll: "Tümünü Seç",
86
- toggleSelectRow: "Satır Seç",
87
- toggleVisibility: "Görünürlüğü Değiştir",
88
- ungroupByColumn: "{column} Sütununu Çöz",
89
- unpin: "Çöz",
90
- unpinAll: "Tümünü Çöz",
91
- unsorted: "Sıralanmadı",
71
+ '{rowCount} Satır Arasından {selectedCount} Adet Seçildi',
72
+ select: 'Seç',
73
+ showAll: 'Tümünü Göster',
74
+ showAllColumns: 'Bütün Sütunları Göster',
75
+ showHideColumns: 'Sütunları Göster/Gizle',
76
+ showHideFilters: 'Filtreleri Göster/Gizle',
77
+ showHideSearch: 'Aramayı Göster/Gizle',
78
+ sortByColumnAsc: 'Artan Şekilde Sırala',
79
+ sortByColumnDesc: 'Azalan Şekilde Sırala',
80
+ sortedByColumnAsc: 'Artan Şekilde Sıralandı',
81
+ sortedByColumnDesc: 'Azalan Şekilde Sıralandı',
82
+ thenBy: ', sonra ',
83
+ toggleDensity: 'Sıklığı Değiştir',
84
+ toggleFullScreen: 'Tam Ekranı Değiştir',
85
+ toggleSelectAll: 'Tümünü Seç',
86
+ toggleSelectRow: 'Satır Seç',
87
+ toggleVisibility: 'Görünürlüğü Değiştir',
88
+ ungroupByColumn: '{column} Sütununu Çöz',
89
+ unpin: 'Çöz',
90
+ unpinAll: 'Tümünü Çöz',
91
+ unsorted: 'Sıralanmadı',
92
92
  };
@@ -1 +1,92 @@
1
- //Not supported yet, but if you want to help, copy en.ts file contents here and translate, then make a PR
1
+ import type { MRT_Localization } from '../MaterialReactTable';
2
+
3
+ export const MRT_Localization_VI: MRT_Localization = {
4
+ actions: 'Thao tác',
5
+ and: 'và',
6
+ cancel: 'Huỷ bỏ',
7
+ changeFilterMode: 'Thay đổi chế độ lọc',
8
+ changeSearchMode: 'Thay đổi chế độ tìm kiếm',
9
+ clearFilter: 'Xoá bộ lọc',
10
+ clearSearch: 'Xoá ô tìm kiếm',
11
+ clearSort: 'Huỷ sắp xếp',
12
+ clickToCopy: 'Nhấn vào để sao chép',
13
+ columnActions: 'Lựa chọn',
14
+ copiedToClipboard: 'Sao chép vào bảng tạm',
15
+ dropToGroupBy: 'Gộp dữ liệu theo {column}',
16
+ edit: 'Chỉnh sửa',
17
+ expand: 'Mở rộng',
18
+ expandAll: 'Mở rộng tất cả',
19
+ filterArrIncludes: 'Bao gồm',
20
+ filterArrIncludesAll: 'Bao gồm tất cả',
21
+ filterArrIncludesSome: 'Bao gồm',
22
+ filterBetween: 'Trong khoảng',
23
+ filterBetweenInclusive: 'Trong khoảng và bao gồm',
24
+ filterByColumn: 'Lọc kết quả theo {column}',
25
+ filterContains: 'Bao gồm',
26
+ filterEmpty: 'Trống',
27
+ filterEndsWith: 'Kết thúc với',
28
+ filterEquals: 'Bằng',
29
+ filterEqualsString: 'Bẳng',
30
+ filterFuzzy: 'Xấp xỉ',
31
+ filterGreaterThan: 'Lớn hơn',
32
+ filterGreaterThanOrEqualTo: 'Lớn hơn hoặc bằng',
33
+ filterInNumberRange: 'Trong khoảng',
34
+ filterIncludesString: 'Bao gồm',
35
+ filterIncludesStringSensitive: 'Bao gồm',
36
+ filterLessThan: 'Bé hớn',
37
+ filterLessThanOrEqualTo: 'Bé hơn hoặc bằng',
38
+ filterMode: 'Chế độ lọc: {filterType}',
39
+ filterNotEmpty: 'Có giá trị',
40
+ filterNotEquals: 'Khác',
41
+ filterStartsWith: 'Bắt đầu bằng',
42
+ filterWeakEquals: 'Bằng',
43
+ filteringByColumn: 'Lọc các kết quả có {column} - {filterType} {filterValue}',
44
+ goToFirstPage: 'Tới trang đầu',
45
+ goToLastPage: 'Tới trang cuối',
46
+ goToNextPage: 'Tới trang tiếp theo',
47
+ goToPreviousPage: 'Tới trang trước',
48
+ grab: 'Grab',
49
+ groupByColumn: 'Nhóm dữ liệu theo {column}',
50
+ groupedBy: 'Nhóm dữ liệu theo ',
51
+ hideAll: 'Ẩn tất cả',
52
+ hideColumn: 'Ẩn cột {column}',
53
+ max: 'Đến',
54
+ min: 'Từ',
55
+ move: 'Di chuyển',
56
+ noRecordsToDisplay: 'Không có dữ liệu',
57
+ noResultsFound: 'Không có kết quả nào được tìm thấy',
58
+ of: 'trên',
59
+ or: 'hoặc',
60
+ pinToLeft: 'Ghim sang trái',
61
+ pinToRight: 'Ghim sang phải',
62
+ resetColumnSize: 'Đặt lại kích thước cột',
63
+ resetOrder: 'Đặt lại thứ tự cột',
64
+ rowActions: 'Thao tác',
65
+ rowNumber: '#',
66
+ rowNumbers: 'Số hàng',
67
+ rowsPerPage: 'Số hàng/trang',
68
+ save: 'Lưu',
69
+ search: 'Tìm kiếm',
70
+ selectedCountOfRowCountRowsSelected:
71
+ '{selectedCount}/{rowCount} dòng đang được chọn',
72
+ select: 'Chọn',
73
+ showAll: 'Hiển thị tất cả',
74
+ showAllColumns: 'Hiện tất cả các cột',
75
+ showHideColumns: 'Ẩn/hiện cột',
76
+ showHideFilters: 'Ẩn/hiện bộ lọc',
77
+ showHideSearch: 'Ẩn/hiện thanh tìm kiếm',
78
+ sortByColumnAsc: 'Sắp xếp theo {column} (tăng dần)',
79
+ sortByColumnDesc: 'Sắp xếp theo {column} (giảm dần)',
80
+ sortedByColumnAsc: 'Dữ liệu đang được sắp xếp theo {column} (tăng dần)',
81
+ sortedByColumnDesc: 'Dữ liệu đang được sắp xếp theo {column} (giảm dần)',
82
+ thenBy: ', sau đó ',
83
+ toggleDensity: 'Thay đổi độ cao mỗi hàng',
84
+ toggleFullScreen: 'Hiển thị toàn màn hình',
85
+ toggleSelectAll: 'Chọn tất cả',
86
+ toggleSelectRow: 'Chọn hàng này',
87
+ toggleVisibility: 'Ẩn/hiện cột này',
88
+ ungroupByColumn: 'Bỏ nhóm dữ liệu theo {column}',
89
+ unpin: 'Bỏ ghim',
90
+ unpinAll: 'Bỏ ghim tất cả',
91
+ unsorted: 'Chưa được sắp xếp',
92
+ };
@@ -119,7 +119,7 @@ export const MRT_TableBody: FC<Props> = ({ table }) => {
119
119
 
120
120
  return (
121
121
  <TableBody {...tableBodyProps}>
122
- {!rows.length ? (
122
+ {tableBodyProps?.children ?? !rows.length ? (
123
123
  <tr>
124
124
  <td colSpan={table.getVisibleLeafColumns().length}>
125
125
  <Typography