@mui/x-data-grid 8.0.0 → 8.2.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 +230 -5
- package/DataGrid/DataGrid.d.ts +1 -1
- package/DataGrid/useDataGridProps.js +5 -4
- package/colDef/gridDefaultColumnTypes.d.ts +1 -1
- package/colDef/gridNumericOperators.d.ts +2 -2
- package/colDef/gridStringOperators.d.ts +1 -1
- package/components/GridDetailPanels.d.ts +1 -1
- package/components/GridPinnedRows.d.ts +1 -1
- package/components/GridRow.d.ts +1 -1
- package/components/GridRowCount.js +1 -2
- package/components/GridSelectedRowCount.js +1 -2
- package/components/GridSkeletonLoadingOverlay.js +1 -2
- package/components/base/GridOverlays.js +2 -4
- package/components/cell/GridActionsCellItem.d.ts +1 -1
- package/components/cell/GridBooleanCell.d.ts +2 -2
- package/components/cell/GridEditInputCell.js +3 -3
- package/components/cell/GridEditSingleSelectCell.d.ts +1 -1
- package/components/cell/index.d.ts +1 -1
- package/components/columnHeaders/GridBaseColumnHeaders.js +1 -2
- package/components/columnHeaders/GridColumnHeaderTitle.js +1 -2
- package/components/columnHeaders/GridIconButtonContainer.js +1 -2
- package/components/columnSelection/GridCellCheckboxRenderer.d.ts +1 -1
- package/components/columnSelection/GridHeaderCheckbox.d.ts +1 -1
- package/components/columnsManagement/GridColumnsManagement.d.ts +1 -1
- package/components/columnsManagement/utils.d.ts +1 -1
- package/components/columnsPanel/ColumnsPanelTrigger.d.ts +1 -1
- package/components/containers/GridFooterContainer.js +1 -2
- package/components/containers/GridRootStyles.js +14 -12
- package/components/export/ExportCsv.d.ts +1 -1
- package/components/export/ExportPrint.d.ts +1 -1
- package/components/filterPanel/FilterPanelTrigger.d.ts +1 -1
- package/components/panel/GridPanel.js +0 -1
- package/components/panel/GridPanelFooter.js +1 -2
- package/components/panel/GridPanelHeader.js +1 -2
- package/components/panel/filterPanel/GridFilterForm.js +6 -12
- package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.d.ts +1 -1
- package/components/panel/filterPanel/filterPanelUtils.d.ts +2 -2
- package/components/panel/filterPanel/index.d.ts +2 -2
- package/components/quickFilter/QuickFilter.d.ts +1 -1
- package/components/quickFilter/QuickFilterClear.d.ts +1 -1
- package/components/quickFilter/QuickFilterControl.d.ts +1 -1
- package/components/quickFilter/QuickFilterTrigger.d.ts +1 -1
- package/components/toolbar/GridToolbarColumnsButton.d.ts +1 -1
- package/components/toolbar/GridToolbarDensitySelector.d.ts +1 -1
- package/components/toolbar/GridToolbarExport.d.ts +1 -1
- package/components/toolbar/GridToolbarExportContainer.d.ts +1 -1
- package/components/toolbar/GridToolbarFilterButton.d.ts +1 -1
- package/components/toolbar/GridToolbarFilterButton.js +1 -2
- package/components/toolbar/index.d.ts +1 -1
- package/components/toolbarV8/ToolbarButton.d.ts +1 -1
- package/components/virtualization/GridVirtualScrollerRenderZone.js +1 -2
- package/constants/dataGridPropsDefaultValues.d.ts +1 -1
- package/esm/DataGrid/DataGrid.d.ts +1 -1
- package/esm/DataGrid/useDataGridProps.js +6 -5
- package/esm/colDef/gridDefaultColumnTypes.d.ts +1 -1
- package/esm/colDef/gridNumericOperators.d.ts +2 -2
- package/esm/colDef/gridStringOperators.d.ts +1 -1
- package/esm/components/GridDetailPanels.d.ts +1 -1
- package/esm/components/GridPinnedRows.d.ts +1 -1
- package/esm/components/GridRow.d.ts +1 -1
- package/esm/components/GridRowCount.js +1 -2
- package/esm/components/GridSelectedRowCount.js +1 -2
- package/esm/components/GridSkeletonLoadingOverlay.js +1 -2
- package/esm/components/base/GridOverlays.js +2 -4
- package/esm/components/cell/GridActionsCellItem.d.ts +1 -1
- package/esm/components/cell/GridBooleanCell.d.ts +2 -2
- package/esm/components/cell/GridEditInputCell.js +3 -3
- package/esm/components/cell/GridEditSingleSelectCell.d.ts +1 -1
- package/esm/components/cell/index.d.ts +1 -1
- package/esm/components/columnHeaders/GridBaseColumnHeaders.js +1 -2
- package/esm/components/columnHeaders/GridColumnHeaderTitle.js +1 -2
- package/esm/components/columnHeaders/GridIconButtonContainer.js +1 -2
- package/esm/components/columnSelection/GridCellCheckboxRenderer.d.ts +1 -1
- package/esm/components/columnSelection/GridHeaderCheckbox.d.ts +1 -1
- package/esm/components/columnsManagement/GridColumnsManagement.d.ts +1 -1
- package/esm/components/columnsManagement/utils.d.ts +1 -1
- package/esm/components/columnsPanel/ColumnsPanelTrigger.d.ts +1 -1
- package/esm/components/containers/GridFooterContainer.js +1 -2
- package/esm/components/containers/GridRootStyles.js +14 -12
- package/esm/components/export/ExportCsv.d.ts +1 -1
- package/esm/components/export/ExportPrint.d.ts +1 -1
- package/esm/components/filterPanel/FilterPanelTrigger.d.ts +1 -1
- package/esm/components/panel/GridPanel.js +0 -1
- package/esm/components/panel/GridPanelFooter.js +1 -2
- package/esm/components/panel/GridPanelHeader.js +1 -2
- package/esm/components/panel/filterPanel/GridFilterForm.js +6 -12
- package/esm/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.d.ts +1 -1
- package/esm/components/panel/filterPanel/filterPanelUtils.d.ts +2 -2
- package/esm/components/panel/filterPanel/index.d.ts +2 -2
- package/esm/components/quickFilter/QuickFilter.d.ts +1 -1
- package/esm/components/quickFilter/QuickFilterClear.d.ts +1 -1
- package/esm/components/quickFilter/QuickFilterControl.d.ts +1 -1
- package/esm/components/quickFilter/QuickFilterTrigger.d.ts +1 -1
- package/esm/components/toolbar/GridToolbarColumnsButton.d.ts +1 -1
- package/esm/components/toolbar/GridToolbarDensitySelector.d.ts +1 -1
- package/esm/components/toolbar/GridToolbarExport.d.ts +1 -1
- package/esm/components/toolbar/GridToolbarExportContainer.d.ts +1 -1
- package/esm/components/toolbar/GridToolbarFilterButton.d.ts +1 -1
- package/esm/components/toolbar/GridToolbarFilterButton.js +1 -2
- package/esm/components/toolbar/index.d.ts +1 -1
- package/esm/components/toolbarV8/ToolbarButton.d.ts +1 -1
- package/esm/components/virtualization/GridVirtualScrollerRenderZone.js +1 -2
- package/esm/constants/dataGridPropsDefaultValues.d.ts +1 -1
- package/esm/hooks/core/gridPropsSelectors.d.ts +2 -2
- package/esm/hooks/core/index.d.ts +1 -1
- package/esm/hooks/core/useGridApiInitialization.d.ts +1 -1
- package/esm/hooks/core/useGridInitialization.d.ts +1 -1
- package/esm/hooks/core/useGridProps.d.ts +3 -3
- package/esm/hooks/core/useGridRefs.d.ts +1 -1
- package/esm/hooks/core/useGridStateInitialization.d.ts +1 -1
- package/esm/hooks/features/clipboard/useGridClipboard.d.ts +1 -1
- package/esm/hooks/features/columnGrouping/gridColumnGroupsSelector.d.ts +2 -2
- package/esm/hooks/features/columnGrouping/index.d.ts +1 -1
- package/esm/hooks/features/columnHeaders/useGridColumnHeaders.d.ts +1 -1
- package/esm/hooks/features/columnHeaders/useGridColumnHeaders.js +1 -2
- package/esm/hooks/features/columnResize/gridColumnResizeApi.d.ts +1 -1
- package/esm/hooks/features/columnResize/useGridColumnResize.d.ts +2 -2
- package/esm/hooks/features/columns/gridColumnsInterfaces.d.ts +1 -1
- package/esm/hooks/features/columns/gridColumnsSelector.d.ts +9 -9
- package/esm/hooks/features/columns/gridColumnsUtils.d.ts +1 -1
- package/esm/hooks/features/dataSource/cache.d.ts +1 -1
- package/esm/hooks/features/dataSource/gridDataSourceError.d.ts +1 -1
- package/esm/hooks/features/dataSource/gridDataSourceSelector.d.ts +1 -1
- package/esm/hooks/features/dataSource/models.d.ts +3 -3
- package/esm/hooks/features/dataSource/useGridDataSource.d.ts +2 -2
- package/esm/hooks/features/dataSource/useGridDataSourceBase.d.ts +5 -5
- package/esm/hooks/features/dataSource/utils.d.ts +1 -1
- package/esm/hooks/features/dimensions/gridDimensionsApi.d.ts +1 -1
- package/esm/hooks/features/dimensions/index.d.ts +2 -2
- package/esm/hooks/features/export/serializers/csvSerializer.d.ts +4 -4
- package/esm/hooks/features/export/useGridCsvExport.d.ts +1 -1
- package/esm/hooks/features/export/useGridPrintExport.js +3 -34
- package/esm/hooks/features/filter/gridFilterSelector.d.ts +1 -1
- package/esm/hooks/features/filter/gridFilterUtils.d.ts +1 -1
- package/esm/hooks/features/filter/index.d.ts +2 -2
- package/esm/hooks/features/headerFiltering/gridHeaderFilteringSelectors.d.ts +4 -4
- package/esm/hooks/features/listView/gridListViewSelectors.d.ts +1 -1
- package/esm/hooks/features/listView/useGridListView.d.ts +1 -1
- package/esm/hooks/features/overlays/useGridOverlays.d.ts +1 -1
- package/esm/hooks/features/pagination/index.d.ts +1 -1
- package/esm/hooks/features/pivoting/gridPivotingInterfaces.d.ts +1 -1
- package/esm/hooks/features/pivoting/gridPivotingSelectors.d.ts +3 -3
- package/esm/hooks/features/rowSelection/gridRowSelectionSelector.d.ts +1 -1
- package/esm/hooks/features/rowSelection/useGridRowSelection.js +7 -6
- package/esm/hooks/features/rowSelection/utils.d.ts +4 -4
- package/esm/hooks/features/rows/gridRowSpanningSelectors.d.ts +3 -3
- package/esm/hooks/features/rows/gridRowSpanningUtils.d.ts +5 -5
- package/esm/hooks/features/rows/gridRowsInterfaces.d.ts +1 -1
- package/esm/hooks/features/rows/gridRowsSelector.d.ts +3 -3
- package/esm/hooks/features/rows/index.d.ts +1 -1
- package/esm/hooks/features/rows/useGridParamsApi.js +1 -1
- package/esm/hooks/features/rows/useGridRowSpanning.d.ts +5 -5
- package/esm/hooks/features/sorting/gridSortingSelector.d.ts +1 -1
- package/esm/hooks/features/sorting/index.d.ts +2 -2
- package/esm/hooks/features/statePersistence/index.d.ts +1 -1
- package/esm/hooks/features/virtualization/gridFocusedVirtualCellSelector.d.ts +1 -1
- package/esm/hooks/features/virtualization/gridVirtualizationSelectors.d.ts +1 -1
- package/esm/hooks/utils/index.d.ts +1 -1
- package/esm/hooks/utils/useGridEvent.d.ts +1 -1
- package/esm/hooks/utils/useGridRootProps.d.ts +1 -1
- package/esm/hooks/utils/useGridSelector.d.ts +2 -2
- package/esm/hooks/utils/useGridVisibleRows.d.ts +1 -1
- package/esm/index.d.ts +5 -5
- package/esm/index.js +1 -1
- package/esm/internals/index.d.ts +24 -24
- package/esm/locales/hrHR.d.ts +1 -1
- package/esm/locales/hyAM.d.ts +2 -0
- package/esm/locales/hyAM.js +296 -0
- package/esm/locales/index.d.ts +1 -0
- package/esm/locales/index.js +1 -0
- package/esm/locales/ptPT.d.ts +1 -1
- package/esm/locales/zhHK.d.ts +1 -1
- package/esm/material/index.d.ts +2 -2
- package/esm/material/index.js +6 -1
- package/esm/material/variables.js +2 -2
- package/esm/models/api/gridApiCommon.d.ts +32 -32
- package/esm/models/api/gridApiCommunity.d.ts +7 -7
- package/esm/models/api/gridCallbackDetails.d.ts +2 -2
- package/esm/models/api/gridColumnApi.d.ts +1 -1
- package/esm/models/api/gridCoreApi.d.ts +4 -4
- package/esm/models/api/gridFilterApi.d.ts +1 -1
- package/esm/models/api/gridLocaleTextApi.d.ts +1 -1
- package/esm/models/api/gridRowSelectionApi.d.ts +2 -2
- package/esm/models/api/index.d.ts +10 -10
- package/esm/models/colDef/gridColDef.d.ts +2 -2
- package/esm/models/colDef/index.d.ts +1 -1
- package/esm/models/configuration/gridConfiguration.d.ts +2 -2
- package/esm/models/controlStateItem.d.ts +4 -4
- package/esm/models/events/gridEventListener.d.ts +2 -2
- package/esm/models/events/gridEventLookup.d.ts +14 -8
- package/esm/models/events/gridEventPublisher.d.ts +1 -1
- package/esm/models/gridCell.d.ts +1 -1
- package/esm/models/gridColumnGrouping.d.ts +1 -1
- package/esm/models/gridDataSource.d.ts +1 -1
- package/esm/models/gridEditRowModel.d.ts +1 -1
- package/esm/models/gridExport.d.ts +2 -2
- package/esm/models/gridFilterInputComponent.d.ts +2 -2
- package/esm/models/gridFilterOperator.d.ts +4 -4
- package/esm/models/gridRowSelectionManager.d.ts +2 -2
- package/esm/models/gridRows.d.ts +1 -1
- package/esm/models/gridSlotsComponent.d.ts +3 -3
- package/esm/models/gridSlotsComponentsProps.d.ts +20 -20
- package/esm/models/gridStateCommunity.d.ts +9 -9
- package/esm/models/index.d.ts +5 -5
- package/esm/models/params/gridCellParams.d.ts +1 -1
- package/esm/models/params/gridColumnHeaderParams.d.ts +1 -1
- package/esm/models/params/gridColumnOrderChangeParams.d.ts +1 -1
- package/esm/models/params/gridColumnResizeParams.d.ts +1 -1
- package/esm/models/params/gridRowParams.d.ts +1 -1
- package/esm/models/props/DataGridProps.d.ts +5 -5
- package/esm/utils/composeGridClasses.d.ts +1 -1
- package/esm/utils/domUtils.d.ts +2 -2
- package/esm/utils/getGridLocalization.d.ts +1 -1
- package/esm/utils/getPublicApiRef.d.ts +1 -1
- package/esm/utils/index.d.ts +1 -1
- package/hooks/core/gridPropsSelectors.d.ts +2 -2
- package/hooks/core/index.d.ts +1 -1
- package/hooks/core/useGridApiInitialization.d.ts +1 -1
- package/hooks/core/useGridInitialization.d.ts +1 -1
- package/hooks/core/useGridProps.d.ts +3 -3
- package/hooks/core/useGridRefs.d.ts +1 -1
- package/hooks/core/useGridStateInitialization.d.ts +1 -1
- package/hooks/features/clipboard/useGridClipboard.d.ts +1 -1
- package/hooks/features/columnGrouping/gridColumnGroupsSelector.d.ts +2 -2
- package/hooks/features/columnGrouping/index.d.ts +1 -1
- package/hooks/features/columnHeaders/useGridColumnHeaders.d.ts +1 -1
- package/hooks/features/columnHeaders/useGridColumnHeaders.js +1 -2
- package/hooks/features/columnResize/gridColumnResizeApi.d.ts +1 -1
- package/hooks/features/columnResize/useGridColumnResize.d.ts +2 -2
- package/hooks/features/columns/gridColumnsInterfaces.d.ts +1 -1
- package/hooks/features/columns/gridColumnsSelector.d.ts +9 -9
- package/hooks/features/columns/gridColumnsUtils.d.ts +1 -1
- package/hooks/features/dataSource/cache.d.ts +1 -1
- package/hooks/features/dataSource/gridDataSourceError.d.ts +1 -1
- package/hooks/features/dataSource/gridDataSourceSelector.d.ts +1 -1
- package/hooks/features/dataSource/models.d.ts +3 -3
- package/hooks/features/dataSource/useGridDataSource.d.ts +2 -2
- package/hooks/features/dataSource/useGridDataSourceBase.d.ts +5 -5
- package/hooks/features/dataSource/utils.d.ts +1 -1
- package/hooks/features/dimensions/gridDimensionsApi.d.ts +1 -1
- package/hooks/features/dimensions/index.d.ts +2 -2
- package/hooks/features/export/serializers/csvSerializer.d.ts +4 -4
- package/hooks/features/export/useGridCsvExport.d.ts +1 -1
- package/hooks/features/export/useGridPrintExport.js +3 -34
- package/hooks/features/filter/gridFilterSelector.d.ts +1 -1
- package/hooks/features/filter/gridFilterUtils.d.ts +1 -1
- package/hooks/features/filter/index.d.ts +2 -2
- package/hooks/features/headerFiltering/gridHeaderFilteringSelectors.d.ts +4 -4
- package/hooks/features/listView/gridListViewSelectors.d.ts +1 -1
- package/hooks/features/listView/useGridListView.d.ts +1 -1
- package/hooks/features/overlays/useGridOverlays.d.ts +1 -1
- package/hooks/features/pagination/index.d.ts +1 -1
- package/hooks/features/pivoting/gridPivotingInterfaces.d.ts +1 -1
- package/hooks/features/pivoting/gridPivotingSelectors.d.ts +3 -3
- package/hooks/features/rowSelection/gridRowSelectionSelector.d.ts +1 -1
- package/hooks/features/rowSelection/useGridRowSelection.js +7 -6
- package/hooks/features/rowSelection/utils.d.ts +4 -4
- package/hooks/features/rows/gridRowSpanningSelectors.d.ts +3 -3
- package/hooks/features/rows/gridRowSpanningUtils.d.ts +5 -5
- package/hooks/features/rows/gridRowsInterfaces.d.ts +1 -1
- package/hooks/features/rows/gridRowsSelector.d.ts +3 -3
- package/hooks/features/rows/index.d.ts +1 -1
- package/hooks/features/rows/useGridParamsApi.js +1 -1
- package/hooks/features/rows/useGridRowSpanning.d.ts +5 -5
- package/hooks/features/sorting/gridSortingSelector.d.ts +1 -1
- package/hooks/features/sorting/index.d.ts +2 -2
- package/hooks/features/statePersistence/index.d.ts +1 -1
- package/hooks/features/virtualization/gridFocusedVirtualCellSelector.d.ts +1 -1
- package/hooks/features/virtualization/gridVirtualizationSelectors.d.ts +1 -1
- package/hooks/utils/index.d.ts +1 -1
- package/hooks/utils/useGridEvent.d.ts +1 -1
- package/hooks/utils/useGridRootProps.d.ts +1 -1
- package/hooks/utils/useGridSelector.d.ts +2 -2
- package/hooks/utils/useGridVisibleRows.d.ts +1 -1
- package/index.d.ts +5 -5
- package/index.js +1 -1
- package/internals/index.d.ts +24 -24
- package/locales/hrHR.d.ts +1 -1
- package/locales/hyAM.d.ts +2 -0
- package/locales/hyAM.js +302 -0
- package/locales/index.d.ts +1 -0
- package/locales/index.js +11 -0
- package/locales/ptPT.d.ts +1 -1
- package/locales/zhHK.d.ts +1 -1
- package/material/index.d.ts +2 -2
- package/material/index.js +6 -1
- package/material/variables.js +1 -1
- package/models/api/gridApiCommon.d.ts +32 -32
- package/models/api/gridApiCommunity.d.ts +7 -7
- package/models/api/gridCallbackDetails.d.ts +2 -2
- package/models/api/gridColumnApi.d.ts +1 -1
- package/models/api/gridCoreApi.d.ts +4 -4
- package/models/api/gridFilterApi.d.ts +1 -1
- package/models/api/gridLocaleTextApi.d.ts +1 -1
- package/models/api/gridRowSelectionApi.d.ts +2 -2
- package/models/api/index.d.ts +10 -10
- package/models/colDef/gridColDef.d.ts +2 -2
- package/models/colDef/index.d.ts +1 -1
- package/models/configuration/gridConfiguration.d.ts +2 -2
- package/models/controlStateItem.d.ts +4 -4
- package/models/events/gridEventListener.d.ts +2 -2
- package/models/events/gridEventLookup.d.ts +14 -8
- package/models/events/gridEventPublisher.d.ts +1 -1
- package/models/gridCell.d.ts +1 -1
- package/models/gridColumnGrouping.d.ts +1 -1
- package/models/gridDataSource.d.ts +1 -1
- package/models/gridEditRowModel.d.ts +1 -1
- package/models/gridExport.d.ts +2 -2
- package/models/gridFilterInputComponent.d.ts +2 -2
- package/models/gridFilterOperator.d.ts +4 -4
- package/models/gridRowSelectionManager.d.ts +2 -2
- package/models/gridRows.d.ts +1 -1
- package/models/gridSlotsComponent.d.ts +3 -3
- package/models/gridSlotsComponentsProps.d.ts +20 -20
- package/models/gridStateCommunity.d.ts +9 -9
- package/models/index.d.ts +5 -5
- package/models/params/gridCellParams.d.ts +1 -1
- package/models/params/gridColumnHeaderParams.d.ts +1 -1
- package/models/params/gridColumnOrderChangeParams.d.ts +1 -1
- package/models/params/gridColumnResizeParams.d.ts +1 -1
- package/models/params/gridRowParams.d.ts +1 -1
- package/models/props/DataGridProps.d.ts +5 -5
- package/package.json +2 -2
- package/utils/composeGridClasses.d.ts +1 -1
- package/utils/domUtils.d.ts +2 -2
- package/utils/getGridLocalization.d.ts +1 -1
- package/utils/getPublicApiRef.d.ts +1 -1
- package/utils/index.d.ts +1 -1
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
import { getGridLocalization } from "../utils/getGridLocalization.js";
|
|
2
|
+
const hyAMGrid = {
|
|
3
|
+
// Root
|
|
4
|
+
noRowsLabel: 'Տվյալներ չկան',
|
|
5
|
+
noResultsOverlayLabel: 'Արդյունքներ չեն գտնվել։',
|
|
6
|
+
// noColumnsOverlayLabel: 'No columns',
|
|
7
|
+
// noColumnsOverlayManageColumns: 'Manage columns',
|
|
8
|
+
// emptyPivotOverlayLabel: 'Add fields to rows, columns, and values to create a pivot table',
|
|
9
|
+
|
|
10
|
+
// Density selector toolbar button text
|
|
11
|
+
toolbarDensity: 'Խտություն',
|
|
12
|
+
toolbarDensityLabel: 'Խտություն',
|
|
13
|
+
toolbarDensityCompact: 'Կոմպակտ',
|
|
14
|
+
toolbarDensityStandard: 'Ստանդարտ',
|
|
15
|
+
toolbarDensityComfortable: 'Հարմարավետ',
|
|
16
|
+
// Columns selector toolbar button text
|
|
17
|
+
toolbarColumns: 'Սյունակներ',
|
|
18
|
+
toolbarColumnsLabel: 'Ընտրել սյունակներ',
|
|
19
|
+
// Filters toolbar button text
|
|
20
|
+
toolbarFilters: 'Զտիչներ',
|
|
21
|
+
toolbarFiltersLabel: 'Ցուցադրել զտիչները',
|
|
22
|
+
toolbarFiltersTooltipHide: 'Թաքցնել զտիչները',
|
|
23
|
+
toolbarFiltersTooltipShow: 'Ցուցադրել զտիչները',
|
|
24
|
+
toolbarFiltersTooltipActive: count => {
|
|
25
|
+
let pluralForm = 'ակտիվ զտիչ';
|
|
26
|
+
if (count === 1) {
|
|
27
|
+
pluralForm = 'ակտիվ զտիչ';
|
|
28
|
+
} else {
|
|
29
|
+
pluralForm = 'ակտիվ զտիչներ';
|
|
30
|
+
}
|
|
31
|
+
return `${count} ${pluralForm}`;
|
|
32
|
+
},
|
|
33
|
+
// Quick filter toolbar field
|
|
34
|
+
toolbarQuickFilterPlaceholder: 'Որոնել…',
|
|
35
|
+
toolbarQuickFilterLabel: 'Որոնել',
|
|
36
|
+
toolbarQuickFilterDeleteIconLabel: 'Մաքրել',
|
|
37
|
+
// Export selector toolbar button text
|
|
38
|
+
toolbarExport: 'Արտահանում',
|
|
39
|
+
toolbarExportLabel: 'Արտահանում',
|
|
40
|
+
toolbarExportCSV: 'Ներբեռնել CSV-ով',
|
|
41
|
+
toolbarExportPrint: 'Տպել',
|
|
42
|
+
toolbarExportExcel: 'Ներբեռնել Excel-ով',
|
|
43
|
+
// Toolbar pivot button
|
|
44
|
+
// toolbarPivot: 'Pivot',
|
|
45
|
+
|
|
46
|
+
// Toolbar AI Assistant button
|
|
47
|
+
// toolbarAssistant: 'AI Assistant',
|
|
48
|
+
|
|
49
|
+
// Columns management text
|
|
50
|
+
columnsManagementSearchTitle: 'Որոնել',
|
|
51
|
+
columnsManagementNoColumns: 'Սյունակներ չկան',
|
|
52
|
+
columnsManagementShowHideAllText: 'Ցուցադրել/Թաքցնել բոլորը',
|
|
53
|
+
columnsManagementReset: 'Վերակայել',
|
|
54
|
+
columnsManagementDeleteIconLabel: 'Հեռացնել',
|
|
55
|
+
// Filter panel text
|
|
56
|
+
filterPanelAddFilter: 'Ավելացնել զտիչ',
|
|
57
|
+
filterPanelRemoveAll: 'Հեռացնել բոլորը',
|
|
58
|
+
filterPanelDeleteIconLabel: 'Հեռացնել',
|
|
59
|
+
filterPanelLogicOperator: 'Տրամաբանական օպերատոր',
|
|
60
|
+
filterPanelOperator: 'Օպերատոր',
|
|
61
|
+
filterPanelOperatorAnd: 'Եվ',
|
|
62
|
+
filterPanelOperatorOr: 'Կամ',
|
|
63
|
+
filterPanelColumns: 'Սյունակներ',
|
|
64
|
+
filterPanelInputLabel: 'Արժեք',
|
|
65
|
+
filterPanelInputPlaceholder: 'Զտիչի արժեք',
|
|
66
|
+
// Filter operators text
|
|
67
|
+
filterOperatorContains: 'պարունակում է',
|
|
68
|
+
filterOperatorDoesNotContain: 'չի պարունակում',
|
|
69
|
+
filterOperatorEquals: 'հավասար է',
|
|
70
|
+
filterOperatorDoesNotEqual: 'հավասար չէ',
|
|
71
|
+
filterOperatorStartsWith: 'սկսվում է',
|
|
72
|
+
filterOperatorEndsWith: 'վերջանում է',
|
|
73
|
+
filterOperatorIs: 'է',
|
|
74
|
+
filterOperatorNot: 'չէ',
|
|
75
|
+
filterOperatorAfter: 'հետո է',
|
|
76
|
+
filterOperatorOnOrAfter: 'այդ օրը կամ հետո է',
|
|
77
|
+
filterOperatorBefore: 'մինչ է',
|
|
78
|
+
filterOperatorOnOrBefore: 'այդ օրը կամ առաջ է',
|
|
79
|
+
filterOperatorIsEmpty: 'դատարկ է',
|
|
80
|
+
filterOperatorIsNotEmpty: 'դատարկ չէ',
|
|
81
|
+
filterOperatorIsAnyOf: 'որևէ մեկը',
|
|
82
|
+
'filterOperator=': '=',
|
|
83
|
+
'filterOperator!=': '!=',
|
|
84
|
+
'filterOperator>': '>',
|
|
85
|
+
'filterOperator>=': '>=',
|
|
86
|
+
'filterOperator<': '<',
|
|
87
|
+
'filterOperator<=': '<=',
|
|
88
|
+
// Header filter operators text
|
|
89
|
+
headerFilterOperatorContains: 'Պարունակում է',
|
|
90
|
+
headerFilterOperatorDoesNotContain: 'Չի պարունակում',
|
|
91
|
+
headerFilterOperatorEquals: 'Հավասար է',
|
|
92
|
+
headerFilterOperatorDoesNotEqual: 'Հավասար չէ',
|
|
93
|
+
headerFilterOperatorStartsWith: 'Սկսվում է',
|
|
94
|
+
headerFilterOperatorEndsWith: 'Վերջանում է',
|
|
95
|
+
headerFilterOperatorIs: 'Է',
|
|
96
|
+
headerFilterOperatorNot: 'Չէ',
|
|
97
|
+
headerFilterOperatorAfter: 'Հետո է',
|
|
98
|
+
headerFilterOperatorOnOrAfter: 'Այդ օրը կամ հետո է',
|
|
99
|
+
headerFilterOperatorBefore: 'Մինչ է',
|
|
100
|
+
headerFilterOperatorOnOrBefore: 'Այդ օրը կամ առաջ է',
|
|
101
|
+
headerFilterOperatorIsEmpty: 'Դատարկ է',
|
|
102
|
+
headerFilterOperatorIsNotEmpty: 'Դատարկ չէ',
|
|
103
|
+
headerFilterOperatorIsAnyOf: 'Որևէ մեկը',
|
|
104
|
+
'headerFilterOperator=': 'Հավասար է',
|
|
105
|
+
'headerFilterOperator!=': 'Հավասար չէ',
|
|
106
|
+
'headerFilterOperator>': 'Ավելի մեծ է',
|
|
107
|
+
'headerFilterOperator>=': 'Ավելի մեծ կամ հավասար է',
|
|
108
|
+
'headerFilterOperator<': 'Ավելի փոքր է',
|
|
109
|
+
'headerFilterOperator<=': 'Ավելի փոքր կամ հավասար է',
|
|
110
|
+
// headerFilterClear: 'Clear filter',
|
|
111
|
+
|
|
112
|
+
// Filter values text
|
|
113
|
+
filterValueAny: 'ցանկացած',
|
|
114
|
+
filterValueTrue: 'այո',
|
|
115
|
+
filterValueFalse: 'ոչ',
|
|
116
|
+
// Column menu text
|
|
117
|
+
columnMenuLabel: 'Մենյու',
|
|
118
|
+
columnMenuAriaLabel: columnName => `${columnName} սյունակի մենյու`,
|
|
119
|
+
columnMenuShowColumns: 'Ցուցադրել սյունակները',
|
|
120
|
+
columnMenuManageColumns: 'Կառավարել սյունակները',
|
|
121
|
+
columnMenuFilter: 'Զտիչ',
|
|
122
|
+
columnMenuHideColumn: 'Թաքցնել',
|
|
123
|
+
columnMenuUnsort: 'Մաքրել դասավորումը',
|
|
124
|
+
columnMenuSortAsc: 'Աճման կարգով դասավորել',
|
|
125
|
+
columnMenuSortDesc: 'Նվազման կարգով դասավորել',
|
|
126
|
+
// columnMenuManagePivot: 'Manage pivot',
|
|
127
|
+
|
|
128
|
+
// Column header text
|
|
129
|
+
columnHeaderFiltersTooltipActive: count => {
|
|
130
|
+
let pluralForm = 'ակտիվ զտիչներ';
|
|
131
|
+
if (count === 1) {
|
|
132
|
+
pluralForm = 'ակտիվ զտիչ';
|
|
133
|
+
}
|
|
134
|
+
return `${count} ${pluralForm}`;
|
|
135
|
+
},
|
|
136
|
+
columnHeaderFiltersLabel: 'Ցուցադրել զտիչները',
|
|
137
|
+
columnHeaderSortIconLabel: 'Դասավորել',
|
|
138
|
+
// Rows selected footer text
|
|
139
|
+
footerRowSelected: count => {
|
|
140
|
+
let pluralForm = 'ընտրված տող';
|
|
141
|
+
if (count === 1) {
|
|
142
|
+
pluralForm = 'ընտրված տող';
|
|
143
|
+
} else {
|
|
144
|
+
pluralForm = 'ընտրված տողեր';
|
|
145
|
+
}
|
|
146
|
+
return `${count} ${pluralForm}`;
|
|
147
|
+
},
|
|
148
|
+
// Total row amount footer text
|
|
149
|
+
footerTotalRows: 'Ընդամենը տողեր:',
|
|
150
|
+
// Total visible row amount footer text
|
|
151
|
+
footerTotalVisibleRows: (visibleCount, totalCount) => {
|
|
152
|
+
return `${visibleCount.toLocaleString()} / ${totalCount.toLocaleString()}`;
|
|
153
|
+
},
|
|
154
|
+
// Checkbox selection text
|
|
155
|
+
checkboxSelectionHeaderName: 'Տողի ընտրություն',
|
|
156
|
+
checkboxSelectionSelectAllRows: 'Ընտրել բոլոր տողերը',
|
|
157
|
+
checkboxSelectionUnselectAllRows: 'Չընտրել բոլոր տողերը',
|
|
158
|
+
checkboxSelectionSelectRow: 'Ընտրել տողը',
|
|
159
|
+
checkboxSelectionUnselectRow: 'Չընտրել տողը',
|
|
160
|
+
// Boolean cell text
|
|
161
|
+
booleanCellTrueLabel: 'այո',
|
|
162
|
+
booleanCellFalseLabel: 'ոչ',
|
|
163
|
+
// Actions cell more text
|
|
164
|
+
actionsCellMore: 'ավելին',
|
|
165
|
+
// Column pinning text
|
|
166
|
+
pinToLeft: 'Կցել ձախ',
|
|
167
|
+
pinToRight: 'Կցել աջ',
|
|
168
|
+
unpin: 'Անջատել',
|
|
169
|
+
// Tree Data
|
|
170
|
+
treeDataGroupingHeaderName: 'Խումբ',
|
|
171
|
+
treeDataExpand: 'Բացել ենթատողերը',
|
|
172
|
+
treeDataCollapse: 'Փակել ենթատողերը',
|
|
173
|
+
// Grouping columns
|
|
174
|
+
groupingColumnHeaderName: 'Խմբավորում',
|
|
175
|
+
groupColumn: name => `Խմբավորել ըստ ${name}`,
|
|
176
|
+
unGroupColumn: name => `Չխմբավորել ըստ ${name}`,
|
|
177
|
+
// Master/detail
|
|
178
|
+
detailPanelToggle: 'Փոխարկել մանրամասն տեսքը',
|
|
179
|
+
expandDetailPanel: 'Բացել',
|
|
180
|
+
collapseDetailPanel: 'Փակել',
|
|
181
|
+
// Pagination
|
|
182
|
+
// paginationRowsPerPage: 'Rows per page:',
|
|
183
|
+
// paginationDisplayedRows: ({
|
|
184
|
+
// from,
|
|
185
|
+
// to,
|
|
186
|
+
// count,
|
|
187
|
+
// estimated
|
|
188
|
+
// }) => {
|
|
189
|
+
// if (!estimated) {
|
|
190
|
+
// return `${from}–${to} of ${count !== -1 ? count : `more than ${to}`}`;
|
|
191
|
+
// }
|
|
192
|
+
// const estimatedLabel = estimated && estimated > to ? `around ${estimated}` : `more than ${to}`;
|
|
193
|
+
// return `${from}–${to} of ${count !== -1 ? count : estimatedLabel}`;
|
|
194
|
+
// },
|
|
195
|
+
// paginationItemAriaLabel: type => {
|
|
196
|
+
// if (type === 'first') {
|
|
197
|
+
// return 'Go to first page';
|
|
198
|
+
// }
|
|
199
|
+
// if (type === 'last') {
|
|
200
|
+
// return 'Go to last page';
|
|
201
|
+
// }
|
|
202
|
+
// if (type === 'next') {
|
|
203
|
+
// return 'Go to next page';
|
|
204
|
+
// }
|
|
205
|
+
// // if (type === 'previous') {
|
|
206
|
+
// return 'Go to previous page';
|
|
207
|
+
// },
|
|
208
|
+
|
|
209
|
+
// Row reordering text
|
|
210
|
+
rowReorderingHeaderName: 'Տողերի վերադասավորում',
|
|
211
|
+
// Aggregation
|
|
212
|
+
aggregationMenuItemHeader: 'Ագրեգացում',
|
|
213
|
+
aggregationFunctionLabelSum: 'գումար',
|
|
214
|
+
aggregationFunctionLabelAvg: 'միջին',
|
|
215
|
+
aggregationFunctionLabelMin: 'մինիմում',
|
|
216
|
+
aggregationFunctionLabelMax: 'մաքսիմում',
|
|
217
|
+
aggregationFunctionLabelSize: 'քանակ'
|
|
218
|
+
|
|
219
|
+
// Pivot panel
|
|
220
|
+
// pivotToggleLabel: 'Pivot',
|
|
221
|
+
// pivotRows: 'Rows',
|
|
222
|
+
// pivotColumns: 'Columns',
|
|
223
|
+
// pivotValues: 'Values',
|
|
224
|
+
// pivotCloseButton: 'Close pivot settings',
|
|
225
|
+
// pivotSearchButton: 'Search fields',
|
|
226
|
+
// pivotSearchControlPlaceholder: 'Search fields',
|
|
227
|
+
// pivotSearchControlLabel: 'Search fields',
|
|
228
|
+
// pivotSearchControlClear: 'Clear search',
|
|
229
|
+
// pivotNoFields: 'No fields',
|
|
230
|
+
// pivotMenuMoveUp: 'Move up',
|
|
231
|
+
// pivotMenuMoveDown: 'Move down',
|
|
232
|
+
// pivotMenuMoveToTop: 'Move to top',
|
|
233
|
+
// pivotMenuMoveToBottom: 'Move to bottom',
|
|
234
|
+
// pivotMenuRows: 'Rows',
|
|
235
|
+
// pivotMenuColumns: 'Columns',
|
|
236
|
+
// pivotMenuValues: 'Values',
|
|
237
|
+
// pivotMenuOptions: 'Field options',
|
|
238
|
+
// pivotMenuAddToRows: 'Add to Rows',
|
|
239
|
+
// pivotMenuAddToColumns: 'Add to Columns',
|
|
240
|
+
// pivotMenuAddToValues: 'Add to Values',
|
|
241
|
+
// pivotMenuRemove: 'Remove',
|
|
242
|
+
// pivotDragToRows: 'Drag here to create rows',
|
|
243
|
+
// pivotDragToColumns: 'Drag here to create columns',
|
|
244
|
+
// pivotDragToValues: 'Drag here to create values',
|
|
245
|
+
// pivotYearColumnHeaderName: '(Year)',
|
|
246
|
+
// pivotQuarterColumnHeaderName: '(Quarter)',
|
|
247
|
+
|
|
248
|
+
// AI Assistant panel
|
|
249
|
+
// aiAssistantPanelTitle: 'AI Assistant',
|
|
250
|
+
// aiAssistantPanelClose: 'Close AI Assistant',
|
|
251
|
+
// aiAssistantPanelNewConversation: 'New conversation',
|
|
252
|
+
// aiAssistantPanelConversationHistory: 'Conversation history',
|
|
253
|
+
// aiAssistantPanelEmptyConversation: 'No prompt history',
|
|
254
|
+
// aiAssistantSuggestions: 'Suggestions',
|
|
255
|
+
|
|
256
|
+
// Prompt field
|
|
257
|
+
// promptFieldLabel: 'Prompt',
|
|
258
|
+
// promptFieldPlaceholder: 'Type a prompt…',
|
|
259
|
+
// promptFieldPlaceholderWithRecording: 'Type or record a prompt…',
|
|
260
|
+
// promptFieldPlaceholderListening: 'Listening for prompt…',
|
|
261
|
+
// promptFieldSpeechRecognitionNotSupported: 'Speech recognition is not supported in this browser',
|
|
262
|
+
// promptFieldSend: 'Send',
|
|
263
|
+
// promptFieldRecord: 'Record',
|
|
264
|
+
// promptFieldStopRecording: 'Stop recording',
|
|
265
|
+
|
|
266
|
+
// Prompt
|
|
267
|
+
// promptRerun: 'Run again',
|
|
268
|
+
// promptProcessing: 'Processing…',
|
|
269
|
+
// promptAppliedChanges: 'Applied changes',
|
|
270
|
+
|
|
271
|
+
// Prompt changes
|
|
272
|
+
// promptChangeGroupDescription: (column: string) => `Group by ${column}`,
|
|
273
|
+
// promptChangeAggregationLabel: (column: string, aggregation: string) => `${column} (${aggregation})`,
|
|
274
|
+
// promptChangeAggregationDescription: (column: string, aggregation: string) => `Aggregate ${column} (${aggregation})`,
|
|
275
|
+
// promptChangeFilterLabel: (column: string, operator: string, value: string) => {
|
|
276
|
+
// if (operator === 'is any of') {
|
|
277
|
+
// return `${column} is any of: ${value}`;
|
|
278
|
+
// }
|
|
279
|
+
// return `${column} ${operator} ${value}`;
|
|
280
|
+
// },
|
|
281
|
+
// promptChangeFilterDescription: (column: string, operator: string, value: string) => {
|
|
282
|
+
// if (operator === 'is any of') {
|
|
283
|
+
// return `Filter where ${column} is any of: ${value}`;
|
|
284
|
+
// }
|
|
285
|
+
// return `Filter where ${column} ${operator} ${value}`;
|
|
286
|
+
// },
|
|
287
|
+
// promptChangeSortDescription: (column: string, direction: string) => `Sort by ${column} (${direction})`,
|
|
288
|
+
// promptChangePivotEnableLabel: 'Pivot',
|
|
289
|
+
// promptChangePivotEnableDescription: 'Enable pivot',
|
|
290
|
+
// promptChangePivotColumnsLabel: (count: number) => `Columns (${count})`,
|
|
291
|
+
// promptChangePivotColumnsDescription: (column: string, direction: string) => `${column}${direction ? ` (${direction})` : ''}`,
|
|
292
|
+
// promptChangePivotRowsLabel: (count: number) => `Rows (${count})`,
|
|
293
|
+
// promptChangePivotValuesLabel: (count: number) => `Values (${count})`,
|
|
294
|
+
// promptChangePivotValuesDescription: (column: string, aggregation: string) => `${column} (${aggregation})`,
|
|
295
|
+
};
|
|
296
|
+
export const hyAM = getGridLocalization(hyAMGrid);
|
package/esm/locales/index.d.ts
CHANGED
package/esm/locales/index.js
CHANGED
package/esm/locales/ptPT.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const ptPT: import("../internals").Localization;
|
|
1
|
+
export declare const ptPT: import("../internals/index.js").Localization;
|
package/esm/locales/zhHK.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const zhHK: import("../internals").Localization;
|
|
1
|
+
export declare const zhHK: import("../internals/index.js").Localization;
|
package/esm/material/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { GridIconSlotsComponent } from
|
|
2
|
-
import type { GridBaseSlots } from
|
|
1
|
+
import type { GridIconSlotsComponent } from "../models/index.js";
|
|
2
|
+
import type { GridBaseSlots } from "../models/gridSlotsComponent.js";
|
|
3
3
|
import "./augmentation.js";
|
|
4
4
|
export { useMaterialCSSVariables } from "./variables.js";
|
|
5
5
|
declare const materialSlots: GridBaseSlots & GridIconSlotsComponent;
|
package/esm/material/index.js
CHANGED
|
@@ -539,7 +539,12 @@ function BasePopper(props) {
|
|
|
539
539
|
} = props,
|
|
540
540
|
rest = _objectWithoutPropertiesLoose(props, _excluded21);
|
|
541
541
|
const modifiers = React.useMemo(() => {
|
|
542
|
-
const result = [
|
|
542
|
+
const result = [{
|
|
543
|
+
name: 'preventOverflow',
|
|
544
|
+
options: {
|
|
545
|
+
padding: 8
|
|
546
|
+
}
|
|
547
|
+
}];
|
|
543
548
|
if (flip) {
|
|
544
549
|
result.push({
|
|
545
550
|
name: 'flip',
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { alpha, darken, lighten } from '@mui/material/styles';
|
|
3
3
|
import { useTheme } from '@mui/material/styles';
|
|
4
|
-
import { hash } from '@mui/x-internals/hash';
|
|
4
|
+
import { hash, stringify } from '@mui/x-internals/hash';
|
|
5
5
|
import { vars } from "../constants/cssVariables.js";
|
|
6
6
|
export function useMaterialCSSVariables() {
|
|
7
7
|
const theme = useTheme();
|
|
8
8
|
return React.useMemo(() => {
|
|
9
|
-
const id = hash(
|
|
9
|
+
const id = hash(stringify(theme));
|
|
10
10
|
const variables = transformTheme(theme);
|
|
11
11
|
return {
|
|
12
12
|
id,
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import type { GridColumnApi } from
|
|
2
|
-
import type { GridColumnMenuApi } from
|
|
3
|
-
import type { GridCoreApi, GridCorePrivateApi } from
|
|
4
|
-
import type { GridCsvExportApi } from
|
|
5
|
-
import type { GridDensityApi } from
|
|
6
|
-
import type { GridEditingApi, GridEditingPrivateApi } from
|
|
7
|
-
import type { GridFilterApi } from
|
|
8
|
-
import type { GridFocusApi, GridFocusPrivateApi } from
|
|
9
|
-
import type { GridLocaleTextApi } from
|
|
10
|
-
import type { GridParamsApi, GridParamsPrivateApi } from
|
|
11
|
-
import type { GridPreferencesPanelApi } from
|
|
12
|
-
import type { GridPrintExportApi } from
|
|
13
|
-
import type { GridRowApi, GridRowProPrivateApi } from
|
|
14
|
-
import type { GridRowsMetaApi, GridRowsMetaPrivateApi } from
|
|
15
|
-
import type { GridRowSelectionApi } from
|
|
16
|
-
import type { GridSortApi } from
|
|
17
|
-
import type { GridStateApi, GridStatePrivateApi } from
|
|
18
|
-
import type { GridLoggerApi } from
|
|
19
|
-
import type { GridScrollApi } from
|
|
20
|
-
import type { GridVirtualizationApi, GridVirtualizationPrivateApi } from
|
|
21
|
-
import type { GridPipeProcessingApi, GridPipeProcessingPrivateApi } from
|
|
22
|
-
import type { GridColumnSpanningApi, GridColumnSpanningPrivateApi } from
|
|
23
|
-
import type { GridStrategyProcessingApi } from
|
|
24
|
-
import type { GridDimensionsApi, GridDimensionsPrivateApi } from
|
|
25
|
-
import type { GridPaginationApi } from
|
|
26
|
-
import type { GridStatePersistenceApi } from
|
|
27
|
-
import type { GridColumnGroupingApi } from
|
|
28
|
-
import type { GridInitialStateCommunity, GridStateCommunity } from
|
|
29
|
-
import type { GridHeaderFilteringApi, GridHeaderFilteringPrivateApi } from
|
|
30
|
-
import type { DataGridProcessedProps } from
|
|
31
|
-
import type { GridColumnResizeApi } from
|
|
32
|
-
import type { GridPivotingPrivateApiCommunity } from
|
|
1
|
+
import type { GridColumnApi } from "./gridColumnApi.js";
|
|
2
|
+
import type { GridColumnMenuApi } from "./gridColumnMenuApi.js";
|
|
3
|
+
import type { GridCoreApi, GridCorePrivateApi } from "./gridCoreApi.js";
|
|
4
|
+
import type { GridCsvExportApi } from "./gridCsvExportApi.js";
|
|
5
|
+
import type { GridDensityApi } from "./gridDensityApi.js";
|
|
6
|
+
import type { GridEditingApi, GridEditingPrivateApi } from "./gridEditingApi.js";
|
|
7
|
+
import type { GridFilterApi } from "./gridFilterApi.js";
|
|
8
|
+
import type { GridFocusApi, GridFocusPrivateApi } from "./gridFocusApi.js";
|
|
9
|
+
import type { GridLocaleTextApi } from "./gridLocaleTextApi.js";
|
|
10
|
+
import type { GridParamsApi, GridParamsPrivateApi } from "./gridParamsApi.js";
|
|
11
|
+
import type { GridPreferencesPanelApi } from "./gridPreferencesPanelApi.js";
|
|
12
|
+
import type { GridPrintExportApi } from "./gridPrintExportApi.js";
|
|
13
|
+
import type { GridRowApi, GridRowProPrivateApi } from "./gridRowApi.js";
|
|
14
|
+
import type { GridRowsMetaApi, GridRowsMetaPrivateApi } from "./gridRowsMetaApi.js";
|
|
15
|
+
import type { GridRowSelectionApi } from "./gridRowSelectionApi.js";
|
|
16
|
+
import type { GridSortApi } from "./gridSortApi.js";
|
|
17
|
+
import type { GridStateApi, GridStatePrivateApi } from "./gridStateApi.js";
|
|
18
|
+
import type { GridLoggerApi } from "./gridLoggerApi.js";
|
|
19
|
+
import type { GridScrollApi } from "./gridScrollApi.js";
|
|
20
|
+
import type { GridVirtualizationApi, GridVirtualizationPrivateApi } from "./gridVirtualizationApi.js";
|
|
21
|
+
import type { GridPipeProcessingApi, GridPipeProcessingPrivateApi } from "../../hooks/core/pipeProcessing/index.js";
|
|
22
|
+
import type { GridColumnSpanningApi, GridColumnSpanningPrivateApi } from "./gridColumnSpanning.js";
|
|
23
|
+
import type { GridStrategyProcessingApi } from "../../hooks/core/strategyProcessing/index.js";
|
|
24
|
+
import type { GridDimensionsApi, GridDimensionsPrivateApi } from "../../hooks/features/dimensions/gridDimensionsApi.js";
|
|
25
|
+
import type { GridPaginationApi } from "../../hooks/features/pagination/index.js";
|
|
26
|
+
import type { GridStatePersistenceApi } from "../../hooks/features/statePersistence/index.js";
|
|
27
|
+
import type { GridColumnGroupingApi } from "./gridColumnGroupingApi.js";
|
|
28
|
+
import type { GridInitialStateCommunity, GridStateCommunity } from "../gridStateCommunity.js";
|
|
29
|
+
import type { GridHeaderFilteringApi, GridHeaderFilteringPrivateApi } from "./gridHeaderFilteringApi.js";
|
|
30
|
+
import type { DataGridProcessedProps } from "../props/DataGridProps.js";
|
|
31
|
+
import type { GridColumnResizeApi } from "../../hooks/features/columnResize/index.js";
|
|
32
|
+
import type { GridPivotingPrivateApiCommunity } from "../../hooks/features/pivoting/gridPivotingInterfaces.js";
|
|
33
33
|
export interface GridApiCommon<GridState extends GridStateCommunity = any, GridInitialState extends GridInitialStateCommunity = any> extends GridCoreApi, GridPipeProcessingApi, GridDensityApi, GridDimensionsApi, GridRowApi, GridRowsMetaApi, GridEditingApi, GridParamsApi, GridColumnApi, GridRowSelectionApi, GridSortApi, GridPaginationApi, GridCsvExportApi, GridFocusApi, GridFilterApi, GridColumnMenuApi, GridPreferencesPanelApi, GridPrintExportApi, GridVirtualizationApi, GridLocaleTextApi, GridScrollApi, GridColumnSpanningApi, GridStateApi<GridState>, GridStatePersistenceApi<GridInitialState>, GridColumnGroupingApi, GridHeaderFilteringApi, GridColumnResizeApi {}
|
|
34
34
|
export interface GridPrivateOnlyApiCommon<Api extends GridApiCommon, PrivateApi extends GridPrivateApiCommon, Props extends DataGridProcessedProps> extends GridCorePrivateApi<Api, PrivateApi, Props>, GridStatePrivateApi<PrivateApi['state']>, GridPipeProcessingPrivateApi, GridStrategyProcessingApi, GridColumnSpanningPrivateApi, GridRowsMetaPrivateApi, GridDimensionsPrivateApi, GridEditingPrivateApi, GridLoggerApi, GridFocusPrivateApi, GridHeaderFilteringPrivateApi, GridVirtualizationPrivateApi, GridRowProPrivateApi, GridParamsPrivateApi, GridPivotingPrivateApiCommunity {}
|
|
35
35
|
export interface GridPrivateApiCommon extends GridApiCommon, GridPrivateOnlyApiCommon<GridApiCommon, GridPrivateApiCommon, DataGridProcessedProps> {}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { GridDataSourceApi } from
|
|
2
|
-
import type { GridInitialStateCommunity, GridStateCommunity } from
|
|
3
|
-
import type { DataGridProcessedProps } from
|
|
4
|
-
import type { GridApiCommon, GridPrivateOnlyApiCommon } from
|
|
5
|
-
import type { GridColumnReorderApi } from
|
|
6
|
-
import type { GridRowProApi } from
|
|
7
|
-
import type { GridRowMultiSelectionApi } from
|
|
1
|
+
import type { GridDataSourceApi } from "../../hooks/features/dataSource/models.js";
|
|
2
|
+
import type { GridInitialStateCommunity, GridStateCommunity } from "../gridStateCommunity.js";
|
|
3
|
+
import type { DataGridProcessedProps } from "../props/DataGridProps.js";
|
|
4
|
+
import type { GridApiCommon, GridPrivateOnlyApiCommon } from "./gridApiCommon.js";
|
|
5
|
+
import type { GridColumnReorderApi } from "./gridColumnApi.js";
|
|
6
|
+
import type { GridRowProApi } from "./gridRowApi.js";
|
|
7
|
+
import type { GridRowMultiSelectionApi } from "./gridRowSelectionApi.js";
|
|
8
8
|
/**
|
|
9
9
|
* The API of the community version of the Data Grid.
|
|
10
10
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { GridControlledStateReasonLookup } from
|
|
2
|
-
import type { GridApiCommon } from
|
|
1
|
+
import type { GridControlledStateReasonLookup } from "../events/gridEventLookup.js";
|
|
2
|
+
import type { GridApiCommon } from "./gridApiCommon.js";
|
|
3
3
|
/**
|
|
4
4
|
* Additional details passed to the callbacks
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GridColDef, GridStateColDef } from "../colDef/gridColDef.js";
|
|
2
|
-
import type { GridColumnVisibilityModel } from
|
|
2
|
+
import type { GridColumnVisibilityModel } from "../../hooks/features/columns/gridColumnsInterfaces.js";
|
|
3
3
|
/**
|
|
4
4
|
* The column API interface that is available in the grid [[apiRef]].
|
|
5
5
|
* TODO: Differentiate interfaces based on the plan
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { EventManager, EventListenerOptions } from '@mui/x-internals/EventManager';
|
|
3
|
-
import type { GridEventPublisher, GridEventListener, GridEvents } from
|
|
3
|
+
import type { GridEventPublisher, GridEventListener, GridEvents } from "../events/index.js";
|
|
4
4
|
import { Store } from "../../utils/Store.js";
|
|
5
|
-
import type { GridApiCaches } from
|
|
6
|
-
import type { GridApiCommon, GridPrivateApiCommon } from
|
|
7
|
-
import type { DataGridProcessedProps } from
|
|
5
|
+
import type { GridApiCaches } from "../gridApiCaches.js";
|
|
6
|
+
import type { GridApiCommon, GridPrivateApiCommon } from "./gridApiCommon.js";
|
|
7
|
+
import type { DataGridProcessedProps } from "../props/DataGridProps.js";
|
|
8
8
|
/**
|
|
9
9
|
* The core API interface that is available in the grid `apiRef`.
|
|
10
10
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GridFilterModel } from "../gridFilterModel.js";
|
|
2
2
|
import { GridFilterItem, GridLogicOperator } from "../gridFilterItem.js";
|
|
3
3
|
import { GridControlledStateReasonLookup } from "../events/index.js";
|
|
4
|
-
import type { DataGridProcessedProps } from
|
|
4
|
+
import type { DataGridProcessedProps } from "../props/DataGridProps.js";
|
|
5
5
|
import { GridStateCommunity } from "../gridStateCommunity.js";
|
|
6
6
|
/**
|
|
7
7
|
* The filter API interface that is available in the grid [[apiRef]].
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { GridRowId, GridRowModel } from
|
|
2
|
-
import type { GridRowSelectionModel } from
|
|
1
|
+
import type { GridRowId, GridRowModel } from "../gridRows.js";
|
|
2
|
+
import type { GridRowSelectionModel } from "../gridRowSelectionModel.js";
|
|
3
3
|
/**
|
|
4
4
|
* The selection API interface that is available in the grid [[apiRef]].
|
|
5
5
|
*/
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import type { GridEditingApi } from
|
|
2
|
-
export type { GridParamsApi } from
|
|
3
|
-
export type { GridCoreApi } from
|
|
1
|
+
import type { GridEditingApi } from "./gridEditingApi.js";
|
|
2
|
+
export type { GridParamsApi } from "./gridParamsApi.js";
|
|
3
|
+
export type { GridCoreApi } from "./gridCoreApi.js";
|
|
4
4
|
export * from "./gridColumnApi.js";
|
|
5
5
|
export * from "./gridDensityApi.js";
|
|
6
6
|
export * from "./gridRowApi.js";
|
|
7
|
-
export type { GridRowsMetaApi } from
|
|
7
|
+
export type { GridRowsMetaApi } from "./gridRowsMetaApi.js";
|
|
8
8
|
export * from "./gridRowSelectionApi.js";
|
|
9
9
|
export * from "./gridSortApi.js";
|
|
10
|
-
export type { GridStateApi } from
|
|
11
|
-
export type { GridLocaleText, GridLocaleTextApi, GridTranslationKeys } from
|
|
10
|
+
export type { GridStateApi } from "./gridStateApi.js";
|
|
11
|
+
export type { GridLocaleText, GridLocaleTextApi, GridTranslationKeys } from "./gridLocaleTextApi.js";
|
|
12
12
|
export * from "./gridCsvExportApi.js";
|
|
13
|
-
export type { GridFocusApi } from
|
|
13
|
+
export type { GridFocusApi } from "./gridFocusApi.js";
|
|
14
14
|
export * from "./gridFilterApi.js";
|
|
15
15
|
export * from "./gridColumnMenuApi.js";
|
|
16
16
|
export * from "./gridPreferencesPanelApi.js";
|
|
17
17
|
export * from "./gridPrintExportApi.js";
|
|
18
18
|
export * from "./gridCallbackDetails.js";
|
|
19
19
|
export * from "./gridScrollApi.js";
|
|
20
|
-
export type { GridVirtualizationApi } from
|
|
21
|
-
export type { GridApiCommon } from
|
|
22
|
-
export type { GridEditingApi, GridCellModesModel, GridRowModesModel } from
|
|
20
|
+
export type { GridVirtualizationApi } from "./gridVirtualizationApi.js";
|
|
21
|
+
export type { GridApiCommon } from "./gridApiCommon.js";
|
|
22
|
+
export type { GridEditingApi, GridCellModesModel, GridRowModesModel } from "./gridEditingApi.js";
|
|
23
23
|
export type GridEditRowApi = GridEditingApi;
|
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import { RefObject } from '@mui/x-internals/types';
|
|
3
3
|
import { GridCellClassNamePropType } from "../gridCellClass.js";
|
|
4
4
|
import { GridColumnHeaderClassNamePropType } from "../gridColumnHeaderClass.js";
|
|
5
|
-
import type { GridFilterOperator } from
|
|
5
|
+
import type { GridFilterOperator } from "../gridFilterOperator.js";
|
|
6
6
|
import { GridRenderCellParams, GridRenderEditCellParams, GridPreProcessEditCellProps } from "../params/gridCellParams.js";
|
|
7
7
|
import { GridColumnHeaderParams } from "../params/gridColumnHeaderParams.js";
|
|
8
8
|
import { GridComparatorFn, GridSortDirection } from "../gridSortModel.js";
|
|
@@ -11,7 +11,7 @@ import { GridRowParams } from "../params/gridRowParams.js";
|
|
|
11
11
|
import { GridValueOptionsParams } from "../params/gridValueOptionsParams.js";
|
|
12
12
|
import { GridActionsCellItemProps } from "../../components/cell/GridActionsCellItem.js";
|
|
13
13
|
import { GridEditCellProps } from "../gridEditRowModel.js";
|
|
14
|
-
import type { GridValidRowModel } from
|
|
14
|
+
import type { GridValidRowModel } from "../gridRows.js";
|
|
15
15
|
import { GridApiCommunity } from "../api/gridApiCommunity.js";
|
|
16
16
|
/**
|
|
17
17
|
* Alignment used in position elements in Cells.
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export type { GridAlignment, ValueOptions, GridKeyValue, GridColDef, GridListViewColDef, GridColTypeDef, GridColumnsMeta, GridSingleSelectColDef, GridActionsColDef, GetApplyQuickFilterFn, GridValueGetter, GridValueFormatter, GridValueSetter, GridValueParser, GridColSpanFn } from
|
|
1
|
+
export type { GridAlignment, ValueOptions, GridKeyValue, GridColDef, GridListViewColDef, GridColTypeDef, GridColumnsMeta, GridSingleSelectColDef, GridActionsColDef, GetApplyQuickFilterFn, GridValueGetter, GridValueFormatter, GridValueSetter, GridValueParser, GridColSpanFn } from "./gridColDef.js";
|
|
2
2
|
export * from "./gridColType.js";
|
|
3
3
|
export * from "./gridColumnTypesRecord.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { GridRowAriaAttributesInternalHook } from "./gridRowConfiguration.js";
|
|
3
|
-
import type { GridCSSVariablesInterface } from
|
|
4
|
-
import type { GridRowId } from
|
|
3
|
+
import type { GridCSSVariablesInterface } from "../../constants/cssVariables.js";
|
|
4
|
+
import type { GridRowId } from "../gridRows.js";
|
|
5
5
|
export interface GridAriaAttributesInternalHook {
|
|
6
6
|
useGridAriaAttributes: () => React.HTMLAttributes<HTMLElement>;
|
|
7
7
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { RefObject } from '@mui/x-internals/types';
|
|
2
|
-
import type { GridCallbackDetails } from
|
|
3
|
-
import type { GridEventLookup, GridControlledStateEventLookup } from
|
|
4
|
-
import type { OutputSelector } from
|
|
5
|
-
import type { GridStateCommunity } from
|
|
2
|
+
import type { GridCallbackDetails } from "./api/gridCallbackDetails.js";
|
|
3
|
+
import type { GridEventLookup, GridControlledStateEventLookup } from "./events/index.js";
|
|
4
|
+
import type { OutputSelector } from "../utils/createSelector.js";
|
|
5
|
+
import type { GridStateCommunity } from "./gridStateCommunity.js";
|
|
6
6
|
export interface GridControlStateItem<State extends GridStateCommunity, Args, E extends keyof GridControlledStateEventLookup> {
|
|
7
7
|
stateId: string;
|
|
8
8
|
propModel?: GridEventLookup[E]['params'];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { MuiBaseEvent, MuiEvent } from '@mui/x-internals/types';
|
|
2
|
-
import type { GridCallbackDetails } from
|
|
3
|
-
import type { GridEventLookup, GridEvents } from
|
|
2
|
+
import type { GridCallbackDetails } from "../api/gridCallbackDetails.js";
|
|
3
|
+
import type { GridEventLookup, GridEvents } from "./gridEventLookup.js";
|
|
4
4
|
export type GridEventListener<E extends GridEvents> = (params: GridEventLookup[E] extends {
|
|
5
5
|
params: any;
|
|
6
6
|
} ? GridEventLookup[E]['params'] : undefined, event: GridEventLookup[E] extends {
|