@mui/x-data-grid 8.0.0-beta.3 → 8.0.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 (1278) hide show
  1. package/CHANGELOG.md +282 -96
  2. package/DataGrid/DataGrid.js +5 -2
  3. package/DataGrid/index.d.ts +1 -0
  4. package/DataGrid/index.js +1 -0
  5. package/DataGrid/useDataGridComponent.d.ts +2 -2
  6. package/DataGrid/useDataGridComponent.js +2 -3
  7. package/components/GridColumnSortButton.d.ts +16 -0
  8. package/components/GridColumnSortButton.js +109 -0
  9. package/components/GridColumnUnsortedIcon.d.ts +8 -0
  10. package/{material/icons → components}/GridColumnUnsortedIcon.js +1 -1
  11. package/components/GridShadowScrollArea.d.ts +2 -1
  12. package/components/GridShadowScrollArea.js +14 -3
  13. package/components/base/GridOverlays.js +1 -1
  14. package/components/cell/GridActionsCellItem.d.ts +2 -2
  15. package/components/cell/GridActionsCellItem.js +1 -1
  16. package/components/cell/GridCell.js +7 -0
  17. package/components/columnHeaders/GridColumnHeaderSortIcon.d.ts +3 -9
  18. package/components/columnHeaders/GridColumnHeaderSortIcon.js +18 -66
  19. package/components/columnsManagement/GridColumnsManagement.js +11 -7
  20. package/components/columnsPanel/ColumnsPanelTrigger.js +4 -4
  21. package/components/containers/GridOverlay.js +2 -0
  22. package/components/containers/GridRoot.d.ts +1 -0
  23. package/components/containers/GridRoot.js +12 -6
  24. package/components/containers/GridRootStyles.js +27 -4
  25. package/components/containers/GridToolbarContainer.d.ts +3 -0
  26. package/components/containers/GridToolbarContainer.js +4 -0
  27. package/components/filterPanel/FilterPanelTrigger.js +2 -2
  28. package/components/index.d.ts +1 -0
  29. package/components/index.js +12 -0
  30. package/components/panel/GridPanel.d.ts +1 -0
  31. package/components/panel/GridPanel.js +8 -7
  32. package/components/panel/GridPanelContext.d.ts +13 -0
  33. package/components/panel/{GridPreferencePanelContext.js → GridPanelContext.js} +11 -9
  34. package/components/panel/GridPreferencesPanel.js +19 -4
  35. package/components/panel/filterPanel/GridFilterForm.js +10 -1
  36. package/components/quickFilter/QuickFilterControl.js +2 -0
  37. package/components/toolbar/GridToolbar.d.ts +3 -0
  38. package/components/toolbar/GridToolbar.js +3 -0
  39. package/components/toolbar/GridToolbarColumnsButton.d.ts +3 -0
  40. package/components/toolbar/GridToolbarColumnsButton.js +5 -2
  41. package/components/toolbar/GridToolbarDensitySelector.d.ts +3 -0
  42. package/components/toolbar/GridToolbarDensitySelector.js +3 -0
  43. package/components/toolbar/GridToolbarExport.d.ts +3 -0
  44. package/components/toolbar/GridToolbarExport.js +4 -0
  45. package/components/toolbar/GridToolbarFilterButton.d.ts +3 -0
  46. package/components/toolbar/GridToolbarFilterButton.js +5 -2
  47. package/components/toolbar/GridToolbarQuickFilter.d.ts +3 -0
  48. package/components/toolbar/GridToolbarQuickFilter.js +4 -0
  49. package/components/toolbarV8/GridToolbar.d.ts +1 -0
  50. package/components/toolbarV8/GridToolbar.js +4 -1
  51. package/components/toolbarV8/Toolbar.d.ts +1 -5
  52. package/components/toolbarV8/Toolbar.js +1 -2
  53. package/constants/cssVariables.d.ts +3 -0
  54. package/constants/cssVariables.js +2 -1
  55. package/constants/gridClasses.d.ts +215 -21
  56. package/constants/gridClasses.js +1 -1
  57. package/constants/localeTextConstants.js +79 -11
  58. package/context/GridContextProvider.js +2 -2
  59. package/esm/DataGrid/DataGrid.js +5 -2
  60. package/esm/DataGrid/index.d.ts +1 -0
  61. package/esm/DataGrid/index.js +1 -0
  62. package/esm/DataGrid/useDataGridComponent.d.ts +2 -2
  63. package/esm/DataGrid/useDataGridComponent.js +2 -3
  64. package/esm/components/GridColumnSortButton.d.ts +16 -0
  65. package/{modern/components/columnHeaders/GridColumnHeaderSortIcon.js → esm/components/GridColumnSortButton.js} +32 -15
  66. package/esm/components/GridColumnUnsortedIcon.d.ts +8 -0
  67. package/esm/{material/icons → components}/GridColumnUnsortedIcon.js +1 -1
  68. package/esm/components/GridShadowScrollArea.d.ts +2 -1
  69. package/esm/components/GridShadowScrollArea.js +14 -2
  70. package/esm/components/base/GridOverlays.js +1 -1
  71. package/esm/components/cell/GridActionsCellItem.d.ts +2 -2
  72. package/esm/components/cell/GridActionsCellItem.js +1 -1
  73. package/esm/components/cell/GridCell.js +7 -0
  74. package/esm/components/columnHeaders/GridColumnHeaderSortIcon.d.ts +3 -9
  75. package/esm/components/columnHeaders/GridColumnHeaderSortIcon.js +18 -66
  76. package/esm/components/columnsManagement/GridColumnsManagement.js +11 -7
  77. package/esm/components/columnsPanel/ColumnsPanelTrigger.js +4 -4
  78. package/esm/components/containers/GridOverlay.js +2 -0
  79. package/esm/components/containers/GridRoot.d.ts +1 -0
  80. package/esm/components/containers/GridRoot.js +13 -7
  81. package/esm/components/containers/GridRootStyles.js +27 -4
  82. package/esm/components/containers/GridToolbarContainer.d.ts +3 -0
  83. package/esm/components/containers/GridToolbarContainer.js +4 -0
  84. package/esm/components/filterPanel/FilterPanelTrigger.js +2 -2
  85. package/esm/components/index.d.ts +1 -0
  86. package/esm/components/index.js +1 -0
  87. package/esm/components/panel/GridPanel.d.ts +1 -0
  88. package/esm/components/panel/GridPanel.js +8 -7
  89. package/esm/components/panel/GridPanelContext.d.ts +13 -0
  90. package/{modern/components/panel/GridPreferencePanelContext.js → esm/components/panel/GridPanelContext.js} +8 -6
  91. package/esm/components/panel/GridPreferencesPanel.js +19 -4
  92. package/esm/components/panel/filterPanel/GridFilterForm.js +10 -1
  93. package/esm/components/quickFilter/QuickFilterControl.js +2 -0
  94. package/esm/components/toolbar/GridToolbar.d.ts +3 -0
  95. package/esm/components/toolbar/GridToolbar.js +3 -0
  96. package/esm/components/toolbar/GridToolbarColumnsButton.d.ts +3 -0
  97. package/esm/components/toolbar/GridToolbarColumnsButton.js +5 -2
  98. package/esm/components/toolbar/GridToolbarDensitySelector.d.ts +3 -0
  99. package/esm/components/toolbar/GridToolbarDensitySelector.js +3 -0
  100. package/esm/components/toolbar/GridToolbarExport.d.ts +3 -0
  101. package/esm/components/toolbar/GridToolbarExport.js +4 -0
  102. package/esm/components/toolbar/GridToolbarFilterButton.d.ts +3 -0
  103. package/esm/components/toolbar/GridToolbarFilterButton.js +5 -2
  104. package/esm/components/toolbar/GridToolbarQuickFilter.d.ts +3 -0
  105. package/esm/components/toolbar/GridToolbarQuickFilter.js +4 -0
  106. package/esm/components/toolbarV8/GridToolbar.d.ts +1 -0
  107. package/esm/components/toolbarV8/GridToolbar.js +4 -1
  108. package/esm/components/toolbarV8/Toolbar.d.ts +1 -5
  109. package/esm/components/toolbarV8/Toolbar.js +1 -2
  110. package/esm/constants/cssVariables.d.ts +3 -0
  111. package/esm/constants/cssVariables.js +2 -1
  112. package/esm/constants/gridClasses.d.ts +215 -21
  113. package/esm/constants/gridClasses.js +1 -1
  114. package/esm/constants/localeTextConstants.js +79 -11
  115. package/esm/context/GridContextProvider.js +2 -2
  116. package/esm/hooks/core/useGridInitialization.d.ts +2 -2
  117. package/esm/hooks/core/useGridInitialization.js +1 -4
  118. package/esm/hooks/features/columnGrouping/useGridColumnGrouping.d.ts +1 -1
  119. package/esm/hooks/features/columns/gridColumnsUtils.d.ts +1 -0
  120. package/esm/hooks/features/columns/gridColumnsUtils.js +1 -1
  121. package/esm/hooks/features/columns/useGridColumns.js +8 -2
  122. package/esm/hooks/features/dataSource/cache.d.ts +1 -1
  123. package/esm/hooks/features/dataSource/cache.js +1 -1
  124. package/esm/hooks/features/dataSource/models.d.ts +15 -2
  125. package/esm/hooks/features/dataSource/useGridDataSourceBase.d.ts +3 -8
  126. package/esm/hooks/features/dataSource/useGridDataSourceBase.js +38 -6
  127. package/esm/hooks/features/dataSource/utils.d.ts +1 -1
  128. package/esm/hooks/features/editing/useGridCellEditing.d.ts +1 -1
  129. package/esm/hooks/features/editing/useGridCellEditing.js +26 -3
  130. package/esm/hooks/features/editing/useGridEditing.d.ts +1 -1
  131. package/esm/hooks/features/editing/useGridRowEditing.d.ts +1 -1
  132. package/esm/hooks/features/editing/useGridRowEditing.js +26 -2
  133. package/esm/hooks/features/keyboardNavigation/useGridKeyboardNavigation.d.ts +1 -1
  134. package/esm/hooks/features/overlays/useGridOverlays.d.ts +1 -1
  135. package/esm/hooks/features/overlays/useGridOverlays.js +9 -3
  136. package/esm/hooks/features/pivoting/gridPivotingInterfaces.d.ts +11 -0
  137. package/esm/hooks/features/pivoting/gridPivotingSelectors.d.ts +6 -0
  138. package/esm/hooks/features/pivoting/gridPivotingSelectors.js +8 -0
  139. package/esm/hooks/features/pivoting/index.d.ts +2 -0
  140. package/esm/hooks/features/pivoting/index.js +2 -0
  141. package/esm/hooks/features/preferencesPanel/gridPreferencePanelsValue.d.ts +1 -0
  142. package/esm/hooks/features/preferencesPanel/gridPreferencePanelsValue.js +1 -0
  143. package/esm/hooks/features/rows/useGridRows.js +12 -6
  144. package/esm/hooks/features/virtualization/useGridVirtualScroller.js +5 -5
  145. package/esm/hooks/utils/useGridSelector.js +1 -4
  146. package/esm/hooks/utils/useIsSSR.js +1 -4
  147. package/esm/index.css +5 -0
  148. package/esm/index.js +1 -1
  149. package/esm/internals/index.d.ts +11 -4
  150. package/esm/internals/index.js +8 -3
  151. package/esm/locales/arSD.js +86 -11
  152. package/esm/locales/beBY.js +86 -11
  153. package/esm/locales/bgBG.js +86 -11
  154. package/esm/locales/bnBD.js +87 -11
  155. package/esm/locales/csCZ.js +87 -11
  156. package/esm/locales/daDK.js +86 -11
  157. package/esm/locales/deDE.js +87 -11
  158. package/esm/locales/elGR.js +86 -11
  159. package/esm/locales/esES.js +86 -11
  160. package/esm/locales/faIR.js +86 -11
  161. package/esm/locales/fiFI.js +86 -11
  162. package/esm/locales/frFR.js +86 -11
  163. package/esm/locales/heIL.js +86 -11
  164. package/esm/locales/hrHR.js +99 -29
  165. package/esm/locales/huHU.js +87 -11
  166. package/esm/locales/isIS.js +86 -11
  167. package/esm/locales/itIT.js +86 -11
  168. package/esm/locales/jaJP.js +86 -11
  169. package/esm/locales/koKR.js +86 -11
  170. package/esm/locales/nbNO.js +86 -11
  171. package/esm/locales/nlNL.js +87 -11
  172. package/esm/locales/nnNO.js +86 -11
  173. package/esm/locales/plPL.js +88 -13
  174. package/esm/locales/ptBR.js +86 -11
  175. package/esm/locales/ptPT.js +86 -11
  176. package/esm/locales/roRO.js +86 -11
  177. package/esm/locales/ruRU.js +87 -11
  178. package/esm/locales/skSK.js +87 -11
  179. package/esm/locales/svSE.js +89 -14
  180. package/esm/locales/trTR.js +86 -11
  181. package/esm/locales/ukUA.js +87 -11
  182. package/esm/locales/urPK.js +86 -11
  183. package/esm/locales/viVN.js +86 -11
  184. package/esm/locales/zhCN.js +87 -11
  185. package/esm/locales/zhHK.js +87 -11
  186. package/esm/locales/zhTW.js +87 -11
  187. package/esm/material/augmentation.d.ts +7 -0
  188. package/esm/material/icons/createSvgIcon.d.ts +2 -0
  189. package/esm/material/icons/createSvgIcon.js +2 -0
  190. package/esm/material/icons/index.d.ts +29 -84
  191. package/esm/material/icons/index.js +1 -1
  192. package/esm/material/index.js +71 -36
  193. package/esm/material/variables.js +2 -1
  194. package/esm/models/api/gridApiCommon.d.ts +2 -1
  195. package/esm/models/api/gridEditingApi.d.ts +1 -1
  196. package/esm/models/api/gridFocusApi.d.ts +1 -1
  197. package/esm/models/api/gridLocaleTextApi.d.ts +61 -9
  198. package/esm/models/api/gridPreferencesPanelApi.d.ts +1 -1
  199. package/esm/models/api/gridRowApi.d.ts +2 -3
  200. package/esm/models/colDef/gridColDef.d.ts +1 -1
  201. package/esm/models/configuration/gridConfiguration.d.ts +5 -0
  202. package/esm/models/events/gridEventListener.d.ts +1 -1
  203. package/esm/models/events/gridEventLookup.d.ts +1 -1
  204. package/esm/models/events/gridEventPublisher.d.ts +1 -1
  205. package/esm/models/gridBaseSlots.d.ts +18 -2
  206. package/esm/models/gridIconSlotsComponent.d.ts +37 -41
  207. package/esm/models/gridSlotsComponent.d.ts +5 -0
  208. package/esm/models/gridSlotsComponentsProps.d.ts +5 -2
  209. package/esm/models/index.d.ts +2 -2
  210. package/esm/models/index.js +0 -1
  211. package/esm/models/params/gridColumnResizeParams.d.ts +0 -1
  212. package/esm/package.json +1 -1
  213. package/hooks/core/useGridInitialization.d.ts +2 -2
  214. package/hooks/core/useGridInitialization.js +1 -4
  215. package/hooks/features/columnGrouping/useGridColumnGrouping.d.ts +1 -1
  216. package/hooks/features/columns/gridColumnsUtils.d.ts +1 -0
  217. package/hooks/features/columns/gridColumnsUtils.js +1 -0
  218. package/hooks/features/columns/useGridColumns.js +8 -2
  219. package/hooks/features/dataSource/cache.d.ts +1 -1
  220. package/hooks/features/dataSource/cache.js +1 -1
  221. package/hooks/features/dataSource/models.d.ts +15 -2
  222. package/hooks/features/dataSource/useGridDataSourceBase.d.ts +3 -8
  223. package/hooks/features/dataSource/useGridDataSourceBase.js +37 -5
  224. package/hooks/features/dataSource/utils.d.ts +1 -1
  225. package/hooks/features/editing/useGridCellEditing.d.ts +1 -1
  226. package/hooks/features/editing/useGridCellEditing.js +26 -3
  227. package/hooks/features/editing/useGridEditing.d.ts +1 -1
  228. package/hooks/features/editing/useGridRowEditing.d.ts +1 -1
  229. package/hooks/features/editing/useGridRowEditing.js +26 -2
  230. package/hooks/features/keyboardNavigation/useGridKeyboardNavigation.d.ts +1 -1
  231. package/hooks/features/overlays/useGridOverlays.d.ts +1 -1
  232. package/hooks/features/overlays/useGridOverlays.js +9 -3
  233. package/hooks/features/pivoting/gridPivotingInterfaces.d.ts +11 -0
  234. package/hooks/features/pivoting/gridPivotingSelectors.d.ts +6 -0
  235. package/hooks/features/pivoting/gridPivotingSelectors.js +14 -0
  236. package/hooks/features/pivoting/index.d.ts +2 -0
  237. package/hooks/features/pivoting/index.js +27 -0
  238. package/hooks/features/preferencesPanel/gridPreferencePanelsValue.d.ts +1 -0
  239. package/hooks/features/preferencesPanel/gridPreferencePanelsValue.js +1 -0
  240. package/hooks/features/rows/useGridRows.js +12 -6
  241. package/hooks/features/virtualization/useGridVirtualScroller.js +5 -5
  242. package/hooks/utils/useGridSelector.js +2 -6
  243. package/hooks/utils/useIsSSR.js +2 -6
  244. package/index.css +5 -0
  245. package/index.js +1 -1
  246. package/internals/index.d.ts +11 -4
  247. package/internals/index.js +60 -2
  248. package/locales/arSD.js +86 -11
  249. package/locales/beBY.js +86 -11
  250. package/locales/bgBG.js +86 -11
  251. package/locales/bnBD.js +87 -11
  252. package/locales/csCZ.js +87 -11
  253. package/locales/daDK.js +86 -11
  254. package/locales/deDE.js +87 -11
  255. package/locales/elGR.js +86 -11
  256. package/locales/esES.js +86 -11
  257. package/locales/faIR.js +86 -11
  258. package/locales/fiFI.js +86 -11
  259. package/locales/frFR.js +86 -11
  260. package/locales/heIL.js +86 -11
  261. package/locales/hrHR.js +99 -29
  262. package/locales/huHU.js +87 -11
  263. package/locales/isIS.js +86 -11
  264. package/locales/itIT.js +86 -11
  265. package/locales/jaJP.js +86 -11
  266. package/locales/koKR.js +86 -11
  267. package/locales/nbNO.js +86 -11
  268. package/locales/nlNL.js +87 -11
  269. package/locales/nnNO.js +86 -11
  270. package/locales/plPL.js +88 -13
  271. package/locales/ptBR.js +86 -11
  272. package/locales/ptPT.js +86 -11
  273. package/locales/roRO.js +86 -11
  274. package/locales/ruRU.js +87 -11
  275. package/locales/skSK.js +87 -11
  276. package/locales/svSE.js +89 -14
  277. package/locales/trTR.js +86 -11
  278. package/locales/ukUA.js +87 -11
  279. package/locales/urPK.js +86 -11
  280. package/locales/viVN.js +86 -11
  281. package/locales/zhCN.js +87 -11
  282. package/locales/zhHK.js +87 -11
  283. package/locales/zhTW.js +87 -11
  284. package/material/augmentation.d.ts +7 -0
  285. package/material/icons/createSvgIcon.d.ts +2 -0
  286. package/material/icons/createSvgIcon.js +8 -0
  287. package/material/icons/index.d.ts +29 -84
  288. package/material/icons/index.js +29 -29
  289. package/material/index.js +71 -36
  290. package/material/variables.js +2 -1
  291. package/models/api/gridApiCommon.d.ts +2 -1
  292. package/models/api/gridEditingApi.d.ts +1 -1
  293. package/models/api/gridFocusApi.d.ts +1 -1
  294. package/models/api/gridLocaleTextApi.d.ts +61 -9
  295. package/models/api/gridPreferencesPanelApi.d.ts +1 -1
  296. package/models/api/gridRowApi.d.ts +2 -3
  297. package/models/colDef/gridColDef.d.ts +1 -1
  298. package/models/configuration/gridConfiguration.d.ts +5 -0
  299. package/models/events/gridEventListener.d.ts +1 -1
  300. package/models/events/gridEventLookup.d.ts +1 -1
  301. package/models/events/gridEventPublisher.d.ts +1 -1
  302. package/models/gridBaseSlots.d.ts +18 -2
  303. package/models/gridIconSlotsComponent.d.ts +37 -41
  304. package/models/gridSlotsComponent.d.ts +5 -0
  305. package/models/gridSlotsComponentsProps.d.ts +5 -2
  306. package/models/index.d.ts +2 -2
  307. package/models/index.js +0 -12
  308. package/models/params/gridColumnResizeParams.d.ts +0 -1
  309. package/package.json +7 -13
  310. package/components/panel/GridPreferencePanelContext.d.ts +0 -12
  311. package/esm/components/panel/GridPreferencePanelContext.d.ts +0 -12
  312. package/esm/components/panel/GridPreferencePanelContext.js +0 -24
  313. package/esm/material/icons/GridColumnUnsortedIcon.d.ts +0 -8
  314. package/esm/models/muiEvent.d.ts +0 -5
  315. package/material/icons/GridColumnUnsortedIcon.d.ts +0 -8
  316. package/models/muiEvent.d.ts +0 -5
  317. package/modern/DataGrid/DataGrid.d.ts +0 -16
  318. package/modern/DataGrid/DataGrid.js +0 -792
  319. package/modern/DataGrid/index.d.ts +0 -1
  320. package/modern/DataGrid/index.js +0 -1
  321. package/modern/DataGrid/useDataGridComponent.d.ts +0 -4
  322. package/modern/DataGrid/useDataGridComponent.js +0 -94
  323. package/modern/DataGrid/useDataGridProps.d.ts +0 -3
  324. package/modern/DataGrid/useDataGridProps.js +0 -49
  325. package/modern/colDef/gridActionsColDef.d.ts +0 -3
  326. package/modern/colDef/gridActionsColDef.js +0 -19
  327. package/modern/colDef/gridBooleanColDef.d.ts +0 -2
  328. package/modern/colDef/gridBooleanColDef.js +0 -41
  329. package/modern/colDef/gridBooleanOperators.d.ts +0 -2
  330. package/modern/colDef/gridBooleanOperators.js +0 -12
  331. package/modern/colDef/gridCheckboxSelectionColDef.d.ts +0 -3
  332. package/modern/colDef/gridCheckboxSelectionColDef.js +0 -29
  333. package/modern/colDef/gridDateColDef.d.ts +0 -5
  334. package/modern/colDef/gridDateColDef.js +0 -60
  335. package/modern/colDef/gridDateOperators.d.ts +0 -3
  336. package/modern/colDef/gridDateOperators.js +0 -108
  337. package/modern/colDef/gridDefaultColumnTypes.d.ts +0 -3
  338. package/modern/colDef/gridDefaultColumnTypes.js +0 -20
  339. package/modern/colDef/gridNumericColDef.d.ts +0 -2
  340. package/modern/colDef/gridNumericColDef.js +0 -15
  341. package/modern/colDef/gridNumericOperators.d.ts +0 -7
  342. package/modern/colDef/gridNumericOperators.js +0 -143
  343. package/modern/colDef/gridSingleSelectColDef.d.ts +0 -2
  344. package/modern/colDef/gridSingleSelectColDef.js +0 -61
  345. package/modern/colDef/gridSingleSelectOperators.d.ts +0 -2
  346. package/modern/colDef/gridSingleSelectOperators.js +0 -38
  347. package/modern/colDef/gridStringColDef.d.ts +0 -5
  348. package/modern/colDef/gridStringColDef.js +0 -27
  349. package/modern/colDef/gridStringOperators.d.ts +0 -4
  350. package/modern/colDef/gridStringOperators.js +0 -121
  351. package/modern/colDef/index.d.ts +0 -13
  352. package/modern/colDef/index.js +0 -13
  353. package/modern/components/GridApiContext.d.ts +0 -2
  354. package/modern/components/GridApiContext.js +0 -7
  355. package/modern/components/GridColumnHeaders.d.ts +0 -7
  356. package/modern/components/GridColumnHeaders.js +0 -85
  357. package/modern/components/GridConfigurationContext.d.ts +0 -2
  358. package/modern/components/GridConfigurationContext.js +0 -7
  359. package/modern/components/GridDetailPanels.d.ts +0 -5
  360. package/modern/components/GridDetailPanels.js +0 -3
  361. package/modern/components/GridFooter.d.ts +0 -6
  362. package/modern/components/GridFooter.js +0 -40
  363. package/modern/components/GridHeader.d.ts +0 -2
  364. package/modern/components/GridHeader.js +0 -11
  365. package/modern/components/GridHeaders.d.ts +0 -4
  366. package/modern/components/GridHeaders.js +0 -48
  367. package/modern/components/GridLoadingOverlay.d.ts +0 -17
  368. package/modern/components/GridLoadingOverlay.js +0 -67
  369. package/modern/components/GridNoColumnsOverlay.d.ts +0 -6
  370. package/modern/components/GridNoColumnsOverlay.js +0 -36
  371. package/modern/components/GridNoResultsOverlay.d.ts +0 -5
  372. package/modern/components/GridNoResultsOverlay.js +0 -14
  373. package/modern/components/GridNoRowsOverlay.d.ts +0 -6
  374. package/modern/components/GridNoRowsOverlay.js +0 -23
  375. package/modern/components/GridPagination.d.ts +0 -6
  376. package/modern/components/GridPagination.js +0 -80
  377. package/modern/components/GridPinnedRows.d.ts +0 -6
  378. package/modern/components/GridPinnedRows.js +0 -3
  379. package/modern/components/GridRow.d.ts +0 -39
  380. package/modern/components/GridRow.js +0 -341
  381. package/modern/components/GridRowCount.d.ts +0 -13
  382. package/modern/components/GridRowCount.js +0 -64
  383. package/modern/components/GridScrollArea.d.ts +0 -10
  384. package/modern/components/GridScrollArea.js +0 -151
  385. package/modern/components/GridScrollbarFillerCell.d.ts +0 -13
  386. package/modern/components/GridScrollbarFillerCell.js +0 -23
  387. package/modern/components/GridSelectedRowCount.d.ts +0 -12
  388. package/modern/components/GridSelectedRowCount.js +0 -67
  389. package/modern/components/GridShadowScrollArea.d.ts +0 -8
  390. package/modern/components/GridShadowScrollArea.js +0 -82
  391. package/modern/components/GridSkeletonLoadingOverlay.d.ts +0 -14
  392. package/modern/components/GridSkeletonLoadingOverlay.js +0 -199
  393. package/modern/components/base/GridBody.d.ts +0 -2
  394. package/modern/components/base/GridBody.js +0 -2
  395. package/modern/components/base/GridFooterPlaceholder.d.ts +0 -2
  396. package/modern/components/base/GridFooterPlaceholder.js +0 -11
  397. package/modern/components/base/GridOverlays.d.ts +0 -13
  398. package/modern/components/base/GridOverlays.js +0 -86
  399. package/modern/components/base/index.d.ts +0 -2
  400. package/modern/components/base/index.js +0 -2
  401. package/modern/components/cell/GridActionsCell.d.ts +0 -13
  402. package/modern/components/cell/GridActionsCell.js +0 -261
  403. package/modern/components/cell/GridActionsCellItem.d.ts +0 -52
  404. package/modern/components/cell/GridActionsCellItem.js +0 -73
  405. package/modern/components/cell/GridBooleanCell.d.ts +0 -13
  406. package/modern/components/cell/GridBooleanCell.js +0 -124
  407. package/modern/components/cell/GridCell.d.ts +0 -77
  408. package/modern/components/cell/GridCell.js +0 -325
  409. package/modern/components/cell/GridEditBooleanCell.d.ts +0 -17
  410. package/modern/components/cell/GridEditBooleanCell.js +0 -139
  411. package/modern/components/cell/GridEditDateCell.d.ts +0 -21
  412. package/modern/components/cell/GridEditDateCell.js +0 -193
  413. package/modern/components/cell/GridEditInputCell.d.ts +0 -19
  414. package/modern/components/cell/GridEditInputCell.js +0 -168
  415. package/modern/components/cell/GridEditSingleSelectCell.d.ts +0 -22
  416. package/modern/components/cell/GridEditSingleSelectCell.js +0 -189
  417. package/modern/components/cell/GridSkeletonCell.d.ts +0 -20
  418. package/modern/components/cell/GridSkeletonCell.js +0 -104
  419. package/modern/components/cell/index.d.ts +0 -10
  420. package/modern/components/cell/index.js +0 -9
  421. package/modern/components/columnHeaders/ColumnHeaderMenuIcon.d.ts +0 -10
  422. package/modern/components/columnHeaders/ColumnHeaderMenuIcon.js +0 -63
  423. package/modern/components/columnHeaders/GridBaseColumnHeaders.d.ts +0 -7
  424. package/modern/components/columnHeaders/GridBaseColumnHeaders.js +0 -45
  425. package/modern/components/columnHeaders/GridColumnGroupHeader.d.ts +0 -21
  426. package/modern/components/columnHeaders/GridColumnGroupHeader.js +0 -137
  427. package/modern/components/columnHeaders/GridColumnHeaderFilterIconButton.d.ts +0 -12
  428. package/modern/components/columnHeaders/GridColumnHeaderFilterIconButton.js +0 -108
  429. package/modern/components/columnHeaders/GridColumnHeaderItem.d.ts +0 -34
  430. package/modern/components/columnHeaders/GridColumnHeaderItem.js +0 -231
  431. package/modern/components/columnHeaders/GridColumnHeaderSeparator.d.ts +0 -17
  432. package/modern/components/columnHeaders/GridColumnHeaderSeparator.js +0 -71
  433. package/modern/components/columnHeaders/GridColumnHeaderSortIcon.d.ts +0 -15
  434. package/modern/components/columnHeaders/GridColumnHeaderTitle.d.ts +0 -11
  435. package/modern/components/columnHeaders/GridColumnHeaderTitle.js +0 -88
  436. package/modern/components/columnHeaders/GridGenericColumnHeaderItem.d.ts +0 -32
  437. package/modern/components/columnHeaders/GridGenericColumnHeaderItem.js +0 -93
  438. package/modern/components/columnHeaders/GridIconButtonContainer.d.ts +0 -3
  439. package/modern/components/columnHeaders/GridIconButtonContainer.js +0 -43
  440. package/modern/components/columnHeaders/index.d.ts +0 -5
  441. package/modern/components/columnHeaders/index.js +0 -5
  442. package/modern/components/columnSelection/GridCellCheckboxRenderer.d.ts +0 -5
  443. package/modern/components/columnSelection/GridCellCheckboxRenderer.js +0 -153
  444. package/modern/components/columnSelection/GridHeaderCheckbox.d.ts +0 -4
  445. package/modern/components/columnSelection/GridHeaderCheckbox.js +0 -169
  446. package/modern/components/columnSelection/index.d.ts +0 -2
  447. package/modern/components/columnSelection/index.js +0 -2
  448. package/modern/components/columnsManagement/GridColumnsManagement.d.ts +0 -45
  449. package/modern/components/columnsManagement/GridColumnsManagement.js +0 -294
  450. package/modern/components/columnsManagement/index.d.ts +0 -1
  451. package/modern/components/columnsManagement/index.js +0 -1
  452. package/modern/components/columnsManagement/utils.d.ts +0 -4
  453. package/modern/components/columnsManagement/utils.js +0 -16
  454. package/modern/components/columnsPanel/ColumnsPanelTrigger.d.ts +0 -33
  455. package/modern/components/columnsPanel/ColumnsPanelTrigger.js +0 -101
  456. package/modern/components/columnsPanel/index.d.ts +0 -1
  457. package/modern/components/columnsPanel/index.js +0 -1
  458. package/modern/components/containers/GridFooterContainer.d.ts +0 -9
  459. package/modern/components/containers/GridFooterContainer.js +0 -54
  460. package/modern/components/containers/GridOverlay.d.ts +0 -9
  461. package/modern/components/containers/GridOverlay.js +0 -58
  462. package/modern/components/containers/GridRoot.d.ts +0 -11
  463. package/modern/components/containers/GridRoot.js +0 -77
  464. package/modern/components/containers/GridRootStyles.d.ts +0 -5
  465. package/modern/components/containers/GridRootStyles.js +0 -849
  466. package/modern/components/containers/GridToolbarContainer.d.ts +0 -9
  467. package/modern/components/containers/GridToolbarContainer.js +0 -62
  468. package/modern/components/containers/index.d.ts +0 -4
  469. package/modern/components/containers/index.js +0 -4
  470. package/modern/components/export/ExportCsv.d.ts +0 -30
  471. package/modern/components/export/ExportCsv.js +0 -82
  472. package/modern/components/export/ExportPrint.d.ts +0 -30
  473. package/modern/components/export/ExportPrint.js +0 -82
  474. package/modern/components/export/index.d.ts +0 -2
  475. package/modern/components/export/index.js +0 -2
  476. package/modern/components/filterPanel/FilterPanelTrigger.d.ts +0 -37
  477. package/modern/components/filterPanel/FilterPanelTrigger.js +0 -104
  478. package/modern/components/filterPanel/index.d.ts +0 -1
  479. package/modern/components/filterPanel/index.js +0 -1
  480. package/modern/components/index.d.ts +0 -25
  481. package/modern/components/index.js +0 -25
  482. package/modern/components/menu/GridMenu.d.ts +0 -15
  483. package/modern/components/menu/GridMenu.js +0 -99
  484. package/modern/components/menu/columnMenu/GridColumnHeaderMenu.d.ts +0 -26
  485. package/modern/components/menu/columnMenu/GridColumnHeaderMenu.js +0 -63
  486. package/modern/components/menu/columnMenu/GridColumnMenu.d.ts +0 -24
  487. package/modern/components/menu/columnMenu/GridColumnMenu.js +0 -109
  488. package/modern/components/menu/columnMenu/GridColumnMenuContainer.d.ts +0 -4
  489. package/modern/components/menu/columnMenu/GridColumnMenuContainer.js +0 -59
  490. package/modern/components/menu/columnMenu/GridColumnMenuItemProps.d.ts +0 -7
  491. package/modern/components/menu/columnMenu/GridColumnMenuItemProps.js +0 -1
  492. package/modern/components/menu/columnMenu/GridColumnMenuProps.d.ts +0 -12
  493. package/modern/components/menu/columnMenu/GridColumnMenuProps.js +0 -1
  494. package/modern/components/menu/columnMenu/index.d.ts +0 -6
  495. package/modern/components/menu/columnMenu/index.js +0 -9
  496. package/modern/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.d.ts +0 -7
  497. package/modern/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.js +0 -20
  498. package/modern/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.d.ts +0 -7
  499. package/modern/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.js +0 -36
  500. package/modern/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.d.ts +0 -7
  501. package/modern/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.js +0 -53
  502. package/modern/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.d.ts +0 -7
  503. package/modern/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.js +0 -36
  504. package/modern/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.d.ts +0 -7
  505. package/modern/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.js +0 -68
  506. package/modern/components/menu/columnMenu/menuItems/index.d.ts +0 -5
  507. package/modern/components/menu/columnMenu/menuItems/index.js +0 -5
  508. package/modern/components/menu/index.d.ts +0 -2
  509. package/modern/components/menu/index.js +0 -2
  510. package/modern/components/panel/GridColumnsPanel.d.ts +0 -5
  511. package/modern/components/panel/GridColumnsPanel.js +0 -12
  512. package/modern/components/panel/GridPanel.d.ts +0 -20
  513. package/modern/components/panel/GridPanel.js +0 -107
  514. package/modern/components/panel/GridPanelContent.d.ts +0 -9
  515. package/modern/components/panel/GridPanelContent.js +0 -53
  516. package/modern/components/panel/GridPanelFooter.d.ts +0 -9
  517. package/modern/components/panel/GridPanelFooter.js +0 -51
  518. package/modern/components/panel/GridPanelHeader.d.ts +0 -9
  519. package/modern/components/panel/GridPanelHeader.js +0 -48
  520. package/modern/components/panel/GridPanelWrapper.d.ts +0 -6
  521. package/modern/components/panel/GridPanelWrapper.js +0 -47
  522. package/modern/components/panel/GridPreferencePanelContext.d.ts +0 -12
  523. package/modern/components/panel/GridPreferencesPanel.d.ts +0 -2
  524. package/modern/components/panel/GridPreferencesPanel.js +0 -29
  525. package/modern/components/panel/filterPanel/GridFilterForm.d.ts +0 -107
  526. package/modern/components/panel/filterPanel/GridFilterForm.js +0 -466
  527. package/modern/components/panel/filterPanel/GridFilterInputBoolean.d.ts +0 -10
  528. package/modern/components/panel/filterPanel/GridFilterInputBoolean.js +0 -122
  529. package/modern/components/panel/filterPanel/GridFilterInputDate.d.ts +0 -11
  530. package/modern/components/panel/filterPanel/GridFilterInputDate.js +0 -135
  531. package/modern/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.d.ts +0 -12
  532. package/modern/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js +0 -116
  533. package/modern/components/panel/filterPanel/GridFilterInputMultipleValue.d.ts +0 -11
  534. package/modern/components/panel/filterPanel/GridFilterInputMultipleValue.js +0 -98
  535. package/modern/components/panel/filterPanel/GridFilterInputSingleSelect.d.ts +0 -11
  536. package/modern/components/panel/filterPanel/GridFilterInputSingleSelect.js +0 -147
  537. package/modern/components/panel/filterPanel/GridFilterInputValue.d.ts +0 -15
  538. package/modern/components/panel/filterPanel/GridFilterInputValue.js +0 -121
  539. package/modern/components/panel/filterPanel/GridFilterPanel.d.ts +0 -49
  540. package/modern/components/panel/filterPanel/GridFilterPanel.js +0 -247
  541. package/modern/components/panel/filterPanel/filterPanelUtils.d.ts +0 -5
  542. package/modern/components/panel/filterPanel/filterPanelUtils.js +0 -22
  543. package/modern/components/panel/filterPanel/index.d.ts +0 -10
  544. package/modern/components/panel/filterPanel/index.js +0 -8
  545. package/modern/components/panel/index.d.ts +0 -7
  546. package/modern/components/panel/index.js +0 -7
  547. package/modern/components/quickFilter/QuickFilter.d.ts +0 -64
  548. package/modern/components/quickFilter/QuickFilter.js +0 -189
  549. package/modern/components/quickFilter/QuickFilterClear.d.ts +0 -28
  550. package/modern/components/quickFilter/QuickFilterClear.js +0 -76
  551. package/modern/components/quickFilter/QuickFilterContext.d.ts +0 -16
  552. package/modern/components/quickFilter/QuickFilterContext.js +0 -9
  553. package/modern/components/quickFilter/QuickFilterControl.d.ts +0 -28
  554. package/modern/components/quickFilter/QuickFilterControl.js +0 -121
  555. package/modern/components/quickFilter/QuickFilterTrigger.d.ts +0 -28
  556. package/modern/components/quickFilter/QuickFilterTrigger.js +0 -79
  557. package/modern/components/quickFilter/index.d.ts +0 -4
  558. package/modern/components/quickFilter/index.js +0 -4
  559. package/modern/components/reexportable.d.ts +0 -1
  560. package/modern/components/reexportable.js +0 -1
  561. package/modern/components/toolbar/GridToolbar.d.ts +0 -17
  562. package/modern/components/toolbar/GridToolbar.js +0 -78
  563. package/modern/components/toolbar/GridToolbarColumnsButton.d.ts +0 -14
  564. package/modern/components/toolbar/GridToolbarColumnsButton.js +0 -79
  565. package/modern/components/toolbar/GridToolbarDensitySelector.d.ts +0 -14
  566. package/modern/components/toolbar/GridToolbarDensitySelector.js +0 -126
  567. package/modern/components/toolbar/GridToolbarExport.d.ts +0 -39
  568. package/modern/components/toolbar/GridToolbarExport.js +0 -124
  569. package/modern/components/toolbar/GridToolbarExportContainer.d.ts +0 -16
  570. package/modern/components/toolbar/GridToolbarExportContainer.js +0 -94
  571. package/modern/components/toolbar/GridToolbarFilterButton.d.ts +0 -15
  572. package/modern/components/toolbar/GridToolbarFilterButton.js +0 -142
  573. package/modern/components/toolbar/GridToolbarQuickFilter.d.ts +0 -43
  574. package/modern/components/toolbar/GridToolbarQuickFilter.js +0 -185
  575. package/modern/components/toolbar/index.d.ts +0 -8
  576. package/modern/components/toolbar/index.js +0 -7
  577. package/modern/components/toolbarV8/GridToolbar.d.ts +0 -16
  578. package/modern/components/toolbarV8/GridToolbar.js +0 -191
  579. package/modern/components/toolbarV8/Toolbar.d.ts +0 -32
  580. package/modern/components/toolbarV8/Toolbar.js +0 -180
  581. package/modern/components/toolbarV8/ToolbarButton.d.ts +0 -23
  582. package/modern/components/toolbarV8/ToolbarButton.js +0 -108
  583. package/modern/components/toolbarV8/ToolbarContext.d.ts +0 -11
  584. package/modern/components/toolbarV8/ToolbarContext.js +0 -9
  585. package/modern/components/toolbarV8/index.d.ts +0 -2
  586. package/modern/components/toolbarV8/index.js +0 -2
  587. package/modern/components/virtualization/GridBottomContainer.d.ts +0 -3
  588. package/modern/components/virtualization/GridBottomContainer.js +0 -25
  589. package/modern/components/virtualization/GridMainContainer.d.ts +0 -20
  590. package/modern/components/virtualization/GridMainContainer.js +0 -51
  591. package/modern/components/virtualization/GridTopContainer.d.ts +0 -2
  592. package/modern/components/virtualization/GridTopContainer.js +0 -25
  593. package/modern/components/virtualization/GridVirtualScrollbar.d.ts +0 -11
  594. package/modern/components/virtualization/GridVirtualScrollbar.js +0 -148
  595. package/modern/components/virtualization/GridVirtualScroller.d.ts +0 -6
  596. package/modern/components/virtualization/GridVirtualScroller.js +0 -130
  597. package/modern/components/virtualization/GridVirtualScrollerContent.d.ts +0 -8
  598. package/modern/components/virtualization/GridVirtualScrollerContent.js +0 -43
  599. package/modern/components/virtualization/GridVirtualScrollerFiller.d.ts +0 -10
  600. package/modern/components/virtualization/GridVirtualScrollerFiller.js +0 -74
  601. package/modern/components/virtualization/GridVirtualScrollerRenderZone.d.ts +0 -8
  602. package/modern/components/virtualization/GridVirtualScrollerRenderZone.js +0 -58
  603. package/modern/constants/cssVariables.d.ts +0 -267
  604. package/modern/constants/cssVariables.js +0 -152
  605. package/modern/constants/dataGridPropsDefaultValues.d.ts +0 -5
  606. package/modern/constants/dataGridPropsDefaultValues.js +0 -59
  607. package/modern/constants/defaultGridSlotsComponents.d.ts +0 -2
  608. package/modern/constants/defaultGridSlotsComponents.js +0 -38
  609. package/modern/constants/envConstants.d.ts +0 -1
  610. package/modern/constants/envConstants.js +0 -19
  611. package/modern/constants/gridClasses.d.ts +0 -717
  612. package/modern/constants/gridClasses.js +0 -5
  613. package/modern/constants/index.d.ts +0 -4
  614. package/modern/constants/index.js +0 -4
  615. package/modern/constants/localeTextConstants.d.ts +0 -2
  616. package/modern/constants/localeTextConstants.js +0 -191
  617. package/modern/constants/signature.d.ts +0 -9
  618. package/modern/constants/signature.js +0 -10
  619. package/modern/context/GridContextProvider.d.ts +0 -17
  620. package/modern/context/GridContextProvider.js +0 -33
  621. package/modern/context/GridRootPropsContext.d.ts +0 -3
  622. package/modern/context/GridRootPropsContext.js +0 -8
  623. package/modern/context/index.d.ts +0 -1
  624. package/modern/context/index.js +0 -1
  625. package/modern/hooks/core/gridCoreSelector.d.ts +0 -6
  626. package/modern/hooks/core/gridCoreSelector.js +0 -6
  627. package/modern/hooks/core/gridPropsSelectors.d.ts +0 -9
  628. package/modern/hooks/core/gridPropsSelectors.js +0 -15
  629. package/modern/hooks/core/index.d.ts +0 -2
  630. package/modern/hooks/core/index.js +0 -1
  631. package/modern/hooks/core/pipeProcessing/gridPipeProcessingApi.d.ts +0 -142
  632. package/modern/hooks/core/pipeProcessing/gridPipeProcessingApi.js +0 -1
  633. package/modern/hooks/core/pipeProcessing/index.d.ts +0 -4
  634. package/modern/hooks/core/pipeProcessing/index.js +0 -4
  635. package/modern/hooks/core/pipeProcessing/useGridPipeProcessing.d.ts +0 -32
  636. package/modern/hooks/core/pipeProcessing/useGridPipeProcessing.js +0 -107
  637. package/modern/hooks/core/pipeProcessing/useGridRegisterPipeApplier.d.ts +0 -4
  638. package/modern/hooks/core/pipeProcessing/useGridRegisterPipeApplier.js +0 -26
  639. package/modern/hooks/core/pipeProcessing/useGridRegisterPipeProcessor.d.ts +0 -4
  640. package/modern/hooks/core/pipeProcessing/useGridRegisterPipeProcessor.js +0 -28
  641. package/modern/hooks/core/strategyProcessing/gridStrategyProcessingApi.d.ts +0 -79
  642. package/modern/hooks/core/strategyProcessing/gridStrategyProcessingApi.js +0 -5
  643. package/modern/hooks/core/strategyProcessing/index.d.ts +0 -3
  644. package/modern/hooks/core/strategyProcessing/index.js +0 -3
  645. package/modern/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.d.ts +0 -4
  646. package/modern/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.js +0 -18
  647. package/modern/hooks/core/strategyProcessing/useGridStrategyProcessing.d.ts +0 -43
  648. package/modern/hooks/core/strategyProcessing/useGridStrategyProcessing.js +0 -110
  649. package/modern/hooks/core/useGridApiInitialization.d.ts +0 -5
  650. package/modern/hooks/core/useGridApiInitialization.js +0 -112
  651. package/modern/hooks/core/useGridInitialization.d.ts +0 -7
  652. package/modern/hooks/core/useGridInitialization.js +0 -28
  653. package/modern/hooks/core/useGridIsRtl.d.ts +0 -3
  654. package/modern/hooks/core/useGridIsRtl.js +0 -19
  655. package/modern/hooks/core/useGridLocaleText.d.ts +0 -4
  656. package/modern/hooks/core/useGridLocaleText.js +0 -12
  657. package/modern/hooks/core/useGridLoggerFactory.d.ts +0 -4
  658. package/modern/hooks/core/useGridLoggerFactory.js +0 -44
  659. package/modern/hooks/core/useGridProps.d.ts +0 -8
  660. package/modern/hooks/core/useGridProps.js +0 -18
  661. package/modern/hooks/core/useGridRefs.d.ts +0 -3
  662. package/modern/hooks/core/useGridRefs.js +0 -19
  663. package/modern/hooks/core/useGridStateInitialization.d.ts +0 -3
  664. package/modern/hooks/core/useGridStateInitialization.js +0 -95
  665. package/modern/hooks/features/clipboard/useGridClipboard.d.ts +0 -8
  666. package/modern/hooks/features/clipboard/useGridClipboard.js +0 -97
  667. package/modern/hooks/features/columnGrouping/gridColumnGroupsInterfaces.d.ts +0 -16
  668. package/modern/hooks/features/columnGrouping/gridColumnGroupsInterfaces.js +0 -1
  669. package/modern/hooks/features/columnGrouping/gridColumnGroupsSelector.d.ts +0 -12
  670. package/modern/hooks/features/columnGrouping/gridColumnGroupsSelector.js +0 -10
  671. package/modern/hooks/features/columnGrouping/gridColumnGroupsUtils.d.ts +0 -18
  672. package/modern/hooks/features/columnGrouping/gridColumnGroupsUtils.js +0 -82
  673. package/modern/hooks/features/columnGrouping/index.d.ts +0 -2
  674. package/modern/hooks/features/columnGrouping/index.js +0 -2
  675. package/modern/hooks/features/columnGrouping/useGridColumnGrouping.d.ts +0 -10
  676. package/modern/hooks/features/columnGrouping/useGridColumnGrouping.js +0 -131
  677. package/modern/hooks/features/columnHeaders/useGridColumnHeaders.d.ts +0 -65
  678. package/modern/hooks/features/columnHeaders/useGridColumnHeaders.js +0 -317
  679. package/modern/hooks/features/columnMenu/columnMenuInterfaces.d.ts +0 -47
  680. package/modern/hooks/features/columnMenu/columnMenuInterfaces.js +0 -1
  681. package/modern/hooks/features/columnMenu/columnMenuSelector.d.ts +0 -2
  682. package/modern/hooks/features/columnMenu/columnMenuSelector.js +0 -2
  683. package/modern/hooks/features/columnMenu/index.d.ts +0 -2
  684. package/modern/hooks/features/columnMenu/index.js +0 -2
  685. package/modern/hooks/features/columnMenu/useGridColumnMenu.d.ts +0 -9
  686. package/modern/hooks/features/columnMenu/useGridColumnMenu.js +0 -104
  687. package/modern/hooks/features/columnMenu/useGridColumnMenuSlots.d.ts +0 -13
  688. package/modern/hooks/features/columnMenu/useGridColumnMenuSlots.js +0 -59
  689. package/modern/hooks/features/columnResize/columnResizeSelector.d.ts +0 -3
  690. package/modern/hooks/features/columnResize/columnResizeSelector.js +0 -3
  691. package/modern/hooks/features/columnResize/columnResizeState.d.ts +0 -3
  692. package/modern/hooks/features/columnResize/columnResizeState.js +0 -1
  693. package/modern/hooks/features/columnResize/gridColumnResizeApi.d.ts +0 -50
  694. package/modern/hooks/features/columnResize/gridColumnResizeApi.js +0 -11
  695. package/modern/hooks/features/columnResize/index.d.ts +0 -3
  696. package/modern/hooks/features/columnResize/index.js +0 -3
  697. package/modern/hooks/features/columnResize/useGridColumnResize.d.ts +0 -10
  698. package/modern/hooks/features/columnResize/useGridColumnResize.js +0 -562
  699. package/modern/hooks/features/columns/gridColumnsInterfaces.d.ts +0 -42
  700. package/modern/hooks/features/columns/gridColumnsInterfaces.js +0 -9
  701. package/modern/hooks/features/columns/gridColumnsSelector.d.ts +0 -79
  702. package/modern/hooks/features/columns/gridColumnsSelector.js +0 -140
  703. package/modern/hooks/features/columns/gridColumnsUtils.d.ts +0 -74
  704. package/modern/hooks/features/columns/gridColumnsUtils.js +0 -328
  705. package/modern/hooks/features/columns/index.d.ts +0 -2
  706. package/modern/hooks/features/columns/index.js +0 -2
  707. package/modern/hooks/features/columns/useGridColumnSpanning.d.ts +0 -7
  708. package/modern/hooks/features/columns/useGridColumnSpanning.js +0 -107
  709. package/modern/hooks/features/columns/useGridColumns.d.ts +0 -11
  710. package/modern/hooks/features/columns/useGridColumns.js +0 -307
  711. package/modern/hooks/features/dataSource/cache.d.ts +0 -29
  712. package/modern/hooks/features/dataSource/cache.js +0 -39
  713. package/modern/hooks/features/dataSource/gridDataSourceError.d.ts +0 -31
  714. package/modern/hooks/features/dataSource/gridDataSourceError.js +0 -32
  715. package/modern/hooks/features/dataSource/gridDataSourceSelector.d.ts +0 -8
  716. package/modern/hooks/features/dataSource/gridDataSourceSelector.js +0 -12
  717. package/modern/hooks/features/dataSource/index.d.ts +0 -2
  718. package/modern/hooks/features/dataSource/index.js +0 -2
  719. package/modern/hooks/features/dataSource/models.d.ts +0 -22
  720. package/modern/hooks/features/dataSource/models.js +0 -1
  721. package/modern/hooks/features/dataSource/useGridDataSource.d.ts +0 -7
  722. package/modern/hooks/features/dataSource/useGridDataSource.js +0 -24
  723. package/modern/hooks/features/dataSource/useGridDataSourceBase.d.ts +0 -33
  724. package/modern/hooks/features/dataSource/useGridDataSourceBase.js +0 -165
  725. package/modern/hooks/features/dataSource/utils.d.ts +0 -23
  726. package/modern/hooks/features/dataSource/utils.js +0 -71
  727. package/modern/hooks/features/density/densitySelector.d.ts +0 -6
  728. package/modern/hooks/features/density/densitySelector.js +0 -10
  729. package/modern/hooks/features/density/densityState.d.ts +0 -2
  730. package/modern/hooks/features/density/densityState.js +0 -1
  731. package/modern/hooks/features/density/index.d.ts +0 -2
  732. package/modern/hooks/features/density/index.js +0 -2
  733. package/modern/hooks/features/density/useGridDensity.d.ts +0 -6
  734. package/modern/hooks/features/density/useGridDensity.js +0 -64
  735. package/modern/hooks/features/dimensions/gridDimensionsApi.d.ts +0 -103
  736. package/modern/hooks/features/dimensions/gridDimensionsApi.js +0 -1
  737. package/modern/hooks/features/dimensions/gridDimensionsSelectors.d.ts +0 -18
  738. package/modern/hooks/features/dimensions/gridDimensionsSelectors.js +0 -25
  739. package/modern/hooks/features/dimensions/index.d.ts +0 -3
  740. package/modern/hooks/features/dimensions/index.js +0 -1
  741. package/modern/hooks/features/dimensions/useGridDimensions.d.ts +0 -10
  742. package/modern/hooks/features/dimensions/useGridDimensions.js +0 -299
  743. package/modern/hooks/features/editing/gridEditingSelectors.d.ts +0 -15
  744. package/modern/hooks/features/editing/gridEditingSelectors.js +0 -15
  745. package/modern/hooks/features/editing/index.d.ts +0 -1
  746. package/modern/hooks/features/editing/index.js +0 -1
  747. package/modern/hooks/features/editing/useGridCellEditing.d.ts +0 -4
  748. package/modern/hooks/features/editing/useGridCellEditing.js +0 -469
  749. package/modern/hooks/features/editing/useGridEditing.d.ts +0 -6
  750. package/modern/hooks/features/editing/useGridEditing.js +0 -123
  751. package/modern/hooks/features/editing/useGridRowEditing.d.ts +0 -4
  752. package/modern/hooks/features/editing/useGridRowEditing.js +0 -605
  753. package/modern/hooks/features/editing/utils.d.ts +0 -2
  754. package/modern/hooks/features/editing/utils.js +0 -15
  755. package/modern/hooks/features/events/useGridEvents.d.ts +0 -8
  756. package/modern/hooks/features/events/useGridEvents.js +0 -24
  757. package/modern/hooks/features/export/serializers/csvSerializer.d.ts +0 -19
  758. package/modern/hooks/features/export/serializers/csvSerializer.js +0 -144
  759. package/modern/hooks/features/export/useGridCsvExport.d.ts +0 -11
  760. package/modern/hooks/features/export/useGridCsvExport.js +0 -74
  761. package/modern/hooks/features/export/useGridPrintExport.d.ts +0 -10
  762. package/modern/hooks/features/export/useGridPrintExport.js +0 -290
  763. package/modern/hooks/features/export/utils.d.ts +0 -20
  764. package/modern/hooks/features/export/utils.js +0 -39
  765. package/modern/hooks/features/filter/gridFilterSelector.d.ts +0 -103
  766. package/modern/hooks/features/filter/gridFilterSelector.js +0 -177
  767. package/modern/hooks/features/filter/gridFilterState.d.ts +0 -61
  768. package/modern/hooks/features/filter/gridFilterState.js +0 -23
  769. package/modern/hooks/features/filter/gridFilterUtils.d.ts +0 -23
  770. package/modern/hooks/features/filter/gridFilterUtils.js +0 -311
  771. package/modern/hooks/features/filter/index.d.ts +0 -4
  772. package/modern/hooks/features/filter/index.js +0 -2
  773. package/modern/hooks/features/filter/useGridFilter.d.ts +0 -11
  774. package/modern/hooks/features/filter/useGridFilter.js +0 -366
  775. package/modern/hooks/features/focus/gridFocusState.d.ts +0 -20
  776. package/modern/hooks/features/focus/gridFocusState.js +0 -1
  777. package/modern/hooks/features/focus/gridFocusStateSelector.d.ts +0 -12
  778. package/modern/hooks/features/focus/gridFocusStateSelector.js +0 -11
  779. package/modern/hooks/features/focus/index.d.ts +0 -2
  780. package/modern/hooks/features/focus/index.js +0 -2
  781. package/modern/hooks/features/focus/useGridFocus.d.ts +0 -11
  782. package/modern/hooks/features/focus/useGridFocus.js +0 -406
  783. package/modern/hooks/features/headerFiltering/gridHeaderFilteringSelectors.d.ts +0 -5
  784. package/modern/hooks/features/headerFiltering/gridHeaderFilteringSelectors.js +0 -7
  785. package/modern/hooks/features/headerFiltering/index.d.ts +0 -1
  786. package/modern/hooks/features/headerFiltering/index.js +0 -1
  787. package/modern/hooks/features/headerFiltering/useGridHeaderFiltering.d.ts +0 -6
  788. package/modern/hooks/features/headerFiltering/useGridHeaderFiltering.js +0 -105
  789. package/modern/hooks/features/index.d.ts +0 -19
  790. package/modern/hooks/features/index.js +0 -20
  791. package/modern/hooks/features/keyboardNavigation/useGridKeyboardNavigation.d.ts +0 -13
  792. package/modern/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +0 -537
  793. package/modern/hooks/features/keyboardNavigation/utils.d.ts +0 -26
  794. package/modern/hooks/features/keyboardNavigation/utils.js +0 -53
  795. package/modern/hooks/features/listView/gridListViewSelectors.d.ts +0 -7
  796. package/modern/hooks/features/listView/gridListViewSelectors.js +0 -7
  797. package/modern/hooks/features/listView/index.d.ts +0 -1
  798. package/modern/hooks/features/listView/index.js +0 -1
  799. package/modern/hooks/features/listView/useGridListView.d.ts +0 -10
  800. package/modern/hooks/features/listView/useGridListView.js +0 -61
  801. package/modern/hooks/features/overlays/useGridOverlays.d.ts +0 -14
  802. package/modern/hooks/features/overlays/useGridOverlays.js +0 -62
  803. package/modern/hooks/features/pagination/gridPaginationInterfaces.d.ts +0 -58
  804. package/modern/hooks/features/pagination/gridPaginationInterfaces.js +0 -1
  805. package/modern/hooks/features/pagination/gridPaginationSelector.d.ts +0 -79
  806. package/modern/hooks/features/pagination/gridPaginationSelector.js +0 -153
  807. package/modern/hooks/features/pagination/gridPaginationUtils.d.ts +0 -9
  808. package/modern/hooks/features/pagination/gridPaginationUtils.js +0 -28
  809. package/modern/hooks/features/pagination/index.d.ts +0 -2
  810. package/modern/hooks/features/pagination/index.js +0 -2
  811. package/modern/hooks/features/pagination/useGridPagination.d.ts +0 -10
  812. package/modern/hooks/features/pagination/useGridPagination.js +0 -30
  813. package/modern/hooks/features/pagination/useGridPaginationMeta.d.ts +0 -4
  814. package/modern/hooks/features/pagination/useGridPaginationMeta.js +0 -77
  815. package/modern/hooks/features/pagination/useGridPaginationModel.d.ts +0 -11
  816. package/modern/hooks/features/pagination/useGridPaginationModel.js +0 -232
  817. package/modern/hooks/features/pagination/useGridRowCount.d.ts +0 -4
  818. package/modern/hooks/features/pagination/useGridRowCount.js +0 -108
  819. package/modern/hooks/features/preferencesPanel/gridPreferencePanelSelector.d.ts +0 -3
  820. package/modern/hooks/features/preferencesPanel/gridPreferencePanelSelector.js +0 -8
  821. package/modern/hooks/features/preferencesPanel/gridPreferencePanelState.d.ts +0 -13
  822. package/modern/hooks/features/preferencesPanel/gridPreferencePanelState.js +0 -1
  823. package/modern/hooks/features/preferencesPanel/gridPreferencePanelsValue.d.ts +0 -5
  824. package/modern/hooks/features/preferencesPanel/gridPreferencePanelsValue.js +0 -6
  825. package/modern/hooks/features/preferencesPanel/index.d.ts +0 -3
  826. package/modern/hooks/features/preferencesPanel/index.js +0 -3
  827. package/modern/hooks/features/preferencesPanel/useGridPreferencesPanel.d.ts +0 -9
  828. package/modern/hooks/features/preferencesPanel/useGridPreferencesPanel.js +0 -88
  829. package/modern/hooks/features/rowSelection/gridRowSelectionSelector.d.ts +0 -6
  830. package/modern/hooks/features/rowSelection/gridRowSelectionSelector.js +0 -29
  831. package/modern/hooks/features/rowSelection/index.d.ts +0 -1
  832. package/modern/hooks/features/rowSelection/index.js +0 -1
  833. package/modern/hooks/features/rowSelection/useGridRowSelection.d.ts +0 -12
  834. package/modern/hooks/features/rowSelection/useGridRowSelection.js +0 -583
  835. package/modern/hooks/features/rowSelection/useGridRowSelectionPreProcessors.d.ts +0 -4
  836. package/modern/hooks/features/rowSelection/useGridRowSelectionPreProcessors.js +0 -44
  837. package/modern/hooks/features/rowSelection/utils.d.ts +0 -14
  838. package/modern/hooks/features/rowSelection/utils.js +0 -165
  839. package/modern/hooks/features/rows/gridRowSpanningSelectors.d.ts +0 -4
  840. package/modern/hooks/features/rows/gridRowSpanningSelectors.js +0 -5
  841. package/modern/hooks/features/rows/gridRowSpanningUtils.d.ts +0 -10
  842. package/modern/hooks/features/rows/gridRowSpanningUtils.js +0 -42
  843. package/modern/hooks/features/rows/gridRowsInterfaces.d.ts +0 -108
  844. package/modern/hooks/features/rows/gridRowsInterfaces.js +0 -1
  845. package/modern/hooks/features/rows/gridRowsMetaInterfaces.d.ts +0 -16
  846. package/modern/hooks/features/rows/gridRowsMetaInterfaces.js +0 -1
  847. package/modern/hooks/features/rows/gridRowsMetaSelector.d.ts +0 -2
  848. package/modern/hooks/features/rows/gridRowsMetaSelector.js +0 -2
  849. package/modern/hooks/features/rows/gridRowsMetaState.d.ts +0 -21
  850. package/modern/hooks/features/rows/gridRowsMetaState.js +0 -1
  851. package/modern/hooks/features/rows/gridRowsSelector.d.ts +0 -50
  852. package/modern/hooks/features/rows/gridRowsSelector.js +0 -58
  853. package/modern/hooks/features/rows/gridRowsUtils.d.ts +0 -61
  854. package/modern/hooks/features/rows/gridRowsUtils.js +0 -302
  855. package/modern/hooks/features/rows/index.d.ts +0 -5
  856. package/modern/hooks/features/rows/index.js +0 -4
  857. package/modern/hooks/features/rows/useGridParamsApi.d.ts +0 -13
  858. package/modern/hooks/features/rows/useGridParamsApi.js +0 -137
  859. package/modern/hooks/features/rows/useGridRowAriaAttributes.d.ts +0 -2
  860. package/modern/hooks/features/rows/useGridRowAriaAttributes.js +0 -17
  861. package/modern/hooks/features/rows/useGridRowSpanning.d.ts +0 -27
  862. package/modern/hooks/features/rows/useGridRowSpanning.js +0 -270
  863. package/modern/hooks/features/rows/useGridRows.d.ts +0 -6
  864. package/modern/hooks/features/rows/useGridRows.js +0 -459
  865. package/modern/hooks/features/rows/useGridRowsMeta.d.ts +0 -10
  866. package/modern/hooks/features/rows/useGridRowsMeta.js +0 -227
  867. package/modern/hooks/features/rows/useGridRowsPreProcessors.d.ts +0 -3
  868. package/modern/hooks/features/rows/useGridRowsPreProcessors.js +0 -81
  869. package/modern/hooks/features/scroll/useGridScroll.d.ts +0 -12
  870. package/modern/hooks/features/scroll/useGridScroll.js +0 -134
  871. package/modern/hooks/features/sorting/gridSortingSelector.d.ts +0 -32
  872. package/modern/hooks/features/sorting/gridSortingSelector.js +0 -70
  873. package/modern/hooks/features/sorting/gridSortingState.d.ts +0 -14
  874. package/modern/hooks/features/sorting/gridSortingState.js +0 -1
  875. package/modern/hooks/features/sorting/gridSortingUtils.d.ts +0 -18
  876. package/modern/hooks/features/sorting/gridSortingUtils.js +0 -138
  877. package/modern/hooks/features/sorting/index.d.ts +0 -4
  878. package/modern/hooks/features/sorting/index.js +0 -2
  879. package/modern/hooks/features/sorting/useGridSorting.d.ts +0 -10
  880. package/modern/hooks/features/sorting/useGridSorting.js +0 -250
  881. package/modern/hooks/features/statePersistence/gridStatePersistenceInterface.d.ts +0 -40
  882. package/modern/hooks/features/statePersistence/gridStatePersistenceInterface.js +0 -1
  883. package/modern/hooks/features/statePersistence/index.d.ts +0 -1
  884. package/modern/hooks/features/statePersistence/index.js +0 -1
  885. package/modern/hooks/features/statePersistence/useGridStatePersistence.d.ts +0 -3
  886. package/modern/hooks/features/statePersistence/useGridStatePersistence.js +0 -23
  887. package/modern/hooks/features/virtualization/gridFocusedVirtualCellSelector.d.ts +0 -6
  888. package/modern/hooks/features/virtualization/gridFocusedVirtualCellSelector.js +0 -32
  889. package/modern/hooks/features/virtualization/gridVirtualizationSelectors.d.ts +0 -36
  890. package/modern/hooks/features/virtualization/gridVirtualizationSelectors.js +0 -43
  891. package/modern/hooks/features/virtualization/index.d.ts +0 -2
  892. package/modern/hooks/features/virtualization/index.js +0 -2
  893. package/modern/hooks/features/virtualization/useGridVirtualScroller.d.ts +0 -56
  894. package/modern/hooks/features/virtualization/useGridVirtualScroller.js +0 -843
  895. package/modern/hooks/features/virtualization/useGridVirtualization.d.ts +0 -21
  896. package/modern/hooks/features/virtualization/useGridVirtualization.js +0 -61
  897. package/modern/hooks/index.d.ts +0 -3
  898. package/modern/hooks/index.js +0 -3
  899. package/modern/hooks/utils/index.d.ts +0 -9
  900. package/modern/hooks/utils/index.js +0 -8
  901. package/modern/hooks/utils/useFirstRender.d.ts +0 -1
  902. package/modern/hooks/utils/useFirstRender.js +0 -8
  903. package/modern/hooks/utils/useGridApiContext.d.ts +0 -4
  904. package/modern/hooks/utils/useGridApiContext.js +0 -9
  905. package/modern/hooks/utils/useGridApiMethod.d.ts +0 -7
  906. package/modern/hooks/utils/useGridApiMethod.js +0 -12
  907. package/modern/hooks/utils/useGridApiRef.d.ts +0 -7
  908. package/modern/hooks/utils/useGridApiRef.js +0 -5
  909. package/modern/hooks/utils/useGridAriaAttributes.d.ts +0 -2
  910. package/modern/hooks/utils/useGridAriaAttributes.js +0 -28
  911. package/modern/hooks/utils/useGridComponentRenderer.d.ts +0 -12
  912. package/modern/hooks/utils/useGridComponentRenderer.js +0 -36
  913. package/modern/hooks/utils/useGridConfiguration.d.ts +0 -2
  914. package/modern/hooks/utils/useGridConfiguration.js +0 -9
  915. package/modern/hooks/utils/useGridEvent.d.ts +0 -12
  916. package/modern/hooks/utils/useGridEvent.js +0 -88
  917. package/modern/hooks/utils/useGridInitializeState.d.ts +0 -8
  918. package/modern/hooks/utils/useGridInitializeState.js +0 -8
  919. package/modern/hooks/utils/useGridLogger.d.ts +0 -4
  920. package/modern/hooks/utils/useGridLogger.js +0 -10
  921. package/modern/hooks/utils/useGridNativeEventListener.d.ts +0 -3
  922. package/modern/hooks/utils/useGridNativeEventListener.js +0 -17
  923. package/modern/hooks/utils/useGridPrivateApiContext.d.ts +0 -6
  924. package/modern/hooks/utils/useGridPrivateApiContext.js +0 -12
  925. package/modern/hooks/utils/useGridRootProps.d.ts +0 -2
  926. package/modern/hooks/utils/useGridRootProps.js +0 -9
  927. package/modern/hooks/utils/useGridSelector.d.ts +0 -8
  928. package/modern/hooks/utils/useGridSelector.js +0 -83
  929. package/modern/hooks/utils/useGridVisibleRows.d.ts +0 -26
  930. package/modern/hooks/utils/useGridVisibleRows.js +0 -17
  931. package/modern/hooks/utils/useIsSSR.d.ts +0 -1
  932. package/modern/hooks/utils/useIsSSR.js +0 -8
  933. package/modern/hooks/utils/useLazyRef.d.ts +0 -1
  934. package/modern/hooks/utils/useLazyRef.js +0 -1
  935. package/modern/hooks/utils/useOnMount.d.ts +0 -1
  936. package/modern/hooks/utils/useOnMount.js +0 -1
  937. package/modern/hooks/utils/useRunOnce.d.ts +0 -5
  938. package/modern/hooks/utils/useRunOnce.js +0 -18
  939. package/modern/hooks/utils/useTimeout.d.ts +0 -1
  940. package/modern/hooks/utils/useTimeout.js +0 -1
  941. package/modern/index.d.ts +0 -38
  942. package/modern/index.js +0 -38
  943. package/modern/internals/constants.d.ts +0 -9
  944. package/modern/internals/constants.js +0 -10
  945. package/modern/internals/demo/TailwindDemoContainer.d.ts +0 -11
  946. package/modern/internals/demo/TailwindDemoContainer.js +0 -55
  947. package/modern/internals/demo/index.d.ts +0 -1
  948. package/modern/internals/demo/index.js +0 -1
  949. package/modern/internals/index.d.ts +0 -112
  950. package/modern/internals/index.js +0 -90
  951. package/modern/internals/utils/attachPinnedStyle.d.ts +0 -2
  952. package/modern/internals/utils/attachPinnedStyle.js +0 -9
  953. package/modern/internals/utils/computeSlots.d.ts +0 -7
  954. package/modern/internals/utils/computeSlots.js +0 -18
  955. package/modern/internals/utils/getPinnedCellOffset.d.ts +0 -3
  956. package/modern/internals/utils/getPinnedCellOffset.js +0 -16
  957. package/modern/internals/utils/gridRowGroupingUtils.d.ts +0 -2
  958. package/modern/internals/utils/gridRowGroupingUtils.js +0 -9
  959. package/modern/internals/utils/index.d.ts +0 -4
  960. package/modern/internals/utils/index.js +0 -4
  961. package/modern/internals/utils/propValidation.d.ts +0 -4
  962. package/modern/internals/utils/propValidation.js +0 -12
  963. package/modern/locales/arSD.d.ts +0 -2
  964. package/modern/locales/arSD.js +0 -197
  965. package/modern/locales/beBY.d.ts +0 -2
  966. package/modern/locales/beBY.js +0 -220
  967. package/modern/locales/bgBG.d.ts +0 -2
  968. package/modern/locales/bgBG.js +0 -197
  969. package/modern/locales/bnBD.d.ts +0 -2
  970. package/modern/locales/bnBD.js +0 -194
  971. package/modern/locales/csCZ.d.ts +0 -2
  972. package/modern/locales/csCZ.js +0 -222
  973. package/modern/locales/daDK.d.ts +0 -2
  974. package/modern/locales/daDK.js +0 -197
  975. package/modern/locales/deDE.d.ts +0 -2
  976. package/modern/locales/deDE.js +0 -193
  977. package/modern/locales/elGR.d.ts +0 -2
  978. package/modern/locales/elGR.js +0 -198
  979. package/modern/locales/enUS.d.ts +0 -2
  980. package/modern/locales/enUS.js +0 -3
  981. package/modern/locales/esES.d.ts +0 -2
  982. package/modern/locales/esES.js +0 -195
  983. package/modern/locales/faIR.d.ts +0 -2
  984. package/modern/locales/faIR.js +0 -196
  985. package/modern/locales/fiFI.d.ts +0 -2
  986. package/modern/locales/fiFI.js +0 -197
  987. package/modern/locales/frFR.d.ts +0 -2
  988. package/modern/locales/frFR.js +0 -197
  989. package/modern/locales/heIL.d.ts +0 -2
  990. package/modern/locales/heIL.js +0 -195
  991. package/modern/locales/hrHR.d.ts +0 -1
  992. package/modern/locales/hrHR.js +0 -220
  993. package/modern/locales/huHU.d.ts +0 -2
  994. package/modern/locales/huHU.js +0 -194
  995. package/modern/locales/index.d.ts +0 -37
  996. package/modern/locales/index.js +0 -38
  997. package/modern/locales/isIS.d.ts +0 -2
  998. package/modern/locales/isIS.js +0 -197
  999. package/modern/locales/itIT.d.ts +0 -2
  1000. package/modern/locales/itIT.js +0 -197
  1001. package/modern/locales/jaJP.d.ts +0 -2
  1002. package/modern/locales/jaJP.js +0 -197
  1003. package/modern/locales/koKR.d.ts +0 -2
  1004. package/modern/locales/koKR.js +0 -195
  1005. package/modern/locales/nbNO.d.ts +0 -2
  1006. package/modern/locales/nbNO.js +0 -197
  1007. package/modern/locales/nlNL.d.ts +0 -2
  1008. package/modern/locales/nlNL.js +0 -195
  1009. package/modern/locales/nnNO.d.ts +0 -2
  1010. package/modern/locales/nnNO.js +0 -197
  1011. package/modern/locales/plPL.d.ts +0 -2
  1012. package/modern/locales/plPL.js +0 -194
  1013. package/modern/locales/ptBR.d.ts +0 -2
  1014. package/modern/locales/ptBR.js +0 -195
  1015. package/modern/locales/ptPT.d.ts +0 -1
  1016. package/modern/locales/ptPT.js +0 -195
  1017. package/modern/locales/roRO.d.ts +0 -2
  1018. package/modern/locales/roRO.js +0 -195
  1019. package/modern/locales/ruRU.d.ts +0 -2
  1020. package/modern/locales/ruRU.js +0 -216
  1021. package/modern/locales/skSK.d.ts +0 -2
  1022. package/modern/locales/skSK.js +0 -222
  1023. package/modern/locales/svSE.d.ts +0 -2
  1024. package/modern/locales/svSE.js +0 -197
  1025. package/modern/locales/trTR.d.ts +0 -2
  1026. package/modern/locales/trTR.js +0 -195
  1027. package/modern/locales/ukUA.d.ts +0 -2
  1028. package/modern/locales/ukUA.js +0 -216
  1029. package/modern/locales/urPK.d.ts +0 -2
  1030. package/modern/locales/urPK.js +0 -197
  1031. package/modern/locales/viVN.d.ts +0 -2
  1032. package/modern/locales/viVN.js +0 -197
  1033. package/modern/locales/zhCN.d.ts +0 -2
  1034. package/modern/locales/zhCN.js +0 -192
  1035. package/modern/locales/zhHK.d.ts +0 -1
  1036. package/modern/locales/zhHK.js +0 -192
  1037. package/modern/locales/zhTW.d.ts +0 -2
  1038. package/modern/locales/zhTW.js +0 -192
  1039. package/modern/material/augmentation.d.ts +0 -74
  1040. package/modern/material/augmentation.js +0 -1
  1041. package/modern/material/icons/GridColumnUnsortedIcon.d.ts +0 -8
  1042. package/modern/material/icons/GridColumnUnsortedIcon.js +0 -16
  1043. package/modern/material/icons/index.d.ts +0 -84
  1044. package/modern/material/icons/index.js +0 -92
  1045. package/modern/material/index.d.ts +0 -6
  1046. package/modern/material/index.js +0 -665
  1047. package/modern/material/variables.d.ts +0 -5
  1048. package/modern/material/variables.js +0 -96
  1049. package/modern/models/api/gridApiCommon.d.ts +0 -34
  1050. package/modern/models/api/gridApiCommon.js +0 -1
  1051. package/modern/models/api/gridApiCommunity.d.ts +0 -12
  1052. package/modern/models/api/gridApiCommunity.js +0 -1
  1053. package/modern/models/api/gridCallbackDetails.d.ts +0 -15
  1054. package/modern/models/api/gridCallbackDetails.js +0 -1
  1055. package/modern/models/api/gridColumnApi.d.ts +0 -74
  1056. package/modern/models/api/gridColumnApi.js +0 -1
  1057. package/modern/models/api/gridColumnGroupingApi.d.ts +0 -19
  1058. package/modern/models/api/gridColumnGroupingApi.js +0 -1
  1059. package/modern/models/api/gridColumnMenuApi.d.ts +0 -19
  1060. package/modern/models/api/gridColumnMenuApi.js +0 -1
  1061. package/modern/models/api/gridColumnSpanning.d.ts +0 -34
  1062. package/modern/models/api/gridColumnSpanning.js +0 -1
  1063. package/modern/models/api/gridCoreApi.d.ts +0 -96
  1064. package/modern/models/api/gridCoreApi.js +0 -1
  1065. package/modern/models/api/gridCsvExportApi.d.ts +0 -18
  1066. package/modern/models/api/gridCsvExportApi.js +0 -1
  1067. package/modern/models/api/gridDensityApi.d.ts +0 -17
  1068. package/modern/models/api/gridDensityApi.js +0 -1
  1069. package/modern/models/api/gridEditingApi.d.ts +0 -238
  1070. package/modern/models/api/gridEditingApi.js +0 -1
  1071. package/modern/models/api/gridFilterApi.d.ts +0 -67
  1072. package/modern/models/api/gridFilterApi.js +0 -1
  1073. package/modern/models/api/gridFocusApi.d.ts +0 -46
  1074. package/modern/models/api/gridFocusApi.js +0 -1
  1075. package/modern/models/api/gridHeaderFilteringApi.d.ts +0 -30
  1076. package/modern/models/api/gridHeaderFilteringApi.js +0 -1
  1077. package/modern/models/api/gridInfiniteLoaderApi.d.ts +0 -7
  1078. package/modern/models/api/gridInfiniteLoaderApi.js +0 -1
  1079. package/modern/models/api/gridLocaleTextApi.d.ts +0 -163
  1080. package/modern/models/api/gridLocaleTextApi.js +0 -1
  1081. package/modern/models/api/gridLoggerApi.d.ts +0 -11
  1082. package/modern/models/api/gridLoggerApi.js +0 -1
  1083. package/modern/models/api/gridParamsApi.d.ts +0 -107
  1084. package/modern/models/api/gridParamsApi.js +0 -1
  1085. package/modern/models/api/gridPreferencesPanelApi.d.ts +0 -17
  1086. package/modern/models/api/gridPreferencesPanelApi.js +0 -1
  1087. package/modern/models/api/gridPrintExportApi.d.ts +0 -11
  1088. package/modern/models/api/gridPrintExportApi.js +0 -1
  1089. package/modern/models/api/gridRowApi.d.ts +0 -120
  1090. package/modern/models/api/gridRowApi.js +0 -1
  1091. package/modern/models/api/gridRowSelectionApi.d.ts +0 -90
  1092. package/modern/models/api/gridRowSelectionApi.js +0 -1
  1093. package/modern/models/api/gridRowsMetaApi.d.ts +0 -60
  1094. package/modern/models/api/gridRowsMetaApi.js +0 -1
  1095. package/modern/models/api/gridScrollApi.d.ts +0 -24
  1096. package/modern/models/api/gridScrollApi.js +0 -1
  1097. package/modern/models/api/gridSortApi.d.ts +0 -46
  1098. package/modern/models/api/gridSortApi.js +0 -1
  1099. package/modern/models/api/gridStateApi.d.ts +0 -33
  1100. package/modern/models/api/gridStateApi.js +0 -1
  1101. package/modern/models/api/gridVirtualizationApi.d.ts +0 -19
  1102. package/modern/models/api/gridVirtualizationApi.js +0 -1
  1103. package/modern/models/api/index.d.ts +0 -23
  1104. package/modern/models/api/index.js +0 -13
  1105. package/modern/models/colDef/gridColDef.d.ts +0 -317
  1106. package/modern/models/colDef/gridColDef.js +0 -1
  1107. package/modern/models/colDef/gridColType.d.ts +0 -11
  1108. package/modern/models/colDef/gridColType.js +0 -1
  1109. package/modern/models/colDef/gridColumnTypesRecord.d.ts +0 -3
  1110. package/modern/models/colDef/gridColumnTypesRecord.js +0 -1
  1111. package/modern/models/colDef/index.d.ts +0 -3
  1112. package/modern/models/colDef/index.js +0 -6
  1113. package/modern/models/configuration/gridConfiguration.d.ts +0 -15
  1114. package/modern/models/configuration/gridConfiguration.js +0 -1
  1115. package/modern/models/configuration/gridRowConfiguration.d.ts +0 -12
  1116. package/modern/models/configuration/gridRowConfiguration.js +0 -1
  1117. package/modern/models/controlStateItem.d.ts +0 -14
  1118. package/modern/models/controlStateItem.js +0 -1
  1119. package/modern/models/cursorCoordinates.d.ts +0 -4
  1120. package/modern/models/cursorCoordinates.js +0 -1
  1121. package/modern/models/elementSize.d.ts +0 -13
  1122. package/modern/models/elementSize.js +0 -1
  1123. package/modern/models/events/gridEventListener.d.ts +0 -8
  1124. package/modern/models/events/gridEventListener.js +0 -1
  1125. package/modern/models/events/gridEventLookup.d.ts +0 -661
  1126. package/modern/models/events/gridEventLookup.js +0 -1
  1127. package/modern/models/events/gridEventPublisher.d.ts +0 -29
  1128. package/modern/models/events/gridEventPublisher.js +0 -1
  1129. package/modern/models/events/index.d.ts +0 -3
  1130. package/modern/models/events/index.js +0 -3
  1131. package/modern/models/gridApiCaches.d.ts +0 -6
  1132. package/modern/models/gridApiCaches.js +0 -1
  1133. package/modern/models/gridBaseSlots.d.ts +0 -260
  1134. package/modern/models/gridBaseSlots.js +0 -1
  1135. package/modern/models/gridCell.d.ts +0 -30
  1136. package/modern/models/gridCell.js +0 -1
  1137. package/modern/models/gridCellClass.d.ts +0 -10
  1138. package/modern/models/gridCellClass.js +0 -1
  1139. package/modern/models/gridColumnGrouping.d.ts +0 -41
  1140. package/modern/models/gridColumnGrouping.js +0 -11
  1141. package/modern/models/gridColumnHeaderClass.d.ts +0 -9
  1142. package/modern/models/gridColumnHeaderClass.js +0 -1
  1143. package/modern/models/gridColumnSpanning.d.ts +0 -12
  1144. package/modern/models/gridColumnSpanning.js +0 -1
  1145. package/modern/models/gridDataSource.d.ts +0 -70
  1146. package/modern/models/gridDataSource.js +0 -1
  1147. package/modern/models/gridDensity.d.ts +0 -4
  1148. package/modern/models/gridDensity.js +0 -1
  1149. package/modern/models/gridEditRowModel.d.ts +0 -28
  1150. package/modern/models/gridEditRowModel.js +0 -16
  1151. package/modern/models/gridExport.d.ts +0 -157
  1152. package/modern/models/gridExport.js +0 -1
  1153. package/modern/models/gridFeatureMode.d.ts +0 -1
  1154. package/modern/models/gridFeatureMode.js +0 -1
  1155. package/modern/models/gridFilterInputComponent.d.ts +0 -32
  1156. package/modern/models/gridFilterInputComponent.js +0 -1
  1157. package/modern/models/gridFilterItem.d.ts +0 -30
  1158. package/modern/models/gridFilterItem.js +0 -11
  1159. package/modern/models/gridFilterModel.d.ts +0 -34
  1160. package/modern/models/gridFilterModel.js +0 -1
  1161. package/modern/models/gridFilterOperator.d.ts +0 -58
  1162. package/modern/models/gridFilterOperator.js +0 -1
  1163. package/modern/models/gridHeaderFilteringModel.d.ts +0 -6
  1164. package/modern/models/gridHeaderFilteringModel.js +0 -1
  1165. package/modern/models/gridIconSlotsComponent.d.ts +0 -191
  1166. package/modern/models/gridIconSlotsComponent.js +0 -1
  1167. package/modern/models/gridPaginationProps.d.ts +0 -16
  1168. package/modern/models/gridPaginationProps.js +0 -1
  1169. package/modern/models/gridRenderContextProps.d.ts +0 -55
  1170. package/modern/models/gridRenderContextProps.js +0 -1
  1171. package/modern/models/gridRowSelectionManager.d.ts +0 -9
  1172. package/modern/models/gridRowSelectionManager.js +0 -36
  1173. package/modern/models/gridRowSelectionModel.d.ts +0 -9
  1174. package/modern/models/gridRowSelectionModel.js +0 -1
  1175. package/modern/models/gridRows.d.ts +0 -178
  1176. package/modern/models/gridRows.js +0 -1
  1177. package/modern/models/gridSlotsComponent.d.ts +0 -215
  1178. package/modern/models/gridSlotsComponent.js +0 -1
  1179. package/modern/models/gridSlotsComponentsProps.d.ts +0 -124
  1180. package/modern/models/gridSlotsComponentsProps.js +0 -1
  1181. package/modern/models/gridSortModel.d.ts +0 -30
  1182. package/modern/models/gridSortModel.js +0 -1
  1183. package/modern/models/gridStateCommunity.d.ts +0 -60
  1184. package/modern/models/gridStateCommunity.js +0 -1
  1185. package/modern/models/index.d.ts +0 -31
  1186. package/modern/models/index.js +0 -30
  1187. package/modern/models/logger.d.ts +0 -6
  1188. package/modern/models/logger.js +0 -1
  1189. package/modern/models/muiEvent.d.ts +0 -5
  1190. package/modern/models/muiEvent.js +0 -1
  1191. package/modern/models/params/gridCellParams.d.ts +0 -113
  1192. package/modern/models/params/gridCellParams.js +0 -1
  1193. package/modern/models/params/gridColumnGroupHeaderParams.d.ts +0 -30
  1194. package/modern/models/params/gridColumnGroupHeaderParams.js +0 -1
  1195. package/modern/models/params/gridColumnHeaderParams.d.ts +0 -15
  1196. package/modern/models/params/gridColumnHeaderParams.js +0 -1
  1197. package/modern/models/params/gridColumnOrderChangeParams.d.ts +0 -18
  1198. package/modern/models/params/gridColumnOrderChangeParams.js +0 -1
  1199. package/modern/models/params/gridColumnResizeParams.d.ts +0 -19
  1200. package/modern/models/params/gridColumnResizeParams.js +0 -1
  1201. package/modern/models/params/gridEditCellParams.d.ts +0 -65
  1202. package/modern/models/params/gridEditCellParams.js +0 -27
  1203. package/modern/models/params/gridHeaderSelectionCheckboxParams.d.ts +0 -3
  1204. package/modern/models/params/gridHeaderSelectionCheckboxParams.js +0 -1
  1205. package/modern/models/params/gridMenuParams.d.ts +0 -6
  1206. package/modern/models/params/gridMenuParams.js +0 -1
  1207. package/modern/models/params/gridPreferencePanelParams.d.ts +0 -2
  1208. package/modern/models/params/gridPreferencePanelParams.js +0 -1
  1209. package/modern/models/params/gridRowParams.d.ts +0 -110
  1210. package/modern/models/params/gridRowParams.js +0 -44
  1211. package/modern/models/params/gridRowSelectionCheckboxParams.d.ts +0 -5
  1212. package/modern/models/params/gridRowSelectionCheckboxParams.js +0 -1
  1213. package/modern/models/params/gridScrollParams.d.ts +0 -14
  1214. package/modern/models/params/gridScrollParams.js +0 -1
  1215. package/modern/models/params/gridValueOptionsParams.d.ts +0 -18
  1216. package/modern/models/params/gridValueOptionsParams.js +0 -1
  1217. package/modern/models/params/index.d.ts +0 -13
  1218. package/modern/models/params/index.js +0 -13
  1219. package/modern/models/props/DataGridProps.d.ts +0 -866
  1220. package/modern/models/props/DataGridProps.js +0 -1
  1221. package/modern/package.json +0 -1
  1222. package/modern/themeAugmentation/index.d.ts +0 -2
  1223. package/modern/themeAugmentation/index.js +0 -4
  1224. package/modern/themeAugmentation/overrides.d.ts +0 -18
  1225. package/modern/themeAugmentation/overrides.js +0 -1
  1226. package/modern/themeAugmentation/props.d.ts +0 -15
  1227. package/modern/themeAugmentation/props.js +0 -1
  1228. package/modern/utils/ResizeObserver.d.ts +0 -4
  1229. package/modern/utils/ResizeObserver.js +0 -10
  1230. package/modern/utils/Store.d.ts +0 -11
  1231. package/modern/utils/Store.js +0 -24
  1232. package/modern/utils/assert.d.ts +0 -2
  1233. package/modern/utils/assert.js +0 -3
  1234. package/modern/utils/cellBorderUtils.d.ts +0 -3
  1235. package/modern/utils/cellBorderUtils.js +0 -21
  1236. package/modern/utils/cleanupTracking/CleanupTracking.d.ts +0 -9
  1237. package/modern/utils/cleanupTracking/CleanupTracking.js +0 -1
  1238. package/modern/utils/cleanupTracking/FinalizationRegistryBasedCleanupTracking.d.ts +0 -7
  1239. package/modern/utils/cleanupTracking/FinalizationRegistryBasedCleanupTracking.js +0 -18
  1240. package/modern/utils/cleanupTracking/TimerBasedCleanupTracking.d.ts +0 -9
  1241. package/modern/utils/cleanupTracking/TimerBasedCleanupTracking.js +0 -38
  1242. package/modern/utils/composeGridClasses.d.ts +0 -3
  1243. package/modern/utils/composeGridClasses.js +0 -5
  1244. package/modern/utils/createControllablePromise.d.ts +0 -5
  1245. package/modern/utils/createControllablePromise.js +0 -11
  1246. package/modern/utils/createSelector.d.ts +0 -23
  1247. package/modern/utils/createSelector.js +0 -94
  1248. package/modern/utils/css/context.d.ts +0 -14
  1249. package/modern/utils/css/context.js +0 -54
  1250. package/modern/utils/doesSupportPreventScroll.d.ts +0 -1
  1251. package/modern/utils/doesSupportPreventScroll.js +0 -13
  1252. package/modern/utils/domUtils.d.ts +0 -29
  1253. package/modern/utils/domUtils.js +0 -204
  1254. package/modern/utils/exportAs.d.ts +0 -12
  1255. package/modern/utils/exportAs.js +0 -38
  1256. package/modern/utils/getGridLocalization.d.ts +0 -11
  1257. package/modern/utils/getGridLocalization.js +0 -9
  1258. package/modern/utils/getPublicApiRef.d.ts +0 -3
  1259. package/modern/utils/getPublicApiRef.js +0 -5
  1260. package/modern/utils/index.d.ts +0 -2
  1261. package/modern/utils/index.js +0 -1
  1262. package/modern/utils/isJSDOM.d.ts +0 -1
  1263. package/modern/utils/isJSDOM.js +0 -1
  1264. package/modern/utils/keyboardUtils.d.ts +0 -14
  1265. package/modern/utils/keyboardUtils.js +0 -37
  1266. package/modern/utils/platform.d.ts +0 -1
  1267. package/modern/utils/platform.js +0 -2
  1268. package/modern/utils/roundToDecimalPlaces.d.ts +0 -1
  1269. package/modern/utils/roundToDecimalPlaces.js +0 -3
  1270. package/modern/utils/rtlFlipSide.d.ts +0 -2
  1271. package/modern/utils/rtlFlipSide.js +0 -22
  1272. package/modern/utils/utils.d.ts +0 -30
  1273. package/modern/utils/utils.js +0 -82
  1274. package/modern/utils/weakMapMemoize.d.ts +0 -20
  1275. package/modern/utils/weakMapMemoize.js +0 -128
  1276. package/tsconfig.build.tsbuildinfo +0 -1
  1277. /package/esm/{models/muiEvent.js → hooks/features/pivoting/gridPivotingInterfaces.js} +0 -0
  1278. /package/{models/muiEvent.js → hooks/features/pivoting/gridPivotingInterfaces.js} +0 -0
@@ -1,165 +0,0 @@
1
- import { GridSignature } from "../../../constants/signature.js";
2
- import { GRID_ROOT_GROUP_ID } from "../rows/gridRowsUtils.js";
3
- import { gridFilteredRowsLookupSelector } from "../filter/gridFilterSelector.js";
4
- import { gridSortedRowIdsSelector } from "../sorting/gridSortingSelector.js";
5
- import { gridRowSelectionManagerSelector } from "./gridRowSelectionSelector.js";
6
- import { gridRowTreeSelector } from "../rows/gridRowsSelector.js";
7
- import { createSelector } from "../../../utils/createSelector.js";
8
- export const ROW_SELECTION_PROPAGATION_DEFAULT = {
9
- parents: true,
10
- descendants: true
11
- };
12
- function getGridRowGroupSelectableDescendants(apiRef, groupId) {
13
- const rowTree = gridRowTreeSelector(apiRef);
14
- const sortedRowIds = gridSortedRowIdsSelector(apiRef);
15
- const filteredRowsLookup = gridFilteredRowsLookupSelector(apiRef);
16
- const groupNode = rowTree[groupId];
17
- if (!groupNode || groupNode.type !== 'group') {
18
- return [];
19
- }
20
- const descendants = [];
21
- const startIndex = sortedRowIds.findIndex(id => id === groupId) + 1;
22
- for (let index = startIndex; index < sortedRowIds.length && rowTree[sortedRowIds[index]]?.depth > groupNode.depth; index += 1) {
23
- const id = sortedRowIds[index];
24
- if (filteredRowsLookup[id] !== false && apiRef.current.isRowSelectable(id)) {
25
- descendants.push(id);
26
- }
27
- }
28
- return descendants;
29
- }
30
-
31
- // TODO v8: Use `createSelectorV8`
32
- export function getCheckboxPropsSelector(groupId, autoSelectParents) {
33
- return createSelector(gridRowTreeSelector, gridSortedRowIdsSelector, gridFilteredRowsLookupSelector, gridRowSelectionManagerSelector, (rowTree, sortedRowIds, filteredRowsLookup, rowSelectionManager) => {
34
- const groupNode = rowTree[groupId];
35
- if (!groupNode || groupNode.type !== 'group') {
36
- return {
37
- isIndeterminate: false,
38
- isChecked: rowSelectionManager.has(groupId)
39
- };
40
- }
41
- if (rowSelectionManager.has(groupId)) {
42
- return {
43
- isIndeterminate: false,
44
- isChecked: true
45
- };
46
- }
47
- let selectableDescendantsCount = 0;
48
- let selectedDescendantsCount = 0;
49
- const startIndex = sortedRowIds.findIndex(id => id === groupId) + 1;
50
- for (let index = startIndex; index < sortedRowIds.length && rowTree[sortedRowIds[index]]?.depth > groupNode.depth; index += 1) {
51
- const id = sortedRowIds[index];
52
- if (filteredRowsLookup[id] !== false) {
53
- selectableDescendantsCount += 1;
54
- if (rowSelectionManager.has(id)) {
55
- selectedDescendantsCount += 1;
56
- }
57
- }
58
- }
59
- return {
60
- isIndeterminate: selectedDescendantsCount > 0 && (selectedDescendantsCount < selectableDescendantsCount || !rowSelectionManager.has(groupId)),
61
- isChecked: autoSelectParents ? selectedDescendantsCount > 0 : rowSelectionManager.has(groupId)
62
- };
63
- });
64
- }
65
- export function isMultipleRowSelectionEnabled(props) {
66
- if (props.signature === GridSignature.DataGrid) {
67
- // DataGrid Community has multiple row selection enabled only if checkbox selection is enabled.
68
- return props.checkboxSelection && props.disableMultipleRowSelection !== true;
69
- }
70
- return !props.disableMultipleRowSelection;
71
- }
72
- const getRowNodeParents = (tree, id) => {
73
- const parents = [];
74
- let parent = id;
75
- while (parent != null && parent !== GRID_ROOT_GROUP_ID) {
76
- const node = tree[parent];
77
- if (!node) {
78
- return parents;
79
- }
80
- parents.push(parent);
81
- parent = node.parent;
82
- }
83
- return parents;
84
- };
85
- const getFilteredRowNodeSiblings = (tree, filteredRows, id) => {
86
- const node = tree[id];
87
- if (!node) {
88
- return [];
89
- }
90
- const parent = node.parent;
91
- if (parent == null) {
92
- return [];
93
- }
94
- const parentNode = tree[parent];
95
- return parentNode.children.filter(childId => childId !== id && filteredRows[childId] !== false);
96
- };
97
- export const findRowsToSelect = (apiRef, tree, selectedRow, autoSelectDescendants, autoSelectParents, addRow, rowSelectionManager = gridRowSelectionManagerSelector(apiRef)) => {
98
- const filteredRows = gridFilteredRowsLookupSelector(apiRef);
99
- const selectedDescendants = new Set([]);
100
- if (!autoSelectDescendants && !autoSelectParents) {
101
- return;
102
- }
103
- if (autoSelectDescendants) {
104
- const rowNode = tree[selectedRow];
105
- if (rowNode?.type === 'group') {
106
- const descendants = getGridRowGroupSelectableDescendants(apiRef, selectedRow);
107
- descendants.forEach(rowId => {
108
- addRow(rowId);
109
- selectedDescendants.add(rowId);
110
- });
111
- }
112
- }
113
- if (autoSelectParents) {
114
- const checkAllDescendantsSelected = rowId => {
115
- if (!rowSelectionManager.has(rowId) && !selectedDescendants.has(rowId)) {
116
- return false;
117
- }
118
- const node = tree[rowId];
119
- if (!node) {
120
- return false;
121
- }
122
- if (node.type !== 'group') {
123
- return true;
124
- }
125
- return node.children.every(checkAllDescendantsSelected);
126
- };
127
- const traverseParents = rowId => {
128
- const siblings = getFilteredRowNodeSiblings(tree, filteredRows, rowId);
129
- if (siblings.length === 0 || siblings.every(checkAllDescendantsSelected)) {
130
- const rowNode = tree[rowId];
131
- const parent = rowNode?.parent;
132
- if (parent != null && parent !== GRID_ROOT_GROUP_ID && apiRef.current.isRowSelectable(parent)) {
133
- addRow(parent);
134
- selectedDescendants.add(parent);
135
- traverseParents(parent);
136
- }
137
- }
138
- };
139
- traverseParents(selectedRow);
140
- }
141
- };
142
- export const findRowsToDeselect = (apiRef, tree, deselectedRow, autoSelectDescendants, autoSelectParents, removeRow) => {
143
- const rowSelectionManager = gridRowSelectionManagerSelector(apiRef);
144
- if (!autoSelectParents && !autoSelectDescendants) {
145
- return;
146
- }
147
- if (autoSelectParents) {
148
- const allParents = getRowNodeParents(tree, deselectedRow);
149
- allParents.forEach(parent => {
150
- const isSelected = rowSelectionManager.has(parent);
151
- if (isSelected) {
152
- removeRow(parent);
153
- }
154
- });
155
- }
156
- if (autoSelectDescendants) {
157
- const rowNode = tree[deselectedRow];
158
- if (rowNode?.type === 'group') {
159
- const descendants = getGridRowGroupSelectableDescendants(apiRef, deselectedRow);
160
- descendants.forEach(descendant => {
161
- removeRow(descendant);
162
- });
163
- }
164
- }
165
- };
@@ -1,4 +0,0 @@
1
- import { GridStateCommunity } from "../../../models/gridStateCommunity.js";
2
- export declare const gridRowSpanningHiddenCellsSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, import("./useGridRowSpanning").GridRowSpanningState, Record<import("@mui/x-data-grid").GridRowId, Record<string, boolean>>>;
3
- export declare const gridRowSpanningSpannedCellsSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, import("./useGridRowSpanning").GridRowSpanningState, Record<import("@mui/x-data-grid").GridRowId, Record<string, number>>>;
4
- export declare const gridRowSpanningHiddenCellsOriginMapSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, import("./useGridRowSpanning").GridRowSpanningState, Record<number, Record<string, number>>>;
@@ -1,5 +0,0 @@
1
- import { createSelector, createRootSelector } from "../../../utils/createSelector.js";
2
- const gridRowSpanningStateSelector = createRootSelector(state => state.rowSpanning);
3
- export const gridRowSpanningHiddenCellsSelector = createSelector(gridRowSpanningStateSelector, rowSpanning => rowSpanning.hiddenCells);
4
- export const gridRowSpanningSpannedCellsSelector = createSelector(gridRowSpanningStateSelector, rowSpanning => rowSpanning.spannedCells);
5
- export const gridRowSpanningHiddenCellsOriginMapSelector = createSelector(gridRowSpanningStateSelector, rowSpanning => rowSpanning.hiddenCellOriginMap);
@@ -1,10 +0,0 @@
1
- import { RefObject } from '@mui/x-internals/types';
2
- import type { GridRenderContext } from '../../../models';
3
- import type { GridValidRowModel } from '../../../models/gridRows';
4
- import type { GridColDef } from '../../../models/colDef';
5
- import type { GridApiCommunity } from '../../../models/api/gridApiCommunity';
6
- import type { RowRange } from './useGridRowSpanning';
7
- export declare function getUnprocessedRange(testRange: RowRange, processedRange: RowRange): RowRange | null;
8
- export declare function isRowContextInitialized(renderContext: GridRenderContext): boolean;
9
- export declare function isRowRangeUpdated(range1: RowRange, range2: RowRange): boolean;
10
- export declare const getCellValue: (row: GridValidRowModel, colDef: GridColDef, apiRef: RefObject<GridApiCommunity>) => any;
@@ -1,42 +0,0 @@
1
- export function getUnprocessedRange(testRange, processedRange) {
2
- if (testRange.firstRowIndex >= processedRange.firstRowIndex && testRange.lastRowIndex <= processedRange.lastRowIndex) {
3
- return null;
4
- }
5
- // Overflowing at the end
6
- // Example: testRange={ firstRowIndex: 10, lastRowIndex: 20 }, processedRange={ firstRowIndex: 0, lastRowIndex: 15 }
7
- // Unprocessed Range={ firstRowIndex: 16, lastRowIndex: 20 }
8
- if (testRange.firstRowIndex >= processedRange.firstRowIndex && testRange.lastRowIndex > processedRange.lastRowIndex) {
9
- return {
10
- firstRowIndex: processedRange.lastRowIndex,
11
- lastRowIndex: testRange.lastRowIndex
12
- };
13
- }
14
- // Overflowing at the beginning
15
- // Example: testRange={ firstRowIndex: 0, lastRowIndex: 20 }, processedRange={ firstRowIndex: 16, lastRowIndex: 30 }
16
- // Unprocessed Range={ firstRowIndex: 0, lastRowIndex: 15 }
17
- if (testRange.firstRowIndex < processedRange.firstRowIndex && testRange.lastRowIndex <= processedRange.lastRowIndex) {
18
- return {
19
- firstRowIndex: testRange.firstRowIndex,
20
- lastRowIndex: processedRange.firstRowIndex - 1
21
- };
22
- }
23
- // TODO: Should return two ranges handle overflowing at both ends ?
24
- return testRange;
25
- }
26
- export function isRowContextInitialized(renderContext) {
27
- return renderContext.firstRowIndex !== 0 || renderContext.lastRowIndex !== 0;
28
- }
29
- export function isRowRangeUpdated(range1, range2) {
30
- return range1.firstRowIndex !== range2.firstRowIndex || range1.lastRowIndex !== range2.lastRowIndex;
31
- }
32
- export const getCellValue = (row, colDef, apiRef) => {
33
- if (!row) {
34
- return null;
35
- }
36
- let cellValue = row[colDef.field];
37
- const valueGetter = colDef.rowSpanValueGetter ?? colDef.valueGetter;
38
- if (valueGetter) {
39
- cellValue = valueGetter(cellValue, row, colDef, apiRef);
40
- }
41
- return cellValue;
42
- };
@@ -1,108 +0,0 @@
1
- import { GridRowEntry, GridRowId, GridRowTreeConfig, GridValidRowModel } from "../../../models/gridRows.js";
2
- import type { DataGridProcessedProps } from '../../../models/props/DataGridProps';
3
- export interface GridRowsInternalCache {
4
- /**
5
- * The rows as they were the last time all the rows have been updated at once
6
- * It is used to avoid processing several time the same set of rows
7
- */
8
- rowsBeforePartialUpdates: DataGridProcessedProps['rows'];
9
- /**
10
- * The value of the `loading` prop since the last time that the rows state was updated.
11
- */
12
- loadingPropBeforePartialUpdates: DataGridProcessedProps['loading'];
13
- /**
14
- * The value of the `rowCount` prop since the last time that the rows state was updated.
15
- */
16
- rowCountPropBeforePartialUpdates: DataGridProcessedProps['rowCount'];
17
- /**
18
- * Lookup containing the latest model at all time (even those not stored in the state yet).
19
- */
20
- dataRowIdToModelLookup: GridRowIdToModelLookup;
21
- /**
22
- * List of updates (partial or full) applied since the last time the state was synced with the cache.
23
- * It is used to build the tree.
24
- * If the update is a full update, we rebuild the tree from scratch.
25
- * If the update is a partial update, we only modify the impacted nodes.
26
- */
27
- updates: GridRowsPartialUpdates | GridRowsFullUpdate;
28
- }
29
- export interface GridRowsState {
30
- /**
31
- * Name of the algorithm used to group the rows
32
- * It is useful to decide which filtering / sorting algorithm to apply, to avoid applying tree-data filtering on a grouping-by-column dataset for instance.
33
- */
34
- groupingName: string;
35
- tree: GridRowTreeConfig;
36
- /**
37
- * Amount of nodes at each depth (including auto-generated ones)
38
- */
39
- treeDepths: GridTreeDepths;
40
- dataRowIds: GridRowId[];
41
- /**
42
- * The loading status of the rows.
43
- */
44
- loading?: boolean;
45
- /**
46
- * Amount of data rows provided to the grid.
47
- * Includes the filtered and collapsed rows.
48
- * Does not include the auto-generated rows (auto generated groups and footers).
49
- */
50
- totalRowCount: number;
51
- /**
52
- * Amount of top level rows.
53
- * Includes the filtered rows and the auto-generated root footer if any.
54
- * Does not include the rows of depth > 0 (rows inside a group).
55
- */
56
- totalTopLevelRowCount: number;
57
- dataRowIdToModelLookup: GridRowIdToModelLookup;
58
- additionalRowGroups?: {
59
- pinnedRows?: GridPinnedRowsState;
60
- };
61
- /**
62
- * Contains some values of type `GridRowId` that have been requested to be fetched
63
- * either by `defaultGroupingExpansionDepth` or `isGroupExpandedByDefault` props.
64
- * Applicable with server-side grouped data and `dataSource` only.
65
- */
66
- groupsToFetch?: GridRowId[];
67
- }
68
- export interface GridRowTreeCreationParams {
69
- previousTree: GridRowTreeConfig | null;
70
- previousTreeDepths: GridTreeDepths | null;
71
- updates: GridRowsPartialUpdates | GridRowsFullUpdate;
72
- dataRowIdToModelLookup: GridRowIdToModelLookup;
73
- previousGroupsToFetch?: GridRowId[];
74
- }
75
- export type GridRowTreeUpdateGroupAction = 'removeChildren' | 'insertChildren' | 'modifyChildren';
76
- export type GridRowTreeUpdatedGroupsValue = {
77
- [groupId: GridRowId]: { [action in GridRowTreeUpdateGroupAction]?: boolean };
78
- };
79
- export type GridRowTreeUpdatedGroupsManager = {
80
- value: GridRowTreeUpdatedGroupsValue;
81
- addAction: (groupId: GridRowId, action: GridRowTreeUpdateGroupAction) => void;
82
- };
83
- export type GridRowTreeCreationValue = Pick<GridRowsState, 'groupingName' | 'tree' | 'treeDepths' | 'dataRowIds' | 'groupsToFetch'> & {
84
- updatedGroupsManager?: GridRowTreeUpdatedGroupsManager;
85
- };
86
- export type GridHydrateRowsValue = Pick<GridRowsState, 'tree' | 'treeDepths' | 'dataRowIds' | 'dataRowIdToModelLookup' | 'additionalRowGroups'>;
87
- export type GridRowsPartialUpdateAction = 'insert' | 'modify' | 'remove';
88
- export type GridRowIdToModelLookup<R extends GridValidRowModel = GridValidRowModel> = Record<string, R>;
89
- export type GridTreeDepths = {
90
- [depth: number]: number;
91
- };
92
- export interface GridRowsFullUpdate {
93
- type: 'full';
94
- rows: GridRowId[];
95
- }
96
- export interface GridRowsPartialUpdates {
97
- type: 'partial';
98
- actions: { [action in GridRowsPartialUpdateAction]: GridRowId[] };
99
- idToActionLookup: {
100
- [id: GridRowId]: GridRowsPartialUpdateAction | undefined;
101
- };
102
- groupKeys?: string[];
103
- }
104
- export interface GridPinnedRowsState {
105
- top?: GridRowEntry[];
106
- bottom?: GridRowEntry[];
107
- }
108
- export type GridPinnedRowsPosition = keyof GridPinnedRowsState;
@@ -1 +0,0 @@
1
- export {};
@@ -1,16 +0,0 @@
1
- import { GridRowId } from "../../../models/gridRows.js";
2
- export type HeightEntry = {
3
- content: number;
4
- spacingTop: number;
5
- spacingBottom: number;
6
- detail: number;
7
- autoHeight: boolean;
8
- needsFirstMeasurement: boolean;
9
- };
10
- export type HeightCache = Map<GridRowId, HeightEntry>;
11
- export interface GridRowsMetaInternalCache {
12
- /**
13
- * Map of height cache entries.
14
- */
15
- heights: HeightCache;
16
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,2 +0,0 @@
1
- import { GridStateCommunity } from "../../../models/gridStateCommunity.js";
2
- export declare const gridRowsMetaSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, unknown, import("@mui/x-data-grid").GridRowsMetaState>;
@@ -1,2 +0,0 @@
1
- import { createRootSelector } from "../../../utils/createSelector.js";
2
- export const gridRowsMetaSelector = createRootSelector(state => state.rowsMeta);
@@ -1,21 +0,0 @@
1
- /**
2
- * The grid rows total height and row positions.
3
- */
4
- export interface GridRowsMetaState {
5
- /**
6
- * The sum of all visible grid rows in the current rows.
7
- */
8
- currentPageTotalHeight: number;
9
- /**
10
- * The grid rows positions.
11
- */
12
- positions: number[];
13
- /**
14
- * The total height of the pinned top rows.
15
- */
16
- pinnedTopRowsTotalHeight: number;
17
- /**
18
- * The total height of the pinned bottom rows.
19
- */
20
- pinnedBottomRowsTotalHeight: number;
21
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,50 +0,0 @@
1
- import { GridRowId } from "../../../models/gridRows.js";
2
- import { GridStateCommunity } from "../../../models/gridStateCommunity.js";
3
- export declare const gridRowsStateSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, unknown, import("@mui/x-data-grid").GridRowsState>;
4
- export declare const gridRowCountSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, import("@mui/x-data-grid").GridRowsState, number>;
5
- export declare const gridRowsLoadingSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, import("@mui/x-data-grid").GridRowsState, boolean | undefined>;
6
- export declare const gridTopLevelRowCountSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, import("@mui/x-data-grid").GridRowsState, number>;
7
- export declare const gridRowsLookupSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, import("@mui/x-data-grid").GridRowsState, import("@mui/x-data-grid").GridRowIdToModelLookup<import("@mui/x-data-grid").GridValidRowModel>>;
8
- export declare const gridRowSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, GridRowId, import("@mui/x-data-grid").GridValidRowModel>;
9
- export declare const gridRowTreeSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, import("@mui/x-data-grid").GridRowsState, import("@mui/x-data-grid").GridRowTreeConfig>;
10
- export declare const gridRowNodeSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, GridRowId, import("@mui/x-data-grid").GridTreeNode>;
11
- export declare const gridRowGroupsToFetchSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, import("@mui/x-data-grid").GridRowsState, GridRowId[] | undefined>;
12
- export declare const gridRowGroupingNameSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, import("@mui/x-data-grid").GridRowsState, string>;
13
- export declare const gridRowTreeDepthsSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, import("@mui/x-data-grid").GridRowsState, import("./gridRowsInterfaces").GridTreeDepths>;
14
- export declare const gridRowMaximumTreeDepthSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, import("@mui/x-data-grid").GridRowsState, number>;
15
- export declare const gridDataRowIdsSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, import("@mui/x-data-grid").GridRowsState, GridRowId[]>;
16
- export declare const gridDataRowsSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, import("@mui/x-data-grid").GridRowIdToModelLookup<import("@mui/x-data-grid").GridValidRowModel>, import("@mui/x-data-grid").GridValidRowModel[]>;
17
- /**
18
- * @ignore - do not document.
19
- */
20
- export declare const gridAdditionalRowGroupsSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, import("@mui/x-data-grid").GridRowsState, {
21
- pinnedRows?: import("./gridRowsInterfaces").GridPinnedRowsState;
22
- } | undefined>;
23
- /**
24
- * @ignore - do not document.
25
- */
26
- export declare const gridPinnedRowsSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, {
27
- pinnedRows?: import("./gridRowsInterfaces").GridPinnedRowsState;
28
- } | undefined, {
29
- bottom: {
30
- id: GridRowId;
31
- model: import("@mui/x-data-grid").GridValidRowModel;
32
- }[];
33
- top: {
34
- id: GridRowId;
35
- model: import("@mui/x-data-grid").GridValidRowModel;
36
- }[];
37
- }>;
38
- /**
39
- * @ignore - do not document.
40
- */
41
- export declare const gridPinnedRowsCountSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, {
42
- bottom: {
43
- id: GridRowId;
44
- model: import("@mui/x-data-grid").GridValidRowModel;
45
- }[];
46
- top: {
47
- id: GridRowId;
48
- model: import("@mui/x-data-grid").GridValidRowModel;
49
- }[];
50
- }, number>;
@@ -1,58 +0,0 @@
1
- import { createRootSelector, createSelector, createSelectorMemoized } from "../../../utils/createSelector.js";
2
- export const gridRowsStateSelector = createRootSelector(state => state.rows);
3
- export const gridRowCountSelector = createSelector(gridRowsStateSelector, rows => rows.totalRowCount);
4
- export const gridRowsLoadingSelector = createSelector(gridRowsStateSelector, rows => rows.loading);
5
- export const gridTopLevelRowCountSelector = createSelector(gridRowsStateSelector, rows => rows.totalTopLevelRowCount);
6
-
7
- // TODO rows v6: Rename
8
- export const gridRowsLookupSelector = createSelector(gridRowsStateSelector, rows => rows.dataRowIdToModelLookup);
9
- export const gridRowSelector = createSelector(gridRowsLookupSelector, (rows, id) => rows[id]);
10
- export const gridRowTreeSelector = createSelector(gridRowsStateSelector, rows => rows.tree);
11
- export const gridRowNodeSelector = createSelector(gridRowTreeSelector, (rowTree, rowId) => rowTree[rowId]);
12
- export const gridRowGroupsToFetchSelector = createSelector(gridRowsStateSelector, rows => rows.groupsToFetch);
13
- export const gridRowGroupingNameSelector = createSelector(gridRowsStateSelector, rows => rows.groupingName);
14
- export const gridRowTreeDepthsSelector = createSelector(gridRowsStateSelector, rows => rows.treeDepths);
15
- export const gridRowMaximumTreeDepthSelector = createSelectorMemoized(gridRowsStateSelector, rows => {
16
- const entries = Object.entries(rows.treeDepths);
17
- if (entries.length === 0) {
18
- return 1;
19
- }
20
- return (entries.filter(([, nodeCount]) => nodeCount > 0).map(([depth]) => Number(depth)).sort((a, b) => b - a)[0] ?? 0) + 1;
21
- });
22
- export const gridDataRowIdsSelector = createSelector(gridRowsStateSelector, rows => rows.dataRowIds);
23
- export const gridDataRowsSelector = createSelectorMemoized(gridDataRowIdsSelector, gridRowsLookupSelector, (dataRowIds, rowsLookup) => dataRowIds.reduce((acc, id) => {
24
- if (!rowsLookup[id]) {
25
- return acc;
26
- }
27
- acc.push(rowsLookup[id]);
28
- return acc;
29
- }, []));
30
-
31
- /**
32
- * @ignore - do not document.
33
- */
34
- export const gridAdditionalRowGroupsSelector = createSelector(gridRowsStateSelector, rows => rows?.additionalRowGroups);
35
-
36
- /**
37
- * @ignore - do not document.
38
- */
39
- export const gridPinnedRowsSelector = createSelectorMemoized(gridAdditionalRowGroupsSelector, additionalRowGroups => {
40
- const rawPinnedRows = additionalRowGroups?.pinnedRows;
41
- return {
42
- bottom: rawPinnedRows?.bottom?.map(rowEntry => ({
43
- id: rowEntry.id,
44
- model: rowEntry.model ?? {}
45
- })) ?? [],
46
- top: rawPinnedRows?.top?.map(rowEntry => ({
47
- id: rowEntry.id,
48
- model: rowEntry.model ?? {}
49
- })) ?? []
50
- };
51
- });
52
-
53
- /**
54
- * @ignore - do not document.
55
- */
56
- export const gridPinnedRowsCountSelector = createSelector(gridPinnedRowsSelector, pinnedRows => {
57
- return (pinnedRows?.top?.length || 0) + (pinnedRows?.bottom?.length || 0);
58
- });
@@ -1,61 +0,0 @@
1
- import { RefObject } from '@mui/x-internals/types';
2
- import { GridAutoGeneratedGroupNode, GridAutoGeneratedPinnedRowNode, GridColDef, GridFooterNode, GridGroupNode, GridRowId, GridRowIdGetter, GridRowModel, GridRowModelUpdate, GridRowTreeConfig, GridSkeletonRowNode, GridTreeNode, GridValidRowModel } from "../../../models/index.js";
3
- import { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
4
- import { GridApiCommunity, GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
5
- import { GridRowsInternalCache, GridRowsState, GridRowTreeCreationParams } from "./gridRowsInterfaces.js";
6
- export declare const GRID_ROOT_GROUP_ID: GridRowId;
7
- export declare const GRID_ID_AUTOGENERATED: unique symbol;
8
- export declare const buildRootGroup: () => GridGroupNode;
9
- /**
10
- * A helper function to check if the id provided is valid.
11
- * @param {GridRowId} id Id as [[GridRowId]].
12
- * @param {GridRowModel | Partial<GridRowModel>} row Row as [[GridRowModel]].
13
- * @param {string} detailErrorMessage A custom error message to display for invalid IDs
14
- */
15
- export declare function checkGridRowIdIsValid(id: GridRowId, row: GridRowModel | Partial<GridRowModel>, detailErrorMessage?: string): void;
16
- export declare const getRowIdFromRowModel: (rowModel: GridRowModel, getRowId?: GridRowIdGetter, detailErrorMessage?: string) => GridRowId;
17
- export declare const getRowValue: (row: GridValidRowModel, colDef: GridColDef, apiRef: RefObject<GridApiCommunity>) => any;
18
- export declare const createRowsInternalCache: ({
19
- rows,
20
- getRowId,
21
- loading,
22
- rowCount
23
- }: Pick<DataGridProcessedProps, "rows" | "getRowId" | "loading" | "rowCount">) => GridRowsInternalCache;
24
- export declare const getTopLevelRowCount: ({
25
- tree,
26
- rowCountProp
27
- }: {
28
- tree: GridRowTreeConfig;
29
- rowCountProp: DataGridProcessedProps["rowCount"];
30
- }) => number;
31
- export declare const getRowsStateFromCache: ({
32
- apiRef,
33
- rowCountProp,
34
- loadingProp,
35
- previousTree,
36
- previousTreeDepths,
37
- previousGroupsToFetch
38
- }: Pick<GridRowTreeCreationParams, "previousTree" | "previousTreeDepths" | "previousGroupsToFetch"> & {
39
- apiRef: RefObject<GridPrivateApiCommunity>;
40
- rowCountProp: number | undefined;
41
- loadingProp: boolean | undefined;
42
- }) => GridRowsState;
43
- export declare const isAutogeneratedRow: (row: GridRowModel) => boolean;
44
- export declare const isAutogeneratedRowNode: (rowNode: GridTreeNode) => rowNode is GridFooterNode | GridSkeletonRowNode | GridAutoGeneratedGroupNode | GridAutoGeneratedPinnedRowNode;
45
- export declare const getTreeNodeDescendants: (tree: GridRowTreeConfig, parentId: GridRowId, skipAutoGeneratedRows: boolean) => GridRowId[];
46
- export declare const updateCacheWithNewRows: ({
47
- previousCache,
48
- getRowId,
49
- updates,
50
- groupKeys
51
- }: {
52
- previousCache: GridRowsInternalCache;
53
- getRowId: DataGridProcessedProps["getRowId"];
54
- updates: GridRowModelUpdate[];
55
- groupKeys?: string[];
56
- }) => GridRowsInternalCache;
57
- export declare const minimalContentHeight = "var(--DataGrid-overlayHeight, calc(var(--height) * 2))";
58
- export declare function computeRowsUpdates(apiRef: RefObject<GridApiCommunity>, updates: GridRowModelUpdate[], getRowId: DataGridProcessedProps['getRowId']): GridRowModelUpdate[];
59
- export declare const getValidRowHeight: (rowHeightProp: any, defaultRowHeight: number, warningMessage: string) => number;
60
- export declare const rowHeightWarning: string;
61
- export declare const getRowHeightWarning: string;