@mui/x-data-grid 8.28.7 → 8.29.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 (1754) hide show
  1. package/CHANGELOG.md +82 -0
  2. package/DataGrid/DataGrid.d.mts +16 -0
  3. package/DataGrid/DataGrid.mjs +821 -0
  4. package/DataGrid/index.d.mts +1 -0
  5. package/DataGrid/index.mjs +1 -0
  6. package/DataGrid/useDataGridComponent.d.mts +5 -0
  7. package/DataGrid/useDataGridComponent.mjs +104 -0
  8. package/DataGrid/useDataGridProps.d.mts +3 -0
  9. package/DataGrid/useDataGridProps.mjs +50 -0
  10. package/colDef/gridActionsColDef.d.mts +3 -0
  11. package/colDef/gridActionsColDef.mjs +20 -0
  12. package/colDef/gridBooleanColDef.d.mts +2 -0
  13. package/colDef/gridBooleanColDef.mjs +41 -0
  14. package/colDef/gridBooleanOperators.d.mts +2 -0
  15. package/colDef/gridBooleanOperators.mjs +12 -0
  16. package/colDef/gridCheckboxSelectionColDef.d.mts +3 -0
  17. package/colDef/gridCheckboxSelectionColDef.mjs +30 -0
  18. package/colDef/gridDateColDef.d.mts +5 -0
  19. package/colDef/gridDateColDef.mjs +67 -0
  20. package/colDef/gridDateOperators.d.mts +3 -0
  21. package/colDef/gridDateOperators.mjs +108 -0
  22. package/colDef/gridDefaultColumnTypes.d.mts +3 -0
  23. package/colDef/gridDefaultColumnTypes.mjs +22 -0
  24. package/colDef/gridLongTextColDef.d.mts +2 -0
  25. package/colDef/gridLongTextColDef.mjs +10 -0
  26. package/colDef/gridNumericColDef.d.mts +2 -0
  27. package/colDef/gridNumericColDef.mjs +15 -0
  28. package/colDef/gridNumericOperators.d.mts +7 -0
  29. package/colDef/gridNumericOperators.mjs +143 -0
  30. package/colDef/gridSingleSelectColDef.d.mts +2 -0
  31. package/colDef/gridSingleSelectColDef.mjs +61 -0
  32. package/colDef/gridSingleSelectOperators.d.mts +2 -0
  33. package/colDef/gridSingleSelectOperators.mjs +38 -0
  34. package/colDef/gridStringColDef.d.mts +5 -0
  35. package/colDef/gridStringColDef.mjs +28 -0
  36. package/colDef/gridStringOperators.d.mts +4 -0
  37. package/colDef/gridStringOperators.mjs +121 -0
  38. package/colDef/index.d.mts +14 -0
  39. package/colDef/index.mjs +14 -0
  40. package/components/GridColumnHeaders.d.mts +7 -0
  41. package/components/GridColumnHeaders.mjs +88 -0
  42. package/components/GridColumnSortButton.d.mts +16 -0
  43. package/components/GridColumnSortButton.mjs +105 -0
  44. package/components/GridColumnUnsortedIcon.d.mts +10 -0
  45. package/components/GridColumnUnsortedIcon.mjs +32 -0
  46. package/components/GridFooter.d.mts +5 -0
  47. package/components/GridFooter.mjs +42 -0
  48. package/components/GridHeader.mjs +11 -0
  49. package/components/GridHeaders.mjs +49 -0
  50. package/components/GridLoadingOverlay.d.mts +17 -0
  51. package/components/GridLoadingOverlay.mjs +70 -0
  52. package/components/GridNoColumnsOverlay.d.mts +5 -0
  53. package/components/GridNoColumnsOverlay.mjs +38 -0
  54. package/components/GridNoResultsOverlay.d.mts +4 -0
  55. package/components/GridNoResultsOverlay.mjs +16 -0
  56. package/components/GridNoRowsOverlay.d.mts +5 -0
  57. package/components/GridNoRowsOverlay.mjs +25 -0
  58. package/components/GridPagination.mjs +85 -0
  59. package/components/GridRow.d.mts +39 -0
  60. package/components/GridRow.mjs +355 -0
  61. package/components/GridRowCount.mjs +66 -0
  62. package/components/GridRowDragAndDropOverlay.d.mts +7 -0
  63. package/components/GridRowDragAndDropOverlay.mjs +66 -0
  64. package/components/GridScrollArea.d.mts +9 -0
  65. package/components/GridScrollArea.mjs +253 -0
  66. package/components/GridScrollShadows.mjs +122 -0
  67. package/components/GridScrollbarFillerCell.mjs +16 -0
  68. package/components/GridSelectedRowCount.mjs +69 -0
  69. package/components/GridSkeletonLoadingOverlay.d.mts +14 -0
  70. package/components/GridSkeletonLoadingOverlay.mjs +195 -0
  71. package/components/base/GridBody.d.mts +2 -0
  72. package/components/base/GridBody.mjs +2 -0
  73. package/components/base/GridFooterPlaceholder.mjs +10 -0
  74. package/components/base/GridOverlays.d.mts +11 -0
  75. package/components/base/GridOverlays.mjs +83 -0
  76. package/components/base/index.d.mts +2 -0
  77. package/components/base/index.mjs +2 -0
  78. package/components/cell/GridActionsCell.d.mts +41 -0
  79. package/components/cell/GridActionsCell.mjs +290 -0
  80. package/components/cell/GridActionsCellItem.d.mts +55 -0
  81. package/components/cell/GridActionsCellItem.mjs +59 -0
  82. package/components/cell/GridBooleanCell.d.mts +13 -0
  83. package/components/cell/GridBooleanCell.mjs +124 -0
  84. package/components/cell/GridCell.d.mts +77 -0
  85. package/components/cell/GridCell.mjs +344 -0
  86. package/components/cell/GridEditBooleanCell.d.mts +17 -0
  87. package/components/cell/GridEditBooleanCell.mjs +144 -0
  88. package/components/cell/GridEditDateCell.d.mts +21 -0
  89. package/components/cell/GridEditDateCell.mjs +199 -0
  90. package/components/cell/GridEditInputCell.d.mts +19 -0
  91. package/components/cell/GridEditInputCell.mjs +105 -0
  92. package/components/cell/GridEditLongTextCell.d.mts +41 -0
  93. package/components/cell/GridEditLongTextCell.mjs +240 -0
  94. package/components/cell/GridEditSingleSelectCell.d.mts +21 -0
  95. package/components/cell/GridEditSingleSelectCell.mjs +192 -0
  96. package/components/cell/GridFooterCell.d.mts +9 -0
  97. package/components/cell/GridFooterCell.mjs +48 -0
  98. package/components/cell/GridLongTextCell.d.mts +43 -0
  99. package/components/cell/GridLongTextCell.mjs +246 -0
  100. package/components/cell/GridSkeletonCell.d.mts +20 -0
  101. package/components/cell/GridSkeletonCell.mjs +105 -0
  102. package/components/cell/index.d.mts +12 -0
  103. package/components/cell/index.mjs +11 -0
  104. package/components/columnHeaders/ColumnHeaderMenuIcon.d.mts +10 -0
  105. package/components/columnHeaders/ColumnHeaderMenuIcon.mjs +66 -0
  106. package/components/columnHeaders/GridBaseColumnHeaders.mjs +47 -0
  107. package/components/columnHeaders/GridColumnGroupHeader.d.mts +21 -0
  108. package/components/columnHeaders/GridColumnGroupHeader.mjs +153 -0
  109. package/components/columnHeaders/GridColumnHeaderFilterIconButton.d.mts +12 -0
  110. package/components/columnHeaders/GridColumnHeaderFilterIconButton.mjs +109 -0
  111. package/components/columnHeaders/GridColumnHeaderItem.d.mts +33 -0
  112. package/components/columnHeaders/GridColumnHeaderItem.mjs +276 -0
  113. package/components/columnHeaders/GridColumnHeaderSeparator.mjs +73 -0
  114. package/components/columnHeaders/GridColumnHeaderSortIcon.d.mts +9 -0
  115. package/components/columnHeaders/GridColumnHeaderSortIcon.mjs +38 -0
  116. package/components/columnHeaders/GridColumnHeaderTitle.mjs +90 -0
  117. package/components/columnHeaders/GridGenericColumnHeaderItem.d.mts +32 -0
  118. package/components/columnHeaders/GridGenericColumnHeaderItem.mjs +82 -0
  119. package/components/columnHeaders/GridIconButtonContainer.mjs +45 -0
  120. package/components/columnHeaders/index.d.mts +5 -0
  121. package/components/columnHeaders/index.mjs +5 -0
  122. package/components/columnSelection/GridCellCheckboxRenderer.d.mts +5 -0
  123. package/components/columnSelection/GridCellCheckboxRenderer.mjs +174 -0
  124. package/components/columnSelection/GridHeaderCheckbox.d.mts +4 -0
  125. package/components/columnSelection/GridHeaderCheckbox.mjs +178 -0
  126. package/components/columnSelection/index.d.mts +2 -0
  127. package/components/columnSelection/index.mjs +2 -0
  128. package/components/columnsManagement/GridColumnsManagement.d.mts +50 -0
  129. package/components/columnsManagement/GridColumnsManagement.mjs +317 -0
  130. package/components/columnsManagement/index.d.mts +1 -0
  131. package/components/columnsManagement/index.mjs +1 -0
  132. package/components/columnsManagement/utils.d.mts +4 -0
  133. package/components/columnsPanel/ColumnsPanelTrigger.d.mts +33 -0
  134. package/components/columnsPanel/ColumnsPanelTrigger.mjs +102 -0
  135. package/components/columnsPanel/index.d.mts +1 -0
  136. package/components/columnsPanel/index.mjs +1 -0
  137. package/components/containers/GridFooterContainer.mjs +56 -0
  138. package/components/containers/GridOverlay.mjs +63 -0
  139. package/components/containers/GridRoot.mjs +88 -0
  140. package/components/containers/GridRootStyles.d.mts +7 -0
  141. package/components/containers/GridRootStyles.mjs +718 -0
  142. package/components/containers/GridToolbarContainer.mjs +69 -0
  143. package/components/containers/index.d.mts +4 -0
  144. package/components/containers/index.mjs +4 -0
  145. package/components/export/ExportCsv.d.mts +30 -0
  146. package/components/export/ExportCsv.mjs +83 -0
  147. package/components/export/ExportPrint.d.mts +30 -0
  148. package/components/export/ExportPrint.mjs +83 -0
  149. package/components/export/index.d.mts +2 -0
  150. package/components/export/index.mjs +2 -0
  151. package/components/filterPanel/FilterPanelTrigger.d.mts +37 -0
  152. package/components/filterPanel/FilterPanelTrigger.mjs +105 -0
  153. package/components/filterPanel/index.d.mts +1 -0
  154. package/components/filterPanel/index.mjs +1 -0
  155. package/components/index.d.mts +28 -0
  156. package/components/index.mjs +27 -0
  157. package/components/menu/GridMenu.d.mts +15 -0
  158. package/components/menu/GridMenu.mjs +110 -0
  159. package/components/menu/columnMenu/GridColumnHeaderMenu.d.mts +26 -0
  160. package/components/menu/columnMenu/GridColumnHeaderMenu.mjs +63 -0
  161. package/components/menu/columnMenu/GridColumnMenu.d.mts +23 -0
  162. package/components/menu/columnMenu/GridColumnMenu.mjs +114 -0
  163. package/components/menu/columnMenu/GridColumnMenuContainer.d.mts +4 -0
  164. package/components/menu/columnMenu/GridColumnMenuContainer.mjs +72 -0
  165. package/components/menu/columnMenu/GridColumnMenuItemProps.d.mts +7 -0
  166. package/components/menu/columnMenu/GridColumnMenuProps.d.mts +20 -0
  167. package/components/menu/columnMenu/index.d.mts +6 -0
  168. package/components/menu/columnMenu/index.mjs +8 -0
  169. package/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.d.mts +6 -0
  170. package/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.mjs +20 -0
  171. package/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.d.mts +6 -0
  172. package/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.mjs +36 -0
  173. package/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.d.mts +6 -0
  174. package/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.mjs +53 -0
  175. package/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.d.mts +6 -0
  176. package/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.mjs +36 -0
  177. package/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.d.mts +6 -0
  178. package/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.mjs +69 -0
  179. package/components/menu/columnMenu/menuItems/index.d.mts +5 -0
  180. package/components/menu/columnMenu/menuItems/index.mjs +5 -0
  181. package/components/menu/index.d.mts +2 -0
  182. package/components/menu/index.mjs +2 -0
  183. package/components/panel/GridColumnsPanel.d.mts +4 -0
  184. package/components/panel/GridColumnsPanel.mjs +11 -0
  185. package/components/panel/GridPanel.d.mts +21 -0
  186. package/components/panel/GridPanel.mjs +110 -0
  187. package/components/panel/GridPanelContent.mjs +53 -0
  188. package/components/panel/GridPanelFooter.mjs +50 -0
  189. package/components/panel/GridPanelHeader.mjs +47 -0
  190. package/components/panel/GridPanelWrapper.mjs +50 -0
  191. package/components/panel/GridPreferencesPanel.mjs +43 -0
  192. package/components/panel/filterPanel/GridFilterForm.d.mts +107 -0
  193. package/components/panel/filterPanel/GridFilterForm.mjs +474 -0
  194. package/components/panel/filterPanel/GridFilterInputBoolean.d.mts +9 -0
  195. package/components/panel/filterPanel/GridFilterInputBoolean.mjs +125 -0
  196. package/components/panel/filterPanel/GridFilterInputDate.d.mts +10 -0
  197. package/components/panel/filterPanel/GridFilterInputDate.mjs +137 -0
  198. package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.d.mts +11 -0
  199. package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.mjs +113 -0
  200. package/components/panel/filterPanel/GridFilterInputMultipleValue.d.mts +10 -0
  201. package/components/panel/filterPanel/GridFilterInputMultipleValue.mjs +103 -0
  202. package/components/panel/filterPanel/GridFilterInputSingleSelect.d.mts +10 -0
  203. package/components/panel/filterPanel/GridFilterInputSingleSelect.mjs +141 -0
  204. package/components/panel/filterPanel/GridFilterInputValue.d.mts +14 -0
  205. package/components/panel/filterPanel/GridFilterInputValue.mjs +123 -0
  206. package/components/panel/filterPanel/GridFilterPanel.d.mts +49 -0
  207. package/components/panel/filterPanel/GridFilterPanel.mjs +250 -0
  208. package/components/panel/filterPanel/filterPanelUtils.d.mts +5 -0
  209. package/components/panel/filterPanel/index.d.mts +10 -0
  210. package/components/panel/filterPanel/index.mjs +8 -0
  211. package/components/panel/index.d.mts +7 -0
  212. package/components/panel/index.mjs +7 -0
  213. package/components/quickFilter/QuickFilter.d.mts +64 -0
  214. package/components/quickFilter/QuickFilter.mjs +191 -0
  215. package/components/quickFilter/QuickFilterClear.d.mts +28 -0
  216. package/components/quickFilter/QuickFilterClear.mjs +77 -0
  217. package/components/quickFilter/QuickFilterControl.d.mts +28 -0
  218. package/components/quickFilter/QuickFilterControl.mjs +124 -0
  219. package/components/quickFilter/QuickFilterTrigger.d.mts +28 -0
  220. package/components/quickFilter/QuickFilterTrigger.mjs +80 -0
  221. package/components/quickFilter/index.d.mts +4 -0
  222. package/components/quickFilter/index.mjs +4 -0
  223. package/components/reexportable.d.mts +1 -0
  224. package/components/reexportable.mjs +1 -0
  225. package/components/toolbar/GridToolbar.d.mts +24 -0
  226. package/components/toolbar/GridToolbar.mjs +88 -0
  227. package/components/toolbar/GridToolbarColumnsButton.d.mts +17 -0
  228. package/components/toolbar/GridToolbarColumnsButton.mjs +85 -0
  229. package/components/toolbar/GridToolbarDensitySelector.d.mts +17 -0
  230. package/components/toolbar/GridToolbarDensitySelector.mjs +123 -0
  231. package/components/toolbar/GridToolbarExport.d.mts +42 -0
  232. package/components/toolbar/GridToolbarExport.mjs +131 -0
  233. package/components/toolbar/GridToolbarExportContainer.d.mts +16 -0
  234. package/components/toolbar/GridToolbarExportContainer.mjs +88 -0
  235. package/components/toolbar/GridToolbarFilterButton.d.mts +18 -0
  236. package/components/toolbar/GridToolbarFilterButton.mjs +149 -0
  237. package/components/toolbar/GridToolbarQuickFilter.d.mts +45 -0
  238. package/components/toolbar/GridToolbarQuickFilter.mjs +188 -0
  239. package/components/toolbar/index.d.mts +8 -0
  240. package/components/toolbar/index.mjs +7 -0
  241. package/components/toolbarV8/GridToolbar.d.mts +17 -0
  242. package/components/toolbarV8/GridToolbar.mjs +201 -0
  243. package/components/toolbarV8/Toolbar.mjs +208 -0
  244. package/components/toolbarV8/ToolbarButton.d.mts +23 -0
  245. package/components/toolbarV8/ToolbarButton.mjs +111 -0
  246. package/components/toolbarV8/index.d.mts +2 -0
  247. package/components/toolbarV8/index.mjs +2 -0
  248. package/components/virtualization/GridBottomContainer.mjs +28 -0
  249. package/components/virtualization/GridMainContainer.d.mts +19 -0
  250. package/components/virtualization/GridMainContainer.mjs +57 -0
  251. package/components/virtualization/GridTopContainer.mjs +28 -0
  252. package/components/virtualization/GridVirtualScrollbar.mjs +161 -0
  253. package/components/virtualization/GridVirtualScroller.mjs +156 -0
  254. package/components/virtualization/GridVirtualScrollerContent.mjs +46 -0
  255. package/components/virtualization/GridVirtualScrollerFiller.mjs +85 -0
  256. package/components/virtualization/GridVirtualScrollerRenderZone.mjs +41 -0
  257. package/constants/dataGridPropsDefaultValues.d.mts +5 -0
  258. package/constants/dataGridPropsDefaultValues.mjs +63 -0
  259. package/constants/defaultGridSlotsComponents.d.mts +2 -0
  260. package/constants/defaultGridSlotsComponents.mjs +38 -0
  261. package/constants/index.d.mts +4 -0
  262. package/constants/index.mjs +4 -0
  263. package/constants/localeTextConstants.d.mts +2 -0
  264. package/context/GridContextProvider.d.mts +17 -0
  265. package/context/GridContextProvider.mjs +35 -0
  266. package/context/index.d.mts +1 -0
  267. package/context/index.mjs +1 -0
  268. package/hooks/core/gridCoreSelector.d.mts +6 -0
  269. package/hooks/core/gridCoreSelector.mjs +6 -0
  270. package/hooks/core/gridPropsSelectors.d.mts +10 -0
  271. package/hooks/core/gridPropsSelectors.mjs +18 -0
  272. package/hooks/core/index.d.mts +2 -0
  273. package/hooks/core/index.mjs +1 -0
  274. package/hooks/core/pipeProcessing/gridPipeProcessingApi.d.mts +163 -0
  275. package/hooks/core/pipeProcessing/index.d.mts +4 -0
  276. package/hooks/core/pipeProcessing/index.mjs +4 -0
  277. package/hooks/core/pipeProcessing/useGridPipeProcessing.d.mts +32 -0
  278. package/hooks/core/pipeProcessing/useGridPipeProcessing.mjs +124 -0
  279. package/hooks/core/pipeProcessing/useGridRegisterPipeApplier.d.mts +4 -0
  280. package/hooks/core/pipeProcessing/useGridRegisterPipeApplier.mjs +28 -0
  281. package/hooks/core/pipeProcessing/useGridRegisterPipeProcessor.d.mts +4 -0
  282. package/hooks/core/pipeProcessing/useGridRegisterPipeProcessor.mjs +30 -0
  283. package/hooks/core/strategyProcessing/gridStrategyProcessingApi.d.mts +81 -0
  284. package/hooks/core/strategyProcessing/index.d.mts +3 -0
  285. package/hooks/core/strategyProcessing/index.mjs +3 -0
  286. package/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.d.mts +4 -0
  287. package/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.mjs +20 -0
  288. package/hooks/core/strategyProcessing/useGridStrategyProcessing.d.mts +43 -0
  289. package/hooks/core/strategyProcessing/useGridStrategyProcessing.mjs +112 -0
  290. package/hooks/core/useGridApiInitialization.d.mts +5 -0
  291. package/hooks/core/useGridApiInitialization.mjs +114 -0
  292. package/hooks/core/useGridInitialization.d.mts +7 -0
  293. package/hooks/core/useGridInitialization.mjs +25 -0
  294. package/hooks/core/useGridIsRtl.d.mts +3 -0
  295. package/hooks/core/useGridLocaleText.d.mts +4 -0
  296. package/hooks/core/useGridLoggerFactory.d.mts +4 -0
  297. package/hooks/core/useGridLoggerFactory.mjs +44 -0
  298. package/hooks/core/useGridProps.d.mts +6 -0
  299. package/hooks/core/useGridRefs.d.mts +3 -0
  300. package/hooks/core/useGridStateInitialization.d.mts +3 -0
  301. package/hooks/core/useGridStateInitialization.mjs +97 -0
  302. package/hooks/core/useGridVirtualizer.mjs +265 -0
  303. package/hooks/features/clipboard/useGridClipboard.d.mts +8 -0
  304. package/hooks/features/clipboard/useGridClipboard.mjs +97 -0
  305. package/hooks/features/columnGrouping/gridColumnGroupsInterfaces.d.mts +19 -0
  306. package/hooks/features/columnGrouping/gridColumnGroupsSelector.d.mts +20 -0
  307. package/hooks/features/columnGrouping/gridColumnGroupsSelector.mjs +10 -0
  308. package/hooks/features/columnGrouping/gridColumnGroupsUtils.d.mts +19 -0
  309. package/hooks/features/columnGrouping/gridColumnGroupsUtils.mjs +119 -0
  310. package/hooks/features/columnGrouping/index.d.mts +2 -0
  311. package/hooks/features/columnGrouping/index.mjs +2 -0
  312. package/hooks/features/columnGrouping/useGridColumnGrouping.d.mts +10 -0
  313. package/hooks/features/columnGrouping/useGridColumnGrouping.mjs +110 -0
  314. package/hooks/features/columnHeaders/useGridColumnHeaders.d.mts +65 -0
  315. package/hooks/features/columnHeaders/useGridColumnHeaders.mjs +316 -0
  316. package/hooks/features/columnMenu/columnMenuSelector.d.mts +2 -0
  317. package/hooks/features/columnMenu/columnMenuSelector.mjs +2 -0
  318. package/hooks/features/columnMenu/getColumnMenuItemKeys.d.mts +17 -0
  319. package/hooks/features/columnMenu/index.d.mts +2 -0
  320. package/hooks/features/columnMenu/index.mjs +2 -0
  321. package/hooks/features/columnMenu/useGridColumnMenu.d.mts +9 -0
  322. package/hooks/features/columnMenu/useGridColumnMenu.mjs +116 -0
  323. package/hooks/features/columnMenu/useGridColumnMenuSlots.d.mts +13 -0
  324. package/hooks/features/columnMenu/useGridColumnMenuSlots.mjs +54 -0
  325. package/hooks/features/columnResize/columnResizeSelector.d.mts +5 -0
  326. package/hooks/features/columnResize/columnResizeSelector.mjs +3 -0
  327. package/hooks/features/columnResize/gridColumnResizeApi.d.mts +57 -0
  328. package/hooks/features/columnResize/index.d.mts +3 -0
  329. package/hooks/features/columnResize/index.mjs +3 -0
  330. package/hooks/features/columnResize/useGridColumnResize.d.mts +10 -0
  331. package/hooks/features/columnResize/useGridColumnResize.mjs +616 -0
  332. package/hooks/features/columns/gridColumnsInterfaces.d.mts +42 -0
  333. package/hooks/features/columns/gridColumnsSelector.d.mts +114 -0
  334. package/hooks/features/columns/gridColumnsSelector.mjs +142 -0
  335. package/hooks/features/columns/gridColumnsUtils.d.mts +75 -0
  336. package/hooks/features/columns/gridColumnsUtils.mjs +345 -0
  337. package/hooks/features/columns/index.d.mts +2 -0
  338. package/hooks/features/columns/index.mjs +2 -0
  339. package/hooks/features/columns/useGridColumnSpanning.d.mts +7 -0
  340. package/hooks/features/columns/useGridColumnSpanning.mjs +27 -0
  341. package/hooks/features/columns/useGridColumns.d.mts +11 -0
  342. package/hooks/features/columns/useGridColumns.mjs +348 -0
  343. package/hooks/features/dataSource/cache.d.mts +29 -0
  344. package/hooks/features/dataSource/gridDataSourceError.d.mts +31 -0
  345. package/hooks/features/dataSource/gridDataSourceSelector.d.mts +10 -0
  346. package/hooks/features/dataSource/gridDataSourceSelector.mjs +12 -0
  347. package/hooks/features/dataSource/index.d.mts +2 -0
  348. package/hooks/features/dataSource/index.mjs +2 -0
  349. package/hooks/features/dataSource/models.d.mts +47 -0
  350. package/hooks/features/dataSource/useGridDataSource.d.mts +7 -0
  351. package/hooks/features/dataSource/useGridDataSource.mjs +26 -0
  352. package/hooks/features/dataSource/useGridDataSourceBase.d.mts +31 -0
  353. package/hooks/features/dataSource/useGridDataSourceBase.mjs +322 -0
  354. package/hooks/features/dataSource/utils.d.mts +24 -0
  355. package/hooks/features/density/densitySelector.d.mts +8 -0
  356. package/hooks/features/density/densitySelector.mjs +10 -0
  357. package/hooks/features/density/densityState.d.mts +2 -0
  358. package/hooks/features/density/index.d.mts +2 -0
  359. package/hooks/features/density/index.mjs +2 -0
  360. package/hooks/features/density/useGridDensity.d.mts +6 -0
  361. package/hooks/features/density/useGridDensity.mjs +66 -0
  362. package/hooks/features/dimensions/gridDimensionsSelectors.d.mts +42 -0
  363. package/hooks/features/dimensions/gridDimensionsSelectors.mjs +25 -0
  364. package/hooks/features/dimensions/index.d.mts +3 -0
  365. package/hooks/features/dimensions/index.mjs +1 -0
  366. package/hooks/features/dimensions/useGridDimensions.d.mts +10 -0
  367. package/hooks/features/dimensions/useGridDimensions.mjs +144 -0
  368. package/hooks/features/editing/gridEditingSelectors.d.mts +19 -0
  369. package/hooks/features/editing/gridEditingSelectors.mjs +15 -0
  370. package/hooks/features/editing/index.d.mts +1 -0
  371. package/hooks/features/editing/index.mjs +1 -0
  372. package/hooks/features/editing/useGridCellEditable.d.mts +5 -0
  373. package/hooks/features/editing/useGridCellEditable.mjs +9 -0
  374. package/hooks/features/editing/useGridCellEditing.d.mts +4 -0
  375. package/hooks/features/editing/useGridCellEditing.mjs +496 -0
  376. package/hooks/features/editing/useGridEditing.d.mts +7 -0
  377. package/hooks/features/editing/useGridEditing.mjs +125 -0
  378. package/hooks/features/editing/useGridRowEditing.d.mts +4 -0
  379. package/hooks/features/editing/useGridRowEditing.mjs +653 -0
  380. package/hooks/features/editing/utils.d.mts +2 -0
  381. package/hooks/features/events/useGridEvents.d.mts +8 -0
  382. package/hooks/features/events/useGridEvents.mjs +24 -0
  383. package/hooks/features/export/serializers/csvSerializer.d.mts +19 -0
  384. package/hooks/features/export/serializers/csvSerializer.mjs +141 -0
  385. package/hooks/features/export/useGridCsvExport.d.mts +11 -0
  386. package/hooks/features/export/useGridCsvExport.mjs +74 -0
  387. package/hooks/features/export/useGridPrintExport.d.mts +10 -0
  388. package/hooks/features/export/useGridPrintExport.mjs +256 -0
  389. package/hooks/features/export/utils.d.mts +20 -0
  390. package/hooks/features/export/utils.mjs +39 -0
  391. package/hooks/features/filter/gridFilterSelector.d.mts +153 -0
  392. package/hooks/features/filter/gridFilterSelector.mjs +207 -0
  393. package/hooks/features/filter/gridFilterState.d.mts +64 -0
  394. package/hooks/features/filter/gridFilterState.mjs +24 -0
  395. package/hooks/features/filter/gridFilterUtils.d.mts +23 -0
  396. package/hooks/features/filter/gridFilterUtils.mjs +324 -0
  397. package/hooks/features/filter/index.d.mts +4 -0
  398. package/hooks/features/filter/index.mjs +2 -0
  399. package/hooks/features/filter/useGridFilter.d.mts +12 -0
  400. package/hooks/features/filter/useGridFilter.mjs +370 -0
  401. package/hooks/features/focus/gridFocusState.d.mts +20 -0
  402. package/hooks/features/focus/gridFocusStateSelector.d.mts +28 -0
  403. package/hooks/features/focus/gridFocusStateSelector.mjs +11 -0
  404. package/hooks/features/focus/index.d.mts +2 -0
  405. package/hooks/features/focus/index.mjs +2 -0
  406. package/hooks/features/focus/useGridFocus.d.mts +11 -0
  407. package/hooks/features/focus/useGridFocus.mjs +447 -0
  408. package/hooks/features/headerFiltering/gridHeaderFilteringSelectors.d.mts +11 -0
  409. package/hooks/features/headerFiltering/gridHeaderFilteringSelectors.mjs +7 -0
  410. package/hooks/features/headerFiltering/index.d.mts +1 -0
  411. package/hooks/features/headerFiltering/index.mjs +1 -0
  412. package/hooks/features/headerFiltering/useGridHeaderFiltering.d.mts +6 -0
  413. package/hooks/features/headerFiltering/useGridHeaderFiltering.mjs +107 -0
  414. package/hooks/features/index.d.mts +20 -0
  415. package/hooks/features/index.mjs +21 -0
  416. package/hooks/features/keyboardNavigation/useGridKeyboardNavigation.d.mts +13 -0
  417. package/hooks/features/keyboardNavigation/useGridKeyboardNavigation.mjs +700 -0
  418. package/hooks/features/keyboardNavigation/utils.d.mts +26 -0
  419. package/hooks/features/keyboardNavigation/utils.mjs +53 -0
  420. package/hooks/features/listView/gridListViewSelectors.d.mts +14 -0
  421. package/hooks/features/listView/gridListViewSelectors.mjs +14 -0
  422. package/hooks/features/listView/index.d.mts +1 -0
  423. package/hooks/features/listView/index.mjs +1 -0
  424. package/hooks/features/listView/useGridListView.d.mts +10 -0
  425. package/hooks/features/listView/useGridListView.mjs +63 -0
  426. package/hooks/features/overlays/gridOverlaysInterfaces.d.mts +3 -0
  427. package/hooks/features/overlays/index.d.mts +1 -0
  428. package/hooks/features/overlays/useGridOverlays.d.mts +12 -0
  429. package/hooks/features/overlays/useGridOverlays.mjs +45 -0
  430. package/hooks/features/pagination/gridPaginationInterfaces.d.mts +58 -0
  431. package/hooks/features/pagination/gridPaginationSelector.d.mts +95 -0
  432. package/hooks/features/pagination/gridPaginationSelector.mjs +156 -0
  433. package/hooks/features/pagination/gridPaginationUtils.d.mts +9 -0
  434. package/hooks/features/pagination/gridPaginationUtils.mjs +28 -0
  435. package/hooks/features/pagination/index.d.mts +2 -0
  436. package/hooks/features/pagination/index.mjs +2 -0
  437. package/hooks/features/pagination/useGridPagination.d.mts +10 -0
  438. package/hooks/features/pagination/useGridPagination.mjs +30 -0
  439. package/hooks/features/pagination/useGridPaginationMeta.d.mts +4 -0
  440. package/hooks/features/pagination/useGridPaginationMeta.mjs +79 -0
  441. package/hooks/features/pagination/useGridPaginationModel.d.mts +11 -0
  442. package/hooks/features/pagination/useGridPaginationModel.mjs +239 -0
  443. package/hooks/features/pagination/useGridRowCount.d.mts +4 -0
  444. package/hooks/features/pagination/useGridRowCount.mjs +126 -0
  445. package/hooks/features/pivoting/gridPivotingInterfaces.d.mts +10 -0
  446. package/hooks/features/pivoting/gridPivotingSelectors.d.mts +8 -0
  447. package/hooks/features/pivoting/gridPivotingSelectors.mjs +7 -0
  448. package/hooks/features/pivoting/index.d.mts +2 -0
  449. package/hooks/features/pivoting/index.mjs +2 -0
  450. package/hooks/features/preferencesPanel/gridPreferencePanelSelector.d.mts +5 -0
  451. package/hooks/features/preferencesPanel/gridPreferencePanelSelector.mjs +8 -0
  452. package/hooks/features/preferencesPanel/gridPreferencePanelState.d.mts +13 -0
  453. package/hooks/features/preferencesPanel/index.d.mts +3 -0
  454. package/hooks/features/preferencesPanel/index.mjs +3 -0
  455. package/hooks/features/preferencesPanel/useGridPreferencesPanel.d.mts +9 -0
  456. package/hooks/features/preferencesPanel/useGridPreferencesPanel.mjs +88 -0
  457. package/hooks/features/rowReorder/gridRowReorderInterfaces.d.mts +28 -0
  458. package/hooks/features/rowReorder/gridRowReorderSelector.d.mts +24 -0
  459. package/hooks/features/rowReorder/gridRowReorderSelector.mjs +21 -0
  460. package/hooks/features/rowSelection/gridRowSelectionSelector.d.mts +12 -0
  461. package/hooks/features/rowSelection/gridRowSelectionSelector.mjs +29 -0
  462. package/hooks/features/rowSelection/index.d.mts +1 -0
  463. package/hooks/features/rowSelection/index.mjs +1 -0
  464. package/hooks/features/rowSelection/useGridRowSelection.d.mts +12 -0
  465. package/hooks/features/rowSelection/useGridRowSelection.mjs +616 -0
  466. package/hooks/features/rowSelection/useGridRowSelectionPreProcessors.d.mts +4 -0
  467. package/hooks/features/rowSelection/useGridRowSelectionPreProcessors.mjs +48 -0
  468. package/hooks/features/rowSelection/utils.d.mts +20 -0
  469. package/hooks/features/rowSelection/utils.mjs +211 -0
  470. package/hooks/features/rows/gridRowSpanningUtils.d.mts +10 -0
  471. package/hooks/features/rows/gridRowSpanningUtils.mjs +45 -0
  472. package/hooks/features/rows/gridRowsInterfaces.d.mts +98 -0
  473. package/hooks/features/rows/gridRowsMetaInterfaces.d.mts +10 -0
  474. package/hooks/features/rows/gridRowsMetaSelector.d.mts +2 -0
  475. package/hooks/features/rows/gridRowsMetaSelector.mjs +2 -0
  476. package/hooks/features/rows/gridRowsSelector.d.mts +80 -0
  477. package/hooks/features/rows/gridRowsSelector.mjs +70 -0
  478. package/hooks/features/rows/gridRowsUtils.d.mts +61 -0
  479. package/hooks/features/rows/gridRowsUtils.mjs +307 -0
  480. package/hooks/features/rows/index.d.mts +5 -0
  481. package/hooks/features/rows/index.mjs +4 -0
  482. package/hooks/features/rows/useGridParamsApi.d.mts +14 -0
  483. package/hooks/features/rows/useGridParamsApi.mjs +117 -0
  484. package/hooks/features/rows/useGridParamsOverridableMethods.d.mts +7 -0
  485. package/hooks/features/rows/useGridParamsOverridableMethods.mjs +28 -0
  486. package/hooks/features/rows/useGridRowAriaAttributes.d.mts +2 -0
  487. package/hooks/features/rows/useGridRowAriaAttributes.mjs +19 -0
  488. package/hooks/features/rows/useGridRowSpanning.d.mts +17 -0
  489. package/hooks/features/rows/useGridRowSpanning.mjs +208 -0
  490. package/hooks/features/rows/useGridRows.d.mts +7 -0
  491. package/hooks/features/rows/useGridRows.mjs +482 -0
  492. package/hooks/features/rows/useGridRowsMeta.d.mts +10 -0
  493. package/hooks/features/rows/useGridRowsMeta.mjs +60 -0
  494. package/hooks/features/rows/useGridRowsOverridableMethods.d.mts +7 -0
  495. package/hooks/features/rows/useGridRowsOverridableMethods.mjs +93 -0
  496. package/hooks/features/rows/useGridRowsPreProcessors.d.mts +3 -0
  497. package/hooks/features/rows/useGridRowsPreProcessors.mjs +81 -0
  498. package/hooks/features/scroll/useGridScroll.d.mts +12 -0
  499. package/hooks/features/scroll/useGridScroll.mjs +132 -0
  500. package/hooks/features/sorting/gridSortingSelector.d.mts +42 -0
  501. package/hooks/features/sorting/gridSortingSelector.mjs +70 -0
  502. package/hooks/features/sorting/gridSortingState.d.mts +14 -0
  503. package/hooks/features/sorting/gridSortingUtils.d.mts +18 -0
  504. package/hooks/features/sorting/gridSortingUtils.mjs +140 -0
  505. package/hooks/features/sorting/index.d.mts +4 -0
  506. package/hooks/features/sorting/index.mjs +2 -0
  507. package/hooks/features/sorting/useGridSorting.d.mts +10 -0
  508. package/hooks/features/sorting/useGridSorting.mjs +252 -0
  509. package/hooks/features/statePersistence/gridStatePersistenceInterface.d.mts +40 -0
  510. package/hooks/features/statePersistence/index.d.mts +1 -0
  511. package/hooks/features/statePersistence/useGridStatePersistence.d.mts +3 -0
  512. package/hooks/features/statePersistence/useGridStatePersistence.mjs +23 -0
  513. package/hooks/features/virtualization/gridFocusedVirtualCellSelector.d.mts +8 -0
  514. package/hooks/features/virtualization/gridFocusedVirtualCellSelector.mjs +32 -0
  515. package/hooks/features/virtualization/gridVirtualizationSelectors.d.mts +46 -0
  516. package/hooks/features/virtualization/gridVirtualizationSelectors.mjs +45 -0
  517. package/hooks/features/virtualization/index.d.mts +3 -0
  518. package/hooks/features/virtualization/index.mjs +3 -0
  519. package/hooks/features/virtualization/useGridVirtualization.d.mts +10 -0
  520. package/hooks/features/virtualization/useGridVirtualization.mjs +101 -0
  521. package/hooks/index.d.mts +3 -0
  522. package/hooks/index.mjs +3 -0
  523. package/hooks/utils/index.d.mts +10 -0
  524. package/hooks/utils/index.mjs +9 -0
  525. package/hooks/utils/useGridApiContext.d.mts +4 -0
  526. package/hooks/utils/useGridApiContext.mjs +11 -0
  527. package/hooks/utils/useGridApiMethod.d.mts +7 -0
  528. package/hooks/utils/useGridApiRef.d.mts +6 -0
  529. package/hooks/utils/useGridAriaAttributes.mjs +28 -0
  530. package/hooks/utils/useGridConfiguration.d.mts +4 -0
  531. package/hooks/utils/useGridConfiguration.mjs +11 -0
  532. package/hooks/utils/useGridEvent.d.mts +12 -0
  533. package/hooks/utils/useGridEvent.mjs +94 -0
  534. package/hooks/utils/useGridInitializeState.d.mts +8 -0
  535. package/hooks/utils/useGridLogger.d.mts +4 -0
  536. package/hooks/utils/useGridNativeEventListener.d.mts +3 -0
  537. package/hooks/utils/useGridNativeEventListener.mjs +17 -0
  538. package/hooks/utils/useGridPrivateApiContext.d.mts +6 -0
  539. package/hooks/utils/useGridRootProps.d.mts +2 -0
  540. package/hooks/utils/useGridRootProps.mjs +11 -0
  541. package/hooks/utils/useGridSelector.d.mts +6 -0
  542. package/hooks/utils/useGridSelector.mjs +84 -0
  543. package/hooks/utils/useGridVisibleRows.d.mts +26 -0
  544. package/hooks/utils/useGridVisibleRows.mjs +17 -0
  545. package/index.d.mts +39 -0
  546. package/index.js +1 -1
  547. package/index.mjs +39 -0
  548. package/internals/demo/index.d.mts +1 -0
  549. package/internals/demo/index.mjs +1 -0
  550. package/internals/index.d.mts +128 -0
  551. package/internals/index.mjs +99 -0
  552. package/internals/utils/attachPinnedStyle.d.mts +2 -0
  553. package/internals/utils/attachPinnedStyle.mjs +9 -0
  554. package/internals/utils/cache.d.mts +9 -0
  555. package/internals/utils/cache.mjs +18 -0
  556. package/internals/utils/getPinnedCellOffset.d.mts +3 -0
  557. package/internals/utils/getPinnedCellOffset.mjs +21 -0
  558. package/internals/utils/gridRowGroupingUtils.mjs +9 -0
  559. package/internals/utils/index.d.mts +5 -0
  560. package/internals/utils/index.mjs +5 -0
  561. package/internals/utils/propValidation.d.mts +4 -0
  562. package/internals/utils/propValidation.mjs +12 -0
  563. package/locales/arSD.d.mts +2 -0
  564. package/locales/arSD.mjs +309 -0
  565. package/locales/beBY.d.mts +2 -0
  566. package/locales/beBY.mjs +333 -0
  567. package/locales/bgBG.d.mts +2 -0
  568. package/locales/bgBG.mjs +310 -0
  569. package/locales/bnBD.d.mts +2 -0
  570. package/locales/bnBD.mjs +308 -0
  571. package/locales/caES.d.mts +2 -0
  572. package/locales/caES.mjs +297 -0
  573. package/locales/csCZ.d.mts +2 -0
  574. package/locales/csCZ.mjs +336 -0
  575. package/locales/daDK.d.mts +2 -0
  576. package/locales/daDK.mjs +309 -0
  577. package/locales/deDE.d.mts +2 -0
  578. package/locales/deDE.mjs +300 -0
  579. package/locales/elGR.d.mts +2 -0
  580. package/locales/elGR.mjs +311 -0
  581. package/locales/enUS.d.mts +2 -0
  582. package/locales/enUS.mjs +3 -0
  583. package/locales/esES.d.mts +2 -0
  584. package/locales/esES.mjs +297 -0
  585. package/locales/faIR.d.mts +2 -0
  586. package/locales/faIR.mjs +309 -0
  587. package/locales/fiFI.d.mts +2 -0
  588. package/locales/fiFI.mjs +310 -0
  589. package/locales/frFR.d.mts +2 -0
  590. package/locales/frFR.mjs +306 -0
  591. package/locales/heIL.d.mts +2 -0
  592. package/locales/heIL.mjs +308 -0
  593. package/locales/hrHR.d.mts +1 -0
  594. package/locales/hrHR.mjs +328 -0
  595. package/locales/huHU.d.mts +2 -0
  596. package/locales/huHU.mjs +308 -0
  597. package/locales/hyAM.d.mts +2 -0
  598. package/locales/hyAM.mjs +334 -0
  599. package/locales/idID.d.mts +4 -0
  600. package/locales/idID.mjs +300 -0
  601. package/locales/index.d.mts +40 -0
  602. package/locales/index.mjs +41 -0
  603. package/locales/isIS.d.mts +2 -0
  604. package/locales/isIS.mjs +310 -0
  605. package/locales/itIT.d.mts +2 -0
  606. package/locales/itIT.mjs +298 -0
  607. package/locales/jaJP.d.mts +2 -0
  608. package/locales/jaJP.mjs +305 -0
  609. package/locales/koKR.d.mts +2 -0
  610. package/locales/koKR.mjs +300 -0
  611. package/locales/nbNO.d.mts +2 -0
  612. package/locales/nbNO.mjs +308 -0
  613. package/locales/nlNL.d.mts +2 -0
  614. package/locales/nlNL.mjs +309 -0
  615. package/locales/nnNO.d.mts +2 -0
  616. package/locales/nnNO.mjs +300 -0
  617. package/locales/plPL.d.mts +2 -0
  618. package/locales/plPL.mjs +305 -0
  619. package/locales/ptBR.d.mts +2 -0
  620. package/locales/ptBR.mjs +297 -0
  621. package/locales/ptPT.d.mts +2 -0
  622. package/locales/ptPT.mjs +297 -0
  623. package/locales/roRO.d.mts +2 -0
  624. package/locales/roRO.mjs +308 -0
  625. package/locales/ruRU.d.mts +2 -0
  626. package/locales/ruRU.mjs +330 -0
  627. package/locales/skSK.d.mts +2 -0
  628. package/locales/skSK.mjs +336 -0
  629. package/locales/svSE.d.mts +2 -0
  630. package/locales/svSE.mjs +310 -0
  631. package/locales/trTR.d.mts +2 -0
  632. package/locales/trTR.mjs +308 -0
  633. package/locales/ukUA.d.mts +2 -0
  634. package/locales/ukUA.mjs +331 -0
  635. package/locales/urPK.d.mts +2 -0
  636. package/locales/urPK.mjs +310 -0
  637. package/locales/viVN.d.mts +2 -0
  638. package/locales/viVN.mjs +310 -0
  639. package/locales/zhCN.d.mts +2 -0
  640. package/locales/zhCN.mjs +306 -0
  641. package/locales/zhHK.d.mts +1 -0
  642. package/locales/zhHK.mjs +306 -0
  643. package/locales/zhTW.d.mts +2 -0
  644. package/locales/zhTW.mjs +306 -0
  645. package/material/icons/createSvgIcon.d.mts +2 -0
  646. package/material/icons/index.mjs +103 -0
  647. package/material/index.d.mts +6 -0
  648. package/material/index.js +1 -1
  649. package/material/index.mjs +851 -0
  650. package/material/variables.d.mts +5 -0
  651. package/material/variables.mjs +131 -0
  652. package/models/api/gridApiCommon.d.mts +38 -0
  653. package/models/api/gridApiCommunity.d.mts +12 -0
  654. package/models/api/gridCallbackDetails.d.mts +15 -0
  655. package/models/api/gridColumnApi.d.mts +74 -0
  656. package/models/api/gridColumnGroupingApi.d.mts +19 -0
  657. package/models/api/gridColumnSpanning.d.mts +28 -0
  658. package/models/api/gridCoreApi.d.mts +96 -0
  659. package/models/api/gridCsvExportApi.d.mts +18 -0
  660. package/models/api/gridDensityApi.d.mts +17 -0
  661. package/models/api/gridEditingApi.d.mts +237 -0
  662. package/models/api/gridFilterApi.d.mts +67 -0
  663. package/models/api/gridFocusApi.d.mts +46 -0
  664. package/models/api/gridHeaderFilteringApi.d.mts +30 -0
  665. package/models/api/gridLocaleTextApi.d.mts +247 -0
  666. package/models/api/gridLoggerApi.d.mts +11 -0
  667. package/models/api/gridParamsApi.d.mts +111 -0
  668. package/models/api/gridPreferencesPanelApi.d.mts +17 -0
  669. package/models/api/gridPrintExportApi.d.mts +11 -0
  670. package/models/api/gridRowApi.d.mts +147 -0
  671. package/models/api/gridRowSelectionApi.d.mts +92 -0
  672. package/models/api/gridRowsMetaApi.d.mts +60 -0
  673. package/models/api/gridScrollApi.d.mts +24 -0
  674. package/models/api/gridSortApi.d.mts +46 -0
  675. package/models/api/gridStateApi.d.mts +33 -0
  676. package/models/api/index.d.mts +23 -0
  677. package/models/api/index.mjs +12 -0
  678. package/models/colDef/gridColDef.d.mts +333 -0
  679. package/models/colDef/gridColumnTypesRecord.d.mts +3 -0
  680. package/models/colDef/index.d.mts +3 -0
  681. package/models/colDef/index.mjs +6 -0
  682. package/models/configuration/gridAggregationConfiguration.d.mts +19 -0
  683. package/models/configuration/gridCellEditableConfiguration.d.mts +19 -0
  684. package/models/configuration/gridConfiguration.d.mts +21 -0
  685. package/models/configuration/gridParamsConfiguration.d.mts +12 -0
  686. package/models/configuration/gridRowConfiguration.d.mts +23 -0
  687. package/models/controlStateItem.d.mts +14 -0
  688. package/models/events/gridEventListener.d.mts +8 -0
  689. package/models/events/gridEventLookup.d.mts +683 -0
  690. package/models/events/gridEventPublisher.d.mts +29 -0
  691. package/models/events/index.d.mts +3 -0
  692. package/models/events/index.mjs +3 -0
  693. package/models/gridApiCaches.d.mts +12 -0
  694. package/models/gridCell.d.mts +30 -0
  695. package/models/gridCellClass.d.mts +12 -0
  696. package/models/gridColumnGrouping.d.mts +43 -0
  697. package/models/gridColumnHeaderClass.d.mts +11 -0
  698. package/models/gridDataSource.d.mts +83 -0
  699. package/models/gridEditRowModel.d.mts +28 -0
  700. package/models/gridExport.d.mts +157 -0
  701. package/models/gridFilterInputComponent.d.mts +32 -0
  702. package/models/gridFilterItem.d.mts +32 -0
  703. package/models/gridFilterModel.d.mts +34 -0
  704. package/models/gridFilterOperator.d.mts +58 -0
  705. package/models/gridHeaderFilteringModel.d.mts +6 -0
  706. package/models/gridIconSlotsComponent.d.mts +213 -0
  707. package/models/gridRowSelectionManager.d.mts +9 -0
  708. package/models/gridRowSelectionModel.d.mts +9 -0
  709. package/models/gridRows.d.mts +180 -0
  710. package/models/gridSlotsComponent.d.mts +235 -0
  711. package/models/gridSlotsComponentsProps.d.mts +133 -0
  712. package/models/gridSortModel.d.mts +35 -0
  713. package/models/gridStateCommunity.d.mts +61 -0
  714. package/models/index.d.mts +31 -0
  715. package/models/index.mjs +29 -0
  716. package/models/params/gridCellParams.d.mts +103 -0
  717. package/models/params/gridColumnGroupHeaderParams.d.mts +30 -0
  718. package/models/params/gridColumnHeaderParams.d.mts +15 -0
  719. package/models/params/gridColumnOrderChangeParams.d.mts +18 -0
  720. package/models/params/gridColumnResizeParams.d.mts +18 -0
  721. package/models/params/gridEditCellParams.d.mts +65 -0
  722. package/models/params/gridPreferencePanelParams.d.mts +2 -0
  723. package/models/params/gridRowParams.d.mts +109 -0
  724. package/models/params/gridRowSelectionCheckboxParams.d.mts +5 -0
  725. package/models/params/gridValueOptionsParams.d.mts +18 -0
  726. package/models/params/index.d.mts +13 -0
  727. package/models/params/index.mjs +13 -0
  728. package/models/props/DataGridProps.d.mts +906 -0
  729. package/package.json +189 -14
  730. package/themeAugmentation/index.d.mts +2 -0
  731. package/themeAugmentation/index.mjs +4 -0
  732. package/themeAugmentation/overrides.d.mts +18 -0
  733. package/themeAugmentation/props.d.mts +15 -0
  734. package/utils/cellBorderUtils.d.mts +4 -0
  735. package/utils/cellBorderUtils.mjs +24 -0
  736. package/utils/cleanupTracking/FinalizationRegistryBasedCleanupTracking.d.mts +7 -0
  737. package/utils/cleanupTracking/TimerBasedCleanupTracking.d.mts +9 -0
  738. package/utils/composeGridClasses.d.mts +3 -0
  739. package/utils/composeGridClasses.mjs +5 -0
  740. package/utils/css/context.mjs +60 -0
  741. package/utils/domUtils.d.mts +30 -0
  742. package/utils/domUtils.mjs +208 -0
  743. package/utils/exportAs.d.mts +12 -0
  744. package/utils/getGridLocalization.d.mts +11 -0
  745. package/utils/getPublicApiRef.d.mts +3 -0
  746. package/utils/index.d.mts +2 -0
  747. package/utils/index.mjs +1 -0
  748. package/utils/rtlFlipSide.d.mts +2 -0
  749. package/utils/rtlFlipSide.mjs +22 -0
  750. package/esm/DataGrid/DataGrid.d.ts +0 -16
  751. package/esm/DataGrid/DataGrid.js +0 -821
  752. package/esm/DataGrid/index.d.ts +0 -1
  753. package/esm/DataGrid/index.js +0 -1
  754. package/esm/DataGrid/useDataGridComponent.d.ts +0 -5
  755. package/esm/DataGrid/useDataGridComponent.js +0 -104
  756. package/esm/DataGrid/useDataGridProps.d.ts +0 -3
  757. package/esm/DataGrid/useDataGridProps.js +0 -50
  758. package/esm/colDef/gridActionsColDef.d.ts +0 -3
  759. package/esm/colDef/gridActionsColDef.js +0 -20
  760. package/esm/colDef/gridBooleanColDef.d.ts +0 -2
  761. package/esm/colDef/gridBooleanColDef.js +0 -41
  762. package/esm/colDef/gridBooleanOperators.d.ts +0 -2
  763. package/esm/colDef/gridBooleanOperators.js +0 -12
  764. package/esm/colDef/gridCheckboxSelectionColDef.d.ts +0 -3
  765. package/esm/colDef/gridCheckboxSelectionColDef.js +0 -30
  766. package/esm/colDef/gridDateColDef.d.ts +0 -5
  767. package/esm/colDef/gridDateColDef.js +0 -67
  768. package/esm/colDef/gridDateOperators.d.ts +0 -3
  769. package/esm/colDef/gridDateOperators.js +0 -108
  770. package/esm/colDef/gridDefaultColumnTypes.d.ts +0 -3
  771. package/esm/colDef/gridDefaultColumnTypes.js +0 -22
  772. package/esm/colDef/gridLongTextColDef.d.ts +0 -2
  773. package/esm/colDef/gridLongTextColDef.js +0 -10
  774. package/esm/colDef/gridNumericColDef.d.ts +0 -2
  775. package/esm/colDef/gridNumericColDef.js +0 -15
  776. package/esm/colDef/gridNumericOperators.d.ts +0 -7
  777. package/esm/colDef/gridNumericOperators.js +0 -143
  778. package/esm/colDef/gridSingleSelectColDef.d.ts +0 -2
  779. package/esm/colDef/gridSingleSelectColDef.js +0 -61
  780. package/esm/colDef/gridSingleSelectOperators.d.ts +0 -2
  781. package/esm/colDef/gridSingleSelectOperators.js +0 -38
  782. package/esm/colDef/gridStringColDef.d.ts +0 -5
  783. package/esm/colDef/gridStringColDef.js +0 -28
  784. package/esm/colDef/gridStringOperators.d.ts +0 -4
  785. package/esm/colDef/gridStringOperators.js +0 -121
  786. package/esm/colDef/index.d.ts +0 -14
  787. package/esm/colDef/index.js +0 -14
  788. package/esm/components/GridColumnHeaders.d.ts +0 -7
  789. package/esm/components/GridColumnHeaders.js +0 -88
  790. package/esm/components/GridColumnSortButton.d.ts +0 -16
  791. package/esm/components/GridColumnSortButton.js +0 -105
  792. package/esm/components/GridColumnUnsortedIcon.d.ts +0 -10
  793. package/esm/components/GridColumnUnsortedIcon.js +0 -32
  794. package/esm/components/GridFooter.d.ts +0 -5
  795. package/esm/components/GridFooter.js +0 -42
  796. package/esm/components/GridHeader.js +0 -11
  797. package/esm/components/GridHeaders.js +0 -49
  798. package/esm/components/GridLoadingOverlay.d.ts +0 -17
  799. package/esm/components/GridLoadingOverlay.js +0 -70
  800. package/esm/components/GridNoColumnsOverlay.d.ts +0 -5
  801. package/esm/components/GridNoColumnsOverlay.js +0 -38
  802. package/esm/components/GridNoResultsOverlay.d.ts +0 -4
  803. package/esm/components/GridNoResultsOverlay.js +0 -16
  804. package/esm/components/GridNoRowsOverlay.d.ts +0 -5
  805. package/esm/components/GridNoRowsOverlay.js +0 -25
  806. package/esm/components/GridPagination.js +0 -85
  807. package/esm/components/GridRow.d.ts +0 -39
  808. package/esm/components/GridRow.js +0 -355
  809. package/esm/components/GridRowCount.js +0 -66
  810. package/esm/components/GridRowDragAndDropOverlay.d.ts +0 -7
  811. package/esm/components/GridRowDragAndDropOverlay.js +0 -66
  812. package/esm/components/GridScrollArea.d.ts +0 -9
  813. package/esm/components/GridScrollArea.js +0 -253
  814. package/esm/components/GridScrollShadows.js +0 -122
  815. package/esm/components/GridScrollbarFillerCell.js +0 -16
  816. package/esm/components/GridSelectedRowCount.js +0 -69
  817. package/esm/components/GridSkeletonLoadingOverlay.d.ts +0 -14
  818. package/esm/components/GridSkeletonLoadingOverlay.js +0 -195
  819. package/esm/components/base/GridBody.d.ts +0 -2
  820. package/esm/components/base/GridBody.js +0 -2
  821. package/esm/components/base/GridFooterPlaceholder.js +0 -10
  822. package/esm/components/base/GridOverlays.d.ts +0 -11
  823. package/esm/components/base/GridOverlays.js +0 -83
  824. package/esm/components/base/index.d.ts +0 -2
  825. package/esm/components/base/index.js +0 -2
  826. package/esm/components/cell/GridActionsCell.d.ts +0 -41
  827. package/esm/components/cell/GridActionsCell.js +0 -290
  828. package/esm/components/cell/GridActionsCellItem.d.ts +0 -55
  829. package/esm/components/cell/GridActionsCellItem.js +0 -59
  830. package/esm/components/cell/GridBooleanCell.d.ts +0 -13
  831. package/esm/components/cell/GridBooleanCell.js +0 -124
  832. package/esm/components/cell/GridCell.d.ts +0 -77
  833. package/esm/components/cell/GridCell.js +0 -344
  834. package/esm/components/cell/GridEditBooleanCell.d.ts +0 -17
  835. package/esm/components/cell/GridEditBooleanCell.js +0 -144
  836. package/esm/components/cell/GridEditDateCell.d.ts +0 -21
  837. package/esm/components/cell/GridEditDateCell.js +0 -199
  838. package/esm/components/cell/GridEditInputCell.d.ts +0 -19
  839. package/esm/components/cell/GridEditInputCell.js +0 -105
  840. package/esm/components/cell/GridEditLongTextCell.d.ts +0 -41
  841. package/esm/components/cell/GridEditLongTextCell.js +0 -240
  842. package/esm/components/cell/GridEditSingleSelectCell.d.ts +0 -21
  843. package/esm/components/cell/GridEditSingleSelectCell.js +0 -192
  844. package/esm/components/cell/GridFooterCell.d.ts +0 -9
  845. package/esm/components/cell/GridFooterCell.js +0 -48
  846. package/esm/components/cell/GridLongTextCell.d.ts +0 -43
  847. package/esm/components/cell/GridLongTextCell.js +0 -246
  848. package/esm/components/cell/GridSkeletonCell.d.ts +0 -20
  849. package/esm/components/cell/GridSkeletonCell.js +0 -105
  850. package/esm/components/cell/index.d.ts +0 -12
  851. package/esm/components/cell/index.js +0 -11
  852. package/esm/components/columnHeaders/ColumnHeaderMenuIcon.d.ts +0 -10
  853. package/esm/components/columnHeaders/ColumnHeaderMenuIcon.js +0 -66
  854. package/esm/components/columnHeaders/GridBaseColumnHeaders.js +0 -47
  855. package/esm/components/columnHeaders/GridColumnGroupHeader.d.ts +0 -21
  856. package/esm/components/columnHeaders/GridColumnGroupHeader.js +0 -153
  857. package/esm/components/columnHeaders/GridColumnHeaderFilterIconButton.d.ts +0 -12
  858. package/esm/components/columnHeaders/GridColumnHeaderFilterIconButton.js +0 -109
  859. package/esm/components/columnHeaders/GridColumnHeaderItem.d.ts +0 -33
  860. package/esm/components/columnHeaders/GridColumnHeaderItem.js +0 -276
  861. package/esm/components/columnHeaders/GridColumnHeaderSeparator.js +0 -73
  862. package/esm/components/columnHeaders/GridColumnHeaderSortIcon.d.ts +0 -9
  863. package/esm/components/columnHeaders/GridColumnHeaderSortIcon.js +0 -38
  864. package/esm/components/columnHeaders/GridColumnHeaderTitle.js +0 -90
  865. package/esm/components/columnHeaders/GridGenericColumnHeaderItem.d.ts +0 -32
  866. package/esm/components/columnHeaders/GridGenericColumnHeaderItem.js +0 -82
  867. package/esm/components/columnHeaders/GridIconButtonContainer.js +0 -45
  868. package/esm/components/columnHeaders/index.d.ts +0 -5
  869. package/esm/components/columnHeaders/index.js +0 -5
  870. package/esm/components/columnSelection/GridCellCheckboxRenderer.d.ts +0 -5
  871. package/esm/components/columnSelection/GridCellCheckboxRenderer.js +0 -174
  872. package/esm/components/columnSelection/GridHeaderCheckbox.d.ts +0 -4
  873. package/esm/components/columnSelection/GridHeaderCheckbox.js +0 -178
  874. package/esm/components/columnSelection/index.d.ts +0 -2
  875. package/esm/components/columnSelection/index.js +0 -2
  876. package/esm/components/columnsManagement/GridColumnsManagement.d.ts +0 -50
  877. package/esm/components/columnsManagement/GridColumnsManagement.js +0 -317
  878. package/esm/components/columnsManagement/index.d.ts +0 -1
  879. package/esm/components/columnsManagement/index.js +0 -1
  880. package/esm/components/columnsManagement/utils.d.ts +0 -4
  881. package/esm/components/columnsPanel/ColumnsPanelTrigger.d.ts +0 -33
  882. package/esm/components/columnsPanel/ColumnsPanelTrigger.js +0 -102
  883. package/esm/components/columnsPanel/index.d.ts +0 -1
  884. package/esm/components/columnsPanel/index.js +0 -1
  885. package/esm/components/containers/GridFooterContainer.js +0 -56
  886. package/esm/components/containers/GridOverlay.js +0 -63
  887. package/esm/components/containers/GridRoot.js +0 -88
  888. package/esm/components/containers/GridRootStyles.d.ts +0 -7
  889. package/esm/components/containers/GridRootStyles.js +0 -718
  890. package/esm/components/containers/GridToolbarContainer.js +0 -69
  891. package/esm/components/containers/index.d.ts +0 -4
  892. package/esm/components/containers/index.js +0 -4
  893. package/esm/components/export/ExportCsv.d.ts +0 -30
  894. package/esm/components/export/ExportCsv.js +0 -83
  895. package/esm/components/export/ExportPrint.d.ts +0 -30
  896. package/esm/components/export/ExportPrint.js +0 -83
  897. package/esm/components/export/index.d.ts +0 -2
  898. package/esm/components/export/index.js +0 -2
  899. package/esm/components/filterPanel/FilterPanelTrigger.d.ts +0 -37
  900. package/esm/components/filterPanel/FilterPanelTrigger.js +0 -105
  901. package/esm/components/filterPanel/index.d.ts +0 -1
  902. package/esm/components/filterPanel/index.js +0 -1
  903. package/esm/components/index.d.ts +0 -28
  904. package/esm/components/index.js +0 -27
  905. package/esm/components/menu/GridMenu.d.ts +0 -15
  906. package/esm/components/menu/GridMenu.js +0 -110
  907. package/esm/components/menu/columnMenu/GridColumnHeaderMenu.d.ts +0 -26
  908. package/esm/components/menu/columnMenu/GridColumnHeaderMenu.js +0 -63
  909. package/esm/components/menu/columnMenu/GridColumnMenu.d.ts +0 -23
  910. package/esm/components/menu/columnMenu/GridColumnMenu.js +0 -114
  911. package/esm/components/menu/columnMenu/GridColumnMenuContainer.d.ts +0 -4
  912. package/esm/components/menu/columnMenu/GridColumnMenuContainer.js +0 -72
  913. package/esm/components/menu/columnMenu/GridColumnMenuItemProps.d.ts +0 -7
  914. package/esm/components/menu/columnMenu/GridColumnMenuProps.d.ts +0 -20
  915. package/esm/components/menu/columnMenu/index.d.ts +0 -6
  916. package/esm/components/menu/columnMenu/index.js +0 -8
  917. package/esm/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.d.ts +0 -6
  918. package/esm/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.js +0 -20
  919. package/esm/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.d.ts +0 -6
  920. package/esm/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.js +0 -36
  921. package/esm/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.d.ts +0 -6
  922. package/esm/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.js +0 -53
  923. package/esm/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.d.ts +0 -6
  924. package/esm/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.js +0 -36
  925. package/esm/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.d.ts +0 -6
  926. package/esm/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.js +0 -69
  927. package/esm/components/menu/columnMenu/menuItems/index.d.ts +0 -5
  928. package/esm/components/menu/columnMenu/menuItems/index.js +0 -5
  929. package/esm/components/menu/index.d.ts +0 -2
  930. package/esm/components/menu/index.js +0 -2
  931. package/esm/components/panel/GridColumnsPanel.d.ts +0 -4
  932. package/esm/components/panel/GridColumnsPanel.js +0 -11
  933. package/esm/components/panel/GridPanel.d.ts +0 -21
  934. package/esm/components/panel/GridPanel.js +0 -110
  935. package/esm/components/panel/GridPanelContent.js +0 -53
  936. package/esm/components/panel/GridPanelFooter.js +0 -50
  937. package/esm/components/panel/GridPanelHeader.js +0 -47
  938. package/esm/components/panel/GridPanelWrapper.js +0 -50
  939. package/esm/components/panel/GridPreferencesPanel.js +0 -43
  940. package/esm/components/panel/filterPanel/GridFilterForm.d.ts +0 -107
  941. package/esm/components/panel/filterPanel/GridFilterForm.js +0 -474
  942. package/esm/components/panel/filterPanel/GridFilterInputBoolean.d.ts +0 -9
  943. package/esm/components/panel/filterPanel/GridFilterInputBoolean.js +0 -125
  944. package/esm/components/panel/filterPanel/GridFilterInputDate.d.ts +0 -10
  945. package/esm/components/panel/filterPanel/GridFilterInputDate.js +0 -137
  946. package/esm/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.d.ts +0 -11
  947. package/esm/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js +0 -113
  948. package/esm/components/panel/filterPanel/GridFilterInputMultipleValue.d.ts +0 -10
  949. package/esm/components/panel/filterPanel/GridFilterInputMultipleValue.js +0 -103
  950. package/esm/components/panel/filterPanel/GridFilterInputSingleSelect.d.ts +0 -10
  951. package/esm/components/panel/filterPanel/GridFilterInputSingleSelect.js +0 -141
  952. package/esm/components/panel/filterPanel/GridFilterInputValue.d.ts +0 -14
  953. package/esm/components/panel/filterPanel/GridFilterInputValue.js +0 -123
  954. package/esm/components/panel/filterPanel/GridFilterPanel.d.ts +0 -49
  955. package/esm/components/panel/filterPanel/GridFilterPanel.js +0 -250
  956. package/esm/components/panel/filterPanel/filterPanelUtils.d.ts +0 -5
  957. package/esm/components/panel/filterPanel/index.d.ts +0 -10
  958. package/esm/components/panel/filterPanel/index.js +0 -8
  959. package/esm/components/panel/index.d.ts +0 -7
  960. package/esm/components/panel/index.js +0 -7
  961. package/esm/components/quickFilter/QuickFilter.d.ts +0 -64
  962. package/esm/components/quickFilter/QuickFilter.js +0 -191
  963. package/esm/components/quickFilter/QuickFilterClear.d.ts +0 -28
  964. package/esm/components/quickFilter/QuickFilterClear.js +0 -77
  965. package/esm/components/quickFilter/QuickFilterControl.d.ts +0 -28
  966. package/esm/components/quickFilter/QuickFilterControl.js +0 -124
  967. package/esm/components/quickFilter/QuickFilterTrigger.d.ts +0 -28
  968. package/esm/components/quickFilter/QuickFilterTrigger.js +0 -80
  969. package/esm/components/quickFilter/index.d.ts +0 -4
  970. package/esm/components/quickFilter/index.js +0 -4
  971. package/esm/components/reexportable.d.ts +0 -1
  972. package/esm/components/reexportable.js +0 -1
  973. package/esm/components/toolbar/GridToolbar.d.ts +0 -24
  974. package/esm/components/toolbar/GridToolbar.js +0 -88
  975. package/esm/components/toolbar/GridToolbarColumnsButton.d.ts +0 -17
  976. package/esm/components/toolbar/GridToolbarColumnsButton.js +0 -85
  977. package/esm/components/toolbar/GridToolbarDensitySelector.d.ts +0 -17
  978. package/esm/components/toolbar/GridToolbarDensitySelector.js +0 -123
  979. package/esm/components/toolbar/GridToolbarExport.d.ts +0 -42
  980. package/esm/components/toolbar/GridToolbarExport.js +0 -131
  981. package/esm/components/toolbar/GridToolbarExportContainer.d.ts +0 -16
  982. package/esm/components/toolbar/GridToolbarExportContainer.js +0 -88
  983. package/esm/components/toolbar/GridToolbarFilterButton.d.ts +0 -18
  984. package/esm/components/toolbar/GridToolbarFilterButton.js +0 -149
  985. package/esm/components/toolbar/GridToolbarQuickFilter.d.ts +0 -45
  986. package/esm/components/toolbar/GridToolbarQuickFilter.js +0 -188
  987. package/esm/components/toolbar/index.d.ts +0 -8
  988. package/esm/components/toolbar/index.js +0 -7
  989. package/esm/components/toolbarV8/GridToolbar.d.ts +0 -17
  990. package/esm/components/toolbarV8/GridToolbar.js +0 -201
  991. package/esm/components/toolbarV8/Toolbar.js +0 -208
  992. package/esm/components/toolbarV8/ToolbarButton.d.ts +0 -23
  993. package/esm/components/toolbarV8/ToolbarButton.js +0 -111
  994. package/esm/components/toolbarV8/index.d.ts +0 -2
  995. package/esm/components/toolbarV8/index.js +0 -2
  996. package/esm/components/virtualization/GridBottomContainer.js +0 -28
  997. package/esm/components/virtualization/GridMainContainer.d.ts +0 -19
  998. package/esm/components/virtualization/GridMainContainer.js +0 -57
  999. package/esm/components/virtualization/GridTopContainer.js +0 -28
  1000. package/esm/components/virtualization/GridVirtualScrollbar.js +0 -161
  1001. package/esm/components/virtualization/GridVirtualScroller.js +0 -156
  1002. package/esm/components/virtualization/GridVirtualScrollerContent.js +0 -46
  1003. package/esm/components/virtualization/GridVirtualScrollerFiller.js +0 -85
  1004. package/esm/components/virtualization/GridVirtualScrollerRenderZone.js +0 -41
  1005. package/esm/constants/dataGridPropsDefaultValues.d.ts +0 -5
  1006. package/esm/constants/dataGridPropsDefaultValues.js +0 -63
  1007. package/esm/constants/defaultGridSlotsComponents.d.ts +0 -2
  1008. package/esm/constants/defaultGridSlotsComponents.js +0 -38
  1009. package/esm/constants/index.d.ts +0 -4
  1010. package/esm/constants/index.js +0 -4
  1011. package/esm/constants/localeTextConstants.d.ts +0 -2
  1012. package/esm/context/GridContextProvider.d.ts +0 -17
  1013. package/esm/context/GridContextProvider.js +0 -35
  1014. package/esm/context/index.d.ts +0 -1
  1015. package/esm/context/index.js +0 -1
  1016. package/esm/hooks/core/gridCoreSelector.d.ts +0 -6
  1017. package/esm/hooks/core/gridCoreSelector.js +0 -6
  1018. package/esm/hooks/core/gridPropsSelectors.d.ts +0 -10
  1019. package/esm/hooks/core/gridPropsSelectors.js +0 -18
  1020. package/esm/hooks/core/index.d.ts +0 -2
  1021. package/esm/hooks/core/index.js +0 -1
  1022. package/esm/hooks/core/pipeProcessing/gridPipeProcessingApi.d.ts +0 -163
  1023. package/esm/hooks/core/pipeProcessing/index.d.ts +0 -4
  1024. package/esm/hooks/core/pipeProcessing/index.js +0 -4
  1025. package/esm/hooks/core/pipeProcessing/useGridPipeProcessing.d.ts +0 -32
  1026. package/esm/hooks/core/pipeProcessing/useGridPipeProcessing.js +0 -124
  1027. package/esm/hooks/core/pipeProcessing/useGridRegisterPipeApplier.d.ts +0 -4
  1028. package/esm/hooks/core/pipeProcessing/useGridRegisterPipeApplier.js +0 -28
  1029. package/esm/hooks/core/pipeProcessing/useGridRegisterPipeProcessor.d.ts +0 -4
  1030. package/esm/hooks/core/pipeProcessing/useGridRegisterPipeProcessor.js +0 -30
  1031. package/esm/hooks/core/strategyProcessing/gridStrategyProcessingApi.d.ts +0 -81
  1032. package/esm/hooks/core/strategyProcessing/index.d.ts +0 -3
  1033. package/esm/hooks/core/strategyProcessing/index.js +0 -3
  1034. package/esm/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.d.ts +0 -4
  1035. package/esm/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.js +0 -20
  1036. package/esm/hooks/core/strategyProcessing/useGridStrategyProcessing.d.ts +0 -43
  1037. package/esm/hooks/core/strategyProcessing/useGridStrategyProcessing.js +0 -112
  1038. package/esm/hooks/core/useGridApiInitialization.d.ts +0 -5
  1039. package/esm/hooks/core/useGridApiInitialization.js +0 -114
  1040. package/esm/hooks/core/useGridInitialization.d.ts +0 -7
  1041. package/esm/hooks/core/useGridInitialization.js +0 -25
  1042. package/esm/hooks/core/useGridIsRtl.d.ts +0 -3
  1043. package/esm/hooks/core/useGridLocaleText.d.ts +0 -4
  1044. package/esm/hooks/core/useGridLoggerFactory.d.ts +0 -4
  1045. package/esm/hooks/core/useGridLoggerFactory.js +0 -44
  1046. package/esm/hooks/core/useGridProps.d.ts +0 -6
  1047. package/esm/hooks/core/useGridRefs.d.ts +0 -3
  1048. package/esm/hooks/core/useGridStateInitialization.d.ts +0 -3
  1049. package/esm/hooks/core/useGridStateInitialization.js +0 -97
  1050. package/esm/hooks/core/useGridVirtualizer.js +0 -265
  1051. package/esm/hooks/features/clipboard/useGridClipboard.d.ts +0 -8
  1052. package/esm/hooks/features/clipboard/useGridClipboard.js +0 -97
  1053. package/esm/hooks/features/columnGrouping/gridColumnGroupsInterfaces.d.ts +0 -19
  1054. package/esm/hooks/features/columnGrouping/gridColumnGroupsSelector.d.ts +0 -20
  1055. package/esm/hooks/features/columnGrouping/gridColumnGroupsSelector.js +0 -10
  1056. package/esm/hooks/features/columnGrouping/gridColumnGroupsUtils.d.ts +0 -19
  1057. package/esm/hooks/features/columnGrouping/gridColumnGroupsUtils.js +0 -119
  1058. package/esm/hooks/features/columnGrouping/index.d.ts +0 -2
  1059. package/esm/hooks/features/columnGrouping/index.js +0 -2
  1060. package/esm/hooks/features/columnGrouping/useGridColumnGrouping.d.ts +0 -10
  1061. package/esm/hooks/features/columnGrouping/useGridColumnGrouping.js +0 -110
  1062. package/esm/hooks/features/columnHeaders/useGridColumnHeaders.d.ts +0 -65
  1063. package/esm/hooks/features/columnHeaders/useGridColumnHeaders.js +0 -316
  1064. package/esm/hooks/features/columnMenu/columnMenuSelector.d.ts +0 -2
  1065. package/esm/hooks/features/columnMenu/columnMenuSelector.js +0 -2
  1066. package/esm/hooks/features/columnMenu/getColumnMenuItemKeys.d.ts +0 -17
  1067. package/esm/hooks/features/columnMenu/index.d.ts +0 -2
  1068. package/esm/hooks/features/columnMenu/index.js +0 -2
  1069. package/esm/hooks/features/columnMenu/useGridColumnMenu.d.ts +0 -9
  1070. package/esm/hooks/features/columnMenu/useGridColumnMenu.js +0 -116
  1071. package/esm/hooks/features/columnMenu/useGridColumnMenuSlots.d.ts +0 -13
  1072. package/esm/hooks/features/columnMenu/useGridColumnMenuSlots.js +0 -54
  1073. package/esm/hooks/features/columnResize/columnResizeSelector.d.ts +0 -5
  1074. package/esm/hooks/features/columnResize/columnResizeSelector.js +0 -3
  1075. package/esm/hooks/features/columnResize/gridColumnResizeApi.d.ts +0 -57
  1076. package/esm/hooks/features/columnResize/index.d.ts +0 -3
  1077. package/esm/hooks/features/columnResize/index.js +0 -3
  1078. package/esm/hooks/features/columnResize/useGridColumnResize.d.ts +0 -10
  1079. package/esm/hooks/features/columnResize/useGridColumnResize.js +0 -616
  1080. package/esm/hooks/features/columns/gridColumnsInterfaces.d.ts +0 -42
  1081. package/esm/hooks/features/columns/gridColumnsSelector.d.ts +0 -114
  1082. package/esm/hooks/features/columns/gridColumnsSelector.js +0 -142
  1083. package/esm/hooks/features/columns/gridColumnsUtils.d.ts +0 -75
  1084. package/esm/hooks/features/columns/gridColumnsUtils.js +0 -345
  1085. package/esm/hooks/features/columns/index.d.ts +0 -2
  1086. package/esm/hooks/features/columns/index.js +0 -2
  1087. package/esm/hooks/features/columns/useGridColumnSpanning.d.ts +0 -7
  1088. package/esm/hooks/features/columns/useGridColumnSpanning.js +0 -27
  1089. package/esm/hooks/features/columns/useGridColumns.d.ts +0 -11
  1090. package/esm/hooks/features/columns/useGridColumns.js +0 -348
  1091. package/esm/hooks/features/dataSource/cache.d.ts +0 -29
  1092. package/esm/hooks/features/dataSource/gridDataSourceError.d.ts +0 -31
  1093. package/esm/hooks/features/dataSource/gridDataSourceSelector.d.ts +0 -10
  1094. package/esm/hooks/features/dataSource/gridDataSourceSelector.js +0 -12
  1095. package/esm/hooks/features/dataSource/index.d.ts +0 -2
  1096. package/esm/hooks/features/dataSource/index.js +0 -2
  1097. package/esm/hooks/features/dataSource/models.d.ts +0 -47
  1098. package/esm/hooks/features/dataSource/useGridDataSource.d.ts +0 -7
  1099. package/esm/hooks/features/dataSource/useGridDataSource.js +0 -26
  1100. package/esm/hooks/features/dataSource/useGridDataSourceBase.d.ts +0 -31
  1101. package/esm/hooks/features/dataSource/useGridDataSourceBase.js +0 -322
  1102. package/esm/hooks/features/dataSource/utils.d.ts +0 -24
  1103. package/esm/hooks/features/density/densitySelector.d.ts +0 -8
  1104. package/esm/hooks/features/density/densitySelector.js +0 -10
  1105. package/esm/hooks/features/density/densityState.d.ts +0 -2
  1106. package/esm/hooks/features/density/index.d.ts +0 -2
  1107. package/esm/hooks/features/density/index.js +0 -2
  1108. package/esm/hooks/features/density/useGridDensity.d.ts +0 -6
  1109. package/esm/hooks/features/density/useGridDensity.js +0 -66
  1110. package/esm/hooks/features/dimensions/gridDimensionsSelectors.d.ts +0 -42
  1111. package/esm/hooks/features/dimensions/gridDimensionsSelectors.js +0 -25
  1112. package/esm/hooks/features/dimensions/index.d.ts +0 -3
  1113. package/esm/hooks/features/dimensions/index.js +0 -1
  1114. package/esm/hooks/features/dimensions/useGridDimensions.d.ts +0 -10
  1115. package/esm/hooks/features/dimensions/useGridDimensions.js +0 -144
  1116. package/esm/hooks/features/editing/gridEditingSelectors.d.ts +0 -19
  1117. package/esm/hooks/features/editing/gridEditingSelectors.js +0 -15
  1118. package/esm/hooks/features/editing/index.d.ts +0 -1
  1119. package/esm/hooks/features/editing/index.js +0 -1
  1120. package/esm/hooks/features/editing/useGridCellEditable.d.ts +0 -5
  1121. package/esm/hooks/features/editing/useGridCellEditable.js +0 -9
  1122. package/esm/hooks/features/editing/useGridCellEditing.d.ts +0 -4
  1123. package/esm/hooks/features/editing/useGridCellEditing.js +0 -496
  1124. package/esm/hooks/features/editing/useGridEditing.d.ts +0 -7
  1125. package/esm/hooks/features/editing/useGridEditing.js +0 -125
  1126. package/esm/hooks/features/editing/useGridRowEditing.d.ts +0 -4
  1127. package/esm/hooks/features/editing/useGridRowEditing.js +0 -653
  1128. package/esm/hooks/features/editing/utils.d.ts +0 -2
  1129. package/esm/hooks/features/events/useGridEvents.d.ts +0 -8
  1130. package/esm/hooks/features/events/useGridEvents.js +0 -24
  1131. package/esm/hooks/features/export/serializers/csvSerializer.d.ts +0 -19
  1132. package/esm/hooks/features/export/serializers/csvSerializer.js +0 -141
  1133. package/esm/hooks/features/export/useGridCsvExport.d.ts +0 -11
  1134. package/esm/hooks/features/export/useGridCsvExport.js +0 -74
  1135. package/esm/hooks/features/export/useGridPrintExport.d.ts +0 -10
  1136. package/esm/hooks/features/export/useGridPrintExport.js +0 -256
  1137. package/esm/hooks/features/export/utils.d.ts +0 -20
  1138. package/esm/hooks/features/export/utils.js +0 -39
  1139. package/esm/hooks/features/filter/gridFilterSelector.d.ts +0 -153
  1140. package/esm/hooks/features/filter/gridFilterSelector.js +0 -207
  1141. package/esm/hooks/features/filter/gridFilterState.d.ts +0 -64
  1142. package/esm/hooks/features/filter/gridFilterState.js +0 -24
  1143. package/esm/hooks/features/filter/gridFilterUtils.d.ts +0 -23
  1144. package/esm/hooks/features/filter/gridFilterUtils.js +0 -324
  1145. package/esm/hooks/features/filter/index.d.ts +0 -4
  1146. package/esm/hooks/features/filter/index.js +0 -2
  1147. package/esm/hooks/features/filter/useGridFilter.d.ts +0 -12
  1148. package/esm/hooks/features/filter/useGridFilter.js +0 -370
  1149. package/esm/hooks/features/focus/gridFocusState.d.ts +0 -20
  1150. package/esm/hooks/features/focus/gridFocusStateSelector.d.ts +0 -28
  1151. package/esm/hooks/features/focus/gridFocusStateSelector.js +0 -11
  1152. package/esm/hooks/features/focus/index.d.ts +0 -2
  1153. package/esm/hooks/features/focus/index.js +0 -2
  1154. package/esm/hooks/features/focus/useGridFocus.d.ts +0 -11
  1155. package/esm/hooks/features/focus/useGridFocus.js +0 -447
  1156. package/esm/hooks/features/headerFiltering/gridHeaderFilteringSelectors.d.ts +0 -11
  1157. package/esm/hooks/features/headerFiltering/gridHeaderFilteringSelectors.js +0 -7
  1158. package/esm/hooks/features/headerFiltering/index.d.ts +0 -1
  1159. package/esm/hooks/features/headerFiltering/index.js +0 -1
  1160. package/esm/hooks/features/headerFiltering/useGridHeaderFiltering.d.ts +0 -6
  1161. package/esm/hooks/features/headerFiltering/useGridHeaderFiltering.js +0 -107
  1162. package/esm/hooks/features/index.d.ts +0 -20
  1163. package/esm/hooks/features/index.js +0 -21
  1164. package/esm/hooks/features/keyboardNavigation/useGridKeyboardNavigation.d.ts +0 -13
  1165. package/esm/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +0 -700
  1166. package/esm/hooks/features/keyboardNavigation/utils.d.ts +0 -26
  1167. package/esm/hooks/features/keyboardNavigation/utils.js +0 -53
  1168. package/esm/hooks/features/listView/gridListViewSelectors.d.ts +0 -14
  1169. package/esm/hooks/features/listView/gridListViewSelectors.js +0 -14
  1170. package/esm/hooks/features/listView/index.d.ts +0 -1
  1171. package/esm/hooks/features/listView/index.js +0 -1
  1172. package/esm/hooks/features/listView/useGridListView.d.ts +0 -10
  1173. package/esm/hooks/features/listView/useGridListView.js +0 -63
  1174. package/esm/hooks/features/overlays/gridOverlaysInterfaces.d.ts +0 -3
  1175. package/esm/hooks/features/overlays/index.d.ts +0 -1
  1176. package/esm/hooks/features/overlays/useGridOverlays.d.ts +0 -12
  1177. package/esm/hooks/features/overlays/useGridOverlays.js +0 -45
  1178. package/esm/hooks/features/pagination/gridPaginationInterfaces.d.ts +0 -58
  1179. package/esm/hooks/features/pagination/gridPaginationSelector.d.ts +0 -95
  1180. package/esm/hooks/features/pagination/gridPaginationSelector.js +0 -156
  1181. package/esm/hooks/features/pagination/gridPaginationUtils.d.ts +0 -9
  1182. package/esm/hooks/features/pagination/gridPaginationUtils.js +0 -28
  1183. package/esm/hooks/features/pagination/index.d.ts +0 -2
  1184. package/esm/hooks/features/pagination/index.js +0 -2
  1185. package/esm/hooks/features/pagination/useGridPagination.d.ts +0 -10
  1186. package/esm/hooks/features/pagination/useGridPagination.js +0 -30
  1187. package/esm/hooks/features/pagination/useGridPaginationMeta.d.ts +0 -4
  1188. package/esm/hooks/features/pagination/useGridPaginationMeta.js +0 -79
  1189. package/esm/hooks/features/pagination/useGridPaginationModel.d.ts +0 -11
  1190. package/esm/hooks/features/pagination/useGridPaginationModel.js +0 -239
  1191. package/esm/hooks/features/pagination/useGridRowCount.d.ts +0 -4
  1192. package/esm/hooks/features/pagination/useGridRowCount.js +0 -126
  1193. package/esm/hooks/features/pivoting/gridPivotingInterfaces.d.ts +0 -10
  1194. package/esm/hooks/features/pivoting/gridPivotingSelectors.d.ts +0 -8
  1195. package/esm/hooks/features/pivoting/gridPivotingSelectors.js +0 -7
  1196. package/esm/hooks/features/pivoting/index.d.ts +0 -2
  1197. package/esm/hooks/features/pivoting/index.js +0 -2
  1198. package/esm/hooks/features/preferencesPanel/gridPreferencePanelSelector.d.ts +0 -5
  1199. package/esm/hooks/features/preferencesPanel/gridPreferencePanelSelector.js +0 -8
  1200. package/esm/hooks/features/preferencesPanel/gridPreferencePanelState.d.ts +0 -13
  1201. package/esm/hooks/features/preferencesPanel/index.d.ts +0 -3
  1202. package/esm/hooks/features/preferencesPanel/index.js +0 -3
  1203. package/esm/hooks/features/preferencesPanel/useGridPreferencesPanel.d.ts +0 -9
  1204. package/esm/hooks/features/preferencesPanel/useGridPreferencesPanel.js +0 -88
  1205. package/esm/hooks/features/rowReorder/gridRowReorderInterfaces.d.ts +0 -28
  1206. package/esm/hooks/features/rowReorder/gridRowReorderSelector.d.ts +0 -24
  1207. package/esm/hooks/features/rowReorder/gridRowReorderSelector.js +0 -21
  1208. package/esm/hooks/features/rowSelection/gridRowSelectionSelector.d.ts +0 -12
  1209. package/esm/hooks/features/rowSelection/gridRowSelectionSelector.js +0 -29
  1210. package/esm/hooks/features/rowSelection/index.d.ts +0 -1
  1211. package/esm/hooks/features/rowSelection/index.js +0 -1
  1212. package/esm/hooks/features/rowSelection/useGridRowSelection.d.ts +0 -12
  1213. package/esm/hooks/features/rowSelection/useGridRowSelection.js +0 -616
  1214. package/esm/hooks/features/rowSelection/useGridRowSelectionPreProcessors.d.ts +0 -4
  1215. package/esm/hooks/features/rowSelection/useGridRowSelectionPreProcessors.js +0 -48
  1216. package/esm/hooks/features/rowSelection/utils.d.ts +0 -20
  1217. package/esm/hooks/features/rowSelection/utils.js +0 -211
  1218. package/esm/hooks/features/rows/gridRowSpanningUtils.d.ts +0 -10
  1219. package/esm/hooks/features/rows/gridRowSpanningUtils.js +0 -45
  1220. package/esm/hooks/features/rows/gridRowsInterfaces.d.ts +0 -98
  1221. package/esm/hooks/features/rows/gridRowsMetaInterfaces.d.ts +0 -10
  1222. package/esm/hooks/features/rows/gridRowsMetaSelector.d.ts +0 -2
  1223. package/esm/hooks/features/rows/gridRowsMetaSelector.js +0 -2
  1224. package/esm/hooks/features/rows/gridRowsSelector.d.ts +0 -80
  1225. package/esm/hooks/features/rows/gridRowsSelector.js +0 -70
  1226. package/esm/hooks/features/rows/gridRowsUtils.d.ts +0 -61
  1227. package/esm/hooks/features/rows/gridRowsUtils.js +0 -307
  1228. package/esm/hooks/features/rows/index.d.ts +0 -5
  1229. package/esm/hooks/features/rows/index.js +0 -4
  1230. package/esm/hooks/features/rows/useGridParamsApi.d.ts +0 -14
  1231. package/esm/hooks/features/rows/useGridParamsApi.js +0 -117
  1232. package/esm/hooks/features/rows/useGridParamsOverridableMethods.d.ts +0 -7
  1233. package/esm/hooks/features/rows/useGridParamsOverridableMethods.js +0 -28
  1234. package/esm/hooks/features/rows/useGridRowAriaAttributes.d.ts +0 -2
  1235. package/esm/hooks/features/rows/useGridRowAriaAttributes.js +0 -19
  1236. package/esm/hooks/features/rows/useGridRowSpanning.d.ts +0 -17
  1237. package/esm/hooks/features/rows/useGridRowSpanning.js +0 -208
  1238. package/esm/hooks/features/rows/useGridRows.d.ts +0 -7
  1239. package/esm/hooks/features/rows/useGridRows.js +0 -482
  1240. package/esm/hooks/features/rows/useGridRowsMeta.d.ts +0 -10
  1241. package/esm/hooks/features/rows/useGridRowsMeta.js +0 -60
  1242. package/esm/hooks/features/rows/useGridRowsOverridableMethods.d.ts +0 -7
  1243. package/esm/hooks/features/rows/useGridRowsOverridableMethods.js +0 -93
  1244. package/esm/hooks/features/rows/useGridRowsPreProcessors.d.ts +0 -3
  1245. package/esm/hooks/features/rows/useGridRowsPreProcessors.js +0 -81
  1246. package/esm/hooks/features/scroll/useGridScroll.d.ts +0 -12
  1247. package/esm/hooks/features/scroll/useGridScroll.js +0 -132
  1248. package/esm/hooks/features/sorting/gridSortingSelector.d.ts +0 -42
  1249. package/esm/hooks/features/sorting/gridSortingSelector.js +0 -70
  1250. package/esm/hooks/features/sorting/gridSortingState.d.ts +0 -14
  1251. package/esm/hooks/features/sorting/gridSortingUtils.d.ts +0 -18
  1252. package/esm/hooks/features/sorting/gridSortingUtils.js +0 -140
  1253. package/esm/hooks/features/sorting/index.d.ts +0 -4
  1254. package/esm/hooks/features/sorting/index.js +0 -2
  1255. package/esm/hooks/features/sorting/useGridSorting.d.ts +0 -10
  1256. package/esm/hooks/features/sorting/useGridSorting.js +0 -252
  1257. package/esm/hooks/features/statePersistence/gridStatePersistenceInterface.d.ts +0 -40
  1258. package/esm/hooks/features/statePersistence/index.d.ts +0 -1
  1259. package/esm/hooks/features/statePersistence/useGridStatePersistence.d.ts +0 -3
  1260. package/esm/hooks/features/statePersistence/useGridStatePersistence.js +0 -23
  1261. package/esm/hooks/features/virtualization/gridFocusedVirtualCellSelector.d.ts +0 -8
  1262. package/esm/hooks/features/virtualization/gridFocusedVirtualCellSelector.js +0 -32
  1263. package/esm/hooks/features/virtualization/gridVirtualizationSelectors.d.ts +0 -46
  1264. package/esm/hooks/features/virtualization/gridVirtualizationSelectors.js +0 -45
  1265. package/esm/hooks/features/virtualization/index.d.ts +0 -3
  1266. package/esm/hooks/features/virtualization/index.js +0 -3
  1267. package/esm/hooks/features/virtualization/useGridVirtualization.d.ts +0 -10
  1268. package/esm/hooks/features/virtualization/useGridVirtualization.js +0 -101
  1269. package/esm/hooks/index.d.ts +0 -3
  1270. package/esm/hooks/index.js +0 -3
  1271. package/esm/hooks/utils/index.d.ts +0 -10
  1272. package/esm/hooks/utils/index.js +0 -9
  1273. package/esm/hooks/utils/useGridApiContext.d.ts +0 -4
  1274. package/esm/hooks/utils/useGridApiContext.js +0 -11
  1275. package/esm/hooks/utils/useGridApiMethod.d.ts +0 -7
  1276. package/esm/hooks/utils/useGridApiRef.d.ts +0 -6
  1277. package/esm/hooks/utils/useGridAriaAttributes.js +0 -28
  1278. package/esm/hooks/utils/useGridConfiguration.d.ts +0 -4
  1279. package/esm/hooks/utils/useGridConfiguration.js +0 -11
  1280. package/esm/hooks/utils/useGridEvent.d.ts +0 -12
  1281. package/esm/hooks/utils/useGridEvent.js +0 -94
  1282. package/esm/hooks/utils/useGridInitializeState.d.ts +0 -8
  1283. package/esm/hooks/utils/useGridLogger.d.ts +0 -4
  1284. package/esm/hooks/utils/useGridNativeEventListener.d.ts +0 -3
  1285. package/esm/hooks/utils/useGridNativeEventListener.js +0 -17
  1286. package/esm/hooks/utils/useGridPrivateApiContext.d.ts +0 -6
  1287. package/esm/hooks/utils/useGridRootProps.d.ts +0 -2
  1288. package/esm/hooks/utils/useGridRootProps.js +0 -11
  1289. package/esm/hooks/utils/useGridSelector.d.ts +0 -6
  1290. package/esm/hooks/utils/useGridSelector.js +0 -84
  1291. package/esm/hooks/utils/useGridVisibleRows.d.ts +0 -26
  1292. package/esm/hooks/utils/useGridVisibleRows.js +0 -17
  1293. package/esm/index.d.ts +0 -39
  1294. package/esm/index.js +0 -39
  1295. package/esm/internals/demo/index.d.ts +0 -1
  1296. package/esm/internals/demo/index.js +0 -1
  1297. package/esm/internals/index.d.ts +0 -128
  1298. package/esm/internals/index.js +0 -99
  1299. package/esm/internals/utils/attachPinnedStyle.d.ts +0 -2
  1300. package/esm/internals/utils/attachPinnedStyle.js +0 -9
  1301. package/esm/internals/utils/cache.d.ts +0 -9
  1302. package/esm/internals/utils/cache.js +0 -18
  1303. package/esm/internals/utils/getPinnedCellOffset.d.ts +0 -3
  1304. package/esm/internals/utils/getPinnedCellOffset.js +0 -21
  1305. package/esm/internals/utils/gridRowGroupingUtils.js +0 -9
  1306. package/esm/internals/utils/index.d.ts +0 -5
  1307. package/esm/internals/utils/index.js +0 -5
  1308. package/esm/internals/utils/propValidation.d.ts +0 -4
  1309. package/esm/internals/utils/propValidation.js +0 -12
  1310. package/esm/locales/arSD.d.ts +0 -2
  1311. package/esm/locales/arSD.js +0 -309
  1312. package/esm/locales/beBY.d.ts +0 -2
  1313. package/esm/locales/beBY.js +0 -333
  1314. package/esm/locales/bgBG.d.ts +0 -2
  1315. package/esm/locales/bgBG.js +0 -310
  1316. package/esm/locales/bnBD.d.ts +0 -2
  1317. package/esm/locales/bnBD.js +0 -308
  1318. package/esm/locales/caES.d.ts +0 -2
  1319. package/esm/locales/caES.js +0 -297
  1320. package/esm/locales/csCZ.d.ts +0 -2
  1321. package/esm/locales/csCZ.js +0 -336
  1322. package/esm/locales/daDK.d.ts +0 -2
  1323. package/esm/locales/daDK.js +0 -309
  1324. package/esm/locales/deDE.d.ts +0 -2
  1325. package/esm/locales/deDE.js +0 -300
  1326. package/esm/locales/elGR.d.ts +0 -2
  1327. package/esm/locales/elGR.js +0 -311
  1328. package/esm/locales/enUS.d.ts +0 -2
  1329. package/esm/locales/enUS.js +0 -3
  1330. package/esm/locales/esES.d.ts +0 -2
  1331. package/esm/locales/esES.js +0 -297
  1332. package/esm/locales/faIR.d.ts +0 -2
  1333. package/esm/locales/faIR.js +0 -309
  1334. package/esm/locales/fiFI.d.ts +0 -2
  1335. package/esm/locales/fiFI.js +0 -310
  1336. package/esm/locales/frFR.d.ts +0 -2
  1337. package/esm/locales/frFR.js +0 -306
  1338. package/esm/locales/heIL.d.ts +0 -2
  1339. package/esm/locales/heIL.js +0 -308
  1340. package/esm/locales/hrHR.d.ts +0 -1
  1341. package/esm/locales/hrHR.js +0 -328
  1342. package/esm/locales/huHU.d.ts +0 -2
  1343. package/esm/locales/huHU.js +0 -308
  1344. package/esm/locales/hyAM.d.ts +0 -2
  1345. package/esm/locales/hyAM.js +0 -334
  1346. package/esm/locales/idID.d.ts +0 -4
  1347. package/esm/locales/idID.js +0 -300
  1348. package/esm/locales/index.d.ts +0 -40
  1349. package/esm/locales/index.js +0 -41
  1350. package/esm/locales/isIS.d.ts +0 -2
  1351. package/esm/locales/isIS.js +0 -310
  1352. package/esm/locales/itIT.d.ts +0 -2
  1353. package/esm/locales/itIT.js +0 -298
  1354. package/esm/locales/jaJP.d.ts +0 -2
  1355. package/esm/locales/jaJP.js +0 -305
  1356. package/esm/locales/koKR.d.ts +0 -2
  1357. package/esm/locales/koKR.js +0 -300
  1358. package/esm/locales/nbNO.d.ts +0 -2
  1359. package/esm/locales/nbNO.js +0 -308
  1360. package/esm/locales/nlNL.d.ts +0 -2
  1361. package/esm/locales/nlNL.js +0 -309
  1362. package/esm/locales/nnNO.d.ts +0 -2
  1363. package/esm/locales/nnNO.js +0 -300
  1364. package/esm/locales/plPL.d.ts +0 -2
  1365. package/esm/locales/plPL.js +0 -305
  1366. package/esm/locales/ptBR.d.ts +0 -2
  1367. package/esm/locales/ptBR.js +0 -297
  1368. package/esm/locales/ptPT.d.ts +0 -2
  1369. package/esm/locales/ptPT.js +0 -297
  1370. package/esm/locales/roRO.d.ts +0 -2
  1371. package/esm/locales/roRO.js +0 -308
  1372. package/esm/locales/ruRU.d.ts +0 -2
  1373. package/esm/locales/ruRU.js +0 -330
  1374. package/esm/locales/skSK.d.ts +0 -2
  1375. package/esm/locales/skSK.js +0 -336
  1376. package/esm/locales/svSE.d.ts +0 -2
  1377. package/esm/locales/svSE.js +0 -310
  1378. package/esm/locales/trTR.d.ts +0 -2
  1379. package/esm/locales/trTR.js +0 -308
  1380. package/esm/locales/ukUA.d.ts +0 -2
  1381. package/esm/locales/ukUA.js +0 -331
  1382. package/esm/locales/urPK.d.ts +0 -2
  1383. package/esm/locales/urPK.js +0 -310
  1384. package/esm/locales/viVN.d.ts +0 -2
  1385. package/esm/locales/viVN.js +0 -310
  1386. package/esm/locales/zhCN.d.ts +0 -2
  1387. package/esm/locales/zhCN.js +0 -306
  1388. package/esm/locales/zhHK.d.ts +0 -1
  1389. package/esm/locales/zhHK.js +0 -306
  1390. package/esm/locales/zhTW.d.ts +0 -2
  1391. package/esm/locales/zhTW.js +0 -306
  1392. package/esm/material/icons/createSvgIcon.d.ts +0 -2
  1393. package/esm/material/icons/index.js +0 -103
  1394. package/esm/material/index.d.ts +0 -6
  1395. package/esm/material/index.js +0 -851
  1396. package/esm/material/variables.d.ts +0 -5
  1397. package/esm/material/variables.js +0 -131
  1398. package/esm/models/api/gridApiCommon.d.ts +0 -38
  1399. package/esm/models/api/gridApiCommunity.d.ts +0 -12
  1400. package/esm/models/api/gridCallbackDetails.d.ts +0 -15
  1401. package/esm/models/api/gridColumnApi.d.ts +0 -74
  1402. package/esm/models/api/gridColumnGroupingApi.d.ts +0 -19
  1403. package/esm/models/api/gridColumnSpanning.d.ts +0 -28
  1404. package/esm/models/api/gridCoreApi.d.ts +0 -96
  1405. package/esm/models/api/gridCsvExportApi.d.ts +0 -18
  1406. package/esm/models/api/gridDensityApi.d.ts +0 -17
  1407. package/esm/models/api/gridEditingApi.d.ts +0 -237
  1408. package/esm/models/api/gridFilterApi.d.ts +0 -67
  1409. package/esm/models/api/gridFocusApi.d.ts +0 -46
  1410. package/esm/models/api/gridHeaderFilteringApi.d.ts +0 -30
  1411. package/esm/models/api/gridLocaleTextApi.d.ts +0 -247
  1412. package/esm/models/api/gridLoggerApi.d.ts +0 -11
  1413. package/esm/models/api/gridParamsApi.d.ts +0 -111
  1414. package/esm/models/api/gridPreferencesPanelApi.d.ts +0 -17
  1415. package/esm/models/api/gridPrintExportApi.d.ts +0 -11
  1416. package/esm/models/api/gridRowApi.d.ts +0 -147
  1417. package/esm/models/api/gridRowSelectionApi.d.ts +0 -92
  1418. package/esm/models/api/gridRowsMetaApi.d.ts +0 -60
  1419. package/esm/models/api/gridScrollApi.d.ts +0 -24
  1420. package/esm/models/api/gridSortApi.d.ts +0 -46
  1421. package/esm/models/api/gridStateApi.d.ts +0 -33
  1422. package/esm/models/api/index.d.ts +0 -23
  1423. package/esm/models/api/index.js +0 -12
  1424. package/esm/models/colDef/gridColDef.d.ts +0 -333
  1425. package/esm/models/colDef/gridColumnTypesRecord.d.ts +0 -3
  1426. package/esm/models/colDef/index.d.ts +0 -3
  1427. package/esm/models/colDef/index.js +0 -6
  1428. package/esm/models/configuration/gridAggregationConfiguration.d.ts +0 -19
  1429. package/esm/models/configuration/gridCellEditableConfiguration.d.ts +0 -19
  1430. package/esm/models/configuration/gridConfiguration.d.ts +0 -21
  1431. package/esm/models/configuration/gridParamsConfiguration.d.ts +0 -12
  1432. package/esm/models/configuration/gridRowConfiguration.d.ts +0 -23
  1433. package/esm/models/controlStateItem.d.ts +0 -14
  1434. package/esm/models/events/gridEventListener.d.ts +0 -8
  1435. package/esm/models/events/gridEventLookup.d.ts +0 -683
  1436. package/esm/models/events/gridEventPublisher.d.ts +0 -29
  1437. package/esm/models/events/index.d.ts +0 -3
  1438. package/esm/models/events/index.js +0 -3
  1439. package/esm/models/gridApiCaches.d.ts +0 -12
  1440. package/esm/models/gridCell.d.ts +0 -30
  1441. package/esm/models/gridCellClass.d.ts +0 -12
  1442. package/esm/models/gridColumnGrouping.d.ts +0 -43
  1443. package/esm/models/gridColumnHeaderClass.d.ts +0 -11
  1444. package/esm/models/gridDataSource.d.ts +0 -83
  1445. package/esm/models/gridEditRowModel.d.ts +0 -28
  1446. package/esm/models/gridExport.d.ts +0 -157
  1447. package/esm/models/gridFilterInputComponent.d.ts +0 -32
  1448. package/esm/models/gridFilterItem.d.ts +0 -32
  1449. package/esm/models/gridFilterModel.d.ts +0 -34
  1450. package/esm/models/gridFilterOperator.d.ts +0 -58
  1451. package/esm/models/gridHeaderFilteringModel.d.ts +0 -6
  1452. package/esm/models/gridIconSlotsComponent.d.ts +0 -213
  1453. package/esm/models/gridRowSelectionManager.d.ts +0 -9
  1454. package/esm/models/gridRowSelectionModel.d.ts +0 -9
  1455. package/esm/models/gridRows.d.ts +0 -180
  1456. package/esm/models/gridSlotsComponent.d.ts +0 -235
  1457. package/esm/models/gridSlotsComponentsProps.d.ts +0 -133
  1458. package/esm/models/gridSortModel.d.ts +0 -35
  1459. package/esm/models/gridStateCommunity.d.ts +0 -61
  1460. package/esm/models/index.d.ts +0 -31
  1461. package/esm/models/index.js +0 -29
  1462. package/esm/models/params/gridCellParams.d.ts +0 -103
  1463. package/esm/models/params/gridColumnGroupHeaderParams.d.ts +0 -30
  1464. package/esm/models/params/gridColumnHeaderParams.d.ts +0 -15
  1465. package/esm/models/params/gridColumnOrderChangeParams.d.ts +0 -18
  1466. package/esm/models/params/gridColumnResizeParams.d.ts +0 -18
  1467. package/esm/models/params/gridEditCellParams.d.ts +0 -65
  1468. package/esm/models/params/gridPreferencePanelParams.d.ts +0 -2
  1469. package/esm/models/params/gridRowParams.d.ts +0 -109
  1470. package/esm/models/params/gridRowSelectionCheckboxParams.d.ts +0 -5
  1471. package/esm/models/params/gridValueOptionsParams.d.ts +0 -18
  1472. package/esm/models/params/index.d.ts +0 -13
  1473. package/esm/models/params/index.js +0 -13
  1474. package/esm/models/props/DataGridProps.d.ts +0 -906
  1475. package/esm/package.json +0 -1
  1476. package/esm/themeAugmentation/index.d.ts +0 -2
  1477. package/esm/themeAugmentation/index.js +0 -4
  1478. package/esm/themeAugmentation/overrides.d.ts +0 -18
  1479. package/esm/themeAugmentation/props.d.ts +0 -15
  1480. package/esm/utils/cellBorderUtils.d.ts +0 -4
  1481. package/esm/utils/cellBorderUtils.js +0 -24
  1482. package/esm/utils/cleanupTracking/FinalizationRegistryBasedCleanupTracking.d.ts +0 -7
  1483. package/esm/utils/cleanupTracking/TimerBasedCleanupTracking.d.ts +0 -9
  1484. package/esm/utils/composeGridClasses.d.ts +0 -3
  1485. package/esm/utils/composeGridClasses.js +0 -5
  1486. package/esm/utils/css/context.js +0 -60
  1487. package/esm/utils/domUtils.d.ts +0 -30
  1488. package/esm/utils/domUtils.js +0 -208
  1489. package/esm/utils/exportAs.d.ts +0 -12
  1490. package/esm/utils/getGridLocalization.d.ts +0 -11
  1491. package/esm/utils/getPublicApiRef.d.ts +0 -3
  1492. package/esm/utils/index.d.ts +0 -2
  1493. package/esm/utils/index.js +0 -1
  1494. package/esm/utils/rtlFlipSide.d.ts +0 -2
  1495. package/esm/utils/rtlFlipSide.js +0 -22
  1496. /package/{esm/components/GridApiContext.d.ts → components/GridApiContext.d.mts} +0 -0
  1497. /package/{esm/components/GridApiContext.js → components/GridApiContext.mjs} +0 -0
  1498. /package/{esm/components/GridConfigurationContext.d.ts → components/GridConfigurationContext.d.mts} +0 -0
  1499. /package/{esm/components/GridConfigurationContext.js → components/GridConfigurationContext.mjs} +0 -0
  1500. /package/{esm/components/GridDetailPanels.d.ts → components/GridDetailPanels.d.mts} +0 -0
  1501. /package/{esm/components/GridDetailPanels.js → components/GridDetailPanels.mjs} +0 -0
  1502. /package/{esm/components/GridHeader.d.ts → components/GridHeader.d.mts} +0 -0
  1503. /package/{esm/components/GridHeaders.d.ts → components/GridHeaders.d.mts} +0 -0
  1504. /package/{esm/components/GridPagination.d.ts → components/GridPagination.d.mts} +0 -0
  1505. /package/{esm/components/GridPinnedRows.d.ts → components/GridPinnedRows.d.mts} +0 -0
  1506. /package/{esm/components/GridPinnedRows.js → components/GridPinnedRows.mjs} +0 -0
  1507. /package/{esm/components/GridRowCount.d.ts → components/GridRowCount.d.mts} +0 -0
  1508. /package/{esm/components/GridScrollShadows.d.ts → components/GridScrollShadows.d.mts} +0 -0
  1509. /package/{esm/components/GridScrollbarFillerCell.d.ts → components/GridScrollbarFillerCell.d.mts} +0 -0
  1510. /package/{esm/components/GridSelectedRowCount.d.ts → components/GridSelectedRowCount.d.mts} +0 -0
  1511. /package/{esm/components/GridShadowScrollArea.d.ts → components/GridShadowScrollArea.d.mts} +0 -0
  1512. /package/{esm/components/GridShadowScrollArea.js → components/GridShadowScrollArea.mjs} +0 -0
  1513. /package/{esm/components/base/GridFooterPlaceholder.d.ts → components/base/GridFooterPlaceholder.d.mts} +0 -0
  1514. /package/{esm/components/columnHeaders/GridBaseColumnHeaders.d.ts → components/columnHeaders/GridBaseColumnHeaders.d.mts} +0 -0
  1515. /package/{esm/components/columnHeaders/GridColumnHeaderSeparator.d.ts → components/columnHeaders/GridColumnHeaderSeparator.d.mts} +0 -0
  1516. /package/{esm/components/columnHeaders/GridColumnHeaderTitle.d.ts → components/columnHeaders/GridColumnHeaderTitle.d.mts} +0 -0
  1517. /package/{esm/components/columnHeaders/GridIconButtonContainer.d.ts → components/columnHeaders/GridIconButtonContainer.d.mts} +0 -0
  1518. /package/{esm/components/columnsManagement/utils.js → components/columnsManagement/utils.mjs} +0 -0
  1519. /package/{esm/components/containers/GridFooterContainer.d.ts → components/containers/GridFooterContainer.d.mts} +0 -0
  1520. /package/{esm/components/containers/GridOverlay.d.ts → components/containers/GridOverlay.d.mts} +0 -0
  1521. /package/{esm/components/containers/GridRoot.d.ts → components/containers/GridRoot.d.mts} +0 -0
  1522. /package/{esm/components/containers/GridToolbarContainer.d.ts → components/containers/GridToolbarContainer.d.mts} +0 -0
  1523. /package/{esm/components/menu/columnMenu/GridColumnMenuItemProps.js → components/menu/columnMenu/GridColumnMenuItemProps.mjs} +0 -0
  1524. /package/{esm/components/menu/columnMenu/GridColumnMenuProps.js → components/menu/columnMenu/GridColumnMenuProps.mjs} +0 -0
  1525. /package/{esm/components/panel/GridPanelContent.d.ts → components/panel/GridPanelContent.d.mts} +0 -0
  1526. /package/{esm/components/panel/GridPanelContext.d.ts → components/panel/GridPanelContext.d.mts} +0 -0
  1527. /package/{esm/components/panel/GridPanelContext.js → components/panel/GridPanelContext.mjs} +0 -0
  1528. /package/{esm/components/panel/GridPanelFooter.d.ts → components/panel/GridPanelFooter.d.mts} +0 -0
  1529. /package/{esm/components/panel/GridPanelHeader.d.ts → components/panel/GridPanelHeader.d.mts} +0 -0
  1530. /package/{esm/components/panel/GridPanelWrapper.d.ts → components/panel/GridPanelWrapper.d.mts} +0 -0
  1531. /package/{esm/components/panel/GridPreferencesPanel.d.ts → components/panel/GridPreferencesPanel.d.mts} +0 -0
  1532. /package/{esm/components/panel/filterPanel/filterPanelUtils.js → components/panel/filterPanel/filterPanelUtils.mjs} +0 -0
  1533. /package/{esm/components/quickFilter/QuickFilterContext.d.ts → components/quickFilter/QuickFilterContext.d.mts} +0 -0
  1534. /package/{esm/components/quickFilter/QuickFilterContext.js → components/quickFilter/QuickFilterContext.mjs} +0 -0
  1535. /package/{esm/components/toolbarV8/Toolbar.d.ts → components/toolbarV8/Toolbar.d.mts} +0 -0
  1536. /package/{esm/components/toolbarV8/ToolbarContext.d.ts → components/toolbarV8/ToolbarContext.d.mts} +0 -0
  1537. /package/{esm/components/toolbarV8/ToolbarContext.js → components/toolbarV8/ToolbarContext.mjs} +0 -0
  1538. /package/{esm/components/toolbarV8/utils.d.ts → components/toolbarV8/utils.d.mts} +0 -0
  1539. /package/{esm/components/toolbarV8/utils.js → components/toolbarV8/utils.mjs} +0 -0
  1540. /package/{esm/components/virtualization/GridBottomContainer.d.ts → components/virtualization/GridBottomContainer.d.mts} +0 -0
  1541. /package/{esm/components/virtualization/GridTopContainer.d.ts → components/virtualization/GridTopContainer.d.mts} +0 -0
  1542. /package/{esm/components/virtualization/GridVirtualScrollbar.d.ts → components/virtualization/GridVirtualScrollbar.d.mts} +0 -0
  1543. /package/{esm/components/virtualization/GridVirtualScroller.d.ts → components/virtualization/GridVirtualScroller.d.mts} +0 -0
  1544. /package/{esm/components/virtualization/GridVirtualScrollerContent.d.ts → components/virtualization/GridVirtualScrollerContent.d.mts} +0 -0
  1545. /package/{esm/components/virtualization/GridVirtualScrollerFiller.d.ts → components/virtualization/GridVirtualScrollerFiller.d.mts} +0 -0
  1546. /package/{esm/components/virtualization/GridVirtualScrollerRenderZone.d.ts → components/virtualization/GridVirtualScrollerRenderZone.d.mts} +0 -0
  1547. /package/{esm/constants/cssVariables.d.ts → constants/cssVariables.d.mts} +0 -0
  1548. /package/{esm/constants/cssVariables.js → constants/cssVariables.mjs} +0 -0
  1549. /package/{esm/constants/envConstants.d.ts → constants/envConstants.d.mts} +0 -0
  1550. /package/{esm/constants/envConstants.js → constants/envConstants.mjs} +0 -0
  1551. /package/{esm/constants/gridClasses.d.ts → constants/gridClasses.d.mts} +0 -0
  1552. /package/{esm/constants/gridClasses.js → constants/gridClasses.mjs} +0 -0
  1553. /package/{esm/constants/localeTextConstants.js → constants/localeTextConstants.mjs} +0 -0
  1554. /package/{esm/constants/signature.d.ts → constants/signature.d.mts} +0 -0
  1555. /package/{esm/constants/signature.js → constants/signature.mjs} +0 -0
  1556. /package/{esm/context/GridRootPropsContext.d.ts → context/GridRootPropsContext.d.mts} +0 -0
  1557. /package/{esm/context/GridRootPropsContext.js → context/GridRootPropsContext.mjs} +0 -0
  1558. /package/{esm/hooks/core/pipeProcessing/gridPipeProcessingApi.js → hooks/core/pipeProcessing/gridPipeProcessingApi.mjs} +0 -0
  1559. /package/{esm/hooks/core/strategyProcessing/gridStrategyProcessingApi.js → hooks/core/strategyProcessing/gridStrategyProcessingApi.mjs} +0 -0
  1560. /package/{esm/hooks/core/useGridIsRtl.js → hooks/core/useGridIsRtl.mjs} +0 -0
  1561. /package/{esm/hooks/core/useGridLocaleText.js → hooks/core/useGridLocaleText.mjs} +0 -0
  1562. /package/{esm/hooks/core/useGridProps.js → hooks/core/useGridProps.mjs} +0 -0
  1563. /package/{esm/hooks/core/useGridRefs.js → hooks/core/useGridRefs.mjs} +0 -0
  1564. /package/{esm/hooks/core/useGridVirtualizer.d.ts → hooks/core/useGridVirtualizer.d.mts} +0 -0
  1565. /package/{esm/hooks/features/columnGrouping/gridColumnGroupsInterfaces.js → hooks/features/columnGrouping/gridColumnGroupsInterfaces.mjs} +0 -0
  1566. /package/{esm/hooks/features/columnMenu/columnMenuInterfaces.d.ts → hooks/features/columnMenu/columnMenuInterfaces.d.mts} +0 -0
  1567. /package/{esm/hooks/features/columnMenu/columnMenuInterfaces.js → hooks/features/columnMenu/columnMenuInterfaces.mjs} +0 -0
  1568. /package/{esm/hooks/features/columnMenu/getColumnMenuItemKeys.js → hooks/features/columnMenu/getColumnMenuItemKeys.mjs} +0 -0
  1569. /package/{esm/hooks/features/columnResize/columnResizeState.d.ts → hooks/features/columnResize/columnResizeState.d.mts} +0 -0
  1570. /package/{esm/hooks/features/columnResize/columnResizeState.js → hooks/features/columnResize/columnResizeState.mjs} +0 -0
  1571. /package/{esm/hooks/features/columnResize/gridColumnResizeApi.js → hooks/features/columnResize/gridColumnResizeApi.mjs} +0 -0
  1572. /package/{esm/hooks/features/columns/gridColumnsInterfaces.js → hooks/features/columns/gridColumnsInterfaces.mjs} +0 -0
  1573. /package/{esm/hooks/features/dataSource/cache.js → hooks/features/dataSource/cache.mjs} +0 -0
  1574. /package/{esm/hooks/features/dataSource/gridDataSourceError.js → hooks/features/dataSource/gridDataSourceError.mjs} +0 -0
  1575. /package/{esm/hooks/features/dataSource/models.js → hooks/features/dataSource/models.mjs} +0 -0
  1576. /package/{esm/hooks/features/dataSource/utils.js → hooks/features/dataSource/utils.mjs} +0 -0
  1577. /package/{esm/hooks/features/density/densityState.js → hooks/features/density/densityState.mjs} +0 -0
  1578. /package/{esm/hooks/features/dimensions/gridDimensionsApi.d.ts → hooks/features/dimensions/gridDimensionsApi.d.mts} +0 -0
  1579. /package/{esm/hooks/features/dimensions/gridDimensionsApi.js → hooks/features/dimensions/gridDimensionsApi.mjs} +0 -0
  1580. /package/{esm/hooks/features/editing/utils.js → hooks/features/editing/utils.mjs} +0 -0
  1581. /package/{esm/hooks/features/focus/gridFocusState.js → hooks/features/focus/gridFocusState.mjs} +0 -0
  1582. /package/{esm/hooks/features/overlays/gridOverlaysInterfaces.js → hooks/features/overlays/gridOverlaysInterfaces.mjs} +0 -0
  1583. /package/{esm/hooks/features/overlays/index.js → hooks/features/overlays/index.mjs} +0 -0
  1584. /package/{esm/hooks/features/pagination/gridPaginationInterfaces.js → hooks/features/pagination/gridPaginationInterfaces.mjs} +0 -0
  1585. /package/{esm/hooks/features/pivoting/gridPivotingInterfaces.js → hooks/features/pivoting/gridPivotingInterfaces.mjs} +0 -0
  1586. /package/{esm/hooks/features/preferencesPanel/gridPreferencePanelState.js → hooks/features/preferencesPanel/gridPreferencePanelState.mjs} +0 -0
  1587. /package/{esm/hooks/features/preferencesPanel/gridPreferencePanelsValue.d.ts → hooks/features/preferencesPanel/gridPreferencePanelsValue.d.mts} +0 -0
  1588. /package/{esm/hooks/features/preferencesPanel/gridPreferencePanelsValue.js → hooks/features/preferencesPanel/gridPreferencePanelsValue.mjs} +0 -0
  1589. /package/{esm/hooks/features/rowReorder/gridRowReorderInterfaces.js → hooks/features/rowReorder/gridRowReorderInterfaces.mjs} +0 -0
  1590. /package/{esm/hooks/features/rows/gridRowsInterfaces.js → hooks/features/rows/gridRowsInterfaces.mjs} +0 -0
  1591. /package/{esm/hooks/features/rows/gridRowsMetaInterfaces.js → hooks/features/rows/gridRowsMetaInterfaces.mjs} +0 -0
  1592. /package/{esm/hooks/features/rows/gridRowsMetaState.d.ts → hooks/features/rows/gridRowsMetaState.d.mts} +0 -0
  1593. /package/{esm/hooks/features/rows/gridRowsMetaState.js → hooks/features/rows/gridRowsMetaState.mjs} +0 -0
  1594. /package/{esm/hooks/features/sorting/gridSortingState.js → hooks/features/sorting/gridSortingState.mjs} +0 -0
  1595. /package/{esm/hooks/features/statePersistence/gridStatePersistenceInterface.js → hooks/features/statePersistence/gridStatePersistenceInterface.mjs} +0 -0
  1596. /package/{esm/hooks/features/statePersistence/index.js → hooks/features/statePersistence/index.mjs} +0 -0
  1597. /package/{esm/hooks/utils/useFirstRender.d.ts → hooks/utils/useFirstRender.d.mts} +0 -0
  1598. /package/{esm/hooks/utils/useFirstRender.js → hooks/utils/useFirstRender.mjs} +0 -0
  1599. /package/{esm/hooks/utils/useGridApiMethod.js → hooks/utils/useGridApiMethod.mjs} +0 -0
  1600. /package/{esm/hooks/utils/useGridApiRef.js → hooks/utils/useGridApiRef.mjs} +0 -0
  1601. /package/{esm/hooks/utils/useGridAriaAttributes.d.ts → hooks/utils/useGridAriaAttributes.d.mts} +0 -0
  1602. /package/{esm/hooks/utils/useGridInitializeState.js → hooks/utils/useGridInitializeState.mjs} +0 -0
  1603. /package/{esm/hooks/utils/useGridLogger.js → hooks/utils/useGridLogger.mjs} +0 -0
  1604. /package/{esm/hooks/utils/useGridPrivateApiContext.js → hooks/utils/useGridPrivateApiContext.mjs} +0 -0
  1605. /package/{esm/hooks/utils/useIsSSR.d.ts → hooks/utils/useIsSSR.d.mts} +0 -0
  1606. /package/{esm/hooks/utils/useIsSSR.js → hooks/utils/useIsSSR.mjs} +0 -0
  1607. /package/{esm/hooks/utils/useLazyRef.d.ts → hooks/utils/useLazyRef.d.mts} +0 -0
  1608. /package/{esm/hooks/utils/useLazyRef.js → hooks/utils/useLazyRef.mjs} +0 -0
  1609. /package/{esm/hooks/utils/useOnMount.d.ts → hooks/utils/useOnMount.d.mts} +0 -0
  1610. /package/{esm/hooks/utils/useOnMount.js → hooks/utils/useOnMount.mjs} +0 -0
  1611. /package/{esm/hooks/utils/useRunOncePerLoop.d.ts → hooks/utils/useRunOncePerLoop.d.mts} +0 -0
  1612. /package/{esm/hooks/utils/useRunOncePerLoop.js → hooks/utils/useRunOncePerLoop.mjs} +0 -0
  1613. /package/{esm/hooks/utils/useTimeout.d.ts → hooks/utils/useTimeout.d.mts} +0 -0
  1614. /package/{esm/hooks/utils/useTimeout.js → hooks/utils/useTimeout.mjs} +0 -0
  1615. /package/{esm/internals/constants.d.ts → internals/constants.d.mts} +0 -0
  1616. /package/{esm/internals/constants.js → internals/constants.mjs} +0 -0
  1617. /package/{esm/internals/demo/TailwindDemoContainer.d.ts → internals/demo/TailwindDemoContainer.d.mts} +0 -0
  1618. /package/{esm/internals/demo/TailwindDemoContainer.js → internals/demo/TailwindDemoContainer.mjs} +0 -0
  1619. /package/{esm/internals/utils/computeSlots.d.ts → internals/utils/computeSlots.d.mts} +0 -0
  1620. /package/{esm/internals/utils/computeSlots.js → internals/utils/computeSlots.mjs} +0 -0
  1621. /package/{esm/internals/utils/gridRowGroupingUtils.d.ts → internals/utils/gridRowGroupingUtils.d.mts} +0 -0
  1622. /package/{esm/material/augmentation.d.ts → material/augmentation.d.mts} +0 -0
  1623. /package/{esm/material/augmentation.js → material/augmentation.mjs} +0 -0
  1624. /package/{esm/material/icons/createSvgIcon.js → material/icons/createSvgIcon.mjs} +0 -0
  1625. /package/{esm/material/icons/index.d.ts → material/icons/index.d.mts} +0 -0
  1626. /package/{esm/models/api/gridApiCommon.js → models/api/gridApiCommon.mjs} +0 -0
  1627. /package/{esm/models/api/gridApiCommunity.js → models/api/gridApiCommunity.mjs} +0 -0
  1628. /package/{esm/models/api/gridCallbackDetails.js → models/api/gridCallbackDetails.mjs} +0 -0
  1629. /package/{esm/models/api/gridColumnApi.js → models/api/gridColumnApi.mjs} +0 -0
  1630. /package/{esm/models/api/gridColumnGroupingApi.js → models/api/gridColumnGroupingApi.mjs} +0 -0
  1631. /package/{esm/models/api/gridColumnMenuApi.d.ts → models/api/gridColumnMenuApi.d.mts} +0 -0
  1632. /package/{esm/models/api/gridColumnMenuApi.js → models/api/gridColumnMenuApi.mjs} +0 -0
  1633. /package/{esm/models/api/gridColumnSpanning.js → models/api/gridColumnSpanning.mjs} +0 -0
  1634. /package/{esm/models/api/gridCoreApi.js → models/api/gridCoreApi.mjs} +0 -0
  1635. /package/{esm/models/api/gridCsvExportApi.js → models/api/gridCsvExportApi.mjs} +0 -0
  1636. /package/{esm/models/api/gridDensityApi.js → models/api/gridDensityApi.mjs} +0 -0
  1637. /package/{esm/models/api/gridEditingApi.js → models/api/gridEditingApi.mjs} +0 -0
  1638. /package/{esm/models/api/gridFilterApi.js → models/api/gridFilterApi.mjs} +0 -0
  1639. /package/{esm/models/api/gridFocusApi.js → models/api/gridFocusApi.mjs} +0 -0
  1640. /package/{esm/models/api/gridHeaderFilteringApi.js → models/api/gridHeaderFilteringApi.mjs} +0 -0
  1641. /package/{esm/models/api/gridInfiniteLoaderApi.d.ts → models/api/gridInfiniteLoaderApi.d.mts} +0 -0
  1642. /package/{esm/models/api/gridInfiniteLoaderApi.js → models/api/gridInfiniteLoaderApi.mjs} +0 -0
  1643. /package/{esm/models/api/gridLocaleTextApi.js → models/api/gridLocaleTextApi.mjs} +0 -0
  1644. /package/{esm/models/api/gridLoggerApi.js → models/api/gridLoggerApi.mjs} +0 -0
  1645. /package/{esm/models/api/gridParamsApi.js → models/api/gridParamsApi.mjs} +0 -0
  1646. /package/{esm/models/api/gridPreferencesPanelApi.js → models/api/gridPreferencesPanelApi.mjs} +0 -0
  1647. /package/{esm/models/api/gridPrintExportApi.js → models/api/gridPrintExportApi.mjs} +0 -0
  1648. /package/{esm/models/api/gridRowApi.js → models/api/gridRowApi.mjs} +0 -0
  1649. /package/{esm/models/api/gridRowSelectionApi.js → models/api/gridRowSelectionApi.mjs} +0 -0
  1650. /package/{esm/models/api/gridRowsMetaApi.js → models/api/gridRowsMetaApi.mjs} +0 -0
  1651. /package/{esm/models/api/gridScrollApi.js → models/api/gridScrollApi.mjs} +0 -0
  1652. /package/{esm/models/api/gridSortApi.js → models/api/gridSortApi.mjs} +0 -0
  1653. /package/{esm/models/api/gridStateApi.js → models/api/gridStateApi.mjs} +0 -0
  1654. /package/{esm/models/api/gridVirtualizationApi.d.ts → models/api/gridVirtualizationApi.d.mts} +0 -0
  1655. /package/{esm/models/api/gridVirtualizationApi.js → models/api/gridVirtualizationApi.mjs} +0 -0
  1656. /package/{esm/models/colDef/gridColDef.js → models/colDef/gridColDef.mjs} +0 -0
  1657. /package/{esm/models/colDef/gridColType.d.ts → models/colDef/gridColType.d.mts} +0 -0
  1658. /package/{esm/models/colDef/gridColType.js → models/colDef/gridColType.mjs} +0 -0
  1659. /package/{esm/models/colDef/gridColumnTypesRecord.js → models/colDef/gridColumnTypesRecord.mjs} +0 -0
  1660. /package/{esm/models/configuration/gridAggregationConfiguration.js → models/configuration/gridAggregationConfiguration.mjs} +0 -0
  1661. /package/{esm/models/configuration/gridCellEditableConfiguration.js → models/configuration/gridCellEditableConfiguration.mjs} +0 -0
  1662. /package/{esm/models/configuration/gridConfiguration.js → models/configuration/gridConfiguration.mjs} +0 -0
  1663. /package/{esm/models/configuration/gridParamsConfiguration.js → models/configuration/gridParamsConfiguration.mjs} +0 -0
  1664. /package/{esm/models/configuration/gridRowConfiguration.js → models/configuration/gridRowConfiguration.mjs} +0 -0
  1665. /package/{esm/models/controlStateItem.js → models/controlStateItem.mjs} +0 -0
  1666. /package/{esm/models/cursorCoordinates.d.ts → models/cursorCoordinates.d.mts} +0 -0
  1667. /package/{esm/models/cursorCoordinates.js → models/cursorCoordinates.mjs} +0 -0
  1668. /package/{esm/models/elementSize.d.ts → models/elementSize.d.mts} +0 -0
  1669. /package/{esm/models/elementSize.js → models/elementSize.mjs} +0 -0
  1670. /package/{esm/models/events/gridEventListener.js → models/events/gridEventListener.mjs} +0 -0
  1671. /package/{esm/models/events/gridEventLookup.js → models/events/gridEventLookup.mjs} +0 -0
  1672. /package/{esm/models/events/gridEventPublisher.js → models/events/gridEventPublisher.mjs} +0 -0
  1673. /package/{esm/models/gridAggregation.d.ts → models/gridAggregation.d.mts} +0 -0
  1674. /package/{esm/models/gridAggregation.js → models/gridAggregation.mjs} +0 -0
  1675. /package/{esm/models/gridApiCaches.js → models/gridApiCaches.mjs} +0 -0
  1676. /package/{esm/models/gridBaseSlots.d.ts → models/gridBaseSlots.d.mts} +0 -0
  1677. /package/{esm/models/gridBaseSlots.js → models/gridBaseSlots.mjs} +0 -0
  1678. /package/{esm/models/gridCell.js → models/gridCell.mjs} +0 -0
  1679. /package/{esm/models/gridCellClass.js → models/gridCellClass.mjs} +0 -0
  1680. /package/{esm/models/gridColumnGrouping.js → models/gridColumnGrouping.mjs} +0 -0
  1681. /package/{esm/models/gridColumnHeaderClass.js → models/gridColumnHeaderClass.mjs} +0 -0
  1682. /package/{esm/models/gridColumnSpanning.d.ts → models/gridColumnSpanning.d.mts} +0 -0
  1683. /package/{esm/models/gridColumnSpanning.js → models/gridColumnSpanning.mjs} +0 -0
  1684. /package/{esm/models/gridDataSource.js → models/gridDataSource.mjs} +0 -0
  1685. /package/{esm/models/gridDensity.d.ts → models/gridDensity.d.mts} +0 -0
  1686. /package/{esm/models/gridDensity.js → models/gridDensity.mjs} +0 -0
  1687. /package/{esm/models/gridEditRowModel.js → models/gridEditRowModel.mjs} +0 -0
  1688. /package/{esm/models/gridExport.js → models/gridExport.mjs} +0 -0
  1689. /package/{esm/models/gridFeatureMode.d.ts → models/gridFeatureMode.d.mts} +0 -0
  1690. /package/{esm/models/gridFeatureMode.js → models/gridFeatureMode.mjs} +0 -0
  1691. /package/{esm/models/gridFilterInputComponent.js → models/gridFilterInputComponent.mjs} +0 -0
  1692. /package/{esm/models/gridFilterItem.js → models/gridFilterItem.mjs} +0 -0
  1693. /package/{esm/models/gridFilterModel.js → models/gridFilterModel.mjs} +0 -0
  1694. /package/{esm/models/gridFilterOperator.js → models/gridFilterOperator.mjs} +0 -0
  1695. /package/{esm/models/gridHeaderFilteringModel.js → models/gridHeaderFilteringModel.mjs} +0 -0
  1696. /package/{esm/models/gridIconSlotsComponent.js → models/gridIconSlotsComponent.mjs} +0 -0
  1697. /package/{esm/models/gridPaginationProps.d.ts → models/gridPaginationProps.d.mts} +0 -0
  1698. /package/{esm/models/gridPaginationProps.js → models/gridPaginationProps.mjs} +0 -0
  1699. /package/{esm/models/gridRenderContextProps.d.ts → models/gridRenderContextProps.d.mts} +0 -0
  1700. /package/{esm/models/gridRenderContextProps.js → models/gridRenderContextProps.mjs} +0 -0
  1701. /package/{esm/models/gridRowSelectionManager.js → models/gridRowSelectionManager.mjs} +0 -0
  1702. /package/{esm/models/gridRowSelectionModel.js → models/gridRowSelectionModel.mjs} +0 -0
  1703. /package/{esm/models/gridRows.js → models/gridRows.mjs} +0 -0
  1704. /package/{esm/models/gridSlotsComponent.js → models/gridSlotsComponent.mjs} +0 -0
  1705. /package/{esm/models/gridSlotsComponentsProps.js → models/gridSlotsComponentsProps.mjs} +0 -0
  1706. /package/{esm/models/gridSortModel.js → models/gridSortModel.mjs} +0 -0
  1707. /package/{esm/models/gridStateCommunity.js → models/gridStateCommunity.mjs} +0 -0
  1708. /package/{esm/models/logger.d.ts → models/logger.d.mts} +0 -0
  1709. /package/{esm/models/logger.js → models/logger.mjs} +0 -0
  1710. /package/{esm/models/params/gridCellParams.js → models/params/gridCellParams.mjs} +0 -0
  1711. /package/{esm/models/params/gridColumnGroupHeaderParams.js → models/params/gridColumnGroupHeaderParams.mjs} +0 -0
  1712. /package/{esm/models/params/gridColumnHeaderParams.js → models/params/gridColumnHeaderParams.mjs} +0 -0
  1713. /package/{esm/models/params/gridColumnOrderChangeParams.js → models/params/gridColumnOrderChangeParams.mjs} +0 -0
  1714. /package/{esm/models/params/gridColumnResizeParams.js → models/params/gridColumnResizeParams.mjs} +0 -0
  1715. /package/{esm/models/params/gridEditCellParams.js → models/params/gridEditCellParams.mjs} +0 -0
  1716. /package/{esm/models/params/gridHeaderSelectionCheckboxParams.d.ts → models/params/gridHeaderSelectionCheckboxParams.d.mts} +0 -0
  1717. /package/{esm/models/params/gridHeaderSelectionCheckboxParams.js → models/params/gridHeaderSelectionCheckboxParams.mjs} +0 -0
  1718. /package/{esm/models/params/gridMenuParams.d.ts → models/params/gridMenuParams.d.mts} +0 -0
  1719. /package/{esm/models/params/gridMenuParams.js → models/params/gridMenuParams.mjs} +0 -0
  1720. /package/{esm/models/params/gridPreferencePanelParams.js → models/params/gridPreferencePanelParams.mjs} +0 -0
  1721. /package/{esm/models/params/gridRowParams.js → models/params/gridRowParams.mjs} +0 -0
  1722. /package/{esm/models/params/gridRowSelectionCheckboxParams.js → models/params/gridRowSelectionCheckboxParams.mjs} +0 -0
  1723. /package/{esm/models/params/gridScrollParams.d.ts → models/params/gridScrollParams.d.mts} +0 -0
  1724. /package/{esm/models/params/gridScrollParams.js → models/params/gridScrollParams.mjs} +0 -0
  1725. /package/{esm/models/params/gridValueOptionsParams.js → models/params/gridValueOptionsParams.mjs} +0 -0
  1726. /package/{esm/models/props/DataGridProps.js → models/props/DataGridProps.mjs} +0 -0
  1727. /package/{esm/themeAugmentation/overrides.js → themeAugmentation/overrides.mjs} +0 -0
  1728. /package/{esm/themeAugmentation/props.js → themeAugmentation/props.mjs} +0 -0
  1729. /package/{esm/utils/ResizeObserver.d.ts → utils/ResizeObserver.d.mts} +0 -0
  1730. /package/{esm/utils/ResizeObserver.js → utils/ResizeObserver.mjs} +0 -0
  1731. /package/{esm/utils/assert.d.ts → utils/assert.d.mts} +0 -0
  1732. /package/{esm/utils/assert.js → utils/assert.mjs} +0 -0
  1733. /package/{esm/utils/cleanupTracking/CleanupTracking.d.ts → utils/cleanupTracking/CleanupTracking.d.mts} +0 -0
  1734. /package/{esm/utils/cleanupTracking/CleanupTracking.js → utils/cleanupTracking/CleanupTracking.mjs} +0 -0
  1735. /package/{esm/utils/cleanupTracking/FinalizationRegistryBasedCleanupTracking.js → utils/cleanupTracking/FinalizationRegistryBasedCleanupTracking.mjs} +0 -0
  1736. /package/{esm/utils/cleanupTracking/TimerBasedCleanupTracking.js → utils/cleanupTracking/TimerBasedCleanupTracking.mjs} +0 -0
  1737. /package/{esm/utils/createControllablePromise.d.ts → utils/createControllablePromise.d.mts} +0 -0
  1738. /package/{esm/utils/createControllablePromise.js → utils/createControllablePromise.mjs} +0 -0
  1739. /package/{esm/utils/createSelector.d.ts → utils/createSelector.d.mts} +0 -0
  1740. /package/{esm/utils/createSelector.js → utils/createSelector.mjs} +0 -0
  1741. /package/{esm/utils/css/context.d.ts → utils/css/context.d.mts} +0 -0
  1742. /package/{esm/utils/doesSupportPreventScroll.d.ts → utils/doesSupportPreventScroll.d.mts} +0 -0
  1743. /package/{esm/utils/doesSupportPreventScroll.js → utils/doesSupportPreventScroll.mjs} +0 -0
  1744. /package/{esm/utils/exportAs.js → utils/exportAs.mjs} +0 -0
  1745. /package/{esm/utils/getGridLocalization.js → utils/getGridLocalization.mjs} +0 -0
  1746. /package/{esm/utils/getPublicApiRef.js → utils/getPublicApiRef.mjs} +0 -0
  1747. /package/{esm/utils/isJSDOM.d.ts → utils/isJSDOM.d.mts} +0 -0
  1748. /package/{esm/utils/isJSDOM.js → utils/isJSDOM.mjs} +0 -0
  1749. /package/{esm/utils/keyboardUtils.d.ts → utils/keyboardUtils.d.mts} +0 -0
  1750. /package/{esm/utils/keyboardUtils.js → utils/keyboardUtils.mjs} +0 -0
  1751. /package/{esm/utils/roundToDecimalPlaces.d.ts → utils/roundToDecimalPlaces.d.mts} +0 -0
  1752. /package/{esm/utils/roundToDecimalPlaces.js → utils/roundToDecimalPlaces.mjs} +0 -0
  1753. /package/{esm/utils/utils.d.ts → utils/utils.d.mts} +0 -0
  1754. /package/{esm/utils/utils.js → utils/utils.mjs} +0 -0
@@ -0,0 +1,208 @@
1
+ 'use client';
2
+
3
+ import _extends from "@babel/runtime/helpers/esm/extends";
4
+ import * as React from 'react';
5
+ import { Rowspan } from '@mui/x-virtualizer/features';
6
+ import { gridVisibleColumnDefinitionsSelector } from "../columns/gridColumnsSelector.mjs";
7
+ import { getVisibleRows } from "../../utils/useGridVisibleRows.mjs";
8
+ import { gridRenderContextSelector } from "../virtualization/gridVirtualizationSelectors.mjs";
9
+ import { getUnprocessedRange, isRowContextInitialized, getCellValue } from "./gridRowSpanningUtils.mjs";
10
+ import { useGridEvent } from "../../utils/useGridEvent.mjs";
11
+ import { runIf } from "../../../utils/utils.mjs";
12
+ import { useRunOncePerLoop } from "../../utils/useRunOncePerLoop.mjs";
13
+ const EMPTY_CACHES = {
14
+ spannedCells: {},
15
+ hiddenCells: {},
16
+ hiddenCellOriginMap: {}
17
+ };
18
+ const EMPTY_RANGE = {
19
+ firstRowIndex: 0,
20
+ lastRowIndex: 0
21
+ };
22
+ const EMPTY_STATE = {
23
+ caches: EMPTY_CACHES,
24
+ processedRange: EMPTY_RANGE
25
+ };
26
+ const computeRowSpanningState = (apiRef, colDefs, visibleRows, range, rangeToProcess, resetState) => {
27
+ const virtualizer = apiRef.current.virtualizer;
28
+ const previousState = resetState ? EMPTY_STATE : Rowspan.selectors.state(virtualizer.store.state);
29
+ const spannedCells = _extends({}, previousState.caches.spannedCells);
30
+ const hiddenCells = _extends({}, previousState.caches.hiddenCells);
31
+ const hiddenCellOriginMap = _extends({}, previousState.caches.hiddenCellOriginMap);
32
+ const processedRange = {
33
+ firstRowIndex: Math.min(previousState.processedRange.firstRowIndex, rangeToProcess.firstRowIndex),
34
+ lastRowIndex: Math.max(previousState.processedRange.lastRowIndex, rangeToProcess.lastRowIndex)
35
+ };
36
+ colDefs.forEach((colDef, columnIndex) => {
37
+ for (let index = rangeToProcess.firstRowIndex; index < rangeToProcess.lastRowIndex; index += 1) {
38
+ const row = visibleRows[index];
39
+ if (hiddenCells[row.id]?.[columnIndex]) {
40
+ continue;
41
+ }
42
+ const cellValue = getCellValue(row.model, colDef, apiRef);
43
+ if (cellValue == null) {
44
+ continue;
45
+ }
46
+ let spannedRowId = row.id;
47
+ let spannedRowIndex = index;
48
+ let rowSpan = 0;
49
+
50
+ // For first index, also scan in the previous rows to handle the reset state case e.g by sorting
51
+ const backwardsHiddenCells = [];
52
+ if (index === rangeToProcess.firstRowIndex) {
53
+ let prevIndex = index - 1;
54
+ let prevRowEntry = visibleRows[prevIndex];
55
+ while (prevIndex >= range.firstRowIndex && prevRowEntry && getCellValue(prevRowEntry.model, colDef, apiRef) === cellValue) {
56
+ const currentRow = visibleRows[prevIndex + 1];
57
+ if (hiddenCells[currentRow.id]) {
58
+ hiddenCells[currentRow.id][columnIndex] = true;
59
+ } else {
60
+ hiddenCells[currentRow.id] = {
61
+ [columnIndex]: true
62
+ };
63
+ }
64
+ backwardsHiddenCells.push(index);
65
+ rowSpan += 1;
66
+ spannedRowId = prevRowEntry.id;
67
+ spannedRowIndex = prevIndex;
68
+ prevIndex -= 1;
69
+ prevRowEntry = visibleRows[prevIndex];
70
+ }
71
+ }
72
+ backwardsHiddenCells.forEach(hiddenCellIndex => {
73
+ if (hiddenCellOriginMap[hiddenCellIndex]) {
74
+ hiddenCellOriginMap[hiddenCellIndex][columnIndex] = spannedRowIndex;
75
+ } else {
76
+ hiddenCellOriginMap[hiddenCellIndex] = {
77
+ [columnIndex]: spannedRowIndex
78
+ };
79
+ }
80
+ });
81
+
82
+ // Scan the next rows
83
+ let relativeIndex = index + 1;
84
+ while (relativeIndex <= range.lastRowIndex && visibleRows[relativeIndex] && getCellValue(visibleRows[relativeIndex].model, colDef, apiRef) === cellValue) {
85
+ const currentRow = visibleRows[relativeIndex];
86
+ if (hiddenCells[currentRow.id]) {
87
+ hiddenCells[currentRow.id][columnIndex] = true;
88
+ } else {
89
+ hiddenCells[currentRow.id] = {
90
+ [columnIndex]: true
91
+ };
92
+ }
93
+ if (hiddenCellOriginMap[relativeIndex]) {
94
+ hiddenCellOriginMap[relativeIndex][columnIndex] = spannedRowIndex;
95
+ } else {
96
+ hiddenCellOriginMap[relativeIndex] = {
97
+ [columnIndex]: spannedRowIndex
98
+ };
99
+ }
100
+ relativeIndex += 1;
101
+ rowSpan += 1;
102
+ }
103
+ if (rowSpan > 0) {
104
+ if (spannedCells[spannedRowId]) {
105
+ spannedCells[spannedRowId][columnIndex] = rowSpan + 1;
106
+ } else {
107
+ spannedCells[spannedRowId] = {
108
+ [columnIndex]: rowSpan + 1
109
+ };
110
+ }
111
+ }
112
+ }
113
+ });
114
+ return {
115
+ caches: {
116
+ spannedCells,
117
+ hiddenCells,
118
+ hiddenCellOriginMap
119
+ },
120
+ processedRange
121
+ };
122
+ };
123
+
124
+ /**
125
+ * @requires columnsStateInitializer (method) - should be initialized before
126
+ * @requires rowsStateInitializer (method) - should be initialized before
127
+ * @requires filterStateInitializer (method) - should be initialized before
128
+ */
129
+ export const rowSpanningStateInitializer = state => {
130
+ return _extends({}, state, {
131
+ rowSpanning: EMPTY_STATE
132
+ });
133
+ };
134
+ export const useGridRowSpanning = (apiRef, props) => {
135
+ const updateRowSpanningState = React.useCallback((renderContext, resetState = false) => {
136
+ const store = apiRef.current.virtualizer.store;
137
+ const {
138
+ range,
139
+ rows: visibleRows
140
+ } = getVisibleRows(apiRef);
141
+ if (resetState) {
142
+ store.set('rowSpanning', EMPTY_STATE);
143
+ }
144
+ if (range === null || !isRowContextInitialized(renderContext)) {
145
+ return;
146
+ }
147
+ const previousState = resetState ? EMPTY_STATE : Rowspan.selectors.state(store.state);
148
+ const rangeToProcess = getUnprocessedRange({
149
+ firstRowIndex: renderContext.firstRowIndex,
150
+ lastRowIndex: Math.min(renderContext.lastRowIndex, range.lastRowIndex - range.firstRowIndex + 1)
151
+ }, previousState.processedRange);
152
+ if (rangeToProcess === null) {
153
+ return;
154
+ }
155
+ const colDefs = gridVisibleColumnDefinitionsSelector(apiRef);
156
+ const newState = computeRowSpanningState(apiRef, colDefs, visibleRows, range, rangeToProcess, resetState);
157
+ const newSpannedCellsCount = Object.keys(newState.caches.spannedCells).length;
158
+ const newHiddenCellsCount = Object.keys(newState.caches.hiddenCells).length;
159
+ const previousSpannedCellsCount = Object.keys(previousState.caches.spannedCells).length;
160
+ const previousHiddenCellsCount = Object.keys(previousState.caches.hiddenCells).length;
161
+ const shouldUpdateState = resetState || newSpannedCellsCount !== previousSpannedCellsCount || newHiddenCellsCount !== previousHiddenCellsCount;
162
+ const hasNoSpannedCells = newSpannedCellsCount === 0 && previousSpannedCellsCount === 0;
163
+ if (!shouldUpdateState || hasNoSpannedCells) {
164
+ return;
165
+ }
166
+ store.set('rowSpanning', newState);
167
+ }, [apiRef]);
168
+
169
+ // Reset events trigger a full re-computation of the row spanning state:
170
+ // - The `rowSpanning` prop is updated (feature flag)
171
+ // - The filtering is applied
172
+ // - The sorting is applied
173
+ // - The `paginationModel` is updated
174
+ // - The rows are updated
175
+ const {
176
+ schedule: deferredUpdateRowSpanningState,
177
+ cancel
178
+ } = useRunOncePerLoop(updateRowSpanningState);
179
+ const resetRowSpanningState = React.useCallback(() => {
180
+ const renderContext = gridRenderContextSelector(apiRef);
181
+ if (!isRowContextInitialized(renderContext)) {
182
+ return;
183
+ }
184
+ deferredUpdateRowSpanningState(renderContext, true);
185
+ }, [apiRef, deferredUpdateRowSpanningState]);
186
+ useGridEvent(apiRef, 'renderedRowsIntervalChange', runIf(props.rowSpanning, renderContext => {
187
+ const didHavePendingReset = cancel();
188
+ updateRowSpanningState(renderContext, didHavePendingReset);
189
+ }));
190
+ useGridEvent(apiRef, 'sortedRowsSet', runIf(props.rowSpanning, resetRowSpanningState));
191
+ useGridEvent(apiRef, 'paginationModelChange', runIf(props.rowSpanning, resetRowSpanningState));
192
+ useGridEvent(apiRef, 'filteredRowsSet', runIf(props.rowSpanning, resetRowSpanningState));
193
+ useGridEvent(apiRef, 'columnsChange', runIf(props.rowSpanning, resetRowSpanningState));
194
+ useGridEvent(apiRef, 'rowExpansionChange', runIf(props.rowSpanning, resetRowSpanningState));
195
+ React.useEffect(() => {
196
+ const store = apiRef.current.virtualizer?.store;
197
+ if (!store) {
198
+ return;
199
+ }
200
+ if (!props.rowSpanning) {
201
+ if (store.state.rowSpanning !== EMPTY_STATE) {
202
+ store.set('rowSpanning', EMPTY_STATE);
203
+ }
204
+ } else if (store.state.rowSpanning === EMPTY_STATE) {
205
+ updateRowSpanningState(gridRenderContextSelector(apiRef));
206
+ }
207
+ }, [apiRef, props.rowSpanning, updateRowSpanningState]);
208
+ };
@@ -0,0 +1,7 @@
1
+ import type { RefObject } from '@mui/x-internals/types';
2
+ import type { DataGridProcessedProps } from "../../../models/props/DataGridProps.mjs";
3
+ import type { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.mjs";
4
+ import type { GridStateInitializer } from "../../utils/useGridInitializeState.mjs";
5
+ import type { GridConfiguration } from "../../../models/configuration/gridConfiguration.mjs";
6
+ export declare const rowsStateInitializer: GridStateInitializer<Pick<DataGridProcessedProps, 'dataSource' | 'rows' | 'rowCount' | 'getRowId' | 'loading'>>;
7
+ export declare const useGridRows: (apiRef: RefObject<GridPrivateApiCommunity>, props: Pick<DataGridProcessedProps, "rows" | "getRowId" | "rowCount" | "throttleRowsMs" | "signature" | "pagination" | "paginationMode" | "loading" | "dataSource" | "processRowUpdate" | "onProcessRowUpdateError">, configuration: GridConfiguration) => void;
@@ -0,0 +1,482 @@
1
+ 'use client';
2
+
3
+ import _extends from "@babel/runtime/helpers/esm/extends";
4
+ import * as React from 'react';
5
+ import useLazyRef from '@mui/utils/useLazyRef';
6
+ import { isObjectEmpty } from '@mui/x-internals/isObjectEmpty';
7
+ import { useGridApiMethod } from "../../utils/useGridApiMethod.mjs";
8
+ import { useGridLogger } from "../../utils/useGridLogger.mjs";
9
+ import { gridRowCountSelector, gridRowsLookupSelector, gridRowTreeSelector, gridRowGroupingNameSelector, gridRowTreeDepthsSelector, gridDataRowIdsSelector, gridRowMaximumTreeDepthSelector, gridRowGroupsToFetchSelector, gridRowNodeSelector, gridDataRowsSelector } from "./gridRowsSelector.mjs";
10
+ import { gridRowIdSelector } from "../../core/gridPropsSelectors.mjs";
11
+ import { useTimeout } from "../../utils/useTimeout.mjs";
12
+ import { GridSignature } from "../../../constants/signature.mjs";
13
+ import { useGridEvent } from "../../utils/useGridEvent.mjs";
14
+ import { getVisibleRows } from "../../utils/useGridVisibleRows.mjs";
15
+ import { gridSortedRowIdsSelector } from "../sorting/gridSortingSelector.mjs";
16
+ import { gridFilteredRowsLookupSelector } from "../filter/gridFilterSelector.mjs";
17
+ import { getTreeNodeDescendants, createRowsInternalCache, getRowsStateFromCache, isAutogeneratedRowNode, GRID_ROOT_GROUP_ID, GRID_ID_AUTOGENERATED, updateCacheWithNewRows, getTopLevelRowCount, getRowIdFromRowModel, computeRowsUpdates } from "./gridRowsUtils.mjs";
18
+ import { useGridRegisterPipeApplier } from "../../core/pipeProcessing/index.mjs";
19
+ import { GridStrategyGroup } from "../../core/strategyProcessing/index.mjs";
20
+ import { gridPivotActiveSelector } from "../pivoting/index.mjs";
21
+ export const rowsStateInitializer = (state, props, apiRef) => {
22
+ const isDataSourceAvailable = !!props.dataSource;
23
+ apiRef.current.caches.rows = createRowsInternalCache({
24
+ rows: isDataSourceAvailable ? [] : props.rows,
25
+ getRowId: props.getRowId,
26
+ loading: props.loading,
27
+ rowCount: props.rowCount
28
+ });
29
+ return _extends({}, state, {
30
+ rows: getRowsStateFromCache({
31
+ apiRef,
32
+ rowCountProp: props.rowCount,
33
+ loadingProp: isDataSourceAvailable ? true : props.loading,
34
+ previousTree: null,
35
+ previousTreeDepths: null
36
+ })
37
+ });
38
+ };
39
+ export const useGridRows = (apiRef, props, configuration) => {
40
+ if (process.env.NODE_ENV !== 'production') {
41
+ try {
42
+ // Freeze the `rows` prop so developers have a fast failure if they try to use Array.prototype.push().
43
+ Object.freeze(props.rows);
44
+ } catch (error) {
45
+ // Sometimes, it's impossible to freeze, so we give up on it.
46
+ }
47
+ }
48
+ const logger = useGridLogger(apiRef, 'useGridRows');
49
+ const lastUpdateMs = React.useRef(Date.now());
50
+ const lastRowCount = React.useRef(props.rowCount);
51
+ const timeout = useTimeout();
52
+
53
+ // Get overridable methods from configuration
54
+ const {
55
+ setRowIndex,
56
+ setRowPosition
57
+ } = configuration.hooks.useGridRowsOverridableMethods(apiRef, props);
58
+ const getRow = React.useCallback(id => {
59
+ const model = gridRowsLookupSelector(apiRef)[id];
60
+ if (model) {
61
+ return model;
62
+ }
63
+ const node = gridRowNodeSelector(apiRef, id);
64
+ if (node && isAutogeneratedRowNode(node)) {
65
+ return {
66
+ [GRID_ID_AUTOGENERATED]: id
67
+ };
68
+ }
69
+ return null;
70
+ }, [apiRef]);
71
+ const getRowId = React.useCallback(row => gridRowIdSelector(apiRef, row), [apiRef]);
72
+ const throttledRowsChange = React.useCallback(({
73
+ cache,
74
+ throttle
75
+ }) => {
76
+ const run = () => {
77
+ lastUpdateMs.current = Date.now();
78
+ apiRef.current.setState(state => _extends({}, state, {
79
+ rows: getRowsStateFromCache({
80
+ apiRef,
81
+ rowCountProp: props.rowCount,
82
+ loadingProp: props.loading,
83
+ previousTree: gridRowTreeSelector(apiRef),
84
+ previousTreeDepths: gridRowTreeDepthsSelector(apiRef),
85
+ previousGroupsToFetch: gridRowGroupsToFetchSelector(apiRef)
86
+ })
87
+ }));
88
+ apiRef.current.publishEvent('rowsSet');
89
+ };
90
+ timeout.clear();
91
+ apiRef.current.caches.rows = cache;
92
+ if (!throttle) {
93
+ run();
94
+ return;
95
+ }
96
+ const throttleRemainingTimeMs = props.throttleRowsMs - (Date.now() - lastUpdateMs.current);
97
+ if (throttleRemainingTimeMs > 0) {
98
+ timeout.start(throttleRemainingTimeMs, run);
99
+ return;
100
+ }
101
+ run();
102
+ }, [props.throttleRowsMs, props.rowCount, props.loading, apiRef, timeout]);
103
+
104
+ /**
105
+ * API METHODS
106
+ */
107
+ const setRows = React.useCallback(rows => {
108
+ logger.debug(`Updating all rows, new length ${rows.length}`);
109
+ if (!props.dataSource && gridPivotActiveSelector(apiRef)) {
110
+ apiRef.current.updateNonPivotRows(rows, false);
111
+ return;
112
+ }
113
+ const cache = createRowsInternalCache({
114
+ rows,
115
+ getRowId: props.getRowId,
116
+ loading: props.loading,
117
+ rowCount: props.rowCount
118
+ });
119
+ const prevCache = apiRef.current.caches.rows;
120
+ cache.rowsBeforePartialUpdates = prevCache.rowsBeforePartialUpdates;
121
+ throttledRowsChange({
122
+ cache,
123
+ throttle: true
124
+ });
125
+ }, [logger, props.getRowId, props.dataSource, props.loading, props.rowCount, throttledRowsChange, apiRef]);
126
+ const updateRows = React.useCallback(updates => {
127
+ if (props.signature === GridSignature.DataGrid && updates.length > 1) {
128
+ throw new Error(['MUI X: You cannot update several rows at once in `apiRef.current.updateRows` on the DataGrid.', 'You need to upgrade to DataGridPro or DataGridPremium component to unlock this feature.'].join('\n'));
129
+ }
130
+ if (!props.dataSource && gridPivotActiveSelector(apiRef)) {
131
+ apiRef.current.updateNonPivotRows(updates);
132
+ return;
133
+ }
134
+ const nonPinnedRowsUpdates = computeRowsUpdates(apiRef, updates, props.getRowId);
135
+ const cache = updateCacheWithNewRows({
136
+ updates: nonPinnedRowsUpdates,
137
+ getRowId: props.getRowId,
138
+ previousCache: apiRef.current.caches.rows
139
+ });
140
+ throttledRowsChange({
141
+ cache,
142
+ throttle: true
143
+ });
144
+ }, [props.signature, props.dataSource, props.getRowId, throttledRowsChange, apiRef]);
145
+ const updateNestedRows = React.useCallback((updates, groupKeys) => {
146
+ const nonPinnedRowsUpdates = computeRowsUpdates(apiRef, updates, props.getRowId);
147
+ const cache = updateCacheWithNewRows({
148
+ updates: nonPinnedRowsUpdates,
149
+ getRowId: props.getRowId,
150
+ previousCache: apiRef.current.caches.rows,
151
+ groupKeys: groupKeys ?? []
152
+ });
153
+ throttledRowsChange({
154
+ cache,
155
+ throttle: false
156
+ });
157
+ }, [props.getRowId, throttledRowsChange, apiRef]);
158
+ const setLoading = React.useCallback(loading => {
159
+ logger.debug(`Setting loading to ${loading}`);
160
+ apiRef.current.setState(state => _extends({}, state, {
161
+ rows: _extends({}, state.rows, {
162
+ loading
163
+ })
164
+ }));
165
+ apiRef.current.caches.rows.loadingPropBeforePartialUpdates = loading;
166
+ }, [apiRef, logger]);
167
+ const getRowModels = React.useCallback(() => {
168
+ const dataRows = gridDataRowIdsSelector(apiRef);
169
+ const idRowsLookup = gridRowsLookupSelector(apiRef);
170
+ return new Map(dataRows.map(id => [id, idRowsLookup[id] ?? {}]));
171
+ }, [apiRef]);
172
+ const getRowsCount = React.useCallback(() => gridRowCountSelector(apiRef), [apiRef]);
173
+ const getAllRowIds = React.useCallback(() => gridDataRowIdsSelector(apiRef), [apiRef]);
174
+ const getRowIndexRelativeToVisibleRows = React.useCallback(id => {
175
+ const {
176
+ rowIdToIndexMap
177
+ } = getVisibleRows(apiRef);
178
+ return rowIdToIndexMap.get(id);
179
+ }, [apiRef]);
180
+ const setRowChildrenExpansion = React.useCallback((id, isExpanded) => {
181
+ const currentNode = gridRowNodeSelector(apiRef, id);
182
+ if (!currentNode) {
183
+ throw new Error(`MUI X: No row with id #${id} found.`);
184
+ }
185
+ if (currentNode.type !== 'group') {
186
+ throw new Error('MUI X: Only group nodes can be expanded or collapsed.');
187
+ }
188
+ const newNode = _extends({}, currentNode, {
189
+ childrenExpanded: isExpanded
190
+ });
191
+ apiRef.current.setState(state => {
192
+ return _extends({}, state, {
193
+ rows: _extends({}, state.rows, {
194
+ tree: _extends({}, state.rows.tree, {
195
+ [id]: newNode
196
+ })
197
+ })
198
+ });
199
+ });
200
+ apiRef.current.publishEvent('rowExpansionChange', newNode);
201
+ }, [apiRef]);
202
+ const expandAllRows = React.useCallback(() => {
203
+ const tree = _extends({}, gridRowTreeSelector(apiRef));
204
+ const traverse = nodeId => {
205
+ const node = tree[nodeId];
206
+ if (node?.type === 'group') {
207
+ tree[nodeId] = _extends({}, node, {
208
+ childrenExpanded: true
209
+ });
210
+ node.children.forEach(traverse);
211
+ }
212
+ };
213
+ traverse(GRID_ROOT_GROUP_ID);
214
+ apiRef.current.setState(state => _extends({}, state, {
215
+ rows: _extends({}, state.rows, {
216
+ tree
217
+ })
218
+ }));
219
+ apiRef.current.publishEvent('rowExpansionChange', tree[GRID_ROOT_GROUP_ID]);
220
+ }, [apiRef]);
221
+ const collapseAllRows = React.useCallback(() => {
222
+ const tree = _extends({}, gridRowTreeSelector(apiRef));
223
+ const traverse = nodeId => {
224
+ const node = tree[nodeId];
225
+ if (node?.type === 'group') {
226
+ tree[nodeId] = _extends({}, node, {
227
+ childrenExpanded: false
228
+ });
229
+ node.children.forEach(traverse);
230
+ }
231
+ };
232
+ traverse(GRID_ROOT_GROUP_ID);
233
+ apiRef.current.setState(state => _extends({}, state, {
234
+ rows: _extends({}, state.rows, {
235
+ tree
236
+ })
237
+ }));
238
+ apiRef.current.publishEvent('rowExpansionChange', tree[GRID_ROOT_GROUP_ID]);
239
+ }, [apiRef]);
240
+ const getRowNode = React.useCallback(id => gridRowNodeSelector(apiRef, id) ?? null, [apiRef]);
241
+ const getRowGroupChildren = React.useCallback(({
242
+ skipAutoGeneratedRows = true,
243
+ groupId,
244
+ applySorting,
245
+ applyFiltering,
246
+ directChildrenOnly = false
247
+ }) => {
248
+ const tree = gridRowTreeSelector(apiRef);
249
+ let children;
250
+ if (applySorting) {
251
+ const groupNode = tree[groupId];
252
+ if (!groupNode) {
253
+ return [];
254
+ }
255
+ const sortedRowIds = gridSortedRowIdsSelector(apiRef);
256
+ children = [];
257
+ const startIndex = sortedRowIds.findIndex(id => id === groupId) + 1;
258
+ for (let index = startIndex; index < sortedRowIds.length && (directChildrenOnly ? tree[sortedRowIds[index]].depth === groupNode.depth + 1 : tree[sortedRowIds[index]].depth > groupNode.depth); index += 1) {
259
+ const id = sortedRowIds[index];
260
+ if (!skipAutoGeneratedRows || !isAutogeneratedRowNode(tree[id])) {
261
+ children.push(id);
262
+ }
263
+ }
264
+ } else {
265
+ children = getTreeNodeDescendants(tree, groupId, skipAutoGeneratedRows, directChildrenOnly);
266
+ }
267
+ if (applyFiltering) {
268
+ const filteredRowsLookup = gridFilteredRowsLookupSelector(apiRef);
269
+ children = isObjectEmpty(filteredRowsLookup) ? children : children.filter(childId => filteredRowsLookup[childId] !== false);
270
+ }
271
+ return children;
272
+ }, [apiRef]);
273
+ const replaceRows = React.useCallback((firstRowToRender, newRows) => {
274
+ if (props.signature === GridSignature.DataGrid && newRows.length > 1) {
275
+ throw new Error(['MUI X: You cannot replace rows using `apiRef.current.unstable_replaceRows` on the DataGrid.', 'You need to upgrade to DataGridPro or DataGridPremium component to unlock this feature.'].join('\n'));
276
+ }
277
+ if (newRows.length === 0) {
278
+ return;
279
+ }
280
+ const treeDepth = gridRowMaximumTreeDepthSelector(apiRef);
281
+ if (treeDepth > 1) {
282
+ throw new Error('`apiRef.current.unstable_replaceRows` is not compatible with tree data and row grouping');
283
+ }
284
+ const tree = _extends({}, gridRowTreeSelector(apiRef));
285
+ const dataRowIdToModelLookup = _extends({}, gridRowsLookupSelector(apiRef));
286
+ const rootGroup = tree[GRID_ROOT_GROUP_ID];
287
+ const rootGroupChildren = [...rootGroup.children];
288
+ const seenIds = new Set();
289
+ for (let i = 0; i < newRows.length; i += 1) {
290
+ const rowModel = newRows[i];
291
+ const rowId = getRowIdFromRowModel(rowModel, props.getRowId, 'A row was provided without id when calling replaceRows().');
292
+ const [removedRowId] = rootGroupChildren.splice(firstRowToRender + i, 1, rowId);
293
+ if (!seenIds.has(removedRowId)) {
294
+ delete dataRowIdToModelLookup[removedRowId];
295
+ delete tree[removedRowId];
296
+ }
297
+ const rowTreeNodeConfig = {
298
+ id: rowId,
299
+ depth: 0,
300
+ parent: GRID_ROOT_GROUP_ID,
301
+ type: 'leaf',
302
+ groupingKey: null
303
+ };
304
+ dataRowIdToModelLookup[rowId] = rowModel;
305
+ tree[rowId] = rowTreeNodeConfig;
306
+ seenIds.add(rowId);
307
+ }
308
+ tree[GRID_ROOT_GROUP_ID] = _extends({}, rootGroup, {
309
+ children: rootGroupChildren
310
+ });
311
+
312
+ // Removes potential remaining skeleton rows from the dataRowIds.
313
+ const dataRowIds = rootGroupChildren.filter(childId => tree[childId]?.type === 'leaf');
314
+ apiRef.current.caches.rows.dataRowIdToModelLookup = dataRowIdToModelLookup;
315
+ apiRef.current.setState(state => _extends({}, state, {
316
+ rows: _extends({}, state.rows, {
317
+ loading: props.loading,
318
+ totalRowCount: Math.max(props.rowCount || 0, rootGroupChildren.length),
319
+ dataRowIdToModelLookup,
320
+ dataRowIds,
321
+ tree
322
+ })
323
+ }));
324
+ apiRef.current.publishEvent('rowsSet');
325
+ }, [apiRef, props.signature, props.getRowId, props.loading, props.rowCount]);
326
+ const rowApi = {
327
+ getRow,
328
+ setLoading,
329
+ getRowId,
330
+ getRowModels,
331
+ getRowsCount,
332
+ getAllRowIds,
333
+ setRows,
334
+ updateRows,
335
+ getRowNode,
336
+ getRowIndexRelativeToVisibleRows,
337
+ unstable_replaceRows: replaceRows
338
+ };
339
+ const rowProApi = {
340
+ setRowIndex,
341
+ setRowPosition,
342
+ setRowChildrenExpansion,
343
+ getRowGroupChildren,
344
+ expandAllRows,
345
+ collapseAllRows
346
+ };
347
+ const rowProPrivateApi = {
348
+ updateNestedRows
349
+ };
350
+
351
+ /**
352
+ * EVENTS
353
+ */
354
+ const groupRows = React.useCallback(() => {
355
+ logger.info(`Row grouping pre-processing have changed, regenerating the row tree`);
356
+ let cache;
357
+ if (apiRef.current.caches.rows.rowsBeforePartialUpdates === props.rows) {
358
+ // The `props.rows` did not change since the last row grouping
359
+ // We can use the current rows cache which contains the partial updates done recently.
360
+ cache = _extends({}, apiRef.current.caches.rows, {
361
+ updates: {
362
+ type: 'full',
363
+ rows: gridDataRowIdsSelector(apiRef)
364
+ }
365
+ });
366
+ } else {
367
+ // The `props.rows` has changed since the last row grouping
368
+ // We must use the new `props.rows` on the new grouping
369
+ // This occurs because this event is triggered before the `useEffect` on the rows when both the grouping pre-processing and the rows changes on the same render
370
+ cache = createRowsInternalCache({
371
+ rows: props.rows,
372
+ getRowId: props.getRowId,
373
+ loading: props.loading,
374
+ rowCount: props.rowCount
375
+ });
376
+ }
377
+ throttledRowsChange({
378
+ cache,
379
+ throttle: false
380
+ });
381
+ }, [logger, apiRef, props.rows, props.getRowId, props.loading, props.rowCount, throttledRowsChange]);
382
+ const previousDataSource = useLazyRef(() => props.dataSource);
383
+ const handleStrategyProcessorChange = React.useCallback(methodName => {
384
+ if (props.dataSource && props.dataSource !== previousDataSource.current) {
385
+ previousDataSource.current = props.dataSource;
386
+ return;
387
+ }
388
+ if (methodName === 'rowTreeCreation') {
389
+ groupRows();
390
+ }
391
+ }, [groupRows, previousDataSource, props.dataSource]);
392
+ const handleStrategyActivityChange = React.useCallback(() => {
393
+ // `rowTreeCreation` is the only processor ran when `strategyAvailabilityChange` is fired.
394
+ // All the other processors listen to `rowsSet` which will be published by the `groupRows` method below.
395
+ if (apiRef.current.getActiveStrategy(GridStrategyGroup.RowTree) !== gridRowGroupingNameSelector(apiRef)) {
396
+ groupRows();
397
+ }
398
+ }, [apiRef, groupRows]);
399
+ useGridEvent(apiRef, 'activeStrategyProcessorChange', handleStrategyProcessorChange);
400
+ useGridEvent(apiRef, 'strategyAvailabilityChange', handleStrategyActivityChange);
401
+
402
+ /**
403
+ * APPLIERS
404
+ */
405
+ const applyHydrateRowsProcessor = React.useCallback(() => {
406
+ apiRef.current.setState(state => {
407
+ const response = apiRef.current.unstable_applyPipeProcessors('hydrateRows', {
408
+ tree: gridRowTreeSelector(apiRef),
409
+ treeDepths: gridRowTreeDepthsSelector(apiRef),
410
+ dataRowIds: gridDataRowIdsSelector(apiRef),
411
+ dataRowIdToModelLookup: gridRowsLookupSelector(apiRef)
412
+ });
413
+ return _extends({}, state, {
414
+ rows: _extends({}, state.rows, response, {
415
+ totalTopLevelRowCount: getTopLevelRowCount({
416
+ tree: response.tree,
417
+ rowCountProp: props.rowCount
418
+ })
419
+ })
420
+ });
421
+ });
422
+ apiRef.current.publishEvent('rowsSet');
423
+ }, [apiRef, props.rowCount]);
424
+ useGridRegisterPipeApplier(apiRef, 'hydrateRows', applyHydrateRowsProcessor);
425
+ useGridApiMethod(apiRef, rowApi, 'public');
426
+ useGridApiMethod(apiRef, rowProApi, props.signature === GridSignature.DataGrid ? 'private' : 'public');
427
+ useGridApiMethod(apiRef, rowProPrivateApi, 'private');
428
+
429
+ // The effect do not track any value defined synchronously during the 1st render by hooks called after `useGridRows`
430
+ // As a consequence, the state generated by the 1st run of this useEffect will always be equal to the initialization one
431
+ const isFirstRender = React.useRef(true);
432
+ React.useEffect(() => {
433
+ if (isFirstRender.current) {
434
+ isFirstRender.current = false;
435
+ return;
436
+ }
437
+ let isRowCountPropUpdated = false;
438
+ if (props.rowCount !== lastRowCount.current) {
439
+ isRowCountPropUpdated = true;
440
+ lastRowCount.current = props.rowCount;
441
+ }
442
+ const currentRows = props.dataSource ? gridDataRowsSelector(apiRef) : props.rows;
443
+ const areNewRowsAlreadyInState = apiRef.current.caches.rows.rowsBeforePartialUpdates === currentRows;
444
+ const isNewLoadingAlreadyInState = apiRef.current.caches.rows.loadingPropBeforePartialUpdates === props.loading;
445
+ const isNewRowCountAlreadyInState = apiRef.current.caches.rows.rowCountPropBeforePartialUpdates === props.rowCount;
446
+
447
+ // The new rows have already been applied (most likely in the `'rowGroupsPreProcessingChange'` listener)
448
+ if (areNewRowsAlreadyInState) {
449
+ // If the loading prop has changed, we need to update its value in the state because it won't be done by `throttledRowsChange`
450
+ if (!isNewLoadingAlreadyInState) {
451
+ apiRef.current.setState(state => _extends({}, state, {
452
+ rows: _extends({}, state.rows, {
453
+ loading: props.loading
454
+ })
455
+ }));
456
+ apiRef.current.caches.rows.loadingPropBeforePartialUpdates = props.loading;
457
+ }
458
+ if (!isNewRowCountAlreadyInState) {
459
+ apiRef.current.setState(state => _extends({}, state, {
460
+ rows: _extends({}, state.rows, {
461
+ totalRowCount: Math.max(props.rowCount || 0, state.rows.totalRowCount),
462
+ totalTopLevelRowCount: Math.max(props.rowCount || 0, state.rows.totalTopLevelRowCount)
463
+ })
464
+ }));
465
+ apiRef.current.caches.rows.rowCountPropBeforePartialUpdates = props.rowCount;
466
+ }
467
+ if (!isRowCountPropUpdated) {
468
+ return;
469
+ }
470
+ }
471
+ logger.debug(`Updating all rows, new length ${currentRows?.length}`);
472
+ throttledRowsChange({
473
+ cache: createRowsInternalCache({
474
+ rows: currentRows,
475
+ getRowId: props.getRowId,
476
+ loading: props.loading,
477
+ rowCount: props.rowCount
478
+ }),
479
+ throttle: false
480
+ });
481
+ }, [props.rows, props.rowCount, props.getRowId, props.loading, props.dataSource, logger, throttledRowsChange, apiRef]);
482
+ };