@mui/x-data-grid 6.18.7 → 6.19.2

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.
Files changed (86) hide show
  1. package/CHANGELOG.md +106 -0
  2. package/components/GridPagination.d.ts +4 -4
  3. package/components/GridRow.js +0 -1
  4. package/components/base/GridOverlays.js +0 -2
  5. package/components/cell/GridActionsCell.js +0 -1
  6. package/components/cell/GridActionsCellItem.d.ts +5 -5
  7. package/components/panel/GridPanel.d.ts +3 -3
  8. package/components/toolbar/GridToolbarQuickFilter.d.ts +4 -0
  9. package/components/toolbar/GridToolbarQuickFilter.js +4 -0
  10. package/components/virtualization/GridVirtualScroller.js +0 -1
  11. package/hooks/features/editing/useGridCellEditing.js +0 -2
  12. package/hooks/features/editing/useGridRowEditing.js +0 -1
  13. package/hooks/features/rows/gridRowsUtils.js +4 -1
  14. package/hooks/features/rows/useGridRowsMeta.js +0 -1
  15. package/hooks/features/virtualization/useGridVirtualScroller.js +0 -1
  16. package/index.js +1 -1
  17. package/legacy/colDef/gridDefaultColumnTypes.js +2 -3
  18. package/legacy/components/GridPagination.js +3 -4
  19. package/legacy/components/GridRow.js +0 -1
  20. package/legacy/components/base/GridOverlays.js +0 -2
  21. package/legacy/components/cell/GridActionsCell.js +0 -1
  22. package/legacy/components/columnHeaders/GridColumnHeadersInner.js +4 -5
  23. package/legacy/components/containers/GridRootStyles.js +69 -70
  24. package/legacy/components/toolbar/GridToolbarQuickFilter.js +8 -5
  25. package/legacy/components/virtualization/GridVirtualScroller.js +0 -1
  26. package/legacy/hooks/features/editing/useGridCellEditing.js +0 -2
  27. package/legacy/hooks/features/editing/useGridRowEditing.js +0 -1
  28. package/legacy/hooks/features/rows/gridRowsUtils.js +4 -1
  29. package/legacy/hooks/features/rows/useGridParamsApi.js +4 -5
  30. package/legacy/hooks/features/rows/useGridRowsMeta.js +0 -1
  31. package/legacy/hooks/features/virtualization/useGridVirtualScroller.js +0 -1
  32. package/legacy/index.js +1 -1
  33. package/legacy/locales/coreLocales.js +1 -0
  34. package/legacy/locales/hrHR.js +161 -0
  35. package/legacy/locales/index.js +4 -1
  36. package/legacy/locales/plPL.js +0 -1
  37. package/legacy/locales/ptPT.js +161 -0
  38. package/legacy/locales/zhHK.js +161 -0
  39. package/legacy/utils/utils.js +0 -1
  40. package/locales/coreLocales.js +1 -0
  41. package/locales/hrHR.d.ts +1 -0
  42. package/locales/hrHR.js +149 -0
  43. package/locales/index.d.ts +3 -0
  44. package/locales/index.js +4 -1
  45. package/locales/plPL.js +0 -1
  46. package/locales/ptPT.d.ts +1 -0
  47. package/locales/ptPT.js +149 -0
  48. package/locales/zhHK.d.ts +1 -0
  49. package/locales/zhHK.js +149 -0
  50. package/modern/components/GridRow.js +0 -1
  51. package/modern/components/base/GridOverlays.js +0 -2
  52. package/modern/components/cell/GridActionsCell.js +0 -1
  53. package/modern/components/toolbar/GridToolbarQuickFilter.js +4 -0
  54. package/modern/components/virtualization/GridVirtualScroller.js +0 -1
  55. package/modern/hooks/features/editing/useGridCellEditing.js +0 -2
  56. package/modern/hooks/features/editing/useGridRowEditing.js +0 -1
  57. package/modern/hooks/features/rows/gridRowsUtils.js +4 -1
  58. package/modern/hooks/features/rows/useGridRowsMeta.js +0 -1
  59. package/modern/hooks/features/virtualization/useGridVirtualScroller.js +0 -1
  60. package/modern/index.js +1 -1
  61. package/modern/locales/coreLocales.js +1 -0
  62. package/modern/locales/hrHR.js +149 -0
  63. package/modern/locales/index.js +4 -1
  64. package/modern/locales/plPL.js +0 -1
  65. package/modern/locales/ptPT.js +149 -0
  66. package/modern/locales/zhHK.js +149 -0
  67. package/modern/utils/utils.js +0 -1
  68. package/node/components/GridRow.js +0 -1
  69. package/node/components/base/GridOverlays.js +0 -2
  70. package/node/components/cell/GridActionsCell.js +0 -1
  71. package/node/components/toolbar/GridToolbarQuickFilter.js +4 -0
  72. package/node/components/virtualization/GridVirtualScroller.js +0 -1
  73. package/node/hooks/features/editing/useGridCellEditing.js +0 -2
  74. package/node/hooks/features/editing/useGridRowEditing.js +0 -1
  75. package/node/hooks/features/rows/gridRowsUtils.js +4 -1
  76. package/node/hooks/features/rows/useGridRowsMeta.js +0 -1
  77. package/node/hooks/features/virtualization/useGridVirtualScroller.js +0 -1
  78. package/node/index.js +1 -1
  79. package/node/locales/hrHR.js +155 -0
  80. package/node/locales/index.js +33 -0
  81. package/node/locales/plPL.js +0 -1
  82. package/node/locales/ptPT.js +155 -0
  83. package/node/locales/zhHK.js +155 -0
  84. package/node/utils/utils.js +0 -1
  85. package/package.json +1 -1
  86. package/utils/utils.js +0 -1
@@ -0,0 +1,161 @@
1
+ import { hrHR as hrHRCore } from '@mui/material/locale';
2
+ import { getGridLocalization } from '../utils/getGridLocalization';
3
+ var hrHRGrid = {
4
+ // Root
5
+ noRowsLabel: 'Nema redova',
6
+ noResultsOverlayLabel: 'Nema rezultata.',
7
+ // Density selector toolbar button text
8
+ toolbarDensity: 'Gustoća',
9
+ toolbarDensityLabel: 'Gustoća',
10
+ toolbarDensityCompact: 'Kompaktan',
11
+ toolbarDensityStandard: 'Standard',
12
+ toolbarDensityComfortable: 'Udobno',
13
+ // Columns selector toolbar button text
14
+ toolbarColumns: 'Stupci',
15
+ toolbarColumnsLabel: 'Odaberite stupce',
16
+ // Filters toolbar button text
17
+ toolbarFilters: 'Filteri',
18
+ toolbarFiltersLabel: 'Prikaži filtre',
19
+ toolbarFiltersTooltipHide: 'Sakrij filtre',
20
+ toolbarFiltersTooltipShow: 'Prikaži filtre',
21
+ toolbarFiltersTooltipActive: function toolbarFiltersTooltipActive(count) {
22
+ return count !== 1 ? "".concat(count, " aktivnih filtara") : "".concat(count, " aktivni filter");
23
+ },
24
+ // Quick filter toolbar field
25
+ toolbarQuickFilterPlaceholder: 'Traži…',
26
+ toolbarQuickFilterLabel: 'traži',
27
+ toolbarQuickFilterDeleteIconLabel: 'Čisto',
28
+ // Export selector toolbar button text
29
+ toolbarExport: 'Izvoz',
30
+ toolbarExportLabel: 'Izvoz',
31
+ toolbarExportCSV: 'Preuzmi kao CSV',
32
+ toolbarExportPrint: 'Ispis',
33
+ toolbarExportExcel: 'Preuzmite kao Excel',
34
+ // Columns panel text
35
+ columnsPanelTextFieldLabel: 'Pronađi stupac',
36
+ columnsPanelTextFieldPlaceholder: 'Naslov stupca',
37
+ columnsPanelDragIconLabel: 'Promijeni redoslijed stupca',
38
+ columnsPanelShowAllButton: 'Pokaži sve',
39
+ columnsPanelHideAllButton: 'Sakrij sve',
40
+ // Filter panel text
41
+ filterPanelAddFilter: 'Dodajte filter',
42
+ filterPanelRemoveAll: 'Ukloniti sve',
43
+ filterPanelDeleteIconLabel: 'Izbrisati',
44
+ filterPanelLogicOperator: 'Logički operator',
45
+ filterPanelOperator: 'Operater',
46
+ filterPanelOperatorAnd: 'I',
47
+ filterPanelOperatorOr: 'Ili',
48
+ filterPanelColumns: 'Stupci',
49
+ filterPanelInputLabel: 'Vrijednost',
50
+ filterPanelInputPlaceholder: 'Vrijednost filtra',
51
+ // Filter operators text
52
+ filterOperatorContains: 'sadrži',
53
+ filterOperatorEquals: 'jednaki',
54
+ filterOperatorStartsWith: 'počinje sa',
55
+ filterOperatorEndsWith: 'završava sa',
56
+ filterOperatorIs: 'je',
57
+ filterOperatorNot: 'nije',
58
+ filterOperatorAfter: 'je poslije',
59
+ filterOperatorOnOrAfter: 'je na ili poslije',
60
+ filterOperatorBefore: 'je prije',
61
+ filterOperatorOnOrBefore: 'je na ili prije',
62
+ filterOperatorIsEmpty: 'prazno je',
63
+ filterOperatorIsNotEmpty: 'nije prazna',
64
+ filterOperatorIsAnyOf: 'je bilo koji od',
65
+ 'filterOperator=': '=',
66
+ 'filterOperator!=': '!=',
67
+ 'filterOperator>': '>',
68
+ 'filterOperator>=': '>=',
69
+ 'filterOperator<': '<',
70
+ 'filterOperator<=': '<=',
71
+ // Header filter operators text
72
+ headerFilterOperatorContains: 'Sadrži',
73
+ headerFilterOperatorEquals: 'Jednako',
74
+ headerFilterOperatorStartsWith: 'Počinje sa',
75
+ headerFilterOperatorEndsWith: 'Završava s',
76
+ headerFilterOperatorIs: 'Je',
77
+ headerFilterOperatorNot: 'Nije',
78
+ headerFilterOperatorAfter: 'Je poslije',
79
+ headerFilterOperatorOnOrAfter: 'Je uključeno ili poslije',
80
+ headerFilterOperatorBefore: 'Je li prije',
81
+ headerFilterOperatorOnOrBefore: 'Uključeno je ili prije',
82
+ headerFilterOperatorIsEmpty: 'Prazno je',
83
+ headerFilterOperatorIsNotEmpty: 'Nije prazna',
84
+ headerFilterOperatorIsAnyOf: 'Je li bilo koji od',
85
+ 'headerFilterOperator=': 'Jednako',
86
+ 'headerFilterOperator!=': 'Nije jednako',
87
+ 'headerFilterOperator>': 'Veći od',
88
+ 'headerFilterOperator>=': 'Veće ili jednako',
89
+ 'headerFilterOperator<': 'Manje od',
90
+ 'headerFilterOperator<=': 'Manje od ili jednako',
91
+ // Filter values text
92
+ filterValueAny: 'bilo koji',
93
+ filterValueTrue: 'pravi',
94
+ filterValueFalse: 'lažno',
95
+ // Column menu text
96
+ columnMenuLabel: 'Jelovnik ',
97
+ columnMenuShowColumns: 'Prikaži stupce',
98
+ columnMenuManageColumns: 'Upravljanje stupcima',
99
+ columnMenuFilter: 'filtar',
100
+ columnMenuHideColumn: 'Sakrij stupac',
101
+ columnMenuUnsort: 'Poništi sortiranje',
102
+ columnMenuSortAsc: 'Poredaj uzlazno',
103
+ columnMenuSortDesc: 'Poredaj silaznim redom',
104
+ // Column header text
105
+ columnHeaderFiltersTooltipActive: function columnHeaderFiltersTooltipActive(count) {
106
+ return count !== 1 ? "".concat(count, " aktivnih filtara") : "".concat(count, " aktivni filter");
107
+ },
108
+ columnHeaderFiltersLabel: 'Prikaži filtre',
109
+ columnHeaderSortIconLabel: 'Vrsta',
110
+ // Rows selected footer text
111
+ footerRowSelected: function footerRowSelected(count) {
112
+ return count !== 1 ? "Odabrano je ".concat(count.toLocaleString(), " redaka") : "".concat(count.toLocaleString(), " redak odabran");
113
+ },
114
+ // Total row amount footer text
115
+ footerTotalRows: 'Ukupno redaka:',
116
+ // Total visible row amount footer text
117
+ footerTotalVisibleRows: function footerTotalVisibleRows(visibleCount, totalCount) {
118
+ return "".concat(visibleCount.toLocaleString(), " od ").concat(totalCount.toLocaleString());
119
+ },
120
+ // Checkbox selection text
121
+ checkboxSelectionHeaderName: 'Odabir potvrdnog okvira',
122
+ checkboxSelectionSelectAllRows: 'Odaberite sve retke',
123
+ checkboxSelectionUnselectAllRows: 'Poništi odabir svih redaka',
124
+ checkboxSelectionSelectRow: 'Odaberite red',
125
+ checkboxSelectionUnselectRow: 'Poništi odabir retka',
126
+ // Boolean cell text
127
+ booleanCellTrueLabel: 'Da',
128
+ booleanCellFalseLabel: 'Ne',
129
+ // Actions cell more text
130
+ actionsCellMore: 'više',
131
+ // Column pinning text
132
+ pinToLeft: 'Prikvači lijevo',
133
+ pinToRight: 'Prikvači desno',
134
+ unpin: 'Otkvači',
135
+ // Tree Data
136
+ treeDataGroupingHeaderName: 'Group',
137
+ treeDataExpand: 'vidjeti djecu',
138
+ treeDataCollapse: 'sakriti djecu',
139
+ // Grouping columns
140
+ groupingColumnHeaderName: 'Skupina',
141
+ groupColumn: function groupColumn(name) {
142
+ return "Grupiraj prema ".concat(name);
143
+ },
144
+ unGroupColumn: function unGroupColumn(name) {
145
+ return "Zaustavi grupiranje prema ".concat(name);
146
+ },
147
+ // Master/detail
148
+ detailPanelToggle: 'Prebacivanje ploče s detaljima',
149
+ expandDetailPanel: 'Proširiti',
150
+ collapseDetailPanel: 'Kolaps',
151
+ // Row reordering text
152
+ rowReorderingHeaderName: 'Promjena redoslijeda',
153
+ // Aggregation
154
+ aggregationMenuItemHeader: 'Agregacija',
155
+ aggregationFunctionLabelSum: 'iznos',
156
+ aggregationFunctionLabelAvg: 'prosj',
157
+ aggregationFunctionLabelMin: 'min',
158
+ aggregationFunctionLabelMax: 'max',
159
+ aggregationFunctionLabelSize: 'veličina'
160
+ };
161
+ export var hrHR = getGridLocalization(hrHRGrid, hrHRCore);
@@ -29,4 +29,7 @@ export * from './ukUA';
29
29
  export * from './urPK';
30
30
  export * from './viVN';
31
31
  export * from './zhCN';
32
- export * from './zhTW';
32
+ export * from './zhTW';
33
+ export * from './hrHR';
34
+ export * from './ptPT';
35
+ export * from './zhHK';
@@ -161,5 +161,4 @@ var plPLGrid = {
161
161
  // aggregationFunctionLabelMax: 'max',
162
162
  // aggregationFunctionLabelSize: 'size',
163
163
  };
164
-
165
164
  export var plPL = getGridLocalization(plPLGrid, plPLCore);
@@ -0,0 +1,161 @@
1
+ import { ptPT as ptPTCore } from '@mui/material/locale';
2
+ import { getGridLocalization } from '../utils/getGridLocalization';
3
+ var ptPTGrid = {
4
+ // Root
5
+ noRowsLabel: 'Nenhuma linha',
6
+ noResultsOverlayLabel: 'Nenhum resultado encontrado.',
7
+ // Density selector toolbar button text
8
+ toolbarDensity: 'Densidade',
9
+ toolbarDensityLabel: 'Densidade',
10
+ toolbarDensityCompact: 'Compactar',
11
+ toolbarDensityStandard: 'Padrão',
12
+ toolbarDensityComfortable: 'Confortável',
13
+ // Columns selector toolbar button text
14
+ toolbarColumns: 'Colunas',
15
+ toolbarColumnsLabel: 'Selecione colunas',
16
+ // Filters toolbar button text
17
+ toolbarFilters: 'Filtros',
18
+ toolbarFiltersLabel: 'Mostrar filtros',
19
+ toolbarFiltersTooltipHide: 'Ocultar filtros',
20
+ toolbarFiltersTooltipShow: 'Mostrar filtros',
21
+ toolbarFiltersTooltipActive: function toolbarFiltersTooltipActive(count) {
22
+ return count !== 1 ? "".concat(count, " filtros ativos") : "".concat(count, " filtro ativo");
23
+ },
24
+ // Quick filter toolbar field
25
+ toolbarQuickFilterPlaceholder: 'Procurar…',
26
+ toolbarQuickFilterLabel: 'Procurar',
27
+ toolbarQuickFilterDeleteIconLabel: 'Claro',
28
+ // Export selector toolbar button text
29
+ toolbarExport: 'Exportar',
30
+ toolbarExportLabel: 'Exportar',
31
+ toolbarExportCSV: 'Baixar como CSV',
32
+ toolbarExportPrint: 'Imprimir',
33
+ toolbarExportExcel: 'Baixe como Excel',
34
+ // Columns panel text
35
+ columnsPanelTextFieldLabel: 'Encontrar coluna',
36
+ columnsPanelTextFieldPlaceholder: 'Título da coluna',
37
+ columnsPanelDragIconLabel: 'Reordenar coluna',
38
+ columnsPanelShowAllButton: 'Mostre tudo',
39
+ columnsPanelHideAllButton: 'Esconda tudo',
40
+ // Filter panel text
41
+ filterPanelAddFilter: 'Adicionar filtro',
42
+ filterPanelRemoveAll: 'Deletar tudo',
43
+ filterPanelDeleteIconLabel: 'Excluir',
44
+ filterPanelLogicOperator: 'Operador lógico',
45
+ filterPanelOperator: 'Operador',
46
+ filterPanelOperatorAnd: 'E',
47
+ filterPanelOperatorOr: 'Ou',
48
+ filterPanelColumns: 'Colunas',
49
+ filterPanelInputLabel: 'Valor',
50
+ filterPanelInputPlaceholder: 'Valor do filtro',
51
+ // Filter operators text
52
+ filterOperatorContains: 'contém',
53
+ filterOperatorEquals: 'é igual a',
54
+ filterOperatorStartsWith: 'começa com',
55
+ filterOperatorEndsWith: 'termina com',
56
+ filterOperatorIs: 'é',
57
+ filterOperatorNot: 'não é',
58
+ filterOperatorAfter: 'está depois',
59
+ filterOperatorOnOrAfter: 'está ligado ou depois',
60
+ filterOperatorBefore: 'é antes',
61
+ filterOperatorOnOrBefore: 'está ligado ou antes',
62
+ filterOperatorIsEmpty: 'está vazia',
63
+ filterOperatorIsNotEmpty: 'não está vazio',
64
+ filterOperatorIsAnyOf: 'é qualquer um',
65
+ 'filterOperator=': '=',
66
+ 'filterOperator!=': '!=',
67
+ 'filterOperator>': '>',
68
+ 'filterOperator>=': '>=',
69
+ 'filterOperator<': '<',
70
+ 'filterOperator<=': '<=',
71
+ // Header filter operators text
72
+ headerFilterOperatorContains: 'Contém',
73
+ headerFilterOperatorEquals: 'É igual a',
74
+ headerFilterOperatorStartsWith: 'Começa com',
75
+ headerFilterOperatorEndsWith: 'Termina com',
76
+ headerFilterOperatorIs: 'É',
77
+ headerFilterOperatorNot: 'Não é',
78
+ headerFilterOperatorAfter: 'Está depois',
79
+ headerFilterOperatorOnOrAfter: 'Está ligado ou depois',
80
+ headerFilterOperatorBefore: 'É antes',
81
+ headerFilterOperatorOnOrBefore: 'Está ligado ou antes',
82
+ headerFilterOperatorIsEmpty: 'Está vazia',
83
+ headerFilterOperatorIsNotEmpty: 'Não está vazio',
84
+ headerFilterOperatorIsAnyOf: 'Algum',
85
+ 'headerFilterOperator=': 'É igual a',
86
+ 'headerFilterOperator!=': 'Não é igual',
87
+ 'headerFilterOperator>': 'Maior que',
88
+ 'headerFilterOperator>=': 'Melhor que ou igual a',
89
+ 'headerFilterOperator<': 'Menor que',
90
+ 'headerFilterOperator<=': 'Menos que ou igual a',
91
+ // Filter values text
92
+ filterValueAny: 'qualquer',
93
+ filterValueTrue: 'verdadeiro',
94
+ filterValueFalse: 'falso',
95
+ // Column menu text
96
+ columnMenuLabel: 'Cardápio',
97
+ columnMenuShowColumns: 'Mostrar colunas',
98
+ columnMenuManageColumns: 'Gerenciar colunas',
99
+ columnMenuFilter: 'Filtro',
100
+ columnMenuHideColumn: 'Ocultar coluna',
101
+ columnMenuUnsort: 'Desclassificar',
102
+ columnMenuSortAsc: 'Classificar por ordem crescente',
103
+ columnMenuSortDesc: 'Classificar por ordem decrescente',
104
+ // Column header text
105
+ columnHeaderFiltersTooltipActive: function columnHeaderFiltersTooltipActive(count) {
106
+ return count !== 1 ? "".concat(count, " filtros ativos") : "".concat(count, " filtro ativo");
107
+ },
108
+ columnHeaderFiltersLabel: 'Mostrar filtros',
109
+ columnHeaderSortIconLabel: 'Organizar',
110
+ // Rows selected footer text
111
+ footerRowSelected: function footerRowSelected(count) {
112
+ return count !== 1 ? "".concat(count.toLocaleString(), " linhas selecionadas") : "".concat(count.toLocaleString(), " linha selecionada");
113
+ },
114
+ // Total row amount footer text
115
+ footerTotalRows: 'Total de linhas:',
116
+ // Total visible row amount footer text
117
+ footerTotalVisibleRows: function footerTotalVisibleRows(visibleCount, totalCount) {
118
+ return "".concat(visibleCount.toLocaleString(), " de ").concat(totalCount.toLocaleString());
119
+ },
120
+ // Checkbox selection text
121
+ checkboxSelectionHeaderName: 'Seleção de caixa de seleção',
122
+ checkboxSelectionSelectAllRows: 'Selecione todas as linhas',
123
+ checkboxSelectionUnselectAllRows: 'Desmarque todas as linhas',
124
+ checkboxSelectionSelectRow: 'Selecione a linha',
125
+ checkboxSelectionUnselectRow: 'Desmarcar linha',
126
+ // Boolean cell text
127
+ booleanCellTrueLabel: 'sim',
128
+ booleanCellFalseLabel: 'não',
129
+ // Actions cell more text
130
+ actionsCellMore: 'mais',
131
+ // Column pinning text
132
+ pinToLeft: 'Fixar à esquerda',
133
+ pinToRight: 'Fixar à direita',
134
+ unpin: 'Liberar',
135
+ // Tree Data
136
+ treeDataGroupingHeaderName: 'Group',
137
+ treeDataExpand: 'veja crianças',
138
+ treeDataCollapse: 'esconder crianças',
139
+ // Grouping columns
140
+ groupingColumnHeaderName: 'Grupo',
141
+ groupColumn: function groupColumn(name) {
142
+ return "Agrupar por ".concat(name);
143
+ },
144
+ unGroupColumn: function unGroupColumn(name) {
145
+ return "Pare de agrupar por ".concat(name);
146
+ },
147
+ // Master/detail
148
+ detailPanelToggle: 'Alternar painel de detalhes',
149
+ expandDetailPanel: 'Expandir',
150
+ collapseDetailPanel: 'Colapso',
151
+ // Row reordering text
152
+ rowReorderingHeaderName: 'Reordenação de linhas',
153
+ // Aggregation
154
+ aggregationMenuItemHeader: 'Agregação',
155
+ aggregationFunctionLabelSum: 'soma',
156
+ aggregationFunctionLabelAvg: 'média',
157
+ aggregationFunctionLabelMin: 'min',
158
+ aggregationFunctionLabelMax: 'máx.',
159
+ aggregationFunctionLabelSize: 'tamanho'
160
+ };
161
+ export var ptPT = getGridLocalization(ptPTGrid, ptPTCore);
@@ -0,0 +1,161 @@
1
+ import { zhHK as zhHKCore } from '@mui/material/locale';
2
+ import { getGridLocalization } from '../utils/getGridLocalization';
3
+ var zhHKGrid = {
4
+ // Root
5
+ noRowsLabel: '沒有行',
6
+ noResultsOverlayLabel: '未找到結果。',
7
+ // Density selector toolbar button text
8
+ toolbarDensity: '密度',
9
+ toolbarDensityLabel: '密度',
10
+ toolbarDensityCompact: '袖珍的',
11
+ toolbarDensityStandard: '標準',
12
+ toolbarDensityComfortable: '舒服的',
13
+ // Columns selector toolbar button text
14
+ toolbarColumns: '列',
15
+ toolbarColumnsLabel: '選擇列',
16
+ // Filters toolbar button text
17
+ toolbarFilters: '過濾器',
18
+ toolbarFiltersLabel: '顯示過濾器',
19
+ toolbarFiltersTooltipHide: '隱藏過濾器',
20
+ toolbarFiltersTooltipShow: '顯示過濾器',
21
+ toolbarFiltersTooltipActive: function toolbarFiltersTooltipActive(count) {
22
+ return count !== 1 ? "".concat(count, " \u500B\u6709\u6548\u904E\u6FFE\u5668") : "".concat(count, " \u500B\u6D3B\u52D5\u904E\u6FFE\u5668");
23
+ },
24
+ // Quick filter toolbar field
25
+ toolbarQuickFilterPlaceholder: '搜尋…',
26
+ toolbarQuickFilterLabel: '搜尋',
27
+ toolbarQuickFilterDeleteIconLabel: '清除',
28
+ // Export selector toolbar button text
29
+ toolbarExport: '出口',
30
+ toolbarExportLabel: '出口',
31
+ toolbarExportCSV: '下載為 CSV',
32
+ toolbarExportPrint: '列印',
33
+ toolbarExportExcel: '下載為 Excel',
34
+ // Columns panel text
35
+ columnsPanelTextFieldLabel: '查找欄目',
36
+ columnsPanelTextFieldPlaceholder: '欄目標題',
37
+ columnsPanelDragIconLabel: '重新排序列',
38
+ columnsPanelShowAllButton: '顯示所有',
39
+ columnsPanelHideAllButton: '全部藏起來',
40
+ // Filter panel text
41
+ filterPanelAddFilter: '新增過濾器',
42
+ filterPanelRemoveAll: '移除所有',
43
+ filterPanelDeleteIconLabel: '刪除',
44
+ filterPanelLogicOperator: '邏輯運算符',
45
+ filterPanelOperator: '操作員',
46
+ filterPanelOperatorAnd: '和',
47
+ filterPanelOperatorOr: '或者',
48
+ filterPanelColumns: '列',
49
+ filterPanelInputLabel: '價值',
50
+ filterPanelInputPlaceholder: '過濾值',
51
+ // Filter operators text
52
+ filterOperatorContains: '包含',
53
+ filterOperatorEquals: '等於',
54
+ filterOperatorStartsWith: '以。。開始',
55
+ filterOperatorEndsWith: '以。。結束',
56
+ filterOperatorIs: '是',
57
+ filterOperatorNot: '不是',
58
+ filterOperatorAfter: '是在之後',
59
+ filterOperatorOnOrAfter: '是在或之後',
60
+ filterOperatorBefore: '是在之前',
61
+ filterOperatorOnOrBefore: '是在或之前',
62
+ filterOperatorIsEmpty: '是空的',
63
+ filterOperatorIsNotEmpty: '不為空',
64
+ filterOperatorIsAnyOf: '是以下任一個',
65
+ 'filterOperator=': '=',
66
+ 'filterOperator!=': '!=',
67
+ 'filterOperator>': '>',
68
+ 'filterOperator>=': '>=',
69
+ 'filterOperator<': '<',
70
+ 'filterOperator<=': '<=',
71
+ // Header filter operators text
72
+ headerFilterOperatorContains: '包含',
73
+ headerFilterOperatorEquals: '等於',
74
+ headerFilterOperatorStartsWith: '以。。開始',
75
+ headerFilterOperatorEndsWith: '以。。結束',
76
+ headerFilterOperatorIs: '是',
77
+ headerFilterOperatorNot: '不是',
78
+ headerFilterOperatorAfter: '是在之後',
79
+ headerFilterOperatorOnOrAfter: '是在或之後',
80
+ headerFilterOperatorBefore: '是之前',
81
+ headerFilterOperatorOnOrBefore: '是在或之前',
82
+ headerFilterOperatorIsEmpty: '是空的',
83
+ headerFilterOperatorIsNotEmpty: '不為空',
84
+ headerFilterOperatorIsAnyOf: '是以下任一個',
85
+ 'headerFilterOperator=': '等於',
86
+ 'headerFilterOperator!=': '不等於',
87
+ 'headerFilterOperator>': '比...更棒',
88
+ 'headerFilterOperator>=': '大於或等於',
89
+ 'headerFilterOperator<': '少於',
90
+ 'headerFilterOperator<=': '小於或等於',
91
+ // Filter values text
92
+ filterValueAny: '任何',
93
+ filterValueTrue: '真的',
94
+ filterValueFalse: '錯誤的',
95
+ // Column menu text
96
+ columnMenuLabel: '選單',
97
+ columnMenuShowColumns: '顯示欄目',
98
+ columnMenuManageColumns: '管理欄目',
99
+ columnMenuFilter: '篩選',
100
+ columnMenuHideColumn: '隱藏列',
101
+ columnMenuUnsort: '取消排序',
102
+ columnMenuSortAsc: '按升序排序',
103
+ columnMenuSortDesc: '按降序排序',
104
+ // Column header text
105
+ columnHeaderFiltersTooltipActive: function columnHeaderFiltersTooltipActive(count) {
106
+ return count !== 1 ? "".concat(count, " \u500B\u6709\u6548\u904E\u6FFE\u5668") : "".concat(count, " \u500B\u6D3B\u52D5\u904E\u6FFE\u5668");
107
+ },
108
+ columnHeaderFiltersLabel: '顯示過濾器',
109
+ columnHeaderSortIconLabel: '種類',
110
+ // Rows selected footer text
111
+ footerRowSelected: function footerRowSelected(count) {
112
+ return count !== 1 ? "\u5DF2\u9078\u64C7 ".concat(count.toLocaleString(), " \u884C") : "\u5DF2\u9078\u64C7 ".concat(count.toLocaleString(), " \u884C");
113
+ },
114
+ // Total row amount footer text
115
+ footerTotalRows: '總行數:',
116
+ // Total visible row amount footer text
117
+ footerTotalVisibleRows: function footerTotalVisibleRows(visibleCount, totalCount) {
118
+ return "".concat(totalCount.toLocaleString(), " \u7684 ").concat(visibleCount.toLocaleString());
119
+ },
120
+ // Checkbox selection text
121
+ checkboxSelectionHeaderName: '複選框選擇',
122
+ checkboxSelectionSelectAllRows: '選擇所有行',
123
+ checkboxSelectionUnselectAllRows: '取消選擇所有行',
124
+ checkboxSelectionSelectRow: '選擇行',
125
+ checkboxSelectionUnselectRow: '取消選擇行',
126
+ // Boolean cell text
127
+ booleanCellTrueLabel: '是的',
128
+ booleanCellFalseLabel: '不',
129
+ // Actions cell more text
130
+ actionsCellMore: '更多的',
131
+ // Column pinning text
132
+ pinToLeft: '固定到左側',
133
+ pinToRight: '固定到右側',
134
+ unpin: '取消固定',
135
+ // Tree Data
136
+ treeDataGroupingHeaderName: 'Group',
137
+ treeDataExpand: '看看孩子們',
138
+ treeDataCollapse: '隱藏孩子',
139
+ // Grouping columns
140
+ groupingColumnHeaderName: '團體',
141
+ groupColumn: function groupColumn(name) {
142
+ return "\u6309 ".concat(name, " \u5206\u7D44");
143
+ },
144
+ unGroupColumn: function unGroupColumn(name) {
145
+ return "\u505C\u6B62\u4EE5 ".concat(name, " \u5206\u7D44");
146
+ },
147
+ // Master/detail
148
+ detailPanelToggle: '詳細資訊面板切換',
149
+ expandDetailPanel: '擴張',
150
+ collapseDetailPanel: '坍塌',
151
+ // Row reordering text
152
+ rowReorderingHeaderName: '行重新排序',
153
+ // Aggregation
154
+ aggregationMenuItemHeader: '聚合',
155
+ aggregationFunctionLabelSum: '和',
156
+ aggregationFunctionLabelAvg: '平均',
157
+ aggregationFunctionLabelMin: '分分鐘',
158
+ aggregationFunctionLabelMax: '最大限度',
159
+ aggregationFunctionLabelSize: '尺寸'
160
+ };
161
+ export var zhHK = getGridLocalization(zhHKGrid, zhHKCore);
@@ -166,7 +166,6 @@ function mulberry32(a) {
166
166
  /* eslint-enable */
167
167
  };
168
168
  }
169
-
170
169
  export function randomNumberBetween(seed, min, max) {
171
170
  var random = mulberry32(seed);
172
171
  return function () {
@@ -3,6 +3,7 @@
3
3
  // This allows not to bump the minimal version of `@mui/material` in peerDependencies which results
4
4
  // in broader compatibility between the packages.
5
5
  // See https://github.com/mui/mui-x/pull/7646#issuecomment-1404605556 for additional context.
6
+
6
7
  export const beBYCore = {
7
8
  components: {
8
9
  MuiTablePagination: {
@@ -0,0 +1 @@
1
+ export declare const hrHR: import("../utils/getGridLocalization").Localization;
@@ -0,0 +1,149 @@
1
+ import { hrHR as hrHRCore } from '@mui/material/locale';
2
+ import { getGridLocalization } from '../utils/getGridLocalization';
3
+ const hrHRGrid = {
4
+ // Root
5
+ noRowsLabel: 'Nema redova',
6
+ noResultsOverlayLabel: 'Nema rezultata.',
7
+ // Density selector toolbar button text
8
+ toolbarDensity: 'Gustoća',
9
+ toolbarDensityLabel: 'Gustoća',
10
+ toolbarDensityCompact: 'Kompaktan',
11
+ toolbarDensityStandard: 'Standard',
12
+ toolbarDensityComfortable: 'Udobno',
13
+ // Columns selector toolbar button text
14
+ toolbarColumns: 'Stupci',
15
+ toolbarColumnsLabel: 'Odaberite stupce',
16
+ // Filters toolbar button text
17
+ toolbarFilters: 'Filteri',
18
+ toolbarFiltersLabel: 'Prikaži filtre',
19
+ toolbarFiltersTooltipHide: 'Sakrij filtre',
20
+ toolbarFiltersTooltipShow: 'Prikaži filtre',
21
+ toolbarFiltersTooltipActive: count => count !== 1 ? `${count} aktivnih filtara` : `${count} aktivni filter`,
22
+ // Quick filter toolbar field
23
+ toolbarQuickFilterPlaceholder: 'Traži…',
24
+ toolbarQuickFilterLabel: 'traži',
25
+ toolbarQuickFilterDeleteIconLabel: 'Čisto',
26
+ // Export selector toolbar button text
27
+ toolbarExport: 'Izvoz',
28
+ toolbarExportLabel: 'Izvoz',
29
+ toolbarExportCSV: 'Preuzmi kao CSV',
30
+ toolbarExportPrint: 'Ispis',
31
+ toolbarExportExcel: 'Preuzmite kao Excel',
32
+ // Columns panel text
33
+ columnsPanelTextFieldLabel: 'Pronađi stupac',
34
+ columnsPanelTextFieldPlaceholder: 'Naslov stupca',
35
+ columnsPanelDragIconLabel: 'Promijeni redoslijed stupca',
36
+ columnsPanelShowAllButton: 'Pokaži sve',
37
+ columnsPanelHideAllButton: 'Sakrij sve',
38
+ // Filter panel text
39
+ filterPanelAddFilter: 'Dodajte filter',
40
+ filterPanelRemoveAll: 'Ukloniti sve',
41
+ filterPanelDeleteIconLabel: 'Izbrisati',
42
+ filterPanelLogicOperator: 'Logički operator',
43
+ filterPanelOperator: 'Operater',
44
+ filterPanelOperatorAnd: 'I',
45
+ filterPanelOperatorOr: 'Ili',
46
+ filterPanelColumns: 'Stupci',
47
+ filterPanelInputLabel: 'Vrijednost',
48
+ filterPanelInputPlaceholder: 'Vrijednost filtra',
49
+ // Filter operators text
50
+ filterOperatorContains: 'sadrži',
51
+ filterOperatorEquals: 'jednaki',
52
+ filterOperatorStartsWith: 'počinje sa',
53
+ filterOperatorEndsWith: 'završava sa',
54
+ filterOperatorIs: 'je',
55
+ filterOperatorNot: 'nije',
56
+ filterOperatorAfter: 'je poslije',
57
+ filterOperatorOnOrAfter: 'je na ili poslije',
58
+ filterOperatorBefore: 'je prije',
59
+ filterOperatorOnOrBefore: 'je na ili prije',
60
+ filterOperatorIsEmpty: 'prazno je',
61
+ filterOperatorIsNotEmpty: 'nije prazna',
62
+ filterOperatorIsAnyOf: 'je bilo koji od',
63
+ 'filterOperator=': '=',
64
+ 'filterOperator!=': '!=',
65
+ 'filterOperator>': '>',
66
+ 'filterOperator>=': '>=',
67
+ 'filterOperator<': '<',
68
+ 'filterOperator<=': '<=',
69
+ // Header filter operators text
70
+ headerFilterOperatorContains: 'Sadrži',
71
+ headerFilterOperatorEquals: 'Jednako',
72
+ headerFilterOperatorStartsWith: 'Počinje sa',
73
+ headerFilterOperatorEndsWith: 'Završava s',
74
+ headerFilterOperatorIs: 'Je',
75
+ headerFilterOperatorNot: 'Nije',
76
+ headerFilterOperatorAfter: 'Je poslije',
77
+ headerFilterOperatorOnOrAfter: 'Je uključeno ili poslije',
78
+ headerFilterOperatorBefore: 'Je li prije',
79
+ headerFilterOperatorOnOrBefore: 'Uključeno je ili prije',
80
+ headerFilterOperatorIsEmpty: 'Prazno je',
81
+ headerFilterOperatorIsNotEmpty: 'Nije prazna',
82
+ headerFilterOperatorIsAnyOf: 'Je li bilo koji od',
83
+ 'headerFilterOperator=': 'Jednako',
84
+ 'headerFilterOperator!=': 'Nije jednako',
85
+ 'headerFilterOperator>': 'Veći od',
86
+ 'headerFilterOperator>=': 'Veće ili jednako',
87
+ 'headerFilterOperator<': 'Manje od',
88
+ 'headerFilterOperator<=': 'Manje od ili jednako',
89
+ // Filter values text
90
+ filterValueAny: 'bilo koji',
91
+ filterValueTrue: 'pravi',
92
+ filterValueFalse: 'lažno',
93
+ // Column menu text
94
+ columnMenuLabel: 'Jelovnik ',
95
+ columnMenuShowColumns: 'Prikaži stupce',
96
+ columnMenuManageColumns: 'Upravljanje stupcima',
97
+ columnMenuFilter: 'filtar',
98
+ columnMenuHideColumn: 'Sakrij stupac',
99
+ columnMenuUnsort: 'Poništi sortiranje',
100
+ columnMenuSortAsc: 'Poredaj uzlazno',
101
+ columnMenuSortDesc: 'Poredaj silaznim redom',
102
+ // Column header text
103
+ columnHeaderFiltersTooltipActive: count => count !== 1 ? `${count} aktivnih filtara` : `${count} aktivni filter`,
104
+ columnHeaderFiltersLabel: 'Prikaži filtre',
105
+ columnHeaderSortIconLabel: 'Vrsta',
106
+ // Rows selected footer text
107
+ footerRowSelected: count => count !== 1 ? `Odabrano je ${count.toLocaleString()} redaka` : `${count.toLocaleString()} redak odabran`,
108
+ // Total row amount footer text
109
+ footerTotalRows: 'Ukupno redaka:',
110
+ // Total visible row amount footer text
111
+ footerTotalVisibleRows: (visibleCount, totalCount) => `${visibleCount.toLocaleString()} od ${totalCount.toLocaleString()}`,
112
+ // Checkbox selection text
113
+ checkboxSelectionHeaderName: 'Odabir potvrdnog okvira',
114
+ checkboxSelectionSelectAllRows: 'Odaberite sve retke',
115
+ checkboxSelectionUnselectAllRows: 'Poništi odabir svih redaka',
116
+ checkboxSelectionSelectRow: 'Odaberite red',
117
+ checkboxSelectionUnselectRow: 'Poništi odabir retka',
118
+ // Boolean cell text
119
+ booleanCellTrueLabel: 'Da',
120
+ booleanCellFalseLabel: 'Ne',
121
+ // Actions cell more text
122
+ actionsCellMore: 'više',
123
+ // Column pinning text
124
+ pinToLeft: 'Prikvači lijevo',
125
+ pinToRight: 'Prikvači desno',
126
+ unpin: 'Otkvači',
127
+ // Tree Data
128
+ treeDataGroupingHeaderName: 'Group',
129
+ treeDataExpand: 'vidjeti djecu',
130
+ treeDataCollapse: 'sakriti djecu',
131
+ // Grouping columns
132
+ groupingColumnHeaderName: 'Skupina',
133
+ groupColumn: name => `Grupiraj prema ${name}`,
134
+ unGroupColumn: name => `Zaustavi grupiranje prema ${name}`,
135
+ // Master/detail
136
+ detailPanelToggle: 'Prebacivanje ploče s detaljima',
137
+ expandDetailPanel: 'Proširiti',
138
+ collapseDetailPanel: 'Kolaps',
139
+ // Row reordering text
140
+ rowReorderingHeaderName: 'Promjena redoslijeda',
141
+ // Aggregation
142
+ aggregationMenuItemHeader: 'Agregacija',
143
+ aggregationFunctionLabelSum: 'iznos',
144
+ aggregationFunctionLabelAvg: 'prosj',
145
+ aggregationFunctionLabelMin: 'min',
146
+ aggregationFunctionLabelMax: 'max',
147
+ aggregationFunctionLabelSize: 'veličina'
148
+ };
149
+ export const hrHR = getGridLocalization(hrHRGrid, hrHRCore);