@mui/x-data-grid 8.0.0-alpha.12 → 8.0.0-alpha.14
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 +430 -0
- package/DataGrid/DataGrid.js +31 -22
- package/DataGrid/useDataGridProps.js +1 -1
- package/colDef/gridActionsColDef.js +1 -1
- package/colDef/gridBooleanColDef.js +1 -1
- package/colDef/gridCheckboxSelectionColDef.js +2 -4
- package/components/GridFooter.js +1 -1
- package/components/GridHeader.js +1 -1
- package/components/GridPagination.js +5 -6
- package/components/GridRowCount.js +4 -5
- package/components/GridScrollArea.js +4 -3
- package/components/GridSelectedRowCount.js +5 -6
- package/components/GridShadowScrollArea.d.ts +8 -0
- package/components/GridShadowScrollArea.js +82 -0
- package/components/cell/GridEditInputCell.js +2 -3
- package/components/columnSelection/GridHeaderCheckbox.js +51 -17
- package/components/columnsManagement/GridColumnsManagement.js +60 -61
- package/components/columnsPanel/ColumnsPanelTrigger.d.ts +33 -0
- package/components/columnsPanel/ColumnsPanelTrigger.js +209 -0
- package/components/columnsPanel/index.d.ts +1 -0
- package/components/columnsPanel/index.js +16 -0
- package/components/containers/GridOverlay.js +6 -8
- package/components/containers/GridRoot.js +4 -2
- package/components/containers/GridRootStyles.d.ts +1 -2
- package/components/containers/GridRootStyles.js +77 -100
- package/components/containers/GridToolbarContainer.js +5 -6
- package/components/export/ExportCsv.d.ts +30 -0
- package/components/export/ExportCsv.js +196 -0
- package/components/export/ExportPrint.d.ts +30 -0
- package/components/export/ExportPrint.js +196 -0
- package/components/export/index.d.ts +2 -0
- package/components/export/index.js +27 -0
- package/components/filterPanel/FilterPanelTrigger.d.ts +37 -0
- package/components/filterPanel/FilterPanelTrigger.js +212 -0
- package/components/filterPanel/index.d.ts +1 -0
- package/components/filterPanel/index.js +16 -0
- package/components/index.d.ts +6 -1
- package/components/index.js +60 -0
- package/components/menu/GridMenu.js +7 -6
- package/components/menu/columnMenu/GridColumnHeaderMenu.js +4 -3
- package/components/panel/GridPanel.js +18 -20
- package/components/panel/GridPanelContent.js +6 -8
- package/components/panel/GridPanelFooter.js +5 -6
- package/components/panel/GridPanelHeader.js +4 -5
- package/components/panel/filterPanel/GridFilterForm.js +13 -20
- package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.d.ts +2 -2
- package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js +10 -39
- package/components/panel/filterPanel/GridFilterInputMultipleValue.d.ts +2 -2
- package/components/panel/filterPanel/GridFilterInputMultipleValue.js +20 -45
- package/components/panel/filterPanel/GridFilterInputValue.js +3 -6
- package/components/quickFilter/QuickFilter.d.ts +41 -0
- package/components/quickFilter/QuickFilter.js +110 -0
- package/components/quickFilter/QuickFilterClear.d.ts +28 -0
- package/components/quickFilter/QuickFilterClear.js +161 -0
- package/components/quickFilter/QuickFilterContext.d.ts +13 -0
- package/components/quickFilter/QuickFilterContext.js +17 -0
- package/components/quickFilter/QuickFilterControl.d.ts +28 -0
- package/components/quickFilter/QuickFilterControl.js +104 -0
- package/components/quickFilter/index.d.ts +3 -0
- package/components/quickFilter/index.js +38 -0
- package/components/toolbar/GridToolbar.d.ts +1 -1
- package/components/toolbar/GridToolbar.js +2 -2
- package/components/toolbar/GridToolbarFilterButton.js +5 -6
- package/components/toolbar/GridToolbarQuickFilter.js +57 -97
- package/components/toolbarV8/GridToolbar.d.ts +11 -0
- package/components/toolbarV8/GridToolbar.js +142 -0
- package/components/toolbarV8/Toolbar.d.ts +32 -0
- package/components/toolbarV8/Toolbar.js +132 -0
- package/components/toolbarV8/ToolbarButton.d.ts +23 -0
- package/components/toolbarV8/ToolbarButton.js +179 -0
- package/components/toolbarV8/ToolbarContext.d.ts +9 -0
- package/components/toolbarV8/ToolbarContext.js +17 -0
- package/components/toolbarV8/index.d.ts +2 -0
- package/components/toolbarV8/index.js +27 -0
- package/components/virtualization/GridVirtualScrollbar.js +15 -6
- package/components/virtualization/GridVirtualScrollerFiller.js +2 -1
- package/constants/cssVariables.d.ts +294 -0
- package/constants/cssVariables.js +168 -0
- package/constants/dataGridPropsDefaultValues.js +1 -0
- package/constants/defaultGridSlotsComponents.js +2 -1
- package/constants/gridClasses.d.ts +17 -0
- package/constants/gridClasses.js +1 -1
- package/context/GridContextProvider.js +4 -1
- package/esm/DataGrid/DataGrid.js +31 -22
- package/esm/DataGrid/useDataGridProps.js +1 -1
- package/esm/colDef/gridActionsColDef.js +1 -1
- package/esm/colDef/gridBooleanColDef.js +1 -1
- package/esm/colDef/gridCheckboxSelectionColDef.js +2 -4
- package/esm/components/GridFooter.js +2 -2
- package/esm/components/GridHeader.js +1 -1
- package/esm/components/GridPagination.js +5 -6
- package/esm/components/GridRowCount.js +4 -5
- package/esm/components/GridScrollArea.js +2 -1
- package/esm/components/GridSelectedRowCount.js +5 -6
- package/esm/components/GridShadowScrollArea.d.ts +8 -0
- package/esm/components/GridShadowScrollArea.js +74 -0
- package/esm/components/cell/GridEditInputCell.js +2 -3
- package/esm/components/columnSelection/GridHeaderCheckbox.js +51 -17
- package/esm/components/columnsManagement/GridColumnsManagement.js +61 -62
- package/esm/components/columnsPanel/ColumnsPanelTrigger.d.ts +33 -0
- package/esm/components/columnsPanel/ColumnsPanelTrigger.js +202 -0
- package/esm/components/columnsPanel/index.d.ts +1 -0
- package/esm/components/columnsPanel/index.js +1 -0
- package/esm/components/containers/GridOverlay.js +6 -8
- package/esm/components/containers/GridRoot.js +4 -2
- package/esm/components/containers/GridRootStyles.d.ts +1 -2
- package/esm/components/containers/GridRootStyles.js +78 -101
- package/esm/components/containers/GridToolbarContainer.js +5 -6
- package/esm/components/export/ExportCsv.d.ts +30 -0
- package/esm/components/export/ExportCsv.js +189 -0
- package/esm/components/export/ExportPrint.d.ts +30 -0
- package/esm/components/export/ExportPrint.js +189 -0
- package/esm/components/export/index.d.ts +2 -0
- package/esm/components/export/index.js +2 -0
- package/esm/components/filterPanel/FilterPanelTrigger.d.ts +37 -0
- package/esm/components/filterPanel/FilterPanelTrigger.js +205 -0
- package/esm/components/filterPanel/index.d.ts +1 -0
- package/esm/components/filterPanel/index.js +1 -0
- package/esm/components/index.d.ts +6 -1
- package/esm/components/index.js +6 -1
- package/esm/components/menu/GridMenu.js +7 -6
- package/esm/components/menu/columnMenu/GridColumnHeaderMenu.js +2 -1
- package/esm/components/panel/GridPanel.js +18 -20
- package/esm/components/panel/GridPanelContent.js +6 -8
- package/esm/components/panel/GridPanelFooter.js +5 -6
- package/esm/components/panel/GridPanelHeader.js +4 -5
- package/esm/components/panel/filterPanel/GridFilterForm.js +13 -20
- package/esm/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.d.ts +2 -2
- package/esm/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js +10 -39
- package/esm/components/panel/filterPanel/GridFilterInputMultipleValue.d.ts +2 -2
- package/esm/components/panel/filterPanel/GridFilterInputMultipleValue.js +19 -44
- package/esm/components/panel/filterPanel/GridFilterInputValue.js +3 -6
- package/esm/components/quickFilter/QuickFilter.d.ts +41 -0
- package/esm/components/quickFilter/QuickFilter.js +103 -0
- package/esm/components/quickFilter/QuickFilterClear.d.ts +28 -0
- package/esm/components/quickFilter/QuickFilterClear.js +154 -0
- package/esm/components/quickFilter/QuickFilterContext.d.ts +13 -0
- package/esm/components/quickFilter/QuickFilterContext.js +9 -0
- package/esm/components/quickFilter/QuickFilterControl.d.ts +28 -0
- package/esm/components/quickFilter/QuickFilterControl.js +97 -0
- package/esm/components/quickFilter/index.d.ts +3 -0
- package/esm/components/quickFilter/index.js +3 -0
- package/esm/components/toolbar/GridToolbar.d.ts +1 -1
- package/esm/components/toolbar/GridToolbar.js +2 -2
- package/esm/components/toolbar/GridToolbarFilterButton.js +5 -6
- package/esm/components/toolbar/GridToolbarQuickFilter.js +59 -97
- package/esm/components/toolbarV8/GridToolbar.d.ts +11 -0
- package/esm/components/toolbarV8/GridToolbar.js +135 -0
- package/esm/components/toolbarV8/Toolbar.d.ts +32 -0
- package/esm/components/toolbarV8/Toolbar.js +125 -0
- package/esm/components/toolbarV8/ToolbarButton.d.ts +23 -0
- package/esm/components/toolbarV8/ToolbarButton.js +172 -0
- package/esm/components/toolbarV8/ToolbarContext.d.ts +9 -0
- package/esm/components/toolbarV8/ToolbarContext.js +9 -0
- package/esm/components/toolbarV8/index.d.ts +2 -0
- package/esm/components/toolbarV8/index.js +2 -0
- package/esm/components/virtualization/GridVirtualScrollbar.js +10 -2
- package/esm/components/virtualization/GridVirtualScrollerFiller.js +2 -1
- package/esm/constants/cssVariables.d.ts +294 -0
- package/esm/constants/cssVariables.js +161 -0
- package/esm/constants/dataGridPropsDefaultValues.js +1 -0
- package/esm/constants/defaultGridSlotsComponents.js +2 -1
- package/esm/constants/gridClasses.d.ts +17 -0
- package/esm/constants/gridClasses.js +1 -1
- package/esm/context/GridContextProvider.js +4 -1
- package/esm/hooks/features/clipboard/useGridClipboard.js +3 -2
- package/esm/hooks/features/columnHeaders/useGridColumnHeaders.js +2 -2
- package/esm/hooks/features/columnResize/useGridColumnResize.js +2 -1
- package/esm/hooks/features/columns/gridColumnsInterfaces.d.ts +1 -0
- package/esm/hooks/features/columns/gridColumnsSelector.d.ts +7 -0
- package/esm/hooks/features/columns/gridColumnsSelector.js +8 -0
- package/esm/hooks/features/columns/gridColumnsUtils.d.ts +3 -1
- package/esm/hooks/features/columns/gridColumnsUtils.js +6 -3
- package/esm/hooks/features/columns/index.d.ts +1 -1
- package/esm/hooks/features/columns/index.js +1 -1
- package/esm/hooks/features/columns/useGridColumns.js +4 -2
- package/esm/hooks/features/dataSource/gridDataSourceError.d.ts +31 -0
- package/esm/hooks/features/dataSource/gridDataSourceError.js +32 -0
- package/esm/hooks/features/dataSource/index.d.ts +2 -0
- package/esm/hooks/features/dataSource/index.js +2 -0
- package/esm/hooks/features/dataSource/models.d.ts +1 -1
- package/esm/hooks/features/dataSource/useGridDataSourceBase.d.ts +1 -1
- package/esm/hooks/features/dataSource/useGridDataSourceBase.js +27 -17
- package/esm/hooks/features/dimensions/useGridDimensions.js +11 -10
- package/esm/hooks/features/editing/useGridCellEditing.js +2 -1
- package/esm/hooks/features/editing/useGridRowEditing.js +2 -1
- package/esm/hooks/features/export/utils.js +4 -2
- package/esm/hooks/features/focus/useGridFocus.js +3 -2
- package/esm/hooks/features/index.d.ts +1 -1
- package/esm/hooks/features/index.js +1 -1
- package/esm/hooks/features/rowSelection/gridRowSelectionSelector.d.ts +3 -3
- package/esm/hooks/features/rowSelection/gridRowSelectionSelector.js +27 -7
- package/esm/hooks/features/rowSelection/useGridRowSelection.js +148 -81
- package/esm/hooks/features/rowSelection/utils.d.ts +2 -2
- package/esm/hooks/features/rowSelection/utils.js +11 -11
- package/esm/hooks/features/rows/gridRowsInterfaces.d.ts +1 -1
- package/esm/hooks/features/rows/gridRowsUtils.d.ts +2 -1
- package/esm/hooks/features/rows/gridRowsUtils.js +8 -0
- package/esm/hooks/features/rows/useGridParamsApi.js +2 -8
- package/esm/hooks/features/rows/useGridRowAriaAttributes.js +2 -4
- package/esm/hooks/features/rows/useGridRows.d.ts +2 -2
- package/esm/hooks/features/rows/useGridRows.js +7 -7
- package/esm/hooks/features/rows/useGridRowsMeta.js +8 -0
- package/esm/hooks/features/virtualization/useGridVirtualScroller.d.ts +0 -2
- package/esm/hooks/features/virtualization/useGridVirtualScroller.js +5 -11
- package/esm/hooks/utils/index.d.ts +2 -1
- package/esm/hooks/utils/useGridComponentRenderer.d.ts +12 -0
- package/esm/hooks/utils/useGridComponentRenderer.js +36 -0
- package/esm/hooks/utils/useGridSelector.js +4 -1
- package/esm/hooks/utils/useIsSSR.js +4 -1
- package/esm/index.js +1 -1
- package/esm/internals/demo/TailwindDemoContainer.d.ts +11 -0
- package/esm/internals/demo/TailwindDemoContainer.js +55 -0
- package/esm/internals/demo/index.d.ts +1 -0
- package/esm/internals/demo/index.js +1 -0
- package/esm/internals/index.d.ts +6 -1
- package/esm/internals/index.js +5 -1
- package/esm/internals/utils/propValidation.js +1 -1
- package/esm/locales/bnBD.d.ts +2 -0
- package/esm/locales/bnBD.js +167 -0
- package/esm/locales/deDE.js +3 -5
- package/esm/locales/huHU.js +10 -13
- package/esm/locales/index.d.ts +1 -0
- package/esm/locales/index.js +1 -0
- package/esm/locales/ruRU.js +17 -21
- package/esm/material/icons/index.d.ts +3 -3
- package/esm/material/icons/index.js +6 -6
- package/esm/material/index.d.ts +1 -0
- package/esm/material/index.js +167 -52
- package/esm/material/variables.d.ts +5 -0
- package/esm/material/variables.js +89 -0
- package/esm/models/api/gridRowSelectionApi.d.ts +4 -2
- package/esm/models/api/gridSortApi.d.ts +1 -1
- package/esm/models/configuration/gridConfiguration.d.ts +7 -1
- package/esm/models/gridBaseSlots.d.ts +61 -7
- package/esm/models/gridDataSource.d.ts +9 -4
- package/esm/models/gridIconSlotsComponent.d.ts +1 -1
- package/esm/models/gridRowSelectionManager.d.ts +9 -0
- package/esm/models/gridRowSelectionManager.js +36 -0
- package/esm/models/gridRowSelectionModel.d.ts +4 -2
- package/esm/models/gridSlotsComponent.d.ts +7 -28
- package/esm/models/gridSlotsComponentsProps.d.ts +3 -11
- package/esm/models/gridSortModel.d.ts +1 -1
- package/esm/models/index.d.ts +2 -1
- package/esm/models/index.js +2 -3
- package/esm/models/props/DataGridProps.d.ts +22 -17
- package/esm/utils/css/context.d.ts +14 -0
- package/esm/utils/css/context.js +54 -0
- package/esm/utils/index.d.ts +2 -1
- package/esm/utils/index.js +1 -1
- package/hooks/features/clipboard/useGridClipboard.js +3 -2
- package/hooks/features/columnHeaders/useGridColumnHeaders.js +2 -2
- package/hooks/features/columnResize/useGridColumnResize.js +28 -27
- package/hooks/features/columns/gridColumnsInterfaces.d.ts +1 -0
- package/hooks/features/columns/gridColumnsSelector.d.ts +7 -0
- package/hooks/features/columns/gridColumnsSelector.js +9 -1
- package/hooks/features/columns/gridColumnsUtils.d.ts +3 -1
- package/hooks/features/columns/gridColumnsUtils.js +6 -3
- package/hooks/features/columns/index.d.ts +1 -1
- package/hooks/features/columns/index.js +94 -10
- package/hooks/features/columns/useGridColumns.js +4 -2
- package/hooks/features/dataSource/gridDataSourceError.d.ts +31 -0
- package/hooks/features/dataSource/gridDataSourceError.js +40 -0
- package/hooks/features/dataSource/index.d.ts +2 -0
- package/hooks/features/dataSource/index.js +25 -0
- package/hooks/features/dataSource/models.d.ts +1 -1
- package/hooks/features/dataSource/useGridDataSourceBase.d.ts +1 -1
- package/hooks/features/dataSource/useGridDataSourceBase.js +27 -17
- package/hooks/features/dimensions/useGridDimensions.js +19 -18
- package/hooks/features/editing/useGridCellEditing.js +10 -9
- package/hooks/features/editing/useGridRowEditing.js +11 -10
- package/hooks/features/export/utils.js +4 -2
- package/hooks/features/focus/useGridFocus.js +8 -7
- package/hooks/features/index.d.ts +1 -1
- package/hooks/features/index.js +11 -28
- package/hooks/features/rowSelection/gridRowSelectionSelector.d.ts +3 -3
- package/hooks/features/rowSelection/gridRowSelectionSelector.js +27 -7
- package/hooks/features/rowSelection/useGridRowSelection.js +146 -79
- package/hooks/features/rowSelection/utils.d.ts +2 -2
- package/hooks/features/rowSelection/utils.js +10 -10
- package/hooks/features/rows/gridRowsInterfaces.d.ts +1 -1
- package/hooks/features/rows/gridRowsUtils.d.ts +2 -1
- package/hooks/features/rows/gridRowsUtils.js +10 -1
- package/hooks/features/rows/useGridParamsApi.js +2 -8
- package/hooks/features/rows/useGridRowAriaAttributes.js +2 -4
- package/hooks/features/rows/useGridRows.d.ts +2 -2
- package/hooks/features/rows/useGridRows.js +7 -7
- package/hooks/features/rows/useGridRowsMeta.js +8 -0
- package/hooks/features/virtualization/useGridVirtualScroller.d.ts +0 -2
- package/hooks/features/virtualization/useGridVirtualScroller.js +21 -27
- package/hooks/utils/index.d.ts +2 -1
- package/hooks/utils/useGridComponentRenderer.d.ts +12 -0
- package/hooks/utils/useGridComponentRenderer.js +44 -0
- package/hooks/utils/useGridSelector.js +6 -2
- package/hooks/utils/useIsSSR.js +6 -2
- package/index.js +1 -1
- package/internals/demo/TailwindDemoContainer.d.ts +11 -0
- package/internals/demo/TailwindDemoContainer.js +63 -0
- package/internals/demo/index.d.ts +1 -0
- package/internals/demo/index.js +12 -0
- package/internals/index.d.ts +6 -1
- package/internals/index.js +43 -0
- package/internals/utils/propValidation.js +1 -1
- package/locales/bnBD.d.ts +2 -0
- package/locales/bnBD.js +173 -0
- package/locales/deDE.js +3 -5
- package/locales/huHU.js +10 -13
- package/locales/index.d.ts +1 -0
- package/locales/index.js +11 -0
- package/locales/ruRU.js +17 -21
- package/material/icons/index.d.ts +3 -3
- package/material/icons/index.js +7 -7
- package/material/index.d.ts +1 -0
- package/material/index.js +172 -51
- package/material/variables.d.ts +5 -0
- package/material/variables.js +95 -0
- package/models/api/gridRowSelectionApi.d.ts +4 -2
- package/models/api/gridSortApi.d.ts +1 -1
- package/models/configuration/gridConfiguration.d.ts +7 -1
- package/models/gridBaseSlots.d.ts +61 -7
- package/models/gridDataSource.d.ts +9 -4
- package/models/gridIconSlotsComponent.d.ts +1 -1
- package/models/gridRowSelectionManager.d.ts +9 -0
- package/models/gridRowSelectionManager.js +43 -0
- package/models/gridRowSelectionModel.d.ts +4 -2
- package/models/gridSlotsComponent.d.ts +7 -28
- package/models/gridSlotsComponentsProps.d.ts +3 -11
- package/models/gridSortModel.d.ts +1 -1
- package/models/index.d.ts +2 -1
- package/models/index.js +34 -11
- package/models/props/DataGridProps.d.ts +22 -17
- package/modern/DataGrid/DataGrid.js +31 -22
- package/modern/DataGrid/useDataGridProps.js +1 -1
- package/modern/colDef/gridActionsColDef.js +1 -1
- package/modern/colDef/gridBooleanColDef.js +1 -1
- package/modern/colDef/gridCheckboxSelectionColDef.js +2 -4
- package/modern/components/GridFooter.js +2 -2
- package/modern/components/GridHeader.js +1 -1
- package/modern/components/GridPagination.js +5 -6
- package/modern/components/GridRowCount.js +4 -5
- package/modern/components/GridScrollArea.js +2 -1
- package/modern/components/GridSelectedRowCount.js +5 -6
- package/modern/components/GridShadowScrollArea.d.ts +8 -0
- package/modern/components/GridShadowScrollArea.js +74 -0
- package/modern/components/cell/GridEditInputCell.js +2 -3
- package/modern/components/columnSelection/GridHeaderCheckbox.js +51 -17
- package/modern/components/columnsManagement/GridColumnsManagement.js +61 -62
- package/modern/components/columnsPanel/ColumnsPanelTrigger.d.ts +33 -0
- package/modern/components/columnsPanel/ColumnsPanelTrigger.js +202 -0
- package/modern/components/columnsPanel/index.d.ts +1 -0
- package/modern/components/columnsPanel/index.js +1 -0
- package/modern/components/containers/GridOverlay.js +6 -8
- package/modern/components/containers/GridRoot.js +4 -2
- package/modern/components/containers/GridRootStyles.d.ts +1 -2
- package/modern/components/containers/GridRootStyles.js +78 -101
- package/modern/components/containers/GridToolbarContainer.js +5 -6
- package/modern/components/export/ExportCsv.d.ts +30 -0
- package/modern/components/export/ExportCsv.js +189 -0
- package/modern/components/export/ExportPrint.d.ts +30 -0
- package/modern/components/export/ExportPrint.js +189 -0
- package/modern/components/export/index.d.ts +2 -0
- package/modern/components/export/index.js +2 -0
- package/modern/components/filterPanel/FilterPanelTrigger.d.ts +37 -0
- package/modern/components/filterPanel/FilterPanelTrigger.js +205 -0
- package/modern/components/filterPanel/index.d.ts +1 -0
- package/modern/components/filterPanel/index.js +1 -0
- package/modern/components/index.d.ts +6 -1
- package/modern/components/index.js +6 -1
- package/modern/components/menu/GridMenu.js +7 -6
- package/modern/components/menu/columnMenu/GridColumnHeaderMenu.js +2 -1
- package/modern/components/panel/GridPanel.js +18 -20
- package/modern/components/panel/GridPanelContent.js +6 -8
- package/modern/components/panel/GridPanelFooter.js +5 -6
- package/modern/components/panel/GridPanelHeader.js +4 -5
- package/modern/components/panel/filterPanel/GridFilterForm.js +13 -20
- package/modern/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.d.ts +2 -2
- package/modern/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js +10 -39
- package/modern/components/panel/filterPanel/GridFilterInputMultipleValue.d.ts +2 -2
- package/modern/components/panel/filterPanel/GridFilterInputMultipleValue.js +19 -44
- package/modern/components/panel/filterPanel/GridFilterInputValue.js +3 -6
- package/modern/components/quickFilter/QuickFilter.d.ts +41 -0
- package/modern/components/quickFilter/QuickFilter.js +103 -0
- package/modern/components/quickFilter/QuickFilterClear.d.ts +28 -0
- package/modern/components/quickFilter/QuickFilterClear.js +154 -0
- package/modern/components/quickFilter/QuickFilterContext.d.ts +13 -0
- package/modern/components/quickFilter/QuickFilterContext.js +9 -0
- package/modern/components/quickFilter/QuickFilterControl.d.ts +28 -0
- package/modern/components/quickFilter/QuickFilterControl.js +97 -0
- package/modern/components/quickFilter/index.d.ts +3 -0
- package/modern/components/quickFilter/index.js +3 -0
- package/modern/components/toolbar/GridToolbar.d.ts +1 -1
- package/modern/components/toolbar/GridToolbar.js +2 -2
- package/modern/components/toolbar/GridToolbarFilterButton.js +5 -6
- package/modern/components/toolbar/GridToolbarQuickFilter.js +59 -97
- package/modern/components/toolbarV8/GridToolbar.d.ts +11 -0
- package/modern/components/toolbarV8/GridToolbar.js +135 -0
- package/modern/components/toolbarV8/Toolbar.d.ts +32 -0
- package/modern/components/toolbarV8/Toolbar.js +125 -0
- package/modern/components/toolbarV8/ToolbarButton.d.ts +23 -0
- package/modern/components/toolbarV8/ToolbarButton.js +172 -0
- package/modern/components/toolbarV8/ToolbarContext.d.ts +9 -0
- package/modern/components/toolbarV8/ToolbarContext.js +9 -0
- package/modern/components/toolbarV8/index.d.ts +2 -0
- package/modern/components/toolbarV8/index.js +2 -0
- package/modern/components/virtualization/GridVirtualScrollbar.js +10 -2
- package/modern/components/virtualization/GridVirtualScrollerFiller.js +2 -1
- package/modern/constants/cssVariables.d.ts +294 -0
- package/modern/constants/cssVariables.js +161 -0
- package/modern/constants/dataGridPropsDefaultValues.js +1 -0
- package/modern/constants/defaultGridSlotsComponents.js +2 -1
- package/modern/constants/gridClasses.d.ts +17 -0
- package/modern/constants/gridClasses.js +1 -1
- package/modern/context/GridContextProvider.js +4 -1
- package/modern/hooks/features/clipboard/useGridClipboard.js +3 -2
- package/modern/hooks/features/columnHeaders/useGridColumnHeaders.js +2 -2
- package/modern/hooks/features/columnResize/useGridColumnResize.js +2 -1
- package/modern/hooks/features/columns/gridColumnsInterfaces.d.ts +1 -0
- package/modern/hooks/features/columns/gridColumnsSelector.d.ts +7 -0
- package/modern/hooks/features/columns/gridColumnsSelector.js +8 -0
- package/modern/hooks/features/columns/gridColumnsUtils.d.ts +3 -1
- package/modern/hooks/features/columns/gridColumnsUtils.js +6 -3
- package/modern/hooks/features/columns/index.d.ts +1 -1
- package/modern/hooks/features/columns/index.js +1 -1
- package/modern/hooks/features/columns/useGridColumns.js +4 -2
- package/modern/hooks/features/dataSource/gridDataSourceError.d.ts +31 -0
- package/modern/hooks/features/dataSource/gridDataSourceError.js +32 -0
- package/modern/hooks/features/dataSource/index.d.ts +2 -0
- package/modern/hooks/features/dataSource/index.js +2 -0
- package/modern/hooks/features/dataSource/models.d.ts +1 -1
- package/modern/hooks/features/dataSource/useGridDataSourceBase.d.ts +1 -1
- package/modern/hooks/features/dataSource/useGridDataSourceBase.js +27 -17
- package/modern/hooks/features/dimensions/useGridDimensions.js +11 -10
- package/modern/hooks/features/editing/useGridCellEditing.js +2 -1
- package/modern/hooks/features/editing/useGridRowEditing.js +2 -1
- package/modern/hooks/features/export/utils.js +4 -2
- package/modern/hooks/features/focus/useGridFocus.js +3 -2
- package/modern/hooks/features/index.d.ts +1 -1
- package/modern/hooks/features/index.js +1 -1
- package/modern/hooks/features/rowSelection/gridRowSelectionSelector.d.ts +3 -3
- package/modern/hooks/features/rowSelection/gridRowSelectionSelector.js +27 -7
- package/modern/hooks/features/rowSelection/useGridRowSelection.js +148 -81
- package/modern/hooks/features/rowSelection/utils.d.ts +2 -2
- package/modern/hooks/features/rowSelection/utils.js +11 -11
- package/modern/hooks/features/rows/gridRowsInterfaces.d.ts +1 -1
- package/modern/hooks/features/rows/gridRowsUtils.d.ts +2 -1
- package/modern/hooks/features/rows/gridRowsUtils.js +8 -0
- package/modern/hooks/features/rows/useGridParamsApi.js +2 -8
- package/modern/hooks/features/rows/useGridRowAriaAttributes.js +2 -4
- package/modern/hooks/features/rows/useGridRows.d.ts +2 -2
- package/modern/hooks/features/rows/useGridRows.js +7 -7
- package/modern/hooks/features/rows/useGridRowsMeta.js +8 -0
- package/modern/hooks/features/virtualization/useGridVirtualScroller.d.ts +0 -2
- package/modern/hooks/features/virtualization/useGridVirtualScroller.js +5 -11
- package/modern/hooks/utils/index.d.ts +2 -1
- package/modern/hooks/utils/useGridComponentRenderer.d.ts +12 -0
- package/modern/hooks/utils/useGridComponentRenderer.js +36 -0
- package/modern/hooks/utils/useGridSelector.js +4 -1
- package/modern/hooks/utils/useIsSSR.js +4 -1
- package/modern/index.js +1 -1
- package/modern/internals/demo/TailwindDemoContainer.d.ts +11 -0
- package/modern/internals/demo/TailwindDemoContainer.js +55 -0
- package/modern/internals/demo/index.d.ts +1 -0
- package/modern/internals/demo/index.js +1 -0
- package/modern/internals/index.d.ts +6 -1
- package/modern/internals/index.js +5 -1
- package/modern/internals/utils/propValidation.js +1 -1
- package/modern/locales/bnBD.d.ts +2 -0
- package/modern/locales/bnBD.js +167 -0
- package/modern/locales/deDE.js +3 -5
- package/modern/locales/huHU.js +10 -13
- package/modern/locales/index.d.ts +1 -0
- package/modern/locales/index.js +1 -0
- package/modern/locales/ruRU.js +17 -21
- package/modern/material/icons/index.d.ts +3 -3
- package/modern/material/icons/index.js +6 -6
- package/modern/material/index.d.ts +1 -0
- package/modern/material/index.js +167 -52
- package/modern/material/variables.d.ts +5 -0
- package/modern/material/variables.js +89 -0
- package/modern/models/api/gridRowSelectionApi.d.ts +4 -2
- package/modern/models/api/gridSortApi.d.ts +1 -1
- package/modern/models/configuration/gridConfiguration.d.ts +7 -1
- package/modern/models/gridBaseSlots.d.ts +61 -7
- package/modern/models/gridDataSource.d.ts +9 -4
- package/modern/models/gridIconSlotsComponent.d.ts +1 -1
- package/modern/models/gridRowSelectionManager.d.ts +9 -0
- package/modern/models/gridRowSelectionManager.js +36 -0
- package/modern/models/gridRowSelectionModel.d.ts +4 -2
- package/modern/models/gridSlotsComponent.d.ts +7 -28
- package/modern/models/gridSlotsComponentsProps.d.ts +3 -11
- package/modern/models/gridSortModel.d.ts +1 -1
- package/modern/models/index.d.ts +2 -1
- package/modern/models/index.js +2 -3
- package/modern/models/props/DataGridProps.d.ts +22 -17
- package/modern/utils/css/context.d.ts +14 -0
- package/modern/utils/css/context.js +54 -0
- package/modern/utils/index.d.ts +2 -1
- package/modern/utils/index.js +1 -1
- package/package.json +2 -2
- package/tsconfig.build.tsbuildinfo +1 -1
- package/utils/css/context.d.ts +14 -0
- package/utils/css/context.js +64 -0
- package/utils/index.d.ts +2 -1
- package/utils/index.js +8 -1
|
@@ -16,7 +16,7 @@ import { getTreeNodeDescendants, createRowsInternalCache, getRowsStateFromCache,
|
|
|
16
16
|
import { useGridRegisterPipeApplier } from "../../core/pipeProcessing/index.js";
|
|
17
17
|
import { GridStrategyGroup } from "../../core/strategyProcessing/index.js";
|
|
18
18
|
export const rowsStateInitializer = (state, props, apiRef) => {
|
|
19
|
-
const isDataSourceAvailable = !!props.
|
|
19
|
+
const isDataSourceAvailable = !!props.dataSource;
|
|
20
20
|
apiRef.current.caches.rows = createRowsInternalCache({
|
|
21
21
|
rows: isDataSourceAvailable ? [] : props.rows,
|
|
22
22
|
getRowId: props.getRowId,
|
|
@@ -356,16 +356,16 @@ export const useGridRows = (apiRef, props) => {
|
|
|
356
356
|
throttle: false
|
|
357
357
|
});
|
|
358
358
|
}, [logger, apiRef, props.rows, props.getRowId, props.loading, props.rowCount, throttledRowsChange]);
|
|
359
|
-
const previousDataSource = useLazyRef(() => props.
|
|
359
|
+
const previousDataSource = useLazyRef(() => props.dataSource);
|
|
360
360
|
const handleStrategyProcessorChange = React.useCallback(methodName => {
|
|
361
|
-
if (props.
|
|
362
|
-
previousDataSource.current = props.
|
|
361
|
+
if (props.dataSource && props.dataSource !== previousDataSource.current) {
|
|
362
|
+
previousDataSource.current = props.dataSource;
|
|
363
363
|
return;
|
|
364
364
|
}
|
|
365
365
|
if (methodName === 'rowTreeCreation') {
|
|
366
366
|
groupRows();
|
|
367
367
|
}
|
|
368
|
-
}, [groupRows, previousDataSource, props.
|
|
368
|
+
}, [groupRows, previousDataSource, props.dataSource]);
|
|
369
369
|
const handleStrategyActivityChange = React.useCallback(() => {
|
|
370
370
|
// `rowTreeCreation` is the only processor ran when `strategyAvailabilityChange` is fired.
|
|
371
371
|
// All the other processors listen to `rowsSet` which will be published by the `groupRows` method below.
|
|
@@ -416,7 +416,7 @@ export const useGridRows = (apiRef, props) => {
|
|
|
416
416
|
isRowCountPropUpdated = true;
|
|
417
417
|
lastRowCount.current = props.rowCount;
|
|
418
418
|
}
|
|
419
|
-
const currentRows = props.
|
|
419
|
+
const currentRows = props.dataSource ? Array.from(apiRef.current.getRowModels().values()) : props.rows;
|
|
420
420
|
const areNewRowsAlreadyInState = apiRef.current.caches.rows.rowsBeforePartialUpdates === currentRows;
|
|
421
421
|
const isNewLoadingAlreadyInState = apiRef.current.caches.rows.loadingPropBeforePartialUpdates === props.loading;
|
|
422
422
|
const isNewRowCountAlreadyInState = apiRef.current.caches.rows.rowCountPropBeforePartialUpdates === props.rowCount;
|
|
@@ -455,5 +455,5 @@ export const useGridRows = (apiRef, props) => {
|
|
|
455
455
|
}),
|
|
456
456
|
throttle: false
|
|
457
457
|
});
|
|
458
|
-
}, [props.rows, props.rowCount, props.getRowId, props.loading, props.
|
|
458
|
+
}, [props.rows, props.rowCount, props.getRowId, props.loading, props.dataSource, logger, throttledRowsChange, apiRef]);
|
|
459
459
|
};
|
|
@@ -13,6 +13,7 @@ import { useGridRegisterPipeApplier } from "../../core/pipeProcessing/index.js";
|
|
|
13
13
|
import { gridPinnedRowsSelector, gridRowCountSelector } from "./gridRowsSelector.js";
|
|
14
14
|
import { gridDimensionsSelector, gridRowHeightSelector } from "../dimensions/gridDimensionsSelectors.js";
|
|
15
15
|
import { getValidRowHeight, getRowHeightWarning } from "./gridRowsUtils.js";
|
|
16
|
+
import { gridFocusedVirtualCellSelector } from "../virtualization/gridFocusedVirtualCellSelector.js";
|
|
16
17
|
/* eslint-disable no-underscore-dangle */
|
|
17
18
|
|
|
18
19
|
export const rowsMetaStateInitializer = (state, props, apiRef) => {
|
|
@@ -183,6 +184,13 @@ export const useGridRowsMeta = (apiRef, props) => {
|
|
|
183
184
|
const entry = entries[i];
|
|
184
185
|
const height = entry.borderBoxSize && entry.borderBoxSize.length > 0 ? entry.borderBoxSize[0].blockSize : entry.contentRect.height;
|
|
185
186
|
const rowId = entry.target.__mui_id;
|
|
187
|
+
const focusedVirtualRowId = gridFocusedVirtualCellSelector(apiRef)?.id;
|
|
188
|
+
if (focusedVirtualRowId === rowId && height === 0) {
|
|
189
|
+
// Focused virtual row has 0 height.
|
|
190
|
+
// We don't want to store it to avoid scroll jumping.
|
|
191
|
+
// https://github.com/mui/mui-x/issues/14726
|
|
192
|
+
return;
|
|
193
|
+
}
|
|
186
194
|
apiRef.current.unstable_storeRowHeightMeasurement(rowId, height);
|
|
187
195
|
}
|
|
188
196
|
if (!isHeightMetaValid.current) {
|
|
@@ -33,7 +33,6 @@ export declare const useGridVirtualScroller: () => {
|
|
|
33
33
|
};
|
|
34
34
|
getScrollbarVerticalProps: () => {
|
|
35
35
|
ref: React.RefObject<HTMLDivElement | null>;
|
|
36
|
-
role: string;
|
|
37
36
|
scrollPosition: React.RefObject<{
|
|
38
37
|
top: number;
|
|
39
38
|
left: number;
|
|
@@ -41,7 +40,6 @@ export declare const useGridVirtualScroller: () => {
|
|
|
41
40
|
};
|
|
42
41
|
getScrollbarHorizontalProps: () => {
|
|
43
42
|
ref: React.RefObject<HTMLDivElement | null>;
|
|
44
|
-
role: string;
|
|
45
43
|
scrollPosition: React.RefObject<{
|
|
46
44
|
top: number;
|
|
47
45
|
left: number;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import * as ReactDOM from 'react-dom';
|
|
4
|
-
import
|
|
4
|
+
import useEventCallback from '@mui/utils/useEventCallback';
|
|
5
|
+
import useEnhancedEffect from '@mui/utils/useEnhancedEffect';
|
|
5
6
|
import useLazyRef from '@mui/utils/useLazyRef';
|
|
6
7
|
import useTimeout from '@mui/utils/useTimeout';
|
|
7
8
|
import { useRtl } from '@mui/system/RtlProvider';
|
|
@@ -17,7 +18,6 @@ import { useGridVisibleRows, getVisibleRows } from "../../utils/useGridVisibleRo
|
|
|
17
18
|
import { useGridApiOptionHandler } from "../../utils/index.js";
|
|
18
19
|
import * as platform from "../../../utils/platform.js";
|
|
19
20
|
import { clamp, range } from "../../../utils/utils.js";
|
|
20
|
-
import { selectedIdsLookupSelector } from "../rowSelection/gridRowSelectionSelector.js";
|
|
21
21
|
import { gridRowsMetaSelector } from "../rows/gridRowsMetaSelector.js";
|
|
22
22
|
import { getFirstNonSpannedColumnToRender } from "../columns/gridColumnsUtils.js";
|
|
23
23
|
import { gridRenderContextSelector, gridVirtualizationRowEnabledSelector, gridVirtualizationColumnEnabledSelector } from "./gridVirtualizationSelectors.js";
|
|
@@ -29,6 +29,7 @@ import { EMPTY_PINNED_COLUMN_FIELDS } from "../columns/index.js";
|
|
|
29
29
|
import { gridFocusedVirtualCellSelector } from "./gridFocusedVirtualCellSelector.js";
|
|
30
30
|
import { roundToDecimalPlaces } from "../../../utils/roundToDecimalPlaces.js";
|
|
31
31
|
import { isJSDOM } from "../../../utils/isJSDOM.js";
|
|
32
|
+
import { gridRowSelectionManagerSelector } from "../rowSelection/index.js";
|
|
32
33
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
33
34
|
const MINIMUM_COLUMN_WIDTH = 50;
|
|
34
35
|
var ScrollDirection = /*#__PURE__*/function (ScrollDirection) {
|
|
@@ -63,7 +64,7 @@ export const useGridVirtualScroller = () => {
|
|
|
63
64
|
const hasBottomPinnedRows = pinnedRows.bottom.length > 0;
|
|
64
65
|
const [panels, setPanels] = React.useState(EMPTY_DETAIL_PANELS);
|
|
65
66
|
const isRtl = useRtl();
|
|
66
|
-
const
|
|
67
|
+
const rowSelectionManager = useGridSelector(apiRef, gridRowSelectionManagerSelector);
|
|
67
68
|
const currentPage = useGridVisibleRows(apiRef);
|
|
68
69
|
const mainRef = apiRef.current.mainElementRef;
|
|
69
70
|
const scrollerRef = apiRef.current.virtualScrollerRef;
|
|
@@ -333,12 +334,7 @@ export const useGridVirtualScroller = () => {
|
|
|
333
334
|
}
|
|
334
335
|
}
|
|
335
336
|
const baseRowHeight = !apiRef.current.rowHasAutoHeight(id) ? apiRef.current.unstable_getRowHeight(id) : 'auto';
|
|
336
|
-
|
|
337
|
-
if (selectedRowsLookup[id] == null) {
|
|
338
|
-
isSelected = false;
|
|
339
|
-
} else {
|
|
340
|
-
isSelected = apiRef.current.isRowSelectable(id);
|
|
341
|
-
}
|
|
337
|
+
const isSelected = rowSelectionManager.has(id) && apiRef.current.isRowSelectable(id);
|
|
342
338
|
let isFirstVisible = false;
|
|
343
339
|
if (params.position === undefined) {
|
|
344
340
|
isFirstVisible = rowIndexInPage === 0;
|
|
@@ -524,12 +520,10 @@ export const useGridVirtualScroller = () => {
|
|
|
524
520
|
}),
|
|
525
521
|
getScrollbarVerticalProps: () => ({
|
|
526
522
|
ref: scrollbarVerticalRef,
|
|
527
|
-
role: 'presentation',
|
|
528
523
|
scrollPosition
|
|
529
524
|
}),
|
|
530
525
|
getScrollbarHorizontalProps: () => ({
|
|
531
526
|
ref: scrollbarHorizontalRef,
|
|
532
|
-
role: 'presentation',
|
|
533
527
|
scrollPosition
|
|
534
528
|
}),
|
|
535
529
|
getScrollAreaProps: () => ({
|
|
@@ -5,4 +5,5 @@ export { useGridSelector } from "./useGridSelector.js";
|
|
|
5
5
|
export * from "./useGridNativeEventListener.js";
|
|
6
6
|
export * from "./useFirstRender.js";
|
|
7
7
|
export * from "./useOnMount.js";
|
|
8
|
-
export * from "./useRunOnce.js";
|
|
8
|
+
export * from "./useRunOnce.js";
|
|
9
|
+
export type { RenderProp } from './useGridComponentRenderer';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export type RenderProp<Props, State = {}> = ((props: Props, state: State) => React.ReactElement<unknown>) | React.ReactElement<Props>;
|
|
3
|
+
/**
|
|
4
|
+
* Resolves the rendering logic for a component.
|
|
5
|
+
* Handles three scenarios:
|
|
6
|
+
* 1. A render function that receives props and state
|
|
7
|
+
* 2. A React element
|
|
8
|
+
* 3. A default element
|
|
9
|
+
*
|
|
10
|
+
* @ignore - internal hook.
|
|
11
|
+
*/
|
|
12
|
+
export declare function useGridComponentRenderer<Props extends React.HTMLAttributes<any>, State extends Record<string, any>>(defaultElement: keyof React.JSX.IntrinsicElements | React.ComponentType<Props>, render: RenderProp<Props, State> | undefined, props: Props, state?: State): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import clsx from 'clsx';
|
|
4
|
+
/**
|
|
5
|
+
* Resolves the rendering logic for a component.
|
|
6
|
+
* Handles three scenarios:
|
|
7
|
+
* 1. A render function that receives props and state
|
|
8
|
+
* 2. A React element
|
|
9
|
+
* 3. A default element
|
|
10
|
+
*
|
|
11
|
+
* @ignore - internal hook.
|
|
12
|
+
*/
|
|
13
|
+
export function useGridComponentRenderer(defaultElement, render, props, state = {}) {
|
|
14
|
+
if (typeof render === 'function') {
|
|
15
|
+
return render(props, state);
|
|
16
|
+
}
|
|
17
|
+
if (render) {
|
|
18
|
+
if (render.props.className) {
|
|
19
|
+
props.className = clsx(render.props.className, props.className);
|
|
20
|
+
}
|
|
21
|
+
if (render.props.style || props.style) {
|
|
22
|
+
props.style = _extends({}, props.style, render.props.style);
|
|
23
|
+
}
|
|
24
|
+
if (render.props.sx || props.sx) {
|
|
25
|
+
props.sx = mergeSx(props.sx, render.props.sx);
|
|
26
|
+
}
|
|
27
|
+
return /*#__PURE__*/React.cloneElement(render, props);
|
|
28
|
+
}
|
|
29
|
+
return /*#__PURE__*/React.createElement(defaultElement, props);
|
|
30
|
+
}
|
|
31
|
+
function mergeSx(sx1, sx2) {
|
|
32
|
+
if (!sx1 || !sx2) {
|
|
33
|
+
return sx1 || sx2;
|
|
34
|
+
}
|
|
35
|
+
return (Array.isArray(sx1) ? sx1 : [sx1]).concat(Array.isArray(sx2) ? sx2 : [sx2]);
|
|
36
|
+
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { fastObjectShallowCompare } from '@mui/x-internals/fastObjectShallowCompare';
|
|
3
3
|
import { warnOnce } from '@mui/x-internals/warning';
|
|
4
|
-
|
|
4
|
+
// use-sync-external-store has no exports field defined
|
|
5
|
+
// See https://github.com/facebook/react/issues/30698
|
|
6
|
+
// eslint-disable-next-line import/extensions
|
|
7
|
+
import { useSyncExternalStore } from 'use-sync-external-store/shim/index.js';
|
|
5
8
|
import { useLazyRef } from "./useLazyRef.js";
|
|
6
9
|
const defaultCompare = Object.is;
|
|
7
10
|
export const objectShallowCompare = fastObjectShallowCompare;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
// use-sync-external-store has no exports field defined
|
|
2
|
+
// See https://github.com/facebook/react/issues/30698
|
|
3
|
+
// eslint-disable-next-line import/extensions
|
|
4
|
+
import { useSyncExternalStore } from 'use-sync-external-store/shim/index.js';
|
|
2
5
|
const emptySubscribe = () => () => {};
|
|
3
6
|
const clientSnapshot = () => false;
|
|
4
7
|
const serverSnapshot = () => true;
|
package/modern/index.js
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
interface TailwindDemoContainerProps {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
documentBody?: HTMLElement;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* WARNING: This is an internal component used in documentation to inject the Tailwind script.
|
|
8
|
+
* Please do not use it in your application.
|
|
9
|
+
*/
|
|
10
|
+
export declare function TailwindDemoContainer(props: TailwindDemoContainerProps): string | number | bigint | boolean | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | React.ReactPortal | Iterable<React.ReactNode> | null | undefined> | React.JSX.Element | null | undefined;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import Box from '@mui/material/Box';
|
|
3
|
+
import CircularProgress from '@mui/material/CircularProgress';
|
|
4
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
|
+
/**
|
|
6
|
+
* WARNING: This is an internal component used in documentation to inject the Tailwind script.
|
|
7
|
+
* Please do not use it in your application.
|
|
8
|
+
*/
|
|
9
|
+
export function TailwindDemoContainer(props) {
|
|
10
|
+
const {
|
|
11
|
+
children,
|
|
12
|
+
documentBody
|
|
13
|
+
} = props;
|
|
14
|
+
const [isLoaded, setIsLoaded] = React.useState(false);
|
|
15
|
+
React.useEffect(() => {
|
|
16
|
+
const body = documentBody ?? document.body;
|
|
17
|
+
const script = document.createElement('script');
|
|
18
|
+
script.src = 'https://unpkg.com/@tailwindcss/browser@4';
|
|
19
|
+
let mounted = true;
|
|
20
|
+
const cleanup = () => {
|
|
21
|
+
mounted = false;
|
|
22
|
+
script.remove();
|
|
23
|
+
const head = body?.ownerDocument?.head;
|
|
24
|
+
if (!head) {
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
const styles = head.querySelectorAll('style:not([data-emotion])');
|
|
28
|
+
styles.forEach(style => {
|
|
29
|
+
const styleText = style.textContent?.substring(0, 100);
|
|
30
|
+
const isTailwindStylesheet = styleText?.includes('tailwind');
|
|
31
|
+
if (isTailwindStylesheet) {
|
|
32
|
+
style.remove();
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
};
|
|
36
|
+
script.onload = () => {
|
|
37
|
+
if (!mounted) {
|
|
38
|
+
cleanup();
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
setIsLoaded(true);
|
|
42
|
+
};
|
|
43
|
+
body.appendChild(script);
|
|
44
|
+
return cleanup;
|
|
45
|
+
}, [documentBody]);
|
|
46
|
+
return isLoaded ? children : /*#__PURE__*/_jsx(Box, {
|
|
47
|
+
sx: {
|
|
48
|
+
display: 'flex',
|
|
49
|
+
justifyContent: 'center',
|
|
50
|
+
alignItems: 'center',
|
|
51
|
+
height: '100%'
|
|
52
|
+
},
|
|
53
|
+
children: /*#__PURE__*/_jsx(CircularProgress, {})
|
|
54
|
+
});
|
|
55
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TailwindDemoContainer } from "./TailwindDemoContainer.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TailwindDemoContainer } from "./TailwindDemoContainer.js";
|
|
@@ -5,9 +5,12 @@ export { GridVirtualScrollerRenderZone } from "../components/virtualization/Grid
|
|
|
5
5
|
export type { GridDetailPanelsProps } from '../components/GridDetailPanels';
|
|
6
6
|
export type { GridPinnedRowsProps } from '../components/GridPinnedRows';
|
|
7
7
|
export { GridHeaders } from "../components/GridHeaders.js";
|
|
8
|
+
export { GridToolbar } from "../components/toolbarV8/GridToolbar.js";
|
|
9
|
+
export type { GridToolbarProps } from '../components/toolbarV8/GridToolbar';
|
|
8
10
|
export { GridBaseColumnHeaders } from "../components/columnHeaders/GridBaseColumnHeaders.js";
|
|
9
11
|
export { DATA_GRID_DEFAULT_SLOTS_COMPONENTS } from "../constants/defaultGridSlotsComponents.js";
|
|
10
12
|
export * from "../constants/signature.js";
|
|
13
|
+
export { vars } from "../constants/cssVariables.js";
|
|
11
14
|
export { propsStateInitializer } from "../hooks/core/useGridProps.js";
|
|
12
15
|
export { getGridFilter } from "../components/panel/filterPanel/GridFilterPanel.js";
|
|
13
16
|
export { getValueOptions } from "../components/panel/filterPanel/filterPanelUtils.js";
|
|
@@ -54,7 +57,7 @@ export type { GridRowTreeCreationParams, GridRowTreeCreationValue, GridHydrateRo
|
|
|
54
57
|
export { getTreeNodeDescendants, buildRootGroup } from "../hooks/features/rows/gridRowsUtils.js";
|
|
55
58
|
export { useGridRowsMeta, rowsMetaStateInitializer } from "../hooks/features/rows/useGridRowsMeta.js";
|
|
56
59
|
export { useGridParamsApi } from "../hooks/features/rows/useGridParamsApi.js";
|
|
57
|
-
export { getRowIdFromRowModel, GRID_ID_AUTOGENERATED } from "../hooks/features/rows/gridRowsUtils.js";
|
|
60
|
+
export { getRowIdFromRowModel, GRID_ID_AUTOGENERATED, getRowValue } from "../hooks/features/rows/gridRowsUtils.js";
|
|
58
61
|
export { gridAdditionalRowGroupsSelector, gridPinnedRowsSelector, gridRowSelector } from "../hooks/features/rows/gridRowsSelector.js";
|
|
59
62
|
export { headerFilteringStateInitializer, useGridHeaderFiltering } from "../hooks/features/headerFiltering/useGridHeaderFiltering.js";
|
|
60
63
|
export { useGridRowSelection, rowSelectionStateInitializer } from "../hooks/features/rowSelection/useGridRowSelection.js";
|
|
@@ -73,6 +76,7 @@ export * from "../hooks/features/virtualization/index.js";
|
|
|
73
76
|
export { useGridColumnResize, columnResizeStateInitializer } from "../hooks/features/columnResize/useGridColumnResize.js";
|
|
74
77
|
export { ROW_SELECTION_PROPAGATION_DEFAULT } from "../hooks/features/rowSelection/utils.js";
|
|
75
78
|
export { useGridListView, listViewStateInitializer } from "../hooks/features/listView/useGridListView.js";
|
|
79
|
+
export { useGridComponentRenderer } from "../hooks/utils/useGridComponentRenderer.js";
|
|
76
80
|
export { useTimeout } from "../hooks/utils/useTimeout.js";
|
|
77
81
|
export { useGridVisibleRows, getVisibleRows } from "../hooks/utils/useGridVisibleRows.js";
|
|
78
82
|
export { useGridInitializeState } from "../hooks/utils/useGridInitializeState.js";
|
|
@@ -104,4 +108,5 @@ export { serializeCellValue } from "../hooks/features/export/serializers/csvSeri
|
|
|
104
108
|
export * from "./utils/index.js";
|
|
105
109
|
export * from "./constants.js";
|
|
106
110
|
export type { Localization } from '../utils/getGridLocalization';
|
|
111
|
+
export * from "./demo/index.js";
|
|
107
112
|
export { GridSkeletonLoadingOverlayInner } from "../components/GridSkeletonLoadingOverlay.js";
|
|
@@ -2,9 +2,11 @@ export { GridVirtualScroller } from "../components/virtualization/GridVirtualScr
|
|
|
2
2
|
export { GridVirtualScrollerContent } from "../components/virtualization/GridVirtualScrollerContent.js";
|
|
3
3
|
export { GridVirtualScrollerRenderZone } from "../components/virtualization/GridVirtualScrollerRenderZone.js";
|
|
4
4
|
export { GridHeaders } from "../components/GridHeaders.js";
|
|
5
|
+
export { GridToolbar } from "../components/toolbarV8/GridToolbar.js";
|
|
5
6
|
export { GridBaseColumnHeaders } from "../components/columnHeaders/GridBaseColumnHeaders.js";
|
|
6
7
|
export { DATA_GRID_DEFAULT_SLOTS_COMPONENTS } from "../constants/defaultGridSlotsComponents.js";
|
|
7
8
|
export * from "../constants/signature.js";
|
|
9
|
+
export { vars } from "../constants/cssVariables.js";
|
|
8
10
|
export { propsStateInitializer } from "../hooks/core/useGridProps.js";
|
|
9
11
|
export { getGridFilter } from "../components/panel/filterPanel/GridFilterPanel.js";
|
|
10
12
|
export { getValueOptions } from "../components/panel/filterPanel/filterPanelUtils.js";
|
|
@@ -43,7 +45,7 @@ export { useGridRowsPreProcessors } from "../hooks/features/rows/useGridRowsPreP
|
|
|
43
45
|
export { getTreeNodeDescendants, buildRootGroup } from "../hooks/features/rows/gridRowsUtils.js";
|
|
44
46
|
export { useGridRowsMeta, rowsMetaStateInitializer } from "../hooks/features/rows/useGridRowsMeta.js";
|
|
45
47
|
export { useGridParamsApi } from "../hooks/features/rows/useGridParamsApi.js";
|
|
46
|
-
export { getRowIdFromRowModel, GRID_ID_AUTOGENERATED } from "../hooks/features/rows/gridRowsUtils.js";
|
|
48
|
+
export { getRowIdFromRowModel, GRID_ID_AUTOGENERATED, getRowValue } from "../hooks/features/rows/gridRowsUtils.js";
|
|
47
49
|
export { gridAdditionalRowGroupsSelector, gridPinnedRowsSelector, gridRowSelector } from "../hooks/features/rows/gridRowsSelector.js";
|
|
48
50
|
export { headerFilteringStateInitializer, useGridHeaderFiltering } from "../hooks/features/headerFiltering/useGridHeaderFiltering.js";
|
|
49
51
|
export { useGridRowSelection, rowSelectionStateInitializer } from "../hooks/features/rowSelection/useGridRowSelection.js";
|
|
@@ -60,6 +62,7 @@ export * from "../hooks/features/virtualization/index.js";
|
|
|
60
62
|
export { useGridColumnResize, columnResizeStateInitializer } from "../hooks/features/columnResize/useGridColumnResize.js";
|
|
61
63
|
export { ROW_SELECTION_PROPAGATION_DEFAULT } from "../hooks/features/rowSelection/utils.js";
|
|
62
64
|
export { useGridListView, listViewStateInitializer } from "../hooks/features/listView/useGridListView.js";
|
|
65
|
+
export { useGridComponentRenderer } from "../hooks/utils/useGridComponentRenderer.js";
|
|
63
66
|
export { useTimeout } from "../hooks/utils/useTimeout.js";
|
|
64
67
|
export { useGridVisibleRows, getVisibleRows } from "../hooks/utils/useGridVisibleRows.js";
|
|
65
68
|
export { useGridInitializeState } from "../hooks/utils/useGridInitializeState.js";
|
|
@@ -83,4 +86,5 @@ export * from "../hooks/utils/index.js";
|
|
|
83
86
|
export { serializeCellValue } from "../hooks/features/export/serializers/csvSerializer.js";
|
|
84
87
|
export * from "./utils/index.js";
|
|
85
88
|
export * from "./constants.js";
|
|
89
|
+
export * from "./demo/index.js";
|
|
86
90
|
export { GridSkeletonLoadingOverlayInner } from "../components/GridSkeletonLoadingOverlay.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { warnOnce } from '@mui/x-internals/warning';
|
|
2
2
|
import { isNumber } from "../../utils/utils.js";
|
|
3
3
|
import { GridSignature } from "../../constants/signature.js";
|
|
4
|
-
export const propValidatorsDataGrid = [props => props.autoPageSize && props.autoHeight && ['MUI X: `<DataGrid autoPageSize={true} autoHeight={true} />` are not valid props.', 'You cannot use both the `autoPageSize` and `autoHeight` props at the same time because `autoHeight` scales the height of the Data Grid according to the `pageSize`.', '', 'Please remove one of these two props.'].join('\n') || undefined, props => props.paginationMode === 'client' && props.paginationMeta != null && ['MUI X: Usage of the `paginationMeta` prop with client-side pagination (`paginationMode="client"`) has no effect.', '`paginationMeta` is only meant to be used with `paginationMode="server"`.'].join('\n') || undefined, props => props.signature === GridSignature.DataGrid && props.paginationMode === 'client' && isNumber(props.rowCount) && ['MUI X: Usage of the `rowCount` prop with client side pagination (`paginationMode="client"`) has no effect.', '`rowCount` is only meant to be used with `paginationMode="server"`.'].join('\n') || undefined, props => props.paginationMode === 'server' && props.rowCount == null && !props.
|
|
4
|
+
export const propValidatorsDataGrid = [props => props.autoPageSize && props.autoHeight && ['MUI X: `<DataGrid autoPageSize={true} autoHeight={true} />` are not valid props.', 'You cannot use both the `autoPageSize` and `autoHeight` props at the same time because `autoHeight` scales the height of the Data Grid according to the `pageSize`.', '', 'Please remove one of these two props.'].join('\n') || undefined, props => props.paginationMode === 'client' && props.paginationMeta != null && ['MUI X: Usage of the `paginationMeta` prop with client-side pagination (`paginationMode="client"`) has no effect.', '`paginationMeta` is only meant to be used with `paginationMode="server"`.'].join('\n') || undefined, props => props.signature === GridSignature.DataGrid && props.paginationMode === 'client' && isNumber(props.rowCount) && ['MUI X: Usage of the `rowCount` prop with client side pagination (`paginationMode="client"`) has no effect.', '`rowCount` is only meant to be used with `paginationMode="server"`.'].join('\n') || undefined, props => props.paginationMode === 'server' && props.rowCount == null && !props.dataSource && ["MUI X: The `rowCount` prop must be passed using `paginationMode='server'`", 'For more detail, see http://mui.com/components/data-grid/pagination/#index-based-pagination'].join('\n') || undefined];
|
|
5
5
|
export function validateProps(props, validators) {
|
|
6
6
|
validators.forEach(validator => {
|
|
7
7
|
const message = validator(props);
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import { bnBD as bnBDCore } from '@mui/material/locale';
|
|
2
|
+
import { getGridLocalization } from "../utils/getGridLocalization.js";
|
|
3
|
+
const bnBDGrid = {
|
|
4
|
+
// Root
|
|
5
|
+
noRowsLabel: 'কোনো সারি নেই',
|
|
6
|
+
noResultsOverlayLabel: 'কোনো ফলাফল পাওয়া যায়নি।',
|
|
7
|
+
noColumnsOverlayLabel: 'কোনো কলাম নেই',
|
|
8
|
+
noColumnsOverlayManageColumns: 'কলাম পরিচালনা করুন',
|
|
9
|
+
// Density selector toolbar button text
|
|
10
|
+
toolbarDensity: 'ঘনত্ব',
|
|
11
|
+
toolbarDensityLabel: 'ঘনত্ব',
|
|
12
|
+
toolbarDensityCompact: 'সংকুচিত',
|
|
13
|
+
toolbarDensityStandard: 'মানক',
|
|
14
|
+
toolbarDensityComfortable: 'স্বাচ্ছন্দ্যদায়ক',
|
|
15
|
+
// Columns selector toolbar button text
|
|
16
|
+
toolbarColumns: 'কলাম',
|
|
17
|
+
toolbarColumnsLabel: 'কলাম নির্বাচন করুন',
|
|
18
|
+
// Filters toolbar button text
|
|
19
|
+
toolbarFilters: 'ফিল্টার',
|
|
20
|
+
toolbarFiltersLabel: 'ফিল্টার দেখান',
|
|
21
|
+
toolbarFiltersTooltipHide: 'ফিল্টার লুকান',
|
|
22
|
+
toolbarFiltersTooltipShow: 'ফিল্টার দেখান',
|
|
23
|
+
toolbarFiltersTooltipActive: count => count !== 1 ? `${count} টি সক্রিয় ফিল্টার` : `${count} টি সক্রিয় ফিল্টার`,
|
|
24
|
+
// Quick filter toolbar field
|
|
25
|
+
toolbarQuickFilterPlaceholder: 'অনুসন্ধান করুন…',
|
|
26
|
+
toolbarQuickFilterLabel: 'অনুসন্ধান',
|
|
27
|
+
toolbarQuickFilterDeleteIconLabel: 'পরিষ্কার করুন',
|
|
28
|
+
// Prompt toolbar field
|
|
29
|
+
toolbarPromptControlPlaceholder: 'একটি প্রম্পট লিখুন…',
|
|
30
|
+
toolbarPromptControlWithRecordingPlaceholder: 'লিখুন বা রেকর্ড করুন…',
|
|
31
|
+
toolbarPromptControlRecordingPlaceholder: 'শুনছে…',
|
|
32
|
+
toolbarPromptControlLabel: 'প্রম্পট ইনপুট',
|
|
33
|
+
toolbarPromptControlRecordButtonDefaultLabel: 'রেকর্ড',
|
|
34
|
+
toolbarPromptControlRecordButtonActiveLabel: 'রেকর্ড বন্ধ করুন',
|
|
35
|
+
toolbarPromptControlSendActionLabel: 'পাঠান',
|
|
36
|
+
toolbarPromptControlSendActionAriaLabel: 'প্রম্পট পাঠান',
|
|
37
|
+
toolbarPromptControlErrorMessage: 'অনুরোধ প্রক্রিয়াকরণে সমস্যা হয়েছে। অনুগ্রহ করে অন্য প্রম্পট দিয়ে আবার চেষ্টা করুন।',
|
|
38
|
+
// Export selector toolbar button text
|
|
39
|
+
toolbarExport: 'এক্সপোর্ট',
|
|
40
|
+
toolbarExportLabel: 'এক্সপোর্ট',
|
|
41
|
+
toolbarExportCSV: 'CSV হিসাবে ডাউনলোড করুন',
|
|
42
|
+
toolbarExportPrint: 'প্রিন্ট করুন',
|
|
43
|
+
toolbarExportExcel: 'Excel হিসাবে ডাউনলোড করুন',
|
|
44
|
+
// Columns management text
|
|
45
|
+
columnsManagementSearchTitle: 'অনুসন্ধান',
|
|
46
|
+
columnsManagementNoColumns: 'কোনো কলাম নেই',
|
|
47
|
+
columnsManagementShowHideAllText: 'সব দেখান/লুকান',
|
|
48
|
+
columnsManagementReset: 'রিসেট',
|
|
49
|
+
columnsManagementDeleteIconLabel: 'পরিষ্কার',
|
|
50
|
+
// Filter panel text
|
|
51
|
+
filterPanelAddFilter: 'ফিল্টার যোগ করুন',
|
|
52
|
+
filterPanelRemoveAll: 'সব সরান',
|
|
53
|
+
filterPanelDeleteIconLabel: 'মুছুন',
|
|
54
|
+
filterPanelLogicOperator: 'লজিক অপারেটর',
|
|
55
|
+
filterPanelOperator: 'অপারেটর',
|
|
56
|
+
filterPanelOperatorAnd: 'এবং',
|
|
57
|
+
filterPanelOperatorOr: 'অথবা',
|
|
58
|
+
filterPanelColumns: 'কলাম',
|
|
59
|
+
filterPanelInputLabel: 'মান',
|
|
60
|
+
filterPanelInputPlaceholder: 'ফিল্টার মান',
|
|
61
|
+
// Filter operators text
|
|
62
|
+
filterOperatorContains: 'অন্তর্ভুক্ত',
|
|
63
|
+
filterOperatorDoesNotContain: 'অন্তর্ভুক্ত নয়',
|
|
64
|
+
filterOperatorEquals: 'সমান',
|
|
65
|
+
filterOperatorDoesNotEqual: 'সমান নয়',
|
|
66
|
+
filterOperatorStartsWith: 'দিয়ে শুরু হয়',
|
|
67
|
+
filterOperatorEndsWith: 'দিয়ে শেষ হয়',
|
|
68
|
+
filterOperatorIs: 'হচ্ছে',
|
|
69
|
+
filterOperatorNot: 'হচ্ছে না',
|
|
70
|
+
filterOperatorAfter: 'পরবর্তী',
|
|
71
|
+
filterOperatorOnOrAfter: 'এই তারিখ বা পরবর্তী',
|
|
72
|
+
filterOperatorBefore: 'পূর্ববর্তী',
|
|
73
|
+
filterOperatorOnOrBefore: 'এই তারিখ বা পূর্ববর্তী',
|
|
74
|
+
filterOperatorIsEmpty: 'খালি',
|
|
75
|
+
filterOperatorIsNotEmpty: 'খালি নয়',
|
|
76
|
+
filterOperatorIsAnyOf: 'এর যেকোনো একটি',
|
|
77
|
+
'filterOperator=': '=',
|
|
78
|
+
'filterOperator!=': '!=',
|
|
79
|
+
'filterOperator>': '>',
|
|
80
|
+
'filterOperator>=': '>=',
|
|
81
|
+
'filterOperator<': '<',
|
|
82
|
+
'filterOperator<=': '<=',
|
|
83
|
+
// Header filter operators text
|
|
84
|
+
headerFilterOperatorContains: 'অন্তর্ভুক্ত',
|
|
85
|
+
headerFilterOperatorDoesNotContain: 'অন্তর্ভুক্ত নয়',
|
|
86
|
+
headerFilterOperatorEquals: 'সমান',
|
|
87
|
+
headerFilterOperatorDoesNotEqual: 'সমান নয়',
|
|
88
|
+
headerFilterOperatorStartsWith: 'দিয়ে শুরু হয়',
|
|
89
|
+
headerFilterOperatorEndsWith: 'দিয়ে শেষ হয়',
|
|
90
|
+
headerFilterOperatorIs: 'হচ্ছে',
|
|
91
|
+
headerFilterOperatorNot: 'হচ্ছে না',
|
|
92
|
+
headerFilterOperatorAfter: 'পরবর্তী',
|
|
93
|
+
headerFilterOperatorOnOrAfter: 'এই তারিখ বা পরবর্তী',
|
|
94
|
+
headerFilterOperatorBefore: 'পূর্ববর্তী',
|
|
95
|
+
headerFilterOperatorOnOrBefore: 'এই তারিখ বা পূর্ববর্তী',
|
|
96
|
+
headerFilterOperatorIsEmpty: 'খালি',
|
|
97
|
+
headerFilterOperatorIsNotEmpty: 'খালি নয়',
|
|
98
|
+
headerFilterOperatorIsAnyOf: 'এর যেকোনো একটি',
|
|
99
|
+
'headerFilterOperator=': 'সমান',
|
|
100
|
+
'headerFilterOperator!=': 'সমান নয়',
|
|
101
|
+
'headerFilterOperator>': 'বড়',
|
|
102
|
+
'headerFilterOperator>=': 'বড় বা সমান',
|
|
103
|
+
'headerFilterOperator<': 'ছোট',
|
|
104
|
+
'headerFilterOperator<=': 'ছোট বা সমান',
|
|
105
|
+
headerFilterClear: 'ফিল্টার মুছুন',
|
|
106
|
+
// Filter values text
|
|
107
|
+
filterValueAny: 'যেকোনো',
|
|
108
|
+
filterValueTrue: 'সত্য',
|
|
109
|
+
filterValueFalse: 'মিথ্যা',
|
|
110
|
+
// Column menu text
|
|
111
|
+
columnMenuLabel: 'মেনু',
|
|
112
|
+
columnMenuShowColumns: 'কলাম দেখান',
|
|
113
|
+
columnMenuManageColumns: 'কলাম পরিচালনা করুন',
|
|
114
|
+
columnMenuFilter: 'ফিল্টার',
|
|
115
|
+
columnMenuHideColumn: 'কলাম লুকান',
|
|
116
|
+
columnMenuUnsort: 'সাজানো বাতিল করুন',
|
|
117
|
+
columnMenuSortAsc: 'ASC অনুযায়ী সাজান',
|
|
118
|
+
columnMenuSortDesc: 'DESC অনুযায়ী সাজান',
|
|
119
|
+
// Column header text
|
|
120
|
+
columnHeaderFiltersTooltipActive: count => count !== 1 ? `${count} টি সক্রিয় ফিল্টার` : `${count} টি সক্রিয় ফিল্টার`,
|
|
121
|
+
columnHeaderFiltersLabel: 'ফিল্টার দেখান',
|
|
122
|
+
columnHeaderSortIconLabel: 'সাজান',
|
|
123
|
+
// Rows selected footer text
|
|
124
|
+
footerRowSelected: count => count !== 1 ? `${count.toLocaleString()} টি সারি নির্বাচিত` : `${count.toLocaleString()} টি সারি নির্বাচিত`,
|
|
125
|
+
// Total row amount footer text
|
|
126
|
+
footerTotalRows: 'মোট সারি:',
|
|
127
|
+
// Total visible row amount footer text
|
|
128
|
+
footerTotalVisibleRows: (visibleCount, totalCount) => `${visibleCount.toLocaleString()} of ${totalCount.toLocaleString()}`,
|
|
129
|
+
// Checkbox selection text
|
|
130
|
+
checkboxSelectionHeaderName: 'চেকবক্স নির্বাচন',
|
|
131
|
+
checkboxSelectionSelectAllRows: 'সব সারি নির্বাচন করুন',
|
|
132
|
+
checkboxSelectionUnselectAllRows: 'সব সারি নির্বাচন বাতিল করুন',
|
|
133
|
+
checkboxSelectionSelectRow: 'সারি নির্বাচন করুন',
|
|
134
|
+
checkboxSelectionUnselectRow: 'সারি নির্বাচন বাতিল করুন',
|
|
135
|
+
// Boolean cell text
|
|
136
|
+
booleanCellTrueLabel: 'হ্যাঁ',
|
|
137
|
+
booleanCellFalseLabel: 'না',
|
|
138
|
+
// Actions cell more text
|
|
139
|
+
actionsCellMore: 'আরও',
|
|
140
|
+
// Column pinning text
|
|
141
|
+
pinToLeft: 'বাঁ দিকে পিন করুন',
|
|
142
|
+
pinToRight: 'ডান দিকে পিন করুন',
|
|
143
|
+
unpin: 'আনপিন করুন',
|
|
144
|
+
// Tree Data
|
|
145
|
+
treeDataGroupingHeaderName: 'গ্রুপ',
|
|
146
|
+
// treeDataExpand: 'see children',
|
|
147
|
+
// treeDataCollapse: 'hide children',
|
|
148
|
+
|
|
149
|
+
// Grouping columns
|
|
150
|
+
groupingColumnHeaderName: 'গ্রুপ',
|
|
151
|
+
groupColumn: name => `${name} অনুসারে গ্রুপ করুন`,
|
|
152
|
+
unGroupColumn: name => `${name} অনুসারে গ্রুপ বন্ধ করুন`,
|
|
153
|
+
// Master/detail
|
|
154
|
+
detailPanelToggle: 'বিস্তারিত প্যানেল টগল করুন',
|
|
155
|
+
expandDetailPanel: 'সম্প্রসারিত করুন',
|
|
156
|
+
collapseDetailPanel: 'সংকুচিত করুন',
|
|
157
|
+
// Row reordering text
|
|
158
|
+
rowReorderingHeaderName: 'সারি পুনর্বিন্যাস',
|
|
159
|
+
// Aggregation
|
|
160
|
+
aggregationMenuItemHeader: 'সংকলন',
|
|
161
|
+
aggregationFunctionLabelSum: 'যোগফল',
|
|
162
|
+
aggregationFunctionLabelAvg: 'গড়',
|
|
163
|
+
aggregationFunctionLabelMin: 'সর্বনিম্ন',
|
|
164
|
+
aggregationFunctionLabelMax: 'সর্বোচ্চ',
|
|
165
|
+
aggregationFunctionLabelSize: 'মাপ'
|
|
166
|
+
};
|
|
167
|
+
export const bnBD = getGridLocalization(bnBDGrid, bnBDCore);
|
package/modern/locales/deDE.js
CHANGED
|
@@ -4,9 +4,8 @@ const deDEGrid = {
|
|
|
4
4
|
// Root
|
|
5
5
|
noRowsLabel: 'Keine Einträge',
|
|
6
6
|
noResultsOverlayLabel: 'Keine Ergebnisse gefunden.',
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
noColumnsOverlayLabel: 'Keine Spalten',
|
|
8
|
+
noColumnsOverlayManageColumns: 'Spalten verwalten',
|
|
10
9
|
// Density selector toolbar button text
|
|
11
10
|
toolbarDensity: 'Zeilenhöhe',
|
|
12
11
|
toolbarDensityLabel: 'Zeilenhöhe',
|
|
@@ -103,8 +102,7 @@ const deDEGrid = {
|
|
|
103
102
|
'headerFilterOperator>=': 'Größer als oder gleich',
|
|
104
103
|
'headerFilterOperator<': 'Kleiner als',
|
|
105
104
|
'headerFilterOperator<=': 'Kleiner als oder gleich',
|
|
106
|
-
|
|
107
|
-
|
|
105
|
+
headerFilterClear: 'Filter löschen',
|
|
108
106
|
// Filter values text
|
|
109
107
|
filterValueAny: 'Beliebig',
|
|
110
108
|
filterValueTrue: 'Ja',
|