@mui/x-data-grid-premium 9.0.0-alpha.0 → 9.0.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (412) hide show
  1. package/CHANGELOG.md +236 -0
  2. package/DataGridPremium/DataGrid.js +4 -2
  3. package/DataGridPremium/DataGrid.mjs +20 -0
  4. package/{esm/DataGridPremium/DataGridPremium.d.ts → DataGridPremium/DataGridPremium.d.mts} +2 -2
  5. package/DataGridPremium/DataGridPremium.js +77 -4
  6. package/{esm/DataGridPremium/DataGridPremium.js → DataGridPremium/DataGridPremium.mjs} +86 -13
  7. package/DataGridPremium/index.d.mts +3 -0
  8. package/DataGridPremium/index.mjs +3 -0
  9. package/{esm/DataGridPremium/useDataGridPremiumComponent.d.ts → DataGridPremium/useDataGridPremiumComponent.d.mts} +2 -2
  10. package/{esm/DataGridPremium/useDataGridPremiumComponent.js → DataGridPremium/useDataGridPremiumComponent.mjs} +15 -15
  11. package/{esm/DataGridPremium/useDataGridPremiumProps.d.ts → DataGridPremium/useDataGridPremiumProps.d.mts} +1 -1
  12. package/{esm/DataGridPremium/useDataGridPremiumProps.js → DataGridPremium/useDataGridPremiumProps.mjs} +5 -5
  13. package/{esm/components/GridAggregationHeader.js → components/GridAggregationHeader.mjs} +3 -3
  14. package/{esm/components/GridAggregationRowOverlay.js → components/GridAggregationRowOverlay.mjs} +2 -2
  15. package/{esm/components/GridBottomContainer.js → components/GridBottomContainer.mjs} +4 -4
  16. package/{esm/components/GridDataSourceGroupingCriteriaCell.js → components/GridDataSourceGroupingCriteriaCell.mjs} +3 -3
  17. package/{esm/components/GridEmptyPivotOverlay.js → components/GridEmptyPivotOverlay.mjs} +1 -1
  18. package/{esm/components/GridExcelExportMenuItem.d.ts → components/GridExcelExportMenuItem.d.mts} +1 -1
  19. package/{esm/components/GridExcelExportMenuItem.js → components/GridExcelExportMenuItem.mjs} +2 -2
  20. package/{esm/components/GridGroupingColumnFooterCell.js → components/GridGroupingColumnFooterCell.mjs} +1 -1
  21. package/{esm/components/GridGroupingColumnLeafCell.js → components/GridGroupingColumnLeafCell.mjs} +1 -1
  22. package/{esm/components/GridGroupingCriteriaCell.js → components/GridGroupingCriteriaCell.mjs} +3 -3
  23. package/{esm/components/GridPremiumColumnMenu.d.ts → components/GridPremiumColumnMenu.d.mts} +2 -2
  24. package/{esm/components/GridPremiumColumnMenu.js → components/GridPremiumColumnMenu.mjs} +5 -5
  25. package/{esm/components/GridPremiumToolbar.js → components/GridPremiumToolbar.mjs} +7 -7
  26. package/{esm/components/aiAssistantPanel/AiAssistantPanelTrigger.js → components/aiAssistantPanel/AiAssistantPanelTrigger.mjs} +2 -2
  27. package/{esm/components/aiAssistantPanel/GridAiAssistantPanel.js → components/aiAssistantPanel/GridAiAssistantPanel.mjs} +7 -7
  28. package/{esm/components/aiAssistantPanel/GridAiAssistantPanelConversation.d.ts → components/aiAssistantPanel/GridAiAssistantPanelConversation.d.mts} +1 -1
  29. package/{esm/components/aiAssistantPanel/GridAiAssistantPanelConversation.js → components/aiAssistantPanel/GridAiAssistantPanelConversation.mjs} +3 -3
  30. package/{esm/components/aiAssistantPanel/GridAiAssistantPanelConversationsMenu.js → components/aiAssistantPanel/GridAiAssistantPanelConversationsMenu.mjs} +3 -3
  31. package/{esm/components/aiAssistantPanel/GridAiAssistantPanelSuggestions.d.ts → components/aiAssistantPanel/GridAiAssistantPanelSuggestions.d.mts} +1 -1
  32. package/{esm/components/aiAssistantPanel/GridAiAssistantPanelSuggestions.js → components/aiAssistantPanel/GridAiAssistantPanelSuggestions.mjs} +2 -2
  33. package/components/aiAssistantPanel/index.d.mts +2 -0
  34. package/components/aiAssistantPanel/index.mjs +2 -0
  35. package/{esm/components/chartsPanel/ChartsPanelTrigger.js → components/chartsPanel/ChartsPanelTrigger.mjs} +3 -3
  36. package/{esm/components/chartsPanel/GridChartsPanel.js → components/chartsPanel/GridChartsPanel.mjs} +7 -7
  37. package/{esm/components/chartsPanel/chart/GridChartsPanelChart.js → components/chartsPanel/chart/GridChartsPanelChart.mjs} +1 -1
  38. package/{esm/components/chartsPanel/customize/GridChartsPanelCustomize.js → components/chartsPanel/customize/GridChartsPanelCustomize.mjs} +7 -7
  39. package/{esm/components/chartsPanel/data/GridChartsPanelData.js → components/chartsPanel/data/GridChartsPanelData.mjs} +2 -2
  40. package/{esm/components/chartsPanel/data/GridChartsPanelDataBody.d.ts → components/chartsPanel/data/GridChartsPanelDataBody.d.mts} +1 -1
  41. package/{esm/components/chartsPanel/data/GridChartsPanelDataBody.js → components/chartsPanel/data/GridChartsPanelDataBody.mjs} +10 -10
  42. package/{esm/components/chartsPanel/data/GridChartsPanelDataField.d.ts → components/chartsPanel/data/GridChartsPanelDataField.d.mts} +2 -2
  43. package/{esm/components/chartsPanel/data/GridChartsPanelDataField.js → components/chartsPanel/data/GridChartsPanelDataField.mjs} +8 -8
  44. package/{esm/components/chartsPanel/data/GridChartsPanelDataFieldMenu.d.ts → components/chartsPanel/data/GridChartsPanelDataFieldMenu.d.mts} +1 -1
  45. package/{esm/components/chartsPanel/data/GridChartsPanelDataFieldMenu.js → components/chartsPanel/data/GridChartsPanelDataFieldMenu.mjs} +3 -3
  46. package/{esm/components/chartsPanel/data/GridChartsPanelDataHeader.js → components/chartsPanel/data/GridChartsPanelDataHeader.mjs} +2 -2
  47. package/{esm/components/chartsPanel/data/GridChartsPanelDataSearch.js → components/chartsPanel/data/GridChartsPanelDataSearch.mjs} +2 -2
  48. package/components/chartsPanel/index.d.mts +2 -0
  49. package/components/chartsPanel/index.mjs +2 -0
  50. package/{esm/components/collapsible/Collapsible.js → components/collapsible/Collapsible.mjs} +2 -2
  51. package/components/collapsible/CollapsibleContext.js +3 -1
  52. package/{esm/components/collapsible/CollapsibleContext.js → components/collapsible/CollapsibleContext.mjs} +2 -1
  53. package/{esm/components/collapsible/CollapsiblePanel.js → components/collapsible/CollapsiblePanel.mjs} +2 -2
  54. package/{esm/components/collapsible/CollapsibleTrigger.js → components/collapsible/CollapsibleTrigger.mjs} +2 -2
  55. package/components/collapsible/index.d.mts +4 -0
  56. package/components/collapsible/index.mjs +4 -0
  57. package/{esm/components/columnMenu/menuItems/GridColumnMenuAggregationItem.js → components/columnMenu/menuItems/GridColumnMenuAggregationItem.mjs} +4 -4
  58. package/{esm/components/columnMenu/menuItems/GridColumnMenuChartsItem.js → components/columnMenu/menuItems/GridColumnMenuChartsItem.mjs} +3 -3
  59. package/{esm/components/columnMenu/menuItems/GridColumnMenuManagePanelItem.js → components/columnMenu/menuItems/GridColumnMenuManagePanelItem.mjs} +2 -2
  60. package/{esm/components/columnMenu/menuItems/GridColumnMenuPivotItem.js → components/columnMenu/menuItems/GridColumnMenuPivotItem.mjs} +4 -4
  61. package/{esm/components/columnMenu/menuItems/GridColumnMenuRowGroupItem.js → components/columnMenu/menuItems/GridColumnMenuRowGroupItem.mjs} +4 -4
  62. package/{esm/components/columnMenu/menuItems/GridColumnMenuRowUngroupItem.js → components/columnMenu/menuItems/GridColumnMenuRowUngroupItem.mjs} +3 -3
  63. package/{esm/components/export/ExportExcel.d.ts → components/export/ExportExcel.d.mts} +1 -1
  64. package/{esm/components/export/ExportExcel.js → components/export/ExportExcel.mjs} +2 -2
  65. package/components/export/index.d.mts +1 -0
  66. package/components/export/index.mjs +1 -0
  67. package/components/index.d.mts +10 -0
  68. package/components/index.mjs +10 -0
  69. package/{esm/components/pivotPanel/GridPivotPanel.js → components/pivotPanel/GridPivotPanel.mjs} +2 -2
  70. package/{esm/components/pivotPanel/GridPivotPanelBody.js → components/pivotPanel/GridPivotPanelBody.mjs} +6 -6
  71. package/{esm/components/pivotPanel/GridPivotPanelField.d.ts → components/pivotPanel/GridPivotPanelField.d.mts} +2 -2
  72. package/{esm/components/pivotPanel/GridPivotPanelField.js → components/pivotPanel/GridPivotPanelField.mjs} +6 -6
  73. package/{esm/components/pivotPanel/GridPivotPanelFieldMenu.d.ts → components/pivotPanel/GridPivotPanelFieldMenu.d.mts} +1 -1
  74. package/{esm/components/pivotPanel/GridPivotPanelFieldMenu.js → components/pivotPanel/GridPivotPanelFieldMenu.mjs} +3 -3
  75. package/{esm/components/pivotPanel/GridPivotPanelHeader.js → components/pivotPanel/GridPivotPanelHeader.mjs} +5 -5
  76. package/{esm/components/pivotPanel/GridPivotPanelSearch.js → components/pivotPanel/GridPivotPanelSearch.mjs} +2 -2
  77. package/{esm/components/pivotPanel/PivotPanelTrigger.js → components/pivotPanel/PivotPanelTrigger.mjs} +4 -4
  78. package/components/pivotPanel/index.d.mts +2 -0
  79. package/components/pivotPanel/index.mjs +2 -0
  80. package/{esm/components/prompt/GridPrompt.d.ts → components/prompt/GridPrompt.d.mts} +1 -1
  81. package/{esm/components/prompt/GridPrompt.js → components/prompt/GridPrompt.mjs} +2 -2
  82. package/components/prompt/index.d.mts +1 -0
  83. package/components/prompt/index.mjs +1 -0
  84. package/{esm/components/promptField/GridPromptField.d.ts → components/promptField/GridPromptField.d.mts} +1 -1
  85. package/{esm/components/promptField/GridPromptField.js → components/promptField/GridPromptField.mjs} +7 -7
  86. package/{esm/components/promptField/PromptField.d.ts → components/promptField/PromptField.d.mts} +1 -1
  87. package/{esm/components/promptField/PromptField.js → components/promptField/PromptField.mjs} +1 -1
  88. package/components/promptField/PromptFieldContext.js +3 -1
  89. package/{esm/components/promptField/PromptFieldContext.js → components/promptField/PromptFieldContext.mjs} +2 -1
  90. package/{esm/components/promptField/PromptFieldControl.d.ts → components/promptField/PromptFieldControl.d.mts} +1 -1
  91. package/{esm/components/promptField/PromptFieldControl.js → components/promptField/PromptFieldControl.mjs} +2 -2
  92. package/{esm/components/promptField/PromptFieldRecord.d.ts → components/promptField/PromptFieldRecord.d.mts} +1 -1
  93. package/{esm/components/promptField/PromptFieldRecord.js → components/promptField/PromptFieldRecord.mjs} +3 -3
  94. package/{esm/components/promptField/PromptFieldSend.d.ts → components/promptField/PromptFieldSend.d.mts} +1 -1
  95. package/{esm/components/promptField/PromptFieldSend.js → components/promptField/PromptFieldSend.mjs} +2 -2
  96. package/components/promptField/index.d.mts +4 -0
  97. package/components/promptField/index.mjs +4 -0
  98. package/{esm/components/reexports.d.ts → components/reexports.d.mts} +1 -1
  99. package/{esm/components/reexports.js → components/reexports.mjs} +1 -1
  100. package/{esm/components/resizablePanel/ResizablePanel.js → components/resizablePanel/ResizablePanel.mjs} +2 -2
  101. package/components/resizablePanel/ResizablePanelContext.js +3 -1
  102. package/{esm/components/resizablePanel/ResizablePanelContext.js → components/resizablePanel/ResizablePanelContext.mjs} +2 -1
  103. package/{esm/components/resizablePanel/ResizablePanelHandle.js → components/resizablePanel/ResizablePanelHandle.mjs} +3 -3
  104. package/components/resizablePanel/index.d.mts +3 -0
  105. package/components/resizablePanel/index.mjs +3 -0
  106. package/{esm/components/sidebar/Sidebar.js → components/sidebar/Sidebar.mjs} +4 -4
  107. package/{esm/components/sidebar/SidebarHeader.js → components/sidebar/SidebarHeader.mjs} +1 -1
  108. package/components/sidebar/index.d.mts +2 -0
  109. package/components/sidebar/index.mjs +2 -0
  110. package/{esm/constants/dataGridPremiumDefaultSlotsComponents.d.ts → constants/dataGridPremiumDefaultSlotsComponents.d.mts} +1 -1
  111. package/{esm/constants/dataGridPremiumDefaultSlotsComponents.js → constants/dataGridPremiumDefaultSlotsComponents.mjs} +5 -5
  112. package/{esm/context/GridChartsIntegrationContextProvider.js → context/GridChartsIntegrationContextProvider.mjs} +2 -2
  113. package/{esm/context/GridChartsRendererProxy.d.ts → context/GridChartsRendererProxy.d.mts} +1 -1
  114. package/{esm/context/GridChartsRendererProxy.js → context/GridChartsRendererProxy.mjs} +2 -2
  115. package/context/index.d.mts +2 -0
  116. package/context/index.mjs +2 -0
  117. package/{esm/hooks/features/aggregation/createAggregationLookup.d.ts → hooks/features/aggregation/createAggregationLookup.d.mts} +3 -3
  118. package/{esm/hooks/features/aggregation/gridAggregationFunctions.d.ts → hooks/features/aggregation/gridAggregationFunctions.d.mts} +1 -1
  119. package/{esm/hooks/features/aggregation/gridAggregationInterfaces.d.ts → hooks/features/aggregation/gridAggregationInterfaces.d.mts} +1 -1
  120. package/{esm/hooks/features/aggregation/gridAggregationSelectors.d.ts → hooks/features/aggregation/gridAggregationSelectors.d.mts} +4 -4
  121. package/{esm/hooks/features/aggregation/gridAggregationUtils.d.ts → hooks/features/aggregation/gridAggregationUtils.d.mts} +4 -4
  122. package/{esm/hooks/features/aggregation/index.d.ts → hooks/features/aggregation/index.d.mts} +4 -4
  123. package/{esm/hooks/features/aggregation/index.js → hooks/features/aggregation/index.mjs} +3 -3
  124. package/{esm/hooks/features/aggregation/useGridAggregation.d.ts → hooks/features/aggregation/useGridAggregation.d.mts} +2 -2
  125. package/{esm/hooks/features/aggregation/useGridAggregation.js → hooks/features/aggregation/useGridAggregation.mjs} +3 -3
  126. package/{esm/hooks/features/aggregation/useGridAggregationPreProcessors.d.ts → hooks/features/aggregation/useGridAggregationPreProcessors.d.mts} +2 -2
  127. package/{esm/hooks/features/aggregation/useGridAggregationPreProcessors.js → hooks/features/aggregation/useGridAggregationPreProcessors.mjs} +3 -3
  128. package/{esm/hooks/features/aggregation/wrapColumnWithAggregation.d.ts → hooks/features/aggregation/wrapColumnWithAggregation.d.mts} +5 -5
  129. package/{esm/hooks/features/aggregation/wrapColumnWithAggregation.js → hooks/features/aggregation/wrapColumnWithAggregation.mjs} +3 -3
  130. package/{esm/hooks/features/aiAssistant/api.d.ts → hooks/features/aiAssistant/api.d.mts} +1 -1
  131. package/hooks/features/aiAssistant/api.js +1 -1
  132. package/{esm/hooks/features/aiAssistant/api.js → hooks/features/aiAssistant/api.mjs} +1 -1
  133. package/{esm/hooks/features/aiAssistant/gridAiAssistantSelectors.d.ts → hooks/features/aiAssistant/gridAiAssistantSelectors.d.mts} +2 -2
  134. package/{esm/hooks/features/aiAssistant/index.d.ts → hooks/features/aiAssistant/index.d.mts} +2 -2
  135. package/{esm/hooks/features/aiAssistant/index.js → hooks/features/aiAssistant/index.mjs} +1 -1
  136. package/{esm/hooks/features/aiAssistant/useGridAiAssistant.d.ts → hooks/features/aiAssistant/useGridAiAssistant.d.mts} +2 -2
  137. package/hooks/features/aiAssistant/useGridAiAssistant.js +2 -1
  138. package/{esm/hooks/features/aiAssistant/useGridAiAssistant.js → hooks/features/aiAssistant/useGridAiAssistant.mjs} +4 -3
  139. package/{esm/hooks/features/cellSelection/gridCellSelectionSelector.d.ts → hooks/features/cellSelection/gridCellSelectionSelector.d.mts} +2 -2
  140. package/hooks/features/cellSelection/index.d.mts +1 -0
  141. package/hooks/features/cellSelection/index.mjs +1 -0
  142. package/{esm/hooks/features/cellSelection/useGridCellSelection.d.ts → hooks/features/cellSelection/useGridCellSelection.d.mts} +2 -2
  143. package/{esm/hooks/features/cellSelection/useGridCellSelection.js → hooks/features/cellSelection/useGridCellSelection.mjs} +1 -1
  144. package/{esm/hooks/features/chartsIntegration/gridChartsIntegrationInterfaces.d.ts → hooks/features/chartsIntegration/gridChartsIntegrationInterfaces.d.mts} +1 -1
  145. package/{esm/hooks/features/chartsIntegration/gridChartsIntegrationSelectors.d.ts → hooks/features/chartsIntegration/gridChartsIntegrationSelectors.d.mts} +5 -5
  146. package/{esm/hooks/features/chartsIntegration/gridChartsIntegrationSelectors.js → hooks/features/chartsIntegration/gridChartsIntegrationSelectors.mjs} +2 -2
  147. package/{esm/hooks/features/chartsIntegration/useGridChartsIntegration.d.ts → hooks/features/chartsIntegration/useGridChartsIntegration.d.mts} +3 -3
  148. package/{esm/hooks/features/chartsIntegration/useGridChartsIntegration.js → hooks/features/chartsIntegration/useGridChartsIntegration.mjs} +9 -9
  149. package/{esm/hooks/features/chartsIntegration/utils.d.ts → hooks/features/chartsIntegration/utils.d.mts} +2 -2
  150. package/{esm/hooks/features/chartsIntegration/utils.js → hooks/features/chartsIntegration/utils.mjs} +1 -1
  151. package/{esm/hooks/features/clipboard/useGridClipboardImport.d.ts → hooks/features/clipboard/useGridClipboardImport.d.mts} +2 -2
  152. package/{esm/hooks/features/dataSource/models.d.ts → hooks/features/dataSource/models.d.mts} +2 -2
  153. package/{esm/hooks/features/dataSource/useGridDataSourcePremium.d.ts → hooks/features/dataSource/useGridDataSourcePremium.d.mts} +2 -2
  154. package/hooks/features/dataSource/useGridDataSourcePremium.js +6 -3
  155. package/{esm/hooks/features/dataSource/useGridDataSourcePremium.js → hooks/features/dataSource/useGridDataSourcePremium.mjs} +10 -7
  156. package/{esm/hooks/features/dataSource/utils.d.ts → hooks/features/dataSource/utils.d.mts} +3 -3
  157. package/hooks/features/dataSource/utils.js +2 -1
  158. package/{esm/hooks/features/dataSource/utils.js → hooks/features/dataSource/utils.mjs} +2 -1
  159. package/{esm/hooks/features/editing/useGridCellEditable.d.ts → hooks/features/editing/useGridCellEditable.d.mts} +2 -2
  160. package/{esm/hooks/features/editing/useGridCellEditable.js → hooks/features/editing/useGridCellEditable.mjs} +1 -1
  161. package/hooks/features/export/index.d.mts +2 -0
  162. package/hooks/features/export/index.mjs +2 -0
  163. package/{esm/hooks/features/export/serializer/excelSerializer.d.ts → hooks/features/export/serializer/excelSerializer.d.mts} +4 -4
  164. package/hooks/features/export/serializer/excelSerializer.js +2 -1
  165. package/{esm/hooks/features/export/serializer/excelSerializer.js → hooks/features/export/serializer/excelSerializer.mjs} +3 -2
  166. package/{esm/hooks/features/export/serializer/setupExcelExportWebWorker.d.ts → hooks/features/export/serializer/setupExcelExportWebWorker.d.mts} +1 -1
  167. package/{esm/hooks/features/export/serializer/setupExcelExportWebWorker.js → hooks/features/export/serializer/setupExcelExportWebWorker.mjs} +1 -1
  168. package/{esm/hooks/features/export/serializer/utils.d.ts → hooks/features/export/serializer/utils.d.mts} +1 -1
  169. package/{esm/hooks/features/export/useGridExcelExport.d.ts → hooks/features/export/useGridExcelExport.d.mts} +2 -2
  170. package/{esm/hooks/features/export/useGridExcelExport.js → hooks/features/export/useGridExcelExport.mjs} +2 -2
  171. package/{esm/hooks/features/history/defaultHistoryHandlers.d.ts → hooks/features/history/defaultHistoryHandlers.d.mts} +3 -3
  172. package/{esm/hooks/features/history/gridHistorySelectors.d.ts → hooks/features/history/gridHistorySelectors.d.mts} +2 -2
  173. package/{esm/hooks/features/history/index.d.ts → hooks/features/history/index.d.mts} +3 -3
  174. package/{esm/hooks/features/history/index.js → hooks/features/history/index.mjs} +2 -2
  175. package/{esm/hooks/features/history/useGridHistory.d.ts → hooks/features/history/useGridHistory.d.mts} +2 -2
  176. package/{esm/hooks/features/history/useGridHistory.js → hooks/features/history/useGridHistory.mjs} +2 -2
  177. package/hooks/features/index.d.mts +8 -0
  178. package/hooks/features/index.mjs +9 -0
  179. package/{esm/hooks/features/pivoting/gridPivotingInterfaces.d.ts → hooks/features/pivoting/gridPivotingInterfaces.d.mts} +2 -2
  180. package/{esm/hooks/features/pivoting/gridPivotingSelectors.d.ts → hooks/features/pivoting/gridPivotingSelectors.d.mts} +2 -2
  181. package/{esm/hooks/features/pivoting/gridPivotingSelectors.js → hooks/features/pivoting/gridPivotingSelectors.mjs} +1 -1
  182. package/{esm/hooks/features/pivoting/index.d.ts → hooks/features/pivoting/index.d.mts} +1 -1
  183. package/{esm/hooks/features/pivoting/index.js → hooks/features/pivoting/index.mjs} +1 -1
  184. package/{esm/hooks/features/pivoting/useGridPivoting.d.ts → hooks/features/pivoting/useGridPivoting.d.mts} +2 -2
  185. package/{esm/hooks/features/pivoting/useGridPivoting.js → hooks/features/pivoting/useGridPivoting.mjs} +5 -5
  186. package/{esm/hooks/features/pivoting/utils.d.ts → hooks/features/pivoting/utils.d.mts} +3 -3
  187. package/{esm/hooks/features/pivoting/utils.js → hooks/features/pivoting/utils.mjs} +3 -3
  188. package/{esm/hooks/features/rowGrouping/createGroupingColDef.d.ts → hooks/features/rowGrouping/createGroupingColDef.d.mts} +2 -2
  189. package/{esm/hooks/features/rowGrouping/createGroupingColDef.js → hooks/features/rowGrouping/createGroupingColDef.mjs} +6 -6
  190. package/{esm/hooks/features/rowGrouping/gridRowGroupingSelector.d.ts → hooks/features/rowGrouping/gridRowGroupingSelector.d.mts} +2 -2
  191. package/{esm/hooks/features/rowGrouping/gridRowGroupingUtils.d.ts → hooks/features/rowGrouping/gridRowGroupingUtils.d.mts} +4 -4
  192. package/{esm/hooks/features/rowGrouping/gridRowGroupingUtils.js → hooks/features/rowGrouping/gridRowGroupingUtils.mjs} +1 -1
  193. package/{esm/hooks/features/rowGrouping/index.d.ts → hooks/features/rowGrouping/index.d.mts} +3 -3
  194. package/{esm/hooks/features/rowGrouping/index.js → hooks/features/rowGrouping/index.mjs} +3 -3
  195. package/{esm/hooks/features/rowGrouping/useGridDataSourceRowGroupingPreProcessors.d.ts → hooks/features/rowGrouping/useGridDataSourceRowGroupingPreProcessors.d.mts} +2 -2
  196. package/hooks/features/rowGrouping/useGridDataSourceRowGroupingPreProcessors.js +4 -2
  197. package/{esm/hooks/features/rowGrouping/useGridDataSourceRowGroupingPreProcessors.js → hooks/features/rowGrouping/useGridDataSourceRowGroupingPreProcessors.mjs} +5 -4
  198. package/{esm/hooks/features/rowGrouping/useGridRowGrouping.d.ts → hooks/features/rowGrouping/useGridRowGrouping.d.mts} +2 -2
  199. package/{esm/hooks/features/rowGrouping/useGridRowGrouping.js → hooks/features/rowGrouping/useGridRowGrouping.mjs} +3 -3
  200. package/{esm/hooks/features/rowGrouping/useGridRowGroupingPreProcessors.d.ts → hooks/features/rowGrouping/useGridRowGroupingPreProcessors.d.mts} +2 -2
  201. package/{esm/hooks/features/rowGrouping/useGridRowGroupingPreProcessors.js → hooks/features/rowGrouping/useGridRowGroupingPreProcessors.mjs} +3 -3
  202. package/{esm/hooks/features/rowReorder/operations.d.ts → hooks/features/rowReorder/operations.d.mts} +1 -1
  203. package/{esm/hooks/features/rowReorder/operations.js → hooks/features/rowReorder/operations.mjs} +2 -2
  204. package/{esm/hooks/features/rowReorder/rowGroupingReorderExecutor.js → hooks/features/rowReorder/rowGroupingReorderExecutor.mjs} +1 -1
  205. package/hooks/features/rows/index.d.mts +1 -0
  206. package/hooks/features/rows/index.mjs +1 -0
  207. package/{esm/hooks/features/rows/useGridParamsOverridableMethods.d.ts → hooks/features/rows/useGridParamsOverridableMethods.d.mts} +1 -1
  208. package/{esm/hooks/features/rows/useGridParamsOverridableMethods.js → hooks/features/rows/useGridParamsOverridableMethods.mjs} +1 -1
  209. package/{esm/hooks/features/rows/useGridRowAriaAttributes.js → hooks/features/rows/useGridRowAriaAttributes.mjs} +2 -2
  210. package/{esm/hooks/features/rows/useGridRowsOverridableMethods.d.ts → hooks/features/rows/useGridRowsOverridableMethods.d.mts} +2 -2
  211. package/hooks/features/rows/useGridRowsOverridableMethods.js +8 -6
  212. package/{esm/hooks/features/rows/useGridRowsOverridableMethods.js → hooks/features/rows/useGridRowsOverridableMethods.mjs} +8 -7
  213. package/{esm/hooks/features/sidebar/gridSidebarSelector.d.ts → hooks/features/sidebar/gridSidebarSelector.d.mts} +3 -3
  214. package/{esm/hooks/features/sidebar/gridSidebarState.d.ts → hooks/features/sidebar/gridSidebarState.d.mts} +1 -1
  215. package/hooks/features/sidebar/index.d.mts +3 -0
  216. package/hooks/features/sidebar/index.mjs +3 -0
  217. package/{esm/hooks/features/sidebar/useGridSidebar.d.ts → hooks/features/sidebar/useGridSidebar.d.mts} +2 -2
  218. package/{esm/hooks/features/sidebar/useGridSidebar.js → hooks/features/sidebar/useGridSidebar.mjs} +1 -1
  219. package/hooks/index.d.mts +2 -0
  220. package/{esm/hooks/index.js → hooks/index.mjs} +2 -2
  221. package/hooks/utils/index.d.mts +2 -0
  222. package/hooks/utils/index.mjs +2 -0
  223. package/{esm/hooks/utils/useGridApiContext.d.ts → hooks/utils/useGridApiContext.d.mts} +1 -1
  224. package/{esm/hooks/utils/useGridApiRef.d.ts → hooks/utils/useGridApiRef.d.mts} +1 -1
  225. package/{esm/hooks/utils/useGridAriaAttributes.js → hooks/utils/useGridAriaAttributes.mjs} +2 -2
  226. package/{esm/hooks/utils/useGridChartIntegration.d.ts → hooks/utils/useGridChartIntegration.d.mts} +1 -1
  227. package/hooks/utils/useGridChartIntegration.js +5 -1
  228. package/hooks/utils/useGridChartIntegration.mjs +14 -0
  229. package/{esm/hooks/utils/useGridPrivateApiContext.d.ts → hooks/utils/useGridPrivateApiContext.d.mts} +1 -1
  230. package/{esm/hooks/utils/useGridRootProps.d.ts → hooks/utils/useGridRootProps.d.mts} +1 -1
  231. package/{esm/hooks/utils/useKeepGroupedColumnsHidden.d.ts → hooks/utils/useKeepGroupedColumnsHidden.d.mts} +2 -2
  232. package/{esm/index.d.ts → index.d.mts} +14 -14
  233. package/index.js +1 -1
  234. package/{esm/index.js → index.mjs} +11 -11
  235. package/{esm/material/index.js → material/index.mjs} +1 -1
  236. package/{esm/models/dataGridPremiumProps.d.ts → models/dataGridPremiumProps.d.mts} +11 -11
  237. package/{esm/models/gridApiPremium.d.ts → models/gridApiPremium.d.mts} +11 -11
  238. package/{esm/models/gridGroupingValueGetter.d.ts → models/gridGroupingValueGetter.d.mts} +1 -1
  239. package/{esm/models/gridGroupingValueSetter.d.ts → models/gridGroupingValueSetter.d.mts} +1 -1
  240. package/{esm/models/gridPastedValueParser.d.ts → models/gridPastedValueParser.d.mts} +1 -1
  241. package/{esm/models/gridPremiumSlotProps.d.ts → models/gridPremiumSlotProps.d.mts} +1 -1
  242. package/{esm/models/gridPremiumSlotsComponent.d.ts → models/gridPremiumSlotsComponent.d.mts} +1 -1
  243. package/{esm/models/gridStatePremium.d.ts → models/gridStatePremium.d.mts} +6 -6
  244. package/models/index.d.mts +6 -0
  245. package/models/index.mjs +6 -0
  246. package/package.json +149 -16
  247. package/{esm/setupExcelExportWebWorker/index.d.ts → setupExcelExportWebWorker/index.d.mts} +1 -1
  248. package/{esm/setupExcelExportWebWorker/index.js → setupExcelExportWebWorker/index.mjs} +1 -1
  249. package/themeAugmentation/index.d.mts +2 -0
  250. package/themeAugmentation/index.mjs +4 -0
  251. package/{esm/themeAugmentation/props.d.ts → themeAugmentation/props.d.mts} +1 -1
  252. package/{esm/typeOverloads/index.d.ts → typeOverloads/index.d.mts} +1 -1
  253. package/{esm/typeOverloads/index.js → typeOverloads/index.mjs} +1 -1
  254. package/{esm/typeOverloads/modules.d.ts → typeOverloads/modules.d.mts} +7 -7
  255. package/{esm/typeOverloads/reexports.d.ts → typeOverloads/reexports.d.mts} +5 -5
  256. package/{esm/typeOverloads/reexports.js → typeOverloads/reexports.mjs} +3 -3
  257. package/esm/DataGridPremium/DataGrid.js +0 -19
  258. package/esm/DataGridPremium/index.d.ts +0 -3
  259. package/esm/DataGridPremium/index.js +0 -3
  260. package/esm/components/aiAssistantPanel/index.d.ts +0 -2
  261. package/esm/components/aiAssistantPanel/index.js +0 -2
  262. package/esm/components/chartsPanel/index.d.ts +0 -2
  263. package/esm/components/chartsPanel/index.js +0 -2
  264. package/esm/components/collapsible/index.d.ts +0 -4
  265. package/esm/components/collapsible/index.js +0 -4
  266. package/esm/components/export/index.d.ts +0 -1
  267. package/esm/components/export/index.js +0 -1
  268. package/esm/components/index.d.ts +0 -10
  269. package/esm/components/index.js +0 -10
  270. package/esm/components/pivotPanel/index.d.ts +0 -2
  271. package/esm/components/pivotPanel/index.js +0 -2
  272. package/esm/components/prompt/index.d.ts +0 -1
  273. package/esm/components/prompt/index.js +0 -1
  274. package/esm/components/promptField/index.d.ts +0 -4
  275. package/esm/components/promptField/index.js +0 -4
  276. package/esm/components/resizablePanel/index.d.ts +0 -3
  277. package/esm/components/resizablePanel/index.js +0 -3
  278. package/esm/components/sidebar/index.d.ts +0 -2
  279. package/esm/components/sidebar/index.js +0 -2
  280. package/esm/context/index.d.ts +0 -2
  281. package/esm/context/index.js +0 -2
  282. package/esm/hooks/features/cellSelection/index.d.ts +0 -1
  283. package/esm/hooks/features/cellSelection/index.js +0 -1
  284. package/esm/hooks/features/export/index.d.ts +0 -2
  285. package/esm/hooks/features/export/index.js +0 -2
  286. package/esm/hooks/features/index.d.ts +0 -8
  287. package/esm/hooks/features/index.js +0 -9
  288. package/esm/hooks/features/rows/index.d.ts +0 -1
  289. package/esm/hooks/features/rows/index.js +0 -1
  290. package/esm/hooks/features/sidebar/index.d.ts +0 -3
  291. package/esm/hooks/features/sidebar/index.js +0 -3
  292. package/esm/hooks/index.d.ts +0 -2
  293. package/esm/hooks/utils/index.d.ts +0 -2
  294. package/esm/hooks/utils/index.js +0 -2
  295. package/esm/hooks/utils/useGridChartIntegration.js +0 -11
  296. package/esm/models/index.d.ts +0 -6
  297. package/esm/models/index.js +0 -6
  298. package/esm/package.json +0 -1
  299. package/esm/themeAugmentation/index.d.ts +0 -2
  300. package/esm/themeAugmentation/index.js +0 -4
  301. /package/{esm/DataGridPremium/DataGrid.d.ts → DataGridPremium/DataGrid.d.mts} +0 -0
  302. /package/{esm/components/GridAggregationHeader.d.ts → components/GridAggregationHeader.d.mts} +0 -0
  303. /package/{esm/components/GridAggregationRowOverlay.d.ts → components/GridAggregationRowOverlay.d.mts} +0 -0
  304. /package/{esm/components/GridBottomContainer.d.ts → components/GridBottomContainer.d.mts} +0 -0
  305. /package/{esm/components/GridDataSourceGroupingCriteriaCell.d.ts → components/GridDataSourceGroupingCriteriaCell.d.mts} +0 -0
  306. /package/{esm/components/GridEmptyPivotOverlay.d.ts → components/GridEmptyPivotOverlay.d.mts} +0 -0
  307. /package/{esm/components/GridGroupingColumnFooterCell.d.ts → components/GridGroupingColumnFooterCell.d.mts} +0 -0
  308. /package/{esm/components/GridGroupingColumnLeafCell.d.ts → components/GridGroupingColumnLeafCell.d.mts} +0 -0
  309. /package/{esm/components/GridGroupingCriteriaCell.d.ts → components/GridGroupingCriteriaCell.d.mts} +0 -0
  310. /package/{esm/components/GridPremiumToolbar.d.ts → components/GridPremiumToolbar.d.mts} +0 -0
  311. /package/{esm/components/aiAssistantPanel/AiAssistantPanelTrigger.d.ts → components/aiAssistantPanel/AiAssistantPanelTrigger.d.mts} +0 -0
  312. /package/{esm/components/aiAssistantPanel/GridAiAssistantPanel.d.ts → components/aiAssistantPanel/GridAiAssistantPanel.d.mts} +0 -0
  313. /package/{esm/components/aiAssistantPanel/GridAiAssistantPanelConversationsMenu.d.ts → components/aiAssistantPanel/GridAiAssistantPanelConversationsMenu.d.mts} +0 -0
  314. /package/{esm/components/chartsIntegration/GridChartsIntegrationContext.d.ts → components/chartsIntegration/GridChartsIntegrationContext.d.mts} +0 -0
  315. /package/{esm/components/chartsIntegration/GridChartsIntegrationContext.js → components/chartsIntegration/GridChartsIntegrationContext.mjs} +0 -0
  316. /package/{esm/components/chartsPanel/ChartsPanelTrigger.d.ts → components/chartsPanel/ChartsPanelTrigger.d.mts} +0 -0
  317. /package/{esm/components/chartsPanel/GridChartsPanel.d.ts → components/chartsPanel/GridChartsPanel.d.mts} +0 -0
  318. /package/{esm/components/chartsPanel/chart/GridChartsPanelChart.d.ts → components/chartsPanel/chart/GridChartsPanelChart.d.mts} +0 -0
  319. /package/{esm/components/chartsPanel/customize/GridChartsPanelCustomize.d.ts → components/chartsPanel/customize/GridChartsPanelCustomize.d.mts} +0 -0
  320. /package/{esm/components/chartsPanel/data/GridChartsPanelData.d.ts → components/chartsPanel/data/GridChartsPanelData.d.mts} +0 -0
  321. /package/{esm/components/chartsPanel/data/GridChartsPanelDataHeader.d.ts → components/chartsPanel/data/GridChartsPanelDataHeader.d.mts} +0 -0
  322. /package/{esm/components/chartsPanel/data/GridChartsPanelDataSearch.d.ts → components/chartsPanel/data/GridChartsPanelDataSearch.d.mts} +0 -0
  323. /package/{esm/components/collapsible/Collapsible.d.ts → components/collapsible/Collapsible.d.mts} +0 -0
  324. /package/{esm/components/collapsible/CollapsibleContext.d.ts → components/collapsible/CollapsibleContext.d.mts} +0 -0
  325. /package/{esm/components/collapsible/CollapsiblePanel.d.ts → components/collapsible/CollapsiblePanel.d.mts} +0 -0
  326. /package/{esm/components/collapsible/CollapsibleTrigger.d.ts → components/collapsible/CollapsibleTrigger.d.mts} +0 -0
  327. /package/{esm/components/columnMenu/menuItems/GridColumnMenuAggregationItem.d.ts → components/columnMenu/menuItems/GridColumnMenuAggregationItem.d.mts} +0 -0
  328. /package/{esm/components/columnMenu/menuItems/GridColumnMenuChartsItem.d.ts → components/columnMenu/menuItems/GridColumnMenuChartsItem.d.mts} +0 -0
  329. /package/{esm/components/columnMenu/menuItems/GridColumnMenuManagePanelItem.d.ts → components/columnMenu/menuItems/GridColumnMenuManagePanelItem.d.mts} +0 -0
  330. /package/{esm/components/columnMenu/menuItems/GridColumnMenuPivotItem.d.ts → components/columnMenu/menuItems/GridColumnMenuPivotItem.d.mts} +0 -0
  331. /package/{esm/components/columnMenu/menuItems/GridColumnMenuRowGroupItem.d.ts → components/columnMenu/menuItems/GridColumnMenuRowGroupItem.d.mts} +0 -0
  332. /package/{esm/components/columnMenu/menuItems/GridColumnMenuRowUngroupItem.d.ts → components/columnMenu/menuItems/GridColumnMenuRowUngroupItem.d.mts} +0 -0
  333. /package/{esm/components/pivotPanel/GridPivotPanel.d.ts → components/pivotPanel/GridPivotPanel.d.mts} +0 -0
  334. /package/{esm/components/pivotPanel/GridPivotPanelBody.d.ts → components/pivotPanel/GridPivotPanelBody.d.mts} +0 -0
  335. /package/{esm/components/pivotPanel/GridPivotPanelHeader.d.ts → components/pivotPanel/GridPivotPanelHeader.d.mts} +0 -0
  336. /package/{esm/components/pivotPanel/GridPivotPanelSearch.d.ts → components/pivotPanel/GridPivotPanelSearch.d.mts} +0 -0
  337. /package/{esm/components/pivotPanel/PivotPanelTrigger.d.ts → components/pivotPanel/PivotPanelTrigger.d.mts} +0 -0
  338. /package/{esm/components/promptField/PromptFieldContext.d.ts → components/promptField/PromptFieldContext.d.mts} +0 -0
  339. /package/{esm/components/resizablePanel/ResizablePanel.d.ts → components/resizablePanel/ResizablePanel.d.mts} +0 -0
  340. /package/{esm/components/resizablePanel/ResizablePanelContext.d.ts → components/resizablePanel/ResizablePanelContext.d.mts} +0 -0
  341. /package/{esm/components/resizablePanel/ResizablePanelHandle.d.ts → components/resizablePanel/ResizablePanelHandle.d.mts} +0 -0
  342. /package/{esm/components/sidebar/Sidebar.d.ts → components/sidebar/Sidebar.d.mts} +0 -0
  343. /package/{esm/components/sidebar/SidebarHeader.d.ts → components/sidebar/SidebarHeader.d.mts} +0 -0
  344. /package/{esm/constants/columnGroups.d.ts → constants/columnGroups.d.mts} +0 -0
  345. /package/{esm/constants/columnGroups.js → constants/columnGroups.mjs} +0 -0
  346. /package/{esm/context/GridChartsIntegrationContextProvider.d.ts → context/GridChartsIntegrationContextProvider.d.mts} +0 -0
  347. /package/{esm/hooks/features/aggregation/createAggregationLookup.js → hooks/features/aggregation/createAggregationLookup.mjs} +0 -0
  348. /package/{esm/hooks/features/aggregation/gridAggregationFunctions.js → hooks/features/aggregation/gridAggregationFunctions.mjs} +0 -0
  349. /package/{esm/hooks/features/aggregation/gridAggregationInterfaces.js → hooks/features/aggregation/gridAggregationInterfaces.mjs} +0 -0
  350. /package/{esm/hooks/features/aggregation/gridAggregationSelectors.js → hooks/features/aggregation/gridAggregationSelectors.mjs} +0 -0
  351. /package/{esm/hooks/features/aggregation/gridAggregationUtils.js → hooks/features/aggregation/gridAggregationUtils.mjs} +0 -0
  352. /package/{esm/hooks/features/aiAssistant/gridAiAssistantInterfaces.d.ts → hooks/features/aiAssistant/gridAiAssistantInterfaces.d.mts} +0 -0
  353. /package/{esm/hooks/features/aiAssistant/gridAiAssistantInterfaces.js → hooks/features/aiAssistant/gridAiAssistantInterfaces.mjs} +0 -0
  354. /package/{esm/hooks/features/aiAssistant/gridAiAssistantSelectors.js → hooks/features/aiAssistant/gridAiAssistantSelectors.mjs} +0 -0
  355. /package/{esm/hooks/features/cellSelection/gridCellSelectionInterfaces.d.ts → hooks/features/cellSelection/gridCellSelectionInterfaces.d.mts} +0 -0
  356. /package/{esm/hooks/features/cellSelection/gridCellSelectionInterfaces.js → hooks/features/cellSelection/gridCellSelectionInterfaces.mjs} +0 -0
  357. /package/{esm/hooks/features/cellSelection/gridCellSelectionSelector.js → hooks/features/cellSelection/gridCellSelectionSelector.mjs} +0 -0
  358. /package/{esm/hooks/features/chartsIntegration/gridChartsIntegrationInterfaces.js → hooks/features/chartsIntegration/gridChartsIntegrationInterfaces.mjs} +0 -0
  359. /package/{esm/hooks/features/clipboard/useGridClipboardImport.js → hooks/features/clipboard/useGridClipboardImport.mjs} +0 -0
  360. /package/{esm/hooks/features/dataSource/models.js → hooks/features/dataSource/models.mjs} +0 -0
  361. /package/{esm/hooks/features/export/gridExcelExportInterface.d.ts → hooks/features/export/gridExcelExportInterface.d.mts} +0 -0
  362. /package/{esm/hooks/features/export/gridExcelExportInterface.js → hooks/features/export/gridExcelExportInterface.mjs} +0 -0
  363. /package/{esm/hooks/features/export/serializer/utils.js → hooks/features/export/serializer/utils.mjs} +0 -0
  364. /package/{esm/hooks/features/history/constants.d.ts → hooks/features/history/constants.d.mts} +0 -0
  365. /package/{esm/hooks/features/history/constants.js → hooks/features/history/constants.mjs} +0 -0
  366. /package/{esm/hooks/features/history/defaultHistoryHandlers.js → hooks/features/history/defaultHistoryHandlers.mjs} +0 -0
  367. /package/{esm/hooks/features/history/gridHistoryInterfaces.d.ts → hooks/features/history/gridHistoryInterfaces.d.mts} +0 -0
  368. /package/{esm/hooks/features/history/gridHistoryInterfaces.js → hooks/features/history/gridHistoryInterfaces.mjs} +0 -0
  369. /package/{esm/hooks/features/history/gridHistorySelectors.js → hooks/features/history/gridHistorySelectors.mjs} +0 -0
  370. /package/{esm/hooks/features/pivoting/gridPivotingInterfaces.js → hooks/features/pivoting/gridPivotingInterfaces.mjs} +0 -0
  371. /package/{esm/hooks/features/rowGrouping/gridRowGroupingInterfaces.d.ts → hooks/features/rowGrouping/gridRowGroupingInterfaces.d.mts} +0 -0
  372. /package/{esm/hooks/features/rowGrouping/gridRowGroupingInterfaces.js → hooks/features/rowGrouping/gridRowGroupingInterfaces.mjs} +0 -0
  373. /package/{esm/hooks/features/rowGrouping/gridRowGroupingSelector.js → hooks/features/rowGrouping/gridRowGroupingSelector.mjs} +0 -0
  374. /package/{esm/hooks/features/rowReorder/rowGroupingReorderExecutor.d.ts → hooks/features/rowReorder/rowGroupingReorderExecutor.d.mts} +0 -0
  375. /package/{esm/hooks/features/rowReorder/rowGroupingReorderValidator.d.ts → hooks/features/rowReorder/rowGroupingReorderValidator.d.mts} +0 -0
  376. /package/{esm/hooks/features/rowReorder/rowGroupingReorderValidator.js → hooks/features/rowReorder/rowGroupingReorderValidator.mjs} +0 -0
  377. /package/{esm/hooks/features/rows/useGridRowAriaAttributes.d.ts → hooks/features/rows/useGridRowAriaAttributes.d.mts} +0 -0
  378. /package/{esm/hooks/features/sidebar/gridSidebarInterfaces.d.ts → hooks/features/sidebar/gridSidebarInterfaces.d.mts} +0 -0
  379. /package/{esm/hooks/features/sidebar/gridSidebarInterfaces.js → hooks/features/sidebar/gridSidebarInterfaces.mjs} +0 -0
  380. /package/{esm/hooks/features/sidebar/gridSidebarSelector.js → hooks/features/sidebar/gridSidebarSelector.mjs} +0 -0
  381. /package/{esm/hooks/features/sidebar/gridSidebarState.js → hooks/features/sidebar/gridSidebarState.mjs} +0 -0
  382. /package/{esm/hooks/utils/useGridApiContext.js → hooks/utils/useGridApiContext.mjs} +0 -0
  383. /package/{esm/hooks/utils/useGridApiRef.js → hooks/utils/useGridApiRef.mjs} +0 -0
  384. /package/{esm/hooks/utils/useGridAriaAttributes.d.ts → hooks/utils/useGridAriaAttributes.d.mts} +0 -0
  385. /package/{esm/hooks/utils/useGridPrivateApiContext.js → hooks/utils/useGridPrivateApiContext.mjs} +0 -0
  386. /package/{esm/hooks/utils/useGridRootProps.js → hooks/utils/useGridRootProps.mjs} +0 -0
  387. /package/{esm/hooks/utils/useKeepGroupedColumnsHidden.js → hooks/utils/useKeepGroupedColumnsHidden.mjs} +0 -0
  388. /package/{esm/hooks/utils/useResize.d.ts → hooks/utils/useResize.d.mts} +0 -0
  389. /package/{esm/hooks/utils/useResize.js → hooks/utils/useResize.mjs} +0 -0
  390. /package/{esm/locales/index.d.ts → locales/index.d.mts} +0 -0
  391. /package/{esm/locales/index.js → locales/index.mjs} +0 -0
  392. /package/{esm/material/icons.d.ts → material/icons.d.mts} +0 -0
  393. /package/{esm/material/icons.js → material/icons.mjs} +0 -0
  394. /package/{esm/material/index.d.ts → material/index.d.mts} +0 -0
  395. /package/{esm/models/dataGridPremiumProps.js → models/dataGridPremiumProps.mjs} +0 -0
  396. /package/{esm/models/gridApiPremium.js → models/gridApiPremium.mjs} +0 -0
  397. /package/{esm/models/gridChartsIntegration.d.ts → models/gridChartsIntegration.d.mts} +0 -0
  398. /package/{esm/models/gridChartsIntegration.js → models/gridChartsIntegration.mjs} +0 -0
  399. /package/{esm/models/gridGroupingValueGetter.js → models/gridGroupingValueGetter.mjs} +0 -0
  400. /package/{esm/models/gridGroupingValueSetter.js → models/gridGroupingValueSetter.mjs} +0 -0
  401. /package/{esm/models/gridPastedValueParser.js → models/gridPastedValueParser.mjs} +0 -0
  402. /package/{esm/models/gridPremiumIconSlotsComponent.d.ts → models/gridPremiumIconSlotsComponent.d.mts} +0 -0
  403. /package/{esm/models/gridPremiumIconSlotsComponent.js → models/gridPremiumIconSlotsComponent.mjs} +0 -0
  404. /package/{esm/models/gridPremiumSlotProps.js → models/gridPremiumSlotProps.mjs} +0 -0
  405. /package/{esm/models/gridPremiumSlotsComponent.js → models/gridPremiumSlotsComponent.mjs} +0 -0
  406. /package/{esm/models/gridStatePremium.js → models/gridStatePremium.mjs} +0 -0
  407. /package/{esm/themeAugmentation/overrides.d.ts → themeAugmentation/overrides.d.mts} +0 -0
  408. /package/{esm/themeAugmentation/overrides.js → themeAugmentation/overrides.mjs} +0 -0
  409. /package/{esm/themeAugmentation/props.js → themeAugmentation/props.mjs} +0 -0
  410. /package/{esm/typeOverloads/modules.js → typeOverloads/modules.mjs} +0 -0
  411. /package/{esm/utils/speechRecognition.d.ts → utils/speechRecognition.d.mts} +0 -0
  412. /package/{esm/utils/speechRecognition.js → utils/speechRecognition.mjs} +0 -0
@@ -1,4 +1,4 @@
1
1
  import type { RefObject } from '@mui/x-internals/types';
2
- import type { DataGridPremiumProcessedProps } from "../../../models/dataGridPremiumProps.js";
3
- import type { GridPrivateApiPremium } from "../../../models/gridApiPremium.js";
2
+ import type { DataGridPremiumProcessedProps } from "../../../models/dataGridPremiumProps.mjs";
3
+ import type { GridPrivateApiPremium } from "../../../models/gridApiPremium.mjs";
4
4
  export declare const useGridRowGroupingPreProcessors: (apiRef: RefObject<GridPrivateApiPremium>, props: Pick<DataGridPremiumProcessedProps, "disableRowGrouping" | "groupingColDef" | "rowGroupingColumnMode" | "defaultGroupingExpansionDepth" | "isGroupExpandedByDefault" | "dataSource">) => void;
@@ -3,9 +3,9 @@
3
3
  import * as React from 'react';
4
4
  import { gridColumnLookupSelector, gridRowTreeSelector, useFirstRender } from '@mui/x-data-grid-pro';
5
5
  import { useGridRegisterPipeProcessor, useGridRegisterStrategyProcessor, sortRowTree, createRowTree, updateRowTree, getVisibleRowsLookup, RowGroupingStrategy } from '@mui/x-data-grid-pro/internals';
6
- import { gridRowGroupingModelSelector, gridRowGroupingSanitizedModelSelector } from "./gridRowGroupingSelector.js";
7
- import { createGroupingColDefForAllGroupingCriteria, createGroupingColDefForOneGroupingCriteria } from "./createGroupingColDef.js";
8
- import { filterRowTreeFromGroupingColumns, getColDefOverrides, isGroupingColumn, setStrategyAvailability, getCellGroupingCriteria, getGroupingRules } from "./gridRowGroupingUtils.js";
6
+ import { gridRowGroupingModelSelector, gridRowGroupingSanitizedModelSelector } from "./gridRowGroupingSelector.mjs";
7
+ import { createGroupingColDefForAllGroupingCriteria, createGroupingColDefForOneGroupingCriteria } from "./createGroupingColDef.mjs";
8
+ import { filterRowTreeFromGroupingColumns, getColDefOverrides, isGroupingColumn, setStrategyAvailability, getCellGroupingCriteria, getGroupingRules } from "./gridRowGroupingUtils.mjs";
9
9
  export const useGridRowGroupingPreProcessors = (apiRef, props) => {
10
10
  const getGroupingColDefs = React.useCallback(columnsState => {
11
11
  if (props.disableRowGrouping) {
@@ -1,5 +1,5 @@
1
1
  import { BaseReorderOperation, type ReorderOperation, type ReorderExecutionContext } from '@mui/x-data-grid-pro/internals';
2
- import type { GridPrivateApiPremium } from "../../../models/gridApiPremium.js";
2
+ import type { GridPrivateApiPremium } from "../../../models/gridApiPremium.mjs";
3
3
  type ReorderExecutionContextType = ReorderExecutionContext<GridPrivateApiPremium>;
4
4
  /**
5
5
  * Handles moving leaf nodes between different parent groups.
@@ -1,8 +1,8 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import { gridRowNodeSelector, gridRowTreeSelector, gridRowsLookupSelector, gridColumnLookupSelector } from '@mui/x-data-grid-pro';
3
3
  import { BaseReorderOperation, rowReorderUtils } from '@mui/x-data-grid-pro/internals';
4
- import { gridRowGroupingSanitizedModelSelector } from "../rowGrouping/index.js";
5
- import { getGroupingRules, getCellGroupingCriteria } from "../rowGrouping/gridRowGroupingUtils.js";
4
+ import { gridRowGroupingSanitizedModelSelector } from "../rowGrouping/index.mjs";
5
+ import { getGroupingRules, getCellGroupingCriteria } from "../rowGrouping/gridRowGroupingUtils.mjs";
6
6
  /**
7
7
  * Handles moving leaf nodes between different parent groups.
8
8
  */
@@ -1,3 +1,3 @@
1
1
  import { RowReorderExecutor, SameParentSwapOperation } from '@mui/x-data-grid-pro/internals';
2
- import { CrossParentLeafOperation, CrossParentGroupOperation } from "./operations.js";
2
+ import { CrossParentLeafOperation, CrossParentGroupOperation } from "./operations.mjs";
3
3
  export const rowGroupingReorderExecutor = new RowReorderExecutor([new SameParentSwapOperation(), new CrossParentLeafOperation(), new CrossParentGroupOperation()]);
@@ -0,0 +1 @@
1
+ export * from "./useGridRowAriaAttributes.mjs";
@@ -0,0 +1 @@
1
+ export * from "./useGridRowAriaAttributes.mjs";
@@ -1,5 +1,5 @@
1
1
  import type { RefObject } from '@mui/x-internals/types';
2
- import type { GridPrivateApiPremium } from "../../../models/gridApiPremium.js";
2
+ import type { GridPrivateApiPremium } from "../../../models/gridApiPremium.mjs";
3
3
  export declare const useGridParamsOverridableMethods: (apiRef: RefObject<GridPrivateApiPremium>) => {
4
4
  getCellValue: <V = any>(id: import("@mui/x-data-grid").GridRowId, field: string) => V;
5
5
  getRowValue: <V = any>(row: import("@mui/x-data-grid").GridRowModel, colDef: import("@mui/x-data-grid").GridColDef) => V;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { gridRowIdSelector } from '@mui/x-data-grid-pro';
3
3
  import { useGridParamsOverridableMethods as useGridParamsOverridableMethodsCommunity } from '@mui/x-data-grid-pro/internals';
4
- import { gridCellAggregationResultSelector } from "../aggregation/gridAggregationSelectors.js";
4
+ import { gridCellAggregationResultSelector } from "../aggregation/gridAggregationSelectors.mjs";
5
5
  export const useGridParamsOverridableMethods = apiRef => {
6
6
  const communityMethods = useGridParamsOverridableMethodsCommunity(apiRef);
7
7
  const getCellValue = React.useCallback((id, field) => gridCellAggregationResultSelector(apiRef, {
@@ -1,6 +1,6 @@
1
1
  import { useGridRowAriaAttributesPro, useGridSelector } from '@mui/x-data-grid-pro/internals';
2
- import { useGridPrivateApiContext } from "../../utils/useGridPrivateApiContext.js";
3
- import { gridRowGroupingSanitizedModelSelector } from "../rowGrouping/gridRowGroupingSelector.js";
2
+ import { useGridPrivateApiContext } from "../../utils/useGridPrivateApiContext.mjs";
3
+ import { gridRowGroupingSanitizedModelSelector } from "../rowGrouping/gridRowGroupingSelector.mjs";
4
4
  export const useGridRowAriaAttributesPremium = () => {
5
5
  const apiRef = useGridPrivateApiContext();
6
6
  const gridRowGroupingModel = useGridSelector(apiRef, gridRowGroupingSanitizedModelSelector);
@@ -1,6 +1,6 @@
1
1
  import type { RefObject } from '@mui/x-internals/types';
2
- import type { GridPrivateApiPremium } from "../../../models/gridApiPremium.js";
3
- import type { DataGridPremiumProcessedProps } from "../../../models/dataGridPremiumProps.js";
2
+ import type { GridPrivateApiPremium } from "../../../models/gridApiPremium.mjs";
3
+ import type { DataGridPremiumProcessedProps } from "../../../models/dataGridPremiumProps.mjs";
4
4
  export declare const useGridRowsOverridableMethods: (apiRef: RefObject<GridPrivateApiPremium>, props: Pick<DataGridPremiumProcessedProps, "processRowUpdate" | "onProcessRowUpdateError" | "treeData">) => {
5
5
  setRowIndex: (rowId: import("@mui/x-data-grid").GridRowId, targetIndex: number) => void;
6
6
  setRowPosition: (sourceRowId: import("@mui/x-data-grid").GridRowId, targetRowId: import("@mui/x-data-grid").GridRowId, position: import("@mui/x-data-grid/internals").RowReorderDropPosition) => void | Promise<void>;
@@ -1,10 +1,12 @@
1
1
  "use strict";
2
2
 
3
3
  var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
4
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
5
  Object.defineProperty(exports, "__esModule", {
5
6
  value: true
6
7
  });
7
8
  exports.useGridRowsOverridableMethods = void 0;
9
+ var _formatErrorMessage2 = _interopRequireDefault(require("@mui/x-internals/formatErrorMessage"));
8
10
  var React = _interopRequireWildcard(require("react"));
9
11
  var _xDataGridPro = require("@mui/x-data-grid-pro");
10
12
  var _internals = require("@mui/x-data-grid-pro/internals");
@@ -30,19 +32,19 @@ const useGridRowsOverridableMethods = (apiRef, props) => {
30
32
  const sourceNode = (0, _xDataGridPro.gridRowNodeSelector)(apiRef, sourceRowId);
31
33
  const targetNode = (0, _xDataGridPro.gridRowNodeSelector)(apiRef, targetRowId);
32
34
  if (!sourceNode) {
33
- throw new Error(`MUI X: No row with id #${sourceRowId} found.`);
35
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI X: No row with id #${sourceRowId} found.` : (0, _formatErrorMessage2.default)(89, sourceRowId));
34
36
  }
35
37
  if (!targetNode) {
36
- throw new Error(`MUI X: No row with id #${targetRowId} found.`);
38
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI X: No row with id #${targetRowId} found.` : (0, _formatErrorMessage2.default)(89, targetRowId));
37
39
  }
38
40
  if (sourceNode.type === 'footer') {
39
- throw new Error(`MUI X: The row reordering do not support reordering of footer rows.`);
41
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI X: The row reordering do not support reordering of footer rows.` : (0, _formatErrorMessage2.default)(123));
40
42
  }
41
43
 
42
44
  // Get the target index from the targetRowId using the lookup selector
43
45
  const targetIndexUnadjusted = sortedFilteredRowIndexLookup[targetRowId];
44
46
  if (targetIndexUnadjusted === undefined) {
45
- throw new Error(`MUI X: Target row with id #${targetRowId} not found in current view.`);
47
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI X: Target row with id #${targetRowId} not found in current view.` : (0, _formatErrorMessage2.default)(95, targetRowId));
46
48
  }
47
49
  const targetIndex = position === 'below' ? targetIndexUnadjusted + 1 : targetIndexUnadjusted;
48
50
 
@@ -80,10 +82,10 @@ const useGridRowsOverridableMethods = (apiRef, props) => {
80
82
  const rowTree = (0, _xDataGridPro.gridRowTreeSelector)(apiRef);
81
83
  const sourceNode = (0, _xDataGridPro.gridRowNodeSelector)(apiRef, sourceRowId);
82
84
  if (!sourceNode) {
83
- throw new Error(`MUI X: No row with id #${sourceRowId} found.`);
85
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI X: No row with id #${sourceRowId} found.` : (0, _formatErrorMessage2.default)(89, sourceRowId));
84
86
  }
85
87
  if (sourceNode.type === 'footer') {
86
- throw new Error(`MUI X: The row reordering do not support reordering of footer rows.`);
88
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI X: The row reordering do not support reordering of footer rows.` : (0, _formatErrorMessage2.default)(123));
87
89
  }
88
90
  const executionContext = {
89
91
  sourceRowId,
@@ -1,7 +1,8 @@
1
+ import _formatErrorMessage from "@mui/x-internals/formatErrorMessage";
1
2
  import * as React from 'react';
2
3
  import { gridRowTreeSelector, gridExpandedSortedRowIdsSelector, gridRowNodeSelector, gridRowMaximumTreeDepthSelector, gridExpandedSortedRowIndexLookupSelector } from '@mui/x-data-grid-pro';
3
4
  import { useGridRowsOverridableMethodsCommunity, useGridRowsOverridableMethodsPro, useGridSelector } from '@mui/x-data-grid-pro/internals';
4
- import { rowGroupingReorderExecutor } from "../rowReorder/rowGroupingReorderExecutor.js";
5
+ import { rowGroupingReorderExecutor } from "../rowReorder/rowGroupingReorderExecutor.mjs";
5
6
  export const useGridRowsOverridableMethods = (apiRef, props) => {
6
7
  const {
7
8
  processRowUpdate,
@@ -23,19 +24,19 @@ export const useGridRowsOverridableMethods = (apiRef, props) => {
23
24
  const sourceNode = gridRowNodeSelector(apiRef, sourceRowId);
24
25
  const targetNode = gridRowNodeSelector(apiRef, targetRowId);
25
26
  if (!sourceNode) {
26
- throw new Error(`MUI X: No row with id #${sourceRowId} found.`);
27
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI X: No row with id #${sourceRowId} found.` : _formatErrorMessage(89, sourceRowId));
27
28
  }
28
29
  if (!targetNode) {
29
- throw new Error(`MUI X: No row with id #${targetRowId} found.`);
30
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI X: No row with id #${targetRowId} found.` : _formatErrorMessage(89, targetRowId));
30
31
  }
31
32
  if (sourceNode.type === 'footer') {
32
- throw new Error(`MUI X: The row reordering do not support reordering of footer rows.`);
33
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI X: The row reordering do not support reordering of footer rows.` : _formatErrorMessage(123));
33
34
  }
34
35
 
35
36
  // Get the target index from the targetRowId using the lookup selector
36
37
  const targetIndexUnadjusted = sortedFilteredRowIndexLookup[targetRowId];
37
38
  if (targetIndexUnadjusted === undefined) {
38
- throw new Error(`MUI X: Target row with id #${targetRowId} not found in current view.`);
39
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI X: Target row with id #${targetRowId} not found in current view.` : _formatErrorMessage(95, targetRowId));
39
40
  }
40
41
  const targetIndex = position === 'below' ? targetIndexUnadjusted + 1 : targetIndexUnadjusted;
41
42
 
@@ -73,10 +74,10 @@ export const useGridRowsOverridableMethods = (apiRef, props) => {
73
74
  const rowTree = gridRowTreeSelector(apiRef);
74
75
  const sourceNode = gridRowNodeSelector(apiRef, sourceRowId);
75
76
  if (!sourceNode) {
76
- throw new Error(`MUI X: No row with id #${sourceRowId} found.`);
77
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI X: No row with id #${sourceRowId} found.` : _formatErrorMessage(89, sourceRowId));
77
78
  }
78
79
  if (sourceNode.type === 'footer') {
79
- throw new Error(`MUI X: The row reordering do not support reordering of footer rows.`);
80
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI X: The row reordering do not support reordering of footer rows.` : _formatErrorMessage(123));
80
81
  }
81
82
  const executionContext = {
82
83
  sourceRowId,
@@ -1,5 +1,5 @@
1
- import type { GridStatePremium } from "../../../models/gridStatePremium.js";
2
- export declare const gridSidebarStateSelector: import("@mui/x-data-grid").OutputSelector<GridStatePremium, unknown, import("./gridSidebarState.js").GridSidebarState>;
1
+ import type { GridStatePremium } from "../../../models/gridStatePremium.mjs";
2
+ export declare const gridSidebarStateSelector: import("@mui/x-data-grid").OutputSelector<GridStatePremium, unknown, import("./gridSidebarState.mjs").GridSidebarState>;
3
3
  export declare const gridSidebarOpenSelector: (args_0: import("react").RefObject<{
4
4
  state: GridStatePremium;
5
5
  } | null>) => boolean;
@@ -8,5 +8,5 @@ export declare const gridSidebarContentSelector: (args_0: import("react").RefObj
8
8
  } | null>) => {
9
9
  sidebarId: string | undefined;
10
10
  labelId: string | undefined;
11
- value: import("./gridSidebarInterfaces.js").GridSidebarValue | undefined;
11
+ value: import("./gridSidebarInterfaces.mjs").GridSidebarValue | undefined;
12
12
  };
@@ -1,4 +1,4 @@
1
- import type { GridSidebarValue } from "./gridSidebarInterfaces.js";
1
+ import type { GridSidebarValue } from "./gridSidebarInterfaces.mjs";
2
2
  export interface GridSidebarState {
3
3
  open: boolean;
4
4
  sidebarId?: string;
@@ -0,0 +1,3 @@
1
+ export * from "./gridSidebarInterfaces.mjs";
2
+ export * from "./gridSidebarSelector.mjs";
3
+ export * from "./gridSidebarState.mjs";
@@ -0,0 +1,3 @@
1
+ export * from "./gridSidebarInterfaces.mjs";
2
+ export * from "./gridSidebarSelector.mjs";
3
+ export * from "./gridSidebarState.mjs";
@@ -1,6 +1,6 @@
1
1
  import type { RefObject } from '@mui/x-internals/types';
2
2
  import { type GridStateInitializer } from '@mui/x-data-grid-pro/internals';
3
- import type { DataGridPremiumProcessedProps } from "../../../models/dataGridPremiumProps.js";
4
- import type { GridPrivateApiPremium } from "../../../models/gridApiPremium.js";
3
+ import type { DataGridPremiumProcessedProps } from "../../../models/dataGridPremiumProps.mjs";
4
+ import type { GridPrivateApiPremium } from "../../../models/gridApiPremium.mjs";
5
5
  export declare const sidebarStateInitializer: GridStateInitializer<Pick<DataGridPremiumProcessedProps, 'initialState'>>;
6
6
  export declare const useGridSidebar: (apiRef: RefObject<GridPrivateApiPremium>, props: Pick<DataGridPremiumProcessedProps, "initialState" | "onSidebarClose" | "onSidebarOpen">) => void;
@@ -1,7 +1,7 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import * as React from 'react';
3
3
  import { useGridApiMethod, useGridRegisterPipeProcessor, useGridEventPriority } from '@mui/x-data-grid-pro/internals';
4
- import { gridSidebarStateSelector } from "./gridSidebarSelector.js";
4
+ import { gridSidebarStateSelector } from "./gridSidebarSelector.mjs";
5
5
  export const sidebarStateInitializer = (state, props) => _extends({}, state, {
6
6
  sidebar: props.initialState?.sidebar ?? {
7
7
  open: false
@@ -0,0 +1,2 @@
1
+ export * from "./features/index.mjs";
2
+ export * from "./utils/index.mjs";
@@ -1,3 +1,3 @@
1
1
  // Only export the variable and types that should be publicly exposed and re-exported from `@mui/x-data-grid-premium`
2
- export * from "./features/index.js";
3
- export * from "./utils/index.js";
2
+ export * from "./features/index.mjs";
3
+ export * from "./utils/index.mjs";
@@ -0,0 +1,2 @@
1
+ export * from "./useKeepGroupedColumnsHidden.mjs";
2
+ export * from "./useGridChartIntegration.mjs";
@@ -0,0 +1,2 @@
1
+ export * from "./useKeepGroupedColumnsHidden.mjs";
2
+ export * from "./useGridChartIntegration.mjs";
@@ -1,4 +1,4 @@
1
1
  import type { RefObject } from '@mui/x-internals/types';
2
2
  import { type GridApiCommon } from '@mui/x-data-grid';
3
- import type { GridApiPremium } from "../../models/gridApiPremium.js";
3
+ import type { GridApiPremium } from "../../models/gridApiPremium.mjs";
4
4
  export declare const useGridApiContext: <Api extends GridApiCommon = GridApiPremium>() => RefObject<Api>;
@@ -1,3 +1,3 @@
1
1
  import type { RefObject } from '@mui/x-internals/types';
2
- import type { GridApiPremium } from "../../models/gridApiPremium.js";
2
+ import type { GridApiPremium } from "../../models/gridApiPremium.mjs";
3
3
  export declare const useGridApiRef: () => RefObject<GridApiPremium | null>;
@@ -1,7 +1,7 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import { useGridAriaAttributesPro, useGridSelector } from '@mui/x-data-grid-pro/internals';
3
- import { gridRowGroupingSanitizedModelSelector } from "../features/rowGrouping/gridRowGroupingSelector.js";
4
- import { useGridPrivateApiContext } from "./useGridPrivateApiContext.js";
3
+ import { gridRowGroupingSanitizedModelSelector } from "../features/rowGrouping/gridRowGroupingSelector.mjs";
4
+ import { useGridPrivateApiContext } from "./useGridPrivateApiContext.mjs";
5
5
  export const useGridAriaAttributesPremium = () => {
6
6
  const ariaAttributesPro = useGridAriaAttributesPro();
7
7
  const apiRef = useGridPrivateApiContext();
@@ -1,2 +1,2 @@
1
- import type { GridChartsIntegrationContextValue } from "../../models/gridChartsIntegration.js";
1
+ import type { GridChartsIntegrationContextValue } from "../../models/gridChartsIntegration.mjs";
2
2
  export declare const useGridChartsIntegrationContext: (ignoreError?: boolean) => GridChartsIntegrationContextValue;
@@ -2,16 +2,20 @@
2
2
  'use client';
3
3
 
4
4
  var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
5
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
5
6
  Object.defineProperty(exports, "__esModule", {
6
7
  value: true
7
8
  });
8
9
  exports.useGridChartsIntegrationContext = void 0;
10
+ var _formatErrorMessage2 = _interopRequireDefault(require("@mui/x-internals/formatErrorMessage"));
9
11
  var React = _interopRequireWildcard(require("react"));
10
12
  var _GridChartsIntegrationContext = require("../../components/chartsIntegration/GridChartsIntegrationContext");
11
13
  const useGridChartsIntegrationContext = (ignoreError = false) => {
12
14
  const context = React.useContext(_GridChartsIntegrationContext.GridChartsIntegrationContext);
13
15
  if (!context && !ignoreError) {
14
- throw new Error(['MUI X: Could not find the Data Grid charts integration context.', 'It looks like you rendered your component outside of a DataGrid, DataGridPro or DataGridPremium parent component.', 'This can also happen if you are bundling multiple versions of the Data Grid.'].join('\n'));
16
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI X: Could not find the Data Grid charts integration context.
17
+ It looks like you rendered your component outside of a DataGrid, DataGridPro or DataGridPremium parent component.
18
+ This can also happen if you are bundling multiple versions of the Data Grid.` : (0, _formatErrorMessage2.default)(117));
15
19
  }
16
20
  return context;
17
21
  };
@@ -0,0 +1,14 @@
1
+ 'use client';
2
+
3
+ import _formatErrorMessage from "@mui/x-internals/formatErrorMessage";
4
+ import * as React from 'react';
5
+ import { GridChartsIntegrationContext } from "../../components/chartsIntegration/GridChartsIntegrationContext.mjs";
6
+ export const useGridChartsIntegrationContext = (ignoreError = false) => {
7
+ const context = React.useContext(GridChartsIntegrationContext);
8
+ if (!context && !ignoreError) {
9
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI X: Could not find the Data Grid charts integration context.
10
+ It looks like you rendered your component outside of a DataGrid, DataGridPro or DataGridPremium parent component.
11
+ This can also happen if you are bundling multiple versions of the Data Grid.` : _formatErrorMessage(117));
12
+ }
13
+ return context;
14
+ };
@@ -1,2 +1,2 @@
1
- import type { GridPrivateApiPremium } from "../../models/gridApiPremium.js";
1
+ import type { GridPrivateApiPremium } from "../../models/gridApiPremium.mjs";
2
2
  export declare const useGridPrivateApiContext: () => import("react").RefObject<GridPrivateApiPremium>;
@@ -1,2 +1,2 @@
1
- import type { DataGridPremiumProcessedProps } from "../../models/dataGridPremiumProps.js";
1
+ import type { DataGridPremiumProcessedProps } from "../../models/dataGridPremiumProps.mjs";
2
2
  export declare const useGridRootProps: () => DataGridPremiumProcessedProps;
@@ -1,7 +1,7 @@
1
1
  import type { RefObject } from '@mui/x-internals/types';
2
2
  import { type GridApi } from '@mui/x-data-grid-pro';
3
- import type { GridInitialStatePremium } from "../../models/gridStatePremium.js";
4
- import type { DataGridPremiumProps } from "../../models/dataGridPremiumProps.js";
3
+ import type { GridInitialStatePremium } from "../../models/gridStatePremium.mjs";
4
+ import type { DataGridPremiumProps } from "../../models/dataGridPremiumProps.mjs";
5
5
  /**
6
6
  * Automatically hide columns when added to the row grouping model and stop hiding them when they are removed.
7
7
  * Handles both the `props.initialState.rowGrouping.model` and `props.rowGroupingModel`
@@ -1,4 +1,4 @@
1
- import "./typeOverloads/index.js";
1
+ import "./typeOverloads/index.mjs";
2
2
  export * from '@mui/x-data-grid/components';
3
3
  export * from '@mui/x-data-grid-pro/components';
4
4
  export * from '@mui/x-data-grid/constants';
@@ -10,18 +10,18 @@ export * from '@mui/x-data-grid/context';
10
10
  export * from '@mui/x-data-grid/colDef';
11
11
  export * from '@mui/x-data-grid/utils';
12
12
  export * from '@mui/x-data-grid-pro/utils';
13
- export * from "./DataGridPremium/index.js";
14
- export * from "./hooks/index.js";
15
- export * from "./models/index.js";
16
- export * from "./components/index.js";
17
- export * from "./context/index.js";
13
+ export * from "./DataGridPremium/index.mjs";
14
+ export * from "./hooks/index.mjs";
15
+ export * from "./models/index.mjs";
16
+ export * from "./components/index.mjs";
17
+ export * from "./context/index.mjs";
18
18
  export { GridColumnHeaders } from '@mui/x-data-grid-pro';
19
19
  export type { GridColumnHeadersProps } from '@mui/x-data-grid-pro';
20
- export type { DataGridPremiumProps, GridExperimentalPremiumFeatures } from "./models/dataGridPremiumProps.js";
21
- export { useGridApiContext, useGridApiRef, useGridRootProps } from "./typeOverloads/reexports.js";
22
- export type { GridApi, GridInitialState, GridState } from "./typeOverloads/reexports.js";
23
- export { GridColumnMenu, GRID_COLUMN_MENU_SLOTS, GRID_COLUMN_MENU_SLOT_PROPS } from "./components/reexports.js";
24
- export type { GridGetRowsParamsPremium as GridGetRowsParams, GridGetRowsResponsePremium as GridGetRowsResponse, GridDataSourcePremium as GridDataSource, GridDataSourceApiPremium as GridDataSourceApi, GridDataSourceApiBasePremium as GridDataSourceApiBase, GridDataSourcePremiumPrivateApi as GridDataSourcePrivateApi } from "./hooks/features/dataSource/models.js";
25
- export { useGridPivoting as unstable_useGridPivoting } from "./hooks/features/pivoting/useGridPivoting.js";
26
- export type { GridPivotModel } from "./hooks/features/pivoting/gridPivotingInterfaces.js";
27
- export { IS_SPEECH_RECOGNITION_SUPPORTED } from "./utils/speechRecognition.js";
20
+ export type { DataGridPremiumProps, GridExperimentalPremiumFeatures } from "./models/dataGridPremiumProps.mjs";
21
+ export { useGridApiContext, useGridApiRef, useGridRootProps } from "./typeOverloads/reexports.mjs";
22
+ export type { GridApi, GridInitialState, GridState } from "./typeOverloads/reexports.mjs";
23
+ export { GridColumnMenu, GRID_COLUMN_MENU_SLOTS, GRID_COLUMN_MENU_SLOT_PROPS } from "./components/reexports.mjs";
24
+ export type { GridGetRowsParamsPremium as GridGetRowsParams, GridGetRowsResponsePremium as GridGetRowsResponse, GridDataSourcePremium as GridDataSource, GridDataSourceApiPremium as GridDataSourceApi, GridDataSourceApiBasePremium as GridDataSourceApiBase, GridDataSourcePremiumPrivateApi as GridDataSourcePrivateApi } from "./hooks/features/dataSource/models.mjs";
25
+ export { useGridPivoting as unstable_useGridPivoting } from "./hooks/features/pivoting/useGridPivoting.mjs";
26
+ export type { GridPivotModel } from "./hooks/features/pivoting/gridPivotingInterfaces.mjs";
27
+ export { IS_SPEECH_RECOGNITION_SUPPORTED } from "./utils/speechRecognition.mjs";
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-premium v9.0.0-alpha.0
2
+ * @mui/x-data-grid-premium v9.0.0-alpha.2
3
3
  *
4
4
  * @license SEE LICENSE IN LICENSE
5
5
  * This source code is licensed under the SEE LICENSE IN LICENSE license found in the
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @mui/x-data-grid-premium v9.0.0-alpha.0
2
+ * @mui/x-data-grid-premium v9.0.0-alpha.2
3
3
  *
4
4
  * @license SEE LICENSE IN LICENSE
5
5
  * This source code is licensed under the SEE LICENSE IN LICENSE license found in the
6
6
  * LICENSE file in the root directory of this source tree.
7
7
  */
8
- import "./typeOverloads/index.js";
8
+ import "./typeOverloads/index.mjs";
9
9
  export * from '@mui/x-data-grid/components';
10
10
  export * from '@mui/x-data-grid-pro/components';
11
11
  export * from '@mui/x-data-grid/constants';
@@ -17,13 +17,13 @@ export * from '@mui/x-data-grid/context';
17
17
  export * from '@mui/x-data-grid/colDef';
18
18
  export * from '@mui/x-data-grid/utils';
19
19
  export * from '@mui/x-data-grid-pro/utils';
20
- export * from "./DataGridPremium/index.js";
21
- export * from "./hooks/index.js";
22
- export * from "./models/index.js";
23
- export * from "./components/index.js";
24
- export * from "./context/index.js";
20
+ export * from "./DataGridPremium/index.mjs";
21
+ export * from "./hooks/index.mjs";
22
+ export * from "./models/index.mjs";
23
+ export * from "./components/index.mjs";
24
+ export * from "./context/index.mjs";
25
25
  export { GridColumnHeaders } from '@mui/x-data-grid-pro';
26
- export { useGridApiContext, useGridApiRef, useGridRootProps } from "./typeOverloads/reexports.js";
27
- export { GridColumnMenu, GRID_COLUMN_MENU_SLOTS, GRID_COLUMN_MENU_SLOT_PROPS } from "./components/reexports.js";
28
- export { useGridPivoting as unstable_useGridPivoting } from "./hooks/features/pivoting/useGridPivoting.js";
29
- export { IS_SPEECH_RECOGNITION_SUPPORTED } from "./utils/speechRecognition.js";
26
+ export { useGridApiContext, useGridApiRef, useGridRootProps } from "./typeOverloads/reexports.mjs";
27
+ export { GridColumnMenu, GRID_COLUMN_MENU_SLOTS, GRID_COLUMN_MENU_SLOT_PROPS } from "./components/reexports.mjs";
28
+ export { useGridPivoting as unstable_useGridPivoting } from "./hooks/features/pivoting/useGridPivoting.mjs";
29
+ export { IS_SPEECH_RECOGNITION_SUPPORTED } from "./utils/speechRecognition.mjs";
@@ -1,7 +1,7 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import { GridSearchIcon, GridClearIcon, GridAddIcon, GridCheckIcon, GridExpandMoreIcon, GridDeleteIcon, GridCloseIcon } from '@mui/x-data-grid';
3
3
  import { GridArrowDownwardIcon, GridArrowUpwardIcon, GridFilterAltIcon } from '@mui/x-data-grid-pro';
4
- import { GridWorkspacesIcon, GridGroupWorkIcon, GridFunctionsIcon, GridMoveToTopIcon, GridMoveToBottomIcon, GridExpandLessIcon, GridPivotIcon, GridSendIcon, GridMicIcon, GridMicOffIcon, GridAssistantIcon, GridPromptIcon, GridRerunIcon, GridHistoryIcon, GridChartsIcon, GridSyncDisabledIcon, GridSyncIcon } from "./icons.js";
4
+ import { GridWorkspacesIcon, GridGroupWorkIcon, GridFunctionsIcon, GridMoveToTopIcon, GridMoveToBottomIcon, GridExpandLessIcon, GridPivotIcon, GridSendIcon, GridMicIcon, GridMicOffIcon, GridAssistantIcon, GridPromptIcon, GridRerunIcon, GridHistoryIcon, GridChartsIcon, GridSyncDisabledIcon, GridSyncIcon } from "./icons.mjs";
5
5
  const iconsSlots = {
6
6
  collapsibleIcon: GridExpandMoreIcon,
7
7
  columnMenuUngroupIcon: GridWorkspacesIcon,
@@ -1,17 +1,17 @@
1
1
  import type { RefObject } from '@mui/x-internals/types';
2
2
  import type { GridCallbackDetails, GridValidRowModel, GridGroupNode, GridEventListener, GridGetRowsError, GridUpdateRowError, GridColDef, GridLocaleTextApi, GridEvents } from '@mui/x-data-grid-pro';
3
3
  import type { GridExperimentalProFeatures, DataGridProPropsWithDefaultValue, DataGridProPropsWithoutDefaultValue, DataGridPropsWithComplexDefaultValueAfterProcessing, DataGridPropsWithComplexDefaultValueBeforeProcessing, DataGridPremiumSharedPropsWithDefaultValue } from '@mui/x-data-grid-pro/internals';
4
- import type { GridRowGroupingModel } from "../hooks/features/rowGrouping/index.js";
5
- import type { GridAggregationModel, GridAggregationFunction, GridAggregationFunctionDataSource, GridAggregationPosition } from "../hooks/features/aggregation/index.js";
6
- import type { GridPremiumSlotsComponent } from "./gridPremiumSlotsComponent.js";
7
- import type { GridPremiumSlotProps } from "./gridPremiumSlotProps.js";
8
- import type { GridInitialStatePremium } from "./gridStatePremium.js";
9
- import type { GridApiPremium } from "./gridApiPremium.js";
10
- import type { GridCellSelectionModel } from "../hooks/features/cellSelection/index.js";
11
- import type { GridPivotingColDefOverrides, PivotingColDefCallback, GridPivotModel } from "../hooks/features/pivoting/gridPivotingInterfaces.js";
12
- import type { GridDataSourcePremium as GridDataSource, GridGetRowsParamsPremium as GridGetRowsParams } from "../hooks/features/dataSource/models.js";
13
- import type { Conversation, PromptResponse, PromptSuggestion } from "../hooks/features/aiAssistant/gridAiAssistantInterfaces.js";
14
- import type { GridHistoryEventHandler } from "../hooks/features/history/gridHistoryInterfaces.js";
4
+ import type { GridRowGroupingModel } from "../hooks/features/rowGrouping/index.mjs";
5
+ import type { GridAggregationModel, GridAggregationFunction, GridAggregationFunctionDataSource, GridAggregationPosition } from "../hooks/features/aggregation/index.mjs";
6
+ import type { GridPremiumSlotsComponent } from "./gridPremiumSlotsComponent.mjs";
7
+ import type { GridPremiumSlotProps } from "./gridPremiumSlotProps.mjs";
8
+ import type { GridInitialStatePremium } from "./gridStatePremium.mjs";
9
+ import type { GridApiPremium } from "./gridApiPremium.mjs";
10
+ import type { GridCellSelectionModel } from "../hooks/features/cellSelection/index.mjs";
11
+ import type { GridPivotingColDefOverrides, PivotingColDefCallback, GridPivotModel } from "../hooks/features/pivoting/gridPivotingInterfaces.mjs";
12
+ import type { GridDataSourcePremium as GridDataSource, GridGetRowsParamsPremium as GridGetRowsParams } from "../hooks/features/dataSource/models.mjs";
13
+ import type { Conversation, PromptResponse, PromptSuggestion } from "../hooks/features/aiAssistant/gridAiAssistantInterfaces.mjs";
14
+ import type { GridHistoryEventHandler } from "../hooks/features/history/gridHistoryInterfaces.mjs";
15
15
  export interface GridExperimentalPremiumFeatures extends GridExperimentalProFeatures {
16
16
  charts?: boolean;
17
17
  }
@@ -1,17 +1,17 @@
1
1
  import type { GridPrivateOnlyApiCommon } from '@mui/x-data-grid/internals';
2
2
  import type { GridApiCommon, GridColumnPinningApi, GridDetailPanelApi, GridDetailPanelPrivateApi, GridRowPinningApi, GridRowMultiSelectionApi, GridColumnReorderApi, GridRowProApi } from '@mui/x-data-grid-pro';
3
3
  import type { GridRowReorderPrivateApi } from '@mui/x-data-grid-pro/internals';
4
- import type { GridInitialStatePremium, GridStatePremium } from "./gridStatePremium.js";
5
- import type { GridRowGroupingApi, GridExcelExportApi, GridAggregationApi } from "../hooks/index.js";
6
- import type { GridCellSelectionApi } from "../hooks/features/cellSelection/gridCellSelectionInterfaces.js";
7
- import type { DataGridPremiumProcessedProps } from "./dataGridPremiumProps.js";
8
- import type { GridDataSourcePremiumPrivateApi, GridDataSourceApiPremium } from "../hooks/features/dataSource/models.js";
9
- import type { GridAggregationPrivateApi } from "../hooks/features/aggregation/gridAggregationInterfaces.js";
10
- import type { GridPivotingApi, GridPivotingPrivateApi } from "../hooks/features/pivoting/gridPivotingInterfaces.js";
11
- import type { GridAiAssistantApi } from "../hooks/features/aiAssistant/gridAiAssistantInterfaces.js";
12
- import type { GridSidebarApi } from "../hooks/features/sidebar/gridSidebarInterfaces.js";
13
- import type { GridChartsIntegrationApi, GridChartsIntegrationPrivateApi } from "../hooks/features/chartsIntegration/gridChartsIntegrationInterfaces.js";
14
- import type { GridHistoryApi } from "../hooks/features/history/gridHistoryInterfaces.js";
4
+ import type { GridInitialStatePremium, GridStatePremium } from "./gridStatePremium.mjs";
5
+ import type { GridRowGroupingApi, GridExcelExportApi, GridAggregationApi } from "../hooks/index.mjs";
6
+ import type { GridCellSelectionApi } from "../hooks/features/cellSelection/gridCellSelectionInterfaces.mjs";
7
+ import type { DataGridPremiumProcessedProps } from "./dataGridPremiumProps.mjs";
8
+ import type { GridDataSourcePremiumPrivateApi, GridDataSourceApiPremium } from "../hooks/features/dataSource/models.mjs";
9
+ import type { GridAggregationPrivateApi } from "../hooks/features/aggregation/gridAggregationInterfaces.mjs";
10
+ import type { GridPivotingApi, GridPivotingPrivateApi } from "../hooks/features/pivoting/gridPivotingInterfaces.mjs";
11
+ import type { GridAiAssistantApi } from "../hooks/features/aiAssistant/gridAiAssistantInterfaces.mjs";
12
+ import type { GridSidebarApi } from "../hooks/features/sidebar/gridSidebarInterfaces.mjs";
13
+ import type { GridChartsIntegrationApi, GridChartsIntegrationPrivateApi } from "../hooks/features/chartsIntegration/gridChartsIntegrationInterfaces.mjs";
14
+ import type { GridHistoryApi } from "../hooks/features/history/gridHistoryInterfaces.mjs";
15
15
  /**
16
16
  * The api of Data Grid Premium.
17
17
  * TODO: Do not redefine manually the pro features
@@ -1,4 +1,4 @@
1
1
  import type { RefObject } from '@mui/x-internals/types';
2
2
  import type { GridValidRowModel, GridColDef, GridKeyValue } from '@mui/x-data-grid-pro';
3
- import type { GridApiPremium } from "./gridApiPremium.js";
3
+ import type { GridApiPremium } from "./gridApiPremium.mjs";
4
4
  export type GridGroupingValueGetter<R extends GridValidRowModel = GridValidRowModel, TValue = never> = (value: TValue, row: R, column: GridColDef<R>, apiRef: RefObject<GridApiPremium>) => GridKeyValue | null | undefined;
@@ -1,6 +1,6 @@
1
1
  import type { RefObject } from '@mui/x-internals/types';
2
2
  import type { GridValidRowModel, GridColDef, GridKeyValue } from '@mui/x-data-grid-pro';
3
- import type { GridApiPremium } from "./gridApiPremium.js";
3
+ import type { GridApiPremium } from "./gridApiPremium.mjs";
4
4
  /**
5
5
  * Function signature for setting a grouping value on a row.
6
6
  * This is the inverse operation of GridGroupingValueGetter.
@@ -1,4 +1,4 @@
1
1
  import type { RefObject } from '@mui/x-internals/types';
2
2
  import type { GridColDef, GridValidRowModel } from '@mui/x-data-grid';
3
- import type { GridApiPremium } from "./gridApiPremium.js";
3
+ import type { GridApiPremium } from "./gridApiPremium.mjs";
4
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,5 +1,5 @@
1
1
  import type { GridProSlotProps } from '@mui/x-data-grid-pro/internals';
2
- import type { GridChartsPanelProps } from "../components/chartsPanel/GridChartsPanel.js";
2
+ import type { GridChartsPanelProps } from "../components/chartsPanel/GridChartsPanel.mjs";
3
3
  export interface GridChartsPanelPropsOverrides {}
4
4
  type SlotProps<Props, Overrides> = Partial<Props & Overrides>;
5
5
  export interface GridPremiumSlotProps extends GridProSlotProps {
@@ -1,5 +1,5 @@
1
1
  import type { GridProSlotsComponent } from '@mui/x-data-grid-pro';
2
- import type { GridPremiumIconSlotsComponent } from "./gridPremiumIconSlotsComponent.js";
2
+ import type { GridPremiumIconSlotsComponent } from "./gridPremiumIconSlotsComponent.mjs";
3
3
  /**
4
4
  * Grid components React prop interface containing all the overridable components
5
5
  * for Premium package
@@ -1,10 +1,10 @@
1
1
  import type { GridInitialState as GridInitialStatePro, GridState as GridStatePro } from '@mui/x-data-grid-pro';
2
- import type { GridRowGroupingState, GridRowGroupingInitialState, GridAggregationState, GridAggregationInitialState, GridCellSelectionModel } from "../hooks/index.js";
3
- import type { GridPivotingInitialState, GridPivotingState } from "../hooks/features/pivoting/gridPivotingInterfaces.js";
4
- import type { GridAiAssistantInitialState, GridAiAssistantState } from "../hooks/features/aiAssistant/gridAiAssistantInterfaces.js";
5
- import type { GridSidebarInitialState, GridSidebarState } from "../hooks/features/sidebar/gridSidebarState.js";
6
- import type { GridChartsIntegrationState, GridChartsIntegrationInitialState } from "../hooks/features/chartsIntegration/gridChartsIntegrationInterfaces.js";
7
- import type { GridHistoryState } from "../hooks/features/history/gridHistoryInterfaces.js";
2
+ import type { GridRowGroupingState, GridRowGroupingInitialState, GridAggregationState, GridAggregationInitialState, GridCellSelectionModel } from "../hooks/index.mjs";
3
+ import type { GridPivotingInitialState, GridPivotingState } from "../hooks/features/pivoting/gridPivotingInterfaces.mjs";
4
+ import type { GridAiAssistantInitialState, GridAiAssistantState } from "../hooks/features/aiAssistant/gridAiAssistantInterfaces.mjs";
5
+ import type { GridSidebarInitialState, GridSidebarState } from "../hooks/features/sidebar/gridSidebarState.mjs";
6
+ import type { GridChartsIntegrationState, GridChartsIntegrationInitialState } from "../hooks/features/chartsIntegration/gridChartsIntegrationInterfaces.mjs";
7
+ import type { GridHistoryState } from "../hooks/features/history/gridHistoryInterfaces.mjs";
8
8
  /**
9
9
  * The state of Data Grid Premium.
10
10
  */