@mui/x-data-grid-premium 8.0.0-beta.3 → 8.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +282 -96
- package/DataGridPremium/DataGridPremium.js +165 -9
- package/DataGridPremium/useDataGridPremiumComponent.d.ts +2 -2
- package/DataGridPremium/useDataGridPremiumComponent.js +22 -3
- package/DataGridPremium/useDataGridPremiumProps.js +5 -1
- package/components/GridColumnMenuPivotItem.d.ts +3 -0
- package/components/GridColumnMenuPivotItem.js +33 -0
- package/components/GridEmptyPivotOverlay.d.ts +6 -0
- package/components/GridEmptyPivotOverlay.js +29 -0
- package/components/GridGroupingCriteriaCell.js +8 -3
- package/components/GridPremiumColumnMenu.d.ts +5 -0
- package/components/GridPremiumColumnMenu.js +6 -1
- package/components/GridPremiumToolbar.d.ts +1 -1
- package/components/GridPremiumToolbar.js +29 -1
- package/components/aiAssistantPanel/AiAssistantPanelTrigger.d.ts +33 -0
- package/components/aiAssistantPanel/AiAssistantPanelTrigger.js +107 -0
- package/components/aiAssistantPanel/GridAiAssistantPanel.d.ts +3 -0
- package/components/aiAssistantPanel/GridAiAssistantPanel.js +195 -0
- package/components/aiAssistantPanel/GridAiAssistantPanelConversation.d.ts +7 -0
- package/components/aiAssistantPanel/GridAiAssistantPanelConversation.js +71 -0
- package/components/aiAssistantPanel/GridAiAssistantPanelConversationsMenu.d.ts +3 -0
- package/components/aiAssistantPanel/GridAiAssistantPanelConversationsMenu.js +92 -0
- package/components/aiAssistantPanel/GridAiAssistantPanelSuggestions.d.ts +7 -0
- package/components/aiAssistantPanel/GridAiAssistantPanelSuggestions.js +86 -0
- package/components/aiAssistantPanel/index.d.ts +2 -0
- package/components/aiAssistantPanel/index.js +27 -0
- package/components/collapsible/Collapsible.d.ts +4 -0
- package/components/collapsible/Collapsible.js +70 -0
- package/components/collapsible/CollapsibleContext.d.ts +8 -0
- package/components/collapsible/CollapsibleContext.js +17 -0
- package/components/collapsible/CollapsiblePanel.d.ts +4 -0
- package/components/collapsible/CollapsiblePanel.js +64 -0
- package/components/collapsible/CollapsibleTrigger.d.ts +4 -0
- package/components/collapsible/CollapsibleTrigger.js +106 -0
- package/components/collapsible/index.d.ts +4 -0
- package/components/collapsible/index.js +49 -0
- package/components/index.d.ts +5 -2
- package/components/index.js +40 -4
- package/components/pivotPanel/GridPivotPanel.d.ts +3 -0
- package/components/pivotPanel/GridPivotPanel.js +22 -0
- package/components/pivotPanel/GridPivotPanelBody.d.ts +11 -0
- package/components/pivotPanel/GridPivotPanelBody.js +368 -0
- package/components/pivotPanel/GridPivotPanelField.d.ts +22 -0
- package/components/pivotPanel/GridPivotPanelField.js +338 -0
- package/components/pivotPanel/GridPivotPanelFieldMenu.d.ts +8 -0
- package/components/pivotPanel/GridPivotPanelFieldMenu.js +177 -0
- package/components/pivotPanel/GridPivotPanelHeader.d.ts +7 -0
- package/components/pivotPanel/GridPivotPanelHeader.js +101 -0
- package/components/pivotPanel/GridPivotPanelSearch.d.ts +7 -0
- package/components/pivotPanel/GridPivotPanelSearch.js +77 -0
- package/components/pivotPanel/PivotPanelTrigger.d.ts +37 -0
- package/components/pivotPanel/PivotPanelTrigger.js +93 -0
- package/components/pivotPanel/index.d.ts +2 -0
- package/components/pivotPanel/index.js +27 -0
- package/components/prompt/GridPrompt.d.ts +7 -0
- package/components/prompt/GridPrompt.js +364 -0
- package/components/prompt/index.d.ts +1 -0
- package/components/prompt/index.js +12 -0
- package/components/promptField/GridPromptField.d.ts +4 -0
- package/components/promptField/GridPromptField.js +86 -0
- package/components/promptField/PromptField.d.ts +66 -0
- package/components/promptField/PromptField.js +95 -0
- package/components/promptField/PromptFieldContext.d.ts +16 -0
- package/components/promptField/PromptFieldContext.js +17 -0
- package/components/promptField/PromptFieldControl.d.ts +27 -0
- package/components/promptField/PromptFieldControl.js +102 -0
- package/components/promptField/PromptFieldRecord.d.ts +27 -0
- package/components/promptField/PromptFieldRecord.js +158 -0
- package/components/promptField/PromptFieldSend.d.ts +27 -0
- package/components/promptField/PromptFieldSend.js +83 -0
- package/components/promptField/index.d.ts +4 -0
- package/components/promptField/index.js +49 -0
- package/components/resizablePanel/ResizablePanel.d.ts +10 -0
- package/components/resizablePanel/ResizablePanel.js +59 -0
- package/components/resizablePanel/ResizablePanelContext.d.ts +7 -0
- package/components/resizablePanel/ResizablePanelContext.js +17 -0
- package/components/resizablePanel/ResizablePanelHandle.d.ts +4 -0
- package/components/resizablePanel/ResizablePanelHandle.js +115 -0
- package/components/resizablePanel/index.d.ts +3 -0
- package/components/resizablePanel/index.js +38 -0
- package/components/sidebar/Sidebar.d.ts +4 -0
- package/components/sidebar/Sidebar.js +54 -0
- package/components/sidebar/SidebarHeader.d.ts +4 -0
- package/components/sidebar/SidebarHeader.js +51 -0
- package/components/sidebar/index.d.ts +2 -0
- package/components/sidebar/index.js +27 -0
- package/constants/dataGridPremiumDefaultSlotsComponents.js +3 -0
- package/esm/DataGridPremium/DataGridPremium.js +167 -11
- package/esm/DataGridPremium/useDataGridPremiumComponent.d.ts +2 -2
- package/esm/DataGridPremium/useDataGridPremiumComponent.js +20 -3
- package/esm/DataGridPremium/useDataGridPremiumProps.js +5 -1
- package/esm/components/GridColumnMenuPivotItem.d.ts +3 -0
- package/esm/components/GridColumnMenuPivotItem.js +26 -0
- package/esm/components/GridEmptyPivotOverlay.d.ts +6 -0
- package/esm/components/GridEmptyPivotOverlay.js +22 -0
- package/esm/components/GridGroupingCriteriaCell.js +9 -4
- package/esm/components/GridPremiumColumnMenu.d.ts +5 -0
- package/esm/components/GridPremiumColumnMenu.js +6 -1
- package/esm/components/GridPremiumToolbar.d.ts +1 -1
- package/esm/components/GridPremiumToolbar.js +30 -2
- package/esm/components/aiAssistantPanel/AiAssistantPanelTrigger.d.ts +33 -0
- package/esm/components/aiAssistantPanel/AiAssistantPanelTrigger.js +100 -0
- package/esm/components/aiAssistantPanel/GridAiAssistantPanel.d.ts +3 -0
- package/esm/components/aiAssistantPanel/GridAiAssistantPanel.js +188 -0
- package/esm/components/aiAssistantPanel/GridAiAssistantPanelConversation.d.ts +7 -0
- package/esm/components/aiAssistantPanel/GridAiAssistantPanelConversation.js +64 -0
- package/esm/components/aiAssistantPanel/GridAiAssistantPanelConversationsMenu.d.ts +3 -0
- package/esm/components/aiAssistantPanel/GridAiAssistantPanelConversationsMenu.js +85 -0
- package/esm/components/aiAssistantPanel/GridAiAssistantPanelSuggestions.d.ts +7 -0
- package/esm/components/aiAssistantPanel/GridAiAssistantPanelSuggestions.js +80 -0
- package/esm/components/aiAssistantPanel/index.d.ts +2 -0
- package/esm/components/aiAssistantPanel/index.js +2 -0
- package/esm/components/collapsible/Collapsible.d.ts +4 -0
- package/esm/components/collapsible/Collapsible.js +63 -0
- package/esm/components/collapsible/CollapsibleContext.d.ts +8 -0
- package/esm/components/collapsible/CollapsibleContext.js +9 -0
- package/esm/components/collapsible/CollapsiblePanel.d.ts +4 -0
- package/esm/components/collapsible/CollapsiblePanel.js +57 -0
- package/esm/components/collapsible/CollapsibleTrigger.d.ts +4 -0
- package/esm/components/collapsible/CollapsibleTrigger.js +99 -0
- package/esm/components/collapsible/index.d.ts +4 -0
- package/esm/components/collapsible/index.js +4 -0
- package/esm/components/index.d.ts +5 -2
- package/esm/components/index.js +5 -2
- package/esm/components/pivotPanel/GridPivotPanel.d.ts +3 -0
- package/esm/components/pivotPanel/GridPivotPanel.js +16 -0
- package/esm/components/pivotPanel/GridPivotPanelBody.d.ts +11 -0
- package/esm/components/pivotPanel/GridPivotPanelBody.js +361 -0
- package/esm/components/pivotPanel/GridPivotPanelField.d.ts +22 -0
- package/esm/components/pivotPanel/GridPivotPanelField.js +331 -0
- package/esm/components/pivotPanel/GridPivotPanelFieldMenu.d.ts +8 -0
- package/esm/components/pivotPanel/GridPivotPanelFieldMenu.js +170 -0
- package/esm/components/pivotPanel/GridPivotPanelHeader.d.ts +7 -0
- package/esm/components/pivotPanel/GridPivotPanelHeader.js +94 -0
- package/esm/components/pivotPanel/GridPivotPanelSearch.d.ts +7 -0
- package/esm/components/pivotPanel/GridPivotPanelSearch.js +70 -0
- package/esm/components/pivotPanel/PivotPanelTrigger.d.ts +37 -0
- package/esm/components/pivotPanel/PivotPanelTrigger.js +86 -0
- package/esm/components/pivotPanel/index.d.ts +2 -0
- package/esm/components/pivotPanel/index.js +2 -0
- package/esm/components/prompt/GridPrompt.d.ts +7 -0
- package/esm/components/prompt/GridPrompt.js +357 -0
- package/esm/components/prompt/index.d.ts +1 -0
- package/esm/components/prompt/index.js +1 -0
- package/esm/components/promptField/GridPromptField.d.ts +4 -0
- package/esm/components/promptField/GridPromptField.js +79 -0
- package/esm/components/promptField/PromptField.d.ts +66 -0
- package/esm/components/promptField/PromptField.js +88 -0
- package/esm/components/promptField/PromptFieldContext.d.ts +16 -0
- package/esm/components/promptField/PromptFieldContext.js +9 -0
- package/esm/components/promptField/PromptFieldControl.d.ts +27 -0
- package/esm/components/promptField/PromptFieldControl.js +95 -0
- package/esm/components/promptField/PromptFieldRecord.d.ts +27 -0
- package/esm/components/promptField/PromptFieldRecord.js +151 -0
- package/esm/components/promptField/PromptFieldSend.d.ts +27 -0
- package/{modern/components/export/ExportExcel.js → esm/components/promptField/PromptFieldSend.js} +30 -38
- package/esm/components/promptField/index.d.ts +4 -0
- package/esm/components/promptField/index.js +4 -0
- package/esm/components/resizablePanel/ResizablePanel.d.ts +10 -0
- package/esm/components/resizablePanel/ResizablePanel.js +52 -0
- package/esm/components/resizablePanel/ResizablePanelContext.d.ts +7 -0
- package/esm/components/resizablePanel/ResizablePanelContext.js +9 -0
- package/esm/components/resizablePanel/ResizablePanelHandle.d.ts +4 -0
- package/esm/components/resizablePanel/ResizablePanelHandle.js +108 -0
- package/esm/components/resizablePanel/index.d.ts +3 -0
- package/esm/components/resizablePanel/index.js +3 -0
- package/esm/components/sidebar/Sidebar.d.ts +4 -0
- package/esm/components/sidebar/Sidebar.js +47 -0
- package/esm/components/sidebar/SidebarHeader.d.ts +4 -0
- package/esm/components/sidebar/SidebarHeader.js +44 -0
- package/esm/components/sidebar/index.d.ts +2 -0
- package/esm/components/sidebar/index.js +2 -0
- package/esm/constants/dataGridPremiumDefaultSlotsComponents.js +3 -0
- package/esm/hooks/features/aggregation/gridAggregationFunctions.js +13 -0
- package/esm/hooks/features/aggregation/gridAggregationSelectors.d.ts +10 -1
- package/esm/hooks/features/aggregation/gridAggregationSelectors.js +28 -1
- package/esm/hooks/features/aggregation/gridAggregationUtils.d.ts +1 -1
- package/esm/hooks/features/aggregation/index.d.ts +1 -1
- package/esm/hooks/features/aggregation/index.js +1 -1
- package/esm/hooks/features/aggregation/useGridAggregation.js +3 -7
- package/esm/hooks/features/aggregation/useGridAggregationPreProcessors.js +2 -8
- package/esm/hooks/features/aggregation/wrapColumnWithAggregation.d.ts +5 -25
- package/esm/hooks/features/aggregation/wrapColumnWithAggregation.js +23 -10
- package/esm/hooks/features/aiAssistant/api.d.ts +12 -0
- package/esm/hooks/features/aiAssistant/api.js +31 -0
- package/esm/hooks/features/aiAssistant/gridAiAssistantInterfaces.d.ts +82 -0
- package/esm/hooks/features/aiAssistant/gridAiAssistantSelectors.d.ts +5 -0
- package/esm/hooks/features/aiAssistant/gridAiAssistantSelectors.js +5 -0
- package/esm/hooks/features/aiAssistant/index.d.ts +2 -0
- package/esm/hooks/features/aiAssistant/useGridAiAssistant.d.ts +6 -0
- package/esm/hooks/features/aiAssistant/useGridAiAssistant.js +293 -0
- package/esm/hooks/features/dataSource/useGridDataSourcePremium.js +4 -1
- package/esm/hooks/features/index.d.ts +1 -1
- package/esm/hooks/features/index.js +1 -1
- package/esm/hooks/features/pivoting/gridPivotingInterfaces.d.ts +69 -0
- package/esm/hooks/features/pivoting/gridPivotingSelectors.d.ts +4 -0
- package/esm/hooks/features/pivoting/gridPivotingSelectors.js +5 -0
- package/esm/hooks/features/pivoting/useGridPivoting.d.ts +7 -0
- package/esm/hooks/features/pivoting/useGridPivoting.js +339 -0
- package/esm/hooks/features/pivoting/utils.d.ts +21 -0
- package/esm/hooks/features/pivoting/utils.js +259 -0
- package/esm/hooks/features/rowGrouping/useGridDataSourceRowGroupingPreProcessors.js +1 -4
- package/esm/hooks/features/rowGrouping/useGridRowGrouping.js +0 -1
- package/esm/hooks/utils/useResize.d.ts +9 -0
- package/esm/hooks/utils/useResize.js +52 -0
- package/esm/index.d.ts +4 -1
- package/esm/index.js +4 -2
- package/esm/material/icons.d.ts +15 -15
- package/esm/material/icons.js +32 -5
- package/esm/material/index.d.ts +31 -5
- package/esm/material/index.js +31 -3
- package/esm/models/dataGridPremiumProps.d.ts +96 -2
- package/esm/models/gridApiPremium.d.ts +4 -2
- package/esm/models/gridPremiumIconSlotsComponent.d.ts +141 -8
- package/esm/models/gridPremiumSlotsComponent.d.ts +13 -1
- package/esm/models/gridStatePremium.d.ts +6 -0
- package/esm/package.json +1 -1
- package/esm/setupExcelExportWebWorker/index.d.ts +1 -0
- package/esm/setupExcelExportWebWorker/index.js +1 -0
- package/esm/typeOverloads/modules.d.ts +32 -1
- package/esm/utils/speechRecognition.d.ts +2 -0
- package/esm/utils/speechRecognition.js +2 -0
- package/hooks/features/aggregation/gridAggregationFunctions.js +13 -0
- package/hooks/features/aggregation/gridAggregationSelectors.d.ts +10 -1
- package/hooks/features/aggregation/gridAggregationSelectors.js +29 -2
- package/hooks/features/aggregation/gridAggregationUtils.d.ts +1 -1
- package/hooks/features/aggregation/index.d.ts +1 -1
- package/hooks/features/aggregation/index.js +21 -11
- package/hooks/features/aggregation/useGridAggregation.js +3 -7
- package/hooks/features/aggregation/useGridAggregationPreProcessors.js +2 -8
- package/hooks/features/aggregation/wrapColumnWithAggregation.d.ts +5 -25
- package/hooks/features/aggregation/wrapColumnWithAggregation.js +24 -11
- package/hooks/features/aiAssistant/api.d.ts +12 -0
- package/hooks/features/aiAssistant/api.js +37 -0
- package/hooks/features/aiAssistant/gridAiAssistantInterfaces.d.ts +82 -0
- package/hooks/features/aiAssistant/gridAiAssistantSelectors.d.ts +5 -0
- package/hooks/features/aiAssistant/gridAiAssistantSelectors.js +11 -0
- package/hooks/features/aiAssistant/index.d.ts +2 -0
- package/hooks/features/aiAssistant/useGridAiAssistant.d.ts +6 -0
- package/hooks/features/aiAssistant/useGridAiAssistant.js +303 -0
- package/hooks/features/dataSource/useGridDataSourcePremium.js +3 -0
- package/hooks/features/index.d.ts +1 -1
- package/hooks/features/index.js +4 -4
- package/hooks/features/pivoting/gridPivotingInterfaces.d.ts +69 -0
- package/hooks/features/pivoting/gridPivotingInterfaces.js +5 -0
- package/hooks/features/pivoting/gridPivotingSelectors.d.ts +4 -0
- package/hooks/features/pivoting/gridPivotingSelectors.js +30 -0
- package/hooks/features/pivoting/useGridPivoting.d.ts +7 -0
- package/hooks/features/pivoting/useGridPivoting.js +349 -0
- package/hooks/features/pivoting/utils.d.ts +21 -0
- package/hooks/features/pivoting/utils.js +270 -0
- package/hooks/features/rowGrouping/useGridDataSourceRowGroupingPreProcessors.js +1 -4
- package/hooks/features/rowGrouping/useGridRowGrouping.js +0 -1
- package/hooks/utils/useResize.d.ts +9 -0
- package/hooks/utils/useResize.js +60 -0
- package/index.d.ts +4 -1
- package/index.js +19 -3
- package/material/icons.d.ts +15 -15
- package/material/icons.js +36 -9
- package/material/index.d.ts +31 -5
- package/material/index.js +30 -2
- package/models/dataGridPremiumProps.d.ts +96 -2
- package/models/gridApiPremium.d.ts +4 -2
- package/models/gridPremiumIconSlotsComponent.d.ts +141 -8
- package/models/gridPremiumSlotsComponent.d.ts +13 -1
- package/models/gridStatePremium.d.ts +6 -0
- package/package.json +9 -15
- package/setupExcelExportWebWorker/index.d.ts +1 -0
- package/{setupExcelExportWebWorker.js → setupExcelExportWebWorker/index.js} +1 -1
- package/typeOverloads/modules.d.ts +32 -1
- package/utils/speechRecognition.d.ts +2 -0
- package/utils/speechRecognition.js +8 -0
- package/components/promptControl/GridToolbarPromptControl.d.ts +0 -26
- package/components/promptControl/GridToolbarPromptControl.js +0 -222
- package/components/promptControl/RecordButton.d.ts +0 -16
- package/components/promptControl/RecordButton.js +0 -119
- package/components/promptControl/index.d.ts +0 -1
- package/components/promptControl/index.js +0 -12
- package/esm/components/promptControl/GridToolbarPromptControl.d.ts +0 -26
- package/esm/components/promptControl/GridToolbarPromptControl.js +0 -215
- package/esm/components/promptControl/RecordButton.d.ts +0 -16
- package/esm/components/promptControl/RecordButton.js +0 -111
- package/esm/components/promptControl/index.d.ts +0 -1
- package/esm/components/promptControl/index.js +0 -1
- package/esm/hooks/features/promptControl/api.d.ts +0 -2
- package/esm/hooks/features/promptControl/api.js +0 -22
- package/esm/hooks/features/promptControl/index.d.ts +0 -2
- package/esm/hooks/features/promptControl/types.d.ts +0 -25
- package/esm/setupExcelExportWebWorker.d.ts +0 -1
- package/esm/setupExcelExportWebWorker.js +0 -1
- package/esm/utils/releaseInfo.d.ts +0 -1
- package/esm/utils/releaseInfo.js +0 -13
- package/hooks/features/promptControl/api.d.ts +0 -2
- package/hooks/features/promptControl/api.js +0 -28
- package/hooks/features/promptControl/index.d.ts +0 -2
- package/hooks/features/promptControl/types.d.ts +0 -25
- package/modern/DataGridPremium/DataGrid.d.ts +0 -8
- package/modern/DataGridPremium/DataGrid.js +0 -19
- package/modern/DataGridPremium/DataGridPremium.d.ts +0 -16
- package/modern/DataGridPremium/DataGridPremium.js +0 -1127
- package/modern/DataGridPremium/index.d.ts +0 -3
- package/modern/DataGridPremium/index.js +0 -3
- package/modern/DataGridPremium/useDataGridPremiumComponent.d.ts +0 -4
- package/modern/DataGridPremium/useDataGridPremiumComponent.js +0 -108
- package/modern/DataGridPremium/useDataGridPremiumProps.d.ts +0 -6
- package/modern/DataGridPremium/useDataGridPremiumProps.js +0 -54
- package/modern/components/GridAggregationHeader.d.ts +0 -7
- package/modern/components/GridAggregationHeader.js +0 -89
- package/modern/components/GridAggregationRowOverlay.d.ts +0 -3
- package/modern/components/GridAggregationRowOverlay.js +0 -37
- package/modern/components/GridBottomContainer.d.ts +0 -3
- package/modern/components/GridBottomContainer.js +0 -43
- package/modern/components/GridColumnMenuAggregationItem.d.ts +0 -7
- package/modern/components/GridColumnMenuAggregationItem.js +0 -124
- package/modern/components/GridColumnMenuRowGroupItem.d.ts +0 -3
- package/modern/components/GridColumnMenuRowGroupItem.js +0 -42
- package/modern/components/GridColumnMenuRowUngroupItem.d.ts +0 -3
- package/modern/components/GridColumnMenuRowUngroupItem.js +0 -44
- package/modern/components/GridDataSourceGroupingCriteriaCell.d.ts +0 -7
- package/modern/components/GridDataSourceGroupingCriteriaCell.js +0 -121
- package/modern/components/GridExcelExportMenuItem.d.ts +0 -9
- package/modern/components/GridExcelExportMenuItem.js +0 -48
- package/modern/components/GridFooterCell.d.ts +0 -9
- package/modern/components/GridFooterCell.js +0 -43
- package/modern/components/GridGroupingColumnFooterCell.d.ts +0 -4
- package/modern/components/GridGroupingColumnFooterCell.js +0 -23
- package/modern/components/GridGroupingColumnLeafCell.d.ts +0 -4
- package/modern/components/GridGroupingColumnLeafCell.js +0 -17
- package/modern/components/GridGroupingCriteriaCell.d.ts +0 -7
- package/modern/components/GridGroupingCriteriaCell.js +0 -87
- package/modern/components/GridPremiumColumnMenu.d.ts +0 -33
- package/modern/components/GridPremiumColumnMenu.js +0 -37
- package/modern/components/GridPremiumToolbar.d.ts +0 -3
- package/modern/components/GridPremiumToolbar.js +0 -23
- package/modern/components/export/ExportExcel.d.ts +0 -29
- package/modern/components/export/index.d.ts +0 -1
- package/modern/components/export/index.js +0 -1
- package/modern/components/index.d.ts +0 -6
- package/modern/components/index.js +0 -6
- package/modern/components/promptControl/GridToolbarPromptControl.d.ts +0 -26
- package/modern/components/promptControl/GridToolbarPromptControl.js +0 -215
- package/modern/components/promptControl/RecordButton.d.ts +0 -16
- package/modern/components/promptControl/RecordButton.js +0 -111
- package/modern/components/promptControl/index.d.ts +0 -1
- package/modern/components/promptControl/index.js +0 -1
- package/modern/components/reexports.d.ts +0 -1
- package/modern/components/reexports.js +0 -1
- package/modern/constants/dataGridPremiumDefaultSlotsComponents.d.ts +0 -2
- package/modern/constants/dataGridPremiumDefaultSlotsComponents.js +0 -11
- package/modern/hooks/features/aggregation/createAggregationLookup.d.ts +0 -17
- package/modern/hooks/features/aggregation/createAggregationLookup.js +0 -111
- package/modern/hooks/features/aggregation/gridAggregationFunctions.d.ts +0 -8
- package/modern/hooks/features/aggregation/gridAggregationFunctions.js +0 -93
- package/modern/hooks/features/aggregation/gridAggregationInterfaces.d.ts +0 -129
- package/modern/hooks/features/aggregation/gridAggregationSelectors.d.ts +0 -13
- package/modern/hooks/features/aggregation/gridAggregationSelectors.js +0 -15
- package/modern/hooks/features/aggregation/gridAggregationUtils.d.ts +0 -62
- package/modern/hooks/features/aggregation/gridAggregationUtils.js +0 -180
- package/modern/hooks/features/aggregation/index.d.ts +0 -4
- package/modern/hooks/features/aggregation/index.js +0 -3
- package/modern/hooks/features/aggregation/useGridAggregation.d.ts +0 -6
- package/modern/hooks/features/aggregation/useGridAggregation.js +0 -103
- package/modern/hooks/features/aggregation/useGridAggregationPreProcessors.d.ts +0 -4
- package/modern/hooks/features/aggregation/useGridAggregationPreProcessors.js +0 -96
- package/modern/hooks/features/aggregation/wrapColumnWithAggregation.d.ts +0 -81
- package/modern/hooks/features/aggregation/wrapColumnWithAggregation.js +0 -215
- package/modern/hooks/features/cellSelection/gridCellSelectionInterfaces.d.ts +0 -40
- package/modern/hooks/features/cellSelection/gridCellSelectionInterfaces.js +0 -1
- package/modern/hooks/features/cellSelection/gridCellSelectionSelector.d.ts +0 -2
- package/modern/hooks/features/cellSelection/gridCellSelectionSelector.js +0 -2
- package/modern/hooks/features/cellSelection/index.d.ts +0 -1
- package/modern/hooks/features/cellSelection/index.js +0 -1
- package/modern/hooks/features/cellSelection/useGridCellSelection.d.ts +0 -6
- package/modern/hooks/features/cellSelection/useGridCellSelection.js +0 -486
- package/modern/hooks/features/clipboard/useGridClipboardImport.d.ts +0 -4
- package/modern/hooks/features/clipboard/useGridClipboardImport.js +0 -335
- package/modern/hooks/features/dataSource/models.d.ts +0 -54
- package/modern/hooks/features/dataSource/models.js +0 -1
- package/modern/hooks/features/dataSource/useGridDataSourcePremium.d.ts +0 -4
- package/modern/hooks/features/dataSource/useGridDataSourcePremium.js +0 -59
- package/modern/hooks/features/export/gridExcelExportInterface.d.ts +0 -71
- package/modern/hooks/features/export/gridExcelExportInterface.js +0 -1
- package/modern/hooks/features/export/index.d.ts +0 -2
- package/modern/hooks/features/export/index.js +0 -2
- package/modern/hooks/features/export/serializer/excelSerializer.d.ts +0 -40
- package/modern/hooks/features/export/serializer/excelSerializer.js +0 -269
- package/modern/hooks/features/export/serializer/setupExcelExportWebWorker.d.ts +0 -2
- package/modern/hooks/features/export/serializer/setupExcelExportWebWorker.js +0 -53
- package/modern/hooks/features/export/serializer/utils.d.ts +0 -36
- package/modern/hooks/features/export/serializer/utils.js +0 -93
- package/modern/hooks/features/export/useGridExcelExport.d.ts +0 -11
- package/modern/hooks/features/export/useGridExcelExport.js +0 -139
- package/modern/hooks/features/index.d.ts +0 -5
- package/modern/hooks/features/index.js +0 -6
- package/modern/hooks/features/promptControl/api.d.ts +0 -2
- package/modern/hooks/features/promptControl/api.js +0 -22
- package/modern/hooks/features/promptControl/index.d.ts +0 -2
- package/modern/hooks/features/promptControl/index.js +0 -1
- package/modern/hooks/features/promptControl/types.d.ts +0 -25
- package/modern/hooks/features/promptControl/types.js +0 -1
- package/modern/hooks/features/rowGrouping/createGroupingColDef.d.ts +0 -57
- package/modern/hooks/features/rowGrouping/createGroupingColDef.js +0 -272
- package/modern/hooks/features/rowGrouping/gridRowGroupingInterfaces.d.ts +0 -44
- package/modern/hooks/features/rowGrouping/gridRowGroupingInterfaces.js +0 -1
- package/modern/hooks/features/rowGrouping/gridRowGroupingSelector.d.ts +0 -3
- package/modern/hooks/features/rowGrouping/gridRowGroupingSelector.js +0 -5
- package/modern/hooks/features/rowGrouping/gridRowGroupingUtils.d.ts +0 -54
- package/modern/hooks/features/rowGrouping/gridRowGroupingUtils.js +0 -173
- package/modern/hooks/features/rowGrouping/index.d.ts +0 -3
- package/modern/hooks/features/rowGrouping/index.js +0 -3
- package/modern/hooks/features/rowGrouping/useGridDataSourceRowGroupingPreProcessors.d.ts +0 -4
- package/modern/hooks/features/rowGrouping/useGridDataSourceRowGroupingPreProcessors.js +0 -73
- package/modern/hooks/features/rowGrouping/useGridRowGrouping.d.ts +0 -11
- package/modern/hooks/features/rowGrouping/useGridRowGrouping.js +0 -182
- package/modern/hooks/features/rowGrouping/useGridRowGroupingPreProcessors.d.ts +0 -4
- package/modern/hooks/features/rowGrouping/useGridRowGroupingPreProcessors.js +0 -157
- package/modern/hooks/features/rows/index.d.ts +0 -1
- package/modern/hooks/features/rows/index.js +0 -1
- package/modern/hooks/features/rows/useGridRowAriaAttributes.d.ts +0 -1
- package/modern/hooks/features/rows/useGridRowAriaAttributes.js +0 -8
- package/modern/hooks/index.d.ts +0 -2
- package/modern/hooks/index.js +0 -3
- package/modern/hooks/utils/index.d.ts +0 -1
- package/modern/hooks/utils/index.js +0 -1
- package/modern/hooks/utils/useGridApiContext.d.ts +0 -4
- package/modern/hooks/utils/useGridApiContext.js +0 -2
- package/modern/hooks/utils/useGridApiRef.d.ts +0 -4
- package/modern/hooks/utils/useGridApiRef.js +0 -2
- package/modern/hooks/utils/useGridAriaAttributes.d.ts +0 -2
- package/modern/hooks/utils/useGridAriaAttributes.js +0 -13
- package/modern/hooks/utils/useGridPrivateApiContext.d.ts +0 -2
- package/modern/hooks/utils/useGridPrivateApiContext.js +0 -2
- package/modern/hooks/utils/useGridRootProps.d.ts +0 -2
- package/modern/hooks/utils/useGridRootProps.js +0 -2
- package/modern/hooks/utils/useKeepGroupedColumnsHidden.d.ts +0 -12
- package/modern/hooks/utils/useKeepGroupedColumnsHidden.js +0 -43
- package/modern/index.d.ts +0 -23
- package/modern/index.js +0 -26
- package/modern/locales.d.ts +0 -1
- package/modern/locales.js +0 -1
- package/modern/material/icons.d.ts +0 -15
- package/modern/material/icons.js +0 -20
- package/modern/material/index.d.ts +0 -8
- package/modern/material/index.js +0 -11
- package/modern/models/dataGridPremiumProps.d.ts +0 -162
- package/modern/models/dataGridPremiumProps.js +0 -1
- package/modern/models/gridApiPremium.d.ts +0 -14
- package/modern/models/gridApiPremium.js +0 -1
- package/modern/models/gridGroupingValueGetter.d.ts +0 -4
- package/modern/models/gridGroupingValueGetter.js +0 -1
- package/modern/models/gridPastedValueParser.d.ts +0 -4
- package/modern/models/gridPastedValueParser.js +0 -1
- package/modern/models/gridPremiumIconSlotsComponent.d.ts +0 -28
- package/modern/models/gridPremiumIconSlotsComponent.js +0 -1
- package/modern/models/gridPremiumSlotsComponent.d.ts +0 -7
- package/modern/models/gridPremiumSlotsComponent.js +0 -1
- package/modern/models/gridStatePremium.d.ts +0 -18
- package/modern/models/gridStatePremium.js +0 -1
- package/modern/models/index.d.ts +0 -4
- package/modern/models/index.js +0 -4
- package/modern/package.json +0 -1
- package/modern/setupExcelExportWebWorker.d.ts +0 -1
- package/modern/setupExcelExportWebWorker.js +0 -1
- package/modern/themeAugmentation/index.d.ts +0 -2
- package/modern/themeAugmentation/index.js +0 -4
- package/modern/themeAugmentation/overrides.d.ts +0 -7
- package/modern/themeAugmentation/overrides.js +0 -1
- package/modern/themeAugmentation/props.d.ts +0 -15
- package/modern/themeAugmentation/props.js +0 -1
- package/modern/typeOverloads/index.d.ts +0 -2
- package/modern/typeOverloads/index.js +0 -2
- package/modern/typeOverloads/modules.d.ts +0 -97
- package/modern/typeOverloads/modules.js +0 -1
- package/modern/typeOverloads/reexports.d.ts +0 -17
- package/modern/typeOverloads/reexports.js +0 -15
- package/modern/utils/releaseInfo.d.ts +0 -1
- package/modern/utils/releaseInfo.js +0 -13
- package/setupExcelExportWebWorker.d.ts +0 -1
- package/tsconfig.build.tsbuildinfo +0 -1
- package/utils/releaseInfo.d.ts +0 -1
- package/utils/releaseInfo.js +0 -20
- /package/esm/hooks/features/{promptControl/types.js → aiAssistant/gridAiAssistantInterfaces.js} +0 -0
- /package/esm/hooks/features/{promptControl → aiAssistant}/index.js +0 -0
- /package/{modern/hooks/features/aggregation/gridAggregationInterfaces.js → esm/hooks/features/pivoting/gridPivotingInterfaces.js} +0 -0
- /package/hooks/features/{promptControl/types.js → aiAssistant/gridAiAssistantInterfaces.js} +0 -0
- /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
|
-
};
|
package/modern/material/icons.js
DELETED
|
@@ -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;
|
package/modern/material/index.js
DELETED
|
@@ -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 {};
|
package/modern/models/index.d.ts
DELETED
package/modern/models/index.js
DELETED
package/modern/package.json
DELETED
|
@@ -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,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,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 = "MTc0MzYzMTIwMDAwMA==";
|
|
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";
|