@mui/x-data-grid-premium 8.0.0-beta.2 → 8.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (495) hide show
  1. package/CHANGELOG.md +423 -96
  2. package/DataGridPremium/DataGridPremium.js +188 -26
  3. package/DataGridPremium/useDataGridPremiumComponent.d.ts +2 -2
  4. package/DataGridPremium/useDataGridPremiumComponent.js +22 -3
  5. package/DataGridPremium/useDataGridPremiumProps.js +5 -1
  6. package/components/GridColumnMenuPivotItem.d.ts +3 -0
  7. package/components/GridColumnMenuPivotItem.js +33 -0
  8. package/components/GridEmptyPivotOverlay.d.ts +6 -0
  9. package/components/GridEmptyPivotOverlay.js +29 -0
  10. package/components/GridGroupingCriteriaCell.js +8 -3
  11. package/components/GridPremiumColumnMenu.d.ts +5 -0
  12. package/components/GridPremiumColumnMenu.js +6 -1
  13. package/components/GridPremiumToolbar.d.ts +1 -1
  14. package/components/GridPremiumToolbar.js +29 -1
  15. package/components/aiAssistantPanel/AiAssistantPanelTrigger.d.ts +33 -0
  16. package/components/aiAssistantPanel/AiAssistantPanelTrigger.js +107 -0
  17. package/components/aiAssistantPanel/GridAiAssistantPanel.d.ts +3 -0
  18. package/components/aiAssistantPanel/GridAiAssistantPanel.js +195 -0
  19. package/components/aiAssistantPanel/GridAiAssistantPanelConversation.d.ts +7 -0
  20. package/components/aiAssistantPanel/GridAiAssistantPanelConversation.js +71 -0
  21. package/components/aiAssistantPanel/GridAiAssistantPanelConversationsMenu.d.ts +3 -0
  22. package/components/aiAssistantPanel/GridAiAssistantPanelConversationsMenu.js +92 -0
  23. package/components/aiAssistantPanel/GridAiAssistantPanelSuggestions.d.ts +7 -0
  24. package/components/aiAssistantPanel/GridAiAssistantPanelSuggestions.js +86 -0
  25. package/components/aiAssistantPanel/index.d.ts +2 -0
  26. package/components/aiAssistantPanel/index.js +27 -0
  27. package/components/collapsible/Collapsible.d.ts +4 -0
  28. package/components/collapsible/Collapsible.js +70 -0
  29. package/components/collapsible/CollapsibleContext.d.ts +8 -0
  30. package/components/collapsible/CollapsibleContext.js +17 -0
  31. package/components/collapsible/CollapsiblePanel.d.ts +4 -0
  32. package/components/collapsible/CollapsiblePanel.js +64 -0
  33. package/components/collapsible/CollapsibleTrigger.d.ts +4 -0
  34. package/components/collapsible/CollapsibleTrigger.js +106 -0
  35. package/components/collapsible/index.d.ts +4 -0
  36. package/components/collapsible/index.js +49 -0
  37. package/components/export/ExportExcel.js +4 -129
  38. package/components/index.d.ts +5 -2
  39. package/components/index.js +40 -4
  40. package/components/pivotPanel/GridPivotPanel.d.ts +3 -0
  41. package/components/pivotPanel/GridPivotPanel.js +22 -0
  42. package/components/pivotPanel/GridPivotPanelBody.d.ts +11 -0
  43. package/components/pivotPanel/GridPivotPanelBody.js +368 -0
  44. package/components/pivotPanel/GridPivotPanelField.d.ts +22 -0
  45. package/components/pivotPanel/GridPivotPanelField.js +338 -0
  46. package/components/pivotPanel/GridPivotPanelFieldMenu.d.ts +8 -0
  47. package/components/pivotPanel/GridPivotPanelFieldMenu.js +177 -0
  48. package/components/pivotPanel/GridPivotPanelHeader.d.ts +7 -0
  49. package/components/pivotPanel/GridPivotPanelHeader.js +101 -0
  50. package/components/pivotPanel/GridPivotPanelSearch.d.ts +7 -0
  51. package/components/pivotPanel/GridPivotPanelSearch.js +77 -0
  52. package/components/pivotPanel/PivotPanelTrigger.d.ts +37 -0
  53. package/components/pivotPanel/PivotPanelTrigger.js +93 -0
  54. package/components/pivotPanel/index.d.ts +2 -0
  55. package/components/pivotPanel/index.js +27 -0
  56. package/components/prompt/GridPrompt.d.ts +7 -0
  57. package/components/prompt/GridPrompt.js +364 -0
  58. package/components/prompt/index.d.ts +1 -0
  59. package/components/prompt/index.js +12 -0
  60. package/components/promptField/GridPromptField.d.ts +4 -0
  61. package/components/promptField/GridPromptField.js +86 -0
  62. package/components/promptField/PromptField.d.ts +66 -0
  63. package/components/promptField/PromptField.js +95 -0
  64. package/components/promptField/PromptFieldContext.d.ts +16 -0
  65. package/components/promptField/PromptFieldContext.js +17 -0
  66. package/components/promptField/PromptFieldControl.d.ts +27 -0
  67. package/components/promptField/PromptFieldControl.js +102 -0
  68. package/components/promptField/PromptFieldRecord.d.ts +27 -0
  69. package/components/promptField/PromptFieldRecord.js +158 -0
  70. package/components/promptField/PromptFieldSend.d.ts +27 -0
  71. package/components/promptField/PromptFieldSend.js +83 -0
  72. package/components/promptField/index.d.ts +4 -0
  73. package/components/promptField/index.js +49 -0
  74. package/components/resizablePanel/ResizablePanel.d.ts +10 -0
  75. package/components/resizablePanel/ResizablePanel.js +59 -0
  76. package/components/resizablePanel/ResizablePanelContext.d.ts +7 -0
  77. package/components/resizablePanel/ResizablePanelContext.js +17 -0
  78. package/components/resizablePanel/ResizablePanelHandle.d.ts +4 -0
  79. package/components/resizablePanel/ResizablePanelHandle.js +115 -0
  80. package/components/resizablePanel/index.d.ts +3 -0
  81. package/components/resizablePanel/index.js +38 -0
  82. package/components/sidebar/Sidebar.d.ts +4 -0
  83. package/components/sidebar/Sidebar.js +54 -0
  84. package/components/sidebar/SidebarHeader.d.ts +4 -0
  85. package/components/sidebar/SidebarHeader.js +51 -0
  86. package/components/sidebar/index.d.ts +2 -0
  87. package/components/sidebar/index.js +27 -0
  88. package/constants/dataGridPremiumDefaultSlotsComponents.js +3 -0
  89. package/esm/DataGridPremium/DataGridPremium.js +190 -28
  90. package/esm/DataGridPremium/useDataGridPremiumComponent.d.ts +2 -2
  91. package/esm/DataGridPremium/useDataGridPremiumComponent.js +20 -3
  92. package/esm/DataGridPremium/useDataGridPremiumProps.js +5 -1
  93. package/esm/components/GridColumnMenuPivotItem.d.ts +3 -0
  94. package/esm/components/GridColumnMenuPivotItem.js +26 -0
  95. package/esm/components/GridEmptyPivotOverlay.d.ts +6 -0
  96. package/esm/components/GridEmptyPivotOverlay.js +22 -0
  97. package/esm/components/GridGroupingCriteriaCell.js +9 -4
  98. package/esm/components/GridPremiumColumnMenu.d.ts +5 -0
  99. package/esm/components/GridPremiumColumnMenu.js +6 -1
  100. package/esm/components/GridPremiumToolbar.d.ts +1 -1
  101. package/esm/components/GridPremiumToolbar.js +30 -2
  102. package/esm/components/aiAssistantPanel/AiAssistantPanelTrigger.d.ts +33 -0
  103. package/esm/components/aiAssistantPanel/AiAssistantPanelTrigger.js +100 -0
  104. package/esm/components/aiAssistantPanel/GridAiAssistantPanel.d.ts +3 -0
  105. package/esm/components/aiAssistantPanel/GridAiAssistantPanel.js +188 -0
  106. package/esm/components/aiAssistantPanel/GridAiAssistantPanelConversation.d.ts +7 -0
  107. package/esm/components/aiAssistantPanel/GridAiAssistantPanelConversation.js +64 -0
  108. package/esm/components/aiAssistantPanel/GridAiAssistantPanelConversationsMenu.d.ts +3 -0
  109. package/esm/components/aiAssistantPanel/GridAiAssistantPanelConversationsMenu.js +85 -0
  110. package/esm/components/aiAssistantPanel/GridAiAssistantPanelSuggestions.d.ts +7 -0
  111. package/esm/components/aiAssistantPanel/GridAiAssistantPanelSuggestions.js +80 -0
  112. package/esm/components/aiAssistantPanel/index.d.ts +2 -0
  113. package/esm/components/aiAssistantPanel/index.js +2 -0
  114. package/esm/components/collapsible/Collapsible.d.ts +4 -0
  115. package/esm/components/collapsible/Collapsible.js +63 -0
  116. package/esm/components/collapsible/CollapsibleContext.d.ts +8 -0
  117. package/esm/components/collapsible/CollapsibleContext.js +9 -0
  118. package/esm/components/collapsible/CollapsiblePanel.d.ts +4 -0
  119. package/esm/components/collapsible/CollapsiblePanel.js +57 -0
  120. package/esm/components/collapsible/CollapsibleTrigger.d.ts +4 -0
  121. package/esm/components/collapsible/CollapsibleTrigger.js +99 -0
  122. package/esm/components/collapsible/index.d.ts +4 -0
  123. package/esm/components/collapsible/index.js +4 -0
  124. package/esm/components/export/ExportExcel.js +4 -129
  125. package/esm/components/index.d.ts +5 -2
  126. package/esm/components/index.js +5 -2
  127. package/esm/components/pivotPanel/GridPivotPanel.d.ts +3 -0
  128. package/esm/components/pivotPanel/GridPivotPanel.js +16 -0
  129. package/esm/components/pivotPanel/GridPivotPanelBody.d.ts +11 -0
  130. package/esm/components/pivotPanel/GridPivotPanelBody.js +361 -0
  131. package/esm/components/pivotPanel/GridPivotPanelField.d.ts +22 -0
  132. package/esm/components/pivotPanel/GridPivotPanelField.js +331 -0
  133. package/esm/components/pivotPanel/GridPivotPanelFieldMenu.d.ts +8 -0
  134. package/esm/components/pivotPanel/GridPivotPanelFieldMenu.js +170 -0
  135. package/esm/components/pivotPanel/GridPivotPanelHeader.d.ts +7 -0
  136. package/esm/components/pivotPanel/GridPivotPanelHeader.js +94 -0
  137. package/esm/components/pivotPanel/GridPivotPanelSearch.d.ts +7 -0
  138. package/esm/components/pivotPanel/GridPivotPanelSearch.js +70 -0
  139. package/esm/components/pivotPanel/PivotPanelTrigger.d.ts +37 -0
  140. package/esm/components/pivotPanel/PivotPanelTrigger.js +86 -0
  141. package/esm/components/pivotPanel/index.d.ts +2 -0
  142. package/esm/components/pivotPanel/index.js +2 -0
  143. package/esm/components/prompt/GridPrompt.d.ts +7 -0
  144. package/esm/components/prompt/GridPrompt.js +357 -0
  145. package/esm/components/prompt/index.d.ts +1 -0
  146. package/esm/components/prompt/index.js +1 -0
  147. package/esm/components/promptField/GridPromptField.d.ts +4 -0
  148. package/esm/components/promptField/GridPromptField.js +79 -0
  149. package/esm/components/promptField/PromptField.d.ts +66 -0
  150. package/esm/components/promptField/PromptField.js +88 -0
  151. package/esm/components/promptField/PromptFieldContext.d.ts +16 -0
  152. package/esm/components/promptField/PromptFieldContext.js +9 -0
  153. package/esm/components/promptField/PromptFieldControl.d.ts +27 -0
  154. package/esm/components/promptField/PromptFieldControl.js +95 -0
  155. package/esm/components/promptField/PromptFieldRecord.d.ts +27 -0
  156. package/esm/components/promptField/PromptFieldRecord.js +151 -0
  157. package/esm/components/promptField/PromptFieldSend.d.ts +27 -0
  158. package/esm/components/promptField/PromptFieldSend.js +76 -0
  159. package/esm/components/promptField/index.d.ts +4 -0
  160. package/esm/components/promptField/index.js +4 -0
  161. package/esm/components/resizablePanel/ResizablePanel.d.ts +10 -0
  162. package/esm/components/resizablePanel/ResizablePanel.js +52 -0
  163. package/esm/components/resizablePanel/ResizablePanelContext.d.ts +7 -0
  164. package/esm/components/resizablePanel/ResizablePanelContext.js +9 -0
  165. package/esm/components/resizablePanel/ResizablePanelHandle.d.ts +4 -0
  166. package/esm/components/resizablePanel/ResizablePanelHandle.js +108 -0
  167. package/esm/components/resizablePanel/index.d.ts +3 -0
  168. package/esm/components/resizablePanel/index.js +3 -0
  169. package/esm/components/sidebar/Sidebar.d.ts +4 -0
  170. package/esm/components/sidebar/Sidebar.js +47 -0
  171. package/esm/components/sidebar/SidebarHeader.d.ts +4 -0
  172. package/esm/components/sidebar/SidebarHeader.js +44 -0
  173. package/esm/components/sidebar/index.d.ts +2 -0
  174. package/esm/components/sidebar/index.js +2 -0
  175. package/esm/constants/dataGridPremiumDefaultSlotsComponents.js +3 -0
  176. package/esm/hooks/features/aggregation/gridAggregationFunctions.js +13 -0
  177. package/esm/hooks/features/aggregation/gridAggregationSelectors.d.ts +10 -1
  178. package/esm/hooks/features/aggregation/gridAggregationSelectors.js +28 -1
  179. package/esm/hooks/features/aggregation/gridAggregationUtils.d.ts +1 -1
  180. package/esm/hooks/features/aggregation/index.d.ts +1 -1
  181. package/esm/hooks/features/aggregation/index.js +1 -1
  182. package/esm/hooks/features/aggregation/useGridAggregation.js +7 -11
  183. package/esm/hooks/features/aggregation/useGridAggregationPreProcessors.js +2 -8
  184. package/esm/hooks/features/aggregation/wrapColumnWithAggregation.d.ts +5 -25
  185. package/esm/hooks/features/aggregation/wrapColumnWithAggregation.js +23 -10
  186. package/esm/hooks/features/aiAssistant/api.d.ts +12 -0
  187. package/esm/hooks/features/aiAssistant/api.js +31 -0
  188. package/esm/hooks/features/aiAssistant/gridAiAssistantInterfaces.d.ts +82 -0
  189. package/esm/hooks/features/aiAssistant/gridAiAssistantSelectors.d.ts +5 -0
  190. package/esm/hooks/features/aiAssistant/gridAiAssistantSelectors.js +5 -0
  191. package/esm/hooks/features/aiAssistant/index.d.ts +2 -0
  192. package/esm/hooks/features/aiAssistant/useGridAiAssistant.d.ts +6 -0
  193. package/esm/hooks/features/aiAssistant/useGridAiAssistant.js +293 -0
  194. package/esm/hooks/features/cellSelection/useGridCellSelection.js +6 -6
  195. package/esm/hooks/features/clipboard/useGridClipboardImport.js +4 -4
  196. package/esm/hooks/features/dataSource/useGridDataSourcePremium.js +4 -1
  197. package/esm/hooks/features/export/useGridExcelExport.js +2 -2
  198. package/esm/hooks/features/index.d.ts +1 -1
  199. package/esm/hooks/features/index.js +1 -1
  200. package/esm/hooks/features/pivoting/gridPivotingInterfaces.d.ts +69 -0
  201. package/esm/hooks/features/pivoting/gridPivotingSelectors.d.ts +4 -0
  202. package/esm/hooks/features/pivoting/gridPivotingSelectors.js +5 -0
  203. package/esm/hooks/features/pivoting/useGridPivoting.d.ts +7 -0
  204. package/esm/hooks/features/pivoting/useGridPivoting.js +339 -0
  205. package/esm/hooks/features/pivoting/utils.d.ts +21 -0
  206. package/esm/hooks/features/pivoting/utils.js +259 -0
  207. package/esm/hooks/features/rowGrouping/useGridDataSourceRowGroupingPreProcessors.js +1 -4
  208. package/esm/hooks/features/rowGrouping/useGridRowGrouping.js +4 -5
  209. package/esm/hooks/utils/useResize.d.ts +9 -0
  210. package/esm/hooks/utils/useResize.js +52 -0
  211. package/esm/index.d.ts +4 -1
  212. package/esm/index.js +4 -2
  213. package/esm/material/icons.d.ts +15 -15
  214. package/esm/material/icons.js +32 -5
  215. package/esm/material/index.d.ts +31 -5
  216. package/esm/material/index.js +31 -3
  217. package/esm/models/dataGridPremiumProps.d.ts +96 -2
  218. package/esm/models/gridApiPremium.d.ts +4 -2
  219. package/esm/models/gridPremiumIconSlotsComponent.d.ts +141 -8
  220. package/esm/models/gridPremiumSlotsComponent.d.ts +13 -1
  221. package/esm/models/gridStatePremium.d.ts +6 -0
  222. package/esm/package.json +1 -1
  223. package/esm/setupExcelExportWebWorker/index.d.ts +1 -0
  224. package/esm/setupExcelExportWebWorker/index.js +1 -0
  225. package/esm/typeOverloads/modules.d.ts +32 -1
  226. package/esm/utils/speechRecognition.d.ts +2 -0
  227. package/esm/utils/speechRecognition.js +2 -0
  228. package/hooks/features/aggregation/gridAggregationFunctions.js +13 -0
  229. package/hooks/features/aggregation/gridAggregationSelectors.d.ts +10 -1
  230. package/hooks/features/aggregation/gridAggregationSelectors.js +29 -2
  231. package/hooks/features/aggregation/gridAggregationUtils.d.ts +1 -1
  232. package/hooks/features/aggregation/index.d.ts +1 -1
  233. package/hooks/features/aggregation/index.js +21 -11
  234. package/hooks/features/aggregation/useGridAggregation.js +6 -10
  235. package/hooks/features/aggregation/useGridAggregationPreProcessors.js +2 -8
  236. package/hooks/features/aggregation/wrapColumnWithAggregation.d.ts +5 -25
  237. package/hooks/features/aggregation/wrapColumnWithAggregation.js +24 -11
  238. package/hooks/features/aiAssistant/api.d.ts +12 -0
  239. package/hooks/features/aiAssistant/api.js +37 -0
  240. package/hooks/features/aiAssistant/gridAiAssistantInterfaces.d.ts +82 -0
  241. package/hooks/features/aiAssistant/gridAiAssistantSelectors.d.ts +5 -0
  242. package/hooks/features/aiAssistant/gridAiAssistantSelectors.js +11 -0
  243. package/hooks/features/aiAssistant/index.d.ts +2 -0
  244. package/hooks/features/aiAssistant/useGridAiAssistant.d.ts +6 -0
  245. package/hooks/features/aiAssistant/useGridAiAssistant.js +303 -0
  246. package/hooks/features/cellSelection/useGridCellSelection.js +5 -5
  247. package/hooks/features/clipboard/useGridClipboardImport.js +3 -3
  248. package/hooks/features/dataSource/useGridDataSourcePremium.js +4 -1
  249. package/hooks/features/export/useGridExcelExport.js +1 -1
  250. package/hooks/features/index.d.ts +1 -1
  251. package/hooks/features/index.js +4 -4
  252. package/hooks/features/pivoting/gridPivotingInterfaces.d.ts +69 -0
  253. package/hooks/features/pivoting/gridPivotingInterfaces.js +5 -0
  254. package/hooks/features/pivoting/gridPivotingSelectors.d.ts +4 -0
  255. package/hooks/features/pivoting/gridPivotingSelectors.js +30 -0
  256. package/hooks/features/pivoting/useGridPivoting.d.ts +7 -0
  257. package/hooks/features/pivoting/useGridPivoting.js +349 -0
  258. package/hooks/features/pivoting/utils.d.ts +21 -0
  259. package/hooks/features/pivoting/utils.js +270 -0
  260. package/hooks/features/rowGrouping/useGridDataSourceRowGroupingPreProcessors.js +1 -4
  261. package/hooks/features/rowGrouping/useGridRowGrouping.js +3 -4
  262. package/hooks/utils/useResize.d.ts +9 -0
  263. package/hooks/utils/useResize.js +60 -0
  264. package/index.d.ts +4 -1
  265. package/index.js +19 -3
  266. package/material/icons.d.ts +15 -15
  267. package/material/icons.js +36 -9
  268. package/material/index.d.ts +31 -5
  269. package/material/index.js +30 -2
  270. package/models/dataGridPremiumProps.d.ts +96 -2
  271. package/models/gridApiPremium.d.ts +4 -2
  272. package/models/gridPremiumIconSlotsComponent.d.ts +141 -8
  273. package/models/gridPremiumSlotsComponent.d.ts +13 -1
  274. package/models/gridStatePremium.d.ts +6 -0
  275. package/package.json +12 -18
  276. package/setupExcelExportWebWorker/index.d.ts +1 -0
  277. package/{setupExcelExportWebWorker.js → setupExcelExportWebWorker/index.js} +1 -1
  278. package/typeOverloads/modules.d.ts +32 -1
  279. package/utils/speechRecognition.d.ts +2 -0
  280. package/utils/speechRecognition.js +8 -0
  281. package/components/promptControl/GridToolbarPromptControl.d.ts +0 -26
  282. package/components/promptControl/GridToolbarPromptControl.js +0 -222
  283. package/components/promptControl/RecordButton.d.ts +0 -16
  284. package/components/promptControl/RecordButton.js +0 -119
  285. package/components/promptControl/index.d.ts +0 -1
  286. package/components/promptControl/index.js +0 -12
  287. package/esm/components/promptControl/GridToolbarPromptControl.d.ts +0 -26
  288. package/esm/components/promptControl/GridToolbarPromptControl.js +0 -215
  289. package/esm/components/promptControl/RecordButton.d.ts +0 -16
  290. package/esm/components/promptControl/RecordButton.js +0 -111
  291. package/esm/components/promptControl/index.d.ts +0 -1
  292. package/esm/components/promptControl/index.js +0 -1
  293. package/esm/hooks/features/promptControl/api.d.ts +0 -2
  294. package/esm/hooks/features/promptControl/api.js +0 -22
  295. package/esm/hooks/features/promptControl/index.d.ts +0 -2
  296. package/esm/hooks/features/promptControl/types.d.ts +0 -25
  297. package/esm/setupExcelExportWebWorker.d.ts +0 -1
  298. package/esm/setupExcelExportWebWorker.js +0 -1
  299. package/esm/utils/releaseInfo.d.ts +0 -1
  300. package/esm/utils/releaseInfo.js +0 -13
  301. package/hooks/features/promptControl/api.d.ts +0 -2
  302. package/hooks/features/promptControl/api.js +0 -28
  303. package/hooks/features/promptControl/index.d.ts +0 -2
  304. package/hooks/features/promptControl/types.d.ts +0 -25
  305. package/modern/DataGridPremium/DataGrid.d.ts +0 -8
  306. package/modern/DataGridPremium/DataGrid.js +0 -19
  307. package/modern/DataGridPremium/DataGridPremium.d.ts +0 -16
  308. package/modern/DataGridPremium/DataGridPremium.js +0 -1121
  309. package/modern/DataGridPremium/index.d.ts +0 -3
  310. package/modern/DataGridPremium/index.js +0 -3
  311. package/modern/DataGridPremium/useDataGridPremiumComponent.d.ts +0 -4
  312. package/modern/DataGridPremium/useDataGridPremiumComponent.js +0 -108
  313. package/modern/DataGridPremium/useDataGridPremiumProps.d.ts +0 -6
  314. package/modern/DataGridPremium/useDataGridPremiumProps.js +0 -54
  315. package/modern/components/GridAggregationHeader.d.ts +0 -7
  316. package/modern/components/GridAggregationHeader.js +0 -89
  317. package/modern/components/GridAggregationRowOverlay.d.ts +0 -3
  318. package/modern/components/GridAggregationRowOverlay.js +0 -37
  319. package/modern/components/GridBottomContainer.d.ts +0 -3
  320. package/modern/components/GridBottomContainer.js +0 -43
  321. package/modern/components/GridColumnMenuAggregationItem.d.ts +0 -7
  322. package/modern/components/GridColumnMenuAggregationItem.js +0 -124
  323. package/modern/components/GridColumnMenuRowGroupItem.d.ts +0 -3
  324. package/modern/components/GridColumnMenuRowGroupItem.js +0 -42
  325. package/modern/components/GridColumnMenuRowUngroupItem.d.ts +0 -3
  326. package/modern/components/GridColumnMenuRowUngroupItem.js +0 -44
  327. package/modern/components/GridDataSourceGroupingCriteriaCell.d.ts +0 -7
  328. package/modern/components/GridDataSourceGroupingCriteriaCell.js +0 -121
  329. package/modern/components/GridExcelExportMenuItem.d.ts +0 -9
  330. package/modern/components/GridExcelExportMenuItem.js +0 -48
  331. package/modern/components/GridFooterCell.d.ts +0 -9
  332. package/modern/components/GridFooterCell.js +0 -43
  333. package/modern/components/GridGroupingColumnFooterCell.d.ts +0 -4
  334. package/modern/components/GridGroupingColumnFooterCell.js +0 -23
  335. package/modern/components/GridGroupingColumnLeafCell.d.ts +0 -4
  336. package/modern/components/GridGroupingColumnLeafCell.js +0 -17
  337. package/modern/components/GridGroupingCriteriaCell.d.ts +0 -7
  338. package/modern/components/GridGroupingCriteriaCell.js +0 -87
  339. package/modern/components/GridPremiumColumnMenu.d.ts +0 -33
  340. package/modern/components/GridPremiumColumnMenu.js +0 -37
  341. package/modern/components/GridPremiumToolbar.d.ts +0 -3
  342. package/modern/components/GridPremiumToolbar.js +0 -23
  343. package/modern/components/export/ExportExcel.d.ts +0 -29
  344. package/modern/components/export/ExportExcel.js +0 -209
  345. package/modern/components/export/index.d.ts +0 -1
  346. package/modern/components/export/index.js +0 -1
  347. package/modern/components/index.d.ts +0 -6
  348. package/modern/components/index.js +0 -6
  349. package/modern/components/promptControl/GridToolbarPromptControl.d.ts +0 -26
  350. package/modern/components/promptControl/GridToolbarPromptControl.js +0 -215
  351. package/modern/components/promptControl/RecordButton.d.ts +0 -16
  352. package/modern/components/promptControl/RecordButton.js +0 -111
  353. package/modern/components/promptControl/index.d.ts +0 -1
  354. package/modern/components/promptControl/index.js +0 -1
  355. package/modern/components/reexports.d.ts +0 -1
  356. package/modern/components/reexports.js +0 -1
  357. package/modern/constants/dataGridPremiumDefaultSlotsComponents.d.ts +0 -2
  358. package/modern/constants/dataGridPremiumDefaultSlotsComponents.js +0 -11
  359. package/modern/hooks/features/aggregation/createAggregationLookup.d.ts +0 -17
  360. package/modern/hooks/features/aggregation/createAggregationLookup.js +0 -111
  361. package/modern/hooks/features/aggregation/gridAggregationFunctions.d.ts +0 -8
  362. package/modern/hooks/features/aggregation/gridAggregationFunctions.js +0 -93
  363. package/modern/hooks/features/aggregation/gridAggregationInterfaces.d.ts +0 -129
  364. package/modern/hooks/features/aggregation/gridAggregationSelectors.d.ts +0 -13
  365. package/modern/hooks/features/aggregation/gridAggregationSelectors.js +0 -15
  366. package/modern/hooks/features/aggregation/gridAggregationUtils.d.ts +0 -62
  367. package/modern/hooks/features/aggregation/gridAggregationUtils.js +0 -180
  368. package/modern/hooks/features/aggregation/index.d.ts +0 -4
  369. package/modern/hooks/features/aggregation/index.js +0 -3
  370. package/modern/hooks/features/aggregation/useGridAggregation.d.ts +0 -6
  371. package/modern/hooks/features/aggregation/useGridAggregation.js +0 -103
  372. package/modern/hooks/features/aggregation/useGridAggregationPreProcessors.d.ts +0 -4
  373. package/modern/hooks/features/aggregation/useGridAggregationPreProcessors.js +0 -96
  374. package/modern/hooks/features/aggregation/wrapColumnWithAggregation.d.ts +0 -81
  375. package/modern/hooks/features/aggregation/wrapColumnWithAggregation.js +0 -215
  376. package/modern/hooks/features/cellSelection/gridCellSelectionInterfaces.d.ts +0 -40
  377. package/modern/hooks/features/cellSelection/gridCellSelectionInterfaces.js +0 -1
  378. package/modern/hooks/features/cellSelection/gridCellSelectionSelector.d.ts +0 -2
  379. package/modern/hooks/features/cellSelection/gridCellSelectionSelector.js +0 -2
  380. package/modern/hooks/features/cellSelection/index.d.ts +0 -1
  381. package/modern/hooks/features/cellSelection/index.js +0 -1
  382. package/modern/hooks/features/cellSelection/useGridCellSelection.d.ts +0 -6
  383. package/modern/hooks/features/cellSelection/useGridCellSelection.js +0 -486
  384. package/modern/hooks/features/clipboard/useGridClipboardImport.d.ts +0 -4
  385. package/modern/hooks/features/clipboard/useGridClipboardImport.js +0 -335
  386. package/modern/hooks/features/dataSource/models.d.ts +0 -54
  387. package/modern/hooks/features/dataSource/models.js +0 -1
  388. package/modern/hooks/features/dataSource/useGridDataSourcePremium.d.ts +0 -4
  389. package/modern/hooks/features/dataSource/useGridDataSourcePremium.js +0 -59
  390. package/modern/hooks/features/export/gridExcelExportInterface.d.ts +0 -71
  391. package/modern/hooks/features/export/gridExcelExportInterface.js +0 -1
  392. package/modern/hooks/features/export/index.d.ts +0 -2
  393. package/modern/hooks/features/export/index.js +0 -2
  394. package/modern/hooks/features/export/serializer/excelSerializer.d.ts +0 -40
  395. package/modern/hooks/features/export/serializer/excelSerializer.js +0 -269
  396. package/modern/hooks/features/export/serializer/setupExcelExportWebWorker.d.ts +0 -2
  397. package/modern/hooks/features/export/serializer/setupExcelExportWebWorker.js +0 -53
  398. package/modern/hooks/features/export/serializer/utils.d.ts +0 -36
  399. package/modern/hooks/features/export/serializer/utils.js +0 -93
  400. package/modern/hooks/features/export/useGridExcelExport.d.ts +0 -11
  401. package/modern/hooks/features/export/useGridExcelExport.js +0 -139
  402. package/modern/hooks/features/index.d.ts +0 -5
  403. package/modern/hooks/features/index.js +0 -6
  404. package/modern/hooks/features/promptControl/api.d.ts +0 -2
  405. package/modern/hooks/features/promptControl/api.js +0 -22
  406. package/modern/hooks/features/promptControl/index.d.ts +0 -2
  407. package/modern/hooks/features/promptControl/index.js +0 -1
  408. package/modern/hooks/features/promptControl/types.d.ts +0 -25
  409. package/modern/hooks/features/promptControl/types.js +0 -1
  410. package/modern/hooks/features/rowGrouping/createGroupingColDef.d.ts +0 -57
  411. package/modern/hooks/features/rowGrouping/createGroupingColDef.js +0 -272
  412. package/modern/hooks/features/rowGrouping/gridRowGroupingInterfaces.d.ts +0 -44
  413. package/modern/hooks/features/rowGrouping/gridRowGroupingInterfaces.js +0 -1
  414. package/modern/hooks/features/rowGrouping/gridRowGroupingSelector.d.ts +0 -3
  415. package/modern/hooks/features/rowGrouping/gridRowGroupingSelector.js +0 -5
  416. package/modern/hooks/features/rowGrouping/gridRowGroupingUtils.d.ts +0 -54
  417. package/modern/hooks/features/rowGrouping/gridRowGroupingUtils.js +0 -173
  418. package/modern/hooks/features/rowGrouping/index.d.ts +0 -3
  419. package/modern/hooks/features/rowGrouping/index.js +0 -3
  420. package/modern/hooks/features/rowGrouping/useGridDataSourceRowGroupingPreProcessors.d.ts +0 -4
  421. package/modern/hooks/features/rowGrouping/useGridDataSourceRowGroupingPreProcessors.js +0 -73
  422. package/modern/hooks/features/rowGrouping/useGridRowGrouping.d.ts +0 -11
  423. package/modern/hooks/features/rowGrouping/useGridRowGrouping.js +0 -182
  424. package/modern/hooks/features/rowGrouping/useGridRowGroupingPreProcessors.d.ts +0 -4
  425. package/modern/hooks/features/rowGrouping/useGridRowGroupingPreProcessors.js +0 -157
  426. package/modern/hooks/features/rows/index.d.ts +0 -1
  427. package/modern/hooks/features/rows/index.js +0 -1
  428. package/modern/hooks/features/rows/useGridRowAriaAttributes.d.ts +0 -1
  429. package/modern/hooks/features/rows/useGridRowAriaAttributes.js +0 -8
  430. package/modern/hooks/index.d.ts +0 -2
  431. package/modern/hooks/index.js +0 -3
  432. package/modern/hooks/utils/index.d.ts +0 -1
  433. package/modern/hooks/utils/index.js +0 -1
  434. package/modern/hooks/utils/useGridApiContext.d.ts +0 -4
  435. package/modern/hooks/utils/useGridApiContext.js +0 -2
  436. package/modern/hooks/utils/useGridApiRef.d.ts +0 -4
  437. package/modern/hooks/utils/useGridApiRef.js +0 -2
  438. package/modern/hooks/utils/useGridAriaAttributes.d.ts +0 -2
  439. package/modern/hooks/utils/useGridAriaAttributes.js +0 -13
  440. package/modern/hooks/utils/useGridPrivateApiContext.d.ts +0 -2
  441. package/modern/hooks/utils/useGridPrivateApiContext.js +0 -2
  442. package/modern/hooks/utils/useGridRootProps.d.ts +0 -2
  443. package/modern/hooks/utils/useGridRootProps.js +0 -2
  444. package/modern/hooks/utils/useKeepGroupedColumnsHidden.d.ts +0 -12
  445. package/modern/hooks/utils/useKeepGroupedColumnsHidden.js +0 -43
  446. package/modern/index.d.ts +0 -23
  447. package/modern/index.js +0 -26
  448. package/modern/locales.d.ts +0 -1
  449. package/modern/locales.js +0 -1
  450. package/modern/material/icons.d.ts +0 -15
  451. package/modern/material/icons.js +0 -20
  452. package/modern/material/index.d.ts +0 -8
  453. package/modern/material/index.js +0 -11
  454. package/modern/models/dataGridPremiumProps.d.ts +0 -162
  455. package/modern/models/dataGridPremiumProps.js +0 -1
  456. package/modern/models/gridApiPremium.d.ts +0 -14
  457. package/modern/models/gridApiPremium.js +0 -1
  458. package/modern/models/gridGroupingValueGetter.d.ts +0 -4
  459. package/modern/models/gridGroupingValueGetter.js +0 -1
  460. package/modern/models/gridPastedValueParser.d.ts +0 -4
  461. package/modern/models/gridPastedValueParser.js +0 -1
  462. package/modern/models/gridPremiumIconSlotsComponent.d.ts +0 -28
  463. package/modern/models/gridPremiumIconSlotsComponent.js +0 -1
  464. package/modern/models/gridPremiumSlotsComponent.d.ts +0 -7
  465. package/modern/models/gridPremiumSlotsComponent.js +0 -1
  466. package/modern/models/gridStatePremium.d.ts +0 -18
  467. package/modern/models/gridStatePremium.js +0 -1
  468. package/modern/models/index.d.ts +0 -4
  469. package/modern/models/index.js +0 -4
  470. package/modern/package.json +0 -1
  471. package/modern/setupExcelExportWebWorker.d.ts +0 -1
  472. package/modern/setupExcelExportWebWorker.js +0 -1
  473. package/modern/themeAugmentation/index.d.ts +0 -2
  474. package/modern/themeAugmentation/index.js +0 -4
  475. package/modern/themeAugmentation/overrides.d.ts +0 -7
  476. package/modern/themeAugmentation/overrides.js +0 -1
  477. package/modern/themeAugmentation/props.d.ts +0 -15
  478. package/modern/themeAugmentation/props.js +0 -1
  479. package/modern/typeOverloads/index.d.ts +0 -2
  480. package/modern/typeOverloads/index.js +0 -2
  481. package/modern/typeOverloads/modules.d.ts +0 -97
  482. package/modern/typeOverloads/modules.js +0 -1
  483. package/modern/typeOverloads/reexports.d.ts +0 -17
  484. package/modern/typeOverloads/reexports.js +0 -15
  485. package/modern/utils/releaseInfo.d.ts +0 -1
  486. package/modern/utils/releaseInfo.js +0 -13
  487. package/setupExcelExportWebWorker.d.ts +0 -1
  488. package/tsconfig.build.tsbuildinfo +0 -1
  489. package/utils/releaseInfo.d.ts +0 -1
  490. package/utils/releaseInfo.js +0 -20
  491. /package/esm/hooks/features/{promptControl/types.js → aiAssistant/gridAiAssistantInterfaces.js} +0 -0
  492. /package/esm/hooks/features/{promptControl → aiAssistant}/index.js +0 -0
  493. /package/{modern/hooks/features/aggregation/gridAggregationInterfaces.js → esm/hooks/features/pivoting/gridPivotingInterfaces.js} +0 -0
  494. /package/hooks/features/{promptControl/types.js → aiAssistant/gridAiAssistantInterfaces.js} +0 -0
  495. /package/hooks/features/{promptControl → aiAssistant}/index.js +0 -0
@@ -1,15 +0,0 @@
1
- export declare const GridWorkspacesIcon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
2
- muiName: string;
3
- };
4
- export declare const GridGroupWorkIcon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
5
- muiName: string;
6
- };
7
- export declare const GridFunctionsIcon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
8
- muiName: string;
9
- };
10
- export declare const GridSendPromptIcon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
11
- muiName: string;
12
- };
13
- export declare const GridRecordPromptIcon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
14
- muiName: string;
15
- };
@@ -1,20 +0,0 @@
1
- import * as React from 'react';
2
- import { createSvgIcon } from '@mui/material/utils';
3
- import { jsx as _jsx } from "react/jsx-runtime";
4
- export const GridWorkspacesIcon = createSvgIcon(/*#__PURE__*/_jsx("g", {
5
- children: /*#__PURE__*/_jsx("path", {
6
- d: "M6,13c-2.2,0-4,1.8-4,4s1.8,4,4,4s4-1.8,4-4S8.2,13,6,13z M12,3C9.8,3,8,4.8,8,7s1.8,4,4,4s4-1.8,4-4S14.2,3,12,3z M18,13 c-2.2,0-4,1.8-4,4s1.8,4,4,4s4-1.8,4-4S20.2,13,18,13z"
7
- })
8
- }), 'Workspaces');
9
- export const GridGroupWorkIcon = createSvgIcon(/*#__PURE__*/_jsx("path", {
10
- d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM8 17.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5zM9.5 8c0-1.38 1.12-2.5 2.5-2.5s2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5S9.5 9.38 9.5 8zm6.5 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"
11
- }), 'GroupWork');
12
- export const GridFunctionsIcon = createSvgIcon(/*#__PURE__*/_jsx("path", {
13
- d: "M18 4H6v2l6.5 6L6 18v2h12v-3h-7l5-5-5-5h7z"
14
- }), 'Functions');
15
- export const GridSendPromptIcon = createSvgIcon(/*#__PURE__*/_jsx("path", {
16
- d: "M2.01 21 23 12 2.01 3 2 10l15 2-15 2z"
17
- }), 'SendPrompt');
18
- export const GridRecordPromptIcon = createSvgIcon(/*#__PURE__*/_jsx("path", {
19
- d: "M12 14c1.66 0 2.99-1.34 2.99-3L15 5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3m5.3-3c0 3-2.54 5.1-5.3 5.1S6.7 14 6.7 11H5c0 3.41 2.72 6.23 6 6.72V21h2v-3.28c3.28-.48 6-3.3 6-6.72z"
20
- }), 'RecordPrompt');
@@ -1,8 +0,0 @@
1
- declare const materialSlots: {
2
- columnMenuUngroupIcon: React.JSXElementConstructor<any>;
3
- columnMenuGroupIcon: React.JSXElementConstructor<any>;
4
- columnMenuAggregationIcon: React.JSXElementConstructor<any>;
5
- toolbarPromptSendIcon: React.JSXElementConstructor<any>;
6
- toolbarPromptRecordIcon: React.JSXElementConstructor<any>;
7
- };
8
- export default materialSlots;
@@ -1,11 +0,0 @@
1
- import _extends from "@babel/runtime/helpers/esm/extends";
2
- import { GridWorkspacesIcon, GridGroupWorkIcon, GridFunctionsIcon, GridSendPromptIcon, GridRecordPromptIcon } from "./icons.js";
3
- const iconsSlots = {
4
- columnMenuUngroupIcon: GridWorkspacesIcon,
5
- columnMenuGroupIcon: GridGroupWorkIcon,
6
- columnMenuAggregationIcon: GridFunctionsIcon,
7
- toolbarPromptSendIcon: GridSendPromptIcon,
8
- toolbarPromptRecordIcon: GridRecordPromptIcon
9
- };
10
- const materialSlots = _extends({}, iconsSlots);
11
- export default materialSlots;
@@ -1,162 +0,0 @@
1
- import { RefObject } from '@mui/x-internals/types';
2
- import { GridCallbackDetails, GridValidRowModel, GridGroupNode, GridEventListener, GridGetRowsError, GridUpdateRowError } from '@mui/x-data-grid-pro';
3
- import { GridExperimentalProFeatures, DataGridProPropsWithDefaultValue, DataGridProPropsWithoutDefaultValue, DataGridPropsWithComplexDefaultValueAfterProcessing, DataGridPropsWithComplexDefaultValueBeforeProcessing, DataGridPremiumSharedPropsWithDefaultValue } from '@mui/x-data-grid-pro/internals';
4
- import type { GridRowGroupingModel } from '../hooks/features/rowGrouping';
5
- import type { GridAggregationModel, GridAggregationFunction, GridAggregationFunctionDataSource, GridAggregationPosition } from '../hooks/features/aggregation';
6
- import { GridPremiumSlotsComponent } from "./gridPremiumSlotsComponent.js";
7
- import { GridInitialStatePremium } from "./gridStatePremium.js";
8
- import { GridApiPremium } from "./gridApiPremium.js";
9
- import { GridCellSelectionModel } from "../hooks/features/cellSelection/index.js";
10
- import { GridDataSourcePremium as GridDataSource, GridGetRowsParamsPremium as GridGetRowsParams } from "../hooks/features/dataSource/models.js";
11
- export interface GridExperimentalPremiumFeatures extends GridExperimentalProFeatures {}
12
- export interface DataGridPremiumPropsWithComplexDefaultValueBeforeProcessing extends Pick<DataGridPropsWithComplexDefaultValueBeforeProcessing, 'localeText'> {
13
- /**
14
- * Overridable components.
15
- */
16
- slots?: Partial<GridPremiumSlotsComponent>;
17
- }
18
- /**
19
- * The props users can give to the `DataGridPremiumProps` component.
20
- */
21
- export interface DataGridPremiumProps<R extends GridValidRowModel = any> extends Omit<Partial<DataGridPremiumPropsWithDefaultValue<R>> & DataGridPremiumPropsWithComplexDefaultValueBeforeProcessing & DataGridPremiumPropsWithoutDefaultValue<R>, DataGridPremiumForcedPropsKey> {}
22
- export interface DataGridPremiumPropsWithComplexDefaultValueAfterProcessing extends Pick<DataGridPropsWithComplexDefaultValueAfterProcessing, 'localeText'> {
23
- slots: GridPremiumSlotsComponent;
24
- }
25
- /**
26
- * The props of the Data Grid Premium component after the pre-processing phase.
27
- */
28
- export interface DataGridPremiumProcessedProps extends DataGridPremiumPropsWithDefaultValue, DataGridPremiumPropsWithComplexDefaultValueAfterProcessing, DataGridPremiumPropsWithoutDefaultValue {}
29
- export type DataGridPremiumForcedPropsKey = 'signature';
30
- /**
31
- * The Data Grid Premium options with a default value overridable through props.
32
- * None of the entry of this interface should be optional, they all have default values and `DataGridProps` already applies a `Partial<DataGridSimpleOptions>` for the public interface.
33
- * The controlled model do not have a default value at the prop processing level, so they must be defined in `DataGridOtherProps`.
34
- */
35
- export interface DataGridPremiumPropsWithDefaultValue<R extends GridValidRowModel = any> extends DataGridProPropsWithDefaultValue<R>, DataGridPremiumSharedPropsWithDefaultValue {
36
- /**
37
- * If `true`, aggregation is disabled.
38
- * @default false
39
- */
40
- disableAggregation: boolean;
41
- /**
42
- * If `true`, the row grouping is disabled.
43
- * @default false
44
- */
45
- disableRowGrouping: boolean;
46
- /**
47
- * If `single`, all the columns that are grouped are represented in the same grid column.
48
- * If `multiple`, each column that is grouped is represented in its own grid column.
49
- * @default 'single'
50
- */
51
- rowGroupingColumnMode: 'single' | 'multiple';
52
- /**
53
- * Aggregation functions available on the grid.
54
- * @default GRID_AGGREGATION_FUNCTIONS when `dataSource` is not provided, `{}` when `dataSource` is provided
55
- */
56
- aggregationFunctions: Record<string, GridAggregationFunction> | Record<string, GridAggregationFunctionDataSource>;
57
- /**
58
- * Rows used to generate the aggregated value.
59
- * If `filtered`, the aggregated values are generated using only the rows currently passing the filtering process.
60
- * If `all`, the aggregated values are generated using all the rows.
61
- * @default "filtered"
62
- */
63
- aggregationRowsScope: 'filtered' | 'all';
64
- /**
65
- * Determines the position of an aggregated value.
66
- * @param {GridGroupNode} groupNode The current group.
67
- * @returns {GridAggregationPosition | null} Position of the aggregated value (if `null`, the group isn't aggregated).
68
- * @default (groupNode) => groupNode == null ? 'footer' : 'inline'
69
- */
70
- getAggregationPosition: (groupNode: GridGroupNode) => GridAggregationPosition | null;
71
- /**
72
- * If `true`, the clipboard paste is disabled.
73
- * @default false
74
- */
75
- disableClipboardPaste: boolean;
76
- /**
77
- * The function is used to split the pasted text into rows and cells.
78
- * @param {string} text The text pasted from the clipboard.
79
- * @returns {string[][] | null} A 2D array of strings. The first dimension is the rows, the second dimension is the columns.
80
- * @default (pastedText) => { const text = pastedText.replace(/\r?\n$/, ''); return text.split(/\r\n|\n|\r/).map((row) => row.split('\t')); }
81
- */
82
- splitClipboardPastedText: (text: string) => string[][] | null;
83
- }
84
- export interface DataGridPremiumPropsWithoutDefaultValue<R extends GridValidRowModel = any> extends Omit<DataGridProPropsWithoutDefaultValue<R>, 'initialState' | 'apiRef' | 'dataSource' | 'onDataSourceError'> {
85
- /**
86
- * The ref object that allows grid manipulation. Can be instantiated with `useGridApiRef()`.
87
- */
88
- apiRef?: RefObject<GridApiPremium | null>;
89
- /**
90
- * The initial state of the DataGridPremium.
91
- * The data in it is set in the state on initialization but isn't controlled.
92
- * If one of the data in `initialState` is also being controlled, then the control state wins.
93
- */
94
- initialState?: GridInitialStatePremium;
95
- /**
96
- * Set the row grouping model of the grid.
97
- */
98
- rowGroupingModel?: GridRowGroupingModel;
99
- /**
100
- * Callback fired when the row grouping model changes.
101
- * @param {GridRowGroupingModel} model Columns used as grouping criteria.
102
- * @param {GridCallbackDetails} details Additional details for this callback.
103
- */
104
- onRowGroupingModelChange?: (model: GridRowGroupingModel, details: GridCallbackDetails) => void;
105
- /**
106
- * Set the aggregation model of the grid.
107
- */
108
- aggregationModel?: GridAggregationModel;
109
- /**
110
- * Callback fired when the row grouping model changes.
111
- * @param {GridAggregationModel} model The aggregated columns.
112
- * @param {GridCallbackDetails} details Additional details for this callback.
113
- */
114
- onAggregationModelChange?: (model: GridAggregationModel, details: GridCallbackDetails) => void;
115
- /**
116
- * Set the cell selection model of the grid.
117
- */
118
- cellSelectionModel?: GridCellSelectionModel;
119
- /**
120
- * Callback fired when the selection state of one or multiple cells changes.
121
- * @param {GridCellSelectionModel} cellSelectionModel Object in the shape of [[GridCellSelectionModel]] containing the selected cells.
122
- * @param {GridCallbackDetails} details Additional details for this callback.
123
- */
124
- onCellSelectionModelChange?: (cellSelectionModel: GridCellSelectionModel, details: GridCallbackDetails) => void;
125
- /**
126
- * Callback fired when the state of the Excel export changes.
127
- * @param {string} inProgress Indicates if the task is in progress.
128
- */
129
- onExcelExportStateChange?: (inProgress: 'pending' | 'finished') => void;
130
- /**
131
- * Callback fired before the clipboard paste operation starts.
132
- * Use it to confirm or cancel the paste operation.
133
- * @param {object} params Params passed to the callback.
134
- * @param {string[][]} params.data The raw pasted data split by rows and cells.
135
- * @returns {Promise<any>} A promise that resolves to confirm the paste operation, and rejects to cancel it.
136
- */
137
- onBeforeClipboardPasteStart?: (params: {
138
- data: string[][];
139
- }) => Promise<any>;
140
- /**
141
- * Callback fired when the clipboard paste operation starts.
142
- */
143
- onClipboardPasteStart?: GridEventListener<'clipboardPasteStart'>;
144
- /**
145
- * Callback fired when the clipboard paste operation ends.
146
- */
147
- onClipboardPasteEnd?: GridEventListener<'clipboardPasteEnd'>;
148
- /**
149
- * Unstable features, breaking changes might be introduced.
150
- * For each feature, if the flag is not explicitly set to `true`, then the feature is fully disabled, and neither property nor method calls will have any effect.
151
- */
152
- experimentalFeatures?: Partial<GridExperimentalPremiumFeatures>;
153
- /**
154
- * Data source object.
155
- */
156
- dataSource?: GridDataSource;
157
- /**
158
- * Callback fired when a data source request fails.
159
- * @param {GridGetRowsError | GridUpdateRowError} error The data source error object.
160
- */
161
- onDataSourceError?: (error: GridGetRowsError<GridGetRowsParams> | GridUpdateRowError) => void;
162
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,14 +0,0 @@
1
- import { GridPrivateOnlyApiCommon } from '@mui/x-data-grid/internals';
2
- import { GridApiCommon, GridColumnPinningApi, GridDetailPanelApi, GridDetailPanelPrivateApi, GridRowPinningApi, GridRowMultiSelectionApi, GridColumnReorderApi, GridRowProApi } from '@mui/x-data-grid-pro';
3
- import { GridInitialStatePremium, GridStatePremium } from "./gridStatePremium.js";
4
- import type { GridRowGroupingApi, GridExcelExportApi, GridAggregationApi } from '../hooks';
5
- import { GridCellSelectionApi } from "../hooks/features/cellSelection/gridCellSelectionInterfaces.js";
6
- import type { DataGridPremiumProcessedProps } from './dataGridPremiumProps';
7
- import type { GridDataSourcePremiumPrivateApi, GridDataSourceApiPremium } from '../hooks/features/dataSource/models';
8
- import type { GridAggregationPrivateApi } from '../hooks/features/aggregation/gridAggregationInterfaces';
9
- /**
10
- * The api of Data Grid Premium.
11
- * TODO: Do not redefine manually the pro features
12
- */
13
- export interface GridApiPremium extends GridApiCommon<GridStatePremium, GridInitialStatePremium>, GridRowProApi, GridColumnPinningApi, GridDetailPanelApi, GridRowGroupingApi, GridExcelExportApi, GridAggregationApi, GridRowPinningApi, GridDataSourceApiPremium, GridCellSelectionApi, GridRowMultiSelectionApi, GridColumnReorderApi {}
14
- export interface GridPrivateApiPremium extends GridApiPremium, GridPrivateOnlyApiCommon<GridApiPremium, GridPrivateApiPremium, DataGridPremiumProcessedProps>, GridDataSourcePremiumPrivateApi, GridAggregationPrivateApi, GridDetailPanelPrivateApi {}
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- import { RefObject } from '@mui/x-internals/types';
2
- import { GridValidRowModel, GridColDef, GridKeyValue } from '@mui/x-data-grid-pro';
3
- import { GridApiPremium } from "./gridApiPremium.js";
4
- export type GridGroupingValueGetter<R extends GridValidRowModel = GridValidRowModel, TValue = never> = (value: TValue, row: R, column: GridColDef<R>, apiRef: RefObject<GridApiPremium>) => GridKeyValue | null | undefined;
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- import { RefObject } from '@mui/x-internals/types';
2
- import { GridColDef, GridValidRowModel } from '@mui/x-data-grid';
3
- import { GridApiPremium } from "./gridApiPremium.js";
4
- export type GridPastedValueParser<R extends GridValidRowModel = GridValidRowModel, V = any, F = V> = (value: string, row: R, column: GridColDef<R, V, F>, apiRef: RefObject<GridApiPremium>) => V | undefined;
@@ -1 +0,0 @@
1
- export {};
@@ -1,28 +0,0 @@
1
- import * as React from 'react';
2
- export interface GridPremiumIconSlotsComponent {
3
- /**
4
- * Icon displayed in column menu for ungrouping
5
- * @default GridWorkspacesIcon
6
- */
7
- columnMenuUngroupIcon: React.JSXElementConstructor<any>;
8
- /**
9
- * Icon displayed in column menu for grouping
10
- * @default GridGroupWorkIcon
11
- */
12
- columnMenuGroupIcon: React.JSXElementConstructor<any>;
13
- /**
14
- * Icon displayed in column menu for aggregation
15
- * @default GridFunctionsIcon
16
- */
17
- columnMenuAggregationIcon: React.JSXElementConstructor<any>;
18
- /**
19
- * Icon used for the button that sends a prompt
20
- * @default GridFunctionsIcon
21
- */
22
- toolbarPromptSendIcon: React.JSXElementConstructor<any>;
23
- /**
24
- * Icon used for the button that starts/stops recording the prompt
25
- * @default GridFunctionsIcon
26
- */
27
- toolbarPromptRecordIcon: React.JSXElementConstructor<any>;
28
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,7 +0,0 @@
1
- import { GridProSlotsComponent } from '@mui/x-data-grid-pro';
2
- import { GridPremiumIconSlotsComponent } from "./gridPremiumIconSlotsComponent.js";
3
- /**
4
- * Grid components React prop interface containing all the overridable components
5
- * for Premium package
6
- */
7
- export interface GridPremiumSlotsComponent extends GridProSlotsComponent, GridPremiumIconSlotsComponent {}
@@ -1 +0,0 @@
1
- export {};
@@ -1,18 +0,0 @@
1
- import { GridInitialState as GridInitialStatePro, GridState as GridStatePro } from '@mui/x-data-grid-pro';
2
- import type { GridRowGroupingState, GridRowGroupingInitialState, GridAggregationState, GridAggregationInitialState, GridCellSelectionModel } from '../hooks';
3
- /**
4
- * The state of Data Grid Premium.
5
- */
6
- export interface GridStatePremium extends GridStatePro {
7
- rowGrouping: GridRowGroupingState;
8
- aggregation: GridAggregationState;
9
- cellSelection: GridCellSelectionModel;
10
- }
11
- /**
12
- * The initial state of Data Grid Premium.
13
- */
14
- export interface GridInitialStatePremium extends GridInitialStatePro {
15
- rowGrouping?: GridRowGroupingInitialState;
16
- aggregation?: GridAggregationInitialState;
17
- cellSelection?: GridCellSelectionModel;
18
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- export * from "./gridGroupingValueGetter.js";
2
- export * from "./gridPremiumIconSlotsComponent.js";
3
- export * from "./gridPremiumSlotsComponent.js";
4
- export * from "./gridPastedValueParser.js";
@@ -1,4 +0,0 @@
1
- export * from "./gridGroupingValueGetter.js";
2
- export * from "./gridPremiumIconSlotsComponent.js";
3
- export * from "./gridPremiumSlotsComponent.js";
4
- export * from "./gridPastedValueParser.js";
@@ -1 +0,0 @@
1
- {"type":"module","sideEffects":false}
@@ -1 +0,0 @@
1
- export { setupExcelExportWebWorker } from "./hooks/features/export/serializer/setupExcelExportWebWorker.js";
@@ -1 +0,0 @@
1
- export { setupExcelExportWebWorker } from "./hooks/features/export/serializer/setupExcelExportWebWorker.js";
@@ -1,2 +0,0 @@
1
- export * from "./overrides.js";
2
- export * from "./props.js";
@@ -1,4 +0,0 @@
1
- export * from "./overrides.js";
2
- export * from "./props.js";
3
- // TODO v5
4
- // export * from './components';
@@ -1,7 +0,0 @@
1
- import { GridClassKey } from '@mui/x-data-grid';
2
- export interface DataGridPremiumComponentNameToClassKey {
3
- MuiDataGrid: GridClassKey;
4
- }
5
- declare module '@mui/material/styles' {
6
- interface ComponentNameToClassKey extends DataGridPremiumComponentNameToClassKey {}
7
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,15 +0,0 @@
1
- import { ComponentsOverrides, ComponentsProps } from '@mui/material/styles';
2
- import { DataGridPremiumProps } from "../models/dataGridPremiumProps.js";
3
- export interface DataGridPremiumComponentsPropsList {
4
- MuiDataGrid: DataGridPremiumProps;
5
- }
6
- export interface DataGridPremiumComponents<Theme = unknown> {
7
- MuiDataGrid?: {
8
- defaultProps?: ComponentsProps['MuiDataGrid'];
9
- styleOverrides?: ComponentsOverrides<Theme>['MuiDataGrid'];
10
- };
11
- }
12
- declare module '@mui/material/styles' {
13
- interface ComponentsPropsList extends DataGridPremiumComponentsPropsList {}
14
- interface Components<Theme = unknown> extends DataGridPremiumComponents<Theme> {}
15
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,2 +0,0 @@
1
- import '@mui/x-data-grid-pro/typeOverloads';
2
- export * from "./modules.js";
@@ -1,2 +0,0 @@
1
- import '@mui/x-data-grid-pro/typeOverloads';
2
- export * from "./modules.js";
@@ -1,97 +0,0 @@
1
- import { GridExportDisplayOptions, GridValidRowModel } from '@mui/x-data-grid-pro';
2
- import type { GridControlledStateEventLookupPro, GridApiCachesPro, GridEventLookupPro } from '@mui/x-data-grid-pro/typeOverloads';
3
- import type { GridGroupingValueGetter, GridPastedValueParser } from '../models';
4
- import type { GridRowGroupingModel, GridAggregationModel, GridAggregationCellMeta, GridAggregationHeaderMeta, GridCellSelectionModel } from '../hooks';
5
- import { GridRowGroupingInternalCache } from "../hooks/features/rowGrouping/gridRowGroupingInterfaces.js";
6
- import { GridAggregationInternalCache } from "../hooks/features/aggregation/gridAggregationInterfaces.js";
7
- import type { GridExcelExportOptions } from '../hooks/features/export/gridExcelExportInterface';
8
- export interface GridControlledStateEventLookupPremium {
9
- /**
10
- * Fired when the aggregation model changes.
11
- */
12
- aggregationModelChange: {
13
- params: GridAggregationModel;
14
- };
15
- /**
16
- * Fired when the row grouping model changes.
17
- */
18
- rowGroupingModelChange: {
19
- params: GridRowGroupingModel;
20
- };
21
- /**
22
- * Fired when the selection state of one or multiple cells change.
23
- */
24
- cellSelectionChange: {
25
- params: GridCellSelectionModel;
26
- };
27
- /**
28
- * Fired when the state of the Excel export task changes
29
- */
30
- excelExportStateChange: {
31
- params: 'pending' | 'finished';
32
- };
33
- }
34
- interface GridEventLookupPremium extends GridEventLookupPro {
35
- /**
36
- * Fired when the clipboard paste operation starts.
37
- */
38
- clipboardPasteStart: {
39
- params: {
40
- data: string[][];
41
- };
42
- };
43
- /**
44
- * Fired when the clipboard paste operation ends.
45
- */
46
- clipboardPasteEnd: {};
47
- }
48
- export interface GridColDefPremium<R extends GridValidRowModel = any, V = any, F = V> {
49
- /**
50
- * If `true`, the cells of the column can be aggregated based.
51
- * @default true
52
- */
53
- aggregable?: boolean;
54
- /**
55
- * Limit the aggregation function usable on this column.
56
- * By default, the column will have all the aggregation functions that are compatible with its type.
57
- */
58
- availableAggregationFunctions?: string[];
59
- /**
60
- * Function that transforms a complex cell value into a key that be used for grouping the rows.
61
- * @returns {GridKeyValue | null | undefined} The cell key.
62
- */
63
- groupingValueGetter?: GridGroupingValueGetter<R>;
64
- /**
65
- * Function that takes the clipboard-pasted value and converts it to a value used internally.
66
- * @returns {V} The converted value.
67
- */
68
- pastedValueParser?: GridPastedValueParser<R, V, F>;
69
- }
70
- export interface GridRenderCellParamsPremium<R extends GridValidRowModel = any, V = any, F = V> {
71
- aggregation?: GridAggregationCellMeta;
72
- }
73
- export interface GridColumnHeaderParamsPremium<R extends GridValidRowModel = any, V = any, F = V> {
74
- aggregation?: GridAggregationHeaderMeta;
75
- }
76
- export interface GridApiCachesPremium extends GridApiCachesPro {
77
- rowGrouping: GridRowGroupingInternalCache;
78
- aggregation: GridAggregationInternalCache;
79
- }
80
- declare module '@mui/x-data-grid-pro' {
81
- interface GridEventLookup extends GridEventLookupPremium {}
82
- interface GridControlledStateEventLookup extends GridControlledStateEventLookupPro, GridControlledStateEventLookupPremium {}
83
- interface GridRenderCellParams<R, V, F> extends GridRenderCellParamsPremium<R, V, F> {}
84
- interface GridColumnHeaderParams<R, V, F> extends GridColumnHeaderParamsPremium<R, V, F> {}
85
- interface GridApiCaches extends GridApiCachesPremium {}
86
- interface GridToolbarExportProps {
87
- excelOptions?: GridExcelExportOptions & GridExportDisplayOptions;
88
- }
89
- interface GridToolbarProps {
90
- excelOptions?: GridExcelExportOptions & GridExportDisplayOptions;
91
- }
92
- }
93
- declare module '@mui/x-data-grid-pro/internals' {
94
- interface GridApiCaches extends GridApiCachesPremium {}
95
- interface GridBaseColDef<R, V, F> extends GridColDefPremium<R, V, F> {}
96
- }
97
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1,17 +0,0 @@
1
- import type { GridApiPremium } from '../models/gridApiPremium';
2
- import { GridInitialStatePremium, GridStatePremium } from "../models/gridStatePremium.js";
3
- export { useGridApiContext } from "../hooks/utils/useGridApiContext.js";
4
- export { useGridApiRef } from "../hooks/utils/useGridApiRef.js";
5
- export { useGridRootProps } from "../hooks/utils/useGridRootProps.js";
6
- /**
7
- * The full grid API.
8
- */
9
- export type GridApi = GridApiPremium;
10
- /**
11
- * The state of Data Grid Premium.
12
- */
13
- export type GridState = GridStatePremium;
14
- /**
15
- * The initial state of Data Grid Premium.
16
- */
17
- export type GridInitialState = GridInitialStatePremium;
@@ -1,15 +0,0 @@
1
- export { useGridApiContext } from "../hooks/utils/useGridApiContext.js";
2
- export { useGridApiRef } from "../hooks/utils/useGridApiRef.js";
3
- export { useGridRootProps } from "../hooks/utils/useGridRootProps.js";
4
-
5
- /**
6
- * The full grid API.
7
- */
8
-
9
- /**
10
- * The state of Data Grid Premium.
11
- */
12
-
13
- /**
14
- * The initial state of Data Grid Premium.
15
- */
@@ -1 +0,0 @@
1
- export declare const getReleaseInfo: () => any;
@@ -1,13 +0,0 @@
1
- import { ponyfillGlobal } from '@mui/utils';
2
- export const getReleaseInfo = () => {
3
- const releaseInfo = "MTc0MzExMjgwMDAwMA==";
4
- if (process.env.NODE_ENV !== 'production') {
5
- // A simple hack to set the value in the test environment (has no build step).
6
- // eslint-disable-next-line no-useless-concat
7
- if (releaseInfo === '__RELEASE' + '_INFO__') {
8
- // eslint-disable-next-line no-underscore-dangle
9
- return ponyfillGlobal.__MUI_RELEASE_INFO__;
10
- }
11
- }
12
- return releaseInfo;
13
- };
@@ -1 +0,0 @@
1
- export { setupExcelExportWebWorker } from "./hooks/features/export/serializer/setupExcelExportWebWorker.js";