@mui/x-data-grid 5.14.0 → 5.15.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 (290) hide show
  1. package/CHANGELOG.md +147 -5
  2. package/DataGrid/DataGrid.js +7 -1
  3. package/DataGrid/useDataGridProps.js +1 -0
  4. package/colDef/gridStringColDef.js +1 -1
  5. package/components/GridRow.js +5 -1
  6. package/components/base/GridOverlays.js +2 -2
  7. package/components/cell/GridEditInputCell.d.ts +2 -5
  8. package/components/cell/GridEditInputCell.js +13 -14
  9. package/components/cell/GridEditSingleSelectCell.d.ts +4 -0
  10. package/components/cell/GridEditSingleSelectCell.js +11 -4
  11. package/components/columnSelection/GridCellCheckboxRenderer.js +5 -0
  12. package/components/containers/GridRoot.js +4 -2
  13. package/components/toolbar/GridToolbarDensitySelector.js +13 -4
  14. package/components/toolbar/GridToolbarExportContainer.js +13 -2
  15. package/constants/envConstants.d.ts +1 -1
  16. package/constants/envConstants.js +2 -11
  17. package/constants/gridClasses.d.ts +16 -0
  18. package/constants/gridClasses.js +1 -1
  19. package/constants/localeTextConstants.js +1 -1
  20. package/hooks/features/dimensions/useGridDimensions.js +6 -1
  21. package/hooks/features/editRows/useGridCellEditing.new.d.ts +1 -1
  22. package/hooks/features/editRows/useGridCellEditing.new.js +26 -16
  23. package/hooks/features/editRows/useGridCellEditing.old.js +2 -2
  24. package/hooks/features/editRows/useGridEditing.new.d.ts +1 -1
  25. package/hooks/features/editRows/useGridEditing.new.js +4 -0
  26. package/hooks/features/editRows/useGridEditing.old.js +1 -1
  27. package/hooks/features/editRows/useGridRowEditing.new.d.ts +1 -1
  28. package/hooks/features/editRows/useGridRowEditing.new.js +16 -10
  29. package/hooks/features/export/utils.js +8 -1
  30. package/hooks/features/filter/gridFilterState.d.ts +12 -1
  31. package/hooks/features/filter/gridFilterUtils.d.ts +8 -5
  32. package/hooks/features/filter/gridFilterUtils.js +74 -43
  33. package/hooks/features/filter/useGridFilter.js +16 -3
  34. package/hooks/features/focus/useGridFocus.js +11 -6
  35. package/hooks/features/keyboardNavigation/useGridKeyboardNavigation.d.ts +1 -1
  36. package/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +42 -34
  37. package/hooks/features/pagination/useGridPageSize.js +3 -1
  38. package/hooks/features/rows/gridRowsSelector.d.ts +14 -0
  39. package/hooks/features/rows/gridRowsSelector.js +20 -1
  40. package/hooks/features/rows/gridRowsState.d.ts +8 -1
  41. package/hooks/features/rows/gridRowsUtils.d.ts +4 -0
  42. package/hooks/features/rows/gridRowsUtils.js +21 -3
  43. package/hooks/features/rows/index.d.ts +1 -1
  44. package/hooks/features/rows/index.js +1 -1
  45. package/hooks/features/rows/useGridRows.js +5 -2
  46. package/hooks/features/rows/useGridRowsMeta.js +19 -4
  47. package/hooks/features/rows/useGridRowsPreProcessors.js +2 -1
  48. package/hooks/features/scroll/useGridScroll.js +7 -2
  49. package/hooks/features/selection/useGridSelection.js +7 -3
  50. package/hooks/features/sorting/useGridSorting.js +8 -0
  51. package/hooks/features/statePersistence/gridStatePersistenceInterface.d.ts +3 -0
  52. package/hooks/features/virtualization/useGridVirtualScroller.d.ts +3 -1
  53. package/hooks/features/virtualization/useGridVirtualScroller.js +31 -16
  54. package/index.js +1 -1
  55. package/internals/index.d.ts +5 -1
  56. package/internals/index.js +4 -0
  57. package/legacy/DataGrid/DataGrid.js +7 -1
  58. package/legacy/DataGrid/useDataGridProps.js +1 -0
  59. package/legacy/colDef/gridStringColDef.js +1 -1
  60. package/legacy/components/GridRow.js +5 -1
  61. package/legacy/components/base/GridOverlays.js +2 -2
  62. package/legacy/components/cell/GridEditInputCell.js +13 -14
  63. package/legacy/components/cell/GridEditSingleSelectCell.js +11 -3
  64. package/legacy/components/columnSelection/GridCellCheckboxRenderer.js +5 -0
  65. package/legacy/components/containers/GridRoot.js +4 -2
  66. package/legacy/components/toolbar/GridToolbarDensitySelector.js +14 -5
  67. package/legacy/components/toolbar/GridToolbarExportContainer.js +15 -2
  68. package/legacy/constants/envConstants.js +2 -11
  69. package/legacy/constants/gridClasses.js +1 -1
  70. package/legacy/constants/localeTextConstants.js +1 -1
  71. package/legacy/hooks/features/dimensions/useGridDimensions.js +6 -1
  72. package/legacy/hooks/features/editRows/useGridCellEditing.new.js +27 -17
  73. package/legacy/hooks/features/editRows/useGridCellEditing.old.js +2 -2
  74. package/legacy/hooks/features/editRows/useGridEditing.new.js +4 -0
  75. package/legacy/hooks/features/editRows/useGridEditing.old.js +1 -1
  76. package/legacy/hooks/features/editRows/useGridRowEditing.new.js +16 -10
  77. package/legacy/hooks/features/export/utils.js +13 -1
  78. package/legacy/hooks/features/filter/gridFilterUtils.js +84 -55
  79. package/legacy/hooks/features/filter/useGridFilter.js +16 -3
  80. package/legacy/hooks/features/focus/useGridFocus.js +11 -6
  81. package/legacy/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +47 -34
  82. package/legacy/hooks/features/pagination/useGridPageSize.js +3 -1
  83. package/legacy/hooks/features/rows/gridRowsSelector.js +23 -0
  84. package/legacy/hooks/features/rows/gridRowsUtils.js +21 -3
  85. package/legacy/hooks/features/rows/index.js +1 -1
  86. package/legacy/hooks/features/rows/useGridRows.js +5 -2
  87. package/legacy/hooks/features/rows/useGridRowsMeta.js +19 -4
  88. package/legacy/hooks/features/rows/useGridRowsPreProcessors.js +2 -1
  89. package/legacy/hooks/features/scroll/useGridScroll.js +7 -2
  90. package/legacy/hooks/features/selection/useGridSelection.js +7 -3
  91. package/legacy/hooks/features/sorting/useGridSorting.js +8 -0
  92. package/legacy/hooks/features/virtualization/useGridVirtualScroller.js +32 -16
  93. package/legacy/index.js +1 -1
  94. package/legacy/internals/index.js +4 -0
  95. package/legacy/locales/arSD.js +1 -1
  96. package/legacy/locales/bgBG.js +1 -1
  97. package/legacy/locales/csCZ.js +1 -1
  98. package/legacy/locales/daDK.js +1 -1
  99. package/legacy/locales/deDE.js +9 -9
  100. package/legacy/locales/elGR.js +1 -1
  101. package/legacy/locales/esES.js +1 -1
  102. package/legacy/locales/faIR.js +1 -1
  103. package/legacy/locales/fiFI.js +1 -1
  104. package/legacy/locales/frFR.js +1 -1
  105. package/legacy/locales/heIL.js +1 -1
  106. package/legacy/locales/huHU.js +1 -1
  107. package/legacy/locales/itIT.js +15 -15
  108. package/legacy/locales/jaJP.js +3 -3
  109. package/legacy/locales/koKR.js +34 -30
  110. package/legacy/locales/nbNO.js +1 -1
  111. package/legacy/locales/nlNL.js +1 -1
  112. package/legacy/locales/plPL.js +1 -1
  113. package/legacy/locales/ptBR.js +1 -1
  114. package/legacy/locales/roRO.js +1 -1
  115. package/legacy/locales/ruRU.js +1 -1
  116. package/legacy/locales/skSK.js +1 -1
  117. package/legacy/locales/svSE.js +1 -1
  118. package/legacy/locales/trTR.js +1 -1
  119. package/legacy/locales/ukUA.js +1 -1
  120. package/legacy/locales/viVN.js +1 -1
  121. package/legacy/locales/zhCN.js +37 -33
  122. package/legacy/locales/zhTW.js +1 -1
  123. package/legacy/utils/keyboardUtils.js +8 -5
  124. package/locales/arSD.js +1 -1
  125. package/locales/bgBG.js +1 -1
  126. package/locales/csCZ.js +1 -1
  127. package/locales/daDK.js +1 -1
  128. package/locales/deDE.js +9 -9
  129. package/locales/elGR.js +1 -1
  130. package/locales/esES.js +1 -1
  131. package/locales/faIR.js +1 -1
  132. package/locales/fiFI.js +1 -1
  133. package/locales/frFR.js +1 -1
  134. package/locales/heIL.js +1 -1
  135. package/locales/huHU.js +1 -1
  136. package/locales/itIT.js +15 -15
  137. package/locales/jaJP.js +3 -3
  138. package/locales/koKR.js +30 -30
  139. package/locales/nbNO.js +1 -1
  140. package/locales/nlNL.js +1 -1
  141. package/locales/plPL.js +1 -1
  142. package/locales/ptBR.js +1 -1
  143. package/locales/roRO.js +1 -1
  144. package/locales/ruRU.js +1 -1
  145. package/locales/skSK.js +1 -1
  146. package/locales/svSE.js +1 -1
  147. package/locales/trTR.js +1 -1
  148. package/locales/ukUA.js +1 -1
  149. package/locales/viVN.js +1 -1
  150. package/locales/zhCN.js +33 -33
  151. package/locales/zhTW.js +1 -1
  152. package/models/gridRows.d.ts +5 -0
  153. package/models/props/DataGridProps.d.ts +8 -3
  154. package/modern/DataGrid/DataGrid.js +7 -1
  155. package/modern/DataGrid/useDataGridProps.js +1 -0
  156. package/modern/colDef/gridStringColDef.js +1 -1
  157. package/modern/components/GridRow.js +5 -1
  158. package/modern/components/base/GridOverlays.js +2 -2
  159. package/modern/components/cell/GridEditInputCell.js +13 -14
  160. package/modern/components/cell/GridEditSingleSelectCell.js +11 -4
  161. package/modern/components/columnSelection/GridCellCheckboxRenderer.js +5 -0
  162. package/modern/components/containers/GridRoot.js +4 -2
  163. package/modern/components/toolbar/GridToolbarDensitySelector.js +11 -4
  164. package/modern/components/toolbar/GridToolbarExportContainer.js +11 -2
  165. package/modern/constants/envConstants.js +2 -11
  166. package/modern/constants/gridClasses.js +1 -1
  167. package/modern/constants/localeTextConstants.js +1 -1
  168. package/modern/hooks/features/dimensions/useGridDimensions.js +6 -1
  169. package/modern/hooks/features/editRows/useGridCellEditing.new.js +24 -16
  170. package/modern/hooks/features/editRows/useGridCellEditing.old.js +2 -2
  171. package/modern/hooks/features/editRows/useGridEditing.new.js +4 -0
  172. package/modern/hooks/features/editRows/useGridEditing.old.js +1 -1
  173. package/modern/hooks/features/editRows/useGridRowEditing.new.js +16 -10
  174. package/modern/hooks/features/export/utils.js +6 -1
  175. package/modern/hooks/features/filter/gridFilterUtils.js +73 -42
  176. package/modern/hooks/features/filter/useGridFilter.js +16 -3
  177. package/modern/hooks/features/focus/useGridFocus.js +11 -6
  178. package/modern/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +42 -30
  179. package/modern/hooks/features/pagination/useGridPageSize.js +3 -1
  180. package/modern/hooks/features/rows/gridRowsSelector.js +18 -1
  181. package/modern/hooks/features/rows/gridRowsUtils.js +19 -3
  182. package/modern/hooks/features/rows/index.js +1 -1
  183. package/modern/hooks/features/rows/useGridRows.js +5 -2
  184. package/modern/hooks/features/rows/useGridRowsMeta.js +17 -4
  185. package/modern/hooks/features/rows/useGridRowsPreProcessors.js +2 -1
  186. package/modern/hooks/features/scroll/useGridScroll.js +5 -2
  187. package/modern/hooks/features/selection/useGridSelection.js +7 -1
  188. package/modern/hooks/features/sorting/useGridSorting.js +8 -0
  189. package/modern/hooks/features/virtualization/useGridVirtualScroller.js +30 -15
  190. package/modern/index.js +1 -1
  191. package/modern/internals/index.js +4 -0
  192. package/modern/locales/arSD.js +1 -1
  193. package/modern/locales/bgBG.js +1 -1
  194. package/modern/locales/csCZ.js +1 -1
  195. package/modern/locales/daDK.js +1 -1
  196. package/modern/locales/deDE.js +9 -9
  197. package/modern/locales/elGR.js +1 -1
  198. package/modern/locales/esES.js +1 -1
  199. package/modern/locales/faIR.js +1 -1
  200. package/modern/locales/fiFI.js +1 -1
  201. package/modern/locales/frFR.js +1 -1
  202. package/modern/locales/heIL.js +1 -1
  203. package/modern/locales/huHU.js +1 -1
  204. package/modern/locales/itIT.js +15 -15
  205. package/modern/locales/jaJP.js +3 -3
  206. package/modern/locales/koKR.js +30 -30
  207. package/modern/locales/nbNO.js +1 -1
  208. package/modern/locales/nlNL.js +1 -1
  209. package/modern/locales/plPL.js +1 -1
  210. package/modern/locales/ptBR.js +1 -1
  211. package/modern/locales/roRO.js +1 -1
  212. package/modern/locales/ruRU.js +1 -1
  213. package/modern/locales/skSK.js +1 -1
  214. package/modern/locales/svSE.js +1 -1
  215. package/modern/locales/trTR.js +1 -1
  216. package/modern/locales/ukUA.js +1 -1
  217. package/modern/locales/viVN.js +1 -1
  218. package/modern/locales/zhCN.js +33 -33
  219. package/modern/locales/zhTW.js +1 -1
  220. package/modern/utils/keyboardUtils.js +7 -2
  221. package/node/DataGrid/DataGrid.js +7 -1
  222. package/node/DataGrid/useDataGridProps.js +1 -0
  223. package/node/colDef/gridStringColDef.js +1 -1
  224. package/node/components/GridRow.js +5 -1
  225. package/node/components/base/GridOverlays.js +2 -2
  226. package/node/components/cell/GridEditInputCell.js +15 -16
  227. package/node/components/cell/GridEditSingleSelectCell.js +10 -4
  228. package/node/components/columnSelection/GridCellCheckboxRenderer.js +5 -0
  229. package/node/components/containers/GridRoot.js +3 -1
  230. package/node/components/toolbar/GridToolbarDensitySelector.js +13 -4
  231. package/node/components/toolbar/GridToolbarExportContainer.js +13 -2
  232. package/node/constants/envConstants.js +2 -13
  233. package/node/constants/gridClasses.js +1 -1
  234. package/node/constants/localeTextConstants.js +1 -1
  235. package/node/hooks/features/dimensions/useGridDimensions.js +7 -1
  236. package/node/hooks/features/editRows/useGridCellEditing.new.js +26 -16
  237. package/node/hooks/features/editRows/useGridCellEditing.old.js +2 -2
  238. package/node/hooks/features/editRows/useGridEditing.new.js +4 -0
  239. package/node/hooks/features/editRows/useGridEditing.old.js +1 -1
  240. package/node/hooks/features/editRows/useGridRowEditing.new.js +16 -10
  241. package/node/hooks/features/export/utils.js +7 -0
  242. package/node/hooks/features/filter/gridFilterUtils.js +81 -47
  243. package/node/hooks/features/filter/useGridFilter.js +15 -2
  244. package/node/hooks/features/focus/useGridFocus.js +11 -6
  245. package/node/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +43 -34
  246. package/node/hooks/features/pagination/useGridPageSize.js +4 -1
  247. package/node/hooks/features/rows/gridRowsSelector.js +24 -2
  248. package/node/hooks/features/rows/gridRowsUtils.js +23 -2
  249. package/node/hooks/features/rows/index.js +70 -12
  250. package/node/hooks/features/rows/useGridRows.js +5 -2
  251. package/node/hooks/features/rows/useGridRowsMeta.js +20 -4
  252. package/node/hooks/features/rows/useGridRowsPreProcessors.js +2 -1
  253. package/node/hooks/features/scroll/useGridScroll.js +7 -1
  254. package/node/hooks/features/selection/useGridSelection.js +7 -3
  255. package/node/hooks/features/sorting/useGridSorting.js +8 -0
  256. package/node/hooks/features/virtualization/useGridVirtualScroller.js +31 -16
  257. package/node/index.js +1 -1
  258. package/node/internals/index.js +36 -0
  259. package/node/locales/arSD.js +1 -1
  260. package/node/locales/bgBG.js +1 -1
  261. package/node/locales/csCZ.js +1 -1
  262. package/node/locales/daDK.js +1 -1
  263. package/node/locales/deDE.js +9 -9
  264. package/node/locales/elGR.js +1 -1
  265. package/node/locales/esES.js +1 -1
  266. package/node/locales/faIR.js +1 -1
  267. package/node/locales/fiFI.js +1 -1
  268. package/node/locales/frFR.js +1 -1
  269. package/node/locales/heIL.js +1 -1
  270. package/node/locales/huHU.js +1 -1
  271. package/node/locales/itIT.js +15 -15
  272. package/node/locales/jaJP.js +3 -3
  273. package/node/locales/koKR.js +30 -30
  274. package/node/locales/nbNO.js +1 -1
  275. package/node/locales/nlNL.js +1 -1
  276. package/node/locales/plPL.js +1 -1
  277. package/node/locales/ptBR.js +1 -1
  278. package/node/locales/roRO.js +1 -1
  279. package/node/locales/ruRU.js +1 -1
  280. package/node/locales/skSK.js +1 -1
  281. package/node/locales/svSE.js +1 -1
  282. package/node/locales/trTR.js +1 -1
  283. package/node/locales/ukUA.js +1 -1
  284. package/node/locales/viVN.js +1 -1
  285. package/node/locales/zhCN.js +33 -33
  286. package/node/locales/zhTW.js +1 -1
  287. package/node/utils/keyboardUtils.js +10 -4
  288. package/package.json +1 -1
  289. package/utils/keyboardUtils.d.ts +2 -2
  290. package/utils/keyboardUtils.js +7 -2
@@ -23,7 +23,7 @@ var daDKGrid = {
23
23
  return count !== 1 ? "".concat(count, " aktive filtre") : "".concat(count, " aktivt filter");
24
24
  },
25
25
  // Quick filter toolbar field
26
- // toolbarQuickFilterPlaceholder: 'Search...',
26
+ // toolbarQuickFilterPlaceholder: 'Search',
27
27
  // toolbarQuickFilterLabel: 'Search',
28
28
  // toolbarQuickFilterDeleteIconLabel: 'Clear',
29
29
  // Export selector toolbar button text
@@ -23,7 +23,7 @@ var deDEGrid = {
23
23
  return count !== 1 ? "".concat(count, " aktive Filter") : "".concat(count, " aktiver Filter");
24
24
  },
25
25
  // Quick filter toolbar field
26
- toolbarQuickFilterPlaceholder: 'Suchen...',
26
+ toolbarQuickFilterPlaceholder: 'Suchen',
27
27
  toolbarQuickFilterLabel: 'Suchen',
28
28
  toolbarQuickFilterDeleteIconLabel: 'Löschen',
29
29
  // Export selector toolbar button text
@@ -123,13 +123,13 @@ var deDEGrid = {
123
123
  expandDetailPanel: 'Aufklappen',
124
124
  collapseDetailPanel: 'Zuklappen',
125
125
  // Row reordering text
126
- rowReorderingHeaderName: 'Reihen neu ordnen' // Aggregation
127
- // aggregationMenuItemHeader: 'Aggregation',
128
- // aggregationFunctionLabelSum: 'sum',
129
- // aggregationFunctionLabelAvg: 'avg',
130
- // aggregationFunctionLabelMin: 'min',
131
- // aggregationFunctionLabelMax: 'max',
132
- // aggregationFunctionLabelSize: 'size',
133
-
126
+ rowReorderingHeaderName: 'Reihen neu ordnen',
127
+ // Aggregation
128
+ aggregationMenuItemHeader: 'Aggregation',
129
+ aggregationFunctionLabelSum: 'Summe',
130
+ aggregationFunctionLabelAvg: 'Mittelwert',
131
+ aggregationFunctionLabelMin: 'Minimum',
132
+ aggregationFunctionLabelMax: 'Maximum',
133
+ aggregationFunctionLabelSize: 'Anzahl'
134
134
  };
135
135
  export var deDE = getGridLocalization(deDEGrid, deDECore);
@@ -22,7 +22,7 @@ var elGRGrid = {
22
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");
23
23
  },
24
24
  // Quick filter toolbar field
25
- // toolbarQuickFilterPlaceholder: 'Search...',
25
+ // toolbarQuickFilterPlaceholder: 'Search',
26
26
  // toolbarQuickFilterLabel: 'Search',
27
27
  // toolbarQuickFilterDeleteIconLabel: 'Clear',
28
28
  // Export selector toolbar button text
@@ -23,7 +23,7 @@ var esESGrid = {
23
23
  return count > 1 ? "".concat(count, " filtros activos") : "".concat(count, " filtro activo");
24
24
  },
25
25
  // Quick filter toolbar field
26
- // toolbarQuickFilterPlaceholder: 'Search...',
26
+ // toolbarQuickFilterPlaceholder: 'Search',
27
27
  // toolbarQuickFilterLabel: 'Search',
28
28
  // toolbarQuickFilterDeleteIconLabel: 'Clear',
29
29
  // Export selector toolbar button text
@@ -23,7 +23,7 @@ var faIRGrid = {
23
23
  return count !== 1 ? "".concat(count, " \u0641\u06CC\u0644\u062A\u0631\u0647\u0627\u06CC \u0641\u0639\u0627\u0644") : "".concat(count, " \u0641\u06CC\u0644\u062A\u0631 \u0641\u0639\u0627\u0644");
24
24
  },
25
25
  // Quick filter toolbar field
26
- // toolbarQuickFilterPlaceholder: 'Search...',
26
+ // toolbarQuickFilterPlaceholder: 'Search',
27
27
  // toolbarQuickFilterLabel: 'Search',
28
28
  // toolbarQuickFilterDeleteIconLabel: 'Clear',
29
29
  // Export selector toolbar button text
@@ -23,7 +23,7 @@ var fiFIGrid = {
23
23
  return count !== 1 ? "".concat(count, " aktiivista suodatinta") : "".concat(count, " aktiivinen suodatin");
24
24
  },
25
25
  // Quick filter toolbar field
26
- // toolbarQuickFilterPlaceholder: 'Search...',
26
+ // toolbarQuickFilterPlaceholder: 'Search',
27
27
  // toolbarQuickFilterLabel: 'Search',
28
28
  // toolbarQuickFilterDeleteIconLabel: 'Clear',
29
29
  // Export selector toolbar button text
@@ -23,7 +23,7 @@ var frFRGrid = {
23
23
  return count > 1 ? "".concat(count, " filtres actifs") : "".concat(count, " filtre actif");
24
24
  },
25
25
  // Quick filter toolbar field
26
- toolbarQuickFilterPlaceholder: 'Recherche...',
26
+ toolbarQuickFilterPlaceholder: 'Recherche',
27
27
  toolbarQuickFilterLabel: 'Recherche',
28
28
  toolbarQuickFilterDeleteIconLabel: 'Supprimer',
29
29
  // Export selector toolbar button text
@@ -23,7 +23,7 @@ var heILGrid = {
23
23
  return count !== 1 ? "".concat(count, " \u05DE\u05E1\u05E0\u05E0\u05D9\u05DD \u05E4\u05E2\u05D9\u05DC\u05D9\u05DD") : "\u05DE\u05E1\u05E0\u05DF \u05D0\u05D7\u05D3 \u05E4\u05E2\u05D9\u05DC";
24
24
  },
25
25
  // Quick filter toolbar field
26
- toolbarQuickFilterPlaceholder: 'חיפוש...',
26
+ toolbarQuickFilterPlaceholder: 'חיפוש…',
27
27
  toolbarQuickFilterLabel: 'חיפוש',
28
28
  toolbarQuickFilterDeleteIconLabel: 'ניקוי',
29
29
  // Export selector toolbar button text
@@ -23,7 +23,7 @@ var huHUGrid = {
23
23
  return "".concat(count, " akt\xEDv sz\u0171r\u0151");
24
24
  },
25
25
  // Quick filter toolbar field
26
- // toolbarQuickFilterPlaceholder: 'Search...',
26
+ // toolbarQuickFilterPlaceholder: 'Search',
27
27
  // toolbarQuickFilterLabel: 'Search',
28
28
  // toolbarQuickFilterDeleteIconLabel: 'Clear',
29
29
  // Export selector toolbar button text
@@ -23,15 +23,15 @@ var itITGrid = {
23
23
  return count > 1 ? "".concat(count, " filtri attivi") : "".concat(count, " filtro attivo");
24
24
  },
25
25
  // Quick filter toolbar field
26
- // toolbarQuickFilterPlaceholder: 'Search...',
27
- // toolbarQuickFilterLabel: 'Search',
28
- // toolbarQuickFilterDeleteIconLabel: 'Clear',
26
+ toolbarQuickFilterPlaceholder: 'Cerca…',
27
+ toolbarQuickFilterLabel: 'Cerca',
28
+ toolbarQuickFilterDeleteIconLabel: 'Resetta',
29
29
  // Export selector toolbar button text
30
30
  toolbarExport: 'Esporta',
31
31
  toolbarExportLabel: 'Esporta',
32
32
  toolbarExportCSV: 'Esporta in CSV',
33
33
  toolbarExportPrint: 'Stampa',
34
- // toolbarExportExcel: 'Download as Excel',
34
+ toolbarExportExcel: 'Scarica come Excel',
35
35
  // Columns panel text
36
36
  columnsPanelTextFieldLabel: 'Cerca colonna',
37
37
  columnsPanelTextFieldPlaceholder: 'Titolo della colonna',
@@ -41,7 +41,7 @@ var itITGrid = {
41
41
  // Filter panel text
42
42
  filterPanelAddFilter: 'Aggiungi un filtro',
43
43
  filterPanelDeleteIconLabel: 'Rimuovi',
44
- // filterPanelLinkOperator: 'Logic operator',
44
+ filterPanelLinkOperator: 'Operatore logico',
45
45
  filterPanelOperators: 'Operatori',
46
46
  // TODO v6: rename to filterPanelOperator
47
47
  filterPanelOperatorAnd: 'E (and)',
@@ -93,10 +93,10 @@ var itITGrid = {
93
93
  },
94
94
  // Checkbox selection text
95
95
  checkboxSelectionHeaderName: 'Seleziona',
96
- // checkboxSelectionSelectAllRows: 'Select all rows',
97
- // checkboxSelectionUnselectAllRows: 'Unselect all rows',
98
- // checkboxSelectionSelectRow: 'Select row',
99
- // checkboxSelectionUnselectRow: 'Unselect row',
96
+ checkboxSelectionSelectAllRows: 'Seleziona tutte le righe',
97
+ checkboxSelectionUnselectAllRows: 'Deseleziona tutte le righe',
98
+ checkboxSelectionSelectRow: 'Seleziona riga',
99
+ checkboxSelectionUnselectRow: 'Deseleziona riga',
100
100
  // Boolean cell text
101
101
  booleanCellTrueLabel: 'vero',
102
102
  booleanCellFalseLabel: 'falso',
@@ -117,13 +117,13 @@ var itITGrid = {
117
117
  },
118
118
  unGroupColumn: function unGroupColumn(name) {
119
119
  return "Annulla raggruppamento per ".concat(name);
120
- } // Master/detail
121
- // detailPanelToggle: 'Detail panel toggle',
122
- // expandDetailPanel: 'Expand',
123
- // collapseDetailPanel: 'Collapse',
120
+ },
121
+ // Master/detail
122
+ detailPanelToggle: 'Abilita pannello dettagli',
123
+ expandDetailPanel: 'Espandi',
124
+ collapseDetailPanel: 'Comprimi',
124
125
  // Row reordering text
125
- // rowReorderingHeaderName: 'Row reordering',
126
- // Aggregation
126
+ rowReorderingHeaderName: 'Riordinamento righe' // Aggregation
127
127
  // aggregationMenuItemHeader: 'Aggregation',
128
128
  // aggregationFunctionLabelSum: 'sum',
129
129
  // aggregationFunctionLabelAvg: 'avg',
@@ -23,7 +23,7 @@ var jaJPGrid = {
23
23
  return "".concat(count, "\u4EF6\u306E\u30D5\u30A3\u30EB\u30BF\u30FC\u3092\u9069\u7528\u4E2D");
24
24
  },
25
25
  // Quick filter toolbar field
26
- toolbarQuickFilterPlaceholder: '検索...',
26
+ toolbarQuickFilterPlaceholder: '検索…',
27
27
  toolbarQuickFilterLabel: '検索',
28
28
  toolbarQuickFilterDeleteIconLabel: 'クリア',
29
29
  // Export selector toolbar button text
@@ -34,7 +34,7 @@ var jaJPGrid = {
34
34
  toolbarExportExcel: 'Excelダウンロード',
35
35
  // Columns panel text
36
36
  columnsPanelTextFieldLabel: '列検索',
37
- columnsPanelTextFieldPlaceholder: '検索クエリを入力...',
37
+ columnsPanelTextFieldPlaceholder: '検索クエリを入力…',
38
38
  columnsPanelDragIconLabel: '列並べ替え',
39
39
  columnsPanelShowAllButton: 'すべて表示',
40
40
  columnsPanelHideAllButton: 'すべて非表示',
@@ -48,7 +48,7 @@ var jaJPGrid = {
48
48
  filterPanelOperatorOr: 'Or',
49
49
  filterPanelColumns: '列',
50
50
  filterPanelInputLabel: '値',
51
- filterPanelInputPlaceholder: '値を入力...',
51
+ filterPanelInputPlaceholder: '値を入力…',
52
52
  // Filter operators text
53
53
  filterOperatorContains: '...を含む',
54
54
  filterOperatorEquals: '...に等しい',
@@ -6,8 +6,8 @@ var koKRGrid = {
6
6
  noResultsOverlayLabel: '결과값이 없습니다.',
7
7
  errorOverlayDefaultLabel: '오류가 발생했습니다.',
8
8
  // Density selector toolbar button text
9
- toolbarDensity: '라인 간격',
10
- toolbarDensityLabel: '라인 간격',
9
+ toolbarDensity: ' 간격',
10
+ toolbarDensityLabel: ' 간격',
11
11
  toolbarDensityCompact: '좁게',
12
12
  toolbarDensityStandard: '기본',
13
13
  toolbarDensityComfortable: '넓게',
@@ -23,15 +23,15 @@ var koKRGrid = {
23
23
  return "".concat(count, "\uAC74\uC758 \uD544\uD130\uB97C \uC801\uC6A9\uC911");
24
24
  },
25
25
  // Quick filter toolbar field
26
- // toolbarQuickFilterPlaceholder: 'Search...',
27
- // toolbarQuickFilterLabel: 'Search',
28
- // toolbarQuickFilterDeleteIconLabel: 'Clear',
26
+ toolbarQuickFilterPlaceholder: '검색…',
27
+ toolbarQuickFilterLabel: '검색',
28
+ toolbarQuickFilterDeleteIconLabel: '초기화',
29
29
  // Export selector toolbar button text
30
30
  toolbarExport: '내보내기',
31
31
  toolbarExportLabel: '내보내기',
32
- toolbarExportCSV: 'CSV다운로드',
32
+ toolbarExportCSV: 'CSV로 내보내기',
33
33
  toolbarExportPrint: '프린트',
34
- // toolbarExportExcel: 'Download as Excel',
34
+ toolbarExportExcel: 'Excel로 내보내기',
35
35
  // Columns panel text
36
36
  columnsPanelTextFieldLabel: '열 검색',
37
37
  columnsPanelTextFieldPlaceholder: '열 이름',
@@ -41,7 +41,7 @@ var koKRGrid = {
41
41
  // Filter panel text
42
42
  filterPanelAddFilter: '필터 추가',
43
43
  filterPanelDeleteIconLabel: '삭제',
44
- // filterPanelLinkOperator: 'Logic operator',
44
+ filterPanelLinkOperator: '논리 연산자',
45
45
  filterPanelOperators: '연산자',
46
46
  // TODO v6: rename to filterPanelOperator
47
47
  filterPanelOperatorAnd: '그리고',
@@ -93,39 +93,43 @@ var koKRGrid = {
93
93
  },
94
94
  // Checkbox selection text
95
95
  checkboxSelectionHeaderName: '선택',
96
- // checkboxSelectionSelectAllRows: 'Select all rows',
97
- // checkboxSelectionUnselectAllRows: 'Unselect all rows',
98
- // checkboxSelectionSelectRow: 'Select row',
99
- // checkboxSelectionUnselectRow: 'Unselect row',
96
+ checkboxSelectionSelectAllRows: '모든 선택',
97
+ checkboxSelectionUnselectAllRows: '모든 선택 해제',
98
+ checkboxSelectionSelectRow: ' 선택',
99
+ checkboxSelectionUnselectRow: ' 선택 해제',
100
100
  // Boolean cell text
101
101
  booleanCellTrueLabel: '참',
102
102
  booleanCellFalseLabel: '거짓',
103
103
  // Actions cell more text
104
104
  actionsCellMore: '더보기',
105
105
  // Column pinning text
106
- // pinToLeft: 'Pin to left',
107
- // pinToRight: 'Pin to right',
108
- // unpin: 'Unpin',
106
+ pinToLeft: '왼쪽에 고정',
107
+ pinToRight: '오른쪽에 고정',
108
+ unpin: '고정 해제',
109
109
  // Tree Data
110
110
  treeDataGroupingHeaderName: '그룹',
111
111
  treeDataExpand: '하위노드 펼치기',
112
- treeDataCollapse: '하위노드 접기' // Grouping columns
113
- // groupingColumnHeaderName: 'Group',
114
- // groupColumn: name => `Group by ${name}`,
115
- // unGroupColumn: name => `Stop grouping by ${name}`,
112
+ treeDataCollapse: '하위노드 접기',
113
+ // Grouping columns
114
+ groupingColumnHeaderName: '그룹',
115
+ groupColumn: function groupColumn(name) {
116
+ return "".concat(name, " \uAC12\uC73C\uB85C \uADF8\uB8F9 \uC0DD\uC131");
117
+ },
118
+ unGroupColumn: function unGroupColumn(name) {
119
+ return "".concat(name, " \uAC12\uC73C\uB85C \uADF8\uB8F9 \uD574\uC81C");
120
+ },
116
121
  // Master/detail
117
- // detailPanelToggle: 'Detail panel toggle',
118
- // expandDetailPanel: 'Expand',
119
- // collapseDetailPanel: 'Collapse',
122
+ detailPanelToggle: '상세 패널 토글',
123
+ expandDetailPanel: '열기',
124
+ collapseDetailPanel: '접기',
120
125
  // Row reordering text
121
- // rowReorderingHeaderName: 'Row reordering',
126
+ rowReorderingHeaderName: ' 재배치',
122
127
  // Aggregation
123
- // aggregationMenuItemHeader: 'Aggregation',
124
- // aggregationFunctionLabelSum: 'sum',
125
- // aggregationFunctionLabelAvg: 'avg',
126
- // aggregationFunctionLabelMin: 'min',
127
- // aggregationFunctionLabelMax: 'max',
128
- // aggregationFunctionLabelSize: 'size',
129
-
128
+ aggregationMenuItemHeader: '총계',
129
+ aggregationFunctionLabelSum: '',
130
+ aggregationFunctionLabelAvg: '평균',
131
+ aggregationFunctionLabelMin: '최소값',
132
+ aggregationFunctionLabelMax: '최대값',
133
+ aggregationFunctionLabelSize: '크기'
130
134
  };
131
135
  export var koKR = getGridLocalization(koKRGrid, koKRCore);
@@ -23,7 +23,7 @@ var nbNOGrid = {
23
23
  return count !== 1 ? "".concat(count, " aktive filter") : "".concat(count, " aktivt filter");
24
24
  },
25
25
  // Quick filter toolbar field
26
- toolbarQuickFilterPlaceholder: 'Søk...',
26
+ toolbarQuickFilterPlaceholder: 'Søk',
27
27
  toolbarQuickFilterLabel: 'Søk',
28
28
  toolbarQuickFilterDeleteIconLabel: 'Slett',
29
29
  // Export selector toolbar button text
@@ -23,7 +23,7 @@ var nlNLGrid = {
23
23
  return count > 1 ? "".concat(count, " actieve filters") : "".concat(count, " filter actief");
24
24
  },
25
25
  // Quick filter toolbar field
26
- toolbarQuickFilterPlaceholder: 'Zoeken...',
26
+ toolbarQuickFilterPlaceholder: 'Zoeken',
27
27
  toolbarQuickFilterLabel: 'Zoeken',
28
28
  toolbarQuickFilterDeleteIconLabel: 'Wissen',
29
29
  // Export selector toolbar button text
@@ -23,7 +23,7 @@ var plPLGrid = {
23
23
  return "Liczba aktywnych filtr\xF3w: ".concat(count);
24
24
  },
25
25
  // Quick filter toolbar field
26
- // toolbarQuickFilterPlaceholder: 'Search...',
26
+ // toolbarQuickFilterPlaceholder: 'Search',
27
27
  // toolbarQuickFilterLabel: 'Search',
28
28
  // toolbarQuickFilterDeleteIconLabel: 'Clear',
29
29
  // Export selector toolbar button text
@@ -23,7 +23,7 @@ var ptBRGrid = {
23
23
  return "".concat(count, " ").concat(count !== 1 ? 'filtros' : 'filtro', " ").concat(count !== 1 ? 'ativos' : 'ativo');
24
24
  },
25
25
  // Quick filter toolbar field
26
- toolbarQuickFilterPlaceholder: 'Procurar...',
26
+ toolbarQuickFilterPlaceholder: 'Procurar',
27
27
  toolbarQuickFilterLabel: 'Procurar',
28
28
  toolbarQuickFilterDeleteIconLabel: 'Limpar',
29
29
  // Export selector toolbar button text
@@ -23,7 +23,7 @@ var roROGrid = {
23
23
  return count !== 1 ? "".concat(count, " filtru activ") : "".concat(count, " filtru activ");
24
24
  },
25
25
  // Quick filter toolbar field
26
- toolbarQuickFilterPlaceholder: 'Căutare...',
26
+ toolbarQuickFilterPlaceholder: 'Căutare',
27
27
  toolbarQuickFilterLabel: 'Căutare',
28
28
  toolbarQuickFilterDeleteIconLabel: 'Ștergere',
29
29
  // Export selector toolbar button text
@@ -32,7 +32,7 @@ var ruRUGrid = {
32
32
  return "".concat(count, " ").concat(pluralForm);
33
33
  },
34
34
  // Quick filter toolbar field
35
- toolbarQuickFilterPlaceholder: 'Поиск...',
35
+ toolbarQuickFilterPlaceholder: 'Поиск…',
36
36
  toolbarQuickFilterLabel: 'Поиск',
37
37
  toolbarQuickFilterDeleteIconLabel: 'Очистить',
38
38
  // Export selector toolbar button text
@@ -31,7 +31,7 @@ var skSKGrid = {
31
31
  return "".concat(count, " ").concat(pluralForm);
32
32
  },
33
33
  // Quick filter toolbar field
34
- toolbarQuickFilterPlaceholder: 'Vyhľadať...',
34
+ toolbarQuickFilterPlaceholder: 'Vyhľadať…',
35
35
  toolbarQuickFilterLabel: 'Vyhľadať',
36
36
  toolbarQuickFilterDeleteIconLabel: 'Vymazať',
37
37
  // Export selector toolbar button text
@@ -23,7 +23,7 @@ var svSEGrid = {
23
23
  return count !== 1 ? "".concat(count, " aktiva filter") : "".concat(count, " aktivt filter");
24
24
  },
25
25
  // Quick filter toolbar field
26
- toolbarQuickFilterPlaceholder: 'Sök...',
26
+ toolbarQuickFilterPlaceholder: 'Sök',
27
27
  toolbarQuickFilterLabel: 'Sök',
28
28
  toolbarQuickFilterDeleteIconLabel: 'Rensa',
29
29
  // Export selector toolbar button text
@@ -23,7 +23,7 @@ var trTRGrid = {
23
23
  return "".concat(count, " aktif filtre");
24
24
  },
25
25
  // Quick filter toolbar field
26
- toolbarQuickFilterPlaceholder: 'Ara...',
26
+ toolbarQuickFilterPlaceholder: 'Ara',
27
27
  toolbarQuickFilterLabel: 'Ara',
28
28
  toolbarQuickFilterDeleteIconLabel: 'Temizle',
29
29
  // Export selector toolbar button text
@@ -41,7 +41,7 @@ var ukUAGrid = {
41
41
  });
42
42
  },
43
43
  // Quick filter toolbar field
44
- // toolbarQuickFilterPlaceholder: 'Search...',
44
+ // toolbarQuickFilterPlaceholder: 'Search',
45
45
  // toolbarQuickFilterLabel: 'Search',
46
46
  // toolbarQuickFilterDeleteIconLabel: 'Clear',
47
47
  // Export selector toolbar button text
@@ -23,7 +23,7 @@ var viVNGrid = {
23
23
  return count > 1 ? "".concat(count, " b\u1ED9 l\u1ECDc ho\u1EA1t \u0111\u1ED9ng") : "".concat(count, " b\u1ED9 l\u1ECDc ho\u1EA1t \u0111\u1ED9ng");
24
24
  },
25
25
  // Quick filter toolbar field
26
- // toolbarQuickFilterPlaceholder: 'Search...',
26
+ // toolbarQuickFilterPlaceholder: 'Search',
27
27
  // toolbarQuickFilterLabel: 'Search',
28
28
  // toolbarQuickFilterDeleteIconLabel: 'Clear',
29
29
  // Export selector toolbar button text
@@ -23,15 +23,15 @@ var zhCNGrid = {
23
23
  return "".concat(count, " \u4E2A\u7B5B\u9009\u5668");
24
24
  },
25
25
  // Quick filter toolbar field
26
- // toolbarQuickFilterPlaceholder: 'Search...',
27
- // toolbarQuickFilterLabel: 'Search',
28
- // toolbarQuickFilterDeleteIconLabel: 'Clear',
26
+ toolbarQuickFilterPlaceholder: '搜索…',
27
+ toolbarQuickFilterLabel: '搜索',
28
+ toolbarQuickFilterDeleteIconLabel: '清除',
29
29
  // Export selector toolbar button text
30
30
  toolbarExport: '导出',
31
31
  toolbarExportLabel: '导出',
32
32
  toolbarExportCSV: '导出至CSV',
33
- // toolbarExportPrint: 'Print',
34
- // toolbarExportExcel: 'Download as Excel',
33
+ toolbarExportPrint: '打印',
34
+ toolbarExportExcel: '导出至Excel',
35
35
  // Columns panel text
36
36
  columnsPanelTextFieldLabel: '搜索列',
37
37
  columnsPanelTextFieldPlaceholder: '列名',
@@ -41,7 +41,7 @@ var zhCNGrid = {
41
41
  // Filter panel text
42
42
  filterPanelAddFilter: '添加筛选器',
43
43
  filterPanelDeleteIconLabel: '删除',
44
- // filterPanelLinkOperator: 'Logic operator',
44
+ filterPanelLinkOperator: '逻辑操作器',
45
45
  filterPanelOperators: '操作器',
46
46
  // TODO v6: rename to filterPanelOperator
47
47
  filterPanelOperatorAnd: '与',
@@ -62,7 +62,7 @@ var zhCNGrid = {
62
62
  filterOperatorOnOrBefore: '正在前面',
63
63
  filterOperatorIsEmpty: '为空',
64
64
  filterOperatorIsNotEmpty: '不为空',
65
- // filterOperatorIsAnyOf: 'is any of',
65
+ filterOperatorIsAnyOf: '属于',
66
66
  // Filter values text
67
67
  filterValueAny: '任何',
68
68
  filterValueTrue: '真',
@@ -93,39 +93,43 @@ var zhCNGrid = {
93
93
  },
94
94
  // Checkbox selection text
95
95
  checkboxSelectionHeaderName: '多选框',
96
- // checkboxSelectionSelectAllRows: 'Select all rows',
97
- // checkboxSelectionUnselectAllRows: 'Unselect all rows',
98
- // checkboxSelectionSelectRow: 'Select row',
99
- // checkboxSelectionUnselectRow: 'Unselect row',
96
+ checkboxSelectionSelectAllRows: '全选行',
97
+ checkboxSelectionUnselectAllRows: '反选所有行',
98
+ checkboxSelectionSelectRow: '选择行',
99
+ checkboxSelectionUnselectRow: '反选行',
100
100
  // Boolean cell text
101
101
  booleanCellTrueLabel: '真',
102
- booleanCellFalseLabel: '假' // Actions cell more text
103
- // actionsCellMore: 'more',
102
+ booleanCellFalseLabel: '假',
103
+ // Actions cell more text
104
+ actionsCellMore: '更多',
104
105
  // Column pinning text
105
- // pinToLeft: 'Pin to left',
106
- // pinToRight: 'Pin to right',
107
- // unpin: 'Unpin',
106
+ pinToLeft: '固定到左侧',
107
+ pinToRight: '固定到右侧',
108
+ unpin: '取消固定',
108
109
  // Tree Data
109
- // treeDataGroupingHeaderName: 'Group',
110
- // treeDataExpand: 'see children',
111
- // treeDataCollapse: 'hide children',
110
+ treeDataGroupingHeaderName: '',
111
+ treeDataExpand: '查看子项目',
112
+ treeDataCollapse: '隐藏子项目',
112
113
  // Grouping columns
113
- // groupingColumnHeaderName: 'Group',
114
- // groupColumn: name => `Group by ${name}`,
115
- // unGroupColumn: name => `Stop grouping by ${name}`,
114
+ groupingColumnHeaderName: '',
115
+ groupColumn: function groupColumn(name) {
116
+ return "\u7528".concat(name, "\u5206\u7EC4");
117
+ },
118
+ unGroupColumn: function unGroupColumn(name) {
119
+ return "\u4E0D\u518D\u7528".concat(name, "\u5206\u7EC4");
120
+ },
116
121
  // Master/detail
117
- // detailPanelToggle: 'Detail panel toggle',
118
- // expandDetailPanel: 'Expand',
119
- // collapseDetailPanel: 'Collapse',
122
+ detailPanelToggle: '详细信息',
123
+ expandDetailPanel: '显示',
124
+ collapseDetailPanel: '折叠',
120
125
  // Row reordering text
121
- // rowReorderingHeaderName: 'Row reordering',
126
+ rowReorderingHeaderName: '重新排列行',
122
127
  // Aggregation
123
- // aggregationMenuItemHeader: 'Aggregation',
124
- // aggregationFunctionLabelSum: 'sum',
125
- // aggregationFunctionLabelAvg: 'avg',
126
- // aggregationFunctionLabelMin: 'min',
127
- // aggregationFunctionLabelMax: 'max',
128
- // aggregationFunctionLabelSize: 'size',
129
-
128
+ aggregationMenuItemHeader: '集合',
129
+ aggregationFunctionLabelSum: '总数',
130
+ aggregationFunctionLabelAvg: '平均',
131
+ aggregationFunctionLabelMin: '最小',
132
+ aggregationFunctionLabelMax: '最大',
133
+ aggregationFunctionLabelSize: '大小'
130
134
  };
131
135
  export var zhCN = getGridLocalization(zhCNGrid, zhCNCore);
@@ -23,7 +23,7 @@ var zhTWGrid = {
23
23
  return "".concat(count, " \u500B\u7BE9\u9078\u5668");
24
24
  },
25
25
  // Quick filter toolbar field
26
- toolbarQuickFilterPlaceholder: '搜尋...',
26
+ toolbarQuickFilterPlaceholder: '搜尋…',
27
27
  toolbarQuickFilterLabel: '搜尋',
28
28
  toolbarQuickFilterDeleteIconLabel: '清除',
29
29
  // Export selector toolbar button text
@@ -26,18 +26,21 @@ export var isDeleteKeys = function isDeleteKeys(key) {
26
26
  return key === 'Delete' || key === 'Backspace';
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:
30
+ // - Windows: Ctrl+A, event.ctrlKey is true
31
+ // - macOS: ⌘ Command+A, event.metaKey is true
29
32
 
30
- export var isPrintableKey = function isPrintableKey(key) {
31
- return key.length === 1;
32
- };
33
+ export function isPrintableKey(event) {
34
+ return event.key.length === 1 && event.ctrlKey === false && event.metaKey === false;
35
+ }
33
36
  export var GRID_MULTIPLE_SELECTION_KEYS = ['Meta', 'Control', 'Shift'];
34
37
  export var GRID_CELL_EXIT_EDIT_MODE_KEYS = ['Enter', 'Escape', 'Tab'];
35
38
  export var GRID_CELL_EDIT_COMMIT_KEYS = ['Enter', 'Tab'];
36
39
  export var isMultipleKey = function isMultipleKey(key) {
37
40
  return GRID_MULTIPLE_SELECTION_KEYS.indexOf(key) > -1;
38
41
  };
39
- export var isCellEnterEditModeKeys = function isCellEnterEditModeKeys(key) {
40
- return isEnterKey(key) || isDeleteKeys(key) || isPrintableKey(key);
42
+ export var isCellEnterEditModeKeys = function isCellEnterEditModeKeys(event) {
43
+ return isEnterKey(event.key) || isDeleteKeys(event.key) || isPrintableKey(event);
41
44
  };
42
45
  export var isCellExitEditModeKeys = function isCellExitEditModeKeys(key) {
43
46
  return GRID_CELL_EXIT_EDIT_MODE_KEYS.indexOf(key) > -1;
package/locales/arSD.js CHANGED
@@ -21,7 +21,7 @@ const arSDGrid = {
21
21
  toolbarFiltersTooltipShow: 'اظهر المرشِحات',
22
22
  toolbarFiltersTooltipActive: count => count !== 1 ? `${count} من المرشِحات النشطة` : `مرشِح نشط`,
23
23
  // Quick filter toolbar field
24
- // toolbarQuickFilterPlaceholder: 'Search...',
24
+ // toolbarQuickFilterPlaceholder: 'Search',
25
25
  // toolbarQuickFilterLabel: 'Search',
26
26
  // toolbarQuickFilterDeleteIconLabel: 'Clear',
27
27
  // Export selector toolbar button text
package/locales/bgBG.js CHANGED
@@ -21,7 +21,7 @@ const bgBGGrid = {
21
21
  toolbarFiltersTooltipShow: 'Покажи Филтрите',
22
22
  toolbarFiltersTooltipActive: count => `${count} активни филтри`,
23
23
  // Quick filter toolbar field
24
- // toolbarQuickFilterPlaceholder: 'Search...',
24
+ // toolbarQuickFilterPlaceholder: 'Search',
25
25
  // toolbarQuickFilterLabel: 'Search',
26
26
  // toolbarQuickFilterDeleteIconLabel: 'Clear',
27
27
  // Export selector toolbar button text
package/locales/csCZ.js CHANGED
@@ -31,7 +31,7 @@ const csCZGrid = {
31
31
  return `${count} ${pluralForm}`;
32
32
  },
33
33
  // Quick filter toolbar field
34
- // toolbarQuickFilterPlaceholder: 'Search...',
34
+ // toolbarQuickFilterPlaceholder: 'Search',
35
35
  // toolbarQuickFilterLabel: 'Search',
36
36
  // toolbarQuickFilterDeleteIconLabel: 'Clear',
37
37
  // Export selector toolbar button text
package/locales/daDK.js CHANGED
@@ -21,7 +21,7 @@ const daDKGrid = {
21
21
  toolbarFiltersTooltipShow: 'Vis filtre',
22
22
  toolbarFiltersTooltipActive: count => count !== 1 ? `${count} aktive filtre` : `${count} aktivt filter`,
23
23
  // Quick filter toolbar field
24
- // toolbarQuickFilterPlaceholder: 'Search...',
24
+ // toolbarQuickFilterPlaceholder: 'Search',
25
25
  // toolbarQuickFilterLabel: 'Search',
26
26
  // toolbarQuickFilterDeleteIconLabel: 'Clear',
27
27
  // Export selector toolbar button text