@mui/x-data-grid 6.7.0 → 6.9.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.
Files changed (205) hide show
  1. package/CHANGELOG.md +145 -5541
  2. package/components/GridColumnHeaders.d.ts +2 -2
  3. package/components/GridColumnHeaders.js +3 -1
  4. package/components/GridPagination.d.ts +2 -2
  5. package/components/GridRow.d.ts +2 -2
  6. package/components/GridRow.js +33 -79
  7. package/components/cell/GridCell.d.ts +24 -15
  8. package/components/cell/GridCell.js +422 -45
  9. package/components/cell/GridEditInputCell.js +9 -9
  10. package/components/cell/index.d.ts +2 -1
  11. package/components/cell/index.js +1 -1
  12. package/components/containers/GridRootStyles.js +30 -16
  13. package/components/menu/columnMenu/GridColumnHeaderMenu.js +1 -1
  14. package/components/panel/GridPanel.d.ts +1 -1
  15. package/components/toolbar/GridToolbar.js +2 -2
  16. package/components/virtualization/GridVirtualScroller.js +4 -9
  17. package/components/virtualization/GridVirtualScrollerContent.js +11 -20
  18. package/constants/defaultGridSlotsComponents.js +6 -2
  19. package/hooks/core/useGridApiInitialization.js +4 -1
  20. package/hooks/core/useGridStateInitialization.js +2 -9
  21. package/hooks/features/clipboard/useGridClipboard.js +1 -4
  22. package/hooks/features/columnGrouping/gridColumnGroupsSelector.js +4 -4
  23. package/hooks/features/columnHeaders/useGridColumnHeaders.js +9 -3
  24. package/hooks/features/columns/gridColumnsSelector.js +7 -7
  25. package/hooks/features/dimensions/useGridDimensions.js +6 -12
  26. package/hooks/features/editing/useGridCellEditing.js +5 -3
  27. package/hooks/features/editing/useGridRowEditing.js +14 -6
  28. package/hooks/features/filter/gridFilterSelector.js +8 -8
  29. package/hooks/features/filter/gridFilterUtils.d.ts +4 -1
  30. package/hooks/features/filter/gridFilterUtils.js +19 -13
  31. package/hooks/features/filter/useGridFilter.js +2 -1
  32. package/hooks/features/focus/useGridFocus.js +9 -4
  33. package/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +2 -3
  34. package/hooks/features/pagination/gridPaginationSelector.js +4 -4
  35. package/hooks/features/rowSelection/gridRowSelectionSelector.js +3 -3
  36. package/hooks/features/rows/gridRowsSelector.js +3 -3
  37. package/hooks/features/rows/useGridParamsApi.d.ts +2 -0
  38. package/hooks/features/rows/useGridParamsApi.js +7 -15
  39. package/hooks/features/sorting/gridSortingSelector.js +3 -3
  40. package/hooks/features/virtualization/useGridVirtualScroller.d.ts +8 -816
  41. package/hooks/features/virtualization/useGridVirtualScroller.js +40 -38
  42. package/hooks/utils/index.d.ts +1 -1
  43. package/hooks/utils/index.js +1 -1
  44. package/hooks/utils/useGridSelector.d.ts +3 -1
  45. package/hooks/utils/useGridSelector.js +37 -6
  46. package/hooks/utils/useLazyRef.d.ts +2 -0
  47. package/hooks/utils/useLazyRef.js +9 -0
  48. package/hooks/utils/useOnMount.d.ts +2 -0
  49. package/hooks/utils/useOnMount.js +7 -0
  50. package/index.js +1 -1
  51. package/internals/index.d.ts +1 -1
  52. package/internals/index.js +1 -1
  53. package/legacy/components/GridColumnHeaders.js +3 -1
  54. package/legacy/components/GridRow.js +35 -79
  55. package/legacy/components/cell/GridCell.js +425 -46
  56. package/legacy/components/cell/GridEditInputCell.js +9 -9
  57. package/legacy/components/cell/index.js +1 -1
  58. package/legacy/components/containers/GridRootStyles.js +20 -17
  59. package/legacy/components/menu/columnMenu/GridColumnHeaderMenu.js +1 -1
  60. package/legacy/components/toolbar/GridToolbar.js +2 -2
  61. package/legacy/components/virtualization/GridVirtualScroller.js +4 -7
  62. package/legacy/components/virtualization/GridVirtualScrollerContent.js +10 -17
  63. package/legacy/constants/defaultGridSlotsComponents.js +6 -2
  64. package/legacy/hooks/core/useGridApiInitialization.js +4 -1
  65. package/legacy/hooks/core/useGridStateInitialization.js +2 -7
  66. package/legacy/hooks/features/clipboard/useGridClipboard.js +1 -4
  67. package/legacy/hooks/features/columnGrouping/gridColumnGroupsSelector.js +4 -4
  68. package/legacy/hooks/features/columnHeaders/useGridColumnHeaders.js +9 -3
  69. package/legacy/hooks/features/columns/gridColumnsSelector.js +7 -7
  70. package/legacy/hooks/features/dimensions/useGridDimensions.js +6 -12
  71. package/legacy/hooks/features/editing/useGridCellEditing.js +5 -3
  72. package/legacy/hooks/features/editing/useGridRowEditing.js +15 -7
  73. package/legacy/hooks/features/filter/gridFilterSelector.js +8 -8
  74. package/legacy/hooks/features/filter/gridFilterUtils.js +23 -19
  75. package/legacy/hooks/features/filter/useGridFilter.js +2 -1
  76. package/legacy/hooks/features/focus/useGridFocus.js +9 -4
  77. package/legacy/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +2 -3
  78. package/legacy/hooks/features/pagination/gridPaginationSelector.js +4 -4
  79. package/legacy/hooks/features/rowSelection/gridRowSelectionSelector.js +3 -3
  80. package/legacy/hooks/features/rows/gridRowsSelector.js +3 -3
  81. package/legacy/hooks/features/rows/useGridParamsApi.js +23 -15
  82. package/legacy/hooks/features/sorting/gridSortingSelector.js +3 -3
  83. package/legacy/hooks/features/virtualization/useGridVirtualScroller.js +38 -34
  84. package/legacy/hooks/utils/index.js +1 -1
  85. package/legacy/hooks/utils/useGridSelector.js +43 -5
  86. package/legacy/hooks/utils/useLazyRef.js +9 -0
  87. package/legacy/hooks/utils/useOnMount.js +7 -0
  88. package/legacy/index.js +1 -1
  89. package/legacy/internals/index.js +1 -1
  90. package/legacy/locales/elGR.js +70 -79
  91. package/legacy/locales/ptBR.js +12 -13
  92. package/legacy/utils/Store.js +34 -0
  93. package/legacy/utils/createSelector.js +74 -6
  94. package/legacy/utils/doesSupportPreventScroll.js +13 -0
  95. package/legacy/utils/fastMemo.js +5 -0
  96. package/legacy/utils/fastObjectShallowCompare.js +32 -0
  97. package/legacy/utils/keyboardUtils.js +4 -2
  98. package/locales/elGR.js +66 -79
  99. package/locales/ptBR.js +12 -13
  100. package/models/api/gridCoreApi.d.ts +6 -0
  101. package/models/colDef/gridColDef.d.ts +4 -3
  102. package/models/colDef/gridColType.d.ts +3 -1
  103. package/models/events/gridEventLookup.d.ts +3 -3
  104. package/modern/components/GridColumnHeaders.js +3 -1
  105. package/modern/components/GridRow.js +32 -79
  106. package/modern/components/cell/GridCell.js +421 -45
  107. package/modern/components/cell/GridEditInputCell.js +9 -9
  108. package/modern/components/cell/index.js +1 -1
  109. package/modern/components/containers/GridRootStyles.js +30 -16
  110. package/modern/components/menu/columnMenu/GridColumnHeaderMenu.js +1 -1
  111. package/modern/components/toolbar/GridToolbar.js +2 -2
  112. package/modern/components/virtualization/GridVirtualScroller.js +4 -9
  113. package/modern/components/virtualization/GridVirtualScrollerContent.js +10 -20
  114. package/modern/constants/defaultGridSlotsComponents.js +6 -2
  115. package/modern/hooks/core/useGridApiInitialization.js +4 -1
  116. package/modern/hooks/core/useGridStateInitialization.js +2 -9
  117. package/modern/hooks/features/clipboard/useGridClipboard.js +1 -4
  118. package/modern/hooks/features/columnGrouping/gridColumnGroupsSelector.js +4 -4
  119. package/modern/hooks/features/columnHeaders/useGridColumnHeaders.js +9 -3
  120. package/modern/hooks/features/columns/gridColumnsSelector.js +7 -7
  121. package/modern/hooks/features/dimensions/useGridDimensions.js +6 -12
  122. package/modern/hooks/features/editing/useGridCellEditing.js +5 -3
  123. package/modern/hooks/features/editing/useGridRowEditing.js +14 -6
  124. package/modern/hooks/features/filter/gridFilterSelector.js +8 -8
  125. package/modern/hooks/features/filter/gridFilterUtils.js +17 -12
  126. package/modern/hooks/features/filter/useGridFilter.js +2 -1
  127. package/modern/hooks/features/focus/useGridFocus.js +8 -4
  128. package/modern/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +2 -3
  129. package/modern/hooks/features/pagination/gridPaginationSelector.js +4 -4
  130. package/modern/hooks/features/rowSelection/gridRowSelectionSelector.js +3 -3
  131. package/modern/hooks/features/rows/gridRowsSelector.js +3 -3
  132. package/modern/hooks/features/rows/useGridParamsApi.js +7 -15
  133. package/modern/hooks/features/sorting/gridSortingSelector.js +3 -3
  134. package/modern/hooks/features/virtualization/useGridVirtualScroller.js +40 -38
  135. package/modern/hooks/utils/index.js +1 -1
  136. package/modern/hooks/utils/useGridSelector.js +37 -6
  137. package/modern/hooks/utils/useLazyRef.js +9 -0
  138. package/modern/hooks/utils/useOnMount.js +7 -0
  139. package/modern/index.js +1 -1
  140. package/modern/internals/index.js +1 -1
  141. package/modern/locales/elGR.js +66 -79
  142. package/modern/locales/ptBR.js +12 -13
  143. package/modern/utils/Store.js +24 -0
  144. package/modern/utils/createSelector.js +74 -6
  145. package/modern/utils/doesSupportPreventScroll.js +13 -0
  146. package/modern/utils/fastMemo.js +5 -0
  147. package/modern/utils/fastObjectShallowCompare.js +32 -0
  148. package/modern/utils/keyboardUtils.js +4 -2
  149. package/node/components/GridColumnHeaders.js +4 -2
  150. package/node/components/GridRow.js +32 -79
  151. package/node/components/cell/GridCell.js +424 -47
  152. package/node/components/cell/GridEditInputCell.js +9 -9
  153. package/node/components/cell/index.js +17 -10
  154. package/node/components/containers/GridRootStyles.js +30 -16
  155. package/node/components/menu/columnMenu/GridColumnHeaderMenu.js +1 -1
  156. package/node/components/toolbar/GridToolbar.js +2 -2
  157. package/node/components/virtualization/GridVirtualScroller.js +4 -9
  158. package/node/components/virtualization/GridVirtualScrollerContent.js +10 -20
  159. package/node/constants/defaultGridSlotsComponents.js +4 -1
  160. package/node/hooks/core/useGridApiInitialization.js +4 -1
  161. package/node/hooks/core/useGridStateInitialization.js +2 -9
  162. package/node/hooks/features/clipboard/useGridClipboard.js +1 -4
  163. package/node/hooks/features/columnGrouping/gridColumnGroupsSelector.js +3 -3
  164. package/node/hooks/features/columnHeaders/useGridColumnHeaders.js +8 -2
  165. package/node/hooks/features/columns/gridColumnsSelector.js +6 -6
  166. package/node/hooks/features/dimensions/useGridDimensions.js +6 -12
  167. package/node/hooks/features/editing/useGridCellEditing.js +5 -3
  168. package/node/hooks/features/editing/useGridRowEditing.js +14 -6
  169. package/node/hooks/features/filter/gridFilterSelector.js +7 -7
  170. package/node/hooks/features/filter/gridFilterUtils.js +17 -12
  171. package/node/hooks/features/filter/useGridFilter.js +2 -1
  172. package/node/hooks/features/focus/useGridFocus.js +8 -4
  173. package/node/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +2 -3
  174. package/node/hooks/features/pagination/gridPaginationSelector.js +3 -3
  175. package/node/hooks/features/rowSelection/gridRowSelectionSelector.js +2 -2
  176. package/node/hooks/features/rows/gridRowsSelector.js +2 -2
  177. package/node/hooks/features/rows/useGridParamsApi.js +9 -15
  178. package/node/hooks/features/sorting/gridSortingSelector.js +2 -2
  179. package/node/hooks/features/virtualization/useGridVirtualScroller.js +40 -36
  180. package/node/hooks/utils/index.js +14 -10
  181. package/node/hooks/utils/useGridSelector.js +41 -7
  182. package/node/hooks/utils/useLazyRef.js +17 -0
  183. package/node/hooks/utils/useOnMount.js +15 -0
  184. package/node/index.js +1 -1
  185. package/node/internals/index.js +7 -0
  186. package/node/locales/elGR.js +66 -79
  187. package/node/locales/ptBR.js +12 -13
  188. package/node/utils/Store.js +31 -0
  189. package/node/utils/createSelector.js +77 -8
  190. package/node/utils/doesSupportPreventScroll.js +19 -0
  191. package/node/utils/fastMemo.js +13 -0
  192. package/node/utils/fastObjectShallowCompare.js +38 -0
  193. package/node/utils/keyboardUtils.js +4 -2
  194. package/package.json +2 -2
  195. package/utils/Store.d.ts +11 -0
  196. package/utils/Store.js +24 -0
  197. package/utils/createSelector.d.ts +1 -0
  198. package/utils/createSelector.js +74 -6
  199. package/utils/doesSupportPreventScroll.d.ts +1 -0
  200. package/utils/doesSupportPreventScroll.js +13 -0
  201. package/utils/fastMemo.d.ts +1 -0
  202. package/utils/fastMemo.js +5 -0
  203. package/utils/fastObjectShallowCompare.d.ts +1 -0
  204. package/utils/fastObjectShallowCompare.js +32 -0
  205. package/utils/keyboardUtils.js +4 -2
@@ -1,3 +1,4 @@
1
+ import { elGR as elGRCore } from '@mui/material/locale';
1
2
  import { getGridLocalization } from '../utils/getGridLocalization';
2
3
  var elGRGrid = {
3
4
  // Root
@@ -21,17 +22,15 @@ var elGRGrid = {
21
22
  return count !== 1 ? "".concat(count, " \u03B5\u03BD\u03B5\u03C1\u03B3\u03AC \u03C6\u03AF\u03BB\u03C4\u03C1\u03B1") : "".concat(count, " \u03B5\u03BD\u03B5\u03C1\u03B3\u03CC \u03C6\u03AF\u03BB\u03C4\u03C1\u03BF");
22
23
  },
23
24
  // Quick filter toolbar field
24
- // toolbarQuickFilterPlaceholder: 'Search…',
25
- // toolbarQuickFilterLabel: 'Search',
26
- // toolbarQuickFilterDeleteIconLabel: 'Clear',
27
-
25
+ toolbarQuickFilterPlaceholder: 'Αναζήτηση…',
26
+ toolbarQuickFilterLabel: 'Αναζήτηση',
27
+ toolbarQuickFilterDeleteIconLabel: 'Καθαρισμός',
28
28
  // Export selector toolbar button text
29
29
  toolbarExport: 'Εξαγωγή',
30
30
  toolbarExportLabel: 'Εξαγωγή',
31
31
  toolbarExportCSV: 'Λήψη ως CSV',
32
- // toolbarExportPrint: 'Print',
33
- // toolbarExportExcel: 'Download as Excel',
34
-
32
+ toolbarExportPrint: 'Εκτύπωση',
33
+ toolbarExportExcel: 'Λήψη ως Excel',
35
34
  // Columns panel text
36
35
  columnsPanelTextFieldLabel: 'Εύρεση στήλης',
37
36
  columnsPanelTextFieldPlaceholder: 'Επικεφαλίδα στήλης',
@@ -40,9 +39,9 @@ var elGRGrid = {
40
39
  columnsPanelHideAllButton: 'Απόκρυψη όλων',
41
40
  // Filter panel text
42
41
  filterPanelAddFilter: 'Προσθήκη φίλτρου',
43
- // filterPanelRemoveAll: 'Remove all',
42
+ filterPanelRemoveAll: 'Αφαίρεση όλων',
44
43
  filterPanelDeleteIconLabel: 'Διαγραφή',
45
- // filterPanelLogicOperator: 'Logic operator',
44
+ filterPanelLogicOperator: 'Λογικός τελεστής',
46
45
  filterPanelOperator: 'Τελεστές',
47
46
  filterPanelOperatorAnd: 'Καί',
48
47
  filterPanelOperatorOr: 'Ή',
@@ -62,44 +61,41 @@ var elGRGrid = {
62
61
  filterOperatorOnOrBefore: 'είναι ίσο ή πριν',
63
62
  filterOperatorIsEmpty: 'είναι κενό',
64
63
  filterOperatorIsNotEmpty: 'δεν είναι κενό',
65
- // filterOperatorIsAnyOf: 'is any of',
66
- // 'filterOperator=': '=',
67
- // 'filterOperator!=': '!=',
68
- // 'filterOperator>': '>',
69
- // 'filterOperator>=': '>=',
70
- // 'filterOperator<': '<',
71
- // 'filterOperator<=': '<=',
72
-
64
+ filterOperatorIsAnyOf: 'είναι οποιοδήποτε από',
65
+ 'filterOperator=': '=',
66
+ 'filterOperator!=': '!=',
67
+ 'filterOperator>': '>',
68
+ 'filterOperator>=': '>=',
69
+ 'filterOperator<': '<',
70
+ 'filterOperator<=': '<=',
73
71
  // Header filter operators text
74
- // headerFilterOperatorContains: 'Contains',
75
- // headerFilterOperatorEquals: 'Equals',
76
- // headerFilterOperatorStartsWith: 'Starts with',
77
- // headerFilterOperatorEndsWith: 'Ends with',
78
- // headerFilterOperatorIs: 'Is',
79
- // headerFilterOperatorNot: 'Is not',
80
- // headerFilterOperatorAfter: 'Is after',
81
- // headerFilterOperatorOnOrAfter: 'Is on or after',
82
- // headerFilterOperatorBefore: 'Is before',
83
- // headerFilterOperatorOnOrBefore: 'Is on or before',
84
- // headerFilterOperatorIsEmpty: 'Is empty',
85
- // headerFilterOperatorIsNotEmpty: 'Is not empty',
86
- // headerFilterOperatorIsAnyOf: 'Is any of',
87
- // 'headerFilterOperator=': 'Equals',
88
- // 'headerFilterOperator!=': 'Not equals',
89
- // 'headerFilterOperator>': 'Greater than',
90
- // 'headerFilterOperator>=': 'Greater than or equal to',
91
- // 'headerFilterOperator<': 'Less than',
92
- // 'headerFilterOperator<=': 'Less than or equal to',
93
-
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<=': 'Μικρότερο ή ίσο με',
94
91
  // Filter values text
95
- // filterValueAny: 'any',
96
- // filterValueTrue: 'true',
97
- // filterValueFalse: 'false',
98
-
92
+ filterValueAny: 'οποιοδήποτε',
93
+ filterValueTrue: 'αληθές',
94
+ filterValueFalse: 'ψευδές',
99
95
  // Column menu text
100
96
  columnMenuLabel: 'Μενού',
101
97
  columnMenuShowColumns: 'Εμφάνιση στηλών',
102
- // columnMenuManageColumns: 'Manage columns',
98
+ columnMenuManageColumns: 'Διαχείριση στηλών',
103
99
  columnMenuFilter: 'Φίλτρο',
104
100
  columnMenuHideColumn: 'Απόκρυψη',
105
101
  columnMenuUnsort: 'Απενεργοποίηση ταξινόμησης',
@@ -122,49 +118,44 @@ var elGRGrid = {
122
118
  return "".concat(visibleCount.toLocaleString(), " \u03B1\u03C0\u03CC ").concat(totalCount.toLocaleString());
123
119
  },
124
120
  // Checkbox selection text
125
- // checkboxSelectionHeaderName: 'Checkbox selection',
126
- // checkboxSelectionSelectAllRows: 'Select all rows',
127
- // checkboxSelectionUnselectAllRows: 'Unselect all rows',
128
- // checkboxSelectionSelectRow: 'Select row',
129
- // checkboxSelectionUnselectRow: 'Unselect row',
130
-
121
+ checkboxSelectionHeaderName: 'Επιλογή πλαισίου ελέγχου',
122
+ checkboxSelectionSelectAllRows: 'Επιλέξτε όλες τις σειρές',
123
+ checkboxSelectionUnselectAllRows: 'Καταργήση επιλογής όλων των σειρών',
124
+ checkboxSelectionSelectRow: 'Επιλογή γραμμής',
125
+ checkboxSelectionUnselectRow: 'Καταργήση επιλογής γραμμής',
131
126
  // Boolean cell text
132
- // booleanCellTrueLabel: 'yes',
133
- // booleanCellFalseLabel: 'no',
134
-
127
+ booleanCellTrueLabel: 'ναί',
128
+ booleanCellFalseLabel: 'όχι',
135
129
  // Actions cell more text
136
- actionsCellMore: 'περισσότερα'
137
-
130
+ actionsCellMore: 'περισσότερα',
138
131
  // Column pinning text
139
- // pinToLeft: 'Pin to left',
140
- // pinToRight: 'Pin to right',
141
- // unpin: 'Unpin',
142
-
132
+ pinToLeft: 'Καρφιτσώμα στα αριστερά',
133
+ pinToRight: 'Καρφιτσώμα στα δεξιά',
134
+ unpin: 'Ξεκαρφίτσωμα',
143
135
  // Tree Data
144
- // treeDataGroupingHeaderName: 'Group',
145
- // treeDataExpand: 'see children',
146
- // treeDataCollapse: 'hide children',
147
-
136
+ treeDataGroupingHeaderName: 'Ομαδοποίηση',
137
+ treeDataExpand: 'εμφάνιση περιεχομένων',
138
+ treeDataCollapse: 'απόκρυψη περιεχομένων',
148
139
  // Grouping columns
149
- // groupingColumnHeaderName: 'Group',
150
- // groupColumn: name => `Group by ${name}`,
151
- // unGroupColumn: name => `Stop grouping by ${name}`,
152
-
140
+ groupingColumnHeaderName: 'Ομαδοποίηση',
141
+ groupColumn: function groupColumn(name) {
142
+ return "\u039F\u03BC\u03B1\u03B4\u03BF\u03C0\u03BF\u03AF\u03B7\u03C3\u03B7 \u03BA\u03B1\u03C4\u03AC ".concat(name);
143
+ },
144
+ unGroupColumn: function unGroupColumn(name) {
145
+ return "\u0394\u03B9\u03B1\u03BA\u03BF\u03C0\u03AE \u03BF\u03BC\u03B1\u03B4\u03BF\u03C0\u03BF\u03AF\u03B7\u03C3\u03B7\u03C2 \u03BA\u03B1\u03C4\u03AC ".concat(name);
146
+ },
153
147
  // Master/detail
154
- // detailPanelToggle: 'Detail panel toggle',
155
- // expandDetailPanel: 'Expand',
156
- // collapseDetailPanel: 'Collapse',
157
-
148
+ detailPanelToggle: 'Εναλλαγή πίνακα λεπτομερειών',
149
+ expandDetailPanel: 'Ανάπτυξη',
150
+ collapseDetailPanel: 'Σύμπτυξη',
158
151
  // Row reordering text
159
- // rowReorderingHeaderName: 'Row reordering',
160
-
152
+ rowReorderingHeaderName: 'Αναδιάταξη γραμμών',
161
153
  // Aggregation
162
- // aggregationMenuItemHeader: 'Aggregation',
163
- // aggregationFunctionLabelSum: 'sum',
164
- // aggregationFunctionLabelAvg: 'avg',
165
- // aggregationFunctionLabelMin: 'min',
166
- // aggregationFunctionLabelMax: 'max',
167
- // aggregationFunctionLabelSize: 'size',
154
+ aggregationMenuItemHeader: 'Συσσωμάτωση',
155
+ aggregationFunctionLabelSum: 'άθροισμα',
156
+ aggregationFunctionLabelAvg: 'μέση τιμή',
157
+ aggregationFunctionLabelMin: 'ελάχιστο',
158
+ aggregationFunctionLabelMax: 'μέγιστο',
159
+ aggregationFunctionLabelSize: 'μέγεθος'
168
160
  };
169
-
170
- export var elGR = getGridLocalization(elGRGrid);
161
+ export var elGR = getGridLocalization(elGRGrid, elGRCore);
@@ -70,12 +70,12 @@ var ptBRGrid = {
70
70
  // 'filterOperator<=': '<=',
71
71
 
72
72
  // Header filter operators text
73
- // headerFilterOperatorContains: 'Contains',
74
- // headerFilterOperatorEquals: 'Equals',
75
- // headerFilterOperatorStartsWith: 'Starts with',
76
- // headerFilterOperatorEndsWith: 'Ends with',
77
- // headerFilterOperatorIs: 'Is',
78
- // headerFilterOperatorNot: 'Is not',
73
+ headerFilterOperatorContains: 'Contém',
74
+ headerFilterOperatorEquals: 'Igual',
75
+ headerFilterOperatorStartsWith: 'Começa com',
76
+ headerFilterOperatorEndsWith: 'Termina com',
77
+ headerFilterOperatorIs: 'É',
78
+ headerFilterOperatorNot: 'Não é',
79
79
  // headerFilterOperatorAfter: 'Is after',
80
80
  // headerFilterOperatorOnOrAfter: 'Is on or after',
81
81
  // headerFilterOperatorBefore: 'Is before',
@@ -83,13 +83,12 @@ var ptBRGrid = {
83
83
  // headerFilterOperatorIsEmpty: 'Is empty',
84
84
  // headerFilterOperatorIsNotEmpty: 'Is not empty',
85
85
  // headerFilterOperatorIsAnyOf: 'Is any of',
86
- // 'headerFilterOperator=': 'Equals',
87
- // 'headerFilterOperator!=': 'Not equals',
88
- // 'headerFilterOperator>': 'Greater than',
89
- // 'headerFilterOperator>=': 'Greater than or equal to',
90
- // 'headerFilterOperator<': 'Less than',
91
- // 'headerFilterOperator<=': 'Less than or equal to',
92
-
86
+ 'headerFilterOperator=': 'Igual',
87
+ 'headerFilterOperator!=': 'Não igual',
88
+ 'headerFilterOperator>': 'Maior que',
89
+ 'headerFilterOperator>=': 'Maior que ou igual a',
90
+ 'headerFilterOperator<': 'Menor que',
91
+ 'headerFilterOperator<=': 'Menor que ou igual a',
93
92
  // Filter values text
94
93
  filterValueAny: 'qualquer',
95
94
  filterValueTrue: 'verdadeiro',
@@ -0,0 +1,34 @@
1
+ import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
2
+ import _createClass from "@babel/runtime/helpers/esm/createClass";
3
+ export var Store = /*#__PURE__*/function () {
4
+ function Store(_value) {
5
+ var _this = this;
6
+ _classCallCheck(this, Store);
7
+ this.value = void 0;
8
+ this.listeners = void 0;
9
+ this.subscribe = function (fn) {
10
+ _this.listeners.add(fn);
11
+ return function () {
12
+ _this.listeners.delete(fn);
13
+ };
14
+ };
15
+ this.getSnapshot = function () {
16
+ return _this.value;
17
+ };
18
+ this.update = function (value) {
19
+ _this.value = value;
20
+ _this.listeners.forEach(function (l) {
21
+ return l(value);
22
+ });
23
+ };
24
+ this.value = _value;
25
+ this.listeners = new Set();
26
+ }
27
+ _createClass(Store, null, [{
28
+ key: "create",
29
+ value: function create(value) {
30
+ return new Store(value);
31
+ }
32
+ }]);
33
+ return Store;
34
+ }();
@@ -4,7 +4,77 @@ var cacheContainer = {
4
4
  cache: new WeakMap()
5
5
  };
6
6
  var missingInstanceIdWarning = buildWarning(['MUI: A selector was called without passing the instance ID, which may impact the performance of the grid.', 'To fix, call it with `apiRef`, e.g. `mySelector(apiRef)`, or pass the instance ID explicitly, e.g `mySelector(state, apiRef.current.instanceId)`.']);
7
- export var createSelector = function createSelector() {
7
+ function checkIsAPIRef(value) {
8
+ return 'current' in value && 'instanceId' in value.current;
9
+ }
10
+ var DEFAULT_INSTANCE_ID = {
11
+ id: 'default'
12
+ };
13
+ export var createSelector = function createSelector(a, b, c, d, e, f) {
14
+ if ((arguments.length <= 6 ? 0 : arguments.length - 6) > 0) {
15
+ throw new Error('Unsupported number of selectors');
16
+ }
17
+ var selector;
18
+ if (a && b && c && d && e && f) {
19
+ selector = function selector(stateOrApiRef, instanceIdParam) {
20
+ var isAPIRef = checkIsAPIRef(stateOrApiRef);
21
+ var instanceId = instanceIdParam != null ? instanceIdParam : isAPIRef ? stateOrApiRef.current.instanceId : DEFAULT_INSTANCE_ID;
22
+ var state = isAPIRef ? stateOrApiRef.current.state : stateOrApiRef;
23
+ var va = a(state, instanceId);
24
+ var vb = b(state, instanceId);
25
+ var vc = c(state, instanceId);
26
+ var vd = d(state, instanceId);
27
+ var ve = e(state, instanceId);
28
+ return f(va, vb, vc, vd, ve);
29
+ };
30
+ } else if (a && b && c && d && e) {
31
+ selector = function selector(stateOrApiRef, instanceIdParam) {
32
+ var isAPIRef = checkIsAPIRef(stateOrApiRef);
33
+ var instanceId = instanceIdParam != null ? instanceIdParam : isAPIRef ? stateOrApiRef.current.instanceId : DEFAULT_INSTANCE_ID;
34
+ var state = isAPIRef ? stateOrApiRef.current.state : stateOrApiRef;
35
+ var va = a(state, instanceId);
36
+ var vb = b(state, instanceId);
37
+ var vc = c(state, instanceId);
38
+ var vd = d(state, instanceId);
39
+ return e(va, vb, vc, vd);
40
+ };
41
+ } else if (a && b && c && d) {
42
+ selector = function selector(stateOrApiRef, instanceIdParam) {
43
+ var isAPIRef = checkIsAPIRef(stateOrApiRef);
44
+ var instanceId = instanceIdParam != null ? instanceIdParam : isAPIRef ? stateOrApiRef.current.instanceId : DEFAULT_INSTANCE_ID;
45
+ var state = isAPIRef ? stateOrApiRef.current.state : stateOrApiRef;
46
+ var va = a(state, instanceId);
47
+ var vb = b(state, instanceId);
48
+ var vc = c(state, instanceId);
49
+ return d(va, vb, vc);
50
+ };
51
+ } else if (a && b && c) {
52
+ selector = function selector(stateOrApiRef, instanceIdParam) {
53
+ var isAPIRef = checkIsAPIRef(stateOrApiRef);
54
+ var instanceId = instanceIdParam != null ? instanceIdParam : isAPIRef ? stateOrApiRef.current.instanceId : DEFAULT_INSTANCE_ID;
55
+ var state = isAPIRef ? stateOrApiRef.current.state : stateOrApiRef;
56
+ var va = a(state, instanceId);
57
+ var vb = b(state, instanceId);
58
+ return c(va, vb);
59
+ };
60
+ } else if (a && b) {
61
+ selector = function selector(stateOrApiRef, instanceIdParam) {
62
+ var isAPIRef = checkIsAPIRef(stateOrApiRef);
63
+ var instanceId = instanceIdParam != null ? instanceIdParam : isAPIRef ? stateOrApiRef.current.instanceId : DEFAULT_INSTANCE_ID;
64
+ var state = isAPIRef ? stateOrApiRef.current.state : stateOrApiRef;
65
+ var va = a(state, instanceId);
66
+ return b(va);
67
+ };
68
+ } else {
69
+ throw new Error('Missing arguments');
70
+ }
71
+
72
+ // We use this property to detect if the selector was created with createSelector
73
+ // or it's only a simple function the receives the state and returns part of it.
74
+ selector.acceptsApiRef = true;
75
+ return selector;
76
+ };
77
+ export var createSelectorMemoized = function createSelectorMemoized() {
8
78
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
9
79
  args[_key] = arguments[_key];
10
80
  }
@@ -15,11 +85,9 @@ export var createSelector = function createSelector() {
15
85
  }
16
86
  var stateOrApiRef = selectorArgs[0],
17
87
  instanceId = selectorArgs[1];
18
- var isApiRef = !!stateOrApiRef.current;
19
- var cacheKey = isApiRef ? stateOrApiRef.current.instanceId : instanceId != null ? instanceId : {
20
- id: 'default'
21
- };
22
- var state = isApiRef ? stateOrApiRef.current.state : stateOrApiRef;
88
+ var isAPIRef = checkIsAPIRef(stateOrApiRef);
89
+ var cacheKey = isAPIRef ? stateOrApiRef.current.instanceId : instanceId != null ? instanceId : DEFAULT_INSTANCE_ID;
90
+ var state = isAPIRef ? stateOrApiRef.current.state : stateOrApiRef;
23
91
  if (process.env.NODE_ENV !== 'production') {
24
92
  if (cacheKey.id === 'default') {
25
93
  missingInstanceIdWarning();
@@ -0,0 +1,13 @@
1
+ // Based on https://stackoverflow.com/a/59518678
2
+ var cachedSupportsPreventScroll;
3
+ export function doesSupportPreventScroll() {
4
+ if (cachedSupportsPreventScroll === undefined) {
5
+ document.createElement('div').focus({
6
+ get preventScroll() {
7
+ cachedSupportsPreventScroll = true;
8
+ return false;
9
+ }
10
+ });
11
+ }
12
+ return cachedSupportsPreventScroll;
13
+ }
@@ -0,0 +1,5 @@
1
+ import * as React from 'react';
2
+ import { fastObjectShallowCompare } from './fastObjectShallowCompare';
3
+ export function fastMemo(component) {
4
+ return /*#__PURE__*/React.memo(component, fastObjectShallowCompare);
5
+ }
@@ -0,0 +1,32 @@
1
+ var is = Object.is;
2
+ export function fastObjectShallowCompare(a, b) {
3
+ if (a === b) {
4
+ return true;
5
+ }
6
+ if (!(a instanceof Object) || !(b instanceof Object)) {
7
+ return false;
8
+ }
9
+ var aLength = 0;
10
+ var bLength = 0;
11
+
12
+ /* eslint-disable no-restricted-syntax */
13
+ /* eslint-disable guard-for-in */
14
+ for (var key in a) {
15
+ aLength += 1;
16
+ if (!is(a[key], b[key])) {
17
+ return false;
18
+ }
19
+ if (!(key in b)) {
20
+ return false;
21
+ }
22
+ }
23
+
24
+ /* eslint-disable-next-line @typescript-eslint/naming-convention, @typescript-eslint/no-unused-vars */
25
+ for (var _ in b) {
26
+ bLength += 1;
27
+ }
28
+ /* eslint-enable no-restricted-syntax */
29
+ /* eslint-enable guard-for-in */
30
+
31
+ return aLength === bLength;
32
+ }
@@ -26,11 +26,13 @@ export var isDeleteKeys = function isDeleteKeys(key) {
26
26
 
27
27
  // Non printable keys have a name, e.g. "ArrowRight", see the whole list:
28
28
  // https://developer.mozilla.org/en-US/docs/Web/API/UI_Events/Keyboard_event_key_values
29
- // We need to ignore shortcuts, for example: select all:
29
+ // So event.key.length === 1 is often enough.
30
+ //
31
+ // However, we also need to ignore shortcuts, for example: select all:
30
32
  // - Windows: Ctrl+A, event.ctrlKey is true
31
33
  // - macOS: ⌘ Command+A, event.metaKey is true
32
34
  export function isPrintableKey(event) {
33
- return event.key.length === 1 && event.ctrlKey === false && event.metaKey === false;
35
+ return event.key.length === 1 && !event.ctrlKey && !event.metaKey;
34
36
  }
35
37
  export var GRID_MULTIPLE_SELECTION_KEYS = ['Meta', 'Control', 'Shift'];
36
38
  export var GRID_CELL_EXIT_EDIT_MODE_KEYS = ['Enter', 'Escape', 'Tab'];
package/locales/elGR.js CHANGED
@@ -1,3 +1,4 @@
1
+ import { elGR as elGRCore } from '@mui/material/locale';
1
2
  import { getGridLocalization } from '../utils/getGridLocalization';
2
3
  const elGRGrid = {
3
4
  // Root
@@ -19,17 +20,15 @@ const elGRGrid = {
19
20
  toolbarFiltersTooltipShow: 'Εμφάνιση φίλτρων',
20
21
  toolbarFiltersTooltipActive: count => count !== 1 ? `${count} ενεργά φίλτρα` : `${count} ενεργό φίλτρο`,
21
22
  // Quick filter toolbar field
22
- // toolbarQuickFilterPlaceholder: 'Search…',
23
- // toolbarQuickFilterLabel: 'Search',
24
- // toolbarQuickFilterDeleteIconLabel: 'Clear',
25
-
23
+ toolbarQuickFilterPlaceholder: 'Αναζήτηση…',
24
+ toolbarQuickFilterLabel: 'Αναζήτηση',
25
+ toolbarQuickFilterDeleteIconLabel: 'Καθαρισμός',
26
26
  // Export selector toolbar button text
27
27
  toolbarExport: 'Εξαγωγή',
28
28
  toolbarExportLabel: 'Εξαγωγή',
29
29
  toolbarExportCSV: 'Λήψη ως CSV',
30
- // toolbarExportPrint: 'Print',
31
- // toolbarExportExcel: 'Download as Excel',
32
-
30
+ toolbarExportPrint: 'Εκτύπωση',
31
+ toolbarExportExcel: 'Λήψη ως Excel',
33
32
  // Columns panel text
34
33
  columnsPanelTextFieldLabel: 'Εύρεση στήλης',
35
34
  columnsPanelTextFieldPlaceholder: 'Επικεφαλίδα στήλης',
@@ -38,9 +37,9 @@ const elGRGrid = {
38
37
  columnsPanelHideAllButton: 'Απόκρυψη όλων',
39
38
  // Filter panel text
40
39
  filterPanelAddFilter: 'Προσθήκη φίλτρου',
41
- // filterPanelRemoveAll: 'Remove all',
40
+ filterPanelRemoveAll: 'Αφαίρεση όλων',
42
41
  filterPanelDeleteIconLabel: 'Διαγραφή',
43
- // filterPanelLogicOperator: 'Logic operator',
42
+ filterPanelLogicOperator: 'Λογικός τελεστής',
44
43
  filterPanelOperator: 'Τελεστές',
45
44
  filterPanelOperatorAnd: 'Καί',
46
45
  filterPanelOperatorOr: 'Ή',
@@ -60,44 +59,41 @@ const elGRGrid = {
60
59
  filterOperatorOnOrBefore: 'είναι ίσο ή πριν',
61
60
  filterOperatorIsEmpty: 'είναι κενό',
62
61
  filterOperatorIsNotEmpty: 'δεν είναι κενό',
63
- // filterOperatorIsAnyOf: 'is any of',
64
- // 'filterOperator=': '=',
65
- // 'filterOperator!=': '!=',
66
- // 'filterOperator>': '>',
67
- // 'filterOperator>=': '>=',
68
- // 'filterOperator<': '<',
69
- // 'filterOperator<=': '<=',
70
-
62
+ filterOperatorIsAnyOf: 'είναι οποιοδήποτε από',
63
+ 'filterOperator=': '=',
64
+ 'filterOperator!=': '!=',
65
+ 'filterOperator>': '>',
66
+ 'filterOperator>=': '>=',
67
+ 'filterOperator<': '<',
68
+ 'filterOperator<=': '<=',
71
69
  // Header filter operators text
72
- // headerFilterOperatorContains: 'Contains',
73
- // headerFilterOperatorEquals: 'Equals',
74
- // headerFilterOperatorStartsWith: 'Starts with',
75
- // headerFilterOperatorEndsWith: 'Ends with',
76
- // headerFilterOperatorIs: 'Is',
77
- // headerFilterOperatorNot: 'Is not',
78
- // headerFilterOperatorAfter: 'Is after',
79
- // headerFilterOperatorOnOrAfter: 'Is on or after',
80
- // headerFilterOperatorBefore: 'Is before',
81
- // headerFilterOperatorOnOrBefore: 'Is on or before',
82
- // headerFilterOperatorIsEmpty: 'Is empty',
83
- // headerFilterOperatorIsNotEmpty: 'Is not empty',
84
- // headerFilterOperatorIsAnyOf: 'Is any of',
85
- // 'headerFilterOperator=': 'Equals',
86
- // 'headerFilterOperator!=': 'Not equals',
87
- // 'headerFilterOperator>': 'Greater than',
88
- // 'headerFilterOperator>=': 'Greater than or equal to',
89
- // 'headerFilterOperator<': 'Less than',
90
- // 'headerFilterOperator<=': 'Less than or equal to',
91
-
70
+ headerFilterOperatorContains: 'Περιέχει',
71
+ headerFilterOperatorEquals: 'Ισούται',
72
+ headerFilterOperatorStartsWith: 'Ξεκινάει με',
73
+ headerFilterOperatorEndsWith: 'Τελειώνει με',
74
+ headerFilterOperatorIs: 'Είναι',
75
+ headerFilterOperatorNot: 'Δεν είναι',
76
+ headerFilterOperatorAfter: 'Είναι μετά',
77
+ headerFilterOperatorOnOrAfter: 'Είναι ίσο ή μετά',
78
+ headerFilterOperatorBefore: 'Είναι πριν',
79
+ headerFilterOperatorOnOrBefore: 'Είναι ίσο ή πριν',
80
+ headerFilterOperatorIsEmpty: 'Είναι κενό',
81
+ headerFilterOperatorIsNotEmpty: 'Δεν είναι κενό',
82
+ headerFilterOperatorIsAnyOf: 'Είναι οποιοδήποτε από',
83
+ 'headerFilterOperator=': 'Ισούται',
84
+ 'headerFilterOperator!=': 'Δεν ισούται',
85
+ 'headerFilterOperator>': 'Μεγαλύτερο από',
86
+ 'headerFilterOperator>=': 'Μεγαλύτερο ή ίσο με',
87
+ 'headerFilterOperator<': 'Μικρότερο από',
88
+ 'headerFilterOperator<=': 'Μικρότερο ή ίσο με',
92
89
  // Filter values text
93
- // filterValueAny: 'any',
94
- // filterValueTrue: 'true',
95
- // filterValueFalse: 'false',
96
-
90
+ filterValueAny: 'οποιοδήποτε',
91
+ filterValueTrue: 'αληθές',
92
+ filterValueFalse: 'ψευδές',
97
93
  // Column menu text
98
94
  columnMenuLabel: 'Μενού',
99
95
  columnMenuShowColumns: 'Εμφάνιση στηλών',
100
- // columnMenuManageColumns: 'Manage columns',
96
+ columnMenuManageColumns: 'Διαχείριση στηλών',
101
97
  columnMenuFilter: 'Φίλτρο',
102
98
  columnMenuHideColumn: 'Απόκρυψη',
103
99
  columnMenuUnsort: 'Απενεργοποίηση ταξινόμησης',
@@ -114,49 +110,40 @@ const elGRGrid = {
114
110
  // Total visible row amount footer text
115
111
  footerTotalVisibleRows: (visibleCount, totalCount) => `${visibleCount.toLocaleString()} από ${totalCount.toLocaleString()}`,
116
112
  // Checkbox selection text
117
- // checkboxSelectionHeaderName: 'Checkbox selection',
118
- // checkboxSelectionSelectAllRows: 'Select all rows',
119
- // checkboxSelectionUnselectAllRows: 'Unselect all rows',
120
- // checkboxSelectionSelectRow: 'Select row',
121
- // checkboxSelectionUnselectRow: 'Unselect row',
122
-
113
+ checkboxSelectionHeaderName: 'Επιλογή πλαισίου ελέγχου',
114
+ checkboxSelectionSelectAllRows: 'Επιλέξτε όλες τις σειρές',
115
+ checkboxSelectionUnselectAllRows: 'Καταργήση επιλογής όλων των σειρών',
116
+ checkboxSelectionSelectRow: 'Επιλογή γραμμής',
117
+ checkboxSelectionUnselectRow: 'Καταργήση επιλογής γραμμής',
123
118
  // Boolean cell text
124
- // booleanCellTrueLabel: 'yes',
125
- // booleanCellFalseLabel: 'no',
126
-
119
+ booleanCellTrueLabel: 'ναί',
120
+ booleanCellFalseLabel: 'όχι',
127
121
  // Actions cell more text
128
- actionsCellMore: 'περισσότερα'
129
-
122
+ actionsCellMore: 'περισσότερα',
130
123
  // Column pinning text
131
- // pinToLeft: 'Pin to left',
132
- // pinToRight: 'Pin to right',
133
- // unpin: 'Unpin',
134
-
124
+ pinToLeft: 'Καρφιτσώμα στα αριστερά',
125
+ pinToRight: 'Καρφιτσώμα στα δεξιά',
126
+ unpin: 'Ξεκαρφίτσωμα',
135
127
  // Tree Data
136
- // treeDataGroupingHeaderName: 'Group',
137
- // treeDataExpand: 'see children',
138
- // treeDataCollapse: 'hide children',
139
-
128
+ treeDataGroupingHeaderName: 'Ομαδοποίηση',
129
+ treeDataExpand: 'εμφάνιση περιεχομένων',
130
+ treeDataCollapse: 'απόκρυψη περιεχομένων',
140
131
  // Grouping columns
141
- // groupingColumnHeaderName: 'Group',
142
- // groupColumn: name => `Group by ${name}`,
143
- // unGroupColumn: name => `Stop grouping by ${name}`,
144
-
132
+ groupingColumnHeaderName: 'Ομαδοποίηση',
133
+ groupColumn: name => `Ομαδοποίηση κατά ${name}`,
134
+ unGroupColumn: name => `Διακοπή ομαδοποίησης κατά ${name}`,
145
135
  // Master/detail
146
- // detailPanelToggle: 'Detail panel toggle',
147
- // expandDetailPanel: 'Expand',
148
- // collapseDetailPanel: 'Collapse',
149
-
136
+ detailPanelToggle: 'Εναλλαγή πίνακα λεπτομερειών',
137
+ expandDetailPanel: 'Ανάπτυξη',
138
+ collapseDetailPanel: 'Σύμπτυξη',
150
139
  // Row reordering text
151
- // rowReorderingHeaderName: 'Row reordering',
152
-
140
+ rowReorderingHeaderName: 'Αναδιάταξη γραμμών',
153
141
  // Aggregation
154
- // aggregationMenuItemHeader: 'Aggregation',
155
- // aggregationFunctionLabelSum: 'sum',
156
- // aggregationFunctionLabelAvg: 'avg',
157
- // aggregationFunctionLabelMin: 'min',
158
- // aggregationFunctionLabelMax: 'max',
159
- // aggregationFunctionLabelSize: 'size',
142
+ aggregationMenuItemHeader: 'Συσσωμάτωση',
143
+ aggregationFunctionLabelSum: 'άθροισμα',
144
+ aggregationFunctionLabelAvg: 'μέση τιμή',
145
+ aggregationFunctionLabelMin: 'ελάχιστο',
146
+ aggregationFunctionLabelMax: 'μέγιστο',
147
+ aggregationFunctionLabelSize: 'μέγεθος'
160
148
  };
161
-
162
- export const elGR = getGridLocalization(elGRGrid);
149
+ export const elGR = getGridLocalization(elGRGrid, elGRCore);